Safety monitoring method and system for fireworks and firecracker production site
By calculating the communication congestion index of the detection units and flexibly determining the number of aggregation centers, a single-hop wireless sensor network is formed, which solves the real-time and reliability problems in the monitoring of fireworks and firecracker production sites and realizes reliable transmission and monitoring of detection data.
Patent Information
- Application Number
- CN202510073790.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-17
- Publication Date
- 2025-12-05
- Estimated Expiration
- 2045-01-17
AI Technical Summary
Existing wireless sensor network technologies suffer from poor real-time performance and data transmission reliability issues in safety monitoring of fireworks and firecracker production sites. In particular, the cumulative effect of latency is severe in multi-hop structures, while too many or too few aggregation centers pose problems in single-hop structures.
By calculating the communication congestion index of the detection units, the number of aggregation centers can be flexibly determined to form a single-hop wireless sensor network, thereby achieving reliable communication of detection data.
It enables reliable monitoring of fireworks and firecracker production sites, ensures real-time transmission of detection data and balanced load on the aggregation center, and improves the real-time performance and reliability of monitoring.
Smart Images

Figure CN119521335B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of communication technology, and specifically to a safety monitoring method and system for fireworks and firecracker production sites. Background Technology
[0002] Information technology plays an increasingly important role in various fields and industries of safety production in my country, and safety monitoring and early warning are a crucial part of safety production management. Fireworks and firecracker production sites are high-risk locations, and their safety monitoring encompasses multiple aspects, including temperature monitoring, humidity monitoring, dust monitoring, monitoring of machinery handling chemicals, pyrotechnic monitoring, and electrostatic discharge monitoring. To achieve comprehensive safety monitoring of fireworks and firecracker production sites, various detection units need to be installed within the site, and each type of detection unit may consist of multiple units located in different places, resulting in a large number of detection units. Currently, collecting data from such a large number of detection units and sending it directly to the monitoring platform presents limitations in terms of communication cable deployment, energy consumption, the monitoring platform's parallel receiving capacity, and network flexibility. Existing technologies typically address these issues by employing wireless sensor network technology, which aggregates data from each detection unit to a central hub, and then sends the data to the monitoring platform for analysis.
[0003] However, existing wireless sensor network technologies, if using a multi-hop structure, will affect the real-time performance of monitoring due to the cumulative delays from multiple forwardings and complex routing algorithms. If a single-hop structure is used, there is little difference between the above-mentioned scheme of sending data separately when there are too many aggregation centers, and when there are too few aggregation centers, the data reception and processing burden of the aggregation centers will be too heavy, and in severe cases, some data transmission failures may occur, which is unacceptable for high-risk places such as fireworks and firecracker production. Summary of the Invention
[0004] To address the aforementioned technical problems, this invention provides a safety monitoring method and system for fireworks and firecracker production sites. This system can flexibly determine the number of aggregation centers based on the actual situation of the detection units, and send detection data to the monitoring platform through the corresponding number of aggregation centers, thereby achieving reliable communication of detection data and reliable monitoring of fireworks and firecracker production sites.
[0005] The technical solution adopted in this invention is as follows:
[0006] A safety monitoring method for fireworks and firecracker production sites includes the following steps: When N detection units in the fireworks and firecracker production site are simultaneously activated and detecting corresponding target data at corresponding frequencies, a communication congestion index is calculated for each detection unit based on its frequency and the amount of data detected each time, where N is an integer greater than 1; the N detection units are arranged into a first sequence according to their communication congestion indices from largest to smallest; the sum of the communication congestion indices of the first n elements in the first sequence is calculated, where n ranges from 1 to N; it is determined whether the sum when n equals N is less than or equal to a preset value; if the sum when n equals N is less than or equal to the preset value, one of the detection units is selected as the aggregation center to form a single-hop wireless sensor structure. The network consists of several parts: a sensor network; if the sum of n equals N is greater than the preset value, then a value M is found such that the sum of n equals M-1 is less than or equal to the preset value, and the sum of n equals M is greater than the preset value, where M is an integer greater than 1 and less than or equal to N; N is divided by M and rounded up to obtain the number m of aggregation centers, and m of the detection units are selected as aggregation centers to form a single-hop wireless sensor network, wherein the number of detection units connected to each aggregation center is less than M; the aggregation center receives the target data detected by the connected detection units and sends its own and the received target data to the monitoring platform; the monitoring platform achieves comprehensive safety monitoring of the fireworks and firecrackers production site based on all received target data.
[0007] The target data detected by each detection unit includes temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data.
[0008] The communication congestion index of each detection unit is calculated based on its frequency and the amount of data detected each time. Specifically, this includes: obtaining the frequency congestion factor of each detection unit based on its frequency; obtaining the data volume congestion factor of each detection unit based on the amount of data detected each time, wherein the data volume congestion factor of each detection unit is greater than 1; and calculating the frequency congestion factor raised to the power of the data volume congestion factor of each detection unit to obtain the communication congestion index of each detection unit.
[0009] A pre-stored table of correspondence between frequency range and frequency congestion factor, and a table of correspondence between data volume range and data volume congestion factor for each detected data volume, allows the frequency congestion factor and data volume congestion factor of the detection unit to be obtained by looking up the tables.
[0010] The N detection units are arranged into a second sequence according to their data receiving capabilities from largest to smallest. When selecting a convergence center, the first element in the second sequence is selected. When selecting m convergence centers, the first m elements in the second sequence are selected.
[0011] A safety monitoring system for a fireworks and firecrackers production site includes N detection units, a networking module, and a monitoring platform. The networking module is used for: when the N detection units in the fireworks and firecrackers production site are simultaneously activated and detecting corresponding target data at their respective frequencies, calculating the communication congestion index of each detection unit based on its frequency and the amount of data detected each time, where N is an integer greater than 1; arranging the N detection units into a first sequence according to their communication congestion indices from largest to smallest; calculating the sum of the communication congestion indices of the first n elements in the first sequence, where n ranges from 1 to N; determining whether the sum when n equals N is less than or equal to a preset value; if the sum when n equals N is less than or equal to the preset value, selecting one of the detection units as a convergence center to form a single-hop structure. A wireless sensor network; if the sum when n equals N is greater than the preset value, then find a value M such that the sum when n equals M-1 is less than or equal to the preset value, and the sum when n equals M is greater than the preset value, where M is an integer greater than 1 and less than or equal to N; divide N by M and round up to obtain the number m of aggregation centers, and select m of the detection units as aggregation centers to form a single-hop wireless sensor network, wherein the number of detection units connected to each aggregation center is less than M. The monitoring platform is used to: receive the target data detected by the connected detection units through the aggregation center, and send the aggregation center's own and the received target data to the monitoring platform, and realize comprehensive safety monitoring of the fireworks and firecrackers production site based on all the received target data.
[0012] The target data detected by each detection unit includes temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data.
[0013] The networking module is specifically used for: obtaining the frequency congestion factor of each detection unit based on the frequency of each detection unit; obtaining the data volume congestion factor of each detection unit based on the amount of data detected by each detection unit each time, wherein the data volume congestion factor of each detection unit is greater than 1; and calculating the frequency congestion factor power of the data volume congestion factor of each detection unit to obtain the communication congestion index of each detection unit.
[0014] The networking module pre-stores a correspondence table between frequency range and frequency congestion factor, and a correspondence table between the range of data volume detected each time and data volume congestion factor. The frequency congestion factor and data volume congestion factor of the detection unit are obtained by looking up the tables.
[0015] The networking module arranges the N detection units into a second sequence according to their data receiving capabilities from largest to smallest. When selecting a convergence center, it selects the first element in the second sequence. When selecting m convergence centers, it selects the first m elements in the second sequence.
[0016] The beneficial effects of this invention are:
[0017] This invention calculates the communication congestion index of each detection unit based on its frequency and the amount of data detected each time, and selects a corresponding number of aggregation centers based on the communication congestion index to form a single-hop wireless sensor network to send detection data to the monitoring platform. Thus, the number of aggregation centers can be flexibly determined according to the actual situation of the detection units, and detection data can be sent to the monitoring platform through the corresponding number of aggregation centers, thereby achieving reliable communication of detection data and reliable monitoring of fireworks and firecracker production sites. Attached Figure Description
[0018] Figure 1 This is a flowchart of a safety monitoring method for fireworks and firecracker production sites according to an embodiment of the present invention;
[0019] Figure 2 This is a block diagram of a safety monitoring system for fireworks and firecracker production sites according to an embodiment of the present invention. Detailed Implementation
[0020] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0021] like Figure 1 As shown, the safety monitoring method for fireworks and firecracker production sites according to an embodiment of the present invention includes the following steps:
[0022] S1, when N detection units in a fireworks production site are simultaneously activated and detecting corresponding target data at their respective frequencies, calculate the communication congestion index of each detection unit based on its frequency and the amount of data detected each time. Here, N is an integer greater than 1.
[0023] In one embodiment of the present invention, the target data detected by each detection unit may be temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data, etc. Correspondingly, the detection unit may be a temperature sensor, humidity sensor, dust sensor, pharmaceutical machinery speed sensor, electrical parameter sensors such as voltage and current sensors of pharmaceutical machinery, image sensor, etc. In a preferred embodiment of the present invention, the N detection units include all of the above-mentioned types of sensors.
[0024] Any two of the N detection units can detect the same type of target data or different types of target data. The N detection units are deployed at different locations within the fireworks production site. The N detection units can have the same wireless communication method, such as all being able to implement LoRa communication or all being able to implement ZigBee communication.
[0025] The frequency of a detection unit refers to the number of times it performs a detection per unit of time. For example, when the detection unit is a temperature sensor, its frequency can be 1, meaning it acquires temperature detection data once per second. The amount of data detected by the detection unit each time refers to the size of the data acquired in each detection. For example, a temperature sensor detects 10 bits of temperature data each time.
[0026] In one embodiment of the present invention, the frequency congestion factor of each detection unit can be obtained based on the frequency of each detection unit, and the data volume congestion factor of each detection unit can be obtained based on the amount of data detected by each detection unit each time. Then, the frequency congestion factor of the data volume congestion factor of each detection unit is raised to the power of the frequency congestion factor to obtain the communication congestion index of each detection unit. The data volume congestion factor of each detection unit is greater than 1.
[0027] In one embodiment of the present invention, a correspondence table between frequency range and frequency congestion factor, and a correspondence table between data volume range and data volume congestion factor detected each time can be stored in advance. The frequency congestion factor and data volume congestion factor of the detection unit can be obtained by looking up the tables.
[0028] Table 1 shows the correspondence between frequency range and frequency congestion factor in a specific embodiment of the present invention.
[0029] Table 1
[0030]
[0031] Table 2 shows the correspondence between the range of data volume detected each time and the data congestion factor in a specific embodiment of the present invention.
[0032] Table 2
[0033]
[0034] S2, arrange the N detection units into the first sequence according to the communication congestion index from largest to smallest.
[0035] For detection units with equal communication congestion indices, their order is arbitrary.
[0036] S3, calculate the sum of the communication congestion indices of the first n elements in the first sequence, where n ranges from 1 to N.
[0037] That is, calculate the sum of the communication congestion indices of the first 1, 2, 3, ..., N elements in the first sequence.
[0038] S4, determine whether the sum when n equals N is less than or equal to the preset value.
[0039] In one embodiment of the present invention, the preset value can be preset in combination with the performance parameters of each detection unit and the expected total number of aggregation centers. It should be noted that it must be greater than the communication congestion index of any single detection unit.
[0040] S5. If the sum of n equals N is less than or equal to a preset value, then select a detection unit as the aggregation center to form a single-hop wireless sensor network.
[0041] S6. If the sum when n equals N is greater than the preset value, then find a value M such that the sum when n equals M-1 is less than or equal to the preset value, and the sum when n equals M is greater than the preset value. Where M is an integer greater than 1 and less than or equal to N.
[0042] S7. Divide N by M and round up to get the number of convergence centers m. Select m detection units as convergence centers to form a single-hop wireless sensor network. The number of detection units connected to each convergence center is less than M.
[0043] A single-hop wireless sensor network consisting of N detection units refers to a network where the aggregation center communicates directly with each connected detection unit, and each detection unit directly transmits the detected target data to its aggregation center. The communication congestion index is a conceptual value representing the amount of communication congestion that occurs when transmitting data to the aggregation center in a single-hop wireless sensor network.
[0044] In one embodiment of the present invention, the N detection units can be arranged into a second sequence according to their data receiving capabilities in descending order. When selecting a convergence center, the first element in the second sequence is selected; when selecting m convergence centers, the first m elements in the second sequence are selected. The data receiving capability of a detection unit can be measured by the amount of data that can be normally received and processed per unit time without communication delay or data loss.
[0045] In one embodiment of the present invention, after selecting a convergence center, the networking module can send a networking instruction to the convergence center, causing it to randomly connect to a number of detection units less than M. Each detection unit will not accept connection requests from other convergence centers after successfully connecting to any convergence center.
[0046] S8 receives the target data detected by the connected detection unit through the aggregation center, and sends its own data and the received target data to the monitoring platform.
[0047] The S9 monitoring platform enables comprehensive safety monitoring of fireworks and firecracker production sites based on all received target data.
[0048] According to the safety monitoring method for fireworks and firecracker production sites of the present invention, the communication congestion index of each detection unit is calculated based on the frequency of the detection unit and the amount of data detected each time. Based on the communication congestion index, a corresponding number of aggregation centers are selected to form a single-hop wireless sensor network to send detection data to the monitoring platform. Thus, the number of aggregation centers can be flexibly determined according to the actual situation of the detection units, and the detection data can be sent to the monitoring platform through the corresponding number of aggregation centers, thereby achieving reliable communication of detection data and reliable monitoring of fireworks and firecracker production sites.
[0049] Corresponding to the safety monitoring method for fireworks and firecracker production sites in the above embodiments, the present invention also proposes a safety monitoring system for fireworks and firecracker production sites.
[0050] like Figure 2 As shown, the safety monitoring system for fireworks and firecracker production sites according to an embodiment of the present invention includes N detection units 10, a networking module 20, and a monitoring platform 30.
[0051] The networking module 20 is used for: when N detection units 10 in a fireworks production site are simultaneously activated and detecting corresponding target data at their respective frequencies, calculating the communication congestion index of each detection unit 10 based on its frequency and the amount of data detected each time, where N is an integer greater than 1; arranging the N detection units 10 into a first sequence according to their communication congestion indices from largest to smallest; calculating the sum of the communication congestion indices of the first n elements in the first sequence, where n ranges from 1 to N; determining whether the sum when n equals N is less than or equal to a preset value; if the sum when n equals N is... If the value is less than or equal to a preset value, then select a detection unit 10 as a convergence center to form a single-hop wireless sensor network; if the sum when n equals N is greater than the preset value, then find a value M such that the sum when n equals M-1 is less than or equal to the preset value, and the sum when n equals M is greater than the preset value, where M is an integer greater than 1 and less than or equal to N; divide N by M and round up to obtain the number m of convergence centers, and select m detection units 10 as convergence centers to form a single-hop wireless sensor network, where the number of detection units 10 connected to each convergence center is less than M.
[0052] The monitoring platform 30 is used to: receive target data detected by the connected detection unit 10 through the aggregation center, and send the aggregation center's own and the received target data to the monitoring platform 30, and realize comprehensive safety monitoring of the fireworks and firecrackers production site based on all the received target data.
[0053] In one embodiment of the present invention, the target data detected by each detection unit 10 is temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data. Correspondingly, the detection unit 10 can be a temperature sensor, humidity sensor, dust sensor, pharmaceutical machinery speed sensor, electrical parameter sensors such as voltage and current sensors of pharmaceutical machinery, image sensor, etc. In a preferred embodiment of the present invention, N detection units include all of the above types of sensors.
[0054] Any two of the N detection units 10 can detect the same type of target data or different types of target data. The N detection units 10 are each deployed at different locations in the fireworks and firecrackers production site. The N detection units 10 can have the same wireless communication method, for example, they can all implement LoRa communication or ZigBee communication, etc.
[0055] The frequency of the detection unit 10 refers to the number of detections per unit time. For example, when the detection unit 10 is a temperature sensor, its frequency can be 1, meaning it acquires temperature detection data once per second. The amount of data detected by the detection unit 10 each time refers to the size of the data acquired in each detection. For example, the temperature sensor detects 10 bits of temperature data each time.
[0056] In one embodiment of the present invention, the networking module 20 is specifically used to: obtain the frequency congestion factor of each detection unit 10 according to the frequency of each detection unit 10; obtain the data volume congestion factor of each detection unit 10 according to the amount of data detected by each detection unit 10 each time, wherein the data volume congestion factor of each detection unit 10 is greater than 1; and calculate the frequency congestion factor power of the data volume congestion factor of each detection unit 10 to obtain the communication congestion index of each detection unit 10.
[0057] In one embodiment of the present invention, the networking module 20 pre-stores a correspondence table between frequency range and frequency congestion factor, and a correspondence table between the data volume range detected each time and data volume congestion factor, and obtains the frequency congestion factor and data volume congestion factor of the detection unit 10 by looking up the tables.
[0058] A single-hop wireless sensor network consisting of N detection units 10 refers to a network where the aggregation center communicates directly with each connected detection unit 10, and each detection unit 10 directly transmits the detected target data to its aggregation center. The communication congestion index is a conceptual value representing the amount of communication congestion that occurs when transmitting data to the aggregation center in a single-hop wireless sensor network.
[0059] In one embodiment of the present invention, the networking module 20 may further arrange the N detection units 10 into a second sequence according to their data receiving capabilities from largest to smallest. When selecting a convergence center, the first element in the second sequence is selected; when selecting m convergence centers, the first m elements in the second sequence are selected. The data receiving capability of the detection unit 10 can be measured by the amount of data that can be normally received and processed per unit time without communication delay or data loss.
[0060] In one embodiment of the present invention, after selecting a convergence center, the networking module 20 can send a networking instruction to the convergence center, causing it to randomly connect to a number of detection units 10 less than M. Each detection unit 10 will not accept connection requests from other convergence centers after successfully connecting to any convergence center.
[0061] According to an embodiment of the present invention, the safety monitoring system for fireworks and firecracker production sites calculates the communication congestion index of each detection unit based on the frequency of the detection unit and the amount of data detected each time. Based on the communication congestion index, a corresponding number of aggregation centers are selected to form a single-hop wireless sensor network to send detection data to the monitoring platform. Thus, the number of aggregation centers can be flexibly determined according to the actual situation of the detection units, and detection data can be sent to the monitoring platform through the corresponding number of aggregation centers, thereby achieving reliable communication of detection data and reliable monitoring of fireworks and firecracker production sites.
[0062] In the description of this invention, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. "A plurality of" means two or more, unless otherwise explicitly specified.
[0063] In this invention, unless otherwise explicitly specified and limited, the terms "installation," "connection," "linking," and "fixing," etc., should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral part; they can refer to a mechanical connection or an electrical connection; they can refer to a direct connection or an indirect connection through an intermediate medium; they can refer to the internal communication of two components or the interaction between two components. Those skilled in the art can understand the specific meaning of the above terms in this invention according to the specific circumstances.
[0064] In this invention, unless otherwise explicitly specified and limited, "above" or "below" the second feature can mean that the first feature is in direct contact with the second feature, or that the first feature is in indirect contact with the second feature through an intermediate medium. Furthermore, "above," "over," and "on top" of the second feature can mean that the first feature is directly above or diagonally above the second feature, or simply that the first feature is at a higher horizontal level than the second feature. "Below," "below," and "under" the second feature can mean that the first feature is directly below or diagonally below the second feature, or simply that the first feature is at a lower horizontal level than the second feature.
[0065] In the description of this specification, the references to terms such as "one embodiment," "some embodiments," "example," "specific example," or "some examples," etc., indicate that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the present invention. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples. Furthermore, without contradiction, those skilled in the art can combine and integrate the different embodiments or examples described in this specification, as well as the features of different embodiments or examples.
[0066] Any process or method description in the flowchart or otherwise herein can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a particular logical function or process, and the scope of the preferred embodiments of the invention includes additional implementations in which functions may be performed not in the order shown or discussed, including substantially simultaneously or in reverse order depending on the functions involved, as will be understood by those skilled in the art to which embodiments of the invention pertain.
[0067] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as a ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by, or in conjunction with, an instruction execution system, apparatus, or device (such as a computer-based system, a processor-included system, or other system that can fetch and execute instructions from, an instruction execution system, apparatus, or device). For the purposes of this specification, "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transmit programs for use by, or in conjunction with, an instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of computer-readable media include: an electrical connection having one or more wires (electronic device), a portable computer disk drive (magnetic device), random access memory (RAM), read-only memory (ROM), erasable and editable read-only memory (EPROM or flash memory), fiber optic devices, and portable optical disc read-only memory (CDROM). Alternatively, the computer-readable medium may be paper or other suitable media on which the program can be printed, since the program can be obtained electronically, for example, by optically scanning the paper or other medium, followed by editing, interpreting, or otherwise processing as necessary, and then stored in a computer memory.
[0068] It should be understood that various parts of the present invention can be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, it can be implemented using any one or a combination of the following techniques known in the art: discrete logic circuits having logic gates for implementing logical functions on data signals, application-specific integrated circuits (ASICs) having suitable combinational logic gates, programmable gate arrays (PGAs), field-programmable gate arrays (FPGAs), etc.
[0069] Those skilled in the art will understand that all or part of the steps of the methods in the above embodiments can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, and when executed, the program includes one or a combination of the steps of the method embodiments.
[0070] Furthermore, the functional units in the various embodiments of the present invention can be integrated into a processing module, or each unit can exist physically separately, or two or more units can be integrated into a module. The integrated module can be implemented in hardware or as a software functional module. If the integrated module is implemented as a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0071] Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention. Those skilled in the art can make changes, modifications, substitutions and variations to the above embodiments within the scope of the present invention.
Claims
1. A safety monitoring method for fireworks and firecracker production sites, characterized in that, Includes the following steps: When N detection units in the fireworks production site are simultaneously activated and detect corresponding target data at their respective frequencies, the communication congestion index of each detection unit is calculated based on the frequency of each detection unit and the amount of data detected each time, where N is an integer greater than 1. Arrange the N detection units in descending order of communication congestion index into a first sequence; Calculate the sum of the communication congestion indices of the first n elements in the first sequence, where n ranges from 1 to N; Determine whether the sum when n equals N is less than or equal to a preset value; If the sum when n equals N is less than or equal to the preset value, then select one of the detection units as the convergence center to form a single-hop wireless sensor network; If the sum when n equals N is greater than the preset value, then find a value M such that the sum when n equals M-1 is less than or equal to the preset value, and the sum when n equals M is greater than the preset value, where M is an integer greater than 1 and less than or equal to N; Divide N by M and round up to obtain the number of convergence centers m. Select m of the detection units as convergence centers to form a single-hop wireless sensor network, wherein the number of detection units connected to each convergence center is less than M. The aggregation center receives the target data detected by the connected detection units and sends its own data and the received target data to the monitoring platform. The monitoring platform achieves comprehensive safety monitoring of the fireworks and firecrackers production site based on all received target data. The communication congestion index of each detection unit is calculated based on its frequency and the amount of data detected each time. Specifically, this includes: obtaining the frequency congestion factor of each detection unit based on its frequency; obtaining the data volume congestion factor of each detection unit based on the amount of data detected each time, wherein the data volume congestion factor of each detection unit is greater than 1; and calculating the frequency congestion factor raised to the power of the data volume congestion factor of each detection unit to obtain the communication congestion index of each detection unit.
2. The safety monitoring method for fireworks and firecracker production sites according to claim 1, characterized in that, The target data detected by each detection unit includes temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data.
3. The safety monitoring method for fireworks and firecracker production sites according to claim 1, characterized in that, A pre-stored table of correspondence between frequency range and frequency congestion factor, and a table of correspondence between data volume range and data volume congestion factor for each detected data volume, allows the frequency congestion factor and data volume congestion factor of the detection unit to be obtained by looking up the tables.
4. The safety monitoring method for fireworks and firecracker production sites according to claim 1, characterized in that, The N detection units are arranged into a second sequence according to their data receiving capabilities from largest to smallest. When selecting a convergence center, the first element in the second sequence is selected. When selecting m convergence centers, the first m elements in the second sequence are selected.
5. A safety monitoring system for fireworks and firecracker production sites, characterized in that, It includes N detection units, a networking module, and a monitoring platform. The networking module is used for: When N detection units in the fireworks production site are simultaneously activated and detect corresponding target data at their respective frequencies, the communication congestion index of each detection unit is calculated based on the frequency of each detection unit and the amount of data detected each time, where N is an integer greater than 1. Arrange the N detection units in descending order of communication congestion index into a first sequence; Calculate the sum of the communication congestion indices of the first n elements in the first sequence, where n ranges from 1 to N; Determine whether the sum when n equals N is less than or equal to a preset value; If the sum when n equals N is less than or equal to the preset value, then select one of the detection units as the convergence center to form a single-hop wireless sensor network; If the sum when n equals N is greater than the preset value, then find a value M such that the sum when n equals M-1 is less than or equal to the preset value, and the sum when n equals M is greater than the preset value, where M is an integer greater than 1 and less than or equal to N; Divide N by M and round up to obtain the number of convergence centers, m. Select m detection units as convergence centers to form a single-hop wireless sensor network. The number of detection units connected to each convergence center is less than M. The monitoring platform is used for: After receiving the target data detected by the connected detection units through the aggregation center, and sending the aggregation center's own data and the received target data to the monitoring platform, comprehensive safety monitoring of the fireworks and firecrackers production site is achieved based on all the received target data. The networking module is specifically used for: obtaining the frequency congestion factor of each detection unit based on the frequency of each detection unit; obtaining the data volume congestion factor of each detection unit based on the amount of data detected by each detection unit each time, wherein the data volume congestion factor of each detection unit is greater than 1; and calculating the frequency congestion factor power of the data volume congestion factor of each detection unit to obtain the communication congestion index of each detection unit.
6. The safety monitoring system for fireworks and firecracker production sites according to claim 5, characterized in that, The target data detected by each detection unit includes temperature detection data, humidity detection data, dust detection data, operating status detection data of pharmaceutical machinery, smoke and fire detection data, or electrostatic discharge detection data.
7. The safety monitoring system for fireworks and firecracker production sites according to claim 5, characterized in that, The networking module pre-stores a correspondence table between frequency range and frequency congestion factor, and a correspondence table between the range of data volume detected each time and data volume congestion factor. The frequency congestion factor and data volume congestion factor of the detection unit are obtained by looking up the tables.
8. The safety monitoring system for fireworks and firecracker production sites according to claim 5, characterized in that, The networking module arranges the N detection units into a second sequence according to their data receiving capabilities from largest to smallest. When selecting a convergence center, it selects the first element in the second sequence. When selecting m convergence centers, it selects the first m elements in the second sequence.
Citation Information
Patent Citations
Intelligent building fire-fighting monitoring system based on wireless sensor network
CN108093080A
Clustering routing method based on cognitive wireless sensor network
CN110972228A