A method, device and storage medium for wireless emergency communication

Through the self-organizing network and relay nodes between emergency rescue vehicles, the problem of extreme weather affecting satellite communications during natural disasters is solved, effective communication in disaster scenarios is achieved, and reliable communication services are provided.

CN117768868BActive Publication Date: 2024-09-17SHENZHEN ANXIN EMERGENCY EQUIP TECH RES & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311782505.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-22
Publication Date
2024-09-17
Estimated Expiration
2043-12-22

AI Technical Summary

Technical Problem

Extreme weather affects satellite communications during natural disasters, causing communication interruptions and making it difficult to provide effective communications.

Method used

Wireless emergency communication methods are adopted, and relay nodes are used to transmit communication data through self-organized networks between emergency rescue vehicles and establish connections to cellular networks to avoid reliance on basic communication facilities and satellite communications.

Benefits of technology

Provide reliable communication services under extreme weather conditions, ensure effective communication between emergency rescue vehicles, and achieve communication connectivity in disaster scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117768868B
    Figure CN117768868B
Patent Text Reader

Abstract

The present invention is applicable to the technical field of network communication, and provides a method for wireless emergency communication, a defect detection device and a storage medium. The method for wireless emergency communication includes: a plurality of second emergency rescue vehicles receive the first detection frame and broadcast a second detection frame; the second emergency rescue vehicle selects a first relay node from a plurality of third emergency rescue vehicles according to the first response frames corresponding to each of the plurality of third emergency rescue vehicles; the first emergency rescue vehicle selects a second relay node from a plurality of second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position and the second signal strength. Through the above steps, emergency rescue vehicles can establish a connection with a cellular network using a self-organizing network to achieve effective communication in disaster scenarios. Reliable communication services can be provided under extreme weather conditions without relying on basic communication facilities and satellite communications.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of networking communications, and in particular relates to a method, device and storage medium for wireless emergency communications. Background Art

[0002] Emergency communication technology is a technology used to transmit information and establish contact in emergency situations. These technologies are mainly used in situations such as natural disasters, emergencies and emergency rescue to help organizations and individuals communicate and coordinate effectively.

[0003] In the event of natural or man-made disasters, basic communication facilities are often destroyed, making effective communication impossible. However, satellite communications are not limited by basic communication facilities. They transmit signals through satellite systems and cover a wide area, providing communication connections even when there is no fixed communication infrastructure at the disaster site.

[0004] However, satellite communications also have certain drawbacks. First, satellite communications are expensive and are easily affected by extreme weather, resulting in communication interruptions. In actual application scenarios, natural disasters are often accompanied by extreme weather, making it difficult for satellite communications to provide effective communications. This is a technical problem that needs to be solved urgently. Summary of the invention

[0005] In view of this, the embodiments of the present invention provide a method, device and storage medium for wireless emergency communication to solve the technical problem that in actual application scenarios, natural disasters are often accompanied by extreme weather, making it difficult for satellite communications to provide effective communication.

[0006] A first aspect of an embodiment of the present invention provides a wireless emergency communication method, the wireless emergency communication method is applied to multiple emergency rescue vehicles, and the wireless emergency communication method includes:

[0007] The first emergency rescue vehicle broadcasts a first detection frame;

[0008] A plurality of second emergency rescue vehicles receive the first detection frame and broadcast a second detection frame;

[0009] After receiving the second detection frame, the third emergency rescue vehicle returns a first response frame to the second emergency rescue vehicle; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle;

[0010] The second emergency rescue vehicle selects a first relay node from among the plurality of third emergency rescue vehicles according to the first response frames respectively corresponding to the plurality of third emergency rescue vehicles;

[0011] The second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle;

[0012] The first emergency rescue vehicle selects a second relay node from a plurality of the second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position and the second signal strength;

[0013] The first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the communication data to the first relay node;

[0014] The first relay node is used as the first emergency rescue vehicle, and the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps are performed until the communication data is sent to the cellular network.

[0015] Further, the first detection frame includes a direction vector;

[0016] Before the first emergency rescue vehicle broadcasts the first detection frame, the method further includes:

[0017] Acquire a first trajectory point at which the first emergency rescue vehicle is disconnected from the cellular network;

[0018] Obtaining a second trajectory point where the first emergency rescue vehicle is currently located;

[0019] The direction vector is calculated according to the first trajectory point and the second trajectory point; the direction vector is used to characterize the communication topology connection direction.

[0020] Furthermore, the step of the second emergency rescue vehicle selecting a first relay node from the plurality of third emergency rescue vehicles according to the first response frames respectively corresponding to the plurality of third emergency rescue vehicles comprises:

[0021] extracting the direction vector in the first detection frame;

[0022] Calculating a first straight line according to the first coordinate position and the first trajectory point;

[0023] Calculating a first direction angle between the first straight line and the direction vector;

[0024] Calculating a coordinate distance according to the first coordinate position and the second coordinate position;

