CN105245446A - Message sending method and gateway - Google Patents

Message sending method and gateway Download PDF

Info

Publication number
CN105245446A
CN105245446A CN201510608336.0A CN201510608336A CN105245446A CN 105245446 A CN105245446 A CN 105245446A CN 201510608336 A CN201510608336 A CN 201510608336A CN 105245446 A CN105245446 A CN 105245446A
Authority
CN
China
Prior art keywords
gateway
message
field
upgrade information
upgrade
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
Application number
CN201510608336.0A
Other languages
Chinese (zh)
Other versions
CN105245446B (en
Inventor
蔡仕江
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Shanghai Huawei Technologies Co Ltd
Original Assignee
Shanghai Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shanghai Huawei Technologies Co Ltd filed Critical Shanghai Huawei Technologies Co Ltd
Priority to CN201510608336.0A priority Critical patent/CN105245446B/en
Publication of CN105245446A publication Critical patent/CN105245446A/en
Priority to PCT/CN2016/086551 priority patent/WO2017049971A1/en
Application granted granted Critical
Publication of CN105245446B publication Critical patent/CN105245446B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/66Arrangements for connecting between networks having differing types of switching systems, e.g. gateways

Landscapes

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

Abstract

The invention discloses a message sending method and a gateway, and aims to solve the equipment version upgrade problem caused by an HTTP2.0 (Hypertext Transfer Protocol 2.0) upgrade. The method comprises the following steps that: the gateway acquires a message sent by user equipment, wherein the message carries upgrade information of an HTTP2.0 protocol of the user equipment, and the upgrade information includes key fields, namely, a connection field, an upgrade field and a setting field; the gateway resolves and identifies the upgrade information; and the gateway modifies the key fields in the upgrade information respectively in order that a server side returns a confirmation message of an HTTP1.x protocol to the user equipment after the received message is identified as a message of the HTTP1.x protocol.

Description

A kind of file transmitting method and gateway
Technical field
The present invention relates to the communications field, particularly a kind of file transmitting method and gateway.
Background technology
World Wide Web (WWW) is (English: WorldWideWeb, english abbreviation: WWW) father Di Mubeinasili just to propose HTML (Hypertext Markup Language) as far back as nineteen ninety (English: HyperTextTransportProtocol, english abbreviation: HTTP), HTTP is the basic agreement of WWW.So-called hypertext is compared with traditional text.Traditional text, being no matter the text of books, computer, is all linear, and reader, when reading, must sequentially read, the nonoptional leeway of reader page by page.Unlike this, it is not a linear structure to hypertext, but a nonlinear network structure.Reader, when reading, just need not read downwards in a sequential manner as when reading linear article, but read oneself interested part selectively.
Current HTTP1.x adopts many quintuple forms connection server to obtain data, when user request msg GET arrives gateway device, gateway carries out DPI (English: Deeppacketinspection, Chinese: deep message detects) and analyzes, and obtains the accurate charge information of user.Inside identical five-tuple, have various flows ID to carry out transmission data after HTTP2.0, GET inside various flows ID carries out the coupling rule of correspondence, exactly because and have a lot of flow transmission different business data inside this five-tuple, also there are the data of multiple stream inside identical message, cause Service control needs more accurately, thinner, gateway is impracticable based on five-tuple, needs the complete upgrading of base flow ID.
HTTP2.0 synchronously brings upgrading to server and gateway device.Time particularly server also supports HTTP2.0, gateway is just passive, because a lot of version of existing network may still version relatively early, also do not support HTTP2.0, and HTTP2.0 needs a large amount of manpower of cost and time cycle to use on-line apparatus edition upgrading to support at present comprehensively.
Summary of the invention
The invention provides a kind of file transmitting method and gateway, to upgrade the device version upgrade problem brought for solving HTTP2.0.
First aspect present invention provides a kind of file transmitting method, comprising:
Gateway obtains the message that subscriber equipment sends, and carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Described gateway is resolved and is identified described upgrade information;
Described gateway is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
In conjunction with a first aspect of the present invention, in the first implementation of first aspect present invention, described gateway is modified respectively to the described critical field in described upgrade information and is specifically comprised:
Character string corresponding for described critical field is reversed by described gateway respectively.
In conjunction with a first aspect of the present invention, in the second implementation of first aspect present invention, described gateway is modified respectively to the described critical field in described upgrade information and is specifically comprised:
Described critical field is deleted by described gateway.
In conjunction with a first aspect of the present invention or the first implementation of first aspect or the second implementation of first aspect, in the third implementation of first aspect present invention, described gateway is resolved and is identified that described upgrade information specifically comprises:
Critical field described in described gateway record, and carry out deep message detection DPI analysis.
Second aspect present invention provides a kind of gateway, comprising:
Acquiring unit, for obtaining the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Recognition unit, identifies described upgrade information for resolving;
Amendment unit, for modifying respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
In conjunction with a second aspect of the present invention, in the first implementation of second aspect present invention, described amendment unit is specifically for reversing character string corresponding for described critical field respectively.
In conjunction with a second aspect of the present invention, in the second implementation of second aspect present invention, described amendment unit is specifically for deleting described critical field.
In conjunction with a second aspect of the present invention or the first implementation of second aspect or the second implementation of second aspect, in the third implementation of second aspect present invention, described recognition unit specifically for recording described critical field, and carries out deep message detection DPI analysis.
As can be seen from the above technical solutions, the present invention has the following advantages: gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Described gateway is resolved and is identified described upgrade information; Described gateway is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
Accompanying drawing explanation
Fig. 1 is an embodiment schematic flow sheet of file transmitting method provided by the present invention;
Fig. 2 is another embodiment schematic flow sheet of file transmitting method provided by the present invention;
Fig. 3 is another embodiment schematic flow sheet of file transmitting method provided by the present invention;
Fig. 4 is an example structure schematic diagram of gateway provided by the present invention;
Fig. 5 is another example structure schematic diagram of gateway provided by the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, be clearly and completely described the technical scheme in the embodiment of the present invention, obviously, described embodiment is only the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those skilled in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Although should be appreciated that may adopt in embodiments of the present invention term first, second etc. each user or terminal are described, user or terminal should not be limited to these terms.These terms are only used for user or terminal to be distinguished from each other out.Such as, when not departing from embodiment of the present invention scope, first user also can be called as the second user, and similarly, the second user also can be called as first user; Same, the second user also can be called as the 3rd user etc., and the embodiment of the present invention does not limit this.
For ease of reader understanding, first simple introduction is done to ken involved in the present invention and application scenarios:
The course of work of HTTP is typical client/server mode of operation, and client is WWW browser, and namely server is www server.The course of work of HTTP uses request/response handshake mode: 1. client connects, and both sides set up a TCP and connect; 2. client sends request; 3. server processing requests, returns response; 4. server closing connects.
The main feature of HTTP is as follows:
1) simple and quick
HTTP itself is both simple, can effectively process a large amount of request again.After client computer is connected with server, the information that client computer must transmit is requesting method and path.Exactly because HTTP is simple, make http server program small scale, and simply.Therefore the communication speed via HTTP is very fast, and compared with other agreement, time overhead is much smaller.
2) without connecting
HTTP is a connectionless protocol.Its implication is that restriction each connection processes a request, client computer submits to one to ask after being connected with server, receives the rear horse back of response disconnect in client computer.Use this connectionless protocol, when not asking, server can not the spare time be waited there, and server more also can not put original request after completing a request.Connectionless protocol is used to just look like be write letter, once finish writing letter to send just that it is over.The other side writes in reply fresh information, then writes another envelope letter.And keep connection protocol just similar with making a phone call.Both sides take turns to say many after just hang up.Always occupied at session telephone wire.For connectionless protocol, server one side implements than being easier to, and can make full use of online resource again.
3) stateless
HTTP is stateless agreement: ask each time, and the content of response, state and performance do not remain into next stage as historical data and use.It is advantage is also shortcoming.On the one hand, owing to not having state, agreement does not have memory capability to transaction.If follow-up transaction needs previous processed for information about, so these information must be preserved outside agreement.Lack state and mean that required foregoing information must reappear, each connection certainly will be caused will to transmit more information.On the other hand, also make HTTP burden few just because of lacking state, the speed of service is high, and server acknowledge is fast.
4) content negotiation
When server can provide multiform expression to reply to the request of client, need to use content negotiation mechanism, Web server can be selected can meet the resource entity with the most applicable expression-form that user requires.Because many times source server or provide the intermediate server of buffer memory not have a unified best resource formal standard, and user side browser is also not necessarily had the ability all entity type of process.
5) be easy to expand
Publish use agreement as one, HTTP has good expandability, and what its transmitted is not only hypertext data.On this basis for research, the development requires of application developer, requesting method and responsive state can be increased easily, among the system running on customization.Through the server expanded, the browser of original standard can be responded, also can distinguish the special CLIENT PROGRAM of user oneself exploitation, make and respond process accordingly.
Http protocol develops
After WWW alliance sets up, IETF (English: InternetEngineeringTaskForce, Chinese: internet engineering task group) group has been organized to improve further and issue http protocol.So far, http protocol experienced by 0.9,1.0,1.1 three phases.
1) HTTP/0.9 feature:
1. for the succinct fast protocol of various data message;
2. there is typical Stateless;
3. without connectivity;
4. content negotiation cannot be used;
5. cannot show and process picture.
2) HTTP/1.0 feature:
1. fast single;
2. Stateless;
3. without connectivity;
4. content negotiation cannot be used;
5. metamessage is added: before key data, add a block message, i.e. the information of information.It enables server provide and transmits data for information about.Such as, which kind of type transmission object is, be with which kind of written etc.;
6. the form of plurality of kinds of contents is supported, as picture, audio frequency etc.
3) HTTP/1.1 feature:
1. persist connection: the browser of a permission request web page initiates once to connect just to download multiple file from server;
2. still Stateless, but state can be provided to control;
3. resource request has been newly increased: on the basis of original GET, HEAD, POST several method, add OPTIONS, PUT, DELETE and TRACE;
4. authentication: a kind of basic access authorization method of simple " challenge-response " formula.Process first sends identity verify request by server to client, then sends confirmation by client;
5. content negotiation mechanism is used;
6. buffer memory (Cache) mechanism: in the internal memory that the content of web server response corresponding to previous client request and request is temporarily kept at machine or physical storage, make can utilize when processing new client and asking.
3) HTTP/2.0 introduces:
HTTP2.0 and HTML (Hypertext Markup Language) 2.0 are Hypertext Transfer Protocol Next Generations.Developed by the HypertextTransferProtocolBis of IETF (httpbis) work group.It is the first renewal after http1.1 in 1999 issues.HTTP2.0 carries out interoperability testing first in August, 2013.The transport of the HTTP semantic optimization that HTTP/2.0 provides.
A HTTP/2.0 connects and connects (the application-level agreement [TCP] run) above by a TCP.Client is TCP Connection initiator.The HTTP/2.0 agreement of logical construction: framing, streams, and application program maps.Client can be initiated HTTP2.0 and consult upgrading, if server supports HTTP2.0 agreement, the 100OK that server just replys HTTP2.0 confirms, otherwise the 100OK directly replying HTTP1.x confirms.Client also can directly initiate HTTP2.0 request message, and server must reply the request of HTTP2.0.
The invention provides a kind of file transmitting method, this method performs primarily of gateway; Refer to Fig. 1, an embodiment of file transmitting method provided by the present invention comprises:
101, gateway obtains the message that subscriber equipment sends, and carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
It should be noted that, subscriber equipment is initiated TCP and is connected, set up TCP with server to be connected, gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in this message, described upgrade information comprises following critical field: link field Connection, upgrade field Upgrade, arrange field HTTP2-Setting.
102, described gateway is resolved and is identified described upgrade information;
It should be noted that, the critical field in this upgrade information of gateway identification, recording key information, does DPI, content charging.
103, described gateway is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
It should be noted that, gateway is modified respectively to the described critical field in described upgrade information, such as, respectively Connection, Upgrade, HTTP2-Setting field in HTTP header field is carried out the order reversing or upset character string; Or Connection, Upgrade, HTTP2-Setting field is deleted, the mode of deleting if select, before the acknowledge message of server acknowledge subscriber equipment HTTP1.x agreement, also need the above-mentioned critical field of deleting to add in HTTP header field, to ensure the correctness of TCP sequence.
In the embodiment of the present invention, gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Described gateway is resolved and is identified described upgrade information; Described gateway is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
Refer to Fig. 2, another embodiment of file transmitting method provided by the present invention comprises:
201, gateway obtains the message that subscriber equipment sends, and carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
202, described gateway is resolved and is identified described upgrade information;
Related description in step 201,202 corresponding refer step 101,102, repeats no more herein.
203, character string corresponding for described critical field is reversed by described gateway respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
It should be noted that, character string corresponding for described critical field is reversed by described gateway respectively, such as, Connection, Upgrade, HTTP2-Setting field in HTTP header field reversed respectively; Such as, system is passing through the correctness guaranteeing transfer of data after by HTTPUpgrade request amendment, and the upgrading header field of HTTP to HTTP2.0 is according to following form:
GET/default.htmHTTP/1.1
Host:server.example.com
Connection:Upgrade,HTTP2-Settings
Upgrade:h2c
HTTP2-Settings:<base64urlencodingofHTTP/2SETTINGSpayload>
Gateway UGW need identify Connection, Upgrade, HTTP2-Setting field portions in example, and is reversed:
GET/default.htmHTTP/1.1
Host:server.example.com
noitcennoC:Upgrade,HTTP2-Settings
edargpU:h2c
sgnitteS-2PTTH:<base64urlencodingofHTTP/2SETTINGSpayload>
In above-described embodiment, also the character string of Connection, Upgrade, HTTP2-Setting field order can be upset, or increase/reduce several letter, also can reach same effect.
In the embodiment of the present invention, gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Described gateway is resolved and is identified described upgrade information; Character string corresponding for described critical field is reversed by described gateway respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
Refer to Fig. 3, another embodiment of file transmitting method provided by the present invention comprises:
301, gateway obtains the message that subscriber equipment sends, and carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
302, described gateway is resolved and is identified described upgrade information;
Related description in step 301,302 corresponding refer step 101,102, repeats no more herein.
303, described critical field is deleted by described gateway, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
It should be noted that, described critical field is deleted by described gateway, such as, Connection, Upgrade, HTTP2-Setting field in HTTP header field deleted; Such as, system is passing through the correctness guaranteeing transfer of data after by HTTPUpgrade request amendment, and the upgrading header field of HTTP to HTTP2.0 is according to following form:
GET/default.htmHTTP/1.1
Host:server.example.com
Connection:Upgrade,HTTP2-Settings
Upgrade:h2c
HTTP2-Settings:<base64urlencodingofHTTP/2SETTINGSpayload>
Gateway UGW need identify Connection, Upgrade, HTTP2-Setting field portions in example, and is deleted:
GET/default.htmHTTP/1.1
Host:server.example.com
After selection deletion mode, TCP layer needs to safeguard left and right sides sequence number:
After gateway UGW have modified the HTTP request header field of user equipment (UE) initiation, TCP sequence can change thereupon, and therefore gateway UGW need ensure the correctness of TCP sequence, avoids the mistake that protocol level occurs.
In the embodiment of the present invention, gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Described gateway is resolved and is identified described upgrade information; Described critical field is deleted by described gateway, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
For ease of understanding, with an embody rule scene, file transmitting method in the embodiment of the present invention is specifically described below:
Subscriber equipment is initiated TCP and is connected, set up TCP with server to be connected, gateway obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in this message, described upgrade information comprises following critical field: link field Connection, upgrade field Upgrade, arrange field HTTP2-Setting.
Critical field in this upgrade information of gateway identification, recording key information, does DPI, content charging.
Character string corresponding for described critical field is reversed by described gateway respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Such as respectively Connection, Upgrade, HTTP2-Setting field in HTTP header field is reversed; Such as, system is passing through the correctness guaranteeing transfer of data after by HTTPUpgrade request amendment, and the upgrading header field of HTTP to HTTP2.0 is according to following form:
GET/default.htmHTTP/1.1
Host:server.example.com
Connection:Upgrade,HTTP2-Settings
Upgrade:h2c
HTTP2-Settings:<base64urlencodingofHTTP/2SETTINGSpayload>
Gateway UGW need identify Connection, Upgrade, HTTP2-Setting field portions in example, and is reversed:
GET/default.htmHTTP/1.1
Host:server.example.com
noitcennoC:Upgrade,HTTP2-Settings
edargpU:h2c
sgnitteS-2PTTH:<base64urlencodingofHTTP/2SETTINGSpayload>
Or also the character string of Connection, Upgrade, HTTP2-Setting field order can be upset, or increase/reduce several letter, also can reach same effect.
Message is sent to server end by after above-mentioned Connection, Upgrade, HTTP2-Setting field reversion by gateway, the described message received is identified as the acknowledge message of the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement by server end, i.e. HTTP1.x200OK.
Be illustrated file transmitting method above, the structure of angle to gateway from device be described below, refer to Fig. 4, this gateway comprises:
Acquiring unit 401, for obtaining the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Recognition unit 402, identifies described upgrade information for resolving;
Amendment unit 403, for modifying respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
In the embodiment of the present invention, acquiring unit 401 obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Recognition unit 402 is resolved and is identified described upgrade information; Amendment unit 403 is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
Based on the gateway in above-described embodiment, optionally, in one embodiment, described amendment unit 403 specifically for character string corresponding for described critical field is reversed respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
Based on the gateway in above-described embodiment, optionally, in one embodiment, described amendment unit 403 specifically for described critical field is deleted, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
Based on the gateway in above-described embodiment, optionally, in one embodiment, described recognition unit 402 specifically for recording described critical field, and carries out deep message detection DPI analysis.
Embodiment shown in Fig. 4 is illustrated from the concrete structure of angle to gateway of functional unit, is described from the concrete structure of hardware point of view to gateway below in conjunction with the embodiment shown in Fig. 5:
As shown in Figure 5, this gateway comprises: receiver 501, reflector 502, processor 503 and memory 504.Memory 504 can comprise read-only memory and random access memory, and provides instruction and data to processor 503.A part for memory 504 can also comprise nonvolatile RAM.
Memory 504 stores following element, executable module or data structure, or their subset, or their superset:
Operational order: comprise various operational order, for realizing various operation.
Operating system: comprise various system program, for realizing various basic business and processing hardware based task.
The gateway that the embodiment of the present invention relates to can have than more or less parts illustrated in fig. 5, two or more parts can be combined, or can have different component configuration or setting, all parts can realize in the combination comprising the hardware of one or more signal transacting and/or application-specific integrated circuit (ASIC), software or hardware and software.
In the embodiment of the present invention, this processor 503 is for performing following operation:
Obtain the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Resolve and identify described upgrade information;
Described critical field in described upgrade information is modified respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
In the embodiment of the present invention, processor 503 obtains the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field; Processor 503 is resolved and is identified described upgrade information, and the described critical field in described upgrade information is modified respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.Thus subscriber equipment is wanted the information being upgraded to HTTP2.0 falls back to HTTP1.x, allow subscriber equipment perception less than also still can business be continued, user can be allowed to continue business, also can control user's stream.
Optionally, in one embodiment, this processor 503 specifically for:
Character string corresponding for described critical field is reversed respectively, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
Optionally, in one embodiment, this processor 503 specifically for:
Described critical field is deleted, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
Optionally, in one embodiment, this processor 503 specifically for:
Record described critical field, and carry out deep message detection DPI analysis.
The associated description of said apparatus corresponding can consult the associated description of embodiment of the method part and effect is understood, and this place does not do and too much repeats.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the system of foregoing description, the specific works process of device and unit, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
In several embodiments that the application provides, should be understood that, disclosed system, apparatus and method, can realize by another way.Such as, device embodiment described above is only schematic, such as, the division of described unit, be only a kind of logic function to divide, actual can have other dividing mode when realizing, such as multiple unit or assembly can in conjunction with or another system can be integrated into, or some features can be ignored, or do not perform.Another point, shown or discussed coupling each other or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of device or unit or communication connection can be electrical, machinery or other form.
The described unit illustrated as separating component or can may not be and physically separates, and the parts as unit display can be or may not be physical location, namely can be positioned at a place, or also can be distributed in multiple network element.Some or all of unit wherein can be selected according to the actual needs to realize the object of the present embodiment scheme.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, also can be that the independent physics of unit exists, also can two or more unit in a unit integrated.Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form of SFU software functional unit also can be adopted to realize.
If described integrated unit using the form of SFU software functional unit realize and as independently production marketing or use time, can be stored in a computer read/write memory medium.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words or all or part of of this technical scheme can embody with the form of software product, this computer software product is stored in a storage medium, comprising some instructions in order to make a computer equipment (can be personal computer, server, or the network equipment etc.) perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium comprises: USB flash disk, portable hard drive, read-only memory (ROM, Read-OnlyMemory), random access memory (RAM, RandomAccessMemory), magnetic disc or CD etc. various can be program code stored medium.
The above, above embodiment only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (8)

1. a file transmitting method, is characterized in that, comprising:
Gateway obtains the message that subscriber equipment sends, and carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Described gateway is resolved and is identified described upgrade information;
Described gateway is modified respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
2. method according to claim 1, is characterized in that, described gateway is modified respectively to the described critical field in described upgrade information and specifically comprised:
Character string corresponding for described critical field is reversed by described gateway respectively.
3. method according to claim 1, is characterized in that, described gateway is modified respectively to the described critical field in described upgrade information and specifically comprised:
Described critical field is deleted by described gateway.
4. the method according to any one of claims 1 to 3, is characterized in that, described gateway is resolved and identified that described upgrade information specifically comprises:
Critical field described in described gateway record, and carry out deep message detection DPI analysis.
5. a gateway, is characterized in that, comprising:
Acquiring unit, for obtaining the message that subscriber equipment sends, carry the upgrade information of the HTML (Hypertext Markup Language) HTTP2.0 agreement of described subscriber equipment in described message, described upgrade information comprises following critical field: link field, upgrade field, arrange field;
Recognition unit, identifies described upgrade information for resolving;
Amendment unit, for modifying respectively to the described critical field in described upgrade information, with the acknowledge message making server end the described message received is identified as the backward described subscriber equipment response HTTP1.x agreement of message of HTTP1.x agreement.
6. gateway according to claim 5, is characterized in that, described amendment unit is specifically for reversing character string corresponding for described critical field respectively.
7. gateway according to claim 5, is characterized in that, described amendment unit is specifically for deleting described critical field.
8. the gateway according to any one of claim 5 to 7, is characterized in that, described recognition unit specifically for recording described critical field, and carries out deep message detection DPI analysis.
CN201510608336.0A 2015-09-22 2015-09-22 A kind of file transmitting method and gateway Active CN105245446B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510608336.0A CN105245446B (en) 2015-09-22 2015-09-22 A kind of file transmitting method and gateway
PCT/CN2016/086551 WO2017049971A1 (en) 2015-09-22 2016-06-21 Packet transmission method and gateway

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510608336.0A CN105245446B (en) 2015-09-22 2015-09-22 A kind of file transmitting method and gateway

