CN102970356A - Communication method, system and device for cloud side server and client side - Google Patents

Communication method, system and device for cloud side server and client side Download PDF

Info

Publication number
CN102970356A
CN102970356A CN201210445216XA CN201210445216A CN102970356A CN 102970356 A CN102970356 A CN 102970356A CN 201210445216X A CN201210445216X A CN 201210445216XA CN 201210445216 A CN201210445216 A CN 201210445216A CN 102970356 A CN102970356 A CN 102970356A
Authority
CN
China
Prior art keywords
spdy
request message
communication module
response message
client
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201210445216XA
Other languages
Chinese (zh)
Inventor
刘德超
张开兴
辛昕
胡俊
肖伟
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN201210445216XA priority Critical patent/CN102970356A/en
Publication of CN102970356A publication Critical patent/CN102970356A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention provides a communication method for a cloud side server and a client side. The communication method includes: a first SPDY communication module of the client side receives first request information of an application program of the client side; the first SPDY communication module converts the first request information into SPDY request information and transmits the SPDY request information to the cloud side server; a second SPDY communication module of the cloud side server receives the SPDY request information; the second SPDY communication module converts the SPDY request information into second request information; and the second SPDY communication module transmits the second request information to a rear-end service program of the cloud side server. By means of the SPDY technology, multiplexing of full deplex is achieved, security encryption of data can be ensured, connection number is small, network transmission is fast, and simultaneously network flow is saved. The invention further discloses a communication system of the cloud side server and the client side and the client side server.

Description

The communication means of cloud server and client, system and device
Technical field
The present invention relates to Internet technical field, particularly the communication means of a kind of cloud server and client, system and device.
Background technology
At the internet development initial stage, webpage is fairly simple, only comprises literal and a small amount of picture, and on traditional mobile terminal, browser generally adopts HTTP (HTTP) agreement to visit server.But along with the development of the Internet, the content and form of webpage is more and more abundanter, and web page contents has not only comprised literal, also has a large amount of pictures, multimedia messages and outer connection etc.Statistics according to google in 2010 shows that every width of cloth webpage probably has 44 resources, need 7 different websites of access, and mean size is 320kB.
HTTP is fit to the independent large file of transmission, but and is not suitable for a large amount of small documents is transmitted.
At first, HTTP does not have to consider and adapt to the variation of webpage.Although done some improvement and increased Keep alive and HTTP Pipeline function for webpage raising speed, this does not solve root problem.Keep alive does not support full-duplex communication, although and Pipeline supports full-duplex communication, require the order of the order of request and return results must be consistent, the very possible like this obstruction that causes.And a lot of agencies does not support Pipeline, and the Opera browser acquiescence that only accounts for 2% user is at present opened support Pipeline.Therefore, in most of situation, http protocol only supports client to arrive the request of server, what needs even server is known client, also can only wait the request of client.
Secondly, HTTP is in order to finish more function, and header data is more and more too fat to move, and approximate size is about 1k, at some network to the upstream bandwidth restriction, as more having aggravated contradiction among the ADSL generally speaking.
At last, HTTP also exists number of connection too much, and dangerous and browsing page speed waits problem more slowly.Because a plurality of resources and website are arranged, the each extraction with webpage of HTTP is to need to set up repeatedly to connect, and after having connected at every turn, because the initial transmission speed that the congestion avoidance algorithm of TCP causes connecting is slow, develop for present latticed form, this also can affect user's experience for extracting the disadvantageous factor of small documents.
Summary of the invention
The present invention is intended to solve at least one of technical problem that exists in the prior art.For this reason, one object of the present invention is to propose the communication means of a kind of cloud server and client.This method is utilized the SPDY technology, realizes the multiplexed of full duplex, and data security is encrypted, and number of connection is few, and network transfer speeds is fast, has saved simultaneously network traffics.
Second purpose of the present invention is to propose the communication system of a kind of cloud server and client.
The 3rd purpose of the present invention is to propose a kind of cloud server.
For achieving the above object, the embodiment of first aspect present invention has proposed the communication means of a kind of cloud server and client, may further comprise the steps: a SPDY communication module of client receives the first request message of the application program of described client; A described SPDY communication module is converted to described the first request message the SPDY request message and is sent to cloud server; The 2nd SPDY communication module of described cloud server receives described SPDY request message; Described the 2nd SPDY communication module is converted to the second request message with described SPDY request message; Described the 2nd SPDY communication module is sent to described the second request message the back-end services program of described cloud server.
Utilized the SPDY agreement according to the cloud server of the embodiment of the invention and the communication means of client, reduce the number of times and the quantity that connect, avoided setting up the great number cost that TCP connects, the data encryption fail safe is good, data volume is relatively few, improve transmission speed, and reached the target of saving network flow.
In one embodiment of the invention, also comprise: the back-end services program of described cloud server generates the first response message according to described the second request message, and described the first response message is sent to described the 2nd SPDY communication module; Described the 2nd SPDY communication module is converted to the SPDY response message with described the first response message; Described the 2nd SPDY communication module is sent to a described SPDY communication module with described SPDY response message; A described SPDY communication module is converted to the second response message with described SPDY response message, and described the second response message is sent to the application program of described client.
In one embodiment of the invention, described the first request message and the second request message are HTTP HTTP request message or WEBSOCKET request message, and described the first response message and the second response message are http response message or WEBSOCKET response message.The SPDY agreement is that underlying protocol has realized encapsulation and the support to various protocols and service, so that the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements.
In one embodiment of the invention, multiplexing same link between a described SPDY communication module and described the 2nd SPDY communication module, and be full-duplex communication between a described SPDY communication module and described the 2nd SPDY communication module.Multiplexing having avoided of communicating by letter repeatedly initiates to connect extra time and the flow that produces, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.And full-duplex communication can realize that not only user end to server initiates request, and the back-level server end is to client active push information,
In one embodiment of the invention, the data volume of described SPDY request message is less than the data volume of described the first request message and the second request message, and the data volume of described SPDY response message is less than the data volume of described the first response message and the second response message.SPDY request and response message after the compression have improved transmission speed when saving flow.
In one embodiment of the invention, also comprise: the back-end services program of described cloud server obtains data according to described the second request message from third party's website; Described back-end services program to the data analysis of described acquisition to determine the priority of described data; Described back-end services program is added into described priority in described the first response message, so that described the 2nd SPDY communication module sends according to described priority.Be supported in cloud server to the priority setting of different resource, take full advantage of the cloud server advantage, guarantee that the data of high priority can be transmitted first.
The embodiment of second aspect present invention has proposed the communication system of a kind of cloud server and client, comprise client and cloud server, wherein, described client has a SPDY communication module, and described cloud server has the 2nd SPDY communication module, a described SPDY communication module, be used for receiving the first request message of the application program of described client, and described the first request message is converted to the SPDY request message and is sent to described the 2nd SPDY communication module; Described the 2nd SPDY communication module is used for receiving described SPDY request message, and described SPDY request message is converted to the second request message, and the back-end services program that described the second request message is sent to described cloud server.
Utilized the SPDY agreement according to the cloud server of the embodiment of the invention and the communication system of client, reduce the number of times and the quantity that connect, avoided setting up the great number cost that TCP connects, the data encryption fail safe is good, data volume is relatively few, improve transmission speed, and reached the target of saving network flow.
In one embodiment of the invention, described the 2nd SPDY communication module, also be used for receiving the back-end services program of described cloud server according to the first response message of described the second request message generation, and described the first response message is converted to the SPDY response message, and described SPDY response message is sent to a described SPDY communication module; A described SPDY communication module also is used for described SPDY response message is converted to the second response message, and described the second response message is sent to the application program of described client.
In one embodiment of the invention, described the first request message and the second request message are HTTP request message or WEBSOCKET request message, and described the first response message and the second response message are http response message or WEBSOCKET response message.The SPDY agreement is that underlying protocol has realized encapsulation and the support to various protocols and service, so that the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements.
In one embodiment of the invention, multiplexing same link between a described SPDY communication module and described the 2nd SPDY communication module, and be full-duplex communication between a described SPDY communication module and described the 2nd SPDY communication module.Multiplexing having avoided of communicating by letter repeatedly initiates to connect extra time and the flow that produces, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.And full-duplex communication can realize that not only user end to server initiates request, and the back-level server end is to client active push information,
In one embodiment of the invention, the data volume of described SPDY request message is less than the data volume of described the first request message and the second request message, and the data volume of described SPDY response message is less than the data volume of described the first response message and the second response message.SPDY request and response message after the compression have improved transmission speed when saving flow.
In one embodiment of the invention, the back-end services program of described cloud server, also be used for obtaining data according to described the second request message from third party's website, and to the data analysis of described acquisition to determine the priority of described data, and described priority is added in described the first response message, so that described the 2nd SPDY communication module sends according to described priority.Be supported in cloud server to the priority setting of different resource, take full advantage of the cloud server advantage, guarantee that the data of high priority can be transmitted first.
The embodiment of third aspect present invention has proposed a kind of cloud server, comprise SPDY communication module and back-end services module, wherein, described SPDY communication module is used for receiving the SPDY request message that client sends, and described SPDY request message is converted to request message, and the response message that described back-end services module generates is converted to the SPDY response message is sent to described client; Described back-end services module is used for obtaining data according to described request message, and generates response message according to the described data of obtaining.
Cloud server according to the embodiment of the invention has utilized the SPDY agreement, reduces the number of times and the quantity that connect, has avoided setting up the great number cost that TCP connects, the data encryption fail safe is good, data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.
In one embodiment of the invention, described request message is HTTP request message or WEBSOCKET request message, and described response message is http response message or WEBSOCKET response message.The SPDY agreement is that underlying protocol has realized encapsulation and the support to various protocols and service, so that the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements.
In one embodiment of the invention, multiplexing same link between described SPDY communication module and the described client, and be full-duplex communication between described SPDY communication module and the described client.Multiplexing having avoided of communicating by letter repeatedly initiates to connect extra time and the flow that produces, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.And full-duplex communication can realize that not only user end to server initiates request, and the back-level server end is to client active push information,
In one embodiment of the invention, the data volume of described SPDY request message is less than the data volume of described request message, and the data volume of described SPDY response message is less than the data volume of described response message.SPDY request and response message after the compression have improved transmission speed when saving flow.
In one embodiment of the invention, described back-end services module, also be used for the data analysis of described acquisition determining the priority of described data, and described priority is added in the described response message, so that described SPDY communication module sends according to described priority.Be supported in cloud server to the priority setting of different resource, take full advantage of the cloud server advantage, guarantee that the data of high priority can be transmitted first.
Additional aspect of the present invention and advantage in the following description part provide, and part will become obviously from the following description, or recognize by practice of the present invention.
Description of drawings
Above-mentioned and/or additional aspect of the present invention and advantage are from obviously and easily understanding becoming the description of embodiment in conjunction with following accompanying drawing, wherein:
Fig. 1 is the flow chart according to the communication means of the cloud server of the embodiment of the invention and client;
Fig. 2 is the mutual schematic diagram according to the cloud server of the embodiment of the invention and client;
Fig. 3 is the structural representation according to the communication system of the cloud server of the embodiment of the invention and client; With
Fig. 4 is the structural representation according to the cloud server of the embodiment of the invention.
Embodiment
The below describes embodiments of the invention in detail, and the example of described embodiment is shown in the drawings, and wherein identical or similar label represents identical or similar element or the element with identical or similar functions from start to finish.Be exemplary below by the embodiment that is described with reference to the drawings, only be used for explaining the present invention, and can not be interpreted as limitation of the present invention.
Describe according to the cloud server of the embodiment of the invention and the communication means of client below with reference to Fig. 1 and Fig. 2, wherein, Fig. 2 is the interaction figure of cloud server and client according to an embodiment of the invention.This method may further comprise the steps:
Step S110: a SPDY communication module of client receives the first request message of the application program of client.
For example, in portable terminal, the user initiates the first request or uses initiation the first request with App in the browser input network address of client, and a SPDY communication module of client receives the first request message, the first request message HTTP HTTP request message.Be understandable that, above-mentioned initiation the first request process only for illustrative purposes, the embodiment of the invention is not limited to this.
Step S120: a SPDY communication module is converted to the first request message the SPDY request message and is sent to cloud server.
For example, in carrier network and Internet, a SPDY communication module is converted to the SPDY request message with the first request message of HTTP HTTP request message form, and is sent to cloud server.
Step S130: the 2nd SPDY communication module of cloud server receives the SPDY request message.
Wherein, multiplexing same link between a SPDY communication module and the 2nd SPDY communication module, and be full-duplex communication between a SPDY communication module and the 2nd SPDY communication module.The one SPDY communication module and multiplexing extra time and the flow of having avoided repeatedly initiating the connection generation of the communication of the 2nd SPDY communication module.And full-duplex communication not only can realize user end to server initiation request, and the back-level server end is to client active push information.For example, when server has the data of user's needs, can initiatively send to client.
Step S140: the 2nd SPDY communication module is converted to the second request message with the SPDY request message.
For example, the 2nd SPDY communication module is converted to the SPDY request message the second request message of HTTP HTTP request message form.
Step S150: the 2nd SPDY communication module is sent to the second request message the back-end services program of cloud server.
In one embodiment of the invention, also comprise:
Step S210: the back-end services program of cloud server obtains data according to the second request message from third party's website.
Step S220: the back-end services program is to the data analysis that the obtains priority with specified data.
Step S230: the back-end services program is added into priority in the first response message, so that the 2nd SPDY communication module sends according to priority.
For example, analyze to set the priority of returning resource by the back-end services program of cloud server, be implemented in high in the clouds to client-requested active accommodation priority.For example for CSS, the JS of the upper outside link of some page, the back-end services program can go out part and parcel by data mining analysis, and priority flag is also preferentially returned for high.
In one embodiment of the invention, also comprise:
Step S310: the back-end services program of cloud server generates the first response message according to the second request message, and the first response message is sent to the 2nd SPDY communication module.
Step S320: the 2nd SPDY communication module is converted to the SPDY response message with the first response message.For example, the 2nd SPDY communication module is converted to the SPDY response message with the first response message of HTTP HTTP request message form.
Step S330: the 2nd SPDY communication module is sent to a SPDY communication module with the SPDY response message.
Step S340: a SPDY communication module is converted to the second response message with the SPDY response message, and the second response message is sent to the application program of client.
For example, a SPDY communication module is converted to the second response message of HTTP HTTP request message form with the SPDY response message, and the browser of client or APP receive the HTTP request message and show for the user and browse.Be understandable that above-mentioned request responds only for illustrative purposes, the embodiment of the invention is not limited to this.
In one embodiment of the invention, the first request message and the second request message are HTTP HTTP request message or WEBSOCKET request message, and the first response message and the second response message are http response message or WEBSOCKET response message.For example, the HTTP HTTP request message in the above-mentioned example and http response message also can be WEBSOCKET request message and WEBSOCKET response message or other some proprietary protocol request and response messages.This method is take the SPDY agreement as underlying protocol, realization is to encapsulation and the support of various protocols and service, communicate by client and cloud server, the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements, and do not need independent realization.
In one embodiment of the invention, the data volume of SPDY request message is less than the data volume of the first request message and the second request message, and the data volume of SPDY response message is less than the data volume of the first response message and the second response message.The data volume of SPDY protocol communication is less, and for example SPDY has compressed the HTTP head, thereby has reduced data volume, has improved transmission speed when saving flow.
Utilize the SPDY agreement according to the cloud server of the embodiment of the invention and the communication means of client, can realize the multiplexed of full duplex, reduced the number of times and the quantity that connect, especially in 3G network, avoided setting up the great number cost that TCP connects.Encapsulate take SPDY as underlying protocol, get access to the advantage that the SPDY agreement is brought when using freely other agreements, the data encryption fail safe is good, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.Support cloud server active push information, be supported in cloud server to the priority setting of different resource, guarantee that the data of high priority can be transmitted first.
Describe according to the cloud server of the embodiment of the invention and the communication system 100 of client below with reference to Fig. 2, comprise client 110 and cloud server 120.Wherein, client has a SPDY communication module 111, and cloud server has the 2nd SPDY communication module 121.The one SPDY communication module 111 is used for the first request message of the application program of reception client 110, and the first request message is converted to the SPDY request message and is sent to the 2nd SPDY communication module 121; The 2nd SPDY communication module 121 is used for receiving the SPDY request message, and the SPDY request message is converted to the second request message, and the back-end services program that the second request message is sent to cloud server 120.
Wherein, multiplexing same link between a SPDY communication module 111 and the 2nd SPDY communication module 121, and be full-duplex communication between a SPDY communication module 111 and the 2nd SPDY communication module 121.
The 2nd SPDY communication module 121, also be used for receiving the back-end services program of cloud server 120 according to the first response message of the second request message generation, and the first response message is converted to the SPDY response message, and the SPDY response message is sent to a SPDY communication module 111; And
The one SPDY communication module 111 also is used for the SPDY response message is converted to the second response message, and the second response message is sent to the application program of client 110.
For example, in portable terminal, the user initiates the first request or uses first request of initiating with App in the browser input network address of client 110, and a SPDY communication module 111 of client 110 receives the first request message, the first request message HTTP HTTP request message.In carrier network and Internet, a SPDY communication module 111 is converted to the SPDY request message with the first request message of HTTP HTTP request message form, and is sent to cloud server 120.The 2nd SPDY communication module 121 is converted to the SPDY request message the second request message of HTTP HTTP request message form.The 2nd SPDY communication module 121 is sent to the second request message the back-end services program of cloud server 120.
In one embodiment of the invention, the back-end services program of cloud server 120 also is used for obtaining data according to the second request message from third party's website, and to the data analysis that the obtains priority with specified data, and priority is added in the first response message, so that the 2nd SPDY communication module 121 sends according to priority.
The back-end services program of cloud server 120 obtains data according to the second request message from third party's website.The back-end services program is to the data analysis that the obtains priority with specified data.The back-end services program is added into priority in the first response message, so that the 2nd SPDY communication module 121 sends according to priority.The back-end services program of cloud server 120 generates the first response message according to the second request message, and the back-end services program of cloud server 120 analyzes to set the priority of returning resource, is implemented in high in the clouds to client 110 request active accommodation priority.For example for CSS, the JS of the upper outside link of some page, the back-end services program can go out part and parcel by data mining analysis, and priority flag is also preferentially returned for high.
The 2nd SPDY communication module 121 is converted to the SPDY response message with the first response message of HTTP HTTP request message form.The 2nd SPDY communication module 121 is sent to a SPDY communication module 111 with the SPDY response message.The one SPDY communication module 111 is converted to the second response message of HTTP HTTP request message form with the SPDY response message, and the browser of client 110 or APP receive the HTTP request message and show for the user and browse.The one SPDY communication module 111 and multiplexing extra time and the flow of having avoided repeatedly initiating the connection generation of the communication of the 2nd SPDY communication module 121.And full-duplex communication not only can realize client 110 to server initiation request, and the back-level server end is to client 110 active push information.For example, when server has the data of user's needs, can initiatively send to client 110.Be understandable that, above-mentioned communication process only for illustrative purposes, the embodiment of the invention is not limited to this.
In one embodiment of the invention, the first request message and the second request message are HTTP request message or WEBSOCKET request message, and the first response message and the second response message are http response message or WEBSOCKET response message.For example, the HTTP HTTP request message in the above-mentioned example and http response message also can be WEBSOCKET request message and WEBSOCKET response message or other some proprietary protocol request and response messages.This method is take the SPDY agreement as underlying protocol, realization is to encapsulation and the support of various protocols and service, communicate by client 110 and cloud server 120, the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements, and do not need independent realization.
In one embodiment of the invention, the data volume of SPDY request message is less than the data volume of the first request message and the second request message, and the data volume of SPDY response message is less than the data volume of the first response message and the second response message.For example SPDY has compressed the HTTP head, thereby has reduced data volume, has improved transmission speed when saving flow.
Utilize the SPDY agreement according to the cloud server of the embodiment of the invention and the communication system of client, can realize the multiplexed of full duplex, reduced the number of times and the quantity that connect, especially in 3G network, avoided setting up the great number cost that TCP connects.Encapsulate take SPDY as underlying protocol, get access to the advantage that the SPDY agreement is brought when using freely other agreements, the data encryption fail safe is good, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.Support cloud server active push information, be supported in cloud server to the priority setting of different resource, guarantee that the data of high priority can be transmitted first.
Below with reference to the cloud server 200 of Fig. 3 description according to the embodiment of the invention, comprise SPDY communication module 210 and back-end services module 220.Wherein, SPDY communication module 210 is used for receiving the SPDY request message that client sends, and the SPDY request message is converted to request message, and the response message that the back-end services module generates is converted to the SPDY response message is sent to client; Back-end services module 220 is used for obtaining data according to request message, and generates response message according to the data of obtaining.
Back-end services module 220 also is used for the data analysis that the obtains priority with specified data, and priority is added in the response message, so that SPDY communication module 210 sends according to priority.
For example, SPDY communication module 210 receives the SPDY request message that client sends, and converts the request message with HTTP HTTP form to, and the back-end services module 220 of cloud server 200 obtains data according to request message from third party's website.The data analysis of 220 pairs of acquisitions of back-end services module is with the priority of specified data.The back-end services module 220 of cloud server 200 analyzes to set the priority of returning resource, is implemented in high in the clouds to client-requested active accommodation priority.For example for CSS, the JS of the upper outside link of some page, back-end services module 220 can go out part and parcel by data mining analysis, and priority flag is also preferentially returned for high.SPDY communication module 210 is converted to the SPDY response message with the response message of HTTP HTTP request message form.SPDY communication module 210 is sent to client with the SPDY response message.Wherein, multiplexing same link between SPDY communication module 210 and the client, and be full-duplex communication between SPDY communication module 210 and the client.Multiplexing extra time and the flow of having avoided repeatedly initiating the connection generation of the communication of SPDY communication module 210.And full-duplex communication not only can realize user end to server initiation request, and the back-level server end is to client active push information.For example, when server has the data of user's needs, can initiatively send to client.Be understandable that, above-mentioned message response process only for illustrative purposes, embodiments of the invention are not limited to this.
In one embodiment of the invention, request message is HTTP request message or WEBSOCKET request message, and response message is http response message or WEBSOCKET response message.For example, the HTTP HTTP request message in the above-mentioned example and http response message also can be WEBSOCKET request message and WEBSOCKET response message or other some proprietary protocol request and response messages.This method is take the SPDY agreement as underlying protocol, realization is to encapsulation and the support of various protocols and service, communicate by client and cloud server, the advantage that application program can utilize the SPDY agreement to bring when freely using other agreements, and do not need independent realization.
In one embodiment of the invention, the data volume of SPDY request message is less than the data volume of request message, and the data volume of SPDY response message is less than the data volume of response message.For example SPDY has compressed the HTTP head, thereby has reduced data volume, has improved transmission speed when saving flow.
Cloud server according to the embodiment of the invention has utilized the SPDY agreement, can realize the multiplexed of full duplex, reduces the number of times and the quantity that connect, especially in 3G network, has avoided setting up the great number cost that TCP connects.Encapsulate take SPDY as underlying protocol, get access to the advantage that the SPDY agreement is brought when using freely other agreements, the data encryption fail safe is good, and data volume is relatively few, improves transmission speed, and has reached the target of saving network flow.Support cloud server active push information, be supported in cloud server to the priority setting of different resource, guarantee that the data of high priority can be transmitted first.
In the description of this specification, the description of reference term " embodiment ", " some embodiment ", " example ", " concrete example " or " some examples " etc. means to be contained at least one embodiment of the present invention or the example in conjunction with specific features, structure, material or the characteristics of this embodiment or example description.In this manual, the schematic statement of above-mentioned term not necessarily referred to identical embodiment or example.And the specific features of description, structure, material or characteristics can be with suitable mode combinations in any one or more embodiment or example.
Although illustrated and described embodiments of the invention, for the ordinary skill in the art, be appreciated that without departing from the principles and spirit of the present invention and can carry out multiple variation, modification, replacement and modification to these embodiment that scope of the present invention is by claims and be equal to and limit.

