Buried point test method and device, electronic equipment and computer readable storage medium

The automated tracking point testing method addresses inefficiencies in manual detection by using operation scripts and verification rules to ensure accurate and efficient tracking point testing.

CN119127681APending Publication Date: 2024-12-13SHENZHEN TCL NEW-TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411149431.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2024-12-13

AI Technical Summary

Technical Problem

Existing manual tracking point detection methods are inefficient and prone to misdetection or missed detection, especially with increasing tracking points due to application iterations, and require significant human resources for each product upgrade, leading to neglect of old tracking points.

Method used

A method and device for automated tracking point testing that involves determining configuration information, sending operation scripts to the device under test, receiving log information, and verifying it against predefined rules to ensure accuracy and efficiency.

Benefits of technology

Improves the efficiency and accuracy of tracking point testing by enabling automated verification of tracking points, ensuring accurate detection and reducing the need for manual intervention.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119127681A_ABST
    Figure CN119127681A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a buried point test method and device, electronic equipment and a computer readable storage medium, and the method comprises the steps: determining buried point configuration information in response to a buried point test starting operation, the buried point configuration information comprising a buried point operation script, a buried point verification rule and tested equipment information; sending the burying point operation script to a tested device corresponding to the tested device information, and receiving burying point log information for a target burying point returned by the tested device for the burying point operation script; and verifying the burying point log information according to the burying point verification rule to obtain burying point quality information of the target burying point. Automatic testing of the buried points is achieved, and the buried point testing efficiency is improved. According to the method, the buried point verification rule is configured, and the buried point log information is verified based on the buried point verification rule, so that the accuracy of buried point testing is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the field of testing, and specifically to a method, device, electronic device and computer-readable storage medium for buried point testing. Background Art

[0002] As the cornerstone of recommendation, search, and product optimization, the importance of data quality is self-evident. After the tracking developer completes the tracking, the execution results can be used to quickly verify whether the tracking position is correct, thereby ensuring that the released application (such as online tracking) is accurate.

[0003] However, due to the continuous iteration of applications, the number of tracking points is increasing, resulting in the inefficiency of manual tracking point detection failing to meet the demand, and prone to misdetection and missed detection. In addition, after each product upgrade, limited human resources have to be applied to new tracking points, resulting in the neglect of old tracking points.

[0004] Therefore, how to efficiently and accurately test tracking points is an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for tracking test, which can improve the efficiency and accuracy of tracking test.

[0006] In a first aspect, an embodiment of the present application provides a method for testing a buried point, which is applied to an operating device, and the method includes:

[0007] In response to a tracking point test start operation, determining tracking point configuration information, wherein the tracking point configuration information includes a tracking point operation script, a tracking point verification rule, and information of a device under test;

[0008] Send the embedding point operation script to the device under test corresponding to the device under test information, and receive embedding point log information for the target embedding point returned by the device under test in response to the embedding point operation script;

[0009] The burying point log information is verified according to the burying point verification rule to obtain the burying point quality information of the target burying point.

[0010] In a second aspect, an embodiment of the present application further provides a buried point test device, which is applied to an operating device, and the device includes:

[0011] A response module, configured to determine the tracking configuration information in response to the tracking test start operation, wherein the tracking configuration information includes the tracking operation script, the tracking verification rule and the device under test information;

[0012] A generating module, used for sending the embedding point operation script to the device under test corresponding to the device under test information, and receiving embedding point log information for the target embedding point returned by the device under test in response to the embedding point operation script;

[0013] The verification module is used to verify the tracking point log information according to the tracking point verification rules to obtain the tracking point quality information of the target tracking point.

[0014] Optionally, in some embodiments of the present application, the device further includes a configuration module, and the configuration module includes:

[0015] Display unit, used to display the buried point test configuration interface;

[0016] A response unit, configured to obtain a tracking operation script, a tracking verification rule and information of a device under test in response to an information input operation through the tracking test configuration interface;

[0017] The response modules include:

[0018] The first determination unit is used to respond to the tracking test start operation triggered by the tracking test configuration interface, and use the tracking operation script, the tracking verification rule and the device under test information as the tracking configuration information.

[0019] In some embodiments of the present application, the tracking configuration information also includes tracking test mark information, and the generation module includes:

[0020] A sending unit, used for sending the embedding operation script and the embedding test mark information to the device under test corresponding to the device under test information;

[0021] A receiving unit, configured to receive the tracking log information for the target tracking point, which is returned by the device under test in response to the tracking operation script and is marked by the tracking test mark information;

[0022] The verification module includes:

[0023] The verification unit is used to verify the burying point log information marked with the burying point test mark information according to the burying point verification rule, and obtain the burying point quality information of the target burying point in the current burying point test.

[0024] Among them, in some embodiments of the present application, the verification module includes:

[0025] A second determining unit, configured to determine at least one application scenario corresponding to the target embedding point;

[0026] A first verification unit is used to verify the burying point log information according to the burying point verification sub-rule corresponding to each application scenario in the burying point verification rule, obtain a verification sub-result for each application scenario, and obtain the burying point quality information of the target burying point according to each of the verification sub-results;

[0027] or,

[0028] The second verification unit is used to extract scene identification information from the tracking point log information, determine the target scene from the application scene according to the scene identification information, and verify the tracking point log according to the tracking point verification sub-rule corresponding to the target scene in the tracking point verification rule to obtain tracking point quality information.

[0029] In some embodiments of the present application, the first verification unit includes:

[0030] A first check subunit is configured to use the tracking point accuracy as the tracking point quality information if at least one check sub result indicates that the tracking point log information complies with the tracking point check subrule;

[0031] The second check subunit is used to use the burying point error as the burying point quality information if all the check sub results indicate that the burying point log information does not comply with the burying point check subrule.

[0032] In a third aspect, an embodiment of the present application provides a method for buried point testing, which is applied to a device under test, and the method includes:

[0033] Receiving a tracking point operation script sent by an operating device, wherein the tracking point operation script is determined by the operating device in response to a tracking point test start operation;

[0034] Execute the tracking point operation script to obtain the tracking point log information of the target tracking point;

[0035] The burying point log information is returned to the operating device, so that the operating device verifies the burying point log information according to the burying point verification rules determined in response to the burying point test start operation, and obtains the burying point quality information of the target burying point.

[0036] In a fourth aspect, an embodiment of the present application provides a buried point test device, which is applied to a device under test, and the method includes:

[0037] A receiving module, configured to receive a tracking point operation script sent by an operating device, wherein the tracking point operation script is determined by the operating device in response to a tracking point test start operation;

[0038] An execution module is used to execute the tracking point operation script to obtain tracking point log information of the target tracking point;

[0039] A return module is used to return the burying point log information to the operating device, so that the operating device verifies the burying point log information according to the burying point verification rules determined in response to the burying point test start operation to obtain the burying point quality information of the target burying point.

[0040] In some embodiments of the present application, the device further includes a marking module, and the marking module includes:

[0041] A receiving unit, used to receive the buried point test mark information sent by the operating device;

[0042] A marking unit, used for marking the tracking point log information according to the tracking point test marking information;

[0043] The return module includes:

[0044] A returning unit is used to return the embedding log information marked by the embedding test mark information to the operating device.

[0045] In a fifth aspect, an embodiment of the present application further provides an electronic device, which includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the steps in the above-mentioned buried point testing method are implemented when the computer program is executed by the processor.

[0046] In a sixth aspect, an embodiment of the present application further provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps in the above-mentioned tracking point testing method are implemented.

[0047] In a seventh aspect, the embodiments of the present application further provide a computer program product or a computer program, the computer program product or the computer program including computer instructions, the computer instructions being stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the methods provided in the various optional implementations described in the embodiments of the present application.

[0048] In summary, the operating device of the embodiment of the present application responds to the burying point test start operation, determines the burying point configuration information, which includes the burying point operation script, the burying point verification rules and the device under test information, and sends the burying point operation script to the device under test corresponding to the device under test information, and receives the burying point log information for the target burying point returned by the device under test for the burying point operation script, verifies the burying point log information according to the burying point verification rules, and obtains the burying point quality information of the target burying point.

[0049] Among them, the test operation is performed through the tracking point operation script, and the tracking point log information generated after the tracking point operation script is executed is verified based on the tracking point verification rules, so as to realize the automated testing of the tracking point and improve the efficiency of the tracking point test. Among them, the accuracy of the tracking point test is improved by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules. BRIEF DESCRIPTION OF THE DRAWINGS

[0050] In order to more clearly illustrate the technical solutions in the present application, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.

[0051] Figure 1 It is a scenario diagram of the tracking point testing method provided in the embodiment of the present application;

[0052] Figure 2 It is a flow chart of the buried point testing method provided in the embodiment of the present application;

[0053] Figure 3 It is a schematic diagram of a buried point test configuration interface provided in an embodiment of the present application;

[0054] Figure 4 It is a schematic diagram of the configuration interface of the point-of-use verification rule provided in the embodiment of the present application;

[0055] Figure 5 It is another flow chart of the buried point testing method of an embodiment of the present application;

[0056] Figure 6 It is an architecture diagram of the tracking point test system provided in the embodiment of the present application;

[0057] Figure 7 It is a structural schematic diagram of a buried point testing device provided in an embodiment of the present application;

[0058] Figure 8 is another structural schematic diagram of the buried point testing device provided in an embodiment of the present application;

[0059] Fig. 9 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0060] The following will be combined with the drawings in this application to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments in the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0061] The embodiments of the present application provide a method, device, electronic device and computer-readable storage medium for burying point testing. Specifically, the embodiments of the present application provide a burying point testing device suitable for electronic devices, the electronic devices include terminal devices or operating devices, the terminal devices include televisions, mobile phones, desktop computers, tablet computers, laptop computers or air conditioners and other devices; the operating devices include servers and some terminals (such as mobile phones and other devices capable of issuing control instructions), the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content distribution networks (CDN, Content Delivery Network), and big data and artificial intelligence platforms and other basic cloud computing services, etc. The server can be directly or indirectly connected via wired or wireless communication.

[0062] For details, please refer to Figure 1 , Figure 1 It is a schematic diagram of a scenario in which an operating device according to an embodiment of the present application performs the tracking test method. Specifically, taking the operating device as a server as an example, the specific execution process of the terminal device performing the tracking test method is as follows:

[0063] The server 10 responds to the buying point test start operation and determines the embedding point configuration information, which includes the embedding point operation script, the embedding point verification rules and the device under test information. The server 10 sends the embedding point operation script to the device under test 11 corresponding to the device under test information, and receives the embedding point log information for the target embedding point returned by the device under test 11 in response to the embedding point operation script, and verifies the embedding point log information according to the embedding point verification rules to obtain the embedding point quality information of the target embedding point.

[0064] It should be noted that, in the embodiment of the present application, the burial point quality information represents whether the target burial point is accurate, that is, whether the position of the target burial point is accurate.

[0065] Optionally, the device under test may be a mobile phone, television, tablet computer, laptop computer, or other device that has an application or a computer program associated with the application installed. In an embodiment of the present application, the target embedding point is configured in the application or the computer program associated with the application to analyze whether the target embedding point is accurate in the application or computer program.

[0066] In summary, the embodiment of the present application performs test operations through the tracking point operation script, and verifies the tracking point log information generated after the tracking point operation script is executed based on the tracking point verification rules, thereby realizing automated testing of the tracking point and improving the tracking point test efficiency. Among them, by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules, the accuracy of the tracking point test is improved.

[0067] It should be noted that the order of description of the following embodiments is not intended to limit the priority order of the embodiments.

[0068] See also Figure 2 , Figure 2 A flowchart of a method for burying a point in a test provided by an embodiment of the present application. Although a logical order is shown in the flowchart, in some cases, the steps shown or described may be performed in an order different from that shown in the accompanying drawings. Specifically, the specific process of the method for burying a point in a test is as follows:

[0069] 101. In response to a tracking point test start operation, determine tracking point configuration information, where the tracking point configuration information includes a tracking point operation script, a tracking point verification rule, and information about a device under test.

[0070] Among them, the tracking test start operation refers to the operation of starting the tracking test, which can be generated through the controls of the tracking test configuration interface. For example, the tracking test start operation is triggered by clicking the test control of the tracking test configuration interface.

[0071] The tracking configuration information is the information configured for the tracking test, including the tracking operation script, the tracking verification rules and the device information under test.

[0072] Among them, the tracking point operation script is a script that simulates the user's operation of the device under test and triggers the target tracking point reporting. For example, by executing the tracking point operation script, the application or program is driven to simulate the user's operation and trigger the tracking point reporting. Among them, in an embodiment of the present application, the tracking point operation script can be targeted at the reporting of multiple tracking points. For example, by executing the tracking point operation script, the reporting of multiple tracking points in the program is triggered. Among them, the tracking point operation script can be obtained in a pre-configured manner, including development and configuration by a development engineer, or automatic generation by an AI tool.

[0073] Among them, in an embodiment of the present application, important buried points or buried points that require repeated regression testing can be pre-screened, and buried point operation scripts can be configured for these buried points. Among them, important buried points can be screened by factors such as the location of the buried point, the functional points involved in the buried point, the number of times the method body where the buried point is located is reused in the program, or the retention time of the buried point in the program. For example, the longer the retention time of the buried point in the program, the higher the importance. The number of reuses refers to the number of times it is called or referenced by other methods. For example, if multiple methods A respectively reference method B, method B is reused, and the number of reuses can be the number of method A. Functional points refer to the functional modules involved in the buried point, such as case list modules, commission modules, case query modules, and personalized information configuration modules. The location of the buried point includes the number of lines where the buried point is located, the method body involved, or the code logic targeted by the buried point.

[0074] Among them, the tracking point verification rule is the rule for verifying the log reported by the tracking point, which is used to analyze whether the log meets expectations, that is, to analyze whether the tracking point is accurate. Among them, the tracking point verification rule can be configured based on the functional logic of the tracking point. For example, if the information expected to be reported by the tracking point includes the number of underloads, reporting timestamps, and event identifiers, then the conditions that should be met can be configured for each information, for example, the number of underloads should be a regular match with the reference number, the reporting timestamp should be within the set length range, and the event identifier should not be empty.

[0075] The tested device information is device information of the tested device, including but not limited to device identification information, device type information, device model information or device name information, etc. It is used to indicate which device is to be tested.

[0076] 102. Send the embedding point operation script to the device under test corresponding to the device under test information, and receive the embedding point log information for the target embedding point returned by the device under test in response to the embedding point operation script.

[0077] Among them, by sending the burying point operation script to the device under test corresponding to the burying point information, the device under test is instructed to trigger the burying point reporting according to the burying point operation script.

[0078] Among them, by receiving the tracking point log information for the target tracking point returned by the device under test, it is convenient to verify the tracking point log information to analyze whether the tracking point is correct.

[0079] 103. Verify the burying point log information according to the burying point verification rule to obtain the burying point quality information of the target burying point.

[0080] Among them, the tracking point log information is verified through the tracking point verification rules to obtain the tracking point quality information, so as to realize the analysis and judgment of whether the tracking point is accurate.

[0081] Among them, the burial point quality information represents whether the target burial point is accurate, that is, whether the location of the target burial point is accurate.

[0082] In summary, the embodiment of the present application performs test operations through the tracking point operation script, and verifies the tracking point log information generated after the tracking point operation script is executed based on the tracking point verification rules, thereby realizing automated testing of the tracking point and improving the tracking point test efficiency. Among them, by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules, the accuracy of the tracking point test is improved.

[0083] Optionally, in an embodiment of the present application, the tracing point configuration information may be obtained by responding to a user interface input, that is, optionally, in some embodiments of the present application, before the step of “determining the tracing point configuration information in response to a tracing point test start operation”, the method further includes:

[0084] Display the tracking point test configuration interface;

[0085] In response to the information input operation through the tracking test configuration interface, a tracking operation script, a tracking verification rule and information of the device under test are obtained;

[0086] The step of determining the tracking configuration information in response to the tracking test start operation includes:

[0087] In response to a tracking test start operation triggered by the tracking test configuration interface, the tracking operation script, the tracking verification rules and the device under test information are used as tracking configuration information.

[0088] Among them, the embedded point test configuration interface is an interface for configuring embedded point test information. Through this interface, it is possible to respond to the user's information input operation, obtain the embedded point operation script, embedded point verification rules and the device information under test, and then, when the user triggers the embedded point test start operation through this interface, the embedded point operation script, embedded point verification rules and the device information under test are used as the embedded point configuration information.

[0089] Optionally, in the embodiment of the present application, the tracking point configuration information can also be obtained by selecting the interface, for example, refer to Figure 3 As shown, a drop-down box is configured for the tracking operation script, tracking verification rule and measured device information, and the user selects the corresponding tracking operation script, tracking verification rule and measured device information through the drop-down box.

[0090] Among them, see Figure 3 , by clicking Figure 3 In the "Start Verification" control, the tracking operation script, tracking verification rule and device information selected in the drop-down box are used as the tracking configuration information. At the same time, the tracking test is triggered and the control is switched from "Start Verification" to "Stop Verification".

[0091] Among them, in the embodiment of the present application, since the buried point verification rules and the buried point operation scripts both correspond to the buried points, a corresponding correspondence can also be configured between the buried point verification rules and the buried point operation scripts, that is, when the buried point verification rule is selected, the corresponding buried point operation script can be automatically matched, or when the buried point operation script is selected, the corresponding buried point verification rule can be automatically matched.

[0092] Optionally, since the tracing test is performed multiple times, the embodiment of the present application may consider marking the tracing log information by marking information to distinguish the tracing log information of each test, and then obtain the tracing quality information of each tracing test, that is, optionally, in some embodiments of the present application, the tracing configuration information also includes tracing test marking information, and the step of "sending the tracing operation script to the device under test corresponding to the device under test information" includes:

[0093] Sending the embedding operation script and the embedding test mark information to the device under test corresponding to the device under test information;

[0094] The receiving the tracking log information for the target tracking point returned by the device under test for the tracking operation script includes:

[0095] Receiving the tracking log information for the target tracking point, which is returned by the device under test in response to the tracking operation script and marked by the tracking test mark information;

[0096] The verifying the burying point log information according to the burying point verification rule to obtain the burying point quality information of the target burying point includes:

[0097] According to the embedding point verification rule, the embedding point log information marked with the embedding point test mark information is verified to obtain the embedding point quality information of the target embedding point in the current embedding point test.

[0098] Among them, in an embodiment of the present application, the burying point test marking information can be a randomly generated non-repetitive ID, which is used to separately mark the burying point log information generated by each burying point test, and then obtain the burying point quality information of the target burying point of each burying point test.

[0099] Optionally, since code reuse is a common program development method, a single tracking point may be applied in different scenarios. For example, method C, method D, and method E all reference or call method F, then the tracking point in method F has an application scenario for method C, method D, or method E, that is, it can be called by method C, method D, or method F. Accordingly, for different application scenarios, corresponding tracking point verification sub-rules can be configured to achieve verification of the tracking point log information for each application scenario, that is, optionally, in some embodiments of the present application, the step of "verifying the tracking point log information according to the tracking point verification rule to obtain the tracking point quality information of the target tracking point" includes:

[0100] Determine at least one application scenario corresponding to the target embedding point;

[0101] Verify the burying point log information according to the burying point verification sub-rule corresponding to each application scenario in the burying point verification rule, obtain the verification sub-result for each application scenario, and obtain the burying point quality information of the target burying point according to each verification sub-result;

[0102] Alternatively, scene identification information is extracted from the burying point log information, and the target scene is determined from the application scene based on the scene identification information, and the burying point log is verified according to the burying point verification sub-rule corresponding to the target scene in the burying point verification rule to obtain burying point quality information.

[0103] As can be seen from the above, when the tracking point log information meets one of the tracking point verification sub-rules, it can be said that it meets at least one of the scenarios, so the tracking point can be considered accurate. In addition, it is also possible to analyze which application scenario the tracking point log information reported by the current target tracking point is based on, and then the tracking point log information can be specifically verified based on the verification sub-rule corresponding to the application scenario to determine whether the tracking point is appropriate in the current application scenario.

[0104] For example, see Figure 4 As shown, the point verification rules corresponding to each target point may include multiple points for different application scenarios, such as point verification sub-rules for scenario 1 and point verification sub-rules for scenario 2. Correspondingly, when the point log information reported by the target point is received, the point log information can be verified based on the point verification sub-rules of each application scenario, or the target point verification sub-rule can be selected from the multiple point verification sub-rules corresponding to the target point based on the target application scenario corresponding to the current point report, and the point log information can be verified based on the target point verification sub-rule. Figure 4 As shown, the point-of-care verification rules can be configured based on the point-of-care verification rule configuration interface.

[0105] The scene identification information may be obtained from the log, for example, by analyzing the calling relationship or the referencing relationship of the method from the log, and determining the scene identification information based on the calling relationship or the referencing relationship.

[0106] Correspondingly, since each burial point verification sub-rule corresponds to an application scenario, when multiple burial point verification sub-rules are verified and the verification sub-results are obtained respectively, if one of the verification sub-results indicates that the burial point log information meets the corresponding burial point verification sub-rule, then the burial point location of the target burial point is considered to be accurate.

[0107] That is, optionally, in some embodiments of the present application, the burying point quality information includes accurate burying points or burying point errors, and the step of "obtaining the burying point quality information of the target burying point according to each of the syndrome results" includes:

[0108] If there is at least one syndrome result indicating that the tracking point log information complies with the tracking point syndrome rule, the tracking point accuracy is used as the tracking point quality information;

[0109] If all the check sub-results indicate that the burial point log information does not comply with the burial point check sub-rule, the burial point error is used as the burial point quality information.

[0110] In summary, the embodiment of the present application performs test operations through the tracking point operation script, and verifies the tracking point log information generated after the tracking point operation script is executed based on the tracking point verification rules, thereby realizing automated testing of the tracking point and improving the tracking point test efficiency. Among them, by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules, the accuracy of the tracking point test is improved.

[0111] Among them, by configuring the tracking point test configuration interface, the tracking point configuration information can be configured. By configuring the tracking point verification sub-rules for each application scenario of the target tracking point, a comprehensive test of the target tracking point in each application scenario can be achieved. In addition, by analyzing the scene identification information reported by the target tracking point, targeted testing of the application scenario to which the target tracking point report belongs can be achieved, thereby improving the accuracy of the tracking point test.

[0112] Accordingly, in order to facilitate the understanding of the embodiments of the present application, the buried point test method of the embodiments of the present application will be described from the side of the device under test. For details, please refer to Figure 5 As shown, Figure 5 : is another flow chart of the buried point test method of an embodiment of the present application, wherein the meanings of the nouns are the same as those in the above buried point test method, and the buried point test method specifically includes:

[0113] 201. Receive a tracking point operation script sent by an operating device, wherein the tracking point operation script is determined by the operating device in response to a tracking point test start operation;

[0114] 202. Execute the tracking point operation script to obtain tracking point log information of the target tracking point;

[0115] 203. Return the burying point log information to the operating device, so that the operating device verifies the burying point log information according to the burying point verification rules determined in response to the burying point test start operation, and obtains the burying point quality information of the target burying point.

[0116] Among them, for the device under test, by receiving the tracking point operation script sent by the operating device, and triggering the reporting of the tracking point log information of the target tracking point based on the tracking point operation script, the tracking point test for the device under test is realized by controlling the operating device.

[0117] Among them, for the marking of the burying point log information, the burying point test marking information generated by the operating device in response to the burying point test start operation can be received, and the device under test marks the burying point log information based on the burying point test marking information, that is, optionally, in some embodiments of the present application, before the step of "returning the burying point log information to the operating device", the method also includes:

[0118] Receiving the buried point test mark information sent by the operating device;

[0119] Marking the tracking point log information according to the tracking point test marking information;

[0120] The returning the tracking point log information to the operating device includes:

[0121] The embedding point log information marked by the embedding point test mark information is returned to the operating device.

[0122] Among them, by marking the burying point log information, the operating device can distinguish the burying point log information of each burying point test based on the burying point test marking information, and then realize the analysis and generation of the burying point quality information of each time.

[0123] It can be understood that the tracking point testing method in the embodiment of the present application is not only applicable to the testing of newly generated tracking points, but can also be used for regression testing of historical tracking points, that is, long-term tracking points. For example, as long as the tracking point verification rules for the tracking points are configured, new tracking points can be tested or long-term tracking points can be tested multiple times (multiple tests or repeated tests or retests can all be called regression tests).

[0124] In the embodiment of the present application, a long connection may be used between the operating device and the device under test.

[0125] In the embodiment of the present application, a message pusher may be provided between the operating device and the device under test, and the message pusher is used to realize information transmission control from the operating device to the device under test. For example, see Figure 6 , Figure 6 : is an architecture diagram of a tracking point test system provided in an embodiment of the present application, and the tracking point test system includes:

[0126] The operation device 211 is usually configured as a server, which is used for unified management of the point-of-sale operation script, the point-of-sale verification rules and the information of the device under test, wherein the operation device 211 is also configured with a rule verifier and a rule generator, the rule generator is used to generate the point-of-sale verification rules, and the rule verifier is used to verify the point-of-sale log information based on the point-of-sale verification rules to generate the point-of-sale quality information. The operation device 211 also includes a tag generator, which is used to generate the point-of-sale test tag information when the point-of-sale test is triggered, and send the point-of-sale test tag information to the message pusher 212.

[0127] The message pusher 212 is used to receive the burying point test mark information and the burying point operation script issued by the operating device 211, and push the burying point operation script and the burying point test mark information to the device under test 213 in real time.

[0128] The device under test 213 is used to save the embedded point test mark information, turn on the debugging mode (such as debug mode), execute the embedded point operation script, generate embedded point log information, mark the embedded point log information with the embedded point test mark information, and report the embedded point log information marked with the embedded point test mark information to the operating device 211. Then, the embedded point test mark information is cleared.

[0129] Among them, in the embodiment of the present application, if the burial point quality information indicates that the burial point is correct, the number of verification items is recorded; if the burial point quality information indicates that the burial point is wrong, the original data and the reason for failure are recorded.

[0130] In order to facilitate better implementation of the buried point test method of the present application, the present application also provides a buried point test device based on the buried point test method. The meanings of the terms are the same as those in the buried point test method, and the specific implementation details can refer to the description in the method embodiment.

[0131] See also Figure 7 , Figure 7 : is a schematic diagram of the structure of the buried point test device provided in an embodiment of the present application, wherein the buried point test device is applied to an operating device, and specifically can be as follows:

[0132] The response module 301 is used to determine the tracking configuration information in response to the tracking test start operation, wherein the tracking configuration information includes the tracking operation script, the tracking verification rule and the device under test information;

[0133] A generating module 302 is used to send the embedding operation script to the device under test corresponding to the device under test information, and receive embedding log information for the target embedding point returned by the device under test for the embedding operation script;

[0134] The verification module 303 is used to verify the burying point log information according to the burying point verification rule to obtain the burying point quality information of the target burying point.

[0135] Optionally, in some embodiments of the present application, the device further includes a configuration module, and the configuration module includes:

[0136] Display unit, used to display the buried point test configuration interface;

[0137] A response unit, configured to obtain a tracking operation script, a tracking verification rule and information of a device under test in response to an information input operation through the tracking test configuration interface;

[0138] The response module 301 includes:

[0139] The first determination unit is used to respond to the tracking test start operation triggered by the tracking test configuration interface, and use the tracking operation script, the tracking verification rule and the device under test information as the tracking configuration information.

[0140] In some embodiments of the present application, the tracking configuration information also includes tracking test mark information, and the generation module 302 includes:

[0141] A sending unit, used for sending the embedding operation script and the embedding test mark information to the device under test corresponding to the device under test information;

[0142] A receiving unit, configured to receive the tracking log information for the target tracking point, which is returned by the device under test in response to the tracking operation script and is marked by the tracking test mark information;

[0143] The verification module 303 includes:

[0144] The verification unit is used to verify the burying point log information marked with the burying point test mark information according to the burying point verification rule, and obtain the burying point quality information of the target burying point in the current burying point test.

[0145] In some embodiments of the present application, the verification module 303 includes:

[0146] A second determining unit, configured to determine at least one application scenario corresponding to the target embedding point;

[0147] A first verification unit is used to verify the burying point log information according to the burying point verification sub-rule corresponding to each application scenario in the burying point verification rule, obtain a verification sub-result for each application scenario, and obtain the burying point quality information of the target burying point according to each of the verification sub-results;

[0148] or,

[0149] The second verification unit is used to extract scene identification information from the tracking point log information, determine the target scene from the application scene according to the scene identification information, and verify the tracking point log according to the tracking point verification sub-rule corresponding to the target scene in the tracking point verification rule to obtain tracking point quality information.

[0150] In some embodiments of the present application, the first verification unit includes:

[0151] A first check subunit is configured to use the tracking point accuracy as the tracking point quality information if at least one check sub result indicates that the tracking point log information complies with the tracking point check subrule;

[0152] The second check subunit is used to use the burying point error as the burying point quality information if all the check sub results indicate that the burying point log information does not comply with the burying point check subrule.

[0153] In the embodiment of the present application, the response module 301 first responds to the starting operation of the burying point test and determines the burying point configuration information, wherein the burying point configuration information includes the burying point operation script, the burying point verification rules and the device under test information. Then, the generation module 302 sends the burying point operation script to the device under test corresponding to the device under test information, and receives the burying point log information for the target burying point returned by the device under test for the burying point operation script. Subsequently, the verification module 303 verifies the burying point log information according to the burying point verification rules to obtain the burying point quality information of the target burying point.

[0154] The embodiment of the present application performs the test operation through the tracking point operation script, and verifies the tracking point log information generated after the tracking point operation script is executed based on the tracking point verification rules, thereby realizing the automated testing of the tracking point and improving the tracking point testing efficiency. The accuracy of the tracking point test is improved by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules.

[0155] See also Figure 8 , Figure 8 : is another structural schematic diagram of the buried point test device provided in an embodiment of the present application, wherein the buried point test device is applied to the device under test, and specifically can be as follows:

[0156] The receiving module 311 is used to receive a tracking point operation script sent by the operating device, wherein the tracking point operation script is determined by the operating device in response to a tracking point test start operation;

[0157] An execution module 312 is used to execute the tracking point operation script to obtain tracking point log information of the target tracking point;

[0158] The return module 313 is used to return the burying point log information to the operating device, so that the operating device verifies the burying point log information according to the burying point verification rules determined in response to the burying point test start operation to obtain the burying point quality information of the target burying point.

[0159] In some embodiments of the present application, the device further includes a marking module, and the marking module includes:

[0160] A receiving unit, used to receive the buried point test mark information sent by the operating device;

[0161] A marking unit, used for marking the tracking point log information according to the tracking point test marking information;

[0162] The return module 313 includes:

[0163] A returning unit is used to return the embedding log information marked by the embedding test mark information to the operating device.

[0164] Among them, by marking the burying point log information, the operating device can distinguish the burying point log information of each burying point test based on the burying point test marking information, and then realize the analysis and generation of the burying point quality information of each time.

[0165] In addition, the present application also provides an electronic device, such as Fig. 9 As shown, it shows a schematic diagram of the structure of the electronic device involved in this application, specifically:

[0166] The electronic device may include components such as a processor 401 with one or more processing cores, a memory 402 with one or more computer-readable storage media, a power supply 403, and an input unit 404. Those skilled in the art will appreciate that Fig. 9 The electronic device structure shown in the figure does not constitute a limitation on the electronic device, and may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0167] The processor 401 is the control center of the electronic device, and uses various interfaces and lines to connect various parts of the entire electronic device. By running or executing software programs and / or modules stored in the memory 402, and calling data stored in the memory 402, the processor 401 performs various functions of the electronic device and processes data, thereby monitoring the electronic device as a whole. Optionally, the processor 401 may include one or more processing cores; preferably, the processor 401 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless communications. It is understandable that the above-mentioned modem processor may not be integrated into the processor 401.

[0168] The memory 402 can be used to store software programs and modules. The processor 401 executes various functional applications and data processing by running the software programs and modules stored in the memory 402. The memory 402 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area may store data created according to the use of the electronic device, etc. In addition, the memory 402 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices. Accordingly, the memory 402 may also include a memory controller to provide the processor 401 with access to the memory 402.

[0169] The electronic device also includes a power supply 403 for supplying power to each component. Preferably, the power supply 403 can be logically connected to the processor 401 through a power management system, so as to manage charging, discharging, and power consumption through the power management system. The power supply 403 can also include one or more DC or AC power supplies, recharging systems, power supply device debugging circuits, power converters or inverters, power status indicators, and other arbitrary components.

[0170] The electronic device may further include an input unit 404, which may be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal input related to user settings and function control.

[0171] Although not shown, the electronic device may also include a display unit, etc., which will not be described in detail here. Specifically in this embodiment, the processor 401 in the electronic device will load the executable files corresponding to the processes of one or more applications into the memory 402 according to the following instructions, and the processor 401 will run the application stored in the memory 402, thereby implementing the steps in any of the buried point testing methods provided in the embodiments of the present application.

[0172] The operating device of the embodiment of the present application responds to the starting operation of the burying point test, determines the burying point configuration information, which includes the burying point operation script, the burying point verification rules and the device under test information, and sends the burying point operation script to the device under test corresponding to the device under test information, and receives the burying point log information for the target burying point returned by the device under test in response to the burying point operation script, verifies the burying point log information according to the burying point verification rules, and obtains the burying point quality information of the target burying point.

[0173] Among them, the test operation is performed through the tracking point operation script, and the tracking point log information generated after the tracking point operation script is executed is verified based on the tracking point verification rules, so as to realize the automated testing of the tracking point and improve the efficiency of the tracking point test. Among them, the accuracy of the tracking point test is improved by configuring the tracking point verification rules and verifying the tracking point log information based on the tracking point verification rules.

[0174] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0175] A person of ordinary skill in the art will appreciate that all or part of the steps in the various methods of the above embodiments may be completed by instructions, or by controlling related hardware through instructions. The instructions may be stored in a computer-readable storage medium and loaded and executed by a processor.

[0176] To this end, the present application provides a computer-readable storage medium, on which a computer program is stored. The computer program can be loaded by a processor to execute the steps in any one of the buried point testing methods provided in the present application.

[0177] The specific implementation of the above operations can be found in the previous embodiments, which will not be described in detail here.

