Watch button detection method and system
By collecting and analyzing the travel data and rebound time of the watch button test, calculating the possibility of anomalies, and using the LOF algorithm to detect watch button abnormalities, the problem of inaccurate watch button detection results is solved and the accuracy of detection is improved.
Patent Information
- Application Number
- CN202411195551.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-29
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-08-29
AI Technical Summary
Watch buttons are easily affected by springs, resulting in differences in rebound time and inaccurate button detection results.
By collecting the stroke data, final stroke data and rebound time of each button test of the same batch of watches, the abnormality possibility and correction abnormality possibility of each button test are calculated to form the button characteristics, and the LOF algorithm is used for abnormality detection to judge the watch. Whether the key is abnormal.
It improves the accuracy of watch button detection, can accurately determine button abnormalities, reduces misjudgments, and improves the reliability of button detection.
Smart Images

Figure CN118707832B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data processing, and in particular to a watch button detection method and system. Background Art
[0002] There are many reasons why watches need buttons, such as switching between reality modes and functions. Since the structure of the physical buttons is not a touch-screen button, there is no need to look at the screen when pressing the buttons, so it can also be used to send emergency distress signals. The buttons can quickly activate these functions; on the other hand, after the touch screen of the watch fails, the buttons can be used as a backup. Failure of the button detection will cause accidental touches on the watch functions or failure of the functions, affecting the use of the watch and the adjustment of the functions. Therefore, it is important and necessary to detect the watch buttons. In the prior art, a common and quick way to detect watch buttons is to determine whether the watch buttons are normal by the difference in the pressing stroke. However, since the watch buttons are easily affected by the spring, the buttons can eventually return to their original positions, but there are differences in the recovery time, which will lead to misjudgment of the watch button detection and inaccurate watch button detection results. Summary of the invention
[0003] The present invention provides a watch button detection method and system to solve the problem that watch buttons are easily affected by springs, so that the buttons can eventually return to their original positions, but there are differences in the recovery time, resulting in misjudgment of watch button detection and inaccurate watch button detection results.
[0004] A watch button detection method and system of the present invention adopts the following technical solutions:
[0005] An embodiment of the present invention provides a watch button detection method, the method comprising the following steps:
[0006] Obtaining the stroke data, final stroke data, rebound time and amplitude of each stroke cycle during the rebound process of each key test of each watch in the same batch;
[0007] According to the stroke data and final stroke data of each key test rebound process of each watch in the same batch, the abnormal possibility of each key test of each watch is obtained; according to the amplitude of each stroke cycle during the rebound process of each key test of each watch and the abnormal possibility of each key test, the corrected abnormal possibility of each key test of each watch is obtained;
[0008] The corrected abnormal probability and rebound time of each key test of each watch in the same batch constitute the key characteristics of each key test of each watch;
[0009] According to the key characteristics of all key tests of each watch in the same batch, the abnormal possibility and rebound time are corrected to obtain the normal possibility of key test of each watch; according to the key characteristics of each key test of each watch in the same batch, the correction coefficient of the normal possibility of key test of each watch is obtained;
[0010] Based on the normal possibility of each watch button test in the same batch and the correction coefficient of the normal possibility, the corrected normal possibility of each watch button test is obtained; based on the corrected normal possibility of each watch button test and the corrected abnormal possibility of each button test of each watch, the characteristic value of each watch button test is obtained; based on the characteristic value of each watch button test, abnormality detection is performed to determine whether the watch is a button abnormality watch.
[0011] Preferably, the abnormal possibility of each key test of each watch is obtained according to the stroke data and final stroke data of each key test rebound process of each watch in the same batch, and the specific steps include the following:
[0012] Calculate the same batch The first watch The difference between the number of stroke cycles during the rebound process of the first key test minus 1 is compared with the first key test of the same batch. The first watch The product of the final travel data during the rebound process of the key test is recorded as the first The first watch The probability of anomaly for each keystroke test.
[0013] Preferably, the method of obtaining the corrected abnormality probability of each key test of each watch according to the amplitude of each stroke cycle during the rebound process of each key test of each watch and the abnormality probability of each key test includes the following specific steps:
[0014] During each key rebound process of each watch in the same batch, the remaining travel cycles except the first travel cycle are recorded as the remaining travel cycles, the absolute value of the difference between the amplitudes of two adjacent remaining travel cycles is calculated, and the average of the absolute values of the difference between the amplitudes of all two adjacent remaining travel cycles is recorded as the average decrease amplitude during each key rebound process of each watch;
[0015]
[0016] In the formula, Indicates the same batch The first watch Possibility of correcting abnormalities in the keystroke test; Indicates the same batch The first watch The probability of abnormality in the keystroke test; Indicates the same batch The first watch The amplitude of the first stroke cycle during the rebound process of the key test; Indicates the same batch The first watch The amplitude of the second stroke cycle during the rebound process of the key test; is the normalization function; Indicates the same batch The first watch The average drop during the rebound of the key press test.
[0017] Preferably, the method of correcting the abnormal possibility and rebound time in the key features of all key tests of each watch in the same batch to obtain the normal possibility of key tests of each watch includes the following specific steps:
[0018] In the same batch Among the key features of all key tests of watches, the reciprocal of the sum of the variance of the possibility of correction of abnormality and the variance of the rebound time is recorded as the key feature of the same batch. Normal possibility of a watch button test.
[0019] Preferably, the specific calculation formula corresponding to the correction coefficient of the normal possibility of each watch key test is obtained according to the key characteristics of each key test of each watch in the same batch:
[0020]
[0021] In the formula, Indicates the same batch Correction factor for normal probability of each watch button test; Indicates the same batch The first watch Feature density corresponding to the key press test; Indicates the same batch The first watch Key characteristics of the keystroke test; Indicates the same batch The first watch Key characteristics of the keystroke test; is an exponential function with a natural constant as base; Indicates the same batch The number of times all buttons of a watch are tested; Indicates the number of watches in the same batch; is the L2 norm function.
[0022] Preferably, the The first watch The key test corresponds to the characteristic density, including the following specific steps:
[0023] The first The key features of all watches in the same batch in the key test constitute a data set, and the Euclidean distance is used to construct the Euclidean space corresponding to the data set. In the Euclidean space corresponding to the data set, a The key feature of the watch key test is taken as the center, and the neighborhood with a preset constant as the radius is the ratio of the number of data points in the neighborhood to the number of data points in the Euclidean space, which is recorded as the first The first watch The feature density corresponding to the key press test.
[0024] Preferably, the method of obtaining the corrected normal probability of each watch button test according to the normal probability of each watch button test of the same batch and the correction coefficient of the normal probability comprises the following specific steps:
[0025] The same batch of The correction factor for the normal probability of the first watch button test and the first The normalized result of the normal probability product of the watch button test is recorded as the first Correction of normal possibility of a watch button test.
[0026] Preferably, the method of obtaining the characteristic value of each watch button test according to the corrected normal possibility of each watch button test and the corrected abnormal possibility of each watch button test comprises the following specific steps:
[0027] The average of the corrected abnormal probability of all key tests of each watch in the same batch is recorded as the corrected abnormal probability of the key test of each watch in the same batch;
[0028] The corrected normal probability and corrected abnormal probability of each watch button test constitute the characteristic value of each watch button test.
[0029] Preferably, the method of performing abnormality detection according to the characteristic value of each watch button test to determine whether the watch is a button abnormality watch includes the following specific steps:
[0030] The LOF algorithm is used to perform abnormal detection on the characteristic value of each watch button test to obtain the LOF value corresponding to each watch button test;
[0031] When the LOF value corresponding to the watch button test is greater than or equal to the preset threshold When the LOF value corresponding to the watch button test is less than the preset threshold , it is judged as a normal watch.
[0032] The present invention also proposes a watch button detection system, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program stored in the memory to implement the steps of the aforementioned watch button detection method.
[0033] The beneficial effects of the technical solution of the present invention are: determining the abnormal possibility of a key based on the rebound characteristics of the watch key, and determining the normal possibility of the watch key by using the difference between multiple tests on the same batch of watches, thereby obtaining the characteristic value of the watch key, and using the obtained characteristic value of the watch key as the object to be analyzed by the LOF algorithm, and performing abnormal detection analysis, it can accurately determine whether the watch is a watch with abnormal keys. According to the normal possibility of each watch key test in the same batch and the correction coefficient of the normal possibility, the corrected normal possibility of each watch key test is obtained; according to the corrected normal possibility and the corrected abnormal possibility of each watch key test, the characteristic value of each watch key test is obtained; according to the characteristic value of each watch key test, abnormal detection is performed to determine whether the watch is a watch with abnormal keys. The characteristic value of each watch key test can be accurately obtained, and a watch with abnormal keys can be accurately determined, thereby improving the accuracy of watch key detection. BRIEF DESCRIPTION OF THE DRAWINGS
[0034] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0035] Figure 1 The present invention is a flowchart of the steps of a watch button detection method. DETAILED DESCRIPTION
[0036] In order to further explain the technical means and effects adopted by the present invention to achieve the predetermined invention purpose, the following is a detailed description of a watch button detection method and system proposed by the present invention, its specific implementation, structure, features and effects, in conjunction with the accompanying drawings and preferred embodiments. In the following description, different "one embodiment" or "another embodiment" does not necessarily refer to the same embodiment. In addition, specific features, structures or characteristics in one or more embodiments may be combined in any suitable form.
[0037] Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this invention belongs.
[0038] The specific scheme of a watch button detection method and system provided by the present invention is described in detail below with reference to the accompanying drawings.
[0039] See also Figure 1 , which shows a flowchart of a watch button detection method provided by an embodiment of the present invention, the method comprising the following steps:
[0040] Step S001: Obtain the stroke data, final stroke data, rebound time and amplitude of each stroke cycle in the rebound process of each key test of each watch in the same batch.
[0041] It should be noted that the watch push-rebound buttons are tested and relevant data during the watch test process is collected. The same button of the same batch of watches is tested with the same size, and the travel data of the watch button during the rebound process is recorded. The same watch is tested with the same and multiple button tests.
[0042] For the same button of watches in the same batch, use the same size button press to perform the same The key test is performed in this embodiment. Describe; use a travel sensor to collect travel data and final travel data during the rebound process of each key test of each watch in the same batch;
[0043] It should be noted that after a watch button is pressed, the button will undergo a rebound process from the pressed position to the initial position, and irregular fluctuations will appear when measuring or recording travel data. The fluctuations are caused by factors such as the accuracy of the measuring equipment, environmental conditions, and the structure of the button itself.
[0044] Use photoelectric sensors to obtain the rebound time of each key test;
[0045] The travel distance of the watch button during full pressing and rebounding is recorded and measured by the travel sensor, and the amplitude of each travel cycle during the rebounding process of each key test of the watch is obtained by using the maximum and minimum value difference method;
[0046] Among them, the maximum value and minimum value difference method is a well-known technology, and the specific method will not be introduced here.
[0047] The stroke data, final stroke data, rebound time and amplitude of each stroke cycle during the rebound process of each key test of each watch in the same batch are obtained.
[0048] Step S002: Based on the travel data and final travel data of each key test rebound process of each watch in the same batch, obtain the abnormality possibility of each key test of each watch; based on the amplitude of each travel cycle in the rebound process of each key test of each watch and the abnormality possibility of each key test, obtain the corrected abnormality possibility of each key test of each watch.
[0049] It should be noted that the abnormal possibility of the button is determined based on the rebound characteristics of the watch button, and the normal possibility of the watch button is determined by utilizing the differences between multiple tests on the same batch of watches, thereby obtaining the characteristic value of the watch button.
[0050] It should be noted that for rebound-type watch buttons, the relevant data during rebound can well reflect the quality of the buttons. The vibration changes during the button rebound process are used to determine abnormal conditions during the button test. The difference between the corresponding position after the first stroke cycle during the button rebound process and the original button position reflects the button characteristics. In order to reduce the button characteristics, a shock absorber will be installed on the button to minimize the back-and-forth vibration that causes false touches on the button function. The changes in the remaining stroke cycles during the rebound process reflect the changes in the button. The fewer the number of remaining cycles, the corresponding stroke returns to the initial position when the button rebounds stably, and the more significant the corresponding watch button characteristics are.
[0051] Calculate the same batch The first watch The difference between the number of stroke cycles during the rebound process of the first key test minus 1 is compared with the first key test of the same batch. The first watch The product of the final travel data during the rebound process of the key test is recorded as the first The first watch The probability of abnormality in the keystroke test;
[0052] The same batch The first watch The calculation method for the abnormal probability of a keystroke test is as follows:
[0053]
[0054] In the formula, Indicates the same batch The first watch The probability of abnormality in the keystroke test; Indicates the same batch The first watch The number of travel cycles during the rebound process of the key test; Indicates the same batch The first watch The final travel data during the rebound process of the key test.
[0055] It should be noted that if the final stroke is 0, it means that the position of the button after rebound is consistent with the initial position, indicating that the watch button is normal. On the contrary, if it cannot return to the original position after pressing, the larger the stroke, the more abnormal the watch button is. Indicates the same batch The first watch The duration of the vibration during the keystroke test.
[0056] It should be noted that the vibration generated by the button rebound is a normal phenomenon. Only when the possibility of abnormality of the button is too high can it be said that the button is abnormal. It is also necessary to use the vibration amplitude characteristics generated during the rebound process to correct the above-mentioned abnormal possibility of the button. The vibration generated has a significant decrease in amplitude between each cycle, indicating that the possibility of abnormality of the watch button is smaller, and the amplitude generated by the first stroke cycle and the amplitude generated by the remaining cycles have a significant decrease feature, indicating that the possibility of abnormality of the button is smaller.
[0057] During each key rebound process of each watch in the same batch, the remaining travel cycles except the first travel cycle are recorded as the remaining travel cycles, the absolute value of the difference between the amplitudes of two adjacent remaining travel cycles is calculated, and the average of the absolute values of the difference between the amplitudes of all two adjacent remaining travel cycles is recorded as the average decrease amplitude during each key rebound process of each watch;
[0058] The same batch The first watch The calculation method for the probability of correcting anomalies for a key press is as follows:
[0059]
[0060] In the formula, Indicates the same batch The first watch Possibility of correcting abnormalities in the keystroke test; Indicates the same batch The first watch The probability of abnormality in the keystroke test; Indicates the same batch The first watch The amplitude of the first stroke cycle during the rebound process of the key test; Indicates the same batch The first watch The amplitude of the second stroke cycle during the rebound process of the key test; is the normalization function; Indicates the same batch The first watch The average drop during the rebound of the key press test.
[0061] What needs to be explained is that when the denominator in the formula is 0, set the denominator to 1 and use this as an example to ensure that the formula is valid.
[0062] At this point, the corrected abnormality probability for each key test of each watch is obtained.
[0063] Step S003: The corrected abnormal possibility and rebound time of each key test of each watch in the same batch are used to form the key features of each watch for each key test; the normal possibility of each watch key test is obtained based on the corrected abnormal possibility and rebound time in the key features of all key tests of each watch in the same batch; the correction coefficient of the normal possibility of each watch key test is obtained based on the key features of each key test of each watch in the same batch.
[0064] It should be noted that although the button will eventually return to its original position, there will be a certain difference in time, and the abnormal possibility of the watch button obtained only by the above calculation will be inaccurate, resulting in that although normal rebound and abnormal rebound will eventually return to the initial position of the button, if it takes a long time for the watch button to return to its original position after being pressed, it indicates that the possibility of abnormality of the watch button is greater, and the abnormal possibility of the button alone cannot effectively distinguish. Therefore, using the rebound time can also explain the abnormality of the watch button.
[0065] The correction abnormality probability and rebound time of each key test of each watch in the same batch constitute the key feature of each key test of each watch, which is represented by a two-dimensional vector, that is, The first watch Key characteristics of the keystroke test .in, For the same batch The first watch Corrected the possibility of anomalies in the key characteristics of the key test; For the same batch The first watch The bounce time in the key characteristics of the key press test.
[0066] It should be noted that in multiple tests of the same watch button, since the mechanical characteristics of the same watch button remain consistent, the button characteristics should remain stable, so that the test data is stable. Therefore, the stronger the stability of the button characteristics of the button test, the greater the possibility that the button is normal. On the contrary, if the button characteristics of the button test have large fluctuations, it means that the data is less stable, the button may be abnormal in some tests, and the possibility that the watch button is normal is smaller.
[0067] In the same batch Among the key features of all key tests of watches, the reciprocal of the sum of the variance of the possibility of correction of abnormality and the variance of the rebound time is recorded as the key feature of the same batch. Normal possibility of a watch button test;
[0068] The same batch The normal probability of a watch button test is calculated as follows:
[0069]
[0070] In the formula, Indicates the same batch Normal possibility of a watch button test; Indicates the same batch The variance of the probability of correcting anomalies in the key features of all key tests for a watch; Indicates the same batch The variance of the bounce time in the key characteristics of all key press tests for a watch.
[0071] What needs to be explained is that when the denominator in the formula is 0, set the denominator to 1 and use this as an example to ensure that the formula is valid.
[0072] It should be noted that the watch buttons may be abnormal before the test, but not during the test, which results in the watch buttons having abnormal features before the test also having less stability, and thus the normal possibility of such watches and watch buttons cannot be accurately distinguished. Therefore, it is necessary to consider the difference between different watch buttons to reflect the normal situation of the current watch buttons, thereby determining the characteristic value of each watch button.
[0073] It should be noted that, therefore, it is necessary to consider the differences between different watch buttons to reflect the normal situation of the current watch buttons, thereby determining the characteristic value of each watch button.
[0074] The preset constant is 2. The key features of all watches in the same batch in the key test constitute a data set, and the Euclidean distance is used to construct the Euclidean space corresponding to the data set. In the Euclidean space corresponding to the data set, a The key feature of the watch key test is taken as the center, and the neighborhood with a preset constant as the radius is the ratio of the number of data points in the neighborhood to the number of data points in the Euclidean space, which is recorded as the first The first watch The feature density corresponding to the key press test.
[0075] Among them, using Euclidean distance to construct the Euclidean space corresponding to the data set is a well-known technology, and the specific method will not be introduced here.
[0076] The same batch The calculation method for the correction factor of the normal possibility of each watch button test is as follows;
[0077]
[0078] In the formula, Indicates the same batch Correction factor for normal probability of each watch button test; Indicates the same batch The first watch Feature density corresponding to the key press test; Indicates the same batch The first watch Key characteristics of the keystroke test; Indicates the same batch The first watch Key characteristics of the keystroke test; is an exponential function with a natural constant as base; Indicates the same batch The number of times all buttons of a watch are tested; Indicates the number of watches in the same batch; is the L2 norm function.
[0079] What needs to be explained is that Indicates The first watch The feature density corresponding to the key test. The greater the density, the more concentrated the distribution of the features, which means the greater the possibility of normal watch features. Since the distribution range of the features of watches in different key tests may vary, the feature density is used as the weight of the possibility difference. Indicates The difference between the watch and other watches in the same batch is The characteristic difference between the key press tests is larger, The lower the probability of normality of each watch button test; Reflects the The watch is in Normal characteristics in the keystroke test.
[0080] Step S004: Based on the normal possibility of each watch button test in the same batch and the correction coefficient of the normal possibility, obtain the corrected normal possibility of each watch button test; based on the corrected normal possibility of each watch button test and the corrected abnormal possibility of each button test of each watch, obtain the characteristic value of each watch button test; perform abnormality detection based on the characteristic value of each watch button test to determine whether the watch is a watch with abnormal buttons.
[0081] It should be noted that it is possible that the watch buttons are abnormal before the test, rather than during the test, which results in the watch buttons having abnormal features before the test also having less stability, and thus the normal possibility of such watches and watch buttons cannot be accurately distinguished. Therefore, the normal possibility of watch buttons needs to be corrected.
[0082] The same batch of The correction factor for the normal probability of the first watch button test and the first The normalized result of the normal probability product of the watch button test is recorded as the first Correction of normal possibility of each watch button test;
[0083] The same batch The corrected normal probability for each watch button test is calculated as follows:
[0084]
[0085] In the formula, Indicates the same batch Correction of normal possibility of each watch button test; Indicates the same batch Correction factor for normal probability of each watch button test; Indicates the same batch Normal possibility of a watch button test; It is a linear normalization function used to normalize data values to between 0 and 1.
[0086] The average of the corrected abnormal probability of all key tests of each watch in the same batch is recorded as the corrected abnormal probability of the key test of each watch in the same batch;
[0087] The corrected normal probability and corrected abnormal probability of each watch button test are used to form the characteristic value of each watch button test; it is represented by a two-dimensional vector, that is, the first Eigenvalues of watch button tests ;in, For the same batch Correction of normal possibility of watch button test, For the same batch Possibility of correcting anomalies in watch button tests.
[0088] At this point, the characteristic value of each watch button test is obtained.
[0089] It should be noted that the possibility of correcting the normal state in the characteristic value of the key test is not the larger the better or the smaller the better, because such characteristic values are obtained through the analysis of the relevant data of the rebound. If the characteristic of the rebound is too large, there may be obvious resistance to the key, so that the key cannot be effectively or well restored to the original position, and the product quality is unqualified; on the contrary, if the characteristic of the rebound is too small, it will cause the key to be too sensitive, and it is easy to accidentally touch the watch button, which will also cause the product quality to be unqualified. Due to the yield rate limit in the production process of watch buttons, in most cases, watches with normal buttons are the majority, while watches with abnormal buttons are the minority. Therefore, the characteristic value distribution of normal buttons is relatively concentrated, and the corresponding LOF density is relatively large. On the contrary, the LOF density of abnormal cases is relatively small.
[0090] The LOF algorithm is used to perform abnormal detection on the characteristic value of each watch button test to obtain the LOF value corresponding to each watch button test;
[0091] Preset Threshold 1; when the LOF value corresponding to the watch button test is greater than or equal to the preset threshold When the LOF value corresponding to the watch button test is less than the preset threshold When the watch is judged to have normal buttons, the detection of watch buttons is completed.
[0092] Among them, the LOF algorithm is a well-known technology, and the specific method will not be introduced here.
[0093] It should be noted that anomaly detection is to use the trained LOF model to calculate the LOF score of the buttons of each watch; if the LOF score is greater than 1, it is considered that the buttons of the watch are abnormal. Analyze the test results to determine the proportion and type of abnormal watches. For watches detected to be abnormal, further inspection and repair are carried out. Feedback the test results to the production and design process to improve the quality and consistency of watch buttons. Generate anomaly detection reports, including detection methods, threshold settings, lists of abnormal watches and their abnormal features. At the same time, continuously monitor the quality of watch buttons and identify any potential anomalies in a timely manner. According to the test results and feedback, continuously optimize the LOF model and threshold settings to improve the accuracy of anomaly detection.
[0094] It should be noted that: in this embodiment, when the denominator in the formula is 0, the denominator is set to 1 to ensure that the formula is valid, and this example is used for description.
[0095] An embodiment of the present invention further provides a watch button detection system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the above steps S001 to S004 when executing the computer program.
[0096] At this point, this embodiment is completed.
[0097] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the principles of the present invention should be included in the protection scope of the present invention.
Claims
1. A watch button detection method, characterized in that: The method comprises the following steps: Obtaining the stroke data, final stroke data, rebound time and amplitude of each stroke cycle during the rebound process of each key test of each watch in the same batch; According to the stroke data and final stroke data of each key test rebound process of each watch in the same batch, the abnormal possibility of each key test of each watch is obtained; according to the amplitude of each stroke cycle during the rebound process of each key test of each watch and the abnormal possibility of each key test, the corrected abnormal possibility of each key test of each watch is obtained; The corrected abnormal probability and rebound time of each key test of each watch in the same batch constitute the key characteristics of each key test of each watch; According to the key characteristics of all key tests of each watch in the same batch, the abnormal possibility and rebound time are corrected to obtain the normal possibility of key test of each watch; according to the key characteristics of each key test of each watch in the same batch, the correction coefficient of the normal possibility of key test of each watch is obtained; Based on the normal possibility of each watch button test in the same batch and the correction coefficient of the normal possibility, the corrected normal possibility of each watch button test is obtained; based on the corrected normal possibility of each watch button test and the corrected abnormal possibility of each button test of each watch, the characteristic value of each watch button test is obtained; based on the characteristic value of each watch button test, abnormality detection is performed to determine whether the watch is a button abnormality watch.
2. A watch button detection method according to claim 1, characterized in that: The method of obtaining the abnormal possibility of each key test of each watch according to the stroke data and the final stroke data during the rebound process of each key test of each watch in the same batch includes the following specific steps: Calculate the same batch The first watch The difference between the number of stroke cycles during the rebound process of the first key test minus 1 is compared with the first key test of the same batch. The first watch The product of the final travel data during the rebound process of the key test is recorded as the first The first watch The probability of anomaly for each keystroke test.
3. A watch button detection method according to claim 1, characterized in that: The method of obtaining the corrected abnormality probability of each key test of each watch according to the amplitude of each stroke cycle during the rebound process of each key test of each watch and the abnormality probability of each key test includes the following specific steps: During each key rebound process of each watch in the same batch, the remaining travel cycles except the first travel cycle are recorded as the remaining travel cycles, the absolute value of the difference between the amplitudes of two adjacent remaining travel cycles is calculated, and the average of the absolute values of the difference between the amplitudes of all two adjacent remaining travel cycles is recorded as the average decrease amplitude during each key rebound process of each watch; In the formula, Indicates the same batch The first watch Possibility of correcting abnormalities in the keystroke test; Indicates the same batch The first watch The probability of abnormality in the keystroke test; Indicates the same batch The first watch The amplitude of the first stroke cycle during the rebound process of the key test; Indicates the same batch The first watch The amplitude of the second stroke cycle during the rebound process of the key test; is the normalization function; Indicates the same batch The first watch The average drop during the rebound of the key press test.
4. A watch button detection method according to claim 1, characterized in that: The method of correcting the abnormal possibility and rebound time in the key features of all key tests of each watch in the same batch to obtain the normal possibility of key tests of each watch includes the following specific steps: In the same batch Among the key features of all key tests of watches, the reciprocal of the sum of the variance of the possibility of correction of abnormality and the variance of the rebound time is recorded as the key feature of the same batch. Normal possibility of a watch button test.
5. A watch button detection method according to claim 1, characterized in that: The specific calculation formula corresponding to the correction coefficient of the normal possibility of each watch key test is obtained based on the key characteristics of each key test of each watch in the same batch: In the formula, Indicates the same batch Correction factor for normal probability of each watch button test; Indicates the same batch The first watch The feature density corresponding to the key press test; Indicates the same batch The first watch Key characteristics of the keystroke test; Indicates the same batch The first watch Key characteristics of the keystroke test; is an exponential function with a natural constant as base; Indicates the same batch The number of times all buttons of a watch are tested; Indicates the number of watches in the same batch; is the L2 norm function.
6. A watch button detection method according to claim 5, characterized in that: The said The first watch The key test corresponds to the characteristic density, including the following specific steps: The first The key features of all watches in the same batch in the key test constitute a data set, and the Euclidean distance is used to construct the Euclidean space corresponding to the data set. In the Euclidean space corresponding to the data set, a The key feature of the watch key test is taken as the center, and the neighborhood with a preset constant as the radius is the ratio of the number of data points in the neighborhood to the number of data points in the Euclidean space, which is recorded as the first The first watch The feature density corresponding to the key press test.
7. A watch button detection method according to claim 1, characterized in that: The specific steps of obtaining the corrected normal probability of each watch button test according to the normal probability of each watch button test of the same batch and the correction coefficient of the normal probability are as follows: The same batch of The correction factor for the normal probability of the first watch button test and the first The normalized result of the normal probability product of the watch button test is recorded as the first Correction of normal possibility of a watch button test.
8. A watch button detection method according to claim 1, characterized in that: The method of obtaining the characteristic value of each watch key test according to the corrected normal probability of each watch key test and the corrected abnormal probability of each watch key test includes the following specific steps: The average of the corrected abnormal probability of all key tests of each watch in the same batch is recorded as the corrected abnormal probability of the key test of each watch in the same batch; The corrected normal probability and corrected abnormal probability of each watch button test constitute the characteristic value of each watch button test.
9. A watch button detection method according to claim 1, characterized in that: The specific steps of performing abnormality detection based on the characteristic value of each watch button test to determine whether the watch is a button abnormality watch are as follows: The LOF algorithm is used to perform abnormal detection on the characteristic value of each watch button test to obtain the LOF value corresponding to each watch button test; When the LOF value corresponding to the watch button test is greater than or equal to the preset threshold When the LOF value corresponding to the watch button test is less than the preset threshold When the watch is judged as a normal button watch.
10. A watch button detection system, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the computer program is executed by a processor, the steps of a watch button detection method as described in any one of claims 1 to 9 are implemented.
