CN103064919B - Method and device for preserving configuration parameters in business system - Google Patents

Method and device for preserving configuration parameters in business system Download PDF

Info

Publication number
CN103064919B
CN103064919B CN201210559279.8A CN201210559279A CN103064919B CN 103064919 B CN103064919 B CN 103064919B CN 201210559279 A CN201210559279 A CN 201210559279A CN 103064919 B CN103064919 B CN 103064919B
Authority
CN
China
Prior art keywords
module
parameter
configuration parameter
video data
shared drive
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.)
Active
Application number
CN201210559279.8A
Other languages
Chinese (zh)
Other versions
CN103064919A (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.)
Beijing Si Tech Information Technology Co Ltd
Original Assignee
Beijing Si Tech 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 Beijing Si Tech Information Technology Co Ltd filed Critical Beijing Si Tech Information Technology Co Ltd
Priority to CN201210559279.8A priority Critical patent/CN103064919B/en
Publication of CN103064919A publication Critical patent/CN103064919A/en
Application granted granted Critical
Publication of CN103064919B publication Critical patent/CN103064919B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention relates to a method and a device for preserving configuration parameters in a business system. The method includes the following steps that step one, configuration parameters in the business system are classified and preserved in a database; step two, a display initialization unit of the business system performs display initialization on each parameter module; step three, an initialization unit in a shared memory reads configuration parameters in each data display module from the database and preserves the configuration parameters in a data unit in the shared memory; step four, a display unit in the shared memory displays the configuration parameters in the data display modules; step five, when the configuration parameters are required to be used, the configuration parameters in the data display modules in the shared memory are read; and step six, when the configuration parameters are required to be modified, the configuration parameters in parameter modules in the database are modified, and the step two is re-executed. By means of the method and the device for preserving the configuration parameters in the business system, system restarting is not required during parameter modification in a complicated business system, immediate modification and immediate using can be achieved, and maintenance and updating of a large quantity of the configuration parameters in the large-scale business system are greatly facilitated.

Description

