CN102546794A - 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 PDFInfo
- Publication number
- CN102546794A CN102546794A CN2011104562979A CN201110456297A CN102546794A CN 102546794 A CN102546794 A CN 102546794A CN 2011104562979 A CN2011104562979 A CN 2011104562979A CN 201110456297 A CN201110456297 A CN 201110456297A CN 102546794 A CN102546794 A CN 102546794A
- 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.)
- Granted
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols 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
Technical field
The present invention relates to the communications field, relate in particular to browser client and back-end server straight-through method, gateway and communication system.
Background technology
Real-Time Web is one type of internet, applications in the Web2.0 system, and its typical case's representative mainly comprises the social network sites Facebook and the twitter microblogging of the Internet.In using such as this type of Real-Time Web of social network sites Facebook and twitter microblogging; The Website server needs initiatively are pushed to the user with user good friend's output (Feed) information in real time, make between user and the good friend thereof can produce whenever and wherever possible, share and content of consumption.Other are used such as Web such as monitoring, instant messaging and Flash Quote systems also needs server that the variation that the backstage takes place is sent to client in real time.Hence one can see that, and the principal character that Real-Time Web is used is high interactivity and real-time, promptly be starved of between browser and back-end server provide end to end, the real time communication of two-way (full duplex).
Existing realization browser and back-end server real-time, interactive obtain the real-time update information approach have based on HTTP (Hypertext Transfer Protocol, HTTP) poll (Polling) with based on long " server push " technology that is connected of HTTP (being that Comet is technological) etc.Below to be polled as example based on HTTP, explain that browser and back-end server real-time, interactive that prior art provides obtain the real-time update information approach, comprise the steps:
S11, browser is connected to Web Application Server through Web, and sends the HTTP request based on HTTP to Web Application Server;
S12, Web Application Server receive and resolve the HTTP request of browser, convert the HTTP request into calling its expansion customized application service routine;
S13, expansion customized application service routine is resolved Web applied logic and agreement, and is standard A PI or message call to back-end server with these Web applied logics and protocol conversion;
S14; Expansion customized application service routine calls corresponding information client side program; For example; 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 that sets up a full duplex is connected to back-end server, and mutual based on corresponding messaging protocol, obtains lastest imformation from back-end server;
To the Web server request, perhaps Web server uses the Comet technology that information is sent to browser display based on the HTTP poll for S14, browser.
Browser that above-mentioned prior art provides and back-end server real-time, interactive obtain in the real-time update information approach; Session between session between browser and the Web Application Server and Web Application Server and the back-end server is independent fully and isolates; Therefore, there is following defective in above-mentioned prior art:
1) serious waste of resources.Because the http protocol institute loaded information that adopts often has only several bytes, and HTTP excessive (near 1K), promptly invalid information load is many, therefore, frequent poll cause system bandwidth consumption big, postpone high;
2) system has performance bottleneck.Because the Web server between browser and the back-end server need move main service logic and calculating, therefore, the performance of Web server becomes the performance bottleneck of system;
3) can't realize full-duplex communication end to end.Communicate by letter between browser and the Web Application Server and be based on http protocol, for example traditional HTTP poll or Comet technology are to obtain real time information; Because traditional HTTP poll is half-duplex; Comet Technology Need based on http protocol is realized two-way communication in two connections; Therefore relatively expend server resource, between browser and back-end server, can't realize communicating by letter of full duplex end to end well.
Summary of the invention
The embodiment of the invention provides browser client and straight-through method, gateway and the communication system of back-end server, between browser client and back-end server, to realize improving resource utilization in the full-duplex communication end to end.
The embodiment of the invention provides a kind of browser client and the straight-through method of back-end server; Said method comprises: be connected the subscription request message that receives the browser client transmission with the transmission control protocol TCP of browser client through gateway, said subscription request message comprises: the IP address and the port of said browser client;
According to the IP address and the interface querying forwards table of said browser client, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association;
According to the IP address and the port of said back-end server, the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
The embodiment of the invention provides a kind of gateway, and said gateway comprises:
Receiver module is used for being connected the subscription request message that receives the browser client transmission with the transmission control protocol TCP of browser client through gateway, and said subscription request message comprises: the IP address and the port of said browser client;
First acquisition module is used for IP address and interface querying forwards table according to said browser client, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association;
Sending module is used for IP address and port according to said back-end server, and the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
The embodiment of the invention provides a kind of communication system, and said communication system comprises: browser client, gateway and back-end server;
Said browser client is used for sending subscription request message through being connected with the transmission control protocol TCP of said gateway, and said subscription request message comprises: the IP address and the port of said browser client;
Said gateway is used for receiving the said subscription request message that browser client sends through being connected with the said TCP of browser client; According to the IP address and the interface querying forwards table of browser client in the said subscription request message, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association; According to the IP address and the port of said back-end server, said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server through connecting with the TCP of said back-end server;
Said back-end server is used to receive the subscription request message of said gateway forwards.Can know from the invention described above embodiment; Because gateway is that TCP length is connected with browser client and back-end server foundation; On the one hand; Browser client can be realized full-duplex communication with back-end server, and the real time information of browser client is close to issuing time just can send to back-end server in real time, and is therefore real-time; On the other hand; Gateway connects through TCP is responsible for transmitting browser client to the subscription request message between the back-end server; Main service logic and calculating are distributed in browser client and back-end server; Gateway need not born main service logic and calculating, need not to expend extra resource and realizes the protocol conversion between HTTP and the back-end server, has therefore saved expense.
Description of drawings
In order to be illustrated more clearly in the technical scheme of the embodiment of the invention; To do to introduce simply to the accompanying drawing of required use in prior art or the embodiment description below; Obviously; Accompanying drawing in describing below only is some embodiments of the present invention, to those skilled in the art, can also obtain other accompanying drawing like these accompanying drawings.
Fig. 1 is browser client and the straight-through method flow sketch map of back-end server that the embodiment of the invention provides;
Fig. 2 is the mutual sketch map between browser client, WebSocket gateway and the back-end server in the straight-through method of the browser client that provides of the embodiment of the invention and back-end server;
Fig. 3 is the gateway structural representation that the embodiment of the invention provides;
Fig. 4 is the gateway structural representation that another embodiment of the present invention provides;
Fig. 5 is the gateway structural representation that another embodiment of the present invention provides;
Fig. 6 is the gateway structural representation that another embodiment of the present invention provides;
The communication system architecture sketch map that Fig. 7 embodiment of the invention provides;
Fig. 8 is the communication system physical connection sketch map that the embodiment of the invention provides.
Embodiment
To combine the accompanying drawing in the embodiment of the invention below, the technical scheme in the embodiment of the invention is carried out clear, intactly description, obviously, described embodiment only is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment among the present invention, the every other embodiment that those skilled in the art obtained belongs to the scope that the present invention protects.
Seeing also accompanying drawing 1, is browser client and the straight-through method flow sketch map of back-end server that the embodiment of the invention provides.The method of accompanying drawing 1 example is to be that webpage (Web) browser, gateway are that the communication protocol that WebSocket gateway, WebSocket gateway and browser client, back-end server communicate is that HTML5 standard WebSocket agreement is that example is carried out with the browser; Its executive agent can be the WebSocket gateway, mainly comprises step:
S101 is connected the subscription request message that receives the browser client transmission through gateway with the transmission control protocol TCP of browser client, said subscription request message comprises: the IP address and the port of said browser client.
Alternatively, said method can also comprise: be connected the handshake request message that receives the browser client transmission with the TCP of browser client through gateway, said handshake request message comprises the IP address and the port of back-end server; Setting up gateway according to said handshake request message is connected with the TCP of said back-end server; With IP address, the port association of IP address, port and the said back-end server of said browser client, and with said update of incidence relation in said forwards table.Wherein, saidly set up gateway according to said handshake request message and be connected with the TCP of said back-end server and can be the IP address and the port of the said back-end server that the said handshake request message of extracting comprises; Setting up gateway according to the IP address of said back-end server with port is connected with the TCP of said back-end server.
In embodiments of the present invention, the user is when access gateway, and browser client sends an application program download request to gateway, from the gateway downloads web application to browser client.After this, the user moves said web application at browser client and sets up transmission control protocol (Transmission Control Protocol, TCP) connection with request and gateway in order to obtain real time information from back-end server.
Browser client is connected foundation with the TCP of gateway after; Browser client can connect to gateway transmission, gateway through this TCP reception subscription request message through this TCP; For example; Subscribe request, this subscription request message comprise the information that IP address and port of browser client etc. shows information source.In order to improve the efficient of transmission of messages between browser client and the gateway, after browser client and gateway were set up TCP and be connected, browser client can send a handshake request message to gateway, and this handshake request message is based on http protocol.Gateway is connected the handshake request message that receives the browser client transmission through it with the TCP of browser client.When gateway sends one when shaking hands response of successful message to browser client; Consult successfully between browser client and the gateway; The WebSocket agreement that all is based on alternately between follow-up browser client and the gateway is carried out, and the WebSocket protocol message can transmit through this TCP connection.Because the message header (Head) of WebSocket protocol message is very little is that the expense of message is little, therefore, adopts http protocol to transmit with browser in the prior art and Web Application Server and compares, and it is high that efficient is wanted; On the other hand, because the communication protocol that gateway and browser client, back-end server communicate is HTML5 standard WebSocket agreement rather than privately owned custom protocol, therefore, versatility is good.
The handshake request message that gateway receives can comprise the information such as communication protocol of IP address, port and the said back-end server of back-end server; Wherein, The communication protocol of back-end server is the option in the handshake request message; Be the communication protocol that handshake request message can not comprise back-end server, this information of the communication protocol of back-end server can be pre-configured.The information such as communication protocol of IP address, port and the said back-end server of back-end server can form through newly-increased cell in the request message of shaking hands; As follows, be the example of the HTTP Upgrade handshake request message of newly-increased cell in the handshake request message:
Wherein, Newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 "; Promptly be used to state the communication protocol of IP address, port and the said back-end server of back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
After the handshake request message that receives the browser client transmission, gateway is set up it according to said handshake request message and is connected with the TCP of back-end server.Particularly, gateway extract the IP address and the port of the said back-end server that said handshake request message comprises, the IP address according to said back-end server is connected with the TCP that port is set up gateway to said back-end server then.
S102, according to the IP address and the interface querying forwards table of said browser client, IP address, the port of the IP address of acquisition and said browser client and the back-end server of port association.
In embodiments of the present invention, gateway is safeguarded a forwards table, and when new connection was set up, gateway can upgrade this forwards table.For example; Gateway is after receiving handshake request message and setting up the TCP connection of gateway to said back-end server in view of the above; Can updating message transmit; That is, write down the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server.In the present invention implements; After the handshake request message that gateway sends according to browser client is set up gateway and the TCP of said back-end server is connected; With IP address, the port association of IP address, port and the back-end server of browser client, and with said update of incidence relation in said forwards table.Therefore; Forwards table after the renewal comprises the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server, and can write down IP address, the port association relation of IP address, port and the said back-end server of said browser client.The meaning of these incidence relations of forwards table record is; According to IP address, the port of browser client, transmit through query messages, can obtain IP address, the port of related with it back-end server; Otherwise perhaps; According to IP address, the port of back-end server, transmit through query messages, can obtain IP address, the port of related with it browser client.
Need to prove; " request information connects; therefore; gateway also can be after listening to the request information that connects of these broadcasting, and foundation is connected with the TCP of back-end server, and gateway is set up in the present invention and the TCP ways of connecting of back-end server can not limit because back-end server can be broadcasted.
S103, according to the IP address and the port of back-end server, the TCP through gateway and back-end server connects subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
When the user sent a request message through browser client, gateway received the request message that browser client sends.Because the network protocol layer below application layer (for example; The IP layer), gateway can parse IP address, the port of the back-end server that this request message comprises, the communication protocol of back-end server, therefore; Gateway can be inquired about the forwards table after the said renewal; That is, gateway is according to IP address, the interface querying forwards table of browser client, obtain with the back-end server of the IP address of said browser client and port association IP address and port.Then; According to the said back-end server IP address and the port that obtain; Described request message is sent to IP address and the corresponding back-end server of port with said back-end server; Thereby realize being connected with the TCP of said back-end server, transmit the interactive messages between said browser client and the said back-end server through said gateway.
Alternatively, the method that the embodiment of the invention provides can also comprise: be connected the request response that receives said back-end server transmission with the TCP of back-end server through gateway, the described request response message comprises: the IP address and the port of said back-end server; According to the IP address and the said forwards table of interface querying of said back-end server, the IP address and the port of the IP address of acquisition and said back-end server and the browser client of port association; According to the IP address and the port of said browser client, the TCP through gateway and said browser client connects the described request response message is sent to IP address and the corresponding browser client of port with said browser client.
When back-end server receives through the request message of gateway forwards, send request response to gateway.Gateway is connected the request response that receives said back-end server transmission through it with the TCP of back-end server; This request response is the response to the subscription request message of browser client transmission; The IP address and the port that wherein comprise back-end server can also comprise the information such as communication protocol of back-end server.
Because network protocol layer (for example, the IP layer) below application layer, gateway can parse the information such as communication protocol of IP address, port and the back-end server of the back-end server that this request response comprises; Therefore; Gateway can be inquired about the forwards table after the said renewal, that is, gateway is according to the IP address and the port of back-end server; Inquire about the forwards table after the said renewal, obtain IP address, port with the browser client of the IP address of said back-end server, port association.Then; IP address, port according to the said browser client that obtains; The described request response message is forwarded to IP address and the corresponding browser client of port with said browser client; Thereby realize passing through being connected of gateway foundation in advance, transmit interactive messages between said browser client and the said back-end server with the TCP of said browser client.
Can know from browser client and the straight-through method of back-end server that the invention described above embodiment provides; Because gateway and browser client and back-end server can be set up is that TCP grows and is connected; On the one hand; Browser client can be realized full-duplex communication with back-end server, and the real time information of browser client is close to issuing time just can send to back-end server in real time, and is therefore real-time; On the other hand; Gateway connects the responsible browser client of transmitting through TCP and sends to the subscription request message between the back-end server; Main service logic and calculating are distributed in browser client and back-end server; Gateway need not born main service logic and calculating, need not to expend extra resource and realizes the protocol conversion between HTTP and the back-end server, has therefore saved expense.
Below mutual with between browser client, WebSocket gateway and the back-end server; And it is example with the new message that pulls subscription that browser client connects to the request of WebSocket gateway transmission message subscribing through the TCP that sets up; Further specify the straight-through method of browser and back-end server; See also accompanying drawing 2, mainly comprising alternately between browser client, WebSocket gateway and the back-end server:
S201, browser client sends the web application download request to the WebSocket gateway.
The web application download request is when the user capture gateway, and browser client sends to the WebSocket gateway after receiving this access request.
S202, the WebSocket gateway downloads to browser client with web application.
S203, browser client operation web application.
S204, browser client receives the real time information request message of user's input.
S205, browser client sends handshake request message through web application to the WebSocket gateway.
When the communication beginning, browser client can send the handshake request message based on the HTTP form to gateway, with request 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 of said back-end server etc.The IP address of back-end server, port; Alternatively; The information such as communication protocol that can also comprise said back-end server can form through newly-increased cell in the request message of shaking hands, and below are the examples of the HTTP Upgrade handshake request message of newly-increased cell in the handshake request message:
Wherein, Newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 "; Promptly be used to state the communication protocol of IP address, port and the said back-end server of back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
S206, the WebSocket gateway is resolved handshake request message.
Gateway is set up gateway according to the IP address of said back-end server with port then and is connected with the TCP of said back-end server through resolving handshake request message, extract the IP address and the port of the said back-end server that wherein comprises, and comprising:
S207, WebSocket gateway backend server is sent TCP and is connected the request of foundation.
S208, back-end server returns response message to the WebSocket gateway.
S209, WebSocket gateway updating message is transmitted.
Promptly; The WebSocket gateway writes down IP address and the port etc. of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server in the forwards table; Forwards table after the renewal comprises the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server, and can write down IP address, the port association relation of IP address, port and the said back-end server of said browser client.In this enforcement; After the handshake request message that gateway sends according to browser client is set up gateway and the TCP of said back-end server is connected; With IP address, the port association of IP address, port and the back-end server of browser client, and with said update of incidence relation in said forwards table.Therefore; Forwards table after the renewal comprises the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server, and comprises IP address, the port association relation of IP address, port and the said back-end server of said browser client.The meaning of these incidence relations of forwards table record is; According to IP address, the port of browser client, transmit through query messages, can obtain IP address, the port of related with it back-end server; Otherwise perhaps; According to IP address, the port of back-end server, transmit through query messages, can obtain IP address, the port of related with it browser client.
S210, the WebSocket gateway sends the handshake request response message to browser client.
The handshake request response message that the WebSocket gateway sends to browser client shows that the WebSocket gateway successfully sets up TCP with browser client and back-end server and be connected, and follow-up browser client can be connected through this TCP with the interacting message of back-end server and carries out.
S211, browser client sends the message subscribing request to the WebSocket gateway.
For the network protocol layer below the application layer, for example, the IP layer, this message subscribing request comprises the information such as communication protocol of IP address, port and the said back-end server of said back-end server.
S212, the WebSocket gateway is resolved this message subscribing request.
Network protocol layer below application layer (for example; The IP layer); The WebSocket gateway can parse the information such as communication protocol of IP address, port and the said back-end server of the said back-end server that this message subscribing request comprises, therefore, and the forwards table after the WebSocket gateway upgrades in can query steps S209; Promptly; The WebSocket gateway is according to the IP address and the port of browser client, and query messages is transmitted, and obtains the IP address and the port of the back-end server related with said browser client.
S213, WebSocket gateway backend server is sent the message subscribing request.
The WebSocket gateway is according to the IP address and the port of the back-end server that obtains, and said message subscribing request is sent to IP address and the corresponding back-end server of port with said back-end server.
S214, back-end server sends and the corresponding request response of message subscribing request to the WebSocket gateway.
For the network protocol layer below the application layer, for example, the IP layer comprises the IP address and the port of back-end server with the corresponding response message of message subscribing request,, can also comprise the information such as communication protocol of back-end server.
S215, the WebSocket gateway is forwarded to browser client with the response message of back-end server.
S216, back-end server sends updating message to the WebSocket gateway.
This updating message is the message that the message subscribing request is pulled subscription.
S217, the WebSocket gateway is resolved and the corresponding response message of message subscribing request.
Because the network protocol layer below application layer (for example; The IP layer); The WebSocket gateway can parse the information such as communication protocol of IP address, port and the back-end server of the said back-end server back-end server that comprises with the corresponding request response of message subscribing request, therefore, and the forwards table after the WebSocket gateway upgrades in can query steps S209; Promptly; The WebSocket gateway is according to the IP address and the port of back-end server, inquires about the forwards table after the said renewal, obtains IP address, the port of the browser client related with said back-end server.
S218, the WebSocket gateway is transmitted updating message to browser client.
Behind the IP address of the browser client related that WebSocket gateway basis is obtained, the port with said back-end server; IP address through browser client, interface querying connect to corresponding browser communication, and the updating message that back-end server among the step S216 is sent to the WebSocket gateway is forwarded to IP address and the corresponding browser client of port with said browser client.
S219, browser client sends and the corresponding response message of updating message to the WebSocket gateway.
This response message is the affirmation to the updating message of WebSocket gateway forwards.
S220, the WebSocket gateway will be sent to back-end server with the corresponding response message of updating message.
Seeing also accompanying drawing 3, is the gateway structural representation that the embodiment of the invention provides.For the ease of explanation, only show the part relevant with the embodiment of the invention.The gateway of accompanying drawing 3 examples can be the WebSocket gateway, and the communication protocol that itself and browser client, back-end server communicate can be HTML5 standard WebSocket agreement.The gateway of accompanying drawing 3 examples comprises receiver module 301, first acquisition module 302 and sending module 303, wherein:
Sending module 303 is used for IP address and port according to said back-end server, and the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
When the user sent a request message through browser client, receiver module 301 received the request message that browser client sends.Because the network protocol layer below application layer (for example; The IP layer); Gateway can parse IP address, the port of the back-end server that this request message comprises, the communication protocol of back-end server; Therefore, first acquisition module 302 can be inquired about the forwards table after the said renewal, promptly; First acquisition module 302 is according to IP address, the interface querying forwards table of browser client, obtain with the back-end server of the IP address of said browser client and port association IP address and port.Then; Sending module 303 is according to the said back-end server IP address and the port that obtain; Described request message is sent to IP address and the corresponding back-end server of port with said back-end server; Thereby realize being connected with the TCP of said back-end server, transmit the interactive messages between said browser client and the said back-end server through said gateway.
Can know from the gateway that the invention described above embodiment provides; Because gateway and browser client and back-end server can be set up is that TCP grows and is connected; On the one hand; Browser client can be realized full-duplex communication with back-end server, and the real time information of browser client is close to issuing time just can send to back-end server in real time, and is therefore real-time; On the other hand; Gateway connects the responsible browser client of transmitting through TCP and sends to the subscription request message between the back-end server; Main service logic and calculating are distributed in browser client and back-end server; Gateway need not born main service logic and calculating, need not to expend extra resource and realizes the protocol conversion between HTTP and the back-end server, has therefore saved expense.
Need to prove; In the execution mode of above gateway, the division of each functional module only illustrates, can be as required in the practical application; For example the facility of the realization of the configuration requirement of corresponding hardware or software is considered; And above-mentioned functions is distributed by the different functional completion, the internal structure that is about to said gateway is divided into different functional, to accomplish all or part of function of above description.And; In the practical application; Corresponding functional modules in the present embodiment can be to be realized by relevant hardware, also can carry out corresponding software by relevant hardware and accomplish, for example; Aforesaid receiver module; Can be to have to carry out aforementionedly to be connected the hardware that receives the subscription request message that browser client sends with the transmission control protocol TCP of browser client through gateway, receiver for example, thus also can be perhaps other hardware devices of general processor that can carry out corresponding computer program completion aforementioned functional; Aforesaid for another example first acquisition module; Can be have carry out aforementioned will be according to the IP address and the interface querying forwards table of said browser client; The IP address of the IP address of acquisition and said browser client and the back-end server of port association and the hardware of port function; First getter for example, thus also can be to carry out general processor or other hardware devices (each embodiment that this specification provides can use the foregoing description principle) that the corresponding computer program is accomplished aforementioned functional.Gateway in accompanying drawing 3 examples may further include handshake information receiver module 401, connects and set up module 402 and update module 403, the gateway that another embodiment of the present invention provides shown in accompanying drawing 4, wherein:
Handshake information receiver module 401 is used for being connected the handshake request message that receives the browser client transmission with the TCP of browser client through gateway, and said handshake request message comprises the IP address and the port of back-end server;
In order to improve the efficient of transmission of messages between browser client and the gateway, after browser client and gateway were set up TCP and be connected, 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 that receives the browser client transmission with the TCP of browser client through gateway.When gateway sends one when shaking hands response of successful message to browser client; Consult successfully between browser client and the gateway; The WebSocket agreement that all is based on alternately between follow-up browser client and the gateway is carried out, and the WebSocket protocol message can transmit through this TCP connection.Because the message header (Head) of WebSocket protocol message is very little is that the expense of message is little, therefore, adopts http protocol to transmit with browser in the prior art and Web Application Server and compares, and it is high that efficient is wanted; On the other hand, because the communication protocol that gateway and browser client, back-end server communicate is HTML5 standard WebSocket agreement rather than privately owned custom protocol, therefore, versatility is good.
The handshake request message that handshake information receiver module 401 receives can comprise the information such as communication protocol of IP address, port and the said back-end server of back-end server; Wherein, The communication protocol of back-end server is the option in the handshake request message; Be the communication protocol that handshake request message can not comprise back-end server, this information of the communication protocol of back-end server can be pre-configured.The information such as communication protocol of IP address, port and the said back-end server of back-end server can form through newly-increased cell in the request message of shaking hands; As follows, be the example of the HTTP Upgrade handshake request message of newly-increased cell in the handshake request message:
Wherein, Newly-increased cell " DestHost:tcp: //myDestHostAddress:9960 "; Promptly be used to state the communication protocol of IP address, port and the said back-end server of back-end server, in the present embodiment, the communication protocol of back-end server is TCP.
Connect and set up module 402, be used for setting up gateway and be connected with the TCP of said back-end server according to said handshake request message;
Response message receiver module 501 is used for being connected the request response that receives said back-end server transmission with the TCP of back-end server through gateway, and the described request response message comprises: the IP address and the port of said back-end server;
Response message sending module 503; Be used for IP address and port according to said browser client, the TCP through gateway and said browser client connects the described request response message is sent to IP address and the corresponding browser client of port with said browser client.
Should be understood that the gateway of accompanying drawing 4 examples also may further include response message receiver module 501, second acquisition module 502 and the response message sending module 503 shown in accompanying drawing 5, function as above repeats no more at this.
In embodiments of the present invention, gateway is safeguarded a forwards table, and when new connection was set up, update module 403 can be upgraded this forwards table.For example; Connect and set up module 402 after receiving handshake request message and setting up the TCP connection of gateway to said back-end server in view of the above; Update module 403 can updating message be transmitted; That is, write down the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server.In the present invention implements; Connect set up handshake request message that module 402 sends according to browser client and set up gateway and the TCP of said back-end server is connected after; Update module 403 is IP address, the port association of IP address, port and the back-end server of browser client, and with said update of incidence relation in said forwards table.Therefore; Forwards table after the renewal comprises the information such as IP address and port of communication protocol and the said browser client of IP address, the port of said back-end server, said back-end server, and can write down IP address, the port association relation of IP address, port and the said back-end server of said browser client.The meaning of the incidence relation of forwards table record is; First acquisition module 302 is transmitted through query messages according to IP address, the port of browser client, can obtain IP address, the port of related with it back-end server; Otherwise perhaps; Second acquisition module 502 is transmitted through query messages according to IP address, the port of back-end server, can obtain IP address, the port of related with it browser client.
In the gateway of accompanying drawing 4 examples, connection is set up module 402 and may further include resolution unit 601 and set up unit 602, the gateway that another embodiment of the present invention provides shown in accompanying drawing 6, wherein:
Set up unit 602, be used for setting up gateway with port and be connected with the TCP of said back-end server according to the IP address of said back-end server.
See also accompanying drawing 7, a kind of communication system that the embodiment of the invention provides.For the ease of explanation, only show the part relevant with the embodiment of the invention.The communication system of accompanying drawing 7 examples comprises the gateway 702 of browser client 701, back-end server 703 and accompanying drawing 3 to accompanying drawing 6 arbitrary examples, wherein:
Browser client 701 is used for, and is used for sending subscription request message through being connected with the transmission control protocol TCP of said gateway, and said subscription request message comprises: the IP address and the port of said browser client;
Gateway 702 is used for receiving the said subscription request message that browser client sends through being connected with the said TCP of browser client; According to the IP address and the interface querying forwards table of browser client in the said subscription request message, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association; According to the IP address and the port of said back-end server, said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server through connecting with the TCP of said back-end server;
Back-end server 703 is used to receive the subscription request message of said gateway forwards.
In the communication system of accompanying drawing 7 examples, browser client 701 also is used for being connected transmission handshake request message through the TCP with said gateway 702, and said handshake request message comprises the IP address and the port of said back-end server; Said gateway 702 also is used for being connected the said handshake request message that receives said browser client 701 transmissions through the TCP with said browser client 701; Be connected with the said TCP of said back-end server 703 according to said handshake request message foundation; With IP address, the port association of IP address, port and the said back-end server of said browser client 701, and with said update of incidence relation in said forwards table.
In the communication system of accompanying drawing 7 examples, back-end server 703 also is used for being connected to said gateway 702 transmission request response through the TCP with said gateway 702, and the described request response message comprises: the IP address and the port of said back-end server; Said gateway 702 also is used for receiving the request response that said back-end server 703 sends through being connected with the TCP of said back-end server; According to the IP address and the said forwards table of interface querying of the back-end server in the described request response message 703, the IP address and the port of the IP address of acquisition and said back-end server 703 and the browser client 701 of port association; According to the IP address and the port of said browser client 701, the described request response message is sent to IP address and the corresponding browser client of port with said browser client 701 through connecting with the TCP of said browser client 701; Said browser client 701 also is used for: receive the described request response message that said gateway sends.
Accompanying drawing 8 is communication system physical connection (actual deployment) sketch mapes of accompanying drawing 7 examples.The gateway 702 of accompanying drawing 7 examples can be the WebSocket gateway; Adopt WebSocket agreement and browser client mutual; The TCP that sets up through browser client, back-end server connects, and transmits mutual real time information between browser client and the back-end server.
Implement and to know from the invention described above; Because gateway is that TCP length is connected with browser client and back-end server foundation; On the one hand; Browser client can be realized full-duplex communication with back-end server, and the real time information of browser client is close to issuing time just can send to back-end server in real time, and is therefore real-time; On the other hand; Gateway connects through TCP is responsible for transmitting browser client to the subscription request message between the back-end server; Main service logic and calculating are distributed in browser client and back-end server; Gateway need not born main service logic and calculating, need not to expend extra resource and realizes the protocol conversion between HTTP and the back-end server, has therefore saved expense.
Need to prove; Contents such as the information interaction between each module/unit of said apparatus, implementation; Since with the inventive method embodiment based on same design; Its technique effect that brings is identical with the inventive method embodiment, and particular content can repeat no more referring to the narration among the inventive method embodiment here.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program, such as following the whole bag of tricks one or more or all:
Be connected the subscription request message that receives the browser client transmission with the transmission control protocol TCP of browser client through gateway, said subscription request message comprises: the IP address and the port of said browser client;
According to the IP address and the interface querying forwards table of said browser client, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association;
According to the IP address and the port of said back-end server, the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of the foregoing description is to instruct relevant hardware to accomplish through program; This program can be stored in the 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.
More than browser client and straight-through method, gateway and the communication system of back-end server that the embodiment of the invention is provided carried out detailed introduction; Used concrete example among this paper principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that on embodiment and range of application, all can change, in sum, this description should not be construed as limitation of the present invention.
Claims (11)
1. the straight-through method of browser client and back-end server is characterized in that said method comprises:
Be connected the subscription request message that receives the browser client transmission with the transmission control protocol TCP of browser client through gateway, said subscription request message comprises: the IP address and the port of said browser client;
According to the IP address and the interface querying forwards table of said browser client, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association;
According to the IP address and the port of said back-end server, the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
2. method according to claim 1 is characterized in that, said method also comprises:
Be connected the handshake request message that receives the browser client transmission with the TCP of browser client through gateway, said handshake request message comprises the IP address and the port of back-end server;
Setting up gateway according to said handshake request message is connected with the TCP of said back-end server;
With IP address, the port association of IP address, port and the said back-end server of said browser client, and with said update of incidence relation in said forwards table.
3. method according to claim 1 and 2 is characterized in that, said method also comprises:
Be connected the request response that receives said back-end server transmission with the TCP of back-end server through gateway, the described request response message comprises: the IP address and the port of said back-end server;
According to the IP address and the said forwards table of interface querying of said back-end server, the IP address and the port of the IP address of acquisition and said back-end server and the browser client of port association;
According to the IP address and the port of said browser client, the TCP through gateway and said browser client connects the described request response message is sent to IP address and the corresponding browser client of port with said browser client.
4. method according to claim 2 is characterized in that, saidly sets up gateway according to said handshake request message and is connected with the TCP of said back-end server, specifically comprises:
The IP address and the port of the said back-end server that the said handshake request message of extracting comprises;
Setting up gateway according to the IP address of said back-end server with port is connected with the TCP of said back-end server.
5. a gateway is characterized in that, said gateway comprises:
Receiver module is used for being connected the subscription request message that receives the browser client transmission with the transmission control protocol TCP of browser client through gateway, and said subscription request message comprises: the IP address and the port of said browser client;
First acquisition module is used for IP address and interface querying forwards table according to said browser client, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association;
Sending module is used for IP address and port according to said back-end server, and the TCP through gateway and said back-end server connects said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server.
6. gateway as claimed in claim 5 is characterized in that, said gateway also comprises:
The handshake information receiver module is used for being connected the handshake request message that receives the browser client transmission with the TCP of browser client through gateway, and said handshake request message comprises the IP address and the port of back-end server;
Connect and set up module, be used for setting up gateway and be connected with the TCP of said back-end server according to said handshake request message;
Update module is used for IP address, port association with IP address, port and the said back-end server of said browser client, and with said update of incidence relation in said forwards table.
7. like claim 5 or 6 described gateways, it is characterized in that said gateway also comprises:
The response message receiver module is used for being connected the request response that receives said back-end server transmission with the TCP of back-end server through gateway, and the described request response message comprises: the IP address and the port of said back-end server;
Second acquisition module is used for IP address and the said forwards table of interface querying according to said back-end server, the IP address and the port of the IP address of acquisition and said back-end server and the browser client of port association;
The response message sending module; Be used for IP address and port according to said browser client, the TCP through gateway and said browser client connects the described request response message is sent to IP address and the corresponding browser client of port with said browser client.
8. gateway as claimed in claim 6 is characterized in that, said connection is set up module and specifically comprised:
Resolution unit, the IP address and the port of the said back-end server that the said handshake request message that is used to extract comprises;
Set up the unit, be used for setting up gateway with port and be connected with the TCP of said back-end server according to the IP address of said back-end server.
9. a communication system is characterized in that, said communication system comprises browser client, gateway and back-end server;
Said browser client is used for sending subscription request message through being connected with the transmission control protocol TCP of said gateway, and said subscription request message comprises: the IP address and the port of said browser client;
Said gateway is used for receiving the said subscription request message that browser client sends through being connected with the said TCP of browser client; According to the IP address and the interface querying forwards table of browser client in the said subscription request message, the IP address and the port of the IP address of acquisition and said browser client and the back-end server of port association; According to the IP address and the port of said back-end server, said subscription request message is sent to IP address and the corresponding back-end server of port with said back-end server through connecting with the TCP of said back-end server;
Said back-end server is used to receive the subscription request message of said gateway forwards.
10. system according to claim 9 is characterized in that,
Said browser client also is used for sending handshake request message through being connected with the TCP of said gateway, and said handshake request message comprises the IP address and the port of said back-end server;
Said gateway also is used for receiving the said handshake request message that said browser client sends through being connected with the TCP of said browser client; Be connected with the said TCP of said back-end server according to said handshake request message foundation; With IP address, the port association of IP address, port and the said back-end server of said browser client, and with said update of incidence relation in said forwards table.
11. according to claim 9 or 10 described systems, it is characterized in that,
Said back-end server also is used for sending request response through being connected with the TCP of said gateway to said gateway, and the described request response message comprises: the IP address and the port of said back-end server;
Said gateway also is used for receiving the request response that said back-end server sends through being connected with the TCP of said back-end server; According to the IP address and the said forwards table of interface querying of the back-end server in the described request response message, the IP address and the port of the IP address of acquisition and said back-end server and the browser client of port association; According to the IP address and the port of said browser client, the described request response message is sent to IP address and the corresponding browser client of port with said browser client through connecting with the TCP of said browser client;
Said browser client also is used for: receive the described request response message that said gateway sends.
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 true CN102546794A (en) | 2012-07-04 |
CN102546794B 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) |
Cited By (25)
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 |
CN102932471A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Method and system for login server by browser and for achieving browser login |
CN102938788A (en) * | 2012-11-15 | 2013-02-20 | 易程科技股份有限公司 | Processing method and device of events |
CN102984218A (en) * | 2012-11-12 | 2013-03-20 | 北京奇虎科技有限公司 | Browser and login method thereof and login system thereof |
CN103023907A (en) * | 2012-12-21 | 2013-04-03 | 北京奇虎科技有限公司 | Method, equipment and system for acquiring website information |
CN103118410A (en) * | 2013-02-18 | 2013-05-22 | 广州市动景计算机科技有限公司 | Mobile communication method, mobile communication system and server for mobile communication |
CN103546584A (en) * | 2013-11-13 | 2014-01-29 | 深圳市中兴移动通信有限公司 | Information pushing method and system |
CN103546543A (en) * | 2013-09-29 | 2014-01-29 | 北京京东尚科信息技术有限公司 | Client device for electronic commerce and method and system for supplying information |
CN103634382A (en) * | 2013-11-20 | 2014-03-12 | 安徽科大讯飞信息科技股份有限公司 | System and method for realizing real-time interaction in webpage |
CN103945003A (en) * | 2014-05-06 | 2014-07-23 | 北京邮电大学 | Dynamic self-adapting method for connection of Web RTC (Real Time Communication) client |
CN104580106A (en) * | 2013-10-24 | 2015-04-29 | 北大方正集团有限公司 | Communication method and communication device |
CN105391536A (en) * | 2015-10-28 | 2016-03-09 | 浪潮(北京)电子信息产业有限公司 | Communication method and device between client end and service end |
CN105488095A (en) * | 2015-09-30 | 2016-04-13 | 小米科技有限责任公司 | Search result access method, apparatus and system |
CN106201375A (en) * | 2016-07-01 | 2016-12-07 | 浪潮通用软件有限公司 | Websocket-based network sharing printing control method |
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 |
CN111355784A (en) * | 2020-02-20 | 2020-06-30 | 北京字节跳动网络技术有限公司 | 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 |
CN112859752A (en) * | 2021-01-06 | 2021-05-28 | 华南师范大学 | Remote monitoring management system of laser embroidery machine |
CN112905928A (en) * | 2021-05-07 | 2021-06-04 | 杭州米络星科技(集团)有限公司 | Webpage refreshing method and 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 |
CN114553945A (en) * | 2022-01-15 | 2022-05-27 | 江苏秉信科技有限公司 | Message pushing method for power intranet cloud platform-crossing unified framework gateway |
CN114579224A (en) * | 2020-12-02 | 2022-06-03 | 永中软件股份有限公司 | Method for acquiring browser closing event, computing device and computer readable medium |
CN115242766A (en) * | 2022-08-02 | 2022-10-25 | 亚数信息科技(上海)有限公司 | Method for HTTPS transparent gateway based on two-layer network bridge |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113613348B (en) * | 2021-08-11 | 2023-08-29 | 北京达佳互联信息技术有限公司 | Connection establishment method, device, electronic equipment and storage medium |
CN114386152B (en) * | 2022-01-14 | 2024-03-29 | 中国电建集团昆明勘测设计研究院有限公司 | Light BIM model linkage labeling system based on WebSocket |
Citations (9)
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 |
CN101040496A (en) * | 2004-10-19 | 2007-09-19 | 日本电气株式会社 | VPN gateway device and hosting system |
CN101184275A (en) * | 2007-12-19 | 2008-05-21 | Ut斯达康通讯有限公司 | Service implementing method and system and mobile terminal of mobile terminal rolling screen amusement |
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 |
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 |
CN102025746A (en) * | 2010-12-21 | 2011-04-20 | 北京星网锐捷网络技术有限公司 | Method, device and network equipment for establishing transmission control protocol (TCP) connection |
-
2011
- 2011-12-30 CN CN201110456297.9A patent/CN102546794B/en active Active
-
2012
- 2012-05-19 WO PCT/CN2012/075776 patent/WO2013097401A1/en active Application Filing
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101040496A (en) * | 2004-10-19 | 2007-09-19 | 日本电气株式会社 | VPN gateway device and hosting system |
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 |
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 |
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 |
CN102025746A (en) * | 2010-12-21 | 2011-04-20 | 北京星网锐捷网络技术有限公司 | Method, device and network equipment for establishing transmission control protocol (TCP) connection |
Cited By (34)
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 |
CN102984218A (en) * | 2012-11-12 | 2013-03-20 | 北京奇虎科技有限公司 | Browser and login method thereof and login system thereof |
CN102932471A (en) * | 2012-11-12 | 2013-02-13 | 北京奇虎科技有限公司 | Method and system for login server by browser and for achieving browser login |
CN102932471B (en) * | 2012-11-12 | 2015-11-18 | 北京奇虎科技有限公司 | Browser logon server and realize browser log in method and system |
CN102938788A (en) * | 2012-11-15 | 2013-02-20 | 易程科技股份有限公司 | Processing method and device of events |
CN102938788B (en) * | 2012-11-15 | 2016-03-30 | 易程科技股份有限公司 | The processing method of event and device |
CN103023907A (en) * | 2012-12-21 | 2013-04-03 | 北京奇虎科技有限公司 | Method, equipment and system for acquiring website information |
CN103023907B (en) * | 2012-12-21 | 2017-12-01 | 北京奇虎科技有限公司 | The method for obtaining site information, equipment and system |
CN103118410A (en) * | 2013-02-18 | 2013-05-22 | 广州市动景计算机科技有限公司 | Mobile communication method, mobile communication system and server for mobile communication |
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 |
CN103546584A (en) * | 2013-11-13 | 2014-01-29 | 深圳市中兴移动通信有限公司 | Information pushing method and system |
CN103546584B (en) * | 2013-11-13 | 2018-08-14 | 努比亚技术有限公司 | Information-pushing method and system |
CN103634382A (en) * | 2013-11-20 | 2014-03-12 | 安徽科大讯飞信息科技股份有限公司 | System and method for realizing real-time interaction in webpage |
CN103945003B (en) * | 2014-05-06 | 2017-06-06 | 北京邮电大学 | A kind of method that WebRTC clients connect dynamic adaptive selection |
CN103945003A (en) * | 2014-05-06 | 2014-07-23 | 北京邮电大学 | Dynamic self-adapting method for connection of Web RTC (Real Time Communication) client |
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 |
CN106201375A (en) * | 2016-07-01 | 2016-12-07 | 浪潮通用软件有限公司 | Websocket-based network sharing printing control method |
CN106201375B (en) * | 2016-07-01 | 2019-02-19 | 浪潮通用软件有限公司 | Websocket-based network sharing printing control method |
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 |
CN111355784A (en) * | 2020-02-20 | 2020-06-30 | 北京字节跳动网络技术有限公司 | 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 |
CN112859752A (en) * | 2021-01-06 | 2021-05-28 | 华南师范大学 | Remote monitoring management system of laser embroidery machine |
CN112905928A (en) * | 2021-05-07 | 2021-06-04 | 杭州米络星科技(集团)有限公司 | Webpage refreshing method and 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 |
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 |
CN115242766B (en) * | 2022-08-02 | 2024-07-19 | 亚数信息科技(上海)有限公司 | HTTPS transparent gateway method based on two-layer network bridge |
Also Published As
Publication number | Publication date |
---|---|
WO2013097401A1 (en) | 2013-07-04 |
CN102546794B (en) | 2015-01-21 |
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 | |
CN101989913B (en) | Method and device for enabling network equipment in local area network to acquire service content | |
CN110300050A (en) | Information push method, device, computer equipment and storage medium | |
CN110661871B (en) | Data transmission method and MQTT server | |
CN111294399B (en) | Data transmission method and device | |
CN102904959B (en) | Network accelerating method and gateway | |
KR100978336B1 (en) | Remote access | |
CN101183946B (en) | Method and system of obtaining resource listing of download file | |
CN104363291A (en) | Network communication middleware implementation method | |
CN102271165B (en) | Device and method for sharing and managing resources searched on Internet | |
CN112769671B (en) | Message processing method, device and system | |
CN102594886B (en) | Method and device for direct communication between browsers, and communication system | |
CN102739717A (en) | Downloading method, downloading proxy server and network system | |
CN102404616B (en) | Method and system for pushing data cloud based on digital television network | |
CN103685496A (en) | Transmission method and device of file data | |
CN101771928B (en) | Method and system and proxy server for Webpage transmitting | |
CN103997539A (en) | Radar operation state collecting and distributing system and method based on web service | |
CN108683653A (en) | A kind of active message push system based on WebSocket | |
CN104320441A (en) | Method of sharing information between wireless communication systems | |
CN101631127A (en) | File transfer method and clients | |
CN107368334B (en) | Business plug-in interaction system and method | |
CN102523244A (en) | Uploading method and system for page documents | |
CN102761780A (en) | Method for obtaining media metadata by intelligent remote controller to | |
CN103731400A (en) | Resource sharing system and method | |
CN103533001A (en) | Communication method and communication system based on HTTP multi-proxy, and intermediate proxy server |
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 |