[0178] The computer-readable storage medium may include: a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

[0179] Since the instructions stored in the computer-readable storage medium can execute the steps in any of the embedded point testing methods provided in the present application, the beneficial effects that can be achieved by any of the embedded point testing methods provided in the present application can be achieved. Please see the previous embodiments for details and will not be repeated here.

[0180] The above is a detailed introduction to a buried point testing method, device, electronic device and computer-readable storage medium provided by the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

[0181] It should be noted that in the specific implementation of the present application, relevant data such as tracking operation scripts, tracking verification rules, measured device information, application scenarios, etc. are involved. When the above embodiments of the present application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

Claims

1. A buried point testing method, characterized in that: Applied to operating equipment, the method comprises: In response to a tracking point test start operation, determining tracking point configuration information, wherein the tracking point configuration information includes a tracking point operation script, a tracking point verification rule, and information of a device under test; Send the embedding point operation script to the device under test corresponding to the device under test information, and receive embedding point log information for the target embedding point returned by the device under test in response to the embedding point operation script; The burying point log information is verified according to the burying point verification rule to obtain the burying point quality information of the target burying point.

2. The buried point testing method according to claim 1, characterized in that: Before determining the tracing configuration information in response to the tracing test start operation, the method further includes: Display the tracking point test configuration interface; In response to the information input operation through the tracking test configuration interface, a tracking operation script, a tracking verification rule and information of the device under test are obtained; The step of determining the tracking configuration information in response to the tracking test start operation includes: In response to a tracking test start operation triggered by the tracking test configuration interface, the tracking operation script, the tracking verification rule and the device under test information are used as tracking configuration information.

3. The buried point testing method according to claim 1, characterized in that: The burying point configuration information also includes burying point test mark information, and the sending of the burying point operation script to the device under test corresponding to the burying point information includes: Sending the embedding operation script and the embedding test mark information to the device under test corresponding to the device under test information; The receiving the tracking log information for the target tracking point returned by the device under test for the tracking operation script includes: Receiving the tracking log information for the target tracking point, which is returned by the device under test in response to the tracking operation script and marked by the tracking test mark information; The verifying the burying point log information according to the burying point verification rule to obtain the burying point quality information of the target burying point includes: According to the embedding point verification rule, the embedding point log information marked with the embedding point test mark information is verified to obtain the embedding point quality information of the target embedding point in the current embedding point test.

4. The buried point testing method according to claim 1, characterized in that: The verifying the burying point log information according to the burying point verification rule to obtain the burying point quality information of the target burying point includes: Determine at least one application scenario corresponding to the target embedding point; Verify the burying point log information according to the burying point verification sub-rule corresponding to each application scenario in the burying point verification rule, obtain the verification sub-result for each application scenario, and obtain the burying point quality information of the target burying point according to each verification sub-result; Alternatively, scene identification information is extracted from the burying point log information, and the target scene is determined from the application scene based on the scene identification information, and the burying point log is verified according to the burying point verification sub-rule corresponding to the target scene in the burying point verification rule to obtain burying point quality information.

5. The buried point testing method according to claim 4, characterized in that: The burying point quality information includes whether the burying point is accurate or incorrect, and obtaining the burying point quality information of the target burying point according to each of the syndrome results includes: If there is at least one syndrome result indicating that the tracking point log information complies with the tracking point syndrome rule, the tracking point accuracy is used as the tracking point quality information; If all the check sub-results indicate that the burial point log information does not comply with the burial point check sub-rule, the burial point error is used as the burial point quality information.

6. A buried point testing method, characterized in that: Applied to a controlled device, the method comprises: Receiving a tracking point operation script sent by an operating device, wherein the tracking point operation script is determined by the operating device in response to a tracking point test start operation; Execute the tracking point operation script to obtain the tracking point log information of the target tracking point; The burying point log information is returned to the operating device, so that the operating device verifies the burying point log information according to the burying point verification rules determined in response to the burying point test start operation, and obtains the burying point quality information of the target burying point.

7. The buried point testing method according to claim 6, characterized in that: Before returning the tracking point log information to the operating device, the method further includes: Receiving the buried point test mark information sent by the operating device; Marking the tracking point log information according to the tracking point test marking information; The returning the tracking point log information to the operating device includes: The embedding point log information marked by the embedding point test mark information is returned to the operating device.

8. A buried point testing device, characterized in that: The device comprises: A response module, configured to determine the tracking configuration information in response to the tracking test start operation, wherein the tracking configuration information includes the tracking operation script, the tracking verification rule and the device under test information; A generating module, used for sending the embedding point operation script to the device under test corresponding to the device under test information, and receiving embedding point log information for the target embedding point returned by the device under test in response to the embedding point operation script; The verification module is used to verify the tracking point log information according to the tracking point verification rules to obtain the tracking point quality information of the target tracking point.

9. An electronic device, characterized in that: It includes a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps in the buried point testing method as described in any one of claims 1 to 5, or implements the steps in the buried point testing method as described in any one of claims 6 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the buried point testing method as described in any one of claims 1-7 are implemented.