A wireless control method for multi-machine pairing
Through Bluetooth connection and multi-channel debugging between the main controller and sub-controllers, efficient and safe multi-machine wireless control of fireproof roller shutters was achieved, solving the problems of inconvenient control and large errors in existing technologies, and improving the management efficiency of fireproof roller shutters in large shopping malls.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- FUJIAN ANLIN INTELLIGENT SCI & TECH
- Filing Date
- 2026-03-19
- Publication Date
- 2026-07-07
AI Technical Summary
Existing wireless control methods for fireproof roller shutters have problems such as inconvenient control, need for multiple debugging, large errors, low efficiency and poor security in large shopping malls, especially when the sub-control chip needs to frequently switch working modes and be manually adjusted at high positions.
The system employs a multi-device pairing wireless control method. Through Bluetooth connection between the master controller and the sub-controllers, and utilizing multiple communication channels, the master controller can directly perform active debugging, enabling batch selection of zone control. When the sub-controller changes the target master controller, it only needs to switch channels twice, without the need for working mode switching, thus avoiding operation at heights.
It improves control efficiency and safety, reduces control errors, avoids high-altitude operations except for initial installation, and simplifies the debugging process.
Smart Images

Figure CN122349097A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fireproof roller shutter technology, and in particular, to a wireless control method for multi-machine pairing. Background Technology
[0002] With the country's large-scale infrastructure construction (such as subways, airport expansions and renovations, and stadiums), the demand for roller shutters used in buildings is increasing, and the performance requirements are becoming more stringent. In these important locations, the fire alarm level requirements are becoming increasingly stringent; currently, densely populated shopping malls, underground rail transit, underground parking lots, and factories mostly use fire-resistant roller shutters for fire control by opening or closing them.
[0003] However, the motors and controllers for fire-resistant roller shutters are typically located high above the door, making opening and closing control cumbersome. Therefore, many fire-resistant roller shutters are equipped with remote control button boxes. Remote control can be wired or wireless. Wired control requires selecting a button box installation location on the wall, then laying the connecting cable from the fire-resistant roller shutter controller to the wall-mounted button box. This cable needs to be pre-embedded in grooves or fitted with metal conduits. Then, a hole needs to be drilled through the wall at the button box installation location to install the manual control button box. This work is costly, inefficient, and not suitable for places like shopping malls and underground rail transit. Therefore, current button box settings tend to favor wireless control. For example, Chinese invention patent CN116752886A discloses a Bluetooth-based fireproof roller shutter control method, relating to the field of fireproof roller shutter technology, including the following steps: S1: The controller connects to the button box, the controller enters the first connection mode, and executes S2; S2: Determine whether the controller has received debugging request information from the debugging terminal. If so, the controller enters the second connection mode and executes S3; otherwise, no operation is performed; S3: The controller sends the parameters of the fireproof roller shutter and the button box to the debugging terminal; S4: The controller controls the fireproof roller shutter according to the debugging information. This invention utilizes the characteristics of Bluetooth communication, sets up a Bluetooth chip, and completes the Bluetooth connection between the button box, the debugging terminal, and the controller. The Bluetooth chip in the button box has low current consumption under normal conditions, effectively reducing power consumption and extending its service life, which is convenient for property management. Furthermore, during debugging, the controller enters a high-power mode to communicate with the debugging terminal, facilitating batch debugging of fireproof roller shutters and enabling daily management by personnel without professional experience.
[0004] However, the aforementioned Bluetooth-based fireproof roller shutter control method is still a one-to-one, one-way wireless control technology. That is, each fireproof roller shutter controller relies on a button box for debugging and control, which is very inconvenient when there are a large number of fireproof roller shutters in large shopping malls.
[0005] Therefore, there is now a further technology for wirelessly controlling multiple sub-controllers located at the fireproof roller shutter motors from a single main controller. For example, Chinese invention patent CN118151562A provides a wireless control-based zone control method for fireproof roller shutters, which relates to the field of fireproof roller shutter technology and includes the following steps: S1: The main control box is connected to the button box, the main control box enters the working mode, and executes step S2; S2: Determine whether the main control box has received the debugging request information from the debugging terminal. If so, the main control box enters the zone mode and executes step S3; otherwise, it directly executes step S4; S3: The debugging terminal debugs the sub-control boxes according to the debugging information transmitted from the sub-control boxes and establishes a wireless connection between the sub-control boxes and the main control box; S4: The main control box controls the sub-control boxes according to the debugging information of the sub-control boxes. This invention, while ensuring wireless control and low energy consumption, enables the main control box to perform zoned control of multiple sub-control boxes and fireproof roller shutters. It also effectively utilizes the characteristics of wireless control to connect multiple target sub-control boxes in different zones to the main control box. Furthermore, the zones are variable, allowing for zoned debugging and control of multiple sub-control boxes.
[0006] However, the aforementioned wireless-controlled fireproof roller shutter zone control method still has the following drawbacks: First, it still requires a debugging terminal to debug each sub-control box, and cannot be actively debugged by the main control unit, which is highly limiting and cumbersome; Second, the main control box only controls based on the debugging information of the sub-control boxes, and the debugging information of multiple sub-control boxes may have errors, requiring multiple debugging sessions, which is inefficient; Third, when the zone where the sub-control unit is located changes, the debugging terminal still needs to establish a connection with the sub-control box before a further connection between the main control box and the sub-control box can be established, which has a large margin of error; Fourth, the sub-control chip needs to switch between two working modes, has a short service life, and sometimes still requires climbing to the sub-control unit located at a high position for manual adjustment, which is very time-consuming, inefficient, and poses safety hazards.
[0007] Therefore, in order to solve the above problems, it is necessary for us to design a reasonable wireless control method for multi-machine pairing. Summary of the Invention
[0008] The purpose of this invention is to provide a wireless control method for multi-device pairing, which eliminates the need for additional debugging equipment. It introduces multiple communication channels, allowing the main controller to perform active debugging directly. Once the main controller enters a specific channel, it can select and control the sub-controllers within that channel in batches. When a sub-controller needs to change its target main controller, it only needs to perform two channel jumps to complete the connection with the target main controller without needing to switch working modes. This not only effectively reduces control errors but also effectively avoids arbitrary climbing operations at the sub-controllers except for the initial installation, resulting in high control efficiency and high security.
[0009] To achieve the above objectives, the present invention employs the following technical solution:
[0010] A wireless control method for multi-device pairing includes the following steps:
[0011] S1: When the initial master controller enters the preset channel, a wireless connection is established between the initial master controller and the sub-controllers within the preset channel;
[0012] S2: Determine whether the sub-controller corresponding to the gate does not match the initial master control. If so, the initial master control will allocate the sub-controller that does not match the initial master control to the redistribution channel; otherwise, the debugging is complete.
[0013] S3: The target master controller, matched with the sub-controller assigned to the redistribution channel, enters the redistribution channel and establishes a wireless pre-connection with the sub-controller. The sub-controller then obtains the target channel sent by the target master controller.
[0014] S4: The target master controller and sub-controller switch to the target channel to complete the wireless connection between the target master controller and sub-controller.
[0015] As a preferred embodiment of the present invention, both the main controller and the sub-controller are equipped with an AnLinIOT01 Bluetooth chip;
[0016] During steps S1 to S6, the main control Bluetooth chip and the sub-control Bluetooth chip establish a Bluetooth connection at the operating frequency of the 2.4GHz ISM band (2400-2483.5 MHz).
[0017] As a preferred embodiment of the present invention, before performing step S1, at the initial stage of the installation of the sub-controller, the preset channel for the wireless connection of the sub-controller is set in advance.
[0018] As a preferred embodiment of the present invention, when performing step S1, a list is established in the initial master controller to store the sub-control parameters in the preset channel, thereby completing the wireless connection between the initial master controller and the sub-control in the preset channel.
[0019] As a preferred embodiment of the present invention, when performing step S1, the number of sub-controls within the preset channel is at least two;
[0020] When performing step S1, wireless connections are simultaneously established between the initial master controller and multiple sub-controllers within the preset channel.
[0021] As a preferred embodiment of the present invention, when performing step S2, the method for determining whether the sub-control corresponding to the door does not match the initial main control is as follows: the initial main control controls the door to move up, down, and stop through the sub-control, and determines whether the preset door has responded to the control.
[0022] Furthermore, during step S2, the initial master controller simultaneously controls multiple doors through multiple sub-controllers.
[0023] As a preferred embodiment of the present invention, when performing step S2, if there is a sub-controller corresponding to a gate that does not match the initial master control, the initial master control will delete the sub-controller parameter that does not match the initial master control, allocate all sub-controllers that do not match the initial master control to the redistribution channel, retain the remaining sub-controller parameter records that match the initial master control and update them, and complete the debugging connection between the sub-controller and the initial master control; conversely, if there is no sub-controller corresponding to a gate that does not match the initial master control, then all sub-controller parameter records in the preset channel are retained, and the debugging connection between the sub-controller and the initial master control is completed.
[0024] As a preferred embodiment of the present invention, when performing step S3, the original sub-control parameter records stored in the target master controller are not deleted, and the system directly enters the redistribution channel to store the sub-control parameters allocated to the redistribution channel, thereby completing the wireless connection between the target master controller and the sub-control in the redistribution channel.
[0025] As a preferred embodiment of the present invention, when executing step S3, the target master controller sends the target channel that it was in before entering the redistribution channel to the sub-controller, and the sub-controller obtains the target channel sent by the target master controller;
[0026] During step S4, the target master controller and the sub-controller simultaneously switch to the target channel, completing the wireless connection between the target master controller and the sub-controller.
[0027] As a preferred embodiment of the present invention, after executing step S4, step S2 is repeated to determine again whether the sub-controller corresponding to the door body does not match the target main controller.
[0028] Another object of the present invention is to provide an apparatus comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement a wireless control method for multi-machine pairing as described in any of the preceding claims.
[0029] Another object of the present invention is to provide a computer storage medium storing a computer program, the computer program including program instructions, which, when executed by a processor, can implement a multi-machine pairing wireless control method as described in any of the preceding claims.
[0030] The advantages of this invention's multi-device pairing wireless control method are as follows: it eliminates the need for additional debugging equipment, introduces multiple communication channels, and allows the main controller to actively debug directly. Furthermore, once the main controller enters a specific channel, it can perform batch selection and partitioned control of the sub-controllers within that channel. When a sub-controller needs to change its target main controller, it only needs to perform two channel jumps to complete the connection with the target main controller without needing to switch operating modes. This not only effectively reduces control errors but also effectively avoids arbitrary climbing operations at the sub-controllers beyond the initial installation, resulting in high control efficiency and high security. Attached Figure Description
[0031] Figure 1 This is a flowchart illustrating a wireless control method for multi-device pairing according to the present invention. Detailed Implementation
[0032] The following are specific embodiments of the present invention, which further describe the technical solution of the present invention, but the present invention is not limited to these embodiments.
[0033] Various exemplary embodiments of the present invention will now be described in detail with reference to the accompanying drawings. It should be noted that, unless otherwise specifically stated, the relative arrangement of modules and structures set forth in these embodiments does not limit the scope of the invention.
[0034] The following description of at least one exemplary embodiment is merely illustrative and is in no way intended to limit the invention or its application or use.
[0035] Techniques, methods, and systems known to those skilled in the art may not be discussed in detail, but where appropriate, they should be considered part of the specification.
[0036] Example 1: As Figure 1 The illustration shown is merely one embodiment of the present invention, a multi-machine paired wireless control method, which is essentially a method for wireless batch control of multiple fireproof roller shutter motors.
[0037] In this invention, the fireproof roller shutter controller is located at the fireproof roller shutter motor; while the control box is a wireless button box, which can be installed on the side wall of any wall or beam within a certain distance around the controller, generally at a height of 1.1 to 1.4 meters. This can avoid accidental touches and facilitate the operation of the control box when needed. The control box is equipped with several control buttons, including an up button, a down button, a stop button, a self-test button, etc.
[0038] If it is a one-to-one control, that is, one control box controls one fireproof roller shutter controller, then there is no such thing as master control and sub-control. When the button on the control box is pressed, the control box and the controller are wirelessly connected to transfer the control information to the controller, and the fireproof roller shutter is controlled to move up and down.
[0039] However, this application focuses on one-to-many control, meaning one control box controls multiple fireproof roller shutter controllers. Therefore, a concept needs to be introduced: the fireproof roller shutter controller is located at the fireproof roller shutter motor and is used to control a single fireproof roller shutter (hereinafter referred to as the sub-control); while the control box needs to be called the main controller. The main controller is used to establish a connection with one or more sub-control boxes and is the central controller for controlling one or more fireproof roller shutters (hereinafter referred to as the main controller). When a button on the main controller (control box) is pressed, the control box wirelessly connects with the controller and transmits control information to the controller, allowing multiple fireproof roller shutters to be controlled simultaneously for up and down movement.
[0040] Those skilled in the art will readily recognize that in a large shopping mall or factory, there are numerous fire-resistant roller shutters. Even if a single master controller can control all sub-controllers (and fire-resistant roller shutters), the design is still flawed. Some fire-resistant roller shutters have obstructions that block the view. Generally, in large buildings, multiple master controllers are needed to control multiple sub-controllers in different zones. For example, there may be 4 to 6 master controllers, each controlling 5 to 10 sub-controllers (the number is uncertain), working together to control the up and down movement of dozens of fire-resistant roller shutters. The following designs are for this scenario.
[0041] In summary, the main purpose of this invention is to achieve safer and more efficient control of a large number of fireproof roller shutters by using multiple master controllers to complete a large number of sub-controllers in a zoned manner, and by adopting a wireless pairing zoned control method.
[0042] The method of the present invention includes the following steps:
[0043] S1: When the initial master controller enters the preset channel, a wireless connection is established between the initial master controller and the sub-controllers within the preset channel;
[0044] S2: Determine whether the sub-controller corresponding to the gate does not match the initial master control. If so, the initial master control will allocate the sub-controller that does not match the initial master control to the redistribution channel; otherwise, the debugging is complete.
[0045] S3: The target master controller, matched with the sub-controller assigned to the redistribution channel, enters the redistribution channel and establishes a wireless pre-connection with the sub-controller. The sub-controller then obtains the target channel sent by the target master controller.
[0046] S4: The target master controller and sub-controller switch to the target channel to complete the wireless connection between the target master controller and sub-controller.
[0047] First, let's explain step S1. When the initial master controller enters the communication frequency of the preset channel, a wireless connection is established between the initial master controller and the sub-controllers within the preset channel.
[0048] In fact, before executing step S1, a predetermined number of communication channels need to be constructed in advance so that the master controller and the sub-controllers can communicate within the channels. The number of channels is at least the number of master controllers plus 1. For example, if there are 5 master controllers, then there are 6 channels. The first 5 channels correspond one-to-one with the master controllers, and the last channel is a reserved redistribution channel. When the master controllers come online, each master controller enters its corresponding preset channel. For example, master controller 1 enters channel 1, master controller 2 enters channel 2, and so on.
[0049] It should be noted that the channel names are not numbered 1, 2, or assigned according to the channel frequency. The numbering is simply for ease of understanding.
[0050] Similarly, before executing step S1, at the initial stage of the sub-controller installation, the preset channel for the wireless connection of the sub-controller is set in advance; that is, when the fireproof roller shutter is installed, the channel corresponding to each fireproof roller shutter is preset based on the experience of the installer. For example, the channel of the sub-controllers of multiple fireproof roller shutters on a certain balcony is preset to the channel corresponding to the main control closest to this location. After the sub-controller is powered on, it can directly connect to this preset channel. After the main control comes online, the main control can directly complete the wireless connection with all the sub-controllers in this channel.
[0051] Since there are multiple master controllers, when step S1 is executed, multiple master controllers actually execute synchronously, and the master controllers entering the channel are all considered to be the initial master controllers. Master controller 1 enters channel 1 and wirelessly connects with the sub-controllers in channel 1; Master controller 2 enters channel 2 and wirelessly connects with the sub-controllers in channel 2; and so on.
[0052] When installing each sub-controller initially, the installer will preset the sub-controller's channel based on general experience, setting it to the channel corresponding to the main control closest to that location. However, there are special cases where the installer is unsure which main control the sub-controller corresponds to. In such cases, the sub-controller's channel can be preset to the redistribution channel, and the main unit will actively reach the redistribution channel for allocation after coming online. In some special terrain building designs, all sub-controllers at fireproof roller shutters may be preset to the redistribution channel at the initial installation, directly executing step S3. However, this situation is relatively rare and is still included within the scope of protection of this invention.
[0053] The next step is step S2, which determines whether the sub-controller corresponding to the gate does not match the initial master control. If so, the initial master control will allocate the sub-controller that does not match the initial master control to the redistribution channel; otherwise, the debugging is complete.
[0054] In other words, it determines whether the subcontroller is correctly assigned to the existing channel. If it is incorrect, then the subcontroller corresponding to the gate does not match the initial master control, and it needs to be reassigned. At this time, the initial master control directly assigns the subcontroller that does not match the initial master control to the reassignment channel for subsequent operation. Conversely, if it is correct, then the subcontroller corresponding to the gate matches the initial master control, which is equivalent to the subcontroller assignment debugging being completed.
[0055] Here, when executing step S2, the method for determining whether the sub-controller corresponding to the door does not match the initial master control is as follows: the initial master control controls the door to move up, down, and stop through the sub-controller, and determines whether the preset door has responded to the control; in this way, it can be known which fireproof roller shutter the initial master control controls for raising and lowering. If it is the fireproof roller shutter that the equipment personnel want to control, then the sub-controller corresponding to the fireproof roller shutter door matches the initial master control; otherwise, if it is not the fireproof roller shutter that the equipment personnel want to control, then the sub-controller corresponding to the fireproof roller shutter door does not match the initial master control.
[0056] Of course, all the sub-controllers at the main control unit need to be matched and debugged. If all the sub-controllers at all the main control units (initial main control units) are matched, then the multi-main control and multi-sub-controller debugging of the entire building is completed (that is, the pairing is completed); otherwise, the sub-controllers that do not match the initial main control unit will be assigned to the redistribution channel for the next step of operation.
[0057] Next is step S3, where the target master controller, matched with the sub-controller assigned to the redistribution channel, enters the redistribution channel and establishes a wireless pre-connection with the sub-controller, and the sub-controller obtains the target channel sent by the target master controller;
[0058] Since in step S2, the initial master controller has already adjusted the raising and lowering of the sub-controllers in its channel, and knows that the sub-controller is not matched with the initial master controller, and also knows the location of the fireproof rolling shutter door where the sub-controller is located, that is, knows the target master controller matched with the sub-controller assigned to the redistribution channel, hereinafter referred to as the target master controller. At this time, the sub-controller is already in the redistribution channel. As long as the operator goes to the target master controller, the target master controller will switch to the redistribution channel. Then, the sub-controller and the target master controller will be in the redistribution channel at the same time and can communicate and interact. The target master controller establishes a wireless Bluetooth connection with the sub-controller and sends the channel that the target master controller was in before switching to the target channel to the sub-controller, i.e., the target channel, so that the sub-controller can receive this target channel information.
[0059] It is important to note that since the redistribution channel is a special channel, it is not recommended for the sub-controller and the target master controller to connect directly on this special channel. Therefore, it is best to pre-connect, that is, to be able to communicate but not control. Even if the sub-controller and the target master controller are both located on the redistribution channel, they still need to switch to other channels to complete the full connection.
[0060] Furthermore, during step S3, the target master controller sends the channel it was on before entering the redistribution channel as the target channel to the sub-controller, and the sub-controller obtains the target channel sent by the target master controller.
[0061] Finally, in step S4, the target master controller and sub-controller switch to the target channel to complete the wireless connection between the target master controller and sub-controller.
[0062] After the sub-controller obtains the target channel sent by the target master controller, both the target master controller and the sub-controller switch to the target channel, which is the channel where the target master controller was initially located. At this point, the wireless connection between the target master controller and the sub-controller can be completed.
[0063] Once all sub-controllers within all redistribution channels have been redistributed, and all master controllers have distributed all sub-controllers, the multi-master control and multi-sub-controller debugging of the entire building is complete, and the building can be used for fire protection.
[0064] This invention provides a wireless control method for multi-device pairing. It eliminates the need for additional debugging equipment, introduces multiple communication channels, and allows the main controller to actively debug directly. Once the main controller enters a specific channel, it can perform batch selection and partitioned control of the sub-controllers within that channel. When a sub-controller needs to change its target main controller, it only needs to perform two channel hopping to complete the connection with the target main controller without needing to switch working modes. This not only effectively reduces control errors but also effectively avoids arbitrary climbing operations at the sub-controllers except for the initial installation, resulting in high control efficiency and high security.
[0065] Example 2: As before Figure 1 As shown, this is only one embodiment of the present invention. Based on the first embodiment, in the wireless control method for multi-machine pairing of the present invention, both the main controller and the sub-controller are equipped with AnLinIOT01 Bluetooth chips.
[0066] During steps S1 to S6, the main control Bluetooth chip and the sub-control Bluetooth chip establish a Bluetooth connection at the operating frequency of the 2.4GHz ISM band (2400-2483.5 MHz). The frequency interval between different channels is 1MHz or 2MHz. Generally, the number of main controllers will not exceed 20, and the number of channels is sufficient for use. The AnLinIOT01 Bluetooth chip set in the main controller and sub-controller is a variable frequency Bluetooth chip, which can switch between different channels and manually change the frequency for different altitudes.
[0067] In one embodiment of the present invention, when performing step S1, the number of sub-controllers in the preset channel is at least two; in fact, the number of sub-controllers in each preset channel is at least two.
[0068] Therefore, when performing step S1, a wireless connection is simultaneously established between the initial master controller and multiple sub-controllers within the preset channel.
[0069] Furthermore, during step S2, the initial main controller controls multiple doors simultaneously through multiple sub-controllers to complete the matching and debugging.
[0070] Therefore, when executing step S4, the target master controller and its matched sub-controllers simultaneously switch from the redistribution channel to the target channel, completing the wireless connection between the target master controller and the sub-controllers. The target master controller can select sub-controllers one by one from the redistribution channel, that is, select one sub-controller and switch once; or it can select all sub-controllers matched with the target master controller in the redistribution channel together, and then the target master controller and all its matched sub-controllers simultaneously switch from the redistribution channel to the target channel, completing the channel selection in one go.
[0071] Finally, after executing step S4, repeat step S2 to determine again whether the sub-controllers corresponding to the door do not match the target master controller. If all sub-controllers match the master controller that controls their operation, then the multi-master and multi-sub-controller debugging of the entire building is complete.
[0072] At this time, each main control unit has multiple sub-control units for control, and can also complete the lifting and lowering control of multiple sub-control units at the same time. That is, when a button on the button box of a main control unit is pressed, multiple fireproof roller shutter doors can be lifted and lowered synchronously at the same time. In the event of a fire in a building, multiple fireproof roller shutter doors will be lowered at the same time to block the smoke and facilitate the escape of people inside the building.
[0073] Example 3: As before Figure 1 The above is merely one embodiment of the present invention. Based on any of the above embodiments, in the wireless control method for multi-machine pairing of the present invention, when executing step S1, a list is established in the initial master controller, the sub-control parameters in the preset channel are stored, and the wireless connection between the initial master controller and the sub-control in the preset channel is completed.
[0074] Therefore, when executing step S2, if there is a sub-controller corresponding to a gate that does not match the initial master control, the initial master control will delete the sub-controller parameters that do not match the initial master control, allocate all sub-controllers that do not match the initial master control to the redistribution channel, retain the remaining sub-controller parameter records that match the initial master control and update them, thus completing the debugging connection between the sub-controller and the initial master control; conversely, if there is no sub-controller corresponding to a gate that does not match the initial master control, then all sub-controller parameter records in the preset channel will be retained, thus completing the debugging connection between the sub-controller and the initial master control.
[0075] Furthermore, when executing step S3, the original sub-control parameter records stored in the target master controller are not deleted. Instead, the system directly enters the redistribution channel, stores the sub-control parameters allocated to the redistribution channel, and completes the wireless connection between the target master controller and the sub-control in the redistribution channel.
[0076] Finally, after the target master controller jumps back to the target channel, it adds the parameter information of the newly jumped sub-controller to the existing saved sub-controller parameter record, and updates the saved sub-controller parameter record.
[0077] For example: During the initial installation in step S1, there are two main controllers and six sub-controllers (there are at least three channels). Sub-controllers 1, 2, and 3 are initially assigned to channel 1, where main controller 1 is located. Sub-controllers 4, 5, and 6 are initially assigned to channel 2, where main controller 2 is located. After main controller 1 enters channel 1 and connects with sub-controllers 1, 2, and 3, its internal storage list records the parameters of sub-controllers 1, 2, and 3. After main controller 2 enters channel 2 and connects with sub-controllers 4, 5, and 6, its internal storage list records the parameters of sub-controllers 4, 5, and 6. During debugging in step S2, it is found that sub-controller 4 should have been assigned to main controller 1, not main controller 2. At this point, Master 2 actively deletes the parameters of Sub-controller 4. Master 2's internal storage list now only records the parameters of Sub-controllers 5 and 6. Sub-controller 4 jumps to the redistribution channel. During step S3, Master 1 jumps to the redistribution channel. It's important to note that when Master 1 jumps to the redistribution channel, its internal storage list still records the parameters of Sub-controllers 1, 2, and 3. Master 1 and Sub-controller 4 communicate simultaneously within the redistribution channel. Master 1 sends the parameters from channel 1 to Sub-controller 4. During step S4, Master 1 and Sub-controller 4 simultaneously jump to channel 1. Master 1 also records the parameters of Sub-controller 4. At this point, Master 1's internal storage list records the parameters of Sub-controllers 1, 2, 3, and 4.
[0078] The above examples illustrate the allocation control prior to the use of all main and sub-controllers; those skilled in the art will readily realize that after the main and sub-controllers in a building have been used for a long time, if the zoning changes, the sub-controllers can be redistributed, and the sub-controllers can be replaced by a different main controller, which is still within the scope of protection of this invention.
[0079] It should be noted that in another embodiment of the present invention, the sub-controller can store the parameters of the master controller. The sub-controller can store the parameters of the master controller in the current channel. When the master controller sends a control signal, the master controller's parameters are attached. The sub-controller obtains the parameter and finds that it corresponds to the master controller's stored parameters. Then it responds to the control signal sent by the master controller and completes the control of the fireproof roller shutter.
[0080] In step S2, when the subcontroller is assigned to the redistribution channel, the subcontroller deletes the stored parameters of the initial master controller and then jumps to the redistribution channel. In step S3, after the target master controller jumps to the redistribution channel, it sends the target channel to the subcontroller. When step S4 is executed, the subcontroller jumps to the target channel and records the parameters of the target master controller in the target channel again. Only then can the target master controller control the subcontroller.
[0081] This invention provides a wireless control method for multi-device pairing. It eliminates the need for additional debugging equipment, introduces multiple communication channels, and allows the main controller to actively debug directly. Once the main controller enters a specific channel, it can perform batch selection and partitioned control of the sub-controllers within that channel. The sub-controllers only need to perform two channel hops to complete the connection with the target main controller without needing to switch working modes. This not only effectively reduces control errors but also effectively avoids arbitrary climbing operations at the sub-controllers except for the initial installation, resulting in high control efficiency and high security.
[0082] Example 4: This application also provides an apparatus, 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 any of the multi-machine pairing wireless control methods in any of the above embodiments.
[0083] Example 5: This application provides a computer storage medium storing a computer program, which includes program instructions. When executed by a processor, the program instructions can implement any of the multi-machine pairing wireless control methods described in any of the above embodiments of this application.
[0084] It should be noted that, for the sake of simplicity, the foregoing method embodiments are all described as a series of actions. However, those skilled in the art should understand that this application is not limited to the described order of actions, as some steps may be performed in other orders or simultaneously according to this application. Furthermore, those skilled in the art should also understand that the embodiments described in the specification are preferred embodiments, and the actions and modules involved are not necessarily essential to this application.
[0085] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions in other embodiments.
[0086] In the several embodiments provided in this application, it should be understood that the disclosed apparatus can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of 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 system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some service interface; the indirect coupling or communication connection between devices or units may be electrical or other forms.
[0087] 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.
[0088] It should be understood that the descriptions such as "first" and "second" in this article are merely for the sake of simplicity in description and to distinguish similar concepts, and do not have any other limiting function.
[0089] The various embodiments in this specification are described in a progressive manner. Similar or identical parts between embodiments can be referred to mutually. Each embodiment focuses on describing the differences from other embodiments. In particular, the system embodiments are basically similar to the method embodiments, so the description is relatively simple; relevant parts can be referred to the descriptions in the method embodiments.
[0090] 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.
[0091] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage device (CMD). Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a memory and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned memory includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.
[0092] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, which may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk, etc.
[0093] The foregoing description is merely an exemplary embodiment of this disclosure and should not be construed as limiting the scope of this disclosure. Any equivalent changes and modifications made in accordance with the teachings of this disclosure shall still fall within the scope of this disclosure. Those skilled in the art will readily conceive of embodiments of this disclosure upon considering the specification and practicing the disclosure herein. This application is intended to cover any variations, uses, or adaptations of this disclosure that follow the general principles of this disclosure and include common knowledge or customary techniques in the art not described herein. The specification and embodiments are to be considered exemplary only, and the scope and spirit of this disclosure are defined by the claims.
Claims
1. A wireless control method for multi-device pairing, characterized in that: Includes the following steps: S1: When the initial master controller enters the preset channel, a wireless connection is established between the initial master controller and the sub-controllers within the preset channel; S2: Determine whether the sub-controller corresponding to the gate does not match the initial master control. If so, the initial master control will allocate the sub-controller that does not match the initial master control to the redistribution channel; otherwise, the debugging is complete. S3: The target master controller, matched with the sub-controller assigned to the redistribution channel, enters the redistribution channel and establishes a wireless pre-connection with the sub-controller. The sub-controller then obtains the target channel sent by the target master controller. S4: The target master controller and sub-controller switch to the target channel to complete the wireless connection between the target master controller and sub-controller.
2. The wireless control method for multi-device pairing according to claim 1, characterized in that: Both the main controller and the sub-controller are equipped with AnLinIOT01 Bluetooth chips; During steps S1 to S6, the main control Bluetooth chip and the sub-control Bluetooth chip establish a Bluetooth connection.
3. The wireless control method for multi-device pairing according to claim 1, characterized in that: Before performing step S1, the preset channel for the wireless connection of the sub-controller is set at the initial stage of sub-controller installation.
4. The wireless control method for multi-device pairing according to claim 1, characterized in that: When performing step S1, a list is created in the initial master control, and the sub-control parameters in the preset channel are stored to complete the wireless connection between the initial master control and the sub-control in the preset channel.
5. The wireless control method for multi-device pairing according to claim 4, characterized in that: When performing step S1, the number of sub-controllers in the preset channel is at least two; When performing step S1, wireless connections are simultaneously established between the initial master controller and multiple sub-controllers within the preset channel.
6. The wireless control method for multi-device pairing according to claim 5, characterized in that: When executing step S2, the method to determine whether the sub-control corresponding to the door does not match the initial main control is as follows: the initial main control controls the door to move up, down and stop through the sub-control, and determines whether the preset door has responded to the control. Furthermore, during step S2, the initial master controller simultaneously controls multiple doors through multiple sub-controllers.
7. The wireless control method for multi-device pairing according to claim 5, characterized in that: When executing step S2, if there is a sub-controller corresponding to a gate that does not match the initial master control, the initial master control will delete the sub-controller parameters that do not match the initial master control, allocate all sub-controllers that do not match the initial master control to the redistribution channel, retain the remaining sub-controller parameter records that match the initial master control and update them, thus completing the debugging connection between the sub-controller and the initial master control; conversely, if there is no sub-controller corresponding to a gate that does not match the initial master control, then all sub-controller parameter records in the preset channel will be retained, thus completing the debugging connection between the sub-controller and the initial master control.
8. The wireless control method for multi-device pairing according to claim 7, characterized in that: When performing step S3, the original sub-control parameter records stored in the target master controller are not deleted. Instead, the system directly enters the redistribution channel, stores the sub-control parameters allocated to the redistribution channel, and completes the wireless connection between the target master controller and the sub-control in the redistribution channel.
9. A wireless control method for multi-device pairing according to claim 7, characterized in that: When executing step S3, the target master controller sends the target channel it was in before entering the redistribution channel to the sub-controller, and the sub-controller obtains the target channel sent by the target master controller; During step S4, the target master controller and the sub-controller simultaneously switch to the target channel, completing the wireless connection between the target master controller and the sub-controller.
10. A wireless control method for multi-device pairing according to claim 1, characterized in that: After executing step S4, repeat step S2 to determine again whether the sub-controller corresponding to the door does not match the target main controller.
Citation Information
Patent Citations
Fire resisting shutter control method based on Bluetooth
CN116752886A
Fire resisting shutter zone control method based on wireless control
CN118151562A