[0025] Acquire multiple preset weights, and calculate the relay quality score according to the first direction angle, the coordinate distance, the first signal strength and the multiple preset weights;

[0026] The third emergency rescue vehicle corresponding to the maximum relay quality score is used as the first relay node.

[0027] Further, the step of obtaining a plurality of preset weights and calculating a relay quality score according to the direction angle, the coordinate distance, the first signal strength and the plurality of preset weights comprises:

[0028] Substituting the direction angle, the coordinate distance, the first signal strength and the plurality of preset weights into the following formula 1 to obtain the relay quality score;

[0029] The formula 1 is as follows:

[0030]

[0031] Among them, C represents the relay quality score, S1 represents the first signal strength, d1 represents the coordinate distance, α, β and γ represent multiple preset weights, and θ represents the direction angle.

[0032] Further, the step of the first emergency rescue vehicle selecting a second relay node from a plurality of the second emergency rescue vehicles according to the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength comprises:

[0033] calculating a first vehicle distance between a first emergency rescue vehicle and a second emergency rescue vehicle;

[0034] calculating a second vehicle distance between the second emergency rescue vehicle and the third emergency rescue vehicle;

[0035] Calculate the length of the opposite side of the first triangle according to the first straight line and the first direction angle;

[0036] Calculating a total distance between the first trajectory point and the second trajectory point;

[0037] Subtract the length of the opposite side of the first triangle from the total distance to obtain a first effective communication distance;

[0038] Calculating a second straight line according to the second coordinate position and the first trajectory point;

[0039] Calculating a second direction angle between the second straight line and the direction vector;

[0040] Calculate the length of the opposite side of the second triangle according to the second straight line and the second direction angle;

[0041] Subtract the length of the opposite side of the second triangle from the total distance to obtain a second effective communication distance;

[0042] Calculate the communication topology quality corresponding to each second emergency rescue vehicle according to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength;

[0043] A second relay node is selected from a plurality of the second emergency rescue vehicles according to the communication topology quality.

[0044] Further, the step of calculating the communication topology quality corresponding to each second emergency rescue vehicle according to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength includes:

[0045] Substituting the first vehicle distance, the second vehicle distance, the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength into formula 2, the communication topology quality is obtained;

[0046] The formula 2 is as follows:

[0047]

[0048] Among them, Q represents the communication topology quality, R1 represents the first effective communication distance, R2 represents the second effective communication distance, S1 represents the first signal strength, S2 represents the second signal strength, d1 represents, x1 and y1 represent the first coordinate position, x2 and y2 represent the second coordinate position, σ is a constant term, C represents the relay quality score, d1 represents the first vehicle distance, and d2 represents the second vehicle distance.

[0049] Furthermore, after the first emergency rescue vehicle sends the communication data to the second relay node and the second relay node sends the communication data to the first relay node, the method further includes:

[0050] If the first relay node does not receive a third response frame after broadcasting the second detection frame, sending a fourth response frame to the second relay node;

[0051] The second relay node forwards the fourth response frame to the first emergency rescue vehicle;

[0052] After receiving the fourth response frame, the first emergency rescue vehicle returns to execute the step of the first emergency rescue vehicle broadcasting the first detection frame and subsequent steps.

[0053] A second aspect of an embodiment of the present invention provides a wireless emergency communication device, including:

[0054] A broadcast unit, used for the first emergency rescue vehicle to broadcast a first detection frame;

[0055] A receiving unit, configured for a plurality of second emergency rescue vehicles to receive the first detection frame and broadcast a second detection frame;

[0056] A first sending unit is used for the third emergency rescue vehicle to return a first response frame to the second emergency rescue vehicle after receiving the second detection frame; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle;

[0057] A selection unit, configured for the second emergency rescue vehicle to select a first relay node from among the plurality of third emergency rescue vehicles according to first response frames respectively corresponding to the plurality of third emergency rescue vehicles;

[0058] A second sending unit is used for the second emergency rescue vehicle to return a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle;

[0059] A calculation unit, configured for the first emergency rescue vehicle to select a second relay node from a plurality of the second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength;

[0060] A third sending unit, configured for the first emergency rescue vehicle to send communication data to the second relay node, and the second relay node to send the communication data to the first relay node;

[0061] A processing unit is used to use the first relay node as the first emergency rescue vehicle, and execute the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps until the communication data is sent to the cellular network.

[0062] A third aspect of an embodiment of the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.

