CN110704273B - Processing method and device of configuration information, electronic equipment and storage medium - Google Patents

Processing method and device of configuration information, electronic equipment and storage medium Download PDF

Info

Publication number
CN110704273B
CN110704273B CN201910800710.5A CN201910800710A CN110704273B CN 110704273 B CN110704273 B CN 110704273B CN 201910800710 A CN201910800710 A CN 201910800710A CN 110704273 B CN110704273 B CN 110704273B
Authority
CN
China
Prior art keywords
configuration information
module
changed
change
analysis result
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910800710.5A
Other languages
Chinese (zh)
Other versions
CN110704273A (en
Inventor
姚晶
孟李
芮瑜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beike Technology Co Ltd
Original Assignee
Beike Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beike Technology Co Ltd filed Critical Beike Technology Co Ltd
Priority to CN201910800710.5A priority Critical patent/CN110704273B/en
Publication of CN110704273A publication Critical patent/CN110704273A/en
Application granted granted Critical
Publication of CN110704273B publication Critical patent/CN110704273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3051Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3003Monitoring arrangements specially adapted to the computing system or computing system component being monitored
    • G06F11/302Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system component is a software system

Abstract

The embodiment of the disclosure discloses a processing method and device of configuration information, electronic equipment and a storage medium. The method comprises the following steps: monitoring configuration information of each module in a software program; in response to monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, obtaining a comparison and analysis result and outputting the comparison and analysis result; based on the indication information sent by the user for the comparison analysis result, confirming that the configuration information of the changed module is changed into the configuration information after the change or the configuration information of the changed module is rolled back to the configuration information before the change. The method and the device realize automatic debugging of the configuration information and automatic rollback when the configuration is changed in error, liberate human resources, reduce human cost, shorten the whole process time and improve the efficiency of updating the configuration information.

Description

Processing method and device of configuration information, electronic equipment and storage medium
Technical Field
The present disclosure relates to software technology, and in particular, to a method and apparatus for processing configuration information, an electronic device, and a storage medium.
Background
With the development of information technology, more and more software programs are generated to provide various functions, and the software programs are more and more powerful to meet the demands of users in various aspects of work, life, entertainment and the like, and provide various convenience for the users. Each function of the software program needs to be realized through one module or a plurality of modules, as the functions provided by the software program are more and more, the number of the modules is more and more, the configuration information of the modules is more and more complex, and when the functions or the workflow which can be realized by the software program are adjusted, the configuration information of a plurality of modules in the software program needs to be adjusted, so that the workload is huge. In carrying out the present disclosure, the inventors found that: in the prior art, when functions or workflows which can be realized by the software program are adjusted, configuration information of part or all modules needs to be manually modified by configuration personnel, and the modified configuration information is huge in quantity and is extremely prone to error; in addition, because the amount of the modified configuration information is huge, when errors occur, configuration personnel are relied on to manually check errors and restore the original configuration, a great amount of manpower is required to be consumed, the cost is greatly increased, the whole process consumes a great amount of time, the efficiency is low, and therefore the online of a software program and the normal development of business are affected.
Disclosure of Invention
The embodiment of the disclosure provides a processing method and device of configuration information, electronic equipment and a storage medium.
According to an aspect of the embodiments of the present disclosure, there is provided a method for processing configuration information, including:
monitoring configuration information of each module in a software program;
in response to monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, obtaining a comparison and analysis result and outputting the comparison and analysis result;
and confirming that the configuration information of the changed module is changed into the configuration information after the change or the configuration information of the changed module is rolled back to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
Optionally, in the above embodiments of the methods of the present disclosure, the configuration information of each module in the monitoring software program includes: monitoring configuration information of a target module in the software program; the target modules are part or all of the pre-designated software programs.
Optionally, in the above embodiments of the methods of the present disclosure, the modules in which the configuration information is changed are two or more.
Optionally, in the above embodiments of the present disclosure, in response to monitoring that the configuration information of the module changes, comparing and analyzing the configuration information before the module changes and the configuration information after the module changes, to obtain a comparison and analysis result, and outputting the comparison and analysis result, including:
and respectively comparing and analyzing the configuration information before the change of the configuration information with the configuration information after the change of the configuration information to obtain a comparison and analysis result and outputting the comparison and analysis result, and confirming the operation of changing the configuration information of the changed module into the configuration information after the change or rolling back the configuration information of the changed module to the configuration information before the change based on the indication information sent by the user for the comparison and analysis result.
Optionally, in the above embodiments of the present disclosure, after the confirming changes the configuration information of the changed module to the changed configuration information, the method includes:
and recording the changed configuration information in a configuration information database, wherein the configuration information database records the effective configuration information of the last state of each module in the software program.
Optionally, in the above method embodiments of the present disclosure, the configuration information of the module is changed, including any one or more of the following: the modules and the configuration information of the modules are added, the configuration information of the existing modules is changed, and the existing modules or part or all of the configuration information of the modules are deleted.
Optionally, in the above embodiments of the methods of the present disclosure, in response to monitoring that the configuration information of the module changes, the method further includes:
identifying whether the configuration information after the module with the changed configuration information is changed accords with a service rule preset for the module with the changed configuration information;
and if the configuration information after the change of the configuration information is not in accordance with the service rule preset for the module with the change of the configuration information, outputting prompt information which is not in accordance with the service rule preset for the module with the change of the configuration information.
Optionally, in the above method embodiments of the present disclosure, the indication information includes: and aiming at the comparison analysis result or the indication information sent by the comparison analysis result and the prompt information by the user.
According to another aspect of the embodiments of the present disclosure, there is provided a processing apparatus for configuration information, including:
The monitoring module is used for monitoring configuration information of each module in the software program;
the analysis module is used for responding to the monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, and obtaining a comparison and analysis result;
the output module is used for outputting the comparison analysis result;
and the configuration module is used for confirming that the configuration information of the changed module is changed into the configuration information after the change or rolling back the configuration information of the changed module to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
Optionally, in the above embodiments of the present disclosure, the monitoring module is specifically configured to monitor configuration information of a target module in the software program; the target modules are part or all of the pre-designated software programs.
Optionally, in the above embodiments of the present disclosure, the modules in which the configuration information is changed are two or more;
the analysis module is specifically configured to compare and analyze the configuration information before the change of the module with the configuration information after the change of the module with the configuration information, obtain a comparison and analysis result, and output the comparison and analysis result;
The configuration module is specifically configured to determine, based on indication information sent by a user for the comparison analysis result, whether to change the configuration information of the changed module to the configuration information after the change or roll back the configuration information of the changed module to the configuration information before the change.
Optionally, in the above device embodiments of the disclosure, the method further includes:
the recording module is used for recording the changed configuration information in a configuration information database after the configuration module confirms that the configuration information of the changed module is changed into the changed configuration information; and the configuration information database records effective configuration information of the last state of each module in the software program.
Optionally, in the above embodiments of the present disclosure, the configuration information of the module is changed, including any one or more of the following: the modules and the configuration information of the modules are added, the configuration information of the existing modules is changed, and the existing modules or part or all of the configuration information of the modules are deleted.
Optionally, in the above device embodiments of the disclosure, the method further includes:
The identification module is used for identifying whether the configuration information after the module with the changed configuration information is changed accords with a service rule preset for the module with the changed configuration information;
the output module is further configured to output, according to the identification result of the identification module, indication information that does not conform to the service rule preset for the module with the changed configuration information if the changed configuration information does not conform to the service rule preset for the module with the changed configuration information.
Optionally, in the above embodiments of the present disclosure, the indication information includes: and aiming at the comparison analysis result or the indication information sent by the comparison analysis result and the prompt information by the user.
According to still another aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium storing a computer program for executing the processing method of the software program according to any one of the above embodiments of the present disclosure.
According to still another aspect of the embodiments of the present disclosure, there is provided an electronic device including:
a processor;
a memory for storing the processor-executable instructions;
The processor is configured to read the executable instructions from the memory and execute the instructions to implement the processing method of the software program according to any one of the foregoing embodiments.
Based on the processing method and the device for the configuration information, the electronic equipment and the storage medium provided by the embodiments of the present disclosure, configuration information of each module in a software program is monitored, when the configuration information of the module is monitored to change, comparison analysis is performed on the configuration information before the change of the configuration information and the configuration information after the change of the module, a comparison analysis result is obtained and output, and based on indication information sent by a user aiming at the comparison analysis result, the configuration information of the module which is changed is confirmed to be changed to be the configuration information after the change or the configuration information of the module which is changed to be the configuration information before the change is rolled back, so that in the embodiments of the present disclosure, the change condition of the configuration information of all modules can be clearly and intuitively displayed through the comparison analysis result, a configurator can instruct to change the configuration information of the module to be the configuration information after the change according to the comparison analysis result, and can instruct to roll back the configuration information of the module to be the configuration information after the change when the change of the configuration information is confirmed, thereby realizing automatic checking and automatic configuration information and configuration information or automatically rolling back the configuration information of the module to be the configuration information before the change, thereby reducing the cost of the configuration information, and improving the service efficiency and the time and the efficiency of the configuration information.
The technical scheme of the present disclosure is described in further detail below through the accompanying drawings and examples.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent by describing embodiments thereof in more detail with reference to the accompanying drawings. The accompanying drawings are included to provide a further understanding of embodiments of the disclosure, and are incorporated in and constitute a part of this specification, illustrate embodiments of the disclosure and together with the description serve to explain the disclosure, without limitation to the disclosure. In the drawings, like reference numerals generally refer to like parts or steps.
FIG. 1 is a flow chart of one embodiment of a method of processing configuration information of the present disclosure.
Fig. 2 is a flowchart of another embodiment of a method for processing configuration information according to the present disclosure.
Fig. 3 is a flow chart of yet another embodiment of a method of processing configuration information of the present disclosure.
Fig. 4 is a schematic structural view of an embodiment of a processing apparatus of configuration information of the present disclosure.
Fig. 5 is a schematic structural view of another embodiment of a processing apparatus for configuration information of the present disclosure.
Fig. 6 is a block diagram of an electronic device provided in an exemplary embodiment of the present disclosure.
Detailed Description
Hereinafter, example embodiments according to the present disclosure will be described in detail with reference to the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present disclosure and not all of the embodiments of the present disclosure, and that the present disclosure is not limited by the example embodiments described herein.
It should be noted that: the relative arrangement of the components and steps, numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present disclosure unless it is specifically stated otherwise.
It will be appreciated by those of skill in the art that the terms "first," "second," etc. in embodiments of the present disclosure are used merely to distinguish between different steps, devices or modules, etc., and do not represent any particular technical meaning nor necessarily logical order between them.
It should also be understood that in embodiments of the present disclosure, "plurality" may refer to two or more, and "at least one" may refer to one, two or more.
It should also be appreciated that any component, data, or structure referred to in the presently disclosed embodiments may be generally understood as one or more without explicit limitation or the contrary in the context.
In addition, the term "and/or" in this disclosure is merely an association relationship describing an association object, and indicates that three relationships may exist, for example, a and/or B may indicate: a exists alone, A and B exist together, and B exists alone. In addition, the character "/" in the present disclosure generally indicates that the front and rear association objects are an or relationship.
It should also be understood that the description of the various embodiments of the present disclosure emphasizes the differences between the various embodiments, and that the same or similar features may be referred to each other, and for brevity, will not be described in detail.
Meanwhile, it should be understood that the sizes of the respective parts shown in the drawings are not drawn in actual scale for convenience of description.
The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the disclosure, its application, or uses.
Techniques, methods, and apparatus known to one of ordinary skill in the relevant art may not be discussed in detail, but are intended to be part of the specification where appropriate.
It should be noted that: like reference numerals and letters denote like items in the following figures, and thus once an item is defined in one figure, no further discussion thereof is necessary in subsequent figures.
Embodiments of the present disclosure may be applicable to electronic devices such as terminal devices, computer systems, servers, etc., which may operate with numerous other general purpose or special purpose computing system environments or configurations. Examples of well known terminal devices, computing systems, environments, and/or configurations that may be suitable for use with the terminal device, computer system, server, or other electronic device include, but are not limited to: personal computer systems, server computer systems, thin clients, thick clients, hand-held or laptop devices, microprocessor-based systems, set-top boxes, programmable consumer electronics, network personal computers, small computer systems, mainframe computer systems, and distributed cloud computing technology environments that include any of the foregoing, and the like.
Electronic devices such as terminal devices, computer systems, servers, etc. may be described in the general context of computer system-executable instructions, such as program modules, being executed by a computer system. Generally, program modules may include routines, programs, objects, components, logic, data structures, etc., that perform particular tasks or implement particular abstract data types. The computer system/server may be implemented in a distributed cloud computing environment in which tasks are performed by remote processing devices that are linked through a communications network. In a distributed cloud computing environment, program modules may be located in both local and remote computing system storage media including memory storage devices.
For example, for a property transaction software program providing property transaction, since the process operation on the property transaction line varies from city to city, the process operation logic controlled by configuration varies, when policies vary, a configurator needs to comb the process operation variation information of each city, modify each process operation variation information in complicated configuration, for example, a new transaction process is needed in a long sand, then the configurator needs to configure a transaction function module for the city in the property transaction software program, then configure a process node, backlog to be done by each node, conditions for how backlog is circulated, conditions for starting backlog, conditions for displaying backlog, circulation conditions, and the like for the transaction function module, and a configurator often needs to configure the process operation relationship of tens of cities. When each person needs to configure so much complex information, it is very difficult to ensure the correctness of the configuration information, which affects the circulation of the whole online property transaction.
In the embodiment of the disclosure, the configuration information of the module is monitored to change, and the configuration information before the change of the configuration information and the configuration information after the change of the module can be compared and analyzed to obtain a comparison analysis result and output, and based on the indication information sent by a user aiming at the comparison analysis result, the configuration information of the module is confirmed to be changed into the configuration information after the change or the configuration information of the module which is changed is rolled back to the configuration information before the change, so that the automatic error checking and rolling back of the configuration information change are realized.
Fig. 1 is a flowchart of a method of processing configuration information provided by an exemplary embodiment of the present disclosure. The present embodiment may be applied to an electronic device, as shown in fig. 1, and the processing method of configuration information of the present embodiment includes the following steps:
102, monitoring configuration information of each module in the software program.
In some examples, the configuration information of each module is information that each module is preconfigured to implement a corresponding function, for example, for a loan business module, the configuration information may be a pay-per-view ratio, a loan interest rate rule, and so on.
In some optional embodiments of the present disclosure, the configuration information of the module is changed, for example, may include any one or more of the following: the method comprises the steps of adding modules or adding configuration information of the modules, changing the configuration information of the existing modules, deleting the existing modules or part or all of the configuration information of the existing modules, for example, adding tax payment modules into software programs, wherein the configuration information of the tax payment modules comprises tax payment amounts of various services related in a real estate transaction flow.
104, in response to monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, obtaining a comparison and analysis result and outputting the comparison and analysis result.
The comparison analysis is performed on the configuration information before the module is changed and the configuration information after the module is changed, namely, the configuration information of the last version of the module is compared with the monitored configuration information after the module is changed, and a comparison analysis result of which configuration information change results can be intuitively obtained by configuration personnel is obtained.
For example, in one specific example, for one character module, if the character information before the configuration information change is "trade advisor", the configuration information character information is changed to "broker", the comparison analysis result may be expressed as "character configuration is changed to broker by trade advisor". For another specific example, for one loan service module, if the pay-per-use ratio before the configuration information is changed is 20%, and the present configuration information changes the pay-per-use ratio to 30%, the comparison analysis result may be expressed as "the pay-per-use ratio is changed from 20% to 30%".
106, confirming that the configuration information of the changed module is changed to the configuration information after the change or the configuration information of the changed module is rolled back to the configuration information before the change based on the instruction information sent by the user for the comparison analysis result.
The user can intuitively acquire the change condition of the configuration information of each module according to the comparison analysis result, and confirm whether the change of the configuration information is correct, if so, the user can instruct the configuration information of the module to be changed into the changed configuration information, if not, the user can instruct the configuration information of the module to roll back to the configuration information before the change of the current configuration information, namely, the configuration information of the last version.
According to the method for processing the configuration information, which is provided by the embodiment of the disclosure, the configuration information of each module in a software program is monitored, when the configuration information of the module is monitored, the configuration information before the change of the configuration information is compared with the configuration information after the change, a comparison analysis result is obtained and output, and the configuration information of the module is confirmed to be changed into the configuration information after the change or the configuration information of the module is rolled back to the configuration information before the change based on the indication information sent by a user aiming at the comparison analysis result.
In some alternative embodiments, a module that monitors the change condition of the configuration information of the software program may be preset as a target module, and in step 102, only the configuration information of the target module in the software program may be monitored. The target module may be a part of or all of the modules in the software program, for example, a role module and a work task management module in the monitoring software program are designated in advance as the target module.
In other optional embodiments of the present disclosure, when two or more modules with changed configuration information are monitored, steps 104 to 106 may be executed on each module with changed configuration information, so as to confirm or rollback the changing situation of the configuration information of each module.
For example, the modules with changed configuration information are a role module and a work task module in the software program, and step 104 is executed for the role module and the work task module respectively, so that a comparison analysis result of the change of the configuration information in the role module is that the role is changed from a trading advisor to a broker, a comparison analysis result of the change of the configuration information in the work task module is that the house trading procedure is changed from work task to whole-course service, and a comparison analysis result of the change of the configuration information in the role module and the work task module is output; the configurator may determine whether the change in configuration information is correct, e.g., the change in configuration information of the character module is correct, and may instruct confirmation of the change, and then confirm that the character configuration information of the character module is changed to a broker in step 106; if the change of the configuration information of the task module is wrong, the change may be instructed to be canceled, and the task configuration information of the task module is rolled back to the house transaction processing step 106.
Therefore, the method and the device realize confirmation or rollback of the change condition of the configuration information of each module, improve the flexibility and convenience of system configuration information change, and effectively improve the updating efficiency of the software program.
Fig. 2 is a flowchart illustrating a method for processing configuration information according to another exemplary embodiment of the present disclosure. As shown in fig. 2, step 106 may further include, based on the embodiment shown in fig. 1, the following steps:
202, configuration information after confirming the module change of the configuration information change in the software program is recorded in a configuration information database. The configuration information database records the effective configuration information of the last state of each module in the software program, wherein each module can be all modules in the software program or target modules configured in advance by a configurator.
For example, in the above example, the valid configuration information of the last state of the character module and the job task module recorded in the configuration information database is the trading advisor and transacting house trade, respectively, and then based on the above embodiment of the present disclosure, the valid configuration information of the last state of the character module recorded in the configuration information database is changed to the broker, and the valid configuration information of the last state of the job task module is unchanged and is still transacting house trade.
Fig. 3 is a flowchart illustrating a method for processing configuration information according to still another exemplary embodiment of the present disclosure. As shown in fig. 3, on the basis of the embodiment shown in fig. 1 or fig. 2, the monitoring of the configuration information of the module in 102 may further include the following steps:
302, identifying whether the configuration information after the module with the configuration information changed changes accords with a preset business rule aiming at the module with the configuration information changed.
The business rule of each module to be monitored can be preset, for example, the pay-per-payment ratio of the loan business module is 20% -65%.
304, if the configuration information after the change of the module with the changed configuration information does not meet the service rule preset for the module with the changed configuration information, outputting prompt information which does not meet the service rule preset for the module with the changed configuration information.
For example, when detecting the performance of an updated online product, presetting relevant business rules for testing the functions and the overall operation effect of each module; if the configuration information of the time module of the product after the change does not accord with the preset business rule and the time node information of the detection flow link is absent, outputting the prompting information that the time module of the product does not accord with the preset business rule when the comparison analysis result is output.
In other optional embodiments of the present disclosure, the indication information may be: the user compares the analysis result or the indication information sent by the analysis result and the prompt information.
Therefore, the embodiment of the disclosure can preset the business rules of each module, and when the configuration information after the change of the configuration information does not accord with the business rules preset for the module with the change of the configuration information, the problem of high-risk and suspicious configuration information is displayed, so that a user is prompted timely, error checking efficiency is further improved, and software updating efficiency is effectively improved.
Any of the processing methods provided by the embodiments of the present disclosure may be performed by any suitable device having data processing capabilities, including, but not limited to: terminal equipment, servers, etc. Alternatively, any of the processing methods provided by the embodiments of the present disclosure may be executed by a processor, such as the processor executing any of the processing methods mentioned by the embodiments of the present disclosure by invoking corresponding instructions stored in a memory. And will not be described in detail below.
Fig. 4 is a schematic structural diagram of a processing apparatus for configuration information provided in an exemplary embodiment of the present disclosure. The processing device may be disposed in an electronic device such as a terminal device or a server, and execute the processing method of the configuration information in any embodiment of the disclosure. As shown in fig. 4, the processing apparatus of the configuration information includes: a monitoring module 402, an analysis module 404, an output module 406, and a configuration module 408. Wherein:
The monitoring module 402 is configured to monitor configuration information of each module in the software program.
And the analysis module 404 is configured to compare and analyze the configuration information before the module is changed and the configuration information after the module is changed, so as to obtain a comparison and analysis result.
And an output module 406, configured to output the comparison analysis result.
And a configuration module 408, configured to confirm that the configuration information of the changed module is changed to the configuration information after the change or roll back the configuration information of the changed module to the configuration information before the change, based on the instruction information sent by the user for the comparison analysis result.
According to the processing device for the configuration information, which is provided by the embodiment, the configuration information of each module in the software program is monitored, when the configuration information of the module is monitored, the configuration information before the change of the configuration information is compared with the configuration information after the change, the comparison analysis result is obtained and output, and the configuration information of the module is confirmed to be changed into the configuration information after the change or rolled back to the configuration information before the change based on the indication information sent by a user aiming at the comparison analysis result.
In some embodiments, the monitoring module 402 is specifically configured to monitor configuration information of a target module in the software program; the target modules may be part or all of the modules in the pre-specified software program.
In the processing apparatus provided in another exemplary embodiment of the present disclosure, the modules in which the configuration information is changed are two or more. The analysis module 404 in this embodiment is specifically configured to: and comparing and analyzing the configuration information before the change of the module with the configuration information after the change of the module with the configuration information to obtain a comparison and analysis result, and outputting the comparison and analysis result through the output module 406. The configuration module 408 is specifically configured to: and confirming that the configuration information of the changed module is changed into the configuration information after the change or the configuration information of the changed module is rolled back to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
In some embodiments of the present disclosure, the configuration information of the module is changed, including any one or more of the following: the module and the configuration information of the module are added, the configuration information of the existing module is changed, and all or part of the configuration information of the existing module or the module is deleted.
Fig. 5 is a schematic structural view of a processing apparatus for configuration information provided in still another exemplary embodiment of the present disclosure. As shown in fig. 5, on the basis of the embodiment shown in fig. 4, the processing apparatus for configuration information further includes: and a recording module 502, configured to record the changed configuration information in a configuration information database after the configuration module 408 confirms that the changed configuration information of the changed module is changed to the changed configuration information, where the configuration information database records valid configuration information of the last state of each module in the software program.
In addition, referring back to fig. 5, in the processing apparatus of configuration information of still another embodiment, it may further include: and the identifying module 504 is configured to identify whether the changed configuration information conforms to a service rule preset for the changed configuration information. Correspondingly, in this embodiment, the output module 406 may be further configured to output, according to the identification result of the identification module 504, the indication information that does not conform to the service rule preset for the module with the changed configuration information if the changed configuration information does not conform to the service rule preset for the module with the changed configuration information.
In some embodiments of the disclosure, the indication information may include: the user compares the analysis result or the indication information sent by the analysis result and the prompt information.
In addition, the embodiment of the disclosure also provides an electronic device, which comprises: a processor; a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the processing method according to any of the foregoing embodiments of the disclosure.
Next, an electronic device according to an embodiment of the present disclosure is described with reference to fig. 6. The electronic device may be either or both of the first device and the second device, or a stand-alone device independent thereof, which may communicate with the first device and the second device to receive the acquired input signals therefrom.
Fig. 6 illustrates a block diagram of an electronic device according to an embodiment of the disclosure. As shown in fig. 6, the electronic device includes one or more processors 601 and memory 602.
The processor 601 may be a Central Processing Unit (CPU) or other form of processing unit having data processing and/or instruction execution capabilities and may control other components in the electronic device to perform desired functions.
The memory 602 may include one or more computer program products that may include various forms of computer-readable storage media, such as volatile memory and/or non-volatile memory. The volatile memory may include, for example, random Access Memory (RAM) and/or cache memory (cache), and the like. The non-volatile memory may include, for example, read Only Memory (ROM), hard disk, flash memory, and the like. One or more computer program instructions may be stored on the computer readable storage medium that can be executed by the processor 601 to implement the processing methods and/or other desired functions of the various embodiments of the present disclosure described above.
In one example, the electronic device may further include: input device 603 and output device 604, which are interconnected by a bus system and/or other form of connection mechanism (not shown).
In addition, the input device 603 may also include, for example, a keyboard, a mouse, and the like.
The output device 604 may output various information to the outside, including the determined distance information, direction information, and the like. The output devices 604 may include, for example, a display, speakers, a printer, and a communication network and remote output devices connected thereto, etc.
Of course, only some of the components of the electronic device relevant to the present disclosure are shown in fig. 6, with components such as buses, input/output interfaces, etc. omitted for simplicity. In addition, the electronic device may include any other suitable components depending on the particular application.
In addition to the methods and apparatus described above, embodiments of the present disclosure may also be a computer program product comprising computer program instructions which, when executed by a processor, cause the processor to perform steps in the processing methods of the various embodiments described above.
The computer program product may write program code for performing the operations of embodiments of the present disclosure in any combination of one or more programming languages, including an object oriented programming language such as Java, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device, partly on a remote computing device, or entirely on the remote computing device or server.
Furthermore, embodiments of the present disclosure may also be a computer-readable storage medium, on which computer program instructions are stored, which, when being executed by a processor, cause the processor to perform steps in the processing methods of the various embodiments described herein.
The computer readable storage medium may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may include, for example, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium would include the following: an electrical connection having one or more wires, a portable disk, a hard disk, random Access Memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
The basic principles of the present disclosure have been described above in connection with specific embodiments, however, it should be noted that the advantages, benefits, effects, etc. mentioned in the present disclosure are merely examples and not limiting, and these advantages, benefits, effects, etc. are not to be considered as necessarily possessed by the various embodiments of the present disclosure. Furthermore, the specific details disclosed herein are for purposes of illustration and understanding only, and are not intended to be limiting, since the disclosure is not necessarily limited to practice with the specific details described.
In this specification, each embodiment is described in a progressive manner, and each embodiment is mainly described in a different manner from other embodiments, so that the same or similar parts between the embodiments are mutually referred to. For system embodiments, the description is relatively simple as it essentially corresponds to method embodiments, and reference should be made to the description of method embodiments for relevant points.
The block diagrams of the devices, apparatuses, devices, systems referred to in this disclosure are merely illustrative examples and are not intended to require or imply that the connections, arrangements, configurations must be made in the manner shown in the block diagrams. As will be appreciated by one of skill in the art, the devices, apparatuses, devices, systems may be connected, arranged, configured in any manner. Words such as "including," "comprising," "having," and the like are words of openness and mean "including but not limited to," and are used interchangeably therewith. The terms "or" and "as used herein refer to and are used interchangeably with the term" and/or "unless the context clearly indicates otherwise. The term "such as" as used herein refers to, and is used interchangeably with, the phrase "such as, but not limited to.
The methods and apparatus of the present disclosure may be implemented in a number of ways. For example, the methods and apparatus of the present disclosure may be implemented by software, hardware, firmware, or any combination of software, hardware, firmware. The above-described sequence of steps for the method is for illustration only, and the steps of the method of the present disclosure are not limited to the sequence specifically described above unless specifically stated otherwise. Furthermore, in some embodiments, the present disclosure may also be implemented as programs recorded in a recording medium, the programs including machine-readable instructions for implementing the methods according to the present disclosure. Thus, the present disclosure also covers a recording medium storing a program for executing the method according to the present disclosure.
It is also noted that in the apparatus, devices and methods of the present disclosure, components or steps may be disassembled and/or assembled. Such decomposition and/or recombination should be considered equivalent to the present disclosure.
The previous description of the disclosed aspects is provided to enable any person skilled in the art to make or use the present disclosure. Various modifications to these aspects will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other aspects without departing from the scope of the disclosure. Thus, the present disclosure is not intended to be limited to the aspects shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
The foregoing description has been presented for purposes of illustration and description. Furthermore, this description is not intended to limit the embodiments of the disclosure to the form disclosed herein. Although a number of example aspects and embodiments have been discussed above, a person of ordinary skill in the art will recognize certain variations, modifications, alterations, additions, and subcombinations thereof.

Claims (14)

1. A method for processing configuration information, comprising:
monitoring configuration information of each module in a software program;
in response to monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, obtaining a comparison and analysis result and outputting the comparison and analysis result, wherein the configuration information is changed and comprises at least one of the following components: adding a module, adding configuration information of the module, changing the configuration information of the existing module, and deleting the existing module or part or all of the configuration information of the existing module;
and confirming that the configuration information of the changed module is changed into the configuration information after the change or the configuration information of the changed module is rolled back to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
2. The method of claim 1, wherein monitoring configuration information of each module in the software program comprises: monitoring configuration information of a target module in the software program; the target modules are part or all of the pre-designated software programs.
3. The method according to claim 1 or 2, wherein the number of modules in which the configuration information is changed is two or more.
4. A method according to claim 3, wherein in response to monitoring that the configuration information of the module changes, comparing and analyzing the configuration information before the module changes and the configuration information after the module changes, to obtain and output a comparison and analysis result, and comprising:
and respectively comparing and analyzing the configuration information before the change of the configuration information with the configuration information after the change of the configuration information to obtain a comparison analysis result and outputting the comparison analysis result, and confirming the operation of changing the configuration information of the changed module into the configuration information after the change or rolling back the configuration information of the changed module to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
5. The method according to claim 1, wherein after the confirming changes the configuration information of the changed module to the changed configuration information, comprising:
and recording the changed configuration information in a configuration information database, wherein the configuration information database records the effective configuration information of the last state of each module in the software program.
6. The method of claim 1, wherein responsive to monitoring that the configuration information for the module has changed, further comprising:
identifying whether the configuration information after the module with the changed configuration information is changed accords with a service rule preset for the module with the changed configuration information;
and if the configuration information after the change of the configuration information is not in accordance with the service rule preset for the module with the change of the configuration information, outputting prompt information which is not in accordance with the service rule preset for the module with the change of the configuration information.
7. The method of claim 6, wherein the indication information comprises: and aiming at the comparison analysis result or the indication information sent by the comparison analysis result and the prompt information by the user.
8. A processing apparatus for configuration information, comprising:
the monitoring module is used for monitoring configuration information of each module in the software program;
the analysis module is used for responding to the monitoring that the configuration information of the module is changed, comparing and analyzing the configuration information before the module is changed with the configuration information after the module is changed, and obtaining a comparison analysis result, wherein the configuration information is changed and comprises at least one of the following components: adding a module, adding configuration information of the module, changing the configuration information of the existing module, and deleting the existing module or part or all of the configuration information of the existing module;
the output module is used for outputting the comparison analysis result;
and the configuration module is used for confirming that the configuration information of the changed module is changed into the configuration information after the change or rolling back the configuration information of the changed module to the configuration information before the change based on the indication information sent by the user for the comparison analysis result.
9. The apparatus according to claim 8, wherein the monitoring module is configured to monitor configuration information of a target module in the software program; the target modules are part or all of the pre-designated software programs.
10. The apparatus according to claim 8 or 9, wherein the modules in which the configuration information is changed are two or more;
the analysis module is specifically configured to compare and analyze the configuration information before the change of the module with the configuration information after the change of the module with the configuration information to obtain a comparison and analysis result;
the configuration module is specifically configured to determine, based on indication information sent by a user for the comparison analysis result, whether to change the configuration information of the changed module into the configuration information after the change or roll back the configuration information of the changed module to the configuration information before the change, for each module in which the configuration information is changed.
11. The apparatus as recited in claim 8, further comprising:
the recording module is used for recording the changed configuration information in a configuration information database after the configuration module confirms that the configuration information of the changed module is changed into the changed configuration information; and the configuration information database records effective configuration information of the last state of each module in the software program.
12. The apparatus as recited in claim 8, further comprising:
the identification module is used for identifying whether the configuration information after the module with the changed configuration information is changed accords with a service rule preset for the module with the changed configuration information;
the output module is further configured to output, according to the identification result of the identification module, indication information that does not conform to the service rule preset for the module with the changed configuration information if the changed configuration information does not conform to the service rule preset for the module with the changed configuration information.
13. A computer readable storage medium, characterized in that the storage medium stores a computer program for executing the processing method according to any one of the preceding claims 1-7.
14. An electronic device, the electronic device comprising:
a processor;
a memory for storing the processor-executable instructions;
the processor is configured to read the executable instructions from the memory and execute the instructions to implement the processing method according to any one of the preceding claims 1-7.
CN201910800710.5A 2019-08-28 2019-08-28 Processing method and device of configuration information, electronic equipment and storage medium Active CN110704273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910800710.5A CN110704273B (en) 2019-08-28 2019-08-28 Processing method and device of configuration information, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910800710.5A CN110704273B (en) 2019-08-28 2019-08-28 Processing method and device of configuration information, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN110704273A CN110704273A (en) 2020-01-17
CN110704273B true CN110704273B (en) 2024-01-05

Family

ID=69193956

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910800710.5A Active CN110704273B (en) 2019-08-28 2019-08-28 Processing method and device of configuration information, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN110704273B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111782287B (en) * 2020-06-30 2023-03-21 联想(北京)有限公司 Information prompting method and device and electronic equipment
CN112114993A (en) * 2020-09-28 2020-12-22 中国建设银行股份有限公司 Configuration information processing method and device of application system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202073A (en) * 2010-03-24 2011-09-28 杭州华三通信技术有限公司 Distributed system and data synchronization method thereof
CN105447046A (en) * 2014-09-02 2016-03-30 阿里巴巴集团控股有限公司 Distributed system data consistency processing method, device and system
CN109582485A (en) * 2018-10-26 2019-04-05 阿里巴巴集团控股有限公司 A kind of configuration change method for detecting abnormality and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20180129581A1 (en) * 2016-11-07 2018-05-10 International Business Machines Corporation Method for static and dynamic configuration verification

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202073A (en) * 2010-03-24 2011-09-28 杭州华三通信技术有限公司 Distributed system and data synchronization method thereof
CN105447046A (en) * 2014-09-02 2016-03-30 阿里巴巴集团控股有限公司 Distributed system data consistency processing method, device and system
CN109582485A (en) * 2018-10-26 2019-04-05 阿里巴巴集团控股有限公司 A kind of configuration change method for detecting abnormality and device

Also Published As

Publication number Publication date
CN110704273A (en) 2020-01-17

Similar Documents

Publication Publication Date Title
US9383900B2 (en) Enabling real-time operational environment conformity to an enterprise model
US11915195B2 (en) Systems and methods for intelligent field matching and anomaly detection
CN107392801B (en) Method and device for controlling order disorder, storage medium and electronic equipment
CN110704273B (en) Processing method and device of configuration information, electronic equipment and storage medium
CN115034596A (en) Risk conduction prediction method, device, equipment and medium
CN111367531A (en) Code processing method and device
CN111681094B (en) Method and device for monitoring resource policy abnormality and electronic equipment
CN110991992B (en) Processing method and device of business process information, storage medium and electronic equipment
CN112445860A (en) Method and device for processing distributed transaction
US8712738B2 (en) Determining ill conditioning in square linear system of equations
CN110415112B (en) Post-credit business processing method, device, equipment and storage medium
CN114185656A (en) Test task processing method, device, equipment and storage medium
CN116562951A (en) User report information generation method and device, readable storage medium and electronic equipment
CN110765003B (en) Code detection method, device and equipment and storage medium
CN111047134A (en) Flow rollback method and device, computer readable storage medium and electronic equipment
CN110765006A (en) Flow testing method and device, computer readable storage medium and electronic device
CN111489101A (en) Order auditing method, device, equipment and medium based on big data
CN112035749A (en) User behavior characteristic analysis method, recommendation method and corresponding devices
CN111047433A (en) Method and device for analyzing reasons of user number abnormality, server and storage medium
US20180276744A1 (en) Multicomputer Digital Data Processing to Provide Access and Process Control
CN114640585B (en) Resource updating method and device, electronic equipment and storage medium
CN117808478A (en) Method and system for identifying inauguration enterprises based on relational graph
CN112749868A (en) Data abnormity monitoring method and device
CN117787963A (en) Payment method, device, electronic equipment, medium and computer program product
CN115509543A (en) Method and device for determining document validity, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant