WO2023042002A1 - 楼宇自动化系统的外围设备、控制方法和计算机可读介质 - Google Patents
楼宇自动化系统的外围设备、控制方法和计算机可读介质 Download PDFInfo
- Publication number
- WO2023042002A1 WO2023042002A1 PCT/IB2022/056998 IB2022056998W WO2023042002A1 WO 2023042002 A1 WO2023042002 A1 WO 2023042002A1 IB 2022056998 W IB2022056998 W IB 2022056998W WO 2023042002 A1 WO2023042002 A1 WO 2023042002A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- peripheral device
- handheld terminal
- communication module
- instruction
- directional antenna
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B29/00—Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
- G08B29/12—Checking intermittently signalling or alarm systems
- G08B29/14—Checking intermittently signalling or alarm systems checking the detection circuits
- G08B29/145—Checking intermittently signalling or alarm systems checking the detection circuits of fire detection circuits
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING SYSTEMS, e.g. PERSONAL CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B29/00—Checking or monitoring of signalling or alarm systems; Prevention or correction of operating errors, e.g. preventing unauthorised operation
- G08B29/12—Checking intermittently signalling or alarm systems
- G08B29/14—Checking intermittently signalling or alarm systems checking the detection circuits
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- PERIPHERAL DEVICES CONTROL METHOD AND COMPUTER-READABLE MEDIUM OF BUILDING AUTOMATION SYSTEM Technical Field
- the present application relates to building automation, and in particular to peripheral devices, control methods and computer-readable media of building automation systems.
- Building automation is the automatic centralized control of HVAC (heating, ventilation and air conditioning), lighting, sunshade, security system (intrusion) and fire safety system of a building through a building automation system (BAS).
- HVAC heating, ventilation and air conditioning
- lighting sunshade
- security system intrusion
- fire safety system of a building through a building automation system (BAS).
- BAS building automation system
- Another term for a fire safety system is a fire protection system.
- BAS core functions maintain building climate within specified limits, such as lighting rooms according to occupancy schedules, monitor rooms and grounds for fire and smoke through fire detectors, monitor performance and equipment failures of all systems, and report to building maintenance Personnel provide fault alerts.
- BAS reduces building energy consumption and maintenance costs compared to non-controlled buildings.
- Most commercial, institutional and industrial buildings constructed after 2000 include a BAS.
- Many older buildings have been retrofitted with new BAS.
- building automation systems include room control units, thermostats, air quality sensors, smart valves, HVAC controllers, and more.
- the building automation system includes motion detectors (such as PIR sensors, ultrasonic sensors or radar sensors) and cameras (such as pan-tilt cameras or pan-tilt zoom cameras).
- building automation systems include fire control panels wirelessly or wiredly connected to fire detectors such as smoke detectors, carbon monoxide detectors, linear beam smoke detectors.
- a fire protection system installed in a building or an industrial environment usually includes a main controller (such as a fire control panel) and peripheral equipment. and/or acoustic alarm unit), smoke sensing, firewall drop, fire extinguishing, etc.
- a main controller such as a fire control panel
- peripheral equipment and/or acoustic alarm unit
- smoke sensing smoke sensing
- firewall drop fire extinguishing
- One personnel sends action instructions to the peripheral equipment through the main controller, and the other personnel checks the execution status of the peripheral equipment on the spot, and then according to the action instructions and Action execution determines whether the peripheral is healthy.
- the method of checking the peripheral equipment of the fire protection system according to the target because the fire protection system usually includes multiple peripheral equipment, and each peripheral equipment needs two people to cooperate to complete the inspection, so it takes a long time to check the peripheral equipment. Inspection, which in turn leads to low efficiency in inspection of the peripheral equipment of the fire protection system.
- the embodiment of the present application provides a peripheral device, including: a directional antenna, a UHF communication module, a micro control unit, and a peripheral device body; the UHF communication module is connected to the directional antenna and the The micro control unit is connected with the peripheral device body; the directional antenna is used to receive the radio beam from the handheld terminal along a preset direction, and send the radio beam to the special A high-frequency communication module, wherein, when the peripheral device has no power supply, the UHF communication module operates based on the radio beam forming power; the UHF communication module is used to obtain the radio beam
- the control instruction is included, and the control instruction is sent to the micro control unit; the micro control unit is used to control the peripheral device body to perform actions according to the control instruction.
- peripheral devices are input and/or output units.
- the input unit may be a sensor, such as an environmental sensor, a camera, or a motion detection unit.
- the output unit can be an actuator, such as a switch, a drive unit or an optical and/or acoustic warning unit, a display, an indicator light, etc.
- the micro-control unit is configured to start a self-test process of the peripheral device body according to the control instruction, and acquire the self-test process of the peripheral device body. As a result, the self-test result is sent to the UHF communication module; the UHF communication module is further configured to send the self-test result to the handheld terminal through the directional antenna.
- the micro-control unit is configured to start an automatic calibration program of the peripheral device body according to the control instruction, so that the peripheral device body Calibration reference completes automatic calibration.
- the micro-control unit is configured to set the action threshold of the peripheral device body as a target value according to the control instruction.
- the UHF communication module is further configured to receive communication request information from the handheld terminal through the directional antenna, and after verifying that the communication request information includes After the key is correct, send communication feedback information to the handheld terminal, so as to establish a wireless communication connection with the handheld terminal.
- the UHF communication module is further configured to pass the The directional antenna receives the delay action command from the handheld terminal, and sends the delay action command to the micro control unit; After the action instruction of the main controller, wait for a preset delay time and then control the peripheral device body to execute the action corresponding to the action instruction, and control the peripheral device body to execute the action corresponding to the action instruction The delayed action instruction is cleared after the action.
- the micro control unit is further configured to, after acquiring the first instruction from the handheld terminal and the second instruction from the main controller of the fire fighting system, At this time, if the peripheral device is in the working mode, the second instruction is preferentially executed, and if the peripheral device is in the maintenance mode or the test mode, the first instruction is preferentially executed.
- the UHF communication module includes: a memory; the UHF communication module is further configured to pass the The directional antenna receives preset information from a broadcasting device, and stores the preset information in the memory, wherein the broadcasting device sends the preset information to at least two peripheral devices in a broadcast form , the preset information includes at least one of serial number, anti-counterfeiting information, electrical performance parameters, delivery information and communication connection verification information.
- the micro control unit is further configured to obtain a self-test log of the peripheral device body, and store the self-test log in the In the memory;
- the UHF communication module is further configured to receive a read instruction from the handheld terminal through the directional antenna, and according to the read instruction, use the directional antenna to store the The self-test log is sent to the handheld terminal.
- the UHF communication module is further configured to receive, through the directional antenna, the writing an instruction, and storing at least one of location information, configuration information, and update information in the memory according to the writing instruction, wherein the location information is used to indicate the installation location of the peripheral device, and the The configuration information is used to configure the functions of the peripheral device, and the update information is used to update the functions of the peripheral device.
- the directional antenna in combination with the above first aspect or any possible implementation manner of the first aspect, includes: a physical antenna and a matching circuit; the physical wire is connected to the matching circuit ;
- the matching circuit is used to achieve impedance matching in the frequency band of the radio beam emitted by the handheld terminal through the series resonance and parallel resonance of the included capacitor and inductor, wherein the position of the physical wire on the circuit board and the matching
- the wiring of the circuit on the circuit board determines that the directional antenna receives and transmits radio beams along the preset direction.
- the embodiment of the present application also provides a peripheral device control method for a peripheral device provided based on the above first aspect or any possible implementation manner of the first aspect, including: receiving radio beams from the handheld terminal in a preset direction through the directional antenna; obtaining control instructions included in the radio beams through the UHF communication module, wherein, when the peripheral device has no power supply, the special The high-frequency communication module operates based on the radio beam forming electric energy; the micro-control unit controls the peripheral device body to perform actions according to the control instruction.
- an embodiment of the present application further provides a computer-readable medium, where computer instructions are stored on the computer-readable medium, and when the computer instructions are executed by a processor, the processor executes the above-mentioned second method provided by the aspect.
- the radio beam, the directional antenna sends the received radio beam to the UHF communication module, the UHF communication module obtains the control command from the radio beam, sends the control command to the micro control unit, and the micro control unit controls the peripheral equipment according to the control command body action.
- the inspectors use the handheld terminal to send control instructions to the peripheral equipment at the site of the peripheral equipment and check the action execution status of the peripheral equipment. , so one inspector can complete the inspection of peripheral equipment, and save the time required for communication and cooperation among inspectors during the inspection process, thereby improving the efficiency of inspection of peripheral equipment, such as for fire protection systems.
- FIG. 1 is a schematic diagram of the peripheral equipment of an exemplary fire protection system provided in Embodiment 1 of the present application
- FIG. 2 is a schematic diagram of the communication range of a directional antenna provided in Embodiment 1 of the present application
- FIG. 3 is an implementation of the present application
- FIG. 4 is a schematic diagram of a peripheral device provided in Embodiment 3 of the present application
- FIG. 5 is a schematic diagram of broadcast communication of a peripheral device provided in Embodiment 3 of the present application
- Fig. 6 is a schematic diagram of an exemplary fire protection system provided in Embodiment 3 of the present application
- FIG. 7 is a schematic diagram of a peripheral device provided in Embodiment 6 of the present application;
- Fig. 8 is a directional antenna provided in Embodiment 6 of the present application
- FIG. 9 is a schematic diagram of a Smith chart provided in Embodiment 6 of the present application;
- FIG. 10 is a schematic diagram of S11 parameters corresponding to a Smith chart provided in Embodiment 6 of the present application;
- FIG. 11 is a schematic diagram of Embodiment 6 of the present application An antenna pattern provided;
- Fig. 12 is another antenna pattern provided in Embodiment 6 of the present application;
- Fig. 13 is another antenna pattern provided in Embodiment 6 of the present application;
- Fig. 14 is a peripheral device control method provided in Embodiment 7 of the present application flow chart. List of reference signs:
- Peripheral equipment 20 Handheld terminal 30: Main controller, fire control panel
- the micro-control unit controls the main body of the peripheral device to perform actions according to the control instruction.
- the main controller and peripheral devices are usually set in different locations, two people are required to cooperate to complete the inspection of the peripheral devices.
- One person controls the main controller to send action commands to the peripheral devices, and the other person checks the action execution status of the peripheral devices on site. .
- the fire protection system usually includes multiple peripheral devices, two inspectors need to cooperate with each other to inspect the peripheral devices.
- the peripheral equipment of the fire protection system includes a directional antenna, a UHF communication module, a micro control unit and a peripheral equipment body, and the directional antenna can receive wireless signals transmitted by the handheld terminal along a preset direction.
- the handheld terminal When checking the peripheral equipment, in the direction where the directional antenna receives the wireless signal, the handheld terminal sends the wireless signal to the directional antenna, and the directional antenna sends the received wireless signal to the UHF communication module, and the UHF communication module transmits the wireless signal from
- the control instruction is obtained from the wireless signal, and the obtained control instruction is sent to the micro control unit, and the micro control unit controls the action of the peripheral device body based on the received control instruction.
- FIG. 1 is a schematic diagram of an exemplary peripheral device of a fire protection system provided in Embodiment 1 of the present application. Referring to FIG.
- the peripheral equipment 10 of the fire protection system includes: a directional antenna 11, a UHF communication module 12, a micro control unit 13 and a peripheral device body 14; It is connected with the micro control unit 13, and the micro control unit 13 is connected with the peripheral device body 14; the directional antenna 11 is used to receive the radio beam from the handheld terminal 20 along the preset direction, and send the radio beam to the UHF communication module 12 , wherein, when the peripheral device 10 has no power supply, the high frequency communication module 12 operates based on the received radio beam forming power; Send to the micro control unit 13; the micro control unit 13 is used to control the peripheral device body 14 to perform actions according to the control instruction.
- the directional antenna 11 receives radio beams from the handheld terminal 20 along a preset direction.
- the inspector receives wireless signals along the directional antenna 11 within the communication range of the directional antenna 11.
- the direction of the radio beam is transmitted through the handheld terminal 20, and the directional antenna 11 sends the received radio beam to the UHF communication module 12, and the UHF communication module 12 obtains control instructions from the radio beam, and sends the control instructions to the micro control unit 13.
- the micro control unit 13 controls the action of the peripheral device body 14 according to the control instruction. It can be seen that when inspecting the peripheral equipment 10, it is not necessary to send a control instruction to the peripheral equipment 10 through the main controller of the fire protection system.
- the directional antenna 11 is used to receive the radio beam sent by the handheld terminal 20 along the preset direction, and the directional antenna 11 can also transmit the radio beam along the preset direction, and the radio beam includes communication data, thereby realizing peripheral equipment 10 and the communication between the handheld terminal 20.
- the preset direction is a preset orientation range.
- the directional antenna 11 is easy to perform wireless communication with the handheld terminal 20 within the orientation range.
- FIG. 2 is a schematic diagram of a communication range of a directional antenna provided in Embodiment 1 of the present application. Referring to Fig.
- the directional antenna 11 is arranged on the ceiling of the room, and the preset direction is an orientation range with the directional antenna 11 as the starting point and a set angle a with the vertical direction, that is, the directional antenna 11 can be connected with the directional antenna 11 as the vertex , the vertical direction is the axis of rotation, and the angle between the bus bar and the axis of rotation is equal to the set angle a.
- the handheld terminal 20 in the conical space communicates, while the handheld terminal 20 located outside the conical space is difficult to communicate with the directional antenna. 11 to communicate.
- the distance between the peripheral devices may be small, the directional antenna 11 communicates with the handheld terminal 20 along a preset direction, and when the handheld terminal 20 is located outside the preset direction, the directional antenna 11 It is difficult to communicate with the handheld terminal 20 , so by changing the position of the handheld terminal 20 , the handheld terminal 20 can individually communicate with the directional antenna 11 in each peripheral device 10 to check each peripheral device 10 separately.
- the UHF communication module 12 refers to a communication module based on UHF communication
- UHF Ultra High Frequency, UHF
- UHF Ultra High Frequency
- Radio waves are commonly used in mobile communications and broadcast television.
- the communication distance of the UHF communication module 12 meets the requirements for communication between the handheld terminal 20 and the peripheral device 10, for example, the communication distance of the UHF communication module 12 is 5 meters .
- the UHF communication module 12 is a device that integrates multiple communication processing units.
- the UHF communication module 12 can receive messages via the directional antenna 11, and send the received messages to the micro control unit 13, and can also receive messages from the micro control unit. 13 and transmit the received message via the directional antenna 11.
- the peripheral equipment 10 of the fire protection system does not work under certain circumstances, that is, it is in a state of no power supply. For example, when the main controller of the fire protection system sends a control command to the peripheral equipment 10, the peripheral equipment 10 is in a power supply state. At this time, the peripheral device 10 can work, and when the main controller of the fire protection system does not send a control command to the peripheral device 10 or the sent control command fails, the peripheral device 10 is in a state of no power supply, and the peripheral device 10 does not work at this time.
- the UHF communication module 12 When the peripheral device 10 is in the state of no power supply, the UHF communication module 12 is in an inactive state.
- the directional antenna 11 receives the radio beam from the handheld terminal 20 and sends the radio beam to the UHF communication module 12,
- the UHF communication module 12 operates based on radio beamforming power, that is, the UHF communication module 12 is activated after receiving the wireless signal sent by the handheld terminal 20, so the energy consumption of the peripheral device 10 can be reduced, and the peripheral device
- the device 10 can also communicate with the handheld terminal 20 when the power is off, so that the peripheral device 10 can be operated in different application scenarios.
- the micro control unit 13 appropriately reduces the frequency and rules of the central processing unit, and controls the memory, calculator, universal serial bus, analog-to-digital conversion, universal asynchronous transceiver, programmable logic devices and other peripheral interfaces, Integrate on a single chip to form a chip-level computer, and perform different combination controls for different applications.
- the functions and interfaces of the micro control unit 13 may have corresponding configurations, so as to realize the functions of different peripheral devices 10.
- the peripheral device 10 includes an optical and/or acoustic alarm unit, a smoke detection unit, a gas detection unit (such as CO), an electric, pneumatic or hydraulic switch, a motion detection unit, a sensor (such as a temperature sensing unit ), room control unit, etc.
- the main controller (such as the main controller of the fire protection system) obtains the working status or alarm status of the peripheral device 10 through communication with the peripheral device 10 , or sends instructions to the peripheral device 10 .
- the handheld terminal 20 includes a mobile phone, a notebook computer, a tablet computer, a dedicated inspection terminal, and other intelligent mobile terminals with a radio beam transmitting function.
- Embodiment 2 On the basis of the peripheral device 10 provided in Embodiment 1, the peripheral device 10 performs corresponding actions in response to the control instructions from the handheld terminal 20, thereby realizing self-test, calibration, delay action and instruction conflict of the peripheral device 10 processing etc.
- the control instruction obtained by the UHF communication module 12 from the radio beam is a self-inspection instruction
- the micro-control unit 13 starts the self-inspection process of the peripheral device body 14 according to the self-inspection instruction, This causes the peripheral device body 14 to perform a self-test.
- the micro-control unit 13 obtains the self-test result of the peripheral device body 14, and sends the self-test result to the UHF communication module 12, and the UHF communication module 12 Send the self-test result to the handheld terminal 20 through the directional antenna 11.
- the micro control unit 13 acquires the self-test result of the peripheral device body 14, in addition to sending the self-test result to the handheld terminal 20 through the UHF communication module 12 and the directional antenna 11, it can also The peripheral device 10 locally stores the self-test results, and can also send the self-test results to the main controller of the fire protection system, and the main controller or the handheld terminal 20 uploads the self-test results to the cloud database, so that when the peripheral device 10 fails , the cause of the failure is determined based on the self-test result, and it is convenient to manage the whole life cycle of the peripheral device 10.
- the micro-control unit 13 controls the peripheral device body 14 to complete the self-test based on the self-test command, and sends the self-test result to the handheld terminal through the UHF communication module 12 and the directional antenna 11 20.
- An inspector can complete the self-inspection of the peripheral device 10 through the handheld terminal 20 and obtain the self-inspection result of the peripheral device 10 , thereby improving the efficiency of inspection of the peripheral device 10 .
- the UHF communication module 12 can work based on the radio beamforming power from the handheld terminal 20, the peripheral device 10 does not need to continuously supply power to the UHF communication module 12, thereby reducing the power consumption of the peripheral device 10.
- the micro-control unit 13 After the micro-control unit 13 acquires the self-test result of the peripheral device body 14, it can send the self-test result to the cloud database, or the handheld terminal 20 can send the received self-test result to the cloud database, so that the cloud database can Obtaining the self-test result of the peripheral device body 14 facilitates the management and analysis of the peripheral device body 14 .
- the self-test of the peripheral device body 14 is to test various functions of the peripheral device body, and the test results include self-test pass/fail status, peripheral device address, self-test time, initial commissioning date, custom message, line voltage, and candela settings , volume, current consumption, etc.
- the micro-control unit 13 starts the automatic calibration program of the peripheral device body 14 according to the calibration command, so that the peripheral device The main body 14 completes automatic calibration according to the calibration reference provided on site, or the micro control unit 13 sets the action threshold of the peripheral device main body 14 as a target value according to the calibration instruction.
- the peripheral device 10 After the peripheral device 10 is first installed or used for a period of time, the peripheral device 10 needs to be calibrated so that the peripheral device 10 can work according to the set logic. Different types of peripheral devices 10 may correspond to different calibration methods. Some peripheral devices 10 need to be calibrated through a calibration reference provided on site, while other peripheral devices 10 need to input action thresholds.
- the peripheral device body 14 is a smoke detection unit or a smoke alarm, and the smoke detection unit gives an alarm when the ambient smoke concentration reaches a set value.
- the micro-control unit 13 in the peripheral device body 14 responds to the calibration instruction to start the automatic calibration program of the smoke detection unit, and the smoke detection unit
- the detected ambient smoke concentration is stored as an alarm threshold to realize automatic calibration of the smoke detection unit.
- a calibration instruction is sent to the peripheral device 10 through the handheld terminal 20, and the micro-control unit 13 in the peripheral device 10 sets the action threshold of the peripheral device body 14 as target value.
- the peripheral device body 14 is a temperature-sensing unit, and the temperature-sensing unit gives an alarm when the ambient temperature is greater than the alarm temperature threshold, and when the temperature-sensing unit is calibrated, a calibration instruction including a target value is sent to the temperature-sensing unit through the handheld terminal 20, In response to the calibration instruction, the micro control unit 13 in the peripheral device 10 sets the alarm temperature threshold of the temperature sensing unit as the target value.
- the calibration of the peripheral device body 14 can be completed on site, which improves the convenience of calibrating the peripheral device body 14.
- the handheld terminal 10 can send different types of calibration instructions, so that the peripheral device body 14 can automatically calibrate or directly set the action threshold of the peripheral device body 14, so that different types of peripheral device bodies 14 can be implemented.
- the peripheral device body 14 is calibrated.
- the hand-held terminal 20 before the hand-held terminal 20 performs information interaction with the UHF communication module 12, it needs A wireless communication connection between the handheld terminal 20 and the UHF communication module 12 needs to be established.
- the UHF communication module 12 receives the communication request information through the directional antenna 11, and verifies the encryption key included in the communication request information.
- FIG. 3 is a schematic diagram of an exemplary fire protection system provided in Embodiment 2 of the present application.
- the fire protection system includes a main controller 30 (that is, a fire control panel) and a plurality of peripheral devices 10.
- a main controller 30 that is, a fire control panel
- peripheral devices 10 When inspecting some peripheral devices 10, inspectors need to send action instructions to the peripheral devices 10 through the main controller 30 , and then the inspector goes to the scene of the peripheral device 10 to check the action execution of the peripheral device 10.
- the peripheral device 10 will continue to perform actions, such as when When the peripheral device 10 is an audible alarm device, the peripheral device 10 will continue to sound the alarm during this period of time, which will make people who hear the sound alarm mistakenly believe that a fire has occurred, resulting in poor experience of checking the peripheral device 10 .
- the inspector sends a delayed action command to the peripheral device 10 through the handheld terminal 20, and the UHF communication module 12 in the peripheral device 10 receives the delayed action command through the directional antenna 11, and sends the delayed action command to the micro control unit 13,
- the micro control unit 13 waits for a preset delay time and then controls the peripheral device body 14 to perform an action corresponding to the received action instruction.
- the micro control unit 13 controls the peripheral device body 14 to clear the delayed action command after performing the action corresponding to the received action command.
- the micro-control unit 13 responds to the delay action command, waits for a delay time and controls the peripheral device body 14 to perform an action corresponding to the action command. After the inspection of the peripheral device 10 is completed, the micro-control unit 13 is powered off and restarted to clear In addition to the delayed action command received before, it is ensured that the subsequent peripheral device 10 can execute the action corresponding to the received action command in time after receiving the action command from the main controller 30, so as to realize the normal function of the peripheral device 10.
- the main controller 30 included in the fire protection system will send control instructions to the peripheral equipment 10, and the handheld terminal 20 will also send control instructions to the peripheral equipment 10.
- the micro-control unit 13 When the main controller 30 and the handheld terminal 20 When sending control instructions to the peripheral device 10 at the same time, the micro-control unit 13 needs to determine the sequence of executing the two control instructions.
- the micro-control unit 13 acquires the first instruction from the handheld terminal 20 and the second instruction from the main controller 30, the micro-control unit 13 determines the mode of the peripheral device 10, and if the peripheral device 10 is in the working mode, priority is given to The second command is executed, and if the peripheral device 10 is in the maintenance mode or the test mode, the first command is preferentially executed.
- the micro control unit 13 receives an alarm command from the main controller 30 and a self-test command from the handheld terminal 20 at the same time.
- the alarm command is executed first, and then the self-test command is executed. If the peripheral device 10 In the maintenance mode or test mode, the self-test command is executed first, and then the alarm command is executed.
- the peripheral device 10 has multiple operating modes such as working mode, maintenance mode, and test mode. When the peripheral device 10 receives instructions from the main controller 30 and the handheld terminal 20 at the same time, if the peripheral device 10 is in the working mode, the micro control unit 13 has priority Execute instructions from the main controller 30 to ensure that the peripheral equipment 10 can normally perform actions such as alarming or fire extinguishing.
- the micro control unit 13 preferentially executes instructions from the handheld terminal 20 to avoid 10's normal commissioning, testing, maintenance and inspection work was affected.
- Embodiment 3 On the basis of the peripheral device 10 provided in Embodiment 1 or Embodiment 2, the peripheral device 10 can receive the message of the broadcast device, and store the received message, so as to realize storing presets in batch peripheral devices 10 information.
- FIG. 4 is a schematic diagram of a peripheral device provided in Embodiment 3 of the present application.
- the UHF communication module 12 includes a memory 121, and the broadcasting device 40 transmits preset information to at least two peripheral devices 10 in the form of broadcasting.
- the UHF communication module 12 passes orientation
- the antenna 11 receives preset information from the broadcasting device 40 and stores the received preset information into the memory 121 .
- the preset information includes part or all of the serial number, anti-counterfeiting information, electrical performance parameters, delivery information and communication connection verification information.
- the UHF communication module 12 in a peripheral device 10 can not only receive the message sent by the handheld terminal 20 for the peripheral device 10, but also receive the message sent by the broadcast device 40 in the form of broadcast, so that before the peripheral device 10 leaves the factory or the peripheral During the transportation of the device 10, the broadcast device 40 sends preset information in a broadcast form, and then writes the preset information into batches of peripheral devices 10, so that the convenience and efficiency of setting the peripheral devices 10 can be improved.
- the preset information written into the memory 121 includes a serial number, anti-counterfeiting information, electrical performance parameters, delivery information and communication connection verification information, etc., wherein the serial number is the identification of the peripheral device 10, and different peripheral devices 10 correspond to different serial numbers ,
- the anti-counterfeiting information is used to verify whether the peripheral device 10 is a counterfeit product, specifically an anti-counterfeiting code calculated by a special algorithm, and the electrical performance parameter is used to identify the electrical performance of the peripheral device 10, such as rated voltage, rated current, rated power, etc.
- the delivery information is used to identify the delivery status of the peripheral device 10, such as delivery time, batch number, delivery start address, delivery destination address, etc., and the communication connection verification information is used to establish communication between the handheld terminal 20 and the peripheral device 10 When connecting, the handheld terminal 20 is verified, such as a key, identity information of the legal handheld terminal 20, and the like. It can be seen that, before the peripheral device 10 leaves the factory, one-to-many or one-to-one communication is performed with the peripheral device 10 through the broadcasting device 40, and the preset information is stored in the memory 121 of each peripheral device 10, so that the installation of the peripheral device 10 Used during commissioning and maintenance phases.
- FIG. 5 is a schematic diagram of broadcast communication performed by a peripheral device provided in Embodiment 3 of the present application.
- the broadcasting device 40 is placed in the overlapping area of the orientation ranges of multiple peripheral devices 10, wherein the dotted line in FIG. 5 is used to represent the orientation range of the responsive peripheral device 10 (the range in which effective wireless communication can be performed with the broadcasting device 40) , so that the broadcasting device 40 can perform one-to-many communication with multiple peripheral devices 10 or realize one-to-one communication sequentially.
- the broadcasting device 40 may be the handheld terminal 20, or a fixed device in the factory of the peripheral device 10.
- the serial number of the peripheral device 10 can be set through the broadcasting device 40 .
- the broadcasting device 40 communicates with each peripheral device 10 in turn, and each peripheral device 10, after receiving the serial number message sent by the broadcasting device 40, stores the serial number included in the serial number message into the memory 121 for the peripheral device 10 for tracking. Since the serial number is the unique identifier of the peripheral device 10, and the serial numbers of different peripheral devices 10 are different, the broadcasting device 40 sets the serial numbers of each peripheral device 10 through one-to-one communication. Similarly, the range information of the peripheral device 10 can also be set through the broadcasting device 40, the peripheral device 10 stores the received anti-counterfeiting information in the memory 121, and then the handheld terminal 20 can read the anti-counterfeiting information stored in the memory 121 to identify The authenticity of the peripheral device 10 achieves the purpose of distinguishing counterfeit devices.
- the broadcasting device 40 sends an instruction to start the self-test function to a plurality of peripheral devices 10 in broadcast form, and the UHF communication module 12 included in the peripheral device 10 receives the start-up self-test function via the directional antenna 11
- the instruction to start the self-test function is sent to the micro control unit 13.
- the micro-control unit 13 responds to the instruction to start the self-test function, starts the self-test function of the peripheral device 10, and obtains the result of the self-test before the product is delivered.
- the pre-delivery test data is also referred to as delivery test data.
- the delivery test data includes data related to electrical performance, etc., and the delivery test data can be used as a reference for future failure analysis of the peripheral device 10 .
- the delivery test data of different peripheral devices 10 can be transmitted through the broadcast device 40.
- the delivery test data is stored in the memory 121 of the corresponding peripheral device 10.
- the batch peripheral device 10 can be set via the broadcasting device 40. Logistics information.
- the broadcasting device 40 (such as the handheld terminal 20) sends relevant logistics information to multiple peripheral devices 10 in broadcast form, and the UHF communication module 12 in the peripheral device 10 stores the logistics information after receiving the logistics information. to memory 121.
- Logistics information may include delivery time, batch number, starting address of delivery, destination address of delivery, etc.
- Fig. 6 is a schematic diagram of a fire fighting system provided in Embodiment 3 of the present application. Referring to FIG. 6, after the peripheral device 10 is installed on site, the above-mentioned logistics information can be read from the peripheral device 10 through the handheld terminal 20, and the read logistics information can be uploaded to the cloud database 50 for storage, so as to facilitate The peripheral device 10 performs full life cycle management.
- a key can be set for a batch of peripheral devices 10 through the broadcast device 40, the set key matches the handheld terminal 20, and only the handheld terminal 20 with the corresponding key can Communication with the batch of peripheral devices 10 is enabled.
- the peripheral device 10 can be prevented from being illegally accessed using the key.
- a batch of peripheral devices 10 can be configured through the broadcast device 40, and corresponding device configuration information is sent to the peripheral device 10, and the UHF communication module 12 in the peripheral device 10 stores the device configuration information in the memory 121 .
- the peripheral device 10 can be customized, that is, different device configuration information can be customized for the peripheral device 10 required by different customers.
- an alarm device can be configured with custom tones, voice settings.
- the device configuration information stored in the peripheral device 10 can also be modified through the handheld device 20 .
- the micro-control unit 13 can periodically start the self-test program of the peripheral device body 14, obtain the self-test log of the peripheral device body 14, and store the obtained self-test log Stored in the memory 121, the self-test log of the peripheral device body 14 includes information such as the self-test time and self-test result of the peripheral device body 14.
- the UHF communication module 12 After the UHF communication module 12 receives the reading instruction sent by the handheld terminal 20 through the directional antenna 11, it reads the self-test log of the peripheral device body 14 from the memory 121, and passes the read self-test log through the directional antenna 11. The log is sent to the handheld terminal 20.
- the peripheral device 10 usually requires regular maintenance, that is, the inspector regularly checks the peripheral device 10, so that when the peripheral device 10 is abnormal, the peripheral device 10o can be found and replaced or repaired in time.
- the 10's commissioning/maintenance work is divided into different levels, and different levels of commissioning/maintenance work correspond to different cycles, for example, for primary commissioning (such as routine commissioning) can be performed once a month, for advanced commissioning (such as on-site non-interference testing) can be performed Executed once a year.
- the micro-control unit 13 can also periodically start the self-test process of the peripheral device body 14, and send the self-test log of the peripheral device body 14 to the UHF communication module 12.
- the communication module 12 stores the received self-test log into the memory 121 .
- the inspector When the inspector debugs or maintains the peripheral device 10, he can read the past self-test log from the memory 121 through the handheld terminal 20, and analyze and process the self-test log to determine whether the peripheral device 10 has failed, thereby The peripheral device 10 can be better maintained and debugged. Since the UHF communication module 12 can operate based on the radio beamforming power sent by the handheld terminal 20, when the peripheral device 10 is powered off, the inspector can also read the self-test stored in the memory 121 through the handheld terminal 20. log. By analyzing and processing the self-test log, if it is determined that the peripheral device 10 has failed, then the peripheral device 10 is checked for faults, and if it is determined that the peripheral device 10 has not failed, then this self-check function test for the peripheral device 10 is started .
- the micro control unit 13 can not only store the self-test log of the peripheral device body 14 in the memory 121, but also obtain the operation information of the peripheral device 10, and send the operation information to the UHF communication module 12.
- the UHF communication module 12 Then the received running information can be stored in the memory 121 , for example, the running information before the peripheral device 10 is powered off or fails can be stored in the memory 121 .
- the inspector can read the operation information in the memory 121 through the handheld terminal 20, and then analyze the cause of the failure of the peripheral device 10 through the operation information, so as to facilitate the maintenance of the peripheral device 10.
- the UHF communication module 12 receives the write instruction from the handheld terminal 20 through the directional antenna 11, and then writes to the memory 121 according to the write instruction. At least one of location information, configuration information and update information is stored. Wherein, the location information is used to indicate the installation location of the peripheral device 10, the configuration information is used to configure the function of the peripheral device 10, and the update information is used to update the function of the peripheral device 10.
- a write instruction is sent to the peripheral device 10 through the handheld terminal 20, and the UHF communication module 12 in the peripheral device 10 receives the write from the handheld terminal 20 through the directional antenna 11.
- the handheld terminal 20 can not only write the location information into the memory 121, but also write the inspection result information of the peripheral device 10 into the memory 121, and the subsequent inspector can read the inspection result information from the memory 121 through the handheld terminal 20, which is convenient for the inspector to view The inspection result information of the previous inspection on the peripheral device 10, and the status of the peripheral device 10, the cause of the failure, etc.
- the UHF communication module 12 After receiving the write instruction from the handheld terminal 20, the UHF communication module 12 writes the configuration information for configuring the functions of the peripheral device 10 into the memory 121, and the micro-control unit 13 stores the configuration information in the memory 121 according to the The configuration information of the peripheral device configures the peripheral device body 14, so that the peripheral device body 14 realizes corresponding functions, so that the peripheral device 10 is suitable for a corresponding usage scenario and meets user requirements.
- the handheld terminal 20 can also send a read command to the UHF communication module 12 to read the configuration information stored in the memory 121, and display the read configuration information on the handheld terminal 20, so that inspectors can check the configuration information of peripheral devices. Configuration information, and modify the configuration information.
- the handheld terminal 20 After the handheld terminal 20 establishes a communication connection with the UHF communication module 12, the handheld terminal 20 is placed in the modification mode, and the peripheral device 10 is placed in the configuration modification mode.
- the handheld terminal 20 reads the configuration information in the memory 121, and displays the read configuration information on the handheld terminal 20, wherein the configuration information includes modifiable configuration information and non-modifiable configuration information, and the handheld terminal 20 can pass different In the display mode, the modifiable configuration information and the non-modifiable configuration information are visually displayed on the display screen of the handheld terminal 20 .
- the inspector modifies the modifiable configuration information on the handheld terminal 20, such as modifying the tone mode and volume level of the speaker, and the handheld terminal 20 sends the modified configuration information to the UHF communication module 12.
- the module 12 stores the modified configuration information in the memory 121, and the micro-control unit 13 configures the peripheral device body 14 according to the modified configuration information. After the configuration is successful, the UHF communication module 12 returns configuration feedback information to the handheld terminal 20, The handheld terminal 20 displays configuration feedback information. It should be noted that when the peripheral device 10 is configured on the handheld terminal 20, if the configuration information requested to be modified leads to potential configuration errors (for example, too much power, address reuse, etc.), the handheld terminal 20 will send When the modified configuration information is reported, the corresponding error message will be reported to prompt retry.
- potential configuration errors for example, too much power, address reuse, etc.
- the UHF communication module 12 After receiving the write instruction from the handheld terminal 20, the UHF communication module 12 writes update information for updating the functions of the peripheral device 10 into the memory 121, and the micro control unit 13 reads from the memory 121 Get the update information, and update the peripheral device body 14 based on the read update information, so as to update the functions of the peripheral device body 14.
- the peripheral device body 14 can have the latest functions, and on the other hand, it can The peripheral device body 14 has different functions according to the needs of users.
- FIG. 7 is a schematic diagram of a peripheral device provided in Embodiment 6 of the present application. Referring to FIG.
- the directional antenna 11 in the peripheral device 10 includes a physical antenna 111 and a matching circuit 112, the physical antenna 111 is connected to the matching circuit 112, and the matching circuit 112 passes through the The series resonance and parallel resonance of the included capacitance and inductance realize impedance matching in the frequency band of the radio beam emitted by the handheld terminal 20, wherein the position of the physical wire 111 on the circuit board and the routing of the matching circuit 112 on the circuit board determine
- the directional antenna 11 receives and transmits radio beams in preset directions. Since the peripheral device 10 usually contains metal components, these metal components can interfere with the antenna, thereby impairing the communication of the antenna. letter performance.
- FIG. 8 is a schematic diagram of a directional antenna provided in Embodiment 6 of the present application.
- the directional antenna 11 includes a physical antenna 111 and a matching circuit 112.
- the matching circuit 112 includes resistors, capacitors and inductors. The inductors and capacitors realize impedance matching in the required frequency band through parallel and series resonance.
- FIG. 9 is a schematic diagram of a Smith chart provided in Embodiment 6 of the present application. Referring to FIG. 9, points 410-450 correspond to different frequencies, real part impedances and imaginary part impedances. After calculating the real part impedances and imaginary part impedances together, it can be obtained that the impedances corresponding to points 420-440 are close to standard impedances.
- FIG. 9 is a schematic diagram of a Smith chart provided in Embodiment 6 of the present application. Referring to FIG. 9, points 410-450 correspond to different frequencies, real part impedances and imaginary part impedances. After calculating the real part impedances and imaginary part impedances together, it can be obtained that the impedances corresponding to points 420-440 are close to standard impedances. FIG.
- S11 represents the return loss characteristic, and the larger the value of S11 is, the greater the energy reflected back by the antenna itself is, and the efficiency of the antenna is worse.
- the S11 parameter value corresponding to 420-440 is smaller, indicating that the efficiency of the antenna is better, that is, the efficiency corresponding to 440 is the best.
- the directivity of the directional antenna 11 can be determined by setting the trace shape of the matching circuit 112 on the circuit board. Directivity measurements show signal strength in 3 dimensions on each axis.
- the front plane of the peripheral device 10 can have the highest transmission power and have a narrow track towards the ground, which ensures that the transmission power received at other angles is lower.
- the antenna has good directivity in three directions, that is, the directional function of the antenna is realized.
- the handheld terminal 20 can communicate with the specific peripheral device 10, which helps to reduce interference.
- FIG. 14 is a flow chart of a peripheral device control method provided by an embodiment of the present application.
- the peripheral device control method provided in the embodiment of the present application is implemented based on the peripheral device of the message system provided in the foregoing embodiment.
- the peripheral device involved in the following method embodiments can be the peripheral device 10 in the foregoing embodiment.
- the handheld terminal involved in the following method embodiments may be the handheld terminal 20 in the foregoing embodiments
- the main controller involved in the following method embodiments may be the main controller 30 in the foregoing embodiments
- the following methods are implemented
- the broadcasting device involved in the example may be the broadcasting device 40 in the foregoing embodiments
- the memory involved in the following method embodiments may be the memory 121 in the foregoing embodiments
- the physical antennas involved in the following method embodiments may be It is the physical antenna 111 in the foregoing embodiments
- the matching circuit involved in the following method embodiments may be the matching circuit 112 in the foregoing embodiments
- the directional antenna involved in the following method embodiments may be the orientation
- the antenna 11, the UHF communication module involved in the following method embodiments can be
- the micro control unit controls the peripheral device body to perform actions according to the control instruction.
- the directional antenna receives the radio beam along the preset direction, and sends the radio beam to the UHF communication module, and then the UHF communication module receives the radio beam from the UHF communication module.
- the control instruction is obtained from the radio beam, and the control instruction is sent to the micro control unit, and then the micro control unit controls the action of the peripheral device body according to the control instruction. It can be seen that one inspector can complete the inspection of peripheral equipment through a handheld terminal, which saves the time required for multiple inspectors to communicate and cooperate during inspection, thereby improving the efficiency of inspection of peripheral equipment of the fire protection system.
- the UHF communication module can work based on the received radio beam forming power, the UHF communication module can also receive the wireless signal from the handheld terminal and activate it when the peripheral equipment is powered off, thereby reducing the The energy consumption of the peripheral equipment can be reduced, and the peripheral equipment can be checked more conveniently, so as to improve the user experience.
- the micro control unit controls the peripheral device body to perform actions according to the control instruction, including: inspection structure, and send the self-inspection result to the UHF communication module; the UHF communication module sends the self-inspection result to the handheld terminal through the directional antenna.
- the micro control unit in step 1403 above controls the peripheral device body to perform actions according to the control instruction, including: the micro control unit starts the automatic calibration program of the peripheral device body according to the control instruction, so that the peripheral device body can The calibration reference completes the automatic calibration.
- the step 1403 above, in which the micro control unit controls the peripheral device body to perform actions according to the control instruction includes: the micro control unit sets the action threshold of the peripheral device body as a target value according to the control instruction.
- the peripheral device control method further includes: The UHF communication module receives communication request information from the handheld terminal through a directional antenna, and after verifying that the key included in the communication request information is correct, sends communication feedback information to the handheld terminal to establish a wireless communication connection with the handheld terminal.
- the UHF communication module receives communication request information from the handheld terminal through a directional antenna, and after verifying that the key included in the communication request information is correct, sends communication feedback information to the handheld terminal to establish a wireless communication connection with the handheld terminal.
- the peripheral device control method further includes: the UHF communication module receives a delay action command from the handheld terminal through a directional antenna, and delays The action command is sent to the micro-control unit; the micro-control unit, according to the delay action command, after receiving the action command from the main controller of the fire protection system (that is, the fire control panel), waits for the preset delay time to control the peripheral equipment to execute The action corresponding to the action command, and clear the delayed action command after the control peripheral device body executes the action corresponding to the action command.
- the UHF communication module receives a delay action command from the handheld terminal through a directional antenna, and delays The action command is sent to the micro-control unit; the micro-control unit, according to the delay action command, after receiving the action command from the main controller of the fire protection system (that is, the fire control panel), waits for the preset delay time to control the peripheral equipment to execute The action corresponding to the action command, and clear the delayed action command after the control peripheral device body executes the action corresponding to the action command.
- the peripheral device control method further includes: the micro control unit acquires the first instruction from the handheld terminal and the main control from the fire protection system; When the second instruction of the device is used, if the peripheral device is in the working mode, the second instruction will be executed first, and if the peripheral device is in the maintenance mode or test mode, the first instruction will be executed first.
- the micro control unit acquires the first instruction from the handheld terminal and the main control from the fire protection system
- the peripheral device control method further includes: the UHF communication module receives preset information from the broadcast device through a directional antenna, and sends the preset
- the preset information is stored in the memory included in the UHF communication module, wherein the broadcasting device sends preset information to at least two peripheral devices in the form of broadcasting, and the preset information includes serial number, anti-counterfeiting information, electrical performance parameters, and delivery information and at least one of communication connection verification information.
- the peripheral device control method further includes: the micro control unit obtains the self-test log of the peripheral device body, and stores the self-test log in In the memory included in the high-frequency communication module; the UHF communication module receives the reading instruction from the handheld terminal through the directional antenna, and according to the reading instruction, sends the self-test log stored in the memory to the handheld terminal through the directional antenna.
- the micro control unit obtains the self-test log of the peripheral device body, and stores the self-test log in In the memory included in the high-frequency communication module; the UHF communication module receives the reading instruction from the handheld terminal through the directional antenna, and according to the reading instruction, sends the self-test log stored in the memory to the handheld terminal through the directional antenna.
- the peripheral device control method further includes: the UHF communication module receives a write instruction from the handheld terminal through a directional antenna, and according to the Write an instruction to store at least one of location information, configuration information and update information in a memory included in the UHF communication module, wherein the location information is used to indicate the installation location of the peripheral device, and the configuration information is used to configure the function of the peripheral device , update information for more functionality of the new peripheral.
- the UHF communication module receives a write instruction from the handheld terminal through a directional antenna, and according to the Write an instruction to store at least one of location information, configuration information and update information in a memory included in the UHF communication module, wherein the location information is used to indicate the installation location of the peripheral device, and the configuration information is used to configure the function of the peripheral device , update information for more functionality of the new peripheral.
- the directional antenna includes: a physical antenna and a matching circuit; a physical wire connected to the matching circuit; the matching circuit is used to pass the included capacitor
- the series resonance and parallel resonance of the inductor and the impedance matching are realized in the frequency band of the radio beam emitted by the handheld terminal.
- the position of the physical wire on the circuit board and the routing of the matching circuit on the circuit board determine the directional antenna along the preset direction Receive and transmit radio beams.
- peripheral equipment control method in the embodiment of the present application is based on the same idea as the peripheral equipment of the fire protection system in the foregoing embodiments, and details may be referred to the descriptions in the foregoing equipment embodiments, which will not be repeated here.
- the present application also provides a computer-readable medium storing instructions for causing a computer to execute the peripheral device control method as described herein.
- a system or device equipped with a storage medium may be provided, on which a software program code for realizing the functions of any of the above embodiments is stored, and the computer (or CPU or MPU of the system or device) may ) to read and execute the program code stored in the storage medium.
- the program code read from the storage medium itself can realize the function of any one of the above embodiments, so the program code and the storage medium storing the program code constitute a part of the present application.
- storage media for providing program codes include floppy disks, hard disks, magneto-optical disks, optical disks (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), Tape, non-volatile memory card, and ROM.
- the program code can be downloaded from a server computer via a communication network.
- the system structure described in the above embodiments may be a physical structure or a logical structure, that is, some modules may be realized by the same physical entity, or some modules may be realized by multiple physical entities, or may be realized by multiple Certain components in individual devices are implemented together.
- the hardware unit may be implemented mechanically or electrically.
- a hardware unit may include permanently dedicated circuits or logic (such as a dedicated processor, FPGA or ASIC) to perform corresponding operations.
- a hardware unit may also include programmable logic or circuits (such as a general-purpose processor or other programmable processors), which may be temporarily configured by software to complete corresponding operations.
- programmable logic or circuits such as a general-purpose processor or other programmable processors
- the specific implementation manner may be determined based on cost and time considerations.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Alarm Systems (AREA)
Abstract
本申请提供了外围设备、控制方法和计算机可读介质,该外围设备包括:定向天线、特高频通信模块、微控制单元和外围设备本体;特高频通信模块分别与定向天线和微控制单元相连接,微控制单元与外围设备本体相连接;定向天线,用于沿预设方向接收来自手持终端的无线电波束,并将无线电波束发送给特高频通信模块,其中,在外围设备无电能供给时,特高频通信模块基于无线电波束生成电能而进行运行;特高频通信模块,用于获取无线电波束包括的控制指令,并将控制指令发送给微控制单元;微控制单元,用于根据控制指令,控制外围设备本体进行动作。本方案能够提高对诸如建筑物中消防系统、HVAC系统或安防系统的外围设备进行检查的效率。
Description
楼宇自动化系统的外围设备、 控制方法和计算机可读介质 技术领域 本 申请涉及楼宇自动化, 尤其涉及楼宇自动化系统的外围设备、 控制方法和计算机可读 介质。 背景技术 楼宇 自动化是通过楼宇自动化系统(BAS)对楼宇的 HVAC(供暖、通风和空调)、照明、 遮阳、 安防系统 (入侵) 和防火安全系统进行自动集中控制。 防火安全系统的另一术语为消 防系统。 BAS核心功能将建筑物气候保持在指定范围内、 例如根据入住时间表为房间提供照 明、 通过火灾探测器监测房间和地面的火灾和烟雾、 监测所有系统的性能和设备故障, 并向 建筑物维护人员提供故障警报。 与非控制型建筑相比, BAS 降低了建筑物能耗和维护成本。 2000年后建造的大多数商业建筑物、机构建筑物和工业建筑都包括 BAS。很多较旧的建筑物 已用新的 BAS 进行了改造。 出于 HVAC的目的, 楼宇自动化系统包括房间控制单元、 温控器、 空气质量传感器、 智 能阀门、 HVAC控制器等。 出于安防目的, 楼宇自动化系统包括运动检测器 (例如包括 PIR传感器、 超声波传感器 或雷达传感器) 和摄像机等 (例如云台摄像机或云台变焦摄像机)。 出于防火安全或消防目的, 楼宇自动化系统包括无线或有线连接到火灾探测器的消防控 制面板, 例如烟雾探测器、 一氧化碳探测器、 线性光束烟雾探测器。 设置于建筑物 或工业环境中的消防系统通常包括主控制器 (例如消防控制面板) 和外围 设备, 主控制器响应于现场火情或控制指令, 控制外围设备执行火灾报警 (例如, 通过光学 和 /或声学报警单元)、烟雾传感、 防火墙下落、灭火等动作。为了保证发生火灾时外围设备能 够正常动作, 需要定时对消防系统的外围设备进行检查。 目前在对消防系统的外围设备进行检查时, 需要两个人员配合完成, 一个人员通过主控 制器向外围设备发送动作指令, 另一个人员在现场查看外围设备的动作执行情况, 进而根据 动作指令和动作执行情况确定外围设备是否正常。 针对 目标对消防系统的外围设备进行检查的方法, 由于消防系统通常包括有多个外围设 备, 而每个外围设备需要两个人员配合才能够完成检查, 因此需要耗费较长时间才能够外围 设备的检查, 进而导致对消防系统的外围设备进行检查的效率较低。
发明内容 有鉴于此 , 本申请提供的外围设备、 控制方法和计算机可读介质, 能够提高对外围设备 进行检查的效率。 第一方面 , 本申请实施例提供了一种外围设备, 包括: 定向天线、 特高频通信模块、 微 控制单元和外围设备本体; 所述特高频通信模块分别 与所述定向天线和所述微控制单元相连接, 所述微控制单元与 所述外围设备本体相连接; 所述定 向天线, 用于沿预设方向接收来自手持终端的无线电波束, 并将所述无线电波束 发送给所述特高频通信模块, 其中, 在所述外围设备无电能供给时, 所述特高频通信模块基 于所述无线电波束生成电能而进行运行; 所述特高频通信模块 , 用于获取所述无线电波束包括的控制指令, 并将所述控制指令发 送给所述微控制单元; 所述微控制单元 , 用于根据所述控制指令, 控制所述外围设备本体进行动作。 通常 , 外围设备为输入和 /或输出单元。 输入单元可以是传感器, 例如环境传感器、 摄像 机、运动检测单元。输出单元可以是执行器,例如开关、驱动单元或光学和 /或声学报警单元、 显示器、 指示灯等。 在第一种可能 的实现方式中, 结合上述第一方面, 所述微控制单元用于根据所述控制指 令, 启动所述外围设备本体的自检流程, 并获取所述外围设备本体的自检结果, 将所述自检 结果发送给所述特高频通信模块; 所述特高频通信模块还用于通过所述定向天线将所述自检 结果发送给所述手持终端。 在第二种可能 的实现方式中, 结合上述第一方面, 所述微控制单元用于根据所述控制指 令, 启动所述外围设备本体的自动校准程序, 使所述外围设备本体根据现场提供的校准参考 完成自动校准。 在第三种可能 的实现方式中, 结合上述第一方面, 所述微控制单元用于根据所述控制指 令, 将所述外围设备本体的动作阈值设置为目标值。 在第 四种可能的实现方式中, 结合上述第一方面, 所述特高频通信模块还用于通过所述 定向天线接收来自所述手持终端的通信请求信息, 在验证所述通信请求信息包括的密钥正确 后, 向所述手持终端发送通信反馈信息, 以建立与所述手持终端之间的无线通信连接。 在第五种可能 的实现方式中, 结合上述第一方面, 所述特高频通信模块还用于通过所述
定向天线接收来自所述手持终端的延迟动作指令, 并将所述延迟动作指令发送给所述微控制 单元; 所述微控制单元还用于根据所述延迟动作指令, 在接收到来自例如消防系统的主控制 器的动作指令后, 等待预设的延迟时间后控制所述外围设备本体执行与所述动作指令相对应 的动作, 并在控制所述外围设备本体执行与所述动作指令相对应的动作后清除所述延迟动作 指令。 在第六种可能 的实现方式中, 结合上述第一方面, 所述微控制单元还用于在获取到来自 所述手持终端的第一指令和来自所述消防系统的主控制器的第二指令时, 如果所述外围设备 处于工作模式, 则优先执行所述第二指令, 如果所述外围设备处于维修模式或测试模式, 则 优先执行所述第一指令。 在第七种可能 的实现方式中, 结合上述第一方面或第一方面的任一可能的实现方式, 所 述特高频通信模块包括: 存储器; 所述特高频通信模块还用于通过所述定向天线接收来自广 播设备的预设信息, 并将所述预设信息存储到所述存储器中, 其中, 所述广播设备通过广播 的形式向至少两个所述外围设备发送所述预设信息, 所述预设信息包括序列号、 防伪信息、 电气性能参数、 交货信息和通信连接验证信息中的至少一个。 在第八种可能 的实现方式中, 结合上述第七种可能的实现方式, 所述微控制单元还用于 获取所述外围设备本体的自检日志, 并将所述自检日志存储到所述存储器中; 所述特高频通 信模块,还用于通过所述定向天线接收来自所述手持终端的读取指令,并根据所述读取指令, 通过所述定向天线将所述存储器中存储的所述自检日志发送给所述手持终端。 在第九种可能 的实现方式中,结合上述第七种可能的实现方式或第八种可能的实现方式, 所述特高频通信模块还用于通过所述定向天线接收来自所述手持终端的写入指令, 并根据所 述写入指令, 向所述存储器中存储位置信息、 配置信息和更新信息中的至少一个, 其中, 所 述位置信息用于指示所述外围设备的安装位置,所述配置信息用于配置所述外围设备的功能, 所述更新信息用于更新所述外围设备的功能。 在第十种可能 的实现方式中, 结合上述第一方面或第一方面的任一可能的实现方式, 所 述定向天线包括: 物理天线和匹配电路; 所述物理电线与所述匹配电路相连接; 所述匹配电 路用于通过所包括的电容和电感的串联谐振和并联谐振, 在所述手持终端发射的无线电波束 的频段实现阻抗匹配,其中,物理电线在电路板上的位置和所述匹配电路在电路板上的走线, 决定所述定向天线沿所述预设方向接收和发射无线电波束。 第二方面 , 本申请实施例还提供了一种基于上述第一方面或第一方面的任一可能实现方 式所提供外围设备的外围设备控制方法, 包括:
通过所述定 向天线沿预设方向接收来自手持终端的无线电波束; 通过所述特高频通信模块 获取所述无线电波束包括的控制指令, 其中, 在所述外围设备 无电能供给时, 所述特高频通信模块基于所述无线电波束生成电能而进行运行; 所述微控制单元根据所述控制指令 , 控制所述外围设备本体进行动作。 第三方面 , 本申请实施例还提供了一种计算机可读介质, 所述计算机可读介质上存储有 计算机指令, 所述计算机指令在被处理器执行时, 使所述处理器执行上述第二方面所提供的 方法。 由上述技术方案可知, 定向天线沿预设方向接收来自手持终端的无线电波束, 在对外围 设备进行检查时, 检查人员在定向天线的通信范围内, 沿定向天线接收无线信号的方向通过 手持终端发射无线电波束, 定向天线将接收到的无线电波束发送给特高频通信模块, 特高频 通信模块从无线电波束中获取控制指令, 将控制指令发送给微控制单元, 微控制单元根据控 制指令控制外围设备本体动作。 由此可见, 在对外围设备进行检查时, 无需通过主控制器向 外围设备发送控制指令, 检查人员通过手持终端在外围设备的现场, 向外围设备发送控制指 令并查看外围设备本体的动作执行情况, 因此一个检查人员便可以完成外围设备的检查, 而 且节省了检查过程中检查人员间沟通配合所需的时间, 从而能够提高对外围设备进行检查的 效率, 例如对于消防系统。 附图说明 图 1是本申请实施例一提供的一种示例性消防系统的外围设备的示意图; 图 2是本申请实施例一提供的一种定向天线通信范围的示意图; 图 3是本申请实施例二提供的一种示例性消防系统的示意图; 图 4是本申请实施例三提供的一种外围设备的示意图; 图 5是本申请实施例三提供的一种外围设备进行广播通信的示意图; 图 6是本申请实施例三提供的一种示例性消防系统的示意图; 图 7是本申请实施例六提供的一种外围设备的示意图; 图 8是本申请实施例六提供的一种定向天线的示意图; 图 9是本申请实施例六提供的一种史密斯圆图的示意图; 图 10是本申请实施例六提供的一种史密斯圆图对应的 S11参数示意图; 图 11是本申请实施例六提供的一种天线方向图;
图 12是本申请实施例六提供的另一种天线方向图; 图 13是本申请实施例六提供的又一种天线方向图; 图 14是本申请实施例七提供的一种外围设备控制方法的流程图。 附图标记列表:
10: 外围设备 20: 手持终端 30: 主控制器, 消防控制面板
40: 广播设备 50: 数据库 11: 定向天线
12: 特高频通信模块 13: 微控制单元 14: 外围设备本体
121: 存储器 11 1: 物理天线 112: 匹配电路
1401: 通过定向天线沿预设方向接收来自手持终端的无线电波束
1402: 通过特高频通信模块获取无线电波束包括的控制指令
1403: 微控制单元根据控制指令, 控制外围设备本体进行动作 具体实施方式 如前所述 , 示例性消防系统包括主控制器和多个外围设备, 外围设备在主控制器(即消 防控制面板) 的控制下动作, 为了保证发生火灾时主控制器能够控制外围设备正常动作, 需 要定时对外围设备进行检查。 由于主控制器和外围设备通常设置在不同的位置, 所以需要两 人配合完成外围设备的检查, 一个人控制主控制器向外围设备发送动作指令, 另一个人在现 场查看外围设备的动作执行情况。 由于消防系统通常包括有多个外围设备, 通过两个人配合 对外围设备进行检查的方法, 两个检查人员需要沟通配合, 比如第一检查人员达到外围设备 的现场时, 通过对讲机等通讯设备通知第二检查人员, 然后第二检查人员通过主控制器 (即 消防控制面板) 向外围设备发送动作指令后, 通过通讯设备通知第一检查人员, 然后第一检 查人员查看外围设备的动作执行情况, 完成一个外围设备的检查需要两个检查人员进行多轮 沟通, 因此对每个外围设备进行检查都需要耗费较长的时间, 进而导致对消防系统的外围设 备进行检查的效率较低。 本 申请实施例中, 消防系统的外围设备包括定向天线、 特高频通信模块、 微控制单元和 外围设备本体, 定向天线可以沿预设方向接收手持终端发射的无线信号。 在对外围设备进行 检查时, 在定向天线接收无线信号的方向上, 通过手持终端向定向天线发送无线信号, 定向 天线将接收到的无线信号发送给特高频通信模块, 特高频通信模块从无线信号中获取控制指 令, 并将获取到的控制指令发送给微控制单元, 微控制单元基于接收到的控制指令控制外围 设备本体动作。 由此可见, 基于本申请实施例提供的消防系统的外围设备, 在对外围设备进
行检查时, 检查人员在外围设备的现场通过手持终端向外围设备发送控制指令, 并查看外围 设备的动作执行情况, 仅需一个检查人员便能够完成外围设备的检查, 节省了检查过程中两 个检查人员多轮沟通耗费的时间, 从而能够提高对消防系统的外围设备进行检查的效率。 下面结合 附图对本申请实施例提供的消防系统的外围设备和外围设备的控制方法进行详 细说明。 实施例一 图 1是本申请实施例一提供的一种示例性消防系统的外围设备的示意图。 参见图 1 , 本 申请实施例提供的消防系统的外围设备 10包括: 定向天线 11、 特高频通信模块 12、 微控制 单元 13和外围设备本体 14; 特高频通信模块 12分别与定向天线 11和微控制单元 13相连接, 微控制单元 13与外围 设备本体 14相连接; 定 向天线 11用于沿预设方向接收来自手持终端 20的无线电波束, 并将无线电波束发送 给特高频通信模块 12, 其中, 在外围设备 10无电能供给时, 高频通信模块 12基于接收到的 无线电波束生成电能而进行运行; 特高频通信模块 12,用于获取无线电波束包括的控制指令,并将控制指令发送给微控制单 元 13; 微控制单元 13用于根据控制指令, 控制外围设备本体 14进行动作。 在本 申请实施例中, 定向天线 11沿预设方向接收来自手持终端 20的无线电波束, 在对 外围设备 10进行检查时, 检查人员在定向天线 11的通信范围内, 沿定向天线 11接收无线信 号的方向通过手持终端 20发射无线电波束, 定向天线 11将接收到的无线电波束发送给特高 频通信模块 12, 特高频通信模块 12从无线电波束中获取控制指令, 将控制指令发送给微控 制单元 13 , 微控制单元 13根据控制指令控制外围设备本体 14动作。 由此可见, 在对外围设 备 10进行检查时, 无需通过消防系统的主控制器向外围设备 10发送控制指令, 检查人员通 过手持终端 20在外围设备 10的现场, 向外围设备 10发送控制指令并查看外围设备本体 14 的动作执行情况, 因此一个检人员便可以完成外围设备 10的检查,而且节省了检过查程中检 查人员间沟通配合所需的时间, 从而能够提高对消防系统的外围设备 10进行检查的效率。 在本 申请实施例中, 定向天线 11用于沿预设方向接收手持终端 20发送的无线电波束, 同时定向天线 11还可以沿预设方向发射无线电波束,无线电波束中包括通信数据, 从而实现 外围设备 10与手持终端 20之间的通信。预设方向是一个预设取向范围, 定向天线 11在该取 向范围内易于与手持终端 20进行无线通信, 在该取向范围之外, 定向天线 11发射的无线信
号能量弱且对无线信号的感应能力弱, 从而难以与手持终端设备 20进行通信。例如, 从某一 方向开始的 0〜 360。范围内, 定向天线 11在 30°~90°的取向范围内易于与手持终端 20进行无 线通信。 图 2所本申请实施例一提供的一种定向天线通信范围的示意图。 参见图 2, 定向天线 11 设置在室内的顶棚上,预设方向为以定向天线 11为起点且与竖直方向成设定角度 a的取向范 围, 即定向天线 11可以与以定向天线 11为顶点、 竖直方向为旋转轴、 母线与旋转轴夹角等 于设定角度 a的圆锥型空间范围内的手持终端 20进行通信,而位于该圆锥型空间范围外的手 持终端 20, 则难以与定向天线 11进行通信。 由于示例性消防系统包括多个外围设备, 外围设备之间的距离可能较小, 定向天线 11沿 预设方向与手持终端 20进行通信, 而手持终端 20位于预设方向之外时, 定向天线 11难以与 手持终端 20进行通信,从而通过改变手持终端 20的位置,可以使手持终端 20单独与每个外 围设备 10中的定向天线 11进行通信, 以分别对每个外围设备 10进行检查。 在本 申请实施例中,特高频通信模块 12指的是基于特高频进行通信的通信模块,特高频 (Ultra High Frequency, UHF)是指波长范围为 Im〜 1dm,频率为 300~3000MHz的无线电波, 常用于移动通信和广播电视领域。 通过特高频通信模块 12与定向天线 11的配合, 特高频通 信模块 12的通信距离满足手持终端 20与外围设备 10间进行通信的需求,比如特高频通信模 块 12的通信距离为 5米。 特高频通信模块 12是集成多个通信处理单元的器件, 特高频通信模块 12可以经由定向 天线 11接收消息, 并将接收到的消息发送给微控制单元 13 , 还可以接收来自微控制单元 13 的消息, 并经由定向天线 11发送所接收到的消息。 消防系统 的外围设备 10在某些情况下是不工作的, 即处于无电源供给状态, 比如在消防 系统的主控制器向外围设备 10发送控制指令时, 外围设备 10处于有电源供给状态, 此时外 围设备 10可以工作, 而在消防系统的主控制器不向外围设备 10发送控制指令或所发送控制 指令失效时, 外围设备 10处于无电源供给状态, 此时外围设备 10不工作。在外围设备 10处 于无电源供给状态时, 特高频通信模块 12处于非激活状态, 当定向天线 11接收到来自手持 终端 20的无线电波束,并将无线电波束发送给特高频通信模块 12后,特高频通信模块 12基 于无线电波束生成电能而进行运行, 即特高频通信模块 12在接收到手持终端 20发送的无线 信号后被激活, 因此可以降低外围设备 10的能耗, 并且在外围设备 10断电的情况下也可以 与手持终端 20进行通信, 从而可以在不同应用场景下对外围设备 10进行操作。 在本 申请实施例中,微控制单元 13是把中央处理器的频率与规则做适当缩减,并将内存、 计算器、 通用串行总线、 模数转换、 通用异步收发传输器、 可编程逻辑控制器等周边接口,
整合在单一芯片上, 形成芯片级的计算机, 为不同的应用场合做不同组合控制。 针对不同类 型的外围设备 10, 微控制单元 13的功能、 接口等可具有各自相应的配置, 以实现不同外围 设备 10的功能。 在本 申请实施例中,外围设备 10包括光学和 /或声学报警单元、烟雾检测单元、气体检测 单元 (例如 CO)、 电动、 气动或液压开关、 运动检测单元、 传感器(例如, 温度传感单元)、 房间控制单元等。 在可通信的场景下, 主控制器(例如消防系统的主控制器) 通过与外围设 备 10之间的通信获得外围设备 10的工作状态或报警状态, 或者向外围设备 10发送指令。 在本 申请实施例中, 手持终端 20包括手机、 笔记本电脑、 平板电脑、 专用检查终端等具 有无线电波束发射功能的智能移动终端。 实施例二 在实施例一所提供外 围设备 10的基础上,外围设备 10响应于来自手持终端 20的控制指 令, 执行相应的动作, 从而实现外围设备 10的自检、 校准、 延迟动作及指令冲突处理等。 在一种可能 的实现方式中,当特高频通信模块 12从无线电波束中获取到的控制指令为自 检指令时, 微控制单元 13根据该自检指令启动外围设备本体 14的自检流程, 使得外围设备 本体 14进行自检。在外围设备本体 14进行自检的过程中或自检完成后,微控制单元 13获取 外围设备本体 14的自检结果, 并将自检结果发送给特高频通信模块 12, 特高频通信模块 12 通过定向天线 11将自检结果发送给手持终端 20。 需要说 明的是, 微控制单元 13在获取到外围设备本体 14的自检结果后, 除了可以通过 特高频通信模块 12和定向天线 11将自检结果发送给手持终端 20夕卜, 还可以在外围设备 10 本地存储自检结果, 而且还可以将自检结果发送给消防系统的主控制器, 由主控制器或手持 终端 20将自检结果上传至云端的数据库, 以便在外围设备 10出现故障时, 基于自检结果确 定故障原因, 以及方便对外围设备 10进行全生命周期管理。 手持终端 20向外围设备 10发送自检指令后,微控制单元 13基于自检指令控制外围设备 本体 14完成自检,并通过特高频通信模块 12和定向天线 11将自检结果发送给手持终端 20, 一个检查人员通过手持终端 20便可以使外围设备 10完成自检,并获取到外围设备 10的自检 结果, 从而可以提高对外围设备 10进行检查的效率。 另外, 由于特高频通信模块 12可以基 于来自手持终端 20的无线电波束生成电能而工作, 因此在外围设备 10无需不间断为特高频 通信模块 12供电, 从而可以降低外围设备 10的功耗。 微控制单元 13获取到外围设备本体 14的自检结果后, 可以将自检结果发送给云端的数 据库, 或者手持终端 20可以将接收到的自检结果发送给云端的数据库, 以便于从云端数据库
获取外围设备本体 14的自检结果, 方便对外围设备本体 14进行管理和分析。 外围设备本体 14的自检是对外围设备本体的各项功能进行测试,测试结果包括自检通过 /失败状态、外围设 备地址、 自检时间、 初始调试日期、 自定义消息、 线路电压、 坎德拉设置、 音量、 电流消耗 等。 在一种可能 的实现方式中,当特高频通信模块 12从无线电波束中获取到控制指令为校准 指令时, 微控制单元 13根据该校准指令启动外围设备本体 14的自动校准程序, 使外围设备 本体 14根据现场提供的校准参考完成自动校准, 或者, 微控制单元 13根据该校准指令, 将 外围设备本体 14的动作阈值设置为目标值。 在外 围设备 10初次安装或使用一段时间后, 需要对外围设备 10进行校准, 以使外围设 备 10能够按照设定的逻辑工作。 不同类型的外围设备 10可能对应不同的校准方法, 一些外 围设备 10需要通过在现场提供的校准参考完成校准, 而另一些外围设备 10需要输入动作阈 值。 对于需要通过现场提供 的校准参考完成校准的外围设备 10, 在现场提供校准参考后, 通 过手持终端 20向外围设备 10发送校准指令, 外围设备 10中的微控制单元 13根据接收到的 校准指令, 启动外围设备本体 14的自动校准程序, 外围设备本体 14根据现场提供的校准参 考完成自动校准。 比如, 外围设备本体 14为烟雾探测单元或烟感报警器, 烟感探测单元在环 境烟浓度达到设定值时进行报警, 在对烟感探测单元进行校准时, 在烟感探测单元的现场提 供设定浓度值烟, 之后通过手持终端 20向烟感探测单元发送校准指令, 外围设备本体 14中 的微控制单元 13响应于该校准指令,启动烟感探测单元的自动校准程序,烟感探测单元检测 环境烟浓度作为报警阈值进行存储, 实现烟感探测单元的自动校准。 对于需要输入动作 阈值进行校准的外围设备 10, 通过手持终端 20向外围设备 10发送校 准指令, 外围设备 10中的微控制单元 13根据接收到的校准指令,将外围设备本体 14的动作 阈值设置为目标值。 比如, 外围设备本体 14为感温单元, 感温单元在环境温度大于报警温度 阈值时进行报警,在对感温单元进行校准时,通过手持终端 20向温感单元发送包括目标值的 校准指令, 外围设备 10中的微控制单元 13响应于该校准指令, 将温感单元的报警温度阈值 设置为目标值。 通过手持终端 20向外围设备 10发送校准指令, 可以在现场完成外围设备本体 14的校 准, 提高对外围设备本体 14进行校准的方便性。另外,针对不同类型的外围设备本体 14,手 持终端 10可以发送不同类型的校准指令, 以使外围设备本体 14实现自动校准或直接设定外 围设备本体 14的动作阈值, 从而可以实现对不同类型的外围设备本体 14进行校准。 在一种可能 的实现方式中, 在手持终端 20与特高频通信模块 12进行信息交互之前, 需
要建立手持终端 20与特高频通信模块 12之间的无线通信连接。 手持终端 20向外围设备 10 发送通信请求信息后, 特高频通信模块 12通过定向天线 11接收该通信请求信息, 对该通信 请求信息包括的密钥进行验证, 如果验证该通信请求信息包括的密钥正确, 则通过定向天线 11向手持终端 20发送通信反馈信息, 手持终端 20接收到通信反馈信息后建立与特高频通信 模块 12之间的无线通信连接。 手持终端 20所发送通信请求信息包括的密钥是合法设备的标识,仅有合法的设备才能够 发送包括该密钥的通信请求信息, 特高频通信模块 12通过验证该密钥可以确认手持终端 20 是否为合法设备,进而仅有合法设备才能够与特高频通信模块 12建立无线通信连接,与特高 频通信模块 12进行无线通信, 从而能够保证外围设备 10的安全性。 在一种可能 的实现方式中,图 3是本申请实施例二提供的一种示例性消防系统的示意图。 参见图 3 , 消防系统包括主控制器 30(即消防控制面板)和多个外围设备 10, 在对一些外围 设备 10进行检查时,检查人员需要先通过主控制器 30向外围设备 10发送动作指令,然后检 查人员走到外围设备 10的现场查看外围设备 10的动作执行情况, 在检查人员从主控制器 30 处走到外围设备 10处的时间段内,外围设备 10将持续执行动作, 比如当外围设备 10为声音 报警设备时,在该时间段内外围设备 10将持续发声报警,会使听见发声报警的人误以为发生 火灾, 导致对外围设备 10进行检查的体验较差。 检查人员通过手持终端 20向外围设备 10发送延迟动作指令,外围设备 10中的特高频通 信模块 12通过定向天线 11接收到该延迟动作指令后, 将该延迟动作指令发送给微控制单元 13 , 微控制单元 13响应于该延迟动作指令, 在接收到来自主控制器 30的动作指令后, 等待 预设的延迟时间后控制外围设备本体 14执行与所接收到动作指令相对应的动作。微控制单元 13控制外围设备本体 14执行与所接收到动作指令相对应的动作后, 清除延迟动作指令。 通过手持终端 20向外围设备 10发送延迟动作指令,使外围设备 10延迟执行来自主控制 器 30的动作指令, 从而检查人员在主控制器 30处通过主控制器 30向外围设备 10发送动作 指令后, 外围设备 10不会立即执行该动作指令, 在外围设备 10等待的延迟时间内, 检查人 员可以从主控制器 30处走到外围设备 10的现场,进而在检查人员到达外围设备 10的现场后 外围设备 10才执行动作指令,一方面检查人员能够完整地查看外围设备本体 14的自检过程, 保证对外围设备 10进行检查的有效性, 另一方面避免了外围设备 10在检查人员未到达现场 时执行动作而使人误以为发生火灾的情况出现, 从而可以提高对外围设备 10进行检查的体 验。 可选地 , 微控制单元 13响应于延迟动作指令, 等待延迟时间后控制外围设备本体 14执 行与动作指令相对应的动作后, 对外围设备 10的检查完成, 微控制单元 13断电重启, 以清
除此前接收到的延迟动作指令,保证后续外围设备 10接收到来自主控制器 30的动作指令后, 能够及时执行与所接收到动作指令相对应的动作, 实现外围设备 10的正常功能。 在一种可能 的实现方式中, 参见图 3 , 消防系统包括的主控制器 30会向外围设备 10发 送控制指令, 手持终端 20也会向外围设备 10发送控制指令, 当主控制器 30和手持终端 20 同时向外围设备 10发送控制指令时, 微控制单元 13需要确定执行两个控制指令的顺序。 当微控制单元 13获取到来自手持终端 20的第一指令和来自主控制器 30的第二指令时, 微控制单元 13确定外围设备 10所处的模式,如果外围设备 10处于工作模式,则优先执行第 二指令, 如果外围设备 10处于维修模式或测试模式, 则优先执行第一指令。 比如, 微控制单 元 13同时接收到来自主控制器 30的报警指令和来自手持终端 20的自检指令,如果外围设备 10处于工作模式, 则优先执行报警指令, 之后再执行自检指令, 如果外围设备 10处于维修 模式或测试模式, 则优先执行自检指令, 之后再执行报警指令。 外 围设备 10具有工作模式、 维修模式、 测试模式等多个运行模式, 当外围设备 10同时 接收到来自主控制器 30和手持终端 20的指令时,如果外围设备 10处于工作模式,微控制单 元 13优先执行来自主控制器 30的指令, 保证外围设备 10能够正常执行报警或灭火等动作, 如果外围设备 10处于维修模式或测试模式, 微控制单元 13优先执行来自手持终端 20的指 令, 避免对外围设备 10的正常调试、 测试、 维修和检查工作受到影响。 实施例三 在实施例一或实施例二所提供外 围设备 10的基础上, 外围设备 10可以接收广播设备的 消息, 并对接收到的消息进行存储, 从而实现向批量外围设备 10中存储预置信息。 图 4是本申请实施例三提供的一种外围设备的示意图。 参见图 4, 特高频通信模块 12中 包括存储器 121 , 广播设备 40通过广播的形式向至少两个外围设备 10发送预设信息, 在每 个外围设备 10中, 特高频通信模块 12通过定向天线 11接收来自广播设备 40的预设信息, 并将接收都的预设信息存储到存储器 121中。 预设信息包括序列号、 防伪信息、 电气性能参 数、 交货信息和通信连接验证信息中的部分或全部。 一个外 围设备 10中的特高频通信模块 12,不仅能够接收手持终端 20针对该外围设备 10 发送的消息, 还能够接收广播设备 40通过广播形式发送的消息, 从而在外围设备 10出厂之 前或外围设备 10的运输过程中, 通过广播设备 40以广播形式发送预设信息, 进而向批量的 外围设备 10中写入预设信息, 从而可以提高对外围设备 10进行设置的方便性及效率。 写入存储器 121的预设信息包括序列号、 防伪信息、 电气性能参数、 交货信息和通信连 接验证信息等,其中,序列号为外围设备 10的标识,不同的外围设备 10对应不同的序列号,
防伪信息用于验证外围设备 10是否为伪造产品, 具体可以是通过特殊算法计算出的防伪编 码, 电气性能参数用于标识外围设备 10的电气性能, 比如为额定电压、 额定电流、 额定功率 等, 交货信息用于标识外围设备 10的交货情况, 比如为交货时间、 批号、 发货起始地址、 收 货目的地址等, 通信连接验证信息用于在手持终端 20与外围设备 10建立通信连接时对手持 终端 20进行验证, 比如为密钥、 合法手持终端 20的身份信息等。 可见, 在外围设备 10出厂 之前, 通过广播设备 40与外围设备 10进行一对多或依次一对一通信, 将预设信息存储都各 外围设备 10的存储器 121中, 以便在外围设备 10的安装调试和维护阶段使用。 图 5是本申请实施例三提供的一种外围设备进行广播通信的示意图。 参见图 5, 广播设 备 40置于多个外围设备 10取向范围的交叠区域内, 其中图 5中虚线用于表征响应外围设备 10的取向范围 (可与广播设备 40进行有效无线通信的范围), 从而广播设备 40能够和多个 外围设备 10进行一对多通信或依次实现一对一通信。 广播设备 40可以是手持终端 20, 也可 以是外围设备 10生产工厂中的固定设备。 可选地 , 可以通过广播设备 40设置外围设备 10的序列号。广播设备 40依次与每个外围 设备 10通信,每个外围设备 10在接收到广播设备 40发送的序列号消息后,将序列号消息包 括的序列号存储到存储器 121中,用于对该外围设备 10进行跟踪。由于序列号是外围设备 10 的唯一标识, 不同外围设备 10的序列号不同, 因此广播设备 40通过一对一通信方式设置各 外围设备 10的序列号。类似地, 还可以通过广播设备 40设置外围设备 10的范围信息, 外围 设备 10将接收到的防伪信息存储到存储器 121中,后续可以通过手持终端 20读取存储器 121 中存储的防伪信息, 以辨认外围设备 10的真伪, 达到区分假冒设备的目的。 可选地 , 外围设备 10出厂前, 通常需要对外围设备 10进行功能测试, 以得到外围设备 10交付时 的测试数据。 在一种可能的实现方式中, 广播设备 40以广播形式向多个外围设备 10发送启动自检功能的指令, 外围设备 10包括的特高频通信模块 12经定向天线 11接收到 该启动自检功能的指令后,将该启动自检功能的指令发送给微控制单元 13 o微控制单元 13响 应于该启动自检功能的指令,启动外围设备 10的自检功能,获得产品交付前自检测得的测试 数据,并将获得的测试数据存储到存储器 121中,该交付前的测试数据也称作交付测试数据。 交付测试数据包括与电气性能相关的数据等,该交付测试数据可以作为未来对外围设备 10进 行故障分析的参考。在另一种可能的实现方式中,如果外围设备 10交付前可以利用其他外部 测试设备对每个外围设备 10进行了相关测试,则可以通过广播设备 40将不同外围设备 10的 交付测试数据, 发送给相对应的外围设备 10, 以将交付测试数据存储到相应外围设备 10中 的存储器 121 o 可选地 ,在外围设备 10的运输过程中, 可以通过广播设备 40对批量的外围设备 10设置
物流信息。 例如, 通过广播设备 40(比如为手持终端 20) 以广播形式向多个外围设备 10发 送相关物流信息, 外围设备 10中的特高频通信模块 12接收到该物流信息后, 将该物流信息 存储到存储器 121中。物流信息可以包括交货时间、批号、发货起始地址、收货目的地址等。 图 6是本申请实施例三提供的一种消防系统的示意图。 参见图 6, 在将外围设备 10安装到现 场后, 可以通过手持终端 20从外围设备 10中读取上述物流信息, 并将读取到的物流信息上 传至云端的数据库 50进行存储, 以便于对外围设备 10进行全生命周期管理。 可选地 , 为了保证外围设备 10的安全性, 可以通过广播设备 40对批量的外围设备 10设 置密钥, 所设置的密钥与手持终端 20相匹配, 只有拥有对应密钥的手持终端 20才能够与该 批次的外围设备 10进行通信。 由此, 利用密钥可以防止外围设备 10被非法访问。 可选地 , 可以通过广播设备 40对批量的外围设备 10进行配置, 将相应的设备配置信息 发送给外围设备 10, 外围设备 10中的特高频通信模块 12将设备配置信息存储到存储器 121 中。 为了满足不同客户的需求, 可以定制外围设备 10, 即针对不同客户所需的外围设备 10, 定制不同的设备配置信息。 例如, 可以配置具有自定义音调、 语音设置的报警设备。 当然, 在外围设备 10交付之后,还可以通过手持设备 20对外围设备 10中存储的设备配置信息进行 修改。 实施例 四 在实施例三所提供外 围设备 10的基础上, 微控制单元 13可以周期性启动外围设备本体 14 的自检程序, 获取外围设备本体 14的自检日志, 并将获取的自检日志存储到存储器 121 中, 外围设备本体 14的自检日志包括外围设备本体 14的自检时间、 自检结果等信息。 特高 频通信模块 12通过定向天线 11接收到手持终端 20所发送的读取指令后,从存储器 121中读 取外围设备本体 14的自检日志,并通过定向天线 11将读取到的自检日志发送给手持终端 20 o 外 围设备 10通常需要定期维护, 即检查人员定期对外围设备 10进行检查, 以在外围设 备 10发生异常的情况下, 能够及时发现并更换或维修外围设备 10o对外围设备 10的调试 /维 护工作分为不同的级别, 不同级别的调试 /维护工作对应不同的周期, 比如对于初级调试(如 常规调试) 可以每月执行一次, 对于高级调试(如现场不干扰测试) 可以每年执行一次。 除 了定期对外围设备 10进行检查外, 微控制单元 13还可以周期性启动外围设备本体 14 的自检流程, 并将外围设备本体 14的自检日志发送给特高频通信模块 12, 特高频通信模块 12将接收到的自检日志存储到存储器 121中。检查人员在对外围设备 10进行调试或维护时, 可以通过手持终端 20从存储器 121中读取过往的自检日志, 通过对自检日志进行分析处理, 可以确定外围设备 10是否发生过故障, 从而能够更好的对外围设备 10进行维护和调试。
由于特高频通信模块 12能够基于手持终端 20发送的无线电波束生成电能而进行运行, 因此在外围设备 10断电的情况下, 检查人员也能够通过手持终端 20读取存储器 121中存储 的自检日志。通过对自检日志进行分析处理, 如果确定外围设备 10发生过故障, 则对外围设 备 10进行故障检查,如果确定外围设备 10未发生过故障,则启动本次对于外围设备 10的自 检功能测试。 微控制单元 13不仅可以将外围设备本体 14的自检日志存储到存储器 121中, 还可以获 取外围设备 10的运行信息, 并将运行信息发送给特高频通信模块 12, 特高频通信模块 12则 可以将接收到的运行信息存储到存储器 121中,比如可以将外围设备 10断电或发生故障之前 的运行信息存储到存储器 121中。检查人员通过手持终端 20可以读取存储器 121中的运行信 息, 进而通过运行信息分析外围设备 10的故障原因, 方便对外围设备 10进行维修。 实施例五 在上述实施例三或实施例 四所提供外围设备 10的基础上, 特高频通信模块 12通过定向 天线 11接收来自手持终端 20的写入指令,进而根据写入指令向存储器 121中存储位置信息、 配置信息和更新信息中的至少一个。其中, 位置信息用于指示外围设备 10的安装位置, 配置 信息用于配置外围设备 10的功能, 更新信息用于更新外围设备 10的功能。 可选地 ,在完成外围设备 10的安装部署后,通过手持终端 20向外围设备 10发送写入指 令,外围设备 10中的特高频通信模块 12通过定向天线 11接收来自手持终端 20的写入指令, 并根据写入指令将外围设备 10的位置信息存储到存储器 121 中。 后续检查人员对外围设备 10进行检查时, 可以通过手持终端 20读取存储器 121中的位置信息, 根据读取到的位置信 息可以确定外围设备 10的安装位置, 从而可以将外围设备 10的安装位置作为对外围设备 10 进行检查的参考, 以验证外围设备 10是否为被移动。 手持终端 20不仅可以将位置信息写入 存储器 121 , 还可以将外围设备 10的检查结果信息写入存储器 121 , 后续检查人员可以通过 手持终端 20从存储器 121中读取检查结果信息, 便于检查人员查看此前对外围设备 10进行 检查的检查结果信息, 以及根据此前的检查结果信息确定外围设备 10的状态、 故障原因等。 可选地 , 特高频通信模块 12接收到来自手持终端 20的写入指令后, 将用于对外围设备 10的功能进行配置的配置信息写入存储器 121 ,微控制单元 13根据存储器 121中存储的配置 信息对外围设备本体 14进行配置,使外围设备本体 14实现相应的功能, 以使外围设备 10适 于相应的使用场景并满足用户的需求。 手持终端 20还可以向特高频通信模块 12发送读取指 令, 以读取存储到存储器 121中的配置信息, 并在手持终端 20上显示读取到的配置信息, 便 于检查人员查看外围设备的配置信息, 以及对配置信息进行修改。
手持终端 20与特高频通信模块 12建立通信连接后, 将手持终端 20置于修改设备模式, 将外围设备 10置于配置修改模式。 手持终端 20读取存储器 121中的配置信息, 并在手持终 端 20上显示读取到的配置消息,其中,配置信息包括可修改的配置信息和不可修改的配置信 息,手持终端 20可以通过不同的显示方式,将可修改的配置信息和不可修改的配置信息直观 的显示在手持终端 20的显示屏上。检查人员在手持终端 20上对可修改的配置信息进行修改, 比如对喇叭的音调模式、音量级别等进行修改,手持终端 20将修改后的配置信息发送特高频 通信模块 12, 特高频通信模块 12将修改后的配置信息存储到存储器 121中, 微控制单元 13 根据修改后的配置信息对外围设备本体 14进行配置, 配置成功后特高频通信模块 12向手持 终端 20返回配置反馈信息, 手持终端 20对配置反馈信息进行展示。 需要说 明的是, 在通过手持终端 20上对外围设备 10进行配置时, 如果请求修改的配置 信息导致潜在的配置错误 (例如, 功率过高多、 地址重用等), 则手持终端 20将在发送修改 后配置信息时报告相应的错误提示信息, 以提示进行重试。 可选地 , 特高频通信模块 12接收到来自手持终端 20的写入指令后, 将用于对外围设备 10的功能进行更新的更新信息写入存储器 121 , 微控制单元 13从存储器 121 中读取更新信 息, 并基于读取到的更新信息对外围设备本体 14进行升级更新, 以实现对外围设备本体 14 的功能进行更新,一方面使得外围设备本体 14能够具有最新的功能,另一方面能够根据用户 的需求使外围设备本体 14具有不同的功能。 比如, 外围设备 10的硬件具备向主控制器 30发 送消息的功能,但用户此前并不需要该功能,所以此前在对外围设备 10进行配置时并未开通 该功能, 后续用户需要该功能时, 可以通过手持终端 20对存储器 121 中的配置信息进行修 改, 以使外围设备 10具有向主控制器 30发送消息的功能,在不需要更换外围设备 10的前提 下满足用户对于外围设备 10 的功能进行拓展的需求, 从而能够提高用户的使用体验和满意 度。 实施例六 图 7是本申请实施例六提供的一种外围设备的示意图。 参见图 7, 在实施例一所提供外 围设备 10的基础上, 该外围设备 10中的定向天线 11包括物理天线 111和匹配电路 112, 物 理天线 111与匹配电路 112相连接, 匹配电路 112通过所包括的电容和电感的串联谐振和并 联谐振, 在手持终端 20发射的无线电波束的频段实现阻抗匹配, 其中, 物理电线 111在电路 板上的位置和匹配电路 112在电路板上的走线,决定定向天线 11沿预设方向接收和发射无线 电波束。 由于外围设备 10中通常包含有金属成分,这些金属成分会干扰天线,从而损害天线的通
信性能。 通过物理天线 111在电路板上位置和匹配电路 112在电路板上走线相互匹配, 并进 行性能测试, 可以消除金属成分造成的干扰, 使定向天线 11具有可靠的通信性能, 以适用于 使用环境, 并使得定向天线 11能够沿设定的方向接收和发射新无线信号。 图 8是本申请实施例六提供的一种定向天线的示意图。 参见图 8, 定向天线 11包括物理 天线 111和匹配电路 112, 匹配电路 112包括电阻、 电容和电感, 电感和电容通过并联和串联 谐振的方式实现在所需频段下的阻抗匹配, 同时匹配电路 112还具有滤波作用, 例如可以过 来频率在某个频率范围之内的信号。 在物理天线 11的匹配过程中, 可以通过史密斯圆图实现, 以确保从发射机到天线的最大 功率传输效率。图 9是本申请实施例六提供的一种史密斯圆图的示意图。参见图 9,点 410〜 450 对应不同的频率、 实部阻抗和虚部阻抗, 将实部阻抗和虚部阻抗结合在一起进行计算后, 可 以得到点 420〜 440对应的阻抗接近于标准阻抗。 图 10是本申请实施例六提供的一种史密斯圆图对应的 S11参数示意图。 S11表征回波损 耗特性, S11值越大, 表示天线本身反射回来的能量越大, 天线的效率就越差。 参见图 10, 420〜 440对应的 S11参数值较小, 表示天线的效率越好, 即 440对应的效率最好。 在确定定 向天线 11的性能之后, 可以通过设置匹配电路 112在电路板上的走线形状, 来 确定定向天线 11的指向性。指向性测量显示每个轴上 3维的信号强度。根据需要, 外围设备 10的前向平面可以具有最高的发射功率, 并具有向地面的窄轨迹, 这确保了在其他角度接收 的发射功率较低。 参见图 11〜图 13 , 在信号频率分别为 900MHz和 930MHz时, 天线在三个 方向均具有较好的指向性, 即实现了天线的定向功能。这样, 当将多个外围设备 10安装在狭 窄的空间中时, 通过将手持终端 20指向特定的外围设备 10, 使手持终端 20可以和特定的外 围设备 10进行通信, 有助于减少干扰。 实施例七 图 14是本申请实施例提供的一种外围设备控制方法的流程图。本申请实施例提供的外围 设备控制方法基于前述实施例提供的消息系统的外围设备实现, 除有特殊说明, 下述方法实 施例中涉及到的外围设备可为前述实施例中的外围设备 10, 下述方法实施例中涉及到的手持 终端可为前述实施例中的手持终端 20, 下述方法实施例中涉及到的主控制器可为前述实施例 中的主控制器 30, 下述方法实施例中涉及到的广播设备可为前述实施例中的广播设备 40, 下 述方法实施例中涉及到的存储器可为前述实施例中的存储器 121 , 下述方法实施例中涉及到 的物理天线可为前述实施例中的物理天线 111 , 下述方法实施例中涉及到的匹配电路可为前 述实施例中的匹配电路 112, 下述方法实施例中涉及到的定向天线可为前述实施例中的定向
天线 11 ,下述方法实施例中涉及到的特高频通信模块可为前述实施例中的特高频通信模块 12, 下述方法实施例中涉及到的微控制单元可为前述实施例中的微控制单元 13 , 下述方法实施例 中涉及到的外围设备本体可为前述实施例中的外围设备本体 14, 参见 图 14, 本申请实施例提供的外围设备控制方法包括如下步骤:
1401、 通过定向天线沿预设方向接收来自手持终端的无线电波束;
1402、 通过特高频通信模块获取无线电波束包括的控制指令, 其中, 在外围设备无电能 供给时, 特高频通信模块基于定向天线接收到的无线电波束生成电能进行运行;
1403、 微控制单元根据控制指令, 控制外围设备本体进行动作。 在本 申请实施例中, 手持终端发送包括控制指令的无线电波束后, 定向天线沿预设方向 接收该无线电波束, 并将该无线电波束发送给特高频通信模块, 然后特高频通信模块从该无 线电波束中获取控制指令, 并将该控制指令发送给微控制单元, 然后微控制单元根据该控制 指令控制外围设备本体动作。可见,一个检查人员通过手持终端便可以完成外围设备的检查, 节省了多个检查人员进行检查时沟通配合所需的时间, 从而能够提高对消防系统的外围设备 进行检查的效率。 另外 , 由于特高频通信模块能够基于接收到的无线电波束生成电能而工作, 因此在外围 设备断电的情况下, 特高频通信模块也能够接收来自手持终端的无线信号而激活, 从而可以 降低外围设备的能耗, 并能够更加方便地对外围设备进行检查, 提高用户的使用体验。 在一种可能 的实现方式中,上述步骤 1403微控制单元根据控制指令控制外围设备本体进 行动作, 包括: 微控制单元根据控制指令 , 启动外围设备本体的自检流程, 并获取外围设备本体的自检 结构, 将自检结果发送给特高频通信模块; 特高频通信模块通过定 向天线将自检结果发送给手持终端。 在一种可能 的实现方式中,上述步骤 1403微控制单元根据控制指令控制外围设备本体进 行动作, 包括: 微控制单元根据控制指令 , 启动外围设备本体的自动校准程序, 使外围设备本体根据现 场提供的校准参考完成自动校准。 在一种可能 的实现方式中,上述步骤 1403微控制单元根据控制指令控制外围设备本体进 行动作, 包括: 微控制单元根据控制指令 , 将外围设备本体的动作阈值设置为目标值。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括:
特高频通信模块通过定 向天线接收来自手持终端的通信请求信息, 在验证通信请求信息 包括的密钥正确后,向手持终端发送通信反馈信息,以建立与手持终端之间的无线通信连接。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括: 特高频通信模块通过定 向天线接收来自手持终端的延迟动作指令, 并将延迟动作指令发 送给微控制单元; 微控制单元根据延迟动作 指令, 在接收到来自消防系统的主控制器 (即消防控制面板) 的动作指令后, 等待预设的延迟时间后控制外围设备本体执行与动作指令相对应的动作, 并 在控制外围设备本体执行与动作指令相对应的动作后清除延迟动作指令。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括: 微控制单元在获取 到来自手持终端的第一指令和来自消防系统的主控制器的第二指令时, 如果外围设备处于工作模式,则优先执行第二指令,如果外围设备处于维修模式或测试模式, 则优先执行第一指令。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括: 特高频通信模块通过定 向天线接收来自广播设备的预设信息, 并将预设信息存储到特高 频通信模块包括的存储器中, 其中, 广播设备通过广播的形式向至少两个外围设备发送预设 信息, 预设信息包括序列号、 防伪信息、 电气性能参数、 交货信息和通信连接验证信息中的 至少一个。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括: 微控制单元获取外 围设备本体的自检日志, 并将自检日志存储到特高频通信模块包括的 存储器中; 特高频通信模块通过定 向天线接收来自手持终端的读取指令, 并根据该读取指令, 通过 定向天线将存储器中存储的自检日志发送给手持终端。 在一种可能 的实现方式中, 在图 14所示外围设备控制方法的基础上, 该外围设备控制方 法还包括: 特高频通信模块通过定 向天线接收来自手持终端的写入指令, 并根据该写入指令, 向特 高频通信模块包括的存储器中存储位置信息、 配置信息和更新信息中的至少一个, 其中, 位 置信息用于指示外围设备的安装位置, 配置信息用于配置外围设备的功能, 更新信息用于更
新外围设备的功能。 在一种可 能的实现方式中, 在图 14所示外围设备控制方法的基础上, 定向天线包括: 物 理天线和匹配电路; 物理 电线与匹配电路相连接; 匹配电路, 用于通过所包括的电容和电感的串联谐振和并联谐振, 在手持终端发射的无 线电波束的频段实现阻抗匹配, 其中, 物理电线在电路板上的位置和匹配电路在电路板上的 走线, 决定定向天线沿预设方向接收和发射无线电波束。 需要说明的是, 上述各个方法实施例中所有的可选技术方案, 可以采用任意结合形成本 申请的可选实施例, 在此不再一一赘述。 另外, 本申请实施例中的外围设备控制方法与前述 实施例中的消防系统的外围设备基于同一构思, 具体内容可参见前述设备实施例中的叙述, 在此不再赘述。 本 申请还提供了一种计算机可读介质, 存储用于使一计算机执行如本文的外围设备控制 方法的指令。 具体地, 可以提供配有存储介质的系统或者装置, 在该存储介质上存储着实现 上述实施例中任一实施例的功能的软件程序代码, 且使该系统或者装置的计算机(或 CPU或 MPU ) 读出并执行存储在存储介质中的程序代码。 在这种情况 下, 从存储介质读取的程序代码本身可实现上述实施例中任何一项实施例的 功能, 因此程序代码和存储程序代码的存储介质构成了本申请的一部分。 用于提供程序代码 的存储介质实施例包括软盘、硬盘、磁光盘、光盘(如 CD-ROM、 CD- R、 CD-RW、 DVD-ROM、 DVD-RAM、 DVD-RW、 DVD+RW)、磁带、非易失性存储卡和 ROM。 可选择地, 可以由通信网络从服务器计算机上下载程序代码。 此 外, 应该清楚的是, 不仅可以通过执行计算机所读出的程序代码, 而且可以通过基于 程序代码的指令使计算机上操作的操作系统等来完成部分或者全部的实际操作, 从而实现上 述实施例中任意一项实施例的功能。 此 外, 可以理解的是, 将由存储介质读出的程序代码写到插入计算机内的扩展板中所设 置的存储器中或者写到与计算机相连接的扩展单元中设置的存储器中, 随后基于程序代码的 指令使安装在扩展板或者扩展单元上的 CPU等来执行部分和全部实际操作,从而实现上述实 施例中任一实施例的功能。 需要说明的是, 上述各流程和各系统结构图中不是所有的步骤和模块都是必须的, 可以 根据实际的需要忽略某些步骤或模块。 各步骤的执行顺序不是固定的, 可以根据需要进行调
整。 上述各实施例中描述的系统结构可以是物理结构, 也可以是逻辑结构, 即, 有些模块可 能由同一物理实体实现, 或者, 有些模块可能分由多个物理实体实现, 或者, 可以由多个独 立设备中的某些部件共同实现。 以上各实施例中, 硬件单元可以通过机械方式或电气方式实现。 例如, 一个硬件单元可 以包括永久性专用的电路或逻辑 (如专门的处理器, FPGA或 ASIC) 来完成相应操作。 硬件 单元还可以包括可编程逻辑或电路 (如通用处理器或其它可编程处理器), 可以由软件进行临 时的设置以完成相应操作。 具体的实现方式 (机械方式、 或专用的永久性电路、 或者临时设 置的电路) 可以基于成本和时间上的考虑来确定。 上文通过 附图和优选实施例对本申请进行了详细展示和说明, 然而本申请不限于这些已 揭示的实施例, 基于上述多个实施例本领域技术人员可以知晓, 可以组合上述不同实施例中 的代码审核手段得到本申请更多的实施例, 这些实施例也在本申请的保护范围之内。
Claims
1、 一种外围设备(10), 其特征在于, 包括: 定向天线(11)、 特高频通信模块(12)、 微 控制单元 (13) 和外围设备本体(14); 所述特高频通信模块(12)分别与所述定向天线(11)和所述微控制单元(13)相连接, 所述微控制单元 (13) 与所述外围设备本体 (14) 相连接; 所述定向天线(11), 用于沿预设方向接收来自手持终端(20) 的无线电波束, 并将所述 无线电波束发送给所述特高频通信模块 (12), 其中, 在所述外围设备 (10) 无电能供给时, 所述特高频通信模块 (12) 基于所述无线电波束生成电能而进行运行; 所述特高频通信模块(12), 用于获取所述无线电波束包括的控制指令, 并将所述控制指 令发送给所述微控制单元 (13); 所述微控制单元(13),用于根据所述控制指令,控制所述外围设备本体(14)进行动作。
2、 根据权利要求 1所述的设备, 其特征在于, 所述微控制单元(13), 用于根据所述控制指令, 启动所述外围设备本体(14) 的自检流 程, 并获取所述外围设备本体 (14) 的自检结果, 将所述自检结果发送给所述特高频通信模 块 (12); 所述特高频通信模块(12), 还用于通过所述定向天线(11)将所述自检结果发送给所述 手持终端 (20)。
3、 根据权利要求 1所述的设备, 其特征在于, 所述微控制单元(13), 用于根据所述控制指令, 启动所述外围设备本体(14) 的自动校 准程序, 使所述外围设备本体 (14) 根据现场提供的校准参考完成自动校准; 或者, 所述微控制单元(13), 用于根据所述控制指令, 将所述外围设备本体(14) 的动作阈值 设置为目标值。
4、 根据权利要求 1所述的设备, 其特征在于, 所述特高频通信模块(12),还用于通过所述定向天线(11)接收来自所述手持终端(20) 的通信请求信息, 在验证所述通信请求信息包括的密钥正确后, 向所述手持终端 (20) 发送 通信反馈信息, 以建立与所述手持终端 (20) 之间的无线通信连接。
5、 根据权利要求 1所述的设备, 其特征在于, 所述特高频通信模块(12),还用于通过所述定向天线(11)接收来自所述手持终端(20) 的延迟动作指令, 并将所述延迟动作指令发送给所述微控制单元(13); 所述微控制单元(13), 还用于根据所述延迟动作指令, 在接收到来自主控制器(30) 的 动作指令后, 等待预设的延迟时间后控制所述外围设备本体 (14) 执行与所述动作指令相对
应的动作, 并在控制所述外围设备本体(14) 执行与所述动作指令相对应的动作后清除所述 延迟动作指令。
6、 根据权利要求 1所述的设备, 其特征在于, 所述微控制单元 (13), 还用于在获取到来自所述手持终端(20) 的第一指令和来自主控 制器 (30) 的第二指令时, 如果所述外围设备 (10) 处于工作模式, 则优先执行所述第二指 令, 如果所述外围设备 (10) 处于维修模式或测试模式, 则优先执行所述第一指令。
7、 根据权利要求 1至 6中任一所述的设备, 其特征在于, 所述特高频通信模块(12)包 括: 存储器(121); 所述特高频通信模块 (12), 还用于通过所述定向天线(11)接收来自广播设备(40) 的 预设信息, 并将所述预设信息存储到所述存储器(121) 中, 其中, 所述广播设备(40)通过 广播的形式向至少两个所述外围设备 (10) 发送所述预设信息, 所述预设信息包括序列号、 防伪信息、 电气性能参数、 交货信息和通信连接验证信息中的至少一个。
8、 根据权利要求 7所述的设备, 其特征在于, 所述微控制单元 (13), 还用于获取所述外围设备本体(14) 的自检日志, 并将所述自检 日志存储到所述存储器 (121) 中; 所述特高频通信模块 (12),还用于通过所述定向天线(11)接收来自所述手持终端(20) 的读取指令, 并根据所述读取指令, 通过所述定向天线(11)将所述存储器(121) 中存储的 所述自检日志发送给所述手持终端 (20)o
9、 根据权利要求 7或 8所述的设备, 其特征在于, 所述特高频通信模块 (12),还用于通过所述定向天线(11)接收来自所述手持终端(20) 的写入指令, 并根据所述写入指令, 向所述存储器(121) 中存储位置信息、 配置信息和更新 信息中的至少一个, 其中, 所述位置信息用于指示所述外围设备 (10) 的安装位置, 所述配 置信息用于配置所述外围设备 (10) 的功能, 所述更新信息用于更新所述外围设备 (10) 的 功能。
10、 根据权利要求 1至 6中任一所述的设备, 其特征在于, 所述定向天线 (11) 包括: 物理天线 (111) 和匹配电路(112); 所述物理 电线 (111) 与所述匹配电路(112) 相连接; 所述匹配 电路(112), 用于通过所包括的电容和电感的串联谐振和并联谐振, 在所述手 持终端 (20)发射的无线电波束的频段实现阻抗匹配, 其中, 物理电线(111)在电路板上的 位置和所述匹配电路 (112)在电路板上的走线, 决定所述定向天线(11)沿所述预设方向接 收和发射无线电波束。
11、 根据权利要求 1至 10中任一所述的设备, 其特征在于, 所述外围设备 ( 10)为火灾 探测器、 烟雾探测器、 一氧化碳探测器或线性束烟雾探测器, 特别是消防系统。
12、 根据权利要求 1至 10中任一所述的设备, 其特征在于, 所述外围设备 ( 10)为温控 器、 房间控制单元、 空气质量传感器、 智能阀门或 HVAC控制器, 特别是 HVAC系统。
13、 根据权利要求 1至 10中任一所述的设备, 其特征在于, 所述外围设备 ( 10)为运动 检测器或摄像机, 所述运动检测器包括 PIR传感器、 超声波传感器或雷达传感器, 所述摄像 机包括云台摄像机或云台变焦摄像机。
14、 一种基于权利要求 1至 13中任一所述的外围设备 ( 10) 的外围设备控制方法, 其特 征在于, 包括: 通过所述定 向天线 ( 11 ) 沿预设方向接收来自手持终端 (20) 的无线电波束; 通过所述特高频通信模块 ( 12) 获取所述无线电波束包括的控制指令, 其中, 在所述外 围设备 ( 10) 无电能供给时, 所述特高频通信模块 ( 12) 基于所述无线电波束生成电能而进 行运行; 所述微控制单元 ( 13 ) 根据所述控制指令, 控制所述外围设备本体 ( 14) 进行动作。
15、 计算机可读介质, 所述计算机可读介质上存储有计算机指令, 所述计算机指令在被 处理器执行时, 使所述处理器执行权利要求 14所述的方法。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111080031.9A CN115808888A (zh) | 2021-09-15 | 2021-09-15 | 消防系统的外围设备、控制方法和计算机可读介质 |
| CN202111080031.9 | 2021-09-15 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2023042002A1 true WO2023042002A1 (zh) | 2023-03-23 |
Family
ID=83193278
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/IB2022/056998 Ceased WO2023042002A1 (zh) | 2021-09-15 | 2022-07-28 | 楼宇自动化系统的外围设备、控制方法和计算机可读介质 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN115808888A (zh) |
| WO (1) | WO2023042002A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118486153A (zh) * | 2024-07-15 | 2024-08-13 | 南京久润安全科技有限公司 | 一种消防安全管理智能预警方法及系统 |
Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080084291A1 (en) * | 2006-10-05 | 2008-04-10 | Campion Christopher M | Method and apparatus for authenicated on-site testing, inspection, servicing and control of life-safety equipment and reporting of same using a remote accessory |
| EP3319060A1 (en) * | 2016-10-25 | 2018-05-09 | Honeywell International Inc. | Sensor communication testing |
Family Cites Families (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2008211764A (ja) * | 2006-12-08 | 2008-09-11 | Renesas Technology Corp | 電子装置およびrfモジュール |
| CN103599617A (zh) * | 2013-11-26 | 2014-02-26 | 重庆源北安防科技有限公司 | 一种消防设施监测管理物联网系统 |
| CN104700211A (zh) * | 2015-03-11 | 2015-06-10 | 上海金能安全科技有限责任公司 | 一种工地施工员工安全rfid管理系统 |
| CN106602238B (zh) * | 2016-12-20 | 2019-09-13 | 青岛海信移动通信技术股份有限公司 | 可重构方向图的天线装置及智能通信终端 |
-
2021
- 2021-09-15 CN CN202111080031.9A patent/CN115808888A/zh active Pending
-
2022
- 2022-07-28 WO PCT/IB2022/056998 patent/WO2023042002A1/zh not_active Ceased
Patent Citations (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20080084291A1 (en) * | 2006-10-05 | 2008-04-10 | Campion Christopher M | Method and apparatus for authenicated on-site testing, inspection, servicing and control of life-safety equipment and reporting of same using a remote accessory |
| EP3319060A1 (en) * | 2016-10-25 | 2018-05-09 | Honeywell International Inc. | Sensor communication testing |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118486153A (zh) * | 2024-07-15 | 2024-08-13 | 南京久润安全科技有限公司 | 一种消防安全管理智能预警方法及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN115808888A (zh) | 2023-03-17 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US12309245B2 (en) | Universal protocol translator | |
| US10966154B2 (en) | Master slave wireless fire alarm and mass notification system | |
| CN107979428B (zh) | 传感器通信测试 | |
| USRE50005E1 (en) | Systems and methods for detecting events based on wireless signal degredation | |
| CA2968502C (en) | Systems and methods for addressably programming a notification safety device | |
| KR20200082766A (ko) | 스마트 팩토리 모니터링 시스템 | |
| EP3457375B1 (en) | Method and apparatus for verifying service of installed devices using rfid | |
| US20190074990A1 (en) | Automated methods and apparatus for facilitating the design and deployment of monitoring systems | |
| US10326658B2 (en) | Zone control system and method of automatically configuring the same | |
| JP2018121445A (ja) | 冷凍サイクル機器の遠隔制御システムおよび家電機器の遠隔制御システム | |
| WO2018134640A1 (en) | Location- aware provisioning system for fire alarm system and method therefor | |
| JP6273878B2 (ja) | 制御システム、および制御方法 | |
| CN115808888A (zh) | 消防系统的外围设备、控制方法和计算机可读介质 | |
| CN110891004B (zh) | 远程操作装置和远程操作系统 | |
| EP3457373B1 (en) | Method and system for service verification using wifi signal strength mapping | |
| EP4278235B1 (en) | System and method for managing sensors | |
| CN116416773A (zh) | 警报系统事件设备的自动目视检查 | |
| CN105844844A (zh) | 一种基于WiFi的住宅火灾报警用户终端控制方法 | |
| KR20210026128A (ko) | 소화전 기반 IoT 원격 화재 알림 시스템 | |
| JP2004064355A (ja) | 電力線搬送通信システム及びそれに用いる端末装置の属性情報設定方法 | |
| KR102378126B1 (ko) | Lte망을 이용한 건물 절전 시스템의 원격 고장진단 및 모니터링 시스템 | |
| CN112788557B (zh) | 一种物联网传感器管理方法以及无线访问点 | |
| US20180358018A1 (en) | System and method for testing emergency address systems using voice recognition | |
| JP6651598B2 (ja) | 無線防災システムの設定装置及び中継器ノード | |
| EP4546752A1 (en) | Apparatus for mapping sensor addresses and driving method of apparatus |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22765200 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 22765200 Country of ref document: EP Kind code of ref document: A1 |