Configuration updating method and device, computer equipment and storage medium

By receiving configuration update requests, parsing rules to generate an interactive interface, and updating the configuration, the problem of high learning costs for operations personnel and inaccurate updates in traditional methods is solved, achieving more efficient configuration updates.

CN120856559APending Publication Date: 2025-10-28CHINA PING AN LIFE INSURANCE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510724284.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-05-30
Publication Date
2025-10-28

AI Technical Summary

Technical Problem

Traditional configuration maintenance and update methods increase the learning cost and workload for operations personnel, and cannot guarantee the accuracy and efficiency of configuration updates.

Method used

It receives configuration update requests sent by user terminals, reads the specification definition rules in the system database, parses the original JSON configuration information item by item according to the rules, generates a user interface, receives input data from operations personnel, and performs configuration update operations.

Benefits of technology

It effectively reduces the learning cost and work difficulty for operations personnel, and improves the accuracy and efficiency of configuration updates.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120856559A_ABST
    Figure CN120856559A_ABST
Patent Text Reader

Abstract

The embodiment of the invention belongs to the technical field of artificial intelligence, is suitable for the field of finance or medical treatment, and relates to a configuration updating method and device, computer equipment and a storage medium, the method comprises the steps that a configuration updating request sent by a user terminal is received, and the configuration updating request comprises original Json configuration information to be updated; reading a system database, and obtaining a standard definition rule in the system database; performing item-by-item analysis operation on the original Json configuration information according to the standard definition rule to obtain a configuration analysis result; generating a user interaction interface according to the configuration analysis result, and displaying the interaction interface to an operator through the user terminal; receiving to-be-updated table data input by an operator through the interactive interface; and performing configuration updating operation on the original Json configuration information according to the table data to be updated. According to the invention, the learning cost and the working difficulty of operators are effectively reduced, and the accuracy and the efficiency of configuration updating are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of artificial intelligence technology, applicable to the financial or medical fields, and particularly to a configuration update method, apparatus, computer equipment, and storage medium. Background Technology

[0002] With the development of communication technology, applications have been widely used on the Internet, especially financial applications. In the daily operation of these applications, JSON format is generally used for configuration maintenance and updates.

[0003] However, the applicant found that when new operations staff lacked understanding of JSON structure, the specific structure of JSON presented a significant learning curve for those unfamiliar with JSON format. Furthermore, certain punctuation marks in JSON, such as commas (""), required English characters for separators, and arrays could not contain commas in the last column. Incorrect configurations were difficult for operations staff to detect and correct, necessitating developer assistance and resulting in a substantial waste of human and material resources.

[0004] Therefore, traditional configuration maintenance and update methods increase the learning cost and workload for operations personnel, and cannot guarantee the accuracy and efficiency of configuration updates. Summary of the Invention

[0005] The purpose of this application is to provide a configuration update method, apparatus, computer device, and storage medium to solve the problems that traditional configuration maintenance and update methods increase the learning cost and workload of operators and cannot guarantee the accuracy and efficiency of configuration updates.

[0006] To address the aforementioned technical problems, this application provides a configuration update method, employing the following technical solution:

[0007] Receive a configuration update request sent by a user terminal, wherein the configuration update request includes the original JSON configuration information to be updated;

[0008] Read the system database and retrieve the specification definition rules from the system database;

[0009] The original JSON configuration information is parsed item by item according to the rules defined in the specification to obtain the configuration parsing result;

[0010] A user interface is generated based on the configuration parsing results, and the user interface is displayed to the operations personnel through the user terminal.

[0011] Receive table data to be updated from operators via the interactive interface;

[0012] The original JSON configuration information is updated based on the data in the table to be updated.

[0013] To address the aforementioned technical problems, this application also provides a configuration update device, which employs the following technical solution:

[0014] The request acquisition module is used to receive a configuration update request sent by the user terminal, wherein the configuration update request includes the original JSON configuration information to be updated;

[0015] The rule acquisition module is used to read the system database and obtain the specification definition rules from the system database;

