CN115481409A - Emergency early warning method, electronic device and storage medium - Google Patents

Emergency early warning method, electronic device and storage medium Download PDF

Info

Publication number
CN115481409A
CN115481409A CN202110660704.1A CN202110660704A CN115481409A CN 115481409 A CN115481409 A CN 115481409A CN 202110660704 A CN202110660704 A CN 202110660704A CN 115481409 A CN115481409 A CN 115481409A
Authority
CN
China
Prior art keywords
emergency
information
positioning information
user
block chain
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.)
Pending
Application number
CN202110660704.1A
Other languages
Chinese (zh)
Inventor
陆欣
吕东生
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Futaihua Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Original Assignee
Futaihua Industry Shenzhen Co Ltd
Hon Hai Precision Industry Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Futaihua Industry Shenzhen Co Ltd, Hon Hai Precision Industry Co Ltd filed Critical Futaihua Industry Shenzhen Co Ltd
Priority to CN202110660704.1A priority Critical patent/CN115481409A/en
Priority to TW110129860A priority patent/TW202301885A/en
Publication of CN115481409A publication Critical patent/CN115481409A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/29Geographical information databases
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06NCOMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS
    • G06N3/00Computing arrangements based on biological models
    • G06N3/02Neural networks
    • G06N3/08Learning methods
    • G06N3/084Backpropagation, e.g. using gradient descent
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Business, Economics & Management (AREA)
  • General Health & Medical Sciences (AREA)
  • Databases & Information Systems (AREA)
  • Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Software Systems (AREA)
  • Computer Hardware Design (AREA)
  • Bioethics (AREA)
  • Tourism & Hospitality (AREA)
  • Computing Systems (AREA)
  • Marketing (AREA)
  • Artificial Intelligence (AREA)
  • General Business, Economics & Management (AREA)
  • Strategic Management (AREA)
  • Primary Health Care (AREA)
  • Human Resources & Organizations (AREA)
  • Economics (AREA)
  • Educational Administration (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Remote Sensing (AREA)
  • Biomedical Technology (AREA)
  • Biophysics (AREA)
  • Computational Linguistics (AREA)
  • Evolutionary Computation (AREA)
  • Molecular Biology (AREA)
  • Development Economics (AREA)
  • Mathematical Physics (AREA)
  • Alarm Systems (AREA)

Abstract

The application provides an emergency early warning method, an electronic device and a storage medium, wherein the method comprises the following steps: detecting whether an emergency event is newly added on a block chain in real time; if an emergency is newly added on the block chain, determining the occurrence time of the emergency and the associated users; acquiring first positioning information of an associated user at the occurrence time of the emergency from a block chain; generating a track map of an emergency on a map according to first positioning information of an associated user; judging whether the block chain contains second positioning information of which the distance from the first positioning information is within a first preset distance range; and if the block chain comprises second positioning information, the distance between the second positioning information and the first positioning information is within a first preset distance range, and the track map and the event description of the emergency are taken as early warning information and sent to a mobile terminal of a user corresponding to the second positioning information. The method and the device improve the safety of the user information in the early warning process of the emergency and the authenticity of the early warning.

Description

Emergency early warning method, electronic device and storage medium
Technical Field
The present disclosure relates to the field of block chain technologies, and in particular, to an emergency warning method, an electronic device, and a storage medium.
Background
Nowadays, the propagation speed of various emergencies such as current affairs and accidents is faster and faster. For accident emergency, it is very necessary to provide early warning for emergency for people in order to avoid danger in time. The prior emergency early warning method usually manually collects data, and issues early warning information through media, communication, network and other means after moderate processing and filtering. Because the collected data volume is very large, the difficulty of unified storage and centralized management by manpower is high, and the mode of manually processing a large amount of data is single, so that the situation of an event is difficult to know comprehensively and accurately. In addition, in the early warning process of an emergency, related data generally needs to be disclosed, so that the security of private data cannot be guaranteed.
Disclosure of Invention
In view of this, it is necessary to provide an emergency early warning method, an electronic apparatus, and a storage medium, which can perform early warning on an emergency based on a block chain, and improve the security of user information and the authenticity of early warning.
The application provides an emergency early warning method, which comprises the following steps:
detecting whether an emergency is newly added on a block chain in real time;
if detecting that an emergency is newly added on the block chain, determining the occurrence time of the emergency and a related user;
acquiring first positioning information of the associated user at the occurrence time of the emergency from the block chain;
generating a track map of the emergency event on a map according to the acquired first positioning information of the associated user;
judging whether the block chain contains second positioning information of which the distance from the first positioning information is within a first preset distance range;
and if the block chain is determined to contain second positioning information, the distance between the second positioning information and the first positioning information is within a first preset distance range, taking a track map and an event description of the emergency as early warning information, and sending the early warning information to a mobile terminal of a user corresponding to the second positioning information.
Optionally, the method further comprises:
writing the trace graph of the emergency into the block chain, and publishing the event description of the emergency and the trace graph on a common platform.
Optionally, the method further comprises:
and acquiring the user and the positioning information of other users in a second preset distance range of the user from the mobile terminal in real time through the block chain, wherein the mobile terminal performs real-time positioning, associates the positioning information with the user information and the time information and writes the information into the block chain.
Optionally, the method further comprises:
and sending the second positioning information and user information corresponding to the second positioning information to terminal equipment which writes the emergency into the block chain.
Optionally, the detecting whether an emergency event is added to a block chain in real time includes:
detecting whether the block chain receives event information written by terminal equipment from government agency users, news agency users and common users in real time, wherein the event information comprises event description;
and if the block link receives event information written by the terminal equipment of the government agency user, the news agency user and the common user, analyzing the event information to judge whether the event information is an emergency or not.
Optionally, the analyzing the event information to determine whether the event information is an emergency includes:
inputting the event information into an emergency recognition model, wherein the emergency recognition model is generated based on event description training corresponding to historical emergencies;
extracting features of the event information through the incident recognition model, and classifying the event information as an incident or a non-incident based on the features of the event information.
Optionally, the generating a trajectory graph of the emergency event on a map according to the acquired first positioning information of the associated user includes:
acquiring a map of a city where the first positioning information is located or an indoor plan;
converting each positioning information into a coordinate point on the map or the plan;
and marking the coordinate points on the map or the plan, and connecting the coordinate points to form a track map of the emergency.
Optionally, the method further comprises:
generating prompt information according to the event description of the emergency;
and sending the prompt information to a mobile terminal of a user corresponding to the second positioning information.
The present application further provides an electronic device, comprising:
a processor; and
the processor is used for loading the program modules and executing the emergency early warning method.
The application also provides a computer readable storage medium, on which at least one computer instruction is stored, and the instruction is loaded by a processor to execute the emergency early warning method.
The emergency early warning method, the electronic device and the storage medium can early warn the emergency based on the block chain, and the block chain has the characteristics of decentralization, no tampering and whole-process tracking, so that the safety of user information and the early warning authenticity in the emergency early warning process are improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are only the embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a schematic diagram of an application environment architecture of an emergency warning method according to a preferred embodiment of the present application.
Fig. 2 is a flowchart of an emergency warning method according to a preferred embodiment of the present invention.
Fig. 3 is a diagram of a moving track of an associated user in a city according to the preferred embodiment of the present application.
Fig. 4 is a diagram of a moving track of an associated user indoors according to the preferred embodiment of the present application.
Fig. 5 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present application.
Description of the main elements
Electronic device 1
Processor 10
Memory 20
Computer program 30
Terminal device 2
Mobile terminal 3
Block chain 100
The following detailed description will further illustrate the present application in conjunction with the above-described figures.
Detailed Description
In order that the above objects, features and advantages of the present application may be more clearly understood, a detailed description of the present application is given below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments and features of the embodiments of the present application may be combined with each other without conflict.
In the following description, numerous specific details are set forth to provide a thorough understanding of the present application, and the described embodiments are merely a subset of the embodiments of the present application and are not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs. The terminology used herein in the description of the present application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application.
Fig. 1 is a schematic diagram of an application environment architecture of an emergency warning method according to a preferred embodiment of the present invention.
The emergency early warning method is applied to the electronic device 1, and the electronic device 1, the terminal equipment 2 and the mobile terminal 3 establish communication connection through a network. The network may be a wired network or a Wireless network, such as radio, wireless Fidelity (WIFI), cellular, satellite, broadcast, etc. The cellular network may be a 4G network or a 5G network.
The electronic device 1 may be an electronic device installed with an emergency warning program, such as a personal computer, a server, and the like, wherein the server may be a single server, a server cluster, a cloud server, and the like.
The terminal device 2 is a smart phone or a personal computer. The mobile terminal 3 can be a portable device such as a smart phone, a tablet computer, an intelligent wearable device and the like. The terminal device 2 and the mobile terminal 3 may be the same device.
In an embodiment, the electronic device 1, the terminal apparatus 2, and the mobile terminal 3 form a block chain 100 through a network, and the electronic device 1, the terminal apparatus 2, and the mobile terminal 3 are all nodes of the block chain 100.
Fig. 2 is a flowchart illustrating an emergency warning method according to a preferred embodiment of the present invention. The order of the steps in the flow chart may be changed and some steps may be omitted according to different requirements.
S201, receiving the user information sent by the mobile terminal 3, and writing the user information into the block chain 100.
In an embodiment, the user information is a unique identification of a user, the unique identification is a contact address of the user and may be a mobile phone number, a mailbox address, or the like, and optionally, the unique identification is a mobile phone number of the user. In other embodiments, the user information may further include an identification number of the user, an account number, a device identification code of the mobile terminal, a work unit, a home address, and the like.
In one embodiment, the electronic device 1 performs an emergency warning on the user through an emergency warning program installed on the mobile terminal 3. When the user starts the emergency early warning program for the first time through the mobile terminal 3, the user information is required to be used for registration, and after the registration is successful, the early warning of the emergency can be received through the mobile terminal 3. When a user registers, the electronic apparatus 1 establishes a communication connection with the mobile terminal 3 through a content distribution network, and collects information of each user through the mobile terminal 3.
In an embodiment, the mobile terminal 3 has a private key and a public key, wherein the public key is to be generated by encrypting the private key. The mobile terminal 3 encrypts the user information through the public key and then sends the encrypted user information to the electronic device 1, and the electronic device 1 writes the encrypted user information into the block chain 100.
S202, obtaining the positioning information of the user and other users within the second preset distance range from the mobile terminal 3 in real time through the block chain 100.
In one embodiment, S202 includes: and acquiring the positioning information of the user and other users within a second preset distance range of the user from the mobile terminal 3 at preset time intervals through the block chain 100. Optionally, the preset time is five minutes. In an embodiment, the positioning information is latitude and longitude information, and the second preset distance range is a range less than or equal to a second preset distance from the user. Optionally, the second preset distance is three meters.
In one embodiment, the mobile terminal 3 includes a GPS positioning system and a short-range communication system. The GPS positioning system is configured to position the mobile terminal 3 to obtain the positioning information of the user. Optionally, the short-distance communication system is an Ultra-wide band (UWB) module or a bluetooth module, and is configured to communicate with other mobile terminals in the second preset distance range, so as to collect the positioning information and the user information of other users in the second preset distance range of the user.
It should be noted that the function of the short-range communication system for collecting the positioning information of other users is started only on the premise that the mobile terminals 3 of the other users are provided with the emergency early warning program and are registered, and meanwhile, the short-range communication system sends the positioning information and the user information of the mobile terminals 3 on the premise that the users authorize the system, so that privacy disclosure is avoided.
In an embodiment, after collecting the positioning information of the user and other users within a second preset distance range of the user, the mobile terminal 3 associates the positioning information with corresponding user information and time information, encrypts the positioning information by using a public key of the mobile terminal 3, and then writes the encrypted positioning information into the block chain 100. And the time information is the time for acquiring the positioning information. It should be noted that obtaining the positioning information of other users within the second preset distance range of the user can avoid that the mobile terminals 3 of other users cannot acquire or upload the positioning information, so that the warning information cannot be sent to necessary users. For example, a user cannot write the collected positioning information into the block chain in time due to poor mobile phone signals, and can collect the positioning information of the user and write the positioning information of the user into the block chain if mobile phones of other users near the user have good signals, so that the early warning information can be conveniently sent to necessary users.
S203, detecting whether there is an emergency newly added to the block chain 100 in real time.
In one embodiment, S203 includes: detecting in real time whether the block chain 100 receives event information written by the terminal device 2 from the user. Wherein the event information comprises an event description.
In an embodiment, the emergency event is also issued through the blockchain 100, and the user who issues the emergency event may install the emergency event early warning program on the terminal device 2 and register as a government agency user, a news agency user, and a general user according to the user identity. The terminal device 2 also has a private key and a public key. The user can write the event information into the blockchain 100 after encrypting the event information by using the public key through the terminal device 2.
In one embodiment, S203 further comprises: if the block chain 100 receives the event information written by the terminal device 2 of the user, the event information is analyzed to determine whether the event information is an emergency.
Specifically, if the block chain 100 receives event information written by the terminal device 2 of the user, the event information is read from the block chain 100, and the user type written with the event information is determined. And if the type of the user written with the event information is a government agency user, directly determining that the event information is an emergency. And if the type of the user written with the event information is a news agency user or a common user, inputting the event information into an emergency identification model. The emergency identification model is generated based on event description training corresponding to historical emergency, and optionally, the emergency identification model is a Back Propagation (BP) neural network model. Extracting text features of the event description through the incident recognition model, and classifying the event information as an incident or a non-incident based on the text features of the event description. The text features may include keywords, key information (e.g., time, place, people), sentence structures, and the like.
S204, if it is detected that an emergency is newly added to the block chain 100, determining the occurrence time of the emergency and the associated user.
In one embodiment, the occurrence time of the emergency and the associated user may be obtained from the event description of the emergency through semantic analysis. Wherein the associated user is a user included in the event description that caused the emergency to occur or a user at the scene of the emergency. For example, if the emergency is "the first diagnosed infectious disease resides at the address a, and the time B is exposed outdoors", the first is the related user of the emergency, and the time B is the occurrence time of the emergency. For another example, if the emergency is "a traffic accident occurs at the time D at the address C, and the traffic police b is handling the accident on site", the traffic police b is the associated user of the emergency, and the time D is the occurrence time of the emergency.
If no unexpected event is detected to be newly added to the block chain 100, the process returns to S202.
S205, obtain, from the block chain 100, first positioning information of the associated user at the time of the emergency event.
In an embodiment, according to the user information of the associated user, the first positioning information of the associated user at the time of the emergency event is queried and acquired on the block chain 100. For example, first positioning information of the first in the time B is acquired on the blockchain 100 according to the mobile phone number of the first.
S206, generating a track map of the emergency on a map according to the acquired first positioning information of the associated user.
In one embodiment, S206 includes: obtaining a map of a city where the first positioning information is located or a plan of an indoor place where the first positioning information is located, converting each positioning information into coordinate points on the map or the plan, marking the coordinate points on the map or the plan, and connecting the coordinate points to form a track map of the emergency.
Specifically, referring to fig. 3, a live-action map of a city where the first positioning information is located may be obtained, where the positioning information may be multiple positioning information, each positioning information is converted into a coordinate point on the live-action map, the coordinate point is marked on the live-action map, and the coordinate points are connected to form a moving track diagram of the associated user in the city in the emergency, such as a curve in fig. 3.
Referring to fig. 4, if the first positioning information is located in an indoor library, a plan view of the indoor library where the first positioning information is located may be obtained, where the positioning information may be multiple positioning information, each positioning information is converted into a coordinate point on the plan view, the coordinate points are marked on the plan view, and the coordinate points are connected to form a moving track diagram of the associated user in the indoor in the emergency, such as a curve in fig. 4.
S207, determining whether the block chain 100 includes second positioning information having a distance from the first positioning information within a first preset distance range.
In an embodiment, the positioning information in the block chain 100 is associated with user information and time information, a plurality of positioning information within the occurrence time of the emergency are acquired from the block chain 100, a distance between each acquired positioning information and the first positioning information is calculated, whether the distance is within the first preset distance range is determined, and if the distance is within the first preset distance range, the positioning information is determined as the second positioning information. Optionally, the first preset distance range is a range in which the distance is less than or equal to a first preset distance. The first preset distance may be set according to the type of the emergency event. For example, if the emergency event is an infectious patient exposure event, the first predetermined distance is set to be small, such as two meters, due to the close distance of virus transmission. If the emergency is a traffic accident, the first preset distance may be set to be larger, for example, one kilometer.
S208, if it is determined that the block chain 100 includes second positioning information whose distance from the first positioning information is within a first preset distance range, sending the trajectory diagram and the event description of the emergency event as early warning information to the mobile terminal 3 of the user corresponding to the second positioning information.
In an embodiment, if it is determined that the block chain 100 includes second positioning information whose distance from the first positioning information is within a first preset distance range, user information corresponding to the second positioning information is determined, and a trajectory diagram and an event description of the emergency event are sent to the mobile terminal 3 of a user corresponding to the second positioning information as early warning information according to the user information. For example, the user information is a mobile phone number, and the early warning information is sent to the mobile terminal 3 of the corresponding user in the form of a short message according to the mobile phone number.
In one embodiment, S208 further comprises: and generating prompt information according to the event description of the emergency, and sending the prompt information to the mobile terminal 3 of the user corresponding to the second positioning information. Specifically, the prompt information corresponding to the type of the emergency may be preset, the type of the emergency is determined according to the event description of the emergency, the preset prompt information is generated according to the type of the emergency, and the prompt information is sent to the mobile terminal 3 of the user corresponding to the second positioning information along with the early warning information.
For example, if the type of emergency is an infectious disease confirmed patient exposure, the reminder may include "2020, 1, 20, 15:00-17:00 one infectious case occurred in the library, please refer to the trace graph to see if there was close contact or advise to go to the hospital for examination ". If the type of the emergency is a traffic accident, the prompt message may include "a major traffic accident occurs in a certain place, please pay attention to detour".
S209, send the second positioning information and the user information corresponding to the second positioning information to the terminal device 2 that writes the emergency event into the block chain 100.
In an embodiment, when the user who issues the emergency is a government agency user, that is, when the user who writes the emergency into the terminal device 2 of the block chain 100 is a government agency user, the second positioning information and the user information corresponding to the second positioning information are sent to the terminal device 2 that writes the emergency into the block chain 100, so that the user information related to the emergency is pushed to a government agency to be filed in time. For example, if the emergency is an exposure event of an infectious disease confirmed patient issued by the health care committee, the positioning information and the user information of the user who may be in close contact with the confirmed patient are sent to the health care committee, so that the health care committee can conveniently manage and control the close contact people. If the emergency is a traffic accident issued by a traffic part, the positioning information and the user information of the users who are likely to witness the traffic accident are sent to a traffic department, so that police can conveniently find witness persons of the traffic accident, and the handling efficiency of the traffic accident is improved.
Further, the method further comprises: writing the locus diagram of the emergency into the block chain 100, and publishing the event description of the emergency and the locus diagram on a common platform, thereby carrying out early warning of the emergency to the public. The public platform can be a website, a public number, a newspaper and the like.
The emergency early warning method can be used for early warning an emergency based on the block chain, and improves the safety of user information and the authenticity of early warning in the early warning process of the emergency based on the characteristics of decentralization, non-tampering and whole-process tracking of the block chain.
Fig. 5 is a schematic structural diagram of an electronic device according to a preferred embodiment of the present application.
The electronic device 1 includes, but is not limited to, a processor 10, a memory 20, and a computer program 30 stored in the memory 20 and executable on the processor 10. The computer program 30 is, for example, an emergency warning program. The processor 10 implements steps of the emergency warning method, such as steps S201 to S209 shown in fig. 2, when executing the computer program 30.
Illustratively, the computer program 30 may be partitioned into one or more modules/units that are stored in the memory 20 and executed by the processor 10 to accomplish the present application. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program 30 in the electronic device 1.
It will be appreciated by a person skilled in the art that the schematic diagram is only an example of the electronic apparatus 1 and does not constitute a limitation of the electronic apparatus 1, and may comprise more or less components than those shown, or combine some components, or different components, for example, the electronic apparatus 1 may further comprise an input output device, a network access device, a bus, etc.
The Processor 10 may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components, etc. The general purpose processor may be a microprocessor or the processor 10 may be any conventional processor or the like, the processor 10 being the control center of the electronic device 1, and various interfaces and lines connecting the various parts of the whole electronic device 1.
The memory 20 may be used for storing the computer program 30 and/or the module/unit, and the processor 10 implements various functions of the electronic device 1 by running or executing the computer program and/or the module/unit stored in the memory 20 and calling data stored in the memory 20. The memory 20 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required by at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, a phone book, etc.) created according to the use of the electronic apparatus 1, and the like. In addition, the memory 20 may include volatile and non-volatile memory such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other storage devices.
The integrated modules/units of the electronic device 1 may be stored in a computer-readable storage medium if they are implemented in the form of software functional units and sold or used as separate products. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, the steps of the embodiments of the methods described above can be realized. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying said computer program code, recording medium, U-disk, removable hard disk, magnetic disk, optical disk, computer Memory, read-Only Memory (ROM), random Access Memory (RAM).
The emergency early warning method, the electronic device and the storage medium can early warn the emergency based on the block chain, the block chain has the characteristics of decentralization, no tampering and whole-process tracking, and the safety of user information and the early warning authenticity in the emergency early warning process are improved.
It will be evident to those skilled in the art that the present application is not limited to the details of the foregoing illustrative embodiments, and that the present application may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the application being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it will be obvious that the term "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. Several units or means recited in the apparatus claims may also be embodied by one and the same item or means in software or hardware. The terms first, second, etc. are used to denote names, but not to denote any particular order.
Although the present application has been described in detail with reference to preferred embodiments, it should be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present application.

Claims (10)

1. An emergency early warning method, characterized in that the method comprises:
detecting whether an emergency is newly added on a block chain in real time;
if an emergency is newly added on the block chain, determining the occurrence time of the emergency and a related user;
acquiring first positioning information of the associated user at the emergency occurrence time from the block chain;
generating a track map of the emergency event on a map according to the acquired first positioning information of the associated user;
judging whether the block chain contains second positioning information of which the distance from the first positioning information is within a first preset distance range;
and if the block chain is determined to contain second positioning information of which the distance from the first positioning information is within a first preset distance range, taking the track graph and the event description of the emergency as early warning information and sending the early warning information to a mobile terminal of a user corresponding to the second positioning information.
2. The emergency alert method according to claim 1, wherein the method further comprises:
writing the trace graph of the emergency into the block chain, and publishing the event description of the emergency and the trace graph on a common platform.
3. The emergency alert method according to claim 1, wherein the method further comprises:
and acquiring the positioning information of the user and other users within a second preset distance range of the user from the mobile terminal in real time through the block chain, wherein the mobile terminal performs real-time positioning, associates the positioning information with the user information and the time information and writes the information into the block chain.
4. The emergency alert method according to claim 1, wherein the method further comprises:
and sending the second positioning information and user information corresponding to the second positioning information to terminal equipment which writes the emergency into the block chain.
5. The method of claim 1, wherein the detecting whether an emergency is added to a block chain in real time comprises:
detecting whether the block chain receives event information written by terminal equipment from a user in real time, wherein the event information comprises event description;
and if the block link receives event information written by the terminal equipment of the user, analyzing the event information to judge whether the event information is an emergency or not.
6. The emergency alert method of claim 5, wherein the analyzing the event information to determine whether the event information is an emergency comprises:
inputting the event information into an emergency recognition model, wherein the emergency recognition model is generated based on event description training corresponding to historical emergency;
extracting text features of the event description through the incident recognition model, and classifying the event information as an incident or a non-incident based on the text features of the event description.
7. The method of claim 1, wherein the generating a trajectory map of the emergency on a map according to the acquired first positioning information of the associated user comprises:
obtaining a map of a city where the first positioning information is located or a plan of an indoor place where the first positioning information is located;
converting each positioning information into a coordinate point on the map or the plan;
and marking the coordinate points on the map or the plan, and connecting the coordinate points to form a track graph of the emergency.
8. The emergency alert method according to claim 1, wherein the method further comprises:
generating prompt information according to the event description of the emergency;
and sending the prompt information to a mobile terminal of a user corresponding to the second positioning information.
9. An electronic device, comprising:
a processor; and
a memory having stored therein a plurality of program modules that are loaded by the processor and execute the emergency alert method of any one of claims 1 to 8.
10. A computer readable storage medium having stored thereon at least one computer instruction, wherein the instruction is loaded by a processor and executes the method of any one of claims 1 to 8.
CN202110660704.1A 2021-06-15 2021-06-15 Emergency early warning method, electronic device and storage medium Pending CN115481409A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202110660704.1A CN115481409A (en) 2021-06-15 2021-06-15 Emergency early warning method, electronic device and storage medium
TW110129860A TW202301885A (en) 2021-06-15 2021-08-12 Emergency warning method, electronic device, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110660704.1A CN115481409A (en) 2021-06-15 2021-06-15 Emergency early warning method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115481409A true CN115481409A (en) 2022-12-16

Family

ID=84419025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110660704.1A Pending CN115481409A (en) 2021-06-15 2021-06-15 Emergency early warning method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115481409A (en)
TW (1) TW202301885A (en)

Also Published As

Publication number Publication date
TW202301885A (en) 2023-01-01

Similar Documents

Publication Publication Date Title
US10261846B1 (en) Storing and verifying the integrity of event related data
US10623937B2 (en) Validating and supplementing emergency call information
US9253251B2 (en) System and method for determining a vehicle proximity to a selected address
WO2017117879A1 (en) Personal identification processing method, apparatus and system
US9843611B2 (en) Incident data collection for public protection agencies
US20220014895A1 (en) Spatiotemporal analysis for emergency response
US10397757B1 (en) Deriving signal location from signal content
US10582343B1 (en) Validating and supplementing emergency call information
CN105453069A (en) Situational crowd-sourced response system
US20190332607A1 (en) Normalizing ingested signals
CN110930176B (en) Prediction method, prediction device, electronic equipment and storage medium
CN115719635A (en) Ambulance scheduling method, device, equipment and storage medium
TWI382367B (en) Event announcing system and operating method thereof
CN114708545A (en) Image-based object detection method, device, equipment and storage medium
CN111382986A (en) Student management method and device, computer device and computer readable storage medium
CN115481409A (en) Emergency early warning method, electronic device and storage medium
CN111611337B (en) Terminal data processing system
US10701544B1 (en) Validating and supplementing emergency call information removing private information
US10904720B2 (en) Deriving signal location information and removing private information from it
US10671651B1 (en) Deriving signal location information
CN111611336B (en) Terminal data processing system
CN111372197A (en) Early warning method and related device
CN111367955A (en) Target object identification method and device, electronic equipment and storage medium
US20200250199A1 (en) Signal normalization removing private information
Pawar et al. Smart Local Bus Tranportation Sustem Based on IoT

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