[0063] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0064] Compared with the prior art, the embodiment of the present invention has the following beneficial effects: the first emergency rescue vehicle sends a first detection frame for broadcasting a communication request. After receiving the first detection frame, multiple second emergency rescue vehicles will broadcast a second detection frame for further communication. When the third emergency rescue vehicle receives the second detection frame, it will return a first response frame to the second emergency rescue vehicle. The first response frame contains information such as the coordinate position and signal strength of the third emergency rescue vehicle. According to the first response frames returned by each of the multiple third emergency rescue vehicles, the second emergency rescue vehicle can select one as the first relay node to transmit communication data. After selecting the first relay node, the second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle. The second response frame includes information such as the relay quality score, the position and signal strength of the third emergency rescue vehicle, and the position and signal strength of the second emergency rescue vehicle itself. Based on the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength, the first emergency rescue vehicle selects a second relay node from multiple second emergency rescue vehicles. The first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the data to the first relay node. This cycle is repeated until the communication data is sent to the cellular network. Through the above steps, emergency rescue vehicles can use the self-organizing network to establish a connection with the cellular network, transmit communication data through relay nodes, and achieve effective communication in disaster scenarios. This technical solution only uses the communication module in the emergency rescue vehicle, without relying on basic communication facilities and satellite communications, and can provide reliable communication services under extreme weather conditions. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the embodiments or related technical descriptions. 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 creative work.

[0066] Figure 1 A schematic flow chart of a wireless emergency communication method provided by the present invention is shown;

[0067] Figure 2 A schematic diagram of a wireless emergency communication device provided by an embodiment of the present invention is shown;

[0068] Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION

[0069] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.

[0070] The embodiments of the present invention provide a method, device and storage medium for wireless emergency communication to solve the technical problem that in actual application scenarios, natural disasters are often accompanied by extreme weather, making it difficult for satellite communications to provide effective communication.

[0071] First, the present invention provides a wireless emergency communication method, which is applied to multiple emergency rescue vehicles. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a wireless emergency communication method provided by the present invention. Figure 1 As shown, the wireless emergency communication method may include the following steps:

[0072] Step 101: a first emergency rescue vehicle broadcasts a first detection frame;

[0073] The wireless emergency communication provided by the present invention is applied to disaster relief environments with multiple emergency rescue vehicles, wherein the emergency rescue vehicles include but are not limited to rescue vehicles such as personnel transport vehicles, goods transport vehicles and communication base station vehicles, etc. Multiple emergency rescue vehicles are equipped with wireless communication modules.

[0074] A unified communication protocol is adopted between multiple emergency rescue vehicles to realize the self-organizing network in the present invention and realize wireless emergency communication. Among them, wireless emergency communication can also be applied to devices with wireless communication modules such as handheld terminals or fixed devices.

[0075] When the first emergency rescue vehicle goes deep into the disaster relief environment, it is disconnected from the cellular network, so it needs to establish wireless communication connections with other emergency rescue vehicles to form a self-organizing relay network. The communication data is transmitted to the cellular network through other emergency rescue vehicles to restore normal wireless communication.

[0076] The self-organizing relay network provided by the present invention is a mechanism for automatically establishing network connections without the need for a central controller. The wireless communication modules in the emergency rescue vehicles can dynamically establish and maintain communication links to form a temporary communication network that can flexibly adapt to various environments. The self-organizing relay network does not rely on traditional infrastructure, such as telecommunications towers or network service providers, but is composed of multiple emergency rescue vehicles distributed in the disaster area. The wireless communication module in each emergency rescue vehicle has the ability to route and forward data, so that the entire network forms a stable, decentralized and expanded communication system. The self-organizing relay network includes physical layer, link layer, network layer and application layer protocols. The physical layer is responsible for transmitting data through wireless signals; the link layer manages the connection between devices and handles error correction; the network layer is responsible for data routing and forwarding; the application layer supports various communication applications, such as voice calls, text messages and data transmission.

[0077] When the first emergency rescue vehicle needs to conduct wireless communication, it broadcasts the first detection frame to the surrounding emergency rescue vehicles. The first detection frame is used to instruct the second emergency rescue vehicle to detect the third emergency rescue vehicle around it, so as to send the corresponding information of the second emergency rescue vehicle and the third emergency rescue vehicle to the first emergency rescue vehicle, thereby enabling the first emergency rescue vehicle to select a communication routing path to establish an effective high-quality wireless communication network.

[0078] It is worth noting that the first emergency rescue vehicle, the second emergency rescue vehicle and the third emergency rescue vehicle are communication groups, and each communication group executes steps 101 to 108 to obtain a communication routing path within the communication group. The next communication group also executes steps 101 to 108 to establish a subsequent communication routing path until it is connected to the cellular network.

[0079] Among them, since the emergency rescue vehicle may be in a stationary state or in a moving state, the present invention sets the routing hop number in the communication group to two hops to prevent an excessively long communication link from causing communication interruption when the emergency rescue vehicle moves.

[0080] Optionally, before step 101, steps A1 to A3 are also included:

[0081] Step A1: Acquire a first trajectory point where the first emergency rescue vehicle is disconnected from the cellular network;

[0082] During the movement of the first emergency rescue vehicle, the track point is recorded at a preset frequency. When the first emergency rescue vehicle is disconnected from the cellular network, the current track point is used as the first track point.

