CN112202591A - Configuration management system, method and storage medium - Google Patents

Configuration management system, method and storage medium Download PDF

Info

Publication number
CN112202591A
CN112202591A CN202010887074.7A CN202010887074A CN112202591A CN 112202591 A CN112202591 A CN 112202591A CN 202010887074 A CN202010887074 A CN 202010887074A CN 112202591 A CN112202591 A CN 112202591A
Authority
CN
China
Prior art keywords
information
language
function
condition
configuration
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
CN202010887074.7A
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.)
Wangsu Science and Technology Co Ltd
Original Assignee
Wangsu Science and Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Wangsu Science and Technology Co Ltd filed Critical Wangsu Science and Technology Co Ltd
Priority to CN202010887074.7A priority Critical patent/CN112202591A/en
Publication of CN112202591A publication Critical patent/CN112202591A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the invention relates to the technical field of computer software, and discloses a configuration management system, a configuration management method and a storage medium. The configuration management system includes: acquiring function information of a function to be configured, which is described in a first language, and condition information of a condition to be configured, which is described in the first language, and generating configuration information, which is described in a second language and can be identified by software to be configured; and distributing the configuration information described in the second language to the software to be configured. According to the method and the device, the configuration information of the second language description which can be identified by the software to be configured is generated by acquiring and storing the functions and conditions described by the first language, so that the CDN configuration system can flexibly and dynamically configure along with the change of service requirements, the software to be configured using different languages can be uniformly configured, and the configuration efficiency is improved.

Description

Configuration management system, method and storage medium
Technical Field
Embodiments of the present invention relate to software systems, and in particular, to a configuration management system, method, and storage medium.
Background
With the rapid development of the mobile internet technology, the demand of users on the flow is increasing day by day, and the flow demands of different ways such as video on demand, live broadcast, short video, high definition pictures and the like put higher demands on the iteration cycle of the content Delivery network (cdn) technology.
When the existing CDN configuration system performs service configuration on software, because different configuration languages that can be identified by different software are different, research and development personnel are required to perform conversion between different languages, so as to convert service configuration information issued by the CDN configuration system into a configuration language that can be identified by the software; if a new service requirement appears, when service configuration is to be performed on software according to the new service requirement, a corresponding configuration model needs to be manually preset in the software again.
Therefore, the existing CDN configuration system has the following problems: for the same service configuration, different software needs to be manually subjected to language conversion, even for the same software, different service configurations also need different configuration models, and the efficiency of service configuration is low.
Disclosure of Invention
Embodiments of the present invention provide a configuration management system, a method, and a storage medium, so that a CDN configuration system can flexibly and uniformly configure software supporting different description languages as needed, thereby improving configuration efficiency.
To solve the above technical problem, an embodiment of the present invention provides a configuration management system, including: the function module is used for describing and storing the function information in a first language; the function information is information for a function configured into software; the condition module is used for describing and storing the condition information in a first language; the condition information is information of a condition that allows the function to take effect; the configuration module is used for acquiring function information of the function to be configured, which is described in a first language, and condition information of the function to be configured, which is described in the first language, and generating configuration information of a second language description which can be identified by software to be configured; and the release module is used for distributing the configuration information described by the second language to the software to be configured.
The embodiment of the invention also provides a configuration management method, which comprises the following steps: acquiring function information of a function to be configured, which is described in a first language, and condition information of a condition to be configured, which is described in the first language, and generating configuration information, which is described in a second language and can be identified by software to be configured; the function information is information for a function configured into software; the condition information is information of a condition that allows the function to take effect; and distributing the configuration information described in the second language to the software to be configured.
An embodiment of the present invention further provides a server, including: at least one processor; and a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the configuration management method described above.
Embodiments of the present invention also provide a computer-readable storage medium storing a computer program, which when executed by a processor implements the configuration management method described above.
Compared with the prior art, the method and the device for configuring the software are characterized in that the function information and the condition information which are described in the first language are stored in advance, the function information which is described in the first language and is to be configured of the function to be configured and the condition information which is described in the first language and is to be configured of the condition to be configured are obtained, the configuration information which is described in the second language and can be identified by the software to be configured is generated, and the configuration information which is described in the second language is issued to the software to be configured, namely, the configuration management system can flexibly and uniformly configure the software which supports different description languages according to needs, and the configuration efficiency is improved.
In addition, the function information includes attribute information of the function and a first conversion rule for converting a description language of the attribute information of the function from a first language to a second language; the condition information includes: the information processing apparatus includes condition attribute information and a second conversion rule for converting a description language of attribute information of a condition from a first language to a second language. In the embodiment, the conversion between the first language and the second language which can be identified by the software is realized by defining the function conversion rule, so that the development and maintenance cost is reduced.
In addition, the function module is also used for providing a function information setting interface and acquiring function information through the function information setting interface; the condition module is also used for providing a condition information setting interface and acquiring condition information through the condition information setting interface; the configuration module is further used for providing a requirement input interface and acquiring the functions to be configured and the conditions to be configured through the requirement input interface. In the embodiment, an interactive interface is provided, and function information and condition information set by a user, and a function to be configured and a condition to be configured, which are input by the user when configuration is required, are received through the interactive interface; the mode can conveniently receive information and visually display the information, so that an operator can conveniently operate each piece of information, and the configuration efficiency is improved; moreover, the professional requirement on the operator of the configuration management system can be reduced, so that the labor cost of software configuration is reduced.
In addition, the function information comprises attribute information of N attributes of the function, the function information setting interface comprises N attribute information setting areas, and the N attribute information setting areas are respectively used for setting the attribute information of the N attributes; the function module is also used for providing a property item setting interface of the function and acquiring N properties of the function through the property item setting interface. In this embodiment, a plurality of attributes of the function information and attribute information of each attribute can be freely set, and convenience and rapidness are achieved.
In addition, an attribute information combination rule and a third conversion rule which are described in a first language are preset in the configuration module, and the third conversion rule is used for converting the description language of the attribute information combination rule from the first language to a second language; the configuration module is specifically used for combining the attribute information of the function to be configured described in the first language and the attribute information of the condition to be configured described in the first language according to the attribute information combination rule described in the first language, and generating the configuration information described in the first language after combination; and converting the configuration information described in the first language into configuration information described in the second language according to the first conversion rule, the second conversion rule and the third conversion rule. In this embodiment, the configuration information described in the first language is generated by combining the functional attribute information and the condition attribute information according to the attribute information combination rule described in the first language, and the configuration information described in the second language is obtained by converting the conversion rules corresponding to the functional attribute information, the condition attribute information, and the attribute information combination rule; therefore, the configuration information which can be identified by the software to be configured can be simply, quickly and accurately generated.
In addition, the configuration management system also comprises a function classification module which is used for describing and storing the classification information of the functions in a first language. In the embodiment, the functions can be managed in a classified manner, so that the management of different functions is more convenient, and the complexity and cost of maintenance and management can be further reduced.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
Fig. 1 is a schematic structural diagram of an example of a configuration management system provided according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of another example of the configuration management system provided in accordance with the first embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a configuration management system provided according to a second embodiment of the present invention;
fig. 4 is a flowchart of an example of a configuration management method according to a third embodiment of the present invention;
fig. 5 is a flowchart of another example of a configuration management method according to a third embodiment of the present invention;
fig. 6 is a schematic structural diagram of a configuration management server according to a fourth embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a configuration management system. As shown in fig. 1, includes:
a function module 101 for describing and storing function information in a first language, the function information being information of a function that can be configured into software;
a condition module 102, configured to describe and store condition information in a first language, where the condition information is information of a condition that allows a standard function to be effective.
The configuration module 103 is configured to obtain function information of a function to be configured, which is described in a first language, and condition information of a condition to be configured, which is described in the first language, and generate configuration information of a second language, which can be identified by software to be configured;
and the publishing module 104 is used for distributing the configuration information described in the second language to the software to be configured.
Compared with the prior art, the method has the advantages that the function information and the condition information are described and stored in the first language, the configuration information of different software to be configured is generated by utilizing the function information and the condition information, the configuration information is distributed to the different software to be configured, and the same language description of all functions and general conditions can be obtained by describing and storing the functions and the conditions in the first language, so that the functions and the conditions can be freely combined, the flexible and dynamic generation of the different configuration information along with the change of service requirements can be realized, the configuration information of the different software only needs to be converted from the first language to the configuration information of the second language which can be recognized by the different software to be configured, the configuration information is distributed to different target software, the language conversion among the software is not needed, the uniform configuration of the different languages is realized, and the configuration efficiency is improved.
The configuration management system in the embodiment of the present application is, for example, a CDN configuration management system, that is, the configuration management system is used to configure software in each CDN node in a CDN network. When the existing CDN service needs to be adjusted or a new service needs to be obtained, service configuration needs to be performed on software in the CDN node again.
The following describes the implementation details of the configuration management system of the present embodiment in detail, and the following is only provided for the convenience of understanding and is not necessary for implementing the present embodiment.
In this embodiment, the function module 101 may describe and store the function information of the plurality of functions in the first language. The plurality of functions may be functions that can be configured in software of each CDN node to implement CDN service processing, the same function may be configured in different software, and different functions may also be configured in the same software. The function in this embodiment may be a standard function, that is, a service function that is not separable according to the service that is required to be implemented by the CDN network. In addition, the first language may be a description language specially developed by a skilled person, or may be a description language existing in the prior art.
In one example, the function module 101 is further configured to provide a function information setting interface, and obtain the function information through the function information setting interface. That is, the user can set the function information of the required function in the function information setting interface, and the function module 101 receives the function information input by the user through the function information setting interface; the function information setting interface can be a graphical interface or a command line interface. In this example, the function information set by the user can be conveniently received and visually displayed, and the requirement on the expertise of the operator of the configuration management system can be reduced, thereby reducing the labor cost for configuring the software. However, the specific way of acquiring the function information by the function module 101 in this embodiment is not limited at all, and in other examples, the programmer may write the function information into the program code based on a known programming method, and the function module 101 acquires the program code and converts the program code into the first language description for storage.
In one example, the function information may include attribute information for N items of attributes of the function, such as: function name, function description, function sequence, effective position, generation phase and the like; correspondingly, the function information setting interface may include N attribute information setting regions, where the N attribute information setting regions are respectively used to set attribute information of the N items of attributes. The valid location is attribute information for distinguishing different CDN nodes. The function module 101 is further configured to provide a property item setting interface of the function, and acquire N properties of the function through the property item setting interface. In this example, the operator can freely set the plurality of attributes of the function information and the attribute information of each attribute, which is convenient and fast.
The function module 101 may provide a plurality of configuration components for defining the attribute information, and the function information setting interface includes each configuration component to realize interaction with a user, that is, the user may input the attribute information of the attribute through each configuration component, and after the attribute information of the attribute is input by different configuration components, it may be considered that the data structure of the configuration component is defined based on the attribute information of the attribute, and the configuration component may convert the defined data structure into the first language and store the first language. The configuration component comprises information setting modules such as attribute names, data types, control types, UI (user interface) configurations, titles, descriptions and high-level configurations, and functions of adding attributes, deleting attributes, modifying attributes and the like can be achieved.
In addition, the function module 101 may provide, through the function information setting interface, setting of function information of each function, and may also provide a function modification and deletion interface for an operator to modify and delete the function according to actual needs.
In an example, the function information further includes a first check rule, where the first check rule is used to define a relationship, such as a conflict relationship, a compatibility relationship, and the like, between attribute information of different attributes, and the function module 101 may perform accuracy check on the function information set by the user according to the first check rule, that is, check whether the attribute information of each attribute included in the function information is reasonable.
In one example, the function information further includes a first conversion rule for converting a description language of the attribute information of the function from a first language to a second language and converting the first language to a different second language of different software to be configured.
In an example, the function information further includes a first linkage rule, the first linkage rule is used for associating when two or more attributes change, when the attribute information of one attribute is modified, the attribute information of one or more attributes associated therewith is also automatically modified according to the modified content, and the function module 101 may modify the attribute information set by the user in a linkage manner according to a first correction rule.
In this embodiment, the condition module may describe and store the condition information of the plurality of conditions as the first information. The multiple conditions are conditions for enabling functions configured in each CDN software to take effect, and correspondence between the functions and the conditions depends on business requirements, for example, one function may correspond to one condition or multiple conditions, different functions may correspond to the same condition or different conditions, and only when a condition requirement corresponding to one function is satisfied, the function is executed.
Further, the conditions corresponding to the function may be different according to the execution phases of the function, for example, when a function is used for requesting, the corresponding condition restricts that the object that can use the function can only be the request object, and when the function is used for responding, the object can be either the request object or the response object.
In one example, the condition module 102 is further configured to provide a condition information setting interface, and obtain the condition information through the condition information setting interface. That is, the user can set the condition information of the required condition in the condition information setting interface, and the condition module 102 receives the condition information input by the user through the condition information setting interface; the condition information setting interface can be a graphical interface or a command line interface. In this example, the condition information set by the user can be conveniently received through the condition information setting interface and visually displayed, and the requirement on the professional degree of the operator of the configuration management system can be reduced, so that the labor cost of software configuration is reduced. However, the specific way of acquiring the condition information by the condition module 102 is not limited in this embodiment, in other examples, a programmer may write the condition information into a program code based on a known programming method, and the condition module 102 acquires the program code and converts the program code into the first language description for storage.
In one example, the condition information may include attribute information of N items of attributes of the condition, where the N items of attributes are, for example, names in chinese and english of functions, descriptions of functions, orders of functions, and the like; correspondingly, the condition information setting interface may include N attribute information setting regions, where the N attribute information setting regions are respectively used to set attribute information of the N items of attributes. The condition module 102 is further configured to provide a property item setting interface for the condition, and acquire N properties of the gunner through the property item setting interface. In this example, the operator can freely set the plurality of attributes of the condition information and the attribute information of each attribute, which is convenient and fast.
The condition module 102 may provide a plurality of configuration components for defining the attribute information, and the condition information setting interface includes each configuration component to realize interaction with the user, that is, the user may input the attribute information of the attribute through each configuration component, and different configuration components are used to receive the attribute information of different attributes. Each configuration component comprises a predefined data structure, and after a user inputs attribute information of an attribute through the configuration component, the user can think that the data structure of the configuration component is defined based on the attribute information of the attribute, and the configuration component can convert the defined data structure into the data structure in the first language and store the data structure. The configuration component comprises information setting modules such as attribute names, data types, control types, UI (user interface) configurations, titles, descriptions and high-level configurations, and functions of adding attributes, deleting attributes, modifying attributes and the like can be achieved.
In addition, the condition module 102 may provide a condition information setting interface for setting condition information of each condition, and may also provide a condition modification and deletion interface for an operator to modify and delete the condition according to actual needs.
In an example, the condition information further includes a second check rule, where the second check rule is used to define a relationship between attribute information of different attributes, such as a conflict relationship, a compatibility relationship, and the like, and the condition module 102 may perform an accuracy check on the condition information set by the user according to the second check rule, that is, check whether the attribute information of each attribute included in the condition information is reasonable.
In one example, the function information further includes a second conversion rule for converting the description language of the attribute information of the condition from the first language to the second language and converting the first language to a different second language of different software to be configured.
In an example, the function information further includes a second linkage rule, where the second linkage rule is used for performing association when two or more attributes change, and when modifying attribute information of an attribute, the attribute information of one or more attributes associated therewith is also automatically modified according to the modified content, and the condition module 102 may perform linkage modification on the attribute information set by the user according to the first correction rule.
The configuration module 103 is configured to obtain function information described in a first language of a function to be configured and condition information described in the first language of a condition to be configured, and generate configuration information described in a second language that can be identified by software to be configured. The second language is a language that can be recognized by software to be configured, different software to be configured have different recognizable languages, such as C language, JAVA, PYTHON, and the like, the recognizable languages corresponding to different software are different, and the second language used for generating configuration information is also different, for example, for the same configuration information described in the first language, the configuration information is respectively issued to software that can recognize C language and software that can recognize JAVA, and configuration information of two languages needs to be generated respectively. When the configuration information of the software capable of identifying the C language is generated, the description language of the configuration information is converted from the first language to the C language, and when the configuration information of the software capable of identifying the JAVA is generated, the description language of the configuration information is converted from the first language to the JAVA.
The configuration module 103 is preset with an attribute information combination rule and a third conversion rule described in the first language, where the attribute information combination rule is used to combine the attribute information of the function to be configured and the attribute information of the condition to be configured into configuration information described in the first language, and the configuration module 103 may combine the attribute information of the function to be configured and the attribute information of the condition to be configured to generate configuration information described in the first language. The third conversion rule is used for converting the description language of the attribute information combination rule in the configuration information from the first language to the second language and converting the first language to a different second language of different software to be configured. The configuration module 103 combines the attribute information of the function to be configured described in the first language and the attribute information of the condition to be configured described in the first language according to the attribute information combination rule described in the first language, and generates the configuration information described in the first language after combination; and converting the function information in the configuration information described in the first language into a second language description according to a first conversion rule in the function information, converting the condition information in the configuration information described in the first language into the second language description according to a second conversion rule in the condition information, and converting an attribute information combination rule in the configuration information described in the first language into the second language description according to a third conversion rule preset in the configuration module 103, so that the configuration information described in the first language is converted into the configuration information described in the second language.
In this example, the system combines the attribute information of the function and the condition by using the preset attribute information combination rule described in the first language to generate the configuration information described in the first language, converts the configuration information from the first language to the configuration information described in the second language according to each conversion rule, and realizes the free combination of the function and the condition by combining the attribute information of the function and the condition, thereby flexibly and dynamically generating the configuration information of the software to be configured, converts the configuration information from the first language to the second language by the conversion rule, converts the configuration information of different software to be configured into the corresponding second language by the corresponding conversion rule, and realizes the uniform configuration of different software to be configured.
In an example, the configuration module 103 is further configured to provide a requirement input interface, and obtain a connection relationship between a function name, a condition name, and a condition to be configured through the requirement input interface. That is, the user may input the name of the function required by the service, the name of the condition in which the function becomes effective, and the connection relationship of the condition in the requirement input interface, the configuration module 103 receives the function name, the condition name, and the connection relationship of the condition input by the user through the requirement input interface, acquires the function information according to the function name, extracts the function attribute information from the function information according to the condition name, extracts the condition attribute information from the condition information, and combines the attribute information of the function and the attribute information of the condition into the configuration information described in the first language according to the connection relationship of the condition by using the attribute information combination rule. The requirement input interface can be a graphical interface or a command line interface. In this example, the function name and the condition name input by the user can be conveniently received, the connection relationship among the function name, the condition name and the condition can be intuitively displayed, and the professional requirement on the operator of the configuration management system can be reduced, so that the labor cost of software configuration is reduced. However, the specific way in which the configuration module 103 obtains the input function name and condition name is not limited in this embodiment, in other examples, a programmer may write the function name and condition name into a program code based on a known programming method, and the configuration module 103 obtains the program code and converts the program code into the first language description for storage.
In addition, the configuration module 103 may provide an interface for modifying and deleting configuration information in addition to providing input of a connection relationship of a function name, a condition name, and a condition through the requirement input interface, and provide generated configuration information in the interface for an operator to modify and delete the configuration information according to actual needs. The functions of the configuration module 103 further include: reading the generated configuration information list, previewing configuration information, adding configuration information, modifying configuration information, deleting configuration information, setting a configuration information label, checking configuration information, comparing configuration information, moving up configuration information, moving down configuration information, starting to enable configuration information and forbidding to use configuration information.
In one example, configuration module 103 can store configuration information described in the first language in a form. After the Jform module is used for acquiring the function information and the condition information described in the first language, extracting attribute information in the function information and attribute information in the condition information, combining the attribute information in the function information and the attribute information in the condition information according to an attribute information combination rule to generate configuration information described in the first language, and storing the configuration information described in the first language in a form. When the configuration information described in the second language is generated, the attribute information combination statement can be converted into the configuration information of the software to be configured described in the second language according to the first conversion rule, the second conversion rule and the third conversion rule, and the first language can be converted into different second languages of different software to be configured.
In one example, the configuration module 103 stores the obtained function information in one or more form actions and stores the obtained condition information in one or more form conditions, each condition may specify an and-or relationship between the conditions, a default yes-or relationship between the conditions, a condition connection relationship input by the user on the requirement input interface is obtained, and the relationship between the conditions is modified according to the condition connection relationship. The configuration module 103 extracts function attribute information from the function information and condition attribute information from the condition information according to the connection relationship among the function name, the condition name, and the condition input by the user, and combines the function attribute information and the condition attribute information according to an attribute information combination rule to generate configuration information described in a first language.
In an example, a third check rule is preset in the configuration module 103, where the third check rule is used to define a relationship between the function attribute information and the function attribute information, such as a conflict relationship, a compatibility relationship, and the like, and the configuration module 103 is further used to check the function attribute information and the condition attribute information according to the third check rule. When the configuration module 103 obtains the function information and the condition information, the accuracy of the function information and the condition information is checked according to a third check rule.
Further, the first check rule and the first conversion rule in the function information may also be preset in the configuration module 103, the first check rule and the second conversion rule in the condition information may also be preset in the configuration module 103, when the configuration module 103 obtains the function information and the condition information, the configuration module 103 checks the attribute information of the function information according to the first check rule, checks the attribute information of the condition information according to the second check rule, and checks the accuracy between the function attribute information and the condition attribute information according to the third check rule. When the configuration module 103 converts the generated configuration information described in the first language into configuration information described in the second language, the function attribute information is converted into the second language description according to the first conversion rule, the condition attribute information is converted into the second language description according to the second conversion rule, and the attribute information combination rule is converted into the second language description according to the third conversion rule.
In this embodiment, the publishing module 104 may distribute the configuration information described in the second language to the software to be configured, that is, publish the configuration information described in the second language to the software to be configured, respectively.
In one example, the publish module 104 also includes monitoring, feedback, and retry functions to configure the publication. When configuration information described in the second language is generated, a task is created for the configuration information in the configuration publishing module, and the task realizes publishing of the configuration information. The publish module 104 also describes and stores task information in the first language. The publish module 104 also generates task information describing the configuration publication, one task information including: the method comprises the steps of deployment list, task state, task name, deployment object, task query, task cancel, task resubmit and batch deployment information.
In one example, the publishing module 104 is further configured to provide a task information management interface and obtain task information through the task information management interface. That is, a user may set task information to be published on a task information management interface, and the publishing module 104 receives the task information input by the user through the task information management interface; the task information management interface can be a graphical interface or a command line interface. In this example, the task information set by the user can be conveniently received and the function information can be intuitively displayed, and the requirement on the professional degree of the operator of the configuration management system can be reduced, so that the labor cost of the configuration of the software is reduced. However, the specific way of acquiring the function information by the function module 101 is not limited in this embodiment, in other examples, a programmer may write the function information into a program code based on a known programming method, and the publishing module 104 acquires the program code and converts the program code into the first language description for storage.
In one example, as shown in FIG. 2, a data module 105 may be provided to specifically store various information generated in the configuration management system.
Different storage units are arranged in the data module 105, including: the device comprises a function unit, a condition unit, a configuration unit and an issuing unit. The data module 105 may establish connection channels with the function module 101, the condition module 102, the configuration module 103, and the issue module 104, respectively, through the connection channels, the function module 101 may store the function information described in the first language in the function unit, the condition module 102 may store the condition information described in the first language in the condition unit, the configuration module 103 may store the generated configuration information described in the first language in the configuration unit, may store the generated configuration information described in the second language in the configuration unit, and the issue module 104 may store the task information described in the first language in the issue unit, where the task information is used to describe the configuration issue situation.
When the configuration module 103 needs to obtain the function to be configured and the condition to be configured to generate the configuration information, the configuration module 103 obtains the function information described in the first language from the function unit of the data module, obtains the condition information described in the first language from the condition unit of the data module, generates the configuration information described in the second language that can be recognized by the software to be configured, and stores the configuration information in the configuration unit of the data module.
In this example, a data module for storing various information generated in the system is provided exclusively in the configuration management system, but in other examples, the configuration management system may be connected to an external database, that is, store various information in the external database, or each module in the configuration management system may store information generated by each module independently of itself, for example, the function module 101 stores function information described in the first language in the function module 101, and the condition module 102 stores condition information described in the first language in the condition module 102.
The following is a specific example of the functional configuration of software in a CDN node in a CDN network based on the configuration management system.
When a user wants to configure a new function for software to be configured, the new function needs to be added through the function information setting interface, a new condition corresponding to the new function needs to be set through the condition information setting interface, and the function module 101 and the condition module 102 acquire function information of the new function and condition information of the new condition from the function information setting interface and the condition information setting interface respectively and store the function information and the condition information into corresponding units in the data module. The user inputs the function name, the corresponding condition name, the corresponding relation between the conditions and the software to be configured on the requirement input interface, the configuration module 103 can generate corresponding configuration information, and the release module 104 releases the configuration information to the software to be configured. When a user wants to modify the existing functions, conditions or configuration information, the user only needs to modify the function information on the function information modification interface, or modify the condition information on the condition information modification interface, or modify the configuration information on the configuration information modification page.
If a user wants to configure a new function for software a in a certain CDN node, the user adds function 1 and function 2 through a function information setting interface, where function 1 includes 10 attributes, function 2 includes 15 attributes, and condition information setting interface adds condition 1, condition 2, and condition 3, where condition 1 includes 5 attributes, condition 2 includes 10 attributes, and condition 3 includes 30 attributes. The function module 101 acquires function information of the function 1 and the function 2 from the function information setting interface through the configuration component, describes the function information of the function 1 and the function 2 in a first language, and stores the function information in the function unit of the data module, and the condition module 102 acquires condition information of the condition 1, the condition 2, and the condition 3 from the condition information setting interface through the configuration component, describes the function information of the condition 1, the condition 2, and the condition 3 in the first language, and stores the function information in the condition unit of the data module.
The user inputs the name of the function 1, the name of the condition 2, the name of the condition 3 and the and relation between the condition 2 and the condition 3 in the requirement input interface, the configuration module 103 acquires the name of the function 1, the name of the condition 2 and the name of the condition 3 from the requirement input interface, acquires the and relation between the condition 2 and the condition 3 and software A from the requirement input interface, acquires the function information of the function 1 from the data module, condition information of condition 2 and function information of condition 3, attribute information of function 1 is acquired from function information of function 1, attribute information of condition 2 is acquired from condition information of condition 2, attribute information of condition 3 is acquired from condition information of condition 3, attribute information of function 1, attribute information of condition 2 and attribute information of condition 3 are combined by using attribute combination rule and relation of attribute combination to generate configuration information 123 described in first language, and the configuration information is stored in a configuration unit. Extracting a first conversion rule of the function 1, a second conversion rule of the condition 2 and a second conversion rule of the condition 3 from the function information of the function 1, the condition information of the condition 2 and the function information of the condition 3, wherein the first conversion rule comprises converting the function information of the function 1 into a corresponding rule described in a second language a, the second conversion rule comprises converting the condition information of the condition 2 and the condition 3 into a corresponding rule described in a second language a, the third conversion rule comprises converting an attribute information combination rule of the function 1 and the condition 2 and the condition 3 into a corresponding rule described in a second language a, acquiring a preset third conversion rule from the configuration module 103, converting the attribute information of the function 1 in the configuration information 123 described in the first language into a description in the second language a through the first conversion rule, and converting the condition 2, the condition 3 through the second conversion rule, Converting the attribute information of the condition 3 into the description of the second language a, converting the attribute information combination rule into the description of the second language a through a third conversion rule, generating the configuration information a123 described in the second language a which can be identified by the software A to be configured, and storing the configuration information a123 into a configuration unit in the data module. The distribution module 104 distributes the configuration information a123 to the software a. While the configuration information a123 is generated, the publishing module 104 creates a task s for the configuration information a123, and stores the task information of the task s in the first language to the publishing unit of the data module.
It should be noted that each module referred to in this embodiment is a logical module, and in practical applications, one logical unit may be one physical unit, may be a part of one physical unit, and may be implemented by a combination of multiple physical units. In addition, in order to highlight the innovative part of the present invention, elements that are not so closely related to solving the technical problems proposed by the present invention are not introduced in the present embodiment, but this does not indicate that other elements are not present in the present embodiment.
A second embodiment of the present invention relates to a configuration management system, as shown in fig. 3, including:
and the function classification module 201 is used for describing and storing the classification information of the functions in a first language.
A function module 202, configured to describe and store function information in a first language, where the function information is information of a function to be configured in software;
and a condition module 203 for describing and storing condition information in a first language, the condition information being information of a condition that allows the function to take effect.
The configuration module 204 is configured to obtain standard function information described in a first language of a standard function to be configured and condition information described in the first language of a condition to be configured, and generate configuration information described in a second language that can be identified by software to be configured;
and the publishing module 205 is used for distributing the configuration information described in the second language to the software to be configured.
The contents of the functional module 202, the conditional module 203, and the publishing module 205 in this embodiment are substantially the same as those in the first embodiment, and are not described again; the difference is that the system further comprises a function classification module 201, and the function classification module is used for describing and storing classification information of functions in a first language. Among them, the function classification is a classification of functions that can be configured to software from the viewpoint of product, development, and operation. Each category has one or more functions; all the classifications generate a tree management structure according to the hierarchical relation. The function classification information includes: function order, function description, function Chinese name and function English name.
In one example, a function classification unit may be added to the data storage module to store the function classification information, and the function classification module may store the function classification information described in the first language in the function classification unit.
In this embodiment, set up function classification module, describe, store function classification information with first language, through carrying out classification management to the function, make the management of system more convenient and easy, the maintenance of the system operation personnel to the function of being convenient for more, management has reduced the complexity and the cost of maintaining and managing.
A third embodiment of the present invention relates to a configuration management method, as shown in fig. 4, including:
step 301, acquiring function information described in a first language of a function to be configured from pre-stored function information described in the first language, and acquiring condition information described in the first language of a condition to be configured from pre-stored condition information described in the first language; wherein the function information is information of a function that can be configured into software; the condition information is information of a condition that allows the function to take effect;
step 302, generating configuration information described in a second language which can be identified by software to be configured according to function information described in the first language of a function to be configured and condition information described in the first language of a condition to be configured;
step 303, distributing the configuration information described in the second language to the software to be configured.
The method is a configuration management method executed in the configuration management system, when the method is executed by the configuration management system, a configuration module in the configuration management system acquires function information described by a first language of a function to be configured and condition information described by the first language of a condition to be configured, combines the function attribute information and the condition attribute information by using a preset attribute information combination statement described by the first language to generate configuration information described by the first language, and converts the configuration information described by the first language into configuration information described by a second language which can be identified by software to be configured. And distributing the configuration information described in the second language to the software to be configured by the configuration publishing module.
Compared with the prior art, the method and the device have the advantages that the functional information and the general condition information stored in the intermediate description language are acquired, the configuration information of different target software is generated by utilizing the functional information and the general condition information, the configuration information is distributed to different target software, the functions and the general conditions are respectively defined and stored by the intermediate description language, and the same language description of all the functions and the general conditions is obtained, so that the functions and the general conditions can be freely combined, the flexible and dynamic generation of different configurations along with the change of service requirements is realized, the configuration of different software is realized only by converting the intermediate description language into the configuration information of the corresponding language of different target software, the configuration information is distributed to different target software, the language conversion among the software is not needed, the uniform configuration of the different language software is realized, and the configuration efficiency is improved.
In an example, before step 301, as shown in fig. 5, the configuration management method according to this embodiment may further include:
and step 300, describing and storing the function information in a first language, and describing and storing the condition information in the first language.
Specifically, the function information is described and stored in a first language by the function module, and the condition information is described and stored in the first language by the condition module.
In one example, the configuration method of the present embodiment further includes: and providing a requirement input interface, and acquiring the function to be configured and the condition to be configured through the requirement input interface. The method comprises the steps that a user can input names of functions required by services, names of conditions in which the functions take effect and connection relations of the conditions on a requirement input interface, a configuration module receives the connection relations of the functions, the names of the conditions and the conditions input by the user through the requirement input interface, obtains function information according to the function names, extracts function attribute information from the function information according to the condition name and condition information, extracts condition attribute information from the condition information, and combines the attribute information of the functions and the attribute information of the conditions into configuration information described in a first language according to the connection relations of the conditions by using an attribute information combination rule. The requirement input interface can be a graphical interface or a command line interface. In this example, the function name and the condition name input by the user can be conveniently received, the connection relationship among the function name, the condition name and the condition can be intuitively displayed, and the professional requirement on the operator of the configuration management system can be reduced, so that the labor cost of software configuration is reduced. However, the specific way in which the configuration module obtains the input function name and condition name is not limited in this embodiment, in other examples, a programmer may write the function name and condition name into a program code based on a known programming method, and the configuration module obtains the program code and converts the program code into the first language description for storage.
In one example, the function information includes: function attribute information and a first conversion rule; the first conversion rule is used for converting the description language of the attribute information of the function from a first language to a second language; the condition information includes: condition attribute information and a second conversion rule; the second conversion rule is used to convert the description language of the attribute information of the condition from the first language to the second language. The configuration module extracts function attribute information and a first conversion rule from the function information after acquiring the function information of the function to be configured and the condition information to be configured, extracts the condition attribute information and a second conversion rule from the condition information, combines the function attribute information and the condition attribute information to generate configuration information described in a first language, converts the function attribute information in the configuration information described in the first language into a second language according to the first conversion rule, and converts the condition attribute information in the configuration information described in the first language into the second language according to the second conversion rule.
In one example, acquiring function information described in a first language of a function to be configured and condition information described in the first language of a condition to be configured, and generating configuration information described in a second language that can be recognized by software to be configured, includes: combining the functional attribute information and the condition attribute information by using a preset attribute information combination rule described in a first language to generate configuration information described in the first language; and converting the configuration information described in the first language into the configuration information described in the second language by using the first conversion rule, the second conversion rule and a preset third conversion rule described in the first language. The configuration module extracts function attribute information and a first conversion rule from the function information after acquiring the function information of a function to be configured and condition information to be configured, extracts the condition attribute information and a second conversion rule from the condition information, combines the function attribute information and the condition attribute information by using an attribute information combination rule to generate configuration information described in a first language, converts the function attribute information in the configuration information described in the first language into a second language according to the first conversion rule, converts the condition attribute information in the configuration information described in the first language into the second language according to the second conversion rule, and converts the attribute information combination rule in the configuration information described in the first language into the second language according to the first conversion rule.
It should be understood that this embodiment is a method example corresponding to the above embodiment, and that this embodiment can be implemented in cooperation with the above embodiment. The related technical details mentioned in the above embodiments are still valid in this embodiment, and are not described herein again in order to reduce repetition. Accordingly, the related-art details mentioned in the present embodiment can also be applied to the above-described embodiments.
A fourth embodiment of the present invention relates to a server, as shown in fig. 6, including: at least one processor 501; a memory 502 communicatively coupled to the at least one processor; the memory 502 stores instructions executable by the at least one processor 501, and the instructions are executed by the at least one processor 501 to perform the configuration management method.
The memory 502 and the processor 501 are coupled by a bus, which may include any number of interconnected buses and bridges that couple one or more of the various circuits of the processor 501 and the memory 502 together. The bus may also connect various other circuits such as peripherals, voltage regulators, power management circuits, and the like, which are well known in the art, and therefore, will not be described any further herein. A bus interface provides an interface between the bus and the transceiver. The transceiver may be one element or a plurality of elements, such as a plurality of receivers and transmitters, providing a means for communicating with various other apparatus over a transmission medium. Information processed by processor 501 is transmitted over a wireless medium through an antenna, which further receives the information and passes the information to processor 501.
The processor 501 is responsible for managing the bus and general processing and may also provide various functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. And memory 502 may be used to store information used by the processor in performing operations.
A fifth embodiment of the present invention relates to a computer-readable storage medium storing a computer program. The computer program realizes the above-described method embodiments when executed by a processor.
That is, as can be understood by those skilled in the art, all or part of the steps in the method for implementing the embodiments described above may be implemented by a program instructing related hardware, where the program is stored in a storage medium and includes several instructions to enable a device (which may be a single chip, a chip, or the like) or a processor (processor) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
It will be understood by those of ordinary skill in the art that the foregoing embodiments are specific examples for carrying out the invention, and that various changes in form and details may be made therein without departing from the spirit and scope of the invention in practice.

