Remote control method and remote control system based on exclusive communication channel and storage medium

By establishing a dedicated communication channel for each remote control and controlled device combination, the problem of interference between multiple devices in traditional 2.4G wireless communication is solved, achieving efficient, stable and secure remote control communication, suitable for use scenarios with multiple devices.

CN121865416APending Publication Date: 2026-04-14SHENZHEN C&D ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-12-11
Publication Date
2026-04-14

AI Technical Summary

Technical Problem

In traditional 2.4G wireless communication, interference is likely to occur when multiple remote control devices are used in the same space, leading to unstable communication and poor security.

Method used

Through a specific pairing process and frequency modulation calculation method, a dedicated communication channel is established for each control box combination of remote control and controlled device. A dedicated RF channel is calculated using a unique ID and flag variables to avoid interference and improve security.

Benefits of technology

It achieves efficient, stable and secure communication between the remote control and the controlled device, and is suitable for use scenarios with multiple devices, reducing the risk of external interference and malicious attacks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121865416A_ABST
    Figure CN121865416A_ABST
Patent Text Reader

Abstract

The invention relates to a wireless communication technology, and discloses a remote control method and a remote control system based on an exclusive communication channel, and a storage medium. Through a specific pairing process and a frequency modulation calculation method, the exclusive communication channel is established for each paired remote controller and control box combination; the interference problem caused by the fact that multiple sets of equipment use the same fixed frequency point for communication is avoided, and the communication stability in the remote control process is improved; meanwhile, when the remote controller needs to be paired with the control box of other controlled equipment, a new exclusive communication channel can be established based on the new mark variable and the unique ID, and different use scenes and requirements can be adapted; and each pairing combination is provided with an exclusive channel, so that the risk of external interference or hostile attack is reduced, the safety and reliability of communication are improved, and a powerful guarantee is provided for stable operation of remote control equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of wireless communication technology, and in particular to a remote control method, remote control system, and computer-readable storage medium based on a dedicated communication channel. Background Technology

[0002] 2.4GHz refers to a working frequency band, which is typically between 2.400GHz and 2.483GHz. When setting the working communication frequency, it can be divided into 1MHz bandwidth segments, such as 2.402GHz, 2.403GHz, 2.404GHz, etc. These frequency points all fall within the 2.4GHz band range.

[0003] Wireless products need to be on the same frequency or band to communicate with each other, and 2.4G wireless communication is no exception. That is, in order to achieve communication between two devices at a certain time, they must use the same 2.4G frequency. For example, if the remote control uses the frequency of 2.405GHz to send data, then the control box of the receiving device must also use the 2.405GHz frequency to receive data.

[0004] 2.4G communication transmission rates are typically 1Mbps, 500Kbps, 250bps, etc. Once a certain rate is selected on a product, it is fixed and cannot be switched back and forth. Higher transmission rates offer better anti-interference performance, while lower transmission rates allow for longer transmission distances.

[0005] In traditional low-cost 2.4G communication, a fixed frequency point is typically used, such as 2.402MHz. Therefore, all similar products using the same 2.402MHz frequency for both sending and receiving communication present challenges when multiple remote-controlled mechanical devices communicate within a single space (e.g.,...). Figure 1 As shown, multiple identical products can easily cause interference during the transmission and reception of data.

[0006] The above content is only used to help understand the technical solution of this application and does not represent an admission that the above content is prior art. Summary of the Invention

[0007] The main objective of this application is to provide a remote control method, remote control system, and computer-readable storage medium based on a dedicated communication channel, which aims to enable communication between the remote controller and the controlled device control box through a dedicated communication channel, thereby improving the stability and security of the communication.

[0008] To achieve the above objectives, this application provides a remote control method based on a dedicated communication channel, comprising the following steps:

[0009] When the control box of the controlled device enters pairing mode, the communication channel is switched to the fixed pairing channel;

[0010] The remote control initiates a pairing request and sends a data packet to the control box; the data packet contains pairing commands, flag variables, and a unique ID (Identity Document) corresponding to the remote control.

[0011] The control box receives and parses the data packet, confirms the pairing command, associates and saves the flag variable with the unique ID, and sends a confirmation signal back to the remote control;

[0012] After receiving the confirmation signal, the remote control increments the flag variable by one to obtain a new flag variable, and saves the new flag variable and the original flag variable respectively to complete the pairing.

