A microprogram configuration method and system
Through automated authentication and configuration scheme generation, combined with microprogram controller and machine learning model, the problem of microprogram configuration relying on manual intervention is solved, and efficient, flexible and accurate microprogram configuration is achieved.
Patent Information
- Application Number
- CN202510035526.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-09
- Publication Date
- 2025-08-29
- Estimated Expiration
- 2045-01-09
AI Technical Summary
In the prior art, microprogram configuration relies on manual intervention, resulting in low configuration efficiency, accuracy and insufficient flexibility.
By receiving user requests, performing identity and permission authentication, generating micro-program configuration plans, and using micro-program controllers for automated configuration, combining machine learning models for configuration analysis and deviation monitoring, generating deviation warning signals.
Significantly reduce manual intervention, reduce the probability of errors, achieve efficient and flexible configuration of microprograms, and improve configuration efficiency and accuracy.
Smart Images

Figure CN120066607B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of microprogram design, and in particular to a microprogram configuration method and system. Background Art
[0002] In today's highly digital world, microprograms, as core components supporting complex systems and applications, are of undeniable importance. With the rapid development of technologies such as cloud computing, big data, and artificial intelligence, and the increasing diversification and complexity of enterprise business needs, the application scope of microprograms is expanding, and they play a vital role in system performance and user experience. However, despite the numerous conveniences and advantages brought by microprograms, their configuration management faces a series of challenges and difficulties. Traditional microprogram configuration methods often rely on manual intervention, which is not only inefficient but also prone to errors. Furthermore, as systems expand in scale and complexity, manual configuration can no longer meet the requirements for rapid response and flexible adjustments.
[0003] There is a technical problem in the existing technology that microprogram configuration relies on manual intervention, resulting in low configuration efficiency and accuracy, and insufficient flexibility. Summary of the Invention
[0004] The present application provides a microprogram configuration method and system for solving the technical problems in the prior art that microprogram configuration relies on manual intervention, resulting in low configuration efficiency and accuracy, and insufficient flexibility.
[0005] In view of the above problems, the present application provides a microprogram configuration method and system.
[0006] The first aspect of the present application provides a microprogram configuration method, which includes: receiving a microprogram request from a first user; performing authentication and verification based on the first user to obtain an authentication and verification result of the first user; when the authentication and verification result of the first user is passed, activating a matching microprogram; generating a microprogram configuration plan based on the microprogram request; and configuring the matching microprogram in combination with a microprogram controller based on the microprogram configuration plan.
[0007] In a possible implementation, the following processing is performed: identity authentication is performed according to the first user to obtain a first user identity authentication result; request permission authentication is performed according to the first user to obtain a first user permission authentication result; a user authentication model is activated; the first user permission authentication result is input into the user authentication model, and the first user authentication result is output.
[0008] In a possible implementation, the following processing is performed: when the first user authentication result is failure, a first user warning signal is generated.
[0009] In a possible implementation, the following processing is performed: when the first user authentication result is passed, generating a matching microprogram tag according to the microprogram request; activating a microprogram processor; inputting the matching microprogram tag into the microprogram processor, and activating the matching microprogram.
[0010] In a possible implementation, the following processing is performed: task feature identification is performed based on the microprogram request to obtain microprogram request task information; configuration constraint parameters of the matching microprogram are collected to obtain microprogram configuration constraint information; a microprogram configuration parsing model is constructed; the microprogram request task information and the microprogram configuration constraint information are input into the microprogram configuration parsing model to obtain the microprogram configuration solution.
[0011] In a possible implementation, the following processing is performed: loading a microprogram configuration record set; performing data cleaning based on the microprogram configuration record set to obtain a microprogram configuration record database; performing training and testing based on the microprogram configuration record database to generate the microprogram configuration parsing model.
[0012] In a possible implementation, the following processing is performed: obtaining configuration monitoring information of the matching microprogram; comparing the configuration monitoring information with the microprogram configuration scheme to obtain microprogram configuration deviation comparison information; generating a microprogram configuration deviation coefficient based on the microprogram configuration deviation comparison information; determining whether the microprogram configuration deviation coefficient is greater than a microprogram configuration deviation threshold; and generating a microprogram configuration deviation warning signal if the microprogram configuration deviation coefficient is greater than the microprogram configuration deviation threshold.
[0013] The second aspect of the present application provides a microprogram configuration system, which includes: a request receiving module, the request receiving module is used to receive a microprogram request from a first user; an authentication result obtaining module, the authentication result obtaining module is used to perform authentication based on the first user and obtain the first user authentication result; an authentication result judgment module, the authentication result judgment module is used to determine when the first user authentication result is passed, and activate the matching microprogram; a configuration scheme generating module, the configuration scheme generating module is used to generate a microprogram configuration scheme according to the microprogram request; a microprogram configuration module, the microprogram configuration module is used to configure the matching microprogram according to the microprogram configuration scheme in combination with a microprogram controller.
[0014] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0015] The method provided in an embodiment of the present application comprises receiving a microprogram request from a first user; performing authentication based on the first user to obtain an authentication result for the first user; activating a matching microprogram when the authentication result for the first user passes; generating a microprogram configuration plan based on the microprogram request; and configuring the matching microprogram in conjunction with a microprogram controller based on the microprogram configuration plan. This method significantly reduces manual intervention, lowers the probability of error, enables efficient and flexible microprogram configuration, and improves configuration efficiency and accuracy.
[0016] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, which can be implemented in accordance with the contents of the description, and to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are specifically listed below. It should be understood that the content described in this section is not intended to identify the key or important features of the embodiments of the present application, nor is it intended to limit the scope of the present application. Other features of the present application will become easy to understand through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A flowchart of a microprogram configuration method provided in this application.
[0019] Figure 2 This is a structural diagram of a microprogram configuration system provided in this application.
[0020] Description of the accompanying drawings: request receiving module 11, authentication result obtaining module 12, authentication result judging module 13, configuration scheme generating module 14, microprogram configuration module 15. DETAILED DESCRIPTION
[0021] This application provides a microprogram configuration method and system to address the technical issues in the prior art where microprogram configuration relies on manual intervention, resulting in low configuration efficiency, low accuracy, and insufficient flexibility. This method significantly reduces manual intervention, lowers the probability of error, and enables efficient and flexible microprogram configuration, improving configuration efficiency and accuracy.
[0022] Below, the technical solutions of the present invention will be clearly and completely described with reference to the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments of the present invention. It should be understood that the present invention is not limited to the example embodiments described herein. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. It should also be noted that, for the convenience of description, only the parts related to the present invention, rather than all, are shown in the accompanying drawings.
[0023] Example 1
[0024] like Figure 1 As shown, the present application provides a microprogram configuration method, the method comprising:
[0025] A mini-program request from a first user is received.
[0026] Specifically, to implement microprogram configuration, a microprogram request is first received from a first user. The first user refers to the first user to initiate a request or a user with a specific identifier. A microprogram refers to a method for implementing an instruction set at the computer hardware level. Specifically, a complex machine instruction is broken down into a series of simpler microprograms. Each microprogram contains several microinstructions, and each microinstruction corresponds to one or more micro-operations. The microprogram request is used to obtain data, including the request type and content. Receiving the microprogram request from the first user provides a basis for subsequently determining whether to initiate configuration and meeting personalized customization needs, ensuring the smooth progress of microprogram configuration and the accuracy and efficiency of the configuration results.
[0027] Perform authentication and verification on the first user to obtain an authentication and verification result of the first user.
[0028] Specifically, before operating the micro-program, the first task is to strictly authenticate the first user. The authentication process is divided into two core links: identity verification and permission checking. Identity verification is intended to confirm the authenticity of the user's identity, while permission checking is to verify whether the user has the authorization to perform specific operations. During the identity verification stage, the user is required to provide valid credentials. These credentials can be a traditional username and password combination, a more secure digital certificate, or a modern authorization token. The credentials provided by the user are then accurately compared with the authorization data pre-stored in the security database, and the user's permission level and operating scope are verified. By comparing the verification results, the authentication result of the first user is generated. This result indicates whether the user has passed the verification, which can ensure that only legitimate and authorized users can access and operate the micro-program.
[0029] When the first user authentication result is passed, the matching microprogram is activated.
[0030] Specifically, if the first user's authentication result indicates a pass, it indicates that all user checks have been successfully completed and the authentication is successful. The microprogram matching the user's request is then activated, and the corresponding microprogram sequence is started, preparing to perform the user's requested operation. This activation process includes loading the necessary microinstructions into the control memory and setting the relevant hardware states.
[0031] A microprogram configuration solution is generated according to the microprogram request.
[0032] Specifically, after the matching microprogram is activated, a specific microprogram configuration scheme is generated according to the user's specific microprogram request. The microprogram configuration scheme includes determining the execution order of microinstructions, the selection of data paths, the allocation of registers, etc., which can ensure that the microprogram executes the user's instructions in the expected manner, thereby meeting the user's needs.
[0033] According to the microprogram configuration scheme, the matching microprogram is configured in conjunction with a microprogram controller.
[0034] Specifically, based on the generated configuration plan, the activated microprogram is actually configured using a microprogram controller (MCU). The MCU is the hardware component responsible for executing microinstructions. Based on the configuration plan, it adjusts its control logic to flexibly configure and execute various operations based on different instruction requirements, ensuring that the microprogram executes according to the established plan. This allows for efficient and flexible microprogram configuration, improving both efficiency and accuracy.
[0035] Furthermore, performing authentication and verification according to the first user to obtain a first user authentication and verification result includes: performing identity authentication according to the first user to obtain a first user identity authentication result; performing request permission authentication according to the first user to obtain a first user permission authentication result; activating a user authentication and verification model; inputting the first user permission authentication result into the user authentication and verification model, and outputting the first user authentication and verification result.
[0036] Furthermore, when the first user authentication result is failure, a first user warning signal is generated.
[0037] Specifically, first, the identity information of the first user is obtained and authenticated. Identity authentication includes verifying the user's personal information, such as user name, password, biometric information, such as fingerprint, facial recognition, etc. Then, the information provided by the user is compared with the pre-stored identity authentication data to obtain the first user identity authentication result. After judging that the identity authentication is passed according to the identity authentication result, verify whether the user has the authority to execute a specific request according to the access control policy. The authority authentication includes checking the user's role, group or access control list and other information to obtain the authority authentication result, that is, the first user authority authentication result, and activate the user authentication model. The user authentication model is a neural network model built based on machine learning and has been trained for automatically evaluating the user authentication result. The first user's authority authentication result is passed as input data to the user authentication model. The user authentication model performs calculations based on the input data and outputs a data information representing the user authentication result, that is, the first user authentication result. If the user passes authentication, the microprogram request can proceed. Otherwise, the request is rejected and a first user warning signal is generated. This first user warning information includes the user ID, authentication failure type, security warning, etc., and the warning information is recorded in the log for subsequent audit and traceability. Through this process, the user's identity and permissions can be comprehensively and accurately assessed, ensuring that only legitimate users with access rights can perform corresponding operations, thereby improving data security.
[0038] Furthermore, when the first user authentication result is passed, activating the matching microprogram includes: when the first user authentication result is passed, generating a matching microprogram tag according to the microprogram request; activating a microprogram processor; inputting the matching microprogram tag into the microprogram processor to activate the matching microprogram.
[0039] Specifically, when the first user authentication result is passed, the user's microprogram request is further processed. First, a matching microprogram tag is generated based on the specific content and attributes of the microprogram request. This microprogram tag is used to identify and process the specific microprogram task. Next, the microprogram processor is activated. The microprogram processor is the component used to process and execute the microprogram. Subsequently, the generated matching microprogram tag is input into the microprogram processor, providing the processor with clear task instructions. Finally, by inputting the specific microprogram tag, the microprogram processor activates and executes the microprogram that matches the tag, thereby completing the operation or service requested by the user. This entire process ensures that only authenticated users can trigger and execute the corresponding microprogram, greatly improving system security and operational accuracy. Furthermore, by matching the microprogram tags, the microprogram corresponding to the user request can be accurately identified and executed, avoiding misoperation or waste of resources and improving execution accuracy.
[0040] Furthermore, generating a microprogram configuration plan based on the microprogram request includes: performing task feature identification based on the microprogram request to obtain microprogram request task information; collecting configuration constraint parameters of the matching microprogram to obtain microprogram configuration constraint information; constructing a microprogram configuration parsing model; inputting the microprogram request task information and the microprogram configuration constraint information into the microprogram configuration parsing model to obtain the microprogram configuration plan.
[0041] Specifically, when processing a microprogram request, we first perform task feature identification based on the specific content of the microprogram request. We then analyze and understand the specific task requirements of the microprogram request in detail. This task feature identification includes key information such as the task type, scale, and priority, thereby obtaining complete microprogram request task information. We then collect configuration constraint parameters related to the matching microprogram. These configuration constraint parameters are used to ensure the correct execution of the microprogram and the stable operation of the system, including the environmental requirements, performance indicators, resource limitations, and security policies required for microprogram execution. By collecting and integrating the collected configuration constraint parameters, we obtain microprogram configuration constraint information.
[0042] Next, a microprogram configuration parsing model is constructed. This model is based on machine learning algorithms or heuristic rules, utilizing microprogram configuration constraint information and the specific content of the microprogram request task. Based on predefined rules, algorithms, and strategies, it analyzes and processes the microprogram request task information and configuration constraint information to generate a microprogram configuration solution that meets the requirements. Finally, the microprogram request task information and microprogram configuration constraint information are input into the microprogram configuration parsing model. Through calculation and analysis, the model generates a microprogram configuration solution that not only meets the microprogram request task requirements but also complies with the configuration constraints. This solution includes the execution order of microinstructions, resource allocation strategy, and concurrency control mechanism, providing clear guidance for the correct execution of the microprogram and improving the efficiency and reliability of the entire system.
[0043] Specifically, the construction of the microprogram configuration parsing model includes: loading a microprogram configuration record set; performing data cleaning according to the microprogram configuration record set to obtain a microprogram configuration record database; and performing training and testing according to the microprogram configuration record database to generate the microprogram configuration parsing model.
[0044] Specifically, a microprogram configuration record set is first retrieved and extracted from data sources such as databases and file systems. This microprogram configuration record set contains historical microprogram configuration information, including various configuration parameters such as environment settings, resource allocation, and execution parameters. The data in the microprogram configuration record set is then cleaned, including removing duplicate records, correcting erroneous values, filling missing data, converting data formats, and standardizing units to improve data quality. The cleaned data then forms a microprogram configuration record database. Next, the data in the microprogram configuration record database is randomly divided into training and test sets. Appropriate machine learning algorithms, such as decision trees, random forests, and neural networks, are selected. A model is trained using the training set, and the trained model is tested and evaluated using the test set to evaluate its performance. Once the model is trained and validated, it is used as the final microprogram configuration parsing model, ensuring that the model can accurately generate configuration solutions. By constructing a microprogram configuration parsing model, appropriate configuration solutions can be quickly and accurately generated, improving the efficiency and accuracy of configuration solutions, thereby enhancing the efficiency and accuracy of microprogram configuration.
[0045] Furthermore, the method also includes: obtaining configuration monitoring information of the matching microprogram; comparing the configuration monitoring information with the microprogram configuration scheme to obtain microprogram configuration deviation comparison information; generating a microprogram configuration deviation coefficient based on the microprogram configuration deviation comparison information; judging whether the microprogram configuration deviation coefficient is greater than a microprogram configuration deviation threshold; if the microprogram configuration deviation coefficient is greater than the microprogram configuration deviation threshold, generating a microprogram configuration deviation warning signal.
[0046] Specifically, during the execution of the microprogram, its configuration information is continuously monitored and recorded. The configuration monitoring information includes but is not limited to resource usage, environment variable settings, network configuration, security settings, etc. The collected configuration monitoring information is then compared and analyzed with the parameters in the microprogram configuration scheme output by the model to find the differences between the actual configuration and the ideal configuration. All differences are combined to form microprogram configuration deviation comparison information. A weight is assigned to all configuration parameters according to their importance. Based on the microprogram configuration deviation comparison information and its weight, a quantitative microprogram configuration deviation coefficient is calculated. This coefficient represents the degree to which the overall configuration deviates from the ideal state. Based on historical data and expert experience, a microprogram configuration deviation threshold is set. The microprogram configuration deviation threshold represents the maximum degree of microprogram configuration deviation allowed. The calculated configuration deviation coefficient is compared with the microprogram configuration deviation threshold to determine whether the coefficient is greater than the threshold. When the configuration deviation coefficient exceeds the set threshold, a microprogram configuration deviation warning signal is immediately generated. This indicates that there is a significant difference between the actual running configuration of the microprogram and the ideal configuration. This difference may have a negative impact on the performance, stability, or security of the system. The warning signal can be triggered in various ways, such as sending emails, push notifications, and triggering alarms, so that relevant personnel can be notified and address the configuration deviation issue in a timely manner. Through comparative analysis, configuration deviations during microprogram execution can be discovered in a timely manner, and warning signals can be used to alert relevant personnel to take action, ensuring the stable operation of the microprogram and reducing potential risks caused by configuration errors.
[0047] Example 2
[0048] Based on the same inventive concept as the microprogram configuration method in the aforementioned embodiment, Figure 2 As shown, the present application provides a microprogram configuration system, wherein the system includes:
[0049] A request receiving module 11, configured to receive a micro-program request from a first user;
[0050] An authentication result obtaining module 12 is configured to perform authentication on the first user and obtain an authentication result of the first user;
[0051] An authentication result judgment module 13 is configured to activate a matching microprogram when the authentication result of the first user authentication is passed;
[0052] A configuration scheme generating module 14 is configured to generate a microprogram configuration scheme according to the microprogram request;
[0053] The microprogram configuration module 15 is used to configure the matching microprogram according to the microprogram configuration scheme in combination with the microprogram controller.
[0054] Furthermore, the authentication result obtaining module 12 is configured to perform the following steps:
[0055] Perform identity authentication according to the first user to obtain a first user identity authentication result;
[0056] Performing permission authentication on the request of the first user to obtain a first user permission authentication result;
[0057] Activate the user authentication model;
[0058] The first user authority authentication result is input into the user authentication model, and the first user authentication result is output.
[0059] Furthermore, the authentication result obtaining module 12 is further configured to perform the following steps:
[0060] When the first user authentication result is failure, a first user warning signal is generated.
[0061] Furthermore, the authentication result judgment module 13 is further configured to perform the following steps:
[0062] When the first user authentication result is passed, generating a matching micro-program tag according to the micro-program request;
[0063] Activate the microprogram processor;
[0064] The matching microprogram tag is input into the microprogram processor to activate the matching microprogram.
[0065] Furthermore, the configuration scheme generating module 14 is further configured to perform the following steps:
[0066] Performing task feature recognition according to the micro-program request to obtain micro-program request task information;
[0067] Collecting configuration constraint parameters of the matching microprogram to obtain microprogram configuration constraint information;
[0068] Build a microprogram configuration parsing model;
[0069] The microprogram request task information and the microprogram configuration constraint information are input into the microprogram configuration parsing model to obtain the microprogram configuration solution.
[0070] Furthermore, the configuration scheme generating module 14 is further configured to perform the following steps:
[0071] Load the microprogram configuration record set;
[0072] Perform data cleaning according to the microprogram configuration record set to obtain a microprogram configuration record database;
[0073] Training and testing are performed according to the microprogram configuration record database to generate the microprogram configuration parsing model.
[0074] Furthermore, the microprogram configuration module 15 is further configured to perform the following steps: obtaining configuration monitoring information of the matching microprogram;
[0075] Comparing the configuration monitoring information with the microprogram configuration scheme to obtain microprogram configuration deviation comparison information;
[0076] generating a microprogram configuration deviation coefficient according to the microprogram configuration deviation comparison information;
[0077] Determining whether the microprogram configuration deviation coefficient is greater than a microprogram configuration deviation threshold;
[0078] If the microprogram configuration deviation coefficient is greater than the microprogram configuration deviation threshold, a microprogram configuration deviation warning signal is generated.
[0079] The above description is only a preferred embodiment of the present application and is not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application should be included in the scope of protection of the present application.
[0080] This specification and drawings are merely illustrative of the present application and are intended to cover any and all modifications, variations, combinations, or equivalents within the scope of this application. Obviously, those skilled in the art may make various modifications and variations to this application without departing from the scope of this application. Thus, this application is intended to include such modifications and variations as fall within the scope of this application and its equivalents.
Claims
1. A microprogram configuration method, characterized in that: The method comprises: receiving a micro-program request from a first user; Performing authentication on the first user to obtain an authentication result of the first user; When the first user authentication result is passed, activating the matching micro program; generating a microprogram configuration scheme according to the microprogram request; According to the microprogram configuration scheme, configuring the matching microprogram in combination with a microprogram controller; Generating a microprogram configuration solution according to the microprogram request, including: Performing task feature recognition according to the micro-program request to obtain micro-program request task information; Collecting configuration constraint parameters of the matching microprogram to obtain microprogram configuration constraint information; Build a microprogram configuration parsing model; Inputting the microprogram request task information and the microprogram configuration constraint information into the microprogram configuration parsing model to obtain the microprogram configuration solution; Build a microprogram configuration parsing model, including: Load the microprogram configuration record set; Perform data cleaning according to the microprogram configuration record set to obtain a microprogram configuration record database; Training and testing are performed according to the microprogram configuration record database to generate the microprogram configuration parsing model.
2. The method according to claim 1, wherein Performing authentication on the first user to obtain a first user authentication result includes: Perform identity authentication according to the first user to obtain a first user identity authentication result; Performing permission authentication on the request of the first user to obtain a first user permission authentication result; Activate the user authentication model; The first user authority authentication result is input into the user authentication model, and the first user authentication result is output.
3. The method according to claim 1, wherein When the first user authentication result is failure, a first user warning signal is generated.
4. The method according to claim 1, wherein When the first user authentication result is passed, activating the matching micro-program includes: When the first user authentication result is passed, generating a matching micro-program tag according to the micro-program request; Activate the microprogram processor; The matching microprogram tag is input into the microprogram processor to activate the matching microprogram.
5. The method according to claim 1, wherein The method comprises: Obtaining configuration monitoring information of the matching microprogram; Comparing the configuration monitoring information with the microprogram configuration scheme to obtain microprogram configuration deviation comparison information; generating a microprogram configuration deviation coefficient according to the microprogram configuration deviation comparison information; Determining whether the microprogram configuration deviation coefficient is greater than a microprogram configuration deviation threshold; If the microprogram configuration deviation coefficient is greater than the microprogram configuration deviation threshold, a microprogram configuration deviation warning signal is generated.
6. A microprogram configuration system, characterized in that: The steps for implementing a microprogram configuration method according to any one of claims 1 to 5 include: a request receiving module, configured to receive a micro-program request from a first user; An authentication result obtaining module, configured to perform authentication on the first user and obtain an authentication result of the first user; An authentication result judgment module, configured to activate a matching microprogram when the authentication result of the first user authentication is passed; A configuration scheme generating module, configured to generate a microprogram configuration scheme according to the microprogram request; A microprogram configuration module is used to configure the matching microprogram in combination with a microprogram controller according to the microprogram configuration scheme.
Citation Information
Patent Citations
Micro-service calling method and device, equipment and storage medium
CN116723247A
Model driven configuration management for microservices
US20210328863A1