CN107277120A - configuration file management method, device and service configuration method and system - Google Patents
configuration file management method, device and service configuration method and system Download PDFInfo
- Publication number
- CN107277120A CN107277120A CN201710414534.2A CN201710414534A CN107277120A CN 107277120 A CN107277120 A CN 107277120A CN 201710414534 A CN201710414534 A CN 201710414534A CN 107277120 A CN107277120 A CN 107277120A
- Authority
- CN
- China
- Prior art keywords
- service
- configuration file
- configuration
- profile information
- index
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/2866—Architectures; Arrangements
- H04L67/30—Profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/51—Discovery or management thereof, e.g. service location protocol [SLP] or web services
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Stored Programmes (AREA)
Abstract
The present invention relates to a kind of configuration file management method, device and service configuration method and system, wherein, configuration file management method comprises the following steps profile information of the project submodule according to service to be configured, generates index list;Corresponding index list is deployed under the predetermined directory of corresponding software running environment by projects submodule respectively according to default name form, by general module by searching for the index summary table that predetermined directory generation includes each index list.The configuration file separation for the same service that the present invention uses disparity items submodule, reduces the degree of coupling of intermodule, reduces the possibility for the systematicness mistake that code error is caused.It can solve the problem that between the disparate modules under information security background in the development scheme pattern of inaccessible mutually, the human cost consumption problem that the flow application or communication for needing sundry item group membership to coordinate modification and producing are brought, can greatly improve the efficiency of exploitation and debugging.
Description
Technical field
The present invention relates to technical field of software development, more particularly to a kind of configuration file management method, device and clothes
Business collocation method and system.
Background technology
Generally in large-scale software development project, it is one to configure some conventional public services or parameter by configuration file
Item very common demand.Consider for information security, be disparate modules generally by an item dividing, each project team is except certainly
Oneself is responsible for outside module, the code of inaccessible sundry item group exploitation.
Legacy profile Managed Solution specifically can be as shown in Figure 1:Common Module (general module), Module 1
(module 1), Module 2 (module 2) represent the disparate modules inside software systems respectively, while also belonging to disparity items group.
Configuration File A (configuration file A), Configuration File B (configuration file B) are belonging respectively to
Service A (service A), Service B (service B) configuration file.When the service that module 1 needs configuration service A to provide,
It is accomplished by by going modification configuration file A to achieve the goal.
In implementation process, inventor has found that at least there are the following problems in conventional art:Due to configuration file A, configuration
File B belongs to the code storage of general module, it is necessary to by touching when the personnel of sundry item group need to change these files
Hair flow allows the personnel of the project team to change these files, and flow application and communication process can consume great effort, reduction
Exploitation and the efficiency of debugging.Meanwhile, the people of disparity items group may change same configuration file, when imprudence introduces mistake
When, the influence of meeting generation system.
The content of the invention
Based on this, it is necessary to develop debugging efficiency for legacy profile management method low and be also easy to produce systemic mistake
The problem of there is provided a kind of configuration file management method, device and service configuration method and system.
To achieve these goals, on the one hand, the embodiments of the invention provide a kind of configuration file management method, including with
Lower step:
Project submodule generates index list according to the profile information of service to be configured;
Corresponding index list is deployed to corresponding software operation by projects submodule respectively according to default name form
Under the predetermined directory of environment, by general module by searching for the index summary table that predetermined directory generation includes each index list.
On the one hand, the embodiment of the present invention additionally provides a kind of service configuration method, comprises the following steps:
When software starts, each index list in general module search software running environment under predetermined directory generates rope
Draw summary table;Index list is the list that project submodule is generated according to the profile information of service to be configured;
General module search index summary table, respectively obtains the corresponding profile information of projects submodule, and according to
Put fileinfo and service configuration is carried out to corresponding project submodule.
On the other hand, the embodiments of the invention provide a kind of configuration file management device, including:
List cell is generated, for the profile information according to service to be configured, index list is generated;
Deployment unit, for according to default name form, the index list of each generation list cell generation to be deployed to
Under the predetermined directory of corresponding software running environment, by general module by searching for the rope that predetermined directory generation includes each index list
Draw summary table.
On the other hand, the embodiment of the present invention additionally provides a kind of service configuration system, including general module and projects
Module;
Project submodule records the profile information of service to be configured, obtains index list;And according to default name
Under form, the predetermined directory that corresponding index list is deployed to corresponding software running environment;
General module searches for predetermined directory when software starts, and generation includes the index summary table of each index list;Pass through inspection
Rustling sound draws summary table, respectively obtains the corresponding profile information of projects submodule, and according to profile information to corresponding
Project submodule carries out service configuration.
The invention has the advantages that and beneficial effect:
Configuration file management method of the present invention, device and service configuration method and system, projects submodule pass through rope
Draw list records profile information, the configuration file separation for the same service that disparity items submodule can be used, reduction
The degree of coupling of intermodule, reduces the systemic mistake that code error is caused;Given birth to simultaneously by general module by searching for assigned catalogue
Into the index summary table comprising each index list, based on the index summary table present invention can be solved under information security background
Between disparate modules in the development scheme pattern of mutual inaccessible, since it is desired that changing oneself code without access rights, and need
The problem of human cost that the flow application or communication wanted sundry item group membership to coordinate modification and produced are brought is consumed, Neng Gou great
The big efficiency for improving exploitation and debugging.
Brief description of the drawings
Fig. 1 is the Structure and Process schematic diagram of legacy profile Managed Solution;
Fig. 2 is the schematic flow sheet of configuration file management embodiment of the method 1 of the present invention;
Fig. 3 is the Structure and Process signal of configuration file fine-grained management in configuration file management embodiment of the method 1 of the present invention
Figure;
Fig. 4 is the structural representation of index list in configuration file management embodiment of the method 1 of the present invention;
Fig. 5 is the structural representation of configuration file management device embodiment 1 of the present invention;
Fig. 6 is the schematic flow sheet of service configuration embodiment of the method 1 of the present invention;
Fig. 7 is the structural representation of service configuration system embodiment 1 of the present invention.
Embodiment
For the ease of understanding the present invention, the present invention is described more fully below with reference to relevant drawings.In accompanying drawing
Give the preferred embodiment of the present invention.But, the present invention can be realized in many different forms, however it is not limited to this paper institutes
The embodiment of description.On the contrary, the purpose that these embodiments are provided be make to the disclosure more it is thorough comprehensively.
Unless otherwise defined, all of technologies and scientific terms used here by the article is with belonging to technical field of the invention
The implication that technical staff is generally understood that is identical.Term used in the description of the invention herein is intended merely to description tool
The purpose of the embodiment of body, it is not intended that in the limitation present invention.Term as used herein " and/or " include one or more phases
The arbitrary and all combination of the Listed Items of pass.
One concrete application scene of configuration file management method of the present invention, device and service configuration method and system:
By taking the application in large-scale software development project as an example, in traditional Large-Scale Projects, matched somebody with somebody by configuration file
Put some conventional public services or parameter is a very common demand.Consider for information security, generally by a project
Disparate modules are divided into, each project team is in addition to oneself is responsible for module, the code of inaccessible sundry item group exploitation.It is
The need for protecting information safety inside the software, prevent someone disposably steals from not allowing to repair in all codes, software project
Change the code for belonging to others' management.
Fig. 1 is the Structure and Process schematic diagram of legacy profile Managed Solution, as shown in figure 1, due to configuration file A, matching somebody with somebody
The code storage that file B belongs to general module is put, the personnel of sundry item group need these files of change to be required for passing through
Trigger flow allows the personnel of the project team to change these files, and flow application and communication process can consume great effort, drop
The efficiency of low exploitation and debugging.Because configuration file A or configuration file B need to preserve the configuration of numerous modules, cause in file
Hold huge, complexity, it is difficult to safeguard.Because the people of disparity items group may change same configuration file, when imprudence is introduced
During mistake, the influence of meeting generation system.It is not easy to literary from different configurations in different situations during configurator operation
Part.
Configuration file management embodiment of the method 1 of the present invention:
It is low and be also easy to produce that systemic mistake etc. is above-mentioned to ask in order to solve legacy profile management method exploitation debugging efficiency
Topic, the invention provides a kind of configuration file management embodiment of the method 1, Fig. 2 is configuration file management embodiment of the method 1 of the present invention
Schematic flow sheet;As shown in Fig. 2 may comprise steps of:
Step S210:Project submodule generates index list according to the profile information of service to be configured;
Step S220:Corresponding index list is deployed to phase by projects submodule respectively according to default name form
Under the predetermined directory for answering software runtime environment, by general module by searching for the index that predetermined directory generation includes each index list
Summary table.
Specifically, project submodule and general module are to belong to same Software System Project, but it is soft to belong to this
The disparate modules of part system item disparity items group.It is preferred that, configuration file management embodiment of the method 1 of the present invention can by for
Different modules introduces an Index File (index file) as the mode of the index file of configuration file, generates index column
Table;The configuration file that each module uses oneself is configured in the way of the keyword that Index File are provided is to add record
On Index File (match somebody with somebody data line on indexed file, be just addition a line record, and per a line by symbol segmentation in record
Field be different keywords).And Common Module modules (i.e. general module) can be by reading and parsing
Index File obtain the profile information of modules.
Fig. 3 is the Structure and Process signal of configuration file fine-grained management in configuration file management embodiment of the method 1 of the present invention
Figure;As shown in figure 3, in a specific embodiment, project submodule records the profile information of service to be configured, obtains
The step of index list, includes:
Project submodule obtains default module id, and by recording default module id and profile information,
Obtain index list;
Service type of the profile information including service to be configured, configuration file store path, configuration file activity are right
As and configuration file version information.
Specifically, in Index File design, the present invention can be each one Module of module assignment in advance
As the mark of each module, (software gives disparate modules to play an ID to ID generally realizing different functions call disparate modules
Number it is exactly Module ID, for identifying this module, i.e., default module id), Module ID can typically use a letter
Single numeral or string representation.And profile information can include the service type of service to be configured, configuration file storage
Path, moving object and version information.
Wherein, Fig. 4 is the structural representation of index list in configuration file management embodiment of the method 1 of the present invention;Such as Fig. 4 institutes
Show, Service Type are used for identifying the service type of configuration, File Path identifying storage of the configuration file in equipment
Path and filename, File Version (FileVersion) and Is Active (moving object) are used for providing version and become more meticulous
Management, wherein, it is preferred that whether enable the configuration file when can determine and run by Is Active;Various embodiments of the present invention
Retrieval match index catalogue (indexing summary table) can be gone by way of providing according to keywords, accordingly, it is preferred that can pass through
Extend keyword to reach the purpose by version management configuration file using FileVersion keywords or continuation, for example, search for
When the fixed version number of search configuration file, that is, realize the version association of configuration file.
Based on the profile information included in above index list so that based on configuration file management method of the present invention
, can be when configurator be run, in different situations from different configuration files during software is opened.
Further, each module by the Index File of oneself with fixed name form (i.e. default name form,
Such as XXX.index) be deployed to the catalogue specified in the equipment environment of operation (i.e. program), be for example placed on Unix system/
Under usr/local/etc/ catalogues.
In a specific example, software runtime environment can be X86-based server.Specifically, equipment can be with
The environment of finger program operation, in common telecommunication apparatus, software runtime environment can be X86-based server.And in reality
In, the running environment that the present invention is respectively implemented includes and is not limited to X86-based server.
Configuration file management embodiment of the method 1 of the present invention, projects submodule is believed by index list record profile
Breath, the configuration file separation for the same service that can use disparity items submodule, reduces the degree of coupling of intermodule, reduces generation
The systemic mistake that code error is caused;Simultaneously by general module by searching for the index that assigned catalogue generation includes each index list
Summary table, causes the present invention to solve between disparate modules under information security background inaccessible mutually based on the index summary table
Development scheme pattern in, since it is desired that change oneself code without access rights, and need sundry item group membership to coordinate and repair
The problem of human cost that the flow application or communication for changing and producing are brought is consumed, can greatly improve the effect of exploitation and debugging
Rate.The pattern configured by version management is provided simultaneously, allows equipment to judge whether to need the configuration file for enabling some version, is improved
The flexibility of service configuration and accuracy.
Configuration file management device embodiment 1 of the present invention:
It is low and be also easy to produce that systemic mistake etc. is above-mentioned to ask in order to solve legacy profile management method exploitation debugging efficiency
Topic, while the technical scheme based on configuration file management embodiment of the method 1, present invention also offers a kind of configuration file management dress
Put embodiment 1;Fig. 5 is the structural representation of configuration file management device embodiment 1 of the present invention;As shown in figure 5, can include:
List cell 510 is generated, for the profile information according to service to be configured, index list is generated;
Deployment unit 520, for according to default name form, the index list of each generation list cell generation to be disposed
To under the predetermined directory of corresponding software running environment, each index list is included by searching for predetermined directory generation by general module
Index summary table.
In a specific embodiment, generation list cell 510 can include:
Mark module 512 is obtained, default module id is obtained;
Logging modle 514, for recording default module id and profile information, obtains index list.
Specifically, each unit module in configuration file management device embodiment 1 of the present invention, can correspondingly be realized above-mentioned
Various method steps in configuration file management embodiment of the method 1, are no longer described in detail it and implement flow herein.
Configuration file management device embodiment 1 of the present invention, projects submodule is believed by index list record profile
Breath, the configuration file separation for the same service that can use disparity items submodule, reduces the degree of coupling of intermodule, reduces generation
The systemic mistake that code error is caused;Simultaneously by general module by searching for the index that assigned catalogue generation includes each index list
Summary table, causes the present invention to solve between disparate modules under information security background inaccessible mutually based on the index summary table
Development scheme pattern in, since it is desired that change oneself code without access rights, and need sundry item group membership to coordinate and repair
The problem of human cost that the flow application or communication for changing and producing are brought is consumed, can greatly improve the effect of exploitation and debugging
Rate.The pattern configured by version management is provided simultaneously, allows equipment to judge whether to need the configuration file for enabling some version, is improved
The flexibility of service configuration and accuracy.
Service configuration embodiment of the method 1 of the present invention:
Based on the technical scheme of above configuration file management method, present invention also offers a kind of implementation of service configuration method
Example 1, Fig. 6 is the schematic flow sheet of service configuration embodiment of the method 1 of the present invention, as shown in fig. 6, may comprise steps of:
Step S610:When software starts, each index column in general module search software running environment under predetermined directory
Table, generation index summary table;Index list is the list that project submodule is generated according to the profile information of service to be configured;
Step S610:General module search index summary table, respectively obtains the corresponding profile information of projects submodule,
And service configuration is carried out to corresponding project submodule according to profile information.
Specifically, by taking the module of example in Fig. 2 as an example, oneself is needed Common by Module 1, Module 2
The index list that the thing that Module (general module) sides are done makes the catalogue of a similar book (configures the band oneself needed
The profile information of service is recorded in the form of index list).Each group has the index list of oneself, index column
Every a line of table have recorded the key message of a Service events, such as belong to which which each group (ModuleID), configuration file be placed on
(FilePath), the service type (ServiceType) of application, want to skip when read this record and do not read
(IsActive, current service to be configured can be finished writing first, re-record other service to be configured next time), version information are (such as
Scheduled date is simultaneously configured by respective version).Because the configuration file and index list of the demand of record are in disparity items group
In the program regions of module, flexibility is strong, can change at any time.
Further, the project submodule of project teams, can be with after the index list for completing oneself application service is write
Filename is write by default obviously rule, and is stored in fixed position (i.e. predetermined directory;Now belong to soft in its upper side administration
In the stage of part, it is not belonging to the code administration stage), general module obtains these index lists, and handle when software systems start
As a general index list (indexing summary table).
In a specific embodiment, the service type and configuration file that profile information includes service to be configured are deposited
Store up path;
The step of general module carries out service configuration according to profile information to corresponding project submodule includes:
General module obtains the configuration file of project submodule based on configuration file store path, and according to service type and
Configuration file configures service to be configured.
Specifically, general module can pass through application programming interface API (Application Programming
Interface the process of above-mentioned search index summary table) is realized;General module can be by corresponding api interface, by Index File
On different keywords come inquire about and determine using index summary table record which file;I.e. general module can be using search rope
Draw the mode of summary table, there is which service to need to configure according to the search of different key combinations, and obtain configuration file and with confidence
Breath, then carries out service configuration one by one on request.
Specifically, profile information can include the service type and configuration file store path of service to be configured;Example
Such as, Service Type are used for identifying the service type of configuration, File Path identifying storage of the configuration file in equipment
Path and filename;And general module can obtain the configuration file of project submodule, and root based on configuration file store path
Service to be configured is configured according to service type and configuration file.
In a specific embodiment, profile information also includes the configuration file moving object of service to be configured;
The step of general module carries out service configuration according to profile information to corresponding project submodule also includes:
General module obtains the enabling time of service to be configured based on configuration file moving object, and is arrived in enabling time
When configure service to be configured.
Specifically, each embodiment of service configuration method of the present invention can constrain the enabling time of service to be configured, you can
Whether to enable the configuration file when determining and run by Is Active,
In a specific embodiment, profile information also includes the configuration file version information of service to be configured;
The step of general module carries out service configuration according to profile information to corresponding project submodule also includes:
General module obtains the configuration file of default version number according to configuration file version information, and according to service type and
The configuration file of default version number configures service to be configured.
Specifically, each embodiment of service configuration method of the present invention can by using FileVersion keywords or after
Continuous extension keyword searches for the configuration text for fixing version number to reach the purpose by version management configuration file when for example searching for
Part, realizes the version association of configuration file.
Service configuration embodiment of the method 1 of the present invention, projects submodule, can by index list record profile information
With the configuration file separation for the same service for using disparity items submodule, the degree of coupling of intermodule is reduced, code is reduced and goes out
The systemic mistake that mistake is caused;It is simultaneously total by searching for index of the assigned catalogue generation comprising each index list by general module
Table, causes the present invention to solve between disparate modules under information security background inaccessible mutually based on the index summary table
In development scheme pattern, since it is desired that changing oneself code without access rights, and sundry item group membership is needed to coordinate modification
And the flow application that produces or the problem of human cost brought is consumed is linked up, the efficiency of exploitation and debugging can be greatly improved.
Pattern by the management configuration such as configuration file version, moving object (enabling time) and store path is provided simultaneously, equipment is allowed
Judge whether need to enable the configuration file of some version in the suitable time, improve flexibility and the accuracy of service configuration,
It is easy to configurator to select different configuration files in different situations when running.
Service configuration system embodiment 1 of the present invention:
Based on above service configuration embodiment of the method 1, while in order to solve the exploitation debugging of legacy profile management method
Efficiency is low and is also easy to produce the above mentioned problems such as systemic mistake, and present invention also offers a kind of service configuration system embodiment 1;Fig. 7
For the structural representation of service configuration system embodiment 1 of the present invention, as shown in fig. 7, general module 710 and projects can be included
Submodule 720;
Project submodule 720 records the profile information of service to be configured, obtains index list;And according to default life
Under name format, the predetermined directory that corresponding index list is deployed to corresponding software running environment.
General module 710 searches for predetermined directory when software starts, and generation includes the index summary table of each index list;Pass through
Search index summary table, respectively obtains the corresponding profile information of projects submodule, and according to profile information to corresponding
Project submodule carry out service configuration.
In a specific embodiment, profile information can include the service type and configuration text of service to be configured
Part store path;
General module obtains the configuration file of project submodule based on configuration file store path, and according to service type and
Configuration file configures service to be configured.
It is preferred that, profile information can also include the configuration file moving object and configuration file version of service to be configured
This information;
General module obtains the configuration file of default version number according to configuration file version information, based on configuration file activity
Object obtains the enabling time of service to be configured, and when enabling time arrives, according to matching somebody with somebody for service type and default version number
Put file configuration service to be configured.
Specifically, each module in service configuration system embodiment 1 of the present invention, can correspond to and realize above-mentioned service configuration
Various method steps in embodiment of the method 1, are no longer described in detail it and implement flow herein.
Service configuration system embodiment 1 of the present invention, projects submodule, can by index list record profile information
With the configuration file separation for the same service for using disparity items submodule, the degree of coupling of intermodule is reduced, code is reduced and goes out
The systemic mistake that mistake is caused;It is simultaneously total by searching for index of the assigned catalogue generation comprising each index list by general module
Table, causes the present invention to solve between disparate modules under information security background inaccessible mutually based on the index summary table
In development scheme pattern, since it is desired that changing oneself code without access rights, and sundry item group membership is needed to coordinate modification
And the flow application that produces or the problem of human cost brought is consumed is linked up, the efficiency of exploitation and debugging can be greatly improved.
Pattern by the management configuration such as configuration file version, moving object (enabling time) and store path is provided simultaneously, equipment is allowed
Judge whether need to enable the configuration file of some version in the suitable time, improve flexibility and the accuracy of service configuration,
It is easy to configurator to select different configuration files in different situations when running.
Each technical characteristic of above example can be combined arbitrarily, to make description succinct, not to above-described embodiment
In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance
Shield, is all considered to be the scope of this specification record.One of ordinary skill in the art will appreciate that realizing above-described embodiment side
All or part of step in method can be by program to instruct the hardware of correlation to complete, program can be stored in a meter
In calculation machine read/write memory medium, the program upon execution, including the step of above method, storage medium, such as:ROM/RAM、
Magnetic disc, CD etc..
Above example only expresses the several embodiments of the present invention, and it describes more specific and detailed, but can not
Therefore it is construed as limiting the scope of the patent.It should be pointed out that for the person of ordinary skill of the art,
On the premise of not departing from present inventive concept, various modifications and improvements can be made, these belong to protection scope of the present invention.
Therefore, the protection domain of patent of the present invention should be determined by the appended claims.
Claims (10)
1. a kind of configuration file management method, it is characterised in that comprise the following steps:
Project submodule generates index list according to the profile information of service to be configured;
The corresponding index list is deployed to corresponding software by each project submodule respectively according to default name form
Under the predetermined directory of running environment, by general module by searching for the rope that the predetermined directory generation includes each index list
Draw summary table.
2. configuration file management method according to claim 1, it is characterised in that the profile information includes described
Service type, configuration file store path, configuration file moving object and the configuration file version information of service to be configured;
Project submodule includes according to the profile information of service to be configured, the step of generation index list:
The project submodule obtains default module id, and by recording the default module id and configuration text
Part information, obtains the index list.
3. a kind of service configuration method, it is characterised in that comprise the following steps:
When software starts, each index list in general module search software running environment under predetermined directory, generation index is total
Table;The index list is the list that project submodule is generated according to the profile information of service to be configured;
The general module retrieves the index summary table, respectively obtains the corresponding profile information of each project submodule,
And service configuration is carried out to corresponding project submodule according to the profile information.
4. service configuration method according to claim 3, it is characterised in that the profile information is waited to match somebody with somebody including described
Put the service type and configuration file store path of service;
The step of general module carries out service configuration according to the profile information to corresponding project submodule includes:
The general module obtains the configuration file of the project submodule based on the configuration file store path, and according to institute
State service type and the configuration file configures the service to be configured.
5. service configuration method according to claim 4, it is characterised in that the profile information also includes described treat
The configuration file moving object of configuration service;
The step of general module carries out service configuration according to the profile information to corresponding project submodule is also wrapped
Include:
The general module obtains the enabling time of the service to be configured based on the configuration file moving object, and described
Enabling time configures the service to be configured when arriving.
6. the service configuration method according to claim 4 or 5, it is characterised in that the profile information also includes institute
State the configuration file version information of service to be configured;
The step of general module carries out service configuration according to the profile information to corresponding project submodule is also wrapped
Include:
The general module obtains the configuration file of default version number according to the configuration file version information, and according to the clothes
The configuration file of service type and the default version number configures the service to be configured.
7. a kind of configuration file management device, it is characterised in that including:
List cell is generated, for the profile information according to service to be configured, index list is generated;
Deployment unit, for according to default name form, by the index column exterior portion of each generation list cell generation
Under the predetermined directory for affixing one's name to corresponding software running environment, by general module by searching for the predetermined directory generation comprising each described
The index summary table of index list.
8. configuration file management device according to claim 7, it is characterised in that the generation list cell includes:
Mark module is obtained, default module id is obtained;
Logging modle, for recording the default module id and the profile information, obtains the index list.
9. a kind of service configuration system, it is characterised in that including general module and projects submodule;
The project submodule records the profile information of service to be configured, obtains index list;And according to default name
Form, the corresponding index list is deployed under the predetermined directory of corresponding software running environment;
The general module searches for the predetermined directory when software starts, and index of the generation comprising each index list is total
Table;By retrieving the index summary table, the corresponding profile information of each project submodule is respectively obtained, and according to described
Profile information carries out service configuration to corresponding project submodule.
10. service configuration system according to claim 9, it is characterised in that the profile information includes described treat
Service type, configuration file store path, configuration file moving object and the configuration file version information of configuration service;
The general module is based on the configuration file store path and the configuration file version information obtains default version number
Configuration file, the enabling time of the service to be configured is obtained based on the configuration file moving object;And enabled described
When time arrives, the service to be configured is configured according to the configuration file of the service type and the default version number.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710414534.2A CN107277120B (en) | 2017-06-05 | 2017-06-05 | configuration file management method and device, and service configuration method and system |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710414534.2A CN107277120B (en) | 2017-06-05 | 2017-06-05 | configuration file management method and device, and service configuration method and system |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107277120A true CN107277120A (en) | 2017-10-20 |
CN107277120B CN107277120B (en) | 2019-12-17 |
Family
ID=60064505
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710414534.2A Active CN107277120B (en) | 2017-06-05 | 2017-06-05 | configuration file management method and device, and service configuration method and system |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107277120B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111026424A (en) * | 2019-12-10 | 2020-04-17 | 中国银行股份有限公司 | Service updating method and device |
CN111124474A (en) * | 2018-10-31 | 2020-05-08 | 北京数聚鑫云信息技术有限公司 | API version control method and device |
CN111538484A (en) * | 2020-03-26 | 2020-08-14 | 北京迈格威科技有限公司 | Multi-project modular management method, biological unlocking model acquisition method and product |
CN113115284A (en) * | 2021-03-09 | 2021-07-13 | 成都盛芯微科技有限公司 | Data transmission method of Bluetooth system |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8495612B2 (en) * | 2011-10-21 | 2013-07-23 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
US20160034490A1 (en) * | 2014-07-31 | 2016-02-04 | Splunk Inc. | Configuration replication in a search head cluster |
CN105373384A (en) * | 2015-11-13 | 2016-03-02 | 大唐终端技术有限公司 | Software development method and apparatus |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN106708587A (en) * | 2017-01-11 | 2017-05-24 | 微鲸科技有限公司 | Parameter configuration method and system |
-
2017
- 2017-06-05 CN CN201710414534.2A patent/CN107277120B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8495612B2 (en) * | 2011-10-21 | 2013-07-23 | International Business Machines Corporation | Systems and methods for upgrading a version of software |
US20160034490A1 (en) * | 2014-07-31 | 2016-02-04 | Splunk Inc. | Configuration replication in a search head cluster |
CN105373384A (en) * | 2015-11-13 | 2016-03-02 | 大唐终端技术有限公司 | Software development method and apparatus |
CN105515872A (en) * | 2015-12-23 | 2016-04-20 | 北京奇虎科技有限公司 | Method, apparatus and system for updating configuration information |
CN106708587A (en) * | 2017-01-11 | 2017-05-24 | 微鲸科技有限公司 | Parameter configuration method and system |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN111124474A (en) * | 2018-10-31 | 2020-05-08 | 北京数聚鑫云信息技术有限公司 | API version control method and device |
CN111026424A (en) * | 2019-12-10 | 2020-04-17 | 中国银行股份有限公司 | Service updating method and device |
CN111538484A (en) * | 2020-03-26 | 2020-08-14 | 北京迈格威科技有限公司 | Multi-project modular management method, biological unlocking model acquisition method and product |
CN113115284A (en) * | 2021-03-09 | 2021-07-13 | 成都盛芯微科技有限公司 | Data transmission method of Bluetooth system |
Also Published As
Publication number | Publication date |
---|---|
CN107277120B (en) | 2019-12-17 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107277120A (en) | configuration file management method, device and service configuration method and system | |
US8010479B2 (en) | Simplifying the creation of user-defined custom elements for use in a graphical modeling application | |
US20150074194A1 (en) | Discussion-topic, social network systems | |
CN107665252A (en) | A kind of method and device of creation of knowledge collection of illustrative plates | |
WO2018148124A1 (en) | Search and filtering of message content | |
CN110378593A (en) | Communications status about the application for closing rule policy update | |
CN105940410A (en) | Scrubber to remove personally identifiable information | |
CN102224708B (en) | Unified storage for configuring muliple networking technologies | |
CN108363768A (en) | A kind of document search method, storage medium and server based on Lucene | |
CN102222278A (en) | Operation process customizing method and device | |
CN106155470A (en) | A kind of audio file generation method and device | |
CN104937588B (en) | Distributed music cooperation | |
CN109960801A (en) | Data processing method and device | |
CN107797823A (en) | Business Rule Management method, apparatus, storage medium and computer equipment | |
JP2005190163A (en) | Method, apparatus and program for retrieving structured data | |
CN103049808A (en) | Information processing apparatus and information processing method | |
US11106739B2 (en) | Document structures for searching within and across messages | |
Manghi et al. | PACE: A general-purpose tool for authority control | |
CN105787013B (en) | A kind of the typonym distribution method and system of isomeric data | |
Cisco | DIST Configuration Databases | |
Cisco | DIST Configuration Databases | |
Cisco | DIST Configuration Databases | |
Cisco | DIST Configuration Database | |
Cisco | DIST Configuration Database | |
CN105786779B (en) | The method of the multirow report based on document template is realized in the online plug-in unit of WPS |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |