All-in-one gateway

By designing an all-in-one gateway, using battery-powered and path planning units to plan escape routes during power outages and using lights and voice prompts, the problem of lack of power outage escape route planning and prompts in the existing technology is solved, and the problem of failure and escape route planning and prompts is realized in emergency situations. Safe evacuation.

CN118945011AInactive Publication Date: 2024-11-12NINGBO RONTEK ELECTRONIC CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411433122.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-15
Publication Date
2024-11-12
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

There is a lack of a gateway in the prior art that can plan escape routes and prompt people when power outages are outages.

Method used

Design an all-in-one gateway that includes a battery, power management circuit, interface module and processor, which includes a path planning unit and a battery management unit, which can be powered by a battery in the event of a power outage, and uses sensor data to plan the escape route and pass through the lights. and voice prompts.

Benefits of technology

In the event of a power outage, it can continue to operate, plan and prompt escape routes to ensure that people can evacuate safely in an emergency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118945011A_ABST
    Figure CN118945011A_ABST
Patent Text Reader

Abstract

The invention provides an all-in-one gateway, and relates to the field of gateways, and the all-in-one gateway comprises a battery, a power supply management circuit, an interface module and a processor. The battery is connected with the processor through the power supply management circuit. The interface module is connected with the processor. The power supply management circuit is used for supplying power to the processor and the interface module through a battery or an external power supply; the interface module is used for connecting external equipment; the processor comprises a path planning unit and a battery management unit; the battery management unit is used for controlling the power supply management circuit to take power from the battery when the external power supply stops supplying power; the path planning unit is used for performing path planning according to environment detection data sent by an external sensor when it is determined that path planning needs to be performed, and controlling the working state of a corresponding lamp by controlling the working state of an external lamp emergency power supply, so that a planned path is prompted through lamplight. According to the invention, during power failure, an escape route can be planned, and the planned escape route is prompted to people.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of gateways, and in particular to an all-in-one gateway. Background Art

[0002] Currently, in some scenarios, for example, when an office building has a power outage and a fire occurs, an escape route needs to be planned and the planned escape route needs to be prompted to people.

[0003] However, the prior art lacks a gateway that can plan an escape route during a power outage and prompt people with the planned escape route. Summary of the invention

[0004] In view of this, in order to solve the above technical problems, the present invention provides an all-in-one gateway.

[0005] The present invention adopts the following technical solution: An all-in-one gateway, comprising: a battery, a power supply management circuit, an interface module and a processor; The battery is connected to the processor via the power supply management circuit, and the interface module is connected to the processor; The power management circuit is used to supply power to the processor and the interface module through the battery or an external power supply; The interface module is used to connect external devices; the external devices include sensors and emergency power supplies for lamps; The processor includes a path planning unit and a battery management unit; The battery management unit is used to control the power supply management circuit to draw power from the battery when the external power supply stops supplying power; The path planning unit is used to perform path planning according to the environmental detection data sent by the sensor when it is determined that path planning is required, and to control the working state of the corresponding lamp by controlling the working state of the lamp emergency power supply, so as to prompt the planned path through light.

[0006] Optionally, the interface module specifically includes: an ETH wired network interface, a WIFI wireless network interface, a DALI bus interface, a ZigBee wireless interface, a Bluetooth wireless interface and a Sub-1GHz wireless interface.

[0007] Optionally, the processor also includes a WEB service unit.

[0008] Optionally, the path planning unit is specifically used for: When it is determined that path planning is required, determining the section types of all sections according to the environmental detection data sent by the sensor; the section types include blocked sections, available sections, and end-removed sections, and the end-removed sections are sections that meet preset available section standards and lead to blocked sections; For each of the road sections, the working state of the emergency power supply of the lamp corresponding to the road section is controlled according to the control strategy corresponding to the road section type of the road section.

[0009] Optionally, according to a control strategy corresponding to the section type of the section, controlling the working state of the emergency power supply of the lamp corresponding to the section specifically includes: When the road section type of the road section is a blocked road section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a flashing red light; When the road type of the road section is an available road section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a white light that is always on; When the section type of the road section is an end removal section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the lighting state corresponding to the road section a flashing white light.

[0010] Optionally, the external device further includes a voice prompt device; The path planning unit is further specifically configured to control the voice prompt device to give voice prompts after determining the road section types of all the road sections.

