An infrared remote control sensitivity threshold evaluation method, device, equipment and medium

By collecting and processing detection waveform information at the infrared remote control transmitter and combining it with preset judgment rules, the sensitivity threshold of the infrared receiver is quantitatively evaluated. This solves the problem of inaccurate evaluation caused by relying on high-cost instruments and manual operation in the existing technology, and provides a repeatable and quantifiable evaluation method.

CN122493645APending Publication Date: 2026-07-31SHENZHEN LFN TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
SHENZHEN LFN TECH CO LTD
Filing Date
2026-06-13
Publication Date
2026-07-31

AI Technical Summary

Technical Problem

Existing methods for evaluating infrared remote control receiving capabilities rely on expensive specialized instruments or manual operation, which limits their application in engineering mass production and field maintenance. Furthermore, test results are easily affected by operator techniques, environmental factors, and personnel differences, making it difficult to achieve repeatable and quantifiable evaluations.

Method used

By acquiring preset infrared remote control button frame information, the infrared remote control transmitter is controlled to transmit modulated signals, and reference detection waveform information is collected along the transmission path. Integral calculation and statistical processing are performed, and the sensitivity threshold is determined by combining preset judgment rules, thereby realizing a quantitative evaluation of the sensitivity of the infrared receiver.

Benefits of technology

Under the same conditions, the detection waveforms and recognition results of different emission drive parameter steps are statistically analyzed in a unified manner, reducing the fluctuations in results caused by manual distance and angle experiments, and realizing repeatable and quantifiable evaluation of the sensitivity threshold of the infrared receiver.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122493645A_ABST
    Figure CN122493645A_ABST
Patent Text Reader

Abstract

An infrared remote control sensitivity threshold evaluation method, apparatus, device, and medium are disclosed. The method includes acquiring reference detection waveform information along the transmission path of the infrared remote control transmitter, performing integral calculation on the reference detection waveform information to obtain equivalent transmission energy characterization value information, repeatedly transmitting preset infrared remote control button frame information at each step, simultaneously acquiring button recognition result information output by the infrared receiver, performing statistical processing on the button recognition result information to obtain recognition statistical result information corresponding to each step, comparing the recognition statistical result information with preset judgment rule information to determine the step information corresponding to the sensitivity threshold, and determining the sensitivity threshold information based on the step information corresponding to the sensitivity threshold. This invention effectively solves the problem of evaluating the receiving capability of an infrared receiver in a repeatable and quantifiable manner without relying on high-cost professional instruments.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the technical field of infrared remote control, and in particular to a method, apparatus, device, and medium for evaluating the sensitivity threshold of infrared remote control. Background Technology

[0002] Infrared remote control is a common human-computer interaction method for terminals such as home appliances, set-top boxes, air conditioners, and projection equipment. It is widely used due to its low cost, low power consumption, and mature usage habits. In practical applications, users' intuitive experience with infrared remote control is usually manifested in the controllable distance, controllable angle, and the stability of button response under different lighting conditions. Terminal manufacturers usually need to evaluate the receiving capability of the infrared receiver during the development and mass production stages to ensure that the remote control and terminal products can maintain stable button response under different usage scenarios.

[0003] Existing infrared receiving capability assessments largely rely on laboratory-level testing conditions or empirical methods. For example, they involve observing the waveforms of the transmitter or receiver using specialized optical power meters, oscilloscopes, or manually changing the remote control distance and angle and conducting functional tests based on whether the receiver can respond normally. While these methods can provide some reference during the R&D and verification phase, they have significant limitations in engineering mass production, batch consistency verification, and on-site maintenance scenarios. On the one hand, specialized instruments and equipment are expensive and have high operational barriers, making them difficult to deploy in production lines or after-sales scenarios for extended periods. On the other hand, when using manual distance or angle tests, the tests are greatly affected by factors such as the operator's technique, placement posture, environmental reflection, changes in external lighting, and the remote control's battery level. Test conclusions obtained by different personnel at different times are prone to deviation. Summary of the Invention

[0004] To address the challenge of evaluating the receiving capability of an infrared receiver in a repeatable and quantifiable manner without relying on expensive specialized instruments, this application provides a method, apparatus, device, and medium for evaluating the sensitivity threshold of infrared remote control.

[0005] The above-mentioned objective of this application is achieved through the following technical solution:

[0006] An infrared remote control sensitivity threshold evaluation method, the method comprising:

[0007] Obtain preset infrared remote control button frame information, and control the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information;

[0008] During the process of transmitting modulated infrared remote control signals at the infrared remote control transmitter, reference detection waveform information is collected along the transmission path of the infrared remote control transmitter, and integral calculation processing is performed on the reference detection waveform information to obtain equivalent transmission energy characterization value information.

[0009] The transmission drive parameters of the infrared remote control transmitter are adjusted in stages, and the preset infrared remote control button frame information is repeatedly transmitted at each stage. At the same time, the button recognition result information output by the infrared receiver is collected, and the button recognition result information is statistically processed to obtain the recognition statistical result information corresponding to each stage.

[0010] The identification statistics are compared with the preset judgment rules to determine the step information corresponding to the sensitivity threshold, and the sensitivity threshold information is determined based on the step information corresponding to the sensitivity threshold.

[0011] By adopting the above technical solution, under the same preset infrared remote control button frame information and the same infrared remote control transmitter transmission path, the reference detection waveform information and button recognition result information corresponding to different transmission drive parameter steps can be collected and uniformly statistically analyzed. This enables the recognition and statistical result information and the equivalent transmission energy characterization value information to form a one-to-one correlation in the step dimension. Based on the preset judgment rule information, the step information corresponding to the sensitivity threshold is determined in the step sequence, thereby obtaining the sensitivity threshold information associated with the step information corresponding to the sensitivity threshold. This achieves a quantitative evaluation of the sensitivity threshold of the infrared receiver and reduces the result fluctuations caused by manual distance and angle tests.

[0012] Preferably, during the process of transmitting the modulated infrared remote control signal at the infrared remote control transmitter, acquiring reference detection waveform information along the transmission path of the infrared remote control transmitter includes:

[0013] The reference sampling time window information is determined based on the preset infrared remote control button frame information, and the reference detection signal is sampled within the time range corresponding to the reference sampling time window information to obtain the reference sampling sequence information.

[0014] Based on the preset infrared remote control button frame information, the carrier synchronization parameter information is determined, and the reference sampling sequence information is synchronously demodulated according to the carrier synchronization parameter information to obtain the reference envelope sequence information;

[0015] Background baseline information is determined from the reference sampling sequence information, and baseline subtraction is performed on the reference envelope sequence information according to the background baseline information to obtain the reference detection waveform information;

[0016] The reference template sequence information is determined based on the preset infrared remote control button frame information. The correlation between the reference detection waveform information and the reference template sequence information is calculated to obtain the reference validity determination information. The reference detection waveform information is output when the reference validity determination information indicates that the reference is valid.

[0017] By adopting the above technical solution, the sampling period of the reference detection signal can be limited under the constraints of the preset infrared remote control button frame information to form a reference sampling sequence information. Then, the reference sampling sequence information is synchronously demodulated using carrier synchronization parameter information to obtain the reference envelope sequence information. The reference envelope sequence information is then subjected to baseline subtraction using background baseline information to form the reference detection waveform information. Subsequently, the correlation between the reference template sequence information and the reference detection waveform information is calculated and the reference validity determination information is output. The reference detection waveform information is output only when the reference validity determination information indicates that it passes. This ensures that the calculation of the subsequent equivalent transmission energy characterization value information and the determination of the sensitivity threshold information are based on the reference detection waveform information with time window alignment, carrier alignment, baseline consistency, and waveform shape conforming to the rhythm constraints of the preset infrared remote control button frame information, thereby reducing the statistical deviations introduced by invalid sampling segments, background drift, and rhythm inconsistency.

[0018] Preferably, the step of performing integral calculation processing on the reference detection waveform information to obtain the equivalent emission energy characterization value information includes:

[0019] The reference detection waveform information is discretized over time according to the preset sampling period information to obtain the waveform sampling point sequence information;

[0020] The waveform sampling point sequence information is compared with the preset noise threshold information, and waveform sampling points that are smaller than the preset noise threshold information are filtered out to obtain the effective sampling point sequence information.

[0021] The effective sampling point sequence information is accumulated according to the preset sampling period information to obtain the integral accumulation value information;

[0022] The integral accumulation value is converted with the preset calibration coefficient information to obtain the equivalent emission energy characterization value information.

