CN113543034B - Safety early warning method, device, equipment and storage medium based on positioning information - Google Patents

Safety early warning method, device, equipment and storage medium based on positioning information Download PDF

Info

Publication number
CN113543034B
CN113543034B CN202110716038.9A CN202110716038A CN113543034B CN 113543034 B CN113543034 B CN 113543034B CN 202110716038 A CN202110716038 A CN 202110716038A CN 113543034 B CN113543034 B CN 113543034B
Authority
CN
China
Prior art keywords
positioning information
time
mobile terminal
real
database
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
Application number
CN202110716038.9A
Other languages
Chinese (zh)
Other versions
CN113543034A (en
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.)
Power Idea Technology Shenzhen Co Ltd
Original Assignee
Power Idea Technology Shenzhen 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 Power Idea Technology Shenzhen Co Ltd filed Critical Power Idea Technology Shenzhen Co Ltd
Priority to CN202110716038.9A priority Critical patent/CN113543034B/en
Publication of CN113543034A publication Critical patent/CN113543034A/en
Application granted granted Critical
Publication of CN113543034B publication Critical patent/CN113543034B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/08Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using communication transmission lines
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B25/00Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems
    • G08B25/01Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium
    • G08B25/10Alarm systems in which the location of the alarm condition is signalled to a central station, e.g. fire or police telegraphic systems characterised by the transmission medium using wireless transmission systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/52Network services specially adapted for the location of the user terminal
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/90Services for handling of emergency or hazardous situations, e.g. earthquake and tsunami warning systems [ETWS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Environmental & Geological Engineering (AREA)
  • Public Health (AREA)
  • Alarm Systems (AREA)

Abstract

The embodiment of the invention discloses a safety early warning method, a device, equipment and a storage medium based on positioning information, wherein the method comprises the following steps: the method comprises the steps of acquiring positioning information of a mobile terminal at fixed time, wherein the positioning information comprises a real-time position and positioning time; when the positioning information of the mobile terminal is obtained, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by a database; if not, the current positioning information is input into a database or sent to a designated receiver according to the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last piece of positioning information of the mobile terminal recorded by the database. According to the invention, the mobile track of the user is analyzed by regularly acquiring the positioning information of the mobile terminal, and the positioning information is sent to the appointed receiver when the mobile track is abnormal, so that the personal safety of the user is ensured.

Description

Safety early warning method, device, equipment and storage medium based on positioning information
Technical Field
The present invention relates to the field of security technologies, and in particular, to a security early warning method, device, equipment and storage medium based on positioning information.
Background
The safety problem of living alone has a great deal of attention to society.
At present, a common SOS one-key alarming function on a mobile phone needs to be triggered manually, SOS distress information only takes effect within a certain range, a user receiving the SOS distress information is random, the SOS distress information also has no relevant position information of a sender, and the sender is difficult to obtain timely rescue.
Disclosure of Invention
The invention provides a safety early warning method, device, equipment and storage medium based on positioning information, and aims to solve the problems that a mobile terminal needs manual triggering for asking for help, personal safety early warning cannot be actively carried out, and position information of a person asking for help is imperfect.
In a first aspect, an embodiment of the present invention provides a security early warning method based on positioning information, including:
the method comprises the steps of acquiring positioning information of a mobile terminal at fixed time, wherein the positioning information comprises a real-time position and positioning time, and the positioning time comprises a date and a time;
when the positioning information of the mobile terminal is obtained, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by a database;
when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in a database, judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset time length;
when the time difference exceeds the first preset time length, transmitting the last piece of positioning information of the mobile terminal recorded by the database to a designated receiver;
and when the time difference does not exceed the first preset time length, inputting the current positioning information into a database.
In a second aspect, an embodiment of the present invention further provides a security early warning device based on positioning information, including:
the acquisition module is used for acquiring positioning information of the mobile terminal at fixed time, wherein the positioning information comprises a real-time position and positioning time, and the positioning time comprises a date and a time;
the first judging module is used for judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database when the positioning information of the mobile terminal is acquired;
the second judging module is used for judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset duration or not when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database;
the first execution module is used for sending the last piece of positioning information of the mobile terminal recorded by the database to a designated receiver when the time difference exceeds the first preset time length; and when the time difference does not exceed the first preset time length, inputting the current positioning information into a database.
In a third aspect, an embodiment of the present invention further provides an electronic device, including: a processor, a memory, and a bus;
the bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps in the positioning information based security pre-warning method according to the first aspect.
In a fourth aspect, embodiments of the present invention further provide a computer readable storage medium storing one or more programs executable by one or more processors to implement steps in the positioning information based security pre-warning method according to the first aspect.
In the embodiment of the invention, the positioning information of the mobile terminal is queried at fixed time, when the acquired real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database, whether the time difference between the positioning time of the current positioning information and the positioning time of the last positioning information of the database exceeds a first preset duration is judged, when the time difference exceeds the first preset duration, the last positioning information of the database is sent to a designated receiver, the designated receiver can accurately know the latest position of the mobile terminal when the personal safety of the user of the mobile terminal is possibly threatened, the searching range is reduced, and when the time difference does not exceed the first preset duration, the current positioning information of the mobile terminal is recorded in the database, the user is subjected to continuous movement track monitoring, and the personal safety of the user is ensured.
Drawings
Fig. 1 is a flow chart of a security early warning method based on positioning information according to a first embodiment of the present invention;
fig. 2 is a flow chart of a security early warning method based on positioning information according to a second embodiment of the present invention;
FIG. 3 is a schematic program module diagram of a security pre-warning device based on positioning information according to a third embodiment of the present invention;
FIG. 4 is a schematic program module diagram of a security pre-warning device based on positioning information according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of an electronic device according to a fifth embodiment of the present invention.
Detailed Description
In order to further describe the technical means and effects adopted by the present invention for achieving the intended purpose, the following detailed description will refer to the specific implementation, structure, characteristics and effects according to the present invention with reference to the accompanying drawings and preferred embodiments.
The security early warning method based on the positioning information is applied to a cloud server, and the mobile terminal comprises intelligent equipment such as a mobile phone, a tablet, a watch and a bracelet.
Referring to fig. 1, fig. 1 is a flow chart of a security early warning method based on positioning information according to a first embodiment of the present invention, where the method includes:
step S101, positioning information of the mobile terminal is acquired at fixed time, wherein the positioning information comprises a real-time position and positioning time, and the positioning time comprises a date and a time.
Specifically, the cloud server queries the positioning information of the mobile terminal every 1 hour, and the query interval can be set according to actual needs. For example, the positioning time is 18 minutes at 1.1.1.2021, the positioning time is 1.1.2021, and the positioning time is 18 minutes at 24.
Step S102, when the positioning information of the mobile terminal is obtained, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database.
When the cloud server acquires the current positioning information of the mobile terminal, the real-time position of the user is likely to change compared with the previous position, and the real-time position of the current positioning information is required to be compared with the last piece of positioning information of the mobile terminal recorded by the database for judgment.
In an optional implementation manner of this embodiment, after step S102, the method further includes:
and deleting the obtained current positioning information of the mobile terminal when the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database.
Specifically, if the real-time position of the current positioning information of the mobile terminal obtained by the cloud server is the same as the real-time position of the last piece of positioning information recorded by the database, the user is stopped in place, the moving track is not changed, and the cloud server deletes the obtained current positioning information, so that the database is prevented from repeatedly inputting the positioning information with the same real-time position in a short time.
In an optional implementation manner of this embodiment, step S102 specifically includes:
when the positioning information of the mobile terminal is obtained, if the database does not record the historical positioning information of the mobile terminal, the current positioning information of the mobile terminal is input into the database, otherwise, whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database is judged.
Specifically, the database does not record the historical positioning information of the mobile terminal before the cloud server queries the positioning information of the mobile terminal for the first time, and the cloud server directly stores the acquired positioning information into the database. When the cloud server inquires the positioning information of the mobile terminal later, the cloud server compares the real-time position of the acquired positioning information with the real-time position of the last piece of positioning information recorded by the database according to time sequence, and whether the position of the user changes or not is judged.
Step S103, judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset duration or not when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database.
Alternatively, the first preset time period is set to 24 hours. When the user is a crowd such as old people and children which are easy to lose, the first preset time length can be set to be shorter, so that the cloud server can react to the positioning information more quickly.
And step S104, when the time difference exceeds the first preset time length, the last piece of positioning information of the mobile terminal recorded by the database is sent to the appointed receiver.
If the positioning time of the last piece of positioning information of the mobile terminal recorded by the current positioning information time interval database exceeds 24 hours and the cloud server queries the positioning information every 1 hour, the mobile terminal is in a disconnection state in the period, and on the premise that the real-time position of the current positioning information is changed compared with the real-time position recorded by the previous database in step S103, the cloud server sends the last piece of positioning information of the mobile terminal recorded by the database to an appointed receiver, and the mobile terminal can immediately ask for help when a user possibly has accidents.
And step S105, when the time difference does not exceed the first preset time length, the current positioning information is input into the database.
The cloud server inquires the positioning information of the mobile terminal every 1 hour, and if the positioning time of the last piece of positioning information of the mobile terminal recorded by the positioning time interval database of the current positioning information does not exceed 24 hours, the cloud server inputs the current positioning information of the mobile terminal into the database so as to update the position of the user.
In an optional implementation manner of this embodiment, after the step S101, the method further includes:
when the positioning information of the mobile terminal cannot be acquired, if the time difference between the current time and the positioning time of the last piece of positioning information of the mobile terminal recorded by the database exceeds a second preset duration, the last piece of positioning information of the mobile terminal recorded by the database is sent to a designated receiver.
Optionally, the second preset time period is 12 hours. When the cloud server cannot acquire the positioning information of the mobile terminal, judging whether the positioning time of the last piece of positioning information of the mobile terminal recorded by the current time interval database exceeds a second preset duration, if yes, indicating that the cloud server cannot receive the positioning information of the mobile terminal for a long time, and sending the last piece of positioning information of the mobile terminal recorded by the database to a designated receiver by the cloud server.
In the embodiment of the invention, the cloud server queries the positioning information of the mobile terminal at regular time, judges whether the time difference between the positioning time of the current positioning information and the positioning time of the last positioning information of the database exceeds a first preset duration or not when the obtained real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded by the database, and sends the last positioning information of the database to a designated receiver when the time difference exceeds the first preset duration, so that the designated receiver can accurately know the position which appears recently when the personal safety of a mobile terminal user is possibly threatened, the searching range is reduced, and the cloud server directly records the current positioning information of the mobile terminal into the database when the time difference does not exceed the first preset duration, so as to monitor the continuous moving track of the user and ensure the personal safety of the user.
Referring to fig. 2, fig. 2 is a flow chart of a security early warning method based on positioning information according to a second embodiment of the present invention, where the method includes:
step S201, positioning information of the mobile terminal is acquired at fixed time, wherein the positioning information comprises real-time positions and positioning time, and the positioning time comprises dates and moments.
Step S202, when the positioning information of the mobile terminal is obtained, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database.
Step S203, when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database, judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds the first preset time length.
And step S204, when the time difference exceeds the first preset time length, the last piece of positioning information of the mobile terminal recorded by the database is sent to the appointed receiver.
And step S205, when the time difference does not exceed the first preset time length, the current positioning information is input into the database.
Step S206, judging whether the real-time position of the current positioning information is the same as the real-time position of the positioning information recorded in the database at the same time of the previous day.
Specifically, if the positioning time of the current positioning information of the mobile terminal obtained by the cloud server is 2021, 1, 2, 6 and 15 minutes, then the real-time position of the positioning information recorded by the database at 2021, 1, 6 and 15 minutes is queried, and whether the real-time position of the positioning information is consistent with the real-time position of the current positioning information is judged. The cloud server performs early warning monitoring on the safety of the user by researching whether the moving track of the user changes at the same time of the adjacent date.
In an alternative implementation manner of this embodiment, before step S206, the method further includes:
and judging whether the positioning information which is the same as the current positioning information in the positioning time moment exists in the previous day of the database.
In actual life, due to the signal coverage problem, when the database queries the positioning information of the mobile terminal at the same time of the previous day, the returned positioning information may not be received or the real-time position of the user is not changed, so that the database does not record the positioning information, and whether the positioning information at the same time exists needs to be judged first.
When there is positioning information identical to the current positioning information in the positioning time of the previous day of the database, step S206 is performed.
In an optional implementation manner of the foregoing embodiment, after determining whether the same positioning information as the current positioning information exists in the positioning time of the previous day of the database, the method further includes:
when the positioning information which is the same as the current positioning information in the positioning time is not present in the database on the previous day, judging whether the real-time position of the current positioning information is positioned on a connecting line between the real-time positions of the positioning information recorded by the database on the previous day and the next day.
For example, when the positioning time of the current positioning information of the mobile terminal is 2021, 1, 2, 6 and 15 minutes, and the positioning information recorded by 2021, 1, 6 and 15 minutes does not exist in the database, the cloud server acquires the front piece of positioning information and the rear piece of positioning information closest to the 2021, 1, 6 and 15 minutes, such as 2021, 1, 5, 15 minutes and 2021, 1, 7 and 15 minutes, and connects the real-time positions of the front piece of positioning information and the rear piece of positioning information, and judges whether the real-time positions of the current positioning information are on a connecting line.
And when the real-time position of the current positioning information is not positioned on a connecting line between the real-time positions of the positioning information recorded by the database at the front and rear adjacent moments of the previous day, the current positioning information is sent to the appointed receiver.
Step S207, when the real-time position of the current positioning information is different from the real-time position of the positioning information recorded in the database at the same time of the previous day, the current positioning information is sent to the appointed receiver.
Referring to fig. 3, fig. 3 is a security pre-warning device based on positioning information according to a third embodiment of the present invention, where the device includes:
the acquiring module 10 is configured to acquire positioning information of the mobile terminal at regular time, where the positioning information includes a real-time position and a positioning time, and the positioning time includes a date and a time.
The first determining module 20 is configured to determine, when the positioning information of the mobile terminal is obtained, whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database.
The second judging module 30 is configured to judge whether a time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset duration when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database.
A first execution module 40, configured to send, when the time difference exceeds a first preset duration, a last piece of positioning information of the mobile terminal recorded in the database to a designated recipient; and when the time difference does not exceed the first preset time length, inputting the current positioning information into a database.
In an alternative implementation of the present embodiment, the first execution module 40 is further configured to:
and deleting the obtained current positioning information of the mobile terminal when the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database.
In an alternative implementation manner of this embodiment, the first determining module 20 is specifically configured to:
when the positioning information of the mobile terminal is acquired, judging whether the database records the historical positioning information of the mobile terminal, and when the database records the historical positioning information of the mobile terminal, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database.
The first execution module 40 is further configured to:
and when the database does not record the historical positioning information of the mobile terminal, the current positioning information of the mobile terminal is input into the database.
In an alternative implementation manner of this embodiment, the first determining module 20 is further configured to:
when the positioning information of the mobile terminal cannot be acquired, judging whether the time difference between the current time and the positioning time of the last piece of positioning information of the mobile terminal recorded by the database exceeds a second preset duration.
The first execution module 40 is further configured to:
and when the time difference between the current time and the positioning time of the last piece of positioning information of the mobile terminal recorded in the database exceeds a second preset duration, the last piece of positioning information of the mobile terminal recorded in the database is sent to a designated receiver.
Referring to fig. 4, fig. 4 is a diagram illustrating a security early warning device based on positioning information according to a fourth embodiment of the present invention, where the device includes:
the acquiring module 10 is configured to acquire positioning information of the mobile terminal at regular time, where the positioning information includes a real-time position and a positioning time, and the positioning time includes a date and a time.
The first determining module 20 is configured to determine, when the positioning information of the mobile terminal is obtained, whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database.
The second judging module 30 is configured to judge whether a time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset duration when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database.
A first execution module 40, configured to send, when the time difference exceeds a first preset duration, a last piece of positioning information of the mobile terminal recorded in the database to a designated recipient; and when the time difference does not exceed the first preset time length, inputting the current positioning information into a database.
The third determining module 50 is configured to determine whether the real-time position of the current positioning information is the same as the real-time position of the positioning information recorded in the database at the same time of the previous day.
A second execution module 60 for transmitting the current positioning information to the designated receiver when the real-time position of the current positioning information is different from the real-time position of the positioning information recorded in the database at the same time of the previous day
In an alternative implementation manner of this embodiment, the third judging module 50 is specifically configured to:
and judging whether the positioning information which is the same as the current positioning information in time exists in the previous day of the database, and judging whether the real-time position of the current positioning information is the same as the real-time position of the positioning information recorded in the database at the same time of the previous day when the positioning information which is the same as the current positioning information in time exists in the previous day of the database.
In an alternative implementation of the foregoing embodiment, the third determining module 50 is further configured to:
when the positioning information which is the same as the current positioning information in the positioning time is not present in the database on the previous day, judging whether the real-time position of the current positioning information is positioned on a connecting line between the real-time positions of the positioning information recorded by the database on the previous day and the next day.
The second execution module 60 is also to:
and when the real-time position of the current positioning information is not positioned on the connecting line between the real-time positions of the positioning information recorded by the database at the front and rear adjacent moments of the previous day, the current positioning information is sent to the appointed receiver.
Referring to fig. 5, fig. 5 is an electronic device according to a fifth embodiment of the present application. The electronic device can be used for realizing the safety precaution method based on the positioning information in the embodiment. As shown in fig. 5, the electronic device mainly includes:
memory 501, processor 502, bus 503, and a computer program stored in memory 501 and executable on processor 502, memory 501 and processor 502 being connected by bus 503. The processor 502 implements the security pre-warning method based on positioning information in the foregoing embodiment when executing the computer program. Wherein the number of processors may be one or more.
The memory 501 may be a high-speed random access memory (RAM, random Access Memory) memory or a non-volatile memory (non-volatile memory), such as a disk memory. The memory 501 is used for storing executable program codes, and the processor 502 is coupled to the memory 501.
Further, the embodiment of the application further provides a computer readable storage medium, which may be provided in the electronic device in each embodiment, and the computer readable storage medium may be a memory in the embodiment shown in fig. 5.
The computer readable storage medium stores a computer program which, when executed by a processor, implements the positioning information-based security pre-warning method in the foregoing embodiment. Further, the computer-readable medium may be any medium capable of storing a program code, such as a usb (universal serial bus), a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk.
In the several embodiments provided in this application, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of modules is merely a logical function division, and there may be additional divisions of actual implementation, e.g., multiple modules or components may be combined or integrated into another system, or some features may be omitted, or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or modules, which may be in electrical, mechanical, or other forms.
The modules illustrated as separate components may or may not be physically separate, and components shown as modules may or may not be physical modules, i.e., may be located in one place, or may be distributed over a plurality of network modules. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional module in each embodiment of the present application may be integrated into one processing module, or each module may exist alone physically, or two or more modules may be integrated into one module. The integrated modules may be implemented in hardware or in software functional modules.
The integrated modules, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present application may be embodied in essence or a part contributing to the prior art or all or part of the technical solution in the form of a software product stored in a readable storage medium, including several instructions to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods of the embodiments of the present application. And the aforementioned readable storage medium includes: a usb disk, a removable hard disk, a ROM, a RAM, a magnetic disk, or an optical disk, etc.
It should be noted that, for the sake of simplicity of description, the foregoing method embodiments are all expressed as a series of combinations of actions, but it should be understood by those skilled in the art that the present application is not limited by the order of actions described, as some steps may be performed in other order or simultaneously in accordance with the present application. Further, those skilled in the art will also appreciate that the embodiments described in the specification are all preferred embodiments, and that the acts and modules referred to are not necessarily all necessary for the present application.
In the foregoing embodiments, the descriptions of the embodiments are emphasized, and for parts of one embodiment that are not described in detail, reference may be made to the related descriptions of other embodiments.
The foregoing describes the positioning information-based security early warning method, apparatus, device and storage medium provided in the present application, and those skilled in the art, based on the ideas of the embodiments of the present application, will change the specific implementation and application scope, so that the content of the present application should not be construed as limiting the present application.

Claims (7)

1. The safety early warning method based on the positioning information is characterized by comprising the following steps:
the method comprises the steps of acquiring positioning information of a mobile terminal at fixed time, wherein the positioning information comprises a real-time position and positioning time, and the positioning time comprises a date and a time;
when the positioning information of the mobile terminal is obtained, judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by a database;
when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in a database, judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset time length;
when the time difference exceeds the first preset time length, transmitting the last piece of positioning information of the mobile terminal recorded by the database to a designated receiver;
when the time difference does not exceed the first preset time length, inputting the current positioning information into a database;
judging whether the positioning information which is the same as the current positioning information in time in the positioning time exists in the previous day of the database;
when the positioning information which is the same as the current positioning information in the positioning time is present in the database in the previous day, executing the step of judging whether the real-time position of the current positioning information is the same as the real-time position of the positioning information recorded in the database in the same time of the previous day;
when the real-time position of the current positioning information is different from the real-time position of the positioning information recorded in the database at the same time of the previous day, transmitting the current positioning information to a designated receiver;
when the positioning information which is the same as the current positioning information in the positioning time is not present in the database in the previous day, judging whether the real-time position of the current positioning information is positioned on a connecting line between the real-time positions of the positioning information recorded in the database in the previous and subsequent adjacent time;
and when the real-time position of the current positioning information is not positioned on a connecting line between the real-time positions of the positioning information recorded by the database at the front and rear adjacent moments of the previous day, the current positioning information is sent to a designated receiver.
2. The location information based security pre-warning method of claim 1, further comprising:
when the positioning information of the mobile terminal cannot be obtained, if the time difference between the current time and the positioning time of the last piece of positioning information of the mobile terminal recorded by the database exceeds a second preset duration, the last piece of positioning information of the mobile terminal recorded by the database is sent to a designated receiver.
3. The security pre-warning method based on positioning information according to claim 1, further comprising, after said determining whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database:
and deleting the obtained current positioning information of the mobile terminal when the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by a database.
4. The method for security pre-warning based on positioning information according to claim 1, wherein when the positioning information of the mobile terminal is obtained, determining whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded in the database comprises:
when the positioning information of the mobile terminal is obtained, if the database does not record the historical positioning information of the mobile terminal, the current positioning information of the mobile terminal is input into the database, otherwise, whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database is judged.
5. A safety precaution device based on location information, characterized by comprising:
the acquisition module is used for acquiring positioning information of the mobile terminal at fixed time, wherein the positioning information comprises a real-time position and positioning time, and the positioning time comprises a date and a time;
the first judging module is used for judging whether the real-time position of the current positioning information of the mobile terminal is the same as the real-time position of the last piece of positioning information of the mobile terminal recorded by the database when the positioning information of the mobile terminal is acquired;
the second judging module is used for judging whether the time difference between the positioning time of the current positioning information of the mobile terminal and the positioning time of the last positioning information of the mobile terminal recorded in the database exceeds a first preset duration or not when the real-time position of the current positioning information of the mobile terminal is different from the real-time position of the last positioning information of the mobile terminal recorded in the database;
the first execution module is used for sending the last piece of positioning information of the mobile terminal recorded by the database to a designated receiver when the time difference exceeds the first preset time length; when the time difference does not exceed the first preset time length, inputting the current positioning information into a database;
the third judging module is used for judging whether the positioning information which is the same as the current positioning information in the positioning time moment exists in the previous day of the database; the method comprises the steps of executing the step of judging whether the real-time position of the current positioning information is the same as the real-time position of the positioning information recorded by the database at the same time of the previous day when the positioning information which is the same as the current positioning information at the same time in the positioning time of the current positioning information exists on the previous day of the database;
the second execution module is used for sending the current positioning information to a designated receiver when the real-time position of the current positioning information is different from the real-time position of the positioning information recorded in the database at the same time of the previous day;
the third judging module is further configured to judge, when no positioning information that is the same as the current positioning information in the positioning time is present on a day before the database, whether the real-time position of the current positioning information is located on a connection line between the real-time positions of the positioning information recorded in the database at two adjacent times before and after the day before; the second execution module is further configured to send the current positioning information to a designated recipient when the real-time position of the current positioning information is not located on a connection line between the real-time positions of the positioning information recorded in the database at two adjacent times before and after the previous day.
6. An electronic device, comprising: a processor, a memory, and a bus;
the bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps in the location information based security pre-warning method of any one of claims 1 to 4.
7. A computer readable storage medium storing one or more programs executable by one or more processors to implement the steps in the location information based security pre-warning method of any one of claims 1 to 4.
CN202110716038.9A 2021-06-25 2021-06-25 Safety early warning method, device, equipment and storage medium based on positioning information Active CN113543034B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110716038.9A CN113543034B (en) 2021-06-25 2021-06-25 Safety early warning method, device, equipment and storage medium based on positioning information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110716038.9A CN113543034B (en) 2021-06-25 2021-06-25 Safety early warning method, device, equipment and storage medium based on positioning information

Publications (2)

Publication Number Publication Date
CN113543034A CN113543034A (en) 2021-10-22
CN113543034B true CN113543034B (en) 2024-03-19

Family

ID=78096849

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110716038.9A Active CN113543034B (en) 2021-06-25 2021-06-25 Safety early warning method, device, equipment and storage medium based on positioning information

Country Status (1)

Country Link
CN (1) CN113543034B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561074A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Method, device and system for prompting whether portable positioning device arrives on time or not
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN106155645A (en) * 2015-03-30 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing early warning
CN108712555A (en) * 2018-03-14 2018-10-26 维沃移动通信有限公司 A kind of method and device sending warning message
WO2020215592A1 (en) * 2019-04-24 2020-10-29 深圳传音控股股份有限公司 Positioning transmission method and device, terminal, and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2015058720A1 (en) * 2013-10-25 2015-04-30 北京奇虎科技有限公司 Position information alert method, device, and system
CN103561069B (en) * 2013-10-25 2016-12-14 北京奇宝科技有限公司 Location information prompt method and device, system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103561074A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Method, device and system for prompting whether portable positioning device arrives on time or not
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN106155645A (en) * 2015-03-30 2016-11-23 中兴通讯股份有限公司 A kind of method and apparatus realizing early warning
CN108712555A (en) * 2018-03-14 2018-10-26 维沃移动通信有限公司 A kind of method and device sending warning message
WO2020215592A1 (en) * 2019-04-24 2020-10-29 深圳传音控股股份有限公司 Positioning transmission method and device, terminal, and storage medium

Also Published As

Publication number Publication date
CN113543034A (en) 2021-10-22

Similar Documents

Publication Publication Date Title
CN112164210B (en) Object-based early warning method and device, storage medium and electronic equipment
CN105869423B (en) Method for early warning and system, server based on satellite positioning
WO2006108077A1 (en) System and method for tracking monitoring, collecting, reporting and communicating with the movement of individuals
CN107205222B (en) Low-power-consumption positioning method, device and system
CN103426043A (en) Crop monitoring, early warning and emergency management system
CN109255937B (en) Alarm processing method and terminal equipment
WO2017049493A1 (en) Loss-prevention method, smart wristband, and terminal
EP3323239B1 (en) Systems and methods for processing recorded data for storage using computer-aided dispatch information
US11094025B2 (en) Systems and methods for processing recorded data for storage using computer-aided dispatch information
CN108696723A (en) Cloud monitoring method, Cloud Server and computer readable storage medium
CN109147283A (en) A kind of short message alarm system and method for safety supervision information
CN113543034B (en) Safety early warning method, device, equipment and storage medium based on positioning information
US10033457B2 (en) Blind spot determination
CN109919492B (en) Sanitation resource scheduling method, device and system
CN104066046A (en) Method for tracking mobile terminal and device thereof
CA2733222C (en) Management of communications from stolen devices
CN105357282A (en) Method and system for recording help-seeking and rescue evidences
CN112687400A (en) Intelligent perception epidemic prevention early warning method
CN104469685A (en) Method and device for sending position information by mobile terminal
CN108377563B (en) Method for managing wearable equipment, server and client
CN113468030A (en) Monitoring and alarming method and device of ABS (anti-lock braking system), storage medium and electronic equipment
CN112348315A (en) Target portrait generation method and device, electronic equipment and computer storage medium
CN110942591A (en) Driving safety reminding system and method
Dev et al. IOT based Accident Preventing and Reporting System
CN216290991U (en) Intelligent management system for play time

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
GR01 Patent grant
GR01 Patent grant