CN104657149A - Software framework implementation method of management module of storage system - Google Patents

Software framework implementation method of management module of storage system Download PDF

Info

Publication number
CN104657149A
CN104657149A CN201510109076.2A CN201510109076A CN104657149A CN 104657149 A CN104657149 A CN 104657149A CN 201510109076 A CN201510109076 A CN 201510109076A CN 104657149 A CN104657149 A CN 104657149A
Authority
CN
China
Prior art keywords
layer
storage system
middle layer
function
order
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
CN201510109076.2A
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.)
Inspur Group Co Ltd
Original Assignee
Inspur Group 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 Inspur Group Co Ltd filed Critical Inspur Group Co Ltd
Priority to CN201510109076.2A priority Critical patent/CN104657149A/en
Publication of CN104657149A publication Critical patent/CN104657149A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a software framework implementation method of a management module of a storage system, and belongs to the technical field of the management module of the storage system. According to the technical scheme, the implementation method is characterized in that a software framework comprises a UI (User Interface) layer, a middle layer and a bottom layer, wherein the UI layer provides an interface for an administrator or a management interface for an upper application and is meanwhile responsible for communication interaction with the middle layer; the middle layer is responsible for communication with the UI layer and the bottom layer for implementing interaction of user space data and kernel space data; the bottom layer is concrete implementation of an upper layer functional requirement, operates in a kernel state, and makes contact with actual hardware. The UI layer provides a command line tool or an API (Application Programming Interface); the middle layer is used for performing related configuration on the storage system through a configuration file; the bottom layer is used for realizing a query function, a storage equipment stop function and a storage equipment activation function. The development mode of the management module is abstracted to form the software framework, the development speed of the management module of the storage system is greatly improved, and the efficiency of a developer is improved.

Description

A kind of software frame implementation method of administration module of storage system
Technical field
The present invention relates to a kind of administration module technical field of storage system, specifically a kind of software frame implementation method of administration module of storage system.
Background technology
Storage system refers in computing machine by depositing equipment (hardware) that the various memory devices of program and data, control assembly and management information dispatches and the system that algorithm (software) forms.
Along with the expanding day storing data volume, storage system is also day by day complicated, and the construction cycle of relative storage system is also more and more longer, and corresponding management software also becomes even more complex.At present, the management software of storage system is different along with the difference of storage system, larger workload is brought to software development work, designer needs for the different memory management module of different design of memory systems, but the management function of storage system is roughly the same in actual applications, if the development mode of administration module therefore can be taken out, form a kind of software development framework, greatly will promote the tempo of development of system management memory module, promote the efficiency of developer.How to realize said method, be problem in the urgent need to address at present.
Summary of the invention
Technical assignment of the present invention is to provide a kind of software frame implementation method of administration module of storage system; Function library is abstracted into the major function of administration module, and the management function of a group interface realization to storage system is provided, define the superclass that Business Entity needs interface and the succession realized simultaneously, and meet the specific customization regulatory requirement to storage system by the mode of configuration file.
Technical assignment of the present invention realizes in the following manner, a kind of software frame implementation method of administration module of storage system, described software frame comprises UI layer, middle layer and bottom, and UI layer provides keeper or upper layer application management interface, is responsible for the communication interaction with middle layer simultaneously; Middle layer is responsible for and UI layer, bottom communication, for realizing the mutual of user's space data and kernel spacing data; Bottom is the specific implementation of upper-layer functionality demand, mainly runs on kernel state, and actual hardware is come into contacts with.
UI layer provides command-line tool or api interface; The function of middle layer specific implementation is relevant with concrete storage system, and in order to the individual requirement of satisfied different storage system, middle layer carries out relevant configuration by configuration file to storage system; Bottom is used for realizing query function, to memory device hold function, to memory device mobilizing function.
Software frame flow process is divided into three main steps, that is, input command, transferring command, realization order, and in real process, the form of expression of order can be different, the form of such as API Calls or the form of order line; A level from top to bottom in each step this software frame corresponding; Software frame administration order is mainly divided into four classes: create class, deletion class, stopping or activating class, inquiry class, four class administration orders meet the administration module demand of generally storage system.
UI layer is responsible for input command, realize the analytical capabilities to the order of administration module, at UI layer, main function externally provides service with the form of function library, main function has: the reading of order, parsing, transmit to lower floor, in this way, simplifies the exploitation complexity of designer, facilitate follow-up expansion work, unified Library Interface is called in the realization of order line and api interface simultaneously;
Middle layer transferring command, be responsible for the mutual of UI layer and bottom, generally run on User space space, through process after the order of UI layer acquisition administration module, can middle layer be passed to, middle layer can encapsulate again to order, configuration information is read from configuration file in middle layer simultaneously, realizes the particularization demand of different storage system, finally, packaged command routing to kernel state space, read the result that returns from kernel state space simultaneously and resolve and upload to UI layer;
Bottom layer realization order, after the packaged order in middle layer will going down to bottom, the function request realizing middle layer is responsible for by bottom, the realization that Treated Base hardware is relevant, run on kernel state, the hardware facility that the realization of bottom is many with concrete is relevant, and therefore bottom provides interface, for realizing the amendment of metadata, the read-write to disk.
The software frame implementation method of the administration module of a kind of storage system of the present invention has the following advantages:
1, take out the development mode of administration module, form a kind of software frame, greatly promote the tempo of development of system management memory module, promote the efficiency of developer;
2, function library is abstracted into the major function of administration module, and the management function of a group interface realization to storage system is provided, define the superclass that Business Entity needs interface and the succession realized simultaneously, and meet the specific customization regulatory requirement to storage system by the mode of configuration file;
3, the management interface that externally provides of UI layer, by realize management interface for command-line tool and management application calling interface is provided, command-line tool and api function interface, the former is supplied to keeper and uses, the latter is used for upper layer application and calls, meanwhile, by providing service to major function Function Modules blocking with the form of function library, program development complexity is greatly reduced;
4, middle layer is read configuration file and is obtained special regulatory requirement, meet the differentiated demand of administration module, be responsible for the data communication in User space space and kernel state space simultaneously, the communication between buffering levels is played in encapsulation manager order simultaneously, improve order execution efficiency, interface function adopts the form of built-in function to provide the service of calling;
5, bottom takes out the major function of the administration module of storage system, form four class interfaces, create class, delete class, inquiry class and state change class, define relevant interface, but do not provide specific implementation, need designer to realize voluntarily, therefore mask the management code of bottom hardware facility, add the general applicability of software frame.
Accompanying drawing explanation
Below in conjunction with accompanying drawing, the present invention is further described.
Accompanying drawing 1 is a kind of administration module software frame schematic diagram of software frame implementation method of administration module of storage system;
Accompanying drawing 2 is a kind of software frame each layer primary function interface and flowchart of software frame implementation method of administration module of storage system.
Embodiment
Be described in detail below with reference to Figure of description and the software frame implementation method of specific embodiment to the administration module of a kind of storage system of the present invention.
Embodiment 1:
The software frame implementation method of the administration module of a kind of storage system of the present invention, described software frame comprises UI layer, middle layer and bottom, and UI layer provides keeper or upper layer application management interface, is responsible for the communication interaction with middle layer simultaneously; Middle layer is responsible for and UI layer, bottom communication, for realizing the mutual of user's space data and kernel spacing data; Bottom is the specific implementation of upper-layer functionality demand, runs on kernel state, and actual hardware is come into contacts with.
UI layer provides command-line tool or api interface; Middle layer carries out relevant configuration by configuration file to storage system; Bottom is used for realizing query function, to memory device hold function, to memory device mobilizing function.
Software frame flow process is divided into three main steps, that is, input command, transferring command, realization order, a level from top to bottom in each step this software frame corresponding; Software frame administration order is mainly divided into four classes: create class, deletion class, stopping or activating class, inquiry class.
Embodiment 2:
The software frame implementation method of the administration module of a kind of storage system of the present invention, described software frame comprises UI layer, middle layer and bottom, and UI layer provides keeper or upper layer application management interface, is responsible for the communication interaction with middle layer simultaneously; Middle layer is responsible for and UI layer, bottom communication, for realizing the mutual of user's space data and kernel spacing data; Bottom is the specific implementation of upper-layer functionality demand, mainly runs on kernel state, and actual hardware is come into contacts with.
UI layer provides command-line tool or api interface; The function of middle layer specific implementation is relevant with concrete storage system, and in order to the individual requirement of satisfied different storage system, middle layer carries out relevant configuration by configuration file to storage system; Bottom is used for realizing query function, to memory device hold function, to memory device mobilizing function.
Software frame flow process is divided into three main steps, that is, input command, transferring command, realization order, and in real process, the form of expression of order can be different, the form of such as API Calls or the form of order line; A level from top to bottom in each step this software frame corresponding; Software frame administration order is mainly divided into four classes: create class, deletion class, stopping or activating class, inquiry class, four class administration orders meet the administration module demand of generally storage system.
UI layer is responsible for input command, realize the analytical capabilities to the order of administration module, at UI layer, main function externally provides service with the form of function library, main function has: the reading of order, parsing, transmit to lower floor, in this way, simplifies the exploitation complexity of designer, facilitate follow-up expansion work, unified Library Interface is called in the realization of order line and api interface simultaneously;
Middle layer transferring command, be responsible for the mutual of UI layer and bottom, generally run on User space space, through process after the order of UI layer acquisition administration module, can middle layer be passed to, middle layer can encapsulate again to order, configuration information is read from configuration file in middle layer simultaneously, realizes the particularization demand of different storage system, finally, packaged command routing to kernel state space, read the result that returns from kernel state space simultaneously and resolve and upload to UI layer;
Bottom layer realization order, after the packaged order in middle layer will going down to bottom, the function request realizing middle layer is responsible for by bottom, the realization that Treated Base hardware is relevant, run on kernel state, the hardware facility that the realization of bottom is many with concrete is relevant, and therefore bottom provides interface, for realizing the amendment of metadata, the read-write to disk.
Embodiment 3:
The administration module software frame implementation method of a kind of storage system of the present invention, described software frame has three modules: UI layer module, middle layer module, bottom module, namely a module that each level is corresponding, UI module realizes order line management tool and Administration API, and middle layer module realizes the communication interaction in User space space and kernel state space, and bottom module specific implementation is to the management function of bottom hardware equipment.
The functions such as UI mould, by public function library, realizes the parsing of order line, fault-tolerant, user realizes command-line tool or api interface according to the public function storehouse provided, and public function library has following primary function:
Command_resolve (), for resolve command line parameter;
Send_command (), to middle layer transferring command;
Middle layer module is responsible for processing the upper layer transport administration order parameter of getting off, carry out encapsulation backward under pass to bottom, play the effect of a transmission, simultaneously, configuration information can be read in middle layer from configuration file, and carry out particularization configuration to storage system, main function has:
Get_con (), reads configuration file, obtains management system individual requirement;
Handle_command (), the order that encapsulation upper layer transport gets off also passes to bottom layer treatment, relates to the data interaction of user's space and kernel spacing;
Bottom module realizes concrete management function, such as create storage system, delete storage system, therefore in bottom code, mainly provide relevant interface, not specific implementation, because code is relevant with particular hardware, the design that this realization and interface are separated makes this framework can meet different hardware platform demands:
Create (), creates function, such as creates storage system or logical volume;
Delete (), delete function, the pond that deletion creates or volume etc.;
Extend (), dilatation function, is responsible for the pond created or involves in row dilatation;
Reduce (), capacity reducing function, is responsible for the pond created or involves in row capacity reducing;
Change (), stopping/start-up performance, starts or stops pond or volume;
Query (), query function, be responsible for some metadata informations of inquiry, such as storage system path, numbers etc., when realizing, mainly realize the management interface of bottom, middle layer, by relevant configuration file, can mask different storage management system individual requirements by configuration file.
When realizing management function, first UI layer reads administration order, and resolve command, and pass to middle layer; Then, the administration order parameter that intermediate layer handles UI layer transmits, carry out encapsulating backward lower floor and transmit, meanwhile, configuration information also can be read in middle layer from configuration file, carries out particularization configuration to storage system; Finally, bottom receives the data of middle layer transmission, calls bottom management interface and realizes correlation function, introduce in detail below to above-mentioned three steps.
After UI layer obtains administration order, first call command_resolve () function and resolve administration order, after obtaining the command parameter of input, by send_command () function passes to middle layer, then, after middle layer obtains the order of upper layer transport, call get_con () and read particular arrangement from configuration file, call handle_command () function Envelope command and configuration passes to bottom, finally, the data that bottom imports into by analyzing upper strata, call corresponding management interface, as shown in Figure 2.
By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned embodiment.On the basis of disclosed embodiment, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.

