A water pressure monitoring method, device and terminal equipment
By accurately identifying the location and transmission requirements of water pressure monitoring nodes, optimizing communication slicing and resource allocation, the problems of incomplete and untimely water pressure monitoring were solved, achieving timeliness and accuracy in water pressure monitoring.
Patent Information
- Application Number
- CN202511437992.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-10-10
- Publication Date
- 2026-01-27
- Estimated Expiration
- 2045-10-10
AI Technical Summary
Existing technologies for water pressure monitoring are incomplete and untimely, and water pressure stability is difficult to guarantee. In particular, in complex pipe network structures, it is difficult to accurately reflect the overall water pressure status and capture water pressure dynamics in a timely manner.
By acquiring the location, communication requirements, and resource information of water pressure monitoring nodes, similarity is calculated and communication slices are divided to optimize resource allocation so that the transmission requirements of each node are met and resource waste or overload is avoided.
It achieves timely and accurate water pressure monitoring, ensures stable data transmission from each node, maximizes the use of communication resources, and avoids resource idleness or overload.
Smart Images

Figure CN120897197B_ABST
Abstract
Description
Technical Field
[0001] This application belongs to the field of wireless communication technology, and in particular relates to water pressure monitoring methods, devices and terminal equipment. Background Technology
[0002] With the acceleration of urbanization and the advancement of various infrastructure constructions, water pressure monitoring is becoming increasingly important for ensuring water supply security and improving pipeline network operation efficiency. Intelligent pipeline water pressure monitoring technology, as an important direction for the intelligent construction of urban water supply, drainage, and gas infrastructure in recent years, is developing towards greater intelligence, networking, precision, and environmental friendliness.
[0003] Existing technologies typically rely on sensors deployed at key nodes of the pipeline network to transmit the collected water pressure data to a data processing center via wired or wireless communication technologies. The data processing center usually uses a database management system to store the data and uses data analysis and visualization tools to process and present the data.
[0004] However, in existing technologies, due to the complex structure of the pipeline network, the dense branches and numerous nodes, the water pressure varies significantly in different areas. Data from a single or small number of monitoring points cannot accurately reflect the overall water pressure status. Furthermore, water load fluctuates greatly, such as the surge in water consumption during morning and evening peak hours and the sharp decrease at night, resulting in frequent changes in water pressure. The timed sampling method in existing technologies often misses key change nodes and cannot capture the real-time dynamics of water pressure in a timely manner. Summary of the Invention
[0005] In view of this, the present application provides a water pressure monitoring method, device and terminal equipment, which aims to solve the problems of incomplete and untimely water pressure monitoring and difficulty in ensuring water pressure stability in the prior art.
[0006] The first aspect of this application provides a water pressure monitoring method, including:
[0007] The system acquires location information, communication requirement information, and communication resource information of multiple water pressure monitoring nodes; the location information, communication requirement information, and communication resource information of the water pressure monitoring nodes are in one-to-one correspondence.
[0008] Based on the location information and communication requirements of the multiple water pressure monitoring nodes, the similarity information of the multiple water pressure monitoring nodes is calculated.
[0009] Based on the similarity information of the multiple water pressure monitoring nodes and the preset water pressure monitoring node similarity threshold, the communication requirement information of the multiple water pressure monitoring nodes is divided to generate multiple initial water pressure monitoring communication slice division information.
[0010] Based on the communication resource information of the multiple water pressure monitoring nodes, the multiple initial water pressure monitoring communication slice division information, and the preset water pressure monitoring communication slice division coefficient, multiple target water pressure monitoring communication slice division information is generated.
[0011] Based on the communication slice division information of the multiple target water pressure monitoring, the water pressure monitoring information is transmitted and processed so as to perform water pressure monitoring processing through the water pressure monitoring information.
[0012] A second aspect of this application provides a water pressure monitoring device, comprising:
[0013] The information acquisition module is used to acquire the location information of multiple water pressure monitoring nodes, the communication requirement information of multiple water pressure monitoring nodes, and the communication resource information of multiple water pressure monitoring nodes; the location information, communication requirement information, and communication resource information of the water pressure monitoring nodes correspond one-to-one.
[0014] The water pressure monitoring node similarity information calculation module is used to calculate the similarity information of multiple water pressure monitoring nodes based on the location information of the multiple water pressure monitoring nodes and the communication requirement information of the multiple water pressure monitoring nodes;
[0015] The initial water pressure monitoring communication slice partitioning information generation module is used to partition the communication requirement information of the multiple water pressure monitoring nodes according to the similarity information of the multiple water pressure monitoring nodes and the preset water pressure monitoring node similarity threshold, and generate multiple initial water pressure monitoring communication slice partitioning information.
[0016] The target water pressure monitoring communication slice division information generation module is used to generate multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, multiple initial water pressure monitoring communication slice division information, and preset water pressure monitoring communication slice division coefficients.
[0017] The water pressure monitoring information transmission module is used to process and transmit water pressure monitoring information according to the information of the multiple target water pressure monitoring communication slices, so as to perform water pressure monitoring processing through the water pressure monitoring information.
[0018] A third aspect of this application provides a terminal device, the terminal device including a memory and a processor, the memory storing a computer program executable on the processor, the processor executing the computer program to implement the steps of the water pressure monitoring method described in the first aspect above.
[0019] A fourth aspect of this application provides a computer-readable storage medium, comprising: storing a computer program, which, when executed by a processor, implements the steps of the water pressure monitoring method described in the first aspect above.
[0020] The beneficial effects of this application embodiment compared with the prior art are as follows: This application first accurately identifies water pressure monitoring nodes that share common geographical distribution and transmission requirements, avoiding waste of transmission resources or failure to meet the transmission requirements of some nodes due to excessive differences in node requirements during resource allocation. By fully combining water pressure monitoring nodes with similar transmission requirements with the actual available communication resources, it ensures that the resource configuration of each communication slice used for water pressure monitoring can not only meet the transmission requirements of all water pressure monitoring nodes within the slice, but also maximize the utilization of overall communication resources, avoiding resource idleness or overload. This ensures that the water pressure monitoring data collected by each water pressure monitoring node can be stably transmitted in the communication slice matching that water pressure monitoring node, thereby effectively guaranteeing the timeliness and accuracy of water pressure monitoring. Attached Figure Description
[0021] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0022] Figure 1 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment 1 of this application;
[0023] Figure 2 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment 2 of this application;
[0024] Figure 3 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment 3 of this application;
[0025] Figure 4 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment 4 of this application;
[0026] Figure 5 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment 5 of this application;
[0027] Figure 6 This is a schematic diagram illustrating the implementation process of the water pressure monitoring method provided in Embodiment Six of this application;
[0028] Figure 7 This is a schematic diagram of the structure of the water pressure monitoring device provided in the embodiments of this application;
[0029] Figure 8 This is a schematic diagram of the terminal device provided in the embodiments of this application. Detailed Implementation
[0030] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.
[0031] To illustrate the technical solution described in this application, specific embodiments are provided below.
[0032] Figure 1 A flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment 1 of this application is shown, and is described in detail below:
[0033] Step S101: Obtain the location information of multiple water pressure monitoring nodes, the communication requirement information of multiple water pressure monitoring nodes, and the communication resource information of multiple water pressure monitoring nodes; the location information of the water pressure monitoring nodes, the communication requirement information of the water pressure monitoring nodes, and the communication resource information of the water pressure monitoring nodes correspond one-to-one.
[0034] In this embodiment, the location information of the water pressure monitoring nodes refers to the specific coordinates of all monitoring nodes used to collect water pressure data within the coverage area of the outdoor water conservancy project water pressure monitoring system in the actual geographic space. This can be achieved during the installation and deployment phase by using a differential GPS locator to locate the installation position of each water pressure monitoring node in the field, recording the latitude and longitude coordinates or the planar coordinates under a preset coordinate system within the project area. The communication requirements information of the water pressure monitoring nodes refers to the various performance requirements that each water pressure monitoring node proposes for the communication process when transmitting the collected water pressure data. The communication resource information of the water pressure monitoring nodes refers to the various resource parameters that the communication system can allocate to each node for transmitting water pressure data to meet its communication requirements.
[0035] In this embodiment, optionally, the communication requirement information for water pressure monitoring nodes may include transmission delay requirement information, transmission bandwidth requirement information, and transmission error rate requirement information. The transmission delay requirement information can be calculated using water conservancy industry standard documents, referring to the maximum allowable time from data acquisition completion to data delivery to the data center for each water pressure monitoring node. The transmission bandwidth requirement information can be calculated using the sampling frequency and data format of the water pressure monitoring node. For example, if a water pressure monitoring node collects water pressure data once every 5 seconds, with a single data size of 1KB, the minimum transmission bandwidth for that node can be calculated to be approximately 0.0156Mbps. This can also be manually set based on protocol overhead during data transmission and then obtained via computer. The transmission error rate requirement information can be manually formulated and entered into a computer, referencing communication industry data transmission reliability standards and considering the data accuracy requirements of water conservancy projects. This information can represent the transmission error rate requirement for each water pressure monitoring node.
[0036] In this embodiment, optionally, the communication resource information of the water pressure monitoring node may include the water pressure monitoring node transmission time resource information, the water pressure monitoring node transmission bandwidth resource information, and the water pressure monitoring node transmission retransmission count resource information. The water pressure monitoring node transmission time resource information can be calculated based on the communication system's time scheduling mechanism and total time resources. For example, if the communication system uses time division multiple access (TDMA) technology, dividing one second into 100 time slices, and assuming the communication system has 50 water pressure monitoring nodes, and each node needs to obtain at least one time slice for data transmission, then the transmission time resource information for each node can be set to "allocate one 10ms time slice every second". Furthermore, by combining the total time resources, the number of water pressure monitoring nodes, and the experimental requirements of each water pressure monitoring node, the transmission time resources of each water pressure monitoring node can be allocated through a time slice scheduling algorithm, thereby completing the acquisition of the water pressure monitoring node transmission time resource information. The time-slice scheduling algorithm can be a priority-based algorithm. For example, high priority can be assigned to water pressure monitoring nodes with extremely low latency requirements, while low priority can be assigned to water pressure monitoring nodes with relatively relaxed latency requirements. During scheduling, time slices are allocated to high-priority water pressure monitoring nodes first, ensuring that they can occupy communication resources first to complete data transmission. Low-priority nodes then use the remaining time slice resources after the time slices of high-priority nodes have been allocated. The transmission bandwidth resource information of water pressure monitoring nodes can be obtained by acquiring the total bandwidth resource of the communication system and the node bandwidth requirement allocation information. For example, if the total bandwidth available for water pressure monitoring in the communication system is 100Mbps, and the total bandwidth requirement of 50 monitoring nodes is 80Mbps, the total bandwidth can be allocated to each node according to the node bandwidth requirement ratio, thereby reading the transmission bandwidth resource information of each node. The retransmission count resource information of water pressure monitoring nodes can be manually set and entered into the computer, and can be obtained by consulting the background configuration files of all water pressure monitoring nodes.
[0037] Step S102: Based on the location information of the multiple water pressure monitoring nodes and the communication requirement information of the multiple water pressure monitoring nodes, the similarity information of the multiple water pressure monitoring nodes is calculated.
[0038] In this embodiment, for any two water pressure monitoring nodes, the physical distance between the two nodes can be calculated first based on their location information to determine their proximity. Then, the differences in transmission delay requirements, transmission bandwidth requirements, and transmission error rate requirements between the two nodes can be calculated. This can be achieved by summing these differences, and the sum is used as the water pressure monitoring node similarity information. It is understood that one water pressure monitoring node similarity information corresponds to the location information of two water pressure monitoring nodes.
[0039] Step S103: Based on the similarity information of the multiple water pressure monitoring nodes and the preset similarity threshold of the water pressure monitoring nodes, the communication requirement information of the multiple water pressure monitoring nodes is divided and processed to generate multiple initial water pressure monitoring communication slice division information.
[0040] In this embodiment, the preset water pressure monitoring node similarity threshold can be set manually. First, the communication requirement information of multiple water pressure monitoring nodes corresponding to each water pressure monitoring node can be treated as multiple communication slices, with each communication slice as an independent unit to be divided. Then, the water pressure monitoring node similarity information between any two water pressure monitoring nodes in the multiple water pressure monitoring node similarity information is extracted one by one. This water pressure monitoring node similarity information is compared with the preset water pressure monitoring node similarity threshold. If the water pressure monitoring node similarity information is greater than the preset water pressure monitoring node similarity threshold, it indicates that the two water pressure monitoring nodes have a high degree of consistency in communication requirements, and their corresponding communication requirement information can be grouped into the same group. If the water pressure monitoring node similarity information is less than or equal to the preset water pressure monitoring node similarity threshold, it indicates that the two water pressure monitoring nodes have significant differences in communication requirements, and their corresponding communication requirement information can be grouped into different groups. Two communication slices in the same group can be merged, while communication slices in different groups are not merged. Finally, the merged communication slices and the communication slices that were not merged due to being in different groups are all used as multiple initial water pressure monitoring communication slice division information.
[0041] Step S104: Generate multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, the multiple initial water pressure monitoring communication slice division information, and the preset water pressure monitoring communication slice division coefficient.
[0042] In this embodiment, the preset water pressure monitoring communication slice division coefficient can be set manually. It can refer to a pre-set quantitative parameter used to balance the allocation of communication resource information of multiple water pressure monitoring nodes and to standardize the adjustment logic of multiple initial water pressure monitoring communication slice division information during the water pressure monitoring communication slice division process in outdoor water conservancy projects. It can be set manually in combination with actual needs such as resource utilization efficiency targets and node communication demand guarantee priorities in the water pressure monitoring scenario. It is used to ensure that the communication slice division process meets both resource constraints and the communication needs of each water pressure monitoring node. For example, when the ratio of the total transmission bandwidth resource demand of water pressure monitoring nodes in an initial slice to the allocable bandwidth resource exceeds the water pressure monitoring communication slice division coefficient, it can be determined that the slice needs to be split to avoid resource overload. First, the initial water pressure monitoring communication slice allocation information can be broken down one by one to determine all the water pressure monitoring nodes included in each initial water pressure monitoring communication slice allocation information. Then, based on the correspondence of the water pressure monitoring nodes, the communication resource information of multiple water pressure monitoring nodes associated with each water pressure monitoring node can be extracted. This can be done by statistically analyzing the total water pressure monitoring node transmission time resource requirement, total water pressure monitoring node transmission bandwidth resource requirement, and total water pressure monitoring node transmission retransmission number resource requirement for all nodes within each initial water pressure monitoring communication slice allocation information. Subsequently, the total resource requirements of each initial water pressure monitoring communication slice allocation information can be compared with the actual resources that can be allocated to that slice. At the same time, analysis and calculation can be performed in conjunction with the preset water pressure monitoring communication slice allocation coefficient. Specifically, if the total water pressure monitoring node transmission time resource requirement of a node within the initial water pressure monitoring communication slice allocation information exceeds the allocable time resource, or the total water pressure monitoring node transmission bandwidth resource requirement exceeds the allocable bandwidth resource, or the total water pressure monitoring node transmission retransmission number resource requirement exceeds the allocable bandwidth resource, the allocation will be terminated. If the initial water pressure monitoring communication slice allocation information cannot be compensated for by internal adjustments based on the preset water pressure monitoring communication slice allocation coefficient, then the initial water pressure monitoring communication slice allocation information is split, and some nodes are allocated to other initial water pressure monitoring communication slice allocation information with redundant resources. If there is redundancy in the resources within the initial water pressure monitoring communication slice allocation information, and it is determined according to the preset water pressure monitoring communication slice allocation coefficient that nodes that can absorb other slices are included, then the nodes that meet the conditions are assigned to that slice. Then, similarity calculations can be performed on each pair of slices after splitting or merging adjustments to ensure that the water pressure monitoring node transmission time resource requirements, water pressure monitoring node transmission bandwidth resource requirements, and water pressure monitoring node transmission retransmission number resource requirements of each adjusted slice are all met, and meet the preset water pressure monitoring communication slice allocation coefficient requirements. After adjusting and verifying all multiple initial water pressure monitoring communication slice allocation information, multiple sets of slice allocation results are generated as multiple target water pressure monitoring communication slice allocation information.
[0043] Step S105: Based on the multiple target water pressure monitoring communication slice division information, the water pressure monitoring information is processed for transmission, so as to perform water pressure monitoring processing through the water pressure monitoring information.
[0044] In this embodiment, a target water pressure monitoring communication slice partition can be used as a communication slice for transmitting and processing water pressure monitoring information. First, the range of water pressure monitoring nodes and the allocated communication resources corresponding to each target water pressure monitoring communication slice partition can be determined, along with the transmission time resource information, transmission bandwidth resource information, and retransmission count resource information for the water pressure monitoring nodes corresponding to that target water pressure monitoring communication slice partition. Then, after each water pressure monitoring node collects water pressure monitoring information at a specific frequency, based on the target water pressure monitoring communication slice partition to which the water pressure monitoring node belongs, the water pressure monitoring information is transmitted to the data processing center within the allocated water pressure monitoring node transmission time resource and corresponding water pressure monitoring node transmission bandwidth resource. If data packet loss or errors occur during transmission, the retransmission mechanism corresponding to the water pressure monitoring node retransmission count resource is triggered, and the water pressure monitoring information is retransmitted within the allowed retransmission count to ensure... Once the water pressure monitoring information is fully transmitted, the data processing center can classify and organize the information according to the physical coordinates of the target water pressure monitoring communication slices. Combining this with the location information of the water pressure monitoring nodes corresponding to each communication slice, the center can perform real-time analysis and verification of the water pressure monitoring information for different regions and nodes to determine whether the water pressure values of each node are within the normal range. If an abnormal water pressure is detected at a node, such as excessively high, low, or sudden changes, the center can eliminate transmission interference by considering the communication resource usage of the target water pressure monitoring communication slice to which the node belongs. After confirming the abnormality, a water pressure anomaly warning is generated and associated with the corresponding water pressure monitoring node location information to achieve water pressure monitoring processing.
[0045] The water pressure monitoring method provided in this application first accurately identifies water pressure monitoring nodes that share common geographical distribution and transmission requirements. This avoids wasting transmission resources or failing to meet the transmission requirements of some nodes due to excessive differences in node requirements during resource allocation. By fully combining water pressure monitoring nodes with similar transmission requirements with the actual available communication resources, it ensures that the resource configuration of each communication slice used for water pressure monitoring can not only meet the transmission requirements of all water pressure monitoring nodes within the slice, but also maximize the utilization of overall communication resources, avoiding resource idleness or overload. This ensures that the water pressure monitoring data collected by each water pressure monitoring node can be stably transmitted in the communication slice matching that water pressure monitoring node, thereby effectively guaranteeing the timeliness and accuracy of water pressure monitoring.
[0046] Figure 2 The flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment 2 of this application is shown. The difference between this method and Embodiment 1 is that step S102 specifically includes:
[0047] Step S201: Calculate the spatial distance information of the multiple water pressure monitoring nodes based on their location information.
[0048] In this embodiment, the spatial distance information of water pressure monitoring nodes can be the relative distance between any two water pressure monitoring nodes in the actual geographic space. It can be used to reflect the degree of location correlation between different water pressure monitoring nodes. It can be obtained by extracting the coordinate data from the location information of multiple water pressure monitoring nodes corresponding to each water pressure monitoring node, and using the geographic spatial distance calculation method to calculate the coordinates of any two water pressure monitoring nodes. The calculation result is used as the spatial distance information of multiple water pressure monitoring nodes.
[0049] Step S202: Based on the transmission delay requirement information, transmission bandwidth requirement information, and transmission error rate requirement information of the multiple water pressure monitoring nodes, calculate the transmission delay requirement difference information, transmission bandwidth requirement difference information, and transmission error rate requirement difference information of the multiple water pressure monitoring nodes; the spatial distance information of the water pressure monitoring nodes, the transmission delay requirement difference information, the transmission bandwidth requirement difference information, and the transmission error rate requirement difference information correspond one-to-one.
[0050] In this embodiment, the transmission delay requirement information of any two water pressure monitoring nodes can be extracted and subtracted. The absolute value of the subtraction result is taken as the transmission delay requirement difference information of the two water pressure monitoring nodes. The transmission bandwidth requirement information of any two water pressure monitoring nodes can be extracted, the values are subtracted and the absolute value is taken to obtain the transmission bandwidth requirement difference information. The transmission bit error rate requirement information of any two water pressure monitoring nodes can be extracted, the values are subtracted and the absolute value is taken to obtain the transmission bit error rate requirement difference information.
[0051] Step S203: Based on the preset similarity calculation weights for water pressure monitoring nodes, the spatial distance information of the multiple water pressure monitoring nodes, the transmission delay requirement difference information of the multiple water pressure monitoring nodes, the transmission bandwidth requirement difference information of the multiple water pressure monitoring nodes, and the transmission error rate requirement difference information of the multiple water pressure monitoring nodes are weighted and summed to calculate the water pressure monitoring node similarity information.
[0052] In this embodiment, the preset weights for calculating the similarity of water pressure monitoring nodes can be manually set. These weights reflect the importance of spatial distance information, transmission delay requirement difference information, transmission bandwidth requirement difference information, and transmission error rate requirement difference information for each pair of water pressure monitoring nodes in the similarity calculation. The spatial distance information, transmission delay requirement difference information, transmission bandwidth requirement difference information, and transmission error rate requirement difference information for each pair of water pressure monitoring nodes can be multiplied by their respective weights. These four products are then summed, and the sum is used as the water pressure monitoring node similarity information for that pair of nodes.
[0053] The water pressure monitoring method provided in this application accurately quantifies the similarity between various water pressure monitoring nodes, improves the adaptability of the similarity information of multiple water pressure monitoring nodes to the actual water pressure monitoring scenario requirements, thereby improving the rationality and accuracy of communication slice division, so as to ensure the efficiency and stability of water pressure monitoring information transmission.
[0054] Figure 3 The flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment 3 of this application is shown. The difference between this method and Embodiment 1 is that step S103 specifically includes:
[0055] Step S301: Determine whether the similarity information of the water pressure monitoring node is greater than the preset similarity threshold of the water pressure monitoring node; if yes, proceed to step S302; if no, proceed to step S303.
[0056] In this embodiment, the preset water pressure monitoring node similarity threshold can be manually set and used to define the critical value of the similarity between different water pressure monitoring nodes. The similarity information of each water pressure monitoring node can be compared with the preset threshold. When the similarity information is greater than the preset threshold, it indicates that the two corresponding water pressure monitoring nodes have high consistency in communication requirements and are suitable for merging. When the similarity information is less than or equal to the preset threshold, it indicates that the two corresponding water pressure monitoring nodes have significant differences in communication requirements and are not suitable for merging.
[0057] Step S302: Merge the communication requirement information of multiple water pressure monitoring nodes corresponding to the water pressure monitoring node similarity information to generate initial water pressure monitoring communication slice division information.
[0058] In this embodiment, multiple communication requirement information of two water pressure monitoring nodes corresponding to the water pressure monitoring node similarity information can be extracted. The water pressure monitoring node transmission delay requirement information, water pressure monitoring node transmission bandwidth requirement information, and water pressure monitoring node transmission bit error rate requirement information of these two water pressure monitoring nodes are integrated to generate a set containing the communication requirement features of the two water pressure monitoring nodes. This set serves as the initial water pressure monitoring communication slice partitioning information and is used to achieve the merging processing of similar water pressure monitoring node communication requirement information.
[0059] Step S303: Based on the communication requirement information of multiple water pressure monitoring nodes corresponding to the water pressure monitoring node similarity information, generate multiple initial water pressure monitoring communication slice division information.
[0060] In this embodiment, when the similarity information of water pressure monitoring nodes is less than or equal to the preset similarity threshold of water pressure monitoring nodes, it indicates that the two water pressure monitoring nodes corresponding to the similarity information of water pressure monitoring nodes have significant differences in communication requirements. At this time, the communication requirements information of the two water pressure monitoring nodes are not merged. Instead, the multiple communication requirements information of each water pressure monitoring node are treated as independent units, and each unit constitutes an initial water pressure monitoring communication slice partitioning information, thereby generating multiple independent initial water pressure monitoring communication slice partitioning information.
[0061] The water pressure monitoring method provided in this application embodiment ensures that the communication needs of water pressure monitoring nodes with high similarity can be effectively merged, and that the communication needs of water pressure monitoring nodes with large differences remain independent, thereby improving the rationality and accuracy of the initial water pressure monitoring communication slice division information, so as to ensure the high efficiency of water pressure monitoring information transmission and processing.
[0062] Figure 4 The flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment 4 of this application is shown. The difference between this method and Embodiment 1 is that step S104 specifically includes:
[0063] Step S401: Based on the location information of multiple water pressure monitoring nodes corresponding to the multiple initial water pressure monitoring communication slice division information, obtain the location information of multiple water pressure monitoring communication slice nodes and the number information of multiple water pressure monitoring communication slice nodes.
[0064] In this embodiment, it can be understood that an initial water pressure monitoring communication slice division information can be used as a separate communication slice initially divided. Each communication slice corresponds to a set of water pressure monitoring nodes. First, all water pressure monitoring nodes included in each initial water pressure monitoring communication slice division information can be extracted one by one. Then, the water pressure monitoring node location information of all water pressure monitoring nodes in the same initial water pressure monitoring communication slice division information can be integrated into a set exclusive to that communication slice, which serves as the location information of multiple water pressure monitoring communication slice nodes. At the same time, the specific number of water pressure monitoring nodes included in each initial water pressure monitoring communication slice division information can be counted. The number of water pressure monitoring nodes corresponding to each communication slice is the water pressure monitoring communication slice node quantity information, and the location information of each water pressure monitoring communication slice node matches the corresponding water pressure monitoring communication slice node quantity information one by one.
[0065] Step S402: Based on the location information of the multiple water pressure monitoring communication slice nodes and the preset water pressure monitoring channel fading coefficient, the transmission delay information of the multiple water pressure monitoring communication slice nodes is calculated.
[0066] In this embodiment, the preset water pressure monitoring channel fading coefficient can be set manually or in conjunction with the communication environment of outdoor water conservancy projects. It can be used to reflect the degree of attenuation of communication signals during transmission. For the location information of each water pressure monitoring communication slice node, the slice center position can be obtained by first calculating the average coordinates of all water pressure monitoring node location information within the communication slice. Then, the geographical distance from each water pressure monitoring node within the communication slice to the slice center position can be calculated. This geographical distance can be multiplied by the preset water pressure monitoring channel fading coefficient. The multiplication result is used to quantify the impact of wireless communication signal attenuation on transmission speed during transmission from the water pressure monitoring node to the slice center position, thereby calculating the transmission time of each water pressure monitoring node. The transmission times of all water pressure monitoring nodes within the same communication slice can be integrated to obtain the transmission delay information of multiple water pressure monitoring communication slice nodes corresponding to that communication slice.
[0067] Step S403: Based on the water pressure monitoring node transmission bandwidth resource information and water pressure monitoring node transmission bandwidth requirement information corresponding to the location information of the multiple water pressure monitoring communication slice nodes, calculate the bandwidth utilization information of multiple initial water pressure monitoring communication slice nodes.
[0068] In this embodiment, the water pressure monitoring nodes included in each communication slice can be determined first based on the location information of multiple water pressure monitoring communication slice nodes. Then, the transmission bandwidth resource information corresponding to each water pressure monitoring node can be extracted, i.e., the bandwidth allocated to each water pressure monitoring node by the communication system, and the transmission bandwidth requirement information corresponding to each water pressure monitoring node can also be extracted, i.e., the minimum bandwidth required for data transmission by the water pressure monitoring node. For each communication slice, the sum of the transmission bandwidth resources of all nodes within the communication slice and the sum of the transmission bandwidth requirements of all nodes can be calculated. The ratio obtained by dividing the sum of bandwidth requirements by the sum of bandwidth resources is the bandwidth utilization rate of the communication slice. These ratios of all communication slices are integrated to obtain multiple initial water pressure monitoring communication slice node bandwidth utilization rate information.
[0069] Step S404: Based on the transmission delay information of the multiple water pressure monitoring communication slice nodes, the bandwidth utilization information of the multiple initial water pressure monitoring communication slice nodes, the number of multiple water pressure monitoring communication slice nodes, and the preset water pressure monitoring communication slice partitioning quality characterization weight, multiple water pressure monitoring communication slice partitioning quality characterization information is calculated; the water pressure monitoring communication slice partitioning quality characterization information corresponds one-to-one with the initial water pressure monitoring communication slice partitioning information.
[0070] In this embodiment, the preset weights for the quality characterization of water pressure monitoring communication slices can be manually set. These weights reflect the importance of transmission delay information of water pressure monitoring communication slice nodes, bandwidth utilization information of initial water pressure monitoring communication slice nodes, and the number of water pressure monitoring communication slice nodes in evaluating the slice division quality. The initial water pressure monitoring communication slice division information can be used as the first divided communication slice. The transmission delay information of each water pressure monitoring communication slice node corresponding to each first divided communication slice can be multiplied by its corresponding weight, the bandwidth utilization information of the initial water pressure monitoring communication slice node can be multiplied by its corresponding weight, and the number of water pressure monitoring communication slice nodes can be normalized and then multiplied by its corresponding weight. These three products can then be added together, and the sum is the evaluation result of the first divided communication slice. The combined evaluation results of all initial slices serve as the quality characterization information for multiple water pressure monitoring communication slice divisions.
[0071] Step S405: Based on the quality characterization information of the multiple water pressure monitoring communication slices and the multiple initial water pressure monitoring communication slices, generate multiple intermediate water pressure monitoring communication slices.
[0072] In this embodiment, the quality characterization information of multiple water pressure monitoring communication slices can be sorted first, and the communication resources of the water pressure monitoring nodes corresponding to the initial water pressure monitoring communication slices whose quality characterization information is in the latter half can be adjusted. Specifically, some water pressure monitoring nodes can be reassigned to the initial water pressure monitoring communication slices whose quality characterization information is in the first half, and the new communication slices formed after adjustment can be used as multiple intermediate water pressure monitoring communication slices.
[0073] Step S406: Based on the multiple intermediate water pressure monitoring communication slice division information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice division quality characterization weight, the multiple intermediate water pressure monitoring communication slice division quality characterization information is calculated.
[0074] In this embodiment, the water pressure monitoring nodes included in each intermediate water pressure monitoring communication slice division information can be determined first. The location information of these water pressure monitoring nodes can be extracted. The transmission delay information of each intermediate water pressure monitoring communication slice division information can be calculated by combining the preset water pressure monitoring channel fading coefficient. Then, the number of water pressure monitoring communication slice nodes in each intermediate water pressure monitoring communication slice division information can be counted, and the bandwidth utilization information of the water pressure monitoring communication slice nodes in the intermediate water pressure monitoring communication slice division information can be calculated. Then, the transmission delay information, the number of water pressure monitoring communication slice nodes, and the bandwidth utilization information of the water pressure monitoring communication slice nodes are multiplied by the corresponding water pressure monitoring communication slice division quality characterization weights, and added together. The sum is used as the intermediate water pressure monitoring communication slice division quality characterization information of each intermediate water pressure monitoring communication slice division information.
[0075] Step S407: Generate multiple target water pressure monitoring communication slice division information based on the multiple intermediate water pressure monitoring communication slice division quality characterization information, the multiple intermediate water pressure monitoring communication slice division information, the preset water pressure monitoring communication slice division quality characterization threshold, and the preset water pressure monitoring communication slice division coefficient.
[0076] In this embodiment, both the preset water pressure monitoring communication slice partitioning quality characterization threshold and the preset water pressure monitoring communication slice partitioning coefficient can be manually set. First, the quality characterization information of each intermediate water pressure monitoring communication slice partitioning can be compared with the preset water pressure monitoring communication slice partitioning quality characterization threshold. If the intermediate water pressure monitoring communication slice partitioning quality characterization information is greater than the preset water pressure monitoring communication slice partitioning quality characterization threshold, then, combined with the preset water pressure monitoring communication slice partitioning coefficient, it can be determined that the bandwidth and time resource allocation can meet the communication needs of all water pressure monitoring nodes within the communication slice. In this case, the intermediate water pressure monitoring communication slice partitioning information can be used as the target water pressure monitoring communication slice partitioning information. If the intermediate water pressure monitoring communication slice partitioning quality characterization information is less than or equal to the preset water pressure monitoring communication slice partitioning quality characterization threshold, then, based on the water pressure monitoring nodes whose internal bandwidth allocation ratio does not reach the value of the preset water pressure monitoring communication slice partitioning coefficient, resources can be split or merged. After adjustment, the water pressure monitoring communication slice partitioning quality characterization information can be recalculated until the water pressure monitoring communication slice partitioning quality characterization information is greater than the preset water pressure monitoring communication slice partitioning quality characterization threshold, thereby generating multiple target water pressure monitoring communication slice partitioning information.
[0077] The water pressure monitoring method provided in this application provides a quantitative evaluation of the initial water pressure monitoring communication slice division information. After adjusting the intermediate water pressure monitoring communication slice division information and performing a secondary quality check, the method achieves precise optimization of the communication slices. This ensures that the generated multiple target water pressure monitoring communication slice division information not only meets the communication needs of each water pressure monitoring node but also improves the efficiency of communication resource utilization and the slice division quality, thereby guaranteeing the stability and timeliness of water pressure monitoring information transmission.
[0078] Figure 5 The flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment 5 of this application is shown. Its difference from Embodiment 4 described above lies in:
[0079] The multiple initial water pressure monitoring communication slice division information includes first initial water pressure monitoring communication slice division information and second initial water pressure monitoring communication slice division information;
[0080] The quality characterization information for the division of the multiple water pressure monitoring communication slices includes the first water pressure monitoring communication slice division quality characterization information and the second water pressure monitoring communication slice division quality characterization information.
[0081] Step S405 specifically includes:
[0082] Step S501: Calculate the sum of the first water pressure monitoring communication slice partitioning quality characterization information and the second water pressure monitoring communication slice partitioning quality characterization information to obtain the initial water pressure monitoring communication slice partitioning quality characterization and information.
[0083] In this embodiment, the first water pressure monitoring communication slice segmentation quality characterization information corresponds to the segmentation quality evaluation result of the first initial water pressure monitoring communication slice segmentation information, and the second water pressure monitoring communication slice segmentation quality characterization information corresponds to the segmentation quality evaluation result of the second initial water pressure monitoring communication slice segmentation information. The values of the first and second water pressure monitoring communication slice segmentation quality characterization information can be added together to obtain the initial water pressure monitoring communication slice segmentation quality characterization sum.
[0084] Step S502: Merge the first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information to generate initial water pressure monitoring communication slice merge information.
[0085] In this embodiment, the communication requirements, location information, and communication resource information of all water pressure monitoring nodes and their corresponding multiple water pressure monitoring nodes contained in the first initial water pressure monitoring communication slice division information can be extracted first. Then, the communication requirements, location information, and communication resource information of all water pressure monitoring nodes and their corresponding multiple water pressure monitoring nodes contained in the second initial water pressure monitoring communication slice division information can be extracted. Subsequently, the water pressure monitoring node location information, water pressure monitoring node communication requirements information, and water pressure monitoring node communication resource information of the two sets of communication slices can be integrated to generate a new set containing all water pressure monitoring nodes of the original two sets of communication slices and their corresponding multiple water pressure monitoring node communication requirements information, multiple water pressure monitoring node location information, and multiple water pressure monitoring node communication resource information, which serves as the initial water pressure monitoring communication slice merging information.
[0086] Step S503: Based on the initial water pressure monitoring communication slice merging information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice division quality characterization weight, calculate the water pressure monitoring communication slice merging quality characterization information.
[0087] In this embodiment, the initial water pressure monitoring communication slice merging information is used as the merged communication slice. First, all water pressure monitoring nodes included in the initial water pressure monitoring communication slice merging information can be determined. The location information of multiple water pressure monitoring nodes of each water pressure monitoring node can be extracted. Combined with the preset water pressure monitoring channel fading coefficient, the transmission delay information of multiple water pressure monitoring communication slice nodes in the merged communication slice can be calculated. Then, the number of water pressure monitoring nodes in the merged slice can be counted to obtain the corresponding water pressure monitoring communication slice node quantity information. Subsequently, the water pressure monitoring node transmission bandwidth resource information and water pressure monitoring node transmission bandwidth requirement information of each water pressure monitoring node in the merged slice can be extracted to calculate the initial water pressure monitoring communication slice node bandwidth utilization information of the merged slice. Then, the transmission delay information of the water pressure monitoring communication slice nodes, the number information of water pressure monitoring communication slice nodes, and the initial water pressure monitoring slice node bandwidth utilization information of the merged slice can be multiplied by the preset water pressure monitoring communication slice division quality characterization weights respectively. The three product results are added together to obtain the water pressure monitoring communication slice merging quality characterization information.
[0088] Step S504: Determine whether the merged quality characterization information of the water pressure monitoring communication slice is greater than the initial water pressure monitoring communication slice division quality characterization and information; if yes, proceed to step S505; if no, proceed to step S506.
[0089] In this embodiment, the merged quality characterization information of the water pressure monitoring communication slice is compared with the initial water pressure monitoring communication slice division quality characterization information. If the merged quality characterization information of the water pressure monitoring communication slice is greater than the initial water pressure monitoring communication slice division quality characterization information, it indicates that the division quality of the merged communication slice is improved after merging the first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information. If the merged quality characterization information of the water pressure monitoring communication slice is less than or equal to the initial water pressure monitoring communication slice division quality characterization information, it indicates that the division quality of the merged communication slice is not improved or even decreased.
[0090] Step S505: Use the initial water pressure monitoring communication slice merging information as the intermediate water pressure monitoring communication slice division information.
[0091] In this embodiment, since the merged quality characterization information of the water pressure monitoring communication slice is greater than the initial water pressure monitoring communication slice division quality characterization information, it indicates that the merged slice has better overall performance in terms of transmission delay, bandwidth utilization, and matching degree of the number of water pressure monitoring nodes, and meets the quality requirements of the communication slice. Therefore, the initial water pressure monitoring communication slice merged information can be determined as the intermediate water pressure monitoring communication slice division information.
[0092] Step S506: Use the first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information as intermediate water pressure monitoring communication slice division information.
[0093] In this embodiment, since the merged communication slice does not show any quality improvement, in order to avoid affecting the generation quality of subsequent target slices, the merged slice is not used. Instead, the original first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information are retained and used as intermediate water pressure monitoring communication slice division information.
[0094] The water pressure monitoring method provided in this application ensures that the intermediate water pressure monitoring communication slice division information has high division quality, fully conforming to the actual communication resource information and communication requirements of multiple water pressure monitoring nodes. This provides an accurate technical foundation for the subsequent generation of high-quality multi-target water pressure monitoring communication slice division information, thereby ensuring the stability and efficiency of water pressure monitoring information transmission in water conservancy projects.
[0095] Figure 6 The flowchart illustrating the implementation of the water pressure monitoring method provided in Embodiment Six of this application is shown. The difference between this method and Embodiment Four is that step S407 specifically includes:
[0096] Step S601: Determine whether the average value of the quality characterization information of the multiple intermediate water pressure monitoring communication slices is greater than the preset water pressure monitoring communication slices quality characterization threshold; if yes, proceed to step S602; if no, proceed to step S603.
[0097] In this embodiment, the preset water pressure monitoring communication slice segmentation quality characterization threshold can be manually set, defining a critical value for whether the overall segmentation quality of intermediate water pressure monitoring communication slice segmentation information meets the standard. First, the sum of multiple intermediate water pressure monitoring communication slice segmentation quality characterization information can be calculated. Then, this sum is divided by the number of intermediate water pressure monitoring communication slice segmentation information to obtain the average value of the multiple intermediate water pressure monitoring communication slice segmentation quality characterization information. This average value can then be compared with the preset water pressure monitoring communication slice segmentation quality characterization threshold. If the average value is greater than the preset water pressure monitoring communication slice segmentation quality characterization threshold, it indicates that the overall quality of the intermediate water pressure monitoring communication slice segmentation information meets the standard; if the average value is less than or equal to the preset water pressure monitoring communication slice segmentation quality characterization threshold, it indicates that the overall quality of the intermediate water pressure monitoring communication slice segmentation information does not meet the standard.
[0098] Step S602: Use the multiple intermediate water pressure monitoring communication slice division information as multiple target water pressure monitoring communication slice division information.
[0099] In this embodiment, the overall performance of all intermediate water pressure monitoring communication slice division information in terms of transmission delay information of multiple water pressure monitoring communication slice nodes, bandwidth utilization information of initial water pressure monitoring communication slice nodes, and number of water pressure monitoring communication slice nodes meets the quality requirements of the target water pressure monitoring communication slice division information. No further adjustment is required, and multiple intermediate water pressure monitoring communication slice division information can be determined as multiple target water pressure monitoring communication slice division information.
[0100] Step S603: Obtain the number of intermediate water pressure monitoring communication slices selected.
[0101] In this embodiment, the number of intermediate water pressure monitoring communication slices selected can be used to group the intermediate water pressure monitoring communication slice division information in the subsequent process, so as to clarify the number of intermediate water pressure monitoring communication slice division information contained in each group. This information can be set by those skilled in the art and input into the computer, and the computer can obtain it by reading the values input by the technicians.
[0102] Step S604: Based on the number of intermediate water pressure monitoring communication slices selected, the multiple intermediate water pressure monitoring communication slice division information is randomly grouped to obtain multiple selected intermediate water pressure monitoring communication slice division group information; the selected intermediate water pressure monitoring communication slice division group information includes multiple selected intermediate water pressure monitoring communication slice division information.
[0103] In this embodiment, a corresponding number of intermediate water pressure monitoring communication slice division information can be randomly selected from multiple intermediate water pressure monitoring communication slice division information to form a group according to the number of intermediate water pressure monitoring communication slice selection information specified. This operation is repeated until all intermediate water pressure monitoring communication slice division information is grouped. Each group is a selected intermediate water pressure monitoring communication slice division group information, and the intermediate water pressure monitoring communication slice division information contained in each group is multiple selected intermediate water pressure monitoring communication slice division information.
[0104] Step S605: Based on the multiple selected intermediate water pressure monitoring communication slice division information corresponding to the multiple selected intermediate water pressure monitoring communication slice division group information and the preset water pressure monitoring communication slice division coefficient, multiple updated intermediate water pressure monitoring communication slice division information are generated; the updated intermediate water pressure monitoring communication slice division information corresponds one-to-one with the selected intermediate water pressure monitoring communication slice division group information.
[0105] In this embodiment, the preset water pressure monitoring communication slice division coefficient can be manually set and used to standardize the adjustment logic of intermediate water pressure monitoring communication slice division information resource allocation. For each selected intermediate water pressure monitoring communication slice division group information, the water pressure monitoring nodes, communication resource information of multiple water pressure monitoring nodes, and communication demand information of multiple water pressure monitoring nodes contained in the selected intermediate water pressure monitoring communication slice division information within the group can be extracted. Combined with the preset water pressure monitoring communication slice division coefficient, the node distribution, water pressure monitoring node transmission bandwidth resource information, and water pressure monitoring node transmission time resource information allocation of the selected intermediate water pressure monitoring communication slice division information within the group are optimized and adjusted. The new communication slices formed after the adjustment are multiple updated intermediate water pressure monitoring communication slice division information, and each selected intermediate water pressure monitoring communication slice division group information corresponds to one updated intermediate water pressure monitoring communication slice division information.
[0106] In this embodiment, optionally, the preset water pressure monitoring communication slice division coefficient can be set by first collecting the transmission bandwidth resource information of multiple water pressure monitoring nodes, the transmission time resource information of multiple water pressure monitoring nodes, and the resource utilization rate data and node communication demand satisfaction rate data of each initial water pressure monitoring communication slice division information in the historical slice division. For example, it can be statistically determined that there are 100 water pressure monitoring nodes in a certain outdoor water conservancy project, the total allocatable transmission bandwidth resource of all water pressure monitoring nodes is 200Mbps, and the total transmission bandwidth resource requirement of all water pressure monitoring nodes is... At 160Mbps, in the historical slicing, when the transmission bandwidth resource utilization rate of a single slice's water pressure monitoring node is at its highest 85%, the node's communication demand satisfaction rate can reach 98%. When the utilization rate exceeds 90%, resource overload is likely to occur, causing the demand satisfaction rate to drop below 80%. At the same time, the total allocable water pressure monitoring node transmission time resource for all water pressure monitoring nodes is 1000 seconds / day, and the total water pressure monitoring node transmission time resource requirement for all water pressure monitoring nodes is 800 seconds / day. When the transmission time resource utilization rate of a single slice's water pressure monitoring node is at its highest 88%, the node's data transmission on-time completion rate is 97%. When the utilization rate exceeds 92%, the on-time completion rate drops to 82%. Next, considering the project's requirements for the stability of water pressure monitoring information transmission—namely, a node communication demand fulfillment rate of no less than 95% and a data transmission on-time completion rate of no less than 95%—and prioritizing resource overload while ensuring demand fulfillment, the upper limit for the transmission bandwidth resource utilization rate of a single slice's water pressure monitoring node is set to 85%, and the upper limit for the transmission time resource utilization rate is set to 88%. Then, based on the ratio of total resources to total demand, and according to the total number of nodes and the resource carrying capacity of a single slice, a maximum of 15 water pressure monitoring nodes can be included in a single slice. Subsequently, multiple limiting parameters can be integrated to generate a water pressure monitoring communication slice partitioning coefficient, ensuring that the water pressure monitoring communication slice partitioning coefficient includes a single slice water pressure monitoring node transmission bandwidth resource utilization rate ≤ 85%, a single slice water pressure monitoring node transmission time resource utilization rate ≤ 88%, and a single slice water pressure monitoring node number ≤ 15.
[0107] In this embodiment, optionally, the water pressure monitoring nodes included in each selected intermediate water pressure monitoring communication slice group information can be extracted, along with the transmission bandwidth resource information, transmission time resource information, and communication demand information of each water pressure monitoring node. Then, based on a preset water pressure monitoring communication slice division coefficient, the total transmission bandwidth resource demand and transmission time resource demand of all water pressure monitoring nodes within the group can be calculated. Next, the total available transmission bandwidth resource and transmission time resource resource of all selected intermediate water pressure monitoring communication slices within the group can be calculated to clarify the resource supply and demand situation. Then, according to the resource allocation ratio standard and node grouping rules specified by the preset water pressure monitoring communication slice division coefficient, water pressure monitoring nodes within the group with similar communication demand information and high matching degree between their transmission bandwidth resource demand and transmission time resource demand can be regrouped into the same sub-slice to avoid... To avoid resource waste due to excessive differences in node requirements, the total available transmission bandwidth resources for water pressure monitoring nodes within the group are allocated according to the maximum resource occupancy limit of a single slice, based on the preset water pressure monitoring communication slice division coefficient. This allocation is based on the proportion of the total transmission bandwidth resource demand of all water pressure monitoring nodes in each sub-slice. This ensures that the transmission bandwidth resource information obtained by each sub-slice satisfies the transmission needs of all water pressure monitoring nodes within that sub-slice without exceeding the resource occupancy range specified by the preset water pressure monitoring communication slice division coefficient. Finally, based on the preset water pressure monitoring communication slice division coefficient and considering factors such as the number of water pressure monitoring nodes and data transmission frequency in each sub-slice, the total available transmission time resources for water pressure monitoring nodes within the group are allocated to each sub-slice. This ensures that the transmission time resource information obtained by each sub-slice can support all water pressure monitoring nodes within that sub-slice to complete the timely transmission of water pressure monitoring information. This optimizes and adjusts the node distribution, transmission bandwidth resource information, and transmission time resource information allocation of the selected intermediate water pressure monitoring communication slice division information within the group.
[0108] Step S606: Based on the multiple updated intermediate water pressure monitoring communication slice partitioning information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice partitioning quality characterization weight, the multiple updated intermediate water pressure monitoring communication slice partitioning quality characterization information is calculated.
[0109] In this embodiment, the water pressure monitoring nodes included in each updated intermediate water pressure monitoring communication slice partitioning information can be determined first. The location information of multiple water pressure monitoring nodes can be extracted, and the transmission delay information of multiple water pressure monitoring communication slice nodes in the updated intermediate water pressure monitoring communication slice partitioning information can be calculated by combining the preset water pressure monitoring channel fading coefficient. Then, the number of water pressure monitoring nodes within the updated intermediate water pressure monitoring communication slice partitioning information can be counted to obtain the corresponding water pressure monitoring communication slice node quantity information. Subsequently, the water pressure monitoring node transmission bandwidth resource information of each water pressure monitoring node within the updated intermediate water pressure monitoring communication slice partitioning information can be extracted. The system obtains the bandwidth requirement information of the water pressure monitoring nodes and calculates the initial bandwidth utilization information of the water pressure monitoring communication slice nodes in the updated intermediate water pressure monitoring communication slice division information. Then, the transmission delay information of multiple water pressure monitoring communication slice nodes, the number of water pressure monitoring communication slice nodes, and the initial bandwidth utilization information of the water pressure monitoring communication slice nodes are multiplied by preset water pressure monitoring communication slice division quality characterization weights. The three product results are added together, and the sum is the quality evaluation result of each updated intermediate water pressure monitoring communication slice division information. All quality evaluation results are integrated to obtain the quality characterization information of multiple updated intermediate water pressure monitoring communication slice divisions.
[0110] Step S607: The multiple updated intermediate water pressure monitoring communication slice division information is merged to obtain multiple updated intermediate water pressure monitoring communication slice merged information; the updated intermediate water pressure monitoring communication slice merged information corresponds one-to-one with the selected intermediate water pressure monitoring communication slice division group information.
[0111] In this embodiment, for each selected intermediate water pressure monitoring communication slice division group information corresponding to multiple updated intermediate water pressure monitoring communication slice division information, all water pressure monitoring nodes, multiple water pressure monitoring node location information, multiple water pressure monitoring node communication requirement information, and multiple water pressure monitoring node communication resource information contained in the updated intermediate water pressure monitoring communication slice division information can be extracted, summarized, and used as a new set containing all relevant information of the updated intermediate water pressure monitoring communication slice division information within the group. This new set is the multiple updated intermediate water pressure monitoring communication slice merging information, and each selected intermediate water pressure monitoring communication slice division group information corresponds to one updated intermediate water pressure monitoring communication slice merging information.
[0112] Step S608: Based on the multiple updated intermediate water pressure monitoring communication slice merging information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice division quality characterization weight, the multiple updated intermediate water pressure monitoring communication slice merging quality characterization information is calculated.
[0113] In this embodiment, the water pressure monitoring nodes included in each updated intermediate water pressure monitoring communication slice merging information can be determined first. The location information of multiple water pressure monitoring nodes of the water pressure monitoring node can be extracted. The transmission delay information of multiple water pressure monitoring communication slice nodes of the updated intermediate water pressure monitoring communication slice merging information can be calculated in combination with the preset water pressure monitoring channel fading coefficient. The number of water pressure monitoring nodes in the updated intermediate water pressure monitoring communication slice merging information can be counted to obtain the corresponding water pressure monitoring communication slice node quantity information. Then, the water pressure monitoring node transmission bandwidth resource information and water pressure monitoring node transmission bandwidth requirement information of each water pressure monitoring node in the updated intermediate water pressure monitoring communication slice merging information can be extracted to calculate the initial water pressure monitoring communication slice node bandwidth utilization information of the updated intermediate water pressure monitoring communication slice merging information. Then, the transmission delay information of multiple water pressure monitoring communication slice nodes, the number of water pressure monitoring communication slice nodes, and the bandwidth utilization information of the initial water pressure monitoring communication slice nodes can be multiplied by the preset water pressure monitoring communication slice division quality characterization weights. The three product results are added together, and the sum is the quality evaluation result of the merged information of each updated intermediate water pressure monitoring communication slice. The sum of all quality evaluation results is the merged quality characterization information of multiple updated intermediate water pressure monitoring communication slices.
[0114] Step S609: Determine whether the sum of the merged quality characterization information of the multiple updated intermediate water pressure monitoring communication slices is greater than the sum of the divided quality characterization information of the multiple intermediate water pressure monitoring communication slices; if yes, proceed to step S610; if no, proceed to step S611.
[0115] In this embodiment, the sum of the merged quality characterization information of multiple updated intermediate water pressure monitoring communication slices can be calculated first, and then the sum of the partitioned quality characterization information of multiple original intermediate water pressure monitoring communication slices can be calculated. The two sums are then compared. If the sum of the merged quality characterization information of multiple updated intermediate water pressure monitoring communication slices is greater than the sum of the partitioned quality characterization information of multiple original intermediate water pressure monitoring communication slices, it indicates that the grouping adjustment and merging operation has improved the overall quality of the slices; if the sum of the merged quality characterization information of multiple updated intermediate water pressure monitoring communication slices is less than or equal to the sum of the partitioned quality characterization information of multiple original intermediate water pressure monitoring communication slices, it indicates that the grouping adjustment and merging operation has not improved the overall quality of the slices.
[0116] Step S610: The merged information of the multiple updated intermediate water pressure monitoring communication slices is used as the partitioning information of multiple intermediate water pressure monitoring communication slices, and the merged quality characterization information of the multiple updated intermediate water pressure monitoring communication slices is used as the partitioning quality characterization information of multiple intermediate water pressure monitoring communication slices, and then the process returns to step S601.
[0117] In this embodiment, the sum of the quality characterization information of multiple updated intermediate water pressure monitoring communication slices is greater than the sum of the quality characterization information of multiple original intermediate water pressure monitoring communication slices, indicating that the quality of the merged information of multiple updated intermediate water pressure monitoring communication slices is better. The merged information of multiple updated intermediate water pressure monitoring communication slices replaces the original multiple intermediate water pressure monitoring communication slices. At the same time, the quality characterization information of multiple updated intermediate water pressure monitoring communication slices replaces the original multiple intermediate water pressure monitoring communication slices. Then, it is determined again whether the average value of the new multiple intermediate water pressure monitoring communication slices is greater than the preset water pressure monitoring communication slices division quality characterization threshold, until the average value meets the standard.
[0118] Step S611: Increment the number of intermediate water pressure monitoring communication slices selected by 1 to obtain the adjusted number of intermediate water pressure monitoring communication slices selected.
[0119] In this embodiment, the sum of the quality characterization information of multiple updated intermediate water pressure monitoring communication slices does not exceed the sum of the quality characterization information of multiple original intermediate water pressure monitoring communication slices. This indicates that the current selection quantity information of intermediate water pressure monitoring communication slices may be unreasonable, resulting in poor grouping adjustment effect. Therefore, the value of the selection quantity information of intermediate water pressure monitoring communication slices is increased by 1 to obtain the adjusted selection quantity information of intermediate water pressure monitoring communication slices, so as to change the number of communication slices in subsequent groups.
[0120] Step S612: Use the adjusted intermediate water pressure monitoring communication slice selection quantity information as the intermediate water pressure monitoring communication slice selection quantity information, and return to step S604.
[0121] In this embodiment, the original intermediate water pressure monitoring communication slice selection quantity information is replaced with the adjusted intermediate water pressure monitoring communication slice selection quantity information. The multiple intermediate water pressure monitoring communication slice division information is then randomly regrouped according to the new intermediate water pressure monitoring communication slice selection quantity information, and a new round of adjustment and quality assessment is carried out until the average value of the multiple intermediate water pressure monitoring communication slice division quality characterization information meets the standard.
[0122] The water pressure monitoring method provided in this application provides a preliminary assessment of the overall quality of multiple intermediate water pressure monitoring communication slice division information. For substandard slices, a cyclical mechanism of group adjustment, merging optimization, and dynamic quantity adjustment is adopted to continuously optimize the quality of multiple intermediate water pressure monitoring communication slice division information. This ensures that the multiple target water pressure monitoring communication slice division information not only meets the communication needs of each water pressure monitoring node, but also improves the efficiency of communication resource utilization and the stability of slice division, thereby improving the efficient transmission of water pressure monitoring information and enhancing the timeliness and effectiveness of water pressure monitoring.
[0123] Corresponding to the method in the above embodiments, Figure 7 A structural block diagram of the water pressure monitoring device provided in the embodiments of this application is shown. For ease of explanation, only the parts related to the embodiments of this application are shown. Figure 7 The water pressure monitoring device in the example can be the subject of the water pressure monitoring method provided in the aforementioned embodiment 1.
[0124] Reference Figure 7 The water pressure monitoring device includes:
[0125] The information acquisition module 710 is used to acquire the location information of multiple water pressure monitoring nodes, the communication requirement information of multiple water pressure monitoring nodes, and the communication resource information of multiple water pressure monitoring nodes; the location information, communication requirement information, and communication resource information of the water pressure monitoring nodes correspond one-to-one.
[0126] The water pressure monitoring node similarity information calculation module 720 is used to calculate the similarity information of multiple water pressure monitoring nodes based on the location information of the multiple water pressure monitoring nodes and the communication requirement information of the multiple water pressure monitoring nodes.
[0127] The initial water pressure monitoring communication slice division information generation module 730 is used to divide the communication requirement information of the multiple water pressure monitoring nodes according to the similarity information of the multiple water pressure monitoring nodes and the preset water pressure monitoring node similarity threshold, and generate multiple initial water pressure monitoring communication slice division information.
[0128] The target water pressure monitoring communication slice division information generation module 740 is used to generate multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, multiple initial water pressure monitoring communication slice division information, and preset water pressure monitoring communication slice division coefficients.
[0129] The water pressure monitoring information transmission module 750 is used to process the water pressure monitoring information according to the multiple target water pressure monitoring communication slice division information, so as to perform water pressure monitoring processing through the water pressure monitoring information.
[0130] The process by which each module in the water pressure monitoring device provided in this application implements its respective function can be found in the foregoing. Figure 1 The description of Embodiment 1 shown will not be repeated here.
[0131] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.
[0132] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.
[0133] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.
[0134] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only for distinguishing descriptions and should not be construed as indicating or implying relative importance. It should also be understood that although the terms "first," "second," etc., are used in the text to describe various elements in some embodiments of this application, these elements should not be limited by these terms. These terms are merely used to distinguish one element from another. For example, a first table may be named a second table, and similarly, a second table may be named a first table, without departing from the scope of the various described embodiments. Both the first table and the second table are tables, but they are not the same table.
[0135] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0136] The water pressure monitoring method provided in this application can be applied to terminal devices such as mobile phones, tablets, wearable devices, vehicle-mounted devices, and laptops. This application does not impose any restrictions on the specific type of terminal device.
[0137] Figure 8 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application. For example... Figure 8 As shown, the terminal device 8 of this embodiment includes: at least one processor 80 ( Figure 8Only one is shown in the image), and a memory 81 is stored in which a computer program 82 that can run on the processor 80 is stored. When the processor 80 executes the computer program 82, it implements the steps in the various water pressure monitoring method embodiments described above, for example... Figure 1 Steps S101 to S105 are shown. Alternatively, when the processor 80 executes the computer program 82, it implements the functions of each module / unit in the above-described device embodiments, for example... Figure 7 The functions of the information acquisition module 710 to the water pressure monitoring information transmission module 750 are shown.
[0138] The terminal device 8 can be a desktop computer, laptop, handheld computer, or cloud server, etc. The terminal device may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art will understand that... Figure 8 This is merely an example of terminal device 8 and does not constitute a limitation on terminal device 8. It may include more or fewer components than shown, or combine certain components, or different components. For example, the terminal device may also include input transmission devices, network access devices, buses, etc.
[0139] The processor 80 may be a central processing unit, or it may be other general-purpose processors, digital signal processors, application-specific integrated circuits, off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0140] In some embodiments, the memory 81 may be an internal storage unit of the terminal device 8, such as a hard disk or memory of the terminal device 8. The memory 81 may also be an external storage device of the terminal device 8, such as a plug-in hard disk, smart memory card, secure digital card, flash memory card, etc., equipped on the terminal device 8. Furthermore, the memory 81 may include both internal and external storage units of the terminal device 8. The memory 81 is used to store operating systems, applications, bootloaders, data, and other programs, such as the program code of computer programs. The memory 81 can also be used to temporarily store data that has been sent or will be sent.
[0141] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0142] This application also provides a terminal device, which includes at least one memory, at least one processor, and a computer program stored in the at least one memory and executable on the at least one processor. When the processor executes the computer program, it causes the terminal device to implement the steps in any of the above method embodiments.
[0143] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.
[0144] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.
[0145] Those skilled in the art will recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0146] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0147] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.
Claims
1. A water pressure monitoring method, characterized in that, include: Obtain location information, communication requirements, and communication resources of multiple water pressure monitoring nodes; The location information, communication requirements, and communication resources of the water pressure monitoring nodes are all in one-to-one correspondence. Based on the location information and communication requirements of the multiple water pressure monitoring nodes, the similarity information of the multiple water pressure monitoring nodes is calculated. Based on the similarity information of the multiple water pressure monitoring nodes and the preset water pressure monitoring node similarity threshold, the communication requirement information of the multiple water pressure monitoring nodes is divided to generate multiple initial water pressure monitoring communication slice division information. Based on the communication resource information of the multiple water pressure monitoring nodes, the multiple initial water pressure monitoring communication slice division information, and the preset water pressure monitoring communication slice division coefficient, multiple target water pressure monitoring communication slice division information is generated. Based on the multiple target water pressure monitoring communication slice division information, the water pressure monitoring information is processed for transmission so as to perform water pressure monitoring processing through the water pressure monitoring information; The communication requirements of the water pressure monitoring node include the transmission delay requirements, transmission bandwidth requirements, and transmission error rate requirements of the water pressure monitoring node. The communication resource information of the water pressure monitoring node includes the water pressure monitoring node transmission time resource information, the water pressure monitoring node transmission bandwidth resource information, and the water pressure monitoring node transmission retransmission count resource information. The step of generating multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, the multiple initial water pressure monitoring communication slice division information, and the preset water pressure monitoring communication slice division coefficients specifically includes: Based on the location information of multiple water pressure monitoring nodes corresponding to the multiple initial water pressure monitoring communication slice division information, the location information of multiple water pressure monitoring communication slice nodes and the number information of multiple water pressure monitoring communication slice nodes are obtained. Based on the location information of the multiple water pressure monitoring communication slice nodes and the preset water pressure monitoring channel fading coefficient, the transmission delay information of the multiple water pressure monitoring communication slice nodes is calculated. Based on the water pressure monitoring node transmission bandwidth resource information and water pressure monitoring node transmission bandwidth requirement information corresponding to the location information of the multiple water pressure monitoring communication slice nodes, the bandwidth utilization information of multiple initial water pressure monitoring communication slice nodes is calculated. Based on the transmission delay information of the multiple water pressure monitoring communication slice nodes, the bandwidth utilization information of the multiple initial water pressure monitoring communication slice nodes, the number of multiple water pressure monitoring communication slice nodes, and the preset water pressure monitoring communication slice partitioning quality characterization weights, multiple water pressure monitoring communication slice partitioning quality characterization information is calculated; the water pressure monitoring communication slice partitioning quality characterization information corresponds one-to-one with the initial water pressure monitoring communication slice partitioning information. Based on the quality characterization information of the multiple water pressure monitoring communication slices and the multiple initial water pressure monitoring communication slices, multiple intermediate water pressure monitoring communication slices are generated. Based on the multiple intermediate water pressure monitoring communication slice partitioning information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice partitioning quality characterization weight, the multiple intermediate water pressure monitoring communication slice partitioning quality characterization information is calculated. Based on the quality characterization information of the multiple intermediate water pressure monitoring communication slices, the multiple intermediate water pressure monitoring communication slices, the preset water pressure monitoring communication slices, and the preset water pressure monitoring communication slices, multiple target water pressure monitoring communication slices are generated.
2. The water pressure monitoring method as described in claim 1, characterized in that, The step of calculating the similarity information of multiple water pressure monitoring nodes based on the location information and communication requirements of the multiple water pressure monitoring nodes specifically includes: Based on the location information of the multiple water pressure monitoring nodes, the spatial distance information of the multiple water pressure monitoring nodes is calculated; Based on the transmission delay requirement information, transmission bandwidth requirement information, and transmission bit error rate requirement information of the multiple water pressure monitoring nodes, the transmission delay requirement difference information, transmission bandwidth requirement difference information, and transmission bit error rate requirement difference information of the multiple water pressure monitoring nodes are calculated; the spatial distance information of the water pressure monitoring nodes, the transmission delay requirement difference information, the transmission bandwidth requirement difference information, and the transmission bit error rate requirement difference information correspond one-to-one. Based on the preset similarity calculation weights for water pressure monitoring nodes, the spatial distance information of the multiple water pressure monitoring nodes, the transmission delay requirement difference information of the multiple water pressure monitoring nodes, the transmission bandwidth requirement difference information of the multiple water pressure monitoring nodes, and the transmission error rate requirement difference information of the multiple water pressure monitoring nodes are weighted and summed to calculate the water pressure monitoring node similarity information.
3. The water pressure monitoring method as described in claim 1, characterized in that, The step of dividing the communication requirement information of the multiple water pressure monitoring nodes according to the similarity information of the multiple water pressure monitoring nodes and a preset water pressure monitoring node similarity threshold, and generating multiple initial water pressure monitoring communication slice division information, specifically includes: Determine whether the similarity information of the water pressure monitoring nodes is greater than a preset water pressure monitoring node similarity threshold; If so, the communication requirement information of multiple water pressure monitoring nodes corresponding to the water pressure monitoring node similarity information will be merged to generate initial water pressure monitoring communication slice partitioning information; If not, then based on the communication requirement information of multiple water pressure monitoring nodes corresponding to the water pressure monitoring node similarity information, multiple initial water pressure monitoring communication slice division information are generated.
4. The water pressure monitoring method as described in claim 1, characterized in that, The multiple initial water pressure monitoring communication slice division information includes first initial water pressure monitoring communication slice division information and second initial water pressure monitoring communication slice division information; The quality characterization information for the division of the multiple water pressure monitoring communication slices includes the first water pressure monitoring communication slice division quality characterization information and the second water pressure monitoring communication slice division quality characterization information. The step of generating multiple intermediate water pressure monitoring communication slice partitioning information based on the multiple water pressure monitoring communication slice partitioning quality characterization information and multiple initial water pressure monitoring communication slice partitioning information specifically includes: The sum of the first water pressure monitoring communication slice partitioning quality characterization information and the second water pressure monitoring communication slice partitioning quality characterization information is calculated to obtain the initial water pressure monitoring communication slice partitioning quality characterization information. The first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information are merged to generate initial water pressure monitoring communication slice merge information. Based on the initial water pressure monitoring communication slice merging information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice division quality characterization weight, the water pressure monitoring communication slice merging quality characterization information is calculated. Determine whether the merged quality characterization information of the water pressure monitoring communication slice is greater than the initial water pressure monitoring communication slice division quality characterization and information; If so, the initial water pressure monitoring communication slice merging information will be used as the intermediate water pressure monitoring communication slice partitioning information; If not, then the first initial water pressure monitoring communication slice division information and the second initial water pressure monitoring communication slice division information shall be used as the intermediate water pressure monitoring communication slice division information.
5. The water pressure monitoring method as described in claim 1, characterized in that, The step of generating multiple target water pressure monitoring communication slice division information based on the multiple intermediate water pressure monitoring communication slice division quality characterization information, the multiple intermediate water pressure monitoring communication slice division information, the preset water pressure monitoring communication slice division quality characterization threshold, and the preset water pressure monitoring communication slice division coefficient specifically includes: Determine whether the average value of the quality characterization information of the multiple intermediate water pressure monitoring communication slices is greater than the preset water pressure monitoring communication slice segmentation quality characterization threshold. If so, the multiple intermediate water pressure monitoring communication slice division information shall be used as the multiple target water pressure monitoring communication slice division information; If not, obtain the number of intermediate water pressure monitoring communication slices selected; Based on the number of intermediate water pressure monitoring communication slices selected, the multiple intermediate water pressure monitoring communication slice division information is randomly grouped to obtain multiple selected intermediate water pressure monitoring communication slice division group information; the selected intermediate water pressure monitoring communication slice division group information includes multiple selected intermediate water pressure monitoring communication slice division information. Based on the selected intermediate water pressure monitoring communication slice grouping information corresponding to the selected intermediate water pressure monitoring communication slice grouping information and the preset water pressure monitoring communication slice grouping coefficient, multiple updated intermediate water pressure monitoring communication slice grouping information are generated; the updated intermediate water pressure monitoring communication slice grouping information corresponds one-to-one with the selected intermediate water pressure monitoring communication slice grouping information. Based on the multiple updated intermediate water pressure monitoring communication slice partitioning information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice partitioning quality characterization weight, multiple updated intermediate water pressure monitoring communication slice partitioning quality characterization information is calculated. The multiple updated intermediate water pressure monitoring communication slice division information is merged to obtain multiple updated intermediate water pressure monitoring communication slice merge information; the updated intermediate water pressure monitoring communication slice merge information corresponds one-to-one with the selected intermediate water pressure monitoring communication slice division group information. Based on the multiple updated intermediate water pressure monitoring communication slice merging information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice division quality characterization weight, the multiple updated intermediate water pressure monitoring communication slice merging quality characterization information is calculated. Determine whether the sum of the merged quality characterization information of the multiple updated intermediate water pressure monitoring communication slices is greater than the sum of the divided quality characterization information of the multiple intermediate water pressure monitoring communication slices; If so, the merged information of the multiple updated intermediate water pressure monitoring communication slices is used as the partition information of multiple intermediate water pressure monitoring communication slices, and the merged quality characterization information of the multiple updated intermediate water pressure monitoring communication slices is used as the partition quality characterization information of multiple intermediate water pressure monitoring communication slices. Then, the process returns to the step of determining whether the average value of the partition quality characterization information of the multiple intermediate water pressure monitoring communication slices is greater than the preset water pressure monitoring communication slice partition quality characterization threshold. If not, increment the number of intermediate water pressure monitoring communication slices selected by 1 to obtain the adjusted number of intermediate water pressure monitoring communication slices selected. The adjusted intermediate water pressure monitoring communication slice selection quantity information is used as the intermediate water pressure monitoring communication slice selection quantity information, and the process is returned to the step of randomly grouping the multiple intermediate water pressure monitoring communication slice division information based on the intermediate water pressure monitoring communication slice selection quantity information to obtain multiple selected intermediate water pressure monitoring communication slice division group information.
6. A water pressure monitoring device, characterized in that, include: The information acquisition module is used to acquire the location information of multiple water pressure monitoring nodes, the communication requirement information of multiple water pressure monitoring nodes, and the communication resource information of multiple water pressure monitoring nodes; The location information, communication requirements, and communication resources of the water pressure monitoring nodes are all in one-to-one correspondence. The water pressure monitoring node similarity information calculation module is used to calculate the similarity information of multiple water pressure monitoring nodes based on the location information of the multiple water pressure monitoring nodes and the communication requirement information of the multiple water pressure monitoring nodes; The initial water pressure monitoring communication slice partitioning information generation module is used to partition the communication requirement information of the multiple water pressure monitoring nodes according to the similarity information of the multiple water pressure monitoring nodes and the preset water pressure monitoring node similarity threshold, and generate multiple initial water pressure monitoring communication slice partitioning information. The target water pressure monitoring communication slice division information generation module is used to generate multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, multiple initial water pressure monitoring communication slice division information, and preset water pressure monitoring communication slice division coefficients. The water pressure monitoring information transmission module is used to process the water pressure monitoring information according to the information of the multiple target water pressure monitoring communication slices, so as to perform water pressure monitoring processing through the water pressure monitoring information; The communication requirements of the water pressure monitoring node include the transmission delay requirements, transmission bandwidth requirements, and transmission error rate requirements of the water pressure monitoring node. The communication resource information of the water pressure monitoring node includes the water pressure monitoring node transmission time resource information, the water pressure monitoring node transmission bandwidth resource information, and the water pressure monitoring node transmission retransmission count resource information. The step of generating multiple target water pressure monitoring communication slice division information based on the communication resource information of the multiple water pressure monitoring nodes, the multiple initial water pressure monitoring communication slice division information, and the preset water pressure monitoring communication slice division coefficients specifically includes: Based on the location information of multiple water pressure monitoring nodes corresponding to the multiple initial water pressure monitoring communication slice division information, the location information of multiple water pressure monitoring communication slice nodes and the number information of multiple water pressure monitoring communication slice nodes are obtained. Based on the location information of the multiple water pressure monitoring communication slice nodes and the preset water pressure monitoring channel fading coefficient, the transmission delay information of the multiple water pressure monitoring communication slice nodes is calculated. Based on the water pressure monitoring node transmission bandwidth resource information and water pressure monitoring node transmission bandwidth requirement information corresponding to the location information of the multiple water pressure monitoring communication slice nodes, the bandwidth utilization information of multiple initial water pressure monitoring communication slice nodes is calculated. Based on the transmission delay information of the multiple water pressure monitoring communication slice nodes, the bandwidth utilization information of the multiple initial water pressure monitoring communication slice nodes, the number of multiple water pressure monitoring communication slice nodes, and the preset water pressure monitoring communication slice partitioning quality characterization weights, multiple water pressure monitoring communication slice partitioning quality characterization information is calculated; the water pressure monitoring communication slice partitioning quality characterization information corresponds one-to-one with the initial water pressure monitoring communication slice partitioning information. Based on the quality characterization information of the multiple water pressure monitoring communication slices and the multiple initial water pressure monitoring communication slices, multiple intermediate water pressure monitoring communication slices are generated. Based on the multiple intermediate water pressure monitoring communication slice partitioning information, the preset water pressure monitoring channel fading coefficient, and the preset water pressure monitoring communication slice partitioning quality characterization weight, the multiple intermediate water pressure monitoring communication slice partitioning quality characterization information is calculated. Based on the quality characterization information of the multiple intermediate water pressure monitoring communication slices, the multiple intermediate water pressure monitoring communication slices, the preset water pressure monitoring communication slices, and the preset water pressure monitoring communication slices, multiple target water pressure monitoring communication slices are generated.
7. A terminal device, characterized in that, The terminal device includes a memory and a processor. The memory stores a computer program that can run on the processor. When the processor executes the computer program, it implements the steps of the method as described in any one of claims 1 to 5.
8. A computer-readable storage medium storing a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Software upgrading method and system of Internet of Things terminal
CN120128469A
Power consumption data anomaly detection method and device, electronic equipment and storage medium
CN120217075A