CN113269940A - Electronic fence alarm method and device, computer equipment and storage medium - Google Patents

Electronic fence alarm method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113269940A
CN113269940A CN202110284894.1A CN202110284894A CN113269940A CN 113269940 A CN113269940 A CN 113269940A CN 202110284894 A CN202110284894 A CN 202110284894A CN 113269940 A CN113269940 A CN 113269940A
Authority
CN
China
Prior art keywords
electronic fence
information
server
alarm
preset
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
CN202110284894.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.)
Ruichi Bofang (beijing) Science & Technology Co ltd
Original Assignee
Ruichi Bofang (beijing) Science & Technology 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 Ruichi Bofang (beijing) Science & Technology Co ltd filed Critical Ruichi Bofang (beijing) Science & Technology Co ltd
Priority to CN202110284894.1A priority Critical patent/CN113269940A/en
Publication of CN113269940A publication Critical patent/CN113269940A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/22Electrical actuation
    • G08B13/24Electrical actuation by interference with electromagnetic field distribution
    • G08B13/2402Electronic Article Surveillance [EAS], i.e. systems using tags for detecting removal of a tagged item from a secure area, e.g. tags for detecting shoplifting
    • G08B13/2451Specific applications combined with EAS
    • 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/008Alarm setting and unsetting, i.e. arming or disarming of the security system
    • 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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • 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/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Abstract

The application relates to an electronic fence alarm method, an electronic fence alarm device, computer equipment and a storage medium. The method comprises the following steps: acquiring the position information of a monitored object at the current moment; judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information; and if the preset triggering alarm condition is met, sending an alarm signal. The alarm judgment is directly carried out locally, so that the alarm time delay can be reduced, and the timeliness and the accuracy of the alarm are improved.

Description

Electronic fence alarm method and device, computer equipment and storage medium
Technical Field
The present application relates to the field of security monitoring technologies, and in particular, to a method and an apparatus for alarming an electronic fence, a computer device, and a storage medium.
Background
With the popularization of positioning equipment in the development of positioning technology, Location Based Service (LBS) has become a basic facility and Service in the era of mobile interconnection, and has been widely applied in various industries and different scenes of society and economy. The electronic fence is a technology derived by combining LBS with safety requirements, and is widely applied to military and civil safety precaution fields such as warehouses, military bases and schools, for example, transformer substations, industrial heavy places, key cultural relic places, military facilities and other places with and needing fences.
In the related art, the server can judge whether the monitored object enters the electronic fence according to the received position information of the monitored object, and when the monitored object is detected to enter the electronic fence, the server informs the monitoring device to give an alarm. Therefore, the alarm is delayed, and the timeliness and the accuracy of the alarm are not high.
Disclosure of Invention
Therefore, it is necessary to provide an electronic fence alarm method, an electronic fence alarm device, a computer device, and a storage medium, which can reduce alarm delay and improve alarm timeliness and accuracy.
An electronic fence alarm method, the method comprising:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
In one embodiment, the electronic fence information comprises electronic fence type and range information;
the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving;
the preset alarm condition is determined according to the type and range information of the electronic fence.
In one embodiment, the preset alarm condition is determined according to the type and range information of the electronic fence, and comprises the following steps:
if the type of the electronic fence is no entry, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence;
if the type of the electronic fence is forbidden to leave, presetting an alarm condition within a range formed by leaving the electronic fence;
if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stagnation and blockage behavior, a turning behavior or a turning behavior occurs in the range formed by the electronic fence.
In one embodiment, the obtaining the position information of the monitored object at the current time includes:
obtaining the motion parameters of the monitored object at the current moment;
receiving positioning signals transmitted by each base station at a preset time, and determining the position information of a monitored object at the preset time according to the positioning signals, wherein the preset time is the positioning signal receiving time closest to the current time;
and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
In one embodiment, the method further comprises:
sending electronic fence information updating confirmation information to the server, wherein the updating confirmation information is sent out when the tag confirms updating according to an electronic fence updating request sent by the server;
and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
In one embodiment, before receiving the latest electronic fence information returned by the server and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information, the method further includes:
and receiving an erasing request sent by the server, erasing the historical electronic fence information of the tag end according to the erasing request, generating erasing completion information when the erasing is finished, and uploading the erasing completion information to the server.
In one embodiment, sending the electronic fence information update confirmation information to the server includes:
acquiring a tag end identifier, and sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identifier;
receiving the latest electronic fence information returned by the server, wherein the latest electronic fence information comprises:
and receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
An electronic fence alarm device, the device comprising:
the acquisition module is used for acquiring the position information of the monitored object at the current moment;
the judging module is used for judging whether the monitored object meets the triggering preset alarm condition or not according to the position information and the locally stored electronic fence information;
and the alarm module is used for sending out an alarm signal if the preset alarm triggering condition is met.
A computer device comprising a memory and a processor, the memory storing a computer program, the processor implementing the following steps when executing the computer program:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the steps of:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
According to the electronic fence alarm method, the electronic fence alarm device, the computer equipment and the storage medium, the position information of the monitored object at the current moment is acquired; judging whether the monitored object meets the triggering preset alarm condition or not according to the position information and locally stored electronic fence information; and if the preset triggering alarm condition is met, sending an alarm signal. The alarm judgment is directly carried out locally, so that the alarm time delay can be reduced, and the timeliness and accuracy of the alarm are improved.
Drawings
FIG. 1 is a diagram of an exemplary implementation of a fence alarm method;
FIG. 2 is a flow diagram of a fence alarm method according to one embodiment;
FIG. 3 is a flow diagram of a fence alarm method according to one embodiment;
FIG. 4 is a flow chart illustrating a fence alarm method according to another embodiment;
FIG. 5 is a block diagram of an electronic fence device according to another embodiment;
fig. 6 is an internal structural view of a tag end in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
The electronic fence alarm method provided by the application can be applied to the application environment shown in fig. 1.
The front-end UI is a server-end graphical user interface, and a user manages the electronic fence through a UI page, including downloading, updating, activating and the like, and communicates with the server through an API; the Server Zone Manager (SZM) may be implemented by an independent Server or a Server cluster formed by a plurality of servers, and the Server is responsible for managing operation and maintenance of the positioning system, updating the electronic fence at the monitoring Server, and synchronizing the electronic fence information on the control tag. The server is connected with the base station through a network cable. The base station is responsible for the location service, and the location module passes through UWB communication with the base station (the locate mode in this application embodiment is not restricted to UWB location, can also be through other locate modes, like realization such as bluetooth location, wifi location). The label end comprises location module, label end drive (CB UART DRIVER promptly), support plate (Carrier Board, CB), and the label end stores, manages local fence information on the support plate. The positioning module and the processor are connected through a UART (Universal Asynchronous Receiver/Transmitter). The command of the server and data such as electronic fence are sent to the base station through the network, the base station sends to the positioning module through UWB signals, the positioning module sends to the processor through UART, the processor judges whether to alarm or not according to the position data of the positioning module and the electronic fence information, and then the alarm information and the electronic fence information are stored in the memory. In one embodiment, as shown in fig. 2, there is provided an electronic fence alarm method, which is described by taking the application of the method to the tag end in fig. 1 as an example, and includes the following steps:
step 202, obtaining the position information of the monitored object at the current moment.
The monitored object can be a person, a vehicle or other moving objects needing to be monitored, the position information of the monitored object at the current moment is acquired through the label, and the label is placed on the monitored object.
Specifically, after the tag end receives the positioning signals, the position information of the monitored object is calculated according to the time difference of the tag end receiving the signals of each base station through the positioning signals transmitted by the plurality of positioning base stations, and the position information of the monitored object can also be acquired through positioning technologies such as bluetooth positioning and WIFI positioning.
And step 204, judging whether the monitored object meets the triggering preset alarm condition according to the position information and the locally stored electronic fence information.
Specifically, the protection range of the electronic fence can be set by a user on a server-side UI interface, and the user can define an area needing protection as the protection range of the electronic fence. The preset alarm condition refers to a condition for triggering an alarm of the electronic fence, and for example, the preset alarm condition can be determined according to the type and range information of the electronic fence. And the tag end determines whether the monitored object meets the triggering preset alarm condition according to the calculated position information of the monitored object at the current moment and the protection range of the electronic fence.
And step 206, if the preset triggering alarm condition is met, sending an alarm signal.
Specifically, when the monitored object has satisfied the triggering alarm condition, the tag end sends out an alarm signal to remind the monitored object that the alarm condition has been triggered, and the monitoring object stops to alarm after stopping advancing or withdrawing after receiving the alarm signal. The tag end can also generate an alarm event according to the time of triggering a preset alarm condition, the alarm ending time and the alarm position of the monitored object, and send the alarm event to the server; the server may perform a heatmap analysis of the alarm event and may also perform a playback of the alarm event.
In the electronic fence method, the position information of the monitored object at the current moment is acquired; judging whether the monitored object meets the triggering preset alarm condition or not according to the position information and locally stored electronic fence information; and if the preset triggering alarm condition is met, sending an alarm signal. The alarm judgment is directly carried out locally, so that the alarm time delay can be reduced, and the timeliness and the accuracy of the alarm are improved.
In one embodiment, the electronic fence information includes electronic fence type and range information;
the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving;
the preset alarm condition is determined according to the type and range information of the electronic fence.
Specifically, a user can set a plurality of electronic fence information on a server-side UI interface, and monitor a plurality of areas simultaneously, where each electronic fence has a unique identifier, and the electronic fence information includes types and range information of the electronic fences. The type of the electronic fence refers to the functional type of the electronic fence, such as functions of forbidding entry, forbidding exit, one-way driving, forbidding aggregation, forbidding long-time stay and the like, and a user can set the type of the electronic fence according to the precautionary requirement, for example, setting the electronic fence in a closed space or a dangerous area in a factory as forbidding entry; setting the medical isolation zone to disallow exit; setting some areas in the parking lot to be driven in one direction; areas such as scenic spots with passenger flow limitation or areas with requirements on density are set as forbidden aggregation, and areas needing people flow control are set as forbidden long-time stay. The range information of the electronic fence refers to a precaution area of the electronic fence, a user can set an area needing precaution as a precaution area of the electronic fence and can also expand the area needing precaution as the range of the electronic fence, for example, for some dangerous areas, the user can define the periphery of the dangerous area into the precaution area of the electronic fence, namely, an area with a preset distance from the boundary of the dangerous area is also defined as a precaution area of the electronic fence, the preset distance of the boundary can be set according to the requirements of the user, for example, the user can use a heavy factory as a precaution area of the electronic fence and set the range with the distance of 50 meters from the heavy factory as the preset distance of the boundary, then the boundary of the heavy factory is taken as a starting point, the area with the distance of 50 meters from the outside of the heavy factory is taken as the periphery of the dangerous area, and when a monitored object enters the periphery of the dangerous area, an alarm condition is triggered, and the alarm is given in time to avoid casualties or major accidents.
In one embodiment, the preset alarm condition is determined according to the type and range information of the electronic fence, and comprises the following steps:
if the type of the electronic fence is no entry, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence;
if the type of the electronic fence is forbidden to leave, presetting an alarm condition within a range formed by leaving the electronic fence;
if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stagnation and blockage behavior, a turning behavior or a turning behavior occurs in the range formed by the electronic fence.
Specifically, when a user sets the type and the range information of the electronic fence on a UI (user interface) of a server side, a preset alarm condition can be determined according to the type and the range information of the electronic fence, the preset alarm type is determined according to the type of the electronic fence, and an alarm range is determined according to the range information of the electronic fence. If the type of the electronic fence is no entry, the alarm type is no entry, and the preset alarm condition is that the monitored object enters a protection range formed by the electronic fence; if the type of the electronic fence is forbidden to leave, the preset alarm type is forbidden to leave, and the preset alarm condition is that the monitored object leaves a protection range formed by the electronic fence; if the electronic fence type is one-way driving, the preset alarm type is one-way driving, and the preset alarm condition is that reverse passing behavior, stagnation blocking behavior, turning behavior or turning behavior and the like occur in the range formed by the electronic fence; if the type of the electronic fence is aggregation prohibition, the preset alarm type is aggregation prohibition, the preset alarm condition is that the number of monitored objects in a protection range formed by the electronic fence exceeds a set number, for example, the range of the electronic fence is an indoor scenic spot, and indoor visitors are required not to exceed 50 times, when the number of indoor visitors exceeds 50 times, the preset alarm condition is triggered, and the number of the monitored objects can be counted according to the number of tags of the monitored objects in the electronic fence; if the type of the electronic fence is that the long-time stay is forbidden, the preset alarm type is that the long-time stay is forbidden, timing is started when the monitored object enters a range formed by the electronic fence, and when the time exceeds the preset stay time, the preset alarm condition is triggered.
In one embodiment, the obtaining the position information of the monitored object at the current time includes:
obtaining the motion parameters of the monitored object at the current moment;
receiving positioning signals transmitted by each base station at a preset time, and determining the position information of a monitored object at the preset time according to the positioning signals, wherein the preset time is the positioning signal receiving time closest to the current time;
and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
Specifically, the current time is the time when the position information of the monitored object is to be determined, that is, the time when the UWB receiver on the tag on the monitored object receives the positioning signal transmitted by the base station and the next time the positioning signal is received, and the position information of the monitored object is to be determined. The method comprises the steps of obtaining motion parameters of a monitored object at the current moment through a tag end, wherein the motion parameters represent the motion state of the monitored object at the current moment and comprise instantaneous speed, speed direction angle, instantaneous acceleration and angular speed value, and obtaining position movement data according to the motion parameters, namely the position movement data of the monitored object in the time when a positioning signal is not received again, namely the position movement data in the process of receiving the signal at the last time and receiving the signal at the next time. And obtaining the position data of the monitored object at the preset moment by a downlink TDOA (time Difference of arrival) algorithm. The preset time is the time from the current time to the latest signal receiving time, and the position data of the time can be obtained by the time when the base station signal reaches the UWB receiver. The TDOA algorithm is a method for positioning by using time difference, the method determines the distance of a signal source by measuring the time of a signal reaching a tag end UWB receiver, a hyperbola taking the tag end UWB receiver as a focus and the distance difference as a long axis can be made by using the distance from the signal source to the tag end UWB receiver and comparing the absolute time difference from the signal to the tag end UWB receiver, and the intersection point of the hyperbola is the position of the tag end UWB receiver, namely the position data of a monitored object at a preset time. The position information of the monitored object at the current moment can be obtained by adding position data and position moving data of the monitored object at a preset moment.
The accuracy of Bluetooth positioning is within the range of 2-5 meters, and the accuracy of UWB positioning can reach 0.1 meter. In the embodiment of the application, the positioning precision can be improved through a TDOA algorithm based on UWB, and the accuracy of the electronic fence alarm method is further improved. In one embodiment, the method further comprises:
sending electronic fence information updating confirmation information to the server, wherein the updating confirmation information is sent out when the tag confirms updating according to an electronic fence updating request sent by the server;
and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
Specifically, the electronic fence information of the tag end needs to be synchronized with the electronic fence information of the server, so that the alarm condition can be accurately judged. As shown in fig. 3, after the user sets the electronic fence information on the UI interface of the server, the server background receives the update information of the electronic fence information, sends update notification information and update request information to the tag, and queries whether the tag confirms to update the electronic fence information. And when the tag end confirms that the electronic fence information is updated, sending electronic fence information updating confirmation information to the server. When receiving electronic fence information update confirmation information sent by a tag end, a server detects whether electronic fence information stored by a server end is synchronous with local electronic fence information of the tag end, if not, the latest electronic fence information stored in the server is sent to the tag end, as shown in fig. 4, a user can select electronic fence information verification on a server end UI interface function selection interface and select one tag end, the selected tag end is subjected to electronic fence information verification, whether the electronic fence information stored locally by the tag end is consistent with the electronic fence information stored by the server is verified, if the verification is successful, whether the user selects another tag is judged, and if the other tag is selected, the electronic fence information verification is carried out on the selected other tag; and if the user does not select other tags, returning to the user function selection interface. And the tag end updates the locally stored electronic fence information according to the latest electronic fence information sent by the server. The user can also select electronic fence information updating on a function selection interface of the UI of the server side, select one tag side, update the electronic fence information on the selected tag side, judge whether the user selects another tag or not when the updating is finished, and update the electronic fence information on the selected other tag if the user selects another tag; and if the user does not select other tags, returning to the user function selection interface.
The server detects whether the electronic fence information stored at the server end and the local electronic fence information at the tag end are synchronous, and sends a Cyclic Redundancy Check (CRC) request to the tag end; the UART driver at the tag end performs CRC check according to a CRC verification request sent by the server to obtain a check result, and uploads the check result to the server; and the server checks whether the CRC is matched according to the received check report, if so, the state of the tag end electronic fence is changed into synchronization, and if not, the state of the tag end electronic fence is changed into asynchronization, or the response of the tag end is overtime, and the state of the tag end electronic fence is also changed into asynchronization.
In one embodiment, before receiving the latest electronic fence information returned by the server and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information, the method further includes:
and receiving an erasing request sent by the server, erasing the historical electronic fence information of the tag end according to the erasing request, generating erasing completion information when the erasing is finished, and uploading the erasing completion information to the server.
Specifically, when the server detects that the electronic fence information stored in the server end is asynchronous with the local electronic fence information of the tag end, an erasing request is sent to the tag end, when the tag end receives the erasing request, the historical electronic fence information stored in the tag end is erased according to the erasing request, erasing completion information is generated when the erasing is finished, the erasing completion information is uploaded to the server, and the server sends the latest electronic fence information to the tag end when receiving the erasing completion request.
In one embodiment, sending the electronic fence information update confirmation information to the server includes:
acquiring a tag end identifier, and sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identifier;
receiving the latest electronic fence information returned by the server, wherein the latest electronic fence information comprises:
and receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
Specifically, the tag end identifier is a unique identifier of each tag end, and is used for distinguishing different tag ends. The method comprises the steps of obtaining a tag end identification, sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identification, and the server sends the latest electronic fence information to a tag corresponding to the tag end identification under the condition that the electronic fence information of the tag end is not synchronous according to the received updating confirmation information with the tag end identification.
It should be understood that although the various steps in the flow charts of fig. 2-4 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-4 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps or stages.
In one embodiment, as shown in fig. 5, there is provided an electronic fence alarm device comprising: an acquisition module 502, a determination module 504, and an alarm module 506, wherein:
an obtaining module 502 is configured to obtain position information of the monitored object at the current time.
And a judging module 504, configured to judge whether the monitored object meets a preset triggering alarm condition according to the location information and locally stored electronic fence information.
And the alarm module 506 is configured to send an alarm signal if a preset trigger alarm condition is met.
In one embodiment, the electronic fence information includes electronic fence type and range information;
the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving;
the preset alarm condition is determined according to the type and range information of the electronic fence.
In one embodiment, the preset alarm condition is determined according to the type and range information of the electronic fence, and comprises the following steps:
if the type of the electronic fence is no entry, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence;
if the type of the electronic fence is forbidden to leave, presetting an alarm condition within a range formed by leaving the electronic fence;
if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stagnation and blockage behavior, a turning behavior or a turning behavior occurs in the range formed by the electronic fence.
In one embodiment, the obtaining module 502 is further configured to obtain a motion parameter of the monitored object at the current moment;
receiving positioning signals transmitted by each base station at a preset time, and determining the position information of a monitored object at the preset time according to the positioning signals, wherein the preset time is the time when the positioning signal closest to the current time is received;
and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
In one embodiment, the electronic fence alarm device further comprises a sending module, configured to send electronic fence information update confirmation information to the server, where the update confirmation information is sent when the tag confirms the update according to the electronic fence update request sent by the server;
and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
In one embodiment, the electronic fence alarm device further includes a receiving module, configured to receive an erasing request sent by the server, erase the historical electronic fence information of the tag end according to the erasing request, generate erasing completion information when erasing is completed, and upload the erasing completion information to the server.
In one embodiment, the obtaining module 502 is further configured to obtain a tag end identifier, and the sending module is further configured to send an update confirmation message of the electronic fence information to the server, where the update confirmation message carries the tag end identifier;
the receiving module is further used for receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
For specific limitations of the fence alarm device, reference may be made to the above limitations of the fence alarm method, and details are not repeated here. All or part of the modules in the electronic fence alarm device can be realized by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a tag is provided, the internal structure of which may be as shown in FIG. 6. The tag includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the tag is configured to provide computing and control capabilities. The memory of the tag includes a non-volatile storage medium, an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the tag is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement an electronic fence alert method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the label can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on a label shell, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 6 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, a computer device is provided, comprising a memory and a processor, the memory having a computer program stored therein, the processor implementing the following steps when executing the computer program:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the electronic fence information comprises electronic fence type and range information; the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving; the preset alarm condition is determined according to the type and range information of the electronic fence.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the preset alarm condition is determined according to the type and the range information of the electronic fence, and comprises the following steps: if the type of the electronic fence is forbidden, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence; if the type of the electronic fence is forbidden to leave, presetting an alarm condition that the electronic fence leaves a range formed by the electronic fence; if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stop and block behavior, a turning behavior or a turning behavior occurs in a range formed by the electronic fence.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the acquiring of the position information of the monitored object at the current moment includes: obtaining the motion parameters of the monitored object at the current moment; receiving positioning signals transmitted by each base station at a preset moment, and determining the position information of a monitored object at the preset moment according to the positioning signals, wherein the preset moment is the positioning signal receiving moment closest to the current moment; and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
In one embodiment, the processor, when executing the computer program, further performs the steps of: the method further comprises: sending electronic fence information updating confirmation information to the server, wherein the updating confirmation information is sent out when the tag confirms updating according to an electronic fence updating request sent by the server; and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
In one embodiment, the processor, when executing the computer program, further performs the steps of: before the receiving the latest electronic fence information returned by the server and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information, the method further includes: and receiving an erasing request sent by the server, erasing the historical electronic fence information of the tag end according to the erasing request, generating erasing completion information when the erasing is finished, and uploading the erasing completion information to the server.
In one embodiment, the processor, when executing the computer program, further performs the steps of: sending electronic fence information update confirmation information to a server, comprising: acquiring a tag end identifier, and sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identifier; receiving the latest electronic fence information returned by the server, wherein the latest electronic fence information comprises: and receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
In one embodiment, a computer-readable storage medium is provided, having stored thereon a computer program which, when executed by a processor, performs the steps of:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
In one embodiment, the computer program when executed by the processor further performs the steps of: the electronic fence information comprises electronic fence type and range information; the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving; the preset alarm condition is determined according to the type and range information of the electronic fence.
In one embodiment, the computer program when executed by the processor further performs the steps of: the preset alarm condition is determined according to the type and range information of the electronic fence, and comprises the following steps: if the type of the electronic fence is no entry, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence; if the type of the electronic fence is forbidden to leave, the preset alarm condition is that the electronic fence is left in a formed range; if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stagnation and blockage behavior, a turning behavior or a turning behavior occurs in the range formed by the electronic fence.
In one embodiment, the computer program when executed by the processor further performs the steps of: the acquiring of the position information of the monitored object at the current moment includes: obtaining the motion parameters of the monitored object at the current moment; receiving positioning signals transmitted by each base station at a preset moment, and determining the position information of a monitored object at the preset moment according to the positioning signals, wherein the preset moment is the positioning signal receiving moment closest to the current moment; and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
In one embodiment, the computer program when executed by the processor further performs the steps of: the method further comprises the following steps: sending electronic fence information updating confirmation information to the server, wherein the updating confirmation information is sent when the tag confirms updating according to an electronic fence updating request sent by the server; and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
In one embodiment, the computer program when executed by the processor further performs the steps of: before the receiving the latest electronic fence information returned by the server and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information, the method further includes: and receiving an erasing request sent by the server, erasing the historical electronic fence information of the tag end according to the erasing request, generating erasing completion information when the erasing is finished, and uploading the erasing completion information to the server.
In one embodiment, the computer program when executed by the processor further performs the steps of: sending electronic fence information updating confirmation information to a server, wherein the electronic fence information updating confirmation information comprises: acquiring a tag end identifier, and sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identifier; receiving the latest electronic fence information returned by the server, wherein the latest electronic fence information comprises: and receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical Memory, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), for example.
The technical features of the above embodiments can be arbitrarily combined, and for the sake of brevity, all possible combinations of the technical features in the above embodiments are not described, but should be considered as the scope of the present specification as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent application shall be subject to the appended claims.

Claims (10)

1. An electronic fence alarm method is applied to a tag end, and comprises the following steps:
acquiring the position information of a monitored object at the current moment;
judging whether the monitored object meets a triggering preset alarm condition or not according to the position information and locally stored electronic fence information;
and if the preset triggering alarm condition is met, sending an alarm signal.
2. The method of claim 1, wherein the electronic fence information comprises electronic fence type and range information;
the electronic fence type is the function type of the electronic fence and at least comprises entrance prohibition, exit prohibition and one-way driving;
the preset alarm condition is determined according to the type and the range information of the electronic fence.
3. The method of claim 2, wherein the preset alarm condition is determined according to the fence type and range information, and comprises:
if the type of the electronic fence is no entry, presetting an alarm condition that the electronic fence enters a range formed by the electronic fence;
if the type of the electronic fence is forbidden to leave, presetting an alarm condition that the electronic fence leaves a range formed by the electronic fence;
if the type of the electronic fence is unidirectional driving, the preset alarm condition is that a reverse passing behavior, a stagnation and blockage behavior, a turning behavior or a turning behavior occurs in the range formed by the electronic fence.
4. The method according to claim 1, wherein the obtaining the position information of the monitored object at the current moment comprises:
obtaining the motion parameters of the monitored object at the current moment;
receiving positioning signals transmitted by each base station at a preset time, and determining the position information of a monitored object at the preset time according to the positioning signals, wherein the preset time is the positioning signal receiving time closest to the current time;
and determining the position information of the monitored object at the current moment according to the motion parameters and the position information at the preset moment.
5. The method of claim 1, further comprising:
sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information is sent out when the tag confirms updating according to an electronic fence updating request sent by the server;
and under the condition that the electronic fence information on the server is determined to be inconsistent with the electronic fence information locally stored by the tag end according to the update confirmation information, receiving the latest electronic fence information returned by the server, and updating the electronic fence information locally stored by the tag end according to the latest electronic fence information.
6. The method according to claim 5, before receiving the latest electronic fence information returned by the server and updating the electronic fence information stored locally at the tag end according to the latest electronic fence information, further comprising:
and receiving an erasing request sent by the server, erasing the historical electronic fence information of the tag end according to the erasing request, generating erasing completion information when erasing is finished, and uploading the erasing completion information to the server.
7. The method of claim 5, wherein sending the electronic fence information update confirmation information to the server comprises:
acquiring a tag end identifier, and sending electronic fence information updating confirmation information to a server, wherein the updating confirmation information carries the tag end identifier;
the receiving of the latest electronic fence information returned by the server includes:
and receiving the latest electronic fence information corresponding to the tag end identification returned by the server.
8. An electronic fence alarm device, applied to a tag end, the device comprising:
the acquisition module is used for acquiring the position information of the monitored object at the current moment;
the judging module is used for judging whether the monitored object meets the triggering preset alarm condition or not according to the position information and the locally stored electronic fence information;
and the alarm module is used for sending out an alarm signal if the preset alarm triggering condition is met.
9. A computer device comprising a memory and a processor, the memory storing a computer program, characterized in that the processor, when executing the computer program, implements the steps of the method of any of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 7.
CN202110284894.1A 2021-03-17 2021-03-17 Electronic fence alarm method and device, computer equipment and storage medium Pending CN113269940A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110284894.1A CN113269940A (en) 2021-03-17 2021-03-17 Electronic fence alarm method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110284894.1A CN113269940A (en) 2021-03-17 2021-03-17 Electronic fence alarm method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113269940A true CN113269940A (en) 2021-08-17

Family

ID=77228319

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110284894.1A Pending CN113269940A (en) 2021-03-17 2021-03-17 Electronic fence alarm method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113269940A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222245A (en) * 2021-12-22 2022-03-22 苏州欢跳体育文化科技有限公司 Indoor movement monitoring method, system, equipment and storage medium
CN114299680A (en) * 2022-02-15 2022-04-08 广东电网有限责任公司 GIS-based electric power field operation safety monitoring method and system
CN114222245B (en) * 2021-12-22 2024-04-30 苏州欢跳体育文化科技有限公司 Indoor motion monitoring method, system, equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
CN106504563A (en) * 2016-11-02 2017-03-15 四川长虹电器股份有限公司 Automotive electronics fence detecting system and method
US20180109915A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited Systems, methods and devices for virtual fencing
CN109068099A (en) * 2018-09-05 2018-12-21 济南大学 Virtual electronic fence monitoring method and system based on video monitoring
CN109302261A (en) * 2018-09-20 2019-02-01 上海华测导航技术股份有限公司 A kind of data security protection method, device, receiver and storage medium
CN110650243A (en) * 2019-09-12 2020-01-03 宇龙计算机通信科技(深圳)有限公司 Alarm method, alarm device, storage medium and terminal
CN111385738A (en) * 2018-12-27 2020-07-07 北斗天地股份有限公司 Position monitoring method and device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
US20180109915A1 (en) * 2016-10-13 2018-04-19 Alibaba Group Holding Limited Systems, methods and devices for virtual fencing
CN106504563A (en) * 2016-11-02 2017-03-15 四川长虹电器股份有限公司 Automotive electronics fence detecting system and method
CN109068099A (en) * 2018-09-05 2018-12-21 济南大学 Virtual electronic fence monitoring method and system based on video monitoring
CN109302261A (en) * 2018-09-20 2019-02-01 上海华测导航技术股份有限公司 A kind of data security protection method, device, receiver and storage medium
CN111385738A (en) * 2018-12-27 2020-07-07 北斗天地股份有限公司 Position monitoring method and device
CN110650243A (en) * 2019-09-12 2020-01-03 宇龙计算机通信科技(深圳)有限公司 Alarm method, alarm device, storage medium and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
杜庆伟 等: "《物联网通信》", 30 April 2015, 北京航空航天大学出版社 *

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114222245A (en) * 2021-12-22 2022-03-22 苏州欢跳体育文化科技有限公司 Indoor movement monitoring method, system, equipment and storage medium
CN114222245B (en) * 2021-12-22 2024-04-30 苏州欢跳体育文化科技有限公司 Indoor motion monitoring method, system, equipment and storage medium
CN114299680A (en) * 2022-02-15 2022-04-08 广东电网有限责任公司 GIS-based electric power field operation safety monitoring method and system

Similar Documents

Publication Publication Date Title
KR101642879B1 (en) Method for securely delivering indoor positioning data and applications
CN101653016A (en) Method for location determination and a mobile device
US10593139B2 (en) Method of granting access on a route based upon route taken
CN113037838B (en) Operation response method and device, computer equipment and storage medium
US11823517B2 (en) Access monitoring system for compliance
CN111866734A (en) Method, terminal, server and storage medium for positioning routing inspection track
WO2018057754A1 (en) Method, system and apparatus for equipment monitoring and access control
CN113269940A (en) Electronic fence alarm method and device, computer equipment and storage medium
WO2020106391A1 (en) A system of seamless automated customer id verification at the hotel entrance and releasing the hotel room key
KR100868257B1 (en) Crime geography information system based on location
CN107105411A (en) A kind of mobile intelligent terminal track monitoring system and method based on intelligent switch panel
CN110800027B (en) Zone lock status control system with personnel locator capability
CN110782572A (en) Intelligent monitoring method and system for security protection of park
KR100650872B1 (en) System and method for visitor management using bluetooth communication
CN110784824B (en) Travel data sharing method and mobile terminal
CN114125714A (en) Movement track generation method and device, computer equipment and storage medium
KR20150049633A (en) Position tracking apparatus using smartphone application
CN110517370B (en) Method for debugging door recognition system by using fingerprint
EP3669558A1 (en) Method to notify a host the current position of a visitor
EP4350380A2 (en) Method for access control using real-time positioning technology and the device using the same
US20190141475A1 (en) Virtual beacon system
US20230237907A1 (en) Systems and methods for parking management
CN110049189B (en) Terminal motion state determination method and related equipment
US10117063B1 (en) Real-time locating system with limited or no infrastructure and method of use
EP3669528B1 (en) Configuration of user positioning information sharing

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20210817