Data accuracy detection method, device, equipment, storage medium and program product

By obtaining the generation time of the displayed data and the acquisition time of the original data in data visualization technology, calculating the time difference and setting a threshold, the problem of inaccurate data display is solved, and the convenience and accuracy of data accuracy detection are improved.

CN116860865BActive Publication Date: 2025-11-11INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF 3 Cites 0 Cited by

Patent Information

Application Number
CN202310826416.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-06
Publication Date
2025-11-11
Estimated Expiration
2043-07-06

AI Technical Summary

Technical Problem

The lack of data accuracy detection methods in existing data visualization technologies leads to inaccurate data presentation, which in turn affects corporate decision-making.

Method used

By obtaining the generation time of the currently displayed data in the visualization interface and the acquisition time of the current original data, the time difference is calculated and a threshold is set to determine the accuracy of the displayed data and locate the cause of inaccuracies.

Benefits of technology

It enables convenient and rigorous data accuracy testing, quickly locates and displays data accuracy issues, and improves data utilization and work efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116860865B_ABST
    Figure CN116860865B_ABST
Patent Text Reader

Abstract

This application relates to a data accuracy detection method, apparatus, device, storage medium, and program product. It pertains to the field of big data technology. The method includes: obtaining the generation time of the currently displayed data in a visualization interface, and the acquisition time of the corresponding original data; wherein the currently displayed data is obtained by processing the original data; and determining the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the original data. This method can improve data accuracy.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of big data technology, and in particular to a data accuracy detection method, apparatus, device, storage medium, and program product. Background Technology

[0002] In the era of big data, data is diverse and complex, leading to the development of data visualization methods that display vast amounts of data in graphical form. This allows users to obtain data content more intuitively, quickly grasp key information from various types of data, and thus improve data utilization and work efficiency.

[0003] While data visualization technology can present data graphically, inaccuracies in the displayed data are unavoidable in practical applications, potentially impacting business decisions and causing adverse effects. Currently, there is no method in data visualization technology to verify the accuracy of the displayed data. Therefore, improving data accuracy during the data visualization process is a pressing issue that needs to be addressed. Summary of the Invention

[0004] Therefore, it is necessary to provide a data accuracy detection method, apparatus, equipment, storage medium, and program product that can improve data accuracy in response to the above-mentioned technical problems.

[0005] Firstly, this application provides a method for detecting data accuracy. The method includes:

[0006] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0007] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0008] In one embodiment, the accuracy detection result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data, including:

[0009] Determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data;

[0010] The accuracy test result of the currently displayed data is determined based on the first time difference and the second time difference.

[0011] In one embodiment, determining the accuracy detection result of the currently displayed data based on a first time difference and a second time difference includes:

[0012] Determine if the first time difference exceeds the display delay threshold;

[0013] If the display delay threshold is not exceeded, then determine whether the second time difference exceeds the processing delay threshold.

[0014] If the processing delay threshold is not exceeded, the accuracy detection result of the currently displayed data is determined to be accurate.

[0015] In one embodiment, after determining whether the first time difference exceeds the display delay threshold, the method further includes:

[0016] If the display delay threshold is exceeded, the accuracy detection result of the current display data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

[0017] In one embodiment, after determining whether the second time difference exceeds the processing delay threshold, the method further includes:

[0018] If the processing delay threshold is exceeded, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

[0019] In one embodiment, the method further includes:

[0020] In response to a data processing request carrying a required data type, retrieve the current raw data and historical raw data from the data pool corresponding to the required data type;

[0021] Based on historical raw data, filter the target raw data from the current raw data;

[0022] The original target data is processed to obtain the data currently displayed.

[0023] In one embodiment, filtering target raw data from current raw data based on historical raw data includes:

[0024] Based on historical raw data, determine the expected data range for the current raw data;

[0025] Use the current raw data that falls within the expected data range as the target raw data.

[0026] Secondly, this application also provides a data accuracy detection device. The device includes:

[0027] The time acquisition module is used to acquire the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the current original data corresponding to the currently displayed data; wherein, the currently displayed data is obtained by processing the current original data.

[0028] The detection result determination module is used to determine the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0029] Thirdly, this application also provides a computer device. The computer device includes a memory and a processor, the memory storing a computer program, and the processor executing the computer program to perform the following steps:

[0030] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0031] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0032] Fourthly, this application also provides a computer-readable storage medium. This computer-readable storage medium stores a computer program thereon, which, when executed by a processor, performs the following steps:

[0033] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0034] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0035] Fifthly, this application also provides a computer program product. This computer program product includes a computer program that, when executed by a processor, performs the following steps:

[0036] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0037] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0038] The aforementioned data accuracy detection method, apparatus, device, storage medium, and program product can determine whether the currently displayed data is accurate by comparing the generation time of the data currently displayed in the visualization interface, the acquisition time of the corresponding original data, and the current display time of the visualization interface. Furthermore, since obtaining the generation time of the currently displayed data, the acquisition time of the corresponding original data, and the current display time of the visualization interface are all very convenient, the process of determining the accuracy detection result of the currently displayed data in this embodiment is relatively convenient and simple. Attached Figure Description

[0039] Figure 1 This is an application environment diagram of a data accuracy detection method provided in this embodiment;

[0040] Figure 2 This is a flowchart illustrating the first data accuracy detection method provided in this embodiment;

[0041] Figure 3 This embodiment provides a flowchart illustrating the process of determining the accuracy detection result of the currently displayed data.

[0042] Figure 4 This embodiment provides a visual diagram illustrating a fault in the current data generation process.

[0043] Figure 5 This embodiment provides a visual diagram illustrating a fault in the current raw data processing procedure.

[0044] Figure 6 This embodiment provides a flowchart for determining the currently displayed data;

[0045] Figure 7 This is a flowchart illustrating the second data accuracy detection method provided in this embodiment;

[0046] Figure 8 This is a structural block diagram of the first data accuracy detection device provided in this embodiment;

[0047] Figure 9 This is a structural block diagram of the second data accuracy detection device provided in this embodiment;

[0048] Figure 10 This is a structural block diagram of the third data accuracy detection device provided in this embodiment;

[0049] Figure 11 This is a structural block diagram of the fourth data accuracy detection device provided in this embodiment;

[0050] Figure 12 This is an internal structural diagram of a computer device provided in this embodiment. Detailed Implementation

[0051] To make the objectives, technical solutions, and advantages of this application clearer, the following detailed description is provided in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative and not intended to limit the scope of this application.

[0052] The data accuracy detection method provided in this application embodiment can be applied to, for example... Figure 1 In the application environment shown, in one embodiment, a computer device is provided, which may be a server, and its internal structure diagram may be as follows. Figure 1 As shown, the computer device includes a processor, memory, and a network interface connected via a system bus. The processor provides computational and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores an operating system, computer programs, and a database. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage media. The database stores relevant data for data accuracy testing. The network interface communicates with external terminals via a network connection. When executed by the processor, the computer program implements a data accuracy testing method.

[0053] In one embodiment, such as Figure 2 As shown, a data accuracy detection method is provided, which is applied to... Figure 1 Taking a computer device as an example, the explanation includes the following steps:

[0054] S201, obtain the generation time of the data currently displayed in the visualization interface, and the acquisition time of the current original data corresponding to the currently displayed data.

[0055] The visualization interface can be an interface that uses computer graphics and image processing technology to convert data into graphical or image forms for display. For example, the visualization interface can be the interface displayed on a mobile terminal or computer screen. The currently displayed data can be the data displayed in the visualization interface, and the currently displayed data can be displayed in the form of graphics or images, or in web page format. The currently displayed raw data can be the data contained in the currently displayed data, and the time when the currently displayed raw data is obtained can be the time when the computer device retrieves the currently displayed raw data from the database in response to a data processing request.

[0056] It is understandable that the currently displayed data is obtained by processing the original data. For example, the original data may be processed according to the data display requirements, such as through statistical processing or standardization, to obtain the currently displayed data. Correspondingly, the generation time of the currently displayed data can be the time when the original data is processed using the aforementioned methods to obtain the currently displayed data.

[0057] Optionally, in this embodiment, the currently displayed data on the visualization interface may be generated and displayed on the visualization interface by the computer device in response to the data processing request submitted by the user, obtaining the current raw data from the raw data database, processing it, and then displaying it on the visualization interface.

[0058] If the computer device responding to the above data processing request and the computer device executing the data accuracy detection method of this embodiment are the same device, then at this time the device can execute the operation of obtaining the generation time of the currently displayed data and the acquisition time of the current original data in this embodiment while displaying the currently displayed data through the visual interface.

[0059] If the computer device responding to the data processing request and the computer device executing the data accuracy detection method of this embodiment are not the same device, then after processing the current raw data to obtain the current display data, the device responding to the data processing request will store the current display data in a database. Furthermore, while processing the current raw data, it will also store the acquisition time of the current raw data and the generation time of the current display data as tags for the current display data in the database. When the device responding to the data accuracy detection method retrieves the current display data from the database, it can also retrieve the generation time of the current display data and the acquisition time of the corresponding current raw data from the tags carried by the current display data.

[0060] S202, determine the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0061] The current time displayed on the visualization interface can be world time. Accuracy test results include whether the currently displayed data is accurate, and if the currently displayed data is inaccurate, the reasons for the inaccuracy.

[0062] Specifically, in this embodiment, the accuracy detection result of the currently displayed data can be determined by the time difference between the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current original data. For example, if the generation time of the currently displayed data is after the current display time of the visualization interface, and the time difference between the generation time of the currently displayed data and the acquisition time of the current original data is greater than a preset threshold, then the accuracy detection result of the currently displayed data is determined to be inaccurate. The corresponding reason for inaccuracy could be an error in obtaining the generation time of the currently displayed data.

[0063] In the aforementioned data accuracy detection method, the accuracy of the currently displayed data can be determined by comparing the generation time of the data currently displayed in the visualization interface, the acquisition time of the corresponding original data, and the current display time of the visualization interface. Furthermore, since obtaining the generation time of the data currently displayed in the visualization interface, the acquisition time of the corresponding original data, and the current display time of the visualization interface are all readily available, the process of determining the accuracy detection result of the currently displayed data in this embodiment is relatively convenient and simple.

[0064] Furthermore, to make the process of determining the accuracy of the currently displayed data more rigorous and reliable, in one embodiment, such as Figure 3 As shown, based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data, the accuracy detection result of the currently displayed data is determined, including:

[0065] S301, determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data.

[0066] Specifically, in this embodiment, the first time difference can be obtained by subtracting the current display time of the visualization interface from the generation time of the currently displayed data in the visualization interface. Additionally, the second time difference can be obtained by subtracting the generation time of the currently displayed data from the acquisition time of the original data.

[0067] It's understandable that data visualization requires processing the raw data before displaying it. Therefore, the data displayed in the visualization interface may not correspond to the current time. For example, if the current time is 10:00 AM on June 30, 2023, the data displayed in the visualization interface might have been generated at 9:59 AM on June 30, 2023. Consequently, the raw data must be processed to obtain the currently displayed data; there is a time difference between the time the raw data was acquired and the time the data was generated in the visualization.

[0068] S302, determine the accuracy detection result of the currently displayed data based on the first time difference and the second time difference.

[0069] Optionally, in this embodiment, the process of determining the accuracy detection result of the currently displayed data based on the first time difference and the second time difference may involve comparing the first time difference with the second time difference according to a preset time difference threshold. If both the first time difference and the second time difference are less than the preset time difference threshold, the accuracy detection result of the currently displayed data is determined to be accurate. If either the first time difference or the second time difference is greater than the preset time threshold, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the location of the fault in the visualization process is determined based on the difference between the first time difference or the second time difference and the time threshold.

[0070] To make the process of determining the accuracy of the currently displayed data more rigorous, and to further ensure that the identified reasons for inaccuracies are more accurate, in this embodiment, the method for determining the accuracy of the currently displayed data can also be as follows: determine whether the first time difference exceeds a display delay threshold; if it does not exceed the display delay threshold, determine whether the second time difference exceeds a processing delay threshold; if it does not exceed the processing delay threshold, then determine that the accuracy of the currently displayed data is accurate.

[0071] The display delay threshold can be a pre-set value used to determine whether the first time difference meets the display delay requirement. The processing delay threshold can be a pre-set value used to determine whether the second time difference meets the data processing delay requirement.