The store method of configuration parameter and device in a kind of operation system
Technical field
The present invention relates to parameter storing method in a kind of operation system, the store method of configuration parameter.
Background technology
With the development of mobile service, the complexity of system improves constantly, and traditional configuration parameter preserves hereof The demand of business function can be solved, but real-time is poor, have modified a certain parameter, related application program will open again Dynamic, have impact on the development of business.And it is also inconvenient for safeguarding.
The method is that attendant is operated on backstage now, does not carry out visualizing sort operation on foreground, Visualization classification configurations in foreground can be carried out in next version, be more convenient for safeguarding.
The present invention is aiming at problem above and designs, and preserves configuration parameter using data base, initial using shared drive Changing and read in, if using certain parameter in a program, directly reading from shared drive, fast and easy, if will repair Change a certain parameter, as long as modification data base, then reinitialize shared drive, come into force in real time, it is to avoid restart system Risk, easy and simple to handle, be easy to safeguard.
Content of the invention
The technical problem to be solved is to provide one kind to preserve configuration parameter by data base, using at the beginning of shared drive Beginningization reads in, when using certain configuration parameter, directly read from shared drive, the industry of direct modification data base during modification Configuration parameter store method and device in business system.
The technical scheme that the present invention solves above-mentioned technical problem is as follows:The preservation side of configuration parameter in a kind of operation system Method, comprises the following steps:
Step 1:Each configuration parameter in operation system is classified, sorted every class configuration parameter is each to form one Parameter module, each parameter module is stored in data base;
Step 2:The display initialization unit of operation system accesses each parameter module in data base, and each parameter module is entered Row display initialization, each parameter module is all transformed into a video data module, the configuration parameter in each parameter module afterwards It is changed into the configuration parameter in video data module;
Step 3:Initialization unit in shared drive reads each video data module from data base, afterwards by each display Data module is saved in the data cell in shared drive;
Step 4:Display unit in shared drive, the configuration parameter in each video data module in data cell is entered Row display;
Step 5:When needing using each configuration parameter, read the configuration ginseng in each video data module in shared drive Number;When needing to change configuration parameter, change the configuration parameter in each parameter module in data base, re-execute step afterwards 2.
The invention has the beneficial effects as follows:Preserved configuration parameter, initialized using shared drive and read in, use by data base During certain configuration parameter, directly read from shared drive, directly change data base during modification, come into force in real time, it is to avoid restart The risk of system, easy and simple to handle, it is easy to safeguard.
On the basis of technique scheme, the present invention can also do following improvement.
Further, the species of each parameter module includes class database and shared drive class.
Apply to the configuration parameter of multiple species using the beneficial effect of above-mentioned further scheme.
The save set of configuration parameter in a kind of operation system, including sort module, shows initialization module, reading and saving Module, display module and reading modified module;
Described sort module, for each configuration parameter in operation system is classified, sorted every class configuration ginseng Number one parameter module of each formation, each parameter module is stored in data base;
Described display initialization module, the display initialization unit for operation system accesses each parameter mould in data base Block, each parameter module is carried out display initialization, each parameter module is all transformed into a video data module, each parameter afterwards Configuration parameter in module is changed into the configuration parameter in video data module;
Described reading and saving module, reads each video data mould for the initialization unit in shared drive from data base Each video data module is saved in the data cell in shared drive by block afterwards;
Described display module, for using the display unit in shared drive, by each video data mould in data cell Configuration parameter in block is shown;
Described reading modified module, for when needing using each configuration parameter, reading each display number in shared drive According to the configuration parameter in module;When needing to change configuration parameter, change the configuration parameter in each parameter module in data base, Again show initialization module afterwards.
Beneficial effect using above-mentioned further scheme is to be preserved configuration parameter, utilized shared drive initialization by data base When reading in, using certain configuration parameter, directly read from shared drive, directly change data base during modification, come into force in real time, Avoid the risk restarting system, easy and simple to handle, it is easy to safeguard.
The species of described each parameter module includes class database and shared drive class.
Apply to the configuration parameter of multiple species using the beneficial effect of above-mentioned further scheme.
Brief description
Fig. 1 is the inventive method flow chart of steps;
Fig. 2 is apparatus of the present invention structure chart.
In accompanying drawing, the list of parts representated by each label is as follows:
1st, sort module, 2, display initialization module, 3, reading and saving module, 4, display module, 5, read modified module.
Specific embodiment
Below in conjunction with accompanying drawing, the principle of the present invention and feature are described, example is served only for explaining the present invention, and Non- for limiting the scope of the present invention.
As shown in figure 1, being the inventive method flow chart of steps;Fig. 2 is apparatus of the present invention structure chart.
Embodiment 1
In a kind of operation system, the store method of configuration parameter, comprises the following steps:
Step 1:Each configuration parameter in operation system is classified, sorted every class configuration parameter is each to form one Parameter module, each parameter module is stored in data base;Namely define a structure to preserve the configuration in data base Parameter uses for program;
Step 2:The display initialization unit of operation system accesses each parameter module in data base, and each parameter module is entered Row display initialization, each parameter module is all transformed into a video data module, the configuration parameter in each parameter module afterwards It is changed into the configuration parameter in video data module;
Step 3:Initialization unit in shared drive reads each video data module from data base, afterwards by each display Data module is saved in the data cell in shared drive;Namely write one piece of shared drive region of a program creation and point to this The region of memory that individual structure is located;By in the parameter assignment in data base to structure defined above;
Step 4:Display unit in shared drive, the configuration parameter in each video data module in data cell is entered Row display;Configuration parameter is shown, for looking into by the shared drive region namely writing a program reading configuration configuration parameter place See that confirmation uses;
Step 5:When needing using each configuration parameter, read the configuration ginseng in each video data module in shared drive Number, that is, just can access the shared drive region of configuration parameter at any time when operation system is processed for using;Work as needs During modification configuration parameter, change the configuration parameter in each parameter module in data base, re-execute step 2 afterwards, if not straight Connect operating database, visualization interface can be increased and show and change configuration parameter and be synchronized to data base.
Further, the species of each parameter module includes class database and shared drive class.
The save set of configuration parameter in a kind of operation system, including sort module 1, shows initialization module 2, reads and protect Storing module 3, display module 4 and reading modified module 5;
Described sort module 1, for each configuration parameter in operation system is classified, sorted every class configuration ginseng Number one parameter module of each formation, each parameter module is stored in data base;
Described display initialization module 2, the display initialization unit for operation system accesses each parameter in data base Module, each parameter module is carried out display initialization, each parameter module is all transformed into a video data module afterwards, each ginseng Configuration parameter in digital-to-analogue block is changed into the configuration parameter in video data module;
Described reading and saving module 3, reads each video data for the initialization unit in shared drive from data base Each video data module is saved in the data cell in shared drive by module afterwards;
Described display module 4, for using the display unit in shared drive, by each video data mould in data cell Configuration parameter in block is shown;
Described reading modified module 5, for when needing using each configuration parameter, reading each display number in shared drive According to the configuration parameter in module;When needing to change configuration parameter, change the configuration parameter in each parameter module in data base, Again show initialization module afterwards.
The species of described each parameter module includes class database and shared drive class.
The foregoing is only presently preferred embodiments of the present invention, not in order to limit the present invention, all spirit in the present invention and Within principle, any modification, equivalent substitution and improvement made etc., should be included within the scope of the present invention.

