CN114719842A - Positioning method, system, equipment and storage medium based on electronic fence - Google Patents

Positioning method, system, equipment and storage medium based on electronic fence Download PDF

Info

Publication number
CN114719842A
CN114719842A CN202210637832.9A CN202210637832A CN114719842A CN 114719842 A CN114719842 A CN 114719842A CN 202210637832 A CN202210637832 A CN 202210637832A CN 114719842 A CN114719842 A CN 114719842A
Authority
CN
China
Prior art keywords
positioning
feedback
signal
fence
data
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.)
Granted
Application number
CN202210637832.9A
Other languages
Chinese (zh)
Other versions
CN114719842B (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.)
Livefan Information Technology Co ltd
Original Assignee
Livefan Information 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 Livefan Information Technology Co ltd filed Critical Livefan Information Technology Co ltd
Priority to CN202210637832.9A priority Critical patent/CN114719842B/en
Publication of CN114719842A publication Critical patent/CN114719842A/en
Application granted granted Critical
Publication of CN114719842B publication Critical patent/CN114719842B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/005Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 with correlation of navigation data from several sources, e.g. map or contour matching
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S19/00Satellite radio beacon positioning systems; Determining position, velocity or attitude using signals transmitted by such systems
    • G01S19/38Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system
    • G01S19/39Determining a navigation solution using signals transmitted by a satellite radio beacon positioning system the satellite radio beacon positioning system transmitting time-stamped messages, e.g. GPS [Global Positioning System], GLONASS [Global Orbiting Navigation Satellite System] or GALILEO
    • G01S19/42Determining position
    • G01S19/48Determining position by combining or switching between position solutions derived from the satellite radio beacon positioning system and position solutions derived from a further system
    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B13/00Burglar, theft or intruder alarms
    • G08B13/02Mechanical actuation
    • G08B13/12Mechanical actuation by the breaking or disturbance of stretched cords or wires
    • G08B13/122Mechanical actuation by the breaking or disturbance of stretched cords or wires for a perimeter fence
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)
  • Navigation (AREA)

Abstract

The invention relates to the field of fence calculation, and discloses a positioning method, a positioning system, positioning equipment and a storage medium based on an electronic fence. The method comprises the following steps: the space-based positioning system sends a positioning exploration signal to the target positioning equipment; calculating the positioning feedback duration of the positioning exploration signal according to the space-based timing clock; judging whether the positioning feedback duration exceeds a feedback threshold value; if the current position exceeds the preset value, sending a positioning switching signal to an indoor positioning system; the indoor positioning system receives the positioning switching signal and sends an indoor exploration signal; judging whether the indoor exploration signal has a feedback signal or not; if the electronic fence does not exist, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to a positioning query system; if the target positioning equipment exists, calculating positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to a positioning inquiry system; and the positioning inquiry system receives the positioning data to obtain fence positioning result data.

Description

Positioning method, system, equipment and storage medium based on electronic fence
Technical Field
The present invention relates to the field of fence computing, and in particular, to a positioning method, system, device, and storage medium based on an electronic fence.
Background
Positioning refers to that a mobile communication system acquires geographic position information (such as longitude and latitude coordinates) of a mobile terminal through a specific positioning technology, provides the geographic position information for a mobile user, a communication system or a third party positioning client, and provides calling or non-calling services related to the position of the mobile user by means of support of certain electronic map information.
Mobile positioning service in the existing mobile communication system is mainly used for emergency rescue, such as emergency rescue and positioning of users in emergency call scene; location-based information services, such as applications of a vehicle-mounted GPS, yellow pages, traffic information, weather information, navigation information, tour guide services, and the like; location-based triggered services, such as location-based management information and billing, etc.; tracking and asset management services such as vehicle scheduling/tracking/monitoring/anti-theft, material tracking, elderly and children monitoring services, etc.
GPS (global positioning system) is the most well-understood way of positioning. It was developed by the united states and was fully built by 94 years and it provides navigation functions based on 24 orbiting satellites in space. Many mobile devices now have built-in GPS signal receivers that can directly read the data from the satellites to calculate the position of the mobile device, with a positioning accuracy of between 2 and 100 meters. The disadvantage is that GPS positioning usually takes a long time, and under the condition of poor communication quality, it may take several minutes to locate the user. A GPS receiver must receive 4 satellites at the same time to perform three-dimensional positioning. For real-time centimeter-level positioning accuracy, more than 5 satellites are required to be received simultaneously. In an ideal situation, since the GPS system has 24 satellites orbiting the earth, 7 satellites are usually observed at a horizontal angle of 10 degrees or more. However, if there are mountains, buildings or other shelters nearby, the number of satellites that can be observed is small, so that the receiver is difficult to locate, and therefore, the error of the electronic fence based on the GPS positioning system is large, and under the situation of location under the protection scene of some commercial secrets, the commercial secrets are placed indoors, and once there are many houses around, the precision of the electronic fence cannot guarantee that confidential documents and information can be early-warned and fed back in time under the monitoring of the electronic fence.
Disclosure of Invention
The invention mainly aims to solve the technical problem that early warning feedback is not timely due to the fact that the existing electronic fence is low in precision.
The invention provides a positioning method based on electronic fence, which is applied to a positioning system based on electronic fence, and the positioning system based on electronic fence comprises: the positioning method based on the electronic fence comprises the following steps:
the space-based positioning system sends a positioning exploration signal to target positioning equipment;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system receives the positioning switching signal and sends an indoor exploration signal;
judging whether the indoor exploration signal has a feedback signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
and the positioning query system receives the positioning data, analyzes the position relation between the positioning data and the electronic fence and obtains fence positioning result data.
Optionally, in a first implementation manner of the first aspect of the present invention, the iteratively calculating a positioning feedback duration of the positioning exploration signal according to a preset day-based clock includes:
judging whether a space-based feedback signal of the positioning exploration signal is received or not;
if the positioning search signal is not received, calculating the feedback waiting time of the positioning search signal according to a preset space-based clock, and determining the feedback waiting time as the positioning feedback time;
and if the positioning feedback time length is received, calculating the positioning feedback time length according to a preset space-based timing clock and the receiving time of the space-based feedback signal.
Optionally, in a second implementation manner of the first aspect of the present invention, after the determining whether the positioning feedback duration exceeds a preset feedback threshold, the method further includes:
and if the current time does not exceed the preset feedback threshold, calculating the positioning feedback time of the positioning exploration signal again according to the preset space-based clock.
Optionally, in a third implementation manner of the first aspect of the present invention, the determining whether the positioning feedback duration exceeds a preset feedback threshold includes:
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current time exceeds a preset feedback threshold value, a rechecking exploration signal is sent to the target positioning equipment;
according to a preset space-based timing clock, iteratively calculating the rechecking feedback duration of the rechecking exploration signal;
judging whether the rechecking feedback duration exceeds the feedback threshold;
and if the positioning feedback time length exceeds the feedback threshold, determining that the positioning feedback time length really exceeds the feedback threshold.
Optionally, in a fourth implementation manner of the first aspect of the present invention, the analyzing the position relationship between the positioning data and the electronic fence to obtain fence positioning result data includes:
marking the positioning data on a preset fence map to obtain positioning coordinates;
and analyzing the position relation between the positioning coordinates and the electronic fence of the fence map to obtain fence positioning result data.
Optionally, in a fifth implementation manner of the first aspect of the present invention, the calculating, according to the feedback signal, the positioning data of the target positioning device includes:
and based on a WIFI positioning algorithm, positioning the feedback signal to obtain positioning data of the target positioning equipment.
Optionally, in a sixth implementation manner of the first aspect of the present invention, the calculating, according to the feedback signal, the positioning data of the target positioning device further includes:
and positioning the feedback signal based on a base station positioning algorithm and an IP positioning algorithm to obtain the positioning data of the target positioning equipment.
A second aspect of the present invention provides an electronic fence based positioning system, comprising:
a space-based positioning system, an indoor positioning system and a positioning query system;
the space-based positioning system is used for sending a positioning exploration signal to the target positioning equipment;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system is used for receiving the positioning switching signal and sending an indoor exploration signal;
judging whether a feedback signal exists in the indoor exploration signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
and the positioning query system is used for receiving the positioning data, analyzing the position relation between the positioning data and the electronic fence and obtaining fence positioning result data.
The invention provides a positioning device based on electronic fence in third aspect, comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line; the at least one processor invokes the instructions in the memory to cause the electronic fence based positioning apparatus to perform the electronic fence based positioning method described above.
A fourth aspect of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the above-mentioned electronic fence-based positioning method.
In the embodiment of the invention, in the positioning of the electronic fence, a plurality of positioning modes are used, a plurality of positioning modes are embedded, then after each positioning is finished, positioning results of the plurality of modes are collected, result analysis is carried out after the collection, geographic data are compared, large errors are removed, points with the same result are selected as the positioning result of the time for the rest results, and finally the result is used for matching the range of the electronic fence.
Drawings
Fig. 1 is a schematic diagram of an embodiment of a positioning method based on electronic fence according to the embodiment of the present invention;
fig. 2 is a schematic diagram of an embodiment of the localization system based on electronic fence in the embodiment of the present invention;
fig. 3 is a schematic diagram of another embodiment of the electronic fence based positioning system in the embodiment of the present invention;
fig. 4 is a schematic diagram of an embodiment of the electronic fence-based positioning apparatus in the embodiment of the present invention.
Detailed Description
The embodiment of the invention provides a positioning method, a positioning system, positioning equipment and a storage medium based on an electronic fence.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," or "having," and any variations thereof, are intended to cover non-exclusive inclusions, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow of an embodiment of the present invention is described below, and with reference to fig. 1, in an embodiment of the fence-based positioning method according to the present invention, the fence-based positioning method is applied to a fence-based positioning system, where the fence-based positioning system includes: the positioning method based on the electronic fence comprises the following steps:
101. the space-based positioning system sends a positioning exploration signal to the target positioning equipment;
in this embodiment, GPS employs the principle of interactive positioning. Knowing the distance of several points, the unknown position can be found. For GPS, the known points are satellites in space and the unknown points are some moving object on the ground. The distance of the satellite is measured by the propagation time of the satellite signal, and the distance is obtained by multiplying the propagation time by the speed of light. The distance formula is R = vt, where v is the wireless signal transmission speed 3 x 10 x 8m/s, t is the time of the satellite signal transmitting to the ground (about 0.06s is required for the satellite signal to transmit to the ground), and R is the distance from the satellite distance measuring point.
102. Iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
in this embodiment, both the satellite and the user receiver are provided with accurate clocks, but typically to reduce costs, the user receiver uses a quartz clock. Since the speed of light is fast, it is required that the satellite and the receiver are synchronized with each other to a nanosecond level (10-6 seconds), and since the receiver uses a quartz clock, a large error is generated in measurement, but the error is ignored after passing through a computer. Meanwhile, as the clock synchronism among all the satellites is very accurate, the longitude, the latitude, the altitude and the receiver clock error can be calculated by training after simultaneously tracking 4 GPS visible satellites. This is typically a mathematical operation that solves 4 unknowns from 4 equations.
Further, 102 may perform the following steps:
1021. judging whether a space-based feedback signal of the positioning exploration signal is received or not;
1022. if not, calculating the feedback waiting time of the positioning exploration signal according to a preset space-based clock, and determining the feedback waiting time as the positioning feedback time;
1023. and if the positioning feedback time length is received, calculating the positioning feedback time length according to a preset space-based timing clock and the receiving time of the space-based feedback signal.
In steps 1021-. Therefore, whether the user is indoors or outdoors can be known through GPS positioning, and the space-based feedback signal can be monitored to judge whether the user is indoors or outdoors due to the fact that the user does not have the space-based feedback signal indoors but does not have the space-based feedback signal outdoors.
And on the monitoring callback signal, obtaining the positioning feedback duration according to the time of the space-based clock and the feedback time when the space-based feedback signal is received. If the space-based feedback signal is not received, the sending time of the space-based feedback signal is continuously subtracted from the current space-based clock, then the time length when the positioning feedback signal is not received is finally obtained, the time length is used as the positioning feedback time length, and the step 103 is entered for judgment. The meaning of "iterative calculation" is explained here: and in the iterative calculation, the feedback waiting time is continuously and circularly calculated without receiving the space-based feedback signal, the feedback waiting time is determined as the positioning feedback time, and then the step 103 is carried out for judgment processing. Of course, "iterative calculation" also includes receiving a space-based feedback signal and directly determining and calculating the positioning feedback time length.
103. Judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
in this embodiment, the positioning feedback duration is directly compared with the preset feedback threshold, for example, if the positioning feedback duration is 25s and the feedback threshold is 30s, the positioning feedback duration does not exceed the preset feedback threshold.
Further, after 103, the following steps may also be performed:
1031. if the current time does not exceed the preset feedback threshold, the positioning feedback time of the positioning exploration signal is calculated again according to the preset space-based clock.
In the embodiment, the positioning feedback time period is 25s, and the feedback threshold is 30s, and if the feedback threshold is not exceeded, the positioning feedback time period is calculated again in 102.
Further, 103 may perform the following steps:
1032. judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
1033. if the current time exceeds the preset feedback threshold, a rechecking exploration signal is sent to the target positioning equipment;
1034. according to a preset space-based timing clock, iteratively calculating the rechecking feedback duration of the rechecking exploration signal;
1035. judging whether the rechecking feedback duration exceeds a feedback threshold value;
1036. and if the positioning feedback time length exceeds the feedback threshold, determining that the positioning feedback time length really exceeds the feedback threshold.
In the 1032-1036 step, the largest difference between the indoor and outdoor is the result after the GPS positioning, and if the GPS result is not returned or is not returned after the set time is exceeded, the GPS positioning is retried once to avoid misjudgment due to accidental reasons. And calculating the rechecking feedback time length, wherein the rechecking feedback time length is similar to the rechecking feedback time length, carrying out iterative calculation processing in the same way, judging whether the rechecking feedback time length exceeds a feedback threshold value, and when the rechecking feedback time length exceeds the feedback threshold value in the rechecking process, determining that the previously measured positioning feedback time length is confirmed to exceed the feedback threshold value, and avoiding accidental misjudgment.
104. If the current signal exceeds the preset feedback threshold, sending a positioning switching signal to an indoor positioning system;
105. the indoor positioning system receives the positioning switching signal and sends an indoor exploration signal;
106. judging whether the indoor exploration signal has a feedback signal or not;
in step 104 and 106, if the space-based positioning system does not explore the relevant positioning feedback signal, the exploration switching request of the target positioning device is sent to enter the indoor positioning system, the indoor positioning system explores the target positioning device, and the indoor positioning system monitors whether the feedback signal exists or not by sending the indoor exploration signal corresponding to the target positioning device indoors.
107. If the feedback signal does not exist, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to a positioning query system;
in this embodiment, if the feedback signal does not exist and the target positioning device cannot be monitored outdoors, it is determined that the target positioning device has departed from the preset electronic fence, and fence departure data corresponding to the target positioning device is generated, where the fence departure data includes result data that the target positioning device has departed from the electronic fence. The result data is sent to the location query system so that the user knows in the location query system that the target location device has detached from the electronic fence.
108. If the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to a positioning inquiry system;
in this embodiment, when there is feedback data, according to indoor feedback signal, can calculate the positioning data of target device, there are multiple implementation methods in the analysis positioning data of computational process. For example, WIFI accesses the Google map and can still locate the location. A WIFI positioning system is used for Google that locates by detecting a list of wireless routes that can be detected on the device.
Further, at 108, the following steps may be performed:
1081. and based on a WIFI positioning algorithm, positioning the feedback signal to obtain positioning data of the target positioning equipment.
In step 1081, Wi-Fi positioning technology is one of indoor positioning technologies, and refers to a Wireless Local Area Network (WLAN) formed by wireless access points (including wireless routers), which can implement positioning, monitoring, and tracking tasks in a complex environment. The method is based on the position information of a network node (wireless access point) and is premised on the position information of the network node, and the accessed mobile equipment is positioned by combining an empirical test and a signal propagation model, and the highest accuracy is about 1 meter to 20 meters. Wi-Fi positioning is prone to errors (e.g., floor errors) if the position estimate is based only on the currently connected Wi-Fi access points, rather than referencing a composite map of signal strengths of surrounding Wi-Fi. In addition, the Wi-Fi access point can only cover an area with a radius of about 90 meters generally, and is easily interfered by other signals, so that the precision of the Wi-Fi access point is influenced, and the energy consumption of the locator is high.
1082. And based on a base station positioning algorithm and an IP positioning algorithm, positioning the feedback signal to obtain positioning data of the target positioning equipment.
In step 1082, the basic principle of IP positioning is to estimate its geographical location using the name of the IP device, registration information, or latency information, etc. The basic principle of the positioning algorithm design is that measurement overhead is reduced as much as possible on the premise of ensuring positioning accuracy, and meanwhile, the method has good expansibility and can protect user privacy. Initial positioning algorithms speculate the geographical location of an IP device by querying or mining information implicit in the hostname from a DNS server, and some positioning algorithms estimate the host location based on a linear relationship between latency and geographical distance and reduce positioning errors through topological information. The positioning is carried out by searching the distribution rule of time delay and geographic distance, and the comprehensive positioning algorithm uses the two methods to carry out cross validation so as to improve the precision. Since the telecom operator keeps track of the location of each base station, the operator can calculate the location of the user of the mobile phone as long as the mobile phone can connect to at least three nearby base stations. The more base stations that can be connected nearby, the more accurate the positioning. And preferentially using base station positioning and IP positioning, comparing positioning results, and taking out similar values as values required by the project.
109. And the positioning query system receives the positioning data, analyzes the position relation between the positioning data and the electronic fence and obtains fence positioning result data.
In this embodiment, the positioning query system receives the positioning data, and can calculate the relationship between the abscissa and the ordinate analysis positioning data and the coordinate constraint of the electronic fence to obtain fence positioning result data, where the fence positioning result data includes two types, i.e., a result of leaving the electronic fence and a result of being within the range of the electronic fence.
Further, the following steps may be performed in the step of analyzing the position relationship between the positioning data and the electronic fence to obtain the fence positioning result data:
1091. marking the positioning data on a preset fence map to obtain positioning coordinates;
1092. and analyzing the position relation between the positioning coordinates and the electronic fence of the fence map to obtain fence positioning result data.
In the 1091-. And judging whether the positioning coordinates belong to a coordinate point set of the electronic fence or not, wherein the coordinate point set can determine that the target positioning equipment is in the electronic fence, and the positioning coordinates are not in the coordinate point set, and then the target positioning equipment is determined not to be in the electronic fence.
In the embodiment of the invention, in the positioning of the electronic fence, a plurality of positioning modes are used, a plurality of positioning modes are embedded, then after each positioning is finished, positioning results of the plurality of modes are collected, result analysis is carried out after the collection, geographic data are compared, large errors are removed, points with the same result are selected as the positioning result of the time for the rest results, and finally the result is used for matching the range of the electronic fence.
With reference to fig. 2, the positioning method based on electronic fence in the embodiment of the present invention is described above, and an embodiment of the positioning system based on electronic fence in the embodiment of the present invention is described below, where the positioning system based on electronic fence in the embodiment of the present invention includes:
a space-based positioning system 201, an indoor positioning system 202 and a positioning query system 203;
the space-based positioning system 201 is configured to send a positioning exploration signal to a target positioning device;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system 202 is configured to receive the positioning switching signal and send an indoor exploration signal;
judging whether the indoor exploration signal has a feedback signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
the positioning query system 203 is configured to receive the positioning data, and analyze a position relationship between the positioning data and the electronic fence to obtain fence positioning data.
In the embodiment of the invention, in the positioning of the electronic fence, a plurality of positioning modes are used, a plurality of positioning modes are embedded, then after each positioning is finished, positioning results of the plurality of modes are collected, result analysis is carried out after the collection, geographic data are compared, large errors are removed, points with the same result are selected as the positioning result of the time for the rest results, and finally the result is used for matching the range of the electronic fence.
Referring to fig. 3, another embodiment of the electronic fence based positioning system in the embodiment of the present invention includes:
a space-based positioning system 201, an indoor positioning system 202 and a positioning query system 203;
the space-based positioning system 201 is configured to send a positioning exploration signal to a target positioning device;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system 202 is configured to receive the positioning switching signal and send an indoor exploration signal;
judging whether a feedback signal exists in the indoor exploration signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
and the positioning query system 203 is configured to receive the positioning data, and analyze a position relationship between the positioning data and the electronic fence to obtain fence positioning data.
Wherein the electronic fence-based positioning system further comprises a circulation module 204, and the circulation module 204 is specifically configured to:
wherein the indoor positioning system 202 is specifically configured to:
and based on a WIFI positioning algorithm, positioning the feedback signal to obtain positioning data of the target positioning equipment.
Wherein, the indoor positioning system 202 is further specifically configured to:
and positioning the feedback signal based on a base station positioning algorithm and an IP positioning algorithm to obtain the positioning data of the target positioning equipment.
Wherein the location query system 203 is specifically configured to:
marking the positioning data on a preset fence map to obtain positioning coordinates;
and analyzing the position relation between the positioning coordinate and the electronic fence of the fence map to obtain fence positioning data.
Wherein the space-based positioning system 201 is specifically configured to:
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current time exceeds a preset feedback threshold, a rechecking exploration signal is sent to the target positioning equipment;
according to a preset space-based timing clock, iteratively calculating the rechecking feedback duration of the rechecking exploration signal;
judging whether the rechecking feedback duration exceeds the feedback threshold;
and if the positioning feedback time length exceeds the feedback threshold value, determining that the positioning feedback time length actually exceeds the feedback threshold value.
Wherein the space-based positioning system 201 is specifically configured to:
judging whether a space-based feedback signal of the positioning exploration signal is received or not;
if the positioning search signal is not received, calculating the feedback waiting time of the positioning search signal according to a preset space-based clock, and determining the feedback waiting time as the positioning feedback time;
and if the positioning feedback time length is received, calculating the positioning feedback time length according to a preset space-based timing clock and the receiving time of the space-based feedback signal.
In the embodiment of the invention, in the positioning of the electronic fence, a plurality of positioning modes are used, a plurality of positioning modes are embedded, then after each positioning is finished, positioning results of the plurality of modes are collected, result analysis is carried out after the collection, geographic data are compared, large errors are removed, points with the same result are selected as the positioning result of the time for the rest results, and finally the result is used for matching the range of the electronic fence.
Fig. 2 and 3 describe the electronic fence based positioning system in the embodiment of the present invention in detail from the perspective of the modular functional entity, and the electronic fence based positioning apparatus in the embodiment of the present invention is described in detail from the perspective of hardware processing.
Fig. 4 is a schematic structural diagram of an electronic fence-based positioning apparatus 400 according to an embodiment of the present invention, where the electronic fence-based positioning apparatus 400 may have a relatively large difference due to different configurations or performances, and may include one or more processors (CPUs) 410 (e.g., one or more processors) and a memory 420, and one or more storage media 430 (e.g., one or more mass storage devices) for storing applications 433 or data 432. Memory 420 and storage medium 430 may be, among other things, transient storage or persistent storage. The program stored on storage medium 430 can include one or more modules (not shown), each of which can include a series of instruction operations for the electronic fence based positioning apparatus 400. Still further, the processor 410 may be configured to communicate with the storage medium 430, and execute a series of instruction operations in the storage medium 430 on the electronic fence-based positioning apparatus 400.
The electronic fence-based positioning apparatus 400 can also include one or more power supplies 440, one or more wired or wireless network interfaces 450, one or more input-output interfaces 460, and/or one or more operating systems 431, such as Windows Server, Mac OS X, Unix, Linux, FreeBSD, and the like. Those skilled in the art will appreciate that the structure of the fence-based pointing device illustrated in fig. 4 does not constitute a limitation of the fence-based pointing device and may include more or fewer components than those illustrated, or some components may be combined, or a different arrangement of components.
The present invention also provides a computer-readable storage medium, which may be a non-volatile computer-readable storage medium, and may also be a volatile computer-readable storage medium, having stored therein instructions, which, when executed on a computer, cause the computer to perform the steps of the electronic fence-based positioning method.
It can be clearly understood by those skilled in the art that, for convenience and simplicity of description, the specific working process of the system or the system and the unit described above may refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
The integrated unit, if implemented in the form of a software functional unit 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 invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a read-only memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.

Claims (10)

1. An electronic fence-based positioning method is applied to an electronic fence-based positioning system, and the electronic fence-based positioning system comprises: the positioning method based on the electronic fence comprises the following steps:
the space-based positioning system sends a positioning exploration signal to target positioning equipment;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system receives the positioning switching signal and sends an indoor exploration signal;
judging whether a feedback signal exists in the indoor exploration signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
and the positioning query system receives the positioning data, analyzes the position relation between the positioning data and the electronic fence and obtains fence positioning result data.
2. The electronic fence-based positioning method of claim 1, wherein said iteratively calculating a positioning feedback duration of said positioning exploration signal according to a preset space-based clock comprises:
judging whether a space-based feedback signal of the positioning exploration signal is received or not;
if the positioning search signal is not received, calculating the feedback waiting time of the positioning search signal according to a preset space-based clock, and determining the feedback waiting time as the positioning feedback time;
and if the positioning feedback time length is received, calculating the positioning feedback time length according to a preset space-based timing clock and the receiving time of the space-based feedback signal.
3. The electronic fence-based positioning method according to claim 2, wherein after said determining whether the positioning feedback duration exceeds a preset feedback threshold, further comprising:
and if the current time does not exceed the preset feedback threshold, calculating the positioning feedback time of the positioning exploration signal again according to the preset space-based clock.
4. The electronic fence-based positioning method of claim 1, wherein the determining whether the positioning feedback duration exceeds a preset feedback threshold comprises:
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current time exceeds a preset feedback threshold value, a rechecking exploration signal is sent to the target positioning equipment;
according to a preset space-based timing clock, iteratively calculating the rechecking feedback duration of the rechecking exploration signal;
judging whether the rechecking feedback duration exceeds the feedback threshold;
and if the positioning feedback time length exceeds the feedback threshold value, determining that the positioning feedback time length actually exceeds the feedback threshold value.
5. The electronic fence-based positioning method according to claim 1, wherein the analyzing the positioning data and the position relationship of the electronic fence to obtain fence positioning result data comprises:
marking the positioning data on a preset fence map to obtain positioning coordinates;
and analyzing the position relation between the positioning coordinates and the electronic fence of the fence map to obtain fence positioning result data.
6. The electronic fence-based positioning method of claim 1, wherein the calculating the positioning data of the target positioning device according to the feedback signal comprises:
and based on a WIFI positioning algorithm, positioning the feedback signal to obtain positioning data of the target positioning equipment.
7. The electronic fence-based positioning method as claimed in claim 1, wherein said calculating positioning data of said target positioning device according to said feedback signal further comprises:
and positioning the feedback signal based on a base station positioning algorithm and an IP positioning algorithm to obtain the positioning data of the target positioning equipment.
8. An electronic fence-based location system, the electronic fence-based location system comprising:
a space-based positioning system, an indoor positioning system and a positioning query system;
the space-based positioning system is used for sending a positioning exploration signal to the target positioning equipment;
iteratively calculating the positioning feedback duration of the positioning exploration signal according to a preset space-based timing clock;
judging whether the positioning feedback time length exceeds a preset feedback threshold value or not;
if the current signal exceeds a preset feedback threshold value, sending a positioning switching signal to the indoor positioning system;
the indoor positioning system is used for receiving the positioning switching signal and sending an indoor exploration signal;
judging whether the indoor exploration signal has a feedback signal or not;
if no feedback signal exists, determining that the target positioning equipment is separated from the electronic fence, generating fence separation data, and sending the fence separation data to the positioning query system;
if the feedback signal exists, calculating the positioning data of the target positioning equipment according to the feedback signal, and sending the positioning data to the positioning inquiry system;
and the positioning query system is used for receiving the positioning data and analyzing the position relation between the positioning data and the electronic fence to obtain fence positioning result data.
9. An electronic fence-based positioning apparatus, the electronic fence-based positioning apparatus comprising: a memory having instructions stored therein and at least one processor, the memory and the at least one processor interconnected by a line;
the at least one processor invokes the instructions in the memory to cause the electronic fence based positioning apparatus to perform the electronic fence based positioning method of any of claims 1-7.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, implements the electronic fence-based positioning method as recited in any one of claims 1-7.
CN202210637832.9A 2022-06-08 2022-06-08 Positioning method, system, equipment and storage medium based on electronic fence Active CN114719842B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210637832.9A CN114719842B (en) 2022-06-08 2022-06-08 Positioning method, system, equipment and storage medium based on electronic fence

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210637832.9A CN114719842B (en) 2022-06-08 2022-06-08 Positioning method, system, equipment and storage medium based on electronic fence

Publications (2)

Publication Number Publication Date
CN114719842A true CN114719842A (en) 2022-07-08
CN114719842B CN114719842B (en) 2022-08-30

Family

ID=82232396

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210637832.9A Active CN114719842B (en) 2022-06-08 2022-06-08 Positioning method, system, equipment and storage medium based on electronic fence

Country Status (1)

Country Link
CN (1) CN114719842B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709501A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Service scene identification method, electronic equipment and storage medium

Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033821A (en) * 2011-09-30 2013-04-10 中国电信股份有限公司 Locating method, locating device and mobile terminal
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
CN104678420A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Location method, device and terminal
CN104914456A (en) * 2015-06-01 2015-09-16 上海延华健康科技有限公司 Health watch having electronic fence function
US20160080911A1 (en) * 2014-09-16 2016-03-17 Microsoft Corporation Accounting for indoor-outdoor transitions during position determination
CN105430609A (en) * 2015-10-16 2016-03-23 深圳市盛思达通讯技术有限公司 Shoe tracking and positioning method and system, positioning terminal, and monitoring terminal
CN105430608A (en) * 2015-10-08 2016-03-23 深圳市盛思达通讯技术有限公司 Tracking and positioning method and system
CN105526934A (en) * 2016-02-17 2016-04-27 郑州联睿电子科技有限公司 Indoor and outdoor integrated high-precision positioning and navigation system as well as positioning method thereof
CN105744473A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Geo-fencing-based positioning method and device
CN106255188A (en) * 2016-09-19 2016-12-21 广州视源电子科技股份有限公司 Positioning method, device, equipment and system
WO2017013304A1 (en) * 2015-07-23 2017-01-26 Nokia Technologies Oy Positioning method
CN106980131A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 A kind of localization method, device and intelligent terminal
CN107958361A (en) * 2017-11-24 2018-04-24 吉旗(成都)科技有限公司 A kind of identified off-line method that anchor point is reported based on equipment
US10038972B1 (en) * 2014-12-12 2018-07-31 Phunware, Inc. Monitoring outdoor and indoor regions with mobile devices
CN108449952A (en) * 2015-09-22 2018-08-24 诺基亚技术有限公司 Conversion between station-keeping mode
CN109282811A (en) * 2018-09-21 2019-01-29 国网江苏省电力有限公司镇江供电分公司 Indoor and outdoor positioning system and method for interconnecting UWB (ultra wide band) and smart phone
CN109891934A (en) * 2017-08-23 2019-06-14 华为技术有限公司 A kind of localization method and device
CN110225459A (en) * 2019-05-24 2019-09-10 北京指掌易科技有限公司 The method of geography fence is judged under the conditions of a kind of weak net
CN110231640A (en) * 2019-06-28 2019-09-13 大连云动力科技有限公司 A kind of indoor and outdoor mixed assets monitoring system
CN110300374A (en) * 2018-03-22 2019-10-01 蔚来汽车有限公司 Vehicle positioning method, car-mounted terminal and server
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN111757262A (en) * 2019-07-31 2020-10-09 广东小天才科技有限公司 Positioning reminding method and system based on electronic fence and wearable device
CN111885499A (en) * 2020-07-16 2020-11-03 北京字节跳动网络技术有限公司 Positioning method and device of mobile equipment, electronic equipment and storage medium
CN111953845A (en) * 2020-07-17 2020-11-17 五八有限公司 Vehicle driving positioning method and device, electronic equipment and medium
CN112752220A (en) * 2021-02-03 2021-05-04 深圳市广和通无线股份有限公司 Positioning method, communication module, electronic device and storage medium

Patent Citations (25)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103033821A (en) * 2011-09-30 2013-04-10 中国电信股份有限公司 Locating method, locating device and mobile terminal
CN103186963A (en) * 2011-12-28 2013-07-03 泰瑞数创科技(北京)有限公司 Electronic fence based on real-time geographic position
CN104678420A (en) * 2013-11-26 2015-06-03 中兴通讯股份有限公司 Location method, device and terminal
US20160080911A1 (en) * 2014-09-16 2016-03-17 Microsoft Corporation Accounting for indoor-outdoor transitions during position determination
CN105744473A (en) * 2014-12-08 2016-07-06 阿里巴巴集团控股有限公司 Geo-fencing-based positioning method and device
US10038972B1 (en) * 2014-12-12 2018-07-31 Phunware, Inc. Monitoring outdoor and indoor regions with mobile devices
CN104914456A (en) * 2015-06-01 2015-09-16 上海延华健康科技有限公司 Health watch having electronic fence function
WO2017013304A1 (en) * 2015-07-23 2017-01-26 Nokia Technologies Oy Positioning method
CN108449952A (en) * 2015-09-22 2018-08-24 诺基亚技术有限公司 Conversion between station-keeping mode
CN105430608A (en) * 2015-10-08 2016-03-23 深圳市盛思达通讯技术有限公司 Tracking and positioning method and system
CN105430609A (en) * 2015-10-16 2016-03-23 深圳市盛思达通讯技术有限公司 Shoe tracking and positioning method and system, positioning terminal, and monitoring terminal
CN106980131A (en) * 2016-01-19 2017-07-25 阿里巴巴集团控股有限公司 A kind of localization method, device and intelligent terminal
CN105526934A (en) * 2016-02-17 2016-04-27 郑州联睿电子科技有限公司 Indoor and outdoor integrated high-precision positioning and navigation system as well as positioning method thereof
CN106255188A (en) * 2016-09-19 2016-12-21 广州视源电子科技股份有限公司 Positioning method, device, equipment and system
CN109891934A (en) * 2017-08-23 2019-06-14 华为技术有限公司 A kind of localization method and device
CN107958361A (en) * 2017-11-24 2018-04-24 吉旗(成都)科技有限公司 A kind of identified off-line method that anchor point is reported based on equipment
CN110300374A (en) * 2018-03-22 2019-10-01 蔚来汽车有限公司 Vehicle positioning method, car-mounted terminal and server
CN109282811A (en) * 2018-09-21 2019-01-29 国网江苏省电力有限公司镇江供电分公司 Indoor and outdoor positioning system and method for interconnecting UWB (ultra wide band) and smart phone
CN110225459A (en) * 2019-05-24 2019-09-10 北京指掌易科技有限公司 The method of geography fence is judged under the conditions of a kind of weak net
CN110231640A (en) * 2019-06-28 2019-09-13 大连云动力科技有限公司 A kind of indoor and outdoor mixed assets monitoring system
CN111757262A (en) * 2019-07-31 2020-10-09 广东小天才科技有限公司 Positioning reminding method and system based on electronic fence and wearable device
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN111885499A (en) * 2020-07-16 2020-11-03 北京字节跳动网络技术有限公司 Positioning method and device of mobile equipment, electronic equipment and storage medium
CN111953845A (en) * 2020-07-17 2020-11-17 五八有限公司 Vehicle driving positioning method and device, electronic equipment and medium
CN112752220A (en) * 2021-02-03 2021-05-04 深圳市广和通无线股份有限公司 Positioning method, communication module, electronic device and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116709501A (en) * 2022-10-26 2023-09-05 荣耀终端有限公司 Service scene identification method, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114719842B (en) 2022-08-30

