Method and system for verifying buried data

Redirecting buried point data to an independent transmission and processing platform through QR codes solves the problems of high cost and low efficiency of buried point data verification in the existing technology, realizes real-time end-to-end verification and automatic verification, and supports various APP versions. Improved verification efficiency and data correctness.

CN113642047BActive Publication Date: 2024-10-11SHANGHAI BILIBILI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110931151.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-08-13
Publication Date
2024-10-11
Estimated Expiration
2041-08-13

AI Technical Summary

Technical Problem

Existing buried point data verification solutions are high in cost, low in efficiency, unable to achieve real-time end-to-end verification, unfriendly to non-technical users, and lack automation and scalability.

Method used

Configuration information is provided through the QR code. After scanning with the mobile terminal, the hidden data is redirected to an independent transmission processing platform for transmission processing and automatic verification. It simulates the environment of an online big data transmission and processing platform and supports one-click code scanning, real-time reporting and automatic verification. verify.

Benefits of technology

It lowers the threshold for use, supports various APP versions, ensures the end-to-end accuracy of data, improves verification efficiency, and realizes real-time automatic verification and time-consuming monitoring of data processing links.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113642047B_ABST
    Figure CN113642047B_ABST
Patent Text Reader

Abstract

The present application discloses a method for verifying buried data, wherein the reporting of buried data includes two channels: an online big data transmission and processing platform and an independent transmission and processing platform. The method includes: providing configuration information to a mobile terminal via a QR code; when the mobile terminal scans the QR code, redirecting the buried data reported by the mobile terminal to an independent transmission and processing platform for transmission and processing according to the configuration information; consuming the buried data from the push target of the independent transmission and processing platform and automatically verifying it. The present application also discloses a buried data verification system, an electronic device, and a computer-readable storage medium. As a result, the present application can support one-click code scanning, lower the threshold for use, support real-time reporting of buried data, and ensure the end-to-end correctness of data, and can perform automatic verification, thereby improving verification efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a method, system, electronic device and computer-readable storage medium for verifying buried point data. Background Art

[0002] Tracking is a common data collection method. It is a technology that captures and reports information such as user behavior or events by embedding code in the product. Tracking data is a very important data source for company products and an important basis for companies to conduct user behavior analysis and product decision-making. Therefore, the quality of tracking data is crucial, and tracking data verification is also an indispensable product assurance link.

[0003] At present, there are two common verification schemes in the industry: the first is to set up a proxy on the mobile device, and then use the proxy to capture packets and view the reported data from the requests received by the proxy; the second is to wait for the reported data to be stored in the data warehouse, and then verify it by querying the data in the data warehouse.

[0004] However, the proxy configuration of the first solution is cumbersome, and not all APP (application) versions support proxy settings. Moreover, this method does not cover the data processing process from the issuance of the data reporting request to the storage in the data warehouse. In addition, as the company's security requirements increase, the requests issued by the product gradually begin to be encrypted or use data packets with custom protocols, making this method less and less applicable. The second solution has a T+1 delay, and there is no way to verify in real time, and the data warehouse query efficiency is also relatively low. At the same time, these two solutions are not friendly to non-technical users, have a certain threshold for use, and there is no way to perform additional automatic verification, and the scalability is poor.

[0005] It should be noted that the above content is not intended to limit the scope of protection applied for. Summary of the invention

[0006] The main purpose of this application is to propose a method, system, electronic device and computer-readable storage medium for verifying buried point data, aiming to solve the problem that traditional solutions have high cost, low efficiency and cannot perform real-time end-to-end verification.

[0007] To achieve the above purpose, an embodiment of the present application provides a method for verifying buried data, wherein the reporting of buried data includes two channels: an online big data transmission and processing platform and an independent transmission and processing platform. The method includes:

[0008] Provide configuration information to the mobile terminal via a QR code;

[0009] When the mobile terminal scans the QR code, the buried data reported by the mobile terminal is redirected to the independent transmission and processing platform for transmission and processing according to the configuration information;

[0010] The buried data is consumed from the push target of the independent transmission processing platform and automatically verified.

[0011] Optionally, the configuration information in the QR code includes: a jump address of a setting page, a target IP address for redirection, a unique identifier assigned to the mobile device, a time interval for reporting the buried data, and a callback address.

[0012] Optionally, after the mobile terminal scans the QR code, redirecting the buried data reported by the mobile terminal to the independent transmission processing platform for transmission processing according to the configuration information includes:

[0013] After receiving an instruction from the mobile terminal to scan the QR code, controlling the mobile terminal to jump to the setting page according to the jump address in the QR code;

[0014] Automatically fill the configuration information in the QR code into the setting page, and receive a scanning success notification sent by the mobile terminal according to the callback address in the QR code;

[0015] Redirecting the buried data reported by the mobile terminal according to the time interval in the QR code to the independent transmission processing platform corresponding to the target IP address;

[0016] The independent transmission processing platform transmits and processes the buried data and pushes it to the external Kafka.

[0017] Optionally, the independent transmission and processing platform is laid out in an independent environment to simulate the online big data transmission and processing platform, and is consistent with the transmission and processing process and logic of the online big data transmission and processing platform for the buried data, and is used to verify the buried data.

[0018] Optionally, consuming the tracking data from the push target of the independent transmission processing platform and performing automatic verification includes:

[0019] Consume and parse the tracking data from the external Kafka;

[0020] Obtain metadata corresponding to the tracking data from the online big data transmission and processing platform;

[0021] Assembling the analyzed buried point data and the metadata into readable data;

[0022] Acquire verification rules from the online big data transmission and processing platform;

[0023] The encapsulated readable data is verified according to the verification rule to obtain a verification result.

[0024] Optionally, the method further comprises:

[0025] Acquire a corresponding connection channel according to the unique identifier contained in the tracking data;

[0026] The verification result of the buried point data is sent to the front-end page through the connection channel for display.

[0027] Optionally, the time interval is a real-time reporting period of one second.

[0028] In addition, to achieve the above-mentioned purpose, the embodiment of the present application also provides a point-of-sale data verification system, the system comprising:

[0029] A configuration module, used to provide configuration information to the mobile terminal via a QR code;

[0030] A processing module, used for redirecting the buried data reported by the mobile terminal to an independent transmission processing platform for transmission processing according to the configuration information after the mobile terminal scans the QR code, wherein the reporting of the buried data includes two channels: an online big data transmission processing platform and the independent transmission processing platform;

[0031] A verification module is used to consume the buried data from the push target of the independent transmission processing platform and perform automatic verification.

[0032] To achieve the above-mentioned purpose, an embodiment of the present application also provides an electronic device, which includes: a memory, a processor, and a buried point data verification program stored in the memory and executable on the processor, and when the buried point data verification program is executed by the processor, the buried point data verification method as described above is implemented.

[0033] To achieve the above-mentioned purpose, an embodiment of the present application also provides a computer-readable storage medium, on which a buried point data verification program is stored. When the buried point data verification program is executed by a processor, the buried point data verification method as described above is implemented.

[0034] The buried data verification method, system, electronic device and computer-readable storage medium proposed in the embodiments of the present application can support one-click scanning of the code, thereby lowering the usage threshold; after scanning the code, the buried data can be reported in real time through specific configuration, and various versions of the APP are supported; the reported buried data is redirected to an independent transmission and processing platform that is consistent with the online platform for transmission and processing, so that the buried data undergoes a transmission and processing process that is consistent with the online platform, thereby ensuring the end-to-end correctness of the data; and then automatic verification is performed based on the consumed data, thereby improving the verification efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] Figure 1 An application environment architecture diagram for implementing various embodiments of the present application;

[0036] Figure 2 A flowchart of a method for verifying buried point data proposed in the first embodiment of the present application;

[0037] Figure 3 for Figure 2 Detailed flow chart of step S202;

[0038] Figure 4 This is a schematic diagram of the online big data transmission and processing platform and the independent transmission and processing platform in this application;

[0039] Figure 5 for Figure 2 Detailed flow chart of step S204;

[0040] Figure 6 A flowchart of a method for verifying buried data proposed in the second embodiment of the present application;

[0041] Figure 7 for Figure 6 Detailed flow chart of step S306;

[0042] Figure 8 A schematic diagram of the hardware architecture of an electronic device proposed in the third embodiment of the present application;

[0043] Fig. 9 A module diagram of a burial point data verification system proposed in the fourth embodiment of the present application. DETAILED DESCRIPTION

[0044] In order to make the purpose, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not intended to limit the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.

[0045] It should be noted that the descriptions involving "first", "second", etc. in the embodiments of the present application are only for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of technical features indicated. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by this application.

[0046] See also Figure 1 , Figure 1 An application environment architecture diagram for implementing various embodiments of the present application. The present application can be applied to application environments including, but not limited to, a mobile terminal 2, a server terminal 4, and a network 6.

[0047] The mobile terminal 2 is used to display a QR code for the user to scan, and the buried data in the mobile terminal 2 is reported to the server 4. The mobile terminal 2 can be a mobile terminal device such as a mobile phone or a tablet computer.

[0048] The server 4 is used to provide the configuration information to the mobile terminal 2 through a QR code, and redirect the reported buried data to an independent transmission processing environment for transmission processing after the mobile terminal 2 scans the code, and then consume the buried data from the push target of the independent transmission processing environment and verify it. In various embodiments of the present application, the reporting of the buried data includes two channels: an online big data transmission and processing platform and an independent transmission and processing platform. The independent transmission and processing platform is to simulate the laying of the online big data transmission and processing platform in an independent environment, and is consistent with the transmission and processing process and logic of the online big data transmission and processing platform for the buried data, and is used to verify the buried data. The server 4 can be composed of one or more electronic devices such as servers. The server can be a computing device such as a rack server, a blade server, a tower server or a cabinet server, and can be an independent server or a server cluster composed of multiple servers.

[0049] The network 6 can be a wireless or wired network such as an intranet, the Internet, the Global System of Mobile communication (GSM), Wideband Code Division Multiple Access (WCDMA), 4G network, 5G network, Bluetooth, Wi-Fi, etc. The server 4 and one or more mobile terminals 2 are connected to each other through the network 6 for data transmission and interaction.

[0050] Embodiment 1

[0051] like Figure 2 As shown, it is a flowchart of a method for verifying buried point data proposed in the first embodiment of the present application. It can be understood that the flowchart in the embodiment of the present method is not used to limit the order of executing the steps. As needed, some steps in the flowchart can also be added or deleted. The method is explained below with the server 4 as the execution subject.

[0052] The method comprises the following steps:

[0053] S200, providing the configuration information to the mobile terminal via a QR code.

[0054] During the use of the mobile APP, the buried data will be generated, and the buried data will be sent to the big data transmission and processing link (online big data transmission and processing platform) through HTTP requests, including the gateway layer (Lancer gateway), data buffer layer (internal Kafka), distribution layer (Lancer Collector), etc. The online big data transmission and processing platform will eventually distribute the buried data to push targets such as Hive (a data warehouse tool) and external Kafka (an open source stream processing platform). In this embodiment, the HTTP request is redirected to another independent transmission and processing platform that is consistent with the online big data transmission and processing platform environment. This independent transmission and processing platform will perform a transmission and processing process consistent with the online process on the reported buried data.

[0055] Furthermore, the buried data generated by the mobile APP will be cached in the mobile terminal first under normal circumstances. When the data accumulates to a certain amount or reaches a certain time interval, a data reporting request will be triggered, so in most cases the buried data will not be reported in real time. In this embodiment, the setting can be completed by scanning the QR code to enable the buried data to be reported in real time.

[0056] The QR code mainly contains the following configuration information:

[0057] (1) Setting the jump address of the page. When the user scans the QR code using a mobile terminal, the user will be redirected to the APP setting page where the jump address is located.

[0058] (2) The target IP address for redirecting the buried data report, that is, the IP address of the independent transmission processing platform.

[0059] (3) A unique identifier (UUID) assigned to the mobile device.

[0060] (4) The time interval (reporting period) for reporting the buried data. For example, the reporting period of the buried data is adjusted to a real-time reporting period of one second.

[0061] (5) callback address, that is, the interface address corresponding to the test tool on the server side. According to the callback address, after the mobile terminal scans the code successfully, the test tool on the server side can be notified of the successful scanning of the code by the mobile terminal, so that the test tool can consume the buried data in Kafka, the push target of the independent transmission processing platform.

[0062] The QR code can be displayed through the front end (Web page) of the test tool, and then provided to the mobile terminal for scanning.

[0063] S202, after the mobile terminal scans the code, the buried data reported by the mobile terminal is redirected to an independent transmission and processing platform for transmission and processing according to the configuration information.

[0064] For more details, see Figure 3 , is a detailed flow chart of the above step S202. It can be understood that the flow chart is not used to limit the order of executing the steps. As needed, some steps in the flow chart can be added or deleted. In this embodiment, the step S202 specifically includes:

[0065] S2020, after receiving the instruction from the mobile terminal to scan the QR code, control the mobile terminal to jump to the setting page according to the jump address in the QR code.

[0066] S2022, automatically fill the configuration information in the QR code into the setting page, and receive a scanning success notification sent by the mobile terminal according to the callback address in the QR code.

[0067] After the user scans the QR code using the mobile terminal, the user will be redirected to the setting page, and the configuration information in the QR code will be automatically filled into the setting page for the user to view. After the setting is completed, the test tool is notified of the successful scanning of the code through the preset interface (the callback address).

[0068] S2024, redirecting the buried data reported by the mobile terminal according to the time interval in the QR code to the independent transmission processing platform corresponding to the target IP address.

[0069] After returning from the settings page, the mobile APP will redirect the domain name of the tracking data report to the target IP address configured in the settings page, and the reporting period will be adjusted from the original period (for example, quantitative or five-minute level) to real-time reporting at the one-second level, and the reported tracking data will be accompanied by the unique identifier assigned to the mobile device.

[0070] After that, the HTTP request corresponding to the buried data can be redirected to the independent transmission processing platform according to the target IP address.

[0071] S2026, the independent transmission processing platform transmits and processes the buried data and pushes it to an external Kafka.

[0072] The independent transmission processing platform is laid out by the server side simulating the online big data transmission processing platform, which is consistent with the online big data transmission processing platform environment and will perform the transmission processing process on the buried point data consistent with the online big data transmission processing platform. Figure 4 Shown is a schematic diagram of the online big data transmission and processing platform and the independent transmission and processing platform described in this application.

[0073] The independent transmission processing platform will eventually distribute the embedded data to push targets such as Hive and external Kafka.

[0074] S204, consuming the tracking point data from the push target of the independent transmission processing platform and performing automatic verification.

[0075] The test tool consumes the embedded data from the external Kafka which is one of the push targets, so that the test tool supports end-to-end data assurance.

[0076] For more details, see Figure 5 , is a detailed flowchart of the above step S204. It can be understood that the flowchart is not used to limit the order of executing the steps. As needed, some steps in the flowchart can be added or deleted. In this embodiment, the step S204 specifically includes:

[0077] S2040, consuming and parsing the tracking data from the external Kafka.

[0078] According to the transmission processing process of the independent transmission processing platform, it can be learned that the buried data reported by the mobile terminal will be pushed to the external Kafka after transmission processing, and the back end of the test tool (which can be a Java server) consumes the buried data from the external Kafka and then parses it.

[0079] S2042, obtaining metadata corresponding to the tracking data from the online big data transmission and processing platform.

[0080] Since the buried data obtained by analysis (reported by the mobile terminal) only has values ​​but no metadata information, the backend of the test tool will also obtain the metadata corresponding to the buried data from the corresponding service of the online big data transmission and processing platform. The metadata is descriptive data for data and information resources, and in this embodiment, it is mainly some buried data definitions.

[0081] S2044, assembling the analyzed buried point data and the metadata into readable data.

[0082] S2046, obtaining verification rules from the online big data transmission and processing platform.

[0083] In this embodiment, in order to improve the test efficiency, the backend of the test tool will also obtain verification rules from the online big data transmission and processing platform. The verification rules are DQC (Data Quality Check) rules, which are rules that can be configured on the data quality platform to check the data format and value of the buried data reported by the mobile terminal.

[0084] S2048, verifying the packaged readable data according to the verification rule to obtain a verification result.

[0085] The test tool backend automatically verifies the readable data according to the DQC rule, and obtains the data to be sent according to the verification result after the verification is completed.

[0086] The buried data verification method proposed in this embodiment can support a low-threshold method of one-click scanning, so that any user can use it without any threshold; after scanning the code, the buried data can be reported in real time through specific configuration, and various versions of APP are supported; the reported buried data is redirected to an independent transmission and processing platform consistent with the online platform for transmission and processing, so that the buried data undergoes a transmission and processing process consistent with the online platform, ensuring the end-to-end correctness of the data; supports real-time automatic verification of DQC rules and time-consuming monitoring of each link of data processing, thereby improving verification efficiency.

[0087] Embodiment 2

[0088] like Figure 6As shown, it is a flowchart of a buried point data verification method proposed in the second embodiment of the present application. In the second embodiment, the buried point data verification method further includes step S306 on the basis of the above-mentioned first embodiment. It can be understood that the flowchart in the embodiment of this method is not used to limit the order of executing the steps. As needed, some steps in the flowchart can also be added or deleted.

[0089] The method comprises the following steps:

[0090] S300, providing the configuration information to the mobile terminal via a QR code.

[0091] During the use of the mobile APP, the buried data will be generated, and the buried data will be sent to the big data transmission and processing link (online big data transmission and processing platform) through HTTP requests. The online big data transmission and processing platform will eventually distribute the buried data to push targets such as Hive and external Kafka. In this embodiment, the HTTP request is redirected to another independent transmission and processing platform that is consistent with the online big data transmission and processing platform environment. The independent transmission and processing platform will perform the transmission and processing process consistent with the online on the reported buried data.

[0092] Furthermore, the buried data generated by the mobile APP will be cached in the mobile terminal first under normal circumstances. When the data accumulates to a certain amount or reaches a certain time interval, a data reporting request will be triggered, so in most cases the buried data will not be reported in real time. In this embodiment, the setting can be completed by scanning the QR code to enable the buried data to be reported in real time.

[0093] The QR code mainly contains the following configuration information:

[0094] (1) Setting the jump address of the page. When the user scans the QR code using a mobile terminal, the user will be redirected to the APP setting page where the jump address is located.

[0095] (2) The target IP address for redirecting the buried data report, that is, the IP address of the independent transmission processing platform.

[0096] (3) A unique identifier (UUID) assigned to the mobile device.

[0097] (4) The time interval (reporting period) for reporting the buried data. For example, the reporting period of the buried data is adjusted to a real-time reporting period of one second.

[0098] (5) callback address, that is, the interface address corresponding to the test tool on the server side. According to the callback address, after the mobile terminal scans the code successfully, the test tool on the server side can be notified of the successful scanning of the code by the mobile terminal, so that the test tool can consume the buried data in Kafka, the push target of the independent transmission processing platform.

[0099] The QR code can be displayed through the front end (Web page) of the test tool, and then provided to the mobile terminal for scanning.

[0100] S302, after the mobile terminal scans the code, the buried data reported by the mobile terminal is redirected to an independent transmission and processing platform for transmission and processing according to the configuration information.

[0101] After receiving the instruction of the mobile terminal to scan the QR code, the mobile terminal is controlled to jump to the setting page according to the jump address in the QR code. Then the configuration information in the QR code is automatically filled into the setting page, and a scanning success notification sent by the mobile terminal according to the callback address in the QR code is received. Then the buried data reported by the mobile terminal according to the time interval in the QR code is redirected to the independent transmission processing platform corresponding to the target IP address.

[0102] After returning from the settings page, the mobile APP will redirect the domain name of the tracking data report to the target IP address configured in the settings page, and the reporting period will be adjusted from the original period (for example, quantitative or five-minute level) to real-time reporting at the one-second level, and the reported tracking data will be accompanied by the unique identifier assigned to the mobile device.

[0103] After that, the HTTP request corresponding to the buried data can be redirected to the independent transmission processing platform according to the target IP address. The independent transmission processing platform performs transmission processing on the buried data and pushes it to the external Kafka.

[0104] S304, consuming the tracking point data from the push target of the independent transmission processing platform and performing automatic verification.

[0105] The test tool consumes the tracking data from the external Kafka, which is one of the push targets, so that the test tool supports end-to-end data assurance. According to the transmission processing process of the independent transmission processing platform, the tracking data reported by the mobile terminal will be pushed to the external Kafka after transmission processing, and the backend of the test tool (which can be a Java server) consumes the tracking data from the external Kafka and then parses it.

[0106] Since the buried data obtained by analysis (reported by the mobile terminal) only has values ​​but no metadata information, the backend of the test tool will also obtain the metadata corresponding to the buried data from the corresponding service of the online big data transmission and processing platform. The metadata is descriptive data for data and information resources, and in this embodiment, it is mainly some buried data definitions.

[0107] Then, the buried data and the metadata obtained through analysis are assembled into readable data, and verification rules are obtained from the online big data transmission and processing platform.

[0108] In this embodiment, in order to improve the test efficiency, the backend of the test tool also obtains the verification rules from the online big data transmission and processing platform. The verification rules are DQC rules, which are rules that can be configured on the data quality platform to check the data format and value of the buried data reported by the mobile terminal.

[0109] Finally, the packaged readable data is verified according to the verification rules to obtain a verification result. In this embodiment, the test tool backend automatically verifies the readable data according to the DQC rules, and obtains the data to be sent according to the verification result after the verification is completed.

[0110] S306, sending the verification result to the front-end page for display.

[0111] The backend of the test tool will push the verification results to the front-end (Web) page for display through an independent channel, so after scanning the code, the user will only see the data reported by his or her device.

[0112] For more details, see Figure 7 , is a detailed flowchart of the above step S306. It can be understood that the flowchart is not used to limit the order of executing the steps. As needed, some steps in the flowchart can be added or deleted. In this embodiment, the step S306 specifically includes:

[0113] S3060: Obtain a corresponding connection channel according to the unique identifier contained in the tracking data.

[0114] In this embodiment, when the user uses the test tool (scanning the code), the front-end page of the test tool will be opened, and a Websocket (a protocol for full-duplex communication on a single TCP connection) connection will be established with the back-end. The back-end will give a unique session identifier (Session ID) for the connection channel, and store the Session ID and the corresponding Websocket connection channel as keywords (key) and values ​​(value) in the lookup table (Map). At the same time, the Session ID will also be transmitted to the front end as the UUID in the QR code. The buried point data reported by the mobile terminal after scanning the code will carry the UUID.

[0115] After the backend of the test tool processes the consumed data and obtains the data to be sent, it will find the corresponding Websocket connection channel from the Map according to the UUID contained in the buried data.

[0116] S3062, sending the verification result of the buried point data to the front-end page for display through the connection channel.

[0117] In this embodiment, each mobile APP corresponds to a different independent Websocket connection channel. After the Websocket connection channel is obtained, data is pushed to the front-end page through the connection channel, so that the user of the mobile terminal can only see the data reported by his own device.

[0118] Finally, the front-end page displays the real-time pushed tracking data, DQC verification results, and timeout information for each link.

[0119] The buried data verification method proposed in this embodiment can support a low-threshold method of one-click scanning, so that any user can use it without any threshold; after scanning the code, the buried data can be reported in real time through specific configuration, and various versions of APP are supported; the reported buried data is redirected to an independent transmission and processing platform consistent with the online version for transmission and processing, so that the buried data undergoes a transmission and processing process consistent with the online version, ensuring the end-to-end correctness of the data; supports real-time automatic verification of DQC rules and time-consuming monitoring of each link of data processing, thereby improving verification efficiency; different mobile APPs use independent Websocket connection channels to push data, so that users can only see the data reported by their own devices, ensuring data security.

[0120] Embodiment 3

[0121] like Figure 8FIG. 2 is a schematic diagram of the hardware architecture of an electronic device 20 according to the third embodiment of the present application. In this embodiment, the electronic device 20 may include, but is not limited to, a memory 21, a processor 22, and a network interface 23 that can be interconnected via a system bus. It should be noted that Figure 8 Only the electronic device 20 having components 21 - 23 is shown, but it should be understood that it is not required to implement all the components shown, and more or fewer components may be implemented instead. In this embodiment, the electronic device 20 may be the server 4 .

[0122] The memory 21 includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 21 can be an internal storage unit of the electronic device 20, such as a hard disk or memory of the electronic device 20. In other embodiments, the memory 21 can also be an external storage device of the electronic device 20, such as a plug-in hard disk equipped on the electronic device 20, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. Of course, the memory 21 can also include both the internal storage unit of the electronic device 20 and its external storage device. In this embodiment, the memory 21 is generally used to store the operating system and various application software installed on the electronic device 20, such as the program code of the buried point data verification system 60, etc. In addition, the memory 21 can also be used to temporarily store various types of data that have been output or are to be output.

[0123] The processor 22 may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chip in some embodiments. The processor 22 is generally used to control the overall operation of the electronic device 20. In this embodiment, the processor 22 is used to run the program code stored in the memory 21 or process data, such as running the buried point data verification system 60.

[0124] The network interface 23 may include a wireless network interface or a wired network interface. The network interface 23 is generally used to establish a communication connection between the electronic device 20 and other electronic devices.

[0125] Embodiment 4

[0126] like Fig. 9 As shown, a module diagram of a buried point data verification system 60 is proposed for the fourth embodiment of the present application. The buried point data verification system 60 can be divided into one or more program modules, one or more program modules are stored in a storage medium, and are executed by one or more processors to complete the embodiment of the present application. The program module referred to in the embodiment of the present application refers to a series of computer program instruction segments that can perform specific functions. The following description will specifically introduce the functions of each program module of this embodiment.

[0127] In this embodiment, the buried point data verification system 60 includes:

[0128] The configuration module 600 is used to provide configuration information to the mobile terminal via a QR code.

[0129] During the use of the mobile APP, the buried data will be generated, and the buried data will be sent to the online big data transmission and processing platform through HTTP requests. The online big data transmission and processing platform will eventually distribute the buried data to push targets such as Hive and external Kafka. In this embodiment, the HTTP request is redirected to another independent transmission and processing platform that is consistent with the online big data transmission and processing platform environment. The independent transmission and processing platform will perform the transmission and processing process consistent with the online process on the reported buried data.