Claims (4)

1. in a kind of operation system the store method of configuration parameter it is characterised in that comprising the following steps:
Step 1:Each configuration parameter in operation system is classified, sorted every class configuration parameter respectively forms a parameter Module, each parameter module is stored in data base;
Step 2:The display initialization unit of operation system accesses each parameter module in data base, and each parameter module is shown Show initialization, each parameter module is all transformed into a video data module afterwards, the configuration parameter in each parameter module changes For the configuration parameter in video data module;
Step 3:Initialization unit in shared drive reads each video data module from data base, afterwards by each video data Module is saved in the data cell in shared drive;
Step 4:Display unit in shared drive, the configuration parameter in each video data module in data cell is shown Show;
Step 5:When needing using each configuration parameter, read the configuration parameter in each video data module in shared drive; When needing to change configuration parameter, change the configuration parameter in each parameter module in data base, re-execute step 2 afterwards.
2. store method according to claim 1 it is characterised in that:The species of each parameter module includes class database and is total to Enjoy internal memory class.
3. in a kind of operation system configuration parameter save set it is characterised in that:Including sort module(1), display initialization Module(2), reading and saving module(3), display module(4)With reading modified module(5);
Described sort module(1), for each configuration parameter in operation system is classified, sorted every class configuration parameter Respectively form a parameter module, each parameter module is stored in data base;
Described display initialization module(2), for each parameter mould in the display initialization unit access data base of operation system Block, each parameter module is carried out display initialization, each parameter module is all transformed into a video data module, each parameter afterwards Configuration parameter in module is changed into the configuration parameter in video data module;
Described reading and saving module(3), read each video data mould from data base for the initialization unit in shared drive Each video data module is saved in the data cell in shared drive by block afterwards;
Described display module(4), for using the display unit in shared drive, by each video data module in data cell In configuration parameter shown;
Described reading modified module(5), for when needing using each configuration parameter, reading each video data in shared drive Configuration parameter in module;When needing to change configuration parameter, change the configuration parameter in each parameter module in data base, it Again show initialization module afterwards.
4. save set according to claim 3 it is characterised in that:The species of described each parameter module includes class database With shared drive class.
CN201210559279.8A 2012-12-20 2012-12-20 Method and device for preserving configuration parameters in business system Active CN103064919B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210559279.8A CN103064919B (en) 2012-12-20 2012-12-20 Method and device for preserving configuration parameters in business system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210559279.8A CN103064919B (en) 2012-12-20 2012-12-20 Method and device for preserving configuration parameters in business system

Publications (2)

