CN116243964A - Determination method and device for feasibility of changing requirements - Google Patents

Determination method and device for feasibility of changing requirements Download PDF

Info

Publication number
CN116243964A
CN116243964A CN202310122671.4A CN202310122671A CN116243964A CN 116243964 A CN116243964 A CN 116243964A CN 202310122671 A CN202310122671 A CN 202310122671A CN 116243964 A CN116243964 A CN 116243964A
Authority
CN
China
Prior art keywords
configuration item
configuration
determining
items
sub
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
CN202310122671.4A
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.)
China Unionpay Co Ltd
Original Assignee
China Unionpay 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 China Unionpay Co Ltd filed Critical China Unionpay Co Ltd
Priority to CN202310122671.4A priority Critical patent/CN116243964A/en
Publication of CN116243964A publication Critical patent/CN116243964A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/70Software maintenance or management
    • G06F8/71Version control; Configuration management

Abstract

The application provides a method and a device for determining feasibility of changing requirements, wherein the method comprises the following steps: acquiring a change demand; determining a first configuration item corresponding to a change requirement in a configuration item relation diagram, wherein the configuration item relation diagram comprises at least two configuration items and an association relation between the at least two configuration items; determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises a first configuration item, and the configuration items in the result configuration item set have an association relationship with the first configuration item; and determining the feasibility of the change requirement according to the change requirement and the result configuration item set. According to the method, the configuration items which are influenced by the changing requirement can be accurately determined according to the result configuration item set and the changing requirement, and the feasibility of the changing requirement can be accurately determined.

Description

Determination method and device for feasibility of changing requirements
Technical Field
The present disclosure relates to the field of computers, and in particular, to a method and an apparatus for determining feasibility of a change requirement.
Background
With the development of communication technology and the wide application of computers, many configuration items may be affected according to a certain changing requirement, for example, a plurality of physical machines may be disposed in a certain machine room, each physical machine may be disposed with a plurality of virtual servers and containers, and the virtual servers and containers may be disposed with different applications, and the different applications belong to different service systems. The machine room, the physical machine, the virtual server, the container, the application, the service and the like can be configuration items, and the configuration items have association relations. If changes are made to the physical machine, some virtual servers, containers, applications or services, etc. may be affected.
How to determine a result configuration item set related to the change requirement according to the change requirement, and whether the change requirement is feasible or not, is to be solved.
Disclosure of Invention
The application provides a method and a device for determining feasibility of a change demand, which can determine a result configuration item set related to the change demand according to the change demand, and analyze whether the change demand is feasible or not according to the result configuration item set.
In a first aspect, an embodiment of the present application provides a method for determining feasibility of a change requirement, where the method may be performed by a device for determining feasibility of a change requirement, where the device for determining feasibility of a change requirement may be a terminal device or a module for a terminal device, or a server or a module for a server. The subject matter of the implementation of the method is not limited in this application. The method comprises the following steps: acquiring a change requirement, wherein the change requirement is used for indicating a change operation on the configuration; determining a first configuration item corresponding to a change requirement in a configuration item relation diagram, wherein the configuration item relation diagram comprises at least two configuration items and an association relation between the at least two configuration items; determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises a first configuration item, and the configuration items in the result configuration item set have an association relationship with the first configuration item; and determining the feasibility of the change requirement according to the change requirement and the result configuration item set.
According to the scheme, the configuration item relation diagram comprises at least two configuration items and the association relation between the at least two configuration items, the configuration items associated with the first configuration item can be determined according to the configuration item relation diagram, and a result configuration item set is formed; according to the result configuration item set and the change requirement, configuration items which are influenced by the change requirement can be accurately determined, and the feasibility of the change requirement can be accurately determined.
In one possible implementation, the configuration item relationship graph is a directed graph, and the direction of the directed graph is used to indicate the association relationship between at least two configuration items.
According to the scheme, the configuration item relation diagram is a directed diagram, the relation among the configuration items can be accurately reflected, the directed diagram is searched, the configuration item associated with the first configuration item can be rapidly and accurately determined, and then the result configuration item set can be rapidly and accurately determined.
In a possible implementation method, determining a result configuration item set according to a first configuration item and a configuration item relation diagram includes: determining a set of sub-configuration items associated with the first configuration item; and determining a result configuration item set according to the first configuration item and the sub configuration item set.
In one possible implementation, for each of a set of sub-configuration items, determining a level difference between a level of each sub-configuration item and a first level; if the sum of the layer level difference and the first layer level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is the hierarchy of the previous configuration item associated with each child configuration item in the configuration item relationship graph.
According to the scheme, the sum of the limiting layer level difference and the first layer level is smaller than the preset threshold, so that the depth of traversing the configuration item relation graph can be effectively reduced, and the result configuration item set can be rapidly and accurately determined.
In one possible implementation method, the hierarchy to which the configuration item in the configuration item relationship graph belongs includes one or more of the following: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer.
According to the scheme, the configuration items are hierarchically divided, so that the types of the configuration items and the association relation among the configuration items can be accurately determined.
In a second aspect, an embodiment of the present application provides a device for determining feasibility of changing a requirement, including: an acquisition unit and a determination unit. And the acquisition unit is used for acquiring a change requirement, wherein the change requirement is used for indicating a change operation on the configuration. The determining unit is used for determining a first configuration item corresponding to the change requirement in the configuration item relation diagram, wherein the configuration item relation diagram comprises at least two configuration items and an association relation between the at least two configuration items; determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises a first configuration item, and the configuration items in the result configuration item set have an association relationship with the first configuration item; and determining the feasibility of the change requirement according to the change requirement and the result configuration item set.
In one possible implementation, the configuration item relationship graph is a directed graph, and the direction of the directed graph is used to indicate the association relationship between at least two configuration items.
In a possible implementation method, the determining unit is specifically configured to determine a subset of the configuration items associated with the first configuration item; and determining a result configuration item set according to the first configuration item and the sub configuration item set.
In a possible implementation method, the determining unit is specifically configured to determine, for each sub-configuration item in the sub-configuration item set, a level difference between a level of each sub-configuration item and the first level; if the sum of the layer level difference and the first layer level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is the hierarchy of the previous configuration item associated with each child configuration item in the configuration item relationship graph.
In one possible implementation method, the hierarchy to which the configuration item in the configuration item relationship graph belongs includes one or more of the following: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer.
In a third aspect, embodiments of the present application further provide a computing device, including:
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing any method for realizing the first aspect according to the obtained program instructions.
In a fourth aspect, embodiments of the present application further provide a computer-readable storage medium having stored therein computer-readable instructions which, when read and executed by a computer, implement any of the methods of the first aspect described above.
In a fifth aspect, embodiments of the present application provide a computer program product comprising a computer program executable by a computer device, the program, when run on the computer device, causing the computer device to perform any of the methods of implementing the first aspect.
Drawings
Fig. 1 is a flow chart of a method for determining feasibility of changing a demand according to an embodiment of the present application;
FIG. 2 is a schematic structural diagram of a configuration item hierarchy according to an embodiment of the present application;
fig. 3 is a schematic structural diagram of a configuration item relationship diagram provided in an embodiment of the present application;
fig. 4 is a schematic flow chart of determining a result configuration item set according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a device for determining the feasibility of changing a requirement according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of a device for determining the feasibility of changing a requirement according to an embodiment of the present application.
Detailed Description
Fig. 1 is a flow chart of a method for determining feasibility of a change requirement according to an embodiment of the present application, where the method may be performed by a device for determining feasibility of a change requirement, and the device for determining feasibility of a change requirement may be a terminal device or a module for a terminal device, or a server or a module for a server. The subject matter of the implementation of the method is not limited in this application.
The method comprises the following steps:
step 101, obtaining a change requirement.
Wherein the change requirement is used for indicating a change operation to the configuration.
In one possible implementation, the configuration may be some hardware device, such as a physical machine, a switch, a memory, or a hard disk. The configuration may also be some application, such as an application program, a background server, a cloud server, a database, or the like, and the specific content of the configuration is not limited in the application. The change requirement is used for indicating a change operation on the configuration, for example, the change requirement is to change the memory in the physical machine A; for another example, the change requirement is to migrate the cloud server a to the physical machine a; for another example, the change requirement is to delete service a.
Step 102, determining a first configuration item corresponding to the change requirement in the configuration item relation diagram.
The configuration item relation diagram comprises at least two configuration items and an association relation between the at least two configuration items.
In one possible implementation, the configuration item relationship graph is a directed graph, and the direction of the directed graph is used to indicate the association relationship between at least two configuration items. According to the scheme, the configuration item relation diagram is a directed diagram, the relation among the configuration items can be accurately reflected, the directed diagram is searched, the configuration item associated with the first configuration item can be rapidly and accurately determined, and then the result configuration item set can be rapidly and accurately determined.
In one possible implementation method, the association relationship between two configuration items may be a direct influence relationship, for example, the configuration item a is a physical machine, and the configuration item B is a container deployed in the physical machine a, so that the configuration item a and the configuration item B are direct influence relationships, that is, when the configuration item a cannot work normally, the configuration item B cannot work normally. The association relationship between two configuration items may be a transfer relationship, for example, configuration item a is a switch, configuration item B is a router, and configuration item a and configuration item B are connected together through a physical connection line, where configuration item a and configuration item B are transfer relationships. The association relationship between two configuration items may be a load balancing influence relationship, for example, configuration item a is a service, configuration item B is a server, and the server bears 20% of the traffic of configuration item a, and then configuration item a and configuration item B are load balancing influence relationships. The association relation between the two configuration items is not limited in the application.
In a possible implementation method, according to the names of the configuration items in the change requirement, determining a first configuration item corresponding to the change requirement in the configuration item relation diagram, for example, changing the memory in the physical machine a by the change requirement, if the configuration item name in the change requirement is the physical machine a, searching the configuration item with the same name as the physical machine a in the configuration item relation diagram as the first configuration item. If the configuration item relation diagram has a plurality of configuration items with the same name as the physical machine a, the number of the first configuration items may be plural, and the number of the first configuration items is not limited in the application.
In another possible implementation method, according to the identifier of the configuration item in the change requirement, determining the first configuration item corresponding to the change requirement in the configuration item relation diagram, where the identifier of the configuration item in the change requirement is not limited.
Step 103, determining a result configuration item set according to the first configuration item and the configuration item relation diagram.
The result configuration item set comprises a first configuration item, and the configuration items in the result configuration item set have an association relationship with the first configuration item.
In one possible implementation method, first, a sub-configuration item set associated with a first configuration item is determined by traversing a configuration item relation graph, where the sub-configuration item set includes at least one configuration item, and the at least one configuration item has an association relation with the first configuration item. Then, a result configuration item set is determined according to the first configuration item and the sub configuration item set.
In one possible implementation, for each of a set of sub-configuration items, determining a level difference between a level of each sub-configuration item and a first level; if the sum of the layer level difference and the first layer level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is the hierarchy of the previous configuration item associated with each child configuration item in the configuration item relationship graph. The preset threshold may be the highest level to which the configuration item belongs in the configuration item relation diagram, or may be a numerical value not greater than the highest level, and the specific numerical value of the preset threshold is not limited in the application. According to the scheme, the sum of the limiting layer level difference and the first layer level is smaller than the preset threshold, so that the depth of traversing the configuration item relation diagram can be effectively reduced, and the result configuration item set can be rapidly and accurately determined.
Step 104, determining the feasibility of the changing requirement according to the changing requirement and the result configuration item set.
In one possible implementation method, the feasibility of the changing requirement is determined according to the changing requirement and the result configuration item set, and if the changing requirement is feasible, processing operation is performed on all configuration items in the result configuration item set according to the changing requirement and the result configuration item set. If the change requirement is not feasible, the change requirement is canceled or reformulated according to the result configuration item set. The change requirement is exemplified by changing the memory in the physical machine a, the result configuration item set is { physical machine a, application B, service a }, and according to the result configuration item set, it can be seen that changing the memory in the physical machine a affects the normal operation of the service a, and if the service a needs to keep normal operation in the last period, the memory in the physical machine a cannot be changed according to the change requirement.
According to the scheme, the configuration item relation diagram comprises at least two configuration items and the association relation between the at least two configuration items, the configuration items associated with the first configuration item can be determined according to the configuration item relation diagram, and a result configuration item set is formed; according to the result configuration item set and the change requirement, configuration items which are influenced by the change requirement can be accurately determined, and the feasibility of the change requirement can be accurately determined.
In one possible implementation method, the hierarchy to which the configuration item in the configuration item relationship graph belongs includes one or more of the following: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer. The hierarchy may be as shown in fig. 2. The environment layer comprises a machine room or a power distribution cabinet and the like; the hardware layer comprises hardware devices such as a switch, a server, a physical machine or a magnetic disk and the like; the logic layer comprises a cloud platform, a container, a cluster or a virtual server and the like; the service layer comprises database service, encryption service, container service or signature service and the like; the application layer comprises a plurality of application systems; the central layer is mainly used for indicating the region where the server for deploying the application system is located; the service layer mainly refers to the type of service provided externally. According to the scheme, the configuration items are hierarchically divided, so that the types of the configuration items and the association relation among the configuration items can be accurately determined.
In one possible implementation, a configuration item relationship diagram is shown in fig. 3. In fig. 3, the machine room is located at an environment layer, and the physical machine a, the physical machine B, the physical machine C, and the switch a belong to a hardware layer, where the relationships between the physical machine a, the physical machine B, the physical machine C, and the switch a and the machine room are all transfer relationships. The physical machine A is provided with a container A and an application B, the relation between the container A and the application B and the physical machine A is a direct influence relation, the container A is provided with an application A, and the relation between the application A and the container A is a direct influence relation. The service A uses the service provided by the application A, and the relationship between the service A and the application A is a direct influence relationship. In a possible implementation method, taking the configuration item relation diagram shown in fig. 3 as an example, how the result configuration item set is determined according to the first configuration item and the configuration item relation diagram in step 103 is described. The changing requirement is to replace the memory in the physical machine a. Fig. 4 is a schematic flow chart of determining a result configuration item set according to an embodiment of the present application, where the method includes the following steps:
step 201, determining a first configuration item corresponding to a change requirement in the configuration item relation diagram.
In one possible implementation method, the hierarchy to which the configuration items in the configuration item relationship graph belong includes 7 kinds of following: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer and a service layer. The 7 levels are numbered 1-7, namely the level of the environment layer is 1, the level of the hardware layer is 2, the level of the logic layer is 3, the level of the service layer is 4, the level of the center layer is 5, the level of the application layer is 6, and the level of the service layer is 7.
In one possible implementation method, a configuration item relation diagram is searched according to a name of a configuration item in a change requirement, namely, a physical machine A, and the configuration item with the same name as the physical machine A in the configuration item relation diagram is determined to be a first configuration item, namely, the first configuration item is { physical machine A }.
Step 202, determining a set of sub-configuration items associated with the first configuration item, and a hierarchy to which the configuration items in the set of sub-configuration items belong.
In a possible implementation method, a breadth-first traversal algorithm is adopted to traverse the configuration item relation graph to determine a sub configuration item set associated with the first configuration item, other traversal algorithms can also be adopted to traverse the configuration item relation graph, and the algorithm for traversing the configuration item relation graph is not limited in the application. According to the illustration in fig. 3, the subset configuration item set obtained by traversing the physical machine a by using breadth-first traversal algorithm is { container a, application B }, and the container a belongs to a logical layer, so that the hierarchy to which the container a belongs is 3; similarly, application B belongs to the application layer, and the hierarchy to which application B belongs is 6.
In step 203, it is determined whether the sum of the level difference and the first level is smaller than a predetermined threshold.
In one possible implementation, the level difference refers to the absolute value of the difference between the level of each of the subset of configuration items and the first level. The first hierarchy refers to the hierarchy of the previous configuration item associated with each child configuration item in the configuration item relationship graph. Judging whether the sum of the fault level difference and the first level is smaller than a preset threshold value, wherein the preset threshold value can be the highest level to which the configuration items in the configuration item relation diagram belong. If the sum of the layer level difference and the first layer level is smaller than a preset threshold, traversing the sub-configuration item by using the sub-configuration item as a starting point and adopting a breadth-first traversing algorithm, determining a configuration item set associated with the sub-configuration item, and adding the configuration item set into the sub-configuration item set. If the sum of the layer level difference and the first layer level is greater than or equal to a preset threshold value, stopping traversing, and outputting the sub-configuration item set.
In step 202, the hierarchy to which the container a belongs is 3, the first hierarchy is the hierarchy to which the previous configuration item associated with the application a belongs, that is, the hierarchy to which the physical machine a belongs, that is, the first hierarchy is 2, the difference between the hierarchy to which the physical machine a belongs and the hierarchy to which the container a belongs is 1, the sum of the first hierarchy and the level difference is 3, and is smaller than a preset threshold, and the preset threshold is the highest hierarchy 7 to which the configuration item belongs, so that the container a is continuously traversed, the configuration item set associated with the container a is determined to be { application a }, the configuration item set is added to the subset configuration item set, and the obtained subset configuration item set is { container a, application B, application a }.
Similarly, the difference between the level to which the application B belongs and the level to which the physical machine a belongs is 4, and the sum of the level to which the physical machine a belongs and the level difference is 6, which is smaller than the preset threshold, so that the application B is continuously traversed, and no node exists in the application B, so that the application B is stopped from being traversed.
Then, judging the hierarchy to which the application A belongs, wherein the hierarchy to which the application A belongs is 6, the first hierarchy is the hierarchy to which the previous configuration item associated with the application A belongs, namely the hierarchy to which the container A belongs, namely the first hierarchy is 3, the hierarchy difference between the hierarchy to which the container A belongs and the hierarchy to which the application A belongs is 3, and the sum of the first hierarchy and the hierarchy difference is 6 and is smaller than a preset threshold value 7, so that traversing the application A is continued, determining the configuration item set associated with the application A as { service A }, adding the configuration item set into the sub configuration item set, and obtaining the sub configuration item set as { container A, application B, application A and service A }.
Then, the hierarchy to which the service a belongs is determined to be 7, the first hierarchy is the hierarchy to which the previous configuration item associated with the service a belongs, that is, the hierarchy to which the application a belongs, that is, the first hierarchy is 6, the difference between the hierarchy to which the service a belongs and the hierarchy to which the application a belongs is 1, and the sum of the first hierarchy and the difference is 8 and is greater than a preset threshold value of 7, so that the traversal is stopped, and the obtained sub-configuration item set is { container a, application B, application a, service a }.
In another possible implementation method, a size relationship between a hierarchy to which a child configuration item in the subset of configuration items belongs and the first hierarchy is determined. If the hierarchy to which the sub-configuration items in the sub-configuration item set belong is greater than or equal to the first hierarchy, traversing the sub-configuration items by using a breadth-first traversing algorithm with the sub-configuration items in the sub-configuration item set as a starting point, determining a configuration item set associated with the sub-configuration items, and adding the configuration item set into the sub-configuration item set. If the hierarchy to which the child configuration items in the child configuration item set belong is smaller than the first hierarchy, stopping traversing.
Step 204, determining a result configuration item set according to the first configuration item and the sub configuration item set.
In one possible implementation, the result configuration item set is determined according to a union of the first configuration item and the sub configuration item set. The first configuration item in the step 201 is { physical machine a }, and the sub-configuration item sets in the steps 202 and 203 are { container a, application B, application a, service a }, so the result configuration item set is { physical machine a, container a, application B, application a, service a }.
Based on the same technical concept, fig. 5 schematically illustrates a determination device 500 for feasibility of changing a requirement provided in an embodiment of the present application. As shown in fig. 5, includes: an acquisition unit 501 and a determination unit 502. The obtaining unit 501 is configured to obtain a change requirement, where the change requirement is used to indicate a change operation on the configuration. A determining unit 502, configured to determine a first configuration item corresponding to a change requirement in a configuration item relationship graph, where the configuration item relationship graph includes at least two configuration items and an association relationship between the at least two configuration items; determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises a first configuration item, and the configuration items in the result configuration item set have an association relationship with the first configuration item; and determining the feasibility of the change requirement according to the change requirement and the result configuration item set.
In one possible implementation, the configuration item relationship graph is a directed graph, and the direction of the directed graph is used to indicate the association relationship between at least two configuration items.
In a possible implementation method, the determining unit 502 is specifically configured to determine a subset of the configuration items associated with the first configuration item; and determining a result configuration item set according to the first configuration item and the sub configuration item set.
In a possible implementation method, the determining unit 502 is specifically configured to determine, for each sub-configuration item in the sub-configuration item set, a level difference between a level of each sub-configuration item and the first level; if the sum of the layer level difference and the first layer level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is the hierarchy of the previous configuration item associated with each child configuration item in the configuration item relationship graph.
In one possible implementation method, the hierarchy to which the configuration item in the configuration item relationship graph belongs includes one or more of the following: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer.
Based on the same technical concept, the embodiment of the application provides a device 600 for determining the feasibility of the changing requirement, and the device 600 for determining the feasibility of the changing requirement may be a computing device, for example. As shown in fig. 6, a device 600 for determining the feasibility of changing the requirement includes at least one processor 601 and a memory 602 connected to the at least one processor, in this embodiment, a specific connection medium between the processor 601 and the memory 602 is not limited, and in fig. 6, the processor 601 and the memory 602 are connected by a bus for example. The buses may be divided into address buses, data buses, control buses, etc.
In the embodiment of the present application, the memory 602 stores instructions executable by the at least one processor 601, and the at least one processor 601 may perform the above-described method for determining the feasibility of changing the requirement by executing the instructions stored in the memory 602.
The processor 601 is a control center of the determining device 600 for determining the feasibility of changing the demand, and various interfaces and lines can be used to connect various parts of the computer device, and the resource setting is performed by executing or executing the instructions stored in the memory 602 and calling the data stored in the memory 602. Alternatively, the processor 601 may include one or more determination units, and the processor 601 may integrate an application processor and a modem processor, wherein the application processor primarily processes an operating system, a user interface, an application program, and the like, and the modem processor primarily processes wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 601. In some embodiments, processor 601 and memory 602 may be implemented on the same chip, or they may be implemented separately on separate chips in some embodiments.
The processor 601 may be a general purpose processor such as a Central Processing Unit (CPU), digital signal processor, application specific integrated circuit (Application Specific Integrated Circuit, ASIC), field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, that can implement or perform the methods, steps, and logic blocks disclosed in embodiments of the present application. The general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in a hardware processor for execution, or in a combination of hardware and software modules in the processor for execution.
The memory 602 is a non-volatile computer readable storage medium that can be used to store non-volatile software programs, non-volatile computer executable programs, and modules. The Memory 602 may include at least one type of storage medium, which may include, for example, flash Memory, hard disk, multimedia card, card Memory, random access Memory (Random Access Memory, RAM), static random access Memory (Static Random Access Memory, SRAM), programmable Read-Only Memory (Programmable Read Only Memory, PROM), read-Only Memory (ROM), charged erasable programmable Read-Only Memory (Electrically Erasable Programmable Read-Only Memory), magnetic Memory, magnetic disk, optical disk, and the like. Memory 602 is any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited to such. The memory 602 in the present embodiment may also be circuitry or any other device capable of implementing a memory function for storing program instructions and/or data.
The embodiment of the application also provides a computer readable storage medium, wherein the computer readable storage medium stores a computer executable program, and the computer executable program is used for making a computer execute a method for determining the feasibility of changing the requirement listed in any mode.
The embodiment of the application provides a computer program product, comprising a computer program executable by a computer device, wherein the program is used for enabling the computer device to execute a method for determining the feasibility of changing the requirement listed in any one of the above modes when the program runs on the computer device.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present application without departing from the spirit or scope of the application. Thus, if such modifications and variations of the present application fall within the scope of the claims and the equivalents thereof, the present application is intended to cover such modifications and variations.

Claims (10)

1. A method for determining the feasibility of changing a demand, comprising:
acquiring a change requirement, wherein the change requirement is used for indicating a change operation on configuration;
determining a first configuration item corresponding to the change requirement in a configuration item relation diagram, wherein the configuration item relation diagram comprises at least two configuration items and an association relation between the at least two configuration items;
determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises the first configuration item, and the configuration items in the result configuration item set have association relation with the first configuration item;
and determining the feasibility of the change requirement according to the change requirement and the result configuration item set.
2. The method of claim 1, wherein the configuration item relationship graph is a directed graph, and a direction of the directed graph is used to indicate an association between the at least two configuration items.
3. The method according to claim 1 or 2, wherein said determining a resulting set of configuration items from said first configuration item and said configuration item relationship graph comprises:
determining a set of sub-configuration items associated with the first configuration item;
and determining the result configuration item set according to the first configuration item and the sub configuration item set.
4. The method of claim 3, wherein the determining the result set of configuration items from the first set of configuration items and the set of sub-configuration items comprises:
determining, for each sub-configuration item in the set of sub-configuration items, a level difference between a level of the each sub-configuration item and a first level; if the sum of the level difference and the first level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is a hierarchy of a previous configuration item associated with the each sub-configuration item in the configuration item relationship graph.
5. The method of any one of claims 1 to 4, wherein the hierarchy to which the configuration items in the configuration item relationship graph belong includes one or more of: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer.
6. The device for determining the feasibility of the changing requirement is characterized by comprising an acquisition unit and a determination unit;
the acquisition unit is used for acquiring a change requirement, wherein the change requirement is used for indicating a change operation on the configuration;
the determining unit is configured to determine a first configuration item corresponding to the change requirement in a configuration item relationship graph, where the configuration item relationship graph includes at least two configuration items and an association relationship between the at least two configuration items; determining a result configuration item set according to the first configuration item and the configuration item relation diagram; the result configuration item set comprises the first configuration item, and the configuration items in the result configuration item set have association relation with the first configuration item; and determining the feasibility of the change requirement according to the change requirement and the result configuration item set.
7. The apparatus of claim 6, wherein the configuration item relationship graph is a directed graph, the direction of the directed graph being used to indicate an association between the at least two configuration items.
8. The apparatus according to claim 6 or 7, wherein the determining unit is specifically configured to determine a set of sub-configuration items associated with the first configuration item; and determining the result configuration item set according to the first configuration item and the sub configuration item set.
9. The apparatus according to claim 8, wherein the determining unit is specifically configured to determine, for each of the subset of sub-configuration items, a level difference between a level of the each sub-configuration item and the first level; if the sum of the level difference and the first level is smaller than a preset threshold value, determining that each sub-configuration item is included in the result configuration item set; wherein the first hierarchy is a hierarchy of a previous configuration item associated with the each sub-configuration item in the configuration item relationship graph.
10. The apparatus of any of claims 6 to 9, wherein the hierarchy to which the configuration items in the configuration item relationship graph belong comprises one or more of: an environment layer, a hardware layer, a logic layer, a service layer, a center layer, an application layer, or a business layer.
CN202310122671.4A 2023-02-15 2023-02-15 Determination method and device for feasibility of changing requirements Pending CN116243964A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310122671.4A CN116243964A (en) 2023-02-15 2023-02-15 Determination method and device for feasibility of changing requirements

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310122671.4A CN116243964A (en) 2023-02-15 2023-02-15 Determination method and device for feasibility of changing requirements

