CN106453601A - Client, server, file-level data sharing methods and system - Google Patents
Client, server, file-level data sharing methods and system Download PDFInfo
- Publication number
- CN106453601A CN106453601A CN201610956648.5A CN201610956648A CN106453601A CN 106453601 A CN106453601 A CN 106453601A CN 201610956648 A CN201610956648 A CN 201610956648A CN 106453601 A CN106453601 A CN 106453601A
- Authority
- CN
- China
- Prior art keywords
- fibre channel
- optical
- client
- service end
- carry
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/25—Arrangements specific to fibre transmission
- H04B10/2589—Bidirectional transmission
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1095—Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The present invention provides a client, a server, file-level data sharing methods and system. The client comprises a receiving module, a displaying module and a first optical fiber channel adaptor. The first optical fiber channel adaptor is used for sending a mounting request to an external server by using an optical fiber channel, receiving, through the optical fiber channel, a shared directory returned from the server according to the mounting request, and sending an access request received by the receiving module to the server by using the optical fiber channel, so as to access a corresponding shared file stored in the server. The displaying module is used for displaying the shared directory received by the first optical fiber channel adaptor. The receiving module is used for receiving an access request of accessing at least one shared file included in the shared directory. Through adoption of the client, the server, the file-level data sharing methods and system, the data transmission speed of the file-level data sharing process is improved.
Description
Technical field
The present invention relates to network communication technology field, more particularly to a kind of client, service end, the shared side of file-level data
Method and system.
Background technology
File-level data is shared, and refers to file as shared unit, so as to realize between server and multiple computers
File-sharing.At present, for example in field of traffic, multi-user's audio-visual system of automotive interior is exactly to realize video by server
File-level is shared.
At present, file-level data is shared, and mainly passes through NAS (Network Attached Storage, network connection formula
Storage) ethernet technology is based on, using ICP/IP protocol cluster, provide file-level data sharing functionality.
However, the transmission speed due to NAS based on Ethernet is not high, therefore, the shared process of file-level data is being carried out
In can expend for a long time, so as to user's request cannot be met well.
Content of the invention
Embodiments provide a kind of client, service end, file-level data sharing method and system, it is possible to increase
The transmission speed of data in file-level data shared procedure.
In a first aspect, a kind of client is embodiments provided, including:Receiver module, display module and the first light
Fine channel adapter, wherein,
First fibre channel adapter, for sending carry request by optical-fibre channel to outside service end, and
The service end is received by the optical-fibre channel share directory for returning is asked according to the carry;And pass through the optical fiber
The access request that the receiver module is received is sent to the service end by passage, with corresponding to being stored in the service end
Shared file conduct interviews;
The display module, for showing the share directory that first fibre channel adapter is received;
The receiver module, conducts interviews at least one shared file that the share directory includes for reception
Access request.
Preferably, the access request includes:At least one shared file is carried out consulting, deletes, moves and weight
Any one or more in name.
Preferably, first fibre channel adapter includes:First sends subelement and the first receiving subelement;
Described first sends subelement, for calling lower floor's nfsDirMount2 function of nfsMount2 function, by institute
State carry request and be transferred to the nfsDirMount2 function;By nfsDirMount2 function, carry request is saved in
In storage organization body, and the storage organization body is packaged in the form of FC-2 layer data frame;SendFc function is called, and
The storage organization body comprising carry request after encapsulation is sent to by the service end by the optical-fibre channel;
First receiving subelement, asks according to the carry for receiving the service end by the optical-fibre channel
The share directory for returning, the wherein share directory is encapsulated by the service end according to the FC-2 layer data frame.
Second aspect, embodiments provides a kind of file-level data sharing method, is applied to client, including:
Carry request is sent to outside service end by optical-fibre channel, so that the service end is asked according to the carry
Form share directory;
The service end is received by the optical-fibre channel share directory for returning is asked according to the carry;
Show the share directory;
Receive the access request conducted interviews by least one shared file that the share directory includes;
The access request is sent to by the service end by the optical-fibre channel, with to being stored in the service end
Corresponding shared file conducts interviews.
Preferably,
Described carry request is sent to outside service end by optical-fibre channel, including:
Lower floor's nfsDirMount2 function of nfsMount2 function is called, carry request is transferred to described
NfsDirMount2 function;
By nfsDirMount2 function, carry request is saved in storage organization body, and to the storage organization
Body is packaged in the form of FC-2 layer data frame;
Call sendFc function, and by the optical-fibre channel by the storage comprising carry request after encapsulation
Structure is sent to the service end;
The share directory for asking return by the optical-fibre channel reception service end according to the carry, bag
Include:
The service end is received according to carry request return according to the FC-2 number of plies by the optical-fibre channel
According to the share directory that frame is encapsulated by the service end.
The third aspect, embodiments provides a kind of service end, including:Catalogue forms module, processing module and the
Two fibre channel adapters, wherein,
Second fibre channel adapter, is sent at least one client outside being received by optical-fibre channel
Carry is asked, and by the optical-fibre channel, the share directory that the catalogue forms module formation is sent to described at least one
Client;And receive, by the optical-fibre channel, the access request that at least one client sends, and by the access
Request is sent to the processing module;
The catalogue forms module, for the carry request for being received according to second fibre channel adapter,
The corresponding share directory is formed, and the share directory is sent to second fibre channel adapter;
The processing module, for the access request for being received according to second fibre channel adapter, to institute
The shared file corresponding with the access request of storage is processed.
Preferably,
Second fibre channel adapter includes:Second receiving subelement and second sends subelement;
Second receiving subelement, for by least one described in the optical-fibre channel and the reception of receiveFc function
The carry request that individual client sends, wherein the carry request are saved in storage organization body, and according to FC-2 layer data frame
Form encapsulated by least one client;
Described second sends subelement, for being packaged to the share directory in the form of FC-2 layer data frame, and
The share directory after encapsulation is sent to by least one client by the optical-fibre channel.
Fourth aspect, embodiments provides a kind of file-level data sharing method, is applied to service end, including:
The carry request for being sent by least one client outside optical-fibre channel reception;
Asked according to the carry, form the corresponding share directory;
The share directory is sent to by least one client by the optical-fibre channel;
The access request that at least one client sends is received by the optical-fibre channel;
According to the access request, the shared file corresponding with the access request for being stored is processed.
Preferably,
The carry request that at least one client by outside optical-fibre channel reception sends, including:
The carry request that at least one client sends is received by the optical-fibre channel and receiveFc function,
Wherein carry request is saved in storage organization body, and according to the form of FC-2 layer data frame by least one client
End seal is filled;
Described asked according to the carry, form the corresponding share directory, including:
In the form of FC-2 layer data frame, the share directory is packaged, and after the optical-fibre channel will be encapsulated
The share directory be sent at least described at least one client.
5th aspect, embodiments provides a kind of file-level data shared system, including:At least one above-mentioned
Client, any of the above-described described service end and optical-fibre channel described in one, wherein,
The optical-fibre channel is connected with the service end and at least one client;
The optical-fibre channel, the carry request and the access for transmitting at least one client transmission please
Ask;And transmit the share directory that the service end sends.
A kind of client, service end, file-level data sharing method and system is embodiments provided, by with reality
Based on the shared NAS of existing file-level data, and the high bandwidth with reference to optical-fibre channel, namely the feature that data transmission bauds is fast,
So, carry out file-level data shared when, client is sent to the carry request of service end and access request, and service end
The share directory for being sent to client all can be transmitted in the optical-fibre channel of high bandwidth, this improves file-level data
Data transmission bauds in shared procedure.
Description of the drawings
In order to be illustrated more clearly that the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
Accompanying drawing to be used needed for technology description is had to be briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of structural representation of client that one embodiment of the invention is provided;
Fig. 2 is the structural representation of the first fibre channel adapter that one embodiment of the invention is provided;
Fig. 3 is a kind of structural representation of service end that one embodiment of the invention is provided;
Fig. 4 is the structural representation of the second fibre channel adapter that one embodiment of the invention is provided;
Fig. 5 is a kind of flow process of file-level data sharing method for being applied to client that one embodiment of the invention is provided
Figure;
Fig. 6 is a kind of flow process of file-level data sharing method for being applied to service end that one embodiment of the invention is provided
Figure;
Fig. 7 is a kind of structural representation of file-level data shared system that one embodiment of the invention is provided;
Fig. 8 is a kind of structural representation of file-level data shared system that another embodiment of the present invention is provided;
Fig. 9 is a kind of flow chart of file-level data sharing method that one embodiment of the invention is provided.
Specific embodiment
Purpose, technical scheme and advantage for making the embodiment of the present invention is clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
The a part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment for being obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, a kind of client is embodiments provided, the client, including:Receiver module 101, displaying
Module 102 and the first fibre channel adapter 103, wherein,
First fibre channel adapter 103, for sending carry request by optical-fibre channel to outside service end,
And the share directory that the service end asks return according to the carry is received by the optical-fibre channel;And pass through the light
The access request that the receiver module 101 is received is sent to the service end by fine passage, with to being stored in the service end
Upper corresponding shared file conducts interviews;
The display module 102, for showing described shared mesh that first fibre channel adapter 103 is received
Record;
The receiver module 101, visits at least one shared file that the share directory includes for receiving
The access request that asks.
In the embodiment shown in fig. 1, by based on realizing the shared NAS of file-level data and logical with reference to optical fiber
The high bandwidth in road, namely the feature that data transmission bauds is fast, so, carry out file-level data shared when, client is sent to
The carry request of service end and access request, and service end be sent to the share directory of client all can be in the optical fiber of high bandwidth
It is transmitted in passage, this improves the data transmission bauds in file-level data shared procedure.
In an embodiment of the invention, the access request includes:At least one shared file is carried out consulting,
Any one or more in deletion, mobile and renaming.
Wherein, shared file can be in the form of the Shared Folders or single document form is given, specifically
The form of being given can be selected according to user's request.
As shown in Fig. 2 in still another embodiment of the process, the first fibre channel adapter 103, including:First sends son
Unit 1031 and the first receiving subelement 1032;
Described first sends subelement 1031, for calling lower floor's nfsDirMount2 function of nfsMount2 function, with
Carry request is transferred to the nfsDirMount2 function;By nfsDirMount2 function, carry request is protected
It is stored in storage organization body, and the storage organization body is packaged in the form of FC-2 layer data frame;Call sendFc letter
Number, and the storage organization body comprising carry request after encapsulation is sent to by the service by the optical-fibre channel
End;
First receiving subelement 1032, for receiving the service end according to the carry by the optical-fibre channel
The share directory that request is returned, the wherein share directory is encapsulated by the service end according to the FC-2 layer data frame.
The explanation of value, in embodiments of the present invention, is that the file-level data that realizes based on optical-fibre channel is transmitted, should be pre-
First the first fiber adapter is set in client, is primarily used to need the carry for sending to ask and access request client,
It is sent in optical-fibre channel by first fiber adapter respectively, passes so as to the file-level data for realizing based on optical-fibre channel
Defeated establish hardware foundation.
And, five layers being had based on the fiber channel protocol of optical-fibre channel transmission, wherein, using more one layer is
FC-2 layer, i.e. fibre channel protocol layers, this layer is mainly responsible for the function such as the transmission of optical-fibre channel frame level data and sequence exchange,
And frame is the ultimate unit as optical-fibre channel data transfer.Therefore, in embodiments of the present invention, if client need to complete by
Carry request is sent to service end by optical-fibre channel, just in the form of FC-2 layer data frame, carry request need to be packaged.
Wherein, FC-2 layer data frame may include:Frame type, frame head, optional frame head, load, the check information of 4 bytes and frame end word
Symbol.
In addition, corresponding function realizes the transmission of fibre channel frame and connect in the first fibre channel adapter respectively
Receive, wherein, send function is responsible for the transmission of fibre channel frame, and receive function is responsible for the reception of fibre channel frame, that is,
Say, the send function that the carry request after being encapsulated in the form of FC-2 layer data frame passes through in the first fibre channel adapter is sent into
To in optical-fibre channel, and service end is received in optical-fibre channel by the receive function in the first fibre channel adapter
Send encapsulated in the form of the FC-2 layer data frame after share directory.
By the frame structure form according to the FC-2 layer in fiber channel protocol, the carry of client is asked with FC-2 layer
The form of Frame is packaged, and using the first fibre channel adapter, the carry request after encapsulation is sent to optical fiber and is led to
Road, the transmission that asks so as to the carry for realizing based on optical-fibre channel lays the foundation.
As shown in figure 3, a kind of service end is embodiments provided, the service end, including:Catalogue formation module 301,
Processing module 302 and the second fibre channel adapter 303, wherein,
Second fibre channel adapter 303, is sent out at least one client outside being received by optical-fibre channel
The carry request that send, and by the optical-fibre channel, the share directory that catalogue formation module 301 is formed is sent to described
At least one client;And the access request that at least one client sends is received by the optical-fibre channel, and will
The access request is sent to the processing module 302;
The catalogue forms module 301, and the carry for being received according to second fibre channel adapter please
Ask, the corresponding share directory is formed, and the share directory is sent to second fibre channel adapter 303;
The processing module 302, the access for being received according to second fibre channel adapter 303 please
Ask, the shared file corresponding with the access request for being stored is processed.
In the embodiment shown in fig. 3, by based on realizing the shared NAS of file-level data and logical with reference to optical fiber
The high bandwidth in road, namely the feature that data transmission bauds is fast, so, carry out file-level data shared when, service end can all be led to
The optical-fibre channel for crossing high bandwidth receives carry request and the access request that at least one client is sent, and service end can also be led to
The optical-fibre channel for crossing high bandwidth sends corresponding share directory at least one client, this improves file-level data altogether
Data transmission bauds during enjoying.
As shown in figure 4, in still another embodiment of the process, the second fibre channel adapter 303, including:Second receives son
Unit 3031 and second sends subelement 3032;
Second receiving subelement 3031, for described in being received by the optical-fibre channel and receiveFc function extremely
The carry request that a few client sends, wherein the carry request are saved in storage organization body, and according to the FC-2 number of plies
Encapsulated by least one client according to the form of frame;
Described second sends subelement 3032, for being sealed to the share directory in the form of FC-2 layer data frame
Dress, and the share directory after encapsulation is sent to by least one client by the optical-fibre channel.
In embodiments of the present invention, the carry that service end is sent according at least one client asks the shared mesh to be formed
Record, that is sent at least one client for realizing the share directory by optical-fibre channel, equally can be according to FC- mentioned above
2 layers of frame structure is packaged to the share directory, realizes the transmission of the share directory based on optical-fibre channel with this.That is specific
Implementation steps include:At least one client is received by the receive function in the second fibre channel adapter first to send
The carry request for being encapsulated in the form of the FC-2 layer data frame;Then the carry request after the encapsulation is unsealed;Root afterwards
Ask according to the carry that solution is honored as a queen, share directory is formed, and also according to the frame structure of FC-2 layer, the share directory is packaged;
Eventually through the send function in the second fibre channel adapter, the share directory after encapsulation is sent in optical-fibre channel, and then
Share directory after encapsulation is sent at least one client.
By the frame structure form according to the FC-2 layer in fiber channel protocol, to the share directory of service end with FC-2 layer
The form of Frame is packaged, and using the second fibre channel adapter, the share directory after encapsulation is sent to optical fiber and leads to
Road, so as to be laid the foundation based on the transmission of the share directory of optical-fibre channel for realization, and it is shared to carry out file-level data for it afterwards
Lay the foundation.
As shown in figure 5, a kind of file-level data sharing method is embodiments provided, client, the party is applied to
Method may include steps of:
Step 501:Carry request is sent to outside service end by optical-fibre channel, so that the service end is according to described
Carry asks to form share directory.
Step 502:The service end is received by the optical-fibre channel share directory for returning is asked according to the carry.
Step 503:Show the share directory.
Step 504:Receive the access request conducted interviews by least one shared file that the share directory includes.
Step 505:The access request is sent to by the service end by the optical-fibre channel, with described to being stored in
In service end, corresponding shared file conducts interviews.
By based on realizing the shared NAS of file-level data, and the high bandwidth with reference to optical-fibre channel, namely data are passed
Defeated fireballing feature, so, carry out file-level data shared when, client is sent to the carry request of service end and accesses
Request, and service end is sent to the share directory of client and all can be transmitted in the optical-fibre channel of high bandwidth, therefore, carries
Data transmission bauds in high file-level data shared procedure.
In an embodiment of the invention, in order to meeting the fiber-optic transfer agreement of optical-fibre channel, realize client to
Service end sends carry request and receives the share directory of service end transmission, and the specific embodiment of the step 501 includes:Adjust
With lower floor's nfsDirMount2 function of nfsMount2 function, carry request is transferred to the nfsDirMount2
Function;By nfsDirMount2 function, carry request is saved in storage organization body, and to the storage organization body
It is packaged in the form of FC-2 layer data frame;Call sendFc function, and by the optical-fibre channel by including after encapsulation
The storage organization body of the carry request is sent to the service end;The specific embodiment of the step 502 includes:Logical
Crossing the optical-fibre channel service end is received according to the according to the FC-2 layer data frame of carry request return
The share directory of service end encapsulation.
As shown in fig. 6, a kind of file-level data sharing method is embodiments provided, service end, the party is applied to
Method may include steps of:
Step 601:The carry request for being sent by least one client outside optical-fibre channel reception.
Step 602:Asked according to the carry, form the corresponding share directory.
Step 603:The share directory is sent to by least one client by the optical-fibre channel.
Step 604:The access request that at least one client sends is received by the optical-fibre channel.
Step 605:According to the access request, the shared file corresponding with the access request for being stored is carried out
Process.
By based on realizing the shared NAS of file-level data, and the high bandwidth with reference to optical-fibre channel, namely data are passed
Defeated fireballing feature, so, carry out file-level data shared when, service end all can be received by the optical-fibre channel of high bandwidth
Carry request and access request that at least one client is sent, and service end also can be by the optical-fibre channel of high bandwidth to extremely
A few client sends corresponding share directory, this improves the data transmission bauds in file-level data shared procedure.
In an embodiment of the invention, in order to meet the fiber-optic transfer agreement of optical-fibre channel, service termination is realized
Receive carry request and share directory, the tool of the step 601 is sent at least one client that at least one client sends
Body embodiment includes:The extension that at least one client sends is received by the optical-fibre channel and receiveFc function
Carry request, wherein carry request is saved in storage organization body, and according to the form of FC-2 layer data frame by described at least
One client encapsulation;The specific implementation step of the step 602 includes:To the shared mesh in the form of the FC-2 layer data frame
Record is packaged, and by the optical-fibre channel, the share directory after encapsulation is sent at least described at least one client
End.
As shown in fig. 7, embodiments providing a kind of file-level data shared system, the system includes:At least one
Individual any of the above-described described client 701, any of the above-described shown service end 702 and optical-fibre channel 703, wherein,
The optical-fibre channel 703 is connected with the service end 702 and at least one client 701;
The optical-fibre channel 703, the carry for transmitting at least one client 701 transmission is asked and described
Access request;And transmit the share directory that the service end 702 sends.
Below by with a kind of file-level being made up of customer end A, customer end B, service end C and optical-fibre channel shown in Fig. 8
As a example by data-sharing systems, a kind of file-level data sharing method provided in an embodiment of the present invention is described in detail, such as Fig. 9
Shown, the method may include steps of:
Step 901:Customer end A and customer end B send carry request by optical-fibre channel to service end C.
As shown in figure 8, a kind of file-level data shared system, including:Customer end A 8011, customer end B 8012, optical fiber are led to
Road 802 and service end C803, wherein, customer end A 8011, including:First fiber adapter 80111, display module 80112 and connect
Receipts module 80113, customer end B 8012, including:First fiber adapter 80121, display module 80122 and receiver module
80123, service end C803, including:Catalogue forms module 8031, the second fiber adapter 8032 and processing module 8033, and light
Fine passage 802 respectively with customer end A 8011 in the first fiber adapter 80111, the first fiber adapters in customer end B 8012
The second fiber adapter 8032 in device 80121 and service end C803 is connected.
In embodiments of the present invention, customer end A 8011 is by the first transmission subelement in the first fiber adapter 80111
801111 are packaged to carry request in the form of FC-2 layer data frame, and the carry after encapsulation is asked by optical-fibre channel
802 are sent to the second fiber adapter 8032 in service end C803;Customer end B 8012 passes through the first fiber adapter 80121
In the first transmission subelement 801211 carry request is packaged in the form of the FC-2 layer data frame, and by the extension after encapsulation
Carrying request, the second fiber adapter 8032 in service end C803 is sent to by optical-fibre channel 802;
In embodiments of the present invention, the specific implementation step of transmission carry request can be:Call nfsMount2 function
Lower floor's nfsDirMount2 function, carry request is transferred to the nfsDirMount2 function;Pass through
NfsDirMount2 function is saved in carry request in storage organization body, and to the storage organization body with the FC-2 number of plies
It is packaged according to the form of frame;SendFc function is called, and will be asked comprising the carry after encapsulation by the optical-fibre channel
The storage organization body that asks is sent to the service end.
Step 902:Service end C receives the carry request that customer end A and customer end B are sent by optical-fibre channel.
In the file-level data shared system shown in Fig. 8, by the second fiber adapter 8032 in service end C803
The second receiving subelement 80321 receive the first fiber adapter in customer end A 8011 respectively by optical-fibre channel 802
80111 and customer end B 8012 in the first fiber adapter 80121 send encapsulated in the form of the FC-2 layer data frame after
Carry request.
In embodiments of the present invention, the specific embodiment of reception carry request can be:By the optical-fibre channel and
ReceiveFc function receives the carry request that at least one client sends, and the wherein carry request is saved in storage
In structure, and encapsulated by least one client according to the form of FC-2 layer data frame.
Step 903:Service end C is asked according to carry, forms share directory L.
In embodiments of the present invention, when the second fiber adapter 8032 in service end C803 is received with FC-2 layer
After carry request after the form encapsulation of Frame, it is necessary first to the carry request is unsealed, then forms mould by catalogue
Block 8031 is asked according to the carry that 8032 solution of the second fiber adapter is honored as a queen, and forms share directory L.
For example, 3 Shared Folders are included in share directory L altogether, and again all comprising 3 lists in each Shared Folders
One shared file.
Step 904:Share directory L is sent to customer end A and customer end B by optical-fibre channel by service end C.
After the catalogue in service end C803 forms module 8031 and asks to be formed share directory L according to carry, can by this altogether
Enjoy catalogue L and the second fiber adapter 8032 is sent to, and by the second transmission subelement 80322 in the second fiber adapter 8032
In the form of FC-2 layer data frame, share directory L is packaged, finally by optical-fibre channel 802 by the shared mesh after encapsulation
Record L is sent respectively to the first fiber adapters in the first fiber adapter 80111 and the customer end B 8012 in customer end A 8011
Device 80121.
Step 905:Customer end A and customer end B receive the share directory L that service end C is sent by optical-fibre channel.
When the share directory L after encapsulation is sent to customer end A and customer end B by optical-fibre channel by service end C, respectively
By in the first receiving subelement 801112 and customer end B 8012 in the first fiber adapter 80111 in customer end A 8011
Share directory L after 801212 pairs of encapsulation of the first receiving subelement in first fiber adapter 80121 is received, Ran Houfen
The other share directory L to after encapsulation is unsealed.
Step 906:Customer end A and customer end B show share directory L to user 1 and user 2 respectively.
In embodiments of the present invention, after share directory L is received, customer end A 8011 can pass through display module 80112 to
User 1 shows 3 Shared Folders that share directory L includes;And customer end B 8012 can pass through display module 80122 to
User 2 shows 3 Shared Folders that share directory L includes, wherein, display module can be display etc..
Step 907:Receive user 1 and user 2 are common at least one of share directory L respectively for customer end A and customer end B
Enjoy access request a and access request b that file conducts interviews.
After showing, to user 1 and user 2,3 Shared Folders that share directory L includes respectively, customer end A 8011
The access request that by 80113 receive user 1 of receiver module, at least one of share directory L shared file can be conducted interviews
a;Customer end B 8012 can be carried out at least one of share directory L shared file by 80123 receive user 2 of receiver module
Access request b of access, for example, access request a be to first Shared Folders RNTO " a ", access request b be to
Two Shared Folders are deleted, and wherein, receiver module can be keyboard etc..
Step 908:Access request a and access request b are sent to by customer end A and customer end B respectively by optical-fibre channel
Service end C.
When receiver module 80113 and receiver module 80123 are respectively received first Shared Folders RNTO " a "
Access request a and second Shared Folders is deleted access request b when, the first fiber adapter can be passed through respectively
80111 and first fiber adapter 80121, corresponding access request a and access request b are sent to by optical-fibre channel 802
Second fiber adapter 8032.
Step 909:Service end C by optical-fibre channel receive access request a that customer end A and customer end B sent respectively and
Access request b.
Second fiber adapter 8032 receives access request a and the visit that customer end A 8011 and customer end B 8012 are sent respectively
Ask request b.
Step 910:Service end C, please with access request a and access to being stored according to access request a and access request b
The shared file for asking b corresponding is processed.
After the second fiber adapter 8032 receives access request a and access request b, can be by access request a and access
Request b is sent to processing module 8033, and has been asked according to access request a and access request b are corresponding by processing module 8033
First Shared Folders RNTO " a " and the place deleted by second Shared Folders in paired share directory L
Reason.
To sum up, each embodiment of the present invention at least has the advantages that:
1st, in embodiments of the present invention, by based on realizing the shared NAS of file-level data, and optical-fibre channel is combined
High bandwidth, namely the feature that data transmission bauds is fast, so, carry out file-level data shared when, client is sent to clothes
The carry request at business end and access request, and service end be sent to the share directory of client all can be logical in the optical fiber of high bandwidth
It is transmitted in road, this improves the data transmission bauds in file-level data shared procedure.
2nd, in embodiments of the present invention, it is possible to achieve at least one of share directory shared file is carried out consulting, deleted
Remove, the process of any one or more in mobile and renaming.
3rd, in embodiments of the present invention, by the frame structure form according to the FC-2 layer in fiber channel protocol, to client
The carry request at end is packaged in the form of FC-2 layer data frame, and using the first fibre channel adapter by the extension after encapsulation
Carry request and optical-fibre channel is sent to, the transmission that asks so as to the carry for realizing based on optical-fibre channel lays the foundation.
4th, in embodiments of the present invention, by the frame structure form according to the FC-2 layer in fiber channel protocol, to service
The share directory at end is packaged in the form of FC-2 layer data frame, and using the second fibre channel adapter by being total to after encapsulation
Enjoy catalogue and optical-fibre channel is sent to, so as to for realizing laying the foundation based on the transmission of the share directory of optical-fibre channel.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation is made a distinction with another entity or operation, and not necessarily require or imply between these entities or operation exist
Any this actual relation or order.And, term " including ", "comprising" or its any other variant are intended to non-
The including of exclusiveness, so that a series of process including key elements, method, article or equipment not only include those key elements,
But also other key elements including being not expressly set out, or also include solid by this process, method, article or equipment
Some key elements.In the absence of more restrictions, the key element for being limited by sentence " including a 〃 ", does not arrange
Remove and also there is other same factor in the process for including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:The all or part of step for realizing said method embodiment can pass through
The hardware of programmed instruction correlation is completing, and aforesaid program can be stored in the storage medium of embodied on computer readable, the program
Upon execution, the step of including said method embodiment is executed;And aforesaid storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
Last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, is merely to illustrate the skill of the present invention
Art scheme, is not intended to limit protection scope of the present invention.All any modifications that is made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. a kind of client, it is characterised in that include:Receiver module, display module and the first fibre channel adapter, wherein,
First fibre channel adapter, for sending carry request by optical-fibre channel to outside service end, and passes through
The optical-fibre channel receives the share directory that the service end is asked to return according to the carry;And by the optical-fibre channel
The access request that the receiver module is received is sent to the service end, with to being stored in the service end accordingly altogether
Enjoy file to conduct interviews;
The display module, for showing the share directory that first fibre channel adapter is received;
The receiver module, for receiving the access conducted interviews by least one shared file that the share directory includes
Request.
2. client according to claim 1, it is characterised in that
The access request includes:At least one shared file is carried out consulting, is deleted, any in mobile and renaming
One or more.
3. client according to claim 1, it is characterised in that
First fibre channel adapter includes:First sends subelement and the first receiving subelement;
Described first sends subelement, for calling lower floor's nfsDirMount2 function of nfsMount2 function, by the extension
Carry request and be transferred to the nfsDirMount2 function;Carry request is saved in by storage by nfsDirMount2 function
In structure, and the storage organization body is packaged in the form of FC-2 layer data frame;SendFc function is called, and is passed through
The storage organization body comprising carry request after encapsulation is sent to the service end by the optical-fibre channel;
First receiving subelement, returns according to carry request for receiving the service end by the optical-fibre channel
The share directory, the wherein share directory encapsulated by the service end according to the FC-2 layer data frame.
4. a kind of file-level data sharing method, it is characterised in that be applied to client, including:
Carry request is sent to outside service end by optical-fibre channel, so that the service end is asked to be formed according to the carry
Share directory;
The service end is received by the optical-fibre channel share directory for returning is asked according to the carry;
Show the share directory;
Receive the access request conducted interviews by least one shared file that the share directory includes;
The access request is sent to by the service end by the optical-fibre channel, with corresponding to being stored in the service end
Shared file conduct interviews.
5. file-level data sharing method according to claim 4, it is characterised in that
Described carry request is sent to outside service end by optical-fibre channel, including:
Lower floor's nfsDirMount2 function of nfsMount2 function is called, carry request is transferred to described
NfsDirMount2 function;
By nfsDirMount2 function by the carry request be saved in storage organization body, and to the storage organization body with
The form of FC-2 layer data frame is packaged;
Call sendFc function, and by the optical-fibre channel by the storage organization comprising carry request after encapsulation
Body is sent to the service end;
The share directory for asking return by the optical-fibre channel reception service end according to the carry, including:
The service end is received according to carry request return according to the FC-2 layer data frame by the optical-fibre channel
The share directory for being encapsulated by the service end.
6. a kind of service end, it is characterised in that include:Catalogue forms module, processing module and the second fibre channel adapter, its
In,
Second fibre channel adapter, for the carry that at least one client outside being received by optical-fibre channel is sent
Request, and the share directory that the catalogue forms module formation is sent to by least one client by the optical-fibre channel
End;And receive, by the optical-fibre channel, the access request that at least one client sends, and by the access request
It is sent to the processing module;And the signal that completes of feedback module generation is sent at least one client.
The catalogue forms module, for the carry request for being received according to second fibre channel adapter, is formed
The corresponding share directory, and the share directory is sent to second fibre channel adapter;
The processing module, for the access request for being received according to second fibre channel adapter, to being stored
The shared file corresponding with the access request processed.
7. service end according to claim 6, it is characterised in that
Second fibre channel adapter includes:Second receiving subelement and second sends subelement;
Second receiving subelement, for receiving at least one visitor by the optical-fibre channel and receiveFc function
The carry request that family end sends, wherein the carry request are saved in storage organization body, and the shape according to FC-2 layer data frame
Formula is encapsulated by least one client;
Described second sends subelement, for being packaged to the share directory in the form of FC-2 layer data frame, and passes through
The share directory after encapsulation is sent at least one client by the optical-fibre channel.
8. a kind of file-level data sharing method, it is characterised in that be applied to service end, including:
The carry request for being sent by least one client outside optical-fibre channel reception;
Asked according to the carry, form the corresponding share directory;
The share directory is sent to by least one client by the optical-fibre channel;
The access request that at least one client sends is received by the optical-fibre channel;
According to the access request, the shared file corresponding with the access request for being stored is processed.
9. method according to claim 8, it is characterised in that
The carry request that at least one client by outside optical-fibre channel reception sends, including:
The carry request that at least one client sends is received by the optical-fibre channel and receiveFc function, wherein
Carry request is saved in storage organization body, and according to the form of FC-2 layer data frame by least one client end seal
Dress;
Described asked according to the carry, form the corresponding share directory, including:
In the form of FC-2 layer data frame, the share directory is packaged, and by the optical-fibre channel by the institute after encapsulation
State share directory and be sent at least described at least one client.
10. a kind of file-level data shared system, it is characterised in that include:Arbitrary described at least one claims 1 to 3
Client, the service end described in claim 6 or 7 and optical-fibre channel, wherein,
The optical-fibre channel is connected with the service end and at least one client;
The optical-fibre channel, for the carry request for transmitting at least one client transmission and the access request;
And transmit the share directory that the service end sends.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610956648.5A CN106453601A (en) | 2016-10-25 | 2016-10-25 | Client, server, file-level data sharing methods and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610956648.5A CN106453601A (en) | 2016-10-25 | 2016-10-25 | Client, server, file-level data sharing methods and system |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106453601A true CN106453601A (en) | 2017-02-22 |
Family
ID=58179591
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610956648.5A Pending CN106453601A (en) | 2016-10-25 | 2016-10-25 | Client, server, file-level data sharing methods and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106453601A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107332934A (en) * | 2017-08-17 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of resource share method, service end, client and resource sharing system |
CN112559255A (en) * | 2020-12-25 | 2021-03-26 | 广州鼎甲计算机科技有限公司 | Method, system, device and storage medium for testing file mount recovery |
-
2016
- 2016-10-25 CN CN201610956648.5A patent/CN106453601A/en active Pending
Non-Patent Citations (1)
Title |
---|
杨颖: ""基于光纤通道的文件级数据共享系统的设计与实现"", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107332934A (en) * | 2017-08-17 | 2017-11-07 | 郑州云海信息技术有限公司 | A kind of resource share method, service end, client and resource sharing system |
CN112559255A (en) * | 2020-12-25 | 2021-03-26 | 广州鼎甲计算机科技有限公司 | Method, system, device and storage medium for testing file mount recovery |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6119121A (en) | Method of maintaining login service parameters | |
CN105518611B (en) | A kind of remote direct data access method, equipment and system | |
CN103119907B (en) | It is provided for the system and method for the smart group of access control | |
CN102739654B (en) | Method for realizing application program to access database | |
US9219638B2 (en) | Apparatus and method for applying network policy at a network device | |
CN106330782B (en) | Port capacity allocation method and device and switch service board card | |
US7200641B1 (en) | Method and system for encoding SCSI requests for transmission using TCP/IP | |
JP7084427B2 (en) | Network entities and methods for identifier assignment and / or identifier mapping for network services | |
CN102394935A (en) | Wireless shared storage system and wireless shared storage method thereof | |
CN107800743A (en) | Cloud desktop system, cloud management system and relevant device | |
CN110389935A (en) | A kind of method, equipment and computer storage medium starting small routine | |
CN108536617A (en) | Buffer memory management method, medium, system and electronic equipment | |
CN107835181A (en) | Right management method, device, medium and the electronic equipment of server cluster | |
CN103095859A (en) | Multi-domain-name dialogue information sharing method and system | |
CN109144969A (en) | For the data processing method of block chain network system, device and storage medium | |
CN106453601A (en) | Client, server, file-level data sharing methods and system | |
WO2011056261A1 (en) | Network switch | |
CN1409903A (en) | Encapsulation protocol for linking storage area networks over packet-based network | |
US9614910B2 (en) | Maintenance of a fabric priority among operations in related fibre channel exchanges | |
US8566948B2 (en) | Method and system for controlling access to logical unit of a storage device shared by computers | |
US20070130154A1 (en) | Dynamic connection establishment using an object link | |
WO2014073760A1 (en) | Set-top box based cloud service method | |
CN103618661A (en) | Data separation method and system | |
CN103077134A (en) | Method and device for achieving multi-pipe data transmission in embedded system | |
WO2023036617A1 (en) | Rlc channel management for low memory 5g devices |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170222 |
|
RJ01 | Rejection of invention patent application after publication |