CN102857504A - Network optimization method and network optimization device - Google Patents

Network optimization method and network optimization device Download PDF

Info

Publication number
CN102857504A
CN102857504A CN2012103273139A CN201210327313A CN102857504A CN 102857504 A CN102857504 A CN 102857504A CN 2012103273139 A CN2012103273139 A CN 2012103273139A CN 201210327313 A CN201210327313 A CN 201210327313A CN 102857504 A CN102857504 A CN 102857504A
Authority
CN
China
Prior art keywords
smbv2
service end
client
bag
agreement
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
CN2012103273139A
Other languages
Chinese (zh)
Other versions
CN102857504B (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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Network Technology Shenzhen 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 Sangfor Network Technology Shenzhen Co Ltd filed Critical Sangfor Network Technology Shenzhen Co Ltd
Priority to CN201210327313.9A priority Critical patent/CN102857504B/en
Publication of CN102857504A publication Critical patent/CN102857504A/en
Application granted granted Critical
Publication of CN102857504B publication Critical patent/CN102857504B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The invention discloses a network optimization method which includes: negotiating a communication protocol version between a client side and a server side to enable both the client side and the server side to be supportive to an SMB (server message block) v2 protocol; and mutually switching an SMB v1 protocol and the SMB v2 protocol between the client side and the server slide, so that the client side interacts with the server side or other client sides by the aid of the SMB v2 protocol. The invention further discloses a network optimization device. Therefore, the network optimization method has the advantage that network optimization including that the server side is only supportive to the SMB v1 protocol while the client side is only supportive to the SMB v2 protocol is improved, interactive time delay for the client side and the server side is shortened, and use experience of a network neighborhood is improved.

Description

Network optimized approach and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of network optimized approach and device.
Background technology
SMB(Server Message Block, Server Message Block) communication protocol mainly is the communications protocol as the Microsoft network, is used at intercomputer shared file, printer, serial ports etc., and main version has SMBv1 and SMBv2.The Windows(Windows) utilize network neighbor's host-host protocol SMBv2 to do a large amount of optimization and improvement in client and service end, compare the version SMBv1 of its front, greatly reduced client to the mutual time delay that produces of service end, accelerated in the situation that there is time delay in network browsing file, File Upload and Download and opened the speed of the operations such as preservation.
In the prior art, SMBv1 agreement and SMBv2 agreement can not be directly compatible each other, and SMBv2 can only use in Windows Vista or high Windows operating system is set up mutually than Windows Vista network neighbor connect, because at present a lot of enterprises still use in a large number than the server of legacy version operating system and only support the memory device of SMBv1, thereby can't enjoy the various benefits that SMBv2 brings.Because the limitation of SMBv1 agreement, it is limited all the time that it optimizes space, particularly in the situation that more interactivity operation is arranged, even adopt the SMBv1 agreement of optimizing, message transmission rate is still very low, and this causes when network delay is larger network neighbor's experience relatively poor.
Summary of the invention
Main purpose of the present invention provides a kind of network optimized approach and device, is intended to solve when network delay is larger the problem that network neighbor's experience is relatively poor.
The invention discloses a kind of network optimized approach, may further comprise the steps:
Consult the communication protocol version between client and the service end, make client and service end all support the SMBv2 agreement;
SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, supplied the described SMBv2 agreement of customer end adopted and service end or other client mutual.
Preferably, the communication protocol version between described negotiation client and the service end makes client and service end all support the step of SMBv2 agreement specifically to comprise:
Bag is responded in the negotiation that the negotiation request packet of the SMBv1 protocol format that the intercepting and capturing client sends and service end are returned according to described negotiation request packet;
When service end is not supported described SMBv2 agreement, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
Preferably, the described step that SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end specifically comprises:
The SMBv2 request bag that client is sent is converted to SMBv1 request bag, and sends described SMBv1 request bag to service end, in order to communicate by letter with service end;
Ask the SMBv1 of bag transmission to respond bag according to described SMBv1 service end and be converted to SMBv2 response bag, and send described SMBv2 response bag to client.
Preferably, the described step that sends described SMBv1 request bag to service end also comprises step before:
Optimize described SMBv1 request bag.
Preferably, the described step that sends described SMBv2 response bag to client also comprises step before:
Optimize described SMBv2 and respond bag.
The present invention also discloses a kind of network optimization device, comprising:
The version negotiation module is used for the communication protocol version between negotiation client and the service end, makes client and service end all support the SMBv2 agreement;
Protocol conversion module is used for SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, supplies the described SMBv2 agreement of customer end adopted and service end or other client mutual.
Preferably, described version negotiation module specifically comprises:
Bag is responded for the negotiation that negotiation request packet and the service end of the SMBv1 protocol format of intercepting and capturing the client transmission are returned according to described negotiation request packet in the Data Packet Seize unit;
Respond bag and distort the unit, be used for when service end is not supported described SMBv2 agreement, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
Preferably, described protocol conversion module specifically comprises:
The first converting unit, the SMBv2 request bag that is used for client is sent is converted to SMBv1 request bag, and sends described SMBv1 request bag to service end, in order to communicate by letter with service end;
The second converting unit is used for asking the SMBv1 of bag transmission to respond bag according to described SMBv1 service end and is converted to SMBv2 response bag, and sends described SMBv2 response bag to client.
Preferably, described protocol conversion module also comprises:
Optimize the unit, be used for optimizing described SMBv1 request bag;
Preferably, described optimization unit also is used for, and optimizes described SMBv2 and responds bag.
The present invention is the communication protocol version between client and the service end through consultation, make client and service end all support the SMBv2 agreement and SMBv1 agreement and SMBv2 agreement are changed mutually in client and service end, supply the mutual method of customer end adopted SMBv2 agreement and service end or other client, have and promote that service end is only supported the SMBv1 agreement and client is supported the beneficial effect of the network optimization of SMBv2 agreement, greatly reduce client to the mutual time delay that produces of service end, promoted network neighbor's experience.
Description of drawings
Fig. 1 is network optimized approach one embodiment schematic flow sheet of the present invention;
Fig. 2 is the communication protocol version of consulting in the network optimized approach of the present invention between client and the service end, makes client and service end all support SMBv2 agreement one embodiment schematic flow sheet;
Fig. 3 changes the first embodiment schematic flow sheet with SMBv1 agreement and SMBv2 agreement in client and service end in the network optimized approach of the present invention mutually;
Fig. 4 is that unilateral arrangement optimization system structure is disposed schematic diagram in the network optimized approach of the present invention;
Fig. 5 is client and the service end data interaction schematic diagram of unilateral arrangement optimization system in the network optimized approach of the present invention;
Fig. 6 changes the second embodiment schematic flow sheet with SMBv1 agreement and SMBv2 agreement in client and service end in the network optimized approach of the present invention mutually;
Fig. 7 is that bilateral agreements optimization system structure is disposed schematic diagram in the network optimized approach of the present invention;
Fig. 8 is client and the service end data interaction schematic diagram of bilateral agreements optimization system in the network optimized approach of the present invention;
Fig. 9 is network optimization device one example structure schematic diagram of the present invention;
Figure 10 is version negotiation module one example structure schematic diagram in the network optimization device of the present invention;
Figure 11 is protocol conversion module the first example structure schematic diagram in the network optimization device of the present invention;
Figure 12 is protocol conversion module the second example structure schematic diagram in the network optimization device of the present invention.
The realization of the object of the invention, functional characteristics and advantage are described further with reference to accompanying drawing in connection with embodiment.
Embodiment
Further specify technical scheme of the present invention below in conjunction with Figure of description and specific embodiment.Should be appreciated that specific embodiment described herein only in order to explain the present invention, is not intended to limit the present invention.
With reference to Fig. 1, Fig. 1 is network optimized approach one embodiment schematic flow sheet of the present invention; As shown in Figure 1, network optimized approach of the present invention may further comprise the steps:
Communication protocol version between step S01, negotiation client and the service end makes client and service end all support the SMBv2 agreement;
At first support the client of SMBv2 can send the negotiation request packet of a SMBv1 protocol format, this negotiation request packet comprises the SMB version information that client is supported, comprises SMBv1 agreement and SMBv2 agreement.The negotiation request packet that network neighbor's service end sends according to client, bag is responded in the negotiation that sends the SMB version that comprises service end self support.In the present embodiment, realize the negotiation of the communication protocol version between client and the service end by following manner: intercept and capture the negotiation request packet of client transmission and the negotiation response bag that service end is returned according to this negotiation request packet, analyze and judge whether client and service end support the SMBv2 agreement, if service end itself is supported the SMBv2 agreement, then follow-up packet all sends with the form of SMBv2, and follow-up packet is not processed or only do common optimization process; If service end itself is not supported the SMBv2 agreement, then the negotiation of service end answer is responded the negotiation response bag that bag is distorted into support SMBv2 agreement, and returned to client, client is just learnt with the SMBv2 protocol negotiation of service end successful like this.
Step S02, SMBv1 agreement and SMBv2 agreement are changed mutually in client and service end, mutual for customer end adopted SMBv2 agreement and service end or other client.
After the communication protocol of client and service end was consulted successfully, client and service end carried out need to communicating the mutual conversion of agreement when mutual.Take wide area network as example, in monolateral wan optimization system, the SMBv2 request bag that client sends need to be converted to SMBv1 request bag in order to communicate with service end through behind the wide area network.Service end receives that sending SMBv1 after this negotiation request packet consults to respond bag, and this SMBv1 that service end is sent consults to respond bag and is converted to SMBv2 and consults to respond the client computer that bag mails to the wide area network other end.In bilateral wan optimization system, just on the basis of monolateral protocol conversion, further do optimization for the SMBv2 agreement, such as compression, buffer memory, all kinds of Optimum Operations of looking ahead etc.
Network optimized approach of the present invention not only is applicable to wide area network, and any have the network environment of time delay all applicable; And network optimized approach of the present invention is applicable network neighbor's agreement not only, as long as any application based on SMBv1 and SMBv2 agreement meets implementation condition of the present invention, all can adopt the present invention to be optimized.
The present embodiment is the communication protocol version between client and the service end through consultation, make client and service end all support the SMBv2 agreement and SMBv1 agreement and SMBv2 agreement are changed mutually in client and service end, supply the mutual method of customer end adopted SMBv2 agreement and service end or other client, have and promote that service end is only supported the SMBv1 agreement and client is supported the beneficial effect of the network optimization of SMBv2 agreement, greatly reduce client to the mutual time delay that produces of service end, promoted network neighbor's experience.
With reference to Fig. 2, Fig. 2 is the communication protocol version of consulting in the network optimized approach of the present invention between client and the service end, makes client and service end all support SMBv2 agreement one embodiment schematic flow sheet; The present embodiment is only to the communication protocol version between step S01, negotiation client and the service end, make client and service end all support the SMBv2 agreement to be described specifically, other related steps of network optimized approach of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in Figure 2, in the network optimized approach of the present invention, the communication protocol version between step S01, negotiation client and the service end makes client and service end all support the SMBv2 agreement specifically to may further comprise the steps:
Bag is responded in the negotiation that the negotiation request packet of the SMBv1 protocol format that step S11, intercepting and capturing client send and service end are returned according to described negotiation request packet;
When carrying out the communication protocol version negotiation of client and service end, need to get access to the packet of client and service end, in order to analyze the communication protocol version of judging that client and service end are supported according to the data packet format of client and service end; The method that the present embodiment is taked is to intercept and capture the negotiation request packet of client transmission and the negotiation response bag that service end is returned according to described negotiation request packet; In a preferred embodiment, described client is for supporting the client of SMBv2 agreement, and the negotiation request packet that this client sends is the negotiation request packet of SMBv1 protocol format.
Step S12, judge whether service end supports the SMBv2 agreement; If, execution in step S13 then; If not, execution in step S14 then;
Step S13, the follow-up data bag is not dealt with or only does common optimization process;
Step S14, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
Respond bag according to the negotiation that negotiation request packet and the service end of the client transmission of intercepting and capturing are returned according to this negotiation request packet, analyze and judge whether service end supports the SMBv2 agreement; If service end is supported the SMBv2 agreement, then client and the follow-up mutual packet of service end are not dealt with, all adopt the SMBv2 agreement to carry out alternately; Perhaps utilize prior art, only client and the follow-up mutual packet of service end are done common optimization process.If service end is not supported the SMBv2 agreement, the negotiation of then service end being returned is responded bag and is distorted as supporting the SMBv2 negotiation response bag of SMBv2 agreement, make client and service end all support the SMBv2 agreement, so that subsequent client and service end directly use the SMBv2 agreement to carry out alternately.
The present embodiment is the method for the communication protocol version between client and the service end through consultation, has the beneficial effect that the client of making and service end are all supported the SMBv2 agreement, for the interactive speed between follow-up quickening client and the service end provides main prerequisite.
With reference to Fig. 3, Fig. 3 changes the first embodiment schematic flow sheet with SMBv1 agreement and SMBv2 agreement in client and service end in the network optimized approach of the present invention mutually; The present embodiment only is further described step S02, and other related steps of network optimized approach of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in Figure 3, in the network optimized approach of the present invention, step S02, the step that SMBv1 agreement and SMBv2 agreement are changed mutually in client and service end specifically comprise:
Step S21, the SMBv2 request bag that client is sent are converted to SMBv1 request bag, and send described SMBv1 request bag to service end, in order to communicate by letter with service end;
With reference to Fig. 4, Fig. 4 is that unilateral arrangement optimization system structure is disposed schematic diagram in the network optimized approach of the present invention; As shown in Figure 4, client, is carried out with the service end that is connected with network optimization system equally with after network optimization system is connected by network alternately.Carry out when mutual in client and service end, network optimization system can adopt network optimized approach of the present invention to carry out work.Wrap to service end when client sends the SMBv2 request, during through network optimization system, network optimization system is converted to the SMBv1 request with this SMBv2 request bag and wraps, in order to communicate with service end.Because now a lot of service ends are only supported SMBv1 communication protocol.
Step S22, the SMBv1 that service end is sent according to described SMBv1 request bag respond bag and are converted to SMBv2 and respond bag, and described SMBv2 is responded bag send client to.
When service end receives SMBv1 request bag after the network optimization system conversion, return SMBv1 according to this SMBv1 request bag and respond bag to network optimization system, network optimization system is responded this SMBv1 bag again and is converted to SMBv2 response bag, and this SMBv2 responded bag send client to, realize client and service end fast not alternately.
With reference to Fig. 5, Fig. 5 is client and the service end data interaction schematic diagram of unilateral arrangement optimization system in the network optimized approach of the present invention; As shown in Figure 5, carry out between above-mentioned client and the service end when mutual, network optimization system is responsible for the conversion of the communication protocol between these two ends.
The method of the present embodiment by SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, has the beneficial effect of accelerating data interaction between client and the service end, greatly reduce the propagation delay time between client and the service end, improved network neighbor's experience.
With reference to Fig. 6, Fig. 6 changes the second embodiment schematic flow sheet with SMBv1 agreement and SMBv2 agreement in client and service end in the network optimized approach of the present invention mutually; The present embodiment is only to have increased step S23 and step S24 with the difference that SMBv1 agreement and SMBv2 agreement are changed the first embodiment mutually in client and service end; The present embodiment only is described specifically step S23 and step S24, and other related steps of network optimized approach of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in Figure 6, the step of in the network optimized approach of the present invention SMBv1 agreement and SMBv2 agreement being changed mutually in client and service end also comprises step:
Step S23, the described SMBv1 request of optimization bag;
Step S24, the described SMBv2 of optimization respond bag.
Take bilateral wan optimization system as example, with reference to Fig. 7, Fig. 7 is that bilateral agreements optimization system structure is disposed schematic diagram in the network optimized approach of the present invention; As shown in Figure 7, respectively at network optimization system of client and service end administration; The SMBv2 request bag that client sends first through the network optimization system of client compress, buffer memory, look ahead etc. optimize after, the network optimization system that is sent to again service end carries out decompress(ion), buffer memory, look ahead etc. optimize after, communicate again the conversion of agreement, SMBv2 request bag is converted to SMBv1 request bag, for the service end response.The SMBv1 that service end will respond SMBv1 request bag responds the network optimization system that bag is sent to service end, after the network optimization system of service end is responded this SMBv1 bag and is carried out protocol conversion and obtain SMBv2 and respond bag, compress again, be sent to behind the buffer memory, the optimization such as look ahead the network optimization system of client, the network optimization system of client to SMBv2 respond bag carry out decompress(ion), buffer memory, look ahead etc. optimize after, send to again client.The bilateral agreements optimizing process please refer to Fig. 8, and Fig. 8 is client and the service end data interaction schematic diagram of bilateral agreements optimization system in the network optimized approach of the present invention; Shown in Figure 8 being in the network optimized approach, in the bilateral agreements optimization system, the overall process of client and service end data interaction.
The present embodiment is by sending described SMBv1 request bag to service end, described SMBv2 response bag being sent between the client, respectively described SMBv1 request bag and SMBv2 are responded the method that bag is optimized, beneficial effect with data interaction between further quickening client and the service end, the user who has improved further the network neighbor experiences.
With reference to Fig. 9, Fig. 9 is network optimization device one example structure schematic diagram of the present invention; As shown in Figure 9, network optimization device of the present invention specifically comprises:
Version negotiation module 01 is used for the communication protocol version between negotiation client and the service end, makes client and service end all support the SMBv2 agreement;
Support the client of SMBv2 can send the negotiation request packet of a SMBv1 protocol format, this negotiation request packet comprises the SMB version information that client is supported, comprises SMBv1 agreement and SMBv2 agreement.The negotiation request packet that network neighbor's service end sends according to client, bag is responded in the negotiation that sends the SMB version that comprises service end self support.Version negotiation module 01 is intercepted and captured the negotiation request packet of client transmission and the negotiation response bag that service end is returned according to this negotiation request packet, analyze and judge whether client and service end support the SMBv2 agreement, if service end itself is supported the SMBv2 agreement, then follow-up packet all sends with the form of SMBv2, and follow-up packet is not processed or only do common optimization process; If service end itself is not supported the SMBv2 agreement, then version negotiation module 01 is responded the negotiation response bag that bag is distorted into support SMBv2 agreement with the negotiation of service end answer, and returning to client, client is just learnt with the SMBv2 protocol negotiation of service end successful like this.
Protocol conversion module 02 is used for SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, supplies the described SMBv2 agreement of customer end adopted and service end or other client mutual.
Version negotiation module 01 is after the communication protocol of client and service end is consulted successfully, and client and service end carry out needing protocol conversion module 02 to communicate the mutual conversion of agreement when mutual.Take wide area network as example, in monolateral wan optimization system, the SMBv2 request bag that client sends needs protocol conversion module 02 to be converted into SMBv1 request bag in order to communicate with service end through behind the wide area network.Service end receives that sending SMBv1 after this negotiation request packet consults to respond bag, and this SMBv1 that protocol conversion module 02 sends service end consults to respond bag and is converted to SMBv2 and consults to respond bag, and mails to the client computer of the wide area network other end.In bilateral wan optimization system, protocol conversion module 02 is just further done optimization for the SMBv2 agreement on the basis of monolateral protocol conversion, such as compression, buffer memory, all kinds of Optimum Operations of looking ahead etc.
Network optimization device of the present invention not necessarily will be deployed on the independent equipment or server, and this network optimization device can directly be installed to by the mode of pure software on network neighbor's server or the client fully; And network optimization device of the present invention not only is applicable to wide area network, and any have the network environment of time delay all applicable; And network optimization device of the present invention is applicable network neighbor's agreement not only, as long as any application based on SMBv1 and SMBv2 agreement meets implementation condition of the present invention, all can adopt the present invention to be optimized.
The present embodiment is the communication protocol version between client and the service end through consultation, make client and service end all support the SMBv2 agreement and SMBv1 agreement and SMBv2 agreement are changed mutually in client and service end, supply customer end adopted SMBv2 agreement and service end or other client mutual, have and promote that service end is only supported the SMBv1 agreement and client is supported the beneficial effect of the network optimization of SMBv2 agreement, greatly reduce client to the mutual time delay that produces of service end, promoted network neighbor's experience.
With reference to Figure 10, Figure 10 is version negotiation module one example structure schematic diagram in the network optimization device of the present invention; The present embodiment only is further described version negotiation module 01, and other related modules of network optimization device of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in figure 10, in the network optimization device of the present invention, version negotiation module 01 specifically comprises:
Bag is responded for the negotiation that negotiation request packet and the service end of the SMBv1 protocol format of intercepting and capturing the client transmission are returned according to described negotiation request packet in Data Packet Seize unit 011;
When carrying out the communication protocol version negotiation of client and service end, Data Packet Seize unit 011 need to get access to the packet of client and service end, in order to analyze the communication protocol version of judging that client and service end are supported according to the data packet format of client and service end; Particularly, the negotiation request packet of client transmission and the negotiation response bag that service end is returned according to described negotiation request packet are intercepted and captured in Data Packet Seize unit 011; In a preferred embodiment, described client is for supporting the client of SMBv2 agreement, and the negotiation request packet that this client sends is the negotiation request packet of SMBv1 protocol format.
Respond bag and distort unit 012, be used for when service end is not supported described SMBv2 agreement, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
Bag is responded in the negotiation that the negotiation request packet that the client of intercepting and capturing according to Data Packet Seize unit 011 sends and service end are returned according to this negotiation request packet, analyzes and judges whether service end supports the SMBv2 agreement; If service end is supported the SMBv2 agreement, then client and the follow-up mutual packet of service end are not dealt with, all adopt the SMBv2 agreement to carry out alternately; Perhaps utilize prior art, only client and the follow-up mutual packet of service end are done common optimization process.If service end is not supported the SMBv2 agreement, then responding bag distorts the negotiation of unit 012 being returned by service end and responds bag and distort as the SMBv2 that supports the SMBv2 agreement and consult to respond bag, make client and service end all support the SMBv2 agreement, so that subsequent client and service end directly use the SMBv2 agreement to carry out alternately.
The present embodiment is the communication protocol version between client and the service end through consultation, has the beneficial effect that the client of making and service end are all supported the SMBv2 agreement, for the interactive speed between follow-up quickening client and the service end provides main prerequisite.
With reference to Figure 11, Figure 11 is protocol conversion module the first example structure schematic diagram in the network optimization device of the present invention; The present embodiment only is further described protocol conversion module 02, and other related modules of network optimization device of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in figure 11, in the network optimization device of the present invention, protocol conversion module 02 specifically comprises:
The first converting unit 021, the SMBv2 request bag that is used for client is sent is converted to SMBv1 request bag, and sends described SMBv1 request bag to service end, in order to communicate by letter with service end;
With reference to Fig. 4, Fig. 4 is that unilateral arrangement optimization system structure is disposed schematic diagram in the network optimized approach of the present invention; As shown in Figure 4, client, is carried out with the service end that is connected with network optimization system equally with after network optimization system is connected by network alternately.Carry out being provided with network optimization device of the present invention in the network optimization system when mutual in client and service end.Wrap to service end when client sends the SMBv2 request, during through network optimization system, the first converting unit 021 is converted to the SMBv1 request with this SMBv2 request bag and wraps, in order to communicate with service end.Because now a lot of service ends are only supported SMBv1 communication protocol.
The second converting unit 022 is used for asking the SMBv1 of bag transmission to respond bag according to described SMBv1 service end and is converted to SMBv2 response bag, and sends described SMBv2 response bag to client.
When service end receives SMBv1 request bag after the conversion of the first converting unit 021, return SMBv1 according to this SMBv1 request bag and respond bag to network optimization system, the second converting unit 022 is responded this SMBv1 bag again and is converted to SMBv2 response bag, and this SMBv2 responded bag send client to, realize client and service end fast not alternately.
The detailed process that the first converting unit 021 and the second converting unit 022 are carried out client and service end protocol conversion please refer to the described embodiment of Fig. 5, does not repeat them here.
The present embodiment is by mutually changing SMBv1 agreement and described SMBv2 agreement in client and service end, has the beneficial effect of accelerating data interaction between client and the service end, greatly reduce the propagation delay time between client and the service end, improved network neighbor's experience.
With reference to Figure 12, Figure 12 is protocol conversion module the second example structure schematic diagram in the network optimization device of the present invention.The difference of protocol conversion module the first embodiment is in the present embodiment and the network optimization device, protocol conversion module 02 has only increased optimization unit 023, the present embodiment only is described specifically optimizing unit 023, other related modules of network optimization device of the present invention please refer to the specific descriptions of related embodiment, do not repeat them here.As shown in figure 12, in the network optimization device of the present invention, protocol conversion module 02 also comprises:
Optimize unit 023, be used for optimizing described SMBv1 request bag; Also be used for, optimize described SMBv2 and respond bag.
Take bilateral wan optimization system as example, with reference to Fig. 7, Fig. 7 is that bilateral agreements optimization system structure is disposed schematic diagram in the network optimized approach of the present invention; As shown in Figure 7, at network optimization system of client and service end administration, this network optimization system comprises network optimization device of the present invention respectively.The SMBv2 request bag that client sends first through the optimization unit 023 of client network optimization system compress, buffer memory, look ahead etc. optimize after, the optimization unit 023 that is sent to again the service end network optimization system carries out decompress(ion), buffer memory, look ahead etc. optimize after, communicated again the conversion of agreement by protocol conversion module 02, SMBv2 request bag is converted to SMBv1 request bag, for the service end response.The SMBv1 that service end will respond SMBv1 request bag responds the network optimization system that bag is sent to service end, after the network optimization system of service end is responded this SMBv1 bag and is carried out protocol conversion and obtain SMBv2 and respond bag, unit 023 compresses by optimizing again, be sent to the network optimization system of client behind the buffer memory, the optimization such as look ahead, the 023 couple of SMBv2 in the optimization unit of client network optimization system respond bag carry out decompress(ion), buffer memory, look ahead etc. optimize after, send to again client.The bilateral agreements optimizing process please refer to the described embodiment of Fig. 8, does not repeat them here.
The present embodiment is by sending described SMBv1 request bag to service end, described SMBv2 response bag being sent between the client, respectively described SMBv1 request bag and SMBv2 response bag are optimized, beneficial effect with data interaction between further quickening client and the service end, the user who has improved further the network neighbor experiences.
The above only is the preferred embodiments of the present invention; be not so limit its claim; every equivalent structure or equivalent flow process conversion that utilizes specification of the present invention and accompanying drawing content to do; directly or indirectly be used in other relevant technical fields, all in like manner be included in the scope of patent protection of the present invention.

Claims (10)

1. a network optimized approach is characterized in that, may further comprise the steps:
Consult the communication protocol version between client and the service end, make client and service end all support second edition book server message blocks SMBv2 agreement;
First version Server Message Block SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, supplied the described SMBv2 agreement of customer end adopted and service end or other client mutual.
2. the method for claim 1 is characterized in that, the communication protocol version between described negotiation client and the service end makes client and service end all support the step of SMBv2 agreement specifically to comprise:
Bag is responded in the negotiation that the negotiation request packet of the SMBv1 protocol format that the intercepting and capturing client sends and service end are returned according to described negotiation request packet;
When service end is not supported described SMBv2 agreement, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
3. the method for claim 1 is characterized in that, the described step that SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end specifically comprises:
The SMBv2 request bag that client is sent is converted to SMBv1 request bag, and sends described SMBv1 request bag to service end, in order to communicate by letter with service end;
Ask the SMBv1 of bag transmission to respond bag according to described SMBv1 service end and be converted to SMBv2 response bag, and send described SMBv2 response bag to client.
4. method as claimed in claim 3 is characterized in that, the described step that sends described SMBv1 request bag to service end also comprises step before:
Optimize described SMBv1 request bag.
5. method as claimed in claim 3 is characterized in that, the described step that sends described SMBv2 response bag to client also comprises step before:
Optimize described SMBv2 and respond bag.
6. a network optimization device is characterized in that, comprising:
The version negotiation module is used for the communication protocol version between negotiation client and the service end, makes client and service end all support the SMBv2 agreement;
Protocol conversion module is used for SMBv1 agreement and described SMBv2 agreement are changed mutually in client and service end, supplies the described SMBv2 agreement of customer end adopted and service end or other client mutual.
7. device as claimed in claim 6 is characterized in that, described version negotiation module specifically comprises:
Bag is responded for the negotiation that negotiation request packet and the service end of the SMBv1 protocol format of intercepting and capturing the client transmission are returned according to described negotiation request packet in the Data Packet Seize unit;
Respond bag and distort the unit, be used for when service end is not supported described SMBv2 agreement, bag is responded in described negotiation distorted as the SMBv2 that supports described SMBv2 agreement consults to respond bag, make client and service end all support described SMBv2 agreement.
8. device as claimed in claim 6 is characterized in that, described protocol conversion module specifically comprises:
The first converting unit, the SMBv2 request bag that is used for client is sent is converted to SMBv1 request bag, and sends described SMBv1 request bag to service end, in order to communicate by letter with service end;
The second converting unit is used for asking the SMBv1 of bag transmission to respond bag according to described SMBv1 service end and is converted to SMBv2 response bag, and sends described SMBv2 response bag to client.
9. device as claimed in claim 8 is characterized in that, described protocol conversion module also comprises:
Optimize the unit, be used for optimizing described SMBv1 request bag.
10. device as claimed in claim 9 is characterized in that, described optimization unit also is used for, and optimizes described SMBv2 and responds bag.
CN201210327313.9A 2012-09-06 2012-09-06 Network optimized approach and device Active CN102857504B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210327313.9A CN102857504B (en) 2012-09-06 2012-09-06 Network optimized approach and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210327313.9A CN102857504B (en) 2012-09-06 2012-09-06 Network optimized approach and device

Publications (2)

Publication Number Publication Date
CN102857504A true CN102857504A (en) 2013-01-02
CN102857504B CN102857504B (en) 2016-01-06

Family

ID=47403698

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210327313.9A Active CN102857504B (en) 2012-09-06 2012-09-06 Network optimized approach and device

Country Status (1)

Country Link
CN (1) CN102857504B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595720A (en) * 2013-11-15 2014-02-19 华为技术有限公司 Offloaded data transferring method, device and client
CN109428773A (en) * 2017-08-22 2019-03-05 深圳市道通智能航空技术有限公司 A kind of communication means and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761259A (en) * 2004-10-11 2006-04-19 三星电子株式会社 Be used to use server message block protocol to come the apparatus and method of print data
EP1727056B1 (en) * 2005-05-25 2008-11-05 Microsoft Corporation Data communication protocol
CN101867572A (en) * 2010-05-11 2010-10-20 中兴通讯股份有限公司 Implementation method and system for wireless U disk
CN102571756A (en) * 2010-12-06 2012-07-11 微软公司 Multichannel connections in file system sessions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1761259A (en) * 2004-10-11 2006-04-19 三星电子株式会社 Be used to use server message block protocol to come the apparatus and method of print data
EP1727056B1 (en) * 2005-05-25 2008-11-05 Microsoft Corporation Data communication protocol
CN101867572A (en) * 2010-05-11 2010-10-20 中兴通讯股份有限公司 Implementation method and system for wireless U disk
CN102571756A (en) * 2010-12-06 2012-07-11 微软公司 Multichannel connections in file system sessions

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
周伟: "SMB协议分析", 《襄樊职业技术学院学报》, vol. 7, no. 1, 31 January 2008 (2008-01-31) *

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103595720A (en) * 2013-11-15 2014-02-19 华为技术有限公司 Offloaded data transferring method, device and client
CN103595720B (en) * 2013-11-15 2017-07-07 华为技术有限公司 Unloading data transmission method, device and client
CN109428773A (en) * 2017-08-22 2019-03-05 深圳市道通智能航空技术有限公司 A kind of communication means and device
CN109428773B (en) * 2017-08-22 2022-04-22 深圳市道通智能航空技术股份有限公司 Communication method and device

Also Published As

Publication number Publication date
CN102857504B (en) 2016-01-06

Similar Documents

Publication Publication Date Title
EP3275162B1 (en) Systems and techniques for web communication
CN109327386B (en) Link aggregation method, device, equipment and readable storage medium
CN103582012B (en) A kind of data distributing method and device
US20150289301A1 (en) Terminal matching method, terminal and system
CN105516080A (en) Processing method, apparatus, and system for TCP connection
WO2019000866A1 (en) Data processing method and internet of things (iot) gateway
CN110677432A (en) Network protocol internal proxy forwarding method, device, medium and terminal equipment
CN102307211A (en) Method for realizing full-screen synchronization of whiteboard
CN101964785A (en) Method, terminal and system for transmitting file between SIP (Session Initiation Protocol) terminals in NAT (Network Address Translation) network
CN103905435A (en) Communication method of front end page and rear end server
CN112202872A (en) Data forwarding method, API gateway and message service system
US20130111002A1 (en) Systems and methods for establishing a virtual local area network
WO2016086755A1 (en) Packet processing method and transparent proxy server
CN104113935A (en) Data transmission method, system and router
CN114679407A (en) Link aggregation method, device, equipment and storage medium
CN115280725A (en) Data frame secure transmission method and device, electronic equipment and storage medium
CN102857504A (en) Network optimization method and network optimization device
CN109831404B (en) Instant communication system and method compatible with multiple terminals
CN104202432B (en) Remote web management system and management method
CN107682384A (en) Virtual desktop multicast control method, terminal, proxy terminal and cloud desktop server
CN106657076B (en) TCP service implementation method and device for network name space
CN112968965A (en) Metadata service method, server and storage medium for NFV network node
CN104852835A (en) Smart device WIFI communication system and control method thereof
CN105072057B (en) A kind of intermediate switching equipment and its method and system for network data transmission
CN107534650B (en) frame transmission method, device and network system

Legal Events

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

Effective date of registration: 20200617

Address after: Nanshan District Xueyuan Road in Shenzhen city of Guangdong province 518000 No. 1001 Nanshan Chi Park building A1 layer

Patentee after: SANGFOR TECHNOLOGIES Inc.

Address before: 518000 Nanshan Science and Technology Pioneering service center, No. 1 Qilin Road, Guangdong, Shenzhen 418, 419,

Patentee before: Shenxin network technology (Shenzhen) Co.,Ltd.