CN106921943A - A kind of realization method and system of fence - Google Patents
A kind of realization method and system of fence Download PDFInfo
- Publication number
- CN106921943A CN106921943A CN201710314087.3A CN201710314087A CN106921943A CN 106921943 A CN106921943 A CN 106921943A CN 201710314087 A CN201710314087 A CN 201710314087A CN 106921943 A CN106921943 A CN 106921943A
- Authority
- CN
- China
- Prior art keywords
- mobile terminal
- information
- managing server
- service managing
- fence
- 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
Links
- 230000000875 corresponding Effects 0.000 claims abstract description 3
- 238000004590 computer program Methods 0.000 claims description 4
- 230000005540 biological transmission Effects 0.000 description 4
- 238000004422 calculation algorithm Methods 0.000 description 4
- 238000000034 method Methods 0.000 description 4
- 238000010295 mobile communication Methods 0.000 description 4
- 239000000969 carrier Substances 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 239000003247 radioactive fallout Substances 0.000 description 2
- 230000035939 shock Effects 0.000 description 2
- 206010002820 Antisocial behaviour Diseases 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000006011 modification reaction Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/021—Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
Abstract
The invention discloses a kind of realization method and system of fence, the system includes:The mobile terminal, is connected with the service managing server, and the current location information and essential information are sent to service managing server;Service managing server, is connected with mobile terminal, user terminal and LBS location-servers respectively, for setting the scope of fence and receiving the current location information and essential information of the mobile terminal, warning message is sent to user terminal;LBS location-servers, are connected with service managing server, the position for showing mobile terminal on map, and location name character translation;User terminal, data exchange is carried out with service managing server and mobile terminal, completes corresponding function.By the solution of the present invention, can monitor in real time mobile terminal positional information, timely receive warning message, can dynamically adjust the scope of fence, make monitoring more hommization, more precisely.
Description
Technical field
The present invention relates to mobile communication technology field, and in particular to a kind of realization method and system of fence.
Background technology
In the prior art, user can be provided by the built-in GPS module of mobile terminal or mobile communication carrier
Position service system, knows the geographical location information being presently in, and is that the trip of mobile terminal user is provided a great convenience.
But, the position service system that either mobile communication carrier provides, or the mobile terminal with GPS functions, it is merely able to
It is simply user-provided location service, it is impossible to which the positional information according to mobile terminal provides the user fence alarm clothes
Business.
With the immediate prior art of this patent for position is shared, i.e., mobile terminal holder can by GPS module or
The position service system that person mobile communication carrier provides gets oneself current location, and is sent to other shiftings specified manually
Dynamic holder terminal.
Included using the implementation process of location technology in the prior art:
A, mobile terminal 1 send positional information to mobile terminal 2 as needed.
B, mobile terminal 2 are by navigation software positioning searching mobile terminal 1 positions such as maps.
The shortcoming of prior art is:Can only accomplish that simple position is shared, or be searched in place by map navigation function
Sharer is put, but is a lack of automatic detection and warning function.People or other things for irresponsibilities such as old man children, hand
It is dynamic to share substantially infeasible.
The content of the invention
In order to solve the deficiency of prior art presence, the present invention provides a kind of electronic enclosure system based on mobile terminal,
When scope of the mobile terminal beyond user's fence set in advance, can be timely to server alert, while
Server pushes warning message to other-end associated with it.
In order to solve the above technical problems, the invention provides a kind of implementation method of fence, the method includes following
Step:
(1) positional information and essential information of mobile terminal are obtained;
(2) positional information and essential information are sent to service managing server;
(3) service managing server calculates fence scope according to the essential information, and the position is believed
Breath and fence scope are sent to LBS location-servers;
(4) the LBS location-servers judge that the mobile terminal is according to the positional information and fence scope
It is no beyond fence scope, and will determine that result is sent to the service managing server;
(5) whether the service managing server determines need to alarm according to the judged result, if it is, by alarm signal
Breath and the positional information are sent to user terminal.
Preferably, the positional information is position longitude information and position latitude information.
Preferably, LBS location-servers described in the step (4) are believed according to the position longitude information and position latitude
Specific location name is translated into the position of the mobile terminal by breath.
Preferably, service managing server described in the step (5) judges described mobile whole according to the judged result
Whether end exceeds fence scope, if exceeding fence scope, it is determined that need alarm.
Preferably, step (6) is also included after the step (5):The user terminal according to information-setting by user, it is determined that
Whether alarmed to the mobile terminal with jingle bell or vibration mode, if it is, sending alarm command to the mobile terminal.
In order to solve the above technical problems, realizing system the invention provides a kind of fence, the system includes:
Mobile terminal, service managing server, LBS location-servers and user terminal;
Wherein, the mobile terminal, is connected with the service managing server, for obtaining current location information and basic
Information and send the current location information and essential information to service managing server;
Service managing server, is connected, with mobile terminal, user terminal and LBS location-servers for setting electricity respectively
The scope of sub- fence and the current location information and essential information of the reception mobile terminal, alarm signal is sent to user terminal
Breath;
LBS location-servers, are connected with service managing server, the position for showing mobile terminal on map, with
And the character translation of the location name of longitude and latitude and base station information;
User terminal, data exchange is carried out with service managing server and mobile terminal, completes corresponding function.
Preferably, the LBS location-servers also include:Position and fence scope according to mobile terminal judge
Whether the mobile terminal exceeds fence scope, and will determine that result returns to the service managing server.
In order to solve the above technical problems, the invention provides a kind of service managing server, being positioned with mobile terminal and LBS
Server is connected, and it includes processor and computer-readable storage medium, and the computer-readable storage medium is stored with computer instruction, institute
State processor and realize following methods by performing the computer instruction:
(1) current location information and essential information of mobile terminal are received;
(2) fence scope is calculated according to the essential information, and by the current location information and fence model
Enclose and be sent to LBS location-servers;
(3) judged result whether the LBS location-servers exceed fence scope to the mobile terminal is received;
(4) alarm is determined the need for according to the judged result, if it is, by warning message and the current location
Information is sent to user terminal.
In order to solve the above technical problems, the invention provides a kind of LBS location-servers, with service managing server phase
Even, it includes processor and computer-readable storage medium, and the computer-readable storage medium is stored with computer instruction, the processor
Following methods are realized by performing the computer instruction:
(1) mobile terminal current location information and fence scope that service managing server sends are received;
(2) position of the mobile terminal is translated into specifically according to the position longitude information and position latitude information
Location name;
(3) judge the mobile terminal whether beyond fence model according to the positional information and fence scope
Enclose, and will determine that result is sent to the service managing server.
In order to solve the above technical problems, the invention provides a kind of computer-readable storage medium, it includes that computer program refers to
Order, when the computer program instructions are performed, performs one of above method.
Technical scheme achieves following technique effect:
Can monitor in real time mobile terminal positional information, when wear mobile terminal child, old man or pet exceed user
During the scope of fence set in advance, the user for carrying user terminal can timely receive warning message.And we
Case can dynamically adjust the scope of fence, make monitoring more hommization, more precisely.
Brief description of the drawings
Fig. 1 is based on system architecture diagram of the invention
Fig. 2 is based on method of the present invention process chart
Specific embodiment
Explanation of nouns:
General frame
GPS:Global Positioning System, global positioning system.
LBS:Location Based Service architectures are serviced.
Terminal electronic fence:It is a kind of electronic tracking control equipment also known as wireless data acquisition terminal, can be to specific
Region or the personnel for specifying carry out accurate management and control.
Reference position:Refer to the home position information of setting.
Safe range:Refer to centered on reference position, fence scope is the circular scope of radius.
As shown in figure 1, the system is divided into four parts, including multiple mobile terminals, service managing server, LBS positioning
Server and user terminal.Wherein, mobile terminal, it is connected with service managing server and user terminal, works as obtaining
Front position information and to service managing server send warning message;Service managing server, respectively with mobile terminal, user's end
End and the connection of LBS location-servers, for setting the scope of fence and detecting the positional information of the mobile terminal;
LBS location-servers are connected with service managing server, the position for showing mobile terminal on map, and longitude and latitude and
The geographical character translation of base station information;User terminal, data exchange is carried out with service managing server and mobile terminal, completes phase
The function of answering.
Mobile terminal:
A, startup mobile device;
B, the positional information for obtaining mobile device;
C, the essential information for obtaining mobile terminal;
D, positional information and mobile terminal essential information are sent to server, and perform step B.
Service Process Server:
A, the data for receiving mobile terminal transmission;
B, its fence scope is searched according to mobile terminal essential information;
C, fence scope and location information of mobile terminal are sent to LBS location-servers;
D, etc. LBS location-servers to be received response message;
E, fence scope is seen if fall out according to response message;
If F, beyond its positional information is sent into user terminal by alert methods.
LBS location-servers:
A, LBS location-server receive the request of the inquiring position that service managing server is sended over;
B, longitude and latitude is translated into character description information;
C simultaneously sees if fall out scope according to fence scope by key algorithm;
D, the position text information after warning message and conversion is sent to service managing server.
User terminal:
A, user terminal receive the warning message that service server sends;
B, current mobile terminal position is checked according to positional information;
C, choose whether to need mobile terminal to start jingle bell and shock module as needed;
D, mobile terminal is sent instructions to if desired.
As shown in Fig. 2 flow chart of the method for the present invention is as follows:
1) mobile terminal is started working;
2) heartbeat service is opened;
3) mobile terminal current location information is obtained;
4) mobile terminal essential information is obtained;
5) mobile terminal current location information and essential information are sent to service managing server, and continue to obtain movement
Current location information of terminal;
6) service managing server receives mobile terminal current location information and essential information;
7) the fence scope of mobile terminal is obtained according to mobile terminal essential information;
8) mobile terminal current location information and fence scope are sent to LBS location-servers;
9) LBS location-servers receive mobile terminal current location information;
10) mobile terminal current location information is parsed, judges whether mobile terminal current location exceeds according to key algorithm
Fence scope;
11) current location of mobile terminal, base station location are translated into particular location title, and by its with whether need report
Alert information constitutes message together, is sent to service managing server.
12) user terminal carries out positioning searching according to positional information to mobile terminal;
13) judge whether to need to start mobile terminal jingle bell, vibration function as needed;
14) if it is, sending enabled instruction to mobile terminal;
15) mobile terminal jingle bell and shock module start.
Key algorithm:
Mathematic sign is explained:
π:Pi, is the ratio of round girth and diameter.
π/180:How many radian are equal to per angle.
*:Multiply.
a:Radian.
r:Radius of sphericity, the mean radius 6371 of the earth.004 km.
cos:Cosine.
sin:It is sinusoidal.
asin:Arcsine.
Pow (x, y):The y power of x.
sqrt():The square root of a.
According to the earth take up an official post meaning 2 points calculation of longitude & latitude point-to-point transmission distance:
It is the arc length of point-to-point transmission that 2 points of distance is actual on the earth, and the computing formula of arc length is L=α (radian) * r (half
Footpath).
Assuming that the longitude and latitude of 2 points of A, B is respectively (lat_a, lng_a), (lat_b, lng_b) on the earth.
Then 2 latitudes are changed into radian and are respectively:
A points:RadLat1=(lat_a* π/180.0)
B points:RadLat2=(lat_b* π/180.0)
The difference x of latitude is:
X=radLat1-radLat2
The difference of longitude is changed into radian y:
Y=(lng_a-lng_b) * π/180.0
Radian a between 2 points is:
A=2*asin (sqrt (pow (sin (x/2), 2)+cos (radLat1) * cos (radLat2) * pow (sin (y/
2), 2)))
So the distance i.e. arc length of point-to-point transmission are:
L=a*r
Whether LBS location-servers calculate mobile terminal beyond fence scope according to above-mentioned key algorithm, and then
Will determine that result is sent to service managing server.
Presently preferred embodiments of the present invention is the foregoing is only, is not intended to limit the scope of the present invention.It is all
Within the spirit and principles in the present invention, any modification, equivalent and improvement for being made etc. all should be protected in guarantor of the invention
Within the scope of shield.
Claims (10)
1. a kind of implementation method of fence, the method is comprised the following steps:
(1) positional information and essential information of mobile terminal are obtained;
(2) positional information and essential information are sent to service managing server;
(3) service managing server calculates fence scope according to the essential information, and by the positional information and
Fence scope is sent to LBS location-servers;
(4) the LBS location-servers judge whether the mobile terminal surpasses according to the positional information and fence scope
Go out fence scope, and will determine that result is sent to the service managing server;
(5) whether the service managing server determines need to alarm according to the judged result, if it is, by warning message and
The positional information is sent to user terminal.
2. method according to claim 1, the positional information is position longitude information and position latitude information.
3. method according to claim 2, LBS location-servers are according to the position longitude described in the step (4)
Specific location name is translated into the position of the mobile terminal by information and position latitude information.
4. method according to claim 1, service managing server is according to the judged result described in the step (5)
Whether the mobile terminal is judged beyond fence scope, if exceeding fence scope, it is determined that need alarm.
5. method according to claim 1, also includes step (6) after the step (5):The user terminal according to
Family configuration information, it is determined whether alarmed to the mobile terminal with jingle bell or vibration mode, if it is, to the mobile terminal
Send alarm command.
6. a kind of fence realizes system, and the system includes:
Mobile terminal, service managing server, LBS location-servers and user terminal;
Wherein, the mobile terminal, is connected with the service managing server, for obtaining current location information and essential information
And send the current location information and essential information to service managing server;
Service managing server, is connected with mobile terminal, user terminal and LBS location-servers respectively, is enclosed for setting electronics
The scope on column and the current location information and essential information of the reception mobile terminal, warning message is sent to user terminal;
LBS location-servers, are connected with service managing server, the position for showing mobile terminal on map, Yi Jijing
The character translation of the location name of latitude and base station information;
User terminal, data exchange is carried out with service managing server and mobile terminal, completes corresponding function.
7. system according to claim 6, the LBS location-servers also include:Position according to mobile terminal and
Whether fence scope judges the mobile terminal beyond fence scope, and will determine that result returns to the business pipe
Reason server.
8. a kind of service managing server, is connected with mobile terminal and LBS location-servers, and it includes that processor and computer are deposited
Storage media, the computer-readable storage medium is stored with computer instruction, and the processor is by performing the computer instruction reality
Existing following methods:
(1) current location information and essential information of mobile terminal are received;
(2) fence scope is calculated according to the essential information, and the current location information and fence scope is sent out
Give LBS location-servers;
(3) judged result whether the LBS location-servers exceed fence scope to the mobile terminal is received;
(4) alarm is determined the need for according to the judged result, if it is, by warning message and the current location information
It is sent to user terminal.
9. a kind of LBS location-servers, are connected with service managing server, and it includes processor and computer-readable storage medium, institute
State computer-readable storage medium to be stored with computer instruction, the processor is realized with lower section by performing the computer instruction
Method:
(1) mobile terminal current location information and fence scope that service managing server sends are received;
(2) position of the mobile terminal is translated into by specific position according to the position longitude information and position latitude information
Title;
(3) whether the mobile terminal is judged beyond fence scope according to the positional information and fence scope, and
Will determine that result is sent to the service managing server.
10. a kind of computer-readable storage medium, it includes computer program instructions, when the computer program instructions are performed, performs
One of the claims 1-5 described method.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710314087.3A CN106921943A (en) | 2017-05-05 | 2017-05-05 | A kind of realization method and system of fence |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710314087.3A CN106921943A (en) | 2017-05-05 | 2017-05-05 | A kind of realization method and system of fence |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106921943A true CN106921943A (en) | 2017-07-04 |
Family
ID=59567936
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710314087.3A Pending CN106921943A (en) | 2017-05-05 | 2017-05-05 | A kind of realization method and system of fence |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106921943A (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109275102A (en) * | 2018-10-23 | 2019-01-25 | 广州空天通讯技术服务有限公司 | The system and method for specific region alarm is realized based on ad hoc network equipment |
CN109345869A (en) * | 2018-12-07 | 2019-02-15 | 江苏萝卜交通科技有限公司 | A kind of parking management method based on WiFi intelligent bicycle lock towards scenic spot |
CN109874106A (en) * | 2018-12-28 | 2019-06-11 | 成都智慧全域信息技术有限公司 | A kind of fence of crowd's drainage |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202374449U (en) * | 2011-11-08 | 2012-08-08 | 北京天安信通科技有限责任公司 | Electronic fence system based on mobile communication network |
CN103186963A (en) * | 2011-12-28 | 2013-07-03 | 泰瑞数创科技(北京)有限公司 | Electronic fence based on real-time geographic position |
CN105575044A (en) * | 2016-01-11 | 2016-05-11 | 广东小天才科技有限公司 | Virtual electronic fence positioning method and apparatus, and virtual electronic fence monitoring method and system |
CN106504563A (en) * | 2016-11-02 | 2017-03-15 | 四川长虹电器股份有限公司 | Automotive electronics fence detecting system and method |
-
2017
- 2017-05-05 CN CN201710314087.3A patent/CN106921943A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN202374449U (en) * | 2011-11-08 | 2012-08-08 | 北京天安信通科技有限责任公司 | Electronic fence system based on mobile communication network |
CN103186963A (en) * | 2011-12-28 | 2013-07-03 | 泰瑞数创科技(北京)有限公司 | Electronic fence based on real-time geographic position |
CN105575044A (en) * | 2016-01-11 | 2016-05-11 | 广东小天才科技有限公司 | Virtual electronic fence positioning method and apparatus, and virtual electronic fence monitoring method and system |
CN106504563A (en) * | 2016-11-02 | 2017-03-15 | 四川长虹电器股份有限公司 | Automotive electronics fence detecting system and method |
Non-Patent Citations (1)
Title |
---|
俞炳 等: "基于MAPINFO技术的GPS区域站网设计", 《科技广场》 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109275102A (en) * | 2018-10-23 | 2019-01-25 | 广州空天通讯技术服务有限公司 | The system and method for specific region alarm is realized based on ad hoc network equipment |
CN109345869A (en) * | 2018-12-07 | 2019-02-15 | 江苏萝卜交通科技有限公司 | A kind of parking management method based on WiFi intelligent bicycle lock towards scenic spot |
CN109874106A (en) * | 2018-12-28 | 2019-06-11 | 成都智慧全域信息技术有限公司 | A kind of fence of crowd's drainage |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US7260378B2 (en) | Locator system for processing commercial 911 requests | |
CN106921943A (en) | A kind of realization method and system of fence | |
CN101794432A (en) | Disaster information collection and supporting method and system | |
CN103702285B (en) | Based on the Big Dipper/GPS towards special population Location Service Platform | |
US7834760B2 (en) | System and method for locating an individual | |
CN103974197A (en) | Indoor positioning system based on Bluetooth technology | |
CN105577907A (en) | Information processing method and device | |
CN104951892A (en) | Tour guide management background system | |
CN201938680U (en) | GPS positioning packet | |
CN201057823Y (en) | Automatic positioning tracing schoolbag or backpack | |
CN204965010U (en) | Multi -function watch and because remote monitering system of multi -function watch | |
CN101008572B (en) | Method and equipment for monitoring position | |
CN103529464A (en) | Terminal device based on Compass satellite system | |
CN101854585A (en) | Positioning method of primary and secondary machines with electronic fences and device thereof | |
CN104793181A (en) | Short-range loss-preventive warning and positioning device and short-range loss-preventive warning and positioning method | |
US20040137898A1 (en) | Geospatial lightwave communications system | |
CN205301595U (en) | Positioning device based on big dipper satellite | |
KR100644783B1 (en) | Position pursuiting system within a close range | |
KR20030041425A (en) | Method and System for Automatically Notifying Approach Location Information using Mobile Communication Terminal having GPS Function | |
KR20010037055A (en) | Position conviction service method using position and geographic information | |
Pranjoto et al. | GPS based vehicle tracking over GPRS for fleet management and passenger/payload/vehicle security | |
CN204495988U (en) | Closely anti-lost early warning and locating device | |
CN203338540U (en) | Short-range GPS self-service paging device | |
CN1403832A (en) | Interconnected global satellite location and digital mobile communication location system | |
CN216449735U (en) | Intelligent personnel positioning and tracking device |
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: 20170704 |