Publications (2)

Publication Number Publication Date
CN105245446A true CN105245446A (en) 2016-01-13
CN105245446B CN105245446B (en) 2019-02-19

Family

ID=55042954

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510608336.0A Active CN105245446B (en) 2015-09-22 2015-09-22 A kind of file transmitting method and gateway

Country Status (2)

Country Link
CN (1) CN105245446B (en)
WO (1) WO2017049971A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017049971A1 (en) * 2015-09-22 2017-03-30 华为技术有限公司 Packet transmission method and gateway

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448933B (en) * 2019-09-02 2022-12-23 浙江宇视科技有限公司 Method and system for self-adapting compatible platform inter-domain protocol
CN114338272A (en) * 2021-12-30 2022-04-12 上海集度汽车有限公司 Communication control method, device, vehicle and readable storage medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505307A (en) * 2009-03-09 2009-08-12 华为技术有限公司 Message processing method, network node and system oriented to service architecture
CN103227788A (en) * 2013-04-17 2013-07-31 广州市和声信息技术有限公司 Method and system realizing communication between web-based application and SIP equipment

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9219616B2 (en) * 2011-05-25 2015-12-22 Cisco Technology, Inc. Supporting multiple IEC-101/IEC-104 masters on an IEC-101/IEC-104 translation gateway
CN102546800B (en) * 2012-01-06 2015-03-25 华为技术有限公司 Handshake and communication methods for gateway, gateway and Web communication system
CN102694754A (en) * 2012-06-07 2012-09-26 广州睿哲网络科技有限公司 Application gateway technology and system for realizing content interchange of Internet protocol version 4/Internet protocol version 6 (IPv4/IPv6) websites
CN105245446B (en) * 2015-09-22 2019-02-19 上海华为技术有限公司 A kind of file transmitting method and gateway

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101505307A (en) * 2009-03-09 2009-08-12 华为技术有限公司 Message processing method, network node and system oriented to service architecture
CN103227788A (en) * 2013-04-17 2013-07-31 广州市和声信息技术有限公司 Method and system realizing communication between web-based application and SIP equipment

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017049971A1 (en) * 2015-09-22 2017-03-30 华为技术有限公司 Packet transmission method and gateway

