CN103559254A - Storage system and method on basis of modules - Google Patents

Storage system and method on basis of modules Download PDF

Info

Publication number
CN103559254A
CN103559254A CN201310533679.6A CN201310533679A CN103559254A CN 103559254 A CN103559254 A CN 103559254A CN 201310533679 A CN201310533679 A CN 201310533679A CN 103559254 A CN103559254 A CN 103559254A
Authority
CN
China
Prior art keywords
module
file
data
memory module
storage
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.)
Granted
Application number
CN201310533679.6A
Other languages
Chinese (zh)
Other versions
CN103559254B (en
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.)
SHANGHAI SUNINFO TECHNOLOGY Co Ltd
Original Assignee
SHANGHAI SUNINFO 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 SHANGHAI SUNINFO TECHNOLOGY Co Ltd filed Critical SHANGHAI SUNINFO TECHNOLOGY Co Ltd
Priority to CN201310533679.6A priority Critical patent/CN103559254B/en
Publication of CN103559254A publication Critical patent/CN103559254A/en
Application granted granted Critical
Publication of CN103559254B publication Critical patent/CN103559254B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/11File system administration, e.g. details of archiving or snapshots
    • G06F16/122File system administration, e.g. details of archiving or snapshots using management policies

Abstract

The invention discloses a storage system and a storage method on the basis of modules. The system comprises a data storage module, a configuration file storage module, a code file storage module and an application service module, wherein the data storage module is used for storing data files; the configuration file storage module is used for storing configuration files; the code file storage module is in communication connection with the data storage module and the configuration file storage module and is used for storing code files and carrying out reading-writing on the data storage module according to information of the configuration files in the configuration file storage module; the application service module is in communication connection with the data storage module, the configuration file storage module and the code file storage module and is used for carrying out classified storage on current stored files. The adoption of the storage system and the storage method on the basis of the modules, which are disclosed by the invention, has the advantages of simple storage process, clearness, easiness for expanding functional modules and no influence on existing stored data.

Description

