CN107656704A - Multi-protocol data shares storage method, device, equipment and computer-readable storage medium - Google Patents

Multi-protocol data shares storage method, device, equipment and computer-readable storage medium Download PDF

Info

Publication number
CN107656704A
CN107656704A CN201710899984.5A CN201710899984A CN107656704A CN 107656704 A CN107656704 A CN 107656704A CN 201710899984 A CN201710899984 A CN 201710899984A CN 107656704 A CN107656704 A CN 107656704A
Authority
CN
China
Prior art keywords
data
storage
agreement
under
converted
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
CN201710899984.5A
Other languages
Chinese (zh)
Inventor
白学余
海鑫
高四辈
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Zhengzhou Yunhai Information Technology Co Ltd
Original Assignee
Zhengzhou Yunhai Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710899984.5A priority Critical patent/CN107656704A/en
Publication of CN107656704A publication Critical patent/CN107656704A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0608Saving storage space on storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0628Interfaces specially adapted for storage systems making use of a particular technique
    • G06F3/0655Vertical data movement, i.e. input-output transfer; data movement between one or more hosts and one or more storage devices
    • G06F3/0661Format or protocol conversion arrangements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/067Distributed or networked storage systems, e.g. storage area networks [SAN], network attached storage [NAS]

Abstract

The invention discloses a kind of multi-protocol data to share storage method, and the present invention includes receiving the communication data based on different storage agreements;Each communication data is converted into the data under default storage agreement;By the data storage under each default storage agreement to the first memory space;Receive the instruction of the data under the default storage agreement of reading that user sends;Data under default storage agreement are converted into the data under the corresponding storage agreement of instruction;The data under corresponding storage agreement will be instructed to be sent to user.Utilize the present invention, data based on different storage agreements are converted into the data under default storage agreement, and the data after conversion are all stored into same memory space, data in the memory space can be simultaneously by other multiple protocol access, therefore a data only need to deposit a can in the memory space, therefore The present invention reduces carrying cost.The invention also discloses a kind of multi-protocol data sharing and storing device, equipment and computer-readable storage medium.

Description

Multi-protocol data shares storage method, device, equipment and computer-readable storage medium
Technical field
The present invention relates to the unified technical field of memory of distribution, storage side is shared more particularly to a kind of multi-protocol data Method.The invention further relates to a kind of multi-protocol data sharing and storing device, equipment and computer-readable storage medium.
Background technology
Distributed unified storage system because its can provide simultaneously file storage, block storage and object storage etc. it is a variety of Protocol mode is stored, so being received by increasing user.
Existing distributed memory system is still to separate data to deposit when receiving the data of different storage agreements Storage, the data of different storage agreements can not be carried out to unified storage, and the mutual inaccessible of data under different storage agreements, It can not be shared, therefore caused data rethink analyzed and utilized, it is necessary to other storage agreements in the process of running for enterprise When participation, data need to be copied to again in other storage systems, cause a variety of different storage agreements, each storage Same part data, cause the serious waste of resource, add carrying cost.
Therefore, how a kind of multi-protocol data for reducing carrying cost is provided and shares storage method, device, equipment and meter Calculation machine storage medium is that those skilled in the art need to solve the problems, such as at present.
The content of the invention
It is an object of the invention to provide a kind of multi-protocol data share storage method, its by it is different storage agreements under data Be converted to the data under default storage agreement and be stored in same memory space, reduce carrying cost;The present invention's is another Purpose is to provide a kind of multi-protocol data sharing and storing device, equipment and computer-readable storage medium including the above method.
In order to solve the above technical problems, the invention provides a kind of multi-protocol data to share storage method, including:
Receive the communication data based on different storage agreements;
Each communication data is converted into the data under default storage agreement;
By the data storage under each default storage agreement to the first memory space;
Receive the reading instruction that client is sent;
Corresponding data under the default storage agreement is converted into the number read under storage agreement corresponding to instruction According to and return to the client.
Preferably, the storage agreement includes file system storage agreement, object storage agreement and big data storage association View.
Preferably, methods described also includes:
Judge whether the communication data can be converted to the data under the default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
Preferably, methods described also includes:
After judging whether the communication data can be converted to the data under the default storage agreement, judged result is recorded And store.
In order to solve the above technical problems, present invention also offers a kind of multi-protocol data sharing and storing device, including:
First receiving unit, for receiving each data to be communicated using different storage agreements;;
First converting unit, for being default storage agreement by protocol conversion corresponding to each data;
Memory cell, for by each data storage to the first memory space;
Second receiving unit, for receiving the reading instruction of client transmission;
Second converting unit, it is corresponding for the corresponding data under the default storage agreement to be converted into the reading instruction Storage agreement under data and return to the client.
Preferably, described device also includes:
Judging unit, for judging whether the communication data can be converted to the data under the default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
Preferably, described device also includes:
Recording unit, for judging that can agreement corresponding to each data be converted to the default storage agreement Afterwards, record judged result and store.
In order to solve the above technical problems, present invention also offers a kind of multi-protocol data shared storage device, including:
Memory, for storing computer program;
Processor, any one of the as described above multi-protocol data shared storage is realized during for performing the computer program The step of method.
In order to solve the above technical problems, present invention also offers a kind of computer-readable recording medium, the computer can Read to be stored with computer program in storage medium, realized when the computer program is executed by processor described in any one as described above Multi-protocol data shares the step of storage method.
The invention provides a kind of multi-protocol data to share storage method, device, equipment and computer-readable storage medium, this Invention includes receiving the communication data based on different storage agreements;Each communication data is converted under default storage agreement Data;By the data storage under each default storage agreement to the first memory space;Receive the default storage of reading that user sends The instruction of data under agreement;Data under default storage agreement are converted into the data under the corresponding storage agreement of instruction;It will refer to Data under the corresponding storage agreement of order are sent to user.Using the present invention, the data based on different storage agreements are converted to Data under default storage agreement, and the data under default storage agreement are all stored in same memory space, the storage Data in space can be simultaneously by other multiple protocol access, therefore a data only need to deposit once in the memory space Can, compared with prior art in use a variety of different storage agreements to store same part data respectively to cause needs corresponding Portion is respectively deposited in storage system, i.e., stores the more parts of data respectively, The present invention reduces carrying cost.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to institute in prior art and embodiment The accompanying drawing needed to use is briefly described, it should be apparent that, drawings in the following description are only some implementations of the present invention Example, for those of ordinary skill in the art, on the premise of not paying creative work, can also be obtained according to these accompanying drawings Obtain other accompanying drawings.
Fig. 1 is the flow chart that a kind of multi-protocol data provided by the invention shares storage method;
Fig. 2 is a kind of structural representation of multi-protocol data sharing and storing device provided by the invention.
Embodiment
The present invention core be to provide a kind of multi-protocol data share storage method, its by it is different storage agreements under data Be converted to the data under default storage agreement and be stored in same memory space, reduce carrying cost;The present invention's is another Core is to provide a kind of multi-protocol data sharing and storing device, equipment and computer-readable storage medium including the above method.
To make the purpose, technical scheme and advantage of the embodiment of the present invention 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 Part of the 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 obtained under the premise of creative work is not made, belongs to the scope of protection of the invention.
The invention provides a kind of multi-protocol data to share storage method, as shown in figure 1, Fig. 1 is provided by the invention one Kind of multi-protocol data shares the flow chart of storage method, this method comprise the following steps including:
Step 101:Receive the communication data based on different storage agreements;
It should be noted that distributed unified storage system can provide more set storage agreements simultaneously, storage agreement includes File system storage agreement, object storage agreement and big data storage agreement, the communication number based on three of the above storage agreement According to when being stored, the metadata management service of the first receiving end of meeting receives.Certainly, the present invention does not limit storage agreement Type.
Step 102:Each communication data is converted into the data under default storage agreement;
It should be noted that in the metadata management service of receiving terminal, it is all logical based on different storage agreements Letter data can all be converted into the data under default storage agreement, and the data after all conversions can be carried out sharing.
Step 103:By the data storage under each default storage agreement to the first memory space;
It should be noted that the data after conversion are unifiedly stored to the space specified, for example, being possibly stored to same In server.
Step 104:Receive the reading instruction that client is sent;
It should be noted that the class for the storage agreement being being currently used can be carried in the reading instruction that client is sent Type, for example, client carries out the reading of day regular data, file system storage agreement can be used;To storing into file system Data when inquired about, object storage agreement can be used;If client needs to carry out going deep into depositing in mining data It is being worth, big data storage agreement can be used.
Step 105:Corresponding data under default storage agreement is converted to the number read under storage agreement corresponding to instruction According to and return to client.
It should be noted that for example, the default storage agreement can be file system storage agreement, i.e., all differences are deposited Data under storage agreement need uniformly to be converted to the data under file system storage agreement, and, it is assumed that it is right in data storage Stored after being converted to the data under file system storage agreement as the data under storage agreement, when reading data, file system It is the data under object storage agreement to store the data energy normal conversion under agreement.Certainly, the present invention does not limit default storage association The particular type of view.
As preferable, this method also includes:
Judge whether communication data can be converted to the data under default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
It should be noted that if the communication data that metadata management service is not supported, then will according to original method It is stored in other memory space.
Judge it is understood that being added before communication data conversion is carried out, digital independent can be enabled normal Effectively carry out, improve reading efficiency.
As preferable, this method also includes:
After judging whether communication data can be converted to the data under default storage agreement, record judged result and store.
It should be noted that will determine that result is recorded and stored, when system maintenance is carried out, attendant is according to sentencing The storage agreement do not supported also at present is selectively added in metadata management service by the record of disconnected result, may be such that first number It can support more to store agreement according to management service so that the storage system is more perfect.
The invention provides a kind of multi-protocol data to share storage method, and the present invention includes receiving to be assisted based on different storages The communication data of view;Each communication data is converted into the data under default storage agreement;By under each default storage agreement Data storage is to the first memory space;Receive the instruction of the data under the default storage agreement of reading that user sends;Deposited default Data under storage agreement are converted to the data under the corresponding storage agreement of instruction;The data under corresponding storage agreement will be instructed to be sent to User.Using the present invention, the data based on different storage agreements are converted into the data under default storage agreement, and will be default Storage agreement under data all store in same memory space, the data in the memory space can simultaneously by it is multiple other Protocol access, therefore a data only need to deposit a can in the memory space, compared with prior art in make respectively Storing same part data with a variety of different storage agreements causes needs respectively to deposit portion in respective stored system, i.e., stores respectively More parts of data, The present invention reduces carrying cost.
Present invention also offers a kind of multi-protocol data sharing and storing device, as shown in Fig. 2 Fig. 2 is provided by the invention A kind of structural representation of multi-protocol data sharing and storing device, the device include:
First receiving unit 1, for receiving each data to be communicated using different storage agreements;;
First converting unit 2, for being default storage agreement by protocol conversion corresponding to each data;
Memory cell 3, for by each data storage to the first memory space;
Second receiving unit 4, for receiving the reading instruction of client transmission;
Second converting unit 5, stored for the corresponding data under default storage agreement to be converted to corresponding to reading instruction Data under agreement simultaneously return to client.
As preferable, the device also includes:
Judging unit, for judging whether communication data can be converted to the data under default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
As preferable, the device also includes:
Recording unit, for after judging that can agreement corresponding to each data be converted to default storage agreement, record to be sentenced Disconnected result simultaneously stores.
The invention provides a kind of multi-protocol data sharing and storing device, the present invention includes receiving to be assisted based on different storages The communication data of view;Each communication data is converted into the data under default storage agreement;By under each default storage agreement Data storage is to the first memory space;Receive the instruction of the data under the default storage agreement of reading that user sends;Deposited default Data under storage agreement are converted to the data under the corresponding storage agreement of instruction;The data under corresponding storage agreement will be instructed to be sent to User.Using the present invention, the data based on different storage agreements are converted into the data under default storage agreement, and will be default Storage agreement under data all store in same memory space, the data in the memory space can simultaneously by it is multiple other Protocol access, therefore a data only need to deposit a can in the memory space, compared with prior art in make respectively Storing same part data with a variety of different storage agreements causes needs respectively to deposit portion in respective stored system, i.e., stores respectively More parts of data, The present invention reduces carrying cost.
Present invention also offers a kind of multi-protocol data shared storage device, including:
Memory, for storing computer program;
Processor, realize that any one of as described above multi-protocol data shares the step of storage method during for performing computer program Suddenly.
Present invention also offers a kind of computer-readable recording medium, computer is stored with computer-readable recording medium Program, the step of any one multi-protocol data shares storage method as described above is realized when computer program is executed by processor.
Storage method, device, equipment and computer is shared to a kind of multi-protocol data provided by the present invention above to store Medium is described in detail.Specific case used herein is set forth to the principle and embodiment of the present invention, with The explanation of upper embodiment is only intended to help the method and its core concept for understanding the present invention.It should be pointed out that led for this technology For the those of ordinary skill in domain, under the premise without departing from the principles of the invention, can also to the present invention carry out it is some improvement and Modification, these are improved and modification is also fallen into the protection domain of the claims in the present invention.

Claims (9)

1. a kind of multi-protocol data shares storage method, it is characterised in that including:
Receive the communication data based on different storage agreements;
Each communication data is converted into the data under default storage agreement;
By the data storage under each default storage agreement to the first memory space;
Receive the reading instruction that client is sent;
Corresponding data under the default storage agreement is converted into the data read under storage agreement corresponding to instruction simultaneously Return to the client.
2. according to the method for claim 1, it is characterised in that the storage agreement includes file system storage agreement, right As storage agreement and big data storage agreement.
3. according to the method for claim 1, it is characterised in that methods described also includes:
Judge whether the communication data can be converted to the data under the default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
4. according to the method for claim 3, it is characterised in that methods described also includes:
After judging whether the communication data can be converted to the data under the default storage agreement, record judged result and deposit Storage.
A kind of 5. multi-protocol data sharing and storing device, it is characterised in that including:
First receiving unit, for receiving each data to be communicated using different storage agreements;;
First converting unit, for being default storage agreement by protocol conversion corresponding to each data;
Memory cell, for by each data storage to the first memory space;
Second receiving unit, for receiving the reading instruction of client transmission;
Second converting unit, deposited for the corresponding data under the default storage agreement to be converted into described read corresponding to instruction Store up the data under agreement and return to the client.
6. device according to claim 5, it is characterised in that described device also includes:
Judging unit, for judging whether the communication data can be converted to the data under the default storage agreement;
If it is not, then the communication data that can not be changed is stored to the second memory space.
7. device according to claim 6, it is characterised in that described device also includes:
Recording unit, for after judging that can agreement corresponding to each data be converted to the default storage agreement, remembering Record judged result simultaneously stores.
A kind of 8. multi-protocol data shared storage device, it is characterised in that including:
Memory, for storing computer program;
Processor, realize that the multi-protocol data as described in any one of Claims 1-4 is shared during for performing the computer program The step of storage method.
9. a kind of computer-readable recording medium, it is characterised in that be stored with computer on the computer-readable recording medium Program, realize that the multi-protocol data as described in any one of Claims 1-4 is shared when the computer program is executed by processor and deposit The step of method for storing.
CN201710899984.5A 2017-09-28 2017-09-28 Multi-protocol data shares storage method, device, equipment and computer-readable storage medium Pending CN107656704A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710899984.5A CN107656704A (en) 2017-09-28 2017-09-28 Multi-protocol data shares storage method, device, equipment and computer-readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710899984.5A CN107656704A (en) 2017-09-28 2017-09-28 Multi-protocol data shares storage method, device, equipment and computer-readable storage medium

Publications (1)

Publication Number Publication Date
CN107656704A true CN107656704A (en) 2018-02-02

Family

ID=61115966

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710899984.5A Pending CN107656704A (en) 2017-09-28 2017-09-28 Multi-protocol data shares storage method, device, equipment and computer-readable storage medium

Country Status (1)

Country Link
CN (1) CN107656704A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883678A (en) * 2023-03-08 2023-03-31 国网瑞嘉(天津)智能机器人有限公司 Data processing system, method, device, equipment and medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5842045A (en) * 1995-08-14 1998-11-24 Nec Corporation Terminal unit having a universal multi-protocol modular jack automatically sets its protocol to match with protocol of a modular plug connecting to the jack
CN1688982A (en) * 2002-08-09 2005-10-26 网络装置公司 Multi-protocol storage appliance that provides integrated support for file and block access protocols
CN101131623A (en) * 2004-04-14 2008-02-27 株式会社日立制作所 Storage system
CN104951252A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Data access method and PCIe storage devices
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5842045A (en) * 1995-08-14 1998-11-24 Nec Corporation Terminal unit having a universal multi-protocol modular jack automatically sets its protocol to match with protocol of a modular plug connecting to the jack
CN1688982A (en) * 2002-08-09 2005-10-26 网络装置公司 Multi-protocol storage appliance that provides integrated support for file and block access protocols
CN101131623A (en) * 2004-04-14 2008-02-27 株式会社日立制作所 Storage system
CN104951252A (en) * 2015-06-12 2015-09-30 联想(北京)有限公司 Data access method and PCIe storage devices
CN107124421A (en) * 2017-05-11 2017-09-01 珠海格力电器股份有限公司 Communication means based on multi-protocols, multi-protocol gateway equipment and can storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115883678A (en) * 2023-03-08 2023-03-31 国网瑞嘉(天津)智能机器人有限公司 Data processing system, method, device, equipment and medium