[0130] Furthermore, the buried data generated by the mobile APP will be cached in the mobile terminal first under normal circumstances. When the data accumulates to a certain amount or reaches a certain time interval, a data reporting request will be triggered, so in most cases the buried data will not be reported in real time. In this embodiment, the setting can be completed by scanning the QR code to enable the buried data to be reported in real time.

[0131] The QR code mainly contains the following configuration information:

[0132] (1) Setting the jump address of the page. When the user scans the QR code using a mobile terminal, the user will be redirected to the APP setting page where the jump address is located.

[0133] (2) The target IP address for redirecting the buried data report, that is, the IP address of the independent transmission processing platform.

[0134] (3) A unique identifier (UUID) assigned to the mobile device.

[0135] (4) The time interval (reporting period) for reporting the buried data. For example, the reporting period of the buried data is adjusted to a real-time reporting period of one second.

[0136] (5) callback address, that is, the interface address corresponding to the test tool on the server side. According to the callback address, after the mobile terminal scans the code successfully, the test tool on the server side can be notified of the successful scanning of the code by the mobile terminal, so that the test tool can consume the buried data in Kafka, the push target of the independent transmission processing platform.

[0137] The QR code can be displayed through the front end (Web page) of the test tool, and then provided to the mobile terminal for scanning.

[0138] The processing module 602 is used to redirect the buried data reported by the mobile terminal to an independent transmission processing platform for transmission processing according to the configuration information after the mobile terminal scans the code.

[0139] After the user scans the QR code using the mobile terminal, the user will be redirected to the setting page, and the configuration information in the QR code will be automatically filled into the setting page for the user to view. After the setting is completed, the test tool is notified of the successful scanning of the code through the preset interface (the callback address).

[0140] After returning from the settings page, the mobile APP will redirect the domain name of the tracking data report to the target IP address configured in the settings page, and the reporting period will be adjusted from the original period (for example, quantitative or five-minute level) to real-time reporting at the one-second level, and the reported tracking data will be accompanied by the unique identifier assigned to the mobile device.

[0141] After that, the HTTP request corresponding to the buried data can be redirected to the independent transmission processing platform according to the target IP address. The independent transmission processing platform is laid out by the server side simulating the online big data transmission processing platform, which is consistent with the online big data transmission processing platform environment and will perform the transmission processing process on the buried data consistent with the online big data transmission processing platform. The independent transmission processing platform will eventually distribute the buried data to push targets such as Hive and external Kafka.

[0142] The verification module 604 is used to consume the tracking data from the push target of the independent transmission processing platform and perform automatic verification.

[0143] The verification module 604 consumes the embedded data from the external Kafka, which is one of the push targets, and then parses it, so that the test tool supports end-to-end data assurance.

[0144] Since the buried data obtained by analysis (reported by the mobile terminal) only has values ​​but no metadata information, the verification module 604 will simultaneously obtain the metadata corresponding to the buried data from the corresponding service of the online big data transmission and processing platform. The metadata is descriptive data for data and information resources, and in this embodiment, it is mainly some buried data definitions.

[0145] In this embodiment, in order to improve the test efficiency, the verification module 604 also obtains verification rules from the online big data transmission and processing platform. The verification rules are DQC (Data Quality Check) rules, which are rules that can be configured on the data quality platform to check the data format and value of the buried data reported by the mobile terminal. The verification module 604 automatically verifies the readable data according to the DQC rules, and obtains the data to be sent according to the verification results after the verification is completed.

[0146] The buried data verification system proposed in this embodiment can support a low-threshold method of one-click scanning, so that any user can use it without any threshold; after scanning the code, the buried data can be reported in real time through specific configuration, and various versions of APP are supported; the reported buried data is redirected to an independent transmission and processing platform consistent with the online platform for transmission and processing, so that the buried data undergoes a transmission and processing process consistent with the online platform, ensuring the end-to-end correctness of the data; supports real-time automatic verification of DQC rules and time-consuming monitoring of each link of data processing, thereby improving verification efficiency.

[0147] Embodiment 5

[0148] The present application also provides another embodiment, namely, providing a computer-readable storage medium, wherein the computer-readable storage medium stores a buried point data verification program, and the buried point data verification program can be executed by at least one processor so that the at least one processor performs the steps of the buried point data verification method as described above.

[0149] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.

[0150] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0151] Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, and optionally, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. In this way, the embodiments of the present application are not limited to any specific combination of hardware and software.

[0152] The above are only preferred embodiments of the embodiments of the present application, and are not intended to limit the patent scope of the embodiments of the present application. Any equivalent structure or equivalent process transformation made using the description and drawings of the embodiments of the present application, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the embodiments of the present application.

Claims

1. A method for verifying buried point data, characterized in that: The reporting of the buried data includes two channels: an online big data transmission and processing platform and an independent transmission and processing platform. The method includes: Providing configuration information to the mobile terminal via a QR code, wherein the configuration information includes a redirection target IP address, and the target IP address corresponds to the independent transmission processing platform; When the mobile terminal scans the QR code, the buried data reported by the mobile terminal is redirected to the independent transmission processing platform corresponding to the target IP address for transmission processing according to the configuration information; The tracking point data is consumed from the push target of the independent transmission and processing platform and automatically verified according to the verification rules obtained from the online big data transmission and processing platform, wherein the independent transmission and processing platform is laid out in an independent environment to simulate the online big data transmission and processing platform, and is consistent with the transmission and processing process and logic of the tracking point data by the online big data transmission and processing platform, and is used to verify the tracking point data.

2. The method for verifying buried point data according to claim 1, characterized in that: The configuration information in the QR code also includes: a jump address of a setting page, a unique identifier assigned to the mobile device, a time interval for reporting the buried data, and a callback address.

3. The method for verifying buried point data according to claim 2, characterized in that: After the mobile terminal scans the QR code, redirecting the buried data reported by the mobile terminal to the independent transmission processing platform corresponding to the target IP address for transmission processing according to the configuration information includes: After receiving an instruction from the mobile terminal to scan the QR code, controlling the mobile terminal to jump to the setting page according to the jump address in the QR code; Automatically fill the configuration information in the QR code into the setting page, and receive a scanning success notification sent by the mobile terminal according to the callback address in the QR code; Redirecting the buried data reported by the mobile terminal according to the time interval in the QR code to the independent transmission processing platform corresponding to the target IP address; The independent transmission processing platform transmits and processes the buried data and pushes it to the external Kafka.

4. The method for verifying buried point data according to claim 3, characterized in that: The consuming of the buried data from the push target of the independent transmission processing platform and automatically verifying it according to the verification rules obtained from the online big data transmission processing platform includes: Consume and parse the tracking data from the external Kafka; Obtain metadata corresponding to the tracking data from the online big data transmission and processing platform; Assembling the analyzed buried point data and the metadata into readable data; Acquire verification rules from the online big data transmission and processing platform; The readable data is verified according to the verification rule to obtain a verification result.

5. The method for verifying buried point data according to claim 2, characterized in that: The method further comprises: Acquire a corresponding connection channel according to the unique identifier contained in the tracking data; The verification result of the buried point data is sent to the front-end page through the connection channel for display.

6. The method for verifying buried point data according to claim 2, characterized in that: The time interval is a real-time reporting cycle at the one-second level.

7. A buried point data verification system, characterized in that: The system comprises: A configuration module, used to provide configuration information to the mobile terminal through a QR code, wherein the configuration information includes a redirection target IP address, and the target IP address corresponds to an independent transmission processing platform; A processing module, for redirecting the buried data reported by the mobile terminal to the independent transmission processing platform corresponding to the target IP address for transmission processing according to the configuration information after the mobile terminal scans the QR code, wherein the reporting of the buried data includes two channels: an online big data transmission processing platform and the independent transmission processing platform; A verification module is used to consume the buried data from the push target of the independent transmission and processing platform and automatically verify it according to the verification rules obtained from the online big data transmission and processing platform, wherein the independent transmission and processing platform is laid out in an independent environment to simulate the online big data transmission and processing platform, and is consistent with the transmission and processing process and logic of the buried data by the online big data transmission and processing platform, and is used to verify the buried data.

8. An electronic device, characterized in that: The electronic device includes: a memory, a processor, and a buried point data verification program stored in the memory and executable on the processor. When the buried point data verification program is executed by the processor, the buried point data verification method as described in any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a buried point data verification program, and when the buried point data verification program is executed by the processor, the buried point data verification method as described in any one of claims 1 to 6 is implemented.

10. A computer program product, characterized in that The computer program product stores a buried point data verification program, and when the buried point data verification program is executed by a processor, it implements the buried point data verification method as described in any one of claims 1 to 6.