Also Published As

Publication number Publication date
CN105245446B (en) 2019-02-19
WO2017049971A1 (en) 2017-03-30

Similar Documents

Publication Publication Date Title
JP6960993B2 (en) Data sharing method between applications and web browser
CN104426862B (en) Realize method, system and browser that cross-domain request logs in
US9307036B2 (en) Web access using cross-domain cookies
CN101571876B (en) Script program operation logic expansion method, server and client
KR102504075B1 (en) Matching and attributes of user device events
CN104135753A (en) Wireless network access method, wireless network access device, terminal and server
CN105205072B (en) The methods of exhibiting and system of webpage information
CN105471824A (en) Method, device and system for invoking local service assembly by means of browser
CN106055383A (en) Request processing method and device
CN105141605A (en) Session method, web server and browser
CN113301568A (en) Network distribution method and device and intelligent household equipment
CN108282509A (en) page sharing method, device and server
CN103200231A (en) Strategy control method and system
CN105245446A (en) Message sending method and gateway
EP2813051B1 (en) Dynamic sharing of a webservice
CN104063475A (en) User-defined list processing method and device
CN104954363A (en) Method and device for generating interface document
CN108880923A (en) The method and apparatus that policer operation applied to application server is requested
KR20130072907A (en) Method and system for shortening url
CN105991641A (en) Portal authentication method and portal authentication device
CN106445700B (en) A kind of URL matching process and device
US9516111B2 (en) Communication apparatus, communication method, and computer program product
CA3066703A1 (en) System and method for identifying and tagging users
CN101917476A (en) Hyper text transmission protocol (HTTP) message processing method and client system thereof
KR20160047760A (en) Web site verification apparatus using two channel certification and method thereof

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant