Problem positioning method and device, computer equipment and storage medium
By providing a problem positioning method in AB test, users can obtain the control test items through the query page and randomly divide the items to be tested on the test page to locate the problem, solving the problem of low problem detection efficiency in AB test and achieving more efficient problem positioning.
Patent Information
- Application Number
- CN202311775383.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-21
- Publication Date
- 2025-06-27
AI Technical Summary
In AB test, when a problem with the new function is detected, relevant personnel need to check a large number of comparison test items one by one through debugging code, resulting in low efficiency in problem detection.
A problem positioning method is provided. By displaying a query page, the user can query the first control test item of the reproducible problem and the second control test item of the non-reproducible problem, and then randomly divide the items to be tested on the test page, and prompt the user to select the items to be tested that can reproduce the problem and divide it to locate the test exception items.
This method can reduce the number of items to be tested to determine the reproduced problem, reduce the difficulty of problem detection, and improve the work efficiency of problem positioning.
Smart Images

Figure CN120216331A_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of data processing, and particularly to a problem location method, apparatus, computer device, and storage medium. Background Art
[0002] AB testing (ABtest) is an experimental design method used to compare the effects of different variants or solutions on a certain target metric. AB testing can be applied to application scenarios where, when a new function of an application software (Application, App) is launched, a benefit analysis of the new function is required.
[0003] In the related art, when it is detected that there is a problem with a new function (for example: a running defect (bug)), in order to obtain test exception items that can reproduce the problem, relevant personnel need to conduct troubleshooting by debugging the code. However, when AB testing involves a large number of control test items, it will seriously affect the work efficiency of problem troubleshooting. Summary of the Invention
[0004] In view of this, the present disclosure provides a problem location method, apparatus, computer device, and storage medium to solve the problem of low work efficiency of relevant personnel in problem troubleshooting.
[0005] In a first aspect, the present disclosure provides a problem location method, the method comprising:
[0006] Display a query page, the query page including a first data query control and a second data query control, the first data query control being used to query the first control test items that can reproduce the problem, and the second data query control being used to query the second control test items that cannot reproduce the problem;
[0007] Based on interaction operations with the first data query control and the second data query control, obtain the test items to be tested, the test items to be tested including the first control test items and the second control test items;
[0008] Display the first test items to be tested and the second test items to be tested obtained by randomly dividing the test items to be tested in the data area of the test page, and display a prompt message in the information area of the test page, the prompt message being used to prompt to select the test items to be tested that can reproduce the problem for division, so as to locate the test exception items among the test items to be tested, and the test items to be tested that can reproduce the problem are the first test items to be tested or the second test items to be tested.
[0009] In a second aspect, the present disclosure provides a problem location apparatus, the apparatus comprising:
[0010] The first display module is used to display a query page, which includes a first data query control and a second data query control. The first data query control is used to query the first control test items for reproducible problems, and the second data query control is used to query the second control test items for non-reproducible problems;
[0011] The acquisition module is used to obtain the test items to be tested based on the interaction operations with the first data query control and the second data query control. The test items to be tested include the first control test items and the second control test items;
[0012] The second display module is used to display the first test item to be tested and the second test item to be tested obtained by randomly dividing the test items to be tested in the data area of the test page, and display a prompt message in the information area of the test page. The prompt message is used to prompt to select the test item to be tested that can reproduce the problem for division, so as to locate the test anomaly item among the test items to be tested. The test item to be tested that can reproduce the problem is the first test item to be tested or the second test item to be tested.
[0013] In a third aspect, the present disclosure provides a computer device, including: a memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the problem location method according to the first aspect or any corresponding embodiment thereof.
[0014] In a fourth aspect, the present disclosure provides a computer-readable storage medium, on which computer instructions are stored. The computer instructions are used to cause a computer to execute the problem location method according to the first aspect or any corresponding embodiment thereof.
[0015] For the problem location method provided by the present disclosure, after the user determines the first control test items for reproducible problems and the second control test items for non-reproducible problems, the query page displayed can be used to query the test items to be tested that can be used for problem troubleshooting. Moreover, during the process of problem troubleshooting, the first test item to be tested or the second test item to be tested provided by the test page is used for problem troubleshooting, which can reduce the number of test items to be tested for determining the reproducible problem. Furthermore, when performing problem location, the difficulty of problem troubleshooting can be reduced, thereby effectively improving the work efficiency of problem location. Description of the Drawings
[0016] In order to more clearly illustrate the specific embodiments of the present disclosure or the technical solutions in the prior art, the following will briefly introduce the drawings required for the description of the specific embodiments or the prior art. Obviously, the following drawings are some embodiments of the present disclosure. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative efforts.
[0017] Figure 1It is a schematic flowchart of a problem localization method according to an embodiment of the present disclosure;
[0018] Figure 2 It is a schematic interface diagram of a query page according to an embodiment of the present disclosure;
[0019] Figure 3 It is a schematic interface diagram of a test page according to an embodiment of the present disclosure;
[0020] Figure 4 It is a schematic interface diagram of another test page according to an embodiment of the present disclosure;
[0021] Figure 5 It is a schematic interface diagram of yet another test page according to an embodiment of the present disclosure;
[0022] Figure 6 It is a schematic flowchart of another problem localization method according to an embodiment of the present disclosure;
[0023] Figure 7 It is a schematic flowchart of yet another problem localization method according to an embodiment of the present disclosure;
[0024] Figure 8 It is a structural block diagram of a problem localization device according to an embodiment of the present disclosure;
[0025] Figure 9 It is a schematic hardware structure diagram of a computer device according to an embodiment of the present disclosure. Detailed implementation manners
[0026] To make the objectives, technical solutions, and advantages of the embodiments of the present disclosure clearer, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present disclosure. Apparently, the described embodiments are some but not all of the embodiments of the present disclosure. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present disclosure without creative efforts shall fall within the protection scope of the present disclosure.
[0027] In the related art, when a problem is detected in a new function, it is necessary to debug the code and debug and detect each control test item in the A / B test item by item to determine the test abnormal item that can cause the problem to reappear. However, when the number of control test items involved in the A / B test is large, it will lead to a long troubleshooting period, seriously affecting the work efficiency of problem troubleshooting.
[0028] In view of this, the present disclosure provides a problem localization method, including: displaying a query page to guide a user to input a first control test item that can reproduce the problem into a first data control, and input a second control test item that cannot reproduce the problem into a second data control, and then based on interaction operations with the first data query control and the second query control, obtaining a test item to be tested that can be used for problem troubleshooting. Among them, the test item to be tested includes the first control test item and the second control test item. To improve the work efficiency of the user, the first test item to be tested and the second test item obtained by randomly dividing the test item to be tested are displayed in the data area of the test page, and a prompt message is displayed in the information area of the test page to prompt the user to select the test item to be tested that can reproduce the problem for division, so as to locate the test anomaly item among the test items to be tested. The test item to be tested that can reproduce the problem is the first test item to be tested or the second test item to be tested, thereby facilitating the user to perform targeted testing for problem localization, reducing the difficulty of problem troubleshooting, and improving the work efficiency of problem localization.
[0029] According to an embodiment of the present disclosure, an embodiment of a problem localization method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in a different order than here.
[0030] In this embodiment, a problem localization method is provided, which can be used in the above-mentioned computer devices, such as computers, mobile phones, tablets, etc. Figure 1 is a flowchart of the problem localization method according to an embodiment of the present disclosure, as Figure 1 shown, the process includes the following steps:
[0031] Step S101, display a query page.
[0032] Among them, as Figure 2 shown, the query page includes a first data query control and a second data query control. The first data query control is used to query the first control test item that can reproduce the problem. The second data query control is used to query the second control test item that cannot reproduce the problem.
[0033] A problem that can be reproduced refers to a problem that can be reproduced under specific conditions. By obtaining the first control test item, it is helpful to reproduce and analyze the problem during problem troubleshooting, and then facilitate a deeper understanding of the cause and impact of the problem.
[0034] A problem that cannot be reproduced refers to a problem that cannot be continuously reproduced under specific conditions, and more detailed analysis and debugging are required to find the root cause of the problem. By obtaining the second control test item, it is helpful to determine the scope of influence and possible causes of the problem during problem troubleshooting.
[0035] Therefore, to facilitate better problem troubleshooting and problem reproduction, the first data query control and the second data query control are used to guide the user to make targeted inputs, so as to improve the efficiency and accuracy of problem location.
[0036] Step S102: Obtain the item to be tested based on the interaction operations with the first data query control and the second data query control.
[0037] Among them, after the user inputs the first control test item through the first data query control and the second control test item through the second data query control, based on the interaction operations with the first data query control and the second data query control, the first control test item and the second control test item are called from the preset test library, and then the item to be tested is obtained. The item to be tested includes the first control test item and the second control test item.
[0038] In some optional implementation scenarios, each test identifier is usually stored in a JSON (JavaScript Object Notation) dictionary together with the corresponding experimental conditions and related data. This JSON dictionary contains a series of key-value pairs (Key-Value) of different control test items (AB items). The Key is the test identifier of the corresponding control test item, and the Value is the issued value. To facilitate the acquisition of control test items, a unique control test identifier (ABID) is configured for each JSON dictionary, so that relevant control test items can be quickly called through the control test identifier. Therefore, to facilitate the user to quickly query the first control test item and the second control test item, the first data query control and the second data query control are configured to support the input of the control test identifier (ABID). When the user needs to query the first control test item and the second control test item, the ABID corresponding to the first control test item can be input into the first data query control, and the ABID corresponding to the second control test item can be input into the second data query control, which helps to accelerate the acquisition rate of the item to be tested.
[0039] In some other optional implementation scenarios, the query page also includes a search confirmation control. When the search confirmation control is touched, it can be determined that both the first control test item and the second control test item have been input, thereby ensuring the acquisition effectiveness of the first control test item and the second control test item.
[0040] Step S103: Display the first item to be tested and the second item to be tested obtained by randomly dividing the item to be tested in the data area of the test page, and display a prompt message in the information area of the test page.
[0041] Among them, the prompt information is used to prompt the selection of test items to be tested that can reproduce the problem for classification, so as to locate the test abnormal items among the test items to be tested. The test items to be tested that can reproduce the problem are the first test items to be tested or the second test items to be tested.
[0042] As Figure 3 shown, in order to facilitate the user to intuitively and quickly view the test items to be tested that need to be compared and tested currently, the first test items to be tested and the second test items to be tested are displayed through the data area of the test page, so as to combine the current prompt information for the user to make targeted selections, thereby accelerating the problem troubleshooting efficiency.
[0043] For the problem location method provided in this embodiment, after the user determines the first comparison test item that can reproduce the problem and the second comparison test item that cannot reproduce the problem, the test items to be tested that can be used to troubleshoot the problem can be queried using the displayed query page. Moreover, during the problem troubleshooting process, using the first test item to be tested or the second test item to be tested provided by the test page to troubleshoot the problem can reduce the number of test items to be tested for determining the reproduced problem. Furthermore, when performing problem location, the difficulty of problem troubleshooting can be simplified, thereby effectively improving the work efficiency of problem location.
[0044] In some optional implementation manners, the test items to be tested that can reproduce the problem are determined based on the test results of separately reproducing the problem for the first test item to be tested or the second test item to be tested. Furthermore, the effectiveness of the test items to be tested can be ensured. Moreover, when performing problem location subsequently, the accuracy of problem location can be ensured. That is, if the first test item to be tested can reproduce the problem after the comparison test, the first test item to be tested is used as the test item to be tested that can reproduce the problem. If the second test item to be tested can reproduce the problem after the comparison test, the second test item to be tested is used as the test item to be tested that can reproduce the problem.
[0045] In some optional implementation scenarios, the user can be guided by the prompt information to select the first test item to be tested or the second test item to be tested for the comparison test to determine whether the problem can be reproduced. For example: the content of the prompt information can be "Please select the test item to be tested that can reproduce the problem to continue the classification". If the test result of the current test item to be tested is that the problem can be reproduced, the current test item to be tested is used as the test item to be tested that can locate the test abnormal item. If the test result of the current test item to be tested is that the problem cannot be reproduced and the test result of the other test item to be tested is that the problem can be reproduced, the other test item to be tested is used as the test item to be tested that can locate the test abnormal item.
[0046] In some optional implementation manners, such as Figure 4As shown in the figure, the control area of the test page further includes a first selection control corresponding to the first item to be tested and a second selection control corresponding to the second item to be tested, so that the user can make targeted selections based on the first selection control and the second selection control provided in the control area. For example, if the user determines that the first item to be tested can reproduce the problem, the user interacts with the first selection control, and then divides the first item to be tested subsequently. If the user determines that the second item to be tested can reproduce the problem, the user interacts with the second selection control, and then divides the second item to be tested subsequently.
[0047] In some alternative embodiments, the first item to be tested and the second item to be tested obtained by randomly dividing the items to be tested are displayed in the data area of the test page, including: in the data area of the test page, a details list of the items to be tested is displayed; if the first selection control is selected, in the details list, the first item to be tested is marked with a first identifier and the second item to be tested is marked with a second identifier; if the second selection control is selected, in the details list, the second item to be tested is marked with a first identifier and the first item to be tested is marked with a second identifier.
[0048] By displaying the details list of the items to be tested in the data area of the test page, it helps the user to more intuitively view all the items to be tested that can be used for problem location currently. And, to facilitate the user to more intuitively understand the results after the items to be tested are randomly divided and clarify the item to be tested corresponding to the currently selected selection control, each item to be tested is respectively marked and distinguished with a first identifier or a second identifier, so that the user can make targeted selections according to the marking results. Among them, the first identifier is an identifier used to represent to be used, and the second identifier is an identifier used to represent not to be used. In some alternative implementation scenarios, the marking results can be as Figure 5 shown.
[0049] In some examples, the first identifier and the second identifier can be distinguished by using text, color or icon. For example: if the first identifier and the second identifier are distinguished by text, "to be used" is used to represent the first identifier, and "not to be used" is used to represent the second identifier. Or "in use" is used to represent the first identifier, and "not use" is used to represent the second identifier. If the first identifier and the second identifier are distinguished by color, "green" is used to represent the first identifier, and "red" is used to represent the second identifier. If the first identifier and the second identifier are distinguished by icon, "√" is used to represent the first identifier, and "×" is used to represent the second identifier. The specific distinguishing method can be set by oneself and is not limited here.
[0050] In this embodiment, a problem location method is provided, which can be used for the above computer devices, such as computers, mobile phones, tablet computers, etc., Figure 6 is a flowchart of the problem location method according to an embodiment of the present disclosure, asFigure 6 As shown, the process includes the following steps:
[0051] Step S601, display a query page. For details, please refer to Figure 1 Step S101 of the embodiment shown, which will not be elaborated here.
[0052] Step S602, obtain the item to be tested based on the interaction operations with the first data query control and the second data query control. For details, please refer to Figure 1 Step S102 of the embodiment shown, which will not be elaborated here.
[0053] Step S603, display the first item to be tested and the second item to be tested obtained by randomly dividing the item to be tested in the data area of the test page, and display a prompt message in the information area of the test page. For details, please refer to Figure 1 Step S103 of the embodiment shown, which will not be elaborated here.
[0054] Step S604, determine the test quantity of the item to be tested that can reproduce the problem.
[0055] Among them, to improve the problem location efficiency, determine the test quantity of the item to be tested that can reproduce the problem, so as to determine whether the test abnormal item can be directly located according to the quantity of the item to be tested that can reproduce the problem.
[0056] Step S605, if the test quantity is equal to 1, generate a result prompt message to prompt that the item to be tested that can reproduce the problem is a test abnormal item, and display the result prompt message in the information area.
[0057] Among them, if the test quantity is equal to 1, it means that there is only 1 item to be tested that can reproduce the problem. Therefore, the item to be tested that can reproduce the problem can be directly used as the test abnormal item, and then generate a result prompt message for prompting that the item to be tested that can reproduce the problem is an abnormal test item.
[0058] Display the result prompt message in the information area of the test page, so that the user can intuitively and quickly confirm the abnormal test item, thereby shortening the problem troubleshooting process and effectively improving the problem location efficiency.
[0059] Step S606, if the test quantity is greater than 1, use the item to be tested that can reproduce the problem as the new item to be tested.
[0060] Among them, if the test quantity is greater than 1, it means that the abnormal test item cannot be directly located currently. Therefore, to improve the problem location efficiency, it is necessary to further divide the item to be tested that can reproduce the problem to narrow the range of control test items for locating the test abnormal item.
[0061] Step S607: Randomly divide the test items that can reproduce the problem to obtain new first test items and new second test items, so as to update the display content in the data area.
[0062] Among them, since the test items that can currently reproduce the problem cannot be directly located, in order to improve the efficiency of problem troubleshooting, the test items that can currently reproduce the problem are randomly divided to locate the problem by continuously reducing the number of tests, so as to achieve the purpose of improving the troubleshooting efficiency.
[0063] The problem location method provided in this embodiment can adopt different strategies for problem location based on the number of tests of the test items, making the problem location method more flexible and effectively improving the problem troubleshooting efficiency.
[0064] In some optional embodiments, the method for randomly dividing the test items to obtain the first test items and the second test items includes:
[0065] Step a1: Compare the content of the control test items between the first control test item and the second control test item to obtain the test identical items and the test different items.
[0066] Among them, to determine the content differences between the first control test item and the second control test item, the content of the control test items of the first control test item is compared with the content of the control test items of the second control test item, so that through the obtained test identical items and test different items, the common characteristics, differences and possible impacts between these two pairs of test items can be comprehensively understood.
[0067] Step a2: Randomly dichotomize the test different items to obtain the first test different items and the second test different items.
[0068] Among them, since the control test items that can reproduce the problem exist in the test different items, in order to balance the samples and reduce other possible interference factors, the test different items are randomly dichotomized into the first test different items and the second test different items, so as to improve the screening efficiency of determining the test abnormal items.
[0069] Step a3: Combine the test identical items with the first test different items to obtain the first item to be tested.
[0070] Among them, combining the test identical items and the first test different items can ensure the reliability of the obtained first item to be tested.
[0071] Step a4: Combine the test identical items with the second test different items to obtain the second item to be tested.
[0072] Among them, combining the test same items and the second test same-and-different items can ensure the reliability of the obtained second item to be tested.
[0073] By randomly dividing the items to be tested in the above manner, the obtained first item to be tested and second item to be tested can be more evenly divided, and the difference comparison can be more accurate, which helps to improve the reliability of problem location.
[0074] In some alternative embodiments, the information area of the test page is also used to display test exception information, which is used to prompt that when neither the first item to be tested nor the second item to be tested can reproduce the problem, the number of test exception items is not unique. Since in the actual application process, the test exception items that cause the problem may not be unique, when the user cannot reproduce the problem by using the first item to be tested and the second item to be tested for comparison testing, the displayed test exception information can be used to guide the user to change the test strategy to achieve the purpose of assisting the user in efficiently troubleshooting problems.
[0075] As an application embodiment of the present disclosure, to ensure that the problem location method provided by the present disclosure can meet the user's timely use requirements, targeted development is carried out according to the problem location logic of the problem location method, and then a tool that can be used to execute the problem location method is obtained, so that when the user needs to perform problem location, the tool can be called for troubleshooting, thereby achieving the purpose of improving the work efficiency of problem location. Preferably, the tool can be a web tool, and when using the characteristics of the web tool for problem location, it can be more flexible, efficient, and convenient.
[0076] As another application embodiment of the present disclosure, as Figure 7 shown, when using the above tool to assist the user in problem location, the following steps may be included:
[0077] Step S701: Obtain the item to be tested based on the interaction operations with the first data query control and the second data query control on the query page.
[0078] Step S702: Compare the content of the control test items between the first control test item and the second control test item to obtain the test same items and the test same-and-different items.
[0079] Step S703: Perform binary processing on the test same-and-different items to obtain the first test same-and-different item and the second test same-and-different item.
[0080] Step S704: Combine the first test same-and-different item and the second test same-and-different item with the test same items respectively to obtain the first item to be tested and the second item to be tested.
[0081] Step S705: Determine the item to be tested that can reproduce the problem from the first item to be tested and the second item to be tested.
[0082] Step S706: Determine whether the number of test items to be tested that can reproduce the problem is equal to 1.
[0083] Step S707: If the number of tests is equal to 1, generate a result prompt message and display it in the display information area.
[0084] Step S708: If the number of tests is greater than 1, use the test item to be tested that can reproduce the problem as the new test item to be tested.
[0085] Step S709: Perform a random binary split on the test item to be tested that can reproduce the problem to re-determine the first test item to be tested and the second test item to be tested.
[0086] By using the above method for problem location, it is possible to assist the user in troubleshooting problems through page interaction and get rid of code debugging. Moreover, by using the random binary split method to determine the test item to be tested that can reproduce the problem, the problem troubleshooting cycle can be effectively shortened, so that the method of determining the test abnormal item is more efficient and convenient, and the work efficiency of problem location can be greatly improved.
[0087] In this embodiment, a problem location device is also provided. This device is used to implement the above embodiments and preferred implementation manners, and those that have been described will not be repeated. As used below, the term "module" can be a combination of software and / or hardware that can achieve a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware is also possible and contemplated.
[0088] This embodiment provides a problem location device, as Figure 8 shown, including:
[0089] The first display module 801 is used to display a query page. The query page includes a first data query control and a second data query control. The first data query control is used to query the first control test item that can reproduce the problem, and the second data query control is used to query the second control test item that cannot reproduce the problem;
[0090] The acquisition module 802 is used to obtain the test item to be tested based on the interaction operations with the first data query control and the second data query control. The test item to be tested includes the first control test item and the second control test item;
[0091] The second display module 803 is used to display the first test item to be tested and the second test item to be tested obtained by randomly dividing the test item to be tested in the data area of the test page, and display a prompt message in the information area of the test page. The prompt message is used to prompt to select the test item to be tested that can reproduce the problem for division to locate the test abnormal item in the test item to be tested. The test item to be tested that can reproduce the problem is the first test item to be tested or the second test item to be tested.
[0092] In some alternative embodiments, the test item capable of reproducing the problem is determined based on the test results of reproducing the problem for the first test item or the second test item respectively.
[0093] In some alternative embodiments, the control area of the test page further includes a first selection control corresponding to the first test item and a second selection control corresponding to the second test item.
[0094] In some alternative embodiments, the first test item and the second test item obtained by randomly dividing the test items are displayed in the data area of the test page, including:
[0095] In the data area of the test page, a details list of the test items is displayed;
[0096] If the first selection control is selected, in the details list, the first test item is marked with a first identifier, and the second test item is marked with a second identifier. The first identifier is used to represent the identifier to be used, and the second identifier is used to represent the identifier not to be used;
[0097] If the second selection control is selected, in the details list, the second test item is marked with a first identifier, and the first test item is marked with a second identifier.
[0098] In some alternative embodiments, the apparatus further includes:
[0099] A determination module, configured to determine the test quantity of the test item capable of reproducing the problem;
[0100] A first processing module, configured to, if the test quantity is equal to 1, generate a result prompt message to prompt that the test item capable of reproducing the problem is a test abnormal item, and display the result prompt message in the information area;
[0101] A second processing module, configured to, if the test quantity is greater than 1, use the test item capable of reproducing the problem as a new test item;
[0102] A third processing module, configured to perform a random division process on the test item capable of reproducing the problem to obtain a new first test item and a new second test item, so as to update the display content of the data area.
[0103] In some alternative embodiments, the apparatus for randomly dividing the test items to obtain the first test item and the second test item includes:
[0104] A comparison module, configured to compare the control test item contents between a first control test item and a second control test item to obtain test identical items and test different items;
[0105] The first execution module is configured to perform random binary processing on the test similarities and differences to obtain a first test similarities and differences item and a second test similarities and differences item;
[0106] The second execution module is configured to merge the first test same items with the first test similarities and differences item to obtain a first item to be tested;
[0107] The third execution module is configured to merge the second test same items with the second test similarities and differences item to obtain a second item to be tested.
[0108] In some alternative embodiments, the information area of the test page is further configured to display test exception information, and the test exception information is used to prompt that when neither the first item to be tested nor the second item to be tested can reproduce the problem, the number of test exception items is not unique.
[0109] The further function descriptions of the above-mentioned various modules and units are the same as those in the corresponding foregoing embodiments, and will not be elaborated herein.
[0110] The problem location device in this embodiment is presented in the form of functional units. Here, the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and a memory that execute one or more software or fixed programs, and / or other devices that can provide the above functions.
[0111] This disclosure embodiment also provides a computer device having the above-mentioned Figure 8 problem location device.
[0112] Please refer to Figure 9 , Figure 9 which is a schematic structural diagram of a computer device provided by an alternative embodiment of this disclosure. As shown in Figure 9 , the computer device includes: one or more processors 10, a memory 20, and an interface for connecting each component, including a high-speed interface and a low-speed interface. Each component communicates with each other using different buses and can be installed on a common motherboard or installed in other ways as needed. The processor can process instructions executed within the computer device, including instructions stored in the memory or on the memory to display graphical information of the GUI on an external input / output device (such as a display device coupled to the interface). In some alternative embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (such as an array of servers, a set of blade servers, or a multi-processor system). Figure 9 Taking one processor 10 as an example in
[0113] The processor 10 may be a central processing unit, a network processor, or a combination thereof. Among them, the processor 10 may further include a hardware chip. The above-mentioned hardware chip may be an application specific integrated circuit, a programmable logic device, or a combination thereof. The above-mentioned programmable logic device may be a complex programmable logic device, a field programmable gate array, a generic array logic, or any combination thereof.
[0114] Among them, the memory 20 stores instructions executable by at least one processor 10, so that at least one processor 10 executes the method shown in the above embodiments.
[0115] The memory 20 may include a program storage area and a data storage area. Among them, the program storage area may store an operating system and application programs required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one magnetic disk storage device, a flash memory device, or other non-transitory solid-state storage devices. In some alternative embodiments, the memory 20 may optionally include a memory remotely provided with respect to the processor 10, and these remote memories may be connected to the computer device through a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.
[0116] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk, or a solid-state drive; the memory 20 may also include a combination of the above types of memories.
[0117] The computer device further includes an input device 30 and an output device 40. The processor 10, the memory 20, the input device 30, and the output device 40 may be connected through a bus or other means. Figure 9 Taking connection through a bus as an example.
[0118] The input device 30 can receive input digital or character information, and generate key signal inputs related to the user settings and function control of the computer device, such as a touch screen, a keypad, a mouse, a trackpad, a touchpad, a pointing stick, one or more mouse buttons, a trackball, a joystick, etc. The output device 40 may include a display device, an auxiliary lighting device (for example, an LED), and a tactile feedback device (for example, a vibration motor), etc. The above-mentioned display device includes but is not limited to a liquid crystal display, a light emitting diode, a display, and a plasma display. In some alternative embodiments, the display device may be a touch screen.
[0119] Embodiments of the present disclosure also provide a computer-readable storage medium. The methods according to the embodiments of the present disclosure can be implemented in hardware, firmware, or be implemented as computer code that can be recorded on a storage medium, or be implemented as computer code that is originally stored in a remote storage medium or a non-transitory machine-readable storage medium and downloaded through a network and will be stored in a local storage medium, so that the methods described herein can be processed by such software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. Among them, the storage medium can be a magnetic disk, an optical disk, a read-only memory, a random access memory, a flash memory, a hard disk, or a solid-state drive, etc.; further, the storage medium can also include a combination of the above types of memories. It can be understood that a computer, a processor, a microprocessor controller, or programmable hardware includes a storage component that can store or receive software or computer code. When the software or computer code is accessed and executed by the computer, the processor, or the hardware, the methods shown in the above embodiments are implemented.
[0120] It can be understood that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, usage scopes, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.
[0121] For example, when a user's active request is received, a prompt message is sent to the user to clearly prompt the user that the operation requested to be executed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, an application program, a server, or a storage medium that executes the operations of the technical solutions of the present disclosure according to the prompt message.
[0122] As an optional but non-limiting implementation manner, the way of sending a prompt message to the user in response to receiving the user's active request can be, for example, in the form of a pop-up window. The prompt message can be presented in text in the pop-up window. In addition, the pop-up window can also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.
[0123] It can be understood that the above process of notifying and obtaining the user's authorization is only illustrative and does not limit the implementation manner of the present disclosure. Other ways that meet relevant laws and regulations can also be applied to the implementation manner of the present disclosure.
[0124] Although the embodiments of the present disclosure have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of the present disclosure, and such modifications and variations all fall within the scope defined by the appended claims.
Claims
1. A problem location method, characterized in that The method includes: Displaying a query page, the query page including a first data query control and a second data query control, where the first data query control is used to query the first control test items of reproducible problems, and the second data query control is used to query the second control test items of non-reproducible problems; Based on the interaction operations with the first data query control and the second data query control, obtaining the to-be-tested items, where the to-be-tested items include the first control test items and the second control test items; Displaying the first to-be-tested item and the second to-be-tested item obtained by randomly dividing the to-be-tested items in the data area of the test page, and displaying a prompt message in the information area of the test page, where the prompt message is used to prompt to select the to-be-tested item that can reproduce the problem for division, so as to locate the test abnormal item among the to-be-tested items, and the to-be-tested item that can reproduce the problem is the first to-be-tested item or the second to-be-tested item.
2. The method according to claim 1, wherein The to-be-tested item that can reproduce the problem is determined based on the test results of reproducing the problem for the first to-be-tested item or the second to-be-tested item respectively.
3. The method according to claim 1, characterized in that, The control area of the test page further includes a first selection control corresponding to the first to-be-tested item and a second selection control corresponding to the second to-be-tested item.
4. The method according to claim 3, wherein The displaying the first to-be-tested item and the second to-be-tested item obtained by randomly dividing the to-be-tested items in the data area of the test page includes: In the data area of the test page, displaying the detail list of the to-be-tested items; If the first selection control is selected, then in the detail list, marking the first to-be-tested item with a first identifier and marking the second to-be-tested item with a second identifier, where the first identifier is an identifier used to represent to be used, and the second identifier is an identifier used to represent not to be used; If the second selection control is selected, then in the detail list, marking the second to-be-tested item with a first identifier and marking the first to-be-tested item with a second identifier.
5. The method according to claim 1, wherein The method further includes: Determining the test quantity of the to-be-tested item that can reproduce the problem; If the test quantity is equal to 1, then generating a result prompt message to prompt that the to-be-tested item that can reproduce the problem is a test abnormal item, and displaying the result prompt message in the information area; If the test quantity is greater than 1, then taking the to-be-tested item that can reproduce the problem as a new to-be-tested item; Performing a random division process on the to-be-tested item that can reproduce the problem to obtain a new first to-be-tested item and a new second to-be-tested item, so as to update the display content of the data area.
6. The method according to claim 1 or 5, characterized in that The method for randomly dividing the to-be-tested items to obtain the first to-be-tested item and the second to-be-tested item includes: Comparing the control test item contents between the first control test item and the second control test item to obtain test same items and test different items; Performing a random binary division on the test different items to obtain a first test different item and a second test different item; Combining the test same items with the first test different item to obtain the first to-be-tested item; Combining the test same items with the second test different item to obtain the second to-be-tested item.
7. The method according to claim 1, wherein The information area of the test page is further used to display test exception information, which is used to prompt that when neither the first item to be tested nor the second item to be tested can reproduce the problem, the number of test exception items is not unique.
8. A problem location device, characterized in that, The device includes: A first display module, configured to display a query page, where the query page includes a first data query control and a second data query control. The first data query control is used to query the first control test item that can reproduce the problem, and the second data query control is used to query the second control test item that cannot reproduce the problem; An acquisition module, configured to obtain the items to be tested based on interaction operations with the first data query control and the second data query control. The items to be tested include the first control test item and the second control test item; A second display module, configured to display the first item to be tested and the second item to be tested randomly divided from the items to be tested in the data area of the test page, and display a prompt message in the information area of the test page. The prompt message is used to prompt to select the item to be tested that can reproduce the problem for division, so as to locate the test exception item among the items to be tested. The item to be tested that can reproduce the problem is the first item to be tested or the second item to be tested.
9. A computer device, characterized in that, including: A memory and a processor, which are communicatively connected to each other. The memory stores computer instructions, and the processor executes the computer instructions to execute the problem location method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that, Computer instructions are stored on the computer-readable storage medium, and the computer instructions are used to cause the computer to execute the problem location method according to any one of claims 1 to 7.