Disclosure of Invention
The application provides a multi-network integrated emergency call method and device, which are beneficial to guaranteeing timeliness and reliability of a call process and better coping with natural disasters.
In a first aspect, the present application provides a multi-network converged emergency call response method. The method comprises the following steps:
Acquiring distance information between a sender and a receiver, and a first communication link and a second communication link, wherein the first communication link comprises a public network communication network and/or a satellite communication network, and the second communication link comprises an ad hoc network communication network depending on a plurality of relay parties;
Determining a second communication duration of a second communication link according to the distance information;
selecting a communication link according to the second communication duration, the pre-acquired first communication duration of the first communication link and the pre-acquired emergency degree data of the communication information to be transmitted;
The selecting the communication link according to the second communication duration, the first communication duration of the first communication link and the pre-acquired emergency data of the communication information to be transmitted includes:
Selecting a first communication link for communication when the urgency data is not higher than an urgency threshold;
When the emergency data is higher than an emergency threshold, if the first communication time length is not longer than a first preset multiple of a second communication time length, selecting a first communication link, wherein the first preset multiple is greater than 1, if the first communication time length is longer than a second preset multiple of the second communication time length, selecting a second communication link, wherein the second preset multiple is greater than the first preset multiple, if the first communication time length is longer than the first preset multiple of the second communication time length and is not longer than the second preset multiple of the second communication time length, calculating preference data of the second communication link, and when the preference data is higher than the preference threshold, selecting the second communication link, otherwise, selecting the first communication link, wherein the preference data is positively related to the emergency data and the first communication time length, and negatively related to the second communication time length.
By adopting the technical scheme, a proper communication link can be selected when communication is needed, and the timeliness and reliability of the communication link are guaranteed, so that the timeliness and reliability of a calling process are guaranteed, and the natural disasters are better handled.
Further, the method for acquiring the emergency degree data comprises the following steps:
setting the interval duration between the sending time stamp carried by the communication information to be transmitted and the current time as The carried importance level is p, the carried data description labels are n, and the emergency coefficient obtained in advance relative to the ith data description label is that,If the emergency degree data is z, thenIn which, in the process,Is a preset constant greater than zero.
Further, the calculation method of the preference data includes:
Setting the first communication time length as The second communication duration isThe preference data is y, thenWherein q is a pre-acquired link importance coefficient between a sender and a receiver, m is a data amount of communication information to be transmitted, x is the distance information,Are all preset constants greater than zero.
Further, the method for acquiring the emergency coefficient of the data description tag comprises the following steps:
and a tag coefficient comparison table is pre-constructed relative to each data description tag, and the data description tags are substituted into the tag coefficient comparison table to obtain the emergency coefficient.
Further, the method for acquiring the link importance coefficient comprises the following steps:
Acquiring first position information of a sender and second position information of a receiver;
connecting the first position information and the second position information to determine an ideal link track;
Determining a division area through which an ideal link track passes based on a pre-constructed emergency division map;
and determining the link importance coefficient based on the preset partition importance coefficient corresponding to each partition area.
In a second aspect, the application provides a multi-network converged emergency call device. The device comprises:
The system comprises an acquisition module, a first communication module and a second communication module, wherein the acquisition module is used for acquiring distance information between a sender and a receiver, and a first communication link and a second communication link, the first communication link comprises a public network communication network and/or a satellite communication network, and the second communication link comprises an ad hoc network communication network depending on a plurality of relay parties;
A calculation module for determining a second communication duration of the second communication link according to the distance information, and
The selection module is used for selecting the communication link according to the second communication duration, the pre-acquired first communication duration of the first communication link and the pre-acquired emergency degree data of the communication information to be transmitted;
The selection module is further configured to:
The selecting the communication link according to the second communication duration, the first communication duration of the first communication link and the pre-acquired emergency data of the communication information to be transmitted includes:
Selecting a first communication link for communication when the urgency data is not higher than an urgency threshold;
When the emergency data is higher than an emergency threshold, if the first communication time length is not longer than a first preset multiple of a second communication time length, selecting a first communication link, wherein the first preset multiple is greater than 1, if the first communication time length is longer than a second preset multiple of the second communication time length, selecting a second communication link, wherein the second preset multiple is greater than the first preset multiple, if the first communication time length is longer than the first preset multiple of the second communication time length and is not longer than the second preset multiple of the second communication time length, calculating preference data of the second communication link, and when the preference data is higher than the preference threshold, selecting the second communication link, otherwise, selecting the first communication link, wherein the preference data is positively related to the emergency data and the first communication time length, and negatively related to the second communication time length.
Further, the selection module is further configured to obtain the urgency data, where the method includes:
setting the interval duration between the sending time stamp carried by the communication information to be transmitted and the current time as The carried importance level is p, the carried data description labels are n, and the emergency coefficient obtained in advance relative to the ith data description label is that,If the emergency degree data is z, thenIn which, in the process,Is a preset constant greater than zero.
Further, the selecting module is further configured to calculate the preference data, including:
Setting the first communication time length as The second communication duration isThe preference data is y, thenWherein q is a pre-acquired link importance coefficient between a sender and a receiver, m is a data amount of communication information to be transmitted, x is the distance information,Are all preset constants greater than zero.
Further, the selection module is further configured to obtain the emergency coefficient of the data description tag, where the method includes:
and a tag coefficient comparison table is pre-constructed relative to each data description tag, and the data description tags are substituted into the tag coefficient comparison table to obtain the emergency coefficient.
Further, the selecting module is further configured to obtain the link importance coefficient by:
Acquiring first position information of a sender and second position information of a receiver;
connecting the first position information and the second position information to determine an ideal link track;
Determining a division area through which an ideal link track passes based on a pre-constructed emergency division map;
and determining the link importance coefficient based on the preset partition importance coefficient corresponding to each partition area.
In summary, the application at least comprises the following beneficial effects:
The utility model provides a emergent calling method and device of integration of multiple networks, it can be according to actual communication link and the specific condition of waiting to transmit communication information, intelligent choice communication link is favorable to guaranteeing emergent communication's timeliness and reliability.
It should be understood that the description in this summary is not intended to limit the critical or essential features of the embodiments of the application, nor is it intended to limit the scope of the application. Other features of the present application will become apparent from the description that follows.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
In addition, the term "and/or" is merely an association relation describing the association object, and means that three kinds of relations may exist, for example, a and/or B, and that three kinds of cases where a exists alone, while a and B exist alone, exist alone. In addition, the character "/" herein generally indicates that the front and rear associated objects are an "or" relationship.
The application provides a multi-network converged emergency call method and device, which can intelligently select a communication link according to the actual communication link and the specific condition of communication information to be transmitted, and are beneficial to ensuring the timeliness and reliability of emergency communication.
FIG. 1 illustrates a schematic diagram of an exemplary operating environment in which embodiments of the present application can be implemented.
Referring to fig. 1, the operating environment includes a server 110 and a terminal device 120 (only one is shown in the figure). In a specific emergency command scenario, the emergency command scenario includes a multi-level command center and a protected object (resident), where the server 110 is used by the uppermost level command center, and the terminal device 120 is used by other levels of command centers and protected objects.
The terminal device 120 has a first communication module and a second communication module, where the first communication module includes a public network communication unit, such as a 4G module, a 5G module, and the like, and a satellite communication unit, such as a beidou module, and the like, and the second communication module is an ad hoc network communication module, including, for example, a bluetooth module, a WiFi module, a lora communication module, and the like. The terminal device 120 may be directly connected to the server 110 using a first communication module, and may be connected to other terminal devices 120 within a certain range using a second communication module.
The terminal device 120 further includes a basic display function, a sound pickup function, a positioning function, and may further include other functions necessary for emergency, such as a waterproof and shockproof function, a communication encryption function, and a solar charging function. In summary, the terminal device 120 is capable of supporting the implementation of the call between different terminal devices 120 or between the server 110 and the terminal device 120.
In a first aspect, the present application provides a multi-network converged emergency call response method. The method may be implemented by the server 110 in fig. 1.
Referring to fig. 1, the method specifically includes the steps of:
And S210, acquiring distance information between a sender and a receiver and a first communication link and a second communication link.
In the embodiment of the present application, the sender refers to the terminal device 120 that sends out the communication information, and the receiver refers to the target terminal device 120 of the sender. In the emergency call process, both parties may be called and answered, so that the sender and the receiver refer to the roles of the terminal device 120 in a single call or answer process, and the whole communication process can be analogically understood.
The first communication link comprises a public network communication network and/or a satellite communication network, and the second communication link comprises an ad hoc network communication network depending on a plurality of relay parties;
In the embodiment of the present application, the sender and the receiver are both one of the terminal devices 120, and the sender and the receiver can establish communication connection through the first communication link and the second communication link. Of course, the first communication link is a fixed link, after the link is established, the transmission path is that the communication information sent by the sender is sent to the receiver via the server 110, and the second communication link is a temporary establishment link, so that the sender and the receiver need to temporarily establish the second communication link through the second communication modules of a plurality of intermediate devices between the sender and the receiver. Of course, the first communication link and the second communication link can realize communication information transmission after being established.
Since both the sender and the receiver have a positioning function and both the sender and the receiver can be connected to the server 110, the server 110 can acquire the first location information of the sender and the second location information of the receiver.
S220, determining a second communication duration of the second communication link according to the distance information.
The second communication duration refers to a duration required for the second communication link to transmit the test packet with the unit size. The second communication link is realized by means of the second communication modules of the plurality of terminal devices 120 between the sender and the receiver, the transmission process of the test packet is the same as the transmission process of the actual communication information, after the terminal device 120 of the previous node on the second communication link receives the test packet, the test packet is forwarded to the terminal device 120 of the next node after processing and identifying, because the test packet and the actual communication information are smaller, the transmission time between the nodes can be considered to be negligible, the time mainly consumed is in the process of forwarding after processing and identifying, and meanwhile, the communication distance of the second communication module is limited, so that if the distance information between the sender and the receiver is farther, the terminal device 120 of the needed intermediate node is more, the required processing and identifying process is longer, the second communication duration is considered to be proportional to the distance information city, and the distance information is larger, the second communication duration is longer.
S230, selecting a communication link according to the second communication duration, the pre-acquired first communication duration of the first communication link and the pre-acquired emergency degree data of the communication information to be transmitted.
The first communication link is implemented by means of a public network or a satellite communication network, and the influence of the communication distance is basically negligible, so that the first communication duration can be considered to be basically predetermined, i.e. pre-acquired.
The second communication duration is acquired in the previous step.
Before the communication link is selected, the communication information to be transmitted is already determined, so that the sending time stamp, the importance level and the data description label carried by the communication information to be transmitted can be obtained, and the method for obtaining the emergency data comprises the steps of setting the interval duration between the sending time stamp carried by the communication information to be transmitted and the current time as the followingThe carried importance level is p, the carried data description labels are n, and the emergency coefficient obtained in advance relative to the ith data description label is that,If the emergency degree data is z, thenIn which, in the process,Is a preset constant greater than zero.
Based on the foregoing, the method of this step specifically includes selecting a first communication link for communication when the urgency data is not greater than an urgency threshold;
When the emergency data is higher than an emergency threshold, if the first communication time length is not longer than a first preset multiple of a second communication time length, selecting a first communication link, wherein the first preset multiple is greater than 1, if the first communication time length is longer than a second preset multiple of the second communication time length, selecting a second communication link, wherein the second preset multiple is greater than the first preset multiple, if the first communication time length is longer than the first preset multiple of the second communication time length and is not longer than the second preset multiple of the second communication time length, calculating preference data of the second communication link, and when the preference data is higher than the preference threshold, selecting the second communication link, otherwise, selecting the first communication link, wherein the preference data is positively related to the emergency data and the first communication time length, and negatively related to the second communication time length. Generally, the first preset multiple is 1.2 and the second preset multiple is 2.5.
In the above, the specific calculation method of the preference data includes setting the first communication duration asThe second communication duration isThe preference data is y, thenWherein q is a pre-acquired link importance coefficient between a sender and a receiver, m is a data amount of communication information to be transmitted, x is the distance information,Are all preset constants greater than zero.
The method for acquiring the emergency coefficient of the data description tag comprises the steps of pre-constructing a tag coefficient comparison table corresponding to each data description tag, substituting the data description tag into the tag coefficient comparison table, and acquiring the emergency coefficient. Specifically, the data description tag may include an attribute tag, and may also include an order tag, where the attribute tag is, for example, a data format tag, and the order tag is, for example, a data size, where all possible data description tags exist in a tag coefficient comparison table, if the data description tag is an attribute tag, the corresponding emergency coefficient is unique and determined, and if the data description tag is an order tag, different emergency coefficients are selected corresponding to different order value ranges, so that the emergency coefficient of each data description tag can be determined. It should be understood that in the constructed tag coefficient lookup table, each data description tag corresponds to an emergency coefficient less than 1 and greater than 0. The comparison relation between the data description tag and the emergency coefficient is determined empirically by data, and if the data description tag reflects higher emergency degree, the corresponding emergency coefficient is larger.
The method for acquiring the link importance coefficient comprises the steps of acquiring first position information of a sender and second position information of a receiver, connecting the first position information with the second position information, determining an ideal link track, determining a division area through which the ideal link track passes based on a pre-constructed emergency division map, and determining the link importance coefficient based on the division importance coefficient preset relative to each division area. The emergency region map is determined relative to a map of a disaster coverage area, the disaster coverage area is divided into a plurality of areas by the emergency region map, each area corresponds to a region importance coefficient, the first position information and the second position information can both determine clear points on the map of the disaster coverage area, a line segment connecting the first position information and the second position information is an ideal link track, the ideal link track can be determined on the map of the disaster coverage area, the passing area can also be determined, the passing area is provided with a corresponding region importance coefficient, the region importance coefficients of the same area are not repeatedly provided, and therefore the accumulated value of all the region importance coefficients can be determined, namely the link importance coefficient can be determined. Of course, the link importance coefficients may also be equal to the maximum, minimum, median or average of the zone importance coefficients of all regions of the pathway.
The method only selects a communication link, the first communication link is a definitely known communication link, the second communication link may have a preconfigured ad hoc communication link, or may not have a preconfigured ad hoc communication link, and the ad hoc communication link needs to be established between a sender and a receiver by triggering under the intervention of a server. And after the stable communication link is constructed, the communication information to be transmitted is transmitted.
In summary, the method can specifically determine how to select the communication link according to the specific conditions of the communication link between the sender and the receiver and the communication information to be transmitted, thereby realizing intelligent selection of the communication link. After the reasonable communication link is intelligently selected, the communication link is established to realize the transmission of the communication information to be transmitted, so that the timeliness and reliability of the transmission of the communication information to be transmitted are guaranteed, namely the timeliness and reliability of the whole calling process are guaranteed. Of course, in order to save processing efficiency, the method may select a communication link without triggering every time communication information is transmitted, or may consider that the selected communication link is timely and reliable within a preset duration.
It should be appreciated that the method is an interpretable machine learning algorithm in which parameters may be trained based on timely feedback of communications, such asThe method can be trained in the long-term use process, so that the method can more intelligently and reasonably select a communication link, thereby being beneficial to further guaranteeing the timeliness and reliability of the whole calling process.
It should be noted that, for simplicity of description, the foregoing method embodiments are all expressed as a series of action combinations, but it should be understood by those skilled in the art that the present application is not limited by the described action sequences, as some steps may be performed in other sequences or simultaneously, according to the embodiments of the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are alternative embodiments, and that the acts and modules referred to are not necessarily required for the present application.
In a second aspect, the application provides a multi-network converged emergency call device. The apparatus may be embodied as server 110 in fig. 1.
Fig. 3 shows a block diagram of a multi-network converged emergency call device in an embodiment of the application.
Referring to fig. 3, the apparatus specifically includes:
An obtaining module 310, configured to obtain distance information between a sender and a receiver, and a first communication link and a second communication link, where the first communication link includes a public communication network and/or a satellite communication network, and the second communication link includes an ad hoc communication network depending on a plurality of relay parties;
A calculation module 320 for determining a second communication duration of the second communication link based on the distance information, and
A selecting module 330, configured to select a communication link according to the second communication duration, the pre-acquired first communication duration of the first communication link, and the pre-acquired urgency data of the communication information to be transmitted;
The selection module 330 is further configured to:
The selecting the communication link according to the second communication duration, the first communication duration of the first communication link and the pre-acquired emergency data of the communication information to be transmitted includes:
Selecting a first communication link for communication when the urgency data is not higher than an urgency threshold;
When the emergency data is higher than an emergency threshold, if the first communication time length is not longer than a first preset multiple of a second communication time length, selecting a first communication link, wherein the first preset multiple is greater than 1, if the first communication time length is longer than a second preset multiple of the second communication time length, selecting a second communication link, wherein the second preset multiple is greater than the first preset multiple, if the first communication time length is longer than the first preset multiple of the second communication time length and is not longer than the second preset multiple of the second communication time length, calculating preference data of the second communication link, and when the preference data is higher than the preference threshold, selecting the second communication link, otherwise, selecting the first communication link, wherein the preference data is positively related to the emergency data and the first communication time length, and negatively related to the second communication time length.
Further, the selecting module 330 is further configured to obtain the urgency data by a method including:
setting the interval duration between the sending time stamp carried by the communication information to be transmitted and the current time as The carried importance level is p, the carried data description labels are n, and the emergency coefficient obtained in advance relative to the ith data description label is that,If the emergency degree data is z, thenIn which, in the process,Is a preset constant greater than zero.
Further, the selecting module 330 is further configured to calculate the preference data by a method including:
Setting the first communication time length as The second communication duration isThe preference data is y, thenWherein q is a pre-acquired link importance coefficient between a sender and a receiver, m is a data amount of communication information to be transmitted, x is the distance information,Are all preset constants greater than zero.
Further, the selecting module 330 is further configured to obtain the emergency coefficient of the data description tag, where the method includes:
and a tag coefficient comparison table is pre-constructed relative to each data description tag, and the data description tags are substituted into the tag coefficient comparison table to obtain the emergency coefficient.
Further, the selecting module 330 is further configured to obtain the link importance coefficient by a method including:
Acquiring first position information of a sender and second position information of a receiver;
connecting the first position information and the second position information to determine an ideal link track;
Determining a division area through which an ideal link track passes based on a pre-constructed emergency division map;
and determining the link importance coefficient based on the preset partition importance coefficient corresponding to each partition area.
It will be clear to those skilled in the art that, for convenience and brevity of description, reference may be made to the corresponding process in the foregoing method embodiment for the specific working process of the described apparatus, which is not described herein again.
In summary, the application at least comprises the following beneficial effects:
The utility model provides a emergent calling method and device of integration of multiple networks, it can be according to actual communication link and the specific condition of waiting to transmit communication information, intelligent choice communication link is favorable to guaranteeing emergent communication's timeliness and reliability.
The above description is only illustrative of the preferred embodiments of the present application and of the principles of the technology employed. It will be appreciated by persons skilled in the art that the scope of the disclosure referred to in the present application is not limited to the specific combinations of technical features described above, but also covers other technical features which may be formed by any combination of the technical features described above or their equivalents without departing from the spirit of the disclosure. Such as the above-mentioned features and the technical features disclosed in the present application (but not limited to) having similar functions are replaced with each other.