A method and system for automatically detecting dual-mode communication modules

By designing automatic switching logic and improved performance evaluation algorithm, the instability and inaccurate evaluation caused by manual switching during the detection process of dual-mode communication module is solved, and more efficient and reliable automated detection is achieved, which fully reflects the performance of dual-mode communication module.

CN119155212BActive Publication Date: 2025-03-21STATE GRID SHANDONG ELECTRIC POWER CO MARKETING SERVICE CENT (MEASURING CENT) +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411641667.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-11-18
Publication Date
2025-03-21
Estimated Expiration
2044-11-18

AI Technical Summary

Technical Problem

The detection process of existing dual-mode communication modules requires manual intervention to switch different communication modes, resulting in possible communication interruption or instability, signal strength evaluation is not accurate enough, bit error rate calculation ignores the actual impact of bit errors, signal-to-noise ratio calculation does not fully consider signal dynamic changes and noise fluctuations, and the performance evaluation model fails to fully reflect the complex correlation between parameters.

Method used

The automatic switching logic is designed to automatically switch between the two communication modes of the dual-mode communication module. The improved signal strength evaluation algorithm, bit error rate calculation algorithm and signal-to-noise ratio calculation algorithm are used, and the comprehensive performance score is calculated based on the preset performance threshold.

Benefits of technology

It realizes stable automatic switching of the dual-mode communication module in different modes, improves the evaluation accuracy of signal strength, bit error rate and signal-to-noise ratio, enhances the reliability and efficiency of detection, and fully reflects the overall performance of the dual-mode communication module.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155212B_ABST
    Figure CN119155212B_ABST
Patent Text Reader

Abstract

The present invention proposes an automatic detection method and system for a dual-mode communication module, which relates to the field of automatic detection. Based on automatic switching logic, the two communication modes of the dual-mode communication module are automatically switched, and in each communication mode, the following detection steps are automatically started: the transmission data of the dual-mode communication module in the current communication mode is acquired, and the performance parameters at different time points are calculated, including signal strength, bit error rate, and signal-to-noise ratio; based on the performance parameters, the comprehensive performance scores at different time points are calculated; using a preset performance threshold, the comprehensive performance scores at different time points are preliminarily determined, and the preliminary determination results at different time points are combined to obtain the final automatic detection result; the present invention improves the accuracy, reliability and efficiency of detection.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of automatic detection, and in particular relates to an automatic detection method and system for a dual-mode communication module. Background Art

[0002] With the rapid development of Internet of Things technology and the widespread application of various smart devices, communication technology has become the core link for connecting different devices, transmitting data, and realizing intelligent control. Dual-mode communication modules are increasingly used in smart grids, smart homes, and industrial automation. They support two or more communication methods and can achieve stable data transmission in different communication environments to meet the needs of different application scenarios.

[0003] However, how to ensure that the dual-mode communication module can work stably and reliably in various complex environments has become a technical challenge. Traditional manual detection methods can no longer meet the needs of comprehensive and accurate detection of dual-mode communication modules. In order to ensure the performance and stability of dual-mode communication modules, automated detection methods for dual-mode communication modules are particularly important. They can not only improve detection efficiency, but also ensure the stability and reliability of dual-mode communication modules in practical applications. In future development, automated detection methods will become an important tool for dual-mode communication module performance evaluation, which is of great significance to promoting the advancement and application of communication technology.

[0004] However, the prior art has at least the following problems:

[0005] The detection process of the existing dual-mode communication module requires manual intervention to switch between different communication modes, which may cause communication interruption or instability; due to the influence of multipath effects, reflections and attenuation, the signal strength evaluation algorithm in the existing technology is not accurate enough; in the existing bit error rate calculation, only the number of bit errors is considered, while the actual impact of each bit error in the bit error rate evaluation is ignored; in the traditional signal-to-noise ratio calculation method, the dynamic changes of the signal and the fluctuations of the noise may not be fully considered, resulting in the signal-to-noise ratio calculation result cannot fully reflect the actual signal quality; the traditional performance evaluation model may ignore the mutual influence between various performance parameters and fail to fully reflect the complex correlation between different parameters; the judgment of the detection result is based on a single time point or local data, which may lead to a one-sided evaluation of the performance of the dual-mode communication module and cannot fully reflect the performance in the entire detection cycle; therefore, the existing detection scheme has shortcomings. Summary of the invention