[0016] The item-by-item parsing module is used to perform item-by-item parsing operations on the original JSON configuration information according to the rules defined in the specification, and obtain the configuration parsing result;

[0017] An interactive interface generation module is used to generate a user interactive interface based on the configuration parsing result, and to display the interactive interface to the operations personnel through the user terminal.

[0018] The data to be updated acquisition module is used to receive the table data to be updated input by the operators through the interactive interface;

[0019] The configuration update module is used to perform configuration update operations on the original JSON configuration information based on the table data to be updated.

[0020] To address the aforementioned technical problems, this application also provides a computer device that employs the following technical solution:

[0021] It includes a memory and a processor, wherein the memory stores computer-readable instructions, and the processor executes the computer-readable instructions to implement the steps of the configuration update method as described above.

[0022] To address the aforementioned technical problems, this application also provides a computer-readable storage medium, employing the technical solution described below:

[0023] The computer-readable storage medium stores computer-readable instructions, which, when executed by a processor, implement the steps of the configuration update method as described above.

[0024] This application provides a configuration update method, comprising: receiving a configuration update request sent by a user terminal, wherein the configuration update request includes original JSON configuration information to be updated; reading a system database and obtaining specification definition rules from the system database; performing item-by-item parsing operations on the original JSON configuration information according to the specification definition rules to obtain configuration parsing results; generating a user interface based on the configuration parsing results and displaying the interface to operations personnel through the user terminal; receiving table data to be updated input by operations personnel through the interface; and performing a configuration update operation on the original JSON configuration information based on the table data to be updated. Compared with the prior art, this application effectively reduces the learning cost and work difficulty for operations personnel and improves the accuracy and efficiency of configuration updates. Attached Figure Description

[0025] To more clearly illustrate the solutions in this application, the accompanying drawings used in the description of the embodiments of this application will be briefly introduced below. Obviously, the accompanying drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is an exemplary system architecture diagram to which this application can be applied;

[0027] Figure 2 This is a flowchart illustrating the implementation of the configuration update method provided in this application embodiment;

[0028] Figure 3 This is a schematic diagram of the configuration update device provided in the embodiments of this application;

[0029] Figure 4 This is a schematic diagram of the structure of one embodiment of the computer device according to this application. Detailed Implementation

[0030] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the terminology used herein in the specification of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application; the terms "comprising" and "having," and any variations thereof, in the specification, claims, and foregoing drawings of this application, are intended to cover non-exclusive inclusion. The terms "first," "second," etc., in the specification, claims, or foregoing drawings of this application are used to distinguish different objects, not to describe a particular order.

[0031] In this document, the term "embodiment" means that a particular feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The appearance of this phrase in various places throughout the specification does not necessarily refer to the same embodiment, nor is it a separate or alternative embodiment mutually exclusive with other embodiments. It will be explicitly and implicitly understood by those skilled in the art that the embodiments described herein can be combined with other embodiments.

[0032] To enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings.

[0033] like Figure 1 As shown, system architecture 100 may include terminal device 101, network 102, and server 103. Terminal device 101 may be a laptop 1011, tablet 1012, or mobile phone 1013. Network 102 is used as a medium to provide a communication link between terminal device 101 and server 103. Network 102 may include various connection types, such as wired, wireless communication links, or fiber optic cables, etc.

[0034] Users can use terminal device 101 to interact with server 103 via network 102 to receive or send messages, etc. Various communication client applications can be installed on terminal device 101, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social media platform software, etc.

[0035] Terminal device 101 can be various electronic devices with a display screen and support web browsing. In addition to laptops 1011, tablets 1012, or mobile phones 1013, terminal device 101 can also be an e-book reader, an MP3 player (Moving Picture Experts Group Audio Layer III), an MP4 player (Moving Picture Experts Group Audio Layer IV), a laptop computer, and a desktop computer, etc.

[0036] Server 103 can be a server that provides various services, such as a backend server that provides support for the pages displayed on terminal device 101.

[0037] It should be noted that the configuration update method provided in this application embodiment is generally executed by a server / terminal device, and correspondingly, the configuration update device is generally set in the server / terminal device.

