Configuration information processing method and device, electronic equipment and storage medium
By determining the operation information and configuration release mode of operation configuration in scenarios with complex execution logic, the queuing problem caused by multiple operators maintaining the execution logic simultaneously is solved, and the simultaneous modification of multi-node execution logic is realized, and the release speed and efficiency are improved.
Patent Information
- Application Number
- CN202311617069.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-29
- Publication Date
- 2025-05-30
AI Technical Summary
In scenarios with complex execution logic, when multiple operators maintain execution logic at the same time, queuing problems will occur, affecting the speed and efficiency of execution logic release.
By determining the first operation information and configuration publishing mode of the first category of operation configuration, it is allowed to simultaneously modify the execution logic of different nodes in the same scenario without affecting the normal operation of the link.
It realizes that the execution logic of multiple nodes can be modified simultaneously without affecting the normal operation of the link, which improves the speed and efficiency of execution logic release.
Smart Images

Figure CN120066560A_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present disclosure relate to the field of computer technologies, and in particular, to a method, an apparatus, an electronic device, and a storage medium for processing configuration information. Background Art
[0002] Currently, logical releases are usually carried out on a scenario basis, resulting in only one online work order being able to exist in one scenario. In some scenarios, the execution logic is relatively complex, and usually there are a relatively large number of operation personnel to maintain the execution logic simultaneously, which will cause queuing when maintaining the execution logic. Especially when there are multiple maintenance operations, queuing needs to be carried out sequentially, and the queuing problem is serious, resulting in the release speed of the execution logic being significantly slower than the iteration speed, which has an adverse impact on the execution logic release process. Summary of the Invention
[0003] The present disclosure provides a method, an apparatus, an electronic device, and a storage medium for processing configuration information, so as to modify the execution logics of different nodes in the same scenario simultaneously without affecting the normal operation of the link.
[0004] In a first aspect, an embodiment of the present disclosure provides a method for processing configuration information, the method including:
[0005] Determine first operation information of a first category of operation configurations, where the first operation information is used to describe a node change of an operation node in the first category of operation configurations;
[0006] Determine a first configuration release mode of the first operation information in the first category of operation configurations, where the configuration release mode is used to indicate whether the first operation information and second operation information support simultaneous release and operation in the first category of operation configurations, and the second operation information belongs to the operation information to be released in the first category of operation configurations and is the same as the first operation information;
[0007] Based on the first configuration release mode, perform release and operation processing on the first operation information in the first category of operation configurations.
[0008] In a second aspect, an embodiment of the present disclosure further provides a device for processing configuration information, the device including:
[0009] An information determination module, configured to determine first operation information of a first category of operation configurations, where the first operation information is used to describe a node change of an operation node in the first category of operation configurations;
[0010] A mode determination module, configured to determine a first configuration release mode of the first operation information in the first category operation configuration, where the configuration release mode is used to indicate whether the first operation information and the second operation information are supported to be simultaneously released and run in the first category operation configuration, and the second operation information is operation information that belongs to the same category as the first operation information and is released in the first category operation configuration;
[0011] An operation module, configured to perform a release and run process on the first operation information in the first category operation configuration based on the first configuration release mode.
[0012] In a third aspect, an electronic device is further provided in an embodiment of the present disclosure. The electronic device includes:
[0013] At least one processor; and
[0014] A memory communicatively connected to the at least one processor; wherein,
[0015] The memory stores a computer program executable by the at least one processor. When the computer program is executed by the at least one processor, the at least one processor is enabled to execute the configuration information processing method described in any one of the above embodiments.
[0016] In a fourth aspect, a computer-readable medium is further provided in an embodiment of the present disclosure. The computer-readable medium stores computer instructions, and when the computer instructions are executed by a processor, the configuration information processing method described in any one of the above embodiments is implemented.
[0017] In the embodiment of the present disclosure, the first operation information of the first category operation configuration is determined, and the first operation information is used to describe the node change of the operation node in the first category operation configuration; the first configuration release mode of the first operation information in the first category operation configuration is determined, and the second operation information is operation information that belongs to the same category as the first operation information and is released in the first category operation configuration; based on the first configuration release mode, a release and run process is performed on the first operation information in the first category operation configuration. By determining the first configuration release mode, this solution can accurately obtain whether the first operation information and the second operation information are supported to be simultaneously released and run in the first category operation configuration, so as to simultaneously modify the execution logics of different nodes in the same scenario without affecting the normal operation of the link.
[0018] It should be understood that the content described in this part is not intended to identify the key or important features of the embodiments of the present disclosure, nor is it used to limit the scope of the present disclosure. Other features of the present disclosure will become easily understood through the following description. Description of the Drawings
[0019] In conjunction with the accompanying drawings and with reference to the following specific embodiments, the above and other features, advantages and aspects of the various embodiments of the present disclosure will become more apparent. Throughout the drawings, the same or similar reference numerals denote the same or similar elements. It should be understood that the drawings are schematic and the original elements and elements are not necessarily drawn to scale.
[0020] Figure 1 is a flowchart of a configuration information processing method provided by an embodiment of the present disclosure;
[0021] Figure 2 is a flowchart of determining a configuration release mode provided by an embodiment of the present disclosure;
[0022] Figure 3 is a flowchart of a target detection provided by an embodiment of the present disclosure;
[0023] Figure 4 is a flowchart of a configuration release operation provided by an embodiment of the present disclosure;
[0024] Figure 5 is a schematic structural diagram of a configuration information processing device provided by an embodiment of the present disclosure;
[0025] Figure 6 is a schematic structural diagram of an electronic device for implementing a configuration information processing method provided by an embodiment of the present disclosure. Specific Embodiments
[0026] The embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although some embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure can be implemented in various forms and should not be construed as limited to the embodiments set forth herein. On the contrary, these embodiments are provided to more thoroughly and completely understand the present disclosure. It should be understood that the drawings and embodiments of the present disclosure are only for exemplary purposes and are not used to limit the protection scope of the present disclosure.
[0027] It should be understood that the steps recited in the method embodiments of the present disclosure can be executed in a different order and / or in parallel. In addition, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present disclosure is not limited in this regard.
[0028] As used herein, the term "including" and its variations are open-ended, that is, "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". The relevant definitions of other terms will be given in the following description.
[0029] It should be noted that concepts such as "first" and "second" mentioned in this disclosure are only used to distinguish different devices, modules or units, and are not used to limit the order of functions performed by these devices, modules or units or their interdependent relationships.
[0030] It should be noted that the modification of "one" and "multiple" mentioned in this disclosure is illustrative rather than restrictive. Those skilled in the art should understand that unless otherwise clearly specified in the context, it should be understood as "one or more".
[0031] The names of the messages or information exchanged between multiple devices in the embodiments of this disclosure are only for illustrative purposes, and are not used to limit the scope of these messages or information.
[0032] Figure 1 FIG. is a schematic flowchart of a method for processing configuration information provided by an embodiment of this disclosure. The embodiments of this disclosure are applicable to the situation of processing configuration information. This method can be executed by a configuration information processing device, which can be implemented in the form of software and / or hardware, and is generally integrated in any electronic device with network communication functions. The electronic device can be a mobile terminal, a PC or a server, etc.
[0033] As Figure 1 shown, the method for processing configuration information in the embodiments of this disclosure may include the following processes:
[0034] S110. Determine the first operation information of the first category of operation configurations.
[0035] Among them, the first operation information is used to describe the node changes of the operation nodes in the first category of operation configurations. The first category of operation configurations participates in the configurations of different release stages, such as the work order configuration of gray release, that is, the work order configuration in which the nodes in a business scenario need to change. In addition, there is a baseline operation configuration that has been released and run in the business scenario, and the nodes that change are the nodes whose content is changed on the same nodes as the baseline operation configuration or the nodes sorted, deleted or added compared with the baseline operation configuration.
[0036] S120. Determine the first configuration release mode of the first operation information in the first category of operation configurations.
[0037] Among them, the configuration release mode is used to indicate whether it supports the simultaneous release and operation of the first operation information and the second operation information in the first category of operation configurations, and the second operation information is the operation information that belongs to the same release in the first category of operation configurations as the first operation information.
[0038] Specifically, in a business scenario, there are situations where nodes are changed. Based on the change situation of the nodes, the first configuration release mode corresponding to the first operation information can be known, so as to better publish and run the first operation information in the first category of operation configurations. For example, for the situations of sorting, deleting, and adding nodes, these operations will affect the distribution of the front and back nodes. Therefore, these operations need to be published and run separately and are mutually exclusive; if the content of the nodes is modified, then the arrangement order of the nodes is not affected, and then the content of different nodes can be modified simultaneously, that is, the modification of the content of different nodes is not mutually exclusive and can be completed in one-time release and run.
[0039] As an optional but non-limiting implementation manner, determining the first configuration release mode of the first operation information in the first category of operation configurations includes steps A1 - A2:
[0040] Step A1: Determine the first change information of the first operation information for the first category of operation configurations.
[0041] Among them, the first change information is determined according to the node change status of the operation nodes of the first category of operation configurations relative to the operation nodes of the second category of operation configurations after the nodes are changed by using the first operation information. The node change status includes node content change and / or node arrangement change, such as node arrangement change for sorting, deleting, or adding nodes. The first category of operation configurations is the configuration participating in different release stages, and the second category of operation configurations is the baseline operation configuration that belongs to the same business type as the first category of operation configurations and has been published and run.
[0042] Optionally, determining the first change information of the first operation information for the first category of operation configurations includes steps B1 - B2:
[0043] Step B1: Determine the first node difference detection result between the operation nodes of the first category of operation configurations and the operation nodes of the second category of operation configurations.
[0044] Among them, the first node difference detection is to detect whether there is a node arrangement change in the operation nodes of the first category of operation configurations relative to the operation nodes of the second category of operation configurations after the nodes are changed by using the first operation information, and whether there is a node content change between the operation nodes corresponding to the same operation node identifier in the first category of operation configurations and the second category of operation configurations.
[0045] Specifically, by traversing and searching for the operation node identifiers in the first category of operation configurations and the operation node identifiers in the second category of operation configurations, it is detected whether new operation nodes and / or deleted operation nodes are added to the first category of operation configurations relative to the second category of operation configurations after the nodes are changed by using the first operation information;
[0046] By performing a consistency check on the node execution logic information recorded for the same operation node corresponding to the first category operation configuration and the second category operation configuration, it is determined whether there is a change in the node content for the same operation node corresponding to the first category operation configuration and the second category operation configuration after the node change is made using the first operation information. The node execution logic information is the node content including at least one execution logic and the execution order of the execution logic.
[0047] Exemplarily, as Figure 2 shown, obtain the operation nodes of the first category operation configuration and the operation nodes of the second category operation configuration. By traversing the operation node identifiers, calculate whether there are newly added or deleted operation nodes to record the node arrangement change; at the same time, calculate whether the node execution logic information recorded for the same operation node corresponding to the first category operation configuration and the second category operation configuration is consistent, that is, whether the rule order within the node is consistent, so as to obtain whether the node content has changed, and record the operation node identifier of the node content change.
[0048] Step B2: Based on the first node difference detection result, determine the first change information of the first operation information for the first category operation configuration.
[0049] Specifically, obtain the first node difference detection result. If the first node difference detection result indicates that the first category operation configuration adds operation nodes and / or deletes operation nodes relative to the second category operation configuration, it is determined that after the node change is made using the first operation information, the operation nodes of the first category operation configuration trigger a node arrangement change relative to the operation nodes of the second category operation configuration and record it in the first change information, that is, at this time, the first operation information can only be released and run independently;
[0050] If the first node difference detection result indicates that the node execution logic information recorded for the same operation node corresponding to the first category operation configuration and the second category operation configuration is different, it is determined that after the node change is made using the first operation information, the operation nodes of the first category operation configuration trigger a node content change relative to the operation nodes of the second category operation configuration and record it in the first change information, that is, at this time, the first operation information can be released and run simultaneously with the second operation information.
[0051] In this technical solution, by comparing the differences between the operation nodes of the first-category operation configuration and the operation nodes of the second-category operation configuration, it is possible to accurately determine whether there is a node arrangement change in the operation nodes of the first-category operation configuration relative to the operation nodes of the second-category operation configuration after the node change of the first operation information, and whether there is a node content change between the same operation nodes in the first-category operation configuration and the second-category operation configuration. Further, based on the first node difference detection result, the first change information of the first operation information for the first-category operation configuration is determined, so as to facilitate determining whether the first operation information affects the overall business scenario according to the first change information, that is, judging whether the first operation information can be published and run simultaneously with the second operation information, so as to avoid publishing and running errors and affecting the overall operation effect.
[0052] Step A2: Determine the first configuration release mode corresponding to the first operation information according to the first change information.
[0053] Specifically, obtain the first change information. If it is determined according to the first change information that there is a node arrangement change in the first-category operation configuration relative to the second-category operation configuration after the node change using the first operation information, that is, it means that the change of the operation node affects the order change of the operation nodes, thus affecting the global distribution of the business scenario, then determine that the first configuration release mode corresponding to the first operation information is the first release mode; the first release mode is a mode that does not support the simultaneous release and operation of the first operation information and the second operation information on the first-category operation configuration;
[0054] If it is determined according to the first change information that there is no node arrangement change in the first-category operation configuration relative to the second-category operation configuration after the node change using the first operation information, that is, it means that the change of the operation node affects the order change of the operation nodes, but only the change of the content in the operation nodes, and does not affect the global distribution of the business scenario, then determine that the first configuration release mode corresponding to the first operation information is the second release mode; the second release mode is a mode that supports the simultaneous release and operation of the first operation information and the second operation information that does not perform node content change on the same operation node on the first-category operation configuration.
[0055] In this technical solution, the first change information of the first operation information for the first-category operation configuration is determined according to the node change status of the operation nodes of the first-category operation configuration relative to the operation nodes of the second-category operation configuration after the node change using the first operation information. Further, according to the first change information, it can be known that the node change status of the operation node is node content change and / or node arrangement change, so as to accurately obtain the first configuration release mode corresponding to the first operation information, so as to reasonably process the release and operation of the first operation information, so as to realize the simultaneous release and operation of the first operation information and the second operation information on the first-category operation configuration.
[0056] S130. Based on the first configuration release mode, perform release operation processing on the first operation information in the first category operation configuration.
[0057] Specifically, obtain the first configuration release mode, which indicates whether the first operation information and the second operation information support simultaneous release operation in the first category operation configuration, and then perform release operation processing on the first operation information in the first category operation configuration according to the release operation mode indicated by the first configuration release mode, so as to reasonably change the operation nodes.
[0058] As an optional but non-limiting implementation manner, performing release operation processing on the first operation information in the first category operation configuration based on the first configuration release mode includes steps C1 - C3:
[0059] Step C1. When the first configuration release mode supports the simultaneous release operation of the first operation information and the second operation information in the first category operation configuration, perform target detection on the first operation information and the second operation information.
[0060] Among them, the target detection includes detecting whether the operation nodes corresponding to the node arrangement changes of the first category operation configuration using the first operation information and the second operation information are the same, and detecting whether the number of operation information already released in the first category operation configuration exceeds a preset threshold. The second operation information has been released in the first category operation configuration before the first operation information and a second configuration task has been created.
[0061] Step C2. If the target detection result meets the preset detection conditions, then when the second operation information is released in the first category operation configuration and a second configuration task is created, release the first operation information in the first category operation configuration and create a first configuration task.
[0062] Among them, the first configuration task is a work order configuration task participating in gray release in the business scenario to which the first category operation configuration belongs. The preset detection conditions are that the operation nodes corresponding to the node arrangement changes of the first category operation configuration using the first operation information and the second operation information are not the same, and the number of operation information already released in the first category operation configuration does not exceed the preset threshold.
[0063] Exemplarily, such as Figure 3As shown, in the case where the first configuration release mode supports the simultaneous release and operation of the first operation information and the second operation information in the first category of operation configuration, it is detected whether the operation nodes corresponding to the node orchestration changes of the first category of operation configuration using the first operation information and the second operation information are the same, that is, whether the operation nodes will conflict, that is, whether the same operation node is modified. At the same time, it is detected whether the number of operation information already released in the first category of operation configuration exceeds the preset threshold. When the operation nodes corresponding to the node orchestration changes of the first category of operation configuration using the first operation information and the second operation information are different and the number of operation information already released in the first category of operation configuration does not exceed the preset threshold, the first operation information is released in the first category of operation configuration and the first configuration task is created. Otherwise, an error prompt is reported to ensure the accurate release and operation of the first operation information.
[0064] Step C3: In the case of creating the first configuration task, the first operation information is processed for operation in the first category of operation configuration.
[0065] Specifically, as Figure 4 shown, when the first configuration task and the second configuration task are hit, the target operation node identifiers corresponding to the first operation information of the first configuration task and the target operation node identifiers corresponding to the second operation information of the second configuration task are traversed. At the same time, the node content of the target operation node in the first category of operation configuration is replaced using the first operation information and the second operation information. The target operation node is the operation node where the node content changes in the first category of operation configuration compared to the second category of operation configuration; then the execution logic corresponding to the first category of operation configuration is run according to the first category of operation configuration after replacement.
[0066] In this technical solution, in the case where the first configuration release mode supports the simultaneous release and operation of the first operation information and the second operation information in the first category of operation configuration, target detection is performed on the first operation information and the second operation information to determine whether the target detection result meets the preset detection conditions, so as to accurately release and create the first configuration task, avoiding the situation where the operation nodes are the same or the number of operation information exceeds the preset threshold, and still releasing and creating the first configuration task. Then, in the case of creating the first configuration task, the first operation information is processed for operation in the first category of operation configuration, greatly improving the operation efficiency of the business.
[0067] In an embodiment of the present disclosure, first operation information of a first category of operation configurations is determined, and the first operation information is used to describe node changes of operation nodes in the first category of operation configurations; the first configuration release mode of the first operation information in the first category of operation configurations is determined, and the second operation information belongs to the operation information published in the first category of operation configurations together with the first operation information; based on the first configuration release mode, the first operation information is published and run in the first category of operation configurations. By determining the first configuration release mode, this solution can accurately determine whether the first operation information and the second operation information support simultaneous publication and operation in the first category of operation configurations, so as to modify the execution logics of different nodes in the same scenario simultaneously without affecting the normal operation of the link.
[0068] Figure 5 FIG. 4 is a schematic structural diagram of a configuration information processing device provided by an embodiment of the present disclosure. The embodiment of the present disclosure is applicable to the situation of processing configuration information. The configuration information processing device can be implemented in the form of software and / or hardware, and is generally integrated on any electronic device with network communication functions. The electronic device can be a mobile terminal, a PC, or a server, etc.
[0069] As Figure 5 shown, the configuration information processing device of the embodiment of the present disclosure may include the following: an information determination module 210, a mode determination module 220, and an operation module 230. Among them:
[0070] The information determination module 210 is configured to determine first operation information of a first category of operation configurations, and the first operation information is used to describe node changes of operation nodes in the first category of operation configurations;
[0071] The mode determination module 220 is configured to determine the first configuration release mode of the first operation information in the first category of operation configurations. The configuration release mode is used to indicate whether the first operation information and the second operation information support simultaneous publication and operation in the first category of operation configurations. The second operation information belongs to the operation information published in the first category of operation configurations together with the first operation information;
[0072] The operation module 230 is configured to perform a publication and run process on the first operation information in the first category of operation configurations based on the first configuration release mode.
[0073] Optionally, the mode determination module includes:
[0074] A change information determination unit, configured to determine first change information of the first category operation configuration with respect to the first operation information. The first change information is determined based on the node change status of the operation nodes of the first category operation configuration relative to the operation nodes of the second category operation configuration after node change is performed using the first operation information. The node change status includes node content change and / or node arrangement change. The first category operation configuration is a configuration participating in different release stages, and the second category operation configuration is a benchmark operation configuration of the same business type as the first category operation configuration and that has been released and is running.
[0075] A release mode determination unit, configured to determine a first configuration release mode corresponding to the first operation information according to the first change information.
[0076] Optionally, the change information determination unit includes:
[0077] A difference result determination unit, configured to determine a first node difference detection result between the operation nodes of the first category operation configuration and the operation nodes of the second category operation configuration. The first node difference detection is to detect whether there is a node arrangement change in the operation nodes of the first category operation configuration relative to the operation nodes of the second category operation configuration after node change is performed using the first operation information, and whether there is a node content change between the operation nodes corresponding to the same operation node identifier in the first category operation configuration and the second category operation configuration.
[0078] A first change information determination unit, configured to determine the first change information of the first operation information with respect to the first category operation configuration based on the first node difference detection result.
[0079] Optionally, the difference result determination unit is configured to
[0080] By traversing and searching for the operation node identifiers in the first category operation configuration and the operation node identifiers in the second category operation configuration, detect whether new operation nodes and / or deleted operation nodes exist in the first category operation configuration relative to the second category operation configuration after node change is performed using the first operation information;
[0081] By performing a consistency detection on the node execution logic information of the same operation node records corresponding to the first category operation configuration and the second category operation configuration, determine whether there is a node content change in the same operation nodes corresponding to the first category operation configuration and the second category operation configuration after node change is performed using the first operation information. The node execution logic information is node content including at least one execution logic and the execution order of the execution logics.
[0082] Optionally, the first change information determination unit is configured to:
[0083] If the first node difference detection result indicates that the first category operation configuration adds operation nodes and / or deletes operation nodes relative to the second category operation configuration, it is determined that after the node change using the first operation information, the operation nodes of the first category operation configuration trigger node orchestration changes relative to the operation nodes of the second category operation configuration and are recorded in the first change information;
[0084] If the first node difference detection result indicates that the node execution logic information recorded by the same operation node corresponding to the first category operation configuration and the second category operation configuration is different, it is determined that after the node change using the first operation information, the operation nodes of the first category operation configuration trigger node content changes relative to the operation nodes of the second category operation configuration and are recorded in the first change information.
[0085] Optionally, a release mode determination unit is configured to:
[0086] If it is determined according to the first change information that after the node change using the first operation information, there are node orchestration changes in the first category operation configuration relative to the second category operation configuration, it is determined that the first configuration release mode corresponding to the first operation information is the first release mode; the first release mode is a mode that does not support the simultaneous release and operation of the first operation information and the second operation information on the first category operation configuration
[0087] If it is determined according to the first change information that after the node change using the first operation information, there are no node orchestration changes in the first category operation configuration relative to the second category operation configuration, it is determined that the first configuration release mode corresponding to the first operation information is the second release mode; the second release mode is a mode that supports the simultaneous release and operation of the first operation information and the second operation information that does not perform node content changes on the same operation node on the first category operation configuration.
[0088] Optionally, an operation module includes:
[0089] A detection unit is configured to perform target detection on the first operation information and the second operation information when the first configuration release mode supports the simultaneous release and operation of the first operation information and the second operation information on the first category operation configuration. The target detection includes detecting whether the operation nodes corresponding to the node orchestration changes of the first category operation configuration using the first operation information and the second operation information are the same, and detecting whether the number of operation information already released on the first category operation configuration exceeds a preset threshold. The second operation information has been released on the first category operation configuration before the first operation information and a second configuration task is created;
[0090] A judgment unit, configured to, if a target detection result meets a preset detection condition, publish the first operation information in the first category of operation configuration and create a first configuration task when the second operation information is published in the first category of operation configuration and a second configuration task is created, where the first configuration task is a work order configuration task participating in gray release in the business scenario to which the first category of operation configuration belongs;
[0091] An operation processing unit, configured to, when the first configuration task is created, perform operation processing on the first operation information in the first category of operation configuration.
[0092] Optionally, the operation processing unit is configured to:
[0093] When the first configuration task and the second configuration task are hit, traverse the target operation node identifiers of the first operation information corresponding to the first configuration task and traverse the target operation node identifiers of the second operation information corresponding to the second configuration task, and simultaneously use the first operation information and the second operation information to replace the node content of the target operation node in the first category of operation configuration, where the target operation node is an operation node whose node content has changed in the first category of operation configuration relative to the second category of operation configuration;
[0094] Run the execution logic corresponding to the first category of operation configuration according to the first category of operation configuration after replacement.
[0095] The configuration information processing device provided by the embodiments of the present disclosure can execute the configuration information processing method provided by any embodiment of the present disclosure, and has corresponding functional modules and beneficial effects for executing the configuration information processing method.
[0096] It should be noted that the various units and modules included in the above device are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be realized; in addition, the specific names of the functional units are only for the convenience of mutual distinction and do not limit the protection scope of the embodiments of the present disclosure.
[0097] Figure 6 It is a schematic structural diagram of an electronic device for implementing a configuration information processing method provided by an embodiment of the present disclosure. The following refers to Figure 6 , which shows a schematic structural diagram of an electronic device (such as Figure 6 the terminal device or server) 600 suitable for implementing the embodiments of the present disclosure. The terminal device in the embodiments of the present disclosure may include, but is not limited to, mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Tablet Computers), PMPs (Portable Multimedia Players), in-vehicle terminals (such as in-vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc.Figure 6 The electronic device shown is merely an example and should not impose any limitation on the functions and scope of use of the embodiments of the present disclosure.
[0098] As Figure 6 shown, the electronic device 600 may include a processing device (such as a central processing unit, a graphics processing unit, etc.) 601, which may perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 602 or a program loaded from a storage device 608 into a random access memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the electronic device 600 are also stored. The processing device 601, the ROM 602, and the RAM 603 are connected to each other through a bus 604. An editing / output (I / O) interface 605 is also connected to the bus 604.
[0099] Generally, the following devices may be connected to the I / O interface 605: an input device 606 including, for example, a touch screen, a touchpad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 607 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 608 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 609. The communication device 609 may allow the electronic device 600 to communicate with other devices wirelessly or wiredly to exchange data. Although Figure 6 the electronic device 600 with various devices is shown, it should be understood that it is not required to implement or include all the shown devices. More or fewer devices may be implemented or included alternatively.
[0100] Particularly, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, the embodiments of the present disclosure include a computer program product, which includes a computer program carried on a non-transitory computer-readable medium, and the computer program includes program codes for executing the configuration information processing method shown in the flowchart. In such an embodiment, the computer program may be downloaded and installed from a network through the communication device 609, or installed from the storage device 608, or installed from the ROM 602. When the computer program is executed by the processing device 601, the above-mentioned functions defined in the configuration information processing method of the embodiments of the present disclosure are executed.
[0101] The names of the messages or information exchanged between multiple devices in the embodiments of the present disclosure are only for illustrative purposes and are not used to limit the scope of these messages or information.
[0102] The electronic device provided by an embodiment of the present disclosure and the configuration information processing method provided by the above embodiment belong to the same inventive concept. Technical details not described in detail in this embodiment can be referred to the above embodiment, and this embodiment has the same beneficial effects as the above embodiment.
[0103] An embodiment of the present disclosure provides a computer storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the configuration information processing method provided by the above embodiment.
[0104] It should be noted that the computer-readable medium of the present disclosure can be a computer-readable signal medium, a computer-readable storage medium, or any combination of the two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the above. More specific examples of the computer-readable storage medium can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, the computer-readable storage medium can be any tangible medium that contains or stores a program, and the program can be used by or in combination with an instruction execution system, apparatus, or device. In the present disclosure, the computer-readable signal medium can include a data signal propagated in a baseband or as part of a carrier wave, which carries computer-readable program code. Such a propagated data signal can take various forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium can also be any computer-readable medium other than the computer-readable storage medium, and the computer-readable signal medium can send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium can be transmitted by any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.
[0105] In some embodiments, the client and the server can communicate using any currently known or future-developed network protocol such as HTTP (HyperText Transfer Protocol), and can be interconnected with digital data communication in any form or medium (e.g., a communication network). Examples of communication networks include local area networks (“LANs”), wide area networks (“WANs”), the Internet (e.g., the Internet), and end-to-end networks (e.g., ad hoc end-to-end networks), as well as any currently known or future-developed networks.
[0106] The above computer-readable medium may be included in the above electronic device; or may exist separately without being assembled into the electronic device.
[0107] The above computer-readable medium carries one or more programs, which, when executed by the electronic device, cause the electronic device to: determine first operation information of a first category of operation configurations, the first operation information being used to describe node changes of operation nodes in the first category of operation configurations; determine a first configuration release mode of the first operation information in the first category of operation configurations, the configuration release mode being used to indicate whether to support simultaneous release and operation of the first operation information and second operation information in the first category of operation configurations, the second operation information being operation information that belongs to the same category as the first operation information for release in the first category of operation configurations; and perform release and operation processing on the first operation information in the first category of operation configurations based on the first configuration release mode.
[0108] Computer program code for performing the operations of the present disclosure may be written in one or more programming languages or combinations thereof. The programming languages include, but are not limited to, object-oriented programming languages such as Java, Smalltalk, C++; and also include conventional procedural programming languages such as the "C" language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., through the Internet using an Internet service provider).
[0109] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagram may represent a module, a segment of a program, or a portion of code that contains one or more executable instructions for implementing a specified logical function. It should also be noted that, in some alternative implementations, the functions noted in the blocks may occur in a different order than that noted in the accompanying drawings. For example, two consecutive blocks shown may actually be executed substantially in parallel, or they may sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented by a dedicated hardware-based system that performs the specified functions or operations, or by a combination of dedicated hardware and computer instructions.
[0110] The units involved in the embodiments described in the present disclosure can be implemented in software or in hardware. Among them, the name of the unit does not constitute a limitation on the unit itself in some cases. For example, the first acquisition unit can also be described as "the unit for acquiring at least two Internet protocol addresses".
[0111] The functions described above in this document can be performed, at least in part, by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that can be used include: Field Programmable Gate Arrays (FPGA), Application Specific Integrated Circuits (ASIC), Application Specific Standard Products (ASSP), System on a Chip (SOC), Complex Programmable Logic Devices (CPLD), and so on.
[0112] In the context of the present disclosure, a machine-readable medium can be a tangible medium that can contain or store a program for use by or in connection with an instruction execution system, apparatus, or device. A machine-readable medium can be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium can include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM or Flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0113] The above description is only a preferred embodiment of the present disclosure and an explanation of the applied technical principles. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by the specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosure concept. For example, the technical solutions formed by mutually replacing the above features with the technical features (but not limited to) having similar functions disclosed in the present disclosure.
[0114] In addition, although the operations are depicted in a particular order, this should not be construed as requiring that the operations be performed in the particular order shown or in sequential order. In certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although a number of specific implementation details are included in the above discussion, these should not be construed as limiting the scope of the present disclosure. Certain features described in the context of separate embodiments may also be implemented in combination in a single embodiment. Conversely, the various features described in the context of a single embodiment may also be implemented separately or in any suitable sub-combination in multiple embodiments.
[0115] Although the subject matter has been described in language specific to structural features and / or methodological logical acts, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or acts described above. Rather, the specific features and acts described above are merely example forms for implementing the claims.
Claims
1. A method for processing configuration information, characterized in that, the method includes: Determine the first operation information of the first category operation configuration, where the first operation information is used to describe the node change of the operation node in the first category operation configuration; Determine the first configuration release mode of the first operation information in the first category operation configuration, where the configuration release mode is used to indicate whether the first operation information and the second operation information are supported to be released and run simultaneously in the first category operation configuration, and the second operation information is the operation information that belongs to the same release in the first category operation configuration as the first operation information; Based on the first configuration release mode, perform release and run processing on the first operation information in the first category operation configuration.
2. The method according to claim 1, characterized in that, Determining the first configuration release mode of the first operation information in the first category operation configuration includes: Determine the first change information of the first category operation configuration by the first operation information, where the first change information is determined according to the node change status of the operation node of the first category operation configuration relative to the operation node of the second category operation configuration after the node change is performed using the first operation information, and the node change status includes node content change and / or node arrangement change, the first category operation configuration is a configuration participating in different release stages, and the second category operation configuration is a reference operation configuration of the same business type as the first category operation configuration and that has been released and run; Based on the first change information, determine the first configuration release mode corresponding to the first operation information.
3. The method according to claim 2, characterized in that, Determining the first change information of the first category operation configuration by the first operation information includes: Determine the first node difference detection result between the operation node of the first category operation configuration and the operation node of the second category operation configuration, where the first node difference detection is to detect whether there is a node arrangement change in the operation node of the first category operation configuration relative to the operation node of the second category operation configuration after the node change is performed using the first operation information, and whether there is a node content change between the operation nodes corresponding to the same operation node identifier in the first category operation configuration and the second category operation configuration; Based on the first node difference detection result, determine the first change information of the first category operation configuration by the first operation information.
4. The method according to claim 3, characterized in that, Determining the first node difference detection result between the operation node of the first category operation configuration and the operation node of the second category operation configuration includes: By traversing and searching for the operation node identifiers in the first category operation configuration and the operation node identifiers in the second category operation configuration, detect whether new operation nodes and / or deleted operation nodes exist in the first category operation configuration relative to the second category operation configuration after the node change is performed using the first operation information; By performing a consistency check on the node execution logic information recorded for the same operation node corresponding to the first category operation configuration and the second category operation configuration, it is determined whether there is a change in the node content of the same operation node corresponding to the first category operation configuration and the second category operation configuration after the node change is made using the first operation information. The node execution logic information is the node content including at least one execution logic and the execution order of the execution logics.
5. The method according to claim 3, wherein, Based on the first node difference detection result, determining the first change information of the first operation information for the first category operation configuration includes: If the first node difference detection result indicates that the first category operation configuration adds and / or deletes operation nodes relative to the second category operation configuration, it is determined that after the node change is made using the first operation information, the operation nodes of the first category operation configuration trigger a node orchestration change relative to the operation nodes of the second category operation configuration and are recorded in the first change information; If the first node difference detection result indicates that the node execution logic information recorded for the same operation node corresponding to the first category operation configuration and the second category operation configuration is different, it is determined that after the node change is made using the first operation information, the operation nodes of the first category operation configuration trigger a node content change relative to the operation nodes of the second category operation configuration and are recorded in the first change information.
6. The method according to claim 2, wherein, Based on the first change information, determining the first configuration release mode corresponding to the first operation information includes: If it is determined based on the first change information that there is a node orchestration change in the first category operation configuration relative to the second category operation configuration after the node change is made using the first operation information, it is determined that the first configuration release mode corresponding to the first operation information is the first release mode; the first release mode is a mode that does not support the simultaneous release and operation of the first operation information and the second operation information on the first category operation configuration If it is determined based on the first change information that there is no node orchestration change in the first category operation configuration relative to the second category operation configuration after the node change is made using the first operation information, it is determined that the first configuration release mode corresponding to the first operation information is the second release mode; the second release mode is a mode that supports the simultaneous release and operation of the first operation information and the second operation information that does not perform node content change on the same operation node on the first category operation configuration.
7. The method according to claim 1 or 6, wherein, Based on the first configuration release mode, performing a release and operation process on the first operation information in the first category operation configuration includes: When the first configuration release mode supports the simultaneous release and operation of the first operation information and the second operation information in the first category of operation configurations, target detection is performed on the first operation information and the second operation information. The target detection includes detecting whether the operation nodes corresponding to the node orchestration changes of the first category of operation configurations using the first operation information and the second operation information are the same, and detecting whether the number of operation information already released in the first category of operation configurations exceeds a preset threshold. The second operation information has been released in the first category of operation configurations before the first operation information and a second configuration task is created. If the target detection result meets the preset detection conditions, then when the second operation information is released in the first category of operation configurations and a second configuration task is created, the first operation information is released in the first category of operation configurations and a first configuration task is created. The first configuration task is a work order configuration task participating in gray release in the business scenario to which the first category of operation configurations belongs. When the first configuration task is created, the first operation information is processed for running in the first category of operation configurations.
8. The method according to claim 7, wherein, processing the first operation information for running in the first category of operation configurations includes: When the first configuration task and the second configuration task are hit, traverse the target operation node identifier of the first operation information corresponding to the first configuration task and traverse the target operation node identifier of the second operation information corresponding to the second configuration task, and simultaneously use the first operation information and the second operation information to replace the node content of the target operation node in the first category of operation configurations. The target operation node is the operation node where the node content changes in the first category of operation configurations compared with the second category of operation configurations. Run the execution logic corresponding to the first category of operation configurations according to the first category of operation configurations after replacement.
9. A configuration information processing device, wherein, the device includes: An information determination module, configured to determine the first operation information of the first category of operation configurations, where the first operation information is used to describe the node changes of the operation nodes in the first category of operation configurations. A mode determination module, configured to determine the first configuration release mode of the first operation information in the first category of operation configurations. The configuration release mode is used to indicate whether the first operation information and the second operation information are supported to be released and run simultaneously in the first category of operation configurations. The second operation information is the operation information belonging to the same release in the first category of operation configurations as the first operation information. An operation module, configured to perform release and operation processing on the first operation information in the first category of operation configurations based on the first configuration release mode.
10. An electronic device, wherein, the electronic device includes: One or more processors; A storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the configuration information processing method according to any one of claims 1-8.
11. A storage medium containing computer-executable instructions, wherein, the computer-executable instructions are used to execute the configuration information processing method according to any one of claims 1-8 when executed by a computer processor.