[0083] Step A2: obtaining a second trajectory point where the first emergency rescue vehicle is currently located;

[0084] Step A3: Calculate the direction vector according to the first trajectory point and the second trajectory point; the direction vector is used to characterize the communication topology connection direction.

[0085] In order to perform relaying along the minimum path as much as possible in the subsequent communication topology selection, this embodiment calculates the direction vector formed by the first trajectory point and the second trajectory point, so that in the subsequent calculation process, the direction vector can be used as a guide to select a suitable relay point.

[0086] Step 102: A plurality of second emergency rescue vehicles receive the first detection frame and broadcast a second detection frame;

[0087] The second detection frame has the same function as the first detection frame, and is used to detect a third emergency rescue vehicle near the second emergency rescue vehicle.

[0088] Step 103: After receiving the second detection frame, the third emergency rescue vehicle returns a first response frame to the second emergency rescue vehicle; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle;

[0089] After receiving the second detection frame, the plurality of third emergency rescue vehicles respectively return first response frames to the second emergency rescue vehicle, wherein the information in the first response frame includes but is not limited to the first coordinate position and the first signal strength of the third emergency rescue vehicle.

[0090] Step 104: the second emergency rescue vehicle selects a first relay node from the plurality of third emergency rescue vehicles according to the first response frames respectively corresponding to the plurality of third emergency rescue vehicles;

[0091] Specifically, step 104 includes steps 1041 to 1046:

[0092] Step 1041: extracting the direction vector in the first detection frame;

[0093] Step 1042: Calculate a first straight line according to the first coordinate position and the first trajectory point;

[0094] In order to evaluate whether the first coordinate position of the third emergency rescue vehicle is close to the direction vector, the first straight line formed by the first coordinate position and the first trajectory point is calculated. Then, according to the first direction angle between the direction vector and the first straight line, it is evaluated whether the first coordinate position is close to the direction vector. Among them, the smaller the first direction angle, the closer the first coordinate position is to the direction vector. The larger the first direction angle, the farther the first coordinate position is from the direction vector.

[0095] Step 1043: Calculate a first direction angle between the first straight line and the direction vector;

[0096] Step 1044: Calculate a coordinate distance according to the first coordinate position and the second coordinate position;

[0097] The coordinate distance is used to evaluate the distance between the second emergency rescue vehicle and the third emergency rescue vehicle.

[0098] Step 1045: Acquire multiple preset weights, and calculate the relay quality score according to the first direction angle, the coordinate distance, the first signal strength and the multiple preset weights;

[0099] Specifically, step 1045 includes:

[0100] Substituting the direction angle, the coordinate distance, the first signal strength and the plurality of preset weights into the following formula 1 to obtain the relay quality score;

[0101] The formula 1 is as follows:

[0102]

[0103] Among them, C represents the relay quality score, S1 represents the first signal strength, d1 represents the coordinate distance, α, β and γ represent multiple preset weights, and θ represents the direction angle.

[0104] θ is the direction angle, which is a radian number between 0 and π, used to evaluate whether the first coordinate position is close to the direction vector. The closer the direction angle is to 0, the better the relay quality. The closer the direction angle is to π, the worse the relay quality.

[0105] This application comprehensively considers the influence of various factors, and since the direction angle, coordinate distance, first signal strength and multiple preset weights have a certain influence on the relay quality score, the relay quality score is calculated based on the direction angle, coordinate distance, first signal strength and multiple preset weights. Among them, the above formula 1 is based on a large amount of experimental data and verification, but is not limited to the above mathematical expression.

[0106] Step 1046: Use the third emergency rescue vehicle corresponding to the maximum relay quality score as the first relay node.

[0107] In this embodiment, the direction information can be determined by extracting the direction vector in the first detection frame. According to the first coordinate position and the first trajectory point, the first straight line can be calculated to determine the direction of the straight line. By calculating the angle between the first straight line and the direction vector, the degree of deviation between the straight line and the direction can be determined. By calculating the distance between the first coordinate position and the second coordinate position, the spatial distance between the two coordinate points can be determined. By obtaining multiple preset weights and combining the first direction angle, coordinate distance, first signal strength and multiple preset weights, the relay quality score can be calculated. According to the third emergency rescue vehicle corresponding to the maximum relay quality score, the vehicle can be determined as the first relay node. In summary, the technical solution can select the best first relay node by calculating parameters such as the direction vector, the straight line angle, the coordinate distance and the signal strength.

[0108] Step 105: the second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle;

[0109] Step 106: The first emergency rescue vehicle selects a second relay node from a plurality of second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength;

[0110] Specifically, step 106 specifically includes steps 1061 to 1071:

[0111] Step 1061: Calculate a first vehicle distance between a first emergency rescue vehicle and a second emergency rescue vehicle;

[0112] Step 1062: Calculate a second vehicle distance between the second emergency rescue vehicle and the third emergency rescue vehicle;

[0113] Step 1063: Calculate the length of the opposite side of the first triangle according to the first straight line and the first direction angle;

[0114] Based on the law of cosines, the length of the opposite side of the first triangle is calculated according to the first straight line and the first direction angle.

[0115] Step 1064: Calculate the total distance between the first trajectory point and the second trajectory point;

[0116] The total distance represents the distance between the signal disconnection point and the first emergency rescue vehicle.

[0117] Step 1065: Subtract the length of the opposite side of the first triangle from the total distance to obtain a first effective communication distance;

[0118] The first effective communication distance refers to the projection of the communication distance between the second emergency rescue vehicle and the third emergency rescue vehicle on the direction vector.

[0119] Step 1066: Calculate a second straight line according to the second coordinate position and the first trajectory point;

[0120] Step 1067: Calculate a second direction angle between the second straight line and the direction vector;

[0121] Step 1068: Calculate the length of the opposite side of the second triangle according to the second straight line and the second direction angle;

[0122] Step 1069: Subtract the length of the opposite side of the second triangle from the total distance to obtain a second effective communication distance;

[0123] The second effective communication distance refers to the projection of the communication distance between the first emergency rescue vehicle and the second emergency rescue vehicle on the direction vector.

[0124] Step 1070: Calculate the communication topology quality corresponding to each second emergency rescue vehicle according to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength;

[0125] Specifically, step 1068 includes:

[0126] calculating a first vehicle distance between a first emergency rescue vehicle and a second emergency rescue vehicle;

[0127] calculating a second vehicle distance between the second emergency rescue vehicle and the third emergency rescue vehicle;

[0128] Substituting the first vehicle distance, the second vehicle distance, the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength into formula 2, the communication topology quality is obtained;

[0129] The formula 2 is as follows:

[0130]

[0131] Among them, Q represents the communication topology quality, R1 represents the first effective communication distance, R2 represents the second effective communication distance, S1 represents the first signal strength, S2 represents the second signal strength, d1 represents, x1 and y1 represent the first coordinate position, x2 and y2 represent the second coordinate position, σ is a constant term, C represents the relay quality score, d1 represents the first vehicle distance, and d2 represents the second vehicle distance.

[0132] This application comprehensively considers the influence of various factors, and since the first vehicle distance, the second vehicle distance, the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength all have a certain influence on the communication topology quality, the communication topology quality is calculated based on the first vehicle distance, the second vehicle distance, the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength. Among them, the above formula 2 is based on a large amount of experimental data and verification, but is not limited to the above mathematical expression.

[0133] Step 1071: Select a second relay node from a plurality of the second emergency rescue vehicles according to the communication topology quality.

[0134] The second emergency rescue vehicle corresponding to the maximum communication topology quality is used as the second relay node.

[0135] It can be understood that in steps 1041 to 1045, based on the relay quality score, the second emergency rescue vehicle is bound to the third emergency rescue vehicle to form a communication group. In steps 1061 to 1071, the first emergency rescue vehicle is combined with multiple communication groups to calculate the communication topology quality. Then, the second emergency rescue vehicle corresponding to the maximum communication topology quality is selected as the second relay node to form a communication topology.

[0136] In this embodiment, by calculating the distance between the first emergency rescue vehicle and the second emergency rescue vehicle, and by calculating the distance between the second emergency rescue vehicle and the third emergency rescue vehicle, the spatial distance between them can be determined. According to the second vehicle distance and the first direction angle, the length of the opposite side of the first triangle can be calculated for the communication distance between the second emergency rescue vehicle and the third emergency rescue vehicle. The total distance between the first trajectory point and the second trajectory point is calculated to describe the trajectory length between the first emergency rescue vehicle and the network disconnection point. By subtracting the length of the opposite side of the first triangle from the total distance, the first effective communication distance can be obtained, which is used to evaluate the effective communication distance between the second emergency rescue vehicle and the third emergency rescue vehicle. According to the second coordinate position and the first trajectory point, the second straight line can be calculated. The angle between the second straight line and the direction vector is calculated to determine the degree of deviation between the communication direction of the first emergency rescue vehicle and the second emergency rescue vehicle and the vector direction. According to the first vehicle distance and the second direction angle, the length of the opposite side of the second triangle can be calculated. By subtracting the length of the opposite side of the second triangle from the total distance, the second effective communication distance can be obtained, which is used to evaluate the effective communication range between the second emergency rescue vehicle and the first emergency rescue vehicle. According to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength, the communication topology quality corresponding to each communication topology can be calculated. According to the communication topology quality, a second relay node is selected from multiple second emergency rescue vehicles to improve the communication quality and emergency rescue efficiency. In summary, the technical solution selects the best second relay node by calculating parameters such as distance, angle, trajectory and signal strength, thereby improving the quality of wireless communication.

