Application quality detection method and system for programmable keys
By obtaining usage habit information in the programmable key detection system, performing programming tests and feedback analysis, the problem that manual detection is susceptible to subjective factors is solved, and the fast, accurate and comprehensive quality detection of programmable keys is achieved, and the detection is improved Efficiency and accuracy.
Patent Information
- Application Number
- CN202311582671.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-24
- Publication Date
- 2025-02-14
- Estimated Expiration
- 2043-11-24
AI Technical Summary
Manual detection methods are easily affected by subjective factors and often only conduct detection for a certain performance. They lack comprehensive detection of the comprehensive performance of programmable keys. They also lack consideration for environmental adaptability testing, and cannot fully simulate the actual usage environment.
Provides a method and system for application quality detection of programmable keys. By obtaining usage habit information, programming tests and feedback analysis, calculating applicable scores and applicability, optimizing programming position until preset programming conditions are reached, the output is the highest applicability. and the maximum applicability of the program and the detection results are analyzed by the quality analysis unit.
It realizes the quality of programmable keys quickly and accurately, improves detection efficiency, avoids errors in manual detection, and can comprehensively evaluate the comprehensive performance and environmental adaptability of programmable keyboards.
Smart Images

Figure CN117591354B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of quality detection, and in particular to a method and system for detecting the application quality of programmable buttons. Background Art
[0002] With the continuous development of science and technology, programmable buttons are increasingly used in various fields, such as smart home, industrial control, medical equipment, etc. These buttons can be programmed according to user needs to achieve different functions. However, as the application scope of programmable buttons continues to expand, its quality inspection method has become increasingly important. Traditional quality inspection methods often use manual inspection, which is not only inefficient but also prone to errors. The manual inspection method is easily affected by subjective factors, such as fatigue and errors of the visual, auditory, and tactile senses of the inspectors, which will lead to low accuracy of the inspection results. Often only one aspect of performance is tested, such as key life, key feel, key sound, etc., and there is a lack of comprehensive inspection of the comprehensive performance of programmable buttons. Programmable buttons will encounter the influence of various environmental conditions in actual use, such as temperature, humidity, air pressure, etc., and the environmental adaptability test is not considered enough, and the actual use environment cannot be fully simulated. Therefore, it is imperative to develop an efficient and accurate programmable button application quality inspection method.
[0003] However, in the process of implementing the technical solution of the invention in the embodiment of the present application, it is found that the above technology has at least the following technical problems:
[0004] Manual detection methods are easily affected by subjective factors and often only test a certain performance. There is a lack of comprehensive testing of the comprehensive performance of programmable buttons and insufficient consideration of environmental adaptability testing, making it impossible to fully simulate the actual usage environment. Summary of the invention
[0005] This application mainly solves the problem that manual detection methods are easily affected by subjective factors, often only test a certain performance, lack comprehensive testing of the comprehensive performance of programmable buttons, and insufficient consideration of environmental adaptability testing, and cannot fully simulate the actual usage environment.
[0006] In view of the above problems, the present application provides a method and system for detecting the application quality of programmable keys. In the first aspect, the present application provides a method for detecting the application quality of programmable keys, the method comprising: obtaining usage habit information of a current programmable keyboard, wherein the usage habit information includes a preset number of multiple key functions and multiple application degree information; randomly programming the multiple key functions in the programmable keyboard through the programming test unit to obtain multiple first programming positions, and calculating a first applicability score based on the multiple first programming positions; performing a key feedback comfort analysis and a key feedback sensitivity test based on the multiple first programming positions through the key feedback test unit. degree analysis to obtain multiple first feedback comforts and multiple first feedback sensitivities, and in combination with the multiple application degree information, calculate to obtain a first key score, and in combination with the first applicability score, calculate to obtain a first applicability; continue to program the multiple key functions in the programmable keyboard to obtain multiple second programming positions, and process to obtain a second applicability; continue to program and optimize the multiple key functions until the preset programming conditions are met, and output multiple optimal programming positions with the highest applicability and the maximum applicability; through the quality analysis unit, according to the optimization speed of the multiple optimal programming positions obtained by optimization, combined with the maximum applicability, analyze and obtain the quality inspection result of the current programmable keyboard.
[0007] In a second aspect, the present application provides an application quality detection system for programmable keys, the system comprising: a usage habit information acquisition module, the usage habit information acquisition module being used to acquire usage habit information of a current programmable keyboard, wherein the usage habit information comprises a preset number of multiple key functions and multiple application degree information; a first applicability score calculation module, the first applicability score calculation module being used to randomly program the multiple key functions in the programmable keyboard through the programming test unit, obtain multiple first programming positions, and calculate a first applicability score based on the multiple first programming positions; a first applicability calculation module, the first applicability calculation module being used to perform a key feedback comfort analysis and a key feedback sensitivity analysis based on the multiple first programming positions through a key feedback test unit, and obtain multiple first feedback comfort scores. and multiple first feedback sensitivities, and in combination with the multiple application degree information, a first key score is calculated to obtain a first suitability is calculated in combination with the first applicability score; a second suitability acquisition module, the second suitability acquisition module is used to continue programming the multiple key functions in the programmable keyboard, obtain multiple second programming positions, and process to obtain a second suitability; a maximum suitability acquisition module, the maximum suitability acquisition module is used to continue programming and optimizing multiple key functions until the preset programming conditions are met, and output multiple optimal programming positions with the highest suitability and the maximum suitability; a quality detection result acquisition module, the quality detection result acquisition module is used to obtain the optimization speed of the multiple optimal programming positions according to the optimization through the quality analysis unit, and in combination with the maximum suitability, analyze and obtain the quality detection result of the current programmable keyboard.
[0008] One or more technical solutions provided in this application have at least the following technical effects or advantages:
[0009] The present application provides an application quality detection method and system for programmable keys, which relate to the field of quality detection technology. The method comprises: obtaining usage habit information, and then performing random programming through a programming test unit, obtaining multiple first programming positions, calculating a first applicability score, performing feedback comfort analysis and key feedback sensitivity analysis, calculating a first applicability and a second applicability, performing key optimization to output a maximum applicability, and obtaining a quality detection result through analysis by a quality analysis unit.
[0010] This application mainly solves the problem that manual detection methods are easily affected by subjective factors, often only test a certain performance, lack comprehensive testing of the comprehensive performance of programmable keys, and insufficient consideration of environmental adaptability testing, and cannot fully simulate the actual use environment. It can quickly and accurately detect the quality of programmable keys, improve detection efficiency, and avoid errors in manual detection.
[0011] The above description is only an overview of the technical solution of the present application. In order to more clearly understand the technical means of the present application, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the present application more obvious and easy to understand, the specific implementation methods of the present application are listed below. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] In order to more clearly illustrate the technical solutions in the present application or 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 in the following description are only exemplary, and for ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0013] Figure 1 A schematic flow chart of a method for detecting application quality of programmable keys is provided for an embodiment of the present application;
[0014] Figure 2 A schematic flow chart of a method for producing usage habit information in a method for detecting application quality of programmable keys is provided for an embodiment of the present application;
[0015] Figure 3 A schematic flow chart of a method for obtaining a first key score in a method for detecting application quality of a programmable key is provided for an embodiment of the present application;
[0016] Figure 4 A structural diagram of an application quality detection system for programmable keys is provided for an embodiment of the present application.
[0017] Explanation of the reference numerals: usage habit information acquisition module 10 , first applicability score calculation module 20 , first applicability calculation module 30 , second applicability acquisition module 40 , maximum applicability acquisition module 50 , quality detection result acquisition module 60 . DETAILED DESCRIPTION
[0018] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0019] This application mainly solves the problem that manual detection methods are easily affected by subjective factors, often only test a certain performance, lack comprehensive testing of the comprehensive performance of programmable keys, and insufficient consideration of environmental adaptability testing, and cannot fully simulate the actual use environment. It can quickly and accurately detect the quality of programmable keys, improve detection efficiency, and avoid errors in manual detection.
[0020] In order to better understand the above technical solution, the above solution will be described in detail below in conjunction with the accompanying drawings and specific implementation methods:
[0021] Embodiment 1
[0022] like Figure 1 The programmable key application quality detection method is applied to an application quality detection device of a programmable keyboard, the device includes a programming test unit, a key feedback test unit, and a quality analysis unit, and the method includes:
[0023] Acquire usage habit information of the current programmable keyboard, wherein the usage habit information includes a preset number of key functions and a plurality of application information;
[0024] Specifically, it is necessary to obtain the usage habit information of the current programmable keyboard, including a preset number of multiple key functions and multiple application degree information, and record the key operations of the user when using the programmable keyboard, including the keys pressed and the keys released. According to the key operations, determine the key functions used by the user when using the programmable keyboard, and record these key functions. According to the records of the key functions, calculate the number of times the user references each key function, that is, the frequency of the user using the key function. According to the number of references, calculate the user's dependence on each key function, that is, the user's preference for each key function. Save the key function and the corresponding dependence information as usage habit information. Through the above steps, the usage habit information of the current programmable keyboard can be obtained, including a preset number of multiple key functions and multiple application degree information. This information can be used to further analyze the user's usage habits, optimize the programming settings of the programmable keyboard, and improve the user's usage efficiency and comfort.
[0025] The programming test unit randomly programs the plurality of key functions in the programmable keyboard to obtain a plurality of first programming positions, and calculates and obtains a first applicability score according to the plurality of first programming positions;
[0026] Specifically, through the programming test unit, multiple key functions can be randomly programmed in the programmable keyboard to obtain multiple first programming positions. According to the multiple first programming positions, the first applicability score can be calculated. The programming test unit can program the keys of the programmable keyboard in sequence according to the randomly generated key function sequence, record the position where each key is programmed, and form multiple first programming positions. Then, according to the key function and usage frequency of each first programming position, the applicability score of each first programming position can be calculated. When calculating the first applicability score, factors such as the frequency of use of the key function, the rationality of the key position, and the user's dependence on the key function are included. For example, if a certain key function is frequently used, then the applicability score of the key position is relatively high, such as the position where the hand is generally placed on the keyboard when not operating, such as the WASD position of a general keyboard. If the setting of a certain key position is not user-friendly or inconvenient to use, then the applicability score of the key position is relatively low. By calculating the first applicability score, it is possible to evaluate whether the programming setting of the programmable keyboard meets the user's usage habits and needs, thereby guiding the user to optimize the setting of the programmable keyboard and improve the user's usage efficiency and comfort.
[0027] By means of a key feedback testing unit, based on the plurality of first programming positions, a key feedback comfort analysis and a key feedback sensitivity analysis are performed to obtain a plurality of first feedback comfort levels and a plurality of first feedback sensitivities, and a first key score is calculated in combination with the plurality of application degree information, and a first application degree is calculated in combination with the first application score;
[0028] Specifically, through the key feedback test unit, the key feedback comfort and key feedback sensitivity of multiple first programming positions can be analyzed to obtain multiple first feedback comfort and multiple first feedback sensitivities. Combined with multiple application information, the first key score can be calculated. Combined with the first applicability score, the first applicability can be calculated. The key feedback test unit can simulate the process of the user using the programmable keyboard and record the user's feelings of key feedback comfort and key feedback sensitivity during use, thereby obtaining multiple first feedback comfort and multiple first feedback sensitivities. These feedback information can be used to evaluate whether the key feedback effect of the programmable keyboard meets the user's usage habits and needs. According to multiple first feedback comforts and multiple first feedback sensitivities, as well as multiple application information, the comprehensive score of each key, i.e., the first key score, can be calculated. The first applicability can be understood as the applicability of the programmable keyboard in meeting the user's usage habits and needs, which can be calculated based on the first applicability score and the first key score. By calculating the first applicability, the comprehensive performance of the programmable keyboard in terms of usage habits, application degree and key feedback can be comprehensively evaluated, thereby guiding the user to optimize the settings of the programmable keyboard and improve the user's usage efficiency and comfort. The first applicability score is calculated based on the usage habit information of the programmable keyboard, which reflects the user's comprehensive evaluation of the efficiency and comfort of using the programmable keyboard. The higher the first applicability score, the better the user's experience with the programmable keyboard. The first applicability is the result of combining the first applicability score and the key feedback test unit. It not only takes into account the user's usage habits and efficiency, but also the user's feedback comfort and sensitivity during use. The higher the first applicability, the better the programmable keyboard performs in meeting user needs. By calculating the first applicability, you can have a more comprehensive understanding of the user's experience and satisfaction with the programmable keyboard, so as to better optimize the keyboard's programming settings and improve the user's efficiency and comfort.
[0029] Continue programming the plurality of key functions in the programmable keyboard to obtain a plurality of second programming positions, and process to obtain a second degree of suitability;
[0030] Specifically, the acquisition and calculation of the second suitability can be based on the key functions and usage frequencies of multiple second programming positions, combined with the key feedback comfort and key feedback sensitivity obtained by the key feedback test unit. Based on the key functions and usage frequencies of multiple second programming positions, the suitability score of each second programming position is calculated. This score can reflect the user's comprehensive evaluation of the programming settings and usage efficiency of the programmable keyboard. Combined with the key feedback comfort and key feedback sensitivity obtained by the key feedback test unit, the suitability score of each second programming position is corrected and optimized. For example, if the key feedback comfort of a second programming position is low, the suitability score of the position can be appropriately reduced; if the key feedback sensitivity of a second programming position is high, the suitability score of the position can be appropriately increased. According to the corrected and optimized suitability scores, the overall suitability of multiple second programming positions is calculated, that is, the second suitability. This suitability can reflect the comprehensive performance of the programmable keyboard in meeting user needs, including factors such as programming settings and user feedback. By acquiring and calculating the second suitability, the application quality of the programmable keyboard can be further evaluated, and users can be guided to optimize settings to improve the user experience.
[0031] Continue programming and optimizing multiple key functions until the preset programming conditions are met, and output multiple optimal programming positions with the highest applicability and the maximum applicability;
[0032] Specifically, when continuing to program and optimize multiple key functions, a preset programming condition can be set, such as reaching a preset number of key presses, user satisfaction, etc. When this preset condition is reached, multiple optimal programming positions with the highest applicability and the maximum applicability can be output. Continue programming multiple key functions to obtain a new second programming position. Calculate the applicability score and the second applicability of the new second programming position. Compare the applicability score and the second applicability of the new second programming position with the previous applicability score and the second applicability to determine whether optimization and adjustment are required. If optimization and adjustment are required, the new second programming position is corrected and optimized in combination with information such as the key feedback comfort and key feedback sensitivity obtained by the key feedback test unit, and the applicability score and the second applicability are recalculated. If optimization and adjustment are not required, or the preset programming condition is reached, multiple optimal programming positions with the highest applicability and the maximum applicability are output. Through the above steps, programming and optimization of multiple key functions can be continuously performed until the preset programming condition is reached, and multiple optimal programming positions with the highest applicability and the maximum applicability are output.
[0033] Through the quality analysis unit, the optimized speeds of the multiple optimal programming positions are obtained according to the optimization, and combined with the maximum applicability, the quality detection result of the current programmable keyboard is analyzed and obtained.
[0034] Specifically, through the quality analysis unit, the optimization speed of multiple optimal programming positions can be obtained according to the optimization, and the quality test results of the current programmable keyboard can be obtained by analysis in combination with the maximum applicability. Optimization speed analysis: According to the optimization speed of multiple optimal programming positions, the efficiency and quality of the optimization algorithm and program of the programmable keyboard can be analyzed. If the optimization speed is slow, the optimization algorithm or program may need to be improved. If the optimization speed is fast, it means that the quality of the algorithm and program is high. Maximum applicability evaluation: Combined with the maximum applicability, the comprehensive performance of the programmable keyboard in meeting the user's use needs can be evaluated. The higher the maximum applicability, the better the quality of the programmable keyboard. Key function applicability analysis: By analyzing the applicability of the key functions of multiple optimal programming positions, it can be evaluated whether the key functions of the programmable keyboard meet the user's use needs and habits. If the key function applicability is high, it means that the quality of the programmable keyboard is good. Feedback comfort and sensitivity analysis: Through the key feedback comfort and key feedback sensitivity obtained by the key feedback test unit, the feedback effect and quality of the programmable keyboard during use can be analyzed. If the feedback comfort and sensitivity are high, it means that the quality of the programmable keyboard is good. In conclusion, through the analysis of the quality analysis unit, the quality inspection result of the current programmable keyboard can be obtained.
[0035] Furthermore, if Figure 2 As shown, the present application method obtains the usage habit information of the current programmable keyboard usage, including:
[0036] Get all key functions currently used on the programmable keyboard;
[0037] Based on the number of times all key functions have been used in the historical period, all application information is calculated;
[0038] According to the size of the application degree information, the information is sorted from large to small, and a preset number of key functions and application degree information are selected to generate the usage habit information.
[0039] Specifically, all key operations of the user when using the programmable keyboard are recorded, including the keys pressed and the keys released. According to the recorded key operations, all the pressed key functions are extracted. The extracted key functions are stored as all the key functions currently used by the programmable keyboard. All key operation data of the user when using the programmable keyboard in the historical time are collected. According to the collected key operation data, the number of times each key function is used is counted. According to the number of times each key function is used, its application degree information is calculated. The application degree information can be expressed as the user's dependence on each key function or the frequency of use. The calculated application degree information is stored as the application degree information currently used by the programmable keyboard. All key functions and application degree information are taken out. According to the size of the application degree information, all key functions are sorted. According to the preset number, the key functions and application degree information that are ranked in front are selected. The selected key functions and application degree information are stored as the usage habit information currently used by the programmable keyboard. Through the above steps, all the key functions currently used by the programmable keyboard can be obtained, and all the application degree information can be calculated based on the number of times all the key functions are used in the historical time. Then, the application degree information is sorted from large to small according to its size, and a preset number of key functions and application degree information are selected to generate usage habit information.
[0040] Furthermore, the method of the present application calculates and obtains a first applicability score according to the plurality of first programming positions, including:
[0041] Obtaining a preset operation position of the programmable keyboard;
[0042] Acquire a plurality of first distances between the plurality of first programming positions and the preset operation position, and calculate and obtain a plurality of first distance scores;
[0043] The plurality of application degree information is used to perform correction calculation on the plurality of first distance scores to obtain a plurality of first applicability scores.
[0044] Specifically, the preset operation position of the programmable keyboard is obtained, and the layout and key positions of the programmable keyboard are determined. One or more preset operation positions are selected according to the user's usage habits and needs. The selected preset operation positions are stored as the preset operation positions of the current programmable keyboard. The multiple first programming positions and multiple first distances of the preset operation positions are obtained, and the position information of the user pressing and releasing the keys when using the programmable keyboard is recorded. According to the recorded position information, the position coordinates of each key are extracted. For each first programming position, the distance between it and the preset operation position is calculated. The calculated distances are stored as multiple first distances. Multiple first distance scores are calculated and converted into corresponding score values according to each first distance. The score value of each first distance is stored as multiple first distance scores. The multiple application degree information is used to correct and calculate the multiple first distance scores to obtain multiple first applicable scores, and the applicable score of each first programming position is calculated according to each first distance score and the application degree information. The applicable score of each first programming position is stored as multiple first applicable scores. Through the above steps, the preset operation position of the programmable keyboard, and multiple first distances between multiple first programming positions and the preset operation position can be obtained, and multiple first distance scores can be calculated. Then, multiple application degree information is used to correct and calculate the multiple first distance scores to obtain multiple first application scores. This information can be used to optimize the programming settings of the programmable keyboard and improve the user's efficiency and comfort.
[0045] Furthermore, if Figure 3 As shown, the method of the present application performs a key feedback comfort analysis and a key feedback sensitivity analysis based on the multiple first programming positions through a key feedback testing unit to obtain multiple first feedback comfort levels and multiple first feedback sensitivities, and calculates and obtains a first key score in combination with the multiple application degree information, including:
[0046] Performing a key pressure test on the keys at the plurality of first programming positions to obtain a plurality of key pressure information;
[0047] Performing a key feedback speed test on the keys at the plurality of first programming positions to obtain a plurality of key feedback speed information;
[0048] According to the plurality of key pressure information and the plurality of key feedback speed information, respectively perform key feedback comfort analysis and key feedback sensitivity analysis to obtain the plurality of first feedback comfort levels and the plurality of first feedback sensitivities;
[0049] Based on the multiple application degree information, weighted calculation is performed on the multiple first feedback comfort levels and the multiple first feedback sensitivities to obtain the first button score.
[0050] Specifically, a key pressure test and a key feedback speed test are performed on the keys of the multiple first programming positions, and multiple key pressure information and multiple key feedback speed information can be obtained respectively. A key feedback comfort analysis and a key feedback sensitivity analysis are performed, and the feedback strength and comfort of each key are analyzed according to the key pressure information. For example, if the feedback strength of a key is too large or too small, it may affect the user's comfort. According to the key feedback speed information, the feedback speed and sensitivity of each key are analyzed. For example, if the feedback speed of a key is too slow or too fast, it may affect the user's operating efficiency and accuracy. According to the analysis results, the feedback comfort and sensitivity of each key in the first programming position are evaluated to obtain multiple first feedback comforts and multiple first feedback sensitivities. Based on multiple application degree information, multiple first feedback comforts and multiple first feedback sensitivities are weighted and calculated to obtain a first key score. This score can reflect the user's comprehensive evaluation of the efficiency and comfort of using the programmable keyboard. According to each first feedback comfort and each first feedback sensitivity, the corresponding weight is determined. For example, if the user pays more attention to comfort, the weight of the first feedback comfort can be set higher. According to the weight and application information, each first feedback comfort and each first feedback sensitivity are weightedly calculated. For example, if the weight of a first feedback comfort is 0.6 and its application information is 0.8, then it can be weighted to obtain a score of 0.6*0.8=0.48. Add the weighted calculation results of all first feedback comforts and first feedback sensitivities to obtain the first key score. This score can reflect the user's overall experience and evaluation of the programmable keyboard. Through the above steps, the keys of multiple first programming positions can be comprehensively tested and analyzed to obtain multiple first feedback comforts and multiple first feedback sensitivities, and the first key score can be obtained by weighted calculation based on multiple application information. This information can be used to optimize the programming settings of the programmable keyboard and improve the user's usage efficiency and comfort.
[0051] Furthermore, the method of the present application performs a key feedback comfort analysis and a key feedback sensitivity analysis respectively according to the plurality of key pressure information and the plurality of key feedback speed information, including:
[0052] Obtain a sample key pressure information set and a sample key feedback speed information set, and evaluate and obtain a sample feedback comfort set and a sample feedback sensitivity set;
[0053] Using the sample key pressure information set and the sample feedback comfort set, training and acquiring a comfort analysis branch;
[0054] Using the sample key feedback speed information set and the sample feedback sensitivity set, training to obtain a sensitivity analysis branch;
[0055] Integrate the comfort analysis branch and the sensitivity analysis branch to obtain a key analyzer;
[0056] The plurality of key pressure information and the plurality of key feedback speed information are input into the key analyzer to obtain the plurality of first feedback comfort levels and the plurality of first feedback sensitivities.
[0057] Specifically, a sample key pressure information set and a sample key feedback speed information set are obtained, and a sample feedback comfort set and a sample feedback sensitivity set are obtained by evaluating, and a set of sample data is collected, including the key pressure information and key feedback speed information of each sample. These data can be obtained through the actual use and testing of the programmable keyboard. Based on these sample data, the feedback comfort and feedback sensitivity of each sample are evaluated. The evaluation method can be carried out according to actual needs and standards, for example, based on factors such as the user's subjective feelings, the keyboard's key response speed, and the touch of the keys. The sample key pressure information set, the sample key feedback speed information set, the sample feedback comfort set, and the sample feedback sensitivity set are used as training data for training the comfort analysis branch and the sensitivity analysis branch. The sample key pressure information set and the sample feedback comfort set are used to train the comfort analysis branch, and the sample key pressure information set and the sample feedback comfort set are used as training data and input into the comfort analysis branch. Use a suitable machine learning algorithm, such as a decision tree, a neural network, etc., to learn and build a model for the training data. Through the training and evaluation of the model, a comfort analysis branch that can predict feedback comfort based on key pressure information is obtained. A sample key feedback speed information set and a sample feedback sensitivity set are used to train and obtain a sensitivity analysis branch, and the sample key feedback speed information set and the sample feedback sensitivity set are used as training data and input into the sensitivity analysis branch. A suitable machine learning algorithm, such as a decision tree, a neural network, etc., is used to learn and build a model for the training data. Through the training and evaluation of the model, a sensitivity analysis branch that can predict feedback sensitivity according to the key feedback speed information is obtained. The comfort analysis branch and the sensitivity analysis branch are integrated to obtain a key analyzer, and the comfort analysis branch and the sensitivity analysis branch are integrated together to form a complete key analyzer. The key analyzer is tested and evaluated to ensure that it can accurately analyze multiple key pressure information and multiple key feedback speed information, and output corresponding multiple first feedback comforts and multiple first feedback sensitivities. Multiple key pressure information and multiple key feedback speed information are input into the key analyzer, and multiple key pressure information and multiple key feedback speed information are collected as input data. The input data is input into the key analyzer. The key analyzer analyzes according to the input data and the internal model, and outputs corresponding multiple first feedback comforts and multiple first feedback sensitivities. Through the above steps, a sample key pressure information set and a sample key feedback speed information set can be obtained, and a sample feedback comfort set and a sample feedback sensitivity set can be evaluated. Then, these sample data are used to train the comfort analysis branch and the sensitivity analysis branch respectively, and they are integrated into a complete key analyzer. Finally, multiple key pressure information and multiple key feedback speed information are input into the key analyzer to obtain corresponding multiple first feedback comforts and multiple first feedback sensitivities.
[0058] Furthermore, the method of the present application continues to randomly program the plurality of key functions in the programmable keyboard to obtain a plurality of second programming positions, including:
[0059] According to the ratio of the first applicable score to the preset applicable score, a correction calculation and rounding of the preset adjustment step length for adjusting the programming position are performed to obtain a corrected adjustment step length;
[0060] Performing position adjustment programming on the plurality of key functions in the programmable keyboard with the corrected adjustment step length to obtain a plurality of second programming positions;
[0061] Determine whether the second suitability is greater than the first suitability. If so, use multiple second programming positions as the basis for the next programming. If not, use multiple second programming positions as the basis for the next programming according to probability, and the probability decreases as the number of optimizations increases.
[0062] Specifically, according to the ratio of the first applicable score to the preset applicable score, the preset adjustment step length of the adjustment programming position is corrected and rounded to obtain the corrected adjustment step length, and the first applicable score is obtained, which is calculated according to multiple key pressure information and multiple key feedback speed information. The preset applicable score is obtained, which is preset and used for comparison with the first applicable score. According to the ratio of the first applicable score to the preset applicable score, a correction coefficient is calculated, and the coefficient is used to correct the preset adjustment step length. The preset adjustment step length is corrected and calculated to obtain the corrected adjustment step length. The correction calculation can be multiplied by the correction coefficient or added by the correction coefficient multiplied by the value of the preset adjustment step length. The corrected adjustment step length is rounded to obtain the corrected adjustment step length of the integer value. The rounding operation can be rounding, rounding up or rounding down, etc. The position adjustment programming of multiple key functions in the programmable keyboard is performed with the corrected adjustment step length to obtain multiple second programming positions, and the current programming position of the programmable keyboard, that is, the initial position of multiple key functions, is obtained. According to the corrected adjustment step length, the programming position of each key function is adjusted. The adjustment may be to increase or decrease the value of the correction adjustment step length, which is specifically determined according to the position of the key function and the positive or negative of the correction adjustment step length. The adjusted programming position is stored as multiple second programming positions. When the programmable keyboard executes the user input, it will respond to the key function according to the second programming position. It is determined whether the second suitability is greater than the first suitability, and the second suitability can be obtained, which is calculated according to the second suitability score. The first suitability is obtained, which is calculated according to the first suitability score. The magnitude relationship between the second suitability and the first suitability is compared. If the second suitability is greater than the first suitability, it means that the optimized programming position is more in line with the user's needs. If the second suitability is greater than the first suitability, multiple second programming positions are used as the basis for the next programming, so that the programming settings of the keyboard can be continuously optimized. If the second suitability is not greater than the first suitability, multiple second programming positions are used as the basis for the next programming according to probability. The probability can be adjusted according to the number of optimizations, and decreases as the number of optimizations increases, so as to gradually approach the optimal solution. Through the above steps, it can be determined whether the second suitability is greater than the first suitability, and a suitable programming position can be selected as the basis for the next programming according to the judgment result. In this way, the programming settings of the programmable keyboard can be gradually optimized to improve the user's efficiency and comfort.
[0063] Furthermore, the method of the present application, through the quality analysis unit, obtains the optimization speed of the multiple optimal programming positions according to the optimization, combines the maximum applicability, and analyzes and obtains the quality detection result of the current programmable keyboard, including:
[0064] Obtain a sample optimization speed set and a sample maximum applicability set, and evaluate and obtain a sample quality test result set, where each sample quality test result includes a quality grade;
[0065] The optimization speed and maximum fitness are used as decision features. Based on the decision tree algorithm, a quality detector is constructed according to the sample optimization speed set, the sample maximum fitness set and the sample quality detection result set.
[0066] The quality detector is used to make decision classification on the optimization speed and the maximum applicability to obtain the quality detection result.
[0067] Specifically, a sample optimization speed set and a sample maximum fitness set are obtained, and a sample quality detection result set is obtained by evaluation. Each sample quality detection result includes a quality grade. A set of sample data is collected, including the optimization speed and maximum fitness of each sample. These data can be obtained through the actual use and testing of the programmable keyboard. Based on these sample data, the quality grade of each sample is calculated. The quality grade can be evaluated according to actual needs and standards, for example, based on factors such as the keyboard's key response speed, key comfort, and durability. The sample optimization speed set, the sample maximum fitness set, and the quality grade detection result set are used as training data to build a quality detection model. Next, a decision tree algorithm can be used to build a quality detection model, with the sample optimization speed set and the sample maximum fitness set as input features and the sample quality grade detection result set as the target output. A decision tree algorithm is used to build a decision tree model based on the input features and the target output to form a quality detector. A new set of optimization speed and maximum fitness data is collected as samples to be classified. The samples to be classified are input into the quality detector, that is, the constructed decision tree model is used. The quality detector will classify the input samples according to the decision tree model and output the corresponding quality grade results. The output quality grade results can be stored or used for other purposes, such as evaluating product performance, improving production processes, etc. Through the above steps, the quality detector can be used to make decisions and classify the new optimization speed and maximum fitness data to obtain corresponding quality test results. These results can be used to evaluate the quality grade and performance of the product. Through the above steps, the sample optimization speed set and the sample maximum fitness set can be obtained, and the sample quality test result set can be obtained by evaluation. Then, the decision tree algorithm is used to construct a quality detector, and the detector is used to make decisions and classify the new optimization speed and maximum fitness to obtain corresponding quality test results. These results can be used to evaluate the quality grade and performance of the programmable keyboard.
[0068] Embodiment 2
[0069] Based on the same inventive concept as the method for detecting application quality of programmable keys in the aforementioned embodiment, Figure 4 As shown, the present application provides an application quality detection system for programmable keys, the system comprising:
[0070] A usage habit information acquisition module 10, the usage habit information acquisition module 10 is used to acquire usage habit information of the current programmable keyboard, wherein the usage habit information includes a preset number of key functions and a plurality of application information;
[0071] A first applicability score calculation module 20, the first applicability score calculation module 20 is used to randomly program the plurality of key functions in the programmable keyboard through the programming test unit to obtain a plurality of first programming positions, and calculate a first applicability score according to the plurality of first programming positions;
[0072] A first suitability calculation module 30, the first suitability calculation module 30 is used to perform a key feedback comfort analysis and a key feedback sensitivity analysis based on the plurality of first programming positions through a key feedback test unit, obtain a plurality of first feedback comforts and a plurality of first feedback sensitivities, and calculate a first key score in combination with the plurality of application degree information, and calculate a first suitability in combination with the first suitability score;
[0073] A second fitness obtaining module 40, the second fitness obtaining module 40 is used to continue programming the plurality of key functions in the programmable keyboard, obtain a plurality of second programming positions, and process and obtain a second fitness;
[0074] A maximum applicability acquisition module 50, which is used to continue programming and optimizing multiple key functions until a preset programming condition is reached, and output multiple optimal programming positions with the highest applicability and the maximum applicability;
[0075] The quality inspection result acquisition module 60 is used to obtain the optimized speed of the multiple optimal programming positions through the quality analysis unit according to the optimization, and analyze and obtain the quality inspection result of the current programmable keyboard in combination with the maximum applicability.
[0076] Furthermore, the system also includes:
[0077] The usage habit information acquisition module is used to obtain all key functions currently used on the programmable keyboard; based on the number of times all key functions are used in the historical time, all application degree information is calculated; according to the size of the application degree information, the key functions and application degree information are sorted from large to small, and a preset number of key functions and application degree information are selected to produce the usage habit information.
[0078] Furthermore, the system also includes:
[0079] The first applicability score acquisition module is used to obtain the preset operation position of the programmable keyboard; obtain multiple first distances between the multiple first programming positions and the preset operation position, and calculate multiple first distance scores; use the multiple application degree information to correct and calculate the multiple first distance scores to obtain multiple first applicability scores.
[0080] Furthermore, the system also includes:
[0081] The first key score acquisition module is used to perform key pressure tests on the keys of the multiple first programming positions to obtain multiple key pressure information; perform key feedback speed tests on the keys of the multiple first programming positions to obtain multiple key feedback speed information; perform key feedback comfort analysis and key feedback sensitivity analysis according to the multiple key pressure information and the multiple key feedback speed information, respectively, to obtain the multiple first feedback comforts and the multiple first feedback sensitivities; based on the multiple application degree information, perform weighted calculations on the multiple first feedback comforts and the multiple first feedback sensitivities to obtain the first key score.
[0082] Furthermore, the system also includes:
[0083] The first feedback sensitivity acquisition module is used to acquire a sample key pressure information set and a sample key feedback speed information set, and evaluate and acquire a sample feedback comfort set and a sample feedback sensitivity set; use the sample key pressure information set and the sample feedback comfort set to train and acquire a comfort analysis branch; use the sample key feedback speed information set and the sample feedback sensitivity set to train and acquire a sensitivity analysis branch; integrate the comfort analysis branch and the sensitivity analysis branch to obtain a key analyzer; input the multiple key pressure information and the multiple key feedback speed information into the key analyzer to obtain the multiple first feedback comforts and the multiple first feedback sensitivities.
[0084] Furthermore, the system also includes:
[0085] The second programming position acquisition module is used to perform correction calculation and rounding on the preset adjustment step of adjusting the programming position according to the ratio of the first applicability score to the preset applicability score to obtain the corrected adjustment step; perform position adjustment programming on the multiple key functions in the programmable keyboard with the corrected adjustment step to obtain multiple second programming positions; determine whether the second applicability is greater than the first applicability, and if so, use the multiple second programming positions as the basis for the next programming; if not, use the multiple second programming positions as the basis for the next programming according to probability, and the probability decreases with the increase of the number of optimization times.
[0086] Furthermore, the system also includes:
[0087] The quality detection result acquisition module is used to obtain a sample optimization speed set and a sample maximum fitness set, and evaluate and obtain a sample quality detection result set, each sample quality detection result including a quality grade; using the optimization speed and maximum fitness as decision features, based on a decision tree algorithm, a quality detector is constructed according to the sample optimization speed set, the sample maximum fitness set and the sample quality detection result set; using the quality detector, decision classification is performed on the optimization speed and maximum fitness to obtain the quality detection result.
[0088] Through the detailed description of the application quality detection method for programmable keys mentioned above, the technical personnel in this field can clearly understand the application quality detection system for programmable keys in this embodiment. For the system disclosed in the embodiment, since it corresponds to the device disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part description.
[0089] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for detecting the application quality of a programmable key, characterized in that: The method is applied to an application quality detection device of a programmable keyboard, the device comprising a programming test unit, a key feedback test unit, and a quality analysis unit, and the method comprises: Acquire usage habit information of the current programmable keyboard, wherein the usage habit information includes a preset number of key functions and a plurality of application information; The plurality of key functions are randomly programmed in the programmable keyboard by a programming test unit to obtain a plurality of first programming positions, and a first applicability score is calculated according to the plurality of first programming positions; By means of a key feedback testing unit, based on the plurality of first programming positions, a key feedback comfort analysis and a key feedback sensitivity analysis are performed to obtain a plurality of first feedback comfort levels and a plurality of first feedback sensitivities, and a first key score is calculated in combination with the plurality of application degree information, and a first application degree is calculated in combination with the first application score; Continue programming the plurality of key functions in the programmable keyboard to obtain a plurality of second programming positions, and process to obtain a second degree of suitability; Continue programming and optimizing multiple key functions until the preset programming conditions are met, and output multiple optimal programming positions with the highest applicability and the maximum applicability; By means of a quality analysis unit, the optimization speeds of the plurality of optimal programming positions are obtained according to the optimization, and the quality detection result of the current programmable keyboard is obtained by analysis in combination with the maximum applicability; The step of calculating a first applicability score according to the plurality of first programming positions comprises: Obtaining a preset operation position of the programmable keyboard; Acquire a plurality of first distances between the plurality of first programming positions and the preset operation position, and calculate and obtain a plurality of first distance scores; Using the plurality of application degree information, performing correction calculation on the plurality of first distance scores to obtain a plurality of first applicability scores; The key feedback comfort level analysis and key feedback sensitivity analysis are performed based on the plurality of first programming positions by the key feedback testing unit to obtain a plurality of first feedback comfort levels and a plurality of first feedback sensitivities, and the first key scores are calculated in combination with the plurality of application degree information, including: Performing a key pressure test on the keys at the plurality of first programming positions to obtain a plurality of key pressure information; Performing a key feedback speed test on the keys at the plurality of first programming positions to obtain a plurality of key feedback speed information; According to the plurality of key pressure information and the plurality of key feedback speed information, respectively perform key feedback comfort analysis and key feedback sensitivity analysis to obtain the plurality of first feedback comfort levels and the plurality of first feedback sensitivities; Based on the multiple application degree information, weighted calculation is performed on the multiple first feedback comfort levels and the multiple first feedback sensitivities to obtain the first button score.
2. The method according to claim 1, characterized in that Get the usage information of the current programmable keyboard, including: Get all key functions currently used on the programmable keyboard; Based on the number of times all key functions have been used in the historical period, all application information is calculated; According to the size of the application degree information, the information is sorted from large to small, and a preset number of key functions and application degree information are selected to generate the usage habit information.
3. The method according to claim 1, characterized in that According to the plurality of key pressure information and the plurality of key feedback speed information, key feedback comfort analysis and key feedback sensitivity analysis are respectively performed, including: Obtain a sample key pressure information set and a sample key feedback speed information set, and evaluate and obtain a sample feedback comfort set and a sample feedback sensitivity set; Using the sample key pressure information set and the sample feedback comfort set, training and acquiring a comfort analysis branch; Using the sample key feedback speed information set and the sample feedback sensitivity set, training to obtain a sensitivity analysis branch; Integrate the comfort analysis branch and the sensitivity analysis branch to obtain a key analyzer; The plurality of key pressure information and the plurality of key feedback speed information are input into the key analyzer to obtain the plurality of first feedback comfort levels and the plurality of first feedback sensitivities.
4. The method according to claim 1, characterized in that Continuing to randomly program the plurality of key functions in the programmable keyboard to obtain a plurality of second programming positions, including: According to the ratio of the first applicable score to the preset applicable score, a correction calculation and rounding of the preset adjustment step length for adjusting the programming position are performed to obtain a corrected adjustment step length; Performing position adjustment programming on the plurality of key functions in the programmable keyboard with the corrected adjustment step length to obtain a plurality of second programming positions; Determine whether the second suitability is greater than the first suitability. If so, use multiple second programming positions as the basis for the next programming. If not, use multiple second programming positions as the basis for the next programming according to probability, and the probability decreases as the number of optimizations increases.
5. The method according to claim 1, characterized in that By means of a quality analysis unit, the optimization speeds of the plurality of optimal programming positions are obtained according to the optimization, and the quality detection result of the current programmable keyboard is obtained by analysis in combination with the maximum applicability, including: Obtain a sample optimization speed set and a sample maximum applicability set, and evaluate and obtain a sample quality test result set, where each sample quality test result includes a quality grade; The optimization speed and maximum fitness are used as decision features. Based on the decision tree algorithm, a quality detector is constructed according to the sample optimization speed set, the sample maximum fitness set and the sample quality detection result set. The quality detector is used to make decision classification on the optimization speed and the maximum applicability to obtain the quality detection result.
6. The application quality detection system of programmable keys is characterized by: The system comprises: A usage habit information acquisition module, the usage habit information acquisition module is used to acquire usage habit information of the current programmable keyboard, wherein the usage habit information includes a preset number of key functions and a plurality of application information; a first applicable score calculation module, the first applicable score calculation module being used to randomly program the plurality of key functions in the programmable keyboard through a programming test unit to obtain a plurality of first programming positions, and to calculate and obtain a first applicable score according to the plurality of first programming positions; A first suitability calculation module, the first suitability calculation module is used to perform a key feedback comfort analysis and a key feedback sensitivity analysis based on the plurality of first programming positions through a key feedback test unit, obtain a plurality of first feedback comforts and a plurality of first feedback sensitivities, and calculate a first key score in combination with the plurality of application degree information, and calculate a first suitability in combination with the first suitability score; A second fitness obtaining module, the second fitness obtaining module is used to continue programming the plurality of key functions in the programmable keyboard, obtain a plurality of second programming positions, and process and obtain a second fitness; A maximum applicability acquisition module, the maximum applicability acquisition module is used to continue programming and optimizing multiple key functions until a preset programming condition is reached, and output multiple optimal programming positions with the highest applicability and the maximum applicability; A quality inspection result acquisition module, the quality inspection result acquisition module is used to obtain the optimization speed of the multiple optimal programming positions according to the optimization through the quality analysis unit, and analyze and obtain the quality inspection result of the current programmable keyboard in combination with the maximum applicability; The step of calculating a first applicability score according to the plurality of first programming positions comprises: Obtaining a preset operation position of the programmable keyboard; Acquire a plurality of first distances between the plurality of first programming positions and the preset operation position, and calculate and obtain a plurality of first distance scores; Using the plurality of application degree information, performing correction calculation on the plurality of first distance scores to obtain a plurality of first applicability scores; The key feedback comfort level analysis and key feedback sensitivity analysis are performed based on the plurality of first programming positions by the key feedback testing unit to obtain a plurality of first feedback comfort levels and a plurality of first feedback sensitivities, and the first key scores are calculated in combination with the plurality of application degree information, including: Performing a key pressure test on the keys at the plurality of first programming positions to obtain a plurality of key pressure information; Performing a key feedback speed test on the keys at the plurality of first programming positions to obtain a plurality of key feedback speed information; According to the plurality of key pressure information and the plurality of key feedback speed information, respectively perform key feedback comfort analysis and key feedback sensitivity analysis to obtain the plurality of first feedback comfort levels and the plurality of first feedback sensitivities; Based on the multiple application degree information, weighted calculation is performed on the multiple first feedback comfort levels and the multiple first feedback sensitivities to obtain the first button score.
Citation Information
Patent Citations
Triggering device, method, apparatus and system for keyboard key test, equipment and medium
CN111352029A
Steel smelting quality detection method and system combined with use feedback
CN116205543A