[0011] Optionally, all the sensors are divided into a preset number of categories, and the sensors of different categories have different priorities; Determine the road segment types of all road segments according to the environmental detection data sent by the sensor, specifically including: Determine the detection value corresponding to each of the sensors according to the environmental detection data sent by the sensors; For each of the sensors, the state of the data measured by the sensor is determined according to the detection value corresponding to the sensor and the preset threshold value, and a first sensor data state detection result is obtained; wherein, if the difference between the detection value corresponding to the sensor and the corresponding preset threshold value meets the corresponding preset requirement, the state of the data measured by the sensor is determined to be normal; otherwise, the state of the data measured by the sensor is determined to be abnormal; Based on the preset map data, and according to the first sensor data state detection result, dividing all the road sections into road section types to obtain a first road section type division result; If the first road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the first road segment type classification result indicates that there is no available route consisting of the available road segments, then among the sensors whose current corresponding data status is abnormal and meet the preset threshold adjustment requirements, select the sensor with the lowest priority as the first target sensor; Based on a preset threshold adjustment strategy, adjusting the preset threshold of the current first target sensor; Based on the currently adjusted preset threshold, updating the current sensor data state detection result to obtain the current second sensor data state detection result; Based on the preset map data, and according to the current detection result of the state of the second sensor data, all the road sections are divided into road section types to obtain a current second road section type division result; If the current second road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the current second road segment type classification result indicates that there is no available route consisting of the available road segments, the step of selecting a sensor with the lowest priority as the first target sensor among the sensors whose current corresponding data status is abnormal and which meet the preset threshold adjustment requirement is performed until all the sensors do not meet the preset threshold adjustment requirement; Among the sensors whose corresponding data status is abnormal, determining that the status of the data measured by the sensor with the lowest priority is normal, and updating the current sensor data status detection result according to the determination result to obtain the current third sensor data status detection result; Based on the preset map data, and according to the current detection result of the third sensor data state, all the road sections are divided into road section types to obtain a current third road section type division result; If the current third road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the current third road segment type classification result indicates that there is no available route consisting of the available road segments, then the steps of determining that the state of the data measured by the sensor with the lowest priority is normal among the sensors whose current corresponding data state is abnormal, and updating the current sensor data state detection result according to the determination result to obtain the current third sensor data state detection result are executed until at least one available route consisting of the available road segments is planned.

[0012] Optionally, based on the preset map data and according to the first sensor data state detection result, all the road sections are divided into road section types to obtain a first road section type division result, which specifically includes: Based on a preset sensor blind spot calculation model, the blind spot position is determined according to the preset map data and the first sensor data state detection result to obtain a blind spot position determination result; the blind spot position is a normal environment state position surrounded by an abnormal environment state position; Based on a preset path calculation model, according to the blind spot position determination result, the preset map data and the first sensor data state detection result, all the road sections are divided into road section types to obtain a preliminary road section type division result; in the preliminary road section type division result, all the road sections are divided into blocked road sections and available road sections to be determined; Based on a preset end-removal road section identification model, determining all the end-removal road sections from all the available road sections to be determined; It is determined that all the available road sections to be determined except the end-removed road section are the available road sections.

[0013] The present invention adopts the above technical scheme, an all-in-one gateway, including: a battery, a power supply management circuit, an interface module and a processor; the battery is connected to the processor through the power supply management circuit, and the interface module is connected to the processor; the power supply management circuit is used to power the processor and the interface module through a battery or an external power supply; the interface module is used to connect external devices; the external devices include sensors and emergency power supplies for lamps; the processor includes a path planning unit and a battery management unit; the battery management unit is used to control the power supply management circuit to draw power from the battery when the external power supply stops supplying power; the path planning unit is used to perform path planning according to the environmental detection data sent by the sensor when it is determined that path planning is required, and control the working state of the corresponding lamp by controlling the working state of the emergency power supply of the lamp, so as to realize prompting of the planned path through light.

[0014] Based on this, the present invention can be powered by a battery during a power outage, so that the present invention can continue to operate during a power outage, and an escape route can be planned by a path planning unit, and the planned escape route can be prompted to people. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 It is a structural diagram of an all-in-one gateway provided by an embodiment of the present invention; Figure 2 It is a schematic diagram of a map scene corresponding to preset map data of the present invention; Figure 3 It is a schematic diagram of a terminal removal section provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0017] To make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other implementation methods obtained by ordinary technicians in this field without creative work belong to the scope of protection of the present invention.