A kind of storage system and method based on module
Technical field
The present invention relates to a kind of storage system and method, relate in particular to a kind of storage system and method based on module.
Background technology
Existing system software all relates to binary program mostly, configuration, data, the mutual cooperation of a plurality of parts such as daily record, put together (for example the leaving in a catalogue) that these parts are mixed conventionally, the catalogue that a plurality of software applications are different.The placement of this confusion causes user to be difficult to binary program, configuration, and data, management of overall importance is done in daily record.For example, for protected data, user has to travel through each catalogue and looks for the data field that belongs to each software.What user wished is can stand in overall angle to be implemented in the protection to the various piece of existing system, but the current various piece that not yet has the separation of overall importance of feasible system or method and organize these softwares.
Summary of the invention
The object of the invention is to overcome the defect of prior art, and a kind of storage system and method based on module is provided, there is storing process simple, clear, be easy to extended function module, do not affect the advantage of existing storage data.
The technical scheme that realizes above-mentioned purpose is:
A kind of storage system based on module of the present invention, comprising:
Data memory module, for storing data files;
One configuration file stores module, for store configuration files;
One code file storage module, described code file memory module and described data memory module and the communication connection of described profile management module, for storage code file, and according to the information of configuration file in described configuration file stores module, described data memory module is read and write;
One application service module, with described data memory module, described configuration file stores module and the communication connection of described code file memory module, for storage that current storage file is classified.
Further improvement of the present invention is, described data memory module is physical store module independently.
Further improvement of the present invention is, described data file comprises: user data and syslog data.
Further improvement of the present invention is, described code file comprises executable program, library file, script file and pagefile.
A kind of storage means based on module of the present invention, comprises step:
Separate data memory module, a configuration file stores module and a code file storage module are set;
By an application service module, current storage file is divided into data file, code file or configuration file;
According to the kind of dividing, deposit described current storage file in corresponding memory module.
Further improvement of the present invention is, when the code file of operation in described code file memory module, described code file memory module is read and write configuration file corresponding with current operation code file in described profile management module, and according to this configuration file, described data memory module is read and write.
Further improvement of the present invention is, described data file comprises: user data and syslog data.
Further improvement of the present invention is, described code file comprises executable program, library file, script file and pagefile.
Further improvement of the present invention is, described code file memory module is by the configuration file corresponding with current operation code file in the described profile management module of the semantic read-write of XML.
Further improvement of the present invention is, described data memory module provides the reading and writing data based on described living document system by a living document system for described code file memory module.
The present invention has been owing to having adopted above technical scheme, makes it have following beneficial effect to be:
The employing of data memory module, configuration file stores module and code file memory module, having realized can be by code file, data file, configuration file classification storage; And more simple of the process that the classified storage of code file, data file, configuration file makes storage, clear, and now the management of file is only needed simply to manage the memory module (for example backup of memory module and recovery) at this file place.And be easy to extended function module, do not affect existing storage data.The employing of data memory module living document system has realized the disaster tolerance of system of the present invention, backup, snapshot, the functions such as dilatation.
Accompanying drawing explanation
Fig. 1 is the structural representation that the present invention is based on the storage system of module.
Embodiment
Below in conjunction with specific embodiment, the invention will be further described.
Refer to Fig. 1, a kind of storage system based on module of the present invention, comprising:
Data memory module 1, for storing data files;
One configuration file stores module 2, for store configuration files;
One code file storage module 3, code file memory module 3 and data memory module 1 and profile management module 2 communication connections, for storage code file, and according to the information of configuration file in configuration file stores module 2, data memory module 1 is read and write;
One application service module 4, with data memory module 1, configuration file stores module 2 and 3 communication connections of code file memory module, for storage that current storage file is classified.
Data memory module 1 is physical store module independently.
Code file comprises executable program, library file, script file and pagefile, and these files are further organized with tree structure according to classification in their memory module.
The place of some user's configuration datas storages that configuration file need to read when being code execution, the data in configuration file are determining the logic trend of code, directly depend on user's wish, so single storage is more satisfactory.
Data file comprises: user data and syslog data.Data file size is comprehensively time dependent, data file is placed on to independent data module and deposits, and is conducive to the safety of data self, such as system operation is out of joint, just can again resume operation, and can not lose original data.If in addition due to uncertain demand still, in the future to add new functional module to system, only need to disassemble the file of module to be increased this time is three classifications, incorporates in the middle of the current system having designed, as can be seen here the good extendability of system of the present invention.
A kind of storage means based on module of the present invention, comprises step:
First, separate data memory module 1, a configuration file stores module 2 and a code file storage module 3 are set.
Then, by an application service module 4, current storage file is divided into data file, code file or configuration file.Wherein, data file comprises: user data and syslog data; Code file comprises executable program, library file, script file and pagefile.
Finally, according to the kind of dividing, deposit current storage file in corresponding memory module.
More simple, clear of the process that the classified storage of code file, data file, configuration file makes storage, and now the management of file is only needed simply to manage the memory module (for example backup of memory module and recovery) at this file place.And be easy to extended function module, do not affect existing storage data.
In addition, during code file in operation code file storage module 3, code file memory module 3 is read and write the configuration file corresponding with current operation code file in profile management module by XML is semantic, and according to this configuration file, data memory module 1 is read and write.Wherein, data memory module 1 provides the reading and writing data based on living document system by a living document system for code file memory module 3.The employing of data memory module 1 living document system has realized the disaster tolerance of system of the present invention, backup, snapshot, the functions such as dilatation.
Take and make a network store system as example, system is arranged to three separate, stored modules, deposit separately code file, configuration file and data file; User values data conventionally very much, data file independently can be stored on the disk that user provides, and configuration file and code file are placed on the subsidiary Dom dish of system.
When system need to be upgraded or be reinstalled system, user needn't concern of data lose, and can directly use the function of system, simply the binary file region of complete replacement or the system of renewal.User just can enjoy all advantages that new system is brought afterwards, and needn't worry the loss of new data.When user wishes Backup Data, can be simply by the content full backup of user disk to other system, and do not need to consider the miscellaneous part except data disks.If problem has appearred in system operation, then user can simply be inserted into data disks in new system by changing a system, again sees original data.When user data increases gradually, if existing disk deficiency continues to hold data, now, as long as add again a disk, its carry can be realized to dilatation on existing system, owing to being that variation has occurred data module, this mode does not affect the normal operation of system.
When hope is added new function to system, as added a download function to system, first obtain having the third party software of download function, this software comprises three class files, one is exactly code file, it two is exactly configuration file (flow set etc.) in operational process, and it three is exactly the data file (film of download etc.) producing.After having classified, code file is added to code file memory module 3, configuration file is left in to configuration file stores module 2, by the option of configuration is set, leave the data file of download in overall data memory module 1.Thereby realized, download function is added in system.Visible system of the present invention is added the convenience of function.
Below embodiment has been described in detail the present invention by reference to the accompanying drawings, and those skilled in the art can make many variations example to the present invention according to the above description.Thereby some details in embodiment should not form limitation of the invention, the present invention will be usingd scope that appended claims defines as protection scope of the present invention.

Claims (10)

1. the storage system based on module, is characterized in that, comprising:
Data memory module, for storing data files;
One configuration file stores module, for store configuration files;
One code file storage module, described code file memory module and described data memory module and the communication connection of described profile management module, for storage code file, and according to the information of configuration file in described configuration file stores module, described data memory module is read and write;
One application service module, with described data memory module, described configuration file stores module and the communication connection of described code file memory module, for storage that current storage file is classified.
2. the storage system based on module according to claim 1, is characterized in that, described data memory module is physical store module independently.
3. the storage system based on module according to claim 2, is characterized in that, described data file comprises: user data and syslog data.
4. the storage system based on module according to claim 2, is characterized in that, described code file comprises executable program, library file, script file and pagefile.
5. the storage means based on module, is characterized in that, comprises step:
Separate data memory module, a configuration file stores module and a code file storage module are set;
By an application service module, current storage file is divided into data file, code file or configuration file;
According to the kind of dividing, deposit described current storage file in corresponding memory module.
6. the storage means based on module according to claim 5, it is characterized in that, when the code file of operation in described code file memory module, described code file memory module is read and write configuration file corresponding with current operation code file in described profile management module, and according to this configuration file, described data memory module is read and write.
7. according to the storage means based on module described in claim 5 or 6, it is characterized in that, described data file comprises: user data and syslog data.
8. the storage means based on module according to claim 7, is characterized in that, described code file comprises executable program, library file, script file and pagefile.
9. the storage means based on module according to claim 6, is characterized in that, described code file memory module is by the configuration file corresponding with current operation code file in the described profile management module of the semantic read-write of XML.
10. the storage means based on module according to claim 6, is characterized in that, described data memory module provides the reading and writing data based on described living document system by a living document system for described code file memory module.
CN201310533679.6A 2013-10-31 2013-10-31 A kind of storage system and method based on module Active CN103559254B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310533679.6A CN103559254B (en) 2013-10-31 2013-10-31 A kind of storage system and method based on module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310533679.6A CN103559254B (en) 2013-10-31 2013-10-31 A kind of storage system and method based on module

Publications (2)

Publication Number Publication Date
CN103559254A true CN103559254A (en) 2014-02-05
CN103559254B CN103559254B (en) 2018-03-02

Family

ID=50013501

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310533679.6A Active CN103559254B (en) 2013-10-31 2013-10-31 A kind of storage system and method based on module

Country Status (1)