[0013] After pairing is complete, both the remote control and the control box use the original flag variable and the unique ID as the frequency modulation calculation factor of the RF (Radio Frequency) channel to calculate the exclusive communication channel between the remote control and the control box.

[0014] The remote controller and the control box establish communication based on a dedicated communication channel; when the remote controller needs to be paired with the control box of other controlled devices, pairing is performed based on the new flag variable and the unique ID, and a corresponding dedicated communication channel is established.

[0015] To achieve the above objectives, this application also provides a remote control system, which includes a remote controller and a controlled device, wherein the remote controller and the control box of the controlled device jointly perform the steps of the remote control method based on a dedicated communication channel as described above.

[0016] To achieve the above objectives, this application also provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of the remote control method based on the dedicated communication channel described above.

[0017] The remote control method, system, and computer-readable storage medium based on a dedicated communication channel provided in this application establish a dedicated communication channel for each paired remote control and control box combination through a specific pairing process and frequency modulation calculation method. This avoids interference problems caused by multiple devices using the same fixed frequency point for communication and improves the stability of communication during remote control. At the same time, when the remote control needs to be paired with the control box of other controlled devices, a new dedicated communication channel can be established based on new flag variables and unique IDs, which can adapt to different usage scenarios and needs. Moreover, each pairing combination has a dedicated channel, which reduces the risk of external interference or malicious attacks, improves the security and reliability of communication, and provides a strong guarantee for the stable operation of remote control devices.

[0018] This enables the establishment and communication of a dedicated communication channel between the remote controller and the control box of the controlled device, providing an efficient, stable and secure solution for remote control, especially suitable for one-to-many and many-to-many usage scenarios between remote control devices. Attached Figure Description

[0019] Figure 1 A schematic diagram illustrating communication between multiple remote control devices within the same space;

[0020] Figure 2 This is a schematic diagram of the steps of a remote control method based on a dedicated communication channel in one embodiment of this application;

[0021] Figure 3 This is a schematic diagram of the controller architecture in one embodiment of this application;

[0022] Figure 4 This is a schematic diagram of the architecture of the control box in one embodiment of this application;

[0023] Figure 5 This is a schematic diagram illustrating the implementation method for obtaining mucID in one embodiment of this application.

[0024] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0025] The embodiments of this application are described in detail below. Examples of these embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and intended to explain this application, and should not be construed as limiting this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application without inventive effort are within the scope of protection of this application.

[0026] Furthermore, descriptions using terms such as "first" and "second" in this application are for descriptive purposes only (e.g., to distinguish identical or similar features) and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, features defined with "first" and "second" may explicitly or implicitly include at least one of those features. Additionally, technical solutions from different embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. If a combination of technical solutions is contradictory or impossible to implement, such a combination should be considered nonexistent and not within the scope of protection claimed in this application.

[0027] Reference Figure 2 In one embodiment, the remote control method based on a dedicated communication channel includes:

[0028] Step S10: When the control box of the controlled device enters the pairing mode, switch the communication channel to the fixed pairing channel;

[0029] Step S20: The remote control initiates a pairing request and sends a data packet to the control box; wherein, the data bytes of the data packet store the pairing command, flag variables and the unique ID corresponding to the remote control;

[0030] Step S30: The control box receives and parses the data packet, confirms the pairing command, associates and saves the flag variable with the unique ID, and sends a confirmation signal to the remote control.

[0031] Step S40: After receiving the confirmation signal, the remote control increments the accumulated flag variable by one to obtain a new flag variable, and saves the new flag variable and the original flag variable respectively to complete the pairing.

[0032] Step S50: After pairing is completed, both the remote control and the control box use the original flag variable and the unique ID as the frequency modulation calculation factor of the RF channel to calculate the exclusive communication channel between the remote control and the control box.

[0033] Step S60: The remote controller and the control box establish communication based on a dedicated communication channel; wherein, when the remote controller needs to be paired with the control box of other controlled devices, pairing is performed based on the new flag variable and the unique ID and a corresponding dedicated communication channel is established.