[0006] In order to overcome the above-mentioned deficiencies of the prior art, the present invention provides an automatic detection method and system for a dual-mode communication module to improve the accuracy, reliability and efficiency of the detection.

[0007] To achieve the above objectives, one or more embodiments of the present invention provide the following technical solutions:

[0008] A first aspect of the present invention provides an automatic detection method for a dual-mode communication module.

[0009] An automatic detection method for a dual-mode communication module automatically switches between two communication modes of the dual-mode communication module based on automatic switching logic, and automatically starts the following detection steps in each communication mode:

[0010] Obtain the transmission data of the dual-mode communication module in the current communication mode and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio;

[0011] Based on the performance parameters, calculate the comprehensive performance scores at different time points;

[0012] Using the preset performance threshold, a preliminary judgment is made on the comprehensive performance scores at different time points, and the final automated detection results are obtained by combining the preliminary judgment results at different time points.

[0013] Furthermore, the automatic switching logic updates the detection status according to the current communication mode and detection status.

[0014] Furthermore, the calculation of the signal strength uses an improved signal strength evaluation algorithm, which combines the signal propagation loss factor and the environmental interference factor and adopts nonlinear transformation to evaluate the signal strength in a complex environment;

[0015] The signal propagation loss factor is used to quantify the loss of the signal in the propagation path and is calculated based on the loss coefficient of each obstacle and the obstacle distance;

[0016] The environmental interference factor is used to quantify the impact of electromagnetic interference in the environment on the signal, and is obtained by multiplying the interference coefficients of all interference sources by the interference intensity and summing them up.

[0017] Furthermore, the bit error rate is calculated using an improved bit error rate calculation algorithm, and a dynamic bit error weight factor is introduced to evaluate the bit error rate. When calculating the bit error rate, the weight of each bit error is dynamically adjusted based on the error of each bit.

[0018] Furthermore, the calculation of the signal-to-noise ratio uses a dynamic adjustment signal-to-noise ratio calculation algorithm, introduces a dynamic adjustment factor and a noise compensation factor, and calculates the signal-to-noise ratio of the signal based on the received signal power and noise power and the dynamic change characteristics of the signal and noise.

[0019] Furthermore, the calculation of the comprehensive performance score is based on the autocorrelation weight and cross-correlation weight of the performance parameters, and the score is calculated by weighted summation of the signal strength, bit error rate, and signal-to-noise ratio.

[0020] Furthermore, the preliminary determination of the comprehensive performance scores at different time points is to compare the comprehensive performance scores with the performance threshold to obtain a preliminary determination result of whether the performance is qualified;

[0021] The synthesis of the preliminary determination results at different time points is to find the average value of the preliminary determination results at all time points, and make the final qualification judgment based on the average value.

[0022] A second aspect of the present invention provides an automatic detection system for a dual-mode communication module.

[0023] An automatic detection system for a dual-mode communication module automatically switches between two communication modes of the dual-mode communication module based on automatic switching logic. In each communication mode, the following modules are used for automatic detection:

[0024] The parameter calculation module is configured to: obtain the transmission data of the dual-mode communication module in the current communication mode, and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio;

[0025] The score calculation module is configured to: calculate the comprehensive performance scores at different time points based on the performance parameters;

[0026] The comprehensive determination module is configured to: use a preset performance threshold to make a preliminary determination of the comprehensive performance scores at different time points, and integrate the preliminary determination results at different time points to obtain the final automated detection result.

[0027] A third aspect of the present invention provides a computer-readable storage medium having a program stored thereon, which, when executed by a processor, implements the steps of the automatic detection method for a dual-mode communication module as described in the first aspect of the present invention.

[0028] The fourth aspect of the present invention provides an electronic device, including a memory, a processor, and a program stored in the memory and executable on the processor, wherein when the processor executes the program, the steps in the automatic detection method of a dual-mode communication module as described in the first aspect of the present invention are implemented.

[0029] One or more of the above technical solutions have the following beneficial effects:

[0030] 1. By designing the automatic switching logic of the dual-mode communication module, stable switching between the two modes (micro-power wireless mode and high-speed power line communication mode) is ensured. After the detection is completed, it automatically switches to another mode and restarts the detection process, reducing manual intervention, ensuring the automation and seamless connection of the detection process, improving detection efficiency, avoiding delays and errors in manual operations, and thus improving the overall reliability of the system.

[0031] 2. Using an improved signal strength assessment algorithm, by combining the signal propagation loss factor and the environmental interference factor and adopting nonlinear transformation, the signal strength in complex environments can be accurately assessed.

[0032] 3. The improved bit error rate calculation algorithm introduces a dynamic bit error weight factor, so that the calculated bit error rate not only takes into account the error of each bit, but also dynamically adjusts the bit error weight according to the position of the bit in the sequence, accurately reflecting the impact of the error in the entire sequence and improving the accuracy of the bit error rate assessment.

[0033] 4. By introducing dynamic adjustment factors and noise compensation factors, the signal-to-noise ratio calculation algorithm can reflect the dynamic change characteristics of signals and noise in real time, making the calculated signal-to-noise ratio close to the actual situation and improving the adaptability and accuracy of the signal-to-noise ratio calculation.

[0034] 5. A performance evaluation model was constructed, and the comprehensive performance score of the dual-mode communication module was calculated by combining the performance parameter vector and the weight matrix. The mutual influence between the performance parameters was taken into account, which can fully reflect the overall performance of the dual-mode communication module.

[0035] Advantages of additional aspects of the present invention will be given in part in the following description, and in part will become obvious from the following description, or will be learned through practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] The accompanying drawings in the specification, which constitute a part of the present invention, are used to provide a further understanding of the present invention. The exemplary embodiments of the present invention and their descriptions are used to explain the present invention and do not constitute improper limitations on the present invention.

[0037] Figure 1 This is a flow chart of the method of the first embodiment. DETAILED DESCRIPTION

[0038] It should be noted that the following detailed descriptions are illustrative and are intended to provide further explanation of the present application. Unless otherwise specified, all technical and scientific terms used in the present invention have the same meanings as those commonly understood by those skilled in the art to which the present application belongs.

[0039] It should be noted that the terms used herein are only for describing specific embodiments and are not intended to limit the exemplary embodiments according to the present application. As used herein, unless the context clearly indicates otherwise, the singular form is also intended to include the plural form. In addition, it should be understood that when the terms "comprise" and / or "include" are used in this specification, it indicates the presence of features, steps, operations, devices, components and / or combinations thereof.

[0040] Embodiment 1

[0041] In one embodiment of the present disclosure, an automatic detection method for a dual-mode communication module is provided. Based on the automatic switching logic, the two communication modes of the dual-mode communication module are automatically switched. In each communication mode, the following detection steps are automatically started:

[0042] Obtain the transmission data of the dual-mode communication module in the current communication mode and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio;

[0043] Based on the performance parameters, calculate the comprehensive performance scores at different time points;

[0044] Using the preset performance threshold, a preliminary judgment is made on the comprehensive performance scores at different time points, and the final automated detection results are obtained by combining the preliminary judgment results at different time points.

[0045] Furthermore, the automatic switching logic updates the detection status according to the current communication mode and detection status.

[0046] Furthermore, the calculation of the signal strength uses an improved signal strength evaluation algorithm, which combines the signal propagation loss factor and the environmental interference factor and adopts nonlinear transformation to evaluate the signal strength in a complex environment;

[0047] The signal propagation loss factor is used to quantify the loss of the signal in the propagation path and is calculated based on the loss coefficient of each obstacle and the obstacle distance;

[0048] The environmental interference factor is used to quantify the impact of electromagnetic interference in the environment on the signal, and is obtained by multiplying the interference coefficients of all interference sources by the interference intensity and summing them up.

[0049] Furthermore, the bit error rate is calculated using an improved bit error rate calculation algorithm, and a dynamic bit error weight factor is introduced to evaluate the bit error rate. When calculating the bit error rate, the weight of each bit error is dynamically adjusted based on the error of each bit.

[0050] Furthermore, the calculation of the signal-to-noise ratio uses a dynamic adjustment signal-to-noise ratio calculation algorithm, introduces a dynamic adjustment factor and a noise compensation factor, and calculates the signal-to-noise ratio of the signal based on the received signal power and noise power and the dynamic change characteristics of the signal and noise.

[0051] Furthermore, the calculation of the comprehensive performance score is based on the autocorrelation weight and cross-correlation weight of the performance parameters, and the score is calculated by weighted summation of the signal strength, bit error rate, and signal-to-noise ratio.

[0052] Furthermore, the preliminary determination of the comprehensive performance scores at different time points is to compare the comprehensive performance scores with the performance threshold to obtain a preliminary determination result of whether the performance is qualified;

[0053] The synthesis of the preliminary determination results at different time points is to find the average value of the preliminary determination results at all time points, and make the final qualification judgment based on the average value.

[0054] As an embodiment, a specific implementation method of an automatic detection method of a dual-mode communication module is as follows: Figure 1 As shown:

[0055] S1. Design automatic switching logic to achieve stable automatic switching between the two communication modes (micro-power wireless mode and high-speed power line communication mode) of the dual-mode communication module and automatically start the detection process.

[0056] To ensure detection in different modes of the dual-mode communication module, the following automatic switching logic is designed:

[0057] Define the communication mode of the dual-mode communication module At the point in time The value of is:

[0058]

[0059] Dual-mode communication module detection status There are three states:

[0060]

[0061] According to the time point The communication mode and detection status at the location are automatically switched. The process is as follows:

[0062]

[0063] After the communication mode is automatically switched, the detection status is reset to the "undetected" state, i.e. .

[0064] After the communication mode is automatically switched, the detection process is automatically started and the detection status changes to "Detecting". .

[0065] When the detection is completed, the detection status is updated to "detection completed", that is, .

[0066] Stable automatic switching is achieved between the two modes of the dual-mode communication module to ensure seamless automated detection process, thereby improving detection efficiency and reducing manual intervention.

[0067] S2, automatically start the detection process and calculate the performance parameters;

[0068] After the detection process is automatically started, performance parameters are calculated, including signal strength, bit error rate, and signal-to-noise ratio.

[0069] (1) The signal strength is calculated using the improved signal strength evaluation algorithm.

[0070] The improved signal strength evaluation algorithm aims to accurately measure the signal strength of the dual-mode communication module in a complex environment, combines the signal propagation loss factor and the environmental interference factor, and uses nonlinear transformation to improve the accuracy and robustness of the signal strength measurement.

[0071] The signal power and noise power received by the dual-mode communication module are measured at each time point, and the difference between the signal power and the noise power is transformed by natural logarithm, which helps to smooth the drastic changes in signal strength measurement caused by noise fluctuations and enhances the robustness of the calculation.

[0072] The signal propagation loss factor reflects the loss of the signal in the propagation path. It is calculated based on the loss coefficient and obstacle distance of each obstacle. The purpose is to quantify the loss suffered by the signal due to various obstacles during the propagation process, and then accumulate the loss contribution of each obstacle one by one and perform normalization processing to comprehensively consider the overall impact of all obstacles. Exponential transformation of the signal propagation loss factor can capture significant signal changes and is suitable for complex environments where the loss does not increase linearly during signal propagation.

[0073] The environmental interference factor reflects the impact of electromagnetic interference in the environment on the signal, and is obtained by multiplying the interference coefficient of all interference sources by the interference intensity and adding them up; the interference source is such as electronic equipment, radio waves or power line interference; the interference coefficient is used to quantify the impact of the interference source on the signal to a certain extent.

[0074] The final calculation formula for signal strength is:

[0075]

[0076] in, Indicates at a point in time Signal strength; It is a logarithmic operation, which means the logarithm with base 10 multiplied by 10; Indicates The natural logarithm operation with base 2 is used to perform a nonlinear transformation on the difference between the signal and the noise, so that it can change smoothly when approaching the noise level; Indicates at a point in time Received signal power; Indicates at a point in time The measured noise power reflects the intensity of background noise; It means to prevent mathematical errors in natural logarithm operation when the difference between signal power and noise power is zero or negative; Indicates the reference power, which is used for standardization and can be set according to the specific implementation scenario and is not limited here; Represents the base of the exponential function, used in the calculation of nonlinear transformations to adjust for signal loss; is the signal propagation loss factor, which represents the signal loss in the propagation path; Express The loss of each obstacle is accumulated; Indicates The loss coefficient of each obstacle is set based on expert experience; Indicates at a point in time No. The distance of the obstacle is obtained by geometric measurement; Indicates at a point in time The total distance the signal travels, obtained through geometric measurements; Indicates the environmental interference factor, reflecting the impact of electromagnetic interference in the environment on the signal: Express The impact of various interference sources is cumulative; Indicates The interference coefficient of each interference source is set based on expert experience; Indicates at a point in time The measured The interference intensity of each interference source is measured in real time by monitoring equipment.

[0077] (2) The bit error rate is calculated using the improved bit error rate calculation algorithm.

[0078] The improved bit error rate calculation algorithm introduces a dynamic bit error weight factor to accurately evaluate the bit error rate. When calculating the bit error rate, not only the error of each bit is considered, but also the weight of each bit error is dynamically adjusted to reflect the actual impact of each bit error in the bit error rate evaluation.

[0079] Specifically, the total number of bits transmitted, the adjustment factor for controlling the change range of the dynamic error weight factor, the distribution adjustment parameter, and the center position of the error sequence are initialized and set according to the specific implementation scenario, and are not limited here; for each transmitted bit, the sent and received bit data are compared to determine whether an error has occurred. If the sent bit data is different from the received bit data, it is determined to be an error. Further, according to the position of the bit in the sequence, the dynamic error weight factor is calculated, and the dynamic error weight factor is multiplied by the corresponding bit error value to obtain a weighted error value. The ratio of the accumulated weighted error values ​​of all bits to the total number of bits is taken as the bit error rate;

[0080] The final bit error rate calculation formula is:

[0081]

[0082] in, Indicates at a point in time bit error rate; Indicates from arrive The sum operation of ; Indicates the total number of bits transmitted, used for calculation of normalized bit error rate; Represents the dynamic error weight factor, which is used to dynamically adjust the weight of each bit error to reflect its importance in the entire sequence; represents a regulating factor for controlling the variation range of the dynamic bit error weight factor, which is used to adjust the sensitivity of the bit error rate to each bit error; Represents the base of the exponential function, which is used to calculate the attenuation function of the error weight factor; It represents the distribution adjustment coefficient, controls the width of the error weight distribution, determines the distribution shape and width of the bit error weight factor, and can be set according to the specific implementation scenario, and is not limited here; Indicates bit position and the error center position The squared difference between them is used to determine the degree of deviation of the bit position from the center of the error distribution; Indicates the first bits of data and the received The absolute difference between the bits of data is used to determine the Check whether there is a bit error.

[0083] (3) The signal-to-noise ratio is calculated using a dynamically adjusted signal-to-noise ratio calculation algorithm.

[0084] The dynamic adjustment signal-to-noise ratio calculation algorithm calculates the signal-to-noise ratio of the signal according to the received signal power and noise power, combined with the dynamic change characteristics of the signal and noise, and introduces a dynamic adjustment factor and a noise compensation factor so that the calculated signal-to-noise ratio can accurately reflect the signal quality.

[0085] The dynamic adjustment factor is used to adjust the received signal power and simulate the fluctuation of the signal in the actual environment due to multipath effects, reflections, and attenuation. The dynamic adjustment factor is calculated by a sine function, and the parameters of the sine function determine the amplitude and frequency of the signal strength changes over time. Further, nonlinear adjustment is achieved by performing power operation on the signal power to control the impact of signal strength fluctuations.

[0086] The noise compensation factor dynamically compensates for the effect of noise according to the change of noise power, and uses an exponential function to ensure that as the noise intensity increases, the compensation effect of the noise gradually weakens, accurately adjusting the effect of noise on signal quality;

[0087] The final calculation formula for the signal-to-noise ratio is:

[0088]

[0089] in, Indicates at a point in time signal-to-noise ratio; represents the conversion of signal-to-noise ratio into decibels using logarithmic transformation; Indicates at a point in time Received signal power; Indicates at a point in time The measured noise power reflects the intensity of background noise; It represents the dynamic adjustment factor, which simulates the fluctuation of the signal in the actual environment due to multipath effect, reflection and attenuation; Indicates the adjustment range; Indicates the signal fluctuation frequency; Indicates the power exponent of the dynamic adjustment factor, which controls the impact of signal strength fluctuations; Represents the noise compensation factor, which dynamically compensates for the impact of noise according to the change of noise power; Represents the noise compensation coefficient, which controls the intensity of noise compensation; The dynamic compensation expression of the noise is expressed, which reflects the dynamic characteristics of the noise changing with the signal strength and adjusts the influence of the noise nonlinearly; It represents the noise attenuation coefficient, which can be set according to the specific implementation scenario and is not limited here.

[0090] S3. After obtaining the performance parameters of the dual-mode communication module, a performance evaluation model is constructed to calculate the comprehensive performance score. The specific steps are as follows:

[0091] The first step is to construct a performance parameter vector:

[0092]

[0093] in, represents the performance parameter vector, The time points signal strength, bit error rate, signal-to-noise ratio; represents the transpose symbol;

[0094] The second step is to apply the weight matrix:

[0095]

[0096] in, Represents a weight matrix, which contains the weights between each pair of performance parameters. The weights include autocorrelation weights and cross-correlation weights. The autocorrelation weights represent the importance of each performance parameter itself, such as , , , the cross-correlation weights represent the mutual influence between performance parameters, such as , , , , , ,The weight coefficients can be set by the knowledge and experience of domain experts.

[0097] The third step is to calculate the comprehensive performance score:

[0098] The comprehensive performance score of the dual-mode communication module is calculated by weighting and summing each performance parameter through the weight matrix and considering the mutual influence between the parameters. The formula is as follows:

[0099]

[0100] in, Indicates at a point in time The overall performance score.

[0101] S4. Setting a performance threshold, comparing the comprehensive performance score with the performance threshold to obtain a preliminary determination result, and based on the preliminary determination result, using a comprehensive determination algorithm to calculate a comprehensive determination result;

[0102] A performance threshold is set, and the comprehensive performance score is compared with the performance threshold to obtain a preliminary determination result; the performance threshold can be set according to the specific implementation scenario and is not limited here; the determination logic is as follows:

[0103]

[0104] in, Indicates at a point in time The preliminary judgment result is reflected at the time point Whether the performance of the dual-mode communication module meets the set standard, if the comprehensive performance score is greater than or equal to the performance threshold, then ;otherwise .

[0105] Based on the preliminary determination result, a comprehensive determination result is calculated using a comprehensive determination algorithm;

[0106] The comprehensive determination algorithm can comprehensively reflect the performance of the dual-mode communication module in different communication modes by comprehensively considering the detection data at different time points, ensuring the accuracy and reliability of the detection results. The calculation formula of the comprehensive determination result is:

[0107]

[0108] in, Indicates the comprehensive judgment result, that is, the overall performance of the dual-mode communication module in the entire detection cycle. , then the dual-mode communication module is judged as qualified; otherwise, it is judged as unqualified; Indicates the total detection time period;

[0109] In summary, an automatic detection method for a dual-mode communication module is completed.

[0110] Embodiment 2

[0111] In one embodiment of the present disclosure, an automatic detection system for a dual-mode communication module is provided. Based on automatic switching logic, the system automatically switches between two communication modes of the dual-mode communication module. In each communication mode, the following modules are used to perform automatic detection:

[0112] The parameter calculation module is configured to: obtain the transmission data of the dual-mode communication module in the current communication mode, and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio;

[0113] The score calculation module is configured to: calculate the comprehensive performance scores at different time points based on the performance parameters;

[0114] The comprehensive determination module is configured to: use a preset performance threshold to make a preliminary determination of the comprehensive performance scores at different time points, and integrate the preliminary determination results at different time points to obtain the final automated detection result.

[0115] Embodiment 3

[0116] The purpose of this embodiment is to provide a computer-readable storage medium.

[0117] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps in the automatic detection method of a dual-mode communication module as described in the first embodiment of the present disclosure.

[0118] Embodiment 4

[0119] The purpose of this embodiment is to provide an electronic device.

[0120] An electronic device includes a memory, a processor, and a program stored in the memory and executable on the processor. When the processor executes the program, the steps in the automatic detection method of a dual-mode communication module as described in the first embodiment of the present disclosure are implemented.

[0121] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. An automatic detection method for a dual-mode communication module, characterized in that: Based on the automatic switching logic, the dual-mode communication module automatically switches between the two communication modes. In each communication mode, the following detection steps are automatically started: Obtain the transmission data of the dual-mode communication module in the current communication mode and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio; Based on the performance parameters, calculate the comprehensive performance scores at different time points; Using the preset performance threshold, the comprehensive performance scores at different time points are preliminarily determined, and the final automated detection results are obtained by combining the preliminary determination results at different time points; The calculation of the signal strength uses an improved signal strength evaluation algorithm, which combines the signal propagation loss factor and the environmental interference factor and adopts nonlinear transformation to evaluate the signal strength in a complex environment; The bit error rate is calculated using an improved bit error rate calculation algorithm, by introducing a dynamic bit error weight factor to evaluate the bit error rate, and when calculating the bit error rate, the weight of each bit error is dynamically adjusted based on the error of each bit; The calculation of the signal-to-noise ratio uses a dynamic adjustment signal-to-noise ratio calculation algorithm, introduces a dynamic adjustment factor and a noise compensation factor, and calculates the signal-to-noise ratio of the signal based on the received signal power and noise power, combined with the dynamic change characteristics of the signal and noise; The comprehensive performance score is calculated based on the autocorrelation weight and cross-correlation weight of the performance parameters, and the score is calculated by weighted summation of the signal strength, bit error rate, and signal-to-noise ratio.

2. The automatic detection method of a dual-mode communication module according to claim 1, characterized in that: The automatic switching logic updates the detection status according to the current communication mode and detection status.

3. The automatic detection method of a dual-mode communication module according to claim 1, characterized in that: The signal propagation loss factor is used to quantify the loss of the signal in the propagation path and is calculated based on the loss coefficient of each obstacle and the obstacle distance; The environmental interference factor is used to quantify the impact of electromagnetic interference in the environment on the signal, and is obtained by multiplying the interference coefficients of all interference sources by the interference intensity and summing them up.

4. The automatic detection method of a dual-mode communication module according to claim 1, characterized in that: The preliminary determination of the comprehensive performance scores at different time points is to compare the comprehensive performance scores with the performance threshold to obtain a preliminary determination result of whether the comprehensive performance scores are qualified; The synthesis of the preliminary determination results at different time points is to find the average value of the preliminary determination results at all time points, and make the final qualification judgment based on the average value.

5. An automatic detection system for a dual-mode communication module, implementing an automatic detection method for a dual-mode communication module as claimed in any one of claims 1 to 4, characterized in that: Based on the automatic switching logic, the dual-mode communication module automatically switches between the two communication modes. In each communication mode, the following modules are used for automatic detection: The parameter calculation module is configured to: obtain the transmission data of the dual-mode communication module in the current communication mode, and calculate the performance parameters at different time points, including signal strength, bit error rate, and signal-to-noise ratio; The score calculation module is configured to: calculate the comprehensive performance scores at different time points based on the performance parameters; The comprehensive determination module is configured to: use a preset performance threshold to make a preliminary determination of the comprehensive performance scores at different time points, and integrate the preliminary determination results at different time points to obtain the final automated detection result.

6. An electronic device, comprising: a memory for non-transitory storage of computer readable instructions; a processor for executing the computer-readable instructions; Wherein, when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 4 is executed.

7. A storage medium, characterized in that: The computer-readable instructions are non-transitorily stored, wherein when the computer-readable instructions are executed by a computer, the method according to any one of claims 1 to 4 is performed.

Citation Information

Patent Citations

  • Test method and system of multimode communication module, concurrent test equipment and chip

    CN117895973A

  • Communication control method based on dual-mode communication module

    CN118523796A