[0072] Specifically, in this embodiment, it can be determined whether the first time difference is greater than the display delay threshold. If the first time difference is less than the display delay threshold, it is then determined whether the second time difference is also less than the processing delay threshold. If the second time difference is less than the processing delay threshold, that is, both the first and second time differences are less than their corresponding delay thresholds, then the accuracy detection result of the current displayed data can be determined to be accurate. Using the comparison of the first and second time differences with their corresponding delay thresholds to determine whether the current displayed data is accurate simplifies the process of determining the accuracy of the current displayed data.

[0073] Furthermore, if the first time difference exceeds the display delay threshold, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is a fault in the generation process of the currently displayed data. The generation process of the currently displayed data is the process of processing the original data to obtain the currently displayed data. Specifically, when the first time difference exceeds the display delay threshold, the difference between the current display time of the visualization interface and the generation time of the currently displayed data is large; that is, the data currently displayed on the visualization interface is data from a considerable period of time ago.

[0074] For example, such as Figure 4 As shown, if the preset display delay threshold is 1 minute, the current display time of the visualization interface is 10:00 AM on June 30, 2023, while the data currently displayed on the visualization interface is data from 9:55 AM on June 30, 2023 (i.e., the generation time of the currently displayed data), then it is determined that the data displayed on the visualization interface has not been updated for 5 minutes. Therefore, it is not necessary to compare the second time difference with the processing delay threshold to determine that the accuracy detection result of the currently displayed data is inaccurate. Furthermore, since the preferred cause of inaccuracy is that there is only one possible cause, it is assumed that the original data has been obtained, but a fault occurred during the processing of the original data. That is, the cause of inaccuracy is a fault in the generation process of the currently displayed data. Accordingly, the visualization interface can display the cause of inaccuracy of the currently displayed data (e.g., Figure 4 (As shown).

[0075] It is understandable that the inaccuracy caused by the first time difference exceeding the display delay threshold may also be due to a fault in the acquisition of the original data. However, in order to quickly locate and resolve the problems in the visualization process, this embodiment prioritizes the cause of inaccuracy as the most likely cause of a fault.

[0076] Furthermore, assuming the first time difference does not exceed the display delay threshold, if the second time difference exceeds the processing delay threshold, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is a fault in the acquisition process of the current original data. The acquisition process of the current original data refers to the process by which the computer device retrieves the current original data from the database. Specifically, when the first time difference does not exceed the display delay threshold, but the second time difference exceeds the processing delay threshold, the difference between the current display time of the visualization interface and the generation time of the currently displayed data is normal; however, the data currently displayed on the visualization interface may be data from a considerable period of time ago.

[0077] For example, such as Figure 5 As shown, the preset display delay threshold is 1 minute. The current display time of the visualization interface is 10:00 AM on June 30, 2023, and the data currently displayed on the visualization interface was generated at 9:59 AM on June 30, 2023. At this time, the first time difference does not exceed the display delay threshold. If the preset processing delay threshold is also 1 minute, and the current data generation time is known to be 9:59 AM on June 30, 2023, and if the acquisition time of the current original data corresponding to the current displayed data is determined to be 9:54 AM on June 30, 2023, then it is determined that the current displayed data is generated based on the original data acquired 5 minutes ago, meaning that the acquisition of the current original data has been interrupted for 5 minutes. Therefore, the accuracy detection result of the current displayed data is determined to be inaccurate, and the reason for the inaccuracy is the acquisition process of the current original data. Correspondingly, the visualization interface can display the reason for the inaccuracy of the current displayed data (e.g., Figure 5 (As shown).

[0078] Furthermore, to ensure that the currently displayed data is updated clearly, accurately, and intuitively, this embodiment also provides the process by which a computer device processes the original data to obtain the currently displayed data. For example... Figure 6 As shown, it may include the following steps:

[0079] S601, in response to a data processing request carrying a required data type, retrieves the current raw data and historical raw data from the data pool corresponding to the required data type.

[0080] The data processing request can be data submitted by the user to represent the data they need for visualization. The required data type can be the data type requirement submitted synchronously when the user submits the data processing request. The data pool is used to store the data.

[0081] In this embodiment, to enable faster retrieval of the current raw data from the data pool, data pools for different data types can be stored in separate data pools. For example, if the required data type is transaction data, the transaction data can be directly retrieved from the data pool corresponding to the transaction data.

[0082] Furthermore, if the data processing request is to retrieve transaction data for June, then all transaction data for June can be extracted from the data pool corresponding to the transaction data as the current raw data. Additionally, the data stored in the data pool may contain inaccuracies; for example, garbled characters may appear during the retrieval of transaction data from the transaction system, leading to deviations in the retrieved transaction data values.

[0083] To ensure the accuracy of the current raw data after it has been acquired, this embodiment can acquire historical raw data from a previous period of time in addition to the current raw data. For example, if the current raw data is transaction data from June, the historical raw data could be transaction data from March, April, and May.

[0084] It should be noted that the data in the data pool of this embodiment is obtained by the computer device from an external system (such as a trading system). After obtaining the data from the external system, the computer device will first perform preliminary processing on the obtained data. For example, data cleaning can be performed on the obtained data, such as removing data with incorrect format, duplicates, values ​​that are obviously too large or too small, and data stored in non-standard formats, and reorganizing and converting the data format, etc. The data after preliminary processing is stored in the corresponding data pool. However, the data after preliminary processing may still be inaccurate. Therefore, this embodiment, while obtaining the current raw data from the data pool, also obtains historical raw data to perform accuracy testing on the current raw data, thereby making the target raw data more accurate.

[0085] S602, Based on historical raw data, filter target raw data from the current raw data.

[0086] Specifically, in this embodiment, the computer device can calculate the similarity between the current raw data and the historical raw data, and select the part of the current raw data with high similarity to the historical raw data as the target raw data.

[0087] Another possible approach is for the computer device to determine the accuracy of the current raw data based on historical raw data. For example, the expected data range of the current raw data can be determined based on historical raw data; the current raw data falling within the expected data range is then used as the target raw data. The expected data range can be the distribution range of the historical raw data. The target raw data is a relatively accurate portion of the current raw data. For example, if historical raw data shows that this type of data is mostly distributed between 50 and 100 over a historical period, with a maximum value not exceeding 150 and a minimum value not exceeding 30, then the expected data range of the current raw data is determined to be 30-150. Current raw data exceeding this range is considered inaccurate. In this embodiment, using the current raw data falling within the expected data range as the target raw data results in higher accuracy for the target raw data.

[0088] S603 processes the target raw data to obtain the currently displayed data.

[0089] Specifically, in this embodiment, the computer device can perform visualization processing on the determined target raw data to obtain the currently displayed data. For example, based on the data type of the target raw data and the data processing request, the most suitable chart type can be selected for the target raw data, such as a bar chart, line chart, scatter plot, pie chart, heatmap, etc. Then, the target raw data is processed into the chart type using a visualization processing tool.

[0090] In the above embodiments, after the computer device receives the current raw data in response to a data processing request, it filters the current raw data using historical raw data to determine the target raw data. The target raw data is then processed to obtain the currently displayed data, making the currently displayed data more accurate.

[0091] To facilitate understanding by those skilled in the art, the above-mentioned data accuracy detection methods are described in detail, such as... Figure 7 As shown, the method may include:

[0092] S701, in response to a data processing request carrying a required data type, retrieves the current raw data and historical raw data from the data pool corresponding to the required data type.

[0093] S702, Based on historical raw data, determine the expected data range of the current raw data.

[0094] S703, use the current raw data that is within the expected data range as the target raw data.

[0095] S704 processes the target raw data to obtain the currently displayed data.

[0096] S705, obtain the generation time of the data currently displayed in the visualization interface, and the acquisition time of the current original data corresponding to the currently displayed data.

[0097] The data currently displayed is obtained by processing the original data.

[0098] S706, determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data.

[0099] S707, determine whether the first time difference exceeds the display delay threshold. If not, proceed to S708; if yes, proceed to S710.

[0100] S708, determine whether the second time difference exceeds the processing delay threshold. If not, proceed to S709; if yes, proceed to S711.

[0101] S709, The accuracy test result of the currently displayed data is determined to be accurate.

[0102] S710, The accuracy test result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the currently displayed data.

[0103] S711, The accuracy test result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the current raw data acquisition process.

[0104] It should be understood that although the steps in the flowcharts of the embodiments described above are shown sequentially according to the arrows, these steps are not necessarily executed in the order indicated by the arrows. Unless explicitly stated herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least some steps in the flowcharts of the embodiments described above may include multiple steps or multiple stages. These steps or stages are not necessarily completed 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 performed alternately or in turn with other steps or at least some of the steps or stages of other steps.

[0105] Based on the same inventive concept, this application also provides a data accuracy detection device for implementing the data accuracy detection method described above. The solution provided by this device is similar to the implementation described in the above method; therefore, the specific limitations in one or more data accuracy detection device embodiments provided below can be found in the limitations of the data accuracy detection method described above, and will not be repeated here.

[0106] In one embodiment, such as Figure 8 As shown, a data accuracy detection device 1 is provided, comprising: a time acquisition module 10 and a detection result determination module 11, wherein:

[0107] The time acquisition module 10 is used to acquire the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the current original data corresponding to the currently displayed data.

[0108] The data currently displayed is obtained by processing the original data.

[0109] The detection result determination module 11 is used to determine the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0110] In one embodiment, such as Figure 9 As shown, the detection result determination module 11 includes a time difference determination unit 110 and a detection result determination unit 111. Wherein:

[0111] The time difference determination unit 110 is used to determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data.

[0112] The detection result determination unit 111 is used to determine the accuracy detection result of the currently displayed data based on the first time difference and the second time difference.

[0113] In one embodiment, the detection result determination unit 111 includes a first judgment subunit, a second judgment subunit, and a detection result determination subunit. Wherein:

[0114] The first judgment subunit is used to determine whether the first time difference exceeds the display delay threshold.

[0115] The second judgment subunit is used to determine whether the second time difference exceeds the processing delay threshold if the display delay threshold is not exceeded.

[0116] The detection result determination subunit is used to determine the accuracy detection result of the currently displayed data as accurate if the processing delay threshold is not exceeded.

[0117] In one embodiment, the detection result determination unit 111 further includes a first fault determination subunit, which is used to determine that the accuracy detection result of the current display data is inaccurate if the display delay threshold is exceeded, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

[0118] In one embodiment, the detection result determination unit 111 further includes a second fault determination subunit, which is used to determine that the accuracy detection result of the currently displayed data is inaccurate if the processing delay threshold is exceeded, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

[0119] In one embodiment, such as Figure 10 As shown, the data accuracy detection device 1 also includes a data acquisition module 12, a data filtering module 13, and a data determination module 14. Wherein:

[0120] The data acquisition module 12 is used to respond to data processing requests carrying the required data type and to obtain the current raw data and historical raw data from the data pool corresponding to the required data type.

[0121] The data filtering module 13 is used to filter target raw data from the current raw data based on historical raw data.

[0122] The data determination module 14 is used to process the target raw data to obtain the currently displayed data.

[0123] In one embodiment, such as Figure 11 As shown, the data filtering module 13 includes a range determination unit 130 and a data determination unit 131. Wherein:

[0124] The range determination unit 130 is used to determine the expected data range of the current raw data based on historical raw data.

[0125] The data determination unit 131 is used to take the current raw data that is within the expected data range as the target raw data.

[0126] Each module in the aforementioned data accuracy detection device can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in the processor of a computer device in hardware form or independent of it, or stored in the memory of a computer device in software form, so that the processor can call and execute the operations corresponding to each module.

[0127] In one embodiment, a computer device is provided, which may be a terminal, and its internal structure diagram may be as follows: Figure 12As shown, the computer device includes a processor, memory, communication interface, display screen, and input devices connected via a system bus. The processor provides computing and control capabilities. The memory includes non-volatile storage media and internal memory. The non-volatile storage media stores the operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs stored in the non-volatile storage media. The communication interface is used for wired or wireless communication with external terminals; wireless communication can be achieved through Wi-Fi, mobile cellular networks, NFC (Near Field Communication), or other technologies. When executed by the processor, the computer program implements a data accuracy detection method. The display screen can be an LCD screen or an e-ink display screen. The input devices can be a touch layer covering the display screen, buttons, a trackball, or a touchpad mounted on the computer device casing, or an external keyboard, touchpad, or mouse.

[0128] Those skilled in the art will understand that Figure 12 The structure shown is merely a block diagram of a portion of the structure related to the present application and does not constitute a limitation on the computer device to which the present application is applied. Specific computer devices may include more or fewer components than those shown in the figure, or combine certain components, or have different component arrangements.

[0129] In one embodiment, a computer device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor executes the computer program to perform the following steps:

[0130] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0131] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0132] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0133] Determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data;

