CN105872077A - Cross-system file sharing method based on SMB protocol - Google Patents

Cross-system file sharing method based on SMB protocol Download PDF

Info

Publication number
CN105872077A
CN105872077A CN201610306897.XA CN201610306897A CN105872077A CN 105872077 A CN105872077 A CN 105872077A CN 201610306897 A CN201610306897 A CN 201610306897A CN 105872077 A CN105872077 A CN 105872077A
Authority
CN
China
Prior art keywords
smb
server
client
resource
shared
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
CN201610306897.XA
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.)
Guangxi University of Science and Technology
Original Assignee
Guangxi University of Science and Technology
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 Guangxi University of Science and Technology filed Critical Guangxi University of Science and Technology
Priority to CN201610306897.XA priority Critical patent/CN105872077A/en
Publication of CN105872077A publication Critical patent/CN105872077A/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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • 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
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • 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
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols 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]
    • 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
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/143Termination or inactivation of sessions, e.g. event-controlled end of session

Abstract

The invention discloses a cross-system file sharing method based on an SMB protocol. The method is aimed at solving the problems appearing during cross-system file sharing in the prior art. In the frequently-seen network environment, files are transmitted between hosts of different operation systems through FTP servers; due to the solution, the problem that files on the hosts can not be directly changed is caused; the breakpoint resume function and other functions are not supported, and transmission efficiency is low; the servers are small in capacity, too many resources are occupied, and the access number is often limited. By means of the SMB protocol, a server and client side sharing frame is established, and files can be well shared between different systems.

Description

A kind of cross-system file sharing method based on SMB agreement
Technical field
The present invention relates to file sharing method, in particular it relates to a kind of cross-system file-sharing side based on SMB agreement Method.
Background technology
In common network environment, between the main frame of different operating system, mutually transmission file is to pass through ftp server Realize.This kind of solution causes a problem, and the file on main frame cannot directly be changed.It is said differently and is exactly, if File data on Linux main frame to be revised the most first to download that file to client from server, the most just can revise, Therefore, this document can be concurrently present in client and server end.A problem will be caused, when user sky have changed portion File does not but upgrade in time shared source file, it will cause fileinfo inconsistent, and impact data from now on process correctness.And And the download of FTP and passback document method require relatively stricter, and not supporting the functions such as breakpoint transmission, efficiency of transmission is relatively low, and And its server capacity is less, takies resource more, it is simultaneously connected with quantity and often there is also restriction.
Summary of the invention
It is an object of the invention to, for the problems referred to above, propose a kind of cross-system file-sharing side based on SMB agreement Method, to realize the mutual convenient and advantage of synchronized update.
For achieving the above object, the technical solution used in the present invention is:
A kind of cross-system file sharing method based on SMB agreement, comprises the following steps:
101. different systems install SMB agreement becomes SMB client, and is respectively connecting to SMB server by SMB agreement;
102.SMB client is needed to share resource and is sent to SMB server;
103.SMB server is the resource Uniform Name shared of SMB client and is set to all be connected with this SMB server SMB client is shared and can be connected;
104. SMB clients are accessed by SMB server shares resource.
Further, the process accessing shared resource in step 104 is:
Step 1. protocol negotiation: SMB client sends negprot request data package order to SMB server, notification server its The SMB type supported, the situation that SMB server reflects according to client, respond this SMB data category, make response;
Step 2. is set up and is connected: SMB client confirms SMB conversation type, will send installation instruction bag, and submit account and password to, And requiring that SMB server sets up connection, if account and cipher authentication are passed through by SMB server, it will it is the loudest that words are set up Should, and distribute a unique UID for user, and using with during SMB client communication, certification is not passed through then to return not accept letter Breath;
Step 3. accesses shares resource: SMB client-access shares resource, sends tree and connects (tree connect) instruction bag, Notice its request content title of SMB server, SMB server is each SMB client and the linking of shared resource according to instruction Assign TID, SMB client-side to may have access to share resource synchronized update;
Step 4. interrupts linking: sharing and terminate, SMB client submits middle connection breaking (tree disconnect) to SMB server Instruction request is closed and is shared, and SMB server disconnects according to instruction and sharing.
Technical scheme has the advantages that
The cross-system file sharing method of various embodiments of the present invention, owing to including SMB agreement, it is possible to achieve the file of cross-system is altogether Enjoying, in solution reality network, between different system, file interaction complex steps and easy data exchange the most smooth problem.
Below by embodiment, technical scheme is described in further detail.
Detailed description of the invention
Hereinafter the preferred embodiments of the present invention are illustrated, it will be appreciated that preferred embodiment described herein is only used In the description and interpretation present invention, it is not intended to limit the present invention.
A kind of cross-system file sharing method based on SMB agreement, comprises the following steps:
101. different systems install SMB agreement becomes SMB client, and is respectively connecting to SMB server by SMB agreement;
102.SMB client is needed to share resource and is sent to SMB server;
103.SMB server is the resource Uniform Name shared of SMB client and is set to all be connected with this SMB server SMB client is shared and can be connected;
104. SMB clients are accessed by SMB server shares resource.
Further, the process accessing shared resource in step 104 is:
Step 1. protocol negotiation: SMB client sends negprot request data package order to SMB server, notification server its The SMB type supported, the situation that SMB server reflects according to client, respond this SMB data category, make response;
Step 2. is set up and is connected: SMB client confirms SMB conversation type, will send installation instruction bag, and submit account and password to, And requiring that SMB server sets up connection, if account and cipher authentication are passed through by SMB server, it will it is the loudest that words are set up Should, and distribute a unique UID for user, and using with during SMB client communication, certification is not passed through then to return not accept letter Breath;
Step 3. accesses shares resource: SMB client-access shares resource, sends tree and connects (tree connect) instruction bag, Notice its request content title of SMB server, SMB server is each SMB client and the linking of shared resource according to instruction Assign TID, SMB client-side to may have access to share resource synchronized update;
Step 4. interrupts linking: sharing and terminate, SMB client submits middle connection breaking (tree disconnect) to SMB server Instruction request is closed and is shared, and SMB server disconnects according to instruction and sharing.
In modern network builds, decentration structure more receives welcome, so the SMB server in the design can be adopted With virtual server architecture, the residual memory space of each client is used, sets up Cloud Server, by reasonable utilization This system resource, the most further, is directly labeled as server literary composition in SMB agreement by the file that each client is shared Part, is redirected to this document service document list, and this document is added semaphore control system, it is achieved shared and synchronization Function.
Finally it is noted that the foregoing is only the preferred embodiments of the present invention, it is not limited to the present invention, Although being described in detail the present invention with reference to previous embodiment, for a person skilled in the art, it still may be used So that the technical scheme described in foregoing embodiments to be modified, or wherein portion of techniques feature is carried out equivalent. All within the spirit and principles in the present invention, any modification, equivalent substitution and improvement etc. made, should be included in the present invention's Within protection domain.