[0034] In this embodiment, the aim is to enable communication between the remote controller and the control box of the controlled device via a dedicated communication channel. Through a specific pairing process and frequency modulation calculation method, a dedicated communication channel is established for each paired remote controller and control box combination to improve communication stability and security. Simultaneously, when the remote controller needs to be paired with the control box of another controlled device, a new dedicated communication channel can be established based on new flag variables and a unique ID.

[0035] As described in step S10, when the control box of the controlled device enters the pairing mode, it will switch the communication channel to the fixed pairing channel. This step is the initial preparation for the entire pairing process. The fixed pairing channel is like an "initial meeting place." The remote control and the control box need to perform subsequent pairing operations on this specific channel first to ensure that both parties can start interacting in a unified communication environment.

[0036] As described in step S20, the remote control actively initiates a pairing request, indicating that it wishes to establish a connection with the control box that is currently in pairing mode.

[0037] The remote control sends a data packet to the control box, which contains important information. Specifically, the data packet's data bytes contain at least the following:

[0038] (1) Pairing command: Clearly inform the control box that this is a pairing request, so that the control box knows that the next operation is the pairing process.

[0039] (2) Flag variable: It is a key identifier used for subsequent pairing confirmation, cumulative calculation and frequency modulation calculation.

[0040] (3) Unique ID corresponding to the remote control: Each remote control has a unique ID to distinguish different remote controls and ensure the accuracy and uniqueness of pairing.

[0041] As described in step S30, after the control box receives the data packet sent by the remote control, it will parse it and extract information such as pairing commands, flag variables and unique IDs.

[0042] The control box checks the pairing command in the data packet to confirm that it is indeed a valid pairing request. After confirming the pairing command, the control box associates and saves the flag variable with the remote control's unique ID. This is like recording the remote control's relevant information in the control box's "address book," facilitating subsequent communication and identification.

[0043] Then, the control box sends an acknowledgment signal to the remote control, informing it that the pairing request has been received and processed.

[0044] As described in step S40, the remote controller receives a confirmation signal from the control box, indicating that the pairing request has been recognized by the control box.

[0045] Optionally, the remote control increments the flag variable by one to obtain a new flag variable. This operation can be used to distinguish different pairing processes or subsequent communication states, increasing the system's traceability and manageability. The remote control saves the new flag variable and the original flag variable separately. At this point, the pairing process between the remote control and the control box is complete.

[0046] As described in step S50, after pairing is complete, both the remote control and the control box will use the original flag variable and the remote control's unique ID as the frequency modulation calculation factor for the RF channel. The RF channel, or radio frequency channel, is a wireless communication channel. Using a specific frequency modulation calculation method, the original flag variable and the unique ID are used to calculate a dedicated communication channel between the remote control and the control box. This dedicated communication channel acts like a special frequency band allocated for this pair of remote controls and the control box, avoiding communication interference with other devices and improving communication stability and security.

[0047] As described in step S60, the remote controller and the control box establish communication based on a calculated dedicated communication channel. Both parties can transmit and interact data on this channel to achieve remote control of the controlled device.

[0048] Furthermore, when the remote control needs to be paired with the control box of other controlled devices, the pairing process described above is repeated based on the new flag variable and unique ID to establish a corresponding dedicated communication channel. This ensures that the remote control can flexibly pair and communicate with multiple different controlled devices, improving the system's versatility and scalability.

[0049] 2.4G wireless communication is widely used in electronic communication devices, such as remote controls for lighting equipment and motor control boxes. 2.4G technology is quite widespread; for example, Bluetooth communication uses 2.4G. However, Bluetooth chips are generally expensive, so they are not used in low-cost, simple control command scenarios. Some 2.4G applications directly use a single frequency point for communication. This type of application is prone to interference when multiple products are used together, leading to control data loss and affecting the user experience.

[0050] In low-cost 2.4G wireless two-way communication, this embodiment provides a frequency hopping implementation scheme, which enables multiple devices to operate simultaneously without interfering with each other, achieving stable data interaction communication and control device operation.

[0051] In one embodiment, a dedicated communication channel is established for each paired remote control and control box combination through a specific pairing process and frequency modulation calculation method. This avoids interference problems caused by multiple devices using the same fixed frequency point for communication and improves the stability of communication during remote control. At the same time, when the remote control needs to be paired with the control box of other controlled devices, a new dedicated communication channel can be established based on new flag variables and unique IDs, which can adapt to different usage scenarios and needs. Moreover, each pairing combination has a dedicated channel, which reduces the risk of external interference or malicious attacks, improves the security and reliability of communication, and provides a strong guarantee for the stable operation of remote control devices.

