CN107277120B - configuration file management method and device, and service configuration method and system - Google Patents

configuration file management method and device, and service configuration method and system Download PDF

Info

Publication number
CN107277120B
CN107277120B CN201710414534.2A CN201710414534A CN107277120B CN 107277120 B CN107277120 B CN 107277120B CN 201710414534 A CN201710414534 A CN 201710414534A CN 107277120 B CN107277120 B CN 107277120B
Authority
CN
China
Prior art keywords
configuration file
service
configuration
module
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.)
Active
Application number
CN201710414534.2A
Other languages
Chinese (zh)
Other versions
CN107277120A (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.)
Guangzhou Shiyuan Electronics Thecnology Co Ltd
Original Assignee
Guangzhou Shiyuan Electronics Thecnology 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 Guangzhou Shiyuan Electronics Thecnology Co Ltd filed Critical Guangzhou Shiyuan Electronics Thecnology Co Ltd
Priority to CN201710414534.2A priority Critical patent/CN107277120B/en
Publication of CN107277120A publication Critical patent/CN107277120A/en
Application granted granted Critical
Publication of CN107277120B publication Critical patent/CN107277120B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/51Discovery 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 invention relates to a method and a device for managing a configuration file, and a method and a system for configuring a service, wherein the method for managing the configuration file comprises the following steps that an item submodule generates an index list according to configuration file information of a service to be configured; and each project submodule deploys the corresponding index list to a preset directory of the corresponding software operating environment according to a preset naming format, and the universal module generates an index summary table containing each index list by searching the preset directory. The invention separates the configuration files of the same service used by the sub-modules of different projects, reduces the coupling degree between the modules and reduces the possibility of systematic errors caused by code errors. The problem of labor cost consumption caused by flow application or communication generated by matching and modifying other project group members in a development mode that different modules cannot be accessed mutually under the background of information security can be solved, and the development and debugging efficiency can be greatly improved.

Description