Country Link
CN (1) CN103559254B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286913A (en) * 2019-06-06 2019-09-27 口碑(上海)信息技术有限公司 Check code packet dispositions method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070260640A1 (en) * 2006-05-08 2007-11-08 Hamilton Rick A Ii Method for Developing Enterprise Information Life Cycle Management Polices and Solutions
CN102542071A (en) * 2012-01-17 2012-07-04 深圳市同洲视讯传媒有限公司 Distributed data processing system and method
CN102546247A (en) * 2011-12-29 2012-07-04 华中科技大学 Massive data continuous analysis system suitable for stream processing
CN102810090A (en) * 2011-05-30 2012-12-05 Sap股份公司 Gateway data distribution engine

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070260640A1 (en) * 2006-05-08 2007-11-08 Hamilton Rick A Ii Method for Developing Enterprise Information Life Cycle Management Polices and Solutions
CN102810090A (en) * 2011-05-30 2012-12-05 Sap股份公司 Gateway data distribution engine
CN102546247A (en) * 2011-12-29 2012-07-04 华中科技大学 Massive data continuous analysis system suitable for stream processing
CN102542071A (en) * 2012-01-17 2012-07-04 深圳市同洲视讯传媒有限公司 Distributed data processing system and method

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110286913A (en) * 2019-06-06 2019-09-27 口碑(上海)信息技术有限公司 Check code packet dispositions method and device
CN110286913B (en) * 2019-06-06 2020-06-09 口碑(上海)信息技术有限公司 Check code packet deployment method and device

Also Published As

Publication number Publication date
CN103559254B (en) 2018-03-02

Similar Documents

Publication Publication Date Title
CN105144142B (en) Use the information storage object of the multiple dimensions of object
US9996557B2 (en) Database storage system based on optical disk and method using the system
CN103530290A (en) Method and system for data migration among databases
US20160055189A1 (en) Database Storage System based on Optical Disk Library, and Method Using Same
CN107122364A (en) Data manipulation method and data management server
CN102821111A (en) Real-time synchronizing method for file cloud storage
CN104268088A (en) Vehicle DVR (Digital Video Recorder) hard disk data storage method
CN103064902A (en) Method and device for storing and reading data in hadoop distributed file system (HDFS)
CN108874321A (en) A kind of raid-array data reconstruction method, device and equipment
CN103257987A (en) Rule-based distributed log service implementation method
CN104239438A (en) File information storage method and file information read-write method based on separate storage
US11221983B1 (en) Multi-level indexing of backup files
CN103473258A (en) Cloud storage file system
CN105005517B (en) The storage and backup system and method for call center's recording file
CN102609484A (en) General method for managing log of system
CN104216908A (en) Internet data management system and reading and writing method thereof
CN103176867A (en) Fast file differential backup method
CN109558453A (en) A kind of storage of block chain data networkization and move the method deposited
CN103176868B (en) A kind of file status backup method
CN102521075A (en) Fast and reliable file incremental backup method
CN105373339A (en) Hard disk data copy method and system
CN102053855B (en) Software generation system and method
CN105893273B (en) A kind of method, system and equipment for realizing multi partition polydisc symbol based on single disk
CN103559254A (en) Storage system and method on basis of modules
CN102253938A (en) Method and device for writing and restoring file

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C53 Correction of patent of invention or patent application
CB02 Change of applicant information

Address after: 201203, 18 building, 88 Darwin Road, Zhangjiang hi tech park, Shanghai, Pudong New Area, 1

Applicant after: The upper marine infotech share company limited of interrogating

Address before: 201203, 18 building, 88 Darwin Road, Zhangjiang hi tech park, Shanghai, Pudong New Area, 1

Applicant before: Shanghai Suninfo Technology Co., Ltd.

COR Change of bibliographic data

Free format text: CORRECT: APPLICANT; FROM: SHANGHAI SUNINFO TECHNOLOGY LTD. TO: SHANGHAI SUNINFO TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant