Effectiveness detection method and device for error prevention scheme, equipment, medium and product
By obtaining and analyzing the text content and operation data of the error prevention plan and calculating the effectiveness score, the problem of insufficient adaptability of the error prevention technology in intelligent production is solved, and the effectiveness detection of the error prevention plan and the elimination of potential quality risks are achieved.
Patent Information
- Application Number
- CN202510393223.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-31
- Publication Date
- 2025-07-08
AI Technical Summary
The existing error-proof technology is difficult to accurately identify technical errors in intelligent and automated production processes due to insufficient adaptability, creating potential blind spots in quality control.
By obtaining the text content of the error prevention plan, the solution characteristic data is extracted, including the target equipment, preset execution conditions and results, combined with the target operation data, the effectiveness score is calculated, and the effectiveness of the error prevention plan is determined.
An error prevention plan for accurate positioning failure eliminates potential quality risks and improves the effectiveness detection accuracy of error prevention plans.
Smart Images

Figure CN120278592A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of error prevention, and particularly to a method, device, equipment, medium and product for detecting the effectiveness of an error prevention solution. Background Art
[0002] With the gradual development of production processes towards intelligence and automation, error prevention technology has become a key means to ensure production quality. Error prevention technology can be understood as a technical means that uses physical restrictions, sensor detection, logical verification, etc. to identify or correct technical errors in product design or production processes.
[0003] However, with the iterative upgrade and transformation of production processes and equipment, some error prevention technologies have gradually become ineffective due to insufficient adaptability, resulting in difficulty in accurately identifying technical errors in the production process and further giving rise to potential quality control blind spots. Summary of the Invention
[0004] Based on this, in view of the above technical problems, it is necessary to provide a method, device, equipment, medium and product for detecting the effectiveness of an error prevention solution, so as to locate the ineffective error prevention solution and eliminate potential quality risks.
[0005] In a first aspect, the present application provides a method for detecting the effectiveness of an error prevention solution, including:
[0006] Obtain the text content of the error prevention solution;
[0007] Extract the solution feature data from the text content; the solution feature data includes at least one target device for executing the error prevention solution, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device;
[0008] For each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0009] Determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0010] Determine the effectiveness of the error prevention solution according to the effectiveness score of each target device.
[0011] In one embodiment, extracting the solution feature data from the text content includes: according to the text content, determine at least one target device for executing the error prevention solution; and for each target device, extract the text paragraph where the target device is located from the text content; from the text paragraph, extract the preset execution conditions and preset execution results of the target device.
[0012] In one embodiment, determining the effectiveness score of the target device according to each target execution result and the corresponding preset execution result includes: determining the number of execution conditions that meet the preset execution conditions according to the target operation data; and determining the number of correct execution results that are the same as the preset execution result among each target execution result; determining the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0013] In one embodiment, determining the effectiveness of the anti-error scheme according to the effectiveness score of each target device includes: obtaining the application program data and backup program data corresponding to the anti-error scheme; performing program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the anti-error scheme; determining the effectiveness of the anti-error scheme according to the program consistency score and the effectiveness score of each target device.
[0014] In one embodiment, determining the effectiveness of the anti-error scheme according to the program consistency score and the effectiveness score of each target device includes: determining that the anti-error scheme fails when the program consistency score is less than the first score threshold; or determining that the anti-error scheme fails when the effectiveness score of each target device is less than the second score threshold.
[0015] In one embodiment, it further includes: displaying different anti-error schemes for each process section; for each anti-error scheme, correspondingly displaying the determination result of the effectiveness of the anti-error scheme.
[0016] In a second aspect, the present application further provides an effectiveness detection device for an anti-error scheme, including:
[0017] An acquisition module, configured to acquire the text content of the anti-error scheme;
[0018] A first extraction module, extracting the scheme feature data in the text content; the scheme feature data includes at least one target device for executing the anti-error scheme, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device;
[0019] A second extraction module, configured to, for each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0020] A first determination module, configured to determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0021] A second determination module, configured to determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0022] In a third aspect, the present application also provides a computer device, including a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:
[0023] Obtain the text content of the anti-error scheme;
[0024] Extract the scheme feature data from the text content; the scheme feature data includes at least one target device for executing the anti-error scheme, as well as the corresponding preset execution conditions for the target device and the corresponding preset execution results for the target device;
[0025] For each target device, extract the respective target execution results of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0026] Determine the effectiveness score of the target device according to the respective target execution results and the corresponding preset execution results;
[0027] Determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0028] In a fourth aspect, the present application also provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0029] Obtain the text content of the anti-error scheme;
[0030] Extract the scheme feature data from the text content; the scheme feature data includes at least one target device for executing the anti-error scheme, as well as the corresponding preset execution conditions for the target device and the corresponding preset execution results for the target device;
[0031] For each target device, extract the respective target execution results of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0032] Determine the effectiveness score of the target device according to the respective target execution results and the corresponding preset execution results;
[0033] Determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0034] In a fifth aspect, the present application also provides a computer program product, including a computer program. When the computer program is executed by a processor, the following steps are implemented:
[0035] Obtain the text content of the anti-error scheme;
[0036] Extract the solution feature data from the text content; the solution feature data includes at least one target device for executing the anti-error solution, as well as the corresponding preset execution conditions for the target device and the corresponding preset execution results for the target device;
[0037] For each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0038] Determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0039] Determine the effectiveness of the anti-error solution according to the effectiveness score of each target device.
[0040] The above anti-error solution effectiveness detection method, device, equipment, medium and product, by obtaining the text content of the anti-error solution and extracting the solution feature data in the text content, can convert the unstructured text content into structured solution feature data, providing a data basis for the subsequent steps of determining the effectiveness of the anti-error solution. By extracting, for each target device, each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device, and determining the effectiveness score of the target device according to each target execution result and the corresponding preset execution result, the effectiveness of the anti-error solution for each target device can be determined. Finally, according to the effectiveness score of each target device, the effectiveness of the anti-error solution can be determined, so as to accurately locate the ineffective anti-error solution to eliminate potential quality risks. Brief Description of the Drawings
[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required for the description in the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0042] Figure 1 It is a schematic flow chart of the anti-error solution effectiveness detection method in an embodiment;
[0043] Figure 2 It is a schematic flow chart of the steps for determining the effectiveness of the anti-error solution in an embodiment;
[0044] Figure 3A It is a schematic flow chart of the steps for displaying the effectiveness determination result in an embodiment;
[0045] Figure 3BSchematic diagram showing an anti-error solution in an embodiment;
[0046] Figure 4 Schematic diagram of an effectiveness detection system for an anti-error solution in an embodiment;
[0047] Figure 5 Flow schematic diagram of a method for detecting the effectiveness of an anti-error solution in another embodiment;
[0048] Figure 6 Structural block diagram of a device for detecting the effectiveness of an anti-error solution in an embodiment;
[0049] Figure 7 Internal structure diagram of a computer device in an embodiment. Detailed implementation manners
[0050] In order to make the objectives, technical solutions and advantages of the present application clearer and more understandable, the present application will be further described in detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0051] In one embodiment, as Figure 1 shown, a method for detecting the effectiveness of an anti-error solution is provided. In this embodiment, the method is exemplified by being applied to a terminal. It can be understood that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and is implemented through the interaction between the terminal and the server. In this embodiment, the method includes the following steps:
[0052] S110. Obtain the text content of the anti-error solution.
[0053] Among them, the anti-error solution can be understood as a technical solution that uses physical restrictions, sensor detection, logical verification, etc. to identify or correct technical errors generated in product design or production processes. The text content can be understood as the natural language description content for the anti-error solution.
[0054] Exemplarily, the production process to which the anti-error solution belongs may include at least one of a raw material processing process, a wire making process, a tipping and forming process, a packaging process, a quality inspection process, etc. for manufacturing cigarettes. Among them, the wire making process may include at least one of a feeding process and a drying process. It should be noted that the present application does not make any limitation on the specific production process to which the anti-error solution belongs, nor does it make any limitation on the specific text content of the anti-error solution.
[0055] For ease of understanding, the following uses some anti-error solutions in the feeding process, namely the first anti-error solution and the second anti-error solution, as examples for illustration.
[0056] Among them, the feeding process is an essential and important part of the cigarette manufacturing process. The feeding process mainly controls the flow of the liquid material, so that the liquid material is evenly sprayed on the tobacco material according to the preset process requirements, to improve the taste of the tobacco product, enhance the combustion performance and moisture retention performance. In addition, in the feeding process, the moisture content and temperature of the tobacco material can also be controlled to improve the processability of the tobacco material.
[0057] Optionally, the text content of the first anti-error scheme may include that "when the controller a obtains the signal indicating the end of the first feeding, it automatically clears the brand information read by the RFID (Radio Frequency Identification) system in the information buffer last time, so as to realize the automatic initialization function of the RFID system in the scenario of secondary supplementary feeding, and avoid quality risks caused by the failure of the RFID system verification function". Among them, the brand information can be understood as the material identity identifier bound by the RFID tag.
[0058] Optionally, the text content of the second anti-error scheme may include that "when there is a deviation between the actual supplementary feeding parameters and the preset parameters, the alarm b emits a warning signal to prompt the staff to check and correct".
[0059] S120. Extract the scheme feature data from the text content; the scheme feature data includes at least one target device for executing the anti-error scheme, the corresponding preset execution condition of the target device, and the corresponding preset execution result of the target device.
[0060] Among them, the scheme feature data can be understood as the key feature data extracted from the text content. The target device can be understood as the device that executes at least part of the anti-error scheme. Exemplarily, the target device may include at least one of a controller, a processor, an alarm, a thermometer, a flowmeter, and a static scale, etc. The present application does not make any limitation on the specific type of the target device. The preset execution condition can be understood as the preset prerequisite for the target device to execute the preset task. The preset execution result can be understood as the execution result generated by the target device when executing the preset task under the preset execution condition.
[0061] In an optional embodiment, at least one target device for executing the anti-error scheme can be determined according to the text content; and for each target device, the text paragraph where the target device is located is extracted from the text content; from the text paragraph, the preset execution condition and the preset execution result of the target device are extracted. In the above steps, by extracting the text paragraph where the target device is located from the text content for each target device, the isolation of irrelevant information is realized, so that in the process of feature extraction for each target device, the interference of irrelevant information is avoided, which is beneficial to improving the extraction efficiency of feature extraction.
[0062] In an alternative embodiment, the solution feature data in the text content can be extracted by performing natural language analysis and processing on the text content. In another alternative embodiment, the text content can be input into a pre-trained solution feature extraction model to extract the solution feature data in the text content. Exemplarily, the solution feature extraction model can be a natural language model or a large language model, etc., and the present application does not make any limitation thereto.
[0063] For the sake of easy understanding, the first anti-error solution and the second anti-error solution will continue to be used as examples for illustration.
[0064] Exemplarily, the target device extracted from the text content of the first anti-error solution: namely, "Controller a"; the corresponding preset execution condition extracted: namely, "Obtain a signal indicating the end of one-time feeding"; the corresponding preset execution result extracted: namely, "Clear the brand information read by the RFID system last time in the information buffer".
[0065] Exemplarily, the target device extracted from the text content of the second anti-error solution: namely, "Alarm b"; the corresponding preset execution condition extracted: namely, "There is a deviation between the actual replenishment parameters and the preset parameters"; the corresponding preset execution result extracted: namely, "Send a warning signal".
[0066] S130. For each target device, extract each target execution result of the target device under the corresponding preset execution condition from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data.
[0067] Among them, the historical operation data can be understood as the device operation data of the target device within a preset historical time period; the test operation data can be understood as the device operation data of the target device within a preset test time period. Optionally, the device operation data includes the input data obtained by the target device, the process data for processing the input data, and the output data output by the target device.
[0068] Among them, the target execution result can include the executed result and the unexecuted result under the preset execution condition. The unexecuted result can be understood as that the execution action is not triggered under the preset execution condition.
[0069] S140. Determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result.
[0070] Among them, the effectiveness score is used to characterize the effectiveness degree of the target device in the anti-error solution.
[0071] In an optional embodiment, the number of execution conditions that meet the preset execution conditions may be determined according to the target operation data; and, the number of correct execution results that are the same as the preset execution result among the target execution results may be determined; the effectiveness score of the target device may be determined according to the number of execution conditions and the number of correct execution results.
[0072] Optionally, the effectiveness score of the target device may be determined according to the ratio of the number of correct execution results to the number of execution conditions.
[0073] S150. Determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0074] In an optional embodiment, for each target device, when the effectiveness score of the target device is less than the second score threshold, it may be determined that the anti-error scheme fails.
[0075] In an optional embodiment, when the effectiveness scores of all target devices are not less than the second score threshold, it is determined that the anti-error scheme is effective.
[0076] The above anti-error scheme effectiveness detection method can convert the unstructured text content into structured scheme feature data by obtaining the text content of the anti-error scheme and extracting the scheme feature data in the text content, providing a data basis for the subsequent steps of determining the effectiveness of the anti-error scheme. By extracting, for each target device, the target execution results of the target device under the corresponding preset execution conditions from the target operation data of the target device, and determining the effectiveness score of the target device according to the target execution results and the corresponding preset execution results, the effectiveness of the anti-error scheme for each target device can be determined. Finally, according to the effectiveness score of each target device, the effectiveness of the anti-error scheme can be determined, so as to accurately locate the failed anti-error scheme to eliminate potential quality risks.
[0077] Based on the technical solutions of the above embodiments, the present application also provides an optional embodiment, in which the steps of determining the effectiveness of the anti-error scheme are refined.
[0078] See Figure 2 The steps of determining the effectiveness of the anti-error scheme shown include:
[0079] S210. Obtain the application program data and backup program data corresponding to the anti-error scheme.
[0080] Among them, the application program data corresponding to the anti-error scheme can be understood as the program data for executing the anti-error scheme. The backup program data can be understood as the program data for pre-backing up the application program data.
[0081] S220. Detect the program consistency of the application program data based on the backup program data to obtain the program consistency score of the anti-error scheme.
[0082] Optionally, the consistency detection may include code integrity detection. Exemplarily, the application program data can be compared byte by byte with the backup program data, and the program consistency score of the anti-error scheme can be obtained according to the proportion of the error bytes in the application program data in the total bytes of the backup program data. Among them, the error bytes may include at least one of missing bytes and tampered bytes, etc. It should be noted that the present application does not make any limitation on the specific detection type of the consistency detection, nor does it make any limitation on the specific calculation method of the consistency score.
[0083] S230. Determine the effectiveness of the anti-error scheme according to the program consistency score and the effectiveness score of each target device.
[0084] In an optional embodiment, it can be determined that the anti-error scheme fails when the program consistency score is less than the first score threshold; or, for each target device, it can be determined that the anti-error scheme fails when the effectiveness score of the target device is less than the second score threshold. Correspondingly, it can be determined that the anti-error scheme is effective when the program consistency score is not less than the first score threshold and the effectiveness scores of all target devices are not less than the second score threshold. It should be noted that the first score threshold and the second score threshold can be set by technicians according to needs or experience, or determined through a large number of experiments, and the present application does not make any limitation on this.
[0085] Optionally, the failure of the anti-error scheme may include serious failure and normal failure. It can be determined that the anti-error scheme seriously fails when the procedural consistency score is less than the first warning threshold; or, it can be determined that the anti-error scheme seriously fails when there is a target device with an effectiveness score less than the second warning threshold. Otherwise, it is a normal failure. Among them, the first warning threshold is less than the first score threshold; the second warning threshold is less than the second score threshold. The first warning threshold and the second warning threshold can be set by technicians according to needs or experience, or determined through a large number of experiments, and the present application does not make any limitation on this.
[0086] Optionally, an early warning signal can be output when the anti-error scheme is seriously failed to prompt the technician to respond as soon as possible.
[0087] In the above effectiveness determination step, by introducing the backup program data, the consistency detection of the application program data corresponding to the anti-error scheme provides another effectiveness identification dimension for determining the effectiveness of the anti-error scheme, which is beneficial to improving the accuracy of the effectiveness detection of the anti-error scheme.
[0088] Based on the technical solutions of the above embodiments, the present application further provides an optional embodiment, in which a step of displaying the effectiveness determination result is added.
[0089] See Figure 3A The step of displaying the effectiveness determination result shown, includes:
[0090] S310. Display different error-proofing solutions for each process segment.
[0091] Among them, the process segment is the production process. It can be understood that for each error-proofing solution, it belongs to at least one production process.
[0092] For ease of explanation, refer to Table-1 which shows a partial list of error-proofing solution names in the feeding process. Among them, the error-proofing solution names listed in Table-1 are only for illustrative purposes and should not be construed as a limitation on the embodiments of the present application.
[0093] Table-1 Partial List of Error-Proofing Solution Names
[0094]
[0095] Refer to Figure 3B Shown is a display schematic diagram of the error-proofing solution. Figure 3B It shows that there is a process segment selection area and an error-proofing solution display area on the error-proofing solution display page. Among them, at least one process segment label is displayed in the process segment selection area, and the process segments corresponding to different process segment labels are different. Correspondingly, in response to a trigger operation on the process segment label, at least one error-proofing solution of the corresponding process segment can be displayed in the error-proofing solution display area.
[0096] Continue to refer to Figure 3B , Figure 3B It shows that the process segment can include the A-line loose segment, B-line loose segment, C-line loose segment, and A-line feeding segment, etc. Taking the process segment label corresponding to the A-line feeding segment as an example, in response to the A-line feeding segment label, the error-proofing solution corresponding to the A-line feeding segment can be displayed in the error-proofing solution display area.
[0097] S320. For each error-proofing solution, correspondingly display the effectiveness determination result of the error-proofing solution.
[0098] Among them, the effectiveness determination result can include that the error-proofing solution is effective or the error-proofing solution fails. Among them, the failure of the error-proofing solution can include the serious failure of the error-proofing solution and the ordinary failure of the error-proofing solution.
[0099] In an optional embodiment, corresponding effectiveness identifiers can be predefined for different effectiveness determination results, and for each error-proofing solution, the effectiveness identifier of the error-proofing solution can be correspondingly displayed.
[0100] Optionally, the validity identifier may use color differentiation to represent different validity determination results. Exemplarily, an effective anti-error scheme may correspond to a green identifier; a general failure of the anti-error scheme may correspond to a yellow identifier; a serious failure of the anti-error scheme may correspond to a red identifier.
[0101] Continue to refer to Figure 3B , Figure 3B As shown in, there are 19 anti-error schemes in total in the A-line feeding section, all of which are in an effective state. Exemplarily, when the validity identifier corresponding to the anti-error scheme is displayed in yellow, it indicates that the anti-error scheme is a general failure; when the validity identifier corresponding to the anti-error scheme is displayed in red, it indicates that the anti-error scheme is a serious failure. Technicians can rectify the corresponding failed anti-error schemes according to the priority processing order.
[0102] Based on the technical solutions of the above embodiments, the present application also provides a validity detection system for an anti-error scheme. Refer to Figure 4 As shown, it is a schematic diagram of the validity detection system for the anti-error scheme. The validity detection system may include a terminal device, a first server, and a second server.
[0103] Optionally, the terminal device may be based on the SCADA (Supervisory Control And Data Acquisition) system, obtain the target operation data of different target devices through the local area network ring network, and obtain time series data from the time series database through TCP (Transmission Control Protocol) / IP (Internet Protocol). Exemplarily, the terminal device may clean the target operation data and store it in the relational database. Among them, the time series database may include the InfluxDB database; the relational database may include at least one of the MySQL database and the Oracle database, etc. By introducing the time series database and the relational database, the effective management and rapid retrieval of data can be ensured. Among them, the target device may include at least one of a flow meter, a static scale, a thermometer, an RFID tag, and a valve, etc.
[0104] Optionally, the first server may serve as a communication middleware and may, based on the Kepware platform, uniformly access the data collected by different devices (such as terminal devices and data acquisition workstations based on the SCADA system) into the Kepware system platform. Among them, the Kepware platform may support communication protocols such as TCP / IP and OPC (OLE for Process Control).
[0105] Optionally, the second server can integrate data streams from the Kepware platform, the SCADA system, and the relational database based on the Thingworx platform, and implement the effectiveness detection method of the anti-error scheme as described above. Among them, the Kepware platform is an application development platform for industrial Internet of Things, which can support TCP / IP protocol and RESTful Web (Representational State Transfer Web) services.
[0106] Based on the technical solutions of the above embodiments, the present application also provides another optional embodiment, in which the effectiveness detection method of the anti-error scheme is described in detail.
[0107] See Figure 5 The effectiveness detection method of the anti-error scheme shown includes:
[0108] S501. Obtain the text content of the anti-error scheme.
[0109] S502. Determine at least one target device for executing the anti-error scheme according to the text content.
[0110] S503. For each target device, extract the text segment where the target device is located from the text content.
[0111] S504. Extract the preset execution conditions and preset execution results of the target device from the text segment.
[0112] S505. For each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target running data of the target device; the target running data includes historical running data and / or test running data.
[0113] S506. Determine the number of execution conditions that meet the preset execution conditions according to the target running data.
[0114] S507. Determine the number of correct execution results that are the same as the preset execution results among the target execution results.
[0115] S508. Determine the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0116] S509. Obtain the application program data and backup program data corresponding to the anti-error scheme.
[0117] S510. Perform program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the anti-error scheme.
[0118] S511. Determine the effectiveness of the error-proofing solution based on the program consistency score and the effectiveness score of each target device.
[0119] S512. Display different error-proofing solutions for each process section.
[0120] S513. For each error-proofing solution, correspondingly display the determination result of the effectiveness of the error-proofing solution.
[0121] It should be understood that although the steps in the flowcharts involved in the above-described embodiments are shown in sequence according to the indication of the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless there is a clear description in this article, there is no strict order limit for the execution of these steps, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-described embodiments may include multiple steps or multiple stages. These steps or stages are not necessarily executed at the same time, but can be executed at different times. The execution order of these steps or stages is not necessarily sequential, but can be executed alternately or in turn with at least a part of other steps or steps or stages in other steps.
[0122] Based on the same inventive concept, the embodiments of the present application also provide a method for detecting the effectiveness of the error-proofing solution involved above, and a corresponding device for detecting the effectiveness of the error-proofing solution. The implementation solutions for solving problems provided by this device are similar to the implementation solutions described in the above method. Therefore, the specific limitations in one or more embodiments of the device for detecting the effectiveness of the error-proofing solution provided below can refer to the limitations on the method for detecting the effectiveness of the error-proofing solution in the above text, and will not be repeated here.
[0123] In an exemplary embodiment, as Figure 6 shown, a device for detecting the effectiveness of an error-proofing solution is provided, including: an acquisition module 610, a first extraction module 620, a second extraction module 630, a first determination module 640, and a second determination module 650, where:
[0124] The acquisition module 610 is used to acquire the text content of the error-proofing solution.
[0125] The first extraction module 620 extracts the solution feature data from the text content; the solution feature data includes at least one target device for executing the error-proofing solution, and a preset execution condition corresponding to the target device and a preset execution result corresponding to the target device.
[0126] A second extraction module 630, configured to extract, for each target device, various target execution results of the target device under corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data.
[0127] A first determination module 640, configured to determine the effectiveness score of the target device according to the various target execution results and the corresponding preset execution results.
[0128] A second determination module 650, configured to determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0129] In one embodiment, the first extraction module 620 includes: a first determination unit, configured to determine at least one target device for executing the anti-error scheme according to the text content; a first extraction unit, configured to extract, for each target device, the text paragraph where the target device is located from the text content; a second extraction unit, configured to extract the preset execution conditions and preset execution results of the target device from the text paragraph.
[0130] In one embodiment, the first determination module 640 includes: a second determination unit, configured to determine the number of execution conditions that meet the preset execution conditions according to the target operation data; and, a third determination unit, configured to determine the number of correct execution results that are the same as the preset execution results among the various target execution results; a fourth determination unit, configured to determine the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0131] In one embodiment, the second determination module 650 includes: a first acquisition unit, configured to acquire the application program data and backup program data corresponding to the anti-error scheme; a detection unit, configured to perform program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the anti-error scheme; a fifth determination unit, configured to determine the effectiveness of the anti-error scheme according to the program consistency score and the effectiveness score of each target device.
[0132] In one embodiment, the fifth determination unit includes: a first determination subunit, configured to determine that the anti-error scheme fails when the program consistency score is less than the first score threshold; or, for each target device, determine that the anti-error scheme fails when the effectiveness score of the target device is less than the second score threshold.
[0133] In one embodiment, it further includes: a first display module, configured to display different anti-error schemes for each process segment; a second display module, configured to correspondingly display the effectiveness determination results of the anti-error scheme for each anti-error scheme.
[0134] Each module in the effectiveness detection of the above anti-error scheme can be implemented in whole or in part by software, hardware, and their combination. Each of the above modules can be embedded in the processor of the computer device in hardware form or independent of it, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0135] In an exemplary embodiment, a computer device is provided. The computer device can be a terminal, and its internal structure diagram can be as Figure 7 shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used for exchanging information between the processor and external devices. The communication interface of the computer device is used for communicating with external terminals in a wired or wireless manner. The wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC), or other technologies. The computer program, when executed by the processor, implements the effectiveness detection of an anti-error scheme. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the computer device can be a touch layer covering the display screen, or a button, a trackball, or a touchpad provided on the housing of the computer device, or an external keyboard, touchpad, or mouse, etc.
[0136] Those skilled in the art can understand that Figure 7 the structure shown in
[0137] is only a block diagram of some structures related to the solution of this application, and does not constitute a limitation on the computer device to which the solution of this application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0137] In an exemplary embodiment, a computer device is provided, including a memory and a processor. A computer program is stored in the memory. When the processor executes the computer program, the following steps are implemented:
[0138] Obtain the text content of the anti-error scheme;
[0139] Extract the solution feature data in the text content; the solution feature data includes at least one target device for executing the anti-error solution, as well as the corresponding preset execution conditions for the target device and the corresponding preset execution results for the target device;
[0140] For each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0141] Determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0142] Determine the effectiveness of the anti-error solution according to the effectiveness score of each target device.
[0143] In one embodiment, when the processor executes the computer program, the following steps are further implemented: Determine at least one target device for executing the anti-error solution according to the text content; and for each target device, extract the text paragraph where the target device is located from the text content; from the text paragraph, extract the preset execution conditions and preset execution results of the target device.
[0144] In one embodiment, when the processor executes the computer program, the following steps are further implemented: Determine the number of execution conditions that meet the preset execution conditions according to the target operation data; and determine the number of correct execution results that are the same as the preset execution results among each target execution result; Determine the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0145] In one embodiment, when the processor executes the computer program, the following steps are further implemented: Obtain the application program data and backup program data corresponding to the anti-error solution; Perform program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the anti-error solution; Determine the effectiveness of the anti-error solution according to the program consistency score and the effectiveness score of each target device.
[0146] In one embodiment, when the processor executes the computer program, the following steps are further implemented: When the program consistency score is less than the first score threshold, determine that the anti-error solution fails; or, for each target device, when the effectiveness score of the target device is less than the second score threshold, determine that the anti-error solution fails.
[0147] In one embodiment, when the processor executes the computer program, the following steps are further implemented: Display different anti-error solutions for each process segment; For each anti-error solution, display the effectiveness determination result of the anti-error solution correspondingly.
[0148] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the following steps are implemented:
[0149] Obtain the text content of the anti-error scheme;
[0150] Extract the scheme feature data from the text content; the scheme feature data includes at least one target device for executing the anti-error scheme, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device;
[0151] For each target device, extract each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0152] Determine the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0153] Determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
[0154] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determine at least one target device for executing the anti-error scheme according to the text content; and for each target device, extract the text paragraph where the target device is located from the text content; extract the preset execution conditions and preset execution results of the target device from the text paragraph.
[0155] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determine the number of execution conditions that meet the preset execution conditions according to the target operation data; and determine the number of correct execution results that are the same as the preset execution results among each target execution result; determine the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0156] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtain the application program data and backup program data corresponding to the anti-error scheme; perform program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the anti-error scheme; determine the effectiveness of the anti-error scheme according to the program consistency score and the effectiveness score of each target device.
[0157] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: in the case where the program consistency score is less than the first score threshold, determine that the anti-error scheme fails; or, in the case where the effectiveness score of each target device is less than the second score threshold, determine that the anti-error scheme fails.
[0158] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: displaying different error-proofing schemes for each process segment; for each error-proofing scheme, correspondingly displaying the determination result of the effectiveness of the error-proofing scheme.
[0159] In one embodiment, a computer program product is provided, including a computer program, which when executed by a processor implements the following steps:
[0160] Obtaining the text content of the error-proofing scheme;
[0161] Extracting the scheme feature data from the text content; the scheme feature data includes at least one target device for executing the error-proofing scheme, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device;
[0162] For each target device, extracting each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data;
[0163] Determining the effectiveness score of the target device according to each target execution result and the corresponding preset execution result;
[0164] Determining the effectiveness of the error-proofing scheme according to the effectiveness score of each target device.
[0165] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining at least one target device for executing the error-proofing scheme according to the text content; and for each target device, extracting the text segment where the target device is located from the text content; and extracting the preset execution conditions and preset execution results of the target device from the text segment.
[0166] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: determining the number of execution conditions that meet the preset execution conditions according to the target operation data; and determining the number of correct execution results that are the same as the preset execution results among the target execution results; determining the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
[0167] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: obtaining the application program data and backup program data corresponding to the error-proofing scheme; performing program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the error-proofing scheme; determining the effectiveness of the error-proofing scheme according to the program consistency score and the effectiveness score of each target device.
[0168] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: when the program consistency score is less than the first score threshold, it is determined that the anti-error scheme fails; or, for each target device, when the effectiveness score of the target device is less than the second score threshold, it is determined that the anti-error scheme fails.
[0169] In one embodiment, when the computer program is executed by a processor, the following steps are further implemented: display different anti-error schemes for each process segment; for each anti-error scheme, correspondingly display the determination result of the effectiveness of the anti-error scheme.
[0170] Those of ordinary skill in the art can understand that all or part of the processes of implementing the methods in the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods. Among them, any reference to a memory, database, or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM), etc. The databases involved in the embodiments provided in the present application can include at least one of relational databases and non-relational databases. Non-relational databases can include distributed databases based on blockchain, etc., and are not limited thereto. The processors involved in the embodiments provided in the present application can be general-purpose processors, central processors, graphics processors, digital signal processors, programmable logic devices, data processing logics based on quantum computing, artificial intelligence (AI) processors, etc., and are not limited thereto.
[0171] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in this application.
[0172] The above-described embodiments merely represent several implementation manners of this application. The description is relatively specific and detailed, but it should not be construed as a limitation on the patent scope of this application. It should be noted that for those of ordinary skill in the art, without departing from the concept of this application, several modifications and improvements can still be made, and these all belong to the protection scope of this application. Therefore, the protection scope of this application shall be subject to the appended claims.
Claims
1. A method for detecting the effectiveness of an anti-error scheme, characterized in that The method includes: Obtaining the text content of the error-proofing solution; Extracting the solution feature data from the text content; the solution feature data includes at least one target device for executing the error-proofing solution, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device; For each target device, extracting each target execution result of the target device under the corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data; Determining the effectiveness score of the target device according to the respective target execution results and the corresponding preset execution results; Determining the effectiveness of the error-proofing solution according to the effectiveness score of each target device.
2. The method according to claim 1, wherein The extracting the solution feature data from the text content includes: Determining at least one target device for executing the error-proofing solution according to the text content; and, For each target device, extracting the text paragraph where the target device is located from the text content; Extracting the preset execution conditions and preset execution results of the target device from the text paragraph.
3. The method according to claim 1, characterized in that The determining the effectiveness score of the target device according to the respective target execution results and the corresponding preset execution results includes: Determining the number of execution conditions that meet the preset execution conditions according to the target operation data; and, Determining the number of correct execution results that are the same as the preset execution results among the respective target execution results; Determining the effectiveness score of the target device according to the number of execution conditions and the number of correct execution results.
4. The method according to claim 1, wherein The determining the effectiveness of the error-proofing solution according to the effectiveness score of each target device includes: Obtaining the application program data and backup program data corresponding to the error-proofing solution; Performing program consistency detection on the application program data according to the backup program data to obtain the program consistency score of the error-proofing solution; Determining the effectiveness of the error-proofing solution according to the program consistency score and the effectiveness score of each target device.
5. The method according to claim 4, characterized in that The determining the effectiveness of the error-proofing solution according to the program consistency score and the effectiveness score of each target device includes: In the case where the program consistency score is less than the first score threshold, determining that the error-proofing solution fails; or, For each target device, in the case where the effectiveness score of the target device is less than the second score threshold, determining that the error-proofing solution fails.
6. The method according to any one of claims 1-5, characterized in that, It further includes: Displaying different error-proofing solutions for each process section; Correspondingly displaying the effectiveness determination results of the error-proofing solutions.
7. An effectiveness detection device for an anti-error scheme, characterized in that The device includes: An acquisition module, configured to acquire the text content of the error-proofing solution; A first extraction module, configured to extract the solution feature data from the text content; the solution feature data includes at least one target device for executing the error-proofing solution, as well as the preset execution conditions corresponding to the target device and the preset execution results corresponding to the target device; A second extraction module, which is configured to extract, for each target device, various target execution results of the target device under corresponding preset execution conditions from the target operation data of the target device; the target operation data includes historical operation data and / or test operation data; A first determination module, which is configured to determine the effectiveness score of the target device according to the various target execution results and the corresponding preset execution results; A second determination module, which is configured to determine the effectiveness of the anti-error scheme according to the effectiveness score of each target device.
8. A computer device, comprising a memory and a processor, the memory storing a computer program, characterized in that, When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.
10. A computer program product comprising a computer program, characterized in that, When the computer program is executed by the processor, the steps of the method according to any one of claims 1 to 6 are implemented.