[0137] Step 107: the first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the communication data to the first relay node;

[0138] Optionally, after step 107, steps A to C are also included:

[0139] Step A: If the first relay node does not receive a third response frame after broadcasting the second detection frame, sending a fourth response frame to the second relay node;

[0140] Step B: the second relay node forwards the fourth response frame to the first emergency rescue vehicle;

[0141] Step C: After receiving the fourth response frame, the first emergency rescue vehicle returns to execute the step of broadcasting the first detection frame by the first emergency rescue vehicle and subsequent steps.

[0142] After broadcasting the second detection frame, the first relay node (i.e., the third emergency rescue vehicle) cannot detect other emergency rescue vehicles nearby, that is, it cannot relay the communication data, and needs to reselect other communication topologies. Therefore, it is necessary to send a fourth response frame to the second relay node (i.e., the second emergency rescue vehicle), and the second relay node forwards the fourth response frame to the first emergency rescue vehicle to instruct the first emergency rescue vehicle to reselect the communication topology, thereby improving the transmission rate and effectiveness of wireless communication.

[0143] Step 108: Use the first relay node as the first emergency rescue vehicle, and execute the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps until the communication data is sent to the cellular network.

[0144] The first relay node is used as the first emergency rescue vehicle, and steps 101 to 108 are performed until the communication data is sent to the cellular network.

[0145] As an optional embodiment of the present application, if the first emergency rescue vehicle can only detect one second emergency rescue vehicle, the second emergency rescue vehicle is directly used as a relay point. If the second emergency rescue vehicle can only detect one third emergency rescue vehicle, the third emergency rescue vehicle is directly used as a relay point.

[0146] In this embodiment, the first emergency rescue vehicle sends a first detection frame for broadcasting a communication request. After receiving the first detection frame, multiple second emergency rescue vehicles will broadcast a second detection frame for further communication. When the third emergency rescue vehicle receives the second detection frame, it will return a first response frame to the second emergency rescue vehicle. The first response frame contains information such as the coordinate position and signal strength of the third emergency rescue vehicle. According to the first response frame returned by each of the multiple third emergency rescue vehicles, the second emergency rescue vehicle can select one as the first relay node to transmit communication data. After selecting the first relay node, the second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle. The second response frame includes information such as the relay quality score, the position and signal strength of the third emergency rescue vehicle, and the position and signal strength of the second emergency rescue vehicle itself. Based on the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength, the first emergency rescue vehicle selects a second relay node from multiple second emergency rescue vehicles. The first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the data to the first relay node. This cycle is reversed until the communication data is sent to the cellular network. Through the above steps, emergency rescue vehicles can use self-organizing networks to establish connections with cellular networks, transmit communication data through relay nodes, and achieve effective communication in disaster scenarios. This technical solution only uses the communication module in the emergency rescue vehicle, without relying on basic communication facilities and satellite communications, and can provide reliable communication services under extreme weather conditions.

[0147] like Figure 2 The present invention provides a wireless emergency communication device 2, see Figure 2 , Figure 2 A schematic diagram of a wireless emergency communication device provided by the present invention is shown, Figure 2 A wireless emergency communication device includes:

[0148] A broadcast unit 21, used for the first emergency rescue vehicle to broadcast a first detection frame;

[0149] A receiving unit 22, configured for a plurality of second emergency rescue vehicles to receive the first detection frame and broadcast a second detection frame;

[0150] A first sending unit 23 is used for the third emergency rescue vehicle to return a first response frame to the second emergency rescue vehicle after receiving the second detection frame; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle;

[0151] A selection unit 24, configured for the second emergency rescue vehicle to select a first relay node from among the plurality of third emergency rescue vehicles according to first response frames respectively corresponding to the plurality of third emergency rescue vehicles;

[0152] A second sending unit 25 is used for the second emergency rescue vehicle to return a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle;

[0153] A calculation unit 26, configured for the first emergency rescue vehicle to select a second relay node from a plurality of the second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength;

[0154] A third sending unit 27, configured for the first emergency rescue vehicle to send communication data to the second relay node, and the second relay node to send the communication data to the first relay node;

[0155] The processing unit 28 is configured to use the first relay node as the first emergency rescue vehicle, and execute the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps until the communication data is sent to the cellular network.

[0156] The present invention provides a wireless emergency communication device, in which a first emergency rescue vehicle sends a first detection frame for broadcasting a communication request. After receiving the first detection frame, multiple second emergency rescue vehicles will broadcast a second detection frame for further communication. When the third emergency rescue vehicle receives the second detection frame, it will return a first response frame to the second emergency rescue vehicle. The first response frame contains information such as the coordinate position and signal strength of the third emergency rescue vehicle. According to the first response frames returned by each of the multiple third emergency rescue vehicles, the second emergency rescue vehicle can select one as a first relay node to transmit communication data. After selecting the first relay node, the second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle. The second response frame includes information such as a relay quality score, the position and signal strength of the third emergency rescue vehicle, and the position and signal strength of the second emergency rescue vehicle itself. Based on information such as the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength, the first emergency rescue vehicle selects a second relay node from multiple second emergency rescue vehicles. The first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the data to the first relay node. This cycle is repeated until the communication data is sent to the cellular network. Through the above steps, emergency rescue vehicles can use the self-organizing network to establish a connection with the cellular network, transmit communication data through relay nodes, and achieve effective communication in disaster scenarios. This technical solution only uses the communication module in the emergency rescue vehicle, without relying on basic communication facilities and satellite communications, and can provide reliable communication services under extreme weather conditions.

[0157] Figure 3 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 3 As shown, a terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a wireless emergency communication program. When the processor 30 executes the computer program 32, the steps in the above-mentioned wireless emergency communication method embodiments are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 2 The functions of units 21 to 28 are shown.

[0158] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit:

[0159] A broadcast unit, used for the first emergency rescue vehicle to broadcast a first detection frame;

[0160] A receiving unit, configured for a plurality of second emergency rescue vehicles to receive the first detection frame and broadcast a second detection frame;

[0161] A first sending unit is used for the third emergency rescue vehicle to return a first response frame to the second emergency rescue vehicle after receiving the second detection frame; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle;

[0162] A selection unit, configured for the second emergency rescue vehicle to select a first relay node from among the plurality of third emergency rescue vehicles according to first response frames respectively corresponding to the plurality of third emergency rescue vehicles;

[0163] A second sending unit is used for the second emergency rescue vehicle to return a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle;

[0164] A calculation unit, configured for the first emergency rescue vehicle to select a second relay node from a plurality of the second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength;

[0165] A third sending unit, configured for the first emergency rescue vehicle to send communication data to the second relay node, and the second relay node to send the communication data to the first relay node;

[0166] A processing unit is used to use the first relay node as the first emergency rescue vehicle, and execute the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps until the communication data is sent to the cellular network.

[0167] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3 It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.

[0168] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) 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.

[0169] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the terminal device 3. Further, the memory 31 may also include both an internal storage unit and an external storage device of the terminal device 3. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.

[0170] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean 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 embodiment of the present invention.

[0171] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0172] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0173] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0174] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0175] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0176] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0177] Those skilled in the art will appreciate that the units and algorithm steps of each example 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 performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0178] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0179] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, and may be located in one place or distributed over multiple network units.

[0180] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.

[0181] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.

[0182] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.

[0183] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0184] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0185] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.

Claims

1. A wireless emergency communication method, characterized in that: The wireless emergency communication method is applied to multiple emergency rescue vehicles, and the wireless emergency communication method includes: The first emergency rescue vehicle broadcasts a first detection frame; A plurality of second emergency rescue vehicles receive the first detection frame and broadcast a second detection frame; After receiving the second detection frame, the third emergency rescue vehicle returns a first response frame to the second emergency rescue vehicle; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle; The second emergency rescue vehicle selects a first relay node from among the plurality of third emergency rescue vehicles according to the first response frames respectively corresponding to the plurality of third emergency rescue vehicles; The second emergency rescue vehicle returns a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score between the second emergency rescue vehicle and the third emergency rescue vehicle, a first coordinate position of the third emergency rescue vehicle, a first signal strength of the third emergency rescue vehicle, a second coordinate position of the second emergency rescue vehicle, and a second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle, and is used to evaluate the communication quality between the second emergency rescue vehicle and the third emergency rescue vehicle; The first emergency rescue vehicle selects a second relay node from a plurality of the second emergency rescue vehicles according to the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength; The first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the communication data to the first relay node; The first relay node is used as the first emergency rescue vehicle, and the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps are performed until the communication data is sent to the cellular network.

2. The wireless emergency communication method according to claim 1, characterized in that: The first detection frame includes a direction vector; Before the first emergency rescue vehicle broadcasts the first detection frame, the method further includes: Acquire a first trajectory point at which the first emergency rescue vehicle is disconnected from the cellular network; Obtaining a second trajectory point where the first emergency rescue vehicle is currently located; The direction vector is calculated according to the first trajectory point and the second trajectory point; the direction vector is used to characterize the communication topology connection direction.

3. The wireless emergency communication method according to claim 2, characterized in that: The step of the second emergency rescue vehicle selecting a first relay node from the plurality of third emergency rescue vehicles according to the first response frames respectively corresponding to the plurality of third emergency rescue vehicles comprises: extracting the direction vector in the first detection frame; Calculating a first straight line according to the first coordinate position and the first trajectory point; Calculating a first direction angle between the first straight line and the direction vector; Calculating a coordinate distance according to the first coordinate position and the second coordinate position; Acquire multiple preset weights, and calculate the relay quality score according to the first direction angle, the coordinate distance, the first signal strength and the multiple preset weights; The third emergency rescue vehicle corresponding to the maximum relay quality score is used as the first relay node.