[0018] Example Figure 1 Schematic diagram of the structure of an all-in-one gateway provided by an embodiment of the present invention. Figure 1 As shown, the all-in-one gateway includes: a battery 11, a power supply management circuit 12, an interface module and a processor 13.

[0019] The interface module may specifically include: ETH wired network interface (Ethernet interface) 141, WIFI wireless network interface 142, DALI (Digital Addressable Lighting Interface) bus interface 143, ZigBee (ZigBee protocol) wireless interface 144, Bluetooth wireless interface 145 and Sub-1GHz wireless interface 146. The Bluetooth wireless interface 145 may specifically be a Bluetooth Mesh wireless interface. In this way, due to the wide variety of interfaces, the present invention has a relatively rich hardware device compatibility and can connect a variety of external devices.

[0020] The battery 11 is connected to the processor 13 through the power management circuit 12, and the interface module is connected to the processor 13. The interface module is used to connect external devices; the external devices include sensors, emergency power supplies for lamps, cloud servers, mobile phones, computers, and voice prompt devices. The processor 13 includes a path planning unit 131, a battery management unit 132, a network communication unit 133, a WEB service unit 134, a core processing unit 135, a data acquisition unit 136, and an output control unit 137.

[0021] The power supply management circuit 12 is used to supply power to the processor 13 and the interface module through the battery 11 or the external power supply (i.e., AC power input). Specifically, when the external power supply has power, the battery management unit 132 controls the power supply management circuit 12 to draw power from the external power supply to supply power to the processor 13 and the interface module; and the battery management unit 132 is also used to control the power supply management circuit 12 to draw power from the battery 11 when the external power supply stops supplying power to supply power to the processor 13 and the interface module.

[0022] Furthermore, by setting the WEB service unit 134, the present invention can be operated in a serverless mode, and the computing power of the processor 13 can reach 6 TOPS (Tera Operations Per Second), thereby realizing the edge host mode and performing edge computing without a remote server.

[0023] In addition, when connected to the Internet, the core processing unit 135 can interact with the cloud server through the network communication unit 133 and the first related interface (ETH wired network interface 141 or WIFI wireless network interface 142); when not connected to the Internet, the core processing unit 135 can interact with the preset terminal (mobile phone and / or computer) through the WEB service unit 134, the network communication unit 133 and the WIFI wireless network interface 142.

[0024] The DALI bus interface 143, the ZigBee wireless interface 144, the Bluetooth wireless interface 145 and the Sub-1GHz wireless interface 146 are used to connect external devices such as sensors, emergency power supplies for lamps and voice prompt devices. After the data acquisition unit 136 obtains the data sent by the external device through the second related interface (DALI bus interface 143, ZigBee wireless interface 144, Bluetooth wireless interface 145 or Sub-1GHz wireless interface 146), the data is sent to the core processing unit 135. After receiving the data sent by the data acquisition unit 136, the core processing unit 135 sends the data to the next module. For example, after receiving the environmental detection data from the sensor sent by the data acquisition unit 136, the core processing unit 135 sends the environmental detection data to the path planning unit 131. And, after receiving the control instruction sent by the path planning unit 131, the core processing unit 135 sends the control instruction to the corresponding external device through the output control unit 137 and the second related interface to realize the control of the external device by the path planning unit 131. The core processing unit 135 may also send the battery data to the cloud server after receiving the battery data sent by the battery management unit 132 .

[0025] The path planning unit 131 is used to perform path planning according to the environmental detection data sent by the sensor when it is determined that path planning is needed, and to control the working state of the corresponding lamp by controlling the working state of the lamp emergency power supply, so as to prompt the planned path through light.

[0026] In the embodiment of the present invention, the path planning unit 131 may be specifically used for: (1) When it is determined that path planning is required, the road section types of all road sections are determined based on the environmental detection data sent by the sensor; the road section types include blocked sections, available sections, and end-removed sections. The end-removed sections are sections that meet the preset available section standards and lead to blocked sections.

[0027] Specifically, in the event of a fire and a power outage, relevant staff can send a path planning instruction to the core processing unit 135 through a mobile phone, a computer or other devices. After receiving the path planning instruction sent by the relevant personnel, the core processing unit 135 forwards the path planning instruction to the path planning unit 131. After receiving the path planning instruction sent by the core processing unit 135, the path planning unit 131 can determine that path planning is required.

[0028] (2) For each road section, the working status of the emergency power supply of the lighting fixtures corresponding to the road section is controlled according to the control strategy corresponding to the road section type.

[0029] In the embodiment of the present invention, according to the control strategy corresponding to the section type of the road section, controlling the working state of the emergency power supply of the lamp corresponding to the road section may specifically include: When the road section type is a blocked section, the working state of the emergency power supply of the lamps corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a flashing red light.

[0030] When the section type of the road section is an available section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a white light that is always on.

[0031] When the section type of the road section is an end removal section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the lighting state corresponding to the road section a flashing white light.

[0032] In the embodiment of the present invention, the external device further includes a voice prompt device.

[0033] The path planning unit is also specifically used to control the voice prompt device to give voice prompts after determining the road section types of all road sections.

[0034] In the embodiment of the present invention, all sensors are divided into a preset number of categories, and sensors of different categories have different priorities.

[0035] Determine the road type of all road sections based on the environmental detection data sent by the sensor, which may include: (1) Determine the detection value corresponding to each sensor based on the environmental detection data sent by the sensor.

[0036] (2) For each sensor, the state of the data measured by the sensor is determined according to the detection value corresponding to the sensor and the preset threshold value, and a first sensor data state detection result is obtained; wherein, if the difference between the detection value corresponding to the sensor and the corresponding preset threshold value meets the corresponding preset requirement, then the state of the data measured by the sensor is determined to be normal; otherwise, the state of the data measured by the sensor is determined to be abnormal.

[0037] (3) Based on the preset map data and according to the first sensor data state detection result, all road sections are classified into road section types to obtain a first road section type classification result.

[0038] (4) If the first road segment type classification result indicates that there is at least one available route consisting of available road segments, the road segment type determination process ends.

[0039] (5) If the first road segment type classification result indicates that there is no available route consisting of available road segments, then among the sensors whose current corresponding data status is abnormal and meet the preset threshold adjustment requirements, the sensor with the lowest priority is selected as the first target sensor.

[0040] (6) Based on the preset threshold adjustment strategy, adjust the preset threshold of the current first target sensor.

[0041] (7) Based on the currently adjusted preset threshold, update the current sensor data state detection result to obtain the current second sensor data state detection result.

[0042] (8) Based on the preset map data and according to the current second sensor data state detection result, all road sections are classified into road section types to obtain the current second road section type classification result.

[0043] (9) If the current second road segment type classification result indicates that there is at least one available route consisting of available road segments, the road segment type determination process is terminated.

[0044] (10) If the current second road segment type classification result indicates that there is no available route consisting of available road segments, the step of selecting a sensor with the lowest priority as the first target sensor among the sensors whose current corresponding data status is abnormal and which meet the preset threshold adjustment requirements is executed until all sensors do not meet the preset threshold adjustment requirements.

[0045] (11) Among the sensors whose corresponding data status is currently abnormal, determine that the status of the data measured by the sensor with the lowest priority is normal, and update the current sensor data status detection result according to the determination result to obtain the current third sensor data status detection result.

[0046] (12) Based on the preset map data and according to the current third sensor data state detection result, all road sections are classified into road section types to obtain the current third road section type classification result.

[0047] (13) If the current third road segment type classification result indicates that there is at least one available route consisting of available road segments, the road segment type determination process is terminated.

[0048] (14) If the current third road segment type classification result indicates that there is no available route consisting of available road segments, the steps of determining that the state of the data measured by the sensor with the lowest priority is normal among the sensors whose corresponding data state is currently abnormal, and updating the current sensor data state detection result according to the determination result to obtain the current third sensor data state detection result, until at least one available route consisting of available road segments is planned.

[0049] In the embodiment of the present invention, based on the preset map data and according to the first sensor data state detection result, all road sections are divided into road section types to obtain the first road section type division result, which may specifically include: (1) Based on a preset sensor blind spot calculation model, according to preset map data and a first sensor data state detection result, a blind spot position is determined to obtain a blind spot position determination result; the blind spot position is a normal environment state position surrounded by an abnormal environment state position.

