CN109814944A - Configuring management method and Related product - Google Patents

Configuring management method and Related product Download PDF

Info

Publication number
CN109814944A
CN109814944A CN201811594755.3A CN201811594755A CN109814944A CN 109814944 A CN109814944 A CN 109814944A CN 201811594755 A CN201811594755 A CN 201811594755A CN 109814944 A CN109814944 A CN 109814944A
Authority
CN
China
Prior art keywords
configuration information
namespace
permission
target
item
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201811594755.3A
Other languages
Chinese (zh)
Inventor
李春林
蓝深
谢世同
钟斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Intellifusion Technologies Co Ltd
Original Assignee
Shenzhen Intellifusion Technologies 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 Shenzhen Intellifusion Technologies Co Ltd filed Critical Shenzhen Intellifusion Technologies Co Ltd
Priority to CN201811594755.3A priority Critical patent/CN109814944A/en
Publication of CN109814944A publication Critical patent/CN109814944A/en
Pending legal-status Critical Current

Links

Abstract

The embodiment of the present application discloses a kind of configuring management method and Related product, method includes: the first configuration information by obtaining the first object version of first item, the first configuration information table is created according to the first configuration information, what it is to the first configuration information table includes that at least one acquisition permission is arranged at least one first NameSpace, according to the corresponding relationship between preset version and cluster, determine target cluster corresponding with first object version, the target permission that first configuration information setting can be obtained by least one corresponding destination server of target cluster, to, Commonuse type configuration information can be enable to be re-used, furthermore, the acquisition permission that the setting of first configuration information can be obtained by least one destination server of corresponding target cluster, the first configuration information can be made to be corresponded at least one destination server of target cluster It obtains, keeps the management of configuration information more intelligent, efficient.

Description

Configuring management method and Related product
Technical field
This application involves technical field of data processing, and in particular to a kind of configuring management method and Related product.
Background technique
Enterprise during the configuration information to project is managed, when to the configuration information of disparity items mutually every From unrelated, not reusable between the configuration information of disparity items, in addition, the different iteration versions of the same project are opened When hair, traditional processing mode is that an iteration version corresponds to a configuration file, and matching in the configuration file of each version Confidence breath is mutually isolated, also not reusable between configuration information, larger so as to cause the information content of configuration information, therefore, how More intelligently, efficiently the configuration information of enterprise is managed as problem to be solved.
Summary of the invention
The embodiment of the present application provides a kind of configuring management method and Related product, it can be achieved that generic configuration data are public Change, reduces the configuration amount of configuration data.
In a first aspect, the embodiment of the present application provides a kind of configuring management method, which comprises
Obtain the first configuration information of the first object version of first item;
The first configuration information table is created according to first configuration information, first configuration information table includes at least one First NameSpace, at least one described first NameSpace is for storing first configuration information;
To at least one described NameSpace be arranged at least one obtain permission, at least one described NameSpace with it is described At least one obtains permission and corresponds;
According to the corresponding relationship between preset version and cluster, object set corresponding with the first object version is determined Group, the target cluster correspond at least one destination server;
The target permission that first configuration information setting can be obtained by least one described destination server.
Second aspect, the application provide a kind of configuration management device, and the configuration management device includes:
Acquiring unit, the first configuration information of the first object version for obtaining first item;
Creating unit, for creating the first configuration information table, first configuration information according to first configuration information Table includes at least one first NameSpace, at least one described first NameSpace is for storing first configuration information;
Setting unit, for at least one described NameSpace be arranged at least one obtain permission, it is described at least one NameSpace and at least one described acquisition permission correspond;
Determination unit, for according to the corresponding relationship between preset version and cluster, the determining and first object version This corresponding target cluster, the target cluster correspond at least one destination server;
The setting unit, being also used to that first configuration information is arranged can be by least one described destination server The target permission of acquisition.
The third aspect, the embodiment of the present application provide a kind of server, including processor, memory, communication interface, Yi Jiyi A or multiple programs, one or more of programs are stored in the memory, and are configured to be held by the processor Row, described program are included the steps that for executing the instruction in first aspect either method.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, and storage is handed over for electronic data The computer program changed, wherein the computer program makes computer execute step described in first aspect either method Instruction.
5th aspect, the embodiment of the present application provide a kind of computer program product, wherein above-mentioned computer program product Non-transient computer readable storage medium including storing computer program, above-mentioned computer program are operable to make to calculate Machine executes the step some or all of as described in the embodiment of the present application first aspect either method.The computer program product It can be a software installation packet.
As can be seen that in the embodiment of the present application, the first configuration information of the first object version by obtaining first item, The first configuration information table is created according to the first configuration information, what it is to the first configuration information table includes at least one first NameSpace At least one is set and obtains permission, according to the corresponding relationship between preset version and cluster, determining and first object version pair The target cluster answered can be obtained first configuration information setting by least one corresponding destination server of target cluster Target permission, thus, Commonuse type configuration information can be enable to be re-used, in addition, to the first configuration information setting can be right The acquisition permission for answering at least one destination server of target cluster to obtain, can make the first configuration information be corresponded to target cluster At least one destination server obtains, and keeps the management of configuration information more intelligent, efficient.
Detailed description of the invention
Attached drawing involved by the embodiment of the present application will be briefly described below.
Figure 1A is a kind of configuring management method flow diagram provided by the embodiments of the present application;
Figure 1B is the demonstration schematic diagram of NameSpace in configuration information table between a kind of project provided by the embodiments of the present application;
Fig. 2 is another configuring management method flow diagram applying for embodiment and providing;
Fig. 3 is another configuring management method flow diagram provided by the embodiments of the present application;
Fig. 4 is a kind of structural schematic diagram of server provided by the embodiments of the present application;
Fig. 5 A is a kind of structural schematic diagram of configuration management device disclosed in the embodiment of the present application;
Fig. 5 B is the modification structures of configuration management device shown in Fig. 5 A disclosed in the embodiment of the present application.
Specific embodiment
In order to make those skilled in the art more fully understand application scheme, below in conjunction in the embodiment of the present application Attached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is only Some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those of ordinary skill in the art Every other embodiment obtained without creative efforts, shall fall in the protection scope of this application.
The description and claims of this application and term " first " in above-mentioned attached drawing, " second " etc. are for distinguishing Different objects, are not use to describe a particular order.In addition, term " includes " and " having " and their any deformations, it is intended that It is to cover and non-exclusive includes.Such as the process, method, system, product or equipment for containing a series of steps or units do not have It is defined in listed step or unit, but optionally further comprising the step of not listing or unit, or optionally also wrap Include other step or units intrinsic for these process, methods, product or equipment.
Referenced herein " embodiment " is it is meant that a particular feature, structure, or characteristic described can wrap in conjunction with the embodiments It is contained at least one embodiment of the application.Each position in the description occur the phrase might not each mean it is identical Embodiment, nor the independent or alternative embodiment with other embodiments mutual exclusion.Those skilled in the art explicitly and Implicitly understand, embodiment described herein can be combined with other embodiments.
Based on the embodiment of the present application is the configuration management system pushed by visualized management and in real time, in general, enterprise The application that industry is researched and developed or used, management system can be managed through the above configuration, pass through configuration management system, enterprise customer The configuration information of application can be added, modify, delete, update etc., it can also configuration by visualization interface to application Information is shown, and for the user of different departments, the processing of different rights, therefore, hair can be executed to the configuration information of application Bright people for the problem that in existing configuration management system configuration information it is mutually isolated, not reusable between configuration information proposes This programme.
It describes in detail below to the embodiment of the present application.
Figure 1A is please referred to, Figure 1A is a kind of configuring management method flow diagram provided by the embodiments of the present application, such as Figure 1A Shown, the step of configuring management method, is as follows:
101, the first configuration information of the first object version of first item is obtained.
Wherein, first item refers to the project created in enterprise by enterprise configuration management system, passes through enterprise configuration pipe Reason system can application, database etc. to enterprise be managed collectively, specifically, the project can be for one apply item Mesh is also possible to not apply with no restrictions for the project of a service.
In the embodiment of the present application, a project may include that the configuration information of a version or multiple versions therefore can needle Configuration information is obtained to version any in first item, wherein above-mentioned first object version can be any version with confidence Breath, specifically, can obtain the first configuration information of user's typing, wherein the first configuration information may include first part with confidence Then first part's configuration information is set as to be obtained by the corresponding application of first item by breath and second part configuration information The configuration information taken, that is, the only corresponding application of first item can call first part's configuration information, and sundry item is corresponding Using first part's configuration information is not capable of calling, second part configuration information is configured to the configuration obtained by any application Information second part configuration information, that is, the not only corresponding application of first item can call second part configuration information, other The corresponding application of mesh can also call second part configuration information, thus, second part configuration information can be made to be reused.
102, the first configuration information table is created according to first configuration information, first configuration information table includes at least One the first NameSpace, at least one described first NameSpace is for storing first configuration information.
Wherein, the first configuration information table is created for the first configuration information, can created empty comprising at least one the first name Between the first configuration information table according to the difference for the configuration information for including in the first configuration information, can specifically create different NameSpace, for storing different configuration informations, at least one above-mentioned first NameSpace may include the first privately owned type life The name space, the first public NameSpace can also include the first association type NameSpace, be not construed as limiting herein, specifically, if Include the configuration information that can only be obtained by the corresponding application of the first item in first configuration information, then can create including first First configuration information table of privately owned type NameSpace, the first privately owned type NameSpace can only be by the first items pair for storing The configuration information that the application answered obtains can if in the first configuration information including the configuration information that can be obtained by any application Creation includes the first configuration information table of the first public NameSpace, and the first public NameSpace can be appointed for storing The configuration information that meaning application obtains, if including that public NameSpace from other configurations information table obtains in the first configuration information The configuration information for taking and obtaining after modifying can then create the first configuration information table including the first association type NameSpace, First association type NameSpace is for after storing and obtaining and modify from the public NameSpace in other configurations information table Obtained configuration information.
Optionally, first configuration information includes the first part that can only be obtained by the corresponding application of the first item Configuration information and the second part configuration information that can be obtained by any application, in above-mentioned steps 102, according to first configuration The first configuration information table of information creating, it may include following steps:
It 21, include the first privately owned type NameSpace and the first public NameSpace for first configuration information creation The first configuration information table;
22, first part's configuration information is saved to the described first privately owned type NameSpace, and by described second Part configuration information is saved to the first public NameSpace.
In the embodiment of the present application, due to the first configuration information include can only the corresponding application of the first item obtain the Therefore a part of configuration information and the second part configuration information that can be obtained by any application are creating the first configuration information When table, the first configuration information table comprising the first privately owned type NameSpace and the first public NameSpace can be created, first is private There is type NameSpace for storing the first part's configuration information that can only be obtained by the corresponding application of the first item, first is public Syntype NameSpace is used to store the second part configuration information that can be obtained by any application, wherein the name of the first public Second part configuration information in space can be obtained by any application, that is, sundry item can be obtained when configuration information is arranged Take some or all of second part configuration information.
103, at least one described NameSpace be arranged at least one obtain permission, at least one described NameSpace with At least one described acquisition permission corresponds.
In the embodiment of the present application, different NameSpaces can be arranged different acquisition permissions specifically can be according to name Corresponding acquisition permission is arranged in configuration information of the space for storage, and obtaining permission can be and can only be corresponded to by the first item The permission that obtains of application, can be the permission that can be obtained by any application, can also be can be by specific some projects The permission that corresponding application obtains, or the permission that can be obtained by the specific application in specific project, do not limit herein System.
Optionally, first configuration information includes the first part that can only be obtained by the corresponding application of the first item Configuration information and the second part configuration information that can be obtained by any application, it is described to described at least one in above-mentioned steps 103 A NameSpace is arranged at least one and obtains permission, it may include following steps:
31, the power that the described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item Limit;
32, the permission that the first public NameSpace setting can be obtained by any application.
In the embodiment of the present application, due to the first configuration information include can only the corresponding application of the first item obtain the Therefore a part of configuration information and the second part configuration information that can be obtained by any application can name the first privately owned type The permission that space setting can only be obtained by the corresponding application of first item, can be any to the setting of the first public NameSpace Using the permission of acquisition, thus, it can make the configuration information in the first public NameSpace that can be obtained by other application, make first Configuration information in public NameSpace can be reused.
It optionally, include that the name of the first public is empty in the embodiment of the present application, at least one described first NameSpace Between, the permission that can be obtained by any application is set in the first public NameSpace, can comprise the further steps of:
A1, obtain second item the second target version the second configuration information, second configuration information include can only By the Part III configuration information of the corresponding application acquisition of the second item, can be matched by any using the Part IV obtained Confidence breath and the Part V configuration for obtaining configuration information from the first public NameSpace and then being obtained after modifying Information;
A2, the second configuration information table is created according to second configuration information, second configuration information table includes at least One the second NameSpace, at least one described second NameSpace is for storing second configuration information.
In the embodiment of the present application, second item is the project different from first item, when creating second item, if first Include the first public NameSpace in first configuration information table of the first object version of project, shows that the first public is named Configuration information in space, which is set, to be obtained by any application, therefore, when obtaining the second configuration information, in addition to that can obtain The configuration information of family typing is taken, configuration information can also be obtained from the first public NameSpace.
Wherein, for the configuration information for obtaining user's typing, can be used as can only be obtained by the corresponding application of second item Part III configuration information the first public can be ordered for the configuration information obtained from the first public NameSpace The configuration information obtained in the name space, can also be to public from first as the Part IV configuration information that can be obtained by any application The configuration information obtained in syntype NameSpace is modified, and Part V configuration information is obtained.
Wherein, at least one above-mentioned second NameSpace may include the second privately owned type NameSpace, the second public life The name space, the second association type NameSpace, are not construed as limiting herein, specifically, can only be described if including in the second configuration information The configuration information that the corresponding application of second item obtains, then can create the first configuration information including the second privately owned type NameSpace Table, the second privately owned type NameSpace are used to store the configuration information that can only be obtained by the corresponding application of the second item, if the Include the configuration information that can be obtained by any application in two configuration informations, then can create including the second public NameSpace Second configuration information table, the second public NameSpace are used to store the configuration information that can be obtained by any application, if second It include being obtained after obtaining and modify from the public NameSpace in other configurations information table with confidence in configuration information Breath can then create the first configuration information table including the second association type NameSpace, and the second association type NameSpace is for storing The configuration information for obtaining from the public NameSpace in other configurations information table and obtaining after modifying, also, to second The permission that the setting of association type NameSpace can only be obtained by the corresponding application of the second item.
Optionally, in above-mentioned steps A1, the second configuration information of the second target version of second item is obtained, it may include with Lower step:
A11, the Part III configuration information for obtaining user's typing;
A12, match from the part or all of configuration information of the first public NameSpace reading as the Part IV Confidence breath, alternatively, obtaining the Part IV configuration information of user's typing;
A13, match some or all of from the first public NameSpace reading second part configuration information Confidence breath is simultaneously modified according to the modification of user instruction, and the Part V configuration information, the Part V are obtained Configuration information is the configuration information that can only be obtained by the corresponding application of the second item.
Due to including the first public NameSpace in the first configuration information table, and the first public NameSpace is set The permission that can be obtained by any application, therefore, above-mentioned Part IV configuration information can be obtained from the first public NameSpace Take, above-mentioned Part V configuration information can be obtained from the first public NameSpace, then to obtain configuration information is repaired It is obtained after changing.
Optionally, in above-mentioned steps A2, the second configuration information table is created according to second configuration information, it may include following Step:
A21, include the second privately owned type NameSpace, the second public NameSpace for second configuration information creation With the second configuration information table of the second association type NameSpace;
A22, the power that the described second privately owned type NameSpace setting can only be obtained by the corresponding application of the second item Limit names the second association type the permission that the second public NameSpace setting can be obtained by any application The permission that space setting can only be obtained by the corresponding application of the second item;
A23, the Part III configuration information is saved to the described second privately owned type NameSpace, by the Part IV Configuration information is saved to the second public NameSpace, and the Part V configuration information is saved to described second Association type NameSpace.
Wherein, it when creating the second configuration information table, can create comprising the second privately owned type NameSpace, the second public life Second configuration information table of the name space and the second association type NameSpace, the second privately owned type NameSpace can only be by institutes for storing The Part III configuration information that the corresponding application of second item obtains is stated, the second public NameSpace can be appointed for storing The Part IV configuration information that meaning application obtains, the second association type NameSpace are named for storage from first public empty Between some or all of read in the second part configuration information configuration information and instructed according to the modification of the user and carry out Wherein, the Part IV configuration information in the second public NameSpace can be answered arbitrarily the Part V configuration information of modification With acquisition, that is, sundry item is when being arranged configuration information, some or all of available Part IV configuration information.
104, according to the corresponding relationship between preset version and cluster, mesh corresponding with the first object version is determined Cluster is marked, the target cluster corresponds at least one destination server.
In the embodiment of the present application, it is contemplated that the configuration information of different editions corresponds to different clusters, each version in first item The corresponding cluster of this configuration information, each cluster correspond at least one server, therefore, preset version and cluster it Between corresponding relationship, determine the corresponding target cluster of first object version, and then can determine corresponding at least one mesh of mark cluster Mark server.
105, the target permission that first configuration information setting can be obtained by least one described destination server.
Wherein, an acquisition permission can be set to the first configuration information, the first configuration information of setting can be by corresponding cluster At least one server obtain, thus, make each version configuration information have can be obtained by least one corresponding server The permission taken prevents other servers without corresponding authority from obtaining, improves the safety of configuration information management.
Optionally, in the embodiment of the present application, it is described to first configuration information setting can by it is described at least one After the target permission that destination server obtains, it can comprise the further steps of:
B1, the target instruction target word for being directed to the first item is obtained, the target instruction target word is for described in target environment the The operational order of one configuration information, the target instruction target word carry target registered address;
B2, according to the corresponding relationship between preset environment and operating right, determine mesh corresponding with the target environment Mark operating right;
B3, sent according to the target registered address and the target permission at least one described destination server described in First configuration information indicates that at least one described destination server executes the object run permission to first configuration information Corresponding operation.
In the embodiment of the present application, it is contemplated that in the same project, the corresponding staff of varying environment is to configuration information The permission operated is different, for example, configuration information is in environment such as exploitation environment, joint debugging environment, test environment, production environments Under, the operating right that corresponding user can execute is different, therefore, the corresponding pass between environment and operating right can be preset System, different operating rights is arranged to varying environment, registered address is respectively set in the corresponding configuration information of varying environment.From And after the target permission that can be obtained by least one described destination server to the setting of the first configuration information, it can obtain For the target instruction target word of the first configuration information of the first object version of the first item, according to preset environment and operating rights Corresponding relationship between limit determines corresponding with target environment object run permission, finally, according to target registered address and described Target permission sends first configuration information at least one described destination server, indicates at least one destination server pair First configuration information executes the corresponding operation of the object run permission, for example, the corresponding operating right of exploitation environment may include Addition, modification authority, the corresponding operating right of joint debugging environment may include the permissions, the corresponding operation of test environment such as reading, modifying Permission may include read, audit etc. fronts, the corresponding permission of production environment can wrap and see reading permission, thus, can be to varying environment Under configuration information be managed collectively, the configuration information of different editions is managed collectively in same project, improve match confidence Cease the high efficiency and intelligence of management.
As can be seen that in the embodiment of the present application, the first configuration information of the first object version by obtaining first item, The first configuration information table is created according to the first configuration information, what it is to the first configuration information table includes at least one first NameSpace At least one is set and obtains permission, according to the corresponding relationship between preset version and cluster, determining and first object version pair The target cluster answered can be obtained first configuration information setting by least one corresponding destination server of target cluster Target permission, thus, Commonuse type configuration information can be enable to be re-used, in addition, to the first configuration information setting can be right The acquisition permission for answering at least one destination server of target cluster to obtain, can make the first configuration information be corresponded to target cluster At least one destination server obtains, and keeps the management of configuration information more intelligent, efficient.
Referring to Fig. 2, Fig. 2 is another configuring management method flow diagram provided by the embodiments of the present application, such as Fig. 2 institute Show, this method comprises the following steps:
201, the first configuration information of the first object version of first item is obtained, first configuration information includes can only By first part's configuration information that the corresponding application of the first item obtains and the second part that can be obtained by any application Configuration information.
It 202, include that the first privately owned type NameSpace and the name of the first public are empty for first configuration information creation Between the first configuration information table.
203, the power that the described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item Limit, the permission that the first public NameSpace setting can be obtained by any application.
204, first part's configuration information is saved to the described first privately owned type NameSpace, and by described second Part configuration information is saved to the first public NameSpace.
205, according to the corresponding relationship between preset version and cluster, mesh corresponding with the first object version is determined Cluster is marked, the target cluster corresponds at least one destination server.
206, the target permission that first configuration information setting can be obtained by least one described destination server.
207, the second configuration information of the second target version of second item is obtained, second configuration information includes can only By the Part III configuration information of the corresponding application acquisition of the second item, can be matched by any using the Part IV obtained Confidence breath and the Part V configuration for obtaining configuration information from the first public NameSpace and then being obtained after modifying Information.
208, the second configuration information table is created according to second configuration information, second configuration information table includes at least One the second NameSpace, at least one described second NameSpace is for storing second configuration information.
Wherein, the specific descriptions of above-mentioned steps 201- step 208 are referred to match described in figure step 101- step 105 The corresponding description of management method is set, details are not described herein.
As it can be seen that in application embodiment, the first configuration information of the first object version by obtaining first item, according to First configuration information creates the first configuration information table, and what it is to the first configuration information table includes that at least one first NameSpace is arranged At least one obtains permission, and according to the corresponding relationship between preset version and cluster, determination is corresponding with first object version Target cluster, the mesh that first configuration information setting can be obtained by least one corresponding destination server of target cluster Permission is marked, the second configuration information of the second target version of second item is obtained, according to the second configuration of the second configuration information creation Information table, thus, Commonuse type configuration information can be enable to be re-used, reduce the configuration amount of configuration information between disparity items, this Outside, the acquisition permission that can be obtained by least one destination server of corresponding target cluster to the setting of the first configuration information, can At least one destination server for making the first configuration information be corresponded to target cluster obtains, and makes the management more intelligence of configuration information Can, efficiently.
Referring to Fig. 3, Fig. 3 is another configuring management method flow diagram provided by the embodiments of the present application, such as Fig. 3 institute Show, the embodiment of the present application includes the following steps:
301, the first configuration information of the first object version of first item is obtained, first configuration information includes can only By first part's configuration information that the corresponding application of the first item obtains and the second part that can be obtained by any application Configuration information.
It 302, include that the first privately owned type NameSpace and the name of the first public are empty for first configuration information creation Between the first configuration information table.
303, the power that the described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item Limit, the permission that the first public NameSpace setting can be obtained by any application.
304, first part's configuration information is saved to the described first privately owned type NameSpace, and by described second Part configuration information is saved to the first public NameSpace.
305, according to the corresponding relationship between preset version and cluster, mesh corresponding with the first object version is determined Cluster is marked, the target cluster corresponds at least one destination server.
306, the target permission that first configuration information setting can be obtained by least one described destination server.
307, the target instruction target word for being directed to the first item is obtained, the target instruction target word is for described in target environment the The operational order of one configuration information, the target instruction target word carry target registered address.
308, according to the corresponding relationship between preset environment and operating right, mesh corresponding with the target environment is determined Mark operating right.
309, institute is sent at least one described destination server according to the target registered address and the target permission The first configuration information is stated, indicates that at least one described destination server executes the object run to first configuration information and weighs Limit corresponding operation.
310, the second configuration information of the second target version of second item is obtained, second configuration information includes can only By the Part III configuration information of the corresponding application acquisition of the second item, can be matched by any using the Part IV obtained Confidence breath and the Part V configuration for obtaining configuration information from the first public NameSpace and then being obtained after modifying Information.
311, the second configuration information table is created according to second configuration information, second configuration information table includes at least One the second NameSpace, at least one described second NameSpace is for storing second configuration information.
Wherein, the specific descriptions of above-mentioned steps 301- step 311 are referred to match described in figure step 101- step 105 The corresponding description of management method is set, details are not described herein.
As it can be seen that in the embodiment of the present application, the first configuration information of the first object version by obtaining first item, root The first configuration information table is created according to the first configuration information, what it is to the first configuration information table includes that at least one first NameSpace is set It sets at least one and obtains permission, according to the corresponding relationship between preset version and cluster, determination is corresponding with first object version Target cluster, the target that the setting of the first configuration information can be obtained by corresponding at least one destination server of target cluster Permission obtains the target instruction target word for being directed to first item, object run permission corresponding with target environment is determined, according to target registered Address and target permission indicate at least one destination server at least one destination server transmission first configuration information The corresponding operation of the object run permission is executed to the first configuration information, obtains the second of the second target version of second item Configuration information creates the second configuration information table according to the second configuration information, thus, Commonuse type configuration information can be enable to be answered With the configuration amount of configuration information between reduction disparity items, in addition, the configuration information of each version can be made by corresponding server It obtains, makes the user of varying environment that can carry out the processing operation of different rights to configuration information, make the management of configuration information more It is intelligent, efficient, the configuration information of each version can be made to be obtained by corresponding server, and, make the management of configuration information more It is intelligent, efficient.
Referring to Fig. 4, Fig. 4 is a kind of structural schematic diagram of server provided by the embodiments of the present application, as shown in figure 4, should Server includes processor, memory, communication interface, and one or more programs, wherein said one or multiple program quilts It is stored in above-mentioned memory, and is configured to be executed by above-mentioned processor, above procedure includes for executing following steps Instruction:
Obtain the first configuration information of the first object version of first item;
The first configuration information table is created according to first configuration information, first configuration information table includes at least one First NameSpace, at least one described first NameSpace is for storing first configuration information;
To at least one described NameSpace be arranged at least one obtain permission, at least one described NameSpace with it is described At least one obtains permission and corresponds;
According to the corresponding relationship between preset version and cluster, object set corresponding with the first object version is determined Group, the target cluster correspond at least one destination server;
The target permission that first configuration information setting can be obtained by least one described destination server.
In a possible example, first configuration information includes that can only be obtained by the corresponding application of the first item The first part's configuration information taken and the second part configuration information that can be obtained by any application, described according to described first In terms of configuration information creates the first configuration information table, above procedure includes the instruction for executing following steps:
It include the first privately owned type NameSpace and the first public NameSpace for first configuration information creation First configuration information table;
First part's configuration information is saved to the described first privately owned type NameSpace, and by the second part Configuration information is saved to the first public NameSpace;
It is described that at least one acquisition permission is arranged at least one described NameSpace, comprising:
The permission that described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item;
The permission that first public NameSpace setting can be obtained by any application.
It include the first public NameSpace at least one described first NameSpace in a possible example, The first public NameSpace is set the permission that can be obtained by any application, above procedure further include for execute with The instruction of lower step:
The second configuration information of the second target version of second item is obtained, second configuration information includes can only be by institute The Part III configuration information for stating the corresponding application acquisition of second item, the Part IV that can be obtained by any application are with confidence Breath and the Part V configuration information for obtaining configuration information from the first public NameSpace and then being obtained after modifying;
The second configuration information table is created according to second configuration information, second configuration information table includes at least one Second NameSpace, at least one described second NameSpace is for storing second configuration information.
In a possible example, in the second configuration information side of second target version for obtaining second item Face, above procedure include the instruction for executing following steps:
Obtain the Part III configuration information of user's typing;
Part or all of configuration information, which is read, as the Part IV from the first public NameSpace matches confidence Breath, alternatively, obtaining the Part IV configuration information of user's typing;
Match confidence some or all of from the first public NameSpace reading second part configuration information It ceases and is modified according to the modification of user instruction, obtain the Part V configuration information, the Part V configuration Information is the configuration information that can only be obtained by the corresponding application of the second item.
In a possible example, in terms of second configuration information table of creation according to second configuration information, Above procedure includes the instruction for executing following steps:
It include the second privately owned type NameSpace, the second public NameSpace and for second configuration information creation Second configuration information table of two association type NameSpaces;
It is right to the permission that the described second privately owned type NameSpace setting can only be obtained by the corresponding application of the second item The permission that the second public NameSpace setting can be obtained by any application, sets the second association type NameSpace Set the permission that can only be obtained by the corresponding application of the second item;
The Part III configuration information is saved to the described second privately owned type NameSpace, the Part IV is configured Information preservation is saved to the second public NameSpace, and by the Part V configuration information to second association Type NameSpace.
In a possible example, it is described to first configuration information setting can be by least one described target After the target permission that server obtains, above procedure further includes the instruction for executing following steps:
The target instruction target word for being directed to the first item is obtained, the target instruction target word is to match for described in target environment first The operational order of confidence breath, the target instruction target word carry target registered address;
According to the corresponding relationship between preset environment and operating right, target behaviour corresponding with the target environment is determined Make permission;
Described the is sent at least one described destination server according to the target registered address and the target permission One configuration information indicates that at least one described destination server executes the object run permission pair to first configuration information The operation answered.
The embodiment of the present application can carry out the division of functional unit according to above method example to server, for example, can be with Two or more functions, can also be integrated in a processing unit by corresponding each each functional unit of function division In.Above-mentioned integrated unit both can take the form of hardware realization, can also realize in the form of software functional units.It needs It is noted that be schematical, only a kind of logical function partition to the division of unit in the embodiment of the present application, it is practical real It is current that there may be another division manner.
Fig. 5 A is please referred to, Fig. 5 A is a kind of structural schematic diagram of configuration management device disclosed in the embodiment of the present application, is such as schemed Shown in 5A, which includes:
Acquiring unit 501, the first configuration information of the first object version for obtaining first item;
Creating unit 502, for creating the first configuration information table according to first configuration information, described first matches confidence Breath table includes at least one first NameSpace, at least one described first NameSpace is for storing described first with confidence Breath;
Setting unit 503, for at least one described NameSpace be arranged at least one obtain permission, described at least one A NameSpace and at least one described acquisition permission correspond;
Determination unit 504, for according to the corresponding relationship between preset version and cluster, the determining and first object The corresponding target cluster of version, the target cluster correspond at least one destination server;
The setting unit 503 is also used to that first configuration information is arranged and can be taken by least one described target The target permission that business device obtains.
Optionally, first configuration information includes the first part that can only be obtained by the corresponding application of the first item Configuration information and the second part configuration information that can be obtained by any application, the creating unit are specifically used for:
It include the first privately owned type NameSpace and the first public NameSpace for first configuration information creation First configuration information table;
First part's configuration information is saved to the described first privately owned type NameSpace, and by the second part Configuration information is saved to the first public NameSpace;
The setting unit is specifically used for:
It is right to the permission that the described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item The permission that the first public NameSpace setting can be obtained by any application.
It optionally, include the first public NameSpace at least one described first NameSpace, described first is public The permission that can be obtained by any application is set in type NameSpace,
The acquiring unit 501, is also used to obtain the second configuration information of the second target version of second item, and described Two configuration informations include can only by Part III configuration information that the corresponding application of the second item obtains, can arbitrarily be answered With the Part IV configuration information of acquisition and from the first public NameSpace acquisition configuration information and then after modifying Obtained Part V configuration information;
The creating unit 502, be also used to according to second configuration information create the second configuration information table, described second Configuration information table includes at least one second NameSpace, at least one described second NameSpace is matched for storing described second Confidence breath.
Optionally, in terms of the second configuration information of second target version for obtaining second item, the acquisition is single Member 501 is specifically used for:
Obtain the Part III configuration information of user's typing;
Part or all of configuration information, which is read, as the Part IV from the first public NameSpace matches confidence Breath, alternatively, obtaining the Part IV configuration information of user's typing;
Match confidence some or all of from the first public NameSpace reading second part configuration information It ceases and is modified according to the modification of user instruction, obtain the Part V configuration information, the Part V configuration Information is the configuration information that can only be obtained by the corresponding application of the second item.
Optionally, in terms of second configuration information table of creation according to second configuration information, the creating unit 502 are specifically used for:
It include the second privately owned type NameSpace, the second public NameSpace and for second configuration information creation Second configuration information table of two association type NameSpaces;
It is right to the permission that the described second privately owned type NameSpace setting can only be obtained by the corresponding application of the second item The permission that the second public NameSpace setting can be obtained by any application, sets the second association type NameSpace Set the permission that can only be obtained by the corresponding application of the second item;
The Part III configuration information is saved to the described second privately owned type NameSpace, the Part IV is configured Information preservation is saved to the second public NameSpace, and by the Part V configuration information to second association Type NameSpace.
Optionally, such as Fig. 5 B, Fig. 5 B is the modification structures of configuration management device shown in Fig. 5 A, compared with Fig. 5 A Compared with can also include: transmission unit 505, wherein
The acquiring unit 501, be also used to it is described to first configuration information setting can by it is described at least one After the target permission that destination server obtains, the target instruction target word for being directed to the first item is obtained, the target instruction target word is needle To the operational order of the first configuration information described in target environment, the target instruction target word carries target registered address;
The determination unit 504, for according to the corresponding relationship between preset environment and operating right, it is determining with it is described The corresponding object run permission of target environment;
The transmission unit 505, for according to the target registered address and the target permission to it is described at least one Destination server sends first configuration information, indicates that at least one described destination server holds first configuration information The corresponding operation of the row object run permission.
As can be seen that in the embodiment of the present application, the first configuration information of the first object version by obtaining first item, The first configuration information table is created according to the first configuration information, what it is to the first configuration information table includes at least one first NameSpace At least one is set and obtains permission, according to the corresponding relationship between preset version and cluster, determining and first object version pair The target cluster answered can be obtained first configuration information setting by least one corresponding destination server of target cluster Target permission, thus, Commonuse type configuration information can be enable to be re-used, in addition, to the first configuration information setting can be right The acquisition permission for answering at least one destination server of target cluster to obtain, can make the first configuration information be corresponded to target cluster At least one destination server obtains, and keeps the management of configuration information more intelligent, efficient.
It is understood that the function of each program module of the Emotion identification device of the present embodiment can be according to above method reality The method specific implementation in example is applied, specific implementation process is referred to the associated description of above method embodiment, herein no longer It repeats.
The embodiment of the present application also provides a kind of computer storage medium, wherein the computer storage medium can be stored with journey Sequence, it includes some or all of any configuring management method recorded in above method embodiment step which, which executes,.
The embodiment of the present application also provides a kind of computer program products, wherein the computer program product includes storage The non-transient computer readable storage medium of computer program, above-mentioned computer program are operable to that computer is made to execute packet Include some or all of any configuring management method recorded in above method embodiment step.
It will be understood by those skilled in the art that embodiments herein can provide as method, apparatus (equipment) or computer journey Sequence product.Therefore, complete hardware embodiment, complete software embodiment or combining software and hardware aspects can be used in the application The form of embodiment.Moreover, it wherein includes the calculating of computer usable program code that the application, which can be used in one or more, The computer program implemented in machine usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) The form of product.Computer program is stored/distributed in suitable medium, is provided together with other hardware or as the one of hardware Part can also use other distribution forms, such as pass through the wired or wireless telecommunication system of Internet or other.
Although the application is described in conjunction with specific features and embodiment, it is clear that, do not departing from this Shen In the case where spirit and scope please, it can be carry out various modifications and is combined.Correspondingly, the specification and drawings are only institute The exemplary illustration for the application that attached claim is defined, and be considered as covered within the scope of the application any and all and repair Change, change, combining or equivalent.Obviously, those skilled in the art the application can be carried out various modification and variations without It is detached from spirit and scope.If in this way, these modifications and variations of the application belong to the claim of this application and its Within the scope of equivalent technologies, then the application is also intended to include these modifications and variations.

Claims (10)

1. a kind of configuring management method, which is characterized in that the described method includes:
Obtain the first configuration information of the first object version of first item;
According to first configuration information create the first configuration information table, first configuration information table include at least one first NameSpace, at least one described first NameSpace is for storing first configuration information;
To at least one described NameSpace be arranged at least one obtain permission, at least one described NameSpace and it is described at least One acquisition permission corresponds;
According to the corresponding relationship between preset version and cluster, target cluster corresponding with the first object version is determined, The target cluster corresponds at least one destination server;
The target permission that first configuration information setting can be obtained by least one described destination server.
2. the method according to claim 1, wherein first configuration information includes can only be by the first item First part's configuration information that the corresponding application of mesh obtains and the second part configuration information that can be obtained by any application, it is described The first configuration information table is created according to first configuration information, comprising:
It include the first of the first privately owned type NameSpace and the first public NameSpace for first configuration information creation Configuration information table;
First part's configuration information is saved to the described first privately owned type NameSpace, and the second part is configured Information preservation is to the first public NameSpace;
It is described that at least one acquisition permission is arranged at least one described NameSpace, comprising:
The permission that described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item;
The permission that first public NameSpace setting can be obtained by any application.
3. method according to claim 1 or 2, which is characterized in that include at least one described first NameSpace The permission that can be obtained by any application, the side is set in one public NameSpace, the first public NameSpace Method further include:
The second configuration information of the second target version of second item is obtained, second configuration information includes can only be by described the Part III configuration information that the corresponding application of two projects obtains, the Part IV configuration information that can be obtained by any application and The Part V configuration information obtained then configuration information is modified after is obtained from the first public NameSpace;
According to second configuration information create the second configuration information table, second configuration information table include at least one second NameSpace, at least one described second NameSpace is for storing second configuration information.
4. according to the method described in claim 3, it is characterized in that, the second of second target version for obtaining second item Configuration information, comprising:
Obtain the Part III configuration information of user's typing;
Part or all of configuration information is read as the Part IV configuration information from the first public NameSpace, or Person obtains the Part IV configuration information of user's typing;
Configuration information some or all of is read in the second part configuration information simultaneously from the first public NameSpace It is modified according to the modification of user instruction, obtains the Part V configuration information, the Part V configuration information For the configuration information that can only be obtained by the corresponding application of the second item.
5. the method according to claim 3 or 4, which is characterized in that described according to second configuration information creation second Configuration information table, comprising:
It include the second privately owned type NameSpace, the second public NameSpace and the second pass for second configuration information creation Second configuration information table of connection type NameSpace;
To the permission that the described second privately owned type NameSpace setting can only be obtained by the corresponding application of the second item, to described The permission that the setting of second public NameSpace can be obtained by any application, only to the second association type NameSpace setting The permission that can be obtained by the corresponding application of the second item;
The Part III configuration information is saved to the described second privately owned type NameSpace, by the Part IV configuration information It saves to the second public NameSpace, and the Part V configuration information is saved to the second association type and is ordered The name space.
6. method according to claim 1-5, which is characterized in that first configuration information is arranged described After the target permission that can be obtained by least one described destination server, the method also includes:
The target instruction target word for being directed to the first item is obtained, the target instruction target word is to match confidence for described in target environment first The operational order of breath, the target instruction target word carry target registered address;
According to the corresponding relationship between preset environment and operating right, object run power corresponding with the target environment is determined Limit;
Described first is sent at least one described destination server according to the target registered address and the target permission to match It is corresponding to indicate that at least one described destination server executes the object run permission to first configuration information for confidence breath Operation.
7. a kind of configuration management device, which is characterized in that described device includes:
Acquiring unit, the first configuration information of the first object version for obtaining first item;
Creating unit, for creating the first configuration information table, the first configuration information table packet according to first configuration information At least one first NameSpace is included, at least one described first NameSpace is for storing first configuration information;
Setting unit obtains permission, at least one described name at least one to be arranged at least one described NameSpace Space and at least one described acquisition permission correspond;
Determination unit, for according to the corresponding relationship between preset version and cluster, the determining and first object version pair The target cluster answered, the target cluster correspond at least one destination server;
The setting unit is also used to that first configuration information is arranged and can be obtained by least one described destination server Target permission.
8. device according to claim 7, which is characterized in that first configuration information includes can only be by the first item First part's configuration information that the corresponding application of mesh obtains and the second part configuration information that can be obtained by any application, it is described Creating unit is specifically used for:
It include the first of the first privately owned type NameSpace and the first public NameSpace for first configuration information creation Configuration information table;
First part's configuration information is saved to the described first privately owned type NameSpace, and the second part is configured Information preservation is to the first public NameSpace;
The setting unit is specifically used for:
To the permission that the described first privately owned type NameSpace setting can only be obtained by the corresponding application of the first item, to described The permission that the setting of first public NameSpace can be obtained by any application.
9. a kind of server, which is characterized in that including processor, memory, communication interface, and one or more programs, institute It states one or more programs to be stored in the memory, and is configured to be executed by the processor, described program includes For executing the instruction of the step in as the method according to claim 1 to 6.
10. a kind of computer readable storage medium, which is characterized in that storage is used for the computer program of electronic data interchange, In, the computer program makes computer execute as the method according to claim 1 to 6.
CN201811594755.3A 2018-12-25 2018-12-25 Configuring management method and Related product Pending CN109814944A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811594755.3A CN109814944A (en) 2018-12-25 2018-12-25 Configuring management method and Related product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811594755.3A CN109814944A (en) 2018-12-25 2018-12-25 Configuring management method and Related product