Configuration file management method and device, and service configuration method and system
Technical Field
The present invention relates to the field of software development technologies, and in particular, to a method and an apparatus for managing configuration files, and a method and a system for configuring services.
background
In large software development projects, it is a common requirement to configure some common services or parameters through configuration files. For information security, a project is usually divided into different modules, and each project group has no access to the code developed by other project groups except for the module in charge of the project group.
The conventional profile management scheme may be specifically as shown in fig. 1: common Module, Module 1 and Module 2 respectively represent different modules in the software system and belong to different project groups. Configuration File a and Configuration File B belong to Service a and Service B profiles, respectively. When the module 1 needs to configure the service provided by the service a, the module needs to modify the configuration file a to achieve the purpose.
In the implementation process, the inventor finds that at least the following problems exist in the conventional technology: because the configuration file a and the configuration file B belong to a code warehouse of the general module, when the files need to be changed by personnel of other project groups, the personnel of the project group need to modify the files by triggering the process, the process application and communication process consumes a lot of energy, and the development and debugging efficiency is reduced. Also, people of different project groups may change the same profile, which can have systematic effects when errors are inadvertently introduced.
Disclosure of Invention
Therefore, it is necessary to provide a method and an apparatus for profile management, and a method and a system for service configuration, aiming at the problems that the conventional method for profile management is inefficient in development and debugging and is prone to generating systematic errors.
in order to achieve the above object, in one aspect, an embodiment of the present invention provides a method for managing a configuration file, including the following steps:
the project submodule generates an index list according to the configuration file information of the service to be configured;
And each project submodule deploys the corresponding index list to a preset directory of the corresponding software operating environment according to a preset naming format, and the universal module generates an index summary table containing each index list by searching the preset directory.
on one hand, the embodiment of the invention also provides a service configuration method, which comprises the following steps:
When software is started, the universal module searches each index list under a preset directory in a software running environment to generate an index summary table; the index list is a list generated by the project submodule according to the configuration file information of the service to be configured;
And the universal module searches the index summary table, respectively obtains configuration file information corresponding to each project sub-module, and performs service configuration on the corresponding project sub-modules according to the configuration file information.
in another aspect, an embodiment of the present invention provides a configuration file management apparatus, including:
The generating list unit is used for generating an index list according to the configuration file information of the service to be configured;
and the deployment unit is used for deploying the index lists generated by the list generation units to the preset directories of the corresponding software operating environments according to the preset naming formats, and the universal module generates the index summary table containing the index lists by searching the preset directories.
On the other hand, the embodiment of the invention also provides a service configuration system, which comprises a general module and each project submodule;
The project submodule records configuration file information of the service to be configured to obtain an index list; deploying the corresponding index list to a preset directory of the corresponding software running environment according to a preset naming format;
the general module searches a preset directory when software is started, and generates an index summary table containing each index list; and respectively obtaining configuration file information corresponding to each project sub-module by retrieving the index summary table, and carrying out service configuration on the corresponding project sub-modules according to the configuration file information.
the invention has the following advantages and beneficial effects:
according to the configuration file management method, the configuration file management device, the service configuration method and the service configuration system, each project sub-module records configuration file information through the index list, configuration files of the same service used by different project sub-modules can be separated, the coupling degree among the modules is reduced, and systematic errors caused by code errors are reduced; meanwhile, the general module generates an index summary table containing each index list by searching the appointed directory, and the invention can solve the problem of labor cost consumption caused by flow application or communication generated by modifying codes without access authority and needing other project group members to cooperate and modify in a development mode that different modules are not accessible to each other under the background of information security based on the index summary table, thereby greatly improving the efficiency of development and debugging.
drawings
FIG. 1 is a schematic structural flow diagram of a conventional profile management scheme;
FIG. 2 is a flowchart illustrating a configuration file management method according to embodiment 1 of the present invention;
FIG. 3 is a schematic structural flow chart of a fine management of configuration files in embodiment 1 of the method for managing configuration files according to the present invention;
fig. 4 is a schematic structural diagram of an index list in embodiment 1 of the profile management method of the present invention;
FIG. 5 is a schematic structural diagram of a profile management apparatus 1 according to an embodiment of the present invention;
Fig. 6 is a flowchart illustrating a service provisioning method according to embodiment 1 of the present invention;
Fig. 7 is a schematic structural diagram of a service configuration system 1 according to an embodiment of the present invention.
Detailed Description
to facilitate an understanding of the invention, the invention will now be described more fully with reference to the accompanying drawings. Preferred embodiments of the present invention are shown in the drawings. This invention may, however, be embodied in many different forms and should not be construed as limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete.
unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs. The terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used herein, the term "and/or" includes any and all combinations of one or more of the associated listed items.
The invention discloses a specific application scenario of a configuration file management method, a device and a service configuration method and system, which comprises the following steps:
Taking an application in a large software development project as an example, in a conventional large software project, it is a common requirement to configure some common services or parameters through configuration files. For information security, a project is usually divided into different modules, and each project group has no access to the code developed by other project groups except for the module in charge of the project group. Namely, due to the requirement of information security protection in the software, all codes are prevented from being stolen at one time by a person, and the codes managed by other people are not allowed to be modified in a software project.
Fig. 1 is a schematic structural flow diagram of a conventional configuration file management scheme, and as shown in fig. 1, because both a configuration file a and a configuration file B belong to a code repository of a general module, and persons of other project groups need to change the files and modify the files by triggering a flow to allow the persons of the project group to modify the files, the process application and communication process consumes a lot of effort, and the efficiency of development and debugging is reduced. The configuration file A or the configuration file B needs to store the configuration of a plurality of modules, so that the file content is large and complex, and is difficult to maintain. Since people of different project groups may change the same profile, systematic effects can occur when errors are inadvertently introduced. It is inconvenient for the configurator program to select different configuration files under different conditions when running.
embodiment 1 of the configuration file management method of the present invention:
In order to solve the above problems of the conventional method for managing configuration files, such as low development and debugging efficiency and easy generation of systematic errors, the present invention provides an embodiment 1 of a method for managing configuration files, and fig. 2 is a schematic flow diagram of the embodiment 1 of the method for managing configuration files of the present invention; as shown in fig. 2, the following steps may be included:
Step S210: the project submodule generates an index list according to the configuration file information of the service to be configured;
step S220: and each project submodule deploys the corresponding index list to a preset directory of the corresponding software operating environment according to a preset naming format, and the universal module generates an index summary table containing each index list by searching the preset directory.
Specifically, the project sub-module and the general-purpose module belong to the same software system project, but belong to different modules of different project groups of the software system project. Preferably, in embodiment 1 of the configuration File management method of the present invention, an Index list may be generated by introducing an Index File (Index File) as an Index File of the configuration File for different modules; each module allocates the configuration File used by itself to the Index File in a manner of adding records according to the keywords provided by the Index File (a row of data is allocated on the Index File, namely, a row of records is added, and the fields divided by symbols in each row of records are different keywords). And Common Module (i.e. general Module) can obtain the configuration File information of each Module by reading and parsing the Index File.
FIG. 3 is a schematic structural flow chart of a fine management of configuration files in embodiment 1 of the method for managing configuration files according to the present invention; as shown in fig. 3, in a specific embodiment, the step of recording, by the project submodule, the configuration file information of the service to be configured, and obtaining the index list includes:
The project submodule acquires a preset module identifier and obtains an index list by recording the preset module identifier and configuration file information;
The configuration file information comprises the service type of the service to be configured, a configuration file storage path, a configuration file active object and configuration file version information.
specifically, in the design of Index File, the present invention may assign a Module ID to each Module as the identifier of each Module in advance (software usually refers to different modules implementing different functions, and an ID number given to different modules is the Module ID for identifying the Module, i.e. the preset Module identifier), and the Module ID may be generally represented by a simple number or character string. And the configuration file information may include a service type of the service to be configured, a configuration file storage path, an active object, and version information.
Fig. 4 is a schematic structural diagram of an index list in embodiment 1 of the configuration file management method according to the present invention; as shown in fig. 4, the Service Type Is used to identify a configured Service Type, the File Path Is used to identify a storage Path and a File name of a configuration File on the device, and the File Version and the Is Active are used to provide Version and refinement management, where preferably, whether to enable the configuration File during running can be determined by the Is Active; embodiments of the present invention can retrieve a matching index directory (i.e., an index summary) by providing a keyword-by-keyword manner, and therefore, preferably, the purpose of managing configuration files by version can be achieved by using a FileVersion keyword or a continuation extension keyword, for example, a configuration file with a fixed version number is searched during searching, that is, version association of the configuration file is achieved.
based on the configuration file information contained in the index list, different configuration files can be selected under different conditions when the configuration program runs in the software opening process based on the configuration file management method.
further, each module deploys its Index File in a fixed naming format (i.e., a pre-set naming format, such as xxx. Index) to a specified directory on the device (i.e., the environment in which the program runs), for example, under the Unix system/usr/local/etc/directory.
In one particular example, the software runtime environment may be an X86 architecture server. Specifically, the device may refer to an environment in which a program runs, and in a general telecommunication device, the software running environment may be an X86 architecture server. In practice, the operating environment for various implementations of the present invention includes, but is not limited to, an X86 architecture server.
In the embodiment 1 of the configuration file management method, each project sub-module records the configuration file information through the index list, so that the configuration files of the same service used by different project sub-modules can be separated, the coupling degree among the modules is reduced, and systematic errors caused by code errors are reduced; meanwhile, the general module generates an index summary table containing each index list by searching the appointed directory, and the invention can solve the problem of labor cost consumption caused by flow application or communication generated by modifying codes without access authority and needing other project group members to cooperate and modify in a development mode that different modules are not accessible to each other under the background of information security based on the index summary table, thereby greatly improving the efficiency of development and debugging. Meanwhile, a mode of managing configuration according to versions is provided, so that the equipment judges whether a configuration file of a certain version needs to be started or not, and the flexibility and the accuracy of service configuration are improved.
embodiment 1 of the profile management apparatus of the present invention:
in order to solve the above problems of low development and debugging efficiency, easy generation of systematic errors and the like of the traditional configuration file management method, the invention also provides an embodiment 1 of a configuration file management device based on the technical scheme of the embodiment 1 of the configuration file management method; FIG. 5 is a schematic structural diagram of a profile management apparatus 1 according to an embodiment of the present invention; as shown in fig. 5, may include:
a list generating unit 510, configured to generate an index list according to the configuration file information of the service to be configured;
the deployment unit 520 is configured to deploy the index lists generated by the list generation units to a preset directory of a corresponding software operating environment according to a preset naming format, and generate an index summary table including the index lists by searching the preset directory through the universal module.
In a specific embodiment, the generating the list unit 510 may include:
An obtaining identification module 512, which obtains a preset module identification;
The recording module 514 is configured to record a preset module identifier and configuration file information to obtain an index list.
Specifically, each unit module in the configuration file management apparatus embodiment 1 of the present invention may correspondingly implement each method step in the configuration file management method embodiment 1, and details of a specific implementation procedure thereof are not repeated here.
In the embodiment 1 of the configuration file management device, each project sub-module records the configuration file information through the index list, so that the configuration files of the same service used by different project sub-modules can be separated, the coupling degree among the modules is reduced, and systematic errors caused by code errors are reduced; meanwhile, the general module generates an index summary table containing each index list by searching the appointed directory, and the invention can solve the problem of labor cost consumption caused by flow application or communication generated by modifying codes without access authority and needing other project group members to cooperate and modify in a development mode that different modules are not accessible to each other under the background of information security based on the index summary table, thereby greatly improving the efficiency of development and debugging. Meanwhile, a mode of managing configuration according to versions is provided, so that the equipment judges whether a configuration file of a certain version needs to be started or not, and the flexibility and the accuracy of service configuration are improved.
Embodiment 1 of the service configuration method of the present invention:
based on the above technical solution of the configuration file management method, the present invention further provides an embodiment 1 of a service configuration method, and fig. 6 is a schematic flow diagram of the embodiment 1 of the service configuration method of the present invention, as shown in fig. 6, the method may include the following steps:
step S610: when software is started, the universal module searches each index list under a preset directory in a software running environment to generate an index summary table; the index list is a list generated by the project submodule according to the configuration file information of the service to be configured;
Step S610: and the universal module searches the index summary table, respectively obtains configuration file information corresponding to each project sub-module, and performs service configuration on the corresponding project sub-modules according to the configuration file information.
Specifically, taking the Module illustrated in fig. 2 as an example, Module 1 and Module 2 make things that need the Common Module help to do into an index list of a book-like directory (i.e. record the configuration file information with configuration service that needs themselves in the form of an index list). Each group has its own index list, and each line of the index list records key information of a service event, such as which group (ModuleID) the service belongs to, where the configuration file is placed (FilePath), the type of service requested (ServiceType), no skip to no read when reading the record (IsActive, the service to be configured may be written first, and another service to be configured may be recorded next time), and version information (for example, a specified date and configured according to a corresponding version). Because the configuration file and the index list of the recording requirement are in the programming area of the modules of different project groups, the flexibility is strong, and the configuration file and the index list can be changed at any time.
further, after writing the index list of the self-applied service, the project sub-modules of each project group can write the file names according to the preset explicit rule and store the file names at a fixed position (namely, a preset directory; at this time, the stage belongs to the stage of deploying software on equipment and does not belong to the stage of code management), and when the software system is started, the general module acquires the index lists and processes the index lists into a total index list (namely, an index total list).
In a specific embodiment, the configuration file information includes a service type of a service to be configured and a configuration file storage path;
The step that the general module carries out service configuration on the corresponding project sub-modules according to the configuration file information comprises the following steps:
And the general module obtains a configuration file of the project sub-module based on the configuration file storage path, and configures the service to be configured according to the service type and the configuration file.
specifically, the general module may implement the process of retrieving the index summary table through an application Programming interface (api); the universal module can inquire and decide which files recorded by the Index summary table according to different keywords on the Index File through corresponding API interfaces; that is, the general module may search which services need to be configured according to different keyword combinations in a manner of searching the index summary table, obtain configuration files and configuration information, and then perform service configuration one by one according to requirements.
specifically, the configuration file information may include a service type of the service to be configured and a configuration file storage path; for example, Service Type is used to identify the configured Service Type, File Path is used to identify the storage Path and File name of the configuration File on the device; and the general module can obtain the configuration file of the project sub-module based on the configuration file storage path and configure the service to be configured according to the service type and the configuration file.
In a specific embodiment, the profile information further includes a profile active object of the service to be configured;
the step of the general module performing service configuration on the corresponding project sub-modules according to the configuration file information further comprises:
And the universal module obtains the starting time of the service to be configured based on the active object of the configuration file and configures the service to be configured when the starting time comes.
Specifically, the embodiments of the service configuration method of the present invention can restrict the enabling time of the service to be configured, that Is, whether the configuration file Is enabled at runtime can be determined through Is Active,
in a specific embodiment, the configuration file information further includes configuration file version information of the service to be configured;
The step of the general module performing service configuration on the corresponding project sub-modules according to the configuration file information further comprises:
And the universal module acquires the configuration file with the preset version number according to the version information of the configuration file and configures the service to be configured according to the service type and the configuration file with the preset version number.
specifically, in each embodiment of the service configuration method of the present invention, the purpose of managing the configuration files according to versions can be achieved by using a FileVersion keyword or a continuation extension keyword, for example, the configuration files with fixed version numbers are searched during searching, so that version association of the configuration files is realized.
in the embodiment 1 of the service configuration method, each project sub-module records the configuration file information through the index list, so that the configuration files of the same service used by different project sub-modules can be separated, the coupling degree among the modules is reduced, and systematic errors caused by code errors are reduced; meanwhile, the general module generates an index summary table containing each index list by searching the appointed directory, and the invention can solve the problem of labor cost consumption caused by flow application or communication generated by modifying codes without access authority and needing other project group members to cooperate and modify in a development mode that different modules are not accessible to each other under the background of information security based on the index summary table, thereby greatly improving the efficiency of development and debugging. And meanwhile, a mode of management configuration according to the version of the configuration file, the active object (starting time), the storage path and the like is provided, so that the equipment judges whether the configuration file of a certain version needs to be started at a proper time, the flexibility and the accuracy of service configuration are improved, and different configuration files can be conveniently selected under different conditions when the configuration program runs.
embodiment 1 of the service configuration system of the present invention:
based on the embodiment 1 of the service configuration method, the invention also provides an embodiment 1 of the service configuration system, and aims to solve the problems that the traditional configuration file management method is low in development and debugging efficiency and easy to generate systematic errors and the like; fig. 7 is a schematic structural diagram of a service configuration system 1 according to an embodiment of the present invention, as shown in fig. 7, which may include a general module 710 and project sub-modules 720;
the project submodule 720 records configuration file information of the service to be configured to obtain an index list; and deploying the corresponding index list to a preset directory of the corresponding software operating environment according to a preset naming format.
The general module 710 searches a preset directory when software is started, and generates an index summary table containing each index list; and respectively obtaining configuration file information corresponding to each project sub-module by retrieving the index summary table, and carrying out service configuration on the corresponding project sub-modules according to the configuration file information.
in a specific embodiment, the profile information may include a service type and a profile storage path of the service to be configured;
and the general module obtains a configuration file of the project sub-module based on the configuration file storage path, and configures the service to be configured according to the service type and the configuration file.
Preferably, the configuration file information may further include a configuration file active object and configuration file version information of the service to be configured;
the universal module acquires a configuration file with a preset version number according to the version information of the configuration file, obtains the starting time of the service to be configured based on the active object of the configuration file, and configures the service to be configured according to the service type and the configuration file with the preset version number when the starting time comes.
Specifically, each module in the service configuration system embodiment 1 of the present invention may correspondingly implement each method step in the service configuration method embodiment 1, and details of a specific implementation procedure thereof are not repeated here.
In the embodiment 1 of the service configuration system, each project sub-module records configuration file information through the index list, so that configuration files of the same service used by different project sub-modules can be separated, the coupling degree among the modules is reduced, and systematic errors caused by code errors are reduced; meanwhile, the general module generates an index summary table containing each index list by searching the appointed directory, and the invention can solve the problem of labor cost consumption caused by flow application or communication generated by modifying codes without access authority and needing other project group members to cooperate and modify in a development mode that different modules are not accessible to each other under the background of information security based on the index summary table, thereby greatly improving the efficiency of development and debugging. And meanwhile, a mode of management configuration according to the version of the configuration file, the active object (starting time), the storage path and the like is provided, so that the equipment judges whether the configuration file of a certain version needs to be started at a proper time, the flexibility and the accuracy of service configuration are improved, and different configuration files can be conveniently selected under different conditions when the configuration program runs.
the technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features. Those skilled in the art will appreciate that all or part of the steps in the method for implementing the above embodiments may be implemented by hardware related to the instructions of a program, and the program may be stored in a computer readable storage medium, and when executed, the storage medium including the steps of the above method, such as: ROM/RAM, magnetic disk, optical disk, etc.
The above examples only show some embodiments of the present invention, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the inventive concept, which falls within the scope of the present invention. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (10)

1. a method for profile management, comprising the steps of:
The project submodule generates an index list according to the configuration file information of the service to be configured; the configuration file information comprises the service type of the service to be configured, a configuration file storage path, a configuration file active object and configuration file version information;
each project submodule respectively deploys the corresponding index list to a preset directory of a corresponding software operating environment according to a preset naming format, and a universal module generates an index summary table containing each index list by searching the preset directory; wherein the software operating environment comprises an X86 architecture server.
2. the profile management method according to claim 1,
The step that the project submodule generates an index list according to the configuration file information of the service to be configured comprises the following steps:
And the project submodule acquires a preset module identifier and obtains the index list by recording the preset module identifier and the configuration file information.
3. a service configuration method, comprising the steps of:
when software is started, the universal module searches each index list under a preset directory in a software running environment to generate an index summary table; the index list is a list generated by the project submodule according to the configuration file information of the service to be configured;
and the general module retrieves the index summary table, respectively obtains configuration file information corresponding to each project sub-module, and performs service configuration on the corresponding project sub-modules according to the configuration file information.
4. The service configuration method according to claim 3, wherein the profile information includes a service type and a profile storage path of the service to be configured;
the step that the general module carries out service configuration on the corresponding project sub-modules according to the configuration file information comprises the following steps:
and the general module obtains a configuration file of the project sub-module based on the configuration file storage path, and configures the service to be configured according to the service type and the configuration file.
5. The service configuration method according to claim 4, wherein the profile information further comprises a profile active object of the service to be configured;
The step of the general module performing service configuration on the corresponding project sub-module according to the configuration file information further comprises:
And the general module obtains the starting time of the service to be configured based on the configuration file active object and configures the service to be configured when the starting time comes.
6. the service configuration method according to claim 4 or 5, wherein the configuration file information further includes configuration file version information of the service to be configured;
the step of the general module performing service configuration on the corresponding project sub-module according to the configuration file information further comprises:
and the universal module acquires a configuration file with a preset version number according to the version information of the configuration file and configures the service to be configured according to the service type and the configuration file with the preset version number.
7. A profile management apparatus, comprising:
The generating list unit is used for generating an index list according to the configuration file information of the service to be configured; the configuration file information comprises the service type of the service to be configured, a configuration file storage path, a configuration file active object and configuration file version information;
the deployment unit is used for deploying the index lists generated by the list generation units to a preset directory of a corresponding software operating environment according to a preset naming format, and the general module searches the preset directory to generate an index summary table containing the index lists; wherein the software operating environment comprises an X86 architecture server.
8. the profile management apparatus according to claim 7, wherein the generating the list unit comprises:
the method comprises the steps of obtaining an identification module and obtaining a preset module identification;
And the recording module is used for recording the preset module identification and the configuration file information to obtain the index list.
9. a service configuration system is characterized by comprising a general module and project sub-modules;
the project submodule records configuration file information of the service to be configured to obtain an index list; deploying the corresponding index list to a preset directory of a corresponding software operating environment according to a preset naming format;
the general module searches the preset directory when software is started, and generates an index summary table containing each index list; and respectively obtaining configuration file information corresponding to each project sub-module by retrieving the index summary table, and performing service configuration on the corresponding project sub-modules according to the configuration file information.
10. The service configuration system according to claim 9, wherein the profile information includes a service type, a profile storage path, a profile active object, and profile version information of the service to be configured;
The general module obtains a configuration file with a preset version number based on the configuration file storage path and the configuration file version information, and obtains the starting time of the service to be configured based on the configuration file active object; and when the starting time comes, configuring the service to be configured according to the service type and the configuration file with the preset version number.
CN201710414534.2A 2017-06-05 2017-06-05 configuration file management method and device, and service configuration method and system Active CN107277120B (en)

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 CN107277120A (en) 2017-10-20
CN107277120B true 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)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111124474B (en) * 2018-10-31 2022-02-15 北京数聚鑫云信息技术有限公司 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
CN113115284B (en) * 2021-03-09 2023-03-10 成都盛芯微科技有限公司 Data transmission method of Bluetooth system