4. The wireless emergency communication method according to claim 3, characterized in that: The step of obtaining a plurality of preset weights and calculating a relay quality score according to the first direction angle, the coordinate distance, the first signal strength and the plurality of preset weights comprises: Substituting the first direction angle, the coordinate distance, the first signal strength and the plurality of preset weights into the following formula 1 to obtain the relay quality score; The formula 1 is as follows: in, represents the relay quality score, represents the first signal strength, represents the coordinate distance, , and represents a plurality of the preset weights, represents the first direction angle.

5. The wireless emergency communication method according to claim 2, characterized in that: The step of the first emergency rescue vehicle selecting a second relay node from a plurality of the second emergency rescue vehicles according to the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength comprises: calculating a first vehicle distance between a first emergency rescue vehicle and a second emergency rescue vehicle; calculating a second vehicle distance between the second emergency rescue vehicle and the third emergency rescue vehicle; Calculate the length of the opposite side of the first triangle according to the second vehicle distance and the angle between the first direction; Calculating a total distance between the first trajectory point and the second trajectory point; Subtract the length of the opposite side of the first triangle from the total distance to obtain a first effective communication distance; Calculating a second straight line according to the second coordinate position and the first trajectory point; Calculating a second direction angle between the second straight line and the direction vector; Calculating the length of the opposite side of the second triangle according to the first vehicle distance and the second direction angle; Subtract the length of the opposite side of the second triangle from the total distance to obtain a second effective communication distance; Calculate the communication topology quality corresponding to each second emergency rescue vehicle according to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength; A second relay node is selected from a plurality of the second emergency rescue vehicles according to the communication topology quality.

6. The wireless emergency communication method according to claim 5, characterized in that: The step of calculating the communication topology quality corresponding to each second emergency rescue vehicle according to the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength comprises: Substituting the first vehicle distance, the second vehicle distance, the first effective communication distance, the second effective communication distance, the relay quality score, the first coordinate position, the first signal strength, the second coordinate position and the second signal strength into formula 2, the communication topology quality is obtained; The formula 2 is as follows: in, represents the communication topology quality, represents the first effective communication distance, represents the second effective communication distance, represents the first signal strength, represents the second signal strength, and represents the first coordinate position, and represents the second coordinate position, is a constant term, represents the relay quality score, represents the first vehicle distance, represents the second vehicle distance.

7. The wireless emergency communication method according to claim 1, characterized in that: After the first emergency rescue vehicle sends the communication data to the second relay node, and the second relay node sends the communication data to the first relay node, the method further includes: If the first relay node does not receive a third response frame after broadcasting the second detection frame, sending a fourth response frame to the second relay node; The second relay node forwards the fourth response frame to the first emergency rescue vehicle; After receiving the fourth response frame, the first emergency rescue vehicle returns to execute the step of the first emergency rescue vehicle broadcasting the first detection frame and subsequent steps.

8. A wireless emergency communication device, characterized in that: The wireless emergency communication device comprises: A broadcast unit, used for the first emergency rescue vehicle to broadcast a first detection frame; A receiving unit, configured for a plurality of second emergency rescue vehicles to receive the first detection frame and broadcast a second detection frame; A first sending unit is used for the third emergency rescue vehicle to return a first response frame to the second emergency rescue vehicle after receiving the second detection frame; the information in the first response frame includes the first coordinate position and the first signal strength of the third emergency rescue vehicle; A selection unit, configured for the second emergency rescue vehicle to select a first relay node from among the plurality of third emergency rescue vehicles according to first response frames respectively corresponding to the plurality of third emergency rescue vehicles; A second sending unit is used for the second emergency rescue vehicle to return a second response frame to the first emergency rescue vehicle; the information in the second response frame includes a relay quality score between the second emergency rescue vehicle and the third emergency rescue vehicle, the first coordinate position of the third emergency rescue vehicle, the first signal strength of the third emergency rescue vehicle, the second coordinate position of the second emergency rescue vehicle and the second signal strength of the second emergency rescue vehicle; the relay quality score is calculated based on the information corresponding to the second emergency rescue vehicle and the third emergency rescue vehicle, and is used to evaluate the communication quality between the second emergency rescue vehicle and the third emergency rescue vehicle; A calculation unit, configured for the first emergency rescue vehicle to select a second relay node from a plurality of the second emergency rescue vehicles according to the first coordinate position, the first signal strength, the second coordinate position, and the second signal strength; A third sending unit, configured for the first emergency rescue vehicle to send communication data to the second relay node, and the second relay node to send the communication data to the first relay node; A processing unit is used to use the first relay node as the first emergency rescue vehicle, and execute the step of the first emergency rescue vehicle broadcasting a first detection frame and subsequent steps until the communication data is sent to the cellular network.

9. A terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 7 are implemented.