Publications (1)

Publication Number Publication Date
CN116243964A true CN116243964A (en) 2023-06-09

Family

ID=86630778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310122671.4A Pending CN116243964A (en) 2023-02-15 2023-02-15 Determination method and device for feasibility of changing requirements

Country Status (1)

Country Link
CN (1) CN116243964A (en)

Similar Documents

Publication Publication Date Title
CN107943421B (en) Partition division method and device based on distributed storage system
CN110768912B (en) API gateway current limiting method and device
CN108846749B (en) Partitioned transaction execution system and method based on block chain technology
CN107968810B (en) Resource scheduling method, device and system for server cluster
EP3811565A1 (en) Data processing method and apparatus
CN109032803B (en) Data processing method and device and client
CN115129782A (en) Partition level connection method and device for distributed database
CN106293869A (en) A kind of resource allocation methods and device
CN109873714B (en) Cloud computing node configuration updating method and terminal equipment
CN107832446B (en) Configuration item information searching method and computing device
CN108763963B (en) Distributed processing method, device and system based on data access authority
CN110659296B (en) Storage method, device, equipment and computer readable medium
CN104657216A (en) Resource allocation method and device for resource pool
CN112015718A (en) HBase cluster balancing method and device, electronic equipment and storage medium
CN116243964A (en) Determination method and device for feasibility of changing requirements
CN115190010B (en) Distributed recommendation method and device based on software service dependency relationship
CN110928941A (en) Data fragment extraction method and device
CN110879748A (en) Shared resource allocation method, device and equipment
CN115033551A (en) Database migration method and device, electronic equipment and storage medium
CN114064706A (en) Data storage method and device and server
CN106888244A (en) A kind of method for processing business and device
CN113961302A (en) Resource allocation method, device, electronic equipment and storage medium
CN112486895A (en) FPGA chip and interconnection control method thereof
CN115801787B (en) Road end data transmission method and device, electronic equipment and storage medium
CN113872954B (en) Method for detecting data flow

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