Automatic switching device control method based on wireless signal recognition and corresponding product
By identifying the source of the wireless signal and combining it with the results of device operation, differentiated instructions are triggered, which solves the problem of misjudgment of automatic switching equipment in electromagnetic interference environment, and improves user experience and system reliability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN JIALIAN ELECTRONIC TECH DEV CO LTD
- Filing Date
- 2026-02-06
- Publication Date
- 2026-06-12
AI Technical Summary
The existing remote control systems for automatic switching equipment cannot effectively identify the signal source in electromagnetic interference environments, leading users to misjudge equipment malfunctions, increasing after-sales support and maintenance costs, and reducing user experience.
By identifying whether the received wireless signal originates from the paired remote control, and combining this with the device control results, different instruction operations are triggered to distinguish between electromagnetic interference and device malfunctions. This includes visual and auditory cues, dynamically updating the remote control feature template, and collaboratively verifying interference identification.
Clearly distinguish between electromagnetic interference and equipment failure, improve user experience, reduce the cost of misjudgment, and enhance system reliability and human-computer interaction intelligence.
Smart Images

Figure CN122200958A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of automatic control technology, and in particular to an automatic switching equipment control method and corresponding product based on wireless signal recognition. Background Technology
[0002] Automatic switching devices, such as garage barriers, garage doors, and factory retractable gates, are widely used in modern production and daily life. These devices are usually equipped with remote control systems. Users transmit signals within a certain distance by operating a remote control that is paired with a receiver on the device. The receiver then receives the signals and controls the device to perform operations such as opening and closing. This remote control method provides users with great convenience.
[0003] Currently, common remote control systems operate in a relatively simple manner: after receiving a signal conforming to a preset format (e.g., frequency, encoding), the receiver attempts to execute the corresponding device control command. However, in real industrial or residential environments, complex sources of electromagnetic interference may exist. When electromagnetic interference is present in the environment, the interfering signal may affect the transmission and reception of the remote control's normal signal, causing users to need to operate at a closer range than normal, or even be unable to remotely control the device.
[0004] In this situation, because existing technology lacks a mechanism for effectively identifying and providing feedback on the signal source, users cannot distinguish whether the device malfunction is caused by electromagnetic interference or by hardware damage to the remote control or receiver itself. Users often misjudge it as a device failure and then report it to the seller for repair. This not only increases unnecessary after-sales support and repair costs for the seller but also reduces the user experience. Therefore, existing technology suffers from the problem of not being able to automatically identify the cause of remote control operation failure and provide timely and clear feedback to the user. Summary of the Invention
[0005] This application provides an automatic switching device control method and corresponding product based on wireless signal recognition. By identifying the signal source and associating it with the device control result, different indications are triggered, enabling users to clearly distinguish between electromagnetic interference and device malfunction, improving the user experience and reducing the cost of misjudgment.
[0006] On the one hand, this application provides an automatic switching device control method based on wireless signal identification, the method comprising: Determine whether the received external wireless signal originates from a remote control paired with the receiver, which is configured in the automatic switching device; If the external wireless signal originates from a remote control paired with the receiver, then a device control command is generated based on the external wireless signal, and the device control command is executed to control the automatic switching device; Based on the determination of the source of the external wireless signal and the device control result, selectively trigger the instruction operation corresponding to the determination result and the control result, wherein: When the external wireless signal originates from the paired remote control and the device is successfully operated, a success indication is issued; When the external wireless signal originates from the paired remote control but the device fails to operate, a device fault indication is triggered. When the external wireless signal is identified as originating from an unmatched source, an electromagnetic interference indication is triggered.
[0007] Optionally, determining whether the received external wireless signal originates from a remote control matched with the receiver includes: extracting features of the external wireless signal, wherein the external wireless signal features include at least one of time-domain features, frequency-domain features, and coding features of the external wireless signal; comparing the external wireless signal features with a pre-stored matching remote control feature template; calculating the confidence level of the signal source based on the comparison result, and determining that the signal originates from the matching remote control when the confidence level exceeds a preset threshold.
[0008] Optionally, the method further includes: establishing and dynamically updating the matching remote control feature template, wherein the dynamic update is based on learning and optimization of the features of the corresponding signals in historical successful control records.
[0009] Optionally, the triggering of electromagnetic interference indication includes: activating an indication device located on the receiver or the remote controller to provide a visual cue in a preset mode corresponding to an electromagnetic interference event, wherein the visual cue mode includes at least one of a specific light color, flashing frequency, or flashing sequence.
[0010] Optionally, before triggering the electromagnetic interference indication, the method further includes: detecting the strength of the unmatched source signal; and adjusting the strength or prompt frequency of the electromagnetic interference indication based on the detected signal strength.
[0011] Optionally, detecting the intensity of the unmatched source signal includes: analyzing the power spectral density of the unmatched source signal through a signal processing unit to obtain an analysis result; quantifying the analysis result into multiple interference levels; adjusting the intensity or prompting frequency of the electromagnetic interference indication based on the detected signal intensity includes: adjusting the intensity or frequency of the indication according to the interference level, wherein the higher the interference level, the more significant the indication.
[0012] Optionally, the method further includes: establishing a communication connection with receivers configured on other nearby, functionally related automatic switching devices; exchanging signal source determination results and interference event information with each other; and performing collaborative verification based on the exchanged signal source determination results and interference event information to improve the accuracy of identifying widespread electromagnetic interference.
[0013] On the other hand, this application provides an automatic switching device control apparatus based on wireless signal identification, the apparatus comprising: A judgment module is used to determine whether the received external wireless signal originates from a remote control paired with the receiver, the receiver being configured in an automatic switching device; The generation module is configured to generate a device control command based on the external wireless signal if the external wireless signal originates from a remote control matched with the receiver, and execute the device control command to control the automatic switching device. The triggering module is used to selectively trigger an indication operation corresponding to the judgment result and the control result of the external wireless signal based on the judgment result and the control result of the device. Specifically: when the external wireless signal comes from the matched remote control and the device control is successful, the normal indication is suppressed; when the external wireless signal comes from the matched remote control but the device control fails, the device fault indication is triggered; when the external wireless signal is identified as coming from an unmatched source, the electromagnetic interference indication is triggered.
[0014] Thirdly, this application provides a device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the computer program, it implements the steps of the above-described automatic switching device control method based on wireless signal identification.
[0015] Fourthly, this application provides a storage medium storing a computer program, which, when executed by a processor, implements the steps of the above-described automatic switching device control method based on wireless signal identification.
[0016] As can be seen from the technical solution provided in this application, on the one hand, since this application not only determines whether the signal originates from the matched remote control, but also combines the determination result with the actual operation result of the device, and triggers different indications according to different combinations, it can clearly distinguish between the three states of "successful operation", "operation failure due to hardware failure" and "operation abnormality due to electromagnetic interference". This allows users to directly and clearly understand the root cause of the problem, avoiding unnecessary repairs due to misjudging electromagnetic interference as a hardware failure, significantly improving the user experience and reducing after-sales costs. On the other hand, since this method actively triggers an electromagnetic interference indication when it identifies that the signal originates from an unmatched source (i.e., electromagnetic interference), rather than simply not responding or reporting an error, this is equivalent to providing users with clear diagnostic information. Based on this instruction, the system understands that interference exists in the current environment and takes countermeasures such as operating closer to the device, thus enabling effective control even in interference environments. This proactive notification mechanism means that the system is no longer mechanically executing commands, but possesses preliminary "perception-judgment-feedback" capabilities, making human-computer interaction more intelligent and user-friendly. Thirdly, because this method suppresses conventional indications when the signal originates from the paired remote control and the operation is successful, unnecessary prompts and interference are avoided. Only when a hardware failure is confirmed is a device fault indication triggered. This differentiated handling approach—silencing when necessary and alarming when appropriate—ensures that each indication carries high-value information. Users perceive the system's feedback as reliable and accurate, increasing trust in the system's reliability and avoiding doubts about product quality due to unexplained operational failures. In summary, the technical solution of this application triggers different indications by identifying the signal source and associating it with the device operation result, enabling users to clearly distinguish between electromagnetic interference and device failure, improving the user experience and reducing the cost of misjudgment. Attached Figure Description
[0017] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0018] Figure 1 This is a flowchart of an automatic switching device control method based on wireless signal identification provided in an embodiment of this application; Figure 2 This is a schematic diagram of the structure of the automatic switching equipment control device based on wireless signal recognition provided in the embodiments of this application; Figure 3 This is a schematic diagram of the device provided in the embodiments of this application. Detailed Implementation
[0019] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0020] In this specification, adjectives such as "first" and "second" are used only to distinguish one element or action from another, without necessarily requiring or implying any actual such relationship or order. Where circumstances permit, reference to an element or component or step (etc.) should not be construed as being limited to only one of the elements, components, or steps, but may be one or more of the elements, components, or steps, etc.
[0021] For ease of description, the dimensions of the various parts shown in the accompanying drawings are not drawn to actual scale.
[0022] Currently, the remote control systems for common automatic switching devices (such as garage gates, garage doors, and factory retractable gates) operate relatively simply: the receiver, upon receiving a signal conforming to a preset format (e.g., frequency, encoding), attempts to execute the corresponding device control commands. However, real-world industrial or residential environments may contain complex sources of electromagnetic interference. When electromagnetic interference is present, the interference signal may affect the transmission and reception of the remote control's normal signal, forcing users to operate the device from a closer distance than normal, or even rendering it impossible to control. In such cases, because existing technology lacks a mechanism for effectively identifying and responding to signal sources, users cannot distinguish whether the device malfunction is due to electromagnetic interference or hardware damage to the remote control or receiver itself. Users often misjudge the malfunction as a device failure and subsequently report it to the seller for repair. This not only increases unnecessary after-sales support and repair costs for sellers but also reduces the user experience. Therefore, existing technology suffers from the problem of not being able to automatically identify the cause of remote control operation failure and provide timely and clear feedback to the user.
[0023] To address the aforementioned problems in the prior art, this application proposes an automatic switching device control method based on wireless signal recognition, the flowchart of which is attached. Figure 1 As shown, the main steps include S101 to S103, which are detailed below: Step S101: Determine whether the received external wireless signal originates from a remote control that is paired with the receiver, wherein the receiver is configured in an automatic switching device.
[0024] The receiver continuously or periodically monitors radio signals in a preset frequency band. Once the signal energy exceeds an activation threshold, a signal processing procedure is initiated. This step is fundamental to distinguishing between normal operation, equipment malfunction, and electromagnetic interference. Traditional receivers typically perform only simple signal decoding verification; if decoding fails, the signal is considered invalid and discarded. This approach fails to inform the user of the root cause of the failure. Therefore, the technical solution adopted in this application is to determine whether the received external wireless signal originates from a remote control paired with the receiver, wherein the receiver is configured in automatic switching equipment, such as garage barriers, garage doors, factory retractable gates, etc.
[0025] Specifically, as one embodiment of this application, determining whether the received external wireless signal originates from a remote control paired with the receiver can be achieved through steps S1011 to S1013, as detailed below: Step S1011: Extract external wireless signal features, wherein the external wireless signal features include at least one of the time domain features, frequency domain features and coding features of the external wireless signal.
[0026] Step S1011 is the first step in fine-grained identification. The external wireless signal features include at least one of the following: time-domain features, frequency-domain features, and coding features. Time-domain features may include the signal's envelope shape, pulse width, pulse repetition interval, etc. Frequency-domain features can be obtained through Fast Fourier Transform (FFT) and include the signal's center frequency, bandwidth, and spectral shape. Coding features involve the specific coding sequence, preamble, and checksum obtained after decoding the signal. By extracting multi-dimensional features, a rich data foundation can be provided for subsequent accurate comparison, far superior to simple judgments relying solely on a single feature (e.g., frequency).
[0027] Step S1012: Compare the external wireless signal characteristics with the pre-stored matching remote control characteristic template.
[0028] The matching remote control feature template is a baseline model established during the device pairing or learning phase by collecting and statistically analyzing the features of multiple legitimate remote control signals. The comparison process can involve calculating the Euclidean distance or cosine similarity between the features of the signal to be tested and the template features, or employing more complex pattern recognition algorithms. For example, for coded features, the bit error rate (BER) can be calculated; for frequency domain features, the spectral correlation coefficient can be calculated, and so on.
[0029] Step S1013: Calculate the confidence level of the signal source based on the comparison results, and determine that the signal originates from the matched remote control when the confidence level exceeds a preset threshold.
[0030] Confidence score is a quantitative metric used to reflect the degree of agreement between the current signal and the matching template. For example, a confidence score between 0 and 1 can be defined, with 1 representing a perfect match. The calculation method can be a weighted fusion of similarity scores across various feature dimensions. A preset threshold (e.g., 0.8) needs to be calibrated based on the requirements for robustness against false positives and false negatives in the actual application scenario. Only when the confidence score exceeds this threshold does the system ultimately determine that the signal originates from the matching remote control. This confidence-based soft-decision mechanism, compared to a black-and-white hard-decision approach, is better able to adapt to minor distortions in signals within complex propagation environments, thus improving the robustness of the recognition.
[0031] Furthermore, to improve the system's adaptability, a matching remote control feature template can be established and dynamically updated. The update operation is based on learning and optimization of the features of corresponding signals from historical successful control records. One implementation is to treat the signal features of each successful control operation as a new sample and update the feature template using a sliding window average or exponentially weighted moving average method. For example, updating the center frequency template... The formula can be:
[0032] in, It is the center frequency of the current successful signal. It is the learning rate This is used to control the degree to which new data affects the template. Through this dynamic update, the template can slowly "drift" to track the gradual changes in features caused by the aging of remote control components or slow environmental changes, thus maintaining a high level of recognition accuracy.
[0033] Step S102: If the external wireless signal originates from a remote control paired with the receiver, then generate a device control command based on the external wireless signal and execute the device control command to control the automatic switching on / off device.
[0034] Once the signal source is determined to be legitimate in step S101, the receiver parses the specific control command (e.g., "open", "close", "stop") from the signal and converts it into a level signal or protocol data packet that can drive the actuator (e.g., motor, solenoid valve), thereby controlling the automatic switching equipment (e.g., the raising and lowering of a barrier gate, the opening and closing of a door) to complete the corresponding action. After successful execution, a position sensor (e.g., limit switch) will typically provide a confirmation signal.
[0035] Step S103: Based on the judgment result of the external wireless signal source and the device control result, selectively trigger the instruction operation corresponding to the judgment result and the control result.
[0036] This is a key step in achieving intelligent human-computer interaction in this application. In existing technologies, regardless of whether the operation is successful or not, users often do not receive clear feedback, or only receive a single "failure" message, making it impossible to understand the underlying reasons. This application achieves accurate status diagnosis and differentiated user prompts by correlating and analyzing information from two dimensions: the signal source determination result (whether it is a matched remote control or an unmatched source) and the device operation result (success or failure).
[0037] The specific judgment and instruction logic includes the following three cases: When an external wireless signal originates from the paired remote control and the device is successfully operated, a successful operation indication is issued. This means that under the most common normal operating conditions, the system remains silent and does not trigger any additional light or sound indications, which also serves as a successful operation indication, avoiding unnecessary interference to the user and conforming to the design principles of simplicity and efficiency. Of course, the device's own actions (such as the movement of a door) are a natural indication of successful operation.
[0038] When an external wireless signal originates from a paired remote control but the device fails to operate, a device fault indication is triggered. This indicates that the receiver correctly identified the legitimate remote control signal but encountered an obstacle when attempting to execute control commands (e.g., motor jamming, transmission mechanism damage, power failure). In this case, the system triggers the device fault indication, for example, by emitting a constant red light or flashing a specific slow-motion pattern (e.g., one second on, one second off). This clearly informs the user that the problem lies with the device itself or the receiver's control circuitry, requiring contact for hardware repair.
[0039] When an external wireless signal is identified as originating from an unmatched source, an electromagnetic interference (EMI) indication is triggered. This directly corresponds to the situation in step S101 where the confidence level is below the threshold, indicating strong electromagnetic interference in the current signal environment. In this case, the system triggers the EMI indication, for example, by controlling an LED to emit a rapid blue flash (e.g., on for 0.2 seconds and then off for 0.2 seconds). This indication is crucial, as it immediately alerts the user that the malfunction is not due to equipment damage but rather environmental interference, allowing them to take countermeasures, such as trying to operate the device again closer to it, rather than blindly reporting it for repair.
[0040] In this embodiment, the visual cues described above can be implemented using an indicator device configured on a receiver or remote control. Specifically, triggering an electromagnetic interference (EMI) indication includes activating the indicator device on the receiver or remote control to provide a visual cue in a preset mode corresponding to an EMI event. The visual cue mode includes at least one of a specific light color, flashing frequency, or flashing sequence. Visual cues are the most direct form of human perception. For example, a multi-color LED can be installed on the receiver housing. By default, the LED may be in a standby state, either off or flashing slowly. When an EMI indication is triggered, the microcontroller controls the LED to flash blue light at a high frequency (e.g., 5Hz). This blue, high-frequency flashing pattern contrasts sharply with the red, low-frequency flashing, or constant-on pattern that might be used in a "device fault indication," allowing the user to quickly distinguish the fault type.
[0041] To ensure effective reception of alerts in noisy environments or when users are not directly looking at the device, multimodal indications can be introduced. Therefore, the aforementioned electromagnetic interference triggering indication also includes: synchronously activating an auditory cue device to generate an alarm sound coordinated with the visual cue mode, thus forming a multimodal indication. This coordination is reflected in the synchronization of the rhythm of the auditory cue with the rhythm of the visual flashing; for example, each time the LED lights up, a piezoelectric buzzer simultaneously emits a short "beep." This synchronized audio-visual cue utilizes multiple sensory channels, significantly improving the redundancy and reliability of information transmission. The intensity (volume) and pitch of the auditory cue can also be adjusted according to different warning levels.
[0042] To enable users not only to perceive the presence of interference but also to make a preliminary judgment on its intensity, the interference signal can be quantitatively assessed before the indication is triggered. Specifically, before triggering the electromagnetic interference indication, a step is performed to detect the strength of the unmatched source signal. This detection process can be achieved by analyzing the power spectral density of the unmatched source signal through a signal processing unit, obtaining the analysis results, and quantifying the analysis results into multiple interference levels. Power spectral density reflects the distribution of signal power along the frequency axis and is a classic frequency domain indicator for measuring signal strength. The processor within the receiver can calculate the PSD integral value within a specific frequency band. Then, the value is quantified into multiple levels using preset thresholds; for example, two thresholds can be set. and ,but: when At that time, it was determined to be "low interference level"; when At that time, it was determined to be "medium interference level"; when At that time, it was determined to be "high interference level".
[0043] Adjusting the intensity or frequency of the electromagnetic interference indication based on the detected signal strength includes: adjusting the intensity or frequency of the indication according to the interference level, with a higher interference level resulting in a more significant indication. "Significant" can be manifested as an increase in LED brightness and a faster flashing frequency in visual cues, or an increase in the volume and pitch of the alarm sound in audible cues. For example, for visual indications, at low levels, the LED can flash slowly (1Hz), at medium levels it flashes at a medium speed (3Hz), and at high levels it flashes rapidly (5Hz) while simultaneously increasing LED brightness. For audible indications, at low levels there can be no sound or a low-frequency single tone, while at high levels it can be a high-frequency dual-tone alternating alarm. This tiered response allows the indication to not only inform of the presence of interference but also roughly reflect the severity of the interference, providing users with richer decision-making information.
[0044] To enable traceability of operations and maintenance and remote analysis of potential problems, the system can be configured with an event logging function, namely, Figure 1 The example method also includes automatically generating and storing an event log when an electromagnetic interference indication or device malfunction indication is triggered. This event log includes the event type, timestamp, relevant signal characteristics, and control result information. This data can be stored in the receiver's built-in non-volatile memory (such as EEPROM or Flash) to form a historical event log. The structured data for each record may include an event type flag, a timestamp accurate to milliseconds, key signal characteristic parameters (e.g., calculated confidence level, estimated interference signal strength), and a status code fed back by the device.
[0045] Based on the above embodiments, remote operation and maintenance capabilities can be expanded. Specifically, Figure 1 The example method also includes: sending event logs to a remote server or designated user terminal via a communication network, and receiving feedback instructions from the remote server or user terminal, adjusting subsequent control strategies or judgment parameters based on the feedback instructions. Sending event logs includes: dynamically selecting the communication protocol and transmission rate for transmitting the event logs according to their priority level. For example, equipment failure events can be set to high priority and sent immediately using the more reliable TCP protocol; while routine electromagnetic interference records can be set to low priority and sent in batches using the lower-power LoRaWAN protocol or when the network is idle. After analyzing these records, the remote server or maintenance personnel can issue instructions, such as increasing the confidence threshold for signal judgment within a specific time period to combat known periodic interference, thereby achieving remote optimization and precise maintenance of the system.
[0046] To improve energy efficiency and reduce unnecessary environmental interference, a user sensing step can be added before triggering an instruction. Specifically, before triggering any instruction, the presence of a user within a preset range is detected by sensors; the corresponding instruction is triggered only when the user's presence is detected. This can be achieved by integrating a passive infrared sensor or a millimeter-wave radar sensing module. This module continuously monitors its detection area for moving heat sources or objects, thereby determining whether a user might be present to receive the instruction. This mechanism avoids wasting energy and generating light and noise pollution when no one is present, demonstrating the system's intelligent and user-friendly design.
[0047] To enable the system to proactively adapt to long-term changes in the external electromagnetic environment without frequent human intervention, an adaptive adjustment mechanism can be introduced. Figure 1 The example method also includes: dynamically adjusting the sensitivity thresholds for signal reception and judgment based on the characteristics of electromagnetic interference events recorded in historical operations or the success rate of device operation, in order to optimize the balance between anti-interference performance and response performance. The key to achieving this function lies in the fact that the dynamic adjustment of the sensitivity thresholds for signal reception and judgment includes: applying machine learning algorithms to analyze historical event records and predict the changing trends of interference patterns; and automatically adjusting the thresholds for signal feature comparison or the filtering parameters of the receiving circuit based on the changing trends of interference patterns.
[0048] One specific implementation method is: the system periodically (e.g., every 24 hours) counts the frequency of electromagnetic interference events over a past period. and success rate A target success rate can be set. .like < and If the confidence threshold is low, it may be due to insufficient signal reception sensitivity leading to missed detections. The system can appropriately lower the confidence threshold in step S1013 or adjust the gain of the receiver front-end amplifier to improve sensitivity (i.e., response performance). Conversely, if... It's acceptable, but A high confidence threshold indicates a high number of false positives, and the system should appropriately increase the confidence threshold or the order of the digital filter to enhance its anti-interference performance. Through this closed-loop feedback based on historical data, the system can automatically adapt to changes in the environment and find a dynamic balance between interference performance and response performance.
[0049] In scenarios where multiple similar devices are installed, the robustness of overall perception can be improved by leveraging inter-device collaboration. Therefore, Figure 1Example methods may also include: establishing a communication connection with receivers configured on other nearby, functionally related automatic switching devices (e.g., via low-power LAN protocols such as Zigbee and LoRa); exchanging signal source determination results and interference event information with each other; and performing collaborative verification based on the exchanged information to improve the accuracy of identifying widespread electromagnetic interference.
[0050] The collaborative verification based on the exchanged signal source determination results and interference event information includes: employing a voting mechanism or a confidence-based weighted fusion algorithm to integrate the determination results of multiple devices to form a regional interference situation assessment. For example, each receiver independently determines the source of the signal at its local point and outputs a determination result (interference / non-interference) and its confidence level. Subsequently, these devices exchange information through a local communication network (e.g., Zigbee Mesh). A simple voting mechanism is that if more than half of the devices in the area report detecting interference, all participating devices confirm the existence of regional interference. A more refined weighted fusion algorithm multiplies each device's determination result by its confidence level as a weight, then sums all weighted results; if the sum exceeds a predetermined threshold, regional interference is determined to exist. This method effectively overcomes misjudgments caused by local, accidental factors in single-point devices and significantly improves the accuracy of judging widespread electromagnetic interference.
[0051] When the system determines that a device is malfunctioning, it can initiate deeper self-diagnostics to assist in repair. Therefore, Figure 1 The example method may also include: initiating a built-in self-diagnostic process to detect the operational status of key hardware components in the receiver or remote control; generating a report containing diagnostic details for users or maintenance personnel to access. The self-diagnostic process may include: checking if the receiver power supply voltage is within the normal range, testing if the MCU's memory can be read and written normally, and verifying if key parameters of the RF front-end (e.g., local oscillator frequency) are off-target. The generated report can be Morse code showing indicator light flashes or detailed data stored in memory that can be read using specialized tools. This provides firsthand information for on-site repairs, accelerating the fault location and repair process.
[0052] From the above appendix Figure 1As can be seen from the example of the automatic switching device control method based on wireless signal recognition, on the one hand, because this application not only determines whether the signal originates from a matched remote control, but also combines the determination result with the actual control result of the device, and triggers different indications according to different combinations, it can clearly distinguish between three states: "successful operation," "control failure due to hardware failure," and "control abnormality due to electromagnetic interference." This allows users to directly and clearly understand the root cause of the problem, avoiding unnecessary repairs due to misjudging electromagnetic interference as a hardware failure, significantly improving the user experience and reducing after-sales costs. On the other hand, because this method actively triggers an electromagnetic interference indication when it identifies a signal originating from an unmatched source (i.e., electromagnetic interference), rather than simply not responding or reporting an error, this is equivalent to providing users with clear diagnostic information. Users can understand the presence of interference in the current environment based on this instruction and take countermeasures such as moving closer to the device, thus achieving effective control even in interference environments. This proactive notification mechanism means that the system is no longer mechanically executing commands, but possesses preliminary "perception-judgment-feedback" capabilities, making human-computer interaction more intelligent and user-friendly. Thirdly, because this method suppresses conventional instructions when the signal originates from the paired remote control and the operation is successful, unnecessary prompts and interference are avoided. Device fault instructions are only triggered when a hardware failure is confirmed. This differentiated handling approach—silencing when necessary and alarming when appropriate—ensures that each instruction carries high-value information. Users perceive the system's feedback as reliable and accurate, increasing their trust in the system's reliability and avoiding doubts about product quality due to unexplained operational failures. In summary, the technical solution of this application triggers different instructions by identifying the signal source and associating it with the device operation result, enabling users to clearly distinguish between electromagnetic interference and device failure, improving the user experience and reducing the cost of misjudgment.
[0053] Please see the appendix Figure 2 This application provides an automatic switching device control apparatus based on wireless signal recognition. The apparatus may include a judgment module 201, a generation module 202, and a triggering module 203, as detailed below:
[0054] From the above appendix Figure 2As can be seen from the example of the automatic switching device control apparatus based on wireless signal recognition, on the one hand, because this application not only determines whether the signal originates from a matched remote control, but also combines the determination result with the actual operation result of the device, and triggers different indications according to different combinations, it can clearly distinguish between three states: "successful operation," "operation failure due to hardware failure," and "operation abnormality due to electromagnetic interference." This allows users to directly and clearly understand the root cause of the problem, avoiding unnecessary repairs due to misjudging electromagnetic interference as a hardware failure, significantly improving the user experience and reducing after-sales costs. On the other hand, because this method actively triggers an electromagnetic interference indication when it identifies a signal originating from an unmatched source (i.e., electromagnetic interference), rather than simply not responding or reporting an error, this is equivalent to providing users with clear diagnostic information. Users can understand the presence of interference in the current environment based on this instruction and take countermeasures such as moving closer to the device, thus achieving effective control even in interference environments. This proactive notification mechanism means that the system is no longer mechanically executing commands, but possesses preliminary "perception-judgment-feedback" capabilities, making human-computer interaction more intelligent and user-friendly. Thirdly, because this method suppresses conventional instructions when the signal originates from the paired remote control and the operation is successful, unnecessary prompts and interference are avoided. Device fault instructions are only triggered when a hardware failure is confirmed. This differentiated handling approach—silencing when necessary and alarming when appropriate—ensures that each instruction carries high-value information. Users perceive the system's feedback as reliable and accurate, increasing their trust in the system's reliability and avoiding doubts about product quality due to unexplained operational failures. In summary, the technical solution of this application triggers different instructions by identifying the signal source and associating it with the device operation result, enabling users to clearly distinguish between electromagnetic interference and device malfunction, improving the user experience and reducing misjudgment.
[0055] Figure 3 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. For example... Figure 3 As shown, the electronic device 3 in this embodiment mainly includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program for an automatic switching device control method based on wireless signal recognition. When the processor 30 executes the computer program 32, it implements the steps in the above-described embodiment of the automatic switching device control method based on wireless signal recognition, for example... Figure 1 The steps S101 to S103 are shown. Alternatively, when the processor 30 executes the computer program 32, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 2 The functions of the judgment module 201, generation module 202, and trigger module 203 are shown.
[0056] For example, the computer program 32 of the automatic switching device control method based on wireless signal identification mainly includes: determining whether the received external wireless signal originates from a remote control paired with the receiver, wherein the receiver is configured in the automatic switching device; if the external wireless signal originates from the remote control paired with the receiver, generating a device control command based on the external wireless signal and executing the device control command to control the automatic switching device; selectively triggering indication operations corresponding to the determination result and the control result according to the determination result of the external wireless signal source and the device control result, wherein: when the external wireless signal originates from the paired remote control and the device control is successful, a success indication is issued; when the external wireless signal originates from the paired remote control but the device control fails, a device fault indication is triggered; when the external wireless signal is identified as originating from an unmatched source, an electromagnetic interference indication is triggered. The computer program 32 can be divided into one or more modules / units, which are stored in the memory 31 and executed by the processor 30 to complete this application. The one or more modules / units can be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 32 in the electronic device 3. For example, computer program 32 can be divided into the functions of a judgment module 201, a generation module 202, and a trigger module 203 (modules in the virtual device). The specific functions of each module are as follows: Judgment module 201 is used to determine whether the received external wireless signal originates from a remote control paired with the receiver, wherein the receiver is configured in the automatic switching device; Generation module 202 is used to generate device control commands based on the external wireless signal if it originates from a remote control paired with the receiver, and execute the device control commands to control the automatic switching device; Trigger module 203 is used to selectively trigger indication operations corresponding to the judgment result and the control result based on the judgment result and the control result of the external wireless signal, wherein: when the external wireless signal originates from a paired remote control and the device control is successful, a success indication is issued; when the external wireless signal originates from a paired remote control but the device control fails, a device fault indication is triggered; when the external wireless signal is identified as originating from an unmatched source, an electromagnetic interference indication is triggered.
[0057] Electronic device 3 may include, but is not limited to, processor 30 and memory 31. Those skilled in the art will understand that... Figure 3 This is merely an example of electronic device 3 and does not constitute a limitation on electronic device 3. It may include more or fewer components than shown, or combine certain components, or different components. For example, electronic device may also include input / output devices, network access devices, buses, etc.
[0058] The processor 30 may be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.
[0059] The memory 31 can be an internal storage unit of the electronic device 3, such as a hard disk or RAM. The memory 31 can also be an external storage device of the electronic device 3, such as a plug-in hard disk, Smart Media Card (SMC), Secure Digital (SD) card, or Flash Card. Furthermore, the memory 31 can include both internal and external storage units of the electronic device 3. The memory 31 is used to store computer programs and other programs and data required by the electronic device. The memory 31 can also be used to temporarily store data that has been output or will be output.
[0060] 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 merely 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. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above-described device can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.
[0061] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0062] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0063] In the embodiments provided in this application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely illustrative. For instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another device, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between devices or units may be electrical, mechanical, or other forms.
[0064] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0065] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0066] If integrated modules / units are implemented as software functional units and sold or used as independent products, they can be stored in a storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments of this application can also be implemented by a computer program instructing related hardware. The computer program for the automatic switching device control method based on wireless signal identification can be stored in a storage medium. When the computer program is executed by a processor, it can implement the steps of the above method embodiments, namely, determining whether the received external wireless signal originates from a remote control paired with the receiver, wherein the receiver is configured in the automatic switching device; if the external wireless signal originates from a remote control paired with the receiver, generating a device control command based on the external wireless signal and executing the device control command to control the automatic switching device; selectively triggering indication operations corresponding to the determination result and the control result according to the determination result of the external wireless signal source and the device control result, wherein: when the external wireless signal originates from a paired remote control and the device control is successful, a success indication is issued; when the external wireless signal originates from a paired remote control but the device control fails, a device fault indication is triggered; when the external wireless signal is identified as originating from an unmatched source, an electromagnetic interference indication is triggered. Computer programs include computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. Storage media can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signals, telecommunication signals, and software distribution media, etc. It should be noted that the contents of storage media can be appropriately added or removed according to the requirements of legislation and patent practice in a jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, storage media do not include electrical carrier signals and telecommunication signals.
[0067] 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. These 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. The specific embodiments described above further illustrate the purpose, technical solutions, and beneficial effects of this application. It should be understood that the above descriptions are merely specific embodiments of this application and are not intended to limit the protection scope of this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. A method for controlling automatic switching equipment based on wireless signal recognition, characterized in that, The method includes: Determine whether the received external wireless signal originates from a remote control paired with the receiver, which is configured in the automatic switching device; If the external wireless signal originates from a remote control paired with the receiver, then a device control command is generated based on the external wireless signal, and the device control command is executed to control the automatic switching device; Based on the determination of the source of the external wireless signal and the device control result, selectively trigger the instruction operation corresponding to the determination result and the control result, wherein: When the external wireless signal originates from the paired remote control and the device is successfully operated, a success indication is issued; When the external wireless signal originates from the paired remote control but the device fails to operate, a device fault indication is triggered. When the external wireless signal is identified as originating from an unmatched source, an electromagnetic interference indication is triggered.
2. The automatic switching equipment control method based on wireless signal recognition as described in claim 1, characterized in that, The step of determining whether the received external wireless signal originates from a remote control paired with the receiver includes: Extract external wireless signal features, wherein the external wireless signal features include at least one of the time domain features, frequency domain features, and coding features of the external wireless signal; The external wireless signal characteristics are compared with the pre-stored matching remote control characteristic template; The confidence level of the signal source is calculated based on the comparison results, and the signal is determined to originate from the matched remote control when the confidence level exceeds a preset threshold.
3. The automatic switching equipment control method based on wireless signal recognition as described in claim 2, characterized in that, The method further includes: The matching remote control feature template is established and dynamically updated, and the dynamic update is based on learning and optimization of the features of the corresponding signals in historical successful operation records.
4. The automatic switching equipment control method based on wireless signal identification as described in claim 1, characterized in that, The triggering electromagnetic interference indication includes: The indicator device located on the receiver or the remote control is activated to provide a visual cue in a preset mode corresponding to an electromagnetic interference event. The visual cue mode includes at least one of a specific light color, flashing frequency, or flashing sequence.
5. The automatic switching equipment control method based on wireless signal identification as described in claim 1, characterized in that, Prior to triggering the electromagnetic interference indication, the method further includes: Detect the intensity of the unmatched source signal; The intensity or frequency of the electromagnetic interference indicator is adjusted based on the detected signal strength.
6. The automatic switching equipment control method based on wireless signal identification as described in claim 5, characterized in that, The detection of the intensity of the unmatched source signal includes: The power spectral density of the unmatched source signal is analyzed by the signal processing unit to obtain the analysis results; The analysis results are quantified into multiple interference levels; Adjusting the intensity or frequency of the electromagnetic interference indication based on the detected signal strength includes: adjusting the intensity or frequency of the indication according to the interference level, with a higher interference level resulting in a more prominent indication.
7. The automatic switching equipment control method based on wireless signal identification as described in claim 1, characterized in that, The method further includes: Establish communication connections with receivers configured on other nearby, functionally related automatic switching devices; They exchanged their signal source assessment results and interference event information; The results of signal source determination based on the exchange are used to jointly verify the interference event information in order to improve the accuracy of identifying widespread electromagnetic interference.
8. An automatic switching equipment control device based on wireless signal recognition, characterized in that, The device includes: A judgment module is used to determine whether the received external wireless signal originates from a remote control paired with the receiver, the receiver being configured in an automatic switching device; The generation module is configured to generate a device control command based on the external wireless signal if the external wireless signal originates from a remote control matched with the receiver, and execute the device control command to control the automatic switching device. The triggering module is used to selectively trigger an indication operation corresponding to the judgment result and the control result of the external wireless signal based on the judgment result and the control result of the device. Specifically: when the external wireless signal comes from the matched remote control and the device control is successful, the normal indication is suppressed; when the external wireless signal comes from the matched remote control but the device control fails, the device fault indication is triggered; when the external wireless signal is identified as coming from an unmatched source, the electromagnetic interference indication is triggered.
9. An electronic 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 method as described in any one of claims 1 to 7.
10. A storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 7.