Similar Documents

Publication Publication Date Title
EP2805176B1 (en) Improved positioning system
KR102361202B1 (en) Adaptive position determination
US9020869B2 (en) Location determination using generalized fingerprinting
US8559975B2 (en) Location determination based on weighted received signal strengths
US7663540B2 (en) Server device, mobile terminal and positioning mode selecting method
US7994981B1 (en) System framework for mobile device location
CN1898975B (en) TDOA/GPS hybrid wireless location system
CN101980550B (en) The method of locating user devices
TWI394976B (en) Positioning auxiliary method and positioning auxiliary device using the method
CN107431995B (en) Enabling verification of an estimated location of a mobile device
Damani et al. Global positioning system for object tracking
US8378891B2 (en) Method and system for optimizing quality and integrity of location database elements
EP3140670B1 (en) Location error radius determination
Bill et al. Indoor and outdoor positioning in mobile environments a review and some investigations on wlan positioning
US20120200457A1 (en) System framework for mobile device location
CN102469406A (en) Mobile location mark based on wireless sensing technology
CN102469500A (en) Mobile positioning service method based on wireless sensing technology
CN103983994A (en) GPS locating and tracking device and system
WO2015027373A1 (en) Improving location positioning using m2m ecosystem
US20140228058A1 (en) System for estimating position of base station and method of estimating position of base station by the same
CN114719842B (en) Positioning method, system, equipment and storage medium based on electronic fence
KR101791259B1 (en) Method for Measuring Position Hierarchically, System And Apparatus Therefor
KR101058098B1 (en) A terminal and a system for measuring its own location according to the location information of another terminal and the reliability of the location information and a method for measuring the location
KR20140121939A (en) Differential global positioning system based on web service and
Encarnacion et al. RTKLIB-based GPS localization for multipath mitigation in ITS applications

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