Claims (4)

1. a software frame implementation method for the administration module of storage system, is characterized in that described software frame comprises UI layer, middle layer and bottom, and UI layer provides keeper or upper layer application management interface, is responsible for the communication interaction with middle layer simultaneously; Middle layer is responsible for and UI layer, bottom communication, for realizing the mutual of user's space data and kernel spacing data; Bottom is the specific implementation of upper-layer functionality demand, runs on kernel state, and actual hardware is come into contacts with.
2. the software frame implementation method of the administration module of a kind of storage system according to claim 1, is characterized in that UI layer provides command-line tool or api interface; Middle layer carries out relevant configuration by configuration file to storage system; Bottom is used for realizing query function, to memory device hold function, to memory device mobilizing function.
3. the software frame implementation method of the administration module of a kind of storage system according to claim 2, it is characterized in that software frame flow process is divided into three main steps, namely, input command, transferring command, realization order, a level from top to bottom in each step this software frame corresponding; Software frame administration order is mainly divided into four classes: create class, deletion class, stopping or activating class, inquiry class.
4. the software frame implementation method of the administration module of a kind of storage system according to claim 3, it is characterized in that UI layer is responsible for input command, realize the analytical capabilities to the order of administration module, at UI layer, main function externally provides service with the form of function library, main function has: the reading of order, parsing, transmit to lower floor, and unified Library Interface is called in the realization of order line and api interface;
Middle layer transferring command, be responsible for the mutual of UI layer and bottom, through processing after UI layer obtains the order of administration module, can pass to middle layer, middle layer can encapsulate again to order, and configuration information is read from configuration file in middle layer simultaneously, realize the particularization demand of different storage system, finally, packaged command routing to kernel state space, read the result that returns from kernel state space simultaneously and resolve and upload to UI layer;
Bottom layer realization order, after the packaged order in middle layer will going down to bottom, the function request realizing middle layer is responsible for by bottom, the realization that Treated Base hardware is relevant, run on kernel state, bottom provides interface, for realizing the amendment of metadata, the read-write to disk.
CN201510109076.2A 2015-03-13 2015-03-13 Software framework implementation method of management module of storage system Pending CN104657149A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510109076.2A CN104657149A (en) 2015-03-13 2015-03-13 Software framework implementation method of management module of storage system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510109076.2A CN104657149A (en) 2015-03-13 2015-03-13 Software framework implementation method of management module of storage system