Publication Number Publication Date
CN103064919A CN103064919A (en) 2013-04-24
CN103064919B true CN103064919B (en) 2017-02-15

Family

ID=48107549

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210559279.8A Active CN103064919B (en) 2012-12-20 2012-12-20 Method and device for preserving configuration parameters in business system

Country Status (1)

Country Link
CN (1) CN103064919B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109150930B (en) * 2017-06-15 2020-12-18 北京金山云网络技术有限公司 Configuration information loading method and device and service processing method and device
TWI658368B (en) * 2017-06-21 2019-05-01 財團法人資訊工業策進會 Sensor estimation server and sensor estimation method
CN107544828A (en) * 2017-09-01 2018-01-05 北京奇虎科技有限公司 Configuring load application method and device
CN111104133A (en) * 2018-10-25 2020-05-05 深圳市茁壮网络股份有限公司 Configuration parameter updating system, method and storage medium
CN111694586A (en) * 2020-06-05 2020-09-22 平安科技(深圳)有限公司 Program initialization method, program initialization device, terminal device, and storage medium
CN113485850A (en) * 2021-04-25 2021-10-08 北京思特奇信息技术股份有限公司 Service configuration method and configuration system of distributed file system
CN113407209B (en) * 2021-06-18 2023-06-02 湖南快乐阳光互动娱乐传媒有限公司 Configuration data updating method and device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526972A (en) * 2009-04-21 2009-09-09 上海闻泰电子科技有限公司 Setting device of circuit board and method thereof
CN101937474A (en) * 2010-10-14 2011-01-05 广州从兴电子开发有限公司 Mass data query method and device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101615815A (en) * 2009-07-09 2009-12-30 威海凯迪帕沃开关有限公司 Collocation method to different acquisition units parameter reorganization demonstration in the electric power monitoring system
CN101714192B (en) * 2009-11-13 2012-03-21 航天东方红卫星有限公司 Satellite test data processing system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101526972A (en) * 2009-04-21 2009-09-09 上海闻泰电子科技有限公司 Setting device of circuit board and method thereof
CN101937474A (en) * 2010-10-14 2011-01-05 广州从兴电子开发有限公司 Mass data query method and device

Also Published As

Publication number Publication date
CN103064919A (en) 2013-04-24

Similar Documents

Publication Publication Date Title
CN103064919B (en) Method and device for preserving configuration parameters in business system
CN104536701A (en) Realizing method and system for NVME protocol multi-command queues
CN102682108B (en) Row and line mixed database storage method
CN104699723A (en) Data exchange adapter and system and method for synchronizing data among heterogeneous systems
ATE458229T1 (en) ARRANGEMENT WITH A TACHOGRAPH
CN102970190B (en) Network traffic monitoring system
CN105320462A (en) Data access method for solid state driver
CN104252422A (en) Memory access method and memory controller
CN103092634A (en) Set-top box software upgrading method for multiple flash devices
CN103927215A (en) kvm virtual machine scheduling optimization method and system based on memory disk and SSD disk
CN102841822B (en) Carry out delaying the method and system of machine protection to jobTracker main frame
CN102375886A (en) Multi-channel high-speed data comparing method
CN102486719B (en) Intelligent memory card and transaction-writing method thereof
CN102968366A (en) Local storage method and device of logs of blu-ray player
CN102360387A (en) Method for outputting geometric data of facet element of vector data transfer format of topology 1
CN103577434B (en) A kind of management method and device of data file
US20140052902A1 (en) Electronic device and method of generating virtual universal serial bus flash device
CN103455575A (en) Method and device for statistic analysis of data
CN102739818B (en) Address scheduling method, device and system
CN103049291B (en) A kind of collocation method of memory device test environment
CN109324810A (en) The production method and system of internet of things equipment upgrade package
CN104063339B (en) Portable Apparatus Using Multi-core Storage Mechanism And Data Access Method Therefor
CN105786945A (en) High-efficiency processing method for electricity consumption information data based on data channel
CN105760625B (en) Servo and punching machine blend data managing method
CN202102437U (en) Data recording system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant