CN116504030B - Method and device for pushing earthquake escape route based on signaling data - Google Patents
Method and device for pushing earthquake escape route based on signaling data Download PDFInfo
- Publication number
- CN116504030B CN116504030B CN202310762188.2A CN202310762188A CN116504030B CN 116504030 B CN116504030 B CN 116504030B CN 202310762188 A CN202310762188 A CN 202310762188A CN 116504030 B CN116504030 B CN 116504030B
- Authority
- CN
- China
- Prior art keywords
- earthquake
- escape
- user
- risk
- area
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 230000011664 signaling Effects 0.000 title claims abstract description 61
- 238000000034 method Methods 0.000 title claims abstract description 34
- 230000004888 barrier function Effects 0.000 claims description 9
- 238000004590 computer program Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 230000006870 function Effects 0.000 description 6
- 230000008569 process Effects 0.000 description 6
- 238000004891 communication Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 238000012545 processing Methods 0.000 description 4
- 238000012986 modification Methods 0.000 description 3
- 230000004048 modification Effects 0.000 description 3
- 230000008901 benefit Effects 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000000644 propagated effect Effects 0.000 description 2
- 239000004065 semiconductor Substances 0.000 description 2
- 238000010276 construction Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000000835 fiber Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 239000013307 optical fiber Substances 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 238000000638 solvent extraction Methods 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G08—SIGNALLING
- G08B—SIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
- G08B21/00—Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
- G08B21/02—Alarms for ensuring the safety of persons
- G08B21/10—Alarms for ensuring the safety of persons responsive to calamitous events, e.g. tornados or earthquakes
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/52—Network services specially adapted for the location of the user terminal
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
Abstract
The invention discloses a method and a device for pushing an earthquake escape route based on signaling data, and relates to the technical field of computers. One embodiment of the method comprises the following steps: acquiring earthquake early warning information; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude; determining a seismic early warning area according to the depth of the seismic source, the earthquake middle and the earthquake magnitude; dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk level according to the earthquake level; acquiring signaling data of a user in the earthquake early warning area; determining a target risk area where the user is located according to the signaling data; generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area; pushing the plurality of seismic escape routes to the user. According to the embodiment, the earthquake escape route can be pushed to the user, and the personal safety of the user is improved.
Description
Technical Field
The invention relates to the technical field of computers, in particular to a method and a device for pushing an earthquake escape route based on signaling data.
Background
Earthquake is a sudden disaster, and the occurrence of the earthquake is often unavoidable, but the influence caused by the earthquake can be relieved through early warning and scientific response. The earthquake early warning technology is a technology capable of sending alarm information to people in an early warning area in advance of several seconds to tens of seconds, so that people can take emergency measures such as escape. However, the alarm information only includes information such as magnitude and depth of the seismic source, and it is not possible to provide the escape route to the user.
Disclosure of Invention
In view of the above, the embodiment of the invention provides a method and a device for pushing an earthquake escape route based on signaling data, which can push the earthquake escape routes with different travel modes to users and improve the personal safety of the users.
In a first aspect, an embodiment of the present invention provides a method for pushing a seismic escape route based on signaling data, including:
acquiring earthquake early warning information; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude;
determining a seismic early warning area according to the depth of the seismic source, the earthquake middle and the earthquake magnitude;
dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk level according to the earthquake level;
acquiring signaling data of a user in the earthquake early warning area;
determining a target risk area where the user is located according to the signaling data;
generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area;
pushing the plurality of seismic escape routes to the user.
In a second aspect, an embodiment of the present invention provides a device for pushing a seismic escape route based on signaling data, including:
the determining module is configured to acquire earthquake early warning information; determining an earthquake early warning area according to the depth of a seismic source, the earthquake middle and the earthquake magnitude; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude;
the dividing module is configured to divide the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the earthquake levels;
the generation module is configured to acquire signaling data of a user in the earthquake early warning area; determining a target risk area where the user is located according to the signaling data; generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area;
and the pushing module is configured to push the plurality of earthquake escape routes to the user.
In a third aspect, an embodiment of the present invention provides an electronic device, including:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method as described in any of the embodiments above.
In a fourth aspect, embodiments of the present invention provide a computer readable medium having stored thereon a computer program which, when executed by a processor, implements a method as in any of the embodiments described above.
One embodiment of the above invention has the following advantages or benefits: considering that the damage conditions of buildings in different risk areas are different, the embodiment of the invention divides the earthquake early warning area into risk areas with different risk levels based on the earthquake level so as to provide different earthquake escape routes aiming at different risk levels. Meanwhile, the user can be accurately positioned based on the signaling data of the user, so that an earthquake escape route conforming to the actual situation of the user is provided for the user, and the safety of the user in the escape process is improved. The embodiment of the invention can provide the earthquake escape routes with different types of travel modes for the user, so that the user can select according to the self requirements, and the requirements of different scenes can be met.
Further effects of the above-described non-conventional alternatives are described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a flow chart of a method for pushing a seismic escape route based on signaling data provided by an embodiment of the invention;
FIG. 2 is a flow chart of a method for pushing a seismic escape route based on signaling data according to another embodiment of the invention;
FIG. 3 is a schematic diagram of an apparatus for pushing a seismic escape route based on signaling data according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a computer system suitable for use in implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
As shown in fig. 1, a method for pushing a seismic escape route based on signaling data includes:
step 101: acquiring earthquake early warning information; the earthquake early warning information comprises the following steps: the depth of the source, the center and the magnitude.
Step 102: and determining an earthquake early warning area according to the depth of the earthquake focus, the earthquake center and the earthquake magnitude.
The larger the earthquake magnitude is, the larger the obtained earthquake early-warning area is, and the embodiment of the invention can push the earthquake early-warning information to users in the earthquake early-warning area.
Step 103: and dividing the earthquake early warning area into a plurality of risk areas corresponding to the risk levels according to the earthquake levels.
In an actual application scene, the earthquake early warning area can be divided into a plurality of risk areas based on the distance from the earthquake center, and the risk areas can be divided based on the earthquake intensity. The kinds of the risk levels can be adjusted according to actual requirements, for example, the risk levels comprise high risk, medium risk and low risk; alternatively, the risk level includes a high risk and a low risk.
Step 104: and acquiring signaling data of the user in the earthquake early warning area.
Step 105: and determining a target risk area where the user is located according to the signaling data.
Step 106: and generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area.
For different risk levels, different strategies can be adopted to generate the earthquake escape route.
Step 107: pushing the plurality of earthquake escape routes to the user.
The earthquake escape route can be pushed to the user through short messages, APP and the like, so that the user can escape by driving a vehicle or walking and the like based on the earthquake escape route.
Considering that the damage conditions of buildings in different risk areas are different, the embodiment of the invention divides the earthquake early warning area into risk areas with different risk levels based on the earthquake level so as to provide different earthquake escape routes aiming at different risk levels. Meanwhile, the user can be accurately positioned based on the signaling data of the user, so that an earthquake escape route conforming to the actual situation of the user is provided for the user, the safety of the user in the escape process is improved, and the influence of secondary disasters such as aftershocks on the user is reduced.
In one embodiment of the invention, determining the earthquake early-warning region according to the depth of the earthquake focus, the earthquake center and the earthquake magnitude comprises:
calculating an influence radius according to the depth and the magnitude of the seismic source;
and calculating an earthquake early warning area according to the influence radius and the earthquake center.
According to the embodiment of the invention, the influence radius is calculated through the formula (1).
(1)
Wherein r is used for representing the influence radius, h is used for representing the depth of the seismic source, and s is used for representing the magnitude.
The center point of the earthquake is used as the center of a circle, and the circular area with the radius as the influence radius is used as the earthquake early warning area. The earthquake early warning area obtained by the embodiment of the invention can reflect the influence range of the earthquake more accurately. In an actual application scene, the earthquake early warning area can also be determined according to a preset distance range in the distance earthquake.
In one embodiment of the present invention, dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the magnitude of the earthquake, includes:
calculating a seism center distance corresponding to the earthquake intensity according to the magnitude;
and dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the corresponding relation between the earthquake midrange, the preset earthquake intensity and the risk levels.
In an embodiment of the invention, the epicenter intensity is calculated according to equation (2).
I 0 =0.24+1.29×M (2)
Wherein I is 0 For characterizing intensity in jolt, M for characterizing magnitude.
The epicenter distance corresponding to the seismic intensity is calculated according to equation (3).
I = A + B×M+ C×lg ( R + R 0 ) (3)
Wherein I is used for representing earthquake intensity, and I is not more than I 0 M is used for representing the magnitude, R is used for representing the midjolt (unit km), A, B, C and R 0 For characterizing regression coefficients.
In the embodiment of the invention, the area with the earthquake intensity greater than 5 is a high-risk area, the area with the earthquake intensity between 4 and 5 is a medium-risk area, and the area with the earthquake intensity less than 4 is a low-risk area. According to the midrange of different earthquake intensities, the range of risk areas with different risk levels can be obtained. The division mode of the risk area can be adjusted according to actual conditions.
According to the embodiment of the invention, the earthquake early warning area can be accurately divided based on the earthquake intensity, and the earthquake damage condition is considered in the dividing process, so that the obtained risk area is more fit and practical.
In one embodiment of the present invention, determining a target risk area in which a user is located based on signaling data includes:
determining the longitude and latitude of the user according to the signaling data;
determining the distance between the user and the epicenter according to the longitude and the latitude of the epicenter and the longitude and the latitude of the user;
and determining a target risk area where the user is located according to the distance between the user and the epicenter.
The distance between the user and the epicenter is calculated by the formula (4).
(4)
Wherein L is used for representing the distance between a user and the epicenter, R 1 For the purpose of characterizing the radius of the earth,WAfor characterizing the latitude in the epicenter,JAfor characterizing the longitude in the epicenter,WBfor characterizing the latitude of the user, JBfor characterizing the longitude where the user is located.
According to the embodiment of the invention, the target risk area where the user is located can be accurately determined, and then the earthquake escape route which is more in line with the actual situation is pushed for the user.
The following two embodiments are respectively described with respect to two strategies for generating a seismic escape route.
In one embodiment of the present invention, generating a plurality of seismic escape routes corresponding to a plurality of travel modes according to a risk level of a target risk area includes:
for any type of travel mode:
determining an escape starting point of a user according to the signaling data;
determining an escape terminal point of a user based on the risk area and the risk level thereof;
acquiring map data of a target area according to an escape starting point and an escape ending point;
if the risk level of the target risk area is medium risk or low risk, a Dijkstra algorithm is adopted to generate an earthquake escape route of the current type of travel mode according to the escape starting point, the escape ending point and the map data.
And determining the position of the user, namely the escape starting point of the user, based on the signaling data. The risk area where the escape terminal is located may have a risk level lower than the risk area where the escape starting point is located, and may also be a risk area having the same risk level as the escape starting point. The escape ending point can be positioned on a straight line where the central point of the earthquake and the escape starting point are positioned. The escape ending point is further from the center point in the earthquake than the escape starting point.
The target area is an area including an escape start point and an escape end point, and the range of the area can be determined according to different manners, for example, the target area is a rectangular area, and the escape start point and the escape end point are positioned on two parallel sides.
After the escape starting point and the escape ending point are determined, a Dijkstra algorithm can be adopted to carry out path planning by combining map data. The specific planning process is not described in detail herein.
In one embodiment of the present invention, generating a plurality of seismic escape routes corresponding to a plurality of travel modes according to a risk level of a target risk area includes:
for any type of travel mode:
determining an escape starting point of a user according to the signaling data;
determining an escape terminal point of a user based on the risk area and the risk level thereof;
acquiring map data of a target area according to an escape starting point and an escape ending point; wherein, the map data comprises a plurality of road nodes;
if the risk level of the target risk area is high risk, a Dijkstra algorithm is adopted to generate an earthquake escape route in a current type of travel mode according to the escape starting point, the escape ending point, the map data and population density of the area where the road nodes are located; the population density of the area where the road nodes are located is inversely proportional to the probability that the road nodes are located in the earthquake escape route.
Compared with the medium risk and low risk, the building and the like in the high risk area can be damaged more seriously, so that the number of escaping people is large, when the earthquake escape route is generated, not only the length of the route but also the population density of the area where the road node is located need to be considered, and under the condition that other conditions are the same, the larger the population density is, the smaller the probability that the road node is located in the earthquake escape route is. The range of the area where the road node is located can be preset, for example, the area is a circular area with the road node as the center and the preset distance as the radius, and the area can be adjusted based on actual requirements.
Generating a seismic escape route according to an escape starting point, an escape ending point, map data and population density of an area where road nodes are located, wherein the seismic escape route specifically comprises the following steps:
and marking the escape terminal point and the road node as undetermined, and adding the undetermined escape terminal point and the undetermined road node into a queue. Taking the escape starting point as a current node, determining the score of an undetermined node based on the distance from the current node and the population density of the area where the road node is located, taking out one undetermined node from the queue based on the size of the score, marking the undetermined node as determined, updating the newly marked determined node as the current node, continuously executing the steps of determining the score of the undetermined node based on the distance from the current node and the population density of the area where the road node is located, selecting one undetermined node based on the size of the score, marking the undetermined node as determined until the queue is empty or the current node is the escape terminal point.
In an actual application scenario, the map data may further include: geometric information of the building;
the method may further comprise: determining the collapse area of the building in the area where the road node is located based on the geometric information of the building;
generating a seismic escape route according to an escape starting point, an escape ending point, map data and population density of an area where road nodes are located, comprising: and generating a seismic escape route according to the escape starting point, the escape ending point, a plurality of road nodes in the map data, the building collapse area of the area where the road nodes are located and the population density of the area where the road nodes are located.
Wherein determining the score of the undetermined node based on the distance from the current node and the population density of the area where the road node is located comprises: and determining the score of the undetermined node based on the distance between the undetermined node and the current node, the population density of the area where the road node is located and the building collapse area of the area where the road node is located.
In order to ensure the accuracy of the generated seismic escape route, in one embodiment of the present invention, the method further comprises: after pushing the earthquake escape route to the user, acquiring signaling data of the user in the earthquake early warning area at intervals of preset time length.
In one embodiment of the present invention, the method may further comprise:
determining the actual escape route of other users according to the signaling data of the other users;
if the actual escape route is inconsistent with the earthquake escape route, determining traffic barrier information according to road nodes included in the actual escape route and road nodes included in the earthquake escape route;
generating an updated earthquake escape route based on the traffic barrier information;
and pushing the updated earthquake escape route to the current user.
If the other users contain the same road nodes as the current user's earthquake escape route, the current user's earthquake escape route can be adjusted based on the other users ' actual escape route, so as to provide more accurate earthquake escape route for the users.
According to the signaling data of the user, the actual escape route of the user can be determined, and if the actual escape route deviates from the earthquake escape route, traffic barriers formed by building collapse and the like can exist on the earthquake escape route. For example, the seismic escape route includes road nodes 1-4, the actual escape route of user 1 includes road nodes 1, 2, 6, and 7, and from road node 3, user 1 deviates from the seismic escape route, thereby indicating that traffic obstructions may exist between road nodes 2 and 3. The earthquake escape route of the user 2 also comprises road nodes 2, 3 and 4, but in view of the possible traffic obstacle between the road nodes 2 and 3, the road node 3 can be removed from the earthquake escape route, and the earthquake escape route is re-planned based on the rest road nodes and the current position of the user 2, so as to obtain an updated earthquake escape route.
In one embodiment of the present invention, the method may further comprise:
determining an actual escape route of the current user according to the signaling data of the current user, and if the actual escape route of the current user is not matched with the earthquake escape route, executing to acquire the signaling data of the user in the earthquake early warning area.
In an actual application scene, once the actual escape route of the user is found to be inconsistent with the planned seismic escape route, the seismic escape route can be planned again for the user.
In one embodiment of the invention, pushing the plurality of seismic escape routes to the user includes:
determining a target trip mode of the user within a preset time period from the current moment according to the signaling data;
pushing the plurality of earthquake escape routes to the user, wherein the earthquake escape route corresponding to the target travel mode is higher than other earthquake escape routes.
For example, according to the signaling data of the user in the past 1 hour, the moving speed is determined, the traveling mode is identified as self-driving according to the moving speed, the earthquake escape route corresponding to the self-driving is arranged at the first position, other routes are arranged at the back, and a plurality of earthquake escape routes are pushed to the user.
According to the embodiment of the invention, the route meeting the user requirement can be recommended based on the travel habit of the user. As shown in fig. 2, an embodiment of the present invention provides a method for pushing a seismic escape route based on signaling data, including:
step 201: and acquiring the depth, the middle and the magnitude of the seismic source.
Step 202: from the source depth and magnitude, the radius of influence is calculated.
Step 203: and calculating an earthquake early warning area according to the influence radius and the earthquake center.
Step 204: and calculating the epicenter distance corresponding to the earthquake intensity according to the magnitude.
Step 205: and dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the corresponding relation between the earthquake midrange, the preset earthquake intensity and the risk levels.
Step 206: and acquiring signaling data of the user in the earthquake early warning area.
Step 207: and determining the longitude and latitude of the user according to the signaling data.
Step 208: and determining the distance between the user and the epicenter according to the longitude and the latitude of the epicenter and the longitude and the latitude of the user.
Step 209: and determining a target risk area where the user is located according to the distance between the user and the epicenter.
Step 210: for any type of travel mode: and determining the escape starting point of the user according to the signaling data.
Step 211: and determining the escape terminal point of the user based on the risk area and the risk level thereof.
Step 212: according to the escape start point and the escape end point, map data of the target area is acquired, if the risk level of the target risk area is medium risk or low risk, step 213 is performed, and if the risk level of the target risk area is high risk, step 214 is performed.
Step 213: and generating an earthquake escape route of the current type of travel mode according to the escape starting point, the escape ending point and the map data by adopting a Dijkstra algorithm.
Step 214: and generating an earthquake escape route in the current travel mode according to the escape starting point, the escape ending point, the map data and population density of the area where the road nodes are located by adopting a Dijkstra algorithm.
Step 215: pushing the plurality of earthquake escape routes to the user.
According to the embodiment of the invention, the earthquake early warning area is divided into different risk areas according to the earthquake intensity, and the earthquake escape routes with different types of travel modes are pushed to the user based on the risk level, so that the escape of the user can be effectively assisted, and the evacuation efficiency is improved.
As shown in fig. 3, an embodiment of the present invention provides a device for pushing a seismic escape route based on signaling data, including:
a determining module 301 configured to obtain earthquake early warning information; determining an earthquake early warning area according to the depth of a seismic source, the earthquake middle and the earthquake magnitude; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude;
a dividing module 302 configured to divide the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the magnitude levels;
a generating module 303 configured to obtain signaling data of a user in the earthquake early warning area; determining a target risk area where a user is located according to the signaling data; generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area;
a pushing module 304 configured to push the plurality of seismic escape routes to a user.
In one embodiment of the invention, the determination module 301 is configured to calculate an influence radius from the source depth and magnitude; and calculating an earthquake early warning area according to the influence radius and the earthquake center.
In one embodiment of the invention, the partitioning module 302 is configured to calculate a epicenter distance corresponding to the seismic intensity according to the magnitude; and dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the corresponding relation between the earthquake midrange, the preset earthquake intensity and the risk levels.
In one embodiment of the present invention, the generating module 303 is configured to determine, according to the signaling data, the longitude and latitude where the user is located; determining the distance between the user and the epicenter according to the longitude and the latitude of the epicenter and the longitude and the latitude of the user; and determining a target risk area where the user is located according to the distance between the user and the epicenter.
In one embodiment of the invention, the generating module 303 is configured to, for any type of travel mode: determining an escape starting point of a user according to the signaling data; determining an escape terminal point of a user based on the risk area and the risk level thereof; acquiring map data of a target area according to an escape starting point and an escape ending point; if the risk level of the target risk area is medium risk or low risk, a Dijkstra algorithm is adopted to generate an earthquake escape route of the current type of travel mode according to the escape starting point, the escape ending point and the map data.
In one embodiment of the invention, the generating module 303 is configured to, for any type of travel mode: determining an escape starting point of a user according to the signaling data; determining an escape terminal point of a user based on the risk area and the risk level thereof; acquiring map data of a target area according to an escape starting point and an escape ending point; wherein, the map data comprises a plurality of road nodes; if the risk level of the target risk area is high risk, a Dijkstra algorithm is adopted to generate an earthquake escape route in a current type of travel mode according to the escape starting point, the escape ending point, the map data and population density of the area where the road nodes are located; the population density of the area where the road nodes are located is inversely proportional to the probability that the road nodes are located in the earthquake escape route.
In one embodiment of the present invention, the pushing module 304 is configured to determine an actual escape route of the other user according to the signaling data of the other user; if the actual escape route is inconsistent with the earthquake escape route, determining traffic barrier information according to road nodes included in the actual escape route and road nodes included in the earthquake escape route; generating an updated earthquake escape route based on the traffic barrier information; and pushing the updated earthquake escape route to the current user.
The embodiment of the invention provides electronic equipment, which comprises:
one or more processors;
storage means for storing one or more programs,
the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of the embodiments described above.
The present invention provides a computer readable medium having stored thereon a computer program which when executed by a processor implements a method as in any of the embodiments described above.
Referring now to FIG. 4, there is illustrated a schematic diagram of a computer system 400 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 4 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment of the present invention.
As shown in fig. 4, the computer system 400 includes a Central Processing Unit (CPU) 401, which can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 402 or a program loaded from a storage section 408 into a Random Access Memory (RAM) 403. In RAM 403, various programs and data required for the operation of system 400 are also stored. The CPU 401, ROM 402, and RAM 403 are connected to each other by a bus 404. An input/output (I/O) interface 405 is also connected to bus 404.
The following components are connected to the I/O interface 405: an input section 406 including a keyboard, a mouse, and the like; an output portion 407 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker, and the like; a storage section 408 including a hard disk or the like; and a communication section 409 including a network interface card such as a LAN card, a modem, or the like. The communication section 409 performs communication processing via a network such as the internet. The drive 410 is also connected to the I/O interface 405 as needed. A removable medium 411 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage section 408 as needed.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 409 and/or installed from the removable medium 411. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 401.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or a combination of any of the foregoing. More specific examples of the computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this document, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In the present invention, however, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a sending module, an obtaining module, a determining module, and a first processing module. The names of these modules do not in some cases limit the module itself, and for example, the transmitting module may also be described as "a module that transmits a picture acquisition request to a connected server".
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.
Claims (7)
1. A method for pushing a seismic escape route based on signaling data, comprising:
acquiring earthquake early warning information; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude;
determining a seismic early warning area according to the depth of the seismic source, the earthquake middle and the earthquake magnitude;
dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk level according to the earthquake level;
acquiring signaling data of a user in the earthquake early warning area;
determining a target risk area where the user is located according to the signaling data;
generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area;
pushing the plurality of seismic escape routes to the user;
generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area, wherein the earthquake escape routes comprise:
for any type of travel mode:
determining an escape starting point of the user according to the signaling data;
determining an escape terminal point of the user based on the risk area and the risk level thereof;
acquiring map data of a target area according to the escape starting point and the escape ending point; wherein the map data comprises a plurality of road nodes;
if the risk level of the target risk area is medium risk or low risk, a Dijkstra algorithm is adopted to generate an earthquake escape route of a current type of travel mode according to the escape starting point, the escape ending point and the map data;
if the risk level of the target risk area is high risk, a Dijkstra algorithm is adopted to generate an earthquake escape route in a current type of travel mode according to the escape starting point, the escape ending point, the map data and population density of the area where the road nodes are located; the population density of the area where the road node is located is inversely proportional to the probability that the road node is located in the earthquake escape route;
further comprises:
determining the actual escape route of other users according to the signaling data of the other users;
if the actual escape route is inconsistent with the earthquake escape route, determining traffic barrier information according to road nodes included in the actual escape route and road nodes included in the earthquake escape route;
generating an updated earthquake escape route based on the traffic barrier information;
pushing the updated earthquake escape route to the current user;
and determining the actual escape route of the current user according to the signaling data of the current user, and if the actual escape route of the current user is not matched with the earthquake escape route, executing the acquisition of the signaling data of the user in the earthquake early warning area.
2. The method of claim 1, wherein,
determining a seismic early warning area according to the depth of the seismic source, the earthquake middle and the magnitude, comprising:
calculating an influence radius according to the depth of the seismic source and the magnitude of the seismic source;
and calculating the earthquake early warning area according to the influence radius and the earthquake center.
3. The method of claim 1, wherein,
dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the magnitude, wherein the method comprises the following steps:
calculating an earthquake middle distance corresponding to the earthquake intensity according to the earthquake magnitude;
and dividing the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the earthquake midrange, the preset corresponding relation between the earthquake intensity and the risk levels.
4. The method of claim 1, wherein,
determining a target risk area where the user is located according to the signaling data, including:
determining the longitude and latitude of the user according to the signaling data;
determining the distance between the user and the epicenter according to the longitude and latitude of the epicenter and the longitude and latitude of the user;
and determining a target risk area where the user is located according to the distance between the user and the epicenter.
5. The method of claim 1, wherein,
pushing the plurality of seismic escape routes to the user, comprising:
determining a target trip mode of the user within a preset time period from the current moment according to the signaling data;
pushing the plurality of earthquake escape routes to the user, wherein the earthquake escape route corresponding to the target travel mode is higher than other earthquake escape routes.
6. A device for pushing a seismic escape route based on signaling data, comprising:
the determining module is configured to acquire earthquake early warning information; determining an earthquake early warning area according to the depth of a seismic source, the earthquake middle and the earthquake magnitude; the earthquake early warning information comprises the following steps: depth of source, center of magnitude and magnitude;
the dividing module is configured to divide the earthquake early-warning area into a plurality of risk areas corresponding to the risk levels according to the earthquake levels;
the generation module is configured to acquire signaling data of a user in the earthquake early warning area; determining a target risk area where the user is located according to the signaling data; generating a plurality of earthquake escape routes corresponding to a plurality of travel modes according to the risk level of the target risk area;
a pushing module configured to push the plurality of seismic escape routes to the user;
the generation module is configured to be specific to any type of travel mode: determining an escape starting point of a user according to the signaling data; determining an escape terminal point of a user based on the risk area and the risk level thereof; acquiring map data of a target area according to an escape starting point and an escape ending point; if the risk level of the target risk area is medium risk or low risk, a Dijkstra algorithm is adopted to generate an earthquake escape route of the current type of travel mode according to the escape starting point, the escape ending point and the map data; if the risk level of the target risk area is high risk, a Dijkstra algorithm is adopted to generate an earthquake escape route in a current type of travel mode according to the escape starting point, the escape ending point, the map data and population density of the area where the road nodes are located; the population density of the area where the road nodes are located is inversely proportional to the probability that the road nodes are located in the earthquake escape route; wherein the map data comprises a plurality of road nodes;
the pushing module is configured to determine the actual escape route of the other user according to the signaling data of the other user; if the actual escape route is inconsistent with the earthquake escape route, determining traffic barrier information according to road nodes included in the actual escape route and road nodes included in the earthquake escape route; generating an updated earthquake escape route based on the traffic barrier information; pushing the updated earthquake escape route to the current user; and determining the actual escape route of the current user according to the signaling data of the current user, and if the actual escape route of the current user is not matched with the earthquake escape route, executing the acquisition of the signaling data of the user in the earthquake early warning area.
7. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs,
when executed by the one or more processors, causes the one or more processors to implement the method of any of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310762188.2A CN116504030B (en) | 2023-06-27 | 2023-06-27 | Method and device for pushing earthquake escape route based on signaling data |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310762188.2A CN116504030B (en) | 2023-06-27 | 2023-06-27 | Method and device for pushing earthquake escape route based on signaling data |
Publications (2)
Publication Number | Publication Date |
---|---|
CN116504030A CN116504030A (en) | 2023-07-28 |
CN116504030B true CN116504030B (en) | 2024-01-23 |
Family
ID=87323460
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310762188.2A Active CN116504030B (en) | 2023-06-27 | 2023-06-27 | Method and device for pushing earthquake escape route based on signaling data |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116504030B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312875A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and apparatus for displaying navigation map on mobile terminal |
TW201513050A (en) * | 2013-09-24 | 2015-04-01 | Bingotimes Digital Technology Co Ltd | Earthquake alarming, preventing, and safety reporting system |
CN106448073A (en) * | 2016-11-03 | 2017-02-22 | 安徽锦坤电子科技有限公司 | Processing method for earthquake early warning information |
KR101957763B1 (en) * | 2018-05-17 | 2019-03-14 | 한국지질자원연구원 | Processing device of multiple seismic information for real-time earthquake alert and the method thereof |
CN115504345A (en) * | 2022-08-17 | 2022-12-23 | 四川省特种设备检验研究院 | Post-earthquake elevator risk identification and evaluation method based on real-time state monitoring |
-
2023
- 2023-06-27 CN CN202310762188.2A patent/CN116504030B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103312875A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Method and apparatus for displaying navigation map on mobile terminal |
TW201513050A (en) * | 2013-09-24 | 2015-04-01 | Bingotimes Digital Technology Co Ltd | Earthquake alarming, preventing, and safety reporting system |
CN106448073A (en) * | 2016-11-03 | 2017-02-22 | 安徽锦坤电子科技有限公司 | Processing method for earthquake early warning information |
KR101957763B1 (en) * | 2018-05-17 | 2019-03-14 | 한국지질자원연구원 | Processing device of multiple seismic information for real-time earthquake alert and the method thereof |
CN115504345A (en) * | 2022-08-17 | 2022-12-23 | 四川省特种设备检验研究院 | Post-earthquake elevator risk identification and evaluation method based on real-time state monitoring |
Also Published As
Publication number | Publication date |
---|---|
CN116504030A (en) | 2023-07-28 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3798974A1 (en) | Method and apparatus for detecting ground point cloud points | |
Fajardo et al. | A mobile disaster management system using the android technology | |
KR101880191B1 (en) | Device and computer-readable storage media for providing directional routing information to a user while traveling | |
US9778048B2 (en) | Method and apparatus for determining reachable area based on road network | |
CN110442121B (en) | Method and device for selecting transport vehicle route | |
CN110689804B (en) | Method and apparatus for outputting information | |
JP7218754B2 (en) | Vacant house determination device, vacant house determination method and program | |
US11713980B2 (en) | Method and apparatus for generating map | |
CN110110029B (en) | Method and device for lane matching | |
JP2013149189A (en) | Evacuation guidance method and evacuation guidance system | |
CN113190613A (en) | Vehicle route information display method and device, electronic equipment and readable medium | |
CN116504030B (en) | Method and device for pushing earthquake escape route based on signaling data | |
US10467888B2 (en) | System and method for dynamically adjusting an emergency coordination simulation system | |
US20200082723A1 (en) | Dynamic predictive systems for vehicle traffic management | |
CN110730416A (en) | Vehicle safety management method and device based on positioning data | |
EP3492874A1 (en) | Processing method, device, and apparatus for traveling duration of navigation route, and computer storage medium | |
CN114049449A (en) | High-precision map road level calculation method and system | |
JP2016211900A (en) | Information processing apparatus, route search method, traffic information data, and computer program | |
CN115565374A (en) | Logistics vehicle driving optimization method and device, electronic equipment and readable storage medium | |
US9989368B2 (en) | Identifying closed roads and routes | |
US20200218863A1 (en) | Location determination without access to a network | |
CN115171416B (en) | Recommended driving information sending method, device, electronic equipment and medium | |
JP6466662B2 (en) | Navigation device, navigation method, and program | |
CN110633707A (en) | Method and device for predicting speed | |
EP4343734A1 (en) | Identifying an object in an area of interest |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
TA01 | Transfer of patent application right |
Effective date of registration: 20231221 Address after: No. 2508, Guangxi Hejing Financial Plaza, No. 18, Kaixuan Road, Nanning City, 530000 Applicant after: Guangxi Daye Intelligent Data Co.,Ltd. Address before: Room 2162, 2nd Floor, Building 15, Yard 55, Longhua Street, Daxing District, Beijing, 102600 Applicant before: Beijing Daye Smart Data Technology Service Co.,Ltd. |
|
TA01 | Transfer of patent application right | ||
GR01 | Patent grant | ||
GR01 | Patent grant |