CN109151082A - A kind of multi-connection method for building up, device and system - Google Patents

A kind of multi-connection method for building up, device and system Download PDF

Info

Publication number
CN109151082A
CN109151082A CN201811300843.8A CN201811300843A CN109151082A CN 109151082 A CN109151082 A CN 109151082A CN 201811300843 A CN201811300843 A CN 201811300843A CN 109151082 A CN109151082 A CN 109151082A
Authority
CN
China
Prior art keywords
data channel
network interface
server
client
request
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811300843.8A
Other languages
Chinese (zh)
Inventor
马顺
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201811300843.8A priority Critical patent/CN109151082A/en
Publication of CN109151082A publication Critical patent/CN109151082A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0668Management of faults, events, alarms or notifications using network fault recovery by dynamic selection of recovery network elements, e.g. replacement by the most appropriate element after failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols

Abstract

The embodiment of the invention discloses a kind of multi-connection method for building up, device and system, client terminal start-up multichannel configurator sends connection request to server-side;When server-side receives the connection request, the first data channel is established;And the request for obtaining network interface card parameter is sent to client;According to received network interface card parameter setting network interface, and to client send network interface interface message;Client successively sends data channel foundation request to each network interface of server-side and then successively establishes corresponding data channel when the data channel that server-side receives client transmission establishes request according to interface message.According to multiple data channel, under the premise of not interrupting application program service, the transfer automated to the failure of network path is realized, ensure that the uninterrupted of business, improves the reliability of group system.And server-side can use multiple data channel simultaneously, increase the handling capacity and network fault tolerance ability of server-side.

Description

A kind of multi-connection method for building up, device and system
Technical field
The present invention relates to Cluster System Technique fields, more particularly to a kind of multi-connection method for building up, device and system.
Background technique
Information age, cloud computing, big data and artificial intelligence technology surge forward.Information data is increased with magnanimity index, This proposes further requirement to equipment storage performance.The usage scenario of country's storage client becomes increasingly complex, high-performance, video The fields such as monitoring more and more access file using more clients simultaneously.Information service block (Server Messages Block, Samba/smb) interconnecting for windows client and Linux server-side may be implemented in technology, i.e., in client and server-side Between establish a data channel, to realize the interaction of information.
In practical applications, the link of client and server-side may be caused to break due to network etc., to lead The interruption of cause business.In traditional approach, samba uses reconnection technology for data link, is exactly server-side detection heartbeat message, For example, detection in every 3 seconds is primary, if continuous 3 times do not detect heartbeat message, it is considered as link there are connecting fault, Samba agreement will initiate the message of link reconnect to server-side, by the confirmation message of server-side come weight from client Newly establish new connection.If continuous 3 clients initiate the connection message, server-side is considered as this company if all not responding to The physical link connect needs artificially to repair there are failure.When multiple reconnection failure, the interruption of business will lead to, even if can be with New connection is re-established, but new establishment of connection process needs to spend the time, can still result in business within this time It interrupts.
As it can be seen that the occurrence of how reducing service disconnection, be those skilled in the art's urgent problem to be solved.
Summary of the invention
It, can be in reduction business the purpose of the embodiment of the present invention is that provide a kind of multi-connection method for building up, device and system The occurrence of disconnected.
In order to solve the above technical problems, the embodiment of the present invention provides a kind of multi-connection method for building up, it is applied to server-side, institute The method of stating includes:
When receiving the connection request of client transmission, the first data channel is established;
The request for obtaining network interface card parameter is sent to the client by first data channel;
Receive the network interface card parameter of the client feedback;
Institute is sent to the client according to the network interface card parameter setting network interface, and by first data channel State the interface message of network interface;
When receiving the data channel foundation request that the client is successively sent to each network interface, then successively establish Corresponding data channel.
Optionally, described according to the network interface card parameter setting network interface, and by first data channel to institute Before stating the interface message that client sends the network interface further include:
Detect whether itself supports multi-connection;
If it is not, the response message for then not supporting multi-connection to establish to the client feedback;
If so, execute it is described according to the network interface card parameter setting network interface, and by first data channel to The client sends the step of interface message of the network interface.
Optionally, it is described establish the first data channel after further include:
By first data channel to the client transmissions share directory, in order to which the client is according to described in Share directory stores and calls corresponding data.
The embodiment of the invention also provides a kind of multi-connections to establish device, is applied to server-side, and described device includes
Establish unit, transmission unit and setting unit;
It is described to establish unit, for establishing the first data channel when receiving the connection request of client transmission;
The transmission unit, for being sent to the client for obtaining network interface card parameter by first data channel Request;
The setting unit is used for according to the network interface card parameter setting network interface, and passes through first data channel The interface message of the network interface is sent to the client;
It is described establish unit be also used to when receive the client successively to each network interface send data channel build When vertical request, then corresponding data channel is successively established.
It optionally, further include detection unit and feedback unit;
The detection unit, for being counted described according to the network interface card parameter setting network interface, and by described first Before the interface message for sending the network interface to the client according to channel, detect whether itself supports multi-connection;If it is not, Then trigger the feedback unit;If so, triggering the setting unit;
The feedback unit, the response message for not supporting multi-connection to establish to the client feedback.
It optionally, further include transmission unit;
The transmission unit, for it is described establish the first data channel after, by first data channel to institute Client transmissions share directory is stated, in order to which the client stores and call corresponding data according to the share directory.
The embodiment of the invention also provides a kind of multi-connection method for building up, are applied to client, which comprises
Start multichannel configurator, sends connection request to server-side;
The request for being used to obtain network interface card parameter that the server-side is sent is received, and by corresponding network interface card parameter feedback to institute State server-side;
Receive the interface message for the network interface that the server-side is sent by the first data channel;
According to the interface message, data channel successively is sent to each network interface of server-side and establishes request, to realize The foundation of multiple data channel.
Optionally, data channel foundation request successively is sent to each network interface of server-side described, it is multiple to realize After the foundation of data channel further include:
When detecting that target data channel occurs abnormal, then the loading condition according to each data channel, selects spare Data channel, and the I/O Request in the target data channel is transferred to the backup data channel.
Optionally, described according to the interface message, data channel successively is sent to each network interface of server-side and is built Before vertical request further include:
When receiving the response message for not supporting multi-connection to establish of the server-side feedback, then cancel to the service Each network interface at end sends the operation that data channel establishes request.
Optionally, further includes:
The share directory that the server-side is transmitted by first data channel is received, the share directory is saved, with Convenient for storing and calling corresponding data according to the share directory.
The embodiment of the invention also provides a kind of multi-connections to establish device, is applied to client, and described device includes sending Unit, feedback unit and receiving unit;
The transmission unit sends connection request to server-side for starting multichannel configurator;
The feedback unit, the request for being used to obtain network interface card parameter sent for receiving the server-side, and will be corresponding Network interface card parameter feedback give the server-side;
The receiving unit, for receiving the interface letter for the network interface that the server-side is sent by the first data channel Breath;
The transmission unit is also used to according to the interface message, and it is logical successively to send data to each network interface of server-side Request is established in road, to realize the foundation of multiple data channel.
It optionally, further include selection unit and buanch unit;
The selection unit, for successively sending data channel foundation request to each network interface of server-side described, After foundation to realize multiple data channel, when detecting that target data channel occurs abnormal, then according to each data channel Loading condition selects backup data channel;
The buanch unit, for the I/O Request in the target data channel to be transferred to the backup data channel.
It optionally, further include cancelling unit;
The cancellation unit, for, according to the interface message, successively being sent to each network interface of server-side described Data channel is established before request, when receiving the response message for not supporting multi-connection to establish of the server-side feedback, is then taken Each network interface of server-side described in disorientation sends the operation that data channel establishes request.
It optionally, further include storage unit;
The storage unit, the share directory transmitted for receiving the server-side by first data channel are protected The share directory is deposited, in order to store and call corresponding data according to the share directory.
The embodiment of the invention also provides a kind of multi-connections to establish system, including server-side and client;
The server-side, for establishing the first data channel when receiving the connection request of client transmission;Pass through institute It states the first data channel and sends request for obtaining network interface card parameter to the client;Receive the network interface card of the client feedback Parameter;According to the network interface card parameter setting network interface, and by first data channel to described in client transmission The interface message of network interface;Request is established when receiving the data channel that the client is successively sent to each network interface When, then successively establish corresponding data channel;
The client sends connection request to server-side for starting multichannel configurator;Receive the server-side What is sent gives the server-side for obtaining the request of network interface card parameter, and by corresponding network interface card parameter feedback;Receive the service The interface message for the network interface that end is sent by the first data channel;According to the interface message, successively to each of server-side Network interface sends data channel and establishes request, to realize the foundation of multiple data channel.
The client terminal start-up multichannel configurator it can be seen from above-mentioned technical proposal sends connection request to server-side; When server-side receives the connection request, the first data channel is established;And it is used for by the first data channel to client transmission Obtain the request of network interface card parameter;After the network interface card parameter for receiving client feedback, according to network interface card parameter setting network interface, and lead to Cross the interface message that the first data channel sends network interface to client;Client is according to interface message, successively to server-side Each network interface send data channel establish request, correspondingly, server-side receive client successively to each network interface send out When the data channel sent establishes request, then corresponding data channel is successively established.Multichannel is introduced in the technical scheme to establish Mechanism establishes multiple data channel between client and server-side, when some channel is broken down, can cut automatically The data channel for changing to another normal operation, instead of the work of the faulty channel, in the premise for not interrupting application program service Under, the transfer automated to the failure of network path is realized, the uninterrupted of business is ensure that, improves group system Reliability.And server-side can use multiple data channel simultaneously, increase the handling capacity and network fault tolerance ability of server-side.
Detailed description of the invention
In order to illustrate the embodiments of the present invention more clearly, attached drawing needed in the embodiment will be done simply below It introduces, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ordinary skill people For member, without creative efforts, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of signaling process figure of multi-connection method for building up provided in an embodiment of the present invention;
Fig. 2 is the structural schematic diagram that a kind of multi-connection applied to server-side provided in an embodiment of the present invention establishes device;
Fig. 3 is the structural schematic diagram that a kind of multi-connection applied to client provided in an embodiment of the present invention establishes device;
Fig. 4 is the structural schematic diagram that a kind of multi-connection provided in an embodiment of the present invention establishes system.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, rather than whole embodiments.Based on this Embodiment in invention, those of ordinary skill in the art are without making creative work, obtained every other Embodiment belongs to the scope of the present invention.
In order to enable those skilled in the art to better understand the solution of the present invention, with reference to the accompanying drawings and detailed description The present invention is described in further detail.
Next, a kind of multi-connection method for building up provided by the embodiment of the present invention is discussed in detail.
Fig. 1 is a kind of signaling process figure of multi-connection method for building up provided in an embodiment of the present invention,
S101: client terminal start-up multichannel configurator.
Multi-connection provided in an embodiment of the present invention establishes scheme suitable for window system and supports the visitor of smb3.0 agreement Family end, and client and server-side support Simple Syndication (Really Simple Syndication, RSS) simultaneously.
When client and server-side establish multi-connection, client is needed to open multichannel configurator.It is implementing In, multichannel configurator can be added in samba configuration file smb.conf.
It can be that default is opened by the multichannel featured configuration of client, in client in order to facilitate the foundation of multi-connection When starting, it can automate and open multichannel characteristic.User can pass through Get-SmbClientConfiguration | Whether Select EnableMultichannel inquiring client terminal multichannel is opened.
S102: client sends connection request to server-side.
S103: when server-side receives the connection request of client transmission, the first data channel is established.
When needing to establish connection, client sends connection request to server-side, and server-side is asked according to the connection received It asks, a data channel can be established between client, it, can be with for the ease of being distinguished with the data channel of subsequent foundation The data channel is referred to as the first data channel.
In the concrete realization, transmission control protocol (Transmission Control Protocol, TCP) can be used Either User Datagram Protocol (User DatagramProtocol, UDP) establishes data channel, establishes the tool of data channel Body process may refer to the technology for establishing connection based on TCP or UDP in the prior art, and details are not described herein.
S104: server-side sends the request for obtaining network interface card parameter to client by the first data channel.
Whether the network interface card reference record of client client opens multichannel characteristic, and a channel that can establish Number.
When establishing multichannel, server-side needs to be dependent on the channel number of client, is adapted for client distribution The network port, therefore, before distributing the network port, server-side needs first to obtain the network interface card parameter of client.
S105: client receive that server-side sends for obtaining the request of network interface card parameter, and by corresponding network interface card parameter Feed back to server-side.
S106: server-side receives the network interface card parameter of client feedback, according to network interface card parameter setting network interface.
In the concrete realization, server-side can judge whether client opens multichannel characteristic according to network interface card parameter;Work as visitor When multichannel characteristic is opened at family end, then according to the connection number carried in network interface card parameter, distributes and connect the identical network of number Interface.
S107: server-side sends the interface message of network interface by the first data channel to client.
After client needs to learn the interface message of network interface, connection could be sent to the network interface of server-side and asked It asks, to realize the foundation of data channel, therefore, server-side, can be by the interface of network interface after having configured network interface Information is transferred to client by the first data channel.
It may include the port numbers for each network interface that server-side is client distribution in interface message.
S108: client receives the interface message for the network interface that server-side is sent by the first data channel.
S109: client successively sends data channel to each network interface of server-side and establishes request according to interface message.
S110: server-side receive client successively to each network interface send data channel establish request when, then according to It is secondary to establish corresponding data channel.
The port numbers for including in interface message can have it is multiple, in the concrete realization, client can according to port numbers according to Secondary to send data channel foundation request to the corresponding network interface of server-side, server-side often receives a data Path Setup and asks It asks, a data channel can be established.Client has sent Path Setup request to several network interfaces, can establish out Several data channel, to realize the foundation of multiple data channel.
After the completion of the foundation of multiple data channel, server-side can pass through high speed network adapter or multiple network adapter Using multiple more data of data channel simultaneous transmission, the handling capacity of server-side is improved.
By taking client and server-side are provided with a network interface card as an example, the connection number that a network interface card is supported is generally 4, In the case of multi-connection scheme, samba is connected with 4, and the multicore utilization rate of cpu can be improved.
The client terminal start-up multichannel configurator it can be seen from above-mentioned technical proposal sends connection request to server-side; When server-side receives the connection request, the first data channel is established;And it is used for by the first data channel to client transmission Obtain the request of network interface card parameter;After the network interface card parameter for receiving client feedback, according to network interface card parameter setting network interface, and lead to Cross the interface message that the first data channel sends network interface to client;Client is according to interface message, successively to server-side Each network interface send data channel establish request, correspondingly, server-side receive client successively to each network interface send out When the data channel sent establishes request, then corresponding data channel is successively established.Multichannel is introduced in the technical scheme to establish Mechanism establishes multiple data channel between client and server-side, when some channel is broken down, can cut automatically The data channel for changing to another normal operation, instead of the work of the faulty channel, in the premise for not interrupting application program service Under, the transfer automated to the failure of network path is realized, the uninterrupted of business is ensure that, improves group system Reliability.And server-side can use multiple data channel simultaneously, increase the handling capacity and network fault tolerance ability of server-side.
When establishing multi-connection between server-side and client, client and server-side is needed to support multi-connection, in order to It avoids client from sending unnecessary data channel and establishes request, server-side is led in foundation network interface card parameter setting network interface It crosses before the interface message that the first data channel sends network interface to client, can first detect and itself whether support connect more It connects.
It when server-side itself supports multi-connection, then can execute according to network interface card parameter setting network interface, and pass through the One data channel sends the step of interface message of network interface to client.
When server-side itself does not support multi-connection, then the response message of multi-connection foundation is not supported to client feedback; Correspondingly, can then cancel when client receives the response message for not supporting multi-connection to establish of server-side feedback to service Each network interface at end sends the operation that data channel establishes request.
In practical applications, when server-side itself does not support multi-connection, multi-connection is not supported to build to client feedback After vertical response message, can end operation, no longer execute the operation of the above-mentioned S106-S107 and S110 referred to.
Server-side can avoid client from sending unnecessary by self-test in the case where itself does not support multi-connection Data channel establishes request, and by client feedback response message, can be in order to administrative staff's timely learning server-side Multichannel characteristic is not opened, to handle server-side.
After establishing the first data channel, when user accesses the data of server-side by client, client needs are obtained The storage location of each data in server-side is known, in order to call corresponding data.
In embodiments of the present invention, server-side is after establishing the first data channel, can by the first data channel to Client transmissions share directory, correspondingly, after client receives share directory of the server-side by the transmission of the first data channel, The share directory can be saved, in order to store and call corresponding data according to share directory.
In practical applications, the request of acquisition share directory can also be initiated by client, server-side is receiving acquisition After the request of share directory, by the first data channel to client transmissions share directory.
In embodiments of the present invention, server-side can also be when to the interface message of client transmissions network interface, together Share directory is transferred to client, to simplify the operating process of server-side.
After the foundation for completing multiple data channel, client can be supervised the operating status of multiple data channel Control, when detecting that target data channel occurs abnormal, then the loading condition according to each data channel, it is logical to select preliminary data Road, and the I/O Request in target data channel is transferred to backup data channel.
When realizing the transfer of I/O Request, the data channel being in idle condition can be chosen as backup data channel; When other data channel other than fault data channel are in operating status, then it is the smallest by one can to choose load capacity A data channel is as backup data channel.
For example, ought be in the case of wherein a data channel is broken down, for example physical link disconnects or one of net Card breaks down etc. under abnormalities, and samba business can automatically switch in other data channel, guarantee the normal fortune of business Row, the client especially used storage, is not in loss of data phenomenon.And samba multi-connection can find more automatically A available network path, and connection is dynamically added as needed.
Fig. 2 is the structural schematic diagram that a kind of multi-connection provided in an embodiment of the present invention establishes device, is applied to server-side, dress It sets including establishing unit 21, transmission unit 22 and setting unit 23;
Unit 21 is established, for establishing the first data channel when receiving the connection request of client transmission;
Transmission unit 22, for sending the request for obtaining network interface card parameter to client by the first data channel;
Setting unit 23, for being sent out according to network interface card parameter setting network interface, and by the first data channel to client The interface message of SCN Space Cable Network interface;
It establishes unit 21 and is also used to receive the data channel foundation request that client is successively sent to each network interface When, then successively establish corresponding data channel.
It optionally, further include detection unit and feedback unit;
Detection unit, for being sent out according to network interface card parameter setting network interface, and by the first data channel to client Before the interface message of SCN Space Cable Network interface, detect whether itself supports multi-connection;If it is not, then triggering feedback unit;If so, touching Send out setting unit;
Feedback unit, the response message for not supporting multi-connection to establish to client feedback.
It optionally, further include transmission unit;
Transmission unit, for establishing after the first data channel, passing through first in the network interface card parameter for receiving client feedback Data channel is to client transmissions share directory, in order to which client stores and call corresponding data according to share directory.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 2, here no longer It repeats one by one.
Server-side establishes unit it can be seen from above-mentioned technical proposal, for when the connection that receive client transmission When request, the first data channel is established;Transmission unit, for being sent to client for obtaining network interface card by the first data channel The request of parameter;Setting unit, for being sent out according to network interface card parameter setting network interface, and by the first data channel to client The interface message of SCN Space Cable Network interface;Unit is established to be also used to when reception client is successively to the data channel of each network interface transmission When establishing request, then corresponding data channel is successively established.It introduces multichannel in the technical scheme to create a mechanism, in client Multiple data channel are established between server-side, when some channel is broken down, can automatically switch to another just The data channel often run under the premise of not interrupting application program service, is realized to net instead of the work of the faulty channel The transfer that the failure in network path is automated ensure that the uninterrupted of business, improve the reliability of group system.And it takes Business end can use multiple data channel simultaneously, increase the handling capacity and network fault tolerance ability of server-side.
Fig. 3 is the structural schematic diagram that a kind of multi-connection provided in an embodiment of the present invention establishes device, is applied to client, dress It sets including transmission unit 31, feedback unit 32 and receiving unit 33;
Transmission unit 31 sends connection request to server-side for starting multichannel configurator;
Feedback unit 32, for receive server-side transmission for obtaining the request of network interface card parameter, and by corresponding network interface card Parameter feedback is to server-side;
Receiving unit 33, for receiving the interface message for the network interface that server-side is sent by the first data channel;
Transmission unit 31 is also used to according to interface message, is successively sent data channel to each network interface of server-side and is established Request, to realize the foundation of multiple data channel.
It optionally, further include selection unit and buanch unit;
Selection unit is more to realize for successively sending data channel foundation request to each network interface of server-side After the foundation of a data channel, when detecting that target data channel occurs abnormal, then the loading condition according to each data channel, Select backup data channel;
Buanch unit, for the I/O Request in target data channel to be transferred to backup data channel.
It optionally, further include cancelling unit;
Cancel unit, for successively data channel being sent to each network interface of server-side and being established according to interface message Before request, when receiving the response message for not supporting multi-connection to establish of server-side feedback, then cancel each net to server-side Network interface sends the operation that data channel establishes request.
It optionally, further include storage unit;
Storage unit passes through the share directory that the first data channel is transmitted for receiving server-side, saves share directory, with Convenient for storing and calling corresponding data according to share directory.
The explanation of feature may refer to the related description of embodiment corresponding to Fig. 1 in embodiment corresponding to Fig. 3, here no longer It repeats one by one.
The transmission unit of client it can be seen from above-mentioned technical proposal, for starting multichannel configurator, to service End sends connection request;Feedback unit, for receiving the request for being used to obtain network interface card parameter of server-side transmission, and will be corresponding Network interface card parameter feedback is to server-side;Receiving unit, the network interface sent for receiving server-side by first data channel Interface message;Transmission unit is also used to according to interface message, is successively sent data channel to each network interface of server-side and is established Request, to realize the foundation of multiple data channel.It introduces multichannel in the technical scheme to create a mechanism, in client and service Multiple data channel are established between end, when some channel is broken down, can automatically switch to another normal operation Data channel under the premise of not interrupting application program service, realized to network path instead of the work of the faulty channel The transfer that is automated of failure, ensure that the uninterrupted of business, improve the reliability of group system.And server-side can To use multiple data channel simultaneously, the handling capacity and network fault tolerance ability of server-side are increased.
Fig. 4 is the structural schematic diagram that a kind of multi-connection provided in an embodiment of the present invention establishes system 40, including server-side 41 With client 42;
Server-side 41, for establishing the first data channel when receiving the connection request of client transmission;Pass through first Data channel sends the request for obtaining network interface card parameter to client;Receive the network interface card parameter of client feedback;According to network interface card Parameter setting network interface, and pass through the interface message that the first data channel sends network interface to client;When receiving visitor When the data channel that family end is successively sent to each network interface establishes request, then corresponding data channel is successively established;
Client 42 sends connection request to server-side for starting multichannel configurator;Receive what server-side was sent For obtaining the request of network interface card parameter, and by corresponding network interface card parameter feedback to server-side;It receives server-side and passes through the first data The interface message for the network interface that channel is sent;According to interface message, it is logical that data successively are sent to each network interface of server-side Request is established in road, to realize the foundation of multiple data channel.
It is provided for the embodiments of the invention a kind of multi-connection method for building up above, device and system have carried out detailed Jie It continues.Each embodiment is described in a progressive manner in specification, the highlights of each of the examples are with other embodiments Difference, the same or similar parts in each embodiment may refer to each other.For the device disclosed in the embodiment, by It is corresponded to the methods disclosed in the examples in it, so being described relatively simple, reference may be made to the description of the method. It should be pointed out that for those skilled in the art, it without departing from the principle of the present invention, can also be right Some improvement and modification can also be carried out by the present invention, and these improvements and modifications also fall within the scope of protection of the claims of the present invention.
Professional further appreciates that, unit described in conjunction with the examples disclosed in the embodiments of the present disclosure And algorithm steps, can be realized with electronic hardware, computer software, or a combination of the two, in order to clearly demonstrate hardware and The interchangeability of software generally describes each exemplary composition and step according to function in the above description.These Function is implemented in hardware or software actually, the specific application and design constraint depending on technical solution.Profession Technical staff can use different methods to achieve the described function each specific application, but this realization is not answered Think beyond the scope of this invention.
The step of method described in conjunction with the examples disclosed in this document or algorithm, can directly be held with hardware, processor The combination of capable software module or the two is implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology In any other form of storage medium well known in field.

Claims (10)

1. a kind of multi-connection method for building up, which is characterized in that be applied to server-side, which comprises
When receiving the connection request of client transmission, the first data channel is established;
The request for obtaining network interface card parameter is sent to the client by first data channel;
Receive the network interface card parameter of the client feedback;
The net is sent to the client according to the network interface card parameter setting network interface, and by first data channel The interface message of network interface;
When receiving the data channel foundation request that the client is successively sent to each network interface, then successively establish corresponding Data channel.
2. the method according to claim 1, wherein described according to the network interface card parameter setting network interface, And before sending the interface message of the network interface to the client by first data channel further include:
Detect whether itself supports multi-connection;
If it is not, the response message for then not supporting multi-connection to establish to the client feedback;
If so, execute it is described according to the network interface card parameter setting network interface, and by first data channel to described Client sends the step of interface message of the network interface.
3. method according to claim 1 or 2, which is characterized in that it is described establish the first data channel after further include:
By first data channel to the client transmissions share directory, in order to which the client is according to described shared Catalogue stores and calls corresponding data.
4. a kind of multi-connection establishes device, which is characterized in that be applied to server-side, described device includes establishing unit, sending list Member and setting unit;
It is described to establish unit, for establishing the first data channel when receiving the connection request of client transmission;
The transmission unit, for being sent to the client for obtaining asking for network interface card parameter by first data channel It asks;
The setting unit, for according to the network interface card parameter setting network interface, and by first data channel to institute State the interface message that client sends the network interface;
It is described establish unit be also used to when receive the client successively to each network interface send data channel foundation ask When asking, then corresponding data channel is successively established.
5. a kind of multi-connection method for building up, which is characterized in that be applied to client, which comprises
Start multichannel configurator, sends connection request to server-side;
The request for being used to obtain network interface card parameter that the server-side is sent is received, and gives corresponding network interface card parameter feedback to the clothes Business end;
Receive the interface message for the network interface that the server-side is sent by the first data channel;
According to the interface message, data channel successively is sent to each network interface of server-side and establishes request, it is multiple to realize The foundation of data channel.
6. according to the method described in claim 5, it is characterized in that, successively sending number to each network interface of server-side described It is requested according to Path Setup, after the foundation to realize multiple data channel further include:
When detecting that target data channel occurs abnormal, then the loading condition according to each data channel, selects preliminary data Channel, and the I/O Request in the target data channel is transferred to the backup data channel.
7. according to the method described in claim 5, it is characterized in that, described according to the interface message, successively to server-side Each network interface send data channel establish request before further include:
When receiving the response message for not supporting multi-connection to establish of the server-side feedback, then cancel to the server-side Each network interface sends the operation that data channel establishes request.
8. according to method described in claim 5-7 any one, which is characterized in that further include:
The share directory that the server-side is transmitted by first data channel is received, the share directory is saved, in order to Corresponding data are stored and called according to the share directory.
9. a kind of multi-connection establishes device, which is characterized in that be applied to client, described device includes transmission unit, feedback Member and receiving unit;
The transmission unit sends connection request to server-side for starting multichannel configurator;
The feedback unit, for receiving that the server-side sends for obtaining the request of network interface card parameter, and by corresponding net Card parameter feedback gives the server-side;
The receiving unit, for receiving the interface message for the network interface that the server-side is sent by the first data channel;
The transmission unit is also used to according to the interface message, is successively sent data channel to each network interface of server-side and is built Vertical request, to realize the foundation of multiple data channel.
10. a kind of multi-connection establishes system, which is characterized in that including server-side and client;
The server-side, for establishing the first data channel when receiving the connection request of client transmission;Pass through described One data channel sends the request for obtaining network interface card parameter to the client;Receive the network interface card ginseng of the client feedback Number;The net is sent to the client according to the network interface card parameter setting network interface, and by first data channel The interface message of network interface;When receiving the data channel foundation request that the client is successively sent to each network interface, Then successively establish corresponding data channel;
The client sends connection request to server-side for starting multichannel configurator;The server-side is received to send Give the server-side for obtaining the request of network interface card parameter, and by corresponding network interface card parameter feedback;It is logical to receive the server-side Cross the interface message of the network interface of the first data channel transmission;According to the interface message, successively to each network of server-side Interface sends data channel and establishes request, to realize the foundation of multiple data channel.
CN201811300843.8A 2018-11-02 2018-11-02 A kind of multi-connection method for building up, device and system Pending CN109151082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811300843.8A CN109151082A (en) 2018-11-02 2018-11-02 A kind of multi-connection method for building up, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811300843.8A CN109151082A (en) 2018-11-02 2018-11-02 A kind of multi-connection method for building up, device and system

Publications (1)

Publication Number Publication Date
CN109151082A true CN109151082A (en) 2019-01-04

Family

ID=64807412

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811300843.8A Pending CN109151082A (en) 2018-11-02 2018-11-02 A kind of multi-connection method for building up, device and system

Country Status (1)

Country Link
CN (1) CN109151082A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110675614A (en) * 2019-08-30 2020-01-10 许昌许继软件技术有限公司 Transmission method of power monitoring data
CN111526082A (en) * 2020-03-19 2020-08-11 北京三快在线科技有限公司 Message sending method, device, message processing equipment, server and storage medium
CN111901386A (en) * 2020-06-30 2020-11-06 广东浪潮大数据研究有限公司 Method, system, equipment and readable storage medium for remote file processing
CN112217883A (en) * 2020-09-25 2021-01-12 苏州浪潮智能科技有限公司 Multi-channel construction method, device and system based on NFS protocol
CN112448968A (en) * 2019-08-28 2021-03-05 华为技术有限公司 Method for processing network request, related device and storage system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101690366A (en) * 2007-07-10 2010-03-31 高通股份有限公司 Control channel design to support one-to-one, many-to-one, and one-to-many peer-to-peer communications
CN103118098A (en) * 2013-01-25 2013-05-22 清华大学 Forecast based multi-connection mobile terminal interface switching method
CN103428893A (en) * 2013-07-30 2013-12-04 中国联合网络通信集团有限公司 Loading path establishing method, multiple-connection server and communication system
CN103634299A (en) * 2013-11-14 2014-03-12 北京邮电大学 Real-time stream media transmission terminal and method based on multi-connection
WO2018000644A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Multi-connection communication method and device

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101690366A (en) * 2007-07-10 2010-03-31 高通股份有限公司 Control channel design to support one-to-one, many-to-one, and one-to-many peer-to-peer communications
CN103118098A (en) * 2013-01-25 2013-05-22 清华大学 Forecast based multi-connection mobile terminal interface switching method
CN103428893A (en) * 2013-07-30 2013-12-04 中国联合网络通信集团有限公司 Loading path establishing method, multiple-connection server and communication system
CN103634299A (en) * 2013-11-14 2014-03-12 北京邮电大学 Real-time stream media transmission terminal and method based on multi-connection
WO2018000644A1 (en) * 2016-06-30 2018-01-04 华为技术有限公司 Multi-connection communication method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112448968A (en) * 2019-08-28 2021-03-05 华为技术有限公司 Method for processing network request, related device and storage system
CN112448968B (en) * 2019-08-28 2022-08-09 华为云计算技术有限公司 Method for processing network request, related device and storage system
CN110675614A (en) * 2019-08-30 2020-01-10 许昌许继软件技术有限公司 Transmission method of power monitoring data
CN111526082A (en) * 2020-03-19 2020-08-11 北京三快在线科技有限公司 Message sending method, device, message processing equipment, server and storage medium
CN111901386A (en) * 2020-06-30 2020-11-06 广东浪潮大数据研究有限公司 Method, system, equipment and readable storage medium for remote file processing
CN112217883A (en) * 2020-09-25 2021-01-12 苏州浪潮智能科技有限公司 Multi-channel construction method, device and system based on NFS protocol
CN112217883B (en) * 2020-09-25 2023-01-10 苏州浪潮智能科技有限公司 Multi-channel construction method, device and system based on NFS protocol

