Data verification method, control device and readable storage medium
Through internal data verification and display interface verification, abnormal data is marked and analyzed, which solves the problem of data reporting in digital twin scenarios, improves the efficiency of data monitoring and troubleshooting, and ensures the accuracy of digital twin models.
Patent Information
- Application Number
- CN202310150094.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-02-22
- Publication Date
- 2024-08-23
AI Technical Summary
In the existing technology, data reporting problems in digital twin scenarios lead to abnormal model drawing and movement, and there is a lack of efficient abnormal data positioning and monitoring solutions, resulting in low efficiency and the inability to effectively eradicate abnormal data.
Provide a data verification method, including internal data verification, abnormal data marking and analysis, marking and analyzing abnormal data through network time error verification, device reporting logic verification, device omission verification and data duplication verification, and Build a digital twin model and display interface verification based on the verification results, and update the verification logic to improve data accuracy.
It realizes the timely discovery and location of abnormal data in the digital twin model, improves the efficiency of data monitoring and troubleshooting, ensures data accuracy, avoids model display abnormalities, and improves data processing efficiency.
Smart Images

Figure CN118535555A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of digital twin technology, and specifically provides a data verification method, a control device and a readable storage medium. Background Art
[0002] The data twin scenario before washing machine production relies on antenna equipment installed on the production line to collect washing machine information, such as number, arrival location, corresponding time, etc.
[0003] When the production line is running, a huge amount of data will be generated. In the existing technology, the model of the washing machine of the entire production line is generally drawn and moved based on this data. Due to various reasons, such as incorrect antenna configuration and network delay, there will be problems with the reported data, which will further lead to abnormal drawing and movement of the model in the digital twin scenario.
[0004] In the existing technology, only when an abnormality occurs in the digital twin scene, we know that there may be a problem with the data. In order to locate the abnormal data and the cause, it is necessary to manually screen the massive data to troubleshoot the problem. At the same time, after repairing the abnormal data, it is also necessary to manually monitor whether the data still has abnormalities or whether new abnormalities will be caused. These processes are inefficient and cannot effectively eliminate and monitor abnormal data.
[0005] Accordingly, the art needs a new data verification solution to solve the above problems. Summary of the invention
[0006] In order to overcome the above-mentioned defects, the present invention is proposed to provide a solution or at least partially solve the problem of how to timely discover and effectively locate abnormal data in data twin scenarios.
[0007] In a first aspect, the present invention provides a data verification method, the method comprising:
[0008] For the reported data used for building the digital twin model, internal data verification is performed on the reported data;
[0009] Based on the verification result of the internal verification of the data, abnormal data marking and / or abnormal data analysis are performed on the reported data.
[0010] In a technical solution of the above data verification method, the data internal verification includes network time error verification, and the network time error verification includes the following steps:
[0011] Obtaining the data generation time of each piece of reported data and the deviation between the reported arrival time and the current network time;
[0012] obtaining an average value of the deviations;
[0013] When the average value exceeds a preset average value range, the reported data is marked as abnormal data.
[0014] In a technical solution of the above data verification method, the network time error verification further includes the following steps:
[0015] Obtaining the maximum and minimum values of the deviation;
[0016] When the maximum value and / or the minimum value exceeds a preset extreme value range, the reported data is marked as data requiring attention.
[0017] In a technical solution of the above data verification method, the data internal verification includes a device reporting logic verification, and the device reporting logic verification includes the following steps:
[0018] For each data acquisition device that acquires reported data, determining whether acquisition times of each piece of reported data of the data acquisition device overlap;
[0019] If yes, marking the reported data as abnormal data; and / or,
[0020] Within a preset distance range, determine whether the number of machines corresponding to the reported data is greater than a preset number threshold,
[0021] If yes, the reported data is marked as abnormal data.
[0022] In a technical solution of the above data verification method, the data internal verification includes a device omission verification, and the device omission verification includes the following steps:
[0023] For each piece of reported data, determining whether the data acquisition device transmits the reported data after acquiring the reported data;
[0024] If not, the reported data is marked as abnormal data.
[0025] In a technical solution of the above data verification method, the data internal verification includes data duplication verification, and the data duplication verification includes the following steps:
[0026] Determine whether there is the same data among the reported data;
[0027] If so, the reported data corresponding to the same data is marked as abnormal data.
[0028] In a technical solution of the above data verification method, the method further includes:
[0029] Constructing the digital twin model according to the reported data after internal verification of the data;
[0030] Performing display interface verification on the digital twin model;
[0031] According to the verification result of the display interface verification, abnormal data marking and abnormal data analysis are performed on the reported data.
[0032] In a technical solution of the above data verification method, the display interface verification includes the following steps:
[0033] Determining whether the digital twin model has display abnormality;
[0034] If yes, marking the reported data corresponding to the digital twin model as abnormal data; and / or,
[0035] The method further comprises:
[0036] According to the verification results of the internal data verification and / or the display interface verification, the verification logic of the internal data verification and / or the display interface verification is updated.
[0037] In a second aspect, a control device is provided, which includes a processor and a storage device, wherein the storage device is suitable for storing multiple program codes, and the program codes are suitable for being loaded and run by the processor to execute the data verification method described in any one of the technical solutions of the above-mentioned data verification method.
[0038] In a third aspect, a computer-readable storage medium is provided, wherein a plurality of program codes are stored in the computer-readable storage medium, wherein the program codes are suitable for being loaded and run by a processor to execute the data verification method described in any one of the technical solutions of the above-mentioned data verification method.
[0039] The above one or more technical solutions of the present invention have at least one or more of the following Beneficial effects:
[0040] In the technical solution of the present invention, the present invention will use the reported data for data twin model construction to perform internal data verification, and based on the verification results of the internal data verification, perform abnormal data marking and abnormal data analysis on the reported data. Through the above configuration, the present invention can timely and effectively discover abnormal data in the reported data, and effectively locate the abnormal data, so as to timely improve the problems existing in the data, effectively eradicate data anomalies, and further effectively avoid the display abnormality problem of the digital twin model constructed by using the reported data, and effectively improve the efficiency of monitoring and troubleshooting of the reported data on the premise of improving the display accuracy of the digital twin model. BRIEF DESCRIPTION OF THE DRAWINGS
[0041] The disclosure of the present invention will become more easily understood with reference to the accompanying drawings. It is easy for those skilled in the art to understand that these drawings are only for illustrative purposes and are not intended to limit the scope of protection of the present invention. Among them:
[0042] Figure 1 is a schematic flow chart of main steps of a data verification method according to an embodiment of the present invention;
[0043] Figure 2 It is a flowchart of main steps of a data verification method according to an implementation of an embodiment of the present invention. DETAILED DESCRIPTION
[0044] Some embodiments of the present invention are described below with reference to the accompanying drawings. It should be understood by those skilled in the art that these embodiments are only used to explain the technical principles of the present invention and are not intended to limit the protection scope of the present invention.
[0045] In the description of the present invention, "module" and "processor" may include hardware, software or a combination of the two. A module may include hardware circuits, various suitable sensors, communication ports, and memories, and may also include software parts, such as program codes, or a combination of software and hardware. The processor may be a central processing unit, a microprocessor, an image processor, a digital signal processor, or any other suitable processor. The processor has data and / or signal processing functions. The processor may be implemented in software, hardware, or a combination of the two. Non-temporary computer-readable storage media include any suitable medium that can store program codes, such as a magnetic disk, a hard disk, an optical disk, a flash memory, a read-only memory, a random access memory, and the like. The term "A and / or B" means all possible combinations of A and B, such as only A, only B, or A and B. The term "at least one A or B" or "at least one of A and B" has a similar meaning to "A and / or B", and may include only A, only B, or A and B. The singular terms "one" and "the" may also include plural forms.
[0046] See attached Figure 1 , Figure 1 FIG. 1 is a flow chart showing the main steps of a data verification method according to an embodiment of the present invention. Figure 1 As shown, the data verification method in the embodiment of the present invention mainly includes the following steps S101 to S102.
[0047] Step S101: For the reported data used to build the digital twin model, perform internal data verification on the reported data.
[0048] In this embodiment, the reported data used for building the digital twin model can be internally verified. The internal verification of data refers to setting a verification logic for the reported data to determine whether the reported data is abnormal data according to the verification logic.
[0049] In one embodiment, the internal data check may include network time error check, device reporting logic check and device omission check. Those skilled in the art may also determine the specific logic of the internal data check according to the needs of the actual application, such as writing the internal data check logic according to the actual production rules of the production line.
[0050] In one embodiment, the reported data may be relevant data of a machine used to generate a digital twin model, such as data used to generate a data twin model in a washing machine production line, such as the washing machine number, arrival location, and corresponding time.
[0051] Step S102: Based on the verification result of the internal data verification, abnormal data marking and / or abnormal data analysis are performed on the reported data.
[0052] In this embodiment, the reported data can be marked and analyzed for abnormal data according to the verification result of the internal data verification. That is, the abnormal data in the reported data is marked according to the verification result, and the abnormal data can be analyzed according to the verification logic, so as to effectively eliminate the abnormal data.
[0053] In one implementation, the developer may be notified to perform problem analysis based on the verification result of the internal data verification, and the verification logic of the internal data verification may be updated based on the verification result.
[0054] Based on the above steps S101-S102, the embodiment of the present invention will perform internal data verification on the reported data used to construct the data twin model, and based on the verification results of the internal data verification, perform abnormal data marking and abnormal data analysis on the reported data. Through the above configuration method, the embodiment of the present invention can timely and effectively discover abnormal data in the reported data, and effectively locate the abnormal data, so as to timely improve the problems existing in the data, effectively eradicate data anomalies, and further effectively avoid the display abnormality problem of the digital twin model constructed by using the reported data, and effectively improve the efficiency of monitoring and troubleshooting of the reported data on the premise of improving the display accuracy of the digital twin model.
[0055] In one implementation of the embodiment of the present invention, the network time error check may include the following steps S201 to S203:
[0056] Step S201: respectively obtain the data generation time of each reported data and the deviation between the reported arrival time and the current network time.
[0057] Step S202: Obtain the average value of the deviation.
[0058] Step S203: When the average value exceeds a preset average value range, the reported data is marked as abnormal data.
[0059] In this embodiment, it is possible to determine whether the average value of the deviation is within a preset average value range based on the deviation between the data generation time and the reporting arrival time of each reported data and the current network time. If it exceeds the average value range, the reported data can be marked as abnormal data.
[0060] In one implementation, the maximum and minimum values of the deviation can be obtained to determine whether the maximum and minimum values are within a preset extreme value range. If they are beyond the extreme value range, it means that the data fluctuates greatly. In this case, the reported data can be marked as data that requires attention, reminding relevant personnel to pay attention to these reported data to determine whether relevant measures need to be taken.
[0061] In one implementation of the embodiment of the present invention, the device reporting logic check may include the following steps S301 to S302:
[0062] Step S301: for each data acquisition device that acquires reported data, determine whether acquisition times of each reported data of the data acquisition device overlap.
[0063] Step S302: When there is overlap, the reported data is marked as abnormal data.
[0064] In this embodiment, each device for acquiring reported data can only acquire one piece of reported data at any time, that is, machine B can start reporting only after machine A reports and leaves. Therefore, if there is overlap in the acquisition time of reported data, it means that the reported data is abnormal.
[0065] In one implementation, the data acquisition device may be an antenna for acquiring reported data.
[0066] In one implementation, the device reporting logic verification may further include the following steps S303 and S304:
[0067] Step S303: within a preset distance range, determine whether the number of machines corresponding to the reported data is greater than a preset number threshold.
[0068] Step S304: When the number of machines corresponding to the reported data is greater than a preset number threshold, the reported data is marked as abnormal data.
[0069] In this embodiment, at any time, within a certain distance range, the number of machines needs to be less than or equal to the maximum number that can be accommodated within the distance range, that is, the number threshold. When the number of machines is greater than the number threshold, the reported data can be judged as abnormal data.
[0070] In one implementation of the embodiment of the present invention, the device missing check may include the following steps S401 and S402:
[0071] Step S401: for each piece of reported data, determine whether the data acquisition device transmits the reported data after acquiring the reported data.
[0072] Step S402: If the data is not transmitted, the reported data is marked as abnormal data.
[0073] In this embodiment, for any data acquisition device, the reported data of the machine appears in pairs, and the data acquisition device acquires the reported data and then transmits the reported data. If a piece of reported data is not transmitted, it is necessary to mark the piece of reported data as abnormal data.
[0074] In one implementation of the embodiment of the present invention, data duplication checking may include the following steps S501 and S502:
[0075] Step S501: Determine whether there is identical data among the reported data.
[0076] Step S502: When identical data exists, the reported data corresponding to the identical data is marked as abnormal data.
[0077] In this embodiment, since different machines have unique codes and the locations and completion levels of the machines are different, the reported data of different machines will not be repeated. If there is a situation where the reported data of different machines are repeated, the reported data can be marked as abnormal data.
[0078] In one implementation of the embodiment of the present invention, in addition to the above steps S101 and S102, the present invention may further include the following steps S103 to S105:
[0079] Step S103: Build a digital twin model based on the reported data after internal data verification.
[0080] Step S104: Verify the display interface of the digital twin model.
[0081] Step S105: According to the verification result of the display interface verification, abnormal data marking and abnormal data analysis are performed on the reported data.
[0082] In this embodiment, after the digital twin model is constructed by reporting data, the display interface of the digital twin model can be verified, that is, whether the digital twin model is displayed normally can be determined. If an abnormality occurs, the corresponding reported data can be marked as abnormal data, and abnormal data analysis can be performed.
[0083] In one implementation, the interface verification may include the following steps S601 to S602:
[0084] Step S601: Determine whether the digital twin model has display anomalies. Display anomalies may include stagnation, overlap, and mutual penetration of the digital twin model. Those skilled in the art may also determine the specific logic for determining display anomalies according to the needs of actual applications.
[0085] Step S602: When the digital twin model has a display abnormality, the reported data corresponding to the digital twin model is marked as abnormal data.
[0086] In this embodiment, it can be determined whether there is a display abnormality based on the display of the digital twin model. If there is a display abnormality, the corresponding reported data can be marked as abnormal data, so that relevant personnel can analyze the cause of the abnormality based on the abnormal situation and the marked abnormal data to facilitate problem elimination.
[0087] In one implementation, the verification logic of the internal data verification and the display interface verification may be updated according to the verification results of the internal data verification and the display interface verification.
[0088] In one embodiment, please refer to the attached Figure 2 , Figure 2 FIG. 1 is a flow chart of the main steps of a data verification method according to an implementation of an embodiment of the present invention. Figure 2 As shown, the data verification method may include the following steps S701 to S711:
[0089] Step S701: Data reporting starts.
[0090] Step S702: Based on the actual production rules of the production line, write the data internal verification and display interface verification logic.
[0091] Step S703: Run internal data verification.
[0092] Step S704: abnormal data that does not conform to the internal data verification logic is found and the abnormal data is marked.
[0093] Step S705: Notify the developer to analyze the problem.
[0094] Step S706: Update the data internal verification logic.
[0095] Step S707: Run display interface verification.
[0096] Step S708: When a display that does not conform to the display interface verification logic appears on the interface, the background reporting data is automatically marked.
[0097] Step S709: Notify the developer to identify the cause of the data anomaly by combining the anomaly display and the marked reported data.
[0098] Step S710: Update the verification logic of internal data verification and display interface verification.
[0099] Step S711: Continuously detect and perform internal verification on the reported data, and perform display interface verification on the display interface.
[0100] It should be pointed out that although the various steps in the above embodiments are described in a specific order, those skilled in the art can understand that in order to achieve the effects of the present invention, different steps do not have to be performed in such an order. They can be performed simultaneously (in parallel) or in other orders. These changes are within the scope of protection of the present invention.
[0101] It is understood by those skilled in the art that the present invention implements all or part of the processes in the method of the above embodiment, and can also be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable storage medium may include: any entity or device, medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory, random access memory, electric carrier signal, telecommunication signal and software distribution medium that can carry the computer program code. It should be noted that the content contained in the computer-readable storage medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable storage media do not include electric carrier signals and telecommunication signals.
[0102] Furthermore, the present invention also provides a control device. In an embodiment of a control device according to the present invention, the control device includes a processor and a storage device, the storage device can be configured to store a program for executing the data verification method of the above method embodiment, and the processor can be configured to execute the program in the storage device, which includes but is not limited to the program for executing the data verification method of the above method embodiment. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The control device can be a control device device formed by various electronic devices.
[0103] Furthermore, the present invention also provides a computer-readable storage medium. In a computer-readable storage medium embodiment according to the present invention, the computer-readable storage medium can be configured to store a program for executing the data verification method of the above method embodiment, and the program can be loaded and run by the processor to implement the above data verification method. For ease of explanation, only the parts related to the embodiment of the present invention are shown. For specific technical details not disclosed, please refer to the method part of the embodiment of the present invention. The computer-readable storage medium can be a storage device formed by various electronic devices. Optionally, the computer-readable storage medium in the embodiment of the present invention is a non-temporary computer-readable storage medium.
[0104] Further, it should be understood that since the setting of each module is only for illustrating the functional units of the device of the present invention, the physical devices corresponding to these modules may be the processor itself, or a part of the software in the processor, a part of the hardware, or a part of the combination of software and hardware. Therefore, the number of each module in the figure is only schematic.
[0105] It is understood by those skilled in the art that the modules in the device can be adaptively split or merged. Such splitting or merging of specific modules will not cause the technical solution to deviate from the principle of the present invention, and therefore, the technical solutions after splitting or merging will fall within the protection scope of the present invention.
[0106] So far, the technical solutions of the present invention have been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present invention is obviously not limited to these specific embodiments. Without departing from the principle of the present invention, those skilled in the art can make equivalent changes or substitutions to the relevant technical features, and the technical solutions after these changes or substitutions will fall within the protection scope of the present invention.
Claims
1. A data verification method, characterized in that: The method comprises: For the reported data used for building the digital twin model, internal data verification is performed on the reported data; Based on the verification result of the internal verification of the data, abnormal data marking and / or abnormal data analysis are performed on the reported data.
2. The data verification method according to claim 1, characterized in that: The data internal check includes a network time error check, and the network time error check includes the following steps: Obtaining the data generation time of each piece of reported data and the deviation between the reported arrival time and the current network time; obtaining an average value of the deviations; When the average value exceeds a preset average value range, the reported data is marked as abnormal data.
3. The data verification method according to claim 2, characterized in that: The network time error check also includes the following steps: Obtaining the maximum and minimum values of the deviation; When the maximum value and / or the minimum value exceeds a preset extreme value range, the reported data is marked as data requiring attention.
4. The data verification method according to claim 1, characterized in that: The data internal verification includes a device reporting logic verification, and the device reporting logic verification includes the following steps: For each data acquisition device that acquires reported data, determining whether acquisition times of each piece of reported data of the data acquisition device overlap; If yes, marking the reported data as abnormal data; and / or, Within a preset distance range, determining whether the number of machines corresponding to the reported data is greater than a preset number threshold; If yes, the reported data is marked as abnormal data.
5. The data verification method according to claim 1, characterized in that: The data internal verification includes a device omission verification, and the device omission verification includes the following steps: For each piece of reported data, determining whether the data acquisition device transmits the reported data after acquiring the reported data; If not, the reported data is marked as abnormal data.
6. The data verification method according to claim 1, characterized in that: The data internal verification includes data duplication verification, and the data duplication verification includes the following steps: Determine whether there is the same data among the reported data; If so, the reported data corresponding to the same data is marked as abnormal data.
7. The data verification method according to claim 1, characterized in that: The method further comprises: Constructing the digital twin model according to the reported data after internal verification of the data; Performing display interface verification on the digital twin model; According to the verification result of the display interface verification, abnormal data marking and abnormal data analysis are performed on the reported data.
8. The data verification method according to claim 7, characterized in that: The display interface verification comprises the following steps: Determining whether the digital twin model has display abnormality; If yes, marking the reported data corresponding to the digital twin model as abnormal data; and / or, The method further comprises: According to the verification results of the internal data verification and / or the display interface verification, the verification logic of the internal data verification and / or the display interface verification is updated.
9. A control device, comprising a processor and a storage device, wherein the storage device is suitable for storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by the processor to execute the data verification method according to any one of claims 1 to 8.
10. A computer-readable storage medium storing a plurality of program codes, characterized in that: The program code is suitable for being loaded and run by a processor to execute the data verification method according to any one of claims 1 to 8.
