Touch test data processing method and device, equipment and storage medium
By filtering and processing touch test data sets and extracting effective data, the problem of inaccurate data extraction in the existing technology is solved, and the execution efficiency of touch panels and the user experience of home appliances is improved.
Patent Information
- Application Number
- CN202310984298.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-07
- Publication Date
- 2025-02-14
AI Technical Summary
The prior art is difficult to extract effective data accurately and efficiently from a large number of touch test data, which affects the execution efficiency of touch panels and the normal use of home appliances.
By obtaining the touch test data set, determine the press-sensing test data of the touch panel, obtain the level signal, and extract the valid data set based on the status information. The method includes filtering valid test data, retaining data whose judgment factor is larger than the preset factor, and further processing the data set according to the weight or sorting factor.
It realizes the accurate and efficient extraction of effective data from a large amount of touch test data, improves the execution efficiency of the touch panel, ensures the efficient use of home appliances, and thus improves the user's interactive experience.
Smart Images

Figure CN119438739A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of data processing technology, and specifically relates to a method, device, equipment and storage medium for processing touch test data. Background Art
[0002] With the advancement of technology, touch panels have been widely used in various home appliances. In practical applications, the key value data of the touch panel is very important for the device. When the user operates on the touch panel, the touch panel will sense the touch position and touch force of the user's finger and convert it into corresponding key value data. These key value data will then be transmitted to the operating system or application of the electronic device to realize various functions.
[0003] However, as the functions of home appliances become more and more complex, the number of functions displayed on the touch panel area of home appliances is also increasing. Therefore, when the functions of the touch button area become more and more complex, it may affect the response rate of the touch button and the normal use of the home appliance. The existing solution is to let the tester test the control panel in advance under different experimental environments, panel conditions and jitter logic, and let the tester extract and classify the collected test data through the value extraction tool. However, due to the large amount of collected test data, it not only increases the difficulty of the tester's work, but also may lead to inaccurate test data extraction.
[0004] Therefore, how to accurately and efficiently extract valid data from a large amount of touch test data and improve the execution efficiency of the touch panel, thereby ensuring the efficient use of home appliances and improving the user's interactive experience, is a problem that needs to be solved at present. Summary of the invention
[0005] The present application provides a touch test data processing method, device, equipment and storage medium for accurately and efficiently extracting effective test data from a large amount of test data, and improving the execution efficiency of the touch panel, thereby ensuring the efficient use of home appliances.
[0006] In a first aspect, the present application provides a method for processing touch test data, comprising:
[0007] Acquire a touch test data set, where the touch test data set is obtained based on a touch operation of a tester on a touch panel;
[0008] Determine a first touch test data set according to the touch test data set, wherein first test data in the first touch test data set is test data for triggering pressure sensing of the touch panel;
[0009] Acquire a level signal of each first test data in the first touch test data set, and determine state information of each first test data according to the level signal;
[0010] According to the status information of each first test data, a valid data set is extracted from the first touch test data set.
[0011] Optionally, determining a first touch test data set according to the touch test data set includes:
[0012] Determine the actual key value of each test data according to the touch test data set;
[0013] Determine a determination factor corresponding to each test data according to an actual key value of each test data and an initial key value corresponding to the touch panel;
[0014] Determining whether the determination factor is greater than a preset factor;
[0015] If yes, retain the test data corresponding to the first determination factor, and obtain a second touch test data set based on the retained test data;
[0016] If not, deleting the test data corresponding to the first determination factor;
[0017] A first touch test data set is determined according to the second touch test data set and preset parameters, wherein the second touch test data set includes the first touch test data set.
[0018] Optionally, if the preset parameter is a weight factor, determining the first touch test data set according to the second touch test data set and the preset parameter includes:
[0019] Determine second target test data according to the second touch test data set, where the second target test data is second test data in the second touch test data set whose actual key value is greater than the actual key value of other second test data;
[0020] The first touch test data set is determined according to the second touch test data set, the second target test data and the weight factor.
[0021] Optionally, determining the first touch test data set according to the second touch test data set, the second target test data and the weight factor includes:
[0022] Determining a preset key value according to the weight factor and the actual key value of the second target test data;
[0023] Determine whether the actual key value of each second test data in the second touch test data set is greater than the preset key value;
[0024] If yes, the second test data is retained, and the first touch test data set is obtained according to the retained second test data.
[0025] Optionally, if the preset parameter is a sorting factor, determining the first touch test data set according to the second touch test data set and the preset parameter includes:
[0026] According to the actual key value of each second test data in the second touch test data set, the second test data are arranged to obtain a new second touch test data set;
[0027] The first touch test data set is determined according to the new second touch test data set and the sorting factor.
[0028] Optionally, determining the first touch test data set according to the new second touch test data set and the sorting factor includes:
[0029] Determining a preset number according to the sorting factor and the number of second test data in the second touch test data set;
[0030] A preset number of second test data with a top ranking in the new second touch test data set is retained, and the first touch test data set is obtained according to the retained preset number of second test data.
[0031] Optionally, the level signal includes: a first level signal and a second level signal, and determining the state information of each first test data according to the level signal includes:
[0032] If the level signal is a first level signal, determining that the state information of the first test data corresponding to the level signal is a valid state;
[0033] If the level signal is a second level signal, determining that the state information of the first test data corresponding to the level signal is an invalid state;
[0034] The step of extracting a valid data set from the first touch test data set according to the state information of each first test data includes:
[0035] The first test data whose state information is a valid state is extracted from the first touch test data set, and the valid data set is generated according to the extracted first test data.
[0036] In a second aspect, the present application provides a touch test data processing device, comprising:
[0037] An acquisition module, used to acquire a touch test data set, wherein the touch test data set is obtained according to a touch operation of a tester on the touch panel;
[0038] a determination module, configured to determine a first touch test data set according to the touch test data set, wherein first test data in the first touch test data set is test data for triggering pressure sensing of the touch panel;
[0039] The acquisition module is further used to acquire a level signal of each first test data in the first touch test data set;
[0040] The determination module is further used to determine the status information of each first test data according to the level signal;
[0041] The extraction module is used to extract a valid data set from the first touch test data set according to the state information of each first test data.
[0042] Optionally, the determination module is further used to determine the actual key value of each test data according to the touch test data set;
[0043] The determination module is further used to determine the determination factor corresponding to each test data according to the actual key value of each test data and the initial key value corresponding to the touch panel;
[0044] The device further comprises: a judgment module;
[0045] The judging module is used to judge whether the judging factor is greater than a preset factor;
[0046] The device further comprises: a processing module;
[0047] The processing module is used for retaining the test data corresponding to the first determination factor when the determination factor is greater than a preset factor, and obtaining a second touch test data set according to the retained test data;
[0048] The processing module is further configured to delete the test data corresponding to the first determination factor when the determination factor is not greater than a preset factor;
[0049] The determining module is specifically configured to determine a first touch test data set according to the second touch test data set and preset parameters, wherein the second touch test data set includes the first touch test data set.
[0050] Optionally, the determination module is further used to determine second target test data according to the second touch test data set, where the second target test data is second test data in the second touch test data set, whose actual key value is greater than the actual key value of other second test data;
[0051] The determination module is specifically configured to determine the first touch test data set according to the second touch test data set, the second target test data and the weight factor.
[0052] Optionally, the determination module is further used to determine a preset key value according to the weight factor and an actual key value of the second target test data;
[0053] The judging module is further configured to judge whether the actual key value of each second test data in the second touch test data set is greater than the preset key value;
[0054] The processing module is further configured to retain the second test data when the actual key value of each second test data in the second touch test data set is greater than the preset key value, and obtain the first touch test data set based on the retained second test data.
[0055] Optionally, the processing module is further used to arrange the second test data according to the actual key value of each second test data in the second touch test data set to obtain a new second touch test data set;
[0056] The determining module is specifically configured to determine the first touch test data set according to the new second touch test data set and the sorting factor.
[0057] Optionally, the determination module is further used to determine a preset number according to the sorting factor and the number of second test data in the second touch test data set;
[0058] The processing module is specifically configured to retain a preset number of second test data that are ranked first in the new second touch test data set, and obtain the first touch test data set according to the retained preset number of second test data.
[0059] Optionally, the determining module is further configured to determine that, when the level signal is a first level signal, the state information of the first test data corresponding to the level signal is a valid state;
[0060] The determining module is further configured to determine that the state information of the first test data corresponding to the level signal is in an invalid state when the level signal is a second level signal;
[0061] The step of extracting a valid data set from the first touch test data set according to the state information of each first test data includes:
[0062] The extraction module is specifically configured to extract first test data whose status information is a valid state from the first touch test data set, and generate the valid data set according to the extracted first test data.
[0005] In a third aspect, the present application provides a touch test data processing device, including:
[0006] Memory;
[0007] processor;
[0008] Wherein, the memory stores computer-executable instructions;
[0009] The processor executes the computer-executable instructions stored in the memory to implement the method for processing touch test data as described in the first aspect and various possible implementations of the first aspect.
[0010] In a fourth aspect, the present application provides a computer storage medium having computer execution instructions stored thereon, wherein the computer execution instructions are executed by a processor to implement the method for processing touch test data as described in the first aspect and various possible implementations of the first aspect.
[0063] The present application provides a method for processing touch test data. After acquiring a touch test data set, the method determines the test data of the touch panel's pressure sensing according to the touch test data set, and acquires a level signal corresponding to the test data, thereby filtering out the test data in a valid state from the first touch test data set and storing it in the valid data set. The method not only realizes the extraction of valid data from a large amount of touch test data, but also ensures the efficient use of home appliances, thereby improving the user's interactive experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0064] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0011] Figure 1 This is the process of the touch test data processing method provided by this application Figure 1 ;
[0012] Figure 2 This is the process of the touch test data processing method provided by this application Figure 2 ;
[0013] Figure 3 This is the process of the touch test data processing method provided by this application Figure 3 ;
[0014] Figure 4 This is the process of the touch test data processing method provided by this application Figure 4 ;
[0015] Figure 5is a schematic diagram of the structure of a touch test data processing device provided by the present application;
[0016] Figure 6 It is a structural schematic diagram of a touch test data processing device provided in this application.
[0065] The above drawings have shown clear embodiments of the present application, which will be described in more detail later. These drawings and text descriptions are not intended to limit the scope of the present application in any way, but to illustrate the concept of the present application to those skilled in the art by referring to specific embodiments. DETAILED DESCRIPTION
[0066] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0067] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the numbers used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in sequences other than those illustrated or described herein, for example.
[0068] In the embodiments of the present application, the words "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the present application should not be interpreted as being more preferred or more advantageous than other embodiments or designs. Specifically, the use of words such as "exemplary" or "for example" is intended to present related concepts in a specific way.
[0069] With the continuous advancement of technology, touch panels have become an indispensable part of various home appliances. It has been widely used for its convenient operation and sensitive response. In actual use, the key data provided by the touch panel plays a vital role in the normal operation of the device. When the user operates the touch panel, it can accurately sense the position, pressure and other relevant information of the user's finger, and convert this information into corresponding key data. These key data will then be transmitted to the device's operating system or application to realize the completion of various functions, thereby improving the user's interactive experience.
[0070] However, as the functions of home appliances become more and more complex, the number of functions displayed on the touch panel area of home appliances is also increasing. Therefore, when the functions of the touch button area become more and more complex, it may affect the response rate of the touch button and the normal use of the home appliance. The existing solution is to let the tester test the control panel in advance under different experimental environments, panel conditions and jitter logic, and let the tester extract and classify the collected test data through the value extraction tool. However, due to the large amount of collected test data, it not only increases the difficulty of the tester's work, but also may lead to inaccurate test data extraction.
[0071] Therefore, the current problem to be solved is how to accurately and efficiently extract valid data from a large amount of test data and improve the execution efficiency of the touch panel, thereby ensuring the efficient use of home appliances and improving the user's interactive experience.
[0072] In view of the above problems, the present application provides a method for processing touch test data. After acquiring a touch test data set, the method determines the test data of the touch panel's press sensing according to the touch test data set, and acquires a level signal corresponding to the test data, and then filters out the test data in a valid state from the first touch test data set, and stores it in the valid data set. The method realizes accurate and efficient extraction of valid data from a large amount of touch test data, thereby improving the execution efficiency of the touch panel, and ensuring the efficient use of home appliances, thereby improving the user interaction experience.
[0073] The technical solution of the present application and how the technical solution of the present application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below in conjunction with the accompanying drawings.
[0074] Figure 1 The process of the touch test data processing method provided in the embodiment of the present application Figure 1 .like Figure 1 The touch test data processing method provided in this embodiment includes:
[0075] S101: Acquire a touch test data set, where the touch test data set is obtained based on a tester's touch operation on a touch panel.
[0076] As the touch functions of home appliances with touch panels continue to increase, the functions of the touch button area in the touch panel are becoming more and more complex. Therefore, when the functions of the touch button area are becoming more and more complex, the response rate of the touch button will be affected, thereby affecting the execution rate of the home appliance.
[0077] Therefore, testers are required to conduct touch test experiments on home appliances with touch panels to improve the response rate of the touch buttons of home appliances and ensure the normal operation of home appliances when the touch functions of the home appliances are more complex.
[0078] However, when the tester conducts a touch test experiment on a home appliance product, the tester first performs a touch operation on a specific area on the touch panel to obtain a large amount of touch test data, and then analyzes and processes the acquired touch test data. However, in the process of analyzing and processing the touch test data, since the data in the touch test data is not completely what the touch tester actually needs, there may be a large amount of redundant test data. Therefore, in order to quickly process these large amounts of highly redundant test data, it is necessary to obtain a touch test data set.
[0079] The touch panel acquires a data set of touch test data through its internal sensor module. The sensor may be, for example, a capacitive touch sensor or a pressure sensor. This application does not limit this.
[0080] It is understandable that when the tester operates a specific area on the touch panel, the sensor will detect the tester's touch and convert the touch signal into a digital signal or an analog signal. These signals will then be transmitted to the processor in the touch panel, which will parse the sensor signal and convert relevant information such as the touch position and pressure into understandable data, and then transmit the converted data to the memory in the control panel so that the touch panel can analyze and process it.
[0081] For example, if the household appliance currently being tested is a smart washing device, since sensors are installed inside the smart washing device, when the tester operates on the operation panel area of the smart washing device, the sensor may detect a touch signal, and after the touch signal is converted into a digital signal or an analog signal, the converted signal is transmitted to the processor of the operation panel in the smart washing device, and then the transmitted signal is analyzed and processed to obtain information such as the touch position and pressure corresponding to the converted signal, so that the processor of the operation panel in the smart washing device can analyze and process it.
[0082] S102: Determine a first touch test data set according to the touch test data set.
[0083] The first test data in the first touch test data set is test data of pressure sensing of the touch panel.
[0084] The test data in the currently acquired touch test data set is obtained based on the tester's operations on a specific area on the touch panel. However, since the tester's operations are not necessarily accurate, the acquired touch test set needs to be analyzed and processed to screen out the tester's accurate operations on the touch panel, that is, to determine the first touch test data set.
[0085] It can be understood that after analyzing and processing the acquired data of the touch test data set, the data screened out are data corresponding to the operation of the tester, that is, the data screened out are valid data.
[0086] For example, when the tester is operating the operation panel of the smart water heater, the tester may accidentally click the wrong position, or the click position is not accurate enough, or the click force is not strong enough. When these operations are collected by the sensor of the control panel, they will form an original touch test data set. Then, by analyzing and processing this original touch test data set, more accurate operation data can be screened out.
[0087] S103: Acquire a level signal of each first test data in the first touch test data set, and determine state information of each first test data according to the level signal.
[0088] The level signal is used to indicate the level signal corresponding to each test data in the touch test data set.
[0089] Level signals include: valid level signals and invalid level signals. A valid level signal refers to a signal obtained after a tester performs valid operations on a specific area on the touch panel; an invalid level signal refers to a signal obtained after a tester performs invalid operations on a specific area on the touch panel.
[0090] It is understandable that when the tester operates a specific area on the touch panel, the touch panel cannot directly determine whether the tester's operation is correct. The touch panel still needs to analyze and process the tester's operation to filter out valid operations corresponding to the tester's operation.
[0091] In this step, the level signal of each first test data in the first touch test data set may be obtained first, and then the state information of each first test data may be determined according to the level signal.
[0092] Different home appliances correspond to different biometric sensor modules. For different home appliances, the level signal corresponding to each first test data in the first touch test data set can be determined according to the biometric sensor module corresponding to each home appliance. Specifically:
[0093] 1) For a household appliance product having a biometric sensor module as a temperature control sensor module, the specific implementation process of determining the level signal corresponding to each first test data in the first touch test data set is:
[0094] The temperature control sensing module pre-sets the finger temperature range when the finger temperature of the person to be tested is in a high-level state (for example, the finger temperature range is 35°C-39°C±1°C), and sets the level signal corresponding to the high-level state to "1" (that is, the logic state corresponding to the high-level state is set to a valid operating state); then, the temperature control sensing module senses the temperature signal of the test person's finger, and converts the sensed temperature signal into a digital signal through an AD converter; then, it determines whether the converted digital signal is within the pre-set finger temperature range; secondly, the temperature control sensing module determines the level signal corresponding to the determination result based on the determination result.
[0095] For example, when the tester's finger presses a specific area on the touch panel, the temperature sensing module senses that the temperature signal of the tester's finger is 36°C, and then converts the sensed temperature signal into a digital signal, and determines whether the digital signal is in the finger temperature range corresponding to the high level state (35°C-39°C±1°C). Therefore, the temperature control sensing module can determine that the current finger temperature of the tester is in a high level state, that is, the level signal corresponding to the tester's finger temperature is "1", that is, the logical state corresponding to the tester's finger temperature is a valid operating state.
[0096] 2) For a household appliance product having a biometric sensor module as a voltage-controlled sensor module, the specific process of determining the level signal corresponding to each first test data in the first touch test data set is as follows:
[0097] The pressure-controlled sensing module pre-sets the finger pressure value range when the finger pressure of the person to be tested is in a high-level state (for example, the finger pressure value range is 20N-100N±1N), and sets the level signal corresponding to the high-level state to "1" (that is, the logical state corresponding to the high-level state is set to a valid operating state); then, the pressure-controlled sensing module senses the pressure signal of the test person's finger, and converts the sensed pressure signal into a digital signal through an AD converter; then, it determines whether the converted digital signal is within the pre-set finger pressure value range; secondly, the pressure-controlled sensing module determines the level signal corresponding to the determination result based on the determination result.
[0098] For example, when the tester's finger presses a specific area on the touch panel, the pressure-controlled sensing module senses that the pressure signal of the tester's finger is 45N, and then converts the sensed pressure signal into a digital signal, and determines whether the digital signal is in the finger pressure value range corresponding to the high level state (20N-100N±1N). Therefore, the pressure-controlled sensing module can determine that the current finger pressure of the tester is in a high level state, that is, the level signal corresponding to the tester's finger pressure is "1", that is, the logical state corresponding to the tester's finger pressure is a valid operating state.
[0099] 3) For a household appliance product having a biometric sensor module as an infrared sensor module, the specific process of determining the level signal corresponding to each first test data in the first touch test data set is as follows:
[0100] The infrared sensing module pre-sets the frequency range of infrared radiation from the finger when the infrared signal from the finger of the person to be tested is in a high level state (for example, the frequency range of infrared radiation from the finger is 3.75*10^13Hz-2.5*10^13Hz±1Hz), and sets the level signal corresponding to the high level state to "1" (that is, the logic state corresponding to the high level state is set to a valid operating state); then, the infrared sensing module senses the infrared signal from the finger of the test person, and converts the sensed infrared signal into a digital signal through an AD converter; then, it determines whether the converted digital signal is within the pre-set frequency range of infrared radiation from the finger; secondly, the voltage-controlled sensing module determines the level signal corresponding to the determination result according to the determination result.
[0101] For example, when the tester's finger presses a specific area on the touch panel, the infrared sensing module senses that the infrared signal of the tester's finger is 2.1*10^13Hz, and then converts the sensed infrared signal into a digital signal, and determines whether the digital signal is in the high-level state corresponding to the finger radiation infrared frequency range (3.75*10^13Hz-2.5*10^13Hz±1Hz). Therefore, the infrared sensing module can determine that the current finger pressure of the tester is in a high-level state, that is, the level signal corresponding to the tester's finger pressure is "1", that is, the logical state corresponding to the tester's finger pressure is a valid operating state.
[0102] S104: extracting a valid data set from the first touch test data set according to the state information of each first test data.
[0103] After the state information corresponding to each first test data is determined, a valid data set may be extracted from the first touch test data set according to the state information corresponding to each first test data.
[0104] It can be understood that according to the status information corresponding to each first test data, the first touch test data in a valid state can be filtered out from the first touch test set, and the filtered results can be stored in the valid data set so that the tester can effectively process the valid data set, thereby ensuring the efficient operation of the home appliance product.
[0105] The method for processing touch test data provided in this embodiment determines the test data of the touch panel's pressure sensing according to the touch test data set after acquiring the touch test data set, and acquires the level signal corresponding to the test data, and then filters out the test data in a valid state from the first touch test data set, and stores it in the valid data set. This method not only realizes the extraction of valid data from a large amount of touch test data, but also ensures the efficient use of home appliances, thereby improving the user's interactive experience.
[0106] Figure 2 The process of the touch test data processing method provided in the embodiment of the present application Figure 2 .like Figure 2 As shown, this embodiment is Figure 1 Based on the embodiment, a method for processing touch test data is described in detail. The method for processing touch test data provided by this embodiment includes:
[0107] S201: Acquire a touch test data set, where the touch test data set is obtained based on a tester's touch operation on a touch panel.
[0108] Step S201 is similar to the above step S101 and will not be described again.
[0109] S202: Determine the actual key value of each test data according to the touch test data set.
[0110] The actual key value of each test data is used to indicate the real key or key combination corresponding to the touch operation. It is understandable that since the touch test data set may contain information such as the position of the touch panel and the touch pressure, by analyzing these data, it is possible to determine which key or key combination the tester actually touched on the touch panel.
[0111] The actual key value may be a letter, number, symbol or specific function key, etc. For example, for mobile devices such as mobile phones or tablets, the actual key value may be the key value information corresponding to the key on the virtual keyboard, while for home appliances with touch panels, the actual key value may be the key value information corresponding to the key on the actual function key.
[0112] There is a one-to-one correspondence between the actual key value of each test data and the key value information corresponding to the actual key value of each test data. It can be understood that the key value type corresponding to the actual key value of the test data may include: a valid key value and an invalid key value. The valid key value is used to characterize that after the tester performs a specific operation in a specific area on the touch panel, the response state corresponding to the specific operation is in a waiting response state, which means that the key value type corresponding to the specific operation can be determined to be a valid key value. The invalid key value is used to characterize that after the tester performs a specific operation in a specific area on the touch panel, the response state corresponding to the specific operation is in a response failure state, which means that the key value type corresponding to the specific operation can be determined to be an invalid key value.
[0113] The types of test data selected in this step include but are not limited to valid data and invalid data.
[0114] After acquiring the touch test data set, since the touch test data set contains all the data obtained by the tester in the current touch test, it is also necessary to process and analyze the currently acquired touch test data set, and determine the results after processing and analysis as the actual key values corresponding to each test data.
[0115] S203: Determine a determination factor corresponding to each test data according to the actual key value of each test data and the initial key value corresponding to the touch panel.
[0116] The determination factor corresponding to each test data is used to measure the key value information corresponding to the actual key value of each test data.
[0117] The initial key value corresponding to the touch panel is used to indicate the key value initially set for each position or area on the touch panel. The initial key value of the touch panel can be a key on a virtual keyboard, a key on a physical keyboard, or even a touch area customized by the touch panel. This application does not limit this.
[0118] It can be understood that after the actual key value corresponding to each test data is obtained, the actual key value and the initial key value corresponding to the touch panel can be processed and analyzed together, and the result of the processing and analysis is used as the determination factor corresponding to each test data.
[0119] Specifically, according to the actual key value of each test data and the initial key value corresponding to the touch panel, the implementation method of determining the determination factor corresponding to each test data may be, for example:
[0120] 1) The following formula can be used to determine the decision factor corresponding to each test data:
[0121] Wherein, r represents the initial key value corresponding to the touch panel, and b represents the actual key value of each test data.
[0122] 2) The following formula can also be used to determine the decision factor corresponding to each test data:
[0123] Wherein, r represents the initial key value corresponding to the touch panel, and b represents the actual key value of each test data.
[0124] S204: Determine whether the determination factor is greater than a preset factor, if so, execute step S205, if not, execute step S206.
[0125] The preset factor may be 0, for example.
[0126] The purpose of judging whether the determination factor is greater than the preset factor is to determine whether the current touch operation is successfully responded to.
[0127] If the determination factor is greater than the preset factor, it indicates that the current touch operation is successfully responded to by the touch panel, and the current touch operation is in a waiting state for response. Therefore, the test data corresponding to the first determination factor needs to be retained, and the second touch test data set is obtained based on the retained test data.
[0128] If the determination factor is not greater than the preset factor, it indicates that the current touch operation is not successfully responded to by the touch panel and the current touch operation is in a response failure state. Therefore, the test data corresponding to the first determination factor needs to be deleted.
[0129] S205: retaining the test data corresponding to the first determination factor, and obtaining a second touch test data set according to the retained test data.
[0130] The test data in the second touch test data set are test data extracted after the tester performs touch operations on the touch panel and are in a state of waiting for response to these operations.
[0131] It can be understood that when it is determined that the test data corresponding to the first determination factor is in a waiting response state, the test data corresponding to the first determination factor can be retained first, and the retained test data can be stored in a second touch test data set so as to perform a secondary determination on the test data in the second touch test data set.
[0132] In this step, the test data corresponding to the first determination factor may be retained first, and then the second touch test data set may be obtained according to the retained test data.
[0133] S206: Delete the test data corresponding to the first determination factor.
[0134] S207: Determine a first touch test data set according to the second touch test data set and preset parameters.
[0135] The preset parameters are used to determine whether the key responds successfully during the key pressing process.
[0136] The preset parameters may include, for example, a weight factor (e.g., β) and a ranking factor (e.g., χ). The weight factor is a constant weight factor, usually presented in the form of a percentage, and the range of the weight factor is usually 0.5<β<1. The ranking factor is usually also presented in the form of a percentage, and the range of the ranking factor is usually χ<0.2.
[0137] After obtaining the second touch test data set, the test data in the second touch test data set can be compared with the prediction parameters, and after obtaining the comparison result, the comparison result is analyzed and processed to obtain the test data of the successful response, that is, the first touch test data set is successfully determined.
[0138] It can be understood that since the first touch test data set can only store test data with a response status of successful response, it is necessary to first determine the test data with a response status of successful response based on the second touch test data set and preset parameters, and then extract the test data with a response status of successful response from the second touch test data set, thereby storing it in the first touch test data set.
[0139] S208: Acquire a level signal of each first test data in the first touch test data set, where the level signal includes: a first level signal and a second level signal.
[0140] The first test data is used to indicate the test data in a successful response state that is screened out from the first touch test data set.
[0141] The first level signal is used to indicate that the level signal corresponding to the test data in the first touch test data is a valid level signal; the second level signal indicates that the level signal corresponding to the test data in the first touch test data is an invalid level signal.
[0142] In this step, the level signal of each first test data in the first touch test data set can be obtained first, and then the level signal of each first test data can be classified and processed to obtain the result of the classification processing. The result of the classification processing can include: test data corresponding to the valid level signal and test data corresponding to the invalid level signal.
[0143] It can be understood that both the test data corresponding to the valid level signal and the data corresponding to the invalid level signal are in a successful response state.
[0144] S209: If the level signal is a first level signal, determine that the state information of the first test data corresponding to the level signal is a valid state.
[0145] When the level signal corresponding to the first test data is determined, in order to more accurately determine the status information corresponding to the first test data, it is necessary to match the level signal corresponding to the first test data with the level signal corresponding to each test data in the first touch test data set, thereby determining the status information corresponding to each test data based on the matching result.
[0146] If the level signal corresponding to the first test data is the same as the level signal corresponding to each test data in the first touch test data set, it can be determined that the state information corresponding to the first test data is in a valid state.
[0147] If the level signal corresponding to the first test data is different from the level signal corresponding to each test data in the first touch test data set, it can be determined that the state information corresponding to the first test data is in an invalid state.
[0148] It can be understood that after the level signal corresponding to the first test data is determined, the touch panel may not necessarily perform the touch operation because it may be affected by the network connection during the touch operation. Therefore, in order to determine whether the touch panel successfully performs the touch operation and then determine the status information corresponding to the first test data, it is necessary to match the level signal corresponding to the first test data with the level signal corresponding to each test data in the first touch test data set.
[0149] S210: If the level signal is a second level signal, determine that the state information of the first test data corresponding to the level signal is an invalid state.
[0150] S211: extracting first test data whose status information is a valid state from the first touch test data set, and generating the valid data set according to the extracted first test data.
[0151] When it is determined that the state information of the first test data is in a valid state, the first test data can be extracted from the first touch test data set, and then a valid data set can be generated according to the first test data.
[0152] It can be understood that in order to improve the accuracy of the execution efficiency of the touch panel, it is necessary to extract the first test data with valid status information from the first touch test data set after determining the status information of the first test data (that is, after determining that the status information of the first test data is a valid state).
[0153] The method for processing touch test data provided in this embodiment processes and analyzes each test data in the touch test data set after acquiring the touch test data set, obtains the actual key value of each test data, and determines the determination factor corresponding to each test data according to the actual key value and the initial key value, and then determines the second touch test data set according to the determination factor, and then determines the first touch test data set according to the second touch test data set. The method realizes accurate and efficient extraction of effective data from a large amount of touch test data, thereby improving the execution efficiency of the touch panel, and ensuring the efficient use of home appliances, thereby improving the user interaction experience.
[0154] Figure 3 The process of the touch test data processing method provided in the embodiment of the present application Figure 3 The preset parameter in this embodiment is a weight factor. Figure 3 As shown, this embodiment is Figure 2 Based on the embodiment, the process of determining the first touch test data set according to the second touch test data set and the preset parameters is described in detail. The method for processing touch test data provided by this embodiment includes:
[0155] S301: Determine second target test data according to the second touch test data set.
[0156] The second target test data is second test data in the second touch test data set, the actual key value of which is greater than the actual key value of other second test data.
[0157] After the second touch test data set is acquired, second test data may be screened out from the second touch test data set, and the actual key value of the second test data is greater than the actual key values of other second test data.
[0158] It is understandable that when the second touch test data set is obtained, the second test data in the second touch test data set can be screened to obtain test data with an actual key value greater than other second test data, and then the test data is used as the second target test data.
[0159] S302: Determine a preset key value according to the weight factor and the actual key value of the second target test data.
[0160] For example, the actual key value of the second target test data may be obtained first, and then processed together with the actual key value of the second target test data according to a weight factor set in advance to obtain a preset key value.
[0161] The preset key value corresponding to the second target test data may be determined through the weight factor and the actual key value of the second target test data.
[0162] It is understandable that the method for determining the preset key value may be, for example, the difference between the weight factor and the actual key value of the second target test data, the product between the weight factor and the actual key value of the second target test data, or the division between the weight factor and the actual key value of the second target test data. This application does not impose any restrictions on this.
[0163] For example, if the weight factor is β and the actual key value of the second target test data is MAX[A], then the preset key value determined by multiplying the two is β×MAX[A].
[0164] S303: Determine whether the actual key value of each second test data in the second touch test data set is greater than the preset key value, if so, execute step S304, if not, execute step S305.
[0165] The purpose of judging whether the actual key value of each test data in the second touch test data set is greater than the preset key value is to determine whether the second test data in the second touch test data set is in a response success state.
[0166] If the actual key value of each second test data in the second touch test data set is greater than the preset key value, it indicates that the second test data in the second touch test data is in a successful response state. Therefore, it is necessary to retain the second test data and obtain the first touch test data set based on the retained second test data.
[0167] If the actual key value of each second test data in the second touch test data set is not greater than the preset key value, it indicates that the second test data in the second touch test data set is not in a successful response state, and therefore, the second test data in the second touch test data set needs to be deleted.
[0168] S304: retain the second test data, and obtain the first touch test data set according to the retained second test data.
[0169] In this step, the test data corresponding to the second test data may be retained first, and then the first touch test data may be obtained according to the retained test data.
[0170] It is understandable that, since it has been determined that the actual key value of the current second test data is in a successful response state, the actual key value of the second test data can be retained first, and stored in the first touch test data set according to the retained result.
[0171] S305: Delete the second test data in the second touch test data set.
[0172] The method for processing touch test data provided in this embodiment sets a preset parameter as a weight factor, extracts the second target test data from the second touch test data set, and then compares the preset key value determined by the weight factor and the second target test data with the actual key value of each second test data in the second touch test data set, thereby determining the first touch test data set. This method not only improves the accuracy of the test data in the first touch test data set, but also improves the execution efficiency of the touch panel, thereby ensuring the efficient use of home appliances.
[0173] Figure 4 The process of the touch test data processing method provided in the embodiment of the present application Figure 4 The preset parameter in this embodiment is the sorting factor. Figure 4 As shown, this embodiment is Figure 2 Based on the embodiment, the process of determining the first touch test data set according to the second touch test data set and the preset parameters is described in detail. The method for processing touch test data provided by this embodiment includes:
[0174] S401: Arrange the second test data according to the actual key value of each second test data in the second touch test data set to obtain a new second touch test data set.
[0175] In this step, after the second touch test data set is acquired, the actual key value of each test data in the second touch test data set may be arranged to obtain an arranged second touch test data set.
[0176] It can be understood that if the second test data in the second touch test data set are arranged in ascending order, it can be determined that the second test data in the second touch test data set has a sequence, and therefore a new second touch test data set can be obtained again according to the sequence.
[0177] S402: Determine a preset number according to the sorting factor and the number of second test data in the second touch test data set.
[0178] The preset number is used to indicate that there is an association relationship with the number of second test data in the second touch test data set.
[0179] For example, the quantity value length corresponding to the number of second test data in the second touch test data set can be first obtained, and then processed together with the quantity value length corresponding to the second touch test data set according to the sorting factor set in advance to obtain a preset number that is associated with the number of second test data in the second touch test data.
[0180] Since the size of the preset quantity value is determined based on the size of the quantity value of the second test data in the second touch test data set, therefore, when the quantity value of the second test data in the second touch test data set is larger, it can be determined that the preset quantity value is larger; and when the quantity value of the second test data in the second touch test data set is smaller, it can be determined that the preset quantity value is smaller.
[0181] S403: retaining a preset number of second test data that are ranked first in the new second touch test data set.
[0182] In this step, after obtaining a new second touch test data set, the second test data with a higher ranking may be retained, and then the quantity corresponding to the second test data may be obtained based on the retained second test data.
[0183] It can be understood that if the second test data in the new second touch test data set are arranged in ascending order, and the earlier the sorting position, the greater the possibility of a successful response of the second test data. Therefore, after retaining the second test data with a higher sorting position in the new second touch test data set, it can be known that the possibility of a successful response of the retained second test data is greater than the possibility of a successful response of the second test data that is not retained.
[0184] S404: Obtain the first touch test data set according to the reserved preset number of second test data.
[0185] In this step, for example, the second test data at the front of the sorting position may be retained first, and then the first touch test data set may be obtained according to the retained plurality of second test data.
[0186] It is understandable that, since it has been determined that the current second test data has a greater probability of successful response, the actual key value of the second test data may be retained first, and stored in the first touch test data set according to the retained result.
[0187] The method for processing touch test data provided in this embodiment sets a preset parameter as a sorting factor, and after arranging the test data in the second touch test data set, obtains the second test data with a front sorting position, and stores the second test data with a front sorting position in the first touch test data set. This method not only improves the accuracy of the test data response success in the first touch test data set, but also improves the execution efficiency of the touch panel, thereby ensuring the efficient use of home appliances.
[0188] Figure 5 This is a schematic diagram of the structure of the touch test data processing device provided in this application. Figure 5As shown, the present application provides a touch test data processing device, and the touch test data processing device 500 includes:
[0189] An acquisition module 501 is used to acquire a touch test data set, where the touch test data set is obtained according to a touch operation of a tester on a touch panel;
[0190] A determination module 502 is configured to determine a first touch test data set according to the touch test data set, wherein first test data in the first touch test data set is test data for triggering a pressure sensing of the touch panel;
[0191] The acquisition module 501 is further used to acquire a level signal of each first test data in the first touch test data set;
[0192] The determining module 502 is further used to determine the state information of each first test data according to the level signal;
[0193] The extraction module 503 is configured to extract a valid data set from the first touch test data set according to the status information of each first test data.
[0194] Optionally, the determination module 502 is further configured to determine an actual key value of each test data according to the touch test data set;
[0195] The determination module 502 is further used to determine the determination factor corresponding to each test data according to the actual key value of each test data and the initial key value corresponding to the touch panel;
[0196] The device further includes: a determination module 504;
[0197] The judging module 504 is used to judge whether the judging factor is greater than a preset factor;
[0198] The device further comprises: a processing module 505;
[0199] The processing module 505 is configured to retain the test data corresponding to the first determination factor when the determination factor is greater than a preset factor, and obtain a second touch test data set based on the retained test data;
[0200] The processing module 505 is further configured to delete the test data corresponding to the first determination factor when the determination factor is not greater than a preset factor;
[0201] The determining module 502 is specifically configured to determine a first touch test data set according to the second touch test data set and preset parameters, wherein the second touch test data set includes the first touch test data set.
[0202] Optionally, the determination module 502 is further configured to determine second target test data according to the second touch test data set, where the second target test data is second test data in the second touch test data set, the actual key value of which is greater than the actual key value of other second test data;
[0203] The determining module 502 is specifically configured to determine the first touch test data set according to the second touch test data set, the second target test data and the weight factor.
[0204] Optionally, the determination module 502 is further configured to determine a preset key value according to the weight factor and an actual key value of the second target test data;
[0205] The judging module 504 is further configured to judge whether the actual key value of each second test data in the second touch test data set is greater than the preset key value;
[0206] The processing module 505 is further configured to retain the second test data when the actual key value of each second test data in the second touch test data set is greater than the preset key value, and obtain the first touch test data set based on the retained second test data.
[0207] Optionally, the processing module 505 is further configured to perform arrangement processing on the second test data according to an actual key value of each second test data in the second touch test data set to obtain a new second touch test data set;
[0208] The determining module 502 is specifically configured to determine the first touch test data set according to the new second touch test data set and the sorting factor.
[0209] Optionally, the determining module 502 is further configured to determine a preset number according to the sorting factor and the number of second test data in the second touch test data set;
[0210] The processing module 505 is specifically configured to retain a preset number of second test data that are ranked first in the new second touch test data set, and obtain the first touch test data set according to the retained preset number of second test data.
[0211] Optionally, the determining module 502 is further configured to determine, when the level signal is a first level signal, that the state information of the first test data corresponding to the level signal is a valid state;
[0212] The determining module 502 is further configured to determine that the state information of the first test data corresponding to the level signal is in an invalid state when the level signal is a second level signal;
[0213] The step of extracting a valid data set from the first touch test data set according to the state information of each first test data includes:
[0214] The extraction module 503 is specifically configured to extract first test data whose status information is a valid state from the first touch test data set, and generate the valid data set according to the extracted first test data.
[0017] Figure 6 This is a schematic diagram of the structure of the touch test data processing device provided in this application. Figure 6 As shown, the present application provides a touch test data processing device, and the touch test data processing device 600 includes: a receiver 601 , a transmitter 602 , a processor 603 and a memory 604 .
[0018] Receiver 601, used for receiving instructions and data;
[0019] A transmitter 602, used for sending instructions and data;
[0020] Memory 604, used to store computer-executable instructions;
[0021] The processor 603 is used to execute the computer-executable instructions stored in the memory 604 to implement the various steps performed by the method for processing touch test data in the above embodiment. For details, please refer to the relevant description in the above embodiment of the method for processing touch test data.
[0022] Optionally, the memory 604 may be independent or integrated with the processor 603 .
[0023] When the memory 604 is independently provided, the electronic device further includes a bus for connecting the memory 604 and the processor 603 .
[0024] The present application also provides a computer-readable storage medium, in which computer-executable instructions are stored. When a processor executes the computer-executable instructions, a method for processing touch test data as executed by the above-mentioned touch test data processing device is implemented.
[0025] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the methods disclosed above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those of ordinary skill in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0215] So far, the technical solution of the present application has been described in conjunction with the preferred embodiments shown in the accompanying drawings. However, it is easy for those skilled in the art to understand that the protection scope of the present application is obviously not limited to these specific embodiments, and the above embodiments are only used to illustrate the technical solution of the present application rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein by equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present application.
Claims
1. A method for processing touch test data, characterized in that: include: Acquire a touch test data set, where the touch test data set is obtained based on a touch operation of a tester on a touch panel; Determine a first touch test data set according to the touch test data set, wherein first test data in the first touch test data set is test data for triggering pressure sensing of the touch panel; Acquire a level signal of each first test data in the first touch test data set, and determine state information of each first test data according to the level signal; According to the status information of each first test data, a valid data set is extracted from the first touch test data set.
2. The method according to claim 1, characterized in that The step of determining a first touch test data set according to the touch test data set includes: Determine the actual key value of each test data according to the touch test data set; Determine a determination factor corresponding to each test data according to an actual key value of each test data and an initial key value corresponding to the touch panel; Determining whether the determination factor is greater than a preset factor; If yes, retain the test data corresponding to the first determination factor, and obtain a second touch test data set based on the retained test data; If not, deleting the test data corresponding to the first determination factor; A first touch test data set is determined according to the second touch test data set and preset parameters, wherein the second touch test data set includes the first touch test data set.
3. The method according to claim 2, characterized in that If the preset parameter is a weight factor, determining the first touch test data set according to the second touch test data set and the preset parameter includes: Determine second target test data according to the second touch test data set, where the second target test data is second test data in the second touch test data set whose actual key value is greater than the actual key value of other second test data; The first touch test data set is determined according to the second touch test data set, the second target test data and the weight factor.
4. The method according to claim 3, characterized in that The determining the first touch test data set according to the second touch test data set, the second target test data and the weight factor includes: Determining a preset key value according to the weight factor and the actual key value of the second target test data; Determine whether the actual key value of each second test data in the second touch test data set is greater than the preset key value; If yes, the second test data is retained, and the first touch test data set is obtained according to the retained second test data.
5. The method according to claim 2, characterized in that: If the preset parameter is a sorting factor, determining the first touch test data set according to the second touch test data set and the preset parameter includes: According to the actual key value of each second test data in the second touch test data set, the second test data are arranged to obtain a new second touch test data set; The first touch test data set is determined according to the new second touch test data set and the sorting factor.
6. The method according to claim 5, characterized in that The determining the first touch test data set according to the new second touch test data set and the sorting factor includes: Determining a preset number according to the sorting factor and the number of second test data in the second touch test data set; A preset number of second test data with a top ranking in the new second touch test data set is retained, and the first touch test data set is obtained according to the retained preset number of second test data.
7. The method according to claim 1, characterized in that The level signal includes: a first level signal and a second level signal, and determining the state information of each first test data according to the level signal includes: If the level signal is a first level signal, determining that the state information of the first test data corresponding to the level signal is a valid state; If the level signal is a second level signal, determining that the state information of the first test data corresponding to the level signal is an invalid state; The step of extracting a valid data set from the first touch test data set according to the state information of each first test data includes: The first test data whose state information is a valid state is extracted from the first touch test data set, and the valid data set is generated according to the extracted first test data.
8. A touch test data processing device, characterized in that: include: An acquisition module, used to acquire a touch test data set, wherein the touch test data set is obtained according to a touch operation of a tester on the touch panel; a determination module, configured to determine a first touch test data set according to the touch test data set, wherein first test data in the first touch test data set is test data for triggering pressure sensing of the touch panel; The acquisition module is further used to acquire a level signal of each first test data in the first touch test data set; The determination module is further used to determine the status information of each first test data according to the level signal; The extraction module is used to extract a valid data set from the first touch test data set according to the state information of each first test data.
9. A touch test data processing device, characterized in that: include: Memory; processor; Wherein, the memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory to implement the method for processing touch test data according to any one of claims 1 to 7.
10. A computer storage medium, characterized in that: The computer storage medium stores computer execution instructions, and when the computer execution instructions are executed by a processor, they are used to implement the method for processing touch test data according to any one of claims 1 to 7.