Publications (1)

Publication Number Publication Date
CN109814944A true CN109814944A (en) 2019-05-28

Family

ID=66602407

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811594755.3A Pending CN109814944A (en) 2018-12-25 2018-12-25 Configuring management method and Related product

Country Status (1)

Country Link
CN (1) CN109814944A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112052049A (en) * 2020-08-12 2020-12-08 深圳市欢太科技有限公司 Public configuration determining method and device, storage medium and electronic equipment
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform
CN112667498A (en) * 2020-12-22 2021-04-16 北京像素软件科技股份有限公司 Server building method and device, computer equipment and readable storage medium
CN113381985A (en) * 2021-05-21 2021-09-10 四川新网银行股份有限公司 Normalized configuration method for complex message
CN113779942A (en) * 2020-06-01 2021-12-10 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100217A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Multi-system data sharing method and device
CN106919372A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The method of adjustment and device of a kind of terminal configuration
CN107800781A (en) * 2017-10-12 2018-03-13 深圳市买买提乐购金融服务有限公司 A kind of configuration data processing method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105100217A (en) * 2015-06-30 2015-11-25 努比亚技术有限公司 Multi-system data sharing method and device
CN106919372A (en) * 2015-12-25 2017-07-04 北京奇虎科技有限公司 The method of adjustment and device of a kind of terminal configuration
CN107800781A (en) * 2017-10-12 2018-03-13 深圳市买买提乐购金融服务有限公司 A kind of configuration data processing method and device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
沈军: "《大学计算机应用教程》", 31 August 2001 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113779942A (en) * 2020-06-01 2021-12-10 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium
CN113779942B (en) * 2020-06-01 2023-08-18 腾讯科技(深圳)有限公司 Table data processing method and device and computer readable storage medium
CN112052049A (en) * 2020-08-12 2020-12-08 深圳市欢太科技有限公司 Public configuration determining method and device, storage medium and electronic equipment
CN112422325A (en) * 2020-10-30 2021-02-26 蒋光洵 Management method and system based on multi-cloud mixed platform
CN112667498A (en) * 2020-12-22 2021-04-16 北京像素软件科技股份有限公司 Server building method and device, computer equipment and readable storage medium
CN113381985A (en) * 2021-05-21 2021-09-10 四川新网银行股份有限公司 Normalized configuration method for complex message

