CN105700929A - Method and system controlling operating system configuration parameter - Google Patents
Method and system controlling operating system configuration parameter Download PDFInfo
- Publication number
- CN105700929A CN105700929A CN201610029391.9A CN201610029391A CN105700929A CN 105700929 A CN105700929 A CN 105700929A CN 201610029391 A CN201610029391 A CN 201610029391A CN 105700929 A CN105700929 A CN 105700929A
- Authority
- CN
- China
- Prior art keywords
- configuration
- configuration parameter
- operating system
- module
- parameter module
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
- G06F9/44—Arrangements for executing specific programs
- G06F9/445—Program loading or initiating
- G06F9/44505—Configuring for program initiating, e.g. using registry, configuration files
- G06F9/4451—User profiles; Roaming
Abstract
The invention discloses a method controlling operating system configuration parameters; the method comprises the following steps; a WEB server receives a configuration parameter module sent by a user end, if the configuration process of the configuration parameter module causes inconsistency between operating system running parameters and configuration file configuration parameters, invoking a data bus terminal in a CGI interface; the data bus terminal collects the configuration parameter module, and adjusts the data format of the configuration parameter module so as to satisfy operation system requirements; a data bus service interface in the operating system receives the adjusted configuration parameter module, thus realizing consistency between the operating system configuration parameters and running parameters. In addition, the invention also discloses a system controlling operating system configuration parameters.
Description
Technical field
The present invention relates to communication technical field, particularly relate to a kind of method and system controlling operating system configuration parameter。
Background technology
Along with the development of high-end server becomes increasingly complex, the operating system itself for its installation is also more and more important, and traditional mode in room management operating system is increasingly repelled by vast system manager。Nowadays, the method for managing system of efficient, safe WEB service control mode becomes everybody first-selection。Based in the operating system management platform architecture of WEB service, how effectively configuring relevant parameter becomes and needs to consider key problem。At WEB service end, the system file in operating system can be accessed by CGI interface, it is also possible to by adjusting the parameter information of the content modification configuration file of configuration file。But, for adjusting this situation of content of configuration file, owing to needing that the parameter information in configuration file is modified, therefore easily causing the inconsistence problems of operating system parameter, namely the parameter in operating operating system and the parameter set in configuration file are inconsistent。
As can be seen here, when carrying out parameter information amendment in operating system, how avoiding the parameter in operating operating system and the inconsistent problem of the parameter that sets in configuration file is those skilled in the art's problem demanding prompt solutions。
Summary of the invention
It is an object of the invention to provide a kind of method controlling operating system configuration parameter, for when the configuration file in operating system being carried out parameter information amendment, how avoiding the parameter in operating operating system and the inconsistent problem of parameter set in configuration file。Additionally, the purpose of the present invention also provides for a kind of system controlling operating system configuration parameter。
For solving above-mentioned technical problem, the present invention provides a kind of method controlling operating system configuration parameter, including:
WEB server receives the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then calls the data bus terminal in CGI interface;
Described data bus terminal is collected described configuration parameter module and is adjusted meeting the requirement of operating system to the data form of described configuration parameter module;
Data/address bus service interface in operating system receives the configuration parameter module after adjusting。
Preferably, the data/address bus service interface in described operating system also includes after receiving the configuration parameter module after adjusting:
Described operating system is carried out parameter configuration according to the data of the configuration parameter module after described adjustment by the systematic parameter configuration service device in described operating system。
Preferably, described data/address bus service interface receives the configuration parameter module after described adjustment especially by data bus protocol。
Preferably, also include:
If the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then WEB server calls the generic configuration module in CGI interface;
The data form of described configuration parameter module is also adjusted meeting the requirement of operating system by configuration parameter module described in described generic configuration module collection;
System file in operating system receives the configuration parameter module after adjusting。
Preferably, the system file in described operating system also includes after receiving the configuration parameter module after adjusting:
Described operating system is carried out parameter configuration according to the data of the configuration parameter module after described adjustment by described system file。
A kind of system controlling operating system configuration parameter, including:
WEB server, for receiving the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then calls the data bus terminal in CGI interface;
Described data bus terminal, for collecting described configuration parameter module and the data form to described configuration parameter module is adjusted meeting the requirement of operating system;
Data/address bus service interface in operating system, is used for the configuration parameter module after receiving adjustment。
Preferably, also include:
Systematic parameter configuration service device, carries out parameter configuration for the data according to the configuration parameter module after described adjustment to described operating system。
Preferably, described data/address bus service interface is especially by data bus protocol and described data bus terminal communication。
Preferably, if the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then also include:
Generic configuration module, for collecting described configuration parameter module and the data form to described configuration parameter module is adjusted meeting the requirement of operating system;
System file, is used for the configuration parameter module after receiving adjustment。
Preferably, described system file is additionally operable to the data of the configuration parameter module after according to described adjustment described operating system is carried out parameter configuration。
The method of control operating system configuration parameter provided by the present invention, the method controlling operating system configuration parameter, WEB server receives the configuration parameter module that user side sends, when configuration process in configuration parameter module can cause the configuration parameter of operating system parameter and configuration file inconsistent problem, call the data bus terminal in CGI interface, make WEB server can pass through data bus terminal and operating system communication, thus reaching the purpose that operating system configuration parameter is consistent with operational factor。With this, the configuration parameter of operating system is exactly amended configuration parameter, it is to avoid the problem that parameter information is inconsistent with the parameter information in configuration file。
Accompanying drawing explanation
In order to be illustrated more clearly that the embodiment of the present invention, the accompanying drawing used required in embodiment will be done simple introduction below, apparently, accompanying drawing in the following describes is only some embodiments of the present invention, for those of ordinary skill in the art, under the premise not paying creative work, it is also possible to obtain other accompanying drawing according to these accompanying drawings。
Fig. 1 is the flow chart of a kind of method controlling operating system configuration parameter provided by the invention;
Fig. 2 is the structure chart of a kind of system controlling operating system configuration parameter provided by the invention;
Fig. 3 is the structure chart of the another kind of system controlling operating system configuration parameter provided by the invention。
Fig. 4 is the structure chart of the another kind of system controlling operating system configuration parameter provided by the invention。
Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiment。Based on the embodiment in the present invention, those of ordinary skill in the art under not making creative work premise, the every other embodiment obtained, broadly fall into scope。
The core of the present invention is to provide a kind of method and system controlling operating system configuration parameter。
In order to make those skilled in the art be more fully understood that the present invention program, below in conjunction with the drawings and specific embodiments, the present invention is described in further detail。
Embodiment one
Fig. 1 is the flow chart of a kind of method controlling operating system configuration parameter provided by the invention。As it is shown in figure 1, the method controlling operating system configuration parameter, including:
S10:WEB server receives the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then calls the data bus terminal in CGI interface;
S11: data bus terminal is collected configuration parameter module and is adjusted meeting the requirement of operating system to the data form of configuration parameter module;
S12: the data/address bus service interface in operating system receives the configuration parameter module after adjusting。
In being embodied as, first WEB server receives the configuration parameter module that client sends, and contains, in this configuration parameter module, the related data that operating system carries out parameter configuration。The conformance requirement of the configuration parameter module having in being embodied as is higher, the problem namely relating to operating system parameter consistency, for instance, update class, create class etc.。The conformance requirement of some configuration parameter modules is relatively low, the problem being namely not directed to operating system parameter consistency。Therefore the problem different configuration parameter modules being needed to be analyzed its conformance requirement height。For the configuration parameter module that conformance requirement is higher, WEB server calls the data bus terminal in CGI interface。Data bus terminal collects configuration parameter module, owing to the data form in this configuration parameter module is unsatisfactory for the requirement of operating system, accordingly, it would be desirable to the data form of configuration parameter module is adjusted by data bus terminal。After adjustment, being sent to the data/address bus service interface in operating system, data/address bus service interface receives the configuration parameter module after adjusting。
It should be noted that, once the data bus terminal that have invoked in data CGI interface, now operating system is at kernel mode, when, after the configuration parameter module after data/address bus service interface receives adjustment, operating system just can be carried out parameter configuration according to the data of the configuration parameter module after adjusting by the systematic parameter configuration service device in operating system。
With this, the configuration parameter of operating system is exactly amended configuration parameter, it is to avoid the problem that parameter information is inconsistent with the parameter information in configuration file。
The method of the control operating system configuration parameter that the present embodiment provides, WEB server receives the configuration parameter module that user side sends, when configuration process in configuration parameter module can cause the configuration parameter of operating system parameter and configuration file inconsistent problem, call the data bus terminal in CGI interface, make WEB server can pass through data bus terminal and operating system communication, thus reaching the purpose that operating system configuration parameter is consistent with operational factor。
As one preferred embodiment, data/address bus service interface in an operating system also includes after receiving the configuration parameter module after adjusting:
Operating system is carried out parameter configuration according to the data of the configuration parameter module after adjusting by the systematic parameter configuration service device in operating system。
In the above-described embodiments, data bus interface is the configuration parameter module after receiving adjustment。In this preferred implementation, after the configuration parameter module that data bus interface receives after adjusting, operating system is configured by systematic parameter configuration service device according to the data of the configuration parameter module after adjusting。
Wherein, on the basis of above-described embodiment, data/address bus service interface receives the configuration parameter module after adjusting especially by data bus protocol。
Fig. 2 is the flow chart of the another kind of method controlling operating system configuration parameter provided by the invention。As in figure 2 it is shown, on the basis of above-described embodiment, the method controlling operating system configuration parameter, also include:
S20: if the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then WEB server calls the generic configuration module in CGI interface;
S21: the data form of configuration parameter module is also adjusted meeting the requirement of operating system by generic configuration module collection configuration parameter module;
S22: the system file in operating system receives the configuration parameter module after adjusting。
For the problem that different configuration parameter modules needs to be analyzed its conformance requirement height。For the configuration parameter module that conformance requirement is relatively low, WEB server calls the generic configuration module in CGI interface。Generic configuration module collection configuration parameter module, owing to the data form in this generic configuration module is unsatisfactory for the requirement of operating system, accordingly, it would be desirable to the data form of configuration parameter module is adjusted by generic configuration module。Being sent to the system file in operating system after adjustment, system file receives the configuration parameter module after adjusting。
Wherein, system file in an operating system also includes after receiving the configuration parameter module after adjusting: operating system is carried out parameter configuration according to the data of the configuration parameter module after adjusting by system file。
In the above-described embodiments, system file is the configuration parameter module after receiving adjustment。In this preferred implementation, after the configuration parameter module that system file receives after adjusting, operating system is configured by system file according to the data of the configuration parameter module after adjusting。
Embodiment two
Fig. 3 is the structure chart of a kind of system controlling operating system configuration parameter provided by the invention。Control the system of operating system configuration parameter, including:
WEB server 10, for receiving the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then call the data bus terminal 12 in CGI interface 11;
Data bus terminal 12, for collecting configuration parameter module and the data form to configuration parameter module is adjusted meeting the requirement of operating system 13;
Data/address bus service interface 14 in operating system 13, is used for the configuration parameter module after receiving adjustment。
Wherein, also include: systematic parameter configuration service device 15, for operating system being carried out parameter configuration according to the data of the configuration parameter module after adjusting。
Wherein, data/address bus service interface is especially by data bus protocol and data bus terminal communication。
Fig. 4 is the structure chart of the another kind of system controlling operating system configuration parameter provided by the invention。Wherein, if the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then also include:
Generic configuration module 16, for collecting configuration parameter module and the data form to configuration parameter module is adjusted meeting the requirement of operating system;
System file 17, is used for the configuration parameter module after receiving adjustment。
Wherein, operating system is carried out parameter configuration by the data that system file is additionally operable to according to the configuration parameter module after adjusting。
Owing to embodiment two is to implement the embodiment of components of system as directed corresponding to method in embodiment one, therefore specific embodiment refers to the description of embodiment one, and the present embodiment wouldn't repeat。
Above the method and system of control operating system configuration parameter provided by the present invention are described in detail。In description, each embodiment adopts the mode gone forward one by one to describe, and what each embodiment stressed is the difference with other embodiments, between each embodiment identical similar portion mutually referring to。For system disclosed in embodiment, owing to it corresponds to the method disclosed in Example, so what describe is fairly simple, relevant part illustrates referring to method part。It should be pointed out that, for those skilled in the art, under the premise without departing from the principles of the invention, it is also possible to the present invention carries out some improvement and modification, these improve and modify in the protection domain also falling into the claims in the present invention。
Professional further appreciates that, the unit of each example described in conjunction with the embodiments described herein and algorithm steps, can with electronic hardware, computer software or the two be implemented in combination in, in order to clearly demonstrate the interchangeability of hardware and software, generally describe composition and the step of each example in the above description according to function。These functions perform with hardware or software mode actually, depend on application-specific and the design constraint of technical scheme。Professional and technical personnel specifically can should be used for using different methods to realize described function to each, but this realization is it is not considered that beyond the scope of this invention。
The method described in conjunction with the embodiments described herein or the step of algorithm can directly use the software module that hardware, processor perform, or the combination of the two is implemented。Software module can be placed in any other form of storage medium known in random access memory (RAM), internal memory, read only memory (ROM), electrically programmable ROM, electrically erasable ROM, depositor, hard disk, moveable magnetic disc, CD-ROM or technical field。
Claims (10)
1. the method controlling operating system configuration parameter, it is characterised in that including:
WEB server receives the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then calls the data bus terminal in CGI interface;
Described data bus terminal is collected described configuration parameter module and is adjusted meeting the requirement of operating system to the data form of described configuration parameter module;
Data/address bus service interface in operating system receives the configuration parameter module after adjusting。
2. the method for control operating system configuration parameter according to claim 1, it is characterised in that the data/address bus service interface in described operating system also includes after receiving the configuration parameter module after adjusting:
Described operating system is carried out parameter configuration according to the data of the configuration parameter module after described adjustment by the systematic parameter configuration service device in described operating system。
3. the method for control operating system configuration parameter according to claim 1 and 2, it is characterised in that described data/address bus service interface receives the configuration parameter module after described adjustment especially by data bus protocol。
4. the method for control operating system configuration parameter according to claim 1, it is characterised in that also include:
If the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then WEB server calls the generic configuration module in CGI interface;
The data form of described configuration parameter module is also adjusted meeting the requirement of operating system by configuration parameter module described in described generic configuration module collection;
System file in operating system receives the configuration parameter module after adjusting。
5. the method for control operating system configuration parameter according to claim 4, it is characterised in that the system file in described operating system also includes after receiving the configuration parameter module after adjusting:
Described operating system is carried out parameter configuration according to the data of the configuration parameter module after described adjustment by described system file。
6. the system controlling operating system configuration parameter, it is characterised in that including:
WEB server, for receiving the configuration parameter module that user side sends, if the configuration process of this configuration parameter module can cause the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then calls the data bus terminal in CGI interface;
Described data bus terminal, for collecting described configuration parameter module and the data form to described configuration parameter module is adjusted meeting the requirement of operating system;
Data/address bus service interface in operating system, is used for the configuration parameter module after receiving adjustment。
7. the system of control operating system configuration parameter according to claim 6, it is characterised in that also include:
Systematic parameter configuration service device, carries out parameter configuration for the data according to the configuration parameter module after described adjustment to described operating system。
8. the method for the control operating system configuration parameter according to claim 6 or 7, it is characterised in that described data/address bus service interface is especially by data bus protocol and described data bus terminal communication。
9. the system of control operating system configuration parameter according to claim 6, it is characterised in that if the configuration process of this configuration parameter module does not result in the problem that operating system parameter is inconsistent with the configuration parameter of configuration file, then also include:
Generic configuration module, for collecting described configuration parameter module and the data form to described configuration parameter module is adjusted meeting the requirement of operating system;
System file, is used for the configuration parameter module after receiving adjustment。
10. the system of control operating system configuration parameter according to claim 9, it is characterised in that described system file is additionally operable to the data of the configuration parameter module after according to described adjustment and described operating system is carried out parameter configuration。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029391.9A CN105700929A (en) | 2016-01-15 | 2016-01-15 | Method and system controlling operating system configuration parameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610029391.9A CN105700929A (en) | 2016-01-15 | 2016-01-15 | Method and system controlling operating system configuration parameter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105700929A true CN105700929A (en) | 2016-06-22 |
Family
ID=56227485
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610029391.9A Pending CN105700929A (en) | 2016-01-15 | 2016-01-15 | Method and system controlling operating system configuration parameter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105700929A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150471A (en) * | 2007-10-29 | 2008-03-26 | 中兴通讯股份有限公司 | Broadband radio access system and method |
CN101262486A (en) * | 2008-04-18 | 2008-09-10 | 清华大学 | Modbus bus analysis system based on built-in platform |
US20090193126A1 (en) * | 2008-01-26 | 2009-07-30 | Puneet Agarwal | Systems and methods for configuration driven rewrite of ssl vpn clientless sessions |
US20090237728A1 (en) * | 2008-03-19 | 2009-09-24 | Canon Kabushiki Kaisha | Information processing apparatus and image processing apparatus |
CN102710792A (en) * | 2012-06-21 | 2012-10-03 | 上海理工大学 | Design method for embedded generic node with remote service function |
CN103326936A (en) * | 2012-03-21 | 2013-09-25 | 刘广勤 | Multi-protocol gateway of Internet of Things allowing unified access of various heterogeneous sensing layer networks |
CN103616927A (en) * | 2013-11-08 | 2014-03-05 | 安徽康海时代科技有限公司 | Data communication server |
-
2016
- 2016-01-15 CN CN201610029391.9A patent/CN105700929A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101150471A (en) * | 2007-10-29 | 2008-03-26 | 中兴通讯股份有限公司 | Broadband radio access system and method |
US20090193126A1 (en) * | 2008-01-26 | 2009-07-30 | Puneet Agarwal | Systems and methods for configuration driven rewrite of ssl vpn clientless sessions |
US20090237728A1 (en) * | 2008-03-19 | 2009-09-24 | Canon Kabushiki Kaisha | Information processing apparatus and image processing apparatus |
CN101262486A (en) * | 2008-04-18 | 2008-09-10 | 清华大学 | Modbus bus analysis system based on built-in platform |
CN103326936A (en) * | 2012-03-21 | 2013-09-25 | 刘广勤 | Multi-protocol gateway of Internet of Things allowing unified access of various heterogeneous sensing layer networks |
CN102710792A (en) * | 2012-06-21 | 2012-10-03 | 上海理工大学 | Design method for embedded generic node with remote service function |
CN103616927A (en) * | 2013-11-08 | 2014-03-05 | 安徽康海时代科技有限公司 | Data communication server |
Non-Patent Citations (1)
Title |
---|
吴坚,张家奇,蒋平: "uClinux下Web Server及CGI技术的实现", 《测控技术》 * |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9634915B2 (en) | Methods and computer program products for generating a model of network application health | |
WO2015192651A1 (en) | Method for implementing rapid configuration and rapid configuration server | |
CN102571420B (en) | Method and system for network element data management | |
WO2017041649A1 (en) | Application deployment method and device | |
US8849947B1 (en) | IT discovery of virtualized environments by scanning VM files and images | |
CN105260377B (en) | A kind of upgrade method and system based on classification storage | |
US9537932B2 (en) | Emulating test distributed application on server | |
WO2023050706A1 (en) | Database multi-write method and apparatus, and related device | |
CN105786511A (en) | Implementation method for terminal device Web application management | |
WO2021073395A1 (en) | Yang model management method, apparatus and system, device, and storage medium | |
WO2021135279A1 (en) | Asymmetric configuration management method, apparatus and device, and readable storage medium | |
CN103077061A (en) | Installing method of application software in Android equipment and system | |
CN113162944B (en) | Network communication method, device and equipment for security operation platform and security component | |
US10517077B2 (en) | Method and apparatus for implementing mobile broadband device service | |
CN112181049B (en) | Cluster time synchronization method, device, system, equipment and readable storage medium | |
US8312138B2 (en) | Methods and computer program products for identifying and monitoring related business application processes | |
US9106659B2 (en) | Decoupling cluster data from cloud deployment | |
WO2015196805A1 (en) | Batch command execution method and apparatus | |
CN107332851A (en) | Flow is controlled in a kind of virtual environment collocation method and system | |
CN103078923B (en) | The dynamic adjusting method of a kind of program login interface and internet terminal | |
CN105700929A (en) | Method and system controlling operating system configuration parameter | |
CN103118092A (en) | Method and device for realizing single login | |
CN108093096B (en) | Method for upgrading access link of server, server and storage medium | |
CN109274715A (en) | The platform resource management system of vehicle-mounted multi-channel communication systems | |
US20150341234A1 (en) | Method for generating graphic interface for monitoring network nodes in a network |
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 | ||
WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20160622 |