CN113407510A - Data sharing system - Google Patents

Data sharing system Download PDF

Info

Publication number
CN113407510A
CN113407510A CN202110690641.4A CN202110690641A CN113407510A CN 113407510 A CN113407510 A CN 113407510A CN 202110690641 A CN202110690641 A CN 202110690641A CN 113407510 A CN113407510 A CN 113407510A
Authority
CN
China
Prior art keywords
file
protocol
afp
client
data
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
CN202110690641.4A
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.)
Beijing Udsafe Technology Co ltd
Original Assignee
Beijing Udsafe 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 Beijing Udsafe Technology Co ltd filed Critical Beijing Udsafe Technology Co ltd
Priority to CN202110690641.4A priority Critical patent/CN113407510A/en
Publication of CN113407510A publication Critical patent/CN113407510A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/176Support for shared access to files; File sharing support
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/182Distributed file systems
    • G06F16/1824Distributed file systems implemented using Network-attached Storage [NAS] architecture
    • G06F16/183Provision of network file services by network file servers, e.g. by using NFS, CIFS

Abstract

The invention discloses a data sharing system. The data sharing system includes: client, file system and file storage AFP protocol; establishing communication connection between the client and the file system through the file storage AFP protocol; the client accesses the file system through the file storage AFP protocol to write data to be stored into the file system; the file system reads the client via the file storage AFP protocol to read the stored data. The embodiment of the invention writes data and reads data in an AFP (automatic data processing) protocol mode, thereby solving the technical problem of data storage access of the apple client and achieving the purpose of data sharing in a file storage space.

Description

Data sharing system
Technical Field
The embodiment of the invention relates to a data processing technology, in particular to a data sharing system.
Background
The coming of the data era leads the total amount and the generation speed of unstructured data to far exceed those of structured data, and unstructured data management also becomes the center of gravity of information management. On the premise of providing sufficient storage space and storage performance, unique design and optimization are needed for file management. Most of File storage protocols used in conventional storage are Common Internet File System (CIFS), Network File System (NFS), File Transfer Protocol (FTP), hypertext Transfer Protocol (HTTP), and the like, and for access of different clients to File storage, NAS is required to support various client compatibilities, and the problem of different client requirements is solved. However, how to solve the defect of the apple client for data storage access is a problem to be solved urgently.
Disclosure of Invention
In view of this, the present invention provides a data sharing system, which achieves the effect of sharing data in a file storage space in an apple client, and solves the technical problem of data storage access of the apple client.
In a first aspect, an embodiment of the present invention provides a data sharing system, including: client, file system and file storage AFP protocol; establishing communication connection between the client and the file system through the file storage AFP protocol;
the client accesses the file system through the file storage AFP protocol to write data to be stored into the file system; the file system reads the client via the file storage AFP protocol to read the stored data.
The embodiment of the invention discloses a data sharing system.A client accesses a file system through a file storage AFP protocol to write data to be stored into the file system; the file system reads the client through the file storage AFP protocol to read the stored data, so that the data can be written in and read through the AFP protocol, the technical problem of data storage access of the apple client is solved, and the purpose of data sharing in a file storage space is achieved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
FIG. 1 is a schematic diagram of a client accessing a file store provided in the prior art;
fig. 2 is a block diagram of a data sharing system according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a client accessing a file store according to an embodiment of the present invention;
fig. 4 is a schematic display diagram of a connection server according to an embodiment of the present invention;
FIG. 5 is a schematic illustration of a display of a login interface provided by an embodiment of the present invention;
FIG. 6 is a schematic diagram of a display of a file storage share according to an embodiment of the present invention;
fig. 7 is a schematic structural diagram of another data sharing system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
The traditional clients for file storage are mainly Windows clients and Linux clients, and the clients of the two operating systems are suitable for CIFS, NFS and FTP protocols for accessing file storage and can intuitively and quickly access server file storage information. But has the disadvantage of requiring more clients to be compatible for file storage access management.
Fig. 1 is a schematic diagram of a client accessing a file store provided in the prior art. As shown in fig. 1, when data needs to be accessed, the Windows client and the Linux client may read, write, and configure the stored data through corresponding storage protocol commands.
The Mac client accesses the file storage of the server (namely a file system) through a specific AFP protocol, and the server is configured with Natatalk so that the client can perform protocol conversion access on the file storage. The file storage sharing configuration can be set, file storage required by the setting can be flexibly carried out, after the server is successfully set, the client can carry out storage and quickly search data, and unstructured data can be stored.
In view of this, embodiments of the present invention provide a data sharing system, which implements a technology that NAS file storage supports multiple client type accesses, and by using the technology, MAC access to file storage of a client is added, and data is written and read by using an AFP protocol. The AFP protocol is English, namely Apple Filing protocol, also called Apple file protocol or Apple Filing protocol, is a proprietary network protocol, and in the MacOS, supports characteristics such as Unicode file name, POSIX and access control table authority, resource branch, extended attribute name and advanced file locking for one of a plurality of supported file services. The AFP protocol requires a netaddress communication protocol suite for Unix-like systems to make Mac-like file servers, print servers, and the like. The method can replace CIFS, NFS and FTP file storage access abnormity in the process of sharing the file with the server by a Mac in the local area network, and an AFP protocol provided by Apple is used for accessing the file storage of the server.
Fig. 2 is a block diagram of a data sharing system according to an embodiment of the present invention, where the embodiment is applicable to a case of sharing data, and the data sharing system may be implemented in a software and/or hardware manner. As shown in fig. 2, the data sharing system in this embodiment includes: client 110, file system 120, and file storage AFP protocol 130; the client 110 and the file system 120 establish communication connection through a file storage AFP protocol 130;
client 110 accesses the file system via file store AFP protocol 130 to write the data to be stored to file system 120; the file system 120 reads the client 110 via the file storage AFP protocol 130 to read the stored data.
In an embodiment, the client 110 may be a client of the MAC, referred to as a MAC client. The MAC client accesses the file system through a specific file storage AFP protocol 130 to realize the writing of data; in addition, the file system 120 can read the MAC client through the file storage AFP protocol 130 by using the Natatalk protocol configured by itself to realize data reading, and realize reading and writing operations on unstructured data, thereby facilitating file storage management for more users.
According to the technical scheme of the embodiment, a client accesses a file system through the file storage AFP protocol to write data to be stored into the file system; the file system reads the client through the file storage AFP protocol to read the stored data, so that the data can be written in and read through the AFP protocol, the technical problem of data storage access of the apple client is solved, and the purpose of data sharing in a file storage space is achieved.
In one embodiment, file system 120 configures the Natatalk protocol for client 110 to have protocol-converted access to the file store. The Natatalk protocol is an implementation of a free-source AppleTalk communication protocol, and a Linux operating system or a Berkeley Software Distribution (BSD) operating system can serve as a File Server (AFP) of a Mac system through the Natatalk protocol.
In one embodiment, the file storage AFP protocol 130 consists of Natatalk software;
client 110 access is supported by configuring the Natatalk configuration file to be deployed to a file system 120 provided at the file system level.
In one embodiment, the client 110 supports access by one of the following protocols: a common network file system CIFS protocol; file transfer protocol, FTP; network file system NFS protocol; hypertext transfer protocol HTTP protocol; the AFP protocol. It should be noted that, the unified storage space in the data sharing system in this embodiment not only supports the CIFS protocol, the NFS protocol, the FTP protocol, the HTTP protocol, and the like, but also supports the AFP protocol to deploy the file storage service. It can also be understood that the data sharing system in this embodiment supports a Mac operating system to access CIFS, FTP, NFS, and HTTP file storage, and supports a file storage protocol access specific to the Mac operating system in the case of an abnormal access to other protocols, so that flexibility of accessing data by a user is achieved, and thus data in a conventional storage space is accessed, that is, data migration is not required. In addition, the data sharing system in this embodiment configures the configuration file shared by the existing file storage, so that the client can conveniently access the file storage to perform read-write configuration of data.
In one embodiment, file system 120 supports the file storage AFP protocol.
In one embodiment, the file system 120 supports a configuration of the file storage AFP protocol, including: configuring an access mode supported in a configuration file and a path configuration file in a server sharing configuration file; the Natatalk service is restarted so that the file system 120 supports the file storage AFP protocol.
Illustratively, the configuration process of the file system 120 for the shared supporting file storage AFP protocol includes the following:
configure/etc/afp
uam list=uams_guest.so,uams_dhx.so,uams_dhx2.so,
include=/path/share.afpconf
And the uam list in the configuration file refers to a supported access mode, can be set to be accessed anonymously or accessed in a designated user mode, and is added with xx.
Wherein, include is the server side shared configuration file, records the file shared data storage path
Configuration/path/share
[share]
path=/afp/path
The netaddress service is restarted.
In one embodiment, the access pattern includes one of: anonymous access; and a user mode is appointed for access.
In one embodiment, the file system 120 includes one of: an ext3 file system, an ext4 file storage system, an xfs file storage system, an ntfs file system, a zfs file system, a brtfs file system, and a glusterfs file system.
In one embodiment, the client 110 includes one of: a MAC desktop all-in-one machine; MAC notebook computer.
In one embodiment, the data to be stored and the stored data each comprise one of: unstructured data; the data is structured. It can be understood that the data sharing system in this embodiment can access unstructured data as well as structured data.
Fig. 3 is a schematic diagram of a client accessing a file store according to an embodiment of the present invention. As shown in fig. 3, the client accesses the file stored in the file system through the AFP protocol, that is, performs access to the file storage. In an actual operation process, if the client 110 is a MAC OSX system, the configuration process for data sharing includes the following steps:
finder- > go- > connect the server, connect and visit the storage server IP, namely can visit the storage service shared data. It is understood that clicking on the Finder file in the file then goes to pop up the display interface of the connection server. Fig. 4 is a schematic display diagram of a connection server according to an embodiment of the present invention. As shown in fig. 4, the user may pop up the display interface connected to the server through the above steps, and input the IP address of the server in the column of the server address, so as to access the shared data of the storage service.
If current uam is set as anonymous access module, login is in the identity of the guest. Fig. 5 is a schematic display diagram of a login interface according to an embodiment of the present invention. As shown in fig. 5, if the MAC client current uam is configured as an anonymous access module, the user logs in with the identity of the guest, i.e., selects "guest" on the interface shown in fig. 5, and then clicks on the "connect" button to complete the communication connection between the MAC client and the file system 120. Read and write operations may be performed on the shared data in the file system 120 after login. Fig. 6 is a schematic display diagram of a file storage share according to an embodiment of the present invention. As shown in fig. 6, after the user logs in, the user can click "test 2" on the display interface of the file storage share to perform the read/write operation on the shared data in the file system 120. The shared data in the file system 120 may include unstructured data or structured data, which is not limited to this.
Fig. 7 is a schematic structural diagram of another data sharing system according to an embodiment of the present invention. As shown in fig. 7, the data sharing system includes, by a sharing technique of a MAC access file storage protocol: client, file system, file storage AFP protocol.
The client is a user file service access program and is used for accessing the storage file system through a file storage AFP protocol.
The file system is a file system required by file storage protocol deployment, can be ext3, ext4, xfs, ntfs, zfs, brtfs, glusterfs and the like, and can provide basic storage service according to storage protocol selection used by actual services of users.
The file storage AFP protocol 130 is composed of Natatalk software, and is deployed in the file system 120 provided in the file system layer by configuring a Natatalk configuration file, and supports client access.
The client 110 may be an MAC computer, and accesses the set AFP share to perform read-write operation on file storage.
The data sharing system in the embodiment enriches the compatibility of the NAS product client, facilitates file storage management for more clients, and improves the competitiveness of the product.
It should be noted that, in the embodiment of the data sharing system, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A data sharing system, comprising: client, file system and file storage AFP protocol; establishing communication connection between the client and the file system through the file storage AFP protocol;
the client accesses the file system through the file storage AFP protocol to write data to be stored into the file system; the file system reads the client via the file storage AFP protocol to read the stored data.
2. The system of claim 1, wherein the file system configures a Natatalk protocol for the client to have protocol-converted access to the file store.
3. A system according to claim 1, characterized in that said file storage AFP protocol consists of Natatalk software;
and supporting the client access by configuring a Natatalk configuration file so as to deploy a file system provided at the file system layer.
4. The system of claim 1, wherein the client supports access by one of the following protocols: a common network file system CIFS protocol; file transfer protocol, FTP; network file system NFS protocol; hypertext transfer protocol HTTP protocol; the AFP protocol.
5. The system of claim 1, wherein the file system supports a file storage (AFP) protocol.
6. The system of claim 1, wherein the file system supports a configuration of a file storage (AFP) protocol, comprising:
configuring an access mode supported in a configuration file and a path configuration file in a server sharing configuration file;
the Natatalk service is restarted so that the file system supports the file store AFP protocol.
7. The system of claim 6, wherein the access pattern comprises one of: anonymous access; and a user mode is appointed for access.
8. The system of any of claims 1-7, wherein the file system comprises one of: an ext3 file system, an ext4 file storage system, an xfs file storage system, an ntfs file system, a zfs file system, a brtfs file system, and a glusterfs file system.
9. The system according to any of claims 1-7, wherein said client comprises one of: a MAC desktop all-in-one machine; MAC notebook computer.
10. The system according to any of claims 1-7, wherein said data to be stored and said stored data each comprise one of: unstructured data; the data is structured.
CN202110690641.4A 2021-06-22 2021-06-22 Data sharing system Pending CN113407510A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110690641.4A CN113407510A (en) 2021-06-22 2021-06-22 Data sharing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110690641.4A CN113407510A (en) 2021-06-22 2021-06-22 Data sharing system