[0052] This enables the establishment and communication of a dedicated communication channel between the remote controller and the control box of the controlled device, providing an efficient, stable and secure solution for remote control, especially suitable for one-to-many and many-to-many usage scenarios between remote control devices.

[0053] In one embodiment, based on the above embodiments, after the step of establishing communication between the remote controller and the control box based on a dedicated communication channel, the method further includes:

[0054] The remote control sends control commands to the control box via a dedicated communication channel;

[0055] Based on the received control commands, the control box controls the controlled device to perform corresponding operations.

[0056] In this embodiment, after the dedicated communication channel is successfully established, the remote control begins to perform its control functions. It sends control commands to the control box via this dedicated channel. These commands are generated by the user's operation of the remote control and represent the specific actions the user wants the controlled device to perform, such as turning it on, off, or adjusting its speed. Because the commands are sent through a dedicated channel, the transmission process is subject to minimal interference, ensuring more accurate and stable delivery to the control box.

[0057] After receiving a control command from the remote control, the control box parses the command. Based on the command's content, the control box sends a corresponding signal to the controlled device, thereby controlling the device to perform the corresponding operation. For example, if the command is to turn on the device, the control box will send an "on" signal to the device, causing it to start operating.

[0058] This not only solves the problem of mutual interference between multiple devices in traditional 2.4G communication, but also enables stable and accurate device control after establishing a dedicated channel, providing users with a more reliable and efficient remote control experience, especially suitable for scenarios where multiple remote control devices are used in the same space.

[0059] In one embodiment, based on the above embodiment, the communication modules of the remote control and the control box both adopt an assembly chip, which integrates a 2.4G wireless transceiver, and the assembly chip is also externally expanded with an EEPROM.

[0060] In this embodiment, refer to Figure 3 The remote control transmitter uses a low-cost assembly chip, which integrates a 2.4G wireless transceiver. The chip has 4K of ROM space and an external EEPROM to store some ID data. A matrix button is added to control the remote control to send wireless commands.

[0061] Optional, refer to Figure 4 The control box receiver uses the same assembly chip, which integrates a 2.4G wireless transceiver and an external EEPROM to store some ID data. It also has a pairing button and outputs some IO signals to drive the relay to open and close after receiving the remote control signal.

[0062] Relays are mainly used to control the upward or downward rotation of external motors. For example, when the motor controls the head of the massage bed to rise, the head-up button on the remote control needs to be pressed. At this time, the remote control sends a wireless signal to the control box to raise the head. After receiving the command, the control box outputs a control signal, which turns on the relay controlling the head-up, thereby controlling the head motor to rise. This realizes the raising operation of the massage bed head.

[0063] In one embodiment, based on the above embodiments, the remote control method based on a dedicated communication channel further includes:

[0064] When programming the corresponding unique ID into the chip ROM of the assembly chips of multiple remote controllers, based on the set initial ID value, after programming each chip is completed, the initial ID value is incremented by one, and then programming the next chip is performed.

[0065] In this embodiment, each remote controller needs a unique MCUID to distinguish different remote controllers.

[0066] Optional, refer to Figure 5 Because it's a low-cost application, the MCUID occupies 2.5 bytes and can identify over a million different remote controls. Since the chip ROM is 4KB (4096 bytes), the last 3 bytes of the program space need to be reserved to store the MCUID.

[0067] The program uses assembly code to identify the starting address of this mcuID space, 0x0ffd, which is 4093 in decimal (meaning the mcuID memory uses three memory locations: 4093 (0x0ffd), 4094 (0x0ffe), and 4095 (0x0fff)).

[0068] "ADDR_ID_TABLE_H EQU 0x0f

[0069] ADDR_ID_TABLE_L EQU 0xfd”

[0070] After identifying this MCUID space, the program code can retrieve the MCUID value at this address using the two identifiers ADDR_ID_TABLE_H and ADDR_ID_TABLE_L.

[0071] The MCUID is written during the programming process, referring to... Figure 5 An initial MCUID value, such as 10, is set using a programmer and then written during chip programming. This value increments by 1 each time a chip program is programmed, thus creating different MCUIDs.