[0050] (2) Based on a preset path calculation model, all road sections are classified into road section types according to the blind spot position determination results, preset map data, and the first sensor data status detection results, to obtain a preliminary classification result of road section types; in the preliminary classification result of road section types, all road sections are divided into blocked sections and available sections to be determined.

[0051] (3) Based on a preset end-removal road segment identification model, all end-removal road segments are determined from all available road segments to be determined.

[0052] (4) Determine that all the available road sections to be determined, except for the end-removed road section, are available road sections.

[0053] The following example illustrates the above-mentioned road section type determination process.

[0054] In a specific example, Figure 2Schematic diagram of a map scene corresponding to preset map data of the present invention. Figure 2 As shown in the figure, this map scene is a 4-story building with 2 exits and 3 passages. Sensors include smoke sensors, temperature sensors and flame sensors; the temperature sensor is classified as the first type of sensor, corresponding to the first priority, the smoke sensor is classified as the second type of sensor, corresponding to the second priority, and the flame sensor is classified as the third type of sensor, corresponding to the third priority. The significance of priority classification is that in the current road type classification result, there is no available route from the 4th floor to any exit on the 1st floor. According to the priority level, the restrictions of low-priority sensors are first lifted, and available routes are planned. If an available route is still not planned, the restrictions of higher-priority sensors are lifted, and available routes are planned again until an available route is planned.

[0055] Specifically, after obtaining the environmental detection data sent by the sensor, the detection value corresponding to each sensor is determined. For example, the detection value corresponding to the temperature sensor is determined to be 40°C. Then, for each sensor, the state of the data measured by the sensor is determined according to the detection value corresponding to the sensor and the preset threshold, and the first sensor data state detection result is obtained; wherein, if the difference between the detection value corresponding to the sensor and the corresponding preset threshold meets the corresponding preset requirement, then the state of the data measured by the sensor is determined to be normal, and the sensor is marked with the first identifier, otherwise, the state of the data measured by the sensor is determined to be abnormal, and the sensor is marked with the second identifier. Among them, the first identifier and the second identifier can be color identifiers, for example, the first identifier is green and the second identifier is red.

[0056] Next, the preset map data carrying the first identifier and the second identifier is input into the preset sensor blind spot calculation model, and the preset sensor blind spot calculation model determines the blind spot position according to the input data to obtain the blind spot position determination result. After the blind spot position is determined, the blind spot position is marked with a third identifier, and the third identifier can also be a color identifier, for example, the third identifier is yellow.

[0057] The blind spot position is a normal environment state position surrounded by an abnormal environment state position. In this example, the blind spot position is a position where a sensor marked with a first identifier is surrounded by sensors marked with a second identifier. For example, Figure 2 In the example, assuming that sensor No. 1 is marked as green, and sensors No. 2, No. 3, and No. 4 are all marked as red, it is determined that the location of sensor No. 1 is a blind spot, so sensor No. 1 is re-marked as yellow (the third mark).

[0058] Next, the latest marked preset map data is input into the preset path calculation model to obtain the preliminary classification result of the road segment type output by the preset path calculation model. In the preliminary classification result of the road segment type, all road segments are divided into blocked road segments and undetermined available road segments, wherein the blocked road segments are the road segments corresponding to the second and third identifiers, and the undetermined available road segments are the road segments corresponding to the first identifier.

[0059] Next, all the available road sections to be determined are marked in the preset map data, and the preset map data marking all the available road sections to be determined are input into the preset end-removed road section recognition model to obtain the available road sections and the end-removed road sections. The preset end-removed road section recognition model is used to determine all the end-removed road sections among all the available road sections to be determined. Figure 3 FIG. 1 is a schematic diagram of a terminal removal section provided by an embodiment of the present invention. Figure 3 As shown, both the road segment 31 and the road segment 32 are end-removed road segments. All road segments except the road segment 31 and the road segment 32 are available road segments.

[0060] At this point, the road segment type determination is completed once, and the first road segment type classification result is obtained. In the first road segment type classification result, all road segments are divided into available road segments, blocked road segments, and end-removed road segments. According to the first road segment type classification result, it is determined whether there is at least one available route consisting of available road segments. In this example, the available route is a route that allows people on each floor to reach the exit.

[0061] If the first road segment type classification result indicates that there is at least one available route consisting of available road segments, the road segment type determination process ends. On the contrary, if the first road segment type classification result indicates that there is no available route consisting of available road segments, the preset threshold of the first priority sensor is adjusted. For example, assuming that the initial preset threshold of the temperature sensor is 50°C, the preset threshold can be adjusted to 60°C. Next, the data status of the sensor whose corresponding data status is abnormal is re-evaluated using the adjusted preset threshold (60°C), and the data abnormality status of the corresponding sensor in the first road segment type classification result is updated using the evaluation result to obtain the current second sensor data status detection result. According to the same calculation principle as above, the road section type is determined again according to the current second sensor data state detection result to obtain the current second road section type classification result. If the current second road section type classification result indicates that there is at least one available route consisting of available road sections, the road section type determination process is terminated. Otherwise, it is determined whether the current preset threshold of the first priority sensor reaches the top threshold (for example, the top threshold corresponding to the preset threshold of the temperature sensor may be 80°C). If there is a first priority sensor whose current preset threshold does not reach the corresponding top threshold, its preset threshold is adjusted again, and the road section type is determined again. By analogy, it is assumed that when the preset thresholds of sensors of all levels are adjusted to the corresponding top thresholds, When the level threshold is reached and no available route is obtained, the sensors with abnormal data status are deleted, that is, among the sensors whose current corresponding data status is abnormal, the status of the data measured by the sensors with the first priority is determined to be normal, and the section type is determined again according to the same calculation principle as above. Assuming that no available route is obtained at this time, the status of the data measured by the sensors with the second priority is determined to be normal among the sensors whose current corresponding data status is abnormal, and the section type is determined again. Assuming that no available route is obtained at this time, the status of the data measured by the sensors with the third priority is determined to be normal among the sensors whose current corresponding data status is abnormal. At this time, there must be an available route.

[0062] It can be understood that the same or similar parts of the above embodiments can be referenced to each other, and the contents not described in detail in some embodiments can refer to the same or similar contents in other embodiments.

[0063] It should be noted that, in the description of the present invention, the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, the meaning of "plurality" refers to at least two.

[0064] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present invention includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present invention belong.

[0065] It should be understood that the various parts of the present invention can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0066] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0067] In addition, each functional unit in each embodiment of the present invention may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0068] The storage medium mentioned above can be a read-only memory, a magnetic disk or an optical disk, etc.

[0069] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0070] Although the embodiments of the present invention have been shown and described above, it is to be understood that the above embodiments are exemplary and are not to be construed as limitations of the present invention. A person skilled in the art may change, modify, replace and vary the above embodiments within the scope of the present invention.

Claims

1. An all-in-one gateway, It is characterized in that include: Batteries, power management circuits, interface modules and processors; The battery is connected to the processor via the power supply management circuit, and the interface module is connected to the processor; The power management circuit is used to supply power to the processor and the interface module through the battery or an external power supply; The interface module is used to connect external devices; the external devices include sensors and emergency power supplies for lamps; The processor includes a path planning unit and a battery management unit; The battery management unit is used to control the power supply management circuit to draw power from the battery when the external power supply stops supplying power; The path planning unit is used to perform path planning according to the environmental detection data sent by the sensor when it is determined that path planning is required, and to control the working state of the corresponding lamp by controlling the working state of the lamp emergency power supply, so as to prompt the planned path through light.

2. The all-in-one gateway according to claim 1, It is characterized in that The interface module specifically includes: ETH wired network interface, WIFI wireless network interface, DALI bus interface, ZigBee wireless interface, Bluetooth wireless interface and Sub-1GHz wireless interface.

3. The all-in-one gateway according to claim 1, It is characterized in that The processor also includes a WEB service unit.

4. The all-in-one gateway according to claim 1, It is characterized in that The path planning unit is specifically used for: When it is determined that path planning is required, determining the section types of all sections according to the environmental detection data sent by the sensor; the section types include blocked sections, available sections, and end-removed sections, and the end-removed sections are sections that meet preset available section standards and lead to blocked sections; For each of the road sections, the working state of the emergency power supply of the lamp corresponding to the road section is controlled according to the control strategy corresponding to the road section type of the road section.

