Implementation method of intelligent coal mine monitoring data transmission system
By distributing sensing devices in coal mines, utilizing the dynamic election mechanism of coverage devices and auxiliary devices, and constructing a triplet data structure, the real-time and coverage issues of coal mine monitoring data transmission are solved, and rapid and extensive data monitoring and early warning are achieved to ensure coal mine safety.
Patent Information
- Application Number
- CN202511156292.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-19
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2045-08-19
AI Technical Summary
Existing coal mine monitoring data mainly relies on manual collection, which cannot achieve real-time monitoring, has limited coverage, and cannot sense low-concentration harmful gases.
An intelligent coal mine monitoring and data transmission system is designed. By evenly distributing sensing devices in the coal mine, utilizing the dynamic election mechanism of covering devices and auxiliary devices, establishing device tables and collection tables, and constructing a triplet data structure, rapid data transmission and monitoring are achieved.
It realizes the real-time acquisition of coal mine environmental parameters and rapid early warning, ensuring the safety of coal mine workers, with a wide coverage area, and improving the success rate of data monitoring and transmission efficiency.
Smart Images

Figure CN120676364A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data transmission, and in particular to a method for implementing an intelligent coal mine monitoring data transmission system. Background Art
[0002] At present, coal mine monitoring data mainly relies on manual collection. However, this method has the following limitations: (1) It cannot achieve real-time monitoring. Manual inspections are usually carried out on a fixed schedule, making it difficult to detect sudden gas accumulation and other instantaneous dangers in a timely manner; (2) The coverage is limited. Manual inspection paths are limited, and there will be missed areas; (3) Manual detection parameters are single and cannot detect low-concentration harmful gases.
[0003] This system aims to overcome the above shortcomings and realize real-time transmission and monitoring of coal mine data. Summary of the Invention
[0004] Purpose of the invention: The technical problem to be solved by the present invention is to provide a method for realizing an intelligent coal mine monitoring data transmission system in view of the shortcomings of the existing technology.
[0005] Technical solution: The present invention discloses a method for implementing an intelligent coal mine monitoring data transmission system, wherein the system includes edge devices and a plurality of sensing devices uniformly distributed in the coal mine, wherein the sensing devices are configured as covering devices and auxiliary devices; An accessory device establishes a device table by sending a device message. If an accessory device meets any of the following conditions, it sets itself as a covering device: Condition 1: the weight of the accessory device is greater than the weights of all entries in the device table; Condition 2: the weight of the accessory device is not less than the weights of all device entries, and the distance between its coordinates and the edge device is less than the distance between the coordinates of all device entries with weights equal to its weight and the coordinates of the edge device; otherwise, the accessory device sends a covering device message to elect a covering device; The coverage device sends a collection message to establish a collection table and starts a timer. The sensing device that receives the collection message sends a collection response message. If the device ID of the coverage device that receives the collection response message is equal to the device ID in the collection response message, a collection table entry is created. If the timer decays to 0, a three-tuple data structure containing the timestamp, data set, and device coordinates is constructed. The coverage device sends an edge message to the edge device; if the device ID of the sensing device that receives the edge message is equal to the first device ID in the device ID set in the edge message, and there is a device table entry whose coordinate distance to the edge device is less than the distance between the sensing device and the edge device, the edge message is forwarded; If the device ID of the sensing device that receives the edge message is equal to any other device ID in the device ID set in the edge message except the first device ID, and no edge message with a random number equal to the random number in the message variable is received within the set timer, and there is a device table entry whose coordinates are closer to the edge device than the distance between the device and the edge device, then the edge message is forwarded; After receiving the edge message, the edge device performs the following operations for each triple in the triple set in the edge message: creates a coal mine table entry whose timestamp, data set and coordinates are respectively equal to the timestamp, data set and coordinates in the triple.
[0006] The method further comprises: After the overlay device constructs a triple containing timestamp, dataset, and coordinates, if there is a device table entry whose coordinates are closer to the edge device than the distance between itself and the edge device, the overlay device selects the device table entry whose coordinates are closer to the edge device than the distance between itself and the edge device; In the edge message sent by the overlay device, the message ID is equal to 5, the random number is equal to the random number created by the overlay device, the device ID set is equal to the device IDs in all selected device table entries, and the device IDs in the device ID set are sorted in reverse order according to the weight of the device table entry in which they are located. The triplet set only contains the triples constructed by itself, and the collection table is cleared; The sensing device that receives the edge message sets a message variable whose value is equal to the received edge message; the sensing device that receives the edge message sets a timer value equal to (n'-1)×t3, where n' is equal to the position of its own device ID in the device ID set in the edge message, and t3 is equal to the preset time for forwarding the edge message; In the edge message forwarded by the perception device that receives the edge message, if the perception device is a coverage device and the collection table is not an empty table, a triplet containing a timestamp, a data set, and coordinates is constructed, wherein the timestamp is equal to the average value of the timestamps in all collection table items, the data set contains the data in all collection table items, and the coordinates are equal to the average value of the coordinates in all collection table items, and the created triplet is added to the triplet set in the edge message.
[0007] The method further comprises: Each sensing device saves a collection table. A collection table entry contains timestamp, data and coordinates. The collection table is initially empty. The collection message contains the message ID and device ID; the collection response message contains the message ID, device ID and data; In the collection message sent by the coverage device, the message ID is 3, the device ID is equal to its own device ID, and the timer value is set to t' + n2 × t'', where t' is the preset time for forwarding the collection message, t'' is the preset time for forwarding the collection response message, and n2 is the number of its own device entries in the device table; In the collection response message sent by the sensing device that receives the collection message, the message ID is 4, the device ID is equal to the device ID in the collection message, and the data is equal to the data collected by itself; In the collection table entry created by the coverage device that receives the collection response message, the timestamp is equal to the current time, the data is equal to the data in the collection response message, and the coordinates are equal to its own current coordinates; in the triplet constructed by the coverage device that receives the collection response message, the timestamp is equal to the average of the timestamps in all collection table entries, the data set contains the data in all collection table entries, and the coordinates are equal to the average of the coordinates in all collection table entries.
[0008] The method further comprises: The edge device stores a coal mine table. A coal mine table entry contains timestamp, data set and coordinates. The edge message contains a message ID, a device ID set, a triplet set, and a random number; The device message contains the message ID, device ID, energy, device type, storage space, coordinates and centrality; In the device message sent by the sensing device, the message ID of the message is 1, the device ID is equal to its own device ID, the energy, device type, storage space and coordinates are equal to its current energy value, device type, storage space and coordinates respectively, and the centrality is equal to the number of device table entries in its own device table. If the device table is empty, the centrality is 0.
[0009] The method further comprises: If the perception device that receives the device message has a device table entry whose device ID is equal to the device ID in the device message, the device ID, energy, device type, storage space, coordinates and centrality of the table entry are set to the device ID, energy, device type, storage space, coordinates and centrality in the device message respectively, the weight value is equal to 0, and the life cycle is set to the maximum value; otherwise, the perception device creates a device table entry, the device ID, energy, device type, storage space, coordinates and centrality of the table entry are equal to the device ID, energy, device type, storage space, coordinates and centrality in the device message respectively, the weight value is equal to 0, and the life cycle is set to the maximum value.
[0010] The method further comprises: In the edge message forwarded by the perception device that receives the edge message, the perception device selects device table entries whose coordinates are less than the distance between itself and the edge device, clears the device ID set in the edge message, sets the device ID set in the edge message to the device IDs in all selected device table entries, and sorts the device IDs in the device ID set in reverse order according to the weight of the device table entry in which they are located.
[0011] The method further comprises: Each sensing device is identified by a unique device ID and pre-configured with the coordinates of the edge device; each sensing device stores a device table, and a device table entry contains the device ID, energy, device type, storage space, coordinates, centrality, weight and life cycle; the device type value is equal to 0 or 1, the device type value 0 indicates a coverage device, and the device type value 1 indicates an accessory device; the initial state of the device table is an empty table; in the initial state, each sensing device is an accessory device.
[0012] The method further comprises: The initial energy and initial storage space of each sensing device are the same; If the weight of the device table entry of the sensing device is equal to 0, the weight of the device table entry is set to o1×e1 / e'+ o2×c1 / c'+o3×n1 / n', where e1, c1, and n1 are equal to the energy, storage space, and centrality in the device table entry, respectively; o1, o2, and o3 are balance coefficients, the sum of which is equal to 1; e' is the initial energy of the sensing device, which is preset; c' is the initial storage space of the sensing device, which is preset; and n' is the number of all sensing devices included in the system, which is preset; the sensing device sets its own weight to o1×e2 / e'+ o2×c2 / c'+o3×n2 / n', where e2, c2, and n2 are its current energy, storage space, and the number of device table entries, respectively.
[0013] The coverage device message contains a message ID and a device ID. If the device type of all device table items of the attached device is 1, all device table items with a greater weight than its own are selected, and a device table item is selected from these device table items. The coordinates of the device table item are closest to the coordinates of the edge device. The attached device sends a coverage device message with a message ID of 2 and a device ID equal to the device ID in the device table item. If the device ID of the attached device that receives the coverage device message is equal to the device ID in the coverage device message, the attached device sets itself as the coverage device.
[0014] Beneficial effects: The present invention provides an implementation method of an intelligent coal mine monitoring data transmission system. The implementation method of the coal mine intelligent security inspection system provided by the present invention can quickly obtain real-time parameters of the coal mine environment, including temperature, gas concentration, etc., so as to provide early warning and ensure the safety of coal mine workers. It has broad application prospects. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments, and the above and / or other advantages of the present invention will become more apparent.
[0016] Figure 1 This is a flow chart of the intelligent coal mine monitoring data transmission system of the present invention.
[0017] Figure 2 This is a flow chart of establishing a device table according to the present invention.
[0018] Figure 3 This is a schematic diagram of the coverage device election process described in the present invention.
[0019] Figure 4 This is a schematic diagram of the process of collecting coal mine data according to the present invention.
[0020] Figure 5 Schematic diagram of the process of collecting coal mine data sets using the edge device described in the present invention. DETAILED DESCRIPTION
[0021] To enable those skilled in the art to better understand the technical solutions of the present invention, the present invention is further described below in conjunction with the accompanying drawings and specific embodiments. It is apparent that the described embodiments are only a portion of the embodiments of the present invention, rather than all of them. Based on the described embodiments of the present invention, all other embodiments obtained by those skilled in the art without requiring creative effort are within the scope of protection of the present invention.
[0022] Figure 1 This is a flow chart of the implementation method of the coal mine intelligent security inspection system of the present invention; Figure 2 This is a schematic diagram of the process of establishing a device table according to the present invention. The system comprises an edge device and multiple sensing devices evenly distributed in a coal mine. The sensing devices are further divided into coverage devices and auxiliary devices. The sensing devices can be sensor nodes, which are configured on miner equipment, such as miners' hats. All sensing devices can perform transmission and forwarding functions. All sensing devices cover the entire coal mine monitoring area; The edge device is connected to one or more sensing devices; Each sensing device is identified by a unique device ID and knows the coordinates of the edge device; Each sensing device stores a device table. A device table entry contains device ID, energy, device type, storage space, coordinates, centrality, weight, and life cycle. The device type value is equal to 0 or 1. The device type value 0 indicates a covered device, and the device type value 1 indicates an attached device. The initial state of the device table is an empty table; In the initial state, each sensing device is an auxiliary device; The device message contains the message ID, device ID, energy, device type, storage space, coordinates and centrality; The sensing device periodically performs the following operations: Step 101: Start; Step 102: The sensing device sends a device message with a message ID of 1, a device ID equal to its own device ID, energy, device type, storage space, and coordinates equal to its current energy value, device type, storage space, and coordinates, respectively. The centrality is equal to the number of device entries in the device table. If the table is empty, the centrality is 0. Step 103: The perception device that receives the device message determines whether there is a device table entry with a device ID equal to the device ID in the device message. If so, the device ID, energy, device type, storage space, coordinates, and centrality of the entry are respectively set to the device ID, energy, device type, storage space, coordinates, and centrality in the device message, the weight value is equal to 0, and the life cycle is set to the maximum value, for example, 500s. Otherwise, the perception device that receives the device message creates a device table entry with the device ID, energy, device type, storage space, coordinates, and centrality equal to the device ID, energy, device type, storage space, coordinates, and centrality in the device message, the weight value is equal to 0, and the life cycle is set to the maximum value. Step 104: End.
[0023] Through the above process, the sensing device can quickly obtain the device ID, energy, device type, storage space and centrality of the neighbor perception. The innovation of the above process lies in the introduction of the concept of centrality, which is used to: (1) select the best neighbor device to collect and transmit data; (2) reduce the number of covered devices; and (3) improve the success rate of data monitoring for edge device monitoring and early warning.
[0024] Figure 3 This is a schematic diagram of the coverage device selection process described in the present invention. In the initial state, all sensing devices are auxiliary devices; The initial energy and initial storage space of each sensing device are the same; Each sensing device pre-sets the coordinates of the edge device; If the weight of the device entry NE1 of the attached device is equal to 0, the weight w1 is calculated according to formula (1), and the weight of the device entry NE1 is set to the weight w1; wherein e1, c1, and n1 are the energy, storage space, and centrality in the device entry NE1, respectively; o1, o2, and o3 are balance coefficients, the sum of which is equal to 1; e' is the initial energy of the sensing device, which is preset; c' is the initial storage space of the sensing device, which is preset; and n' is the number of all sensing devices included in the system, which is preset; w1=o1×e1 / e'+ o2×c1 / c'+o3×n1 / n' (1) The auxiliary device calculates its own weight according to formula (2), where e2, c2, and n2 are its current energy, storage space, and number of device entries, respectively; o1, o2, and o3 are balance coefficients, the sum of which is equal to 1; e' is the initial energy of the sensing device, which is preset; c' is the initial storage space of the sensing device, which is preset; and n' is the number of all sensing devices included in the system, which is preset. w2=o1×e2 / e'+ o2×c2 / c'+o3×n2 / n' (2) If the weight of the attached device is greater than the weight of all device entries in its own device table, it will mark itself as a covering device; If the weight of the attached device is not less than the weight of all device entries, and for all device entries with weights equal to its own weight, the distance between its coordinates and the edge device is less than the distance between the coordinates in these device entries and the edge device coordinates, then it marks itself as a covering device; The overlay device message contains the message ID and device ID; If the device type of all device entries of the attached device is 1, select all device entries with a greater weight than the device itself, select a device entry from these device entries whose coordinates are closest to those of the edge device, and perform the following operations: Step 201: Start; Step 202: The accessory device sends a coverage device message, the message ID of which is 2, and the device ID is equal to the device ID of the selected device table entry; Step 203: The accessory device that receives the coverage device message determines whether its own device ID is equal to the device ID in the coverage device message. If so, step 204 is executed; otherwise, step 205 is executed. Step 204: The accessory device that receives the coverage device message sets itself as the coverage device; Step 205: End.
[0025] The auxiliary equipment elects the coverage equipment through the above process, so that all coverage equipment covers all the auxiliary equipment in the entire coal mine, and then quickly collects the data information of the coal mine. The above process has the following innovations: (1) The centrality is used to calculate the weight, thereby reducing the number of coverage equipment and improving the success rate of data forwarding; (2) The election power consumption and delay are reduced by self-selection of coverage equipment; (3) The optimal auxiliary equipment with the largest weight is called the coverage equipment, thereby avoiding the problem of data monitoring failure caused by insufficient resources.
[0026] Figure 4 This is a schematic diagram of the coal mine data collection process described in the present invention. Each sensing device stores a collection table, and a collection table entry contains a timestamp, data, and coordinates; the collection table is initially empty. The collected message contains the message ID and device ID; The collection response message contains the message ID, device ID and data; The coverage device periodically performs the following operations: Step 301: Start; Step 302: The covering device sends a collection message with a message ID of 3 and a device ID equal to its own device ID. A timer is started, and the timer value t1 is as shown in formula (3), where t' is the preset time for forwarding the collection message, t'' is the preset time for forwarding the collection response message, and n2 is the number of device entries in the device table. t1=t'+n2×t'' (3) Step 303: The sensing device (including the coverage device and the attached device) that receives the collection message sends a collection response message with a message ID of 4, a device ID equal to the device ID in the collection message, and data equal to the data collected by itself; Step 304: The coverage device that receives the collection response message determines whether its own device ID is equal to the device ID in the collection response message. If yes, execute step 305; otherwise, execute step 307. Step 305: The coverage device that receives the collection response message creates a collection entry. The timestamp of the entry is the current time, the data is equal to the data in the collection response message, and the coordinates are the current coordinates of the device. The device then determines whether the timer has decayed to 0. If so, it executes step 306; otherwise, it executes step 304. Step 306: The coverage device that receives the collection response message constructs a triplet <timestamp, data set, coordinates>, where the timestamp is equal to the average of the timestamps in all collection entries, the data set contains the data in all collection entries, and the coordinates are equal to the average of the coordinates in all collection entries; Step 307: End.
[0027] The coverage device collects messages from neighbor sensing devices through the above process, including gas concentration, etc., and saves them in the collection table. The above process has the following innovations: (1) A timer setting formula is proposed to ensure that the coverage device can receive data sent by all neighbor sensing devices within the timer time; (2) The coverage device uses all collected data to create triplets to construct a data set.
[0028] Figure 5 Schematic diagram of the process of collecting coal mine data sets using the edge device described in the present invention.
[0029] The edge device stores a coal mine table. A coal mine table entry contains timestamp, data set and coordinates. The edge message contains a message ID, a device ID set, a triplet set, and a random number; After the overlay device constructs the triplet <timestamp, dataset, coordinates>, if there is a device entry whose coordinate distance to the edge device is less than the distance between the device and the edge device, the following operations are performed: Step 401: Start; Step 402: The overwriting device selects device table entries whose coordinates are closer to the edge device than the distance between the device and the edge device, generates a random number, and sends an edge message with a message ID of 5, a random number equal to the generated random number, and a device ID set equal to the device IDs of all selected device table entries. The device IDs in the device ID set are sorted in reverse order according to the weights of the device table entries they belong to, i.e., the device table entry corresponding to the first device ID in the device ID set (the device table entry whose device ID is equal to the first device ID) has the largest weight, the device table entry corresponding to the second device ID has the second largest weight, and so on. The triplet set only contains the triplet constructed by itself, and the collection table is cleared. Step 403: If the edge device receives the edge message, execute step 411, otherwise execute step 404; Step 404: The sensing device that receives the edge message determines whether its own device ID is included in the device ID set of the edge message. If yes, execute step 405; otherwise, execute step 412. Step 405: The sensing device that receives the edge message determines whether its device ID is equal to the first device ID in the device ID set of the edge message. If so, step 407 is executed; otherwise, step 406 is executed. Step 406: The sensing device that receives the edge message sets a message variable, the value of which is equal to the received edge message, and sets a timer. The timer value t2 is shown in formula (4), where n' is equal to the position of its own device ID in the device ID set in the edge message. For example, if its own device ID is equal to the second device ID in the set, then n' is equal to 2. t3 is the preset time for forwarding the edge message. If the sensing device receives an edge message between the time when the timer is set and the timer decays to 0, and the random number in the message is equal to the random number in the message variable, then step 412 is executed; otherwise, step 407 is executed. t2=(n'-1)×t3 (4) Step 407: If the sensing device that receives the edge message is a coverage device and the collection table is not empty, then execute step 408; otherwise, execute step 409; Step 408: The sensing device that receives the edge message constructs a triplet <timestamp, data set, coordinates>, where the timestamp is equal to the average of the timestamps in all collection entries, the data set contains the data in all collection entries, and the coordinates are equal to the average of the coordinates in all collection entries, and adds the triplet to the triplet set in the edge message. Step 409: If the sensing device that receives the edge message has a device table entry whose coordinate distance to the edge device is less than the distance between the sensing device and the edge device, then the device executes step 410; otherwise, the device executes step 412. Step 410: The sensing device that receives the edge message selects device table entries whose coordinates are closer to the edge device than the distance between itself and the edge device, clears the device ID set in the edge message, sets the device ID set in the edge message to the device IDs in all selected device table entries, and sorts the device IDs in the device ID set in reverse order according to the weights of their corresponding device table entries. That is, the device table entry corresponding to the first device ID in the device ID set has the largest weight, the device table entry corresponding to the second device ID has the second largest weight, and so on. The edge message is then forwarded, and step 403 is executed. Step 411: After receiving the edge message, the edge device performs the following operations for each triple in the triple set in the edge message: creating a coal mine table entry, where the timestamp, data set, and coordinates of the table entry are respectively equal to the timestamp, data set, and coordinates in the triple; Step 412: End.
[0030] The coverage device sends the collected coal mine information to the edge device through the above process. The above process has the following innovations: (1) The sensing device with the fastest response speed is selected from the device ID set to transmit the triplet set, thereby effectively reducing the data monitoring time and improving the data monitoring success rate; (2) The triplet set is used to collect the triplet sets collected by all coverage devices that transmit edge messages, that is, through a single data transmission process, the triplet data collected by multiple coverage devices is transmitted, thereby reducing the data monitoring time and power consumption, ensuring real-time monitoring of data and early warning; (3) Random numbers are used to ensure the uniqueness of edge messages, thereby ensuring that edge messages can be successfully forwarded; (4) The device ID set and formula (4) are used to solve the problem of device forwarding failure in unicast, ensuring the success rate of coal mine data forwarding.
[0031] Example 1 Based on the simulation parameters in Table 1, this embodiment simulates the implementation method of an intelligent coal mine monitoring data transmission system according to the present invention. Performance analysis is as follows: When the coal mine coverage area is large, the success rate of edge devices receiving coal mine data decreases. When the coal mine coverage area is small, the success rate of edge devices receiving coal mine data increases, with an average data collection success rate of 98.7%.
[0032] Table 1 Parameter Description Parameter value MAC protocol IEEE 802.11 Number of simulations 50 Transmission radius 20 meters Simulation time 24 hours
[0033] The present invention provides a method for implementing an intelligent coal mine monitoring and data transmission system. There are numerous methods and approaches for implementing this technical solution. The above is merely a preferred embodiment of the present invention. It should be noted that those skilled in the art may make improvements and modifications without departing from the principles of the present invention, and such improvements and modifications are also within the scope of protection of the present invention. Any components not specified in this embodiment may be implemented using existing technologies.
Claims
1. A method for implementing an intelligent coal mine monitoring data transmission system, characterized in that: The system includes edge devices and a plurality of sensing devices uniformly distributed in the coal mine, wherein the sensing devices are configured as covering devices and auxiliary devices; An accessory device establishes a device table by sending a device message. If an accessory device meets any of the following conditions, it sets itself as a covering device: Condition 1: the weight of the accessory device is greater than the weights of all entries in the device table; Condition 2: the weight of the accessory device is not less than the weights of all device entries, and the distance between its coordinates and the edge device is less than the distance between the coordinates of all device entries with weights equal to its weight and the coordinates of the edge device; otherwise, the accessory device sends a covering device message to elect a covering device; The coverage device sends a collection message to establish a collection table and starts a timer; The sensing device that receives the collection message sends a collection response message; If the device ID of the coverage device receiving the collection response message is equal to the device ID in the collection response message, a collection entry is created; If the timer decays to 0, construct a triple data structure containing timestamp, data set and device coordinates; The overlay device sends an edge message to the edge device; If the device ID of the sensing device that receives the edge message is equal to the first device ID in the device ID set in the edge message, and there is a device table entry whose coordinate distance to the edge device is less than the distance between the sensing device and the edge device, then forward the edge message; If the device ID of the sensing device that receives the edge message is equal to any other device ID in the device ID set in the edge message except the first device ID, and no edge message with a random number equal to the random number in the message variable is received within the set timer, and there is a device table entry whose coordinates are closer to the edge device than the distance between the device and the edge device, then the edge message is forwarded; After receiving the edge message, the edge device performs the following operations for each triple in the triple set in the edge message: creates a coal mine table entry whose timestamp, data set and coordinates are respectively equal to the timestamp, data set and coordinates in the triple.
2. The method for implementing an intelligent coal mine monitoring data transmission system according to claim 1, characterized in that: The method further comprises: After the coverage device constructs a triple containing timestamp, data set, and coordinates, if there is a device table entry whose coordinates are closer to the edge device than the distance between itself and the edge device, the coverage device selects device table entries whose coordinates are closer to the edge device than the distance between itself and the edge device; in the edge message sent by the coverage device, the message ID is equal to 5, the random number is equal to the random number created by the coverage device, the device ID set is equal to the device IDs in all selected device table entries, and the device IDs in the device ID set are sorted in reverse order according to the weight of the device table entry to which they are located. The triple set only contains the triples constructed by itself, and the collection table is cleared; The perception device that receives the edge message sets a message variable, the value of which is equal to the received edge message; the timer value set by the perception device that receives the edge message is equal to (n'-1)×t3, where n' is equal to the position of its own device ID in the device ID set in the edge message, and t3 is equal to the preset time for forwarding the edge message; in the edge message forwarded by the perception device that receives the edge message, if the perception device is a covering device and the collection table is not an empty table, a triple containing a timestamp, a data set and coordinates is constructed, where the timestamp is equal to the average value of the timestamps in all collection table items, the data set contains the data in all collection table items, and the coordinates are equal to the average value of the coordinates in all collection table items, and the created triple is added to the triple set in the edge message.
3. The method for implementing an intelligent coal mine monitoring data transmission system according to claim 1, characterized in that: The method further comprises: Each sensing device stores a collection table. A collection table entry contains timestamp, data, and coordinates. The collection table is initially empty. The collection message contains the message ID and device ID. The collection response message contains the message ID, device ID, and data. In the collection message sent by the coverage device, the message ID is 3, the device ID is equal to its own device ID, and the timer value is set to t' + n2 × t'', where t' is the preset time for forwarding the collection message, t'' is the preset time for forwarding the collection response message, and n2 is the number of its own device entries in the device table; In the collection response message sent by the perception device that receives the collection message, the message ID is 4, the device ID is equal to the device ID in the collection message, and the data is equal to the data collected by itself; in the collection table item created by the coverage device that receives the collection response message, the timestamp is equal to the current time, the data is equal to the data in the collection response message, and the coordinates are equal to its current coordinates; in the triplet constructed by the coverage device that receives the collection response message, the timestamp is equal to the average of the timestamps in all collection table items, the data set contains the data in all collection table items, and the coordinates are equal to the average of the coordinates in all collection table items.
4. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: The method further comprises: The edge device stores a coal mine table, and a coal mine table entry contains a timestamp, a data set, and coordinates; the edge message contains a message ID, a device ID set, a triplet set, and a random number; the device message contains a message ID, a device ID, energy, a device type, a storage space, coordinates, and a centrality; in the device message sent by the sensing device, the message ID of the message is 1, the device ID is equal to its own device ID, the energy, device type, storage space, and coordinates are equal to its current energy value, device type, storage space, and coordinates respectively, and the centrality is equal to the number of device table entries in its own device table. If the device table is empty, the centrality is 0.
5. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: The method further comprises: If the perception device that receives the device message has a device table entry whose device ID is equal to the device ID in the device message, the device ID, energy, device type, storage space, coordinates and centrality of the table entry are set to the device ID, energy, device type, storage space, coordinates and centrality in the device message respectively, the weight value is equal to 0, and the life cycle is set to the maximum value; otherwise, the perception device creates a device table entry, the device ID, energy, device type, storage space, coordinates and centrality of the table entry are equal to the device ID, energy, device type, storage space, coordinates and centrality in the device message respectively, the weight value is equal to 0, and the life cycle is set to the maximum value.
6. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: In the edge message forwarded by the perception device that receives the edge message, the perception device selects device table entries whose coordinates are less than the distance between itself and the edge device, clears the device ID set in the edge message, sets the device ID set in the edge message to the device IDs in all selected device table entries, and sorts the device IDs in the device ID set in reverse order according to the weight of the device table entry in which they are located.
7. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: Each sensing device is identified by a unique device ID and pre-configured with the coordinates of the edge device; each sensing device stores a device table, and a device table entry contains the device ID, energy, device type, storage space, coordinates, centrality, weight and life cycle; the device type value is equal to 0 or 1, the device type value 0 indicates a coverage device, and the device type value 1 indicates an accessory device; the initial state of the device table is an empty table; in the initial state, each sensing device is an accessory device.
8. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: The initial energy and initial storage space of each sensing device are the same; if the weight of the device table entry of the sensing device is equal to 0, the weight of the device table entry is set to o1×e1 / e'+ o2×c1 / c'+o3×n1 / n', where e1, c1, and n1 are equal to the energy, storage space, and centrality in the device table entry, respectively, o1, o2, and o3 are balance coefficients, the sum of which is equal to 1, e' is the initial energy of the sensing device, which is pre-set, c' is the initial storage space of the sensing device, which is pre-set, and n' is the number of all sensing devices included in the system, which is pre-set; the sensing device sets its own weight to o1×e2 / e'+ o2×c2 / c'+o3×n2 / n', where e2, c2, and n2 are its current energy, storage space, and the number of device table entries, respectively.
9. The method for implementing an intelligent coal mine monitoring data transmission system according to any one of claims 1 to 3, characterized in that: The coverage device message contains a message ID and a device ID. If the device type of all device table items of the attached device is 1, all device table items with a greater weight than its own are selected, and a device table item is selected from these device table items. The coordinates of the device table item are closest to the coordinates of the edge device. The attached device sends a coverage device message with a message ID of 2 and a device ID equal to the device ID in the device table item. If the device ID of the attached device that receives the coverage device message is equal to the device ID in the coverage device message, the attached device sets itself as the coverage device.
Citation Information
Patent Citations
Routing Message Delivery Method, Network Node Using The Same And Communication Network Using The Same
CN106161234A
Implementation method of safety alarm system based on Internet of Vehicles
CN110996292A
Coal mine monitoring system and method and computer storage medium
CN112165511A
Implementation method of intelligent irrigation management system
CN118355847A
Implementation method of intelligent farmland environment monitoring system
CN119767377A