[0134] The accuracy test result of the currently displayed data is determined based on the first time difference and the second time difference.

[0135] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0136] Determine if the first time difference exceeds the display delay threshold;

[0137] If the display delay threshold is not exceeded, then determine whether the second time difference exceeds the processing delay threshold.

[0138] If the processing delay threshold is not exceeded, the accuracy detection result of the currently displayed data is determined to be accurate.

[0139] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0140] If the display delay threshold is exceeded, the accuracy detection result of the current display data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

[0141] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0142] If the processing delay threshold is exceeded, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

[0143] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0144] In response to a data processing request carrying a required data type, retrieve the current raw data and historical raw data from the data pool corresponding to the required data type;

[0145] Based on historical raw data, filter the target raw data from the current raw data;

[0146] The original target data is processed to obtain the data currently displayed.

[0147] In one embodiment, the processor, when executing a computer program, also performs the following steps:

[0148] Based on historical raw data, determine the expected data range for the current raw data;

[0149] Use the current raw data that falls within the expected data range as the target raw data.

[0150] In one embodiment, a computer-readable storage medium is provided having a computer program stored thereon, the computer program performing the following steps when executed by a processor:

[0151] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0152] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0153] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0154] Determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data;

[0155] The accuracy test result of the currently displayed data is determined based on the first time difference and the second time difference.

[0156] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0157] Determine if the first time difference exceeds the display delay threshold;

[0158] If the display delay threshold is not exceeded, then determine whether the second time difference exceeds the processing delay threshold.

[0159] If the processing delay threshold is not exceeded, the accuracy detection result of the currently displayed data is determined to be accurate.

[0160] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0161] If the display delay threshold is exceeded, the accuracy detection result of the current display data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

[0162] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0163] If the processing delay threshold is exceeded, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

[0164] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0165] In response to a data processing request carrying a required data type, retrieve the current raw data and historical raw data from the data pool corresponding to the required data type;

[0166] Based on historical raw data, filter the target raw data from the current raw data;

[0167] The original target data is processed to obtain the data currently displayed.

[0168] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0169] Based on historical raw data, determine the expected data range for the current raw data;

[0170] Use the current raw data that falls within the expected data range as the target raw data.

[0171] In one embodiment, a computer program product is provided, including a computer program that, when executed by a processor, performs the following steps:

[0172] Obtain the generation time of the data currently displayed in the visualization interface, as well as the acquisition time of the corresponding original data; where the currently displayed data is obtained by processing the original data.

[0173] The accuracy test result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data.

[0174] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0175] Determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data;

[0176] The accuracy test result of the currently displayed data is determined based on the first time difference and the second time difference.

