A data module management method for a data processing system
By calculating the self-test necessity data of the data module and determining the self-test maintenance list, the intelligent self-test maintenance of the data module in the data processing system is realized in turns, which solves the problem of unreliable processing results caused by data module failure and ensures the reliability of the data processing system. Continued reliability and processing power.
Patent Information
- Application Number
- CN202410713721.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-04
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-04
AI Technical Summary
The data modules in the data processing system may experience abnormal failures during long-term operation, making it difficult to guarantee the reliability of the processing results.
By obtaining the self-inspection and maintenance records and data processing records of the data module, calculate the self-inspection necessity data of each data module, and determine the self-inspection and maintenance list based on this, realize the intelligent self-inspection and maintenance of the data module in turn, and ensure the necessity of self-inspection. Modules with high processing power and whose processing capacity does not exceed the threshold are given priority for self-test maintenance.
On the basis of ensuring the overall processing capability of the data processing system, intelligent self-checking and maintenance of data modules are implemented in turns to continuously ensure the reliability of data modules and the accuracy of processing results.
Smart Images

Figure CN118277214B
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data processing systems, and in particular to a data module management method for a data processing system. Background Art
[0002] A data processing system generally refers to a functional system used to perform data analysis, statistics, calculations and other processing operations. A data processing system generally includes multiple data modules (full name: "data processing functional modules"), which are configured with logical functions for data analysis, statistics, calculations and other processing operations. After receiving the data to be processed and the processing requirements, the data processing system will assign the data to be processed to the data module, and the specific data module will process the data to be processed according to the processing requirements and obtain the processing results. During the long-term operation of the data processing system, the data module may experience abnormal failures, making it difficult to ensure the reliability of the processing results of the data module. Summary of the invention
[0003] The present application provides a data module management method for a data processing system, which is helpful to ensure the reliability of the processing results of the data module.
[0004] In a first aspect, the present application provides a data module management method for a data processing system. The method is applied to a data processing system, wherein the data processing system includes a plurality of data modules;
[0005] The method comprises:
[0006] Acquire the self-check and maintenance records and data processing records of the data module, wherein the self-check and maintenance records include the self-check and maintenance time and the self-check and maintenance content, and the data processing records include the task execution time and the data processing content;
[0007] Obtaining self-inspection necessity data for each data module according to the self-inspection maintenance record and the data processing record;
[0008] Based on the self-check necessity data, the pre-acquired processing capability threshold and the processing capability value of each data module, a self-check maintenance list is determined, wherein the self-check maintenance list reflects the data modules that need to perform self-check maintenance. The self-check necessity data of the data modules that need to perform self-check maintenance in the self-check maintenance list are high, and the sum of the processing capability values of all data modules is not greater than the processing capability threshold.
[0009] By adopting the above technical solution, it is possible to realize the self-inspection and maintenance of all data modules in rotation on the basis of ensuring the overall data processing capability of the data system, and each time the data module to be self-inspected and maintained is determined, the necessity data of the self-inspection and maintenance of the data module can be intelligently and reasonably determined, which is conducive to continuously ensuring the reliability of the data modules.
[0010] Further, the self-inspection necessity data of each data module obtained according to the self-inspection maintenance record and the data processing record includes:
[0011] Determine the first necessity component based on the self-inspection maintenance records;
[0012] Determine the second necessity component according to the data processing record between the last moment of the most recent self-check maintenance time and the current moment;
[0013] The self-check necessity data of the data module is determined by combining the first necessity component and the second necessity component.
[0014] Further, determining the first necessity component according to the self-check maintenance record includes:
[0015] For the data module, suppose there are n self-check and maintenance records within a preset time, and the self-check and maintenance time of the i-th self-check and maintenance record is , The last moment of , the current time is , Closest to the current moment, the first necessity component is ,but
[0016]
[0017]
[0018] In the formula, To preset a low duration threshold, To preset a high duration threshold, , , , , All are preset constants greater than zero.
[0019] Further, the determining of the second necessity component according to the data processing record between the last moment of the most recent self-check and maintenance time and the current moment includes:
[0020] For the data module, assume that there are m data processing records between the last moment of the most recent self-check maintenance time and the current moment, and the task execution time of the i-th data processing record is , the influence coefficient of the i-th data processing record is , the second necessary component is ,but
[0021]
[0022] In the formula, , , , , All are preset constants greater than zero.
[0023] Further, the combining the first necessity component and the second necessity component to determine the self-check necessity data of the data module includes:
[0024] Let the first necessity component be , the second necessary component is , the self-check necessity data is W, then , where K is a preset constant greater than zero.
[0025] Furthermore, the step of combining the first necessity component and the second necessity component to determine the self-check necessity data of the data module further includes:
[0026]
[0027] Where S is the importance coefficient of the preset data module, and Q is the processing capacity coefficient of the pre-acquired data module.
[0028] Further, the determining of the self-check maintenance list based on the self-check necessity data and the pre-acquired processing capability threshold and the processing capability value of each data module includes:
[0029] According to the self-check necessity data, the module identification and processing capacity value of the data module are sequentially placed into the self-check maintenance set from high to low;
[0030] Each time a set of module identifiers and processing capacity values are placed in the self-check maintenance set, the sum of all processing capacity values in the self-check maintenance set is calculated once;
[0031] If the processing capability value of the pth data module is placed in the self-check maintenance set, which will cause the sum of the processing capability values in all the self-check maintenance sets to be higher than the processing capability threshold, then skip the pth data module, and continue to determine whether the processing capability value of the p+1th data module is placed in the self-check maintenance set, which will cause the sum of the processing capability values in the self-check maintenance set to be higher than the processing capability threshold, and so on for all data modules in turn;
[0032] All module identifiers in the self-check and maintenance set are included in the self-check and maintenance list.
[0033] In summary, this application at least has the following beneficial effects:
[0034] A data module management method for a data processing system is provided, which can realize intelligent rotational self-checking and maintenance of data modules on the basis of ensuring the processing capacity of the data processing system, thereby facilitating the reliability of the processing result of each data module.
[0035] It should be understood that the contents described in the Summary of the Invention are not intended to limit the key or important features of the embodiments of the present application, nor are they intended to limit the scope of the present application. Other features of the present application will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] The above and other features, advantages and aspects of the embodiments of the present application will become more apparent with reference to the following detailed description in conjunction with the accompanying drawings. In the accompanying drawings, the same or similar reference numerals represent the same or similar elements, wherein:
[0037] Figure 1 A flow chart of a data module management method for a data processing system in an embodiment of the present application is shown. DETAILED DESCRIPTION
[0038] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0039] In addition, the term "and / or" in this article is only a description of the association relationship between the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0040] The present application provides a data module management method for a data processing system, which is helpful to ensure the reliability of the processing results of the data module.
[0041] In the first aspect, the present application provides a data module management method for a data processing system. The method is applied to a data processing system, which includes multiple data modules. During the long-term operation of the data modules, abnormal faults such as loopholes, file corruption, virus intrusion, etc. may occur. These abnormal faults may cause the processing results output by the data modules to be abnormal, and even cause the data modules to have difficulty in performing data processing tasks. Therefore, a self-checking and maintenance function program is generally configured in the data processing system to perform self-checking and maintenance on the data modules to ensure the normal operation of the data modules. Of course, the data processing module cannot perform data processing tasks during the self-checking and maintenance process. In order to meet the long-term and continuous data processing work of the data processing system, different data processing modules can be considered to perform self-checking and maintenance in turn.
[0042] Figure 1 A flow chart of a data module management method for a data processing system in an embodiment of the present application is shown.
[0043] Reference Figure 1 , the method specifically comprises the following steps:
[0044] S110: Obtaining the self-check maintenance record and data processing record of the data module.
[0045] When the self-check and maintenance function program of the data processing system is executed and the data module is self-checked and maintained, the self-check and maintenance records will be retained. Of course, when the data module performs data processing tasks, the data processing records will also be retained.
[0046] The self-check and maintenance record includes the self-check and maintenance time and the self-check and maintenance content. The self-check and maintenance time is a time period, which has an initial time and an end time. The data module starts the self-check and maintenance at the initial time, and ends the self-check and maintenance at the end time. The self-check and maintenance content mainly includes the self-check results and maintenance content. The self-check results include the items to be repaired that have been checked, and the maintenance results include the repair status of the items to be repaired. In the long-term self-check and maintenance process, an abnormal fault library of known abnormal faults is generally constructed, which can realize the determination of the fault category of the items to be repaired, or determine the abnormal fault as an unknown category if it cannot be identified. For the self-check and maintenance records, if the self-check and maintenance records of all data modules are stored together, the self-check and maintenance records generally also carry the module identification of the data module to distinguish the self-check and maintenance records of different data modules.
[0047] The data processing record includes the task execution time and the data processing content. The task execution time is a time period, which reflects the time period of the data processing record. The data processing content mainly includes the description of the data to be processed and the description of the processing requirements. The description of the data to be processed is used to describe the characteristics of the data to be processed, such as data category, data scale, etc. The processing requirement description is used to describe the processing purpose of the data processing record, such as data cleaning, data analysis, data screening, data coupling, etc. Similarly, a processing content library is generally constructed, and all descriptions of data processing contents can correspond to a content category in the processing content library. If the data processing records of all data modules are stored together, the general data processing record also carries the module identification of the data module to distinguish the data processing records of different data modules.
[0048] S120: Obtaining self-inspection necessity data of each data module according to the self-inspection maintenance record and the data processing record.
[0049] The method of this step includes: determining a first necessity component based on self-check maintenance records; determining a second necessity component based on data processing records between the last moment of the most recent self-check maintenance time and the current moment; and determining self-check necessity data of the data module by combining the first necessity component and the second necessity component.
[0050] Specifically, determining the first necessity component according to the self-check and maintenance record includes: for the data module, assuming that there are n self-check and maintenance records within a preset time, and the self-check and maintenance time of the i-th self-check and maintenance record is , The last moment of , the current time is , Closest to the current moment, the first necessity component is ,but
[0051]
[0052]
[0053] In the formula, To preset a low duration threshold, To preset a high duration threshold, , , , , All are preset constants greater than zero. Reflects the time from the current time to the last time of the data module's most recent self-test maintenance record; F is an intermediate symbol and is not explained. Here, the larger i is, The greater the time distance from the current moment.
[0054] In addition, determining the second necessity component according to the data processing record between the last moment of the most recent self-check and maintenance time and the current moment includes:
[0055] For the data module, assume that there are m data processing records between the last moment of the most recent self-check maintenance time and the current moment, and the task execution time of the i-th data processing record is , the influence coefficient of the i-th data processing record is , the second necessary component is ,but
[0056]
[0057] In the formula, , , , , The influence coefficient of the data processing record is related to the content category of the data processing record, and an influence coefficient is preset for each content category.
[0058] Furthermore, the step of combining the first necessity component and the second necessity component to determine the self-check necessity data of the data module includes:
[0059] Let the first necessity component be , the second necessary component is , the self-check necessity data is W, then , where K is a preset constant greater than zero. , where S is the importance coefficient of the preset data module, and Q is the processing capacity coefficient of the pre-acquired data module. The importance coefficient is preset relative to each data module identifier, and the processing capacity coefficient can be preset according to the software and hardware performance of the data module.
[0060] Based on the method of this step, the obtained self-check necessity data can reflect the degree of self-check necessity of the data module. The higher the degree of self-check necessity of the data module, the larger the self-check necessity data.
[0061] S130: Determine a self-check maintenance list based on the self-check necessity data and the pre-acquired processing capability threshold and the processing capability value of each data module.
[0062] The self-check maintenance list reflects the data modules that need to perform self-check maintenance. The self-check necessity data of the data modules that need to perform self-check maintenance in the self-check maintenance list are relatively high, and the sum of the processing capacity values of all data modules is not greater than the processing capacity threshold.
[0063] Specifically, the method of this step includes: placing the module identifiers and processing capability values of the data modules into a self-check maintenance set in order from high to low according to the self-check necessity data; calculating the sum of all processing capability values in the self-check maintenance set once for each set of module identifiers and processing capability values placed into the self-check maintenance set; if the processing capability value of the pth data module placed into the self-check maintenance set will cause the sum of the processing capability values in all self-check maintenance sets to be higher than the processing capability threshold, skip the pth data module, and continue to determine whether placing the processing capability value of the p+1th data module into the self-check maintenance set will cause the sum of the processing capability values in the self-check maintenance set to be higher than the processing capability threshold, and so on, in turn, facilitate all data modules; include all module identifiers in the self-check maintenance set in the self-check maintenance list.
[0064] In this way, a self-check and maintenance list can be obtained. Performing self-check and maintenance on the data modules in the self-check and maintenance list can not only ensure that the data processing capacity lost by the data processing system is not greater than the processing capacity threshold, but also perform self-check and maintenance on the data modules with relatively high self-check necessity.
[0065] This method can be executed once every specific duration, and the specific duration is set according to requirements.
[0066] Based on the above content, it can be seen that this method can, on the basis of ensuring the continuous retention of the overall data processing capability of the data processing system, perform regular and rotating self-inspection and maintenance on the data modules according to the self-inspection and maintenance needs of different data modules, thereby ensuring the reliability of the data modules, thereby ensuring that the processing results of the data modules are accurate and reliable.
[0067] It should be understood that this method is essentially a machine learning model. The parameters in the machine learning model can be trained according to the self-checking and maintenance records and the target state of the data module (for example, before the abnormal failure of the data module reaches a high level, the data module can be self-checked and maintained just in time to keep the state of the data module always in the target state). The trainable parameters include preset duration, specific duration, preset low duration threshold, preset high duration threshold, etc. , , , , , , , , , , influence coefficient, importance coefficient, processing capacity coefficient, etc. During the long-term use, the parameters of the machine learning model are trained, so that the method can better judge the degree of necessity of self-inspection of the data module, and can perform self-inspection and maintenance of the data module at a more appropriate time, and can better ensure the reliability of the data module.
[0068] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the embodiments of the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all optional embodiments, and the actions and modules involved are not necessarily required by the present application.
[0069] In summary, this application at least has the following beneficial effects:
[0070] A data module management method for a data processing system is provided, which can realize intelligent rotational self-checking and maintenance of data modules on the basis of ensuring the processing capacity of the data processing system, thereby facilitating the reliability of the processing result of each data module.
[0071] The above description is only a preferred embodiment of the present application and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present application is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the aforementioned disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in this application (but not limited to) by each other to form a technical solution.
Claims
1. A data module management method for a data processing system, characterized in that: Applied to a data processing system, the data processing system comprising a plurality of data modules; The method comprises: Acquire the self-check and maintenance records and data processing records of the data module, wherein the self-check and maintenance records include the self-check and maintenance time and the self-check and maintenance content, and the data processing records include the task execution time and the data processing content; Obtaining self-inspection necessity data for each data module according to the self-inspection maintenance record and the data processing record; Based on the self-check necessity data and the pre-acquired processing capability threshold and the processing capability value of each data module, a self-check maintenance list is determined, wherein the self-check maintenance list reflects the data modules that need to perform self-check maintenance, and the self-check necessity data of the data modules that need to perform self-check maintenance in the self-check maintenance list is high, and the sum of the processing capability values of all data modules is not greater than the processing capability threshold; The self-inspection necessity data of each data module obtained according to the self-inspection maintenance record and the data processing record includes: Determine the first necessity component based on the self-inspection maintenance records; Determine the second necessity component according to the data processing record between the last moment of the most recent self-check maintenance time and the current moment; Determining self-check necessity data of the data module by combining the first necessity component and the second necessity component; Determining the first necessity component according to the self-check maintenance record includes: For the data module, suppose there are n self-check and maintenance records within a preset time, and the self-check and maintenance time of the i-th self-check and maintenance record is t 1i , t i The final time is T 1i , the current time is T0, T 11 The closest to the current moment, the first necessity component is W1, then In the formula, t lpre is the preset low duration threshold, t hpre is a preset high duration threshold, k1, k2, k3, k4, and k5 are all preset constants greater than zero; Determining the second necessity component according to the data processing record between the last moment of the most recent self-check maintenance time and the current moment includes: For the data module, assume that there are m data processing records between the last moment of the most recent self-check maintenance time and the current moment, and the task execution time of the i-th data processing record is t 2i , the influence coefficient of the i-th data processing record is p i , the second necessity component is W2, then In the formula, k6, k7, k8, k9, k 10 All are preset constants greater than zero.
2. The method according to claim 1, characterized in that The self-check necessity data of the data module determined by combining the first necessity component and the second necessity component includes: Assume that the first necessity component is W1, the second necessity component is W2, and the self-check necessity data is W, then W=KW1W2, where K is a preset constant greater than zero.
3. The method according to claim 2, characterized in that The self-check necessity data of the data module determined by combining the first necessity component and the second necessity component also includes: K = S × Q, Where S is the importance coefficient of the preset data module, and Q is the processing capacity coefficient of the pre-acquired data module.
4. The method according to any one of claims 1 to 3, characterized in that: The step of determining the self-check maintenance list based on the self-check necessity data and the pre-acquired processing capability threshold and the processing capability value of each data module includes: According to the self-check necessity data, the module identification and processing capacity value of the data module are sequentially placed into the self-check maintenance set from high to low; Each time a set of module identifiers and processing capacity values are placed in the self-check maintenance set, the sum of all processing capacity values in the self-check maintenance set is calculated once; If the processing capability value of the pth data module is placed in the self-check maintenance set, which will cause the sum of the processing capability values in all the self-check maintenance sets to be higher than the processing capability threshold, then skip the pth data module, and continue to determine whether the processing capability value of the p+1th data module is placed in the self-check maintenance set, which will cause the sum of the processing capability values in the self-check maintenance set to be higher than the processing capability threshold, and so on for all data modules in turn; All module identifiers in the self-check and maintenance set are included in the self-check and maintenance list.