Publications (1)

Publication Number Publication Date
CN104657149A true CN104657149A (en) 2015-05-27

Family

ID=53248335

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510109076.2A Pending CN104657149A (en) 2015-03-13 2015-03-13 Software framework implementation method of management module of storage system

Country Status (1)

Country Link
CN (1) CN104657149A (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469048A (en) * 2015-08-18 2017-03-01 北京神州泰岳软件股份有限公司 A kind of method and apparatus calling content in attribute configuration file
CN106874953A (en) * 2017-02-16 2017-06-20 北京小米移动软件有限公司 Fingerprint recognition method of testing and device
CN107025109A (en) * 2015-12-26 2017-08-08 英特尔公司 The technology quoted using the native code of Binary analysis
CN107220133A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of data interactive method, apparatus and system
CN107294783A (en) * 2017-06-30 2017-10-24 济南浪潮高新科技投资发展有限公司 A kind of switch management software architecture
CN107391201A (en) * 2017-07-27 2017-11-24 艾迪森海安数字医疗装备有限公司 A kind of data flowing implementation method of the software frame of dynamic service data
CN107708223A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 A kind of information interacting method, equipment and computer-readable recording medium
CN110889104A (en) * 2019-11-05 2020-03-17 福州汇思博信息技术有限公司 Android platform-based equipment data acquisition method, device, equipment and medium
CN112463049A (en) * 2020-11-26 2021-03-09 苏州浪潮智能科技有限公司 Method and equipment for customizing storage system
CN112685073A (en) * 2019-10-17 2021-04-20 天津天堰科技股份有限公司 System architecture and system applying same
CN113760408A (en) * 2021-08-19 2021-12-07 深圳市新国都股份有限公司 Hierarchical calling method, system, device and storage medium
CN116319245A (en) * 2023-05-17 2023-06-23 南京中科算通科技有限公司 5G protocol-oriented distributed test system
CN117744543A (en) * 2024-02-21 2024-03-22 三微电子科技(苏州)有限公司 Electronic design automation software architecture based on voice interaction

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645342A (en) * 2005-01-21 2005-07-27 清华大学 Large scale resource memory managing method based on network under SAN environment
CN103678573A (en) * 2013-12-09 2014-03-26 浪潮(北京)电子信息产业有限公司 Method and system for achieving cache acceleration
CN104123194A (en) * 2014-07-16 2014-10-29 上海斐讯数据通信技术有限公司 Communication structure and method for kernel mode and user mode

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1645342A (en) * 2005-01-21 2005-07-27 清华大学 Large scale resource memory managing method based on network under SAN environment
CN103678573A (en) * 2013-12-09 2014-03-26 浪潮(北京)电子信息产业有限公司 Method and system for achieving cache acceleration
CN104123194A (en) * 2014-07-16 2014-10-29 上海斐讯数据通信技术有限公司 Communication structure and method for kernel mode and user mode

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106469048A (en) * 2015-08-18 2017-03-01 北京神州泰岳软件股份有限公司 A kind of method and apparatus calling content in attribute configuration file
CN107025109A (en) * 2015-12-26 2017-08-08 英特尔公司 The technology quoted using the native code of Binary analysis
CN106874953A (en) * 2017-02-16 2017-06-20 北京小米移动软件有限公司 Fingerprint recognition method of testing and device
CN107220133A (en) * 2017-05-27 2017-09-29 郑州云海信息技术有限公司 A kind of data interactive method, apparatus and system
CN107294783A (en) * 2017-06-30 2017-10-24 济南浪潮高新科技投资发展有限公司 A kind of switch management software architecture
CN107391201B (en) * 2017-07-27 2020-03-27 艾迪森海安数字医疗装备有限公司 Data flow realization method of software framework of dynamic service data
CN107391201A (en) * 2017-07-27 2017-11-24 艾迪森海安数字医疗装备有限公司 A kind of data flowing implementation method of the software frame of dynamic service data
CN107708223A (en) * 2017-09-28 2018-02-16 努比亚技术有限公司 A kind of information interacting method, equipment and computer-readable recording medium
CN107708223B (en) * 2017-09-28 2021-01-15 努比亚技术有限公司 Information interaction method and device and computer readable storage medium
CN112685073A (en) * 2019-10-17 2021-04-20 天津天堰科技股份有限公司 System architecture and system applying same
CN110889104A (en) * 2019-11-05 2020-03-17 福州汇思博信息技术有限公司 Android platform-based equipment data acquisition method, device, equipment and medium
CN110889104B (en) * 2019-11-05 2022-03-25 福州汇思博信息技术有限公司 Data acquisition method and device for Android system equipment
CN112463049A (en) * 2020-11-26 2021-03-09 苏州浪潮智能科技有限公司 Method and equipment for customizing storage system
CN113760408A (en) * 2021-08-19 2021-12-07 深圳市新国都股份有限公司 Hierarchical calling method, system, device and storage medium
CN113760408B (en) * 2021-08-19 2023-12-01 深圳市新国都股份有限公司 Hierarchical calling method, hierarchical calling system, hierarchical calling equipment and storage medium
CN116319245A (en) * 2023-05-17 2023-06-23 南京中科算通科技有限公司 5G protocol-oriented distributed test system
CN116319245B (en) * 2023-05-17 2023-08-29 南京中科算通科技有限公司 5G protocol-oriented distributed test system
CN117744543A (en) * 2024-02-21 2024-03-22 三微电子科技(苏州)有限公司 Electronic design automation software architecture based on voice interaction

Similar Documents

Publication Publication Date Title
CN104657149A (en) Software framework implementation method of management module of storage system
CN103049317B (en) Based on the high concurrent data no write de-lay system and method for queue under cloud environment
CN104965689A (en) Hybrid parallel computing method and device for CPUs/GPUs
CN102254021A (en) Method for constructing database based on virtual machine management system
CN102314358B (en) Method for deploying conventional applications on cloud platform in SOA (service oriented architecture) way
CN105630472A (en) Quick client development frame for manufacturing execution system and software development method for frame
CN108255539B (en) Meteorological satellite data processing system based on cloud computing and data virtualization
CN107896162A (en) Dispositions method, device, computer equipment and the storage medium of monitoring system
CN101710281B (en) Dynamic integrated system and method of development platform based on Agent
CN103150154B (en) The implementation method and device of a kind of application plug
US10216513B2 (en) Plugin for multi-module web applications
CN103064670A (en) Method and system for innovation platform data management based on place net
CN105867944A (en) Web front-end terminal operating layer and implementing method thereof
CN116149797B (en) Heterogeneous scene-oriented AI unified computing method, device, equipment and medium
CN101789944B (en) Development system of communication protocol stack of multifunctional energy meter
CN105391777A (en) Algorithm escrow PaaS platform for decoupling logic code and performance code
CN113569508A (en) Database model construction method and device for data indexing and access based on ID
CN110532058B (en) Management method, device and equipment of container cluster service and readable storage medium
CN106293770A (en) The general of a kind of table data leads table system and method
CN103631645A (en) Digital family middleware system based on digital medical treatment
CN102541544B (en) The processing method of Tree control, Apparatus and system
CN103501341A (en) Method and device for establishing Web service
CN105100180A (en) Cluster node dynamic loading method, device and system
CN112035466B (en) External index development framework for block chain query
JP7082701B2 (en) Magnetic disk management methods, magnetic disk management devices, electronic devices, computer programs and computer readable storage media

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150527

WD01 Invention patent application deemed withdrawn after publication