[0177] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0178] Determine if the first time difference exceeds the display delay threshold;

[0179] If the display delay threshold is not exceeded, then determine whether the second time difference exceeds the processing delay threshold.

[0180] If the processing delay threshold is not exceeded, the accuracy detection result of the currently displayed data is determined to be accurate.

[0181] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0182] If the display delay threshold is exceeded, the accuracy detection result of the current display data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

[0183] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0184] If the processing delay threshold is exceeded, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

[0185] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0186] In response to a data processing request carrying a required data type, retrieve the current raw data and historical raw data from the data pool corresponding to the required data type;

[0187] Based on historical raw data, filter the target raw data from the current raw data;

[0188] The original target data is processed to obtain the data currently displayed.

[0189] In one embodiment, when the computer program is executed by a processor, it also performs the following steps:

[0190] Based on historical raw data, determine the expected data range for the current raw data;

[0191] Use the current raw data that falls within the expected data range as the target raw data.

[0192] It should be noted that the data involved in this application (including but not limited to data used for analysis, stored data, displayed data, current raw data, historical raw data, and currently displayed data) are all information and data authorized by the user or fully authorized by all parties.

[0193] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium, and when executed, it can include the processes of the embodiments of the above methods. Any references to memory, databases, or other media used in the embodiments provided in this application can include at least one of non-volatile 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), magnetic 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 take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM). The databases involved in the embodiments provided in this application may include at least one type of relational database and non-relational database. Non-relational databases may include, but are not limited to, blockchain-based distributed databases. The processors involved in the embodiments provided in this application may be general-purpose processors, central processing units, graphics processing units, digital signal processors, programmable logic devices, quantum computing-based data processing logic devices, etc., and are not limited to these.

[0194] The technical features of the above embodiments can be combined in any way. For the sake of brevity, 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, they should be considered to be within the scope of this specification.

[0195] The embodiments described above are merely illustrative of several implementation methods of this application, and while the descriptions are specific and detailed, they should not be construed as limiting the scope of this patent application. It should be noted that those skilled in the art can make various modifications and improvements without departing from the concept of this application, and these all fall within the protection scope of this application. Therefore, the protection scope of this application should be determined by the appended claims.

Claims

1. A method for detecting data accuracy, characterized in that, The method includes: The generation time of the data currently displayed in the visualization interface and the acquisition time of the corresponding original data are obtained. The current data is obtained by processing the original data, which comes from the original data database. The processing methods based on the original data include statistical processing and standardization processing. The accuracy detection result of the currently displayed data is determined based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data. The step of determining the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current raw data includes: Determine a first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and a second time difference between the generation time of the currently displayed data and the acquisition time of the current original data; Based on the first time difference and the second time difference, determine the accuracy detection result of the currently displayed data; The step of determining the accuracy detection result of the currently displayed data based on the first time difference and the second time difference includes: Determine whether the first time difference exceeds the display delay threshold; If the display delay threshold is not exceeded, then determine whether the second time difference exceeds the processing delay threshold; If the processing delay threshold is not exceeded, the accuracy detection result of the currently displayed data is determined to be accurate.

2. The method according to claim 1, characterized in that, After determining whether the first time difference exceeds the display delay threshold, the method further includes: If the display delay threshold is exceeded, the accuracy detection result of the current display data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the generation process of the current display data.

3. The method according to claim 1, characterized in that, After determining whether the second time difference exceeds the processing delay threshold, the method further includes: If the processing delay threshold is exceeded, the accuracy detection result of the currently displayed data is determined to be inaccurate, and the reason for the inaccuracy is that there is a fault in the acquisition process of the current original data.

4. The method according to any one of claims 1-3, characterized in that, The method further includes: In response to a data processing request carrying a required data type, the current raw data and historical raw data are obtained from the data pool corresponding to the required data type; Based on the historical raw data, target raw data is filtered from the current raw data; The original target data is processed to obtain the currently displayed data.

5. The method according to claim 4, characterized in that, The step of filtering target raw data from the current raw data based on the historical raw data includes: Based on the historical raw data, determine the expected data range of the current raw data; Use the current raw data that falls within the expected data range as the target raw data.

6. A data accuracy detection device, characterized in that, The device includes: The time acquisition module is used to acquire the generation time of the currently displayed data in the visualization interface, as well as the acquisition time of the current original data corresponding to the currently displayed data; wherein, the currently displayed data is obtained by processing the current original data, the current original data comes from the original data database, and the processing methods based on the current original data include statistical processing and standardization processing; The detection result determination module is used to determine the accuracy detection result of the currently displayed data based on the current display time of the visualization interface, the generation time of the currently displayed data, and the acquisition time of the current original data. The detection result determination module includes: a time difference determination unit, used to determine the first time difference between the current display time of the visualization interface and the generation time of the currently displayed data, and the second time difference between the generation time of the currently displayed data and the acquisition time of the current original data; and a detection result determination unit, used to determine the accuracy detection result of the currently displayed data based on the first time difference and the second time difference. The detection result determination unit includes: a first judgment subunit, used to determine whether the first time difference exceeds the display delay threshold; a second judgment subunit, used to determine whether the second time difference exceeds the processing delay threshold if the display delay threshold is not exceeded; and a detection result determination subunit, used to determine the accuracy detection result of the currently displayed data as accurate if the processing delay threshold is not exceeded.

7. A computer device comprising a memory and a processor, wherein the memory stores a computer program, characterized in that, When the processor executes the computer program, it implements the steps of the method according to any one of claims 1 to 5.

8. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

9. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Method and device for displaying HTML5 page response time, and computer equipment

    CN114036421A

  • Data processing method and device based on resource information system, and computer equipment

    CN114723545A

  • Target customer recommendation method and device, electronic equipment and storage medium

    CN114897564A