[0072] In one embodiment, based on the above embodiment, the communication data packet of the 2.4G wireless communication data packet format is composed of: 3 bytes of preamble + 4 bytes of synchronization word + 1 byte of data length + 7 bytes of data byte + 2 bytes of CRC check (as shown in Table 1 below).

[0073] Table 1:

[0074] Preamble Synchronization words Data length Data bytes CRC check 3 bytes 4 bytes 1 byte 7 bytes 2 bytes

[0075] Optionally, the composition of the data bytes is shown in Table 2 below:

[0076] Table 2:

[0077]

[0078] Among them, "eepromID0 low byte + eepromID1 high byte" is used to store flag variables, "mcuID0 low byte + mcuID1 middle byte + mcuID2 high byte" is used to store the unique ID of the remote control, "counter byte" is used to store random values, and "control command byte" is used to store control commands (control commands may include pairing commands, control operation commands for the controlled device (such as head motor raise command, head motor lower command, etc.).

[0079] Optionally, the RF frequency point of the dedicated communication channel is calculated by adding a frequency modulation (FM) value to a specific frequency value, and the FM value is determined based on the FM calculation factor. The specific frequency value can be 2402MHz, and the FM calculation factor (CH) can range from 0 to 80. For example, if the RF needs to operate at frequency 2402MHz, then the CH value is 0.

[0080] Optionally, pairing is required before 2.4G communication can be implemented. Pairing is to establish a binding relationship between remote controller A and control box A. Once the binding relationship is established, control box A can correctly parse the commands sent by remote controller A. Here, a fixed frequency point is used to implement pairing, such as channel 0x4f(79), which is converted to a frequency of 2402MHz + 79MHz = 2481MHz = 2.481GHz.

[0081] In one embodiment, based on the above embodiments, the remote control method based on a dedicated communication channel further includes:

[0082] When the pairing button on the control box is triggered, it enters pairing mode and prepares to receive the data packet;

[0083] When the combination of buttons on the remote control is triggered simultaneously, the data packet is generated and sent.

[0084] Optionally, control box A can enter the state of receiving pairing data information by pressing the button on the box twice in succession.

[0085] Optionally, remote control A can send pairing command 0x0e data by pressing the combination buttons s1+s2 simultaneously for three seconds.

[0086] Optionally, after parsing this pairing command, control box A needs to save the first 5 bytes of data, which consists of 5 bytes of data consisting of eEPROMID (i.e., flag variable) and mucID (i.e., unique ID), and save them to the control box's EEPROM. At the same time, it replies with an ACK command to the remote control, and the remote control, upon receiving the ACK command from the control box, also saves the relevant ID.

[0087] This completes the pairing of remote control A and control box A.

[0088] Optionally, the flag variable occupies n address units, and the unique ID occupies m address units; the remote control method based on a dedicated communication channel further includes:

[0089] When the remote control and the control box are paired, the remote control reads the flag variable from the address unit of its local EEPROM and the unique ID from the chip ROM, and encapsulates the flag variable and the unique ID into a data packet;

[0090] After the control box obtains the flag variable and the unique ID, it stores the flag variable and the unique ID into the n+m address units of the control box's EEPROM, respectively.

[0091] In one embodiment, based on the above embodiments, the remote control method based on a dedicated communication channel further includes:

[0092] After generating a new flag variable, the remote controller stores the original flag variable in n new address units in the local EEPROM, and stores the new flag variable in the n old address units that were originally used to store the original flag variable.

[0093] (1) Description of remote control pairing and data packet generation command (i.e., the process of generating data packets):

[0094] Optionally, during pairing of the remote control and the control box, the remote control MCU first reads data from EEPROM addresses 02H and 03H via the IIC interface into flag variables eepromID0 and eepromID1; the remote control MCU reads mcuID0, mcuID1, and mcuID2 from the identifier variables ADDR_ID_TABLE_H and ADDR_ID_TABLE_L. Simultaneously, the counter byte is filled with a random value, and the control command byte is filled with the pairing command 0x0e.

[0095] When the control box receives a data packet in paired mode, the MCU of the control box parses the control command word as 0x0e, and then stores eEPROMID0, eEPROMID1, mcuID0, mcuID1, and mcuID2 into the control box's EEPROM address units 00H, 01H, 02H, 03H, and 04H, respectively. At the same time, the control box sends an ACK command to the remote control.

[0096] After receiving the ACK command, the remote controller saves eEPROMID0 and eEPROMID1 to EEPROM addresses 00H and 01H, respectively. Then, it increments the values ​​of eEPROMID0 and eEPROMID1 by 1 and saves them to EEPROM addresses 02H and 03H, respectively.

[0097] (2) After pairing, the remote control and control box can communicate using a dedicated channel, and the controlled device can be controlled accordingly. The following example illustrates controlling the head of the controlled device to rise:

[0098] When the head-up button on the remote control is pressed, the MCU detects the button press and, before transmitting the code, first configures the RF wireless transmission channel. The configuration method for this wireless channel is as follows:

[0099] The remote control MCU reads the paired data eepromID0 and eepromID1 from EEPROM addresses 00H and 01H, and then obtains the lower 3 bits of the low byte eepromID0 and assigns them to the RF channel flag rf_channel_value, as follows:

[0100] “mov a,eepromID0

[0101] and a,@0x07

[0102] mov rf_channel_value,a".

[0103] The remote control MCU simultaneously reads mcuID0, mcuID1, and mcuID2 from the flag variables ADDR_ID_TABLE_H and ADDR_ID_TABLE_L. Similarly, it takes the lower 5 bits of the least significant byte mcuID0 to accumulate the RF channel flag and obtain the latest RF channel value rf_channel_value.

[0104] “mov a,mcuID0

[0105] and a,@0x3f

[0106] Add rf_channel_value,a.

[0107] The rf_channel_value is different for different remote controls, so that different remote controls use different RF channels to communicate, thereby reducing the mutual interference problem when multiple remote controls are in use.

[0108] Optionally, when the pairing combination button is pressed, the remote control reads an EEPROM ID from address spaces 02H and 03H. This ID value is two bytes long, ranging from 0x0000 to 0xffff. The remote control receives a pairing ACK signal from the control box, indicating that pairing is complete. After pairing, the remote control stores this EEPROM ID value in memory locations 00H and 01H. Storing this value is primarily for frequency modulation calculations. That is, when the remote control presses a button normally, the lower 3 bits of this ID are used as a factor for the RF channel.

[0109] Since each remote control MCU also has a unique MCUID, which is 2.5 bytes long, bits 0 to 5 of the lowest byte are used to calculate the RF channel. The maximum value of the 5 bits is 0b00111111, meaning it can represent a maximum of 63. Because the RF channel is divided into 1MHz bandwidth segments, and channel 79 (0x4f) is already a paired channel, assuming 6 bits are used for the RF channel, the maximum value that 6 bits can represent is 127, which exceeds the representation range of the RF channel.

[0110] The `eepromID` (3 bits) can represent a range of 0 to 7, while the `mcuID` (5 bits) can represent a range of 0 to 63. Therefore, the final channel's frequency modulation factor (CH) ranges from 0 to 70, which translates to a frequency range of 2402 MHz to 2474 MHz. This method of channel calculation ensures that the communication frequency between the remote control and the control box operates within these 70 frequencies, thus implementing a frequency-hopping communication mechanism.

[0111] The control box must ensure that it uses the same RF channel frequency as the remote control after pairing. Normal communication is only possible between the control box and the remote control if their channel frequencies match.

[0112] Because a dedicated pairing channel 79 (0x4f) was specified during pairing, corresponding to the frequency 2.481GHz, the control box can receive the pairing data from the remote control. After parsing the pairing command 0x0e, the control box stores the contents of address units 00H and 01H of the remote control's EEPROM into address units 00H and 01H of its own EEPROM. Simultaneously, it stores the remote control's MCUID into address units 02H, 03H, and 04H of the control box itself.

[0113] After pairing, when the control box switches to normal receiving mode, it uses the same calculation method as the remote control when calculating the receiving channel or frequency. It accumulates the values ​​of 3 bits of EEPROMID and 5 bits of MCUID to obtain the RF channel. This ensures that the receiving frequency of the control box is consistent with that of the remote control, enabling communication between the remote control and the paired control box using unique RF frequencies.

[0114] (3) Comparison of application scenarios of this frequency modulation method

[0115] Each remote control has a unique MCUID, which, along with the EEPROMID, is used to calculate the RF channel. This ensures that a unique RF channel is generated for communication each time pairing is established. In other words, the communication RF channel changes every time remote control A is paired with control box A. Similarly, after pairing, remote control N and control box N also have their own unique communication RF channel.

[0116] When multiple remote controls and control boxes are used together, they can operate on different frequencies without interfering with each other.

[0117] (4) Frequency Modulation Summary

[0118] (4.1) Method for creating, obtaining, and scrolling the remote control ID.

[0119] Use a unique method to create an MCUID and obtain the MCUID through assembly addressing.

[0120] A method for arranging and storing EEPROM addresses is provided, in which EEPROM address units 00H and 01H are arranged as frequency modulation calculation factors, and 02H and 03H are arranged as rolling ID data.

[0121] Units 02H and 03H acquire their data upon entering pairing and send it to the control box along with the MCUID via pairing channel 79 (0x4f).

[0122] After receiving the pairing command on the pairing channel, the control box stores the remote control's ID. This way, after exiting pairing, the control box resumes normal receiving functionality, and the RF channel calculated using the stored ID will match that of the remote control.

[0123] After receiving the ACK signal, the remote control stores the acquired data from units 02H and 03H into units 00H and 01H. Simultaneously, it increments the data in units 02H and 03H by 1 and then stores the incremented data back into units 02H and 03H. This updates the contents of units 02H and 03H, ensuring that the updated data is retrieved for each pairing, thus guaranteeing a new rolling ID for each pairing.

[0124] After pairing, when the motor lifting button is pressed normally on the remote control, the RF channel is calculated by superimposing the 00H and 01H unit frequency modulation factor data onto the MCUID. This RF channel then matches the RF channel of the control box receiver.

[0125] (4.2) The remote control ID assignment and transmission are completed during pairing.

[0126] Pairing information is transmitted using a dedicated RF channel 79 (0x4f) and command (0x0e); upon successful pairing, the control box sends an ACK signal to the remote control while retaining the ID information.

[0127] After receiving the ACK signal, the remote control retains the ID to 00H and 01H, and accumulates the ID to 02H and 03H.

[0128] (4.3) After the remote control and control box are paired, RF communication

[0129] During RF communication, the remote control obtains data from EEPROM cells 00H and 01H and the MCUID to calculate the channel. When the receiver enters receive mode, it also obtains the ID data from the EEPROM address cell for channel calculation. Because a binding relationship is established during pairing, the IDs used to calculate the RF channel are identical for both the remote control and the control box. Furthermore, the methods for calculating the RF channel are also identical, resulting in consistent RF channel values. After the RF channel is set up correctly, the remote control and the control box can communicate normally.

[0130] For example, the calculation program for the RF channel is as follows:

[0131] “mov a,eepromID0

[0132] and a,@0x07

[0133] mov rf_channel_value,a

[0134] mov a,mcuID0

[0135] and a,@0x3f

[0136] Add rf_channel_value,a.

[0137] Furthermore, this application embodiment also provides a remote control system, which includes a remote controller and a controlled device. The remote controller and the control box of the controlled device jointly perform the steps of the remote control method based on a dedicated communication channel as described in the above embodiments.

[0138] Since this remote control system adopts all the technical solutions of all the above embodiments, it has at least all the technical effects brought about by the technical solutions of the above embodiments, and will not be described in detail here.

[0139] Furthermore, this application also proposes a computer-readable storage medium comprising a computer program that, when executed by a processor, implements the steps of the remote control method based on a dedicated communication channel as described in the above embodiments. It is understood that the computer-readable storage medium in this embodiment can be a volatile readable storage medium or a non-volatile readable storage medium.

[0140] In summary, the remote control method, remote control system, and computer-readable storage medium based on a dedicated communication channel provided in this application establish a dedicated communication channel for each paired remote control and control box combination through a specific pairing process and frequency modulation calculation method. This avoids interference problems caused by multiple devices using the same fixed frequency point for communication and improves the stability of communication during remote control. Simultaneously, when the remote control needs to be paired with the control box of other controlled devices, a new dedicated communication channel can be established based on new flag variables and unique IDs, adapting to different usage scenarios and needs. Moreover, each paired combination has a dedicated channel, reducing the risk of external interference or malicious attacks, improving communication security and reliability, and providing strong protection for the stable operation of the remote control device.

[0141] This enables the establishment and communication of a dedicated communication channel between the remote controller and the control box of the controlled device, providing an efficient, stable and secure solution for remote control, especially suitable for one-to-many and many-to-many usage scenarios between remote control devices.

[0142] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the methods described above. Any references to memory, storage, databases, or other media provided in this application and in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM), or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in a variety of forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), dual-speed SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), RAMbus direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM).

[0143] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, apparatus, article, or method that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, apparatus, article, or method. Unless otherwise specified, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, apparatus, article, or method that includes that element.

[0144] The above description is only a preferred embodiment of this application and does not limit the patent scope of this application. Any equivalent structural or procedural changes made based on the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent protection scope of this application.

Claims

1. A remote control method based on a dedicated communication channel, characterized in that, include: When the control box of the controlled device enters pairing mode, the communication channel is switched to the fixed pairing channel; The remote control initiates a pairing request and sends a data packet to the control box; the data bytes of the data packet contain the pairing command, flag variables, and the unique ID corresponding to the remote control. The control box receives and parses the data packet, confirms the pairing command, associates and saves the flag variable with the unique ID, and sends a confirmation signal back to the remote control; After receiving the confirmation signal, the remote control increments the flag variable by one to obtain a new flag variable, and saves the new flag variable and the original flag variable respectively to complete the pairing. After pairing is completed, both the remote control and the control box use the original flag variable and the unique ID as the frequency modulation calculation factor of the RF channel to calculate the exclusive communication channel between the remote control and the control box. The remote controller and the control box establish communication based on a dedicated communication channel; when the remote controller needs to be paired with the control box of other controlled devices, pairing is performed based on the new flag variable and the unique ID, and a corresponding dedicated communication channel is established.