[0038] It should be understood that Figure 1The number of terminal devices, networks, and servers shown is merely illustrative. Depending on implementation needs, any number of terminal devices, networks, and servers can be included.

[0039] Continue to refer to Figure 2 The diagram illustrates a flowchart of an embodiment of the configuration update method according to this application. The configuration update method includes steps S201, S202, S203, S204, S205, and S206.

[0040] In step S201, a configuration update request sent by the user terminal is received, wherein the configuration update request includes the original JSON configuration information to be updated.

[0041] In the embodiments of this application, the user terminal refers to a terminal device used to execute the image processing method for preventing document abuse provided in this application. The user terminal may be a mobile terminal such as a mobile phone, smartphone, laptop, digital broadcast receiver, PDA (personal digital assistant), PAD (tablet computer), PMP (portable multimedia player), navigation device, etc., as well as a fixed terminal such as a digital TV, desktop computer, etc. It should be understood that the examples of user terminals here are only for convenience of understanding and are not intended to limit this application.

[0042] In this embodiment, operators input raw JSON configuration information through their terminal devices (such as mobile phones, computers, etc.), and this input is received by the system. This raw JSON configuration information is the specific content that the operators want the system to update. Specifically, the raw JSON configuration information can be operational configuration information related to financial institution apps (such as banks), or medical configuration information related to medical scenarios. It should be understood that the examples of raw JSON configuration information here are for ease of understanding only and are not intended to limit this application.

[0043] In step S202, the system database is read, and the specification definition rules are obtained from the system database.

[0044] In this embodiment, the system database is a database that stores all configuration item specification definition rules. These rules define the data type, value range, format requirements, etc., of each configuration item and are the basis for parsing and verifying the configuration items.

[0045] In this embodiment of the application, after receiving a configuration update request, the system reads the specification definition rules related to the configuration item to be updated from the database so as to parse and verify the original JSON configuration information in the future.

[0046] In step S203, the original JSON configuration information is parsed item by item according to the rules defined in the specification to obtain the configuration parsing result.

[0047] In this embodiment, the system parses each item in the original JSON configuration information according to the rules defined in the specification. This includes identifying the name, data type, and value range of the configuration item, and checking whether it conforms to the requirements defined in the specification.

[0048] In this embodiment of the application, after the parsing is completed, the system will generate a configuration parsing result. This result includes the parsing status of each configuration item (such as success or failure), the parsed value (if the parsing is successful), and possible error information (if the parsing fails).

[0049] In step S204, a user interface is generated based on the configuration parsing results and displayed to operations personnel through the user terminal.

[0050] In this embodiment, the system generates a user interface based on the configuration parsing results. This interface displays the configuration items in a table, form, or other easily understandable and operable format, allowing operators to intuitively see the current value, value range, and possible error messages of each configuration item.

[0051] In this embodiment of the application, the system will display the generated interactive interface to the operations personnel through the user terminal, so that they can perform subsequent update operations.

[0052] In step S205, the table data to be updated is received by the operators through the interactive interface.

[0053] In this embodiment, after viewing the interactive interface, operators may modify or update the values ​​of certain configuration items as needed. They will enter new values ​​on the interactive interface, and these values ​​will be received by the system in the form of tabular data.

[0054] In step S206, the original JSON configuration information is updated based on the data in the table to be updated.

[0055] In this embodiment, after receiving the table data to be updated input by the operations personnel, the system updates the original JSON configuration information based on this data. This includes modifying the values ​​of configuration items, adding new configuration items, or deleting configuration items that are no longer needed.

[0056] In this embodiment, after the update is completed, the system saves the updated JSON configuration information to the system database for later use. Simultaneously, the system can also choose to send the update result back to operations personnel to confirm whether the update operation was successful.

[0057] This application provides a configuration update method, comprising: receiving a configuration update request sent by a user terminal, wherein the configuration update request includes original JSON configuration information to be updated; reading a system database and obtaining specification definition rules from the system database; performing item-by-item parsing operations on the original JSON configuration information according to the specification definition rules to obtain configuration parsing results; generating a user interface based on the configuration parsing results and displaying the interface to operations personnel through the user terminal; receiving table data to be updated input by operations personnel through the interface; and performing configuration update operations on the original JSON configuration information based on the table data to be updated. Compared with the prior art, this application effectively reduces the learning cost and work difficulty for operations personnel and improves the accuracy and efficiency of configuration updates.

[0058] In some optional implementations of the embodiments of this application, the step of parsing the original JSON configuration information item by item according to the rules defined in the specification to obtain the configuration parsing result specifically includes the following steps:

[0059] Read the name of each configuration item sequentially;

[0060] Confirm the field definition corresponding to the name according to the definition rules in the specification;

[0061] Confirm the parsing method based on the parsing method defined in the field definition;

[0062] The configuration items are parsed according to the parsing method to obtain the parsed values ​​of the configuration items;

[0063] Add title and description information corresponding to the field definition to the configuration item parsing value to obtain the configuration parsing result.

[0064] In this embodiment of the application, the original JSON configuration information items can be as follows:

[0065]

[0066] In this embodiment, the operator updates the page through configuration items. Since this may be difficult for the operator to understand, we refer to JSON Schema and JSON to define a set of specifications defining the meaning and constraints of each field as follows:

[0067]

[0068]

[0069] According to the above specifications, the program parses the content. If the table title is "Test Registration Form", then the HTML title will be used.<d i v> The tag is specified with a bold style and a large font size. The description is then inserted below the title.

[0070] Next, the "type" is read to determine that the overall data is of type object, and then the key and value of the "properties" object are read.

[0071] Once we get the first attribute `fir stName`, we read the type: `st ring`, and then use the input box component we defined earlier (a combination of `div` and `el-input`) to fill in the corresponding title, description, default, and other information in sequence, while defining the component's id as "fir stName".

[0072] Replace elements in this order. When reading age, if the type is type: int, then use el-input-numer to display it.

[0073] Compared with existing technologies, this application can effectively check whether the original JSON configuration information meets the requirements defined in the specification.

[0074] In some optional implementations of the embodiments of this application, after the step of parsing the configuration item according to the parsing method to obtain the parsed value of the configuration item, and before the step of adding title information and description information corresponding to the field definition to the parsed value of the configuration item to obtain the configuration parsing result, the following steps are also included:

[0075] The parsed values ​​of the configuration items are validated according to the constraints defined in the specification rules, and the validation results are obtained.

[0076] If the verification result is abnormal, the configuration item will be re-parsed.

[0077] If the verification result is not abnormal, then the step of adding the title and description information corresponding to the field definition to the configuration item parsing value is executed to obtain the configuration parsing result.

[0078] In this embodiment of the application, constraints in the field definition, such as maximum value, minimum value, and format requirements, are used to verify the parsed value.

[0079] In this embodiment of the application, corresponding title and description information are added to the parsed configuration items according to the title and description in the field definition, so that operators can understand them.

[0080] Compared with existing technologies, this application greatly facilitates the understanding of operations personnel by adding corresponding titles and descriptions to the configuration parsing results.

[0081] In some optional implementations of the embodiments of this application, the step of verifying the parsed value of the configuration item according to the constraints in the specification definition rules to obtain the verification result specifically includes the following steps:

[0082] The configuration item parsing values ​​are initially verified based on the constraints defined in the specification rules to obtain preliminary verification results.

[0083] Input the configuration items that have passed the initial verification into the trained configuration item verification model to perform model verification and obtain the model verification results.

[0084] The preliminary validation results and the model validation results are combined into a single validation result.

[0085] In this embodiment, the parsed values ​​of configuration items are initially verified based on the constraints in the rules defined in the specification. This step can quickly eliminate configuration items that clearly do not conform to the specification.

[0086] In this embodiment, configuration items that pass preliminary verification are further verified using a trained learning model. The model can perform more in-depth analysis and judgment on the parsed values ​​of configuration items based on the learned patterns and rules.

[0087] Compared with existing technologies, this application can perform more in-depth analysis and judgment on the parsed values ​​of configuration items.

[0088] In some optional implementations of the embodiments of this application, before the step of inputting the configuration item with the preliminary verification result as normal into the trained configuration item verification model to perform model verification operation and obtain the model verification result, the following step is also included:

[0089] Retrieve historical configuration data and corresponding historical verification results from the system database;

[0090] Extract feature information related to configuration item parsing from historical configuration data;

[0091] An initial configuration item verification model is constructed, and the initial configuration item verification model is trained based on the feature information and the historical verification results corresponding to the feature information to obtain a trained configuration item verification model.

[0092] In this embodiment, a suitable learning model, such as a decision tree, random forest, support vector machine (SVM), or neural network, is selected based on the requirements of configuration item parsing. These models can be used to learn the latent patterns and rules of configuration items, thereby assisting or replacing traditional rule-based verification methods.

[0093] In this embodiment, a large amount of historical configuration data and its verification results are collected as training data for the learning model. This data should cover all possible configuration items and their corresponding constraints.

[0094] In this embodiment of the application, features related to configuration item parsing, such as the type, value range, and format of the configuration item, are extracted from the training data.

[0095] In this embodiment, the extracted features and corresponding verification results are used to train a learning model. The goal of the model is to learn the mapping relationship between the parsed values ​​of configuration items and the verification results.

[0096] Compared with existing technologies, the model trained in this application can learn the mapping relationship between configuration item parsing values ​​and verification results, so as to accurately perform model verification operations.

[0097] In some optional implementations of the embodiments of this application, after the step of inputting the configuration item with the preliminary verification result as normal into the trained configuration item verification model for model verification operation to obtain the verification result, the following steps are also included:

[0098] The verification results are displayed to operations personnel via user terminals;

[0099] Receive feedback information corresponding to the verification results sent by user operations personnel through user terminals;

[0100] Based on the feedback, we optimized and adjusted the constraints in the rules defined in the specification and the trained configuration item verification model.

[0101] In this embodiment, the configuration items are processed accordingly based on the verification results, such as accepting, rejecting, or prompting the user to modify them. Simultaneously, the verification results are fed back to the learning model for continuous optimization and adjustment.

[0102] In the embodiments of this application, the learning model is updated regularly as new data is continuously accumulated to improve its accuracy and generalization ability.

[0103] In this application embodiment, the constraints in the specification definition rules are adjusted in a timely manner according to business needs and verification results to adapt to new configuration items and verification requirements.

[0104] In this embodiment of the application, the verification results are presented to the operators in a user-friendly manner, such as by using color coding, icons, or prompts to indicate the status of the configuration items.

[0105] In this application embodiment, specific operation guidance can be provided for configuration items that fail verification to help operators quickly locate the problem and make modifications.

[0106] Compared with existing technologies, this application can leverage the powerful learning and generalization capabilities of the learning model.

[0107] The embodiments of this application can acquire and process relevant data based on artificial intelligence technology. Artificial intelligence (AI) is the theory, method, technology, and application system that uses digital computers or machines controlled by digital computers to simulate, extend, and expand human intelligence, perceive the environment, acquire knowledge, and use that knowledge to obtain optimal results.

[0108] Foundational technologies for artificial intelligence generally include sensors, dedicated AI chips, cloud computing, distributed storage, big data processing, operating / interactive systems, and mechatronics. AI software technologies mainly encompass computer vision, robotics, biometrics, speech processing, natural language processing, and machine learning / deep learning.

[0109] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by instructing related hardware through computer-readable instructions. These computer-readable instructions can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the methods described above. The aforementioned storage medium can be a non-volatile storage medium such as a magnetic disk, optical disk, or read-only memory (ROM), or random access memory (RAM).

[0110] It should be understood that although the steps in the flowcharts of the accompanying figures are shown sequentially as indicated by the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the accompanying figures may include multiple sub-steps or multiple stages. These sub-steps or stages are not necessarily completed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be performed alternately or in turn with other steps or at least some of the sub-steps or stages of other steps.

[0111] Further reference Figure 3 As a response to the above Figure 2 To implement the method shown, this application provides an embodiment of a configuration update device, which is similar to... Figure 2 Corresponding to the method embodiments shown, this device can be specifically applied to various electronic devices.

[0112] like Figure 3 As shown, the configuration update device 200 of this application embodiment includes:

[0113] The request acquisition module 210 is used to receive a configuration update request sent by the user terminal, wherein the configuration update request includes the original JSON configuration information to be updated;

[0114] The rule acquisition module 220 is used to read the system database and obtain the specification definition rules from the system database;

[0115] The item-by-item parsing module 230 is used to perform item-by-item parsing operations on the original JSON configuration information according to the rules defined in the specification, and obtain the configuration parsing results;

[0116] The interactive interface generation module 240 is used to generate a user interactive interface based on the configuration parsing results and display the interactive interface to the operations personnel through the user terminal.

[0117] The data acquisition module 250 is used to receive the table data to be updated input by the operations staff through the interactive interface;

[0118] The configuration update module 260 is used to update the original JSON configuration information based on the table data to be updated.

[0119] In this embodiment, a configuration update device 200 is provided, comprising: a request acquisition module 210, used to receive a configuration update request sent by a user terminal, wherein the configuration update request includes original JSON configuration information to be updated; a definition rule acquisition module 220, used to read a system database and acquire specification definition rules from the system database; an item-by-item parsing module 230, used to perform item-by-item parsing operations on the original JSON configuration information according to the specification definition rules to obtain configuration parsing results; an interactive interface generation module 240, used to generate a user interactive interface based on the configuration parsing results and display the interactive interface to operations personnel through a user terminal; a data to be updated acquisition module 250, used to receive table data to be updated input by operations personnel through the interactive interface; and a configuration update module 260, used to perform configuration update operations on the original JSON configuration information based on the table data to be updated. Compared with the prior art, this application effectively reduces the learning cost and work difficulty for operations personnel and improves the accuracy and efficiency of configuration updates.

[0120] In some optional implementations of the embodiments of this application, the above-mentioned item-by-item parsing module includes:

[0121] The name reading submodule is used to read the name of each configuration item in sequence;

[0122] The field definition confirmation submodule is used to confirm the field definitions corresponding to the names according to the definitions in the specification definition rules;

[0123] The parsing method confirmation submodule is used to confirm the parsing method based on the parsing method defined for the field.

[0124] The configuration item parsing submodule is used to parse configuration items according to the parsing method to obtain the parsed values ​​of the configuration items;

[0125] The parsing result acquisition submodule is used to add title and description information corresponding to the field definition to the parsed value of the configuration item to obtain the configuration parsing result.

[0126] In some optional implementations of the embodiments of this application, the above-mentioned item-by-item parsing module further includes:

[0127] The verification operation submodule is used to perform verification operations on the parsed values ​​of configuration items according to the constraints in the rules defined in the specification, and obtain the verification results.

[0128] The first verification result submodule is used to re-parse the configuration items if the verification result is abnormal.

[0129] The second verification result submodule is used to perform the step of adding title and description information corresponding to the field definition to the configuration item parsing value if there is no abnormality in the verification result, so as to obtain the configuration parsing result.

[0130] In some optional implementations of the embodiments of this application, the above verification operation submodule includes:

[0131] The preliminary verification unit is used to perform preliminary verification operations on the parsed values ​​of configuration items according to the constraints in the rules defined in the specification, and to obtain preliminary verification results.

[0132] The model validation unit is used to input configuration items whose preliminary validation results are normal into the trained configuration item validation model to perform model validation operations and obtain model validation results.

[0133] The verification result merging unit is used to merge the preliminary verification results and the model verification results into a single verification result.

[0134] In some optional implementations of the embodiments of this application, the above verification operation submodule further includes:

[0135] The historical data acquisition unit is used to acquire historical configuration data and corresponding historical verification results from the system database.

[0136] The feature extraction unit is used to extract feature information related to configuration item parsing from historical configuration data;

[0137] The model training unit is used to build an initial configuration item verification model and train the initial configuration item verification model based on the feature information and the historical verification results corresponding to the feature information to obtain a trained configuration item verification model.

[0138] In some optional implementations of the embodiments of this application, the above verification operation submodule further includes:

[0139] The verification result display unit is used to display the verification results to operations personnel through user terminals;

[0140] The feedback information acquisition unit is used to receive feedback information corresponding to the verification results sent by user operation personnel through user terminals;

[0141] The optimization and adjustment unit is used to optimize and adjust the constraints in the rules defined in the specification and the trained configuration item verification model based on feedback.

[0142] To address the aforementioned technical problems, embodiments of this application also provide a computer device. Please refer to [link / reference needed] for details. Figure 4 , Figure 4 This is a basic structural block diagram of a computer device according to an embodiment of this application.

[0143] The computer device 300 includes a memory 310, a processor 320, and a network interface 330 that are interconnected via a system bus. It should be noted that only the computer device 300 with components 310-330 is shown in the figure; however, it should be understood that it is not required to implement all the shown components, and more or fewer components can be implemented alternatively. Those skilled in the art will understand that the computer device described here is a device capable of automatically performing numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes, but is not limited to, microprocessors, application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), digital signal processors (DSPs), embedded devices, etc.

[0144] The computer device can be a desktop computer, laptop, handheld computer, or cloud server, etc. The computer device can interact with the user via a keyboard, mouse, remote control, touchpad, or voice control.

[0145] The memory 310 includes at least one type of readable storage medium, including flash memory, hard disk, multimedia card, card-type memory (e.g., SD or DX memory), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, magnetic disk, optical disk, etc. In some embodiments, the memory 310 may be an internal storage unit of the computer device 300, such as the hard disk or memory of the computer device 300. In other embodiments, the memory 310 may also be an external storage device of the computer device 300, such as a plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, etc. Of course, the memory 310 may also include both internal storage units and external storage devices of the computer device 300. In this embodiment, the memory 310 is typically used to store the operating system and various application software installed on the computer device 300, such as computer-readable instructions for configuring update methods. Furthermore, the memory 310 can also be used to temporarily store various types of data that have been output or will be output.

[0146] In some embodiments, the processor 320 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip. The processor 320 is typically used to control the overall operation of the computer device 300. In this embodiment, the processor 320 is used to execute computer-readable instructions stored in the memory 310 or to process data, for example, to execute computer-readable instructions for the configuration update method.

[0147] The network interface 330 may include a wireless network interface or a wired network interface, which is typically used to establish communication connections between the computer device 300 and other electronic devices.

[0148] The computer equipment provided in this application effectively reduces the learning cost and work difficulty for operators, and improves the accuracy and efficiency of configuration updates.

[0149] This application also provides another embodiment, namely, providing a computer-readable storage medium storing computer-readable instructions that can be executed by at least one processor to cause the at least one processor to perform the steps of the configuration update method as described above.

[0150] The computer-readable storage medium provided in this application effectively reduces the learning cost and work difficulty for operators, and improves the accuracy and efficiency of configuration updates.

[0151] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes several instructions to cause a terminal device (which may be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0152] Obviously, the embodiments described above are only some embodiments of this application, not all embodiments. The accompanying drawings show preferred embodiments of this application, but do not limit the patent scope of this application. This application can be implemented in many different forms; rather, the purpose of providing these embodiments is to provide a more thorough and comprehensive understanding of the disclosure of this application. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing specific embodiments, or make equivalent substitutions for some of the technical features. Any equivalent structures made using the content of this application's specification and drawings, directly or indirectly applied to other related technical fields, are similarly within the scope of patent protection of this application.

Claims

1. A configuration update method, characterized in that, Includes the following steps: Receive a configuration update request sent by a user terminal, wherein the configuration update request includes the original JSON configuration information to be updated; Read the system database and retrieve the specification definition rules from the system database; The original JSON configuration information is parsed item by item according to the rules defined in the specification to obtain the configuration parsing result; A user interface is generated based on the configuration parsing results, and the user interface is displayed to the operations personnel through the user terminal. Receive table data to be updated from operators via the interactive interface; The original JSON configuration information is updated based on the data in the table to be updated.

2. The configuration update method according to claim 1, characterized in that, The step of parsing the original JSON configuration information item by item according to the rules defined in the specification to obtain the configuration parsing result specifically includes the following steps: Read the name of each configuration item sequentially; Confirm the field definition corresponding to the name according to the definition in the specification definition rules; The parsing method is determined based on the parsing method defined in the field; The configuration item is parsed according to the parsing method to obtain the parsed value of the configuration item; Add title and description information corresponding to the field definition to the configuration item parsing value to obtain the configuration parsing result.

3. The configuration update method according to claim 2, characterized in that, After the step of parsing the configuration item according to the parsing method to obtain the configuration item parsing value, and before the step of adding title information and description information corresponding to the field definition to the configuration item parsing value to obtain the configuration parsing result, the following steps are also included: The parsed value of the configuration item is verified according to the constraints in the rules defined in the specification, and the verification result is obtained. If the verification result is abnormal, the configuration item will be re-parsed. If the verification result is not abnormal, then the step of adding title information and description information corresponding to the field definition to the configuration item parsing value is executed to obtain the configuration parsing result.

4. The configuration update method according to claim 3, characterized in that, The step of verifying the parsed value of the configuration item according to the constraints in the rules defined in the specification, and obtaining the verification result, specifically includes the following steps: The configuration item parsing value is initially verified according to the constraints in the rules defined in the specification, and the initial verification result is obtained. Input the configuration items that have passed the initial verification into the trained configuration item verification model to perform model verification and obtain the model verification results. The preliminary verification results and the model verification results are combined into the verification results.

5. The configuration update method according to claim 4, characterized in that, Before the step of inputting the configuration item with the preliminary verification result being normal into the trained configuration item verification model for model verification to obtain the verification result, the following steps are also included: Retrieve historical configuration data and corresponding historical verification results from the system database; Extract feature information related to configuration item parsing from the historical configuration data; An initial configuration item verification model is constructed, and the initial configuration item verification model is trained based on the feature information and the historical verification results corresponding to the feature information to obtain the trained configuration item verification model.

6. The configuration update method according to claim 1, characterized in that, After the step of inputting the configuration item with the preliminary verification result as normal into the trained configuration item verification model for model verification to obtain the verification result, the following steps are also included: The verification result is displayed to the operations personnel via the user terminal; Receive feedback information corresponding to the verification result sent by the user operations personnel through the user terminal; Based on the feedback, the constraints in the defined rules of the specification and the trained configuration item verification model are optimized and adjusted.

7. A configuration update device, characterized in that, include: The request acquisition module is used to receive a configuration update request sent by the user terminal, wherein the configuration update request includes the original JSON configuration information to be updated; The rule acquisition module is used to read the system database and obtain the specification definition rules from the system database; The item-by-item parsing module is used to perform item-by-item parsing operations on the original JSON configuration information according to the rules defined in the specification, and obtain the configuration parsing result; An interactive interface generation module is used to generate a user interactive interface based on the configuration parsing result, and to display the interactive interface to the operations personnel through the user terminal. The data to be updated acquisition module is used to receive the table data to be updated input by the operators through the interactive interface; The configuration update module is used to perform configuration update operations on the original JSON configuration information based on the table data to be updated.

8. The configuration update device according to claim 7, characterized in that, The item-by-item parsing module includes: The name reading submodule is used to read the name of each configuration item in sequence; The field definition confirmation submodule is used to confirm the field definition corresponding to the name according to the definition in the specification definition rules; The parsing method confirmation submodule is used to confirm the parsing method based on the parsing method defined in the field. The configuration item parsing submodule is used to parse the configuration item according to the parsing method to obtain the configuration item parsing value; The parsing result acquisition submodule is used to add title information and description information corresponding to the field definition to the parsed value of the configuration item to obtain the configuration parsing result.

9. A computer device, comprising a memory and a processor, characterized in that, The memory stores computer-readable instructions, and when the processor executes the computer-readable instructions, it implements the steps of the configuration update method as described in any one of claims 1 to 6.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-readable instructions that, when executed by a processor, implement the steps of the configuration update method as described in any one of claims 1 to 6.