Citations (1)

* Cited by examiner, † Cited by third party
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

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10503698B2 (en) * 2014-07-31 2019-12-10 Splunk Inc. Configuration replication in a search head cluster
CN105373384B (en) * 2015-11-13 2018-07-31 大唐终端技术有限公司 A kind of software development methodology and device
CN105515872B (en) * 2015-12-23 2019-05-28 北京奇虎科技有限公司 The update method of configuration information, apparatus and system
CN106708587B (en) * 2017-01-11 2020-03-10 微鲸科技有限公司 Parameter configuration method and system

Patent Citations (1)

* Cited by examiner, † Cited by third party
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

Also Published As

Publication number Publication date
CN107277120A (en) 2017-10-20

Similar Documents

Publication Publication Date Title
CN107277120B (en) configuration file management method and device, and service configuration method and system
US10474641B2 (en) Extensible file system
US9009324B2 (en) Managing and reconciling information technology assets in a configuration database
US8977623B2 (en) Method and system for search engine indexing and searching using the index
US6493594B1 (en) System and method for improved software configuration and control management in multi-module systems
US20150373099A1 (en) System and method for configuration tagging in a multitenant application server environment
EP1589691B1 (en) Method, system and apparatus for managing computer identity
US7730099B2 (en) Storage and retrieval of richly typed hierarchical network models
CN103559065B (en) Method and system for OTA (Over-the-Air Technology) upgrade
CN103049515A (en) Method, device and equipment for classifying application programs
CN107103011B (en) Method and device for realizing terminal data search
CN113326264A (en) Data processing method, server and storage medium
JPH0836518A (en) System for object-oriented data base management and method therefor
CN113704790A (en) Abnormal log information summarizing method and computer equipment
US20090132607A1 (en) Techniques for log file processing
US20070276779A1 (en) Method for avoiding orphan entries in cascade delete in a configuration management database
CN107239568B (en) Distributed index implementation method and device
CN112785248B (en) Human resource data cross-organization interaction method, device, equipment and storage medium
US8903785B2 (en) Baselines over indexed, versioned data
US20050080820A1 (en) Method and system for generating, associating and employing user-defined fields in a relational database within an information technology system
CN112835638A (en) Configuration information management method and device based on embedded application program
US20060230054A1 (en) On-line organization of data sets
CN114710350A (en) Allocation method and device for callable resources
US20210357419A1 (en) Preventing dbms deadlock by eliminating shared locking
CN113032408B (en) Data processing method, system and equipment

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