Claims (13)

1. A configuration management system, comprising:
the function module is used for describing and storing the function information in a first language; the function information is information of a function that can be configured into software;
the condition module is used for describing and storing condition information in the first language; the condition information is information of a condition that allows the function to take effect;
the configuration module is used for acquiring the function information of the function to be configured, which is described in the first language, and the condition information of the condition to be configured, which is described in the first language, and generating configuration information, which is described in a second language and can be identified by software to be configured;
and the release module is used for distributing the configuration information described in the second language to the software to be configured.
2. The configuration management system according to claim 1, wherein the system further comprises:
and the function classification module is used for describing and storing the classification information of the functions in the first language.
3. The configuration management system according to claim 1,
the function module is also used for providing a function information setting interface and acquiring the function information through the function information setting interface;
the condition module is also used for providing a condition information setting interface and acquiring the condition information through the condition information setting interface;
the configuration module is further configured to provide a requirement input interface, and acquire the function to be configured and the condition to be configured through the requirement input interface.
4. The configuration management system according to claim 3, wherein the function information includes attribute information of N attributes of the function, and the function information setting interface includes N attribute information setting areas, and the N attribute information setting areas are respectively used for setting attribute information of N attributes;
the function module is further configured to provide a property item setting interface of the function, and acquire the N properties of the function through the property item setting interface.
5. The configuration management system according to claim 1,
the function information includes attribute information of the function and a first conversion rule for converting a description language of the attribute information of the function from the first language to the second language;
the condition information includes attribute information of the condition and a second conversion rule for converting a description language of the attribute information of the condition from the first language to the second language.
6. The configuration management system according to claim 5, wherein an attribute information combination rule and a third conversion rule described in the first language are preset in the configuration management module, and the third conversion rule is used to convert a description language of the attribute information combination rule from the first language to the second language;
the configuration management module is further configured to combine the attribute information of the function to be configured described in the first language and the attribute information of the condition to be configured described in the first language according to an attribute information combination rule described in the first language, and generate the configuration information described in the first language after the combination; and converting the configuration information described in the first language into the configuration information described in the second language according to the first conversion rule, the second conversion rule and the third conversion rule.
7. The configuration management system according to claim 5, wherein the function information further includes a first check rule, and the configuration management module is configured to check the attribute information of the function according to the first check rule;
the condition information also comprises a second check rule, and the condition management module is used for checking the attribute information of the condition according to the second check rule.
8. A configuration management method, comprising:
acquiring function information described in a first language of a function to be configured from pre-stored function information described in the first language, and acquiring condition information described in the first language of a condition to be configured from pre-stored condition information described in the first language; wherein the function information is information of a function that can be configured into software; the condition information is information of a condition that allows the function to take effect;
generating configuration information described in a second language which can be identified by software to be configured according to the function information described in the first language of the function to be configured and the condition information described in the first language of the condition to be configured;
distributing the configuration information described in the second language to the software to be configured.
9. The configuration management method according to claim 8, wherein the configuration management method further comprises:
and providing a requirement input interface, and acquiring the function to be configured and the condition to be configured through the requirement input interface.
10. The configuration management method according to claim 8, wherein the function information includes attribute information of the function and a first conversion rule; the first conversion rule is used for converting the description language of the attribute information of the function from the first language to the second language;
the condition information includes attribute information of the condition and a second conversion rule; the second conversion rule is used for converting the description language of the attribute information of the condition from the first language to the second language.
11. The method according to claim 10, wherein the generating configuration information described in a second language that can be recognized by software to be configured according to the function information described in the first language of the function to be configured and the condition information described in the first language of the condition to be configured comprises:
combining the functional attribute information and the condition attribute information by using a preset attribute information combination statement described in the first language to generate configuration information described in the first language;
converting the configuration information described in the first language into the configuration information described in the second language by using the first conversion rule, the second conversion rule and a preset third conversion rule described in the first language;
wherein the third conversion rule is used for converting the description language of the attribute information combination rule from the first language to the second language.
12. A configuration management system, comprising:
at least one processor;
a memory communicatively coupled to the at least one processor;
the memory stores instructions executable by the at least one processor to enable the at least one processor to perform the configuration management method of any of claims 8 to 11.
13. A computer-readable storage medium, storing a computer program, wherein the computer program, when executed by a processor, implements the configuration management method of any of claims 8 to 11.
CN202010887074.7A 2020-08-28 2020-08-28 Configuration management system, method and storage medium Pending CN112202591A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010887074.7A CN112202591A (en) 2020-08-28 2020-08-28 Configuration management system, method and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010887074.7A CN112202591A (en) 2020-08-28 2020-08-28 Configuration management system, method and storage medium

Publications (1)

Publication Number Publication Date
CN112202591A true CN112202591A (en) 2021-01-08

Family

ID=74005140

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010887074.7A Pending CN112202591A (en) 2020-08-28 2020-08-28 Configuration management system, method and storage medium

Country Status (1)

Country Link
CN (1) CN112202591A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130239098A1 (en) * 2010-09-09 2013-09-12 Makoto Ichii Source code conversion method and source code conversion program
CN103927174A (en) * 2014-04-17 2014-07-16 北京视博数字电视科技有限公司 Service processing method and device
US20140282369A1 (en) * 2013-03-14 2014-09-18 Adminovate, Inc. Software application generator
CN104462107A (en) * 2013-09-17 2015-03-25 苏州精易会信息技术有限公司 Event-driven data linkage device and method
US20170003937A1 (en) * 2015-04-28 2017-01-05 Nadia Analia Huebra Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN110046227A (en) * 2019-04-17 2019-07-23 腾讯科技(深圳)有限公司 Configuration method, exchange method, device, equipment and the storage medium of conversational system
CN110196889A (en) * 2019-05-30 2019-09-03 北京字节跳动网络技术有限公司 Data processing method, device, electronic equipment and storage medium
CN111090451A (en) * 2019-11-08 2020-05-01 贝壳技术有限公司 Service configuration method, device and storage medium

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130239098A1 (en) * 2010-09-09 2013-09-12 Makoto Ichii Source code conversion method and source code conversion program
US20140282369A1 (en) * 2013-03-14 2014-09-18 Adminovate, Inc. Software application generator
CN104462107A (en) * 2013-09-17 2015-03-25 苏州精易会信息技术有限公司 Event-driven data linkage device and method
CN103927174A (en) * 2014-04-17 2014-07-16 北京视博数字电视科技有限公司 Service processing method and device
US20170003937A1 (en) * 2015-04-28 2017-01-05 Nadia Analia Huebra Process and system for automatic generation of functional architecture documents and software design and analysis specification documents from natural language
CN107977344A (en) * 2017-11-03 2018-05-01 网宿科技股份有限公司 Date storage method, acquisition methods and server
CN110046227A (en) * 2019-04-17 2019-07-23 腾讯科技(深圳)有限公司 Configuration method, exchange method, device, equipment and the storage medium of conversational system
CN110196889A (en) * 2019-05-30 2019-09-03 北京字节跳动网络技术有限公司 Data processing method, device, electronic equipment and storage medium
CN111090451A (en) * 2019-11-08 2020-05-01 贝壳技术有限公司 Service configuration method, device and storage medium