Claims (2)

1. a cross-system file sharing method based on SMB agreement, it is characterised in that comprise the following steps:
101. different systems install SMB agreement becomes SMB client, and is respectively connecting to SMB server by SMB agreement;
102.SMB client is needed to share resource and is sent to SMB server;
103.SMB server is the resource Uniform Name shared of SMB client and is set to all be connected with this SMB server SMB client is shared and can be connected;
SMB client is accessed by SMB server shares resource.
Cross-system file sharing method based on SMB agreement the most according to claim 1, it is characterised in that in step 104 The process accessing shared resource is:
Step 1. protocol negotiation: SMB client sends negprot request data package order to SMB server, notification server its The SMB type supported, the situation that SMB server reflects according to client, respond this SMB data category, make response;
Step 2. is set up and is connected: SMB client confirms SMB conversation type, will send installation instruction bag, and submit account and password to, And requiring that SMB server sets up connection, if account and cipher authentication are passed through by SMB server, it will it is the loudest that words are set up Should, and distribute a unique UID for user, and using with during SMB client communication, certification is not passed through then to return not accept letter Breath;
Step 3. accesses shares resource: SMB client-access shares resource, sends tree link order bag, notifies SMB server Its request content title, SMB server assigns TID, SMB visitor according to the linking that instruction is each SMB client and shared resource Family end can access shared resource synchronized update;
Step 4. interrupts being connected: shares and terminates, and SMB client is submitted interruption link order request closedown to SMB server and shared, SMB server disconnects according to instruction and sharing.
CN201610306897.XA 2016-05-11 2016-05-11 Cross-system file sharing method based on SMB protocol Pending CN105872077A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610306897.XA CN105872077A (en) 2016-05-11 2016-05-11 Cross-system file sharing method based on SMB protocol

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610306897.XA CN105872077A (en) 2016-05-11 2016-05-11 Cross-system file sharing method based on SMB protocol

Publications (1)

Publication Number Publication Date
CN105872077A true CN105872077A (en) 2016-08-17

Family

ID=56631610

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610306897.XA Pending CN105872077A (en) 2016-05-11 2016-05-11 Cross-system file sharing method based on SMB protocol

Country Status (1)