2. The remote control method based on a dedicated communication channel as described in claim 1, characterized in that, After the step of establishing communication between the remote controller and the control box based on a dedicated communication channel, the following is also included: The remote control sends control commands to the control box via a dedicated communication channel; Based on the received control commands, the control box controls the controlled device to perform corresponding operations.

3. The remote control method based on a dedicated communication channel as described in claim 1, characterized in that, The communication modules of the remote control and the control box both use an assembly chip, which integrates a 2.4G wireless transceiver and is also externally connected to an EEPROM.

4. The remote control method based on a dedicated communication channel as described in claim 3, characterized in that, The remote control method based on a dedicated communication channel further includes: When programming the corresponding unique ID into the chip ROM of the assembly chips of multiple remote controllers, based on the set initial ID value, after programming each chip is completed, the initial ID value is incremented by one, and then programming the next chip is performed.

5. The remote control method based on a dedicated communication channel as described in claim 3 or 4, characterized in that, The flag variable occupies n address units, and the unique ID occupies m address units; The remote control method based on a dedicated communication channel further includes: When the remote control and the control box are paired, the remote control reads the flag variable from the address unit of its local EEPROM and the unique ID from the chip ROM, and encapsulates the flag variable and the unique ID into a data packet; After the control box obtains the flag variable and the unique ID, it stores the flag variable and the unique ID into the n+m address units of the control box's EEPROM, respectively.

6. The remote control method based on a dedicated communication channel as described in claim 5, characterized in that, The remote control method based on a dedicated communication channel further includes: After generating a new flag variable, the remote controller stores the original flag variable in n new address units in the local EEPROM, and stores the new flag variable in the n old address units that were originally used to store the original flag variable.

7. The remote control method based on a dedicated communication channel as described in claim 1, characterized in that, The RF frequency point of the dedicated communication channel is calculated by adding a frequency modulation value to a specific frequency value, and the frequency modulation value is determined according to the frequency modulation calculation factor.

8. The remote control method based on a dedicated communication channel as described in claim 1, characterized in that, The remote control method based on a dedicated communication channel further includes: When the pairing button on the control box is triggered, it enters pairing mode and prepares to receive the data packet; When the combination of buttons on the remote control is triggered simultaneously, the data packet is generated and sent.

9. A remote control system, characterized in that, The remote control system includes a remote controller and a controlled device, wherein the remote controller and the control box of the controlled device together perform the steps of the remote control method based on a dedicated communication channel as described in any one of claims 1 to 8.

10. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, implements the steps of the remote control method based on a dedicated communication channel as described in any one of claims 1 to 8.