System changing method, device, equipment, medium and program product
By changing the format conversion and functional verification of the change command in the operation control table, the problem of errors and efficiency in the operation control table review is solved, and the automation and efficiency of the system change are realized.
Patent Information
- Application Number
- CN202411522256.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-29
- Publication Date
- 2025-01-24
AI Technical Summary
When using the control table template to review the operation control table, due to the large amount of information, errors are prone to occur and the audit speed is slow, resulting in reduced system change efficiency.
By converting the format of each change command in the operation control table, and performing functional verification according to the system and event verification rules, we ensure that the change command meets the system requirements before executing the change.
The automatic verification of the operating control table is realized, the impact of human factors on the results of the test, and improved the reliability and accuracy of the test results, thereby improving the efficiency of system change.
Smart Images

Figure CN119356709A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of cloud computing, and in particular to a system change method, apparatus, device, medium and program product. Background Art
[0002] System changes usually include multiple operations such as program review, implementation plan formulation, change implementation and verification. After receiving the operation control sheet, the operation and maintenance personnel will review it and formulate a corresponding implementation plan after the review is passed to make changes to the system. In related technologies, the operation control sheet is reviewed by setting a control sheet template and a double review is set to ensure the correctness of the operation control sheet.
[0003] In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: when using the control table template to review the operation control table, due to the large amount of information in the operation control table, errors are prone to occur during the review process, and the review speed is slow, resulting in reduced system change efficiency. Summary of the invention
[0004] In view of the above problems, the present disclosure provides a system change method, apparatus, device, medium and program product.
[0005] According to the first aspect of the present disclosure, a system change method is provided, comprising: in response to a user's operation of uploading an operation control table, obtaining an operation control table for performing system changes, wherein the operation control table includes a change system identifier and multiple change items, and each of the change items has a corresponding change command; converting the format of each change command in the operation control table into a preset format, wherein the preset format is a command format executable by the change control system; performing functional verification on the multiple format-converted change commands according to the system verification rules corresponding to the change system identifier and the item verification rules corresponding to each of the change items, to obtain verification results; when the verification results indicate that the verification is passed, executing the multiple format-converted change commands in sequence according to the change order of the multiple change items in the operation control table to complete the system change.
[0006] According to an embodiment of the present disclosure, the above-mentioned conversion of the format of each change command in the above-mentioned operation control table into a preset format includes: determining a mapping rule for format conversion of the above-mentioned change command according to the grammatical characteristics of the above-mentioned change command and the above-mentioned preset format; and converting a plurality of the above-mentioned change commands one by one using the above-mentioned mapping rule to obtain a plurality of change commands after format conversion.
[0007] According to an embodiment of the present disclosure, the system verification rule includes a plurality of sub-rules with different verification levels. The system verification rule corresponding to the change system identifier and the item verification rule corresponding to each of the change items perform functional verification on the change commands after the format conversion to obtain verification results, including: for each of the change items, according to the verification level of each sub-rule in the system verification rule, sorting the plurality of sub-rules to generate a rule sequence, wherein each of the sub-rules verifies a different function, and the plurality of sub-rules include sub-rules formulated according to the system change standard and sub-rules formulated according to the historical change abnormal data. The sub-rules are determined; according to the verification level order from high to low in the above rule sequence, the change commands corresponding to the above change items after format conversion are verified in turn by using multiple sub-rules; when it is determined that multiple sub-rules have passed the verification, the necessary fields of the change commands after format conversion are detected by using the above item verification rules to obtain the detection results; when it is determined that there are sub-rules that fail the verification, or when the above detection results indicate that the detection fails, the verification results indicating that the verification fails are output; when it is determined that the detection results of multiple change items have passed, the verification results indicating that the verification passes are output.
[0008] According to an embodiment of the present disclosure, the above method also includes: when it is determined that the above sub-rule fails the verification, searching for a corresponding solution from an exception database according to the function verified by the sub-rule that fails the verification; modifying the change command after the above format conversion according to the above solution; and re-verifying the modified change command using the above sub-rule that fails the verification, so as to output a verification result indicating the failure of the verification when the verification fails.
[0009] According to an embodiment of the present disclosure, the above method also includes: in the case of receiving change exception information from multiple systems within a preset time period, determining the abnormal user identifier and abnormal change item in each of the above change exception information; for each of the above systems, determining the change time period corresponding to the above abnormal change item from the operation control table imported into the above change control system; establishing an abnormal mapping relationship between the above change time period and the above abnormal user identifier; analyzing the abnormal mapping relationships of the multiple above systems, so as to allocate tasks for the multiple change exception information according to the cross-overlap of the multiple change time periods when it is determined that there is cross-overlap in the multiple change time periods corresponding to the same abnormal user identifier in the multiple above abnormal mapping relationships.
[0010] According to an embodiment of the present disclosure, the above-mentioned task allocation is performed on the multiple change exception information according to the cross-overlapping situation of multiple change time periods, including: for abnormal user identifiers with cross-overlapping change time periods, based on the above-mentioned abnormal user identifiers, from the system change personnel scheduling diagram generated according to the dependency relationship between the multiple above-mentioned operation control tables, determining the target exception information; according to the cross-overlapping situation of multiple change time periods, from the multiple change exception information including the above-mentioned abnormal user identifiers, determining the target exception information; sending the above-mentioned target exception information to the host address corresponding to the above-mentioned target user identifier in the above-mentioned operation control table.
[0011] According to an embodiment of the present disclosure, the above method also includes: when analyzing the above operation control table and determining that the process of changing the above system requires calling an external tool, in response to the user's operation completion instruction of the above external tool, executing multiple change commands converted from the above formats in sequence to complete the change to the system.
[0012] The second aspect of the present disclosure provides a system change device, including: a report acquisition module, used to respond to the user's operation of uploading an operation control table, to acquire an operation control table used for system changes, wherein the operation control table includes a change system identifier and multiple change items, and each of the change items has a corresponding change command; a format conversion module, used to convert the format of each change command in the operation control table into a preset format, wherein the preset format is a command format executable by the change control system; a function verification module, used to perform function verification on multiple format-converted change commands according to system verification rules corresponding to the change system identifier and item verification rules corresponding to each of the change items, and obtain verification results; a command execution module, used to execute multiple format-converted change commands in sequence according to the change order of the multiple change items in the operation control table when the verification result indicates that the verification is passed, so as to complete the system change.
[0013] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; and a memory for storing one or more computer programs, wherein the one or more processors execute the one or more computer programs to implement the steps of the above method.
[0014] The fourth aspect of the present disclosure further provides a computer-readable storage medium having a computer program or instructions stored thereon, which implements the steps of the above method when the above computer program or instructions are executed by a processor.
[0015] The fifth aspect of the present disclosure further provides a computer program product, including a computer program or instructions, which implement the steps of the above method when the above computer program or instructions are executed by a processor.
[0016] According to an embodiment of the present disclosure, by converting the format of the change command of each change item in the operation control table and performing functional verification on it, automatic verification of the operation control table is achieved, which effectively reduces the impact of human factors on the verification results. And by converting the change command format before verifying it, the final verification result is more reliable, and secondary verification is effectively avoided. In the verification process, the change command is verified according to the rules corresponding to the change system identifier and the change item, respectively, so that the verification result is more accurate. If the verification passes, the change command is executed to complete the system change. By integrating the verification of the operation control table and the system change, the efficiency of the system change is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The above contents and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:
[0018] Figure 1 The application scenario diagram of the system change method, apparatus, device, medium and program product according to the embodiment of the present disclosure is schematically shown;
[0019] Figure 2 A flowchart of a system change method according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 3 A flowchart of function verification according to an embodiment of the present disclosure is schematically shown;
[0021] Figure 4 A system change personnel scheduling diagram according to an embodiment of the present disclosure is schematically shown;
[0022] Figure 5 A flowchart of personnel scheduling according to an embodiment of the present disclosure is schematically shown;
[0023] Figure 6 The structure block diagram of the system changing device according to the embodiment of the present disclosure is schematically shown;
[0024] Figure 7 A block diagram of an electronic device suitable for implementing a system changing method according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0025] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0026] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0027] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification and should not be interpreted in an idealized or overly rigid manner.
[0028] When using expressions such as "at least one of A, B, and C, etc.", they should generally be interpreted according to the meaning of the expression commonly understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0029] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.
[0030] In the technical solution of the present disclosure, the user information (including but not limited to user personal information, user image information, user device information, such as location information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved are all information and data authorized by the user or fully authorized by all parties, and the collection, storage, use, processing, transmission, provision, disclosure and application of the relevant data comply with relevant laws, regulations and standards, take necessary confidentiality measures, do not violate public order and good morals, and provide corresponding operation entrances for users to choose to authorize or refuse.
[0031] An embodiment of the present disclosure provides a system change method, comprising: in response to a user's operation of uploading an operation control table, obtaining an operation control table for performing system changes, wherein the operation control table includes a change system identifier and multiple change items, and each change item has a corresponding change command; converting the format of each change command in the operation control table into a preset format, wherein the preset format is a command format that can be executed by the change control system; performing functional verification on the multiple format-converted change commands according to the system verification rules corresponding to the change system identifier and the item verification rules corresponding to each change item to obtain a verification result; when the verification result indicates that the verification is passed, executing the multiple format-converted change commands in sequence according to the change order of the multiple change items in the operation control table to complete the system change.
[0032] Figure 1 The application scenario diagram of the system change method, apparatus, device, medium and program product according to the embodiments of the present disclosure is schematically shown.
[0033] like Figure 1 As shown, the application scenario 100 according to this embodiment may include a first terminal device 101, a second terminal device 102, a third terminal device 103, a network 104 and a server 105. The network 104 is used to provide a medium for a communication link between the first terminal device 101, the second terminal device 102, the third terminal device 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.
[0034] The user can use the first terminal device 101, the second terminal device 102, and the third terminal device 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the first terminal device 101, the second terminal device 102, and the third terminal device 103, such as shopping applications, web browser applications, search applications, instant messaging tools, email clients, social platform software, etc. (only for example).
[0035] The first terminal device 101, the second terminal device 102, and the third terminal device 103 may be various electronic devices having display screens and supporting web browsing, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.
[0036] The server 105 may be a server that provides various services, such as a background management server (only as an example) that provides support for websites browsed by users using the first terminal device 101, the second terminal device 102, and the third terminal device 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.
[0037] It should be noted that the system change method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the system change device provided in the embodiment of the present disclosure can generally be set in the server 105. The system change method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105. Accordingly, the system change device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the first terminal device 101, the second terminal device 102, the third terminal device 103 and / or the server 105.
[0038] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to the implementation requirements.
[0039] The following will be based on Figure 1 The scene described by Figure 2~Figure 6 The system changing method of the disclosed embodiment is described in detail.
[0040] Figure 2 The flowchart of the system changing method according to the embodiment of the present disclosure is schematically shown.
[0041] like Figure 2 As shown, the system changing method of this embodiment includes operations S210 to S240.
[0042] In operation S210, in response to the user's operation of uploading the operation control table, the operation control table for performing system changes is obtained, wherein the operation control table includes a change system identifier and multiple change items, and each change item has a corresponding change command.
[0043] In operation S220, the format of each change command in the operation control table is converted into a preset format, wherein the preset format is a command format executable by the change control system.
[0044] In operation S230, a function check is performed on the multiple format-converted change commands according to the system check rule corresponding to the changed system identifier and the item check rule corresponding to each change item to obtain a check result.
[0045] In operation S240, when the verification result indicates that the verification is passed, the multiple format-converted change commands are executed in sequence according to the change order of the multiple change items in the operation control table to complete the system change.
[0046] According to an embodiment of the present disclosure, before the system is changed, the developer will write an operation control table for making system changes. Among them, the operation control table includes the change system identifier of the changed system. For example: ××× system 20140926 version. The operation control table also includes multiple change items for the changes in this version, and there is a sequential relationship between the multiple change items. For example: unzip file-import certificate-version distribution-version deployment-version testing. Specifically, there is a corresponding change command for each change item, wherein the change command may include the script required to call to execute the change item, as well as multiple instructions that need to be executed.
[0047] According to an embodiment of the present disclosure, in response to the user's operation of uploading the operation control table, the acquired operation control table is imported into the change control system. Since the change command in the operation control table is written by the developer based on habit, it may not be directly recognized and executed by the change control system. Therefore, the format of the change command in the operation control table can be detected first. If it is determined that the format is not a preset format that can be executed by the change control system, its format is converted into a preset format so that the change control system can recognize and execute it.
[0048] According to the embodiments of the present disclosure, the corresponding system verification rules and the item verification rules corresponding to each change item are determined according to the changed system identifier. Among them, the system verification rules are rules for the entire change process, which may specifically include whether there is some confidential information in the change command, and whether the change command corresponding to the necessary change item is missing. The item verification rules are for each change item, which may specifically include checking whether the current change command can execute the function corresponding to the change item, and whether the corresponding user identifier and host address in each change item match.
[0049] According to the embodiment of the present disclosure, by converting the format of the change command before verifying, the final verification result is more reliable. However, in another embodiment, the change command may be verified first, and then the format conversion may be performed after the verification is passed, so as to avoid unnecessary conversion of change commands that do not comply with the rules and waste computer resources.
[0050] According to an embodiment of the present disclosure, when it is determined that the verification result indicates that the verification is passed, the corresponding change commands are executed in sequence in the change control system according to the change order of multiple change items in the operation control table, thereby completing the change to the system.
[0051] According to an embodiment of the present disclosure, by converting the format of the change command of each change item in the operation control table and performing functional verification on it, automatic verification of the operation control table is achieved, which effectively reduces the impact of human factors on the verification results. And by converting the change command format before verifying it, the final verification result is more reliable, and secondary verification is effectively avoided. In the verification process, the change command is verified according to the rules corresponding to the change system identifier and the change item, respectively, so that the verification result is more accurate. If the verification passes, the change command is executed to complete the system change. By integrating the verification of the operation control table and the system change, the efficiency of the system change is effectively improved.
[0052] According to an embodiment of the present disclosure, the format of each change command in the operation control table is converted into a preset format, including: determining a mapping rule for format conversion of the change command according to the grammatical characteristics and the preset format of the change command; and converting multiple change commands one by one using the mapping rule to obtain multiple change commands after format conversion.
[0053] According to an embodiment of the present disclosure, the format conversion of the change command generally involves understanding the grammatical characteristics of the code and converting it into a preset format while keeping the original logic and function unchanged. This conversion can be a conversion between programming languages, a conversion of code styles, or an adjustment of code structure.
[0054] According to an embodiment of the present disclosure, it is necessary to understand the grammatical characteristics of the change command before performing format conversion. According to the grammatical characteristics and the preset format, a mapping rule is determined. This may include: mapping of keywords and reserved words, mapping of data types and structures, mapping of control flow statements, mapping of functions and methods, and mapping of error handling and exception handling. According to the mapping rules, an automated script can be written to perform the conversion, or an existing conversion tool can be used.
[0055] According to an embodiment of the present disclosure, the change command is converted line by line or block by block according to the mapping rules. This may involve: replacing keywords and reserved words, adjusting the grammatical structure, and reorganizing the code to adapt to the style of the new language. If certain grammatical features may not have a direct correspondence in the preset format, special processing is required. After the conversion is completed, the format-converted change command can be tested to ensure that it has the same function and performance as the original change command. On the premise of keeping the original logic unchanged, the format-converted change command is reconstructed and optimized to obtain a command that can be executed by the change control system.
[0056] According to an embodiment of the present disclosure, by converting the format of the change command of each change item in the operation control table, the change control system can directly identify and execute it, so as to realize the integration of verification and change.
[0057] According to an embodiment of the present disclosure, a system verification rule includes a plurality of sub-rules with different verification levels. According to the system verification rule corresponding to the change system identifier and the item verification rule corresponding to each change item, a plurality of change commands after format conversion are functionally verified to obtain a verification result, including: for each change item, according to the verification level of each sub-rule in the system verification rule, a plurality of sub-rules are sorted to generate a rule sequence, wherein each sub-rule verifies a different function, and the plurality of sub-rules include sub-rules formulated according to the system change standard and sub-rules formulated according to the historical change abnormal data; according to the verification level order from high to low in the rule sequence, the change commands after format conversion corresponding to the change items are verified in sequence using the plurality of sub-rules; when it is determined that the plurality of sub-rules are all verified, the necessary fields of the change commands after format conversion are detected using the item verification rule to obtain a detection result; when it is determined that there is a sub-rule that fails the verification, or when the detection result indicates that the detection fails, a verification result indicating that the verification fails is output; when it is determined that the detection results of the plurality of change items are all passed, a verification result indicating that the verification passes is output.
[0058] According to an embodiment of the present disclosure, the system verification rule includes multiple sub-rules, and multiple sub-rules have corresponding verification levels. Among them, the verification level of each sub-rule can be set according to the importance of the system change. For example: the verification level of the sub-rule for system security issues is higher, while the verification level for checking whether the change items are complete is relatively low. It can be seen that the functions verified by each sub-rule are different.
[0059] Specifically, the system verification rules may include sub-rule 1: Check whether there are rm, rmdir, > symbols in the change command, whether there are delete, truncate and other instructions, and prompt that high-risk instructions are hit, whether passwords, secrets, sqlplus xxx / xxx keywords appear, and when hit, prompt that it may be confidential, and prompt that passwords should not appear.
[0060] Sub-rule 2: Whether the change items include the change commands for the inspection stage, change stage, verification stage, and rollback stage, including the implementation personnel and change time window, and whether it contains dependencies, to determine whether the content of the operation control table is complete.
[0061] Sub-rule three: Verify whether the host address and implementation personnel in the change system in the operation control table match.
[0062] According to an embodiment of the present disclosure, multiple sub-rules are sorted according to the verification level of each sub-rule in the system verification rule to generate a rule sequence. Specifically, in the sorting process, the sorting can be performed from high to low according to the verification level, or from low to high. After the sorting is completed, the change command is verified using the sub-rules according to the verification level order from high to low in the rule sequence. By verifying according to the verification level from high to low, the problems that have a greater impact on the system change are eliminated at the beginning of the verification, so as to avoid fundamental problems found after verification using multiple sub-rules, which will cause all previous verification results to be invalidated, resulting in a waste of computing resources.
[0063] According to an embodiment of the present disclosure, when it is determined that multiple sub-rules have been verified, it is determined that the change command has passed the verification at the system level. For each change item, the necessary fields of the change command are checked using the item verification rules. Using such a hierarchical method for verification makes the verification result reliable and can also improve the verification efficiency. Among them, the item verification rules corresponding to each change item can be formulated according to the function of the change item itself. For example: for the change items of version deployment, the item verification rules include specific necessary fields to implement the function. For example, fields related to the calling version and fields corresponding to the deployment operation. The necessary fields are tested so that the change command corresponds to the change item and can implement the corresponding function.
[0064] According to an embodiment of the present disclosure, since there are multiple change commands, in the process of functional verification of the multiple change commands, the multiple change items are verified one by one according to the change order of the operation control table. In the process of verifying one of the change commands, if it is determined that there is a sub-rule in the system verification rule that fails the verification, or if the test result after testing using the item verification rule indicates that the test fails, then the verification of the remaining change commands is suspended. Since multiple change items are related, if there is a problem with the change order of one change item, there is a high possibility that there will be problems with the change orders of subsequent change items. Therefore, it is necessary to immediately stop the verification of the remaining change commands and output the verification results indicating that the verification failed, so as to prompt the relevant personnel to handle the exception to avoid wasting resources.
[0065] Figure 3 The flowchart of function verification according to an embodiment of the present disclosure is schematically shown.
[0066] like Figure 3 As shown, the functional verification of this embodiment includes operations S301 to S310.
[0067] In operation S301, a change command corresponding to the change item to be verified is determined according to the change order of multiple change items in the operation control table.
[0068] In operation S302, sub-rules to be verified are determined according to the verification level of each sub-rule in the system verification rule.
[0069] In operation S303, the change command is verified using the sub-rule to be verified.
[0070] In operation S304, it is determined whether the current sub-rule has passed verification.
[0071] In operation S305 , it is determined whether the current sub-rule is the sub-rule with the lowest verification level among the multiple sub-rules of the system verification rule.
[0072] In operation S306, necessary fields of the change command are checked using the item verification rules corresponding to the current change item.
[0073] In operation S307, it is determined whether the necessary field detection is passed.
[0074] In operation S308 , it is determined whether the current change command is a change command corresponding to the last change item in the change sequence.
[0075] In operation S309 , a verification result indicating that the verification has passed is output.
[0076] In operation S310 , a verification result indicating that the verification has failed is output.
[0077] According to the embodiments of the present disclosure, the change command is verified according to the rules corresponding to the change system identifier and the change item, so that the verification result is more accurate. And the verification using the above-mentioned hierarchical method makes the verification result more reliable and can also improve the verification efficiency.
[0078] According to an embodiment of the present disclosure, the system change method also includes: when it is determined that there is a sub-rule that fails the verification, searching for a corresponding solution from an exception database based on the function verified by the sub-rule that fails the verification; modifying the change command after format conversion based on the solution; and re-verifying the modified change command using the sub-rule that fails the verification, so as to output a verification result indicating the failure of the verification if the verification fails.
[0079] According to an embodiment of the present disclosure, solutions corresponding to sub-rules in the system verification rules are stored in the exception database, but not all sub-rules have corresponding solutions. For simple command writing errors, the change command can be modified by determining the solution. However, for problems such as command confirmation, the corresponding solution cannot be found in the exception database, and only the verification result indicating that the verification failed can be directly output. Among them, the solutions in the exception database include those manually configured according to the system verification rules, and also include solutions based on historical exception data statistics, so that they can be called when an exception occurs.
[0080] According to an embodiment of the present disclosure, in the process of verifying using the sub-rules in the system verification rules, a preset number of times can be set for each sub-rule to limit the number of times the change command can be modified. Assuming that there is a sub-rule that fails the verification, and there is a corresponding solution in the exception database, the change command can be modified according to the solution, and the modified change command can be re-verified. If the verification still fails, there is another opportunity to modify it. If the verification still cannot pass after two modifications, the verification result indicating that the verification failed is output. By setting the preset number of times, some errors are allowed to occur during the verification process, making the verification process more realistic.
[0081] According to an embodiment of the present disclosure, the system change method also includes: in the case where change exception information is received from multiple systems within a preset time period, determining the abnormal user identifier and the abnormal change item in each change exception information; for each system, determining the change time period corresponding to the abnormal change item from the operation control table imported into the change control system; establishing an abnormal mapping relationship between the change time period and the abnormal user identifier; analyzing the abnormal mapping relationships of multiple systems to determine that there is a cross-overlap in multiple change time periods corresponding to the same abnormal user identifier in multiple abnormal mapping relationships, and assigning tasks to multiple change exception information according to the cross-overlap of multiple change time periods.
[0082] According to an embodiment of the present disclosure, since the changes of the system are carried out irregularly, change abnormality information from multiple systems may be received simultaneously within a preset time period to indicate that change abnormalities have occurred in multiple systems. The preset time period may be 24 hours. After receiving multiple change abnormality information, the abnormal user identifier and abnormal change item in each change abnormality information are determined. For example, the abnormal user identifier is bde, and the abnormal change item is the decompression file.
[0083] According to an embodiment of the present disclosure, for each system, a change time period corresponding to an abnormal change item is determined from an operation control table imported into the change control system. For example, the change time period corresponding to the decompressed file in the change item is 14:30-14:40. An abnormal mapping relationship between the change time period and the abnormal user identifier is established, which can be specifically established in the form of a key-value pair.
[0084] According to an embodiment of the present disclosure, the abnormal mapping relationship of multiple systems is analyzed, and the abnormal time period corresponding to each abnormal user identifier is counted. If it is determined that there is a cross-overlap in multiple change time periods corresponding to the same abnormal user identifier, it means that the user may need to handle multiple exceptions in the same time period, and the workload is large, which causes the exceptions to be unable to be handled in time. Therefore, according to the cross-overlap of multiple change time periods, the change exception information corresponding to the abnormal user identifier is reallocated so that all exceptions can be resolved in time.
[0085] Figure 4 A system change personnel scheduling diagram according to an embodiment of the present disclosure is schematically shown.
[0086] According to an embodiment of the present disclosure, tasks are assigned to multiple change exception information based on the cross-overlapping of multiple change time periods, including: for abnormal user identifiers with cross-overlapping change time periods, based on the abnormal user identifiers, from a system change personnel scheduling diagram generated according to the dependency relationship between multiple operation control tables, determining a target exception information; based on the cross-overlapping of multiple change time periods, from multiple change exception information including the abnormal user identifiers, determining the target exception information; and sending the target exception information to the host address corresponding to the target user identifier in the operation control table.
[0087] According to the embodiment of the present disclosure, the system change personnel scheduling diagram is generated based on the dependency relationship between multiple operation control tables, specifically including the relationship between the change system identifier and the user identifier, and multiple change time periods corresponding to each user identifier. The system change personnel scheduling diagram is updated in real time as the personnel allocation changes. Figure 5 As shown in the figure, system A, system B and system C are three different system IDs. Wang Yi, Wang Er, Li Yi, Li Er and Liu Yi are multiple user IDs. By associating each user ID with the time of each system change in the form of a statistical chart, a system change personnel scheduling chart is generated.
[0088] According to an embodiment of the present disclosure, for abnormal user identifiers with cross-overlapping change time periods, the target user identifier is determined from the system change personnel scheduling diagram based on the abnormal user identifier. For example: if "Wang Yi" has a change abnormality information about system A between 14:30 and 14:40, and a change abnormality information about system B between 14:30 and 14:50, it is determined that the two abnormal time periods have cross-overlapping situations, and then according to the system change personnel scheduling diagram, the change abnormality information between 14:30 and 14:40 can be assigned to a user who does not need to handle abnormalities in this time period, thereby determining the identifier of the user as the target user identifier. In the selection process, if there are multiple options, random selection can be made, and when assigning abnormalities, one change abnormality information is also randomly selected and assigned.
[0089] According to an embodiment of the present disclosure, after determining the target user identifier and the target abnormal information, the target abnormal information is sent to the host address corresponding to the target user identifier in the operation control table. The target abnormal information is reallocated according to the cross-overlapping of multiple change time periods, so that multiple abnormalities can be resolved in a timely manner.
[0090] Figure 5 The flowchart of personnel scheduling according to an embodiment of the present disclosure is schematically shown.
[0091] like Figure 5 As shown, the personnel scheduling of this embodiment includes operations S501 to S510.
[0092] In operation S501, a time window is acquired from an operation control table.
[0093] According to an embodiment of the present disclosure, the time window includes the start time and the end time of the change time period.
[0094] In operation S502, implementation personnel are searched in all imported operation control tables according to the start time of the time window.
[0095] In operation S503, if the form is not filled in or the form is not in conformity with the format, the operation is terminated and a prompt is given to fill in the form again. The output form is YYYYMMDD XX:XX:XX.
[0096] In operation S504, it is searched whether there is the same implementer A at the same start time.
[0097] In operation S505, if it exists, implementer A is replaced with implementer B and searched again.
[0098] In operation S506, if it does not exist, the update is normal and a new system change personnel scheduling diagram is generated.
[0099] In operation S507, if it still exists and a conflict occurs, it is determined that the implementation personnel B has been occupied and cannot be updated.
[0100] In operation S508, implementation personnel with other start times are searched for to fill in the gaps.
[0101] In operation S509, the update is normal, and the system change personnel scheduling diagram is updated according to the change time window.
[0102] In operation S510, if the implementation personnel are insufficient and arrangements cannot be made, a prompt message is generated.
[0103] According to the embodiments of the present disclosure, by replacing the implementation personnel with the same start time, the processing efficiency is higher during the system change process and the occurrence of time conflicts is reduced.
[0104] According to an embodiment of the present disclosure, the system change method also includes: when analyzing the operation control table and determining that an external tool needs to be called during the process of changing the system, in response to a user's operation completion instruction on the external tool, multiple format-converted change commands are executed in sequence to complete the change to the system.
[0105] According to an embodiment of the present disclosure, during the process of changing the system, if an external tool needs to be called, this step can be added to the change items in the operation control table to meet the changes in various situations. After the call is completed, part of this tool needs to be changed manually. In response to the user's operation completion instruction for the external tool, the change commands after multiple format conversions are continued to be executed in sequence to complete the change to the system, wherein the operation completion instruction can be triggered by the user clicking the "return" button in the interface. The external change tool can be a browser or an image tool.
[0106] According to the embodiments of the present disclosure, when an abnormality occurs in a system change, an abnormality prompt will be displayed, and a processing flow chart will be displayed. After the system change is completed, a statistical report will be generated for the changes in all operation control tables. The report part of the abnormal change needs to be entered manually, such as the cause, measures, impact, etc. By summarizing the change process, it is convenient to handle the abnormality later.
[0107] Based on the above system change method, the present disclosure also provides a system change device. Figure 6 The device is described in detail.
[0108] Figure 6 The structural block diagram of the system changing device according to the embodiment of the present disclosure is schematically shown.
[0109] like Figure 6As shown, the system change device 600 of this embodiment includes a report acquisition module 610 , a format conversion module 620 , a function verification module 630 and a command execution module 640 .
[0110] The report acquisition module 610 is used to respond to the user's operation of uploading the operation control table and acquire the operation control table used to perform system changes, wherein the operation control table includes a change system identifier and multiple change items, and each change item has a corresponding change command. In one embodiment, the report acquisition module 610 can be used to perform the operation S210 described above, which will not be repeated here.
[0111] The format conversion module 620 is used to convert the format of each change command in the operation control table into a preset format, wherein the preset format is a command format executable by the change control system. In one embodiment, the format conversion module 620 can be used to perform the operation S220 described above, which will not be repeated here.
[0112] The function verification module 630 is used to perform function verification on the multiple format-converted change commands according to the system verification rules corresponding to the change system identifier and the item verification rules corresponding to each change item to obtain a verification result. In one embodiment, the function verification module 630 can be used to perform the operation S230 described above, which will not be repeated here.
[0113] The command execution module 640 is used to execute the multiple format-converted change commands in sequence according to the change order of the multiple change items in the operation control table to complete the system change when the verification result indicates that the verification has passed. In one embodiment, the command execution module 640 can be used to execute the operation S240 described above, which will not be repeated here.
[0114] According to an embodiment of the present disclosure, the format conversion module 620 includes a rule determination submodule and a command conversion submodule.
[0115] The rule determination submodule is used to determine a mapping rule for format conversion of the change command according to the grammatical characteristics and the preset format of the change command.
[0116] The command conversion submodule is used to convert multiple change commands one by one by using mapping rules to obtain multiple change commands after format conversion.
[0117] According to an embodiment of the present disclosure, the function verification module 630 includes a rule sorting submodule, a command verification submodule, a field detection submodule, a first output submodule and a second output submodule.
[0118] The rule sorting submodule is used to sort multiple sub-rules for each change item according to the verification level of each sub-rule in the system verification rules to generate a rule sequence, wherein each sub-rule verifies different functions, and the multiple sub-rules include sub-rules formulated according to system change standards and sub-rules formulated according to historical change exception data.
[0119] The command verification submodule is used to verify the format-converted change commands corresponding to the change items in sequence according to the verification level order from high to low in the rule sequence using multiple sub-rules.
[0120] The field detection submodule is used to detect necessary fields of the change command after format conversion using the matter verification rules to obtain the detection results when it is determined that multiple sub-rules have been verified and passed.
[0121] The first output submodule is used to output a verification result indicating that the verification failed when it is determined that there is a sub-rule verification failure or when the detection result indicates that the detection failed.
[0122] The second output submodule is used to output a verification result indicating that the verification has passed when it is determined that the detection results of multiple change items have all passed.
[0123] According to an embodiment of the present disclosure, the system changing device 600 further includes a mode determination module, a command modification module and a re-verification module.
[0124] The method determination module is used to search for a corresponding solution from the exception database according to the function verified by the sub-rule that failed the verification when it is determined that there is a sub-rule that failed the verification.
[0125] The command modification module is used to modify the change command after format conversion according to the solution method.
[0126] The re-verification module is used to re-verify the modified change command using the sub-rule that failed the verification, so as to output a verification result indicating that the verification failed when the verification fails.
[0127] According to an embodiment of the present disclosure, the system change apparatus 600 further includes an abnormality determination module, a time determination module, a mapping establishment module and a mapping analysis module.
[0128] The abnormality determination module is used to determine the abnormal user identification and abnormal change items in each abnormal change information when abnormal change information is received from multiple systems within a preset time period.
[0129] The time determination module is used to determine, for each system, a change time period corresponding to an abnormal change item from an operation control table imported into the change control system.
[0130] The mapping establishment module is used to establish an abnormal mapping relationship between the changed time period and the abnormal user identifier.
[0131] The mapping analysis module is used to analyze the abnormal mapping relationships of multiple systems, so as to allocate tasks for multiple change abnormal information according to the cross-overlap of multiple change time periods when it is determined that there is cross-overlap in multiple change time periods corresponding to the same abnormal user identifier in multiple abnormal mapping relationships.
[0132] According to an embodiment of the present disclosure, the mapping analysis module includes an identification determination submodule, an information determination submodule and an information sending submodule.
[0133] The identification determination submodule is used to determine the target user identification based on the abnormal user identification in the system change personnel scheduling diagram generated according to the dependency relationship between multiple operation control tables for abnormal user identifications with overlapping change time periods.
[0134] An information determination submodule, used to determine target abnormal information from multiple abnormal change information including abnormal user identifiers according to the cross-overlapping of multiple change time periods;
[0135] The information sending submodule is used to send the target abnormal information to the host address corresponding to the target user identifier in the operation control table.
[0136] According to an embodiment of the present disclosure, the system changing device 600 further includes a command response module.
[0137] The instruction response module is used to analyze the operation control table and determine that the process of changing the system requires calling an external tool. In response to the user's operation completion instruction on the external tool, multiple format-converted change commands are executed in sequence to complete the change of the system.
[0138] According to an embodiment of the present disclosure, any multiple modules of the report acquisition module 610, the format conversion module 620, the function verification module 630 and the command execution module 640 can be combined into one module for implementation, or any one of the modules can be split into multiple modules. Alternatively, at least part of the functions of one or more of these modules can be combined with at least part of the functions of other modules and implemented in one module. According to an embodiment of the present disclosure, at least one of the report acquisition module 610, the format conversion module 620, the function verification module 630 and the command execution module 640 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the report acquisition module 610, the format conversion module 620, the function verification module 630 and the command execution module 640 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.
[0139] Figure 7 A block diagram of an electronic device suitable for implementing a system changing method according to an embodiment of the present disclosure is schematically shown.
[0140] like Figure 7 As shown, the electronic device 700 according to an embodiment of the present disclosure includes a processor 701, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 702 or a program loaded from a storage part 708 to a random access memory (RAM) 703. The processor 701 may include, for example, a general-purpose microprocessor (such as a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (for example, an application-specific integrated circuit (ASIC)), etc. The processor 701 may also include an onboard memory for caching purposes. The processor 701 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0141] In RAM 703, various programs and data required for the operation of electronic device 700 are stored. Processor 701, ROM 702 and RAM 703 are connected to each other via bus 704. Processor 701 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 702 and / or RAM 703. It should be noted that the program can also be stored in one or more memories other than ROM 702 and RAM 703. Processor 701 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in one or more memories.
[0142] According to an embodiment of the present disclosure, the electronic device 700 may further include an input / output (I / O) interface 705, which is also connected to the bus 704. The electronic device 700 may further include one or more of the following components connected to the input / output (I / O) interface 705: an input portion 706 including a keyboard, a mouse, etc.; an output portion 707 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 708 including a hard disk, etc.; and a communication portion 709 including a network interface card such as a LAN card, a modem, etc. The communication portion 709 performs communication processing via a network such as the Internet. A drive 710 is also connected to the input / output (I / O) interface 705 as needed. A removable medium 711, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 710 as needed, so that a computer program read therefrom is installed into the storage portion 708 as needed.
[0143] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0144] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium, for example, it may include but is not limited to: 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), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by or in combination with an instruction execution system, an apparatus or a device. For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 702 and / or RAM 703 described above and / or one or more memories other than ROM 702 and RAM 703.
[0145] The embodiment of the present disclosure also includes a computer program product, which includes a computer program, and the computer program contains program code for executing the method shown in the flowchart. When the computer program product is run in a computer system, the program code is used to enable the computer system to implement the system change method provided by the embodiment of the present disclosure.
[0146] The above functions defined in the system / device of the embodiment of the present disclosure are performed when the computer program is executed by the processor 701. According to the embodiment of the present disclosure, the system, device, module, unit, etc. described above can be implemented by a computer program module.
[0147] In one embodiment, the computer program may rely on tangible storage media such as optical storage devices, magnetic storage devices, etc. In another embodiment, the computer program may also be transmitted and distributed in the form of signals on a network medium, and downloaded and installed through the communication part 709, and / or installed from the removable medium 711. The program code contained in the computer program may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0148] In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 709, and / or installed from the removable medium 711. When the computer program is executed by the processor 701, the above functions defined in the system of the embodiment of the present disclosure are performed. According to the embodiment of the present disclosure, the system, device, means, module, unit, etc. described above can be implemented by a computer program module.
[0149] According to an embodiment of the present disclosure, the program code for executing the computer program provided by the embodiment of the present disclosure can be written in any combination of one or more programming languages. Specifically, these computing programs can be implemented using high-level process and / or object-oriented programming languages, and / or assembly / machine languages. Programming languages include, but are not limited to, Java, C++, python, "C" language or similar programming languages. The program code can be executed entirely on the user computing device, partially on the user device, partially on the remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device can be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or can be connected to an external computing device (for example, using an Internet service provider to connect through the Internet).
[0150] The flow charts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0151] It will be appreciated by those skilled in the art that the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways, even if such combinations or combinations are not explicitly described in the present disclosure. In particular, without departing from the spirit and teachings of the present disclosure, the features described in the various embodiments of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
[0152] The embodiments of the present disclosure are described above. However, these embodiments are only for illustrative purposes and are not intended to limit the scope of the present disclosure. Although the embodiments are described above, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.
Claims
1. A system change method, characterized in that: Applied to a change control system, the method comprises: In response to the user's operation of uploading the operation control table, an operation control table for performing system changes is obtained, wherein the operation control table includes a change system identifier and a plurality of change items, and each of the change items has a corresponding change command; Converting the format of each change command in the operation control table into a preset format, wherein the preset format is a command format executable by the change control system; According to the system verification rule corresponding to the changed system identifier and the item verification rule corresponding to each of the changed items, function verification is performed on the multiple format-converted change commands to obtain a verification result; When the verification result indicates that the verification is passed, the multiple change commands after the format conversion are executed in sequence according to the change order of the multiple change items in the operation control table to complete the system change.
2. The method according to claim 1, characterized in that The converting the format of each change command in the operation control table into a preset format comprises: Determining a mapping rule for format conversion of the change command according to the grammatical characteristics of the change command and the preset format; The mapping rule is used to convert the multiple change commands one by one to obtain multiple change commands after format conversion.
3. The method according to claim 1, characterized in that The system verification rule includes a plurality of sub-rules of different verification levels. According to the system verification rule corresponding to the changed system identifier and the item verification rule corresponding to each of the changed items, a function verification is performed on the multiple format-converted change commands to obtain a verification result, including: For each of the change items, according to the verification level of each sub-rule in the system verification rule, multiple sub-rules are sorted to generate a rule sequence, wherein each sub-rule verifies a different function, and the multiple sub-rules include sub-rules formulated according to the system change standard and sub-rules formulated according to the historical change abnormal data; According to the verification level order from high to low in the rule sequence, the change command corresponding to the change item after format conversion is verified in sequence by using the plurality of sub-rules; When it is determined that the plurality of sub-rules have been verified and passed, the necessary fields of the format-converted change command are detected by using the event verification rule to obtain a detection result; In the case where it is determined that the sub-rule fails the verification, or the test result indicates that the test fails, outputting the verification result indicating that the verification fails; When it is determined that the detection results of the plurality of change items are all passed, a verification result indicating that the verification is passed is output.
4. The method according to claim 3, characterized in that The method further comprises: When it is determined that the sub-rule fails to be verified, a corresponding solution is searched from the exception database according to the function verified by the sub-rule that fails to be verified; Modify the format-converted change command according to the solution; The modified change command is re-verified using the sub-rule for the unverified command, so that if the verification fails, a verification result indicating that the verification fails is output.
5. The method according to claim 1, characterized in that: The method further comprises: In the case where abnormal change information is received from multiple systems within a preset time period, determining an abnormal user identifier and an abnormal change item in each abnormal change information; For each of the systems, determining a change time period corresponding to the abnormal change event from an operation control table imported into the change control system; Establishing an abnormal mapping relationship between the changed time period and the abnormal user identifier; The abnormal mapping relationships of the multiple systems are analyzed to allocate tasks for the multiple change abnormal information according to the overlapping situations of the multiple change time periods when it is determined that there are cross-overlaps in the multiple change time periods corresponding to the same abnormal user identifier in the multiple abnormal mapping relationships.
6. The method according to claim 5, characterized in that The step of assigning tasks to the plurality of abnormal change information according to the overlapping conditions of the plurality of change time periods includes: For abnormal user identifiers with overlapping change time periods, based on the abnormal user identifiers, a target user identifier is determined from a system change personnel scheduling diagram generated according to the dependency relationship between the plurality of operation control tables; According to the cross-overlapping of multiple change time periods, determine target abnormal information from multiple change abnormal information including the abnormal user identifier; The target abnormal information is sent to the host address corresponding to the target user identifier in the operation control table.
7. The method according to claim 1, characterized in that The method further comprises: When analyzing the operation control table and determining that the process of changing the system requires calling an external tool, in response to the user's operation completion instruction for the external tool, multiple format-converted change commands are executed in sequence to complete the change to the system.
8. A system change device, characterized in that: The device comprises: A report acquisition module, used for acquiring an operation control table for system change in response to a user's operation of uploading the operation control table, wherein the operation control table includes a change system identifier and a plurality of change items, each of which has a corresponding change command; A format conversion module, used to convert the format of each change command in the operation control table into a preset format, wherein the preset format is a command format executable by the change control system; A function verification module, configured to perform function verification on the multiple format-converted change commands according to the system verification rule corresponding to the change system identifier and the item verification rule corresponding to each of the change items, and obtain a verification result; The command execution module is used to execute the multiple format-converted change commands in sequence according to the change order of the multiple change items in the operation control table when the verification result indicates that the verification is passed, so as to complete the system change.
9. An electronic device, comprising: one or more processors; a memory for storing one or more computer programs, It is characterized in that the one or more processors execute the one or more computer programs to implement the steps of the method according to any one of claims 1 to 7.
10. A computer-readable storage medium having a computer program or instruction stored thereon, characterized in that: When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.
11. A computer program product comprising a computer program or instructions, characterized in that When the computer program or instruction is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.