Publications (1)

Publication Number Publication Date
CN113407510A true CN113407510A (en) 2021-09-17

Family

ID=77682345

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110690641.4A Pending CN113407510A (en) 2021-06-22 2021-06-22 Data sharing system

Country Status (1)

Country Link
CN (1) CN113407510A (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019115A (en) * 2004-03-18 2007-08-15 安德鲁·彼得·利布曼 A novel media file access and storage solution for multi-workstation/multi-platform non-linear video editing systems
CN101252585A (en) * 2007-05-08 2008-08-27 飞塔信息科技(北京)有限公司 Method and system for content filtering of data using remote file system access protocol
CN103685579A (en) * 2014-01-13 2014-03-26 浪潮(北京)电子信息产业有限公司 Shared access method of cluster NAS (network attached storage) system
CN104125235A (en) * 2014-08-11 2014-10-29 浪潮电子信息产业股份有限公司 Integrated multi-protocol storage method
CN107272549A (en) * 2016-04-07 2017-10-20 欧姆龙株式会社 Control device, control method and program

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101019115A (en) * 2004-03-18 2007-08-15 安德鲁·彼得·利布曼 A novel media file access and storage solution for multi-workstation/multi-platform non-linear video editing systems
CN101252585A (en) * 2007-05-08 2008-08-27 飞塔信息科技(北京)有限公司 Method and system for content filtering of data using remote file system access protocol
CN103685579A (en) * 2014-01-13 2014-03-26 浪潮(北京)电子信息产业有限公司 Shared access method of cluster NAS (network attached storage) system
CN104125235A (en) * 2014-08-11 2014-10-29 浪潮电子信息产业股份有限公司 Integrated multi-protocol storage method
CN107272549A (en) * 2016-04-07 2017-10-20 欧姆龙株式会社 Control device, control method and program

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
机械狮: "MAC如何和树莓派共享目录,详细步骤设置RaspberryPi AFP服务器", pages 1 - 14, Retrieved from the Internet <URL:《https://www.labno3.com/2021/03/23/how-to-setup-a-raspberry-pi-afp-server/》> *

Similar Documents

Publication Publication Date Title
US11698885B2 (en) System and method for content synchronization
EP2976871B1 (en) Local server for synced online content management system
CN106537881B (en) Method and computing equipment for allowing synchronous access to cloud storage system based on stub tracking
JP6426846B2 (en) System-on-chip with reconfigurable resources for multiple computer subsystems
US10725976B2 (en) Fast recovery using self-describing replica files in a distributed storage system
US7668924B1 (en) Methods and system for integrating SAN servers
CN109684282B (en) Method and device for constructing metadata cache
US20070112812A1 (en) System and method for writing data to a directory
JP2010518490A (en) Synchronization framework for irregularly connected applications
CN106713493B (en) System and method for constructing distributed file in computer cluster environment
US8572201B2 (en) System and method for providing a directory service network
CN108427677B (en) Object access method and device and electronic equipment
US20070106815A1 (en) System and method for routing directory service operations in a directory service network
CN103078898A (en) File system, interface service device and data storage service provision method
CN113032099B (en) Cloud computing node, file management method and device
CN112148678A (en) File access method, system, device and medium
CN106648838B (en) Resource pool management configuration method and device
US10200320B2 (en) Import content items from email
CN113407510A (en) Data sharing system
US9922031B2 (en) System and method for efficient directory performance using non-persistent storage
US8650548B2 (en) Method to derive software use and software data object use characteristics by analyzing attributes of related files
CN108632351B (en) Information exchange system
US10712959B2 (en) Method, device and computer program product for storing data
CN116991815B (en) Log collection method, device, equipment and medium of distributed storage system
US20210318988A1 (en) Shared storage file system mechanism

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