Similar Documents

Publication Publication Date Title
CN109814944A (en) Configuring management method and Related product
US20230409818A1 (en) Database model which provides management of custom fields and methods and apparatus therfor
Balci Requirements for model development environments
Matthes et al. Enterprise architecture management tool survey 2008
US9760589B2 (en) Mechanism for deprecating object oriented data
CN103516591B (en) The implementation method of enterprise's address list and device in immediate communication platform
US10635408B2 (en) Method and apparatus for enabling agile development of services in cloud computing and traditional environments
CN111478961A (en) Multi-tenant service calling method and device
CN107077388A (en) System and method for providing end-to-end life cycle in multi-tenant application server environment
CN107066242A (en) Determine the method and system of the mark of software in software container
US20050188367A1 (en) Executable application configuration system
US20150006469A1 (en) Methodology supported business intelligence (BI) software and system
CN109358965A (en) Cloud computing cluster resource dispatching method, medium, device and calculating equipment
Zanoni et al. Pattern detection for conceptual schema recovery in data‐intensive systems
US8296169B2 (en) Computer method and apparatus for indicating performance of assets and revisions held in a repository
CN109144880A (en) The management method and system of image file, equipment, storage medium
US9741065B2 (en) Automated guidance for selecting components of an it solution
CN109491962A (en) A kind of file directory tree management method and relevant apparatus
US20100153919A1 (en) Systems and methods for tracking software stands in a software production landscape
CN112785248B (en) Human resource data cross-organization interaction method, device, equipment and storage medium
CN110109893A (en) The method and apparatus of data modeling and operation
Jumagaliyev et al. Using DSML for handling multi-tenant evolution in cloud applications
CN106326411A (en) Configuration change method and device
CN111984882A (en) Data processing method, system and equipment
US20220337620A1 (en) System for collecting computer network entity information employing abstract models

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20190528

RJ01 Rejection of invention patent application after publication