[0023] By adopting the above technical solution, the reference detection waveform information can be uniformly discretized into waveform sampling point sequence information under the constraint of preset sampling period information. This allows subsequent calculations to be based on a consistent time step. Then, the waveform sampling point sequence information is filtered out by amplitude using preset noise threshold information to reduce the interference of low-amplitude noise on the accumulation result. This makes the effective sampling point sequence information more reflective of the main waveform components corresponding to the modulated infrared remote control signal. Subsequently, the effective sampling point sequence information is accumulated under the step size corresponding to the preset sampling period information to obtain the integral accumulation value information. This ensures that the integral accumulation value information is consistent with the sampling duration and amplitude changes. Finally, the integral accumulation value information is converted into the equivalent emission energy characterization value information using preset calibration coefficient information. This gives the equivalent emission energy characterization value information a unified quantization caliber, facilitating cross-step comparison and threshold determination.

[0024] Preferably, the step of performing statistical processing on the key recognition result information to obtain recognition statistical result information corresponding to each step includes:

[0025] Under the transmission drive parameter information corresponding to each step, the preset infrared remote control button frame information is repeatedly sent to form the button transmission count information, and the button recognition result information output by the infrared receiver is collected simultaneously to form the received button sequence information.

[0026] The button recognition results in the received button sequence information are compared with the target button value information corresponding to the preset infrared remote control button frame information to obtain button consistency mark sequence information.

[0027] The button consistency marker sequence information is counted to obtain the button consistency count information and the button inconsistency count information. The button consistency count information and the button emission count information are then converted into a ratio to obtain the button recognition success rate information.

[0028] By combining the key recognition success rate information with the key inconsistency count information, the recognition statistics information corresponding to the steps are obtained.

[0029] By adopting the above technical solution, preset infrared remote control button frame information can be repeatedly sent and button recognition result information can be collected simultaneously while maintaining consistent transmission drive parameter information for each step. This ensures that the button transmission count information and the received button sequence information form corresponding records in the same step dimension. Then, the received button sequence information and the target button value information are compared one by one to obtain button consistency mark sequence information. This ensures that subsequent statistics are based on clear comparison marks. By counting the button consistency mark sequence information, the number of button consistency counts and the number of button inconsistencies are obtained. Then, the button recognition success rate information is obtained by calculating the ratio between the number of button consistency counts and the number of button transmissions. This ensures that the recognition ratio is consistent with the number of transmissions. Finally, the button recognition success rate information and the number of button inconsistencies information are combined to form the recognition statistical result information corresponding to each step, which is convenient for subsequent rule comparison and threshold step locking.

[0030] Preferably, the step of calculating the ratio between the number of times the keys were pressed correctly and the number of times the keys were emitted to obtain the key recognition success rate information includes:

[0031] The length of the continuous consistent window is determined in the key consistency mark sequence information, and a sliding window traversal is performed on the key consistency mark sequence information to obtain the window consistency determination sequence information;

[0032] The window consistency determination sequence information is used to count the number of window consistency events, and the number of window consistency events is used as the number of button consistency events.

[0033] The number of valid windows is determined based on the number of button presses and the length of consecutive consistent windows.

[0034] The key recognition success rate is obtained by comparing the number of times the key presses matched with the number of times the window was active.

[0035] By adopting the above technical solution, continuous consistency window length information can be introduced into the key consistency mark sequence information, and window consistency judgment sequence information can be formed by sliding window traversal. This expands the key consistency evaluation from a single comparison to a continuous interval consistency evaluation. Then, the window consistency count information is counted in the window consistency judgment sequence information and used as the key consistency count information. The key consistency count information reflects the continuous consistency window satisfaction. Subsequently, the effective window count information is determined based on the key emission count information and the continuous consistency window length information, so that the denominator of the ratio conversion is consistent with the sliding window traversal range. Finally, the key consistency count information and the effective window count information are converted by ratio to obtain the key recognition success rate information. This allows the key recognition success rate information to be quantitatively represented under continuous consistency constraints, which facilitates the comparison and judgment of consistency standards under different step conditions.

[0036] Preferably, the step of calculating the ratio between the number of consistent key presses and the number of valid windows to obtain the key recognition success rate information includes:

[0037] The key press consistency count information and the effective window count information are respectively converted into the first count value information and the second count value information corresponding to the same numerical bit width information;

[0038] The second count value information is subject to a lower limit based on the preset denominator protection parameter information to obtain the corrected denominator value information;

[0039] Perform a fixed-point division operation between the first count value and the corrected denominator value to obtain the success rate fixed-point value.

[0040] The success rate is mapped proportionally to the preset proportional coefficient information to obtain the key recognition success rate information.

[0041] By adopting the above technical solution, the keystroke consistency count information and effective window count information can be converted into first count value information and second count value information corresponding to the same numerical bit width information. This ensures that subsequent calculations are performed under a unified bit width and scale, maintaining consistent numerical representation. Then, the second count value information is subjected to a lower limit limitation using preset denominator protection parameter information to obtain corrected denominator value information. This prevents abnormal ratio fluctuations caused by excessively small values ​​in the corrected denominator value information. Subsequently, a fixed-point division operation is performed on the first count value information and the corrected denominator value information to obtain the success rate fixed-point value information. This ensures that the ratio calculation is completed in a fixed-point format and satisfies integer operation constraints. Finally, a proportional mapping is performed on the success rate fixed-point value information based on preset proportional coefficient information to obtain keystroke recognition success rate information. This allows the keystroke recognition success rate information to be output to a preset numerical range and display scale, facilitating consistent comparison with success rate threshold information and its use in subsequent threshold determination.

[0042] Preferably, the step of comparing the identification statistical results with the preset judgment rule information to determine the step information corresponding to the sensitivity threshold, and determining the sensitivity threshold information based on the step information corresponding to the sensitivity threshold, includes:

[0043] Read the success rate threshold information and the number of consecutive satisfactions information from the preset judgment rule information;

[0044] The corresponding step sequence information is adjusted along the steps to traverse the recognition statistical results information, and the key recognition success rate information is extracted from the recognition statistical results information corresponding to each step.

[0045] The success rate threshold information is used to perform threshold determination on the key recognition success rate information to obtain the step satisfaction mark sequence information, and the continuous satisfaction length information is counted in the step satisfaction mark sequence information.

[0046] When the length information is continuously satisfied to the number of consecutive satisfactions, the corresponding step sequence information is locked as the step information corresponding to the sensitivity threshold, and the sensitivity threshold information is determined by the value associated with the step information corresponding to the sensitivity threshold in the equivalent emission energy characterization value information.

[0047] By adopting the above technical solution, the numerical threshold and continuous satisfaction count information of the preset judgment rule information can be read to clarify the numerical threshold and continuity condition of the sensitivity threshold judgment. Then, the statistical results information is identified and extracted along the step sequence information, so that the judgment input and the step adjustment order are consistent. Subsequently, the success rate threshold information is used to perform threshold judgment on the key recognition success rate information step by step to form the step satisfaction mark sequence information. The continuous satisfaction length information is statistically analyzed in the step satisfaction mark sequence information, so that the locking condition is jointly constrained by the continuous satisfaction length information and the continuous satisfaction count information. Finally, when the continuous satisfaction length information reaches the continuous satisfaction count information, the step information corresponding to the sensitivity threshold is locked. The value associated with the step information corresponding to the sensitivity threshold is read from the equivalent emission energy characterization value information to determine the sensitivity threshold information. The sensitivity threshold information is thus determined by the statistical results and energy characterization values ​​in the same step dimension.

[0048] The second objective of this invention is achieved through the following technical solution:

[0049] An infrared remote control sensitivity threshold evaluation device, the infrared remote control sensitivity threshold evaluation device comprising:

[0050] The infrared remote control transmitter module is used to acquire preset infrared remote control button frame information and control the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information.

[0051] The reference energy characterization module is used to collect reference detection waveform information along the transmission path of the infrared remote control transmitter during the transmission of modulated infrared remote control signals at the infrared remote control transmitter, and to perform integral calculation processing on the reference detection waveform information to obtain equivalent transmission energy characterization value information.

[0052] The step statistics module is used to perform step adjustment on the transmission drive parameter information of the infrared remote control transmitter, and repeatedly transmit the preset infrared remote control button frame information at each step. At the same time, it collects the button recognition result information output by the infrared receiver, and performs statistical processing on the button recognition result information to obtain the recognition statistical result information corresponding to each step.

[0053] The threshold determination module is used to compare and process the identification statistical results with the preset determination rules to determine the step information corresponding to the sensitivity threshold, and to determine the sensitivity threshold information based on the step information corresponding to the sensitivity threshold.

[0054] By adopting the above technical solution, under the same preset infrared remote control button frame information and the same infrared remote control transmitter transmission path, the reference detection waveform information and button recognition result information corresponding to different transmission drive parameter steps can be collected and uniformly statistically analyzed. This enables the recognition and statistical result information and the equivalent transmission energy characterization value information to form a one-to-one correlation in the step dimension. Based on the preset judgment rule information, the step information corresponding to the sensitivity threshold is determined in the step sequence, thereby obtaining the sensitivity threshold information associated with the step information corresponding to the sensitivity threshold. This achieves a quantitative evaluation of the sensitivity threshold of the infrared receiver and reduces the result fluctuations caused by manual distance and angle tests.

[0055] The above-mentioned objective three of this application is achieved through the following technical solution:

[0056] A computer device includes a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the steps of the infrared remote control sensitivity threshold evaluation method described above.

[0057] The fourth objective of this application is achieved through the following technical solution:

[0058] A computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps of the infrared remote control sensitivity threshold evaluation method described above.

[0059] In summary, this application includes at least one of the following beneficial technical effects:

[0060] 1. Under the same preset infrared remote control button frame information and the same infrared remote control transmitter transmission path, it can collect and uniformly statistically analyze the reference detection waveform information and button recognition result information corresponding to different transmission drive parameter steps, so that the recognition and statistical result information and the equivalent transmission energy characterization value information are associated one-to-one in the step dimension, and determine the step information corresponding to the sensitivity threshold in the step sequence according to the preset judgment rule information, thereby obtaining the sensitivity threshold information associated with the step information corresponding to the sensitivity threshold, thereby realizing the quantitative evaluation of the sensitivity threshold of the infrared receiver and reducing the result fluctuation caused by manual distance and angle tests. Attached Figure Description

[0061] Figure 1 This is a flowchart of an infrared remote control sensitivity threshold evaluation method according to an embodiment of this application.

[0062] Figure 2 This is a schematic diagram of an infrared remote control sensitivity threshold evaluation device according to an embodiment of this application. Detailed Implementation

[0063] The present application will be further described in detail below with reference to the accompanying drawings.

[0064] In one embodiment, such as Figure 1 As shown, this application discloses a method for evaluating the sensitivity threshold of infrared remote control, which specifically includes the following steps:

[0065] S10: Obtain preset infrared remote control button frame information, and control the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information.

[0066] In this embodiment, the preset infrared remote control button frame information refers to the transmission frame description data pre-configured for a certain target button. The preset infrared remote control button frame information includes button identification information and pulse sequence information. The button identification information is used to distinguish different target buttons, and the pulse sequence information is used to describe the transmission rhythm of the modulated infrared remote control signal on the time axis. The pulse sequence information consists of multiple pulse segments, and each pulse segment records the duration of carrier activation and carrier deactivation. The infrared remote control transmitter refers to the transmission execution component used to drive the infrared transmitting device to transmit infrared signals according to the pulse sequence information. The modulated infrared remote control signal refers to the infrared remote control signal formed by turning the carrier on and off according to the pulse sequence information at a preset carrier frequency.

[0067] Specifically, when acquiring preset infrared remote control button frame information, the system first receives target button trigger information and determines the button identifier information corresponding to the target button trigger information. Then, it retrieves pulse sequence information that matches the button identifier information from the preset button frame storage area and combines the button identifier information with the pulse sequence information to form preset infrared remote control button frame information. When controlling the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information, the system first sets a time base according to the pulse sequence information and generates a carrier switch control sequence. Then, during the time period indicated by the carrier switch control sequence when the carrier is turned on, the system outputs infrared drive pulses at a preset carrier frequency and stops outputting infrared drive pulses during the time period indicated by the carrier switch control sequence when the carrier is turned off, so that the infrared remote control transmitter completes the transmission of a modulated infrared remote control signal according to the timing corresponding to the pulse sequence information.

[0068] S20: During the process of transmitting modulated infrared remote control signals at the infrared remote control transmitter, reference detection waveform information is collected along the transmission path of the infrared remote control transmitter, and integral calculation processing is performed on the reference detection waveform information to obtain equivalent transmission energy characterization value information.

[0069] In this embodiment, the reference detection waveform information refers to the waveform data obtained by sampling the waveform formed by the change of the reference detection signal over time on the transmission path corresponding to the infrared remote control transmitter. The equivalent transmission energy characterization value information refers to the value used to characterize the transmission strength of the modulated infrared remote control signal calculated based on the reference detection waveform information.

[0070] Specifically, while transmitting a modulated infrared remote control signal at the infrared remote control transmitter, a reference detection device generates an electrical signal output for the infrared radiation along the transmission path, which serves as the reference detection signal. The reference detection signal is sampled at a preset sampling frequency, and the sampling timestamps are recorded to form a sequence of sampled values ​​arranged in chronological order as reference detection waveform information. When performing integral calculation on the reference detection waveform information, the integration time range is first determined to be from the start timestamp of the waveform corresponding to the transmission of a modulated infrared remote control signal to the end timestamp of the waveform. Then, the sampled value sequence within the integration time range is accumulated point by point according to the sampling period to obtain the integrated accumulated value information. If necessary, the average value of the sampled value sequence outside the integration time range is calculated and used as the background baseline value information. The background baseline value information is used to perform baseline subtraction on the sampled value sequence within the integration time range before point-by-point accumulation is performed, so that the integrated accumulated value information reflects the change amplitude of the reference detection signal corresponding to the modulated infrared remote control signal. Finally, the integrated accumulated value information is recorded as the equivalent transmission energy characterization value information.

[0071] S30: Perform step adjustment on the transmission drive parameter information of the infrared remote control transmitter, and repeatedly transmit the preset infrared remote control button frame information at each step. At the same time, collect the button recognition result information output by the infrared receiver, and perform statistical processing on the button recognition result information to obtain the recognition statistical result information corresponding to each step.

[0072] In this embodiment, the transmission drive parameter information refers to the drive intensity configuration data used to characterize the infrared remote control transmitter driving the infrared emitting device. The step adjustment refers to switching the transmission drive parameter information step by step according to a preset step sequence to form multiple discrete drive levels. The button recognition result information refers to the button recognition data output by the infrared receiver after receiving the modulated infrared remote control signal. The recognition statistical result information refers to the statistical data set obtained by performing a count and proportion statistical analysis on the button recognition result information.

[0073] Specifically, first, the step sequence information is set and represented as multiple step positions. Each step position corresponds to a set of transmission drive parameters. The step sequence information can be arranged from high to low drive intensity, and the step switching step size can be set. When performing step adjustment, the transmission drive parameters of the infrared remote control transmitter are first configured to the parameter values ​​corresponding to the first step position, and a preset infrared remote control button frame is transmitted once. Under the same step position, the preset infrared remote control button frame is repeatedly transmitted according to the preset repetition number, while keeping the transmission drive parameters unchanged. The button recognition result information output by the infrared receiver is received synchronously, and the corresponding time stamp information and button recognition result information are recorded for each transmission. After completing the preset repetition number, the process is switched off. The process is repeated until all step-level information is completed. During the statistical analysis, for each step-level information, the number of times the button recognition result information matches the target button value information corresponding to the preset infrared remote control button frame information is recorded as the button matching count. The number of times the button recognition result information does not match the target button value information is recorded as the button inconsistency count. The button recognition success rate is calculated by comparing the button matching count with the preset repetition count. The button matching count, button inconsistency count, and button recognition success rate are combined to form the recognition statistical result information, so that the recognition statistical result information is associated with and stored one-to-one with the step-level information.

[0074] S40: Compare and process the identification statistical results with the preset judgment rule information to determine the step information corresponding to the sensitivity threshold, and determine the sensitivity threshold information based on the step information corresponding to the sensitivity threshold.

[0075] In this embodiment, the preset judgment rule information refers to the rule data used to determine whether the step position meets the sensitivity threshold condition, the sensitivity threshold corresponding step information refers to the target step position information determined from multiple step position information according to the preset judgment rule information, and the sensitivity threshold information refers to the equivalent emission energy characterization value information associated with the sensitivity threshold corresponding step information.

[0076] Specifically, the system first reads the preset judgment rule information and parses it to obtain the success rate threshold information and the number of consecutive satisfactions information. Then, it sequentially extracts the recognition statistical result information corresponding to each step position information according to the arrangement order of the step sequence information, and reads the key recognition success rate information from the recognition statistical result information. The key recognition success rate information and the success rate threshold information are compared numerically to obtain the step satisfaction mark information. The step satisfaction mark information is used to indicate whether the corresponding step position information meets or does not meet the judgment condition. The step satisfaction mark information corresponding to each step position information is arranged into a step satisfaction mark sequence information according to the order of the step sequence information. The consecutive satisfaction length information is calculated along the step order in the step satisfaction mark sequence information, and when the consecutive satisfaction length information reaches the consecutive satisfaction count information, the corresponding step position information is locked as the step information corresponding to the sensitivity threshold. Then, the equivalent emission energy characterization value information associated with the step information corresponding to the sensitivity threshold is retrieved in the equivalent emission energy characterization value information, and the retrieved equivalent emission energy characterization value information is recorded as the sensitivity threshold information.

[0077] In one embodiment, in step S20, i.e., during the transmission of the modulated infrared remote control signal at the infrared remote control transmitter, reference detection waveform information is acquired along the transmission path of the infrared remote control transmitter, including:

[0078] S201: Determine the reference sampling time window information based on the preset infrared remote control button frame information, and sample the reference detection signal within the time range corresponding to the reference sampling time window information to obtain the reference sampling sequence information.

[0079] In this embodiment, the reference sampling time window information refers to the time range data used to limit the start and end times of the reference detection signal sampling, and the reference sampling sequence information refers to the data sequence formed by arranging the reference detection signal sampling values ​​obtained within the time range corresponding to the reference sampling time window information in chronological order.

[0080] Specifically, pulse sequence information is first read from the preset infrared remote control button frame information, and the frame start position and frame end position of the pulse sequence information are determined. The time point corresponding to the frame start position is defined as the window start time information, and the time point corresponding to the frame end position is defined as the window end time information. The window start time information and the window end time information are used to form a reference sampling time window information. In order to avoid the transient jitter at the start of transmission affecting the sampling boundary, the window start time information can be based on the frame start position with a preset start offset time information, and the window end time information can be based on the frame end position with a preset end offset time information. Then, when the window start time information is reached, the sampling timing is started and the reference detection signal is periodically sampled with preset sampling period information. The sampling timestamp and the sampled value of the reference detection signal are recorded each time the sample is taken until the window end time information is reached and the sampling stops. Finally, the sampling timestamp and the sampled value are paired in time order to form the reference sampling sequence information.

[0081] S202: Determine carrier synchronization parameter information based on preset infrared remote control button frame information, and perform synchronous demodulation on reference sampling sequence information according to carrier synchronization parameter information to obtain reference envelope sequence information.

[0082] In this embodiment, carrier synchronization parameter information refers to a set of parameters used to align the reference sampling sequence information with the carrier rhythm of the modulated infrared remote control signal. The carrier synchronization parameter information includes carrier period information and phase alignment start information. The carrier period information is used to characterize the repetition period of the carrier on the time axis, and the phase alignment start information is used to characterize the start time mark used when aligning the carrier rhythm. Synchronous demodulation refers to extracting the amplitude envelope that changes with time from the reference sampling sequence information under the condition of carrier rhythm alignment. The reference envelope sequence information refers to the data sequence formed by arranging the envelope sampling values ​​obtained after synchronous demodulation in chronological order.

[0083] Specifically, pulse sequence information is read from preset infrared remote control button frame information, and carrier rhythm marker information is determined. The carrier rhythm marker information is used to characterize the time period when the carrier is on and the time period when the carrier is off in the pulse sequence information. Based on the carrier rhythm marker information, a sampling interval overlapping with the carrier on time period is selected in the reference sampling sequence information. Periodic amplitude aggregation is performed on the reference sampling sequence information within the sampling interval to obtain the envelope sampling value. The periodic amplitude aggregation uses carrier period information to divide the aggregation window and calculates the mean of the absolute value of the window or the square root of the mean of the square of the window to obtain the window amplitude value. The starting position of the aggregation window is determined by phase alignment starting point information and aligned with the sampling timestamp in the reference sampling sequence information. The aggregation window sliding is repeated until the sampling interval corresponding to the carrier on time period is covered. Finally, the window amplitude values ​​obtained from each aggregation window are arranged in chronological order to form the reference envelope sequence information.

[0084] S203: Determine the background baseline information from the reference sampling sequence information, and perform baseline subtraction on the reference envelope sequence information according to the background baseline information to obtain the reference detection waveform information.

[0085] In this embodiment, background baseline information refers to the reference amplitude data in the reference sampling sequence information that reflects the ambient light and the static bias of the device. Baseline subtraction refers to the action of using background baseline information to offset the envelope amplitude in the reference envelope sequence information. Reference detection waveform information refers to the envelope waveform data after baseline subtraction.

[0086] Specifically, a sampling interval aligned with the carrier off-time period in the pulse sequence information corresponding to the preset infrared remote control button frame information is selected from the reference sampling sequence information. The set of sampled values ​​in the sampling interval is recorded as the background sampling set information. The carrier off-time period refers to the time range during which the carrier output stops in the pulse sequence information. The background sampling set information is used to characterize the amplitude distribution of the reference detection signal when there is no infrared radiation modulation. Statistical analysis is performed on the background sampling set information to obtain the background baseline information. The mean or median of the background sampling set information can be used as the background baseline information to reduce the influence of occasional noise. Subsequently, the reference envelope sequence information is traversed in chronological order, and a subtraction operation is performed on each envelope sampled value. The subtraction operation uses the background baseline information as the minuend bias to obtain the subtracted envelope sampled value. To avoid negative values ​​after subtraction interfering with subsequent recordings, a zero lower limit can be applied to the subtracted envelope sampled value to form a non-negative envelope sampled value. Finally, the non-negative envelope sampled values ​​are arranged in chronological order to form the reference detection waveform information.

[0087] S204: Determine the reference template sequence information based on the preset infrared remote control button frame information, perform correlation calculation between the reference detection waveform information and the reference template sequence information to obtain the reference validity determination information, and output the reference detection waveform information when the reference validity determination information indicates that it has passed.

[0088] In this embodiment, the reference template sequence information refers to the template waveform sequence that should be presented on the time axis by the preset infrared remote control button frame information. The correlation calculation refers to the calculation action of numerically measuring the consistency of the reference detection waveform information and the reference template sequence information in terms of shape consistency and time alignment consistency. The reference validity judgment information refers to the judgment data that determines whether the reference detection waveform information meets the validity conditions based on the correlation calculation results.

[0089] Specifically, pulse sequence information is read from preset infrared remote control button frame information and converted into template rhythm sequence information. The template rhythm sequence information is used to mark the high-level and low-level intervals of the reference template sequence information on the time axis. The high-level interval corresponds to the carrier on duration range in the pulse sequence information, and the low-level interval corresponds to the carrier off duration range in the pulse sequence information. The template rhythm sequence information is discretized according to the preset sampling period information, and the high-level interval is assigned the preset template high value information, and the low-level interval is assigned the preset template low value information, forming a reference template sequence information with the sampling rhythm consistent with the reference detection waveform information. When calculating the correlation, the reference detection waveform information and the reference template sequence information are first aligned in length. The length alignment is performed by truncation or zero padding to ensure that the reference detection waveform information and the reference template sequence information have the same number of sample points. Then, the reference detection waveform information is... Normalization is performed on the information and reference template sequence information to eliminate amplitude scale differences. Normalization uses maximum value normalization or mean-variance normalization, and normalized reference detection waveform information and normalized reference template sequence information are output respectively. Then, sliding alignment is performed between the normalized reference detection waveform information and normalized reference template sequence information, and the correlation coefficient value information at each alignment position is calculated. Sliding alignment uses preset sliding step information to move the reference template sequence information or the reference detection waveform information within a preset sliding range information and calculates the correlation coefficient value information at the corresponding position. The maximum correlation value information in the correlation coefficient information is taken as the correlation calculation result information. The reference validity judgment information is obtained by comparing the maximum correlation value information with preset correlation threshold information. The preset correlation threshold information refers to the threshold data used to determine the consistency of waveform shape. The reference detection waveform information is output when the reference validity judgment information indicates that it passes.

[0090] In one embodiment, step S20, which involves performing an integral calculation on the reference detection waveform information to obtain equivalent emission energy characterization information, includes:

[0091] S205: Discretize the reference detection waveform information in time according to the preset sampling period information to obtain the waveform sampling point sequence information.

[0092] In this embodiment, the preset sampling period information refers to the time parameter used to limit the waveform sampling time interval, and the waveform sampling point sequence information refers to the set of sampling points formed by sampling the reference detection waveform information at equal intervals on the time axis according to the preset sampling period information.

[0093] Specifically, firstly, the preset sampling period information is read and represented as a fixed time interval Δt. The waveform start timestamp and waveform end timestamp of the reference detection waveform information are determined, and a discrete sampling time axis is generated based on the waveform start timestamp. The discrete sampling time axis consists of multiple discrete sampling moments. The discrete sampling moment satisfies the condition that discrete sampling moment = waveform start timestamp + k × Δt, where k is a non-negative integer and the discrete sampling moment is not greater than the waveform end timestamp. Then, amplitude sampling is performed on each discrete sampling moment in the reference detection waveform information. Amplitude sampling adopts either nearest neighbor sampling or linear interpolation sampling. Nearest neighbor sampling means selecting the waveform amplitude with the timestamp closest to the discrete sampling moment in the reference detection waveform information as the sampling value. Linear interpolation means selecting the amplitude of adjacent timestamps located on both sides of the discrete sampling moment in the reference detection waveform information and calculating the interpolated amplitude according to the time ratio as the sampling value. Finally, the sampling values ​​corresponding to each discrete sampling moment are arranged in chronological order to form waveform sampling point sequence information.

[0094] S206: Compare the waveform sampling point sequence information with the preset noise threshold information, filter out waveform sampling points that are less than the preset noise threshold information, and obtain the effective sampling point sequence information.

[0095] In this embodiment, the preset noise threshold information refers to the threshold value used to distinguish between noise amplitude and effective waveform amplitude, and the effective sampling point sequence information refers to the data sequence formed by retaining the sampling points in the waveform sampling point sequence information that satisfy the amplitude not less than the preset noise threshold information in chronological order.

[0096] Specifically, the preset noise threshold information is read and represented as a threshold amplitude T. The waveform sampling point sequence information is traversed in chronological order and the amplitude of each sampling point is read point by point. The amplitude of the sampling point is compared with the threshold amplitude T. If the amplitude of the sampling point is less than the threshold amplitude T, the corresponding sampling point is discarded and the next sampling point is read. If the amplitude of the sampling point is not less than the threshold amplitude T, the corresponding sampling point is retained and the amplitude and time position of the sampling point are recorded. After the traversal is completed, the retained sampling points are arranged in chronological order to form a valid sampling point sequence information.

[0097] S207: Accumulate the effective sampling point sequence information according to the preset sampling period information to obtain the integral accumulation value information.

[0098] In this embodiment, the integral accumulation value information refers to the value obtained by discretely integrating and accumulating the effective sampling point sequence information in the time dimension. The integral accumulation value information is used to characterize the total cumulative amplitude of the effective sampling point sequence information under the time step corresponding to the preset sampling period information.

[0099] Specifically, the preset sampling period information is read and represented as a time step Δt. The effective sampling point sequence information is traversed along the time sequence and the amplitude of each effective sampling point is read point by point. The initial value of the integral accumulation is set to 0 and the accumulation count information is set to record the number of effective sampling points participating in the accumulation. When the amplitude of each effective sampling point is read, a multiplication operation is performed to obtain the point integral value information. The point integral value information is obtained by multiplying the effective sampling point amplitude by the time step Δt. Then, the point integral value information and the initial value of the integral accumulation are added and the initial value of the integral accumulation is updated. At the same time, the accumulation count information is incremented by 1 until the traversal ends. Finally, the initial value of the integral accumulation at the end of the traversal is output as the integral accumulation value information.

[0100] S208: Perform a conversion between the integral accumulation value information and the preset calibration coefficient information to obtain the equivalent emission energy characterization value information.

[0101] In this embodiment, the preset calibration coefficient information refers to the coefficient data used to convert the integral accumulation value information to a unified energy characterization scale. The preset calibration coefficient information includes the proportional coefficient information and the zero-point offset coefficient information. The proportional coefficient information is used to characterize the proportional correspondence between the integral accumulation value information and the equivalent emission energy characterization value information. The zero-point offset coefficient information is used to characterize the conversion compensation amount corresponding to the residual offset of the reference detection link under no-emission conditions.

[0102] Specifically, the preset calibration coefficient information is read and the proportional coefficient information K and the zero-point offset coefficient information B are obtained respectively. The proportional conversion value information is obtained by multiplying the integral accumulation value information and the proportional coefficient information K. The conversion result value information is obtained by adding and subtracting the proportional conversion value information and the zero-point offset coefficient information B. The equivalent emission energy characterization value information is recorded from the conversion result value information. When the conversion result value information is negative, the zero lower limit is used to limit the conversion result value information to 0 and use it as the equivalent emission energy characterization value information. The proportional coefficient information K and the zero-point offset coefficient information B can be obtained by fitting the integral accumulation value information under multiple sets of known emission intensity conditions with the corresponding reference calibration value information in the preset calibration process and stored as preset calibration coefficient information.

[0103] Furthermore, the preset calibration coefficient information includes the proportional coefficient information K and the zero-point offset coefficient information B. The integral accumulation value information is denoted as I, and the equivalent emission energy characterization value information is denoted as E. During the conversion, a linear conversion is first performed to obtain the conversion result value E', which satisfies... Then, a zero lower bound is applied to the converted value E' to obtain the equivalent emission energy characterization value E, which satisfies... .

[0104] In one embodiment, in step S30, statistical processing is performed on the key recognition result information to obtain recognition statistical result information corresponding to each step, including:

[0105] S301: Under the transmission drive parameter information corresponding to each step, the preset infrared remote control button frame information is repeatedly sent to form the button transmission count information, and the button recognition result information output by the infrared receiver is collected simultaneously to form the received button sequence information.

[0106] In this embodiment, the button transmission count information refers to the record of the number of times the preset infrared remote control button frame information is repeatedly transmitted under the condition that the transmission drive parameter information corresponding to the same step remains unchanged. The received button sequence information refers to the data sequence formed by arranging the button recognition result information output by the infrared receiver in chronological order after each reception of the modulated infrared remote control signal.

[0107] Specifically, the transmission drive parameter information corresponding to a certain step is selected and written into the drive configuration register of the infrared remote control transmitter. The preset repetition number information is set and recorded as the button transmission number information. At the same time, the transmission interval duration information is set to limit the time interval between two preset infrared remote control button frame information transmissions. When entering the cyclic transmission process, the cycle count information is incremented from 1 to the button transmission number information. At the beginning of each cycle, the preset infrared remote control button frame information is triggered to transmit and the transmission sequence number information and transmission time mark information are recorded. After the transmission is triggered, the receiver listening time window is entered and the button recognition result information output by the infrared receiver is received within the receiver listening time window. The receiver listening time window is jointly determined by the frame length information of the preset infrared remote control button frame information and the preset receiver delay margin information. Within the receiver listening time window, the button recognition result information output by the infrared receiver is bound and recorded with the transmission sequence number information and written into the receiver button sequence buffer. After completing one cycle, the time corresponding to the transmission interval duration information is waited for to arrive before the next cycle is executed. After the cycle ends, the button recognition result information in the receiver button sequence buffer is read in the order of the transmission sequence number information to form the receiver button sequence information.

[0108] S302: Compare the key recognition results in the received key sequence information with the target key value information corresponding to the preset infrared remote control key frame information to obtain key consistency mark sequence information.

[0109] In this embodiment, the target key value information refers to the key code value corresponding to the preset infrared remote control key frame information, and the key consistency mark sequence information refers to the mark sequence formed after performing consistency comparison on each key recognition result in the received key sequence information. Each mark in the key consistency mark sequence information is used to characterize whether the corresponding key recognition result is consistent with the target key value information.

[0110] Specifically, the button identification information is first read from the preset infrared remote control button frame information and mapped to obtain the target button value information. The target button value information can be represented in the form of integer encoding or fixed-length bit string. Then, the received button sequence information is traversed in time order and the button recognition result is read one by one. The button recognition result contains the received button value information or contains an encoded field that can be parsed to obtain the received button value information. For each button recognition result, the received button value information is parsed and a numerical equality judgment is performed with the target button value information. When the numerical equality judgment is completely consistent with the received button value information and the target button value information, a consistency mark information is output. When the received button value information and the target button value information are inconsistent, an inconsistency mark information is output. The consistency mark information and the inconsistency mark information are written into the mark sequence buffer in traversal order to form the button consistency mark sequence information. At the same time, the mark sequence number information in the mark sequence buffer is kept consistent with the transmission sequence number information in the received button sequence information for corresponding traceability.

[0111] S303: Count the key consistency marker sequence information to obtain key consistency count information and key inconsistency count information, and calculate the ratio between the key consistency count information and the key transmission count information to obtain key recognition success rate information.

[0112] In this embodiment, the key consistency count information refers to the statistical value of the number of times the consistent marker information appears in the key consistency marker sequence information, the key inconsistency count information refers to the statistical value of the number of times the inconsistent marker information appears in the key consistency marker sequence information, and the key recognition success rate information refers to the ratio result corresponding to the proportion of key consistency count information in key transmission count information.

[0113] Specifically, the key consistency count is initialized to 0, and the key inconsistency count is also initialized to 0. The key consistency marker sequence is traversed in chronological order, and the marker value is read item by item. When the marker value is consistent, the key consistency count is incremented by 1 while the key inconsistency count remains unchanged. When the marker value is inconsistent, the key inconsistency count is incremented by 1 while the key consistency count remains unchanged. After the traversal is completed, the key consistency count is recorded as key consistency count information, and the key inconsistency count is recorded as key inconsistency count information. The key transmission count information is read and recorded as the denominator count information, and the key consistency count information is recorded as the numerator count information. The key recognition success rate information is calculated by dividing the numerator count information by the denominator count information. When the denominator count information is 0, the key recognition success rate information is set to 0 and the ratio calculation ends.

[0114] S304: Combine the key recognition success rate information with the key inconsistency count information to obtain the recognition statistics information corresponding to the steps.

[0115] In this embodiment, the identification statistical result information refers to the data record used to characterize the identification statistical summary content corresponding to a single step. The identification statistical result information includes two types of statistical fields: key recognition success rate information and key inconsistency number information. The key recognition success rate information is used to characterize the recognition ratio result under the step, and the key inconsistency number information is used to characterize the recognition failure count under the step.

[0116] Specifically, the format information for recording the recognition statistics results is set, and the positions of the key recognition success rate field and the key inconsistency number field are defined in the format information. The key recognition success rate information is read and written into the key recognition success rate field. The key inconsistency number information is read and written into the key inconsistency number field. At the same time, the step position identifier information is written to associate with the transmission drive parameter information corresponding to the current step. The step position identifier information is represented by the step number in the step sequence information or the position code of the transmission drive parameter information. After the fields are written, the recognition statistics result information is generated and stored in the recognition statistics result table. Each record in the recognition statistics result table corresponds to a binding relationship between a set of step position identifier information and recognition statistics result information.

[0117] In one embodiment, step S303 involves calculating the ratio between the number of times the keys were pressed correctly and the number of times the keys were emitted to obtain the key recognition success rate information, including:

[0118] S3031: Determine the length information of the continuous consistent window in the key consistency mark sequence information, and perform sliding window traversal on the key consistency mark sequence information to obtain the window consistency determination sequence information.

[0119] In this embodiment, the continuous consistent window length information refers to the threshold of the number of consistent marker information continuously contained in the sliding window, and the window consistency determination sequence information refers to the sequence formed by arranging the window determination results obtained by the key consistency marker sequence information in the sliding window traversal according to the window starting position.

[0120] Specifically, the continuous consistent window length information in the preset judgment rule information is read and recorded as the window length value information. The window start index information is set according to the index order of the key consistency mark sequence information, and a sliding window index range is constructed. The sliding window index range covers the window length value information mark items starting from the window start index information. All mark items in the sliding window index range are read and window consistency judgment is performed. The window consistency judgment outputs the window consistency mark information when all mark items in the sliding window index range are consistent mark information, and outputs the window inconsistency mark information when there are inconsistent mark information in the sliding window index range. After completing one window consistency judgment, the window start index information is incremented by 1 and the next sliding window index range is generated. The window consistency judgment is repeated until the sliding window index range exceeds the end index of the key consistency mark sequence information. Finally, the window consistency mark information or window inconsistency mark information output by each window consistency judgment is written into the window judgment sequence buffer in the ascending order of the window start index information to form the window consistency judgment sequence information.

[0121] S3032: Count the number of times the window is consistent in the window consistency determination sequence information, and use the number of times the window is consistent as the number of times the button is consistent.

[0122] In this embodiment, the window consistency count information refers to the statistical value of the number of times the window consistency marker information appears in the window consistency determination sequence information, and the key consistency count information refers to the key consistency count data updated based on the window consistency count information.

[0123] Specifically, each window consistency judgment result is traversed in chronological order along the window consistency judgment sequence information. The window consistency count information is initialized to 0, and each judgment result is checked. If the judgment result is a window consistency marker, the window consistency count information is incremented by 1. If the judgment result is a window inconsistency marker, the window consistency count information remains unchanged. After the traversal is completed, the window consistency count information is the total number of times the window consistency marker information appears in the window consistency judgment sequence information. This window consistency count information is stored as the key consistency count information in the key consistency count statistics for subsequent ratio conversion and result output.

[0124] S3033: Determine the number of valid windows based on the button press count and the length of consecutive consistent windows.

[0125] In this embodiment, the effective window count information refers to the number of windows that meet the preset consistency criteria and whose continuous consistency marker information reaches the preset continuous consistency window length information during the sliding window traversal process.

[0126] Specifically, first, the number of button presses is read and used as a reference for the total number of windows. Then, the length of consecutive consistent windows is read and used as a threshold for judging valid windows. The consistency judgment results of each window are traversed in chronological order along the window consistency judgment sequence information. The initial value of the counter is set to 0, and statistics are performed on each consecutive consistent window. When the number of consecutive consistent markers reaches the consecutive consistent window length information, the counter is incremented by 1, indicating that a valid window has been found. The process continues to traverse and count all valid windows that meet the conditions. Finally, the number of valid windows obtained by the statistics is output as the number of valid windows.

[0127] S3034: Calculate the ratio between the number of times the key presses are consistent and the number of times the window is valid to obtain the key recognition success rate information.

[0128] In this embodiment, the key recognition success rate information refers to the numerical value representing the key recognition accuracy obtained by ratio conversion, the key consistency count information refers to the statistical value of the number of times the key consistency mark information appears during the sliding window traversal, and the effective window count information refers to the number of windows that meet the preset consistency standard.

[0129] Specifically, the system first reads the number of consistent key presses and uses it as the numerator. Then, it reads the number of valid window presses and uses it as the denominator. During the ratio calculation, the number of consistent key presses is divided by the number of valid window presses to obtain the key recognition success rate. When the number of valid window presses is 0, the key recognition success rate is set to 0 to avoid division by zero errors. The calculation formula is:

[0130] ,in, This information includes the number of times the key was pressed consistently. This contains information on the number of valid windows.

[0131] In one embodiment, in step S3034, the key recognition success rate information is obtained by converting the key matching count information to the effective window count information, including:

[0132] S30341: Convert the key press consistency count information and the effective window count information into first count value information and second count value information corresponding to the same numerical bit width information, respectively.

[0133] In this embodiment, the numerical bit width information refers to the bit width parameter used to limit the range and precision of the count value representation. The first count value information refers to the fixed-point count representation obtained by the key synchronization count information under the constraint of the numerical bit width information. The second count value information refers to the fixed-point count representation obtained by the effective window count information under the constraint of the numerical bit width information.

[0134] Specifically, the numerical bit width information is read and the fixed-point scaling bit width information Q and the bit width upper limit information W are determined. The number of times the key presses are consistent is recorded as follows. The number of valid windows is recorded as A fixed-point scaling method is used to convert the keystroke consistency count information and the effective window count information into count values ​​corresponding to the same bit width information. The first count value information C1 and the second count value information C2 respectively satisfy...

[0135] , ,in This indicates that a saturation-limited function is executed based on the upper limit information W of the bit width. The saturation limit is achieved by restricting the input value to a range. To achieve this, satisfying

[0136] ,when or When the value is not an integer, the integer count value is obtained by using the rounding rule information. The rounding rule information can be expressed as a rounding down method. Correspondingly, the first count value information and the second count value information can be written as...

[0137] , This is to ensure that the first count value information and the second count value information maintain a consistent numerical scale under the same numerical bit width information constraint.

[0138] S30342: The second count value information is subject to a lower limit according to the preset denominator protection parameter information to obtain the corrected denominator value information.

[0139] In this embodiment, the preset denominator protection parameter information refers to the protection parameter data used to avoid abnormal ratio conversion caused by the denominator being too small, and the corrected denominator value information refers to the denominator count value obtained after applying a lower limit to the second count value information.

[0140] Specifically, the preset denominator protection parameter information is read and the lower limit threshold information of the denominator is determined. The second count value is denoted as C2. A lower limit is applied to the second count value to obtain the corrected denominator value D. The lower limit is set when C2 is less than the lower limit threshold of the denominator. When the denominator value is increased to C2 is not less than the lower limit threshold information of the denominator. Keep the denominator C2, and the corresponding formula is: Where D represents the corrected denominator value, and C2 represents the second count value. This is the lower limit threshold information for the denominator.

[0141] S30343: Perform a fixed-point division operation on the first count value information and the corrected denominator value information to obtain the success rate fixed-point value information.

[0142] In this embodiment, the success rate fixed-point value information refers to the key recognition success rate value obtained according to the fixed-point number representation rule, and the fixed-point division operation refers to the operation of performing integer division on the first count value information and the corrected denominator value information under the constraint of the fixed-point scaling bit information and outputting the fixed-point format result.

[0143] Specifically, the first count value is denoted as C1, the corrected denominator value is denoted as D, the fixed-point scaling bit information Q corresponding to the numerical bit width information is read, and the success rate fixed-point value information R is obtained by fixed-point division. Q Fixed-point division is implemented by scaling the dividend within the integer field before performing integer division, satisfying the following conditions:

[0144] , where R Q For success rate fixed-point value information, For floor division, C1 is the first count value, D is the corrected denominator value, and Q is the fixed-point scaling bit information. To avoid R... Q The representation range exceeds the constraints of numerical bit width information, and can be applied to R. Q Perform bit-width saturation limiting and use the upper limit value corresponding to the numerical bit-width information. Truncate to satisfy , where W is the upper limit of the bit width information corresponding to the numerical bit width information.

[0145] S30344: Perform proportional mapping on the success rate fixed point value information according to the preset proportional coefficient information to obtain the key recognition success rate information.

[0146] In this embodiment, the preset proportional coefficient information refers to the proportional parameter used to map the success rate fixed-point value information from the fixed-point scale to the target output scale, and the key recognition success rate information refers to the success rate output value obtained after the proportional mapping is completed.

[0147] Specifically, the success rate fixed-point value information is denoted as R. Q The fixed-point scaling bit information is denoted as Q. The preset scaling coefficient information is read and represented as scaling coefficient S. The scaling is achieved by first restoring the fixed-point success rate information to a normalized success rate value and then mapping it to the target output scale. The normalized success rate value p and the button recognition success rate information P respectively satisfy... Combining the two formulas yields the formula for calculating the button recognition success rate.

[0148] When the key recognition success rate information is output in integer form, the key recognition success rate information can be rounded down to obtain an integer output value. The rounding rule information uses rounding down and satisfies the following conditions: Where P represents the button recognition success rate, S represents the preset ratio coefficient, and R... Q Q represents the fixed-point success rate value, and Q represents the fixed-point scaling bit depth.

[0149] In one embodiment, step S40 involves comparing the identification statistical result information with the preset judgment rule information to determine the step information corresponding to the sensitivity threshold, and determining the sensitivity threshold information based on the step information corresponding to the sensitivity threshold, including:

[0150] S401: Read the success rate threshold information and the number of consecutive satisfactions information from the preset judgment rule information.

[0151] In this embodiment, the success rate threshold information refers to the threshold value used to determine whether the success rate information of button recognition has reached the preset requirement, and the number of consecutive satisfactions information refers to the number of times the locking condition is triggered when multiple consecutive steps meet the success rate threshold information.

[0152] Specifically, the preset judgment rule information is stored in the rule storage area in the form of rule records. The rule records include a rule identifier field, a success rate threshold field, and a consecutive satisfaction count field. When reading the preset judgment rule information, the value of the rule identifier field corresponding to the target evaluation task is first located, and the rule record matching the rule identifier field value is retrieved in the rule storage area. Then, the success rate threshold field value is read from the rule record and parsed into success rate threshold information. The consecutive satisfaction count field value is read from the rule record and parsed into consecutive satisfaction count information. The success rate threshold field value can be stored in the form of a fixed number or an integer percentage and converted into a numerical scale consistent with the key recognition success rate information during parsing. The consecutive satisfaction count field value can be stored in the form of an integer and checked to be greater than zero during parsing to ensure that the traversal boundary of subsequent consecutive satisfaction judgments is consistent.

[0153] S402: Adjust the corresponding step sequence information along the steps to traverse the recognition statistics information, and extract the key recognition success rate information from the recognition statistics information corresponding to each step.

[0154] In this embodiment, the step sequence information refers to the set of sequence identifiers used when traversing multiple step gear information. The step sequence information is used to constrain the reading order of the recognition statistical result information. The key recognition success rate information refers to the statistical field value in the recognition statistical result information used to characterize the recognition ratio of the corresponding step gear information.

[0155] Specifically, the step sequence information is represented as a step number list, and the step number list is arranged according to the order used for step adjustment. The recognition statistical results are stored in the form of a recognition statistical results table. Each record in the recognition statistical results table contains step position identification information, key recognition success rate information, and key inconsistency information. During traversal, the step position identification information is read sequentially from the first item to the last item of the step number list. The step position identification information is used as the search key in the recognition statistical results table to find a matching record. After finding a matching record, the key recognition success rate information field in the matching record is read and written to the success rate sequence cache. The success rate sequence cache saves the key recognition success rate information in the order of the step number list to form a success rate sequence information. When no matching record is found, the corresponding position in the success rate sequence cache is written with a preset default success rate value and the traversal continues to ensure that the success rate sequence information and the step sequence information maintain a one-to-one correspondence.

[0156] S403: Use the success rate threshold information to perform threshold judgment on the key recognition success rate information, obtain the step satisfaction mark sequence information, and count the continuous satisfaction length information in the step satisfaction mark sequence information.

[0157] In this embodiment, the step-satisfaction mark sequence information refers to the mark sequence formed after thresholding the key recognition success rate information corresponding to each step according to the step sequence information, and the continuous satisfaction length information refers to the statistical value of the length of consecutive occurrence of adjacent satisfaction mark information in the step-satisfaction mark sequence information.

[0158] Specifically, the success rate threshold information is read and recorded as threshold value information. The success rate sequence information corresponding to the step sequence information is read sequentially, item by item, to determine the key recognition success rate information. The key recognition success rate information is compared with the threshold value information. When the key recognition success rate information is not less than the threshold value information, a satisfaction mark is output and written to the step satisfaction mark sequence buffer. When the key recognition success rate information is less than the threshold value information, a dissatisfaction mark is output and written to the step satisfaction mark sequence buffer. After traversal, the step satisfaction mark sequence information is obtained. Subsequently, the consecutive satisfaction length information is counted sequentially along the step satisfaction mark sequence information. When counting the consecutive satisfaction length information, the initial value of the consecutive count information is set to 0, and the initial value of the maximum consecutive length information is set to 0. The step satisfaction mark sequence information is read item by item. When a satisfaction mark information is read, the consecutive count information is incremented by 1, and the maximum consecutive length information is updated to the larger of the consecutive count information and the maximum consecutive length information. When a dissatisfaction mark information is read, the consecutive count information is cleared to zero. After traversal, the maximum consecutive length information is output as the consecutive satisfaction length information.

[0159] S404: When the continuous satisfaction length information reaches the continuous satisfaction number information, the corresponding step sequence information is locked as the step information corresponding to the sensitivity threshold, and the sensitivity threshold information is determined by the value associated with the step information corresponding to the sensitivity threshold in the equivalent emission energy characterization value information.

[0160] In this embodiment, locking means that after locating the target position in the step-satisfaction mark sequence information and fixing the corresponding step-gear identifier information without changing it, the sensitivity threshold corresponding step information refers to the locked step-gear identifier information, and the sensitivity threshold information refers to the equivalent emission energy characterization value information stored in association with the sensitivity threshold corresponding step information.

[0161] Specifically, the consecutive satisfaction count information is read and recorded as the target consecutive satisfaction count information. The consecutive satisfaction count is maintained by traversing the laddered satisfaction mark sequence from the first to the last item. The consecutive satisfaction count is incremented by 1 when a satisfaction mark is encountered and cleared to zero when a non-satisfaction mark is encountered. When the consecutive satisfaction count first reaches the target consecutive satisfaction count information, the current traversal index is determined as the consecutive satisfaction termination index. The consecutive satisfaction start index is calculated based on the consecutive satisfaction termination index and the target consecutive satisfaction count information. The consecutive satisfaction start index information satisfies the following condition: Consecutive satisfaction start index information = consecutive satisfaction termination index information - target consecutive satisfaction count information. The number of times information is incremented by 1. The step position identifier information is located in the step sequence number list corresponding to the step sequence information by continuously satisfying the starting index information. The step position identifier information is recorded as the step information corresponding to the sensitivity threshold. Then, the energy record table of equivalent emission energy characterization value information is searched for matching energy record items with the step information corresponding to the sensitivity threshold as the search key. Each record in the energy record table contains step position identifier information and equivalent emission energy characterization value information. After finding the matching energy record item, the value of the equivalent emission energy characterization value information field in the matching energy record item is read and recorded as the sensitivity threshold information.

[0162] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0163] In one embodiment, an infrared remote control sensitivity threshold evaluation device is provided, which corresponds to an infrared remote control sensitivity threshold evaluation method described in the above embodiments. For example... Figure 2 As shown, an infrared remote control sensitivity threshold evaluation device includes an infrared remote control transmission module, a reference energy characterization module, a step statistics module, and a threshold determination module. Detailed descriptions of each functional module are as follows:

[0164] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is used as an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above.

[0165] The above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A method for evaluating the sensitivity threshold of infrared remote control, characterized in that, The infrared remote control sensitivity threshold evaluation method includes: Obtain preset infrared remote control button frame information, and control the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information; During the transmission of modulated infrared remote control signals at the infrared remote control transmitter, reference detection waveform information is collected along the transmission path of the infrared remote control transmitter, and integral calculation processing is performed on the reference detection waveform information to obtain equivalent transmission energy characterization value information. The transmission drive parameters of the infrared remote control transmitter are adjusted in stages, and the preset infrared remote control button frame information is repeatedly transmitted at each stage. At the same time, the button recognition result information output by the infrared receiver is collected, and the button recognition result information is statistically processed to obtain the recognition statistical result information corresponding to each stage. The identification statistics are compared with the preset judgment rules to determine the step information corresponding to the sensitivity threshold, and the sensitivity threshold information is determined based on the step information corresponding to the sensitivity threshold.

2. The infrared remote control sensitivity threshold evaluation method according to claim 1, characterized in that, During the process of transmitting modulated infrared remote control signals at the infrared remote control transmitter, reference detection waveform information is collected along the transmission path of the infrared remote control transmitter, including: The reference sampling time window information is determined based on the preset infrared remote control button frame information, and the reference detection signal is sampled within the time range corresponding to the reference sampling time window information to obtain the reference sampling sequence information. Based on the preset infrared remote control button frame information, the carrier synchronization parameter information is determined, and the reference sampling sequence information is synchronously demodulated according to the carrier synchronization parameter information to obtain the reference envelope sequence information; Background baseline information is determined from the reference sampling sequence information, and baseline subtraction is performed on the reference envelope sequence information according to the background baseline information to obtain the reference detection waveform information; The reference template sequence information is determined based on the preset infrared remote control button frame information. The correlation between the reference detection waveform information and the reference template sequence information is calculated to obtain the reference validity determination information. The reference detection waveform information is output when the reference validity determination information indicates that the reference is valid.

3. The infrared remote control sensitivity threshold evaluation method according to claim 1, characterized in that, The integral calculation process performed on the reference detection waveform information to obtain the equivalent emission energy characterization value information includes: The reference detection waveform information is discretized over time according to the preset sampling period information to obtain the waveform sampling point sequence information; The waveform sampling point sequence information is compared with the preset noise threshold information, and waveform sampling points that are smaller than the preset noise threshold information are filtered out to obtain the effective sampling point sequence information. The effective sampling point sequence information is accumulated according to the preset sampling period information to obtain the integral accumulation value information; The integral accumulation value is converted with the preset calibration coefficient information to obtain the equivalent emission energy characterization value information.

4. The infrared remote control sensitivity threshold evaluation method according to claim 1, characterized in that, The step of performing statistical processing on the key recognition results to obtain recognition statistical results corresponding to each step includes: Under the transmission drive parameter information corresponding to each step, the preset infrared remote control button frame information is repeatedly sent to form the button transmission count information, and the button recognition result information output by the infrared receiver is collected simultaneously to form the received button sequence information. The button recognition results in the received button sequence information are compared with the target button value information corresponding to the preset infrared remote control button frame information to obtain button consistency mark sequence information. The button consistency marker sequence information is counted to obtain the button consistency count information and the button inconsistency count information. The button consistency count information and the button emission count information are then converted into a ratio to obtain the button recognition success rate information. By combining the key recognition success rate information with the key inconsistency count information, the recognition statistics information corresponding to the steps are obtained.

5. The infrared remote control sensitivity threshold evaluation method according to claim 4, characterized in that, The step of calculating the ratio between the number of times the keys were pressed correctly and the number of times the keys were emitted to obtain the key recognition success rate information includes: The length of the continuous consistent window is determined in the key consistency mark sequence information, and a sliding window traversal is performed on the key consistency mark sequence information to obtain the window consistency determination sequence information; The window consistency determination sequence information is used to count the number of window consistency events, and the number of window consistency events is used as the number of button consistency events. The number of valid windows is determined based on the number of button presses and the length of consecutive consistent windows. The key recognition success rate is obtained by comparing the number of times the key presses matched with the number of times the window was active.

6. The infrared remote control sensitivity threshold evaluation method according to claim 5, characterized in that, The step of calculating the ratio between the number of consistent key presses and the number of valid window presses to obtain the key recognition success rate information includes: The key press consistency count information and the effective window count information are respectively converted into the first count value information and the second count value information corresponding to the same numerical bit width information; The second count value information is subject to a lower limit based on the preset denominator protection parameter information to obtain the corrected denominator value information; Perform a fixed-point division operation between the first count value and the corrected denominator value to obtain the success rate fixed-point value. The success rate is mapped proportionally to the preset proportional coefficient information to obtain the key recognition success rate information.

7. The infrared remote control sensitivity threshold evaluation method according to claim 1, characterized in that, The process of comparing the identification statistical results with the preset judgment rule information to determine the step information corresponding to the sensitivity threshold, and determining the sensitivity threshold information based on the step information corresponding to the sensitivity threshold, includes: Read the success rate threshold information and the number of consecutive satisfactions information from the preset judgment rule information; The corresponding step sequence information is adjusted along the steps to traverse the recognition statistical results information, and the key recognition success rate information is extracted from the recognition statistical results information corresponding to each step. The success rate threshold information is used to perform threshold determination on the key recognition success rate information to obtain the step satisfaction mark sequence information, and the continuous satisfaction length information is counted in the step satisfaction mark sequence information. When the length information is continuously satisfied to the number of consecutive satisfactions, the corresponding step sequence information is locked as the step information corresponding to the sensitivity threshold, and the sensitivity threshold information is determined by the value associated with the step information corresponding to the sensitivity threshold in the equivalent emission energy characterization value information.

8. An infrared remote control sensitivity threshold evaluation device, characterized in that, The infrared remote control sensitivity threshold evaluation device includes: The infrared remote control transmitter module is used to acquire preset infrared remote control button frame information and control the infrared remote control transmitter to transmit modulated infrared remote control signals based on the preset infrared remote control button frame information. The reference energy characterization module is used to collect reference detection waveform information along the transmission path of the infrared remote control transmitter during the transmission of modulated infrared remote control signals at the infrared remote control transmitter, and to perform integral calculation processing on the reference detection waveform information to obtain equivalent transmission energy characterization value information. The step statistics module is used to perform step adjustment on the transmission drive parameter information of the infrared remote control transmitter, and repeatedly transmit the preset infrared remote control button frame information at each step. At the same time, it collects the button recognition result information output by the infrared receiver, and performs statistical processing on the button recognition result information to obtain the recognition statistical result information corresponding to each step. The threshold determination module is used to compare and process the identification statistical results with the preset determination rules to determine the step information corresponding to the sensitivity threshold, and to determine the sensitivity threshold information based on the step information corresponding to the sensitivity threshold.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the steps of the infrared remote control sensitivity threshold evaluation method as described in any one of claims 1 to 7.

10. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by the processor, it implements the steps of the infrared remote control sensitivity threshold evaluation method as described in any one of claims 1 to 7.