Similar Documents

Publication Publication Date Title
CN108255905B (en) Interface calls data processing method, device and computer equipment
CN102411637B (en) Metadata management method of distributed file system
CN105025053A (en) Distributed file upload method based on cloud storage technology and system
CN106060176A (en) Cloud computing application architecture and cloud computing service method based on mixed cloud
CN102752398A (en) Method and system for resolving flow value, terminal and server
CN103944739A (en) Intelligent POE power source supplying system and efficient POE power source managing method thereof
CN110489407A (en) Data filling mining method, apparatus, computer equipment and storage medium
CN107888666A (en) A kind of cross-region data-storage system and method for data synchronization and device
CN105357286A (en) Web-based real-time directional message pushing method
CN107818013A (en) A kind of application scheduling method thereof and device
CN104104702A (en) Cloud computation architecture facing household internet of things
CN103823807A (en) Data de-duplication method, device and system
CN103473848B (en) Network invoice checking framework and method based on high concurrency
CN113806430A (en) Multifunctional data management platform
CN108123826B (en) Cross-region data interaction system and method
CN102932443A (en) HDFS (hadoop distributed file system) cluster based distributed cloud storage system
CN105407044A (en) Method for implementing cloud storage gateway system based on network file system (NFS)
CN107357809A (en) Magnanimity platform Hisoon real-time database metric data access system
CN107870982A (en) Data processing method, system and computer-readable recording medium
US9043535B1 (en) Minimizing application response time
CN103916368A (en) Method and apparatus for realizing data processing among different data sources
CN107656704A (en) Multi-protocol data shares storage method, device, equipment and computer-readable storage medium
CN106570011A (en) Distributed crawler URL seed distribution method, dispatching node, and grabbing node
CN104731660A (en) Data distribution method, device and system
CN105426125B (en) A kind of date storage method and device

Legal Events

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

Application publication date: 20180202