5. The all-in-one gateway according to claim 4, It is characterized in that According to the control strategy corresponding to the road section type of the road section, controlling the working state of the emergency power supply of the lamp corresponding to the road section specifically includes: When the road section type of the road section is a blocked road section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a flashing red light; When the road type of the road section is an available road section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the light state corresponding to the road section a white light that is always on; When the section type of the road section is an end removal section, the working state of the emergency power supply of the lamp corresponding to the road section is controlled with the goal of making the lighting state corresponding to the road section a flashing white light.

6. The all-in-one gateway according to claim 4, It is characterized in that The external device also includes a voice prompt device; The path planning unit is further specifically configured to control the voice prompt device to give voice prompts after determining the road section types of all the road sections.

7. The all-in-one gateway according to claim 4, It is characterized in that All the sensors are divided into a preset number of categories, and the priorities of the sensors in different categories are different; Determine the road segment types of all road segments according to the environmental detection data sent by the sensor, specifically including: Determine the detection value corresponding to each of the sensors according to the environmental detection data sent by the sensors; For each of the sensors, the state of the data measured by the sensor is determined according to the detection value corresponding to the sensor and the preset threshold value, and a first sensor data state detection result is obtained; wherein, if the difference between the detection value corresponding to the sensor and the corresponding preset threshold value meets the corresponding preset requirement, the state of the data measured by the sensor is determined to be normal; otherwise, the state of the data measured by the sensor is determined to be abnormal; Based on the preset map data, and according to the first sensor data state detection result, all the road sections are divided into road section types to obtain a first road section type division result; If the first road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the first road segment type classification result indicates that there is no available route consisting of the available road segments, then among the sensors whose current corresponding data status is abnormal and meet the preset threshold adjustment requirements, select the sensor with the lowest priority as the first target sensor; Based on a preset threshold adjustment strategy, adjusting the preset threshold of the current first target sensor; Based on the currently adjusted preset threshold, updating the current sensor data state detection result to obtain the current second sensor data state detection result; Based on the preset map data, and according to the current detection result of the state of the second sensor data, all the road sections are divided into road section types to obtain a current second road section type division result; If the current second road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the current second road segment type classification result indicates that there is no available route consisting of the available road segments, the step of selecting a sensor with the lowest priority as the first target sensor among the sensors whose current corresponding data status is abnormal and which meet the preset threshold adjustment requirement is performed until all the sensors do not meet the preset threshold adjustment requirement; Among the sensors whose corresponding data status is abnormal, determining that the status of the data measured by the sensor with the lowest priority is normal, and updating the current sensor data status detection result according to the determination result to obtain the current third sensor data status detection result; Based on the preset map data, and according to the current detection result of the third sensor data state, all the road sections are divided into road section types to obtain a current third road section type division result; If the current third road segment type classification result indicates that there is at least one available route consisting of the available road segments, then the road segment type determination process is terminated; If the current third road segment type classification result indicates that there is no available route consisting of the available road segments, then the steps of determining that the state of the data measured by the sensor with the lowest priority is normal among the sensors whose current corresponding data state is abnormal, and updating the current sensor data state detection result according to the determination result to obtain the current third sensor data state detection result are executed until at least one available route consisting of the available road segments is planned.

8. The all-in-one gateway according to claim 7, It is characterized in that Based on the preset map data and according to the first sensor data state detection result, all the road sections are divided into road section types to obtain a first road section type division result, which specifically includes: Based on a preset sensor blind spot calculation model, the blind spot position is determined according to the preset map data and the first sensor data state detection result to obtain a blind spot position determination result; the blind spot position is a normal environment state position surrounded by an abnormal environment state position; Based on a preset path calculation model, according to the blind spot position determination result, the preset map data and the first sensor data state detection result, all the road sections are divided into road section types to obtain a preliminary road section type division result; in the preliminary road section type division result, all the road sections are divided into blocked road sections and available road sections to be determined; Based on a preset end-removal road section identification model, determining all the end-removal road sections from all the available road sections to be determined; It is determined that all the available road sections to be determined except the end-removed road section are the available road sections.

Citation Information

Patent Citations

  • System and method for planning paths in hospital

    CN108571968A

  • Fire escape method and system based on LoRa

    CN109360368A

  • Equipment control method and device, nonvolatile storage medium and intelligent gateway

    CN114237061A

  • LoRa Internet of Things gateway and network optimization planning method

    CN114389919A

  • Complex gas environment inspection system and method based on inspection robot

    CN114973443A