Similar Documents

Publication Publication Date Title
CN114115852A (en) Visual service arranging method, device, equipment and medium
CN107832045A (en) Across the method and apparatus of programming language interface conversion
JP6859620B2 (en) Information processing system, information processing device, information processing method, and information processing program
CN104520834A (en) System and method for end-to-end exposure of exported representations of native data types to third-party applications
CN110704749B (en) Recommendation engine customization system, recommendation method, recommendation system and electronic equipment
CN111818175B (en) Enterprise service bus configuration file generation method, device, equipment and storage medium
CN113535165A (en) Interface generation method and device, electronic equipment and computer readable storage medium
CN112905178B (en) Service function page generation method, device, equipment and medium
CN113298331A (en) Work order processing method, device and system and electronic equipment
CN114594927A (en) Low code development method, device, system, server and storage medium
CN113626223A (en) Interface calling method and device
CN112947900A (en) Web application development method and device, server and development terminal
CN116956825A (en) Form conversion method and server
CN112202591A (en) Configuration management system, method and storage medium
CN116088816B (en) Method for developing panoramic service view by low codes
US11416491B1 (en) Tags and permissions in a content management system
CN111831179B (en) Signing method, device and computer readable medium
US8260782B2 (en) Data element categorization in a service-oriented architecture
CN114579123A (en) Display frame, page display method, electronic device and storage medium
Wolters et al. Cross-device integration of android apps
JP6753489B2 (en) Information processing system, information processing device, information processing method, and program
US9002870B2 (en) System, method and computer program product for EDI-to-EDI translations
CN113923250A (en) Method, device and system for assisting network service arrangement
CN112948472A (en) Data processing method, device, equipment and computer readable medium
JP6536308B2 (en) INFORMATION PROCESSING SYSTEM, INFORMATION PROCESSING DEVICE, INFORMATION PROCESSING METHOD, AND PROGRAM

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

Application publication date: 20210108