Country Link
CN (1) CN105872077A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
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
CN107786621A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 A kind of user information management method, access processing method and device and system
CN112333257A (en) * 2020-10-28 2021-02-05 厦门美亚亿安信息科技有限公司 Transparent access method and system for remote files
CN113032829A (en) * 2021-03-26 2021-06-25 山东英信计算机技术有限公司 Multichannel concurrent file authority management method, device, server and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594926A (en) * 2011-12-22 2012-07-18 华中科技大学 Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method
CN103345482A (en) * 2013-06-20 2013-10-09 上海爱数软件有限公司 Network storage system and file access conflict processing method thereof
CN103546574A (en) * 2013-10-30 2014-01-29 中国航空工业集团公司第六三一研究所 Onboard embedded network file access control method based on static allocation list
CN103777981A (en) * 2014-01-13 2014-05-07 中南大学 Multi-operation-system remote loading implementation method suitable for X86 framework
CN103795750A (en) * 2012-10-31 2014-05-14 中国银联股份有限公司 File transmitting method and a system thereof

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102594926A (en) * 2011-12-22 2012-07-18 华中科技大学 Heterogeneous wireless peer-to-peer (P2P) network file sharing system and file transmission acceleration method
CN103795750A (en) * 2012-10-31 2014-05-14 中国银联股份有限公司 File transmitting method and a system thereof
EP2916522A1 (en) * 2012-10-31 2015-09-09 China Unionpay Co., Ltd. File transmission method and system thereof
US20150304392A1 (en) * 2012-10-31 2015-10-22 China Unionpay Co., Ltd. File transmission method and system thereof
CN103345482A (en) * 2013-06-20 2013-10-09 上海爱数软件有限公司 Network storage system and file access conflict processing method thereof
CN103546574A (en) * 2013-10-30 2014-01-29 中国航空工业集团公司第六三一研究所 Onboard embedded network file access control method based on static allocation list
CN103777981A (en) * 2014-01-13 2014-05-07 中南大学 Multi-operation-system remote loading implementation method suitable for X86 framework

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
何强: "《利用Samba实现Linux和Windows文件共享》", 《长沙大学学报》 *
崔小霞: "《基于IP的海量存储技术研究与实现》", 《中国优秀硕士学位论文全文数据库(信息科技辑)》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107786621A (en) * 2016-08-31 2018-03-09 阿里巴巴集团控股有限公司 A kind of user information management method, access processing method and device and system
CN107332934A (en) * 2017-08-17 2017-11-07 郑州云海信息技术有限公司 A kind of resource share method, service end, client and resource sharing system
CN112333257A (en) * 2020-10-28 2021-02-05 厦门美亚亿安信息科技有限公司 Transparent access method and system for remote files
CN112333257B (en) * 2020-10-28 2023-12-05 厦门美亚亿安信息科技有限公司 Transparent access method and system for remote file
CN113032829A (en) * 2021-03-26 2021-06-25 山东英信计算机技术有限公司 Multichannel concurrent file authority management method, device, server and medium
CN113032829B (en) * 2021-03-26 2022-06-10 山东英信计算机技术有限公司 Multichannel concurrent file authority management method, device, server and medium

Similar Documents

Publication Publication Date Title
CN108108223B (en) Kubernetes-based container management platform
US10623272B2 (en) Authenticating connections and program identity in a messaging system
US9094400B2 (en) Authentication in virtual private networks
CN107864217B (en) Cloud desktop intelligent pushing system
RU2683620C1 (en) Method of the data sharing implementation between the client and the virtual desktop, the client and the system
CN105872077A (en) Cross-system file sharing method based on SMB protocol
CN112235285B (en) Method and system for user authentication mode and service based on non-session
CN102333065A (en) Cloud interaction protocol design
CN113014847B (en) Method and system for realizing audio and video communication based on hybrid cloud architecture
US20180199105A1 (en) Multi-screen control method and device
US9864856B2 (en) Efficient hardware trust verification in data communication systems that comprise network interface cards, central processing units, and data memory buffers
US20190288922A1 (en) System and methods for scalable cloud-based platform and related applications
US20230109231A1 (en) Customizable network virtualization devices using multiple personalities
KR102110099B1 (en) System for providing cloud service based on container
CN101908967B (en) Configuration method and system of Linux virtual server
Cui et al. A survey on secure deployment of mobile services in edge computing
US20210105227A1 (en) Communication system and bandwidth control method
CN112583655B (en) Data transmission method and device, electronic equipment and readable storage medium
CN103475491A (en) Remote maintenance system which is logged in to safely without code and achieving method
US11595871B2 (en) Systems and methods for securely sharing context between MEC clusters
US10977069B2 (en) Systems and methods for performing virtual machine updates without rebuild of distributed databases thereon
US20200412577A1 (en) Provider network connectivity to provider network substrate extensions
CN112929319A (en) Content service method, system, apparatus and computer-readable storage medium
CN202309766U (en) Online service system based on activity catalog verification
CN104009864B (en) A kind of cloud management platform

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20160817