An explosion-proof terminal telephone communication method and system based on cluster call
By generating unique communication IDs for explosion-proof terminals and using load balancing algorithms to dynamically adjust communication link traffic, the problem of communication link load imbalance in the existing technology is solved, communication security and performance are improved, and efficient communication between terminals is ensured. .
Patent Information
- Application Number
- CN202410444340.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-15
- Publication Date
- 2024-10-25
- Estimated Expiration
- 2044-04-15
AI Technical Summary
The existing technology is difficult to dynamically adjust and allocate traffic according to the real-time load conditions of each communication link, resulting in overloading of a single communication link, affecting communication quality and experience. It is also unable to identify communication links with high loads in a timely manner, making it difficult to optimize communication parameters or increase the number of communication links. resource.
By generating a unique communication ID for each explosion-proof terminal, the load balancing algorithm is used to dynamically allocate communication link traffic, monitor communication quality in real time, adjust communication strategies to adapt to environmental changes, and identify and optimize high-load links.
It improves communication security and reliability, optimizes communication performance, enhances overall communication throughput and fault tolerance, prevents single link overload, and ensures the communication quality of each explosion-proof terminal.
Smart Images

Figure CN118354282B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of cluster communication, and in particular to an explosion-proof terminal telephone communication method and system based on cluster call. Background Art
[0002] The explosion-proof terminal telephone is a part of the explosion-proof terminal. The explosion-proof terminal telephone refers to a hardware device installed in the explosion-proof terminal to realize the telephone communication function. The explosion-proof terminal telephone needs to meet the special requirements of the explosion-proof terminal working environment, such as explosion-proof, dustproof, waterproof and other performance. It is a communication device specially designed and developed for the explosion-proof terminal. The explosion-proof terminal telephone is an important part of the explosion-proof terminal communication function. It forms a functional whole with the explosion-proof terminal to jointly meet the special communication needs of the explosion site.
[0003] In some special workplaces, such as petroleum, chemical, coal mining and other industries, there are flammable and explosive gases, steam or dust and other dangerous substances. The use of ordinary mobile communication equipment may cause explosions or fires. Therefore, in order to ensure communication safety, it is necessary to use explosion-proof terminal equipment with special explosion-proof design.
[0004] The explosion-proof terminal telephone communication method of cluster call refers to a method of realizing wireless telephone communication between multiple explosion-proof terminals in a dangerous explosion environment through clustering. In the prior art, it is usually difficult to dynamically adjust and allocate traffic according to the real-time load of each communication link, and it is impossible to fully utilize each communication resource, which may cause a single communication link to be overloaded, thereby affecting the communication quality and communication experience on the communication link, and it is difficult to timely identify the communication link with high load, and it is impossible to provide a basis for subsequent optimization of communication parameters or increase of resources, and it is difficult to improve the communication performance of the overall equipment.
[0005] Currently, no effective solution has been proposed for the problems in the related technologies. Summary of the invention
[0006] In view of the problems in the related art, the present invention proposes an explosion-proof terminal telephone communication method and system based on cluster calling to overcome the above technical problems existing in the existing related art.
[0007] To this end, the specific technical solution adopted by the present invention is as follows:
[0008] According to one aspect of the present invention, there is provided an explosion-proof terminal telephone communication method based on cluster call, the explosion-proof terminal telephone communication method based on cluster call comprising the following steps:
[0009] S1. The calling terminal initiates a call request to trigger the generation of a call cluster and generates a communication ID for each explosion-proof terminal;
[0010] S2. Each explosion-proof terminal joins the call cluster by matching the communication ID, and synchronizes the communication parameters with the calling terminal to establish a preliminary communication strategy;
[0011] S3, conduct communication test between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy;
[0012] S4. Establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and dynamically allocate the communication links using a load balancing algorithm;
[0013] S5. Establish a networking topology structure to monitor the communication quality of each communication link in real time.
[0014] Furthermore, the calling terminal initiates a call request to trigger the generation of a call cluster, and generates a communication ID for each explosion-proof terminal, including the following steps:
[0015] S11, when the calling terminal initiates a call request, it triggers the generation of a specific call cluster;
[0016] S12, using the HASH algorithm to perform HASH calculation on the explosion-proof terminal, and matching the communication ID for each explosion-proof terminal;
[0017] S13, recording each communication ID in a correspondence table between a communication ID and an explosion-proof terminal, and establishing a correspondence between the communication ID and the explosion-proof terminal;
[0018] S14. Use an encryption algorithm to pair the public and private keys of the communication ID and the corresponding explosion-proof terminal for security verification of each explosion-proof terminal joining the call cluster.
[0019] Further, the calling terminal and the explosion-proof terminal are tested for communication, the response state, response speed and working environment parameters of each explosion-proof terminal are analyzed and the communication strategy is adjusted, including the following steps:
[0020] S31. After each explosion-proof terminal joins the call cluster, a connection status test is performed on it to verify the response status and response speed between the calling terminal and the explosion-proof terminal;
[0021] S32. Use GPS positioning technology to regularly upload the location coordinates of the explosion-proof terminal, realize the location interaction with each explosion-proof terminal, and determine the working environment parameters according to the location coordinates of the explosion-proof terminal;
[0022] S33. Run the safety detection program to monitor the safety status of the calling terminal, and adjust the communication strategy between the calling terminal and the explosion-proof terminal according to the response status, response speed and working environment parameters.
[0023] Furthermore, after each explosion-proof terminal joins the call cluster, a connection status test is performed on it respectively to verify the response status and response speed between the calling terminal and the explosion-proof terminal, including the following steps:
[0024] S311, the calling terminal regularly sends a heartbeat communication packet to each explosion-proof terminal and assigns a heartbeat number, and the explosion-proof terminal replies with a confirmation communication packet to the calling terminal after receiving the heartbeat communication packet;
[0025] S312. After receiving the heartbeat communication packet, each explosion-proof terminal records the response time of the heartbeat communication packet, and uses the maximum response time of the heartbeat communication packet as a response speed indicator;
[0026] S313, regularly counting the maximum heartbeat number received by the explosion-proof terminal, and comparing it with the preset number to obtain the actual arrival time of the corresponding heartbeat communication packet;
[0027] S314, comparing the actual arrival time with the time threshold, and determining the connection status between the calling terminal and each explosion-proof terminal;
[0028] S315, counting the number of heartbeat packets sent by the calling terminal and received by each explosion-proof terminal within a time period, calculating the response status and packet loss rate of each explosion-proof terminal, and determining the response status and response speed between the calling terminal and the explosion-proof terminal.
[0029] Further, establishing a communication link connecting each explosion-proof terminal based on the adjusted communication strategy and dynamically allocating the load between the communication links using a load balancing algorithm includes the following steps:
[0030] S41, respectively establish a communication link for each explosion-proof terminal, and calculate the load distribution of each communication link according to the network topology structure;
[0031] S42, based on the load of each communication link, monitoring the load and utilization of each link, and counting the traffic on the communication link to determine whether the communication link is congested;
[0032] S43, predicting a congestion point where congestion occurs and adjusting the communication link to optimize traffic distribution;
[0033] S44, calculating the congestion probability of all large flows passing through the communication link, and sorting the large flows using the congestion probability to obtain a scheduling set of the large flows;
[0034] S45. Select the large flows with the smallest congestion probability for scheduling in turn, and compare the load of the communication link with the congestion threshold. When the load of the communication link is less than the congestion threshold, stop scheduling.
[0035] Furthermore, the congestion probability of all large flows passing through the communication link is calculated, and the large flows are sorted using the congestion probability. Obtaining the scheduling set of the large flows includes the following steps:
[0036] S441, select the large flow that needs to be scheduled on the communication link, and use the shortest path algorithm to calculate all equivalent shortest paths of the large flow through the communication link;
[0037] S442, taking the equivalent shortest path with the maximum throughput and satisfying the communication strategy as the optimal scheduling path;
[0038] S443: Calculate the congestion probabilities of all large flows on the optimal scheduling path, and sort them in ascending order to obtain a scheduling set of large flows.
[0039] Furthermore, the expression of congestion probability is:
[0040]
[0041] Where P o represents the scheduling path;
[0042] C k represents the congestion probability;
[0043] f represents the bandwidth of the flow;
[0044] B represents the bandwidth ratio of the communication link;
[0045] c represents the number of communication links;
[0046] w represents the weight parameter;
[0047] e indicates the status of the communication link;
[0048] oi represents the probability parameter from non-congestion to congestion;
[0049] s represents the sending rate;
[0050] k represents the number of scheduling paths.
[0051] Furthermore, establishing a networking topology structure to monitor the communication quality of each communication link in real time includes the following steps:
[0052] S51. Use simulation technology to pre-evaluate the impact of the topology control protocol on the communication link to provide a reference for actual deployment;
[0053] S52, deploying network performance monitoring probes on the communication links, and regularly collecting real-time performance indicators of each communication link through active detection and passive monitoring;
[0054] S53, using IGP to dynamically learn the connection relationship of network devices to build a network topology structure, and synchronously store the collected network topology structure and real-time performance indicators of each communication link in a central database;
[0055] S54. Calculate the communication quality of each communication link based on the collected real-time performance indicators of the communication links, and mark them in the central database.
[0056] Furthermore, using simulation technology to pre-evaluate the impact of the topology control protocol on the communication link to provide a reference for actual deployment includes the following steps:
[0057] S511, using a network topology control simulator to perform feature evaluation on a topology control protocol generated by LTETC;
[0058] S512, embedding the topology control protocol into the standard MAC processing module by extending the OPNET network simulation tool, and building a network simulation platform supporting the topology control protocol;
[0059] S513. Carry out simulation to analyze the impact of topology control protocol under different communication links.
[0060] According to another aspect of the present invention, there is also provided an explosion-proof terminal telephone communication system based on cluster calls, the explosion-proof terminal telephone communication system based on cluster calls includes a communication ID generation module, a communication strategy establishment module, a communication test module, a communication link allocation module and a communication quality monitoring module;
[0061] The communication ID generation module is connected to the communication strategy establishment module, the communication strategy establishment module is connected to the communication test module, the communication test module is connected to the communication link allocation module, and the communication link allocation module is connected to the communication quality monitoring module;
[0062] A communication ID generation module is used for the calling terminal to initiate a call request to trigger the generation of a call cluster, and to generate a communication ID for each explosion-proof terminal;
[0063] The communication strategy establishment module is used for each explosion-proof terminal to join the call cluster by matching the communication ID, and synchronize the communication parameters with the calling terminal to establish a preliminary communication strategy;
[0064] The communication test module is used to test the communication between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy;
[0065] A communication link allocation module is used to establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and dynamically allocate the communication links using a load balancing algorithm;
[0066] The communication quality monitoring module is used to establish a networking topology structure to monitor the communication quality of each communication link in real time.
[0067] The beneficial effects of the present invention are:
[0068] 1. The present invention can facilitate the management and distinction of each explosion-proof terminal by generating a unique communication ID for each explosion-proof terminal. At the same time, the communication ID and the corresponding explosion-proof terminal are recorded in a corresponding table, so that the communication ID corresponding to the terminal can be quickly found, which is convenient for the explosion-proof terminal to join or exit the cluster call. By pairing public and private keys for each communication ID and explosion-proof terminal, security verification of the explosion-proof terminal joining the cluster can be achieved, and unauthorized explosion-proof terminals are prevented from joining the call, thereby improving communication security, thereby providing technical guarantee for terminal management and security authentication in cluster calls, and improving the reliability and security of the communication method.
[0069] 2. The present invention can identify explosion-proof terminals with slower responses by understanding the response speed of each explosion-proof terminal, thereby providing a basis for optimizing performance. The response speeds of different explosion-proof terminals in different working environments can be further determined by monitoring the working environment parameters of each explosion-proof terminal. At the same time, by verifying whether the connection status between the calling terminal and each explosion-proof terminal is normal, explosion-proof terminals with abnormal connections can be discovered in time, thereby providing a basis for optimizing communication parameters and communication environment.
[0070] 3. The present invention can dynamically adjust and allocate traffic according to the real-time load conditions of each communication link by utilizing a dynamic load balancing algorithm, thereby making better use of each communication resource, improving the overall communication throughput, and preventing overload of a single communication link, thereby ensuring that the communication quality of each explosion-proof terminal is not affected. The dynamic adjustment can not only adapt to changes in the communication link and terminal status, but also timely identify communication links with high loads, providing a basis for subsequent optimization of communication parameters or increase of communication resources, thereby improving the overall communication signal energy and fault tolerance. BRIEF DESCRIPTION OF THE DRAWINGS
[0071] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0072] Figure 1 is a flow chart of an explosion-proof terminal telephone communication method based on cluster call according to an embodiment of the present invention;
[0073] Figure 2 The invention is a block diagram of an explosion-proof terminal telephone communication system based on cluster call according to an embodiment of the invention.
[0074] In the figure:
[0075] 1. Communication ID generation module; 2. Communication strategy establishment module; 3. Communication test module; 4. Communication link allocation module; 5. Communication quality monitoring module. DETAILED DESCRIPTION
[0076] To further illustrate each embodiment, the present invention provides drawings, which are part of the disclosure of the present invention and are mainly used to illustrate the embodiments. They can be used in conjunction with the relevant descriptions in the specification to explain the operating principles of the embodiments. By referring to these contents, ordinary technicians in this field should be able to understand other possible implementation methods and advantages of the present invention.
[0077] According to an embodiment of the present invention, an explosion-proof terminal telephone communication method and system based on cluster call are provided.
[0078] The present invention is further described with reference to the accompanying drawings and specific embodiments. Figure 1 As shown, according to an explosion-proof terminal telephone communication method based on cluster call in an embodiment of the present invention, the explosion-proof terminal telephone communication method based on cluster call includes the following steps:
[0079] S1. The calling terminal initiates a call request to trigger the generation of a call cluster and generates a communication ID for each explosion-proof terminal.
[0080] The calling terminal initiates a call request to trigger the generation of a call cluster, and generates a communication ID for each explosion-proof terminal, including the following steps:
[0081] S11, when the calling terminal initiates a call request, it triggers the generation of a specific call cluster;
[0082] S12. Use a HASH algorithm to perform HASH calculation on the explosion-proof terminal, and match a communication ID for each explosion-proof terminal.
[0083] It should be noted that the use of the HASH algorithm to perform HASH calculations on explosion-proof terminals and match communication IDs for each explosion-proof terminal includes: when an explosion-proof terminal joins a call cluster, the cluster manager will obtain its hardware feature information, such as MAC address, IMEI code, etc.; the cluster manager uses a HASH algorithm, such as the MD5 algorithm, to perform HASH calculations on each explosion-proof terminal to generate a HASH value of a fixed length; the cluster manager matches the generated HASH value with a unique communication ID; the communication ID is usually a number that can uniquely identify each explosion-proof terminal; the cluster manager assigns the communication ID to the corresponding explosion-proof terminal for use; other explosion-proof terminals can identify the identity of the other party through the received communication ID, and if the explosion-proof terminal is offline, its communication ID can be recycled and reallocated.
[0084] S13, recording each communication ID in a correspondence table between a communication ID and an explosion-proof terminal, and establishing a correspondence between the communication ID and the explosion-proof terminal;
[0085] S14. Use an encryption algorithm to pair the public and private keys of the communication ID and the corresponding explosion-proof terminal for security verification of each explosion-proof terminal joining the call cluster.
[0086] It should be noted that an encryption algorithm is used to pair the public and private keys between the communication ID and the corresponding explosion-proof terminal. The security verification for each explosion-proof terminal to join the call cluster includes: generating a pair of public and private keys for each communication ID, with the public key being public and the private key being kept by the cluster manager; the communication ID of each explosion-proof terminal and its public and private key pair are uniquely matched and saved; the cluster manager searches for the corresponding public key based on the communication ID and sends the public key to the explosion-proof terminal; the explosion-proof terminal uses the received public key to encrypt and sign its own information such as the MAC address; the explosion-proof terminal sends the encrypted signature and communication ID to the cluster manager; the cluster manager obtains the corresponding private key based on the communication ID, and uses the private key to verify whether the signature is correct. Only if the signature verification passes, the cluster manager allows the explosion-proof terminal to join the cluster for communication.
[0087] S2. Each explosion-proof terminal joins the call cluster by matching the communication ID, synchronizes communication parameters with the calling terminal, and establishes a preliminary communication strategy.
[0088] It should be noted that the calling terminal initiates a call request and sends the communication ID of the target terminal to the cluster manager; the cluster manager finds the explosion-proof terminal based on the communication ID and notifies the explosion-proof terminal of the incoming call request; the explosion-proof terminal successfully joins the call cluster through its own communication ID matching; the calling terminal and the target terminal negotiate parameters with the cluster manager and synchronize communication parameters. The communication parameters here include: communication protocol, encoding format, transmission mode, etc.; the cluster manager generates a preliminary communication strategy for both ends based on the parameter negotiation results.
[0089] It should be noted that the communication strategy guides both ends to adopt unified communication rules for real-time data transmission, such as the transmission channel, transmission order, transmission rate, etc. The two ends start experimental communication according to the preliminary communication strategy and optimize parameters. After the communication quality is stable, they officially enter the call state for voice and data interaction.
[0090] S3. Perform communication test between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy.
[0091] Among them, the communication test between the calling terminal and the explosion-proof terminal, analyzing the response status, response speed and working environment parameters of each explosion-proof terminal and adjusting the communication strategy includes the following steps:
[0092] S31. After each explosion-proof terminal joins the call cluster, a connection status test is performed on it to verify the response status and response speed between the calling terminal and the explosion-proof terminal.
[0093] After each explosion-proof terminal joins the call cluster, a connection status test is performed on it to verify the response status and response speed between the calling terminal and the explosion-proof terminal, including the following steps:
[0094] S311, the calling terminal regularly sends a heartbeat communication packet to each explosion-proof terminal and assigns a heartbeat number, and the explosion-proof terminal replies with a confirmation communication packet to the calling terminal after receiving the heartbeat communication packet;
[0095] S312. After receiving the heartbeat communication packet, each explosion-proof terminal records the response time of the heartbeat communication packet, and uses the maximum response time of the heartbeat communication packet as a response speed indicator;
[0096] S313. Regularly count the maximum heartbeat number received by the explosion-proof terminal, and compare it with the preset number to obtain the actual arrival time of the corresponding heartbeat communication packet.
[0097] It should be noted that heartbeat communication packets are sent to all explosion-proof terminals regularly, and each heartbeat communication packet carries an increasing heartbeat number; the preset number is the number of the next heartbeat packet sent by the cluster manager. The explosion-proof terminal periodically reports the maximum heartbeat number received. Compare it with the reported maximum heartbeat number. If it is less than the preset number, it means that a heartbeat packet is lost during this time period; and by recording the sending time of each heartbeat packet and the receipt time reported by the explosion-proof terminal; by comparing the difference between the receipt time and the sending time, it can be determined which heartbeat packet actually arrives late or is lost, so that the communication quality can be monitored, and communication parameters can be adjusted or links optimized according to the packet loss situation to ensure the effective operation of the heartbeat mechanism.
[0098] S314: Compare the actual arrival time with the time threshold to determine the connection status between the calling terminal and each explosion-proof terminal.
[0099] It should be noted that the calling terminal periodically sends a heartbeat request packet to each explosion-proof terminal. After receiving it, the explosion-proof terminal will immediately return a confirmation packet. The calling terminal records the actual arrival time of the confirmation packet returned by each explosion-proof terminal and compares it with the time of sending the request packet to calculate the time difference. Here, a time threshold is set, such as 500ms; if the time difference is less than the time threshold, it indicates that the connection status is good; if the time difference is greater than the time threshold, it may indicate that the link quality is poor, the transmission delay is high, the explosion-proof terminal cannot respond normally, and the network connection between the explosion-proof terminal and the calling terminal is abnormal.
[0100] S315, counting the number of heartbeat packets sent by the calling terminal and received by each explosion-proof terminal within a time period, calculating the response status and packet loss rate of each explosion-proof terminal, and determining the response status and response speed between the calling terminal and the explosion-proof terminal.
[0101] S32. Use GPS positioning technology to regularly upload the location coordinates of the explosion-proof terminal, realize the location interaction with each explosion-proof terminal, and determine the working environment parameters according to the location coordinates of the explosion-proof terminal.
[0102] It should be noted that each explosion-proof terminal has a built-in GPS module to obtain its own latitude and longitude coordinates in real time. The explosion-proof terminal regularly uploads the real-time coordinates to the cluster management server; after receiving the coordinates, the cluster management server saves them to the location of the corresponding explosion-proof terminal and records them, thus realizing real-time location interaction with each explosion-proof terminal. At the same time, the cluster management server can judge the current working environment of the explosion-proof terminal based on the coordinates uploaded by the explosion-proof terminal, such as indoors and outdoors, high and low altitude, etc., and evaluate the possible risk factors in the working environment such as temperature, air pressure, and explosion gas concentration; adjust the explosion-proof terminal working mode according to environmental parameters, such as turning off the explosion protection function in an outdoor environment, etc. The location information can also be used to locate and track the explosion-proof terminal to improve the efficiency of emergency response.
[0103] S33. Run the safety detection program to monitor the safety status of the calling terminal, and adjust the communication strategy between the calling terminal and the explosion-proof terminal according to the response status, response speed and working environment parameters.
[0104] S4. Establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and use a load balancing algorithm to dynamically allocate the communication links.
[0105] Among them, establishing a communication link connecting each explosion-proof terminal based on the adjusted communication strategy and dynamically allocating the communication links using a load balancing algorithm includes the following steps:
[0106] S41. Establish a communication link for each explosion-proof terminal respectively, and calculate the load distribution of each communication link according to the network topology structure.
[0107] It should be noted that the explosion-proof terminals are networked and connected according to the topological structure; in this way, each explosion-proof terminal does not have to establish a separate communication link directly with the management server. The management server calculates the topological relationship of each communication link based on the networking topological structure; and then calculates the traffic load of each link in different time periods, such as packet transmission rate, packet loss rate and other indicators; then, according to the load distribution, the link resources are dynamically scheduled and optimized.
[0108] S42: monitor the load and utilization of each link based on the load condition of each communication link, count the traffic volume on the communication link, and determine whether congestion occurs on the communication link.
[0109] It should be noted that large flow refers to the traffic with a single communication size greater than the preset threshold, and this type of traffic has a greater impact on the communication link load; small flow refers to the traffic with a single communication size less than the preset threshold, and this type of traffic has a relatively small impact on the communication link load; monitor the load and utilization of each communication link: evaluate the link load and resource utilization by counting indicators such as the traffic size carried on the communication link and the packet transmission rate. If the link load continues to be higher than the threshold and the number of large flows increases dramatically, it may indicate link congestion.
[0110] S43, predicting a congestion point where congestion occurs and adjusting the communication link to optimize traffic distribution;
[0111] S44. Calculate the congestion probability of all large flows passing through the communication link, and sort the large flows using the congestion probability to obtain a scheduling set of the large flows.
[0112] The congestion probability of all large flows passing through the communication link is calculated, and the large flows are sorted by using the congestion probability to obtain the scheduling set of the large flows, which includes the following steps:
[0113] S441. Select a large flow that needs to be scheduled on a communication link, and use a shortest path algorithm to calculate all equivalent shortest paths for the large flow through the communication link.
[0114] It should be noted that the links with high load and the large flows on them are identified from the statistical results, and these large flows are used as scheduling objects; a topological diagram of the communication links is established, and the distance weights between each node are recorded; starting from the source node, all the shortest paths to the destination node are calculated using the Dijkstra or Floyd algorithm, and here the case of the same path length is considered to obtain all equivalent shortest paths, so that multiple selection channels for large flows in the network are found.
[0115] S442: Take the equivalent shortest path with the maximum throughput and satisfying the communication strategy as the optimal scheduling path.
[0116] It should be noted that the shortest path algorithm is used to calculate the set of all equivalent shortest paths for the large flow in the communication link network. For each path, its current remaining bandwidth resources are evaluated; the path with the most sufficient bandwidth resources is selected, that is, the maximum throughput of data packets that can be transmitted per unit time on the path. The throughput here refers to the amount of data that can be transmitted per second by the path; selecting the path with the largest throughput has the following advantages: sufficient bandwidth resources can ensure high-speed transmission of large flow data and is not prone to congestion. At the same time, other flows on the path will not be affected by the large flow, and the utilization rate of the entire path is the highest, and the resource utilization efficiency is maximized.
[0117] S443: Calculate the congestion probabilities of all large flows on the optimal scheduling path, and sort them in ascending order to obtain a scheduling set of large flows.
[0118] The expression of congestion probability is:
[0119]
[0120] Where P o As a whole, it represents the scheduling path;
[0121] C k As a whole, it represents the probability of congestion;
[0122] f represents the bandwidth of the flow;
[0123] B represents the bandwidth ratio of the communication link;
[0124] c represents the number of communication links;
[0125] w represents the weight parameter;
[0126] e indicates the status of the communication link;
[0127] oi represents the probability parameter from non-congestion to congestion;
[0128] s represents the sending rate;
[0129] k represents the number of scheduling paths;
[0130] in, is the minimum remaining bandwidth of the scheduling path, that is, the bottleneck bandwidth of the scheduling path.
[0131] S45. Select the large flows with the smallest congestion probability for scheduling in turn, and compare the load of the communication link with the congestion threshold. When the load of the communication link is less than the congestion threshold, stop scheduling.
[0132] S5. Establish a networking topology structure to monitor the communication quality of each communication link in real time.
[0133] The establishment of a networking topology structure to monitor the communication quality of each communication link in real time includes the following steps:
[0134] S51. Use simulation technology to pre-evaluate the impact of the topology control protocol on the communication link and provide a reference for actual deployment.
[0135] Among them, using simulation technology to pre-evaluate the impact of the topology control protocol on the communication link and provide a reference for actual deployment includes the following steps:
[0136] S511 , using a network topology control simulator to perform feature evaluation on a topology control protocol generated by LTETC.
[0137] It should be noted that LTETC is a software-defined network control platform that can generate different types of topology control protocols; the Topology Control Simulator is a network simulator that can simulate network topologies of different sizes and types. Using this simulator, you can load and run different topology control protocols generated by LTETC. In the simulator, you can simulate various network test scenarios for these protocols; by collecting simulation results, comparing and analyzing the performance of these protocols in different scenarios, such as convergence speed, network utilization, topology stability and other indicators, you can conduct a systematic feature evaluation of different topology control protocols generated by LTETC.
[0138] S512, embedding the topology control protocol into the standard MAC processing module by extending the OPNET network simulation tool, and building a network simulation platform supporting the topology control protocol;
[0139] S513. Carry out simulation to analyze the impact of topology control protocol under different communication links.
[0140] S52. Deploy network performance monitoring probes on the communication links, and regularly collect real-time performance indicators of each communication link through active detection and passive monitoring.
[0141] It should be noted that a network performance monitoring probe is deployed in the communication link network. The probe regularly collects real-time performance indicators of each communication link through active detection and passive monitoring. The specific operation steps are as follows:
[0142] Network performance monitoring probes are deployed at the key nodes of each communication link. The probes periodically send test data packets to the communication link through active detection to measure active indicators such as link delay and packet loss rate.
[0143] At the same time, the probe uses passive monitoring to monitor passive indicators such as link real-time load, traffic distribution, such as link utilization, current traffic size, etc.
[0144] The probes will regularly upload the various indicators they collect to the management server, which will integrate the data from each probe and keep track of the performance status of each communication link in real time.
[0145] S53. Use the IGP to dynamically learn the connection relationship of network devices to build a network topology structure, and synchronously store the collected network topology structure and real-time performance indicators of each communication link in the central database.
[0146] It should be noted that each network device starts an IGP protocol program, such as OSPF or IS-IS. The devices establish neighbor relationships through IGP and learn each other's connection port and interface information. At the same time, the devices also learn the connection relationships of other devices to build the topology structure within their own "view" range; for example, device A learns through OSPF that device B is connected to device C port 2 through port 1; the management server regularly obtains the learned "view" topology information from each device; the server integrates the partial topology views provided by each device to build a global and complete networking topology map; as the network changes, the topology view of each device will also be updated in real time, and the management server will synchronously update the global topology.
[0147] S54. Calculate the communication quality of each communication link based on the collected real-time performance indicators of the communication links, and mark them in the central database.
[0148] It should be noted that real-time performance indicator data, such as delay, packet loss rate, etc., have been collected on each communication link through network performance monitoring probes; based on these real-time indicator data, the communication quality of each communication link is calculated; usually a method that comprehensively considers multiple indicators is adopted, such as formulas such as the weighted average of delay and packet loss rate; the calculated communication quality value of each communication link is marked; the communication quality results need to be recorded in the central database for subsequent query and analysis.
[0149] like Figure 2 As shown, according to another embodiment of the present invention, there is also provided an explosion-proof terminal telephone communication system based on cluster call, the explosion-proof terminal telephone communication system based on cluster call includes a communication ID generation module 1, a communication strategy establishment module 2, a communication test module 3, a communication link allocation module 4 and a communication quality monitoring module 5;
[0150] The communication ID generation module 1 is connected to the communication strategy establishment module 2, the communication strategy establishment module 2 is connected to the communication test module 3, the communication test module 3 is connected to the communication link allocation module 4, and the communication link allocation module 4 is connected to the communication quality monitoring module 5;
[0151] The communication ID generation module 1 is used for the calling terminal to initiate a call request to trigger the generation of a call cluster, and to generate a communication ID for each explosion-proof terminal;
[0152] Communication strategy establishment module 2 is used for each explosion-proof terminal to join the call cluster by matching the communication ID, and synchronize the communication parameters with the calling terminal to establish a preliminary communication strategy;
[0153] Communication test module 3, used to test the communication between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy;
[0154] The communication link allocation module 4 is used to establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and dynamically allocate the communication links using a load balancing algorithm;
[0155] The communication quality monitoring module 5 is used to establish a networking topology structure and monitor the communication quality of each communication link in real time.
[0156] In summary, with the help of the above technical scheme of the present invention, the present invention can facilitate the management and distinction of each explosion-proof terminal by generating a unique communication ID for each explosion-proof terminal, and at the same time record the communication ID and the corresponding explosion-proof terminal in the corresponding table, so as to quickly find the communication ID corresponding to the terminal, facilitate the explosion-proof terminal to join or exit the cluster call, and pair the public and private keys for each communication ID and the explosion-proof terminal, so as to realize the security verification of the explosion-proof terminal joining the cluster, prevent unauthorized explosion-proof terminals from joining the call, improve the communication security, and further provide technical guarantee for the terminal management and security authentication in the cluster call, and improve the reliability and security of the communication method; the present invention understands the response speed of each explosion-proof terminal, identifies the explosion-proof terminal with slower response, provides a basis for optimizing performance, and monitors the working state of each explosion-proof terminal The working environment parameters can further determine the response speed of different explosion-proof terminals in different working environments, and at the same time verify whether the connection status between the calling terminal and each explosion-proof terminal is normal, so as to timely discover the explosion-proof terminals with abnormal connection, and provide a basis for optimizing the communication parameters and the communication environment; the present invention can dynamically adjust and allocate the traffic according to the real-time load situation of each communication link by utilizing the dynamic load balancing algorithm, better utilize each communication resource, improve the overall communication throughput, and prevent the overload of a single communication link, so as to ensure that the communication quality of each explosion-proof terminal is not affected. The dynamic adjustment can not only adapt to the changes in the communication link and terminal status, but also can timely identify the communication link with high load, so as to provide a basis for the subsequent optimization of communication parameters or increase of communication resources, thereby improving the overall communication signal performance and fault tolerance.
[0157] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. An explosion-proof terminal telephone communication method based on cluster call, characterized in that: The explosion-proof terminal telephone communication method based on cluster call includes the following steps: S1. The calling terminal initiates a call request to trigger the generation of a call cluster and generates a communication ID for each explosion-proof terminal; S2. Each explosion-proof terminal joins the call cluster by matching the communication ID, and synchronizes the communication parameters with the calling terminal to establish a preliminary communication strategy; S3, conduct communication test between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy; S4. Establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and dynamically allocate the communication links using a load balancing algorithm; S5. Establish a networking topology structure to monitor the communication quality of each communication link in real time; The communication test between the calling terminal and the explosion-proof terminal, analyzing the response state, response speed and working environment parameters of each explosion-proof terminal and adjusting the communication strategy includes the following steps: S31. After each explosion-proof terminal joins the call cluster, a connection status test is performed on it to verify the response status and response speed between the calling terminal and the explosion-proof terminal; S32. Use GPS positioning technology to regularly upload the location coordinates of the explosion-proof terminal, realize the location interaction with each explosion-proof terminal, and determine the working environment parameters according to the location coordinates of the explosion-proof terminal; S33, running the safety detection program to monitor the safety status of the calling terminal, and adjusting the communication strategy between the calling terminal and the explosion-proof terminal according to the response status, response speed and working environment parameters; The method of establishing a communication link connecting each explosion-proof terminal based on the adjusted communication strategy and dynamically allocating the communication links using a load balancing algorithm includes the following steps: S41, respectively establish a communication link for each explosion-proof terminal, and calculate the load distribution of each communication link according to the network topology structure; S42, based on the load of each communication link, monitoring the load and utilization of each link, and counting the traffic on the communication link to determine whether the communication link is congested; S43, predicting a congestion point where congestion occurs and adjusting the communication link to optimize traffic distribution; S44, calculating the congestion probability of all large flows passing through the communication link, and sorting the large flows using the congestion probability to obtain a scheduling set of the large flows; S45, select the large flow with the smallest congestion probability for scheduling in turn, and compare the load of the communication link with the congestion threshold, and stop scheduling when the load of the communication link is less than the congestion threshold; The method of calculating the congestion probability of all large flows passing through the communication link and sorting the large flows by using the congestion probability to obtain a scheduling set of the large flows includes the following steps: S441, select the large flow that needs to be scheduled on the communication link, and use the shortest path algorithm to calculate all equivalent shortest paths of the large flow through the communication link; S442, taking the equivalent shortest path with the maximum throughput and satisfying the communication strategy as the optimal scheduling path; S443: Calculate the congestion probabilities of all large flows on the optimal scheduling path, and sort them in ascending order to obtain a scheduling set of large flows.
2. The explosion-proof terminal telephone communication method based on cluster call according to claim 1 is characterized in that: The calling terminal initiates a call request to trigger the generation of a call cluster, and generates a communication ID for each explosion-proof terminal, including the following steps: S11, when the calling terminal initiates a call request, it triggers the generation of a specific call cluster; S12, using the HASH algorithm to perform HASH calculation on the explosion-proof terminal, and matching the communication ID for each explosion-proof terminal; S13, recording each communication ID in a correspondence table between a communication ID and an explosion-proof terminal, and establishing a correspondence between the communication ID and the explosion-proof terminal; S14. Use an encryption algorithm to pair the public and private keys of the communication ID and the corresponding explosion-proof terminal for security verification of each explosion-proof terminal joining the call cluster.
3. The explosion-proof terminal telephone communication method based on cluster call according to claim 2 is characterized in that: After each explosion-proof terminal joins the call cluster, a connection status test is performed on each terminal to verify the response status and response speed between the calling terminal and the explosion-proof terminal, including the following steps: S311, the calling terminal regularly sends a heartbeat communication packet to each explosion-proof terminal and assigns a heartbeat number, and the explosion-proof terminal replies with a confirmation communication packet to the calling terminal after receiving the heartbeat communication packet; S312. After receiving the heartbeat communication packet, each explosion-proof terminal records the response time of the heartbeat communication packet, and uses the maximum response time of the heartbeat communication packet as a response speed indicator; S313, regularly counting the maximum heartbeat number received by the explosion-proof terminal, and comparing it with the preset number to obtain the actual arrival time of the corresponding heartbeat communication packet; S314, comparing the actual arrival time with the time threshold, and determining the connection status between the calling terminal and each explosion-proof terminal; S315, counting the number of heartbeat packets sent by the calling terminal and received by each explosion-proof terminal within a time period, calculating the response status and packet loss rate of each explosion-proof terminal, and determining the response status and response speed between the calling terminal and the explosion-proof terminal.
4. The explosion-proof terminal telephone communication method based on cluster call according to claim 3 is characterized in that: The expression of the congestion probability is: ; In the formula, P o represents the scheduling path; C k represents the congestion probability; f Indicates the bandwidth of the flow; B Indicates the bandwidth ratio of the communication link; c Indicates the number of communication links; w represents the weight parameter; e Indicates the status of the communication link; oi represents the probability parameter from non-congestion to congestion; s Indicates the sending rate; k Indicates the number of scheduling paths; Indicates the minimum remaining bandwidth of the scheduling path.
5. The explosion-proof terminal telephone communication method based on cluster call according to claim 4 is characterized in that: The establishment of a networking topology structure to monitor the communication quality of each communication link in real time comprises the following steps: S51. Use simulation technology to pre-evaluate the impact of the topology control protocol on the communication link to provide a reference for actual deployment; S52, deploying network performance monitoring probes on the communication links, and regularly collecting real-time performance indicators of each communication link through active detection and passive monitoring; S53, using IGP to dynamically learn the connection relationship of network devices to build a network topology structure, and synchronously store the collected network topology structure and real-time performance indicators of each communication link in a central database; S54. Calculate the communication quality of each communication link based on the collected real-time performance indicators of the communication links, and mark them in the central database.
6. The explosion-proof terminal telephone communication method based on cluster call according to claim 5 is characterized in that: The use of simulation technology to pre-evaluate the impact of the topology control protocol on the communication link to provide a reference for actual deployment includes the following steps: S511, using a network topology control simulator to perform feature evaluation on a topology control protocol generated by LTETC; S512, embedding the topology control protocol into the standard MAC processing module by extending the OPNET network simulation tool, and building a network simulation platform supporting the topology control protocol; S513. Carry out simulation to analyze the impact of topology control protocol under different communication links.
7. An explosion-proof terminal telephone communication system based on cluster call, used to implement the explosion-proof terminal telephone communication method based on cluster call according to any one of claims 1 to 6, characterized in that: The explosion-proof terminal telephone communication system based on cluster calls includes a communication ID generation module, a communication strategy establishment module, a communication test module, a communication link allocation module and a communication quality monitoring module; The communication ID generation module is connected to the communication strategy establishment module, the communication strategy establishment module is connected to the communication test module, the communication test module is connected to the communication link allocation module, and the communication link allocation module is connected to the communication quality monitoring module; The communication ID generation module is used for the calling terminal to initiate a call request to trigger the generation of a call cluster, and to generate a communication ID for each explosion-proof terminal; The communication strategy establishment module is used for each explosion-proof terminal to join the call cluster by matching the communication ID, and synchronize the communication parameters with the calling terminal to establish a preliminary communication strategy; The communication test module is used to perform communication test between the calling terminal and the explosion-proof terminal, analyze the response status, response speed and working environment parameters of each explosion-proof terminal and adjust the communication strategy; The communication link allocation module is used to establish a communication link connecting each explosion-proof terminal based on the adjusted communication strategy, and dynamically allocate the communication links using a load balancing algorithm; The communication quality monitoring module is used to establish a networking topology structure to monitor the communication quality of each communication link in real time.