Claims (17)

1. the communication means of a cloud server and client is characterized in that, may further comprise the steps:
The one SPDY communication module of client receives the first request message of the application program of described client;
A described SPDY communication module is converted to described the first request message the SPDY request message and is sent to cloud server;
The 2nd SPDY communication module of described cloud server receives described SPDY request message;
Described the 2nd SPDY communication module is converted to the second request message with described SPDY request message; And
Described the 2nd SPDY communication module is sent to described the second request message the back-end services program of described cloud server.
2. the communication means of cloud server as claimed in claim 1 and client is characterized in that, also comprises:
The back-end services program of described cloud server generates the first response message according to described the second request message, and described the first response message is sent to described the 2nd SPDY communication module;
Described the 2nd SPDY communication module is converted to the SPDY response message with described the first response message;
Described the 2nd SPDY communication module is sent to a described SPDY communication module with described SPDY response message; And
A described SPDY communication module is converted to the second response message with described SPDY response message, and described the second response message is sent to the application program of described client.
3. the communication means of cloud server as claimed in claim 1 or 2 and client, it is characterized in that, described the first request message and the second request message are HTTP HTTP request message or WEBSOCKET request message, and described the first response message and the second response message are http response message or WEBSOCKET response message.
4. such as the communication means of each described cloud server of claim 1-3 and client, it is characterized in that, multiplexing same link between a described SPDY communication module and described the 2nd SPDY communication module, and be full-duplex communication between a described SPDY communication module and described the 2nd SPDY communication module.
5. such as the communication means of each described cloud server of claim 1-4 and client, it is characterized in that, the data volume of described SPDY request message is less than the data volume of described the first request message and the second request message, and the data volume of described SPDY response message is less than the data volume of described the first response message and the second response message.
6. such as the communication means of each described cloud server of claim 1-4 and client, it is characterized in that, also comprise:
The back-end services program of described cloud server obtains data according to described the second request message from third party's website;
Described back-end services program to the data analysis of described acquisition to determine the priority of described data;
Described back-end services program is added into described priority in described the first response message, so that described the 2nd SPDY communication module sends according to described priority.
7. the communication system of a cloud server and client is characterized in that comprise client and cloud server, wherein, described client has a SPDY communication module, and described cloud server has the 2nd SPDY communication module,
A described SPDY communication module is used for receiving the first request message of the application program of described client, and described the first request message is converted to the SPDY request message and is sent to described the 2nd SPDY communication module;
Described the 2nd SPDY communication module is used for receiving described SPDY request message, and described SPDY request message is converted to the second request message, and the back-end services program that described the second request message is sent to described cloud server.
8. the communication system of cloud server as claimed in claim 7 and client is characterized in that,
Described the 2nd SPDY communication module, also be used for receiving the back-end services program of described cloud server according to the first response message of described the second request message generation, and described the first response message is converted to the SPDY response message, and described SPDY response message is sent to a described SPDY communication module; And
A described SPDY communication module also is used for described SPDY response message is converted to the second response message, and described the second response message is sent to the application program of described client.
9. such as the communication system of claim 7 or 8 described cloud servers and client, it is characterized in that, described the first request message and the second request message are HTTP request message or WEBSOCKET request message, and described the first response message and the second response message are http response message or WEBSOCKET response message.
10. such as the communication system of claim 7 or 8 described cloud servers and client, it is characterized in that, multiplexing same link between a described SPDY communication module and described the 2nd SPDY communication module, and be full-duplex communication between a described SPDY communication module and described the 2nd SPDY communication module.
11. the communication system such as claim 7 or 8 described cloud servers and client, it is characterized in that, the data volume of described SPDY request message is less than the data volume of described the first request message and the second request message, and the data volume of described SPDY response message is less than the data volume of described the first response message and the second response message.
12. the communication system of cloud server as claimed in claim 8 and client, it is characterized in that, the back-end services program of described cloud server, also be used for obtaining data according to described the second request message from third party's website, and to the data analysis of described acquisition to determine the priority of described data, and described priority is added in described the first response message, so that described the 2nd SPDY communication module sends according to described priority.
13. a cloud server is characterized in that, comprises SPDY communication module and back-end services module, wherein,
Described SPDY communication module be used for to receive the SPDY request message that client sends, and described SPDY request message is converted to request message, and the response message that described back-end services module generates is converted to the SPDY response message is sent to described client;
Described back-end services module is used for obtaining data according to described request message, and generates response message according to the described data of obtaining.
14. cloud server as claimed in claim 13 is characterized in that, described request message is HTTP request message or WEBSOCKET request message, and described response message is http response message or WEBSOCKET response message.
15. cloud server as claimed in claim 13 is characterized in that, multiplexing same link between described SPDY communication module and the described client, and be full-duplex communication between described SPDY communication module and the described client.
16. cloud server as claimed in claim 13 is characterized in that, the data volume of described SPDY request message is less than the data volume of described request message, and the data volume of described SPDY response message is less than the data volume of described response message.
17. cloud server as claimed in claim 13, it is characterized in that, described back-end services module, also be used for data analysis to described acquisition to determine the priority of described data, and described priority is added in the described response message, so that described SPDY communication module sends according to described priority.
CN201210445216XA 2012-11-08 2012-11-08 Communication method, system and device for cloud side server and client side Pending CN102970356A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210445216XA CN102970356A (en) 2012-11-08 2012-11-08 Communication method, system and device for cloud side server and client side

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210445216XA CN102970356A (en) 2012-11-08 2012-11-08 Communication method, system and device for cloud side server and client side

Publications (1)

Publication Number Publication Date
CN102970356A true CN102970356A (en) 2013-03-13

Family

ID=47800235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210445216XA Pending CN102970356A (en) 2012-11-08 2012-11-08 Communication method, system and device for cloud side server and client side

Country Status (1)

Country Link
CN (1) CN102970356A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220278A (en) * 2013-04-01 2013-07-24 深信服网络科技(深圳)有限公司 Method for controlling access connection request of webpage and gateway
CN103248704A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Browsing method and system based on corresponding relation base and cloud end server
CN103532984A (en) * 2013-11-01 2014-01-22 中国联合网络通信集团有限公司 Data transmission method, device and system of websocket protocol
CN104113564A (en) * 2013-04-17 2014-10-22 中国移动通信集团公司 Hyper text transfer protocol connection multiplexing method, device, system, and terminal
CN104980898A (en) * 2014-04-04 2015-10-14 中兴通讯股份有限公司 Information pushing method, system and equipment
CN105391536A (en) * 2015-10-28 2016-03-09 浪潮(北京)电子信息产业有限公司 Communication method and device between client end and service end
CN108924587A (en) * 2018-06-27 2018-11-30 深圳市炬力北方微电子有限公司 A kind of rendering method and system based on cloud server
CN109117340A (en) * 2018-06-29 2019-01-01 Oppo(重庆)智能科技有限公司 A kind of mobile terminal and its monitoring method, the storage medium of interprocess communication
CN112104697A (en) * 2018-05-31 2020-12-18 华为技术有限公司 Data processing method, multi-cloud management system and related equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071850A2 (en) * 2009-12-07 2011-06-16 Coach Wei System and method for website performance optimization and internet traffic processing
CN102457573A (en) * 2010-10-27 2012-05-16 索尼公司 Data communication method and information processing device
CN102656863A (en) * 2009-12-18 2012-09-05 高通股份有限公司 HTTP optimization, multi-homing, mobility and priority

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2011071850A2 (en) * 2009-12-07 2011-06-16 Coach Wei System and method for website performance optimization and internet traffic processing
CN102656863A (en) * 2009-12-18 2012-09-05 高通股份有限公司 HTTP optimization, multi-homing, mobility and priority
CN102457573A (en) * 2010-10-27 2012-05-16 索尼公司 Data communication method and information processing device

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
M.BELSHE等: "SPDY Protocol", 《CHROMIUMPROJECTS》 *
曹振等: "移动网络中的流量加速技术", 《中兴通讯技术》 *

Cited By (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103220278A (en) * 2013-04-01 2013-07-24 深信服网络科技(深圳)有限公司 Method for controlling access connection request of webpage and gateway
CN104113564A (en) * 2013-04-17 2014-10-22 中国移动通信集团公司 Hyper text transfer protocol connection multiplexing method, device, system, and terminal
CN103248704A (en) * 2013-05-16 2013-08-14 百度在线网络技术(北京)有限公司 Browsing method and system based on corresponding relation base and cloud end server
CN103532984A (en) * 2013-11-01 2014-01-22 中国联合网络通信集团有限公司 Data transmission method, device and system of websocket protocol
CN103532984B (en) * 2013-11-01 2017-02-08 中国联合网络通信集团有限公司 Data transmission method, device and system of websocket protocol
CN104980898A (en) * 2014-04-04 2015-10-14 中兴通讯股份有限公司 Information pushing method, system and equipment
CN105391536A (en) * 2015-10-28 2016-03-09 浪潮(北京)电子信息产业有限公司 Communication method and device between client end and service end
CN112104697A (en) * 2018-05-31 2020-12-18 华为技术有限公司 Data processing method, multi-cloud management system and related equipment
CN112104697B (en) * 2018-05-31 2022-03-04 华为技术有限公司 Data processing method, multi-cloud management system and related equipment
US11765243B2 (en) 2018-05-31 2023-09-19 Huawei Technologies Co., Ltd. Data processing method, multi-cloud management system, and related device
CN108924587A (en) * 2018-06-27 2018-11-30 深圳市炬力北方微电子有限公司 A kind of rendering method and system based on cloud server
CN109117340A (en) * 2018-06-29 2019-01-01 Oppo(重庆)智能科技有限公司 A kind of mobile terminal and its monitoring method, the storage medium of interprocess communication

Similar Documents

Publication Publication Date Title
CN102970356A (en) Communication method, system and device for cloud side server and client side
US10387521B2 (en) Creation and delivery of pre-rendered web pages for accelerated browsing
CN103392179B (en) Obtain method and device, browser and the mobile terminal of page resource
CN102790798B (en) Transparent proxy implementation, equipment and system in a kind of content distributing network
CN103491172B (en) Cloud sharing files method and system
CN103701714B (en) Page extraction, server and network system
CN102394880B (en) Method and device for processing jump response in content delivery network
CN102624761A (en) Apparatus for acquiring image and text information, system and method thereof
CN103685381B (en) Method, system and device for downloading webpage resources
CN103001860A (en) Achieving system for converged communication Web instant messages
CN103139292A (en) Method for processing pictures in hyper text transmission protocol (HTTP) proxy and proxy server and system
US9866356B2 (en) Data distribution method and device
CN102761456A (en) Method, device and system for acquiring performance parameters of browser of mobile terminal
CN101039309A (en) Link sharing service apparatus and communication method thereof
CN103269362A (en) Method, system and device for sharing localized content of picture in webpage
EP2860941A1 (en) Terminal information obtaining device and method in heterogeneous terminal environment
CN104994079A (en) Access request processing method, access request processing device and acceleration server
CN103401946A (en) HTTP (hyper text transfer protocol) uploading acceleration method and system
CN102724231B (en) A kind of method of resource downloading, server and user terminal
CN105512904A (en) Advertisement push method
CN107251529B (en) Method and apparatus for transmitting and receiving information between servers in content transmission network system
WO2013189394A2 (en) Resource information acquisition method, system and device for internet of things terminal device
RU2015119609A (en) METHOD FOR RESTORING CONTENT CORRESPONDING TO THE URL, CUSTOMER DEVICE
CN103347215B (en) A kind of multi-screen interaction method and Set Top Box
CN112231606B (en) Webpage processing method and device

Legal Events

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

Application publication date: 20130313