Similar Documents

Publication Publication Date Title
CN109151082A (en) A kind of multi-connection method for building up, device and system
CN107528891B (en) Websocket-based automatic clustering method and system
US6389129B1 (en) Interface for interfacing client programs with network devices in a telecommunications network
CN105450779B (en) The method of one household appliance connection multiserver
CN104486128B (en) A kind of system and method for realizing redundancy heartbeat between dual controller node
CN103888277A (en) Gateway disaster recovery backup method, apparatus and system
CN104468151A (en) System and method for keeping TCP (Transmission Control Protocol) session during cluster switching
CN110868278B (en) Method for dual-computer redundancy of communication front-end processor of rail transit comprehensive monitoring system
CN109391691A (en) The restoration methods and relevant apparatus that NAS is serviced under a kind of single node failure
CN106713036A (en) Fault processing method and system of mobile terminal payment system
CN1980232A (en) Telnet session maitenance method, telnet proxy and computer network system
CN113849127A (en) SAN storage dual-active network-based arbitration method and device and electronic equipment
EP2944073A2 (en) Method and system for the handling of redundant long poll
CN108667640B (en) Communication method and device, and network access system
CN116048538B (en) Service grid deployment method and device for DPU
CN111880932A (en) Data storage method and device based on multiple network ports
CN116192863A (en) Micro-service flow processing method, DPU service grid deployment method and system
CN115152192B (en) PCE controlled network reliability
CN112637337B (en) Data processing method and device
CN115244513A (en) Techniques for error handling in a task distribution system with an external pairing system
CN109039680B (en) Method and system for switching main Broadband Network Gateway (BNG) and standby BNG and BNG
CN101702670B (en) Internet dynamic MCU disaster recovery system and method thereof
CN114553741B (en) Intelligent path management and control method, device, equipment and storage medium
CN115426250B (en) Dual-machine hot standby switching method and device for target range command
CN114553900B (en) Distributed block storage management system, method and electronic equipment

Legal Events

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

Application publication date: 20190104

RJ01 Rejection of invention patent application after publication