[go: up one dir, main page]

CN105493162A - Boundary violation alarm server, monitored terminal, monitoring terminal, system and method - Google Patents

Boundary violation alarm server, monitored terminal, monitoring terminal, system and method Download PDF

Info

Publication number
CN105493162A
CN105493162A CN201380000394.4A CN201380000394A CN105493162A CN 105493162 A CN105493162 A CN 105493162A CN 201380000394 A CN201380000394 A CN 201380000394A CN 105493162 A CN105493162 A CN 105493162A
Authority
CN
China
Prior art keywords
monitored
terminal
unit
boundary
monitoring
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
CN201380000394.4A
Other languages
Chinese (zh)
Other versions
CN105493162B (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CN105493162A publication Critical patent/CN105493162A/en
Application granted granted Critical
Publication of CN105493162B publication Critical patent/CN105493162B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G08SIGNALLING
    • G08BSIGNALLING OR CALLING SYSTEMS; ORDER TELEGRAPHS; ALARM SYSTEMS
    • G08B21/00Alarms responsive to a single specified undesired or abnormal condition and not otherwise provided for
    • G08B21/02Alarms for ensuring the safety of persons
    • G08B21/0202Child monitoring systems using a transmitter-receiver system carried by the parent and the child
    • GPHYSICS
    • G08SIGNALLING
    • G08GTRAFFIC CONTROL SYSTEMS
    • G08G1/00Traffic control systems for road vehicles
    • G08G1/123Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams
    • G08G1/127Traffic control systems for road vehicles indicating the position of vehicles, e.g. scheduled vehicles; Managing passenger vehicles circulating according to a fixed timetable, e.g. buses, trains, trams to a central station ; Indicators in a central station

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Health & Medical Sciences (AREA)
  • Child & Adolescent Psychology (AREA)
  • General Health & Medical Sciences (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本发明公开了一种越界报警服务器、被监控终端、监控终端、系统及方法,涉及计算机及通信技术领域。所述越界报警服务器中,被监控单元,用于监听被监控终端上报的位置信息,并将所述位置信息发送给所述处理单元;监控单元,用于监听监控终端上报的区域设定信息,并将所述区域设定信息发送给所述处理单元;处理单元,用于根据所述区域设定信息设定所述被监控终端的允许活动区域,以及根据所述位置信息判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,向所述监控终端发送报警信息。所述越界报警服务器、被监控终端、监控终端系统及方法,提高了监控用户对被监控用户的监控能力。

The invention discloses a boundary-crossing alarm server, a monitored terminal, a monitoring terminal, a system and a method, and relates to the technical fields of computers and communications. In the cross-border alarm server, the monitored unit is used to monitor the location information reported by the monitored terminal, and sends the location information to the processing unit; the monitoring unit is used to monitor the area setting information reported by the monitoring terminal, and sending the area setting information to the processing unit; the processing unit is configured to set the allowed activity area of the monitored terminal according to the area setting information, and determine the monitored terminal according to the location information Whether the current location of the terminal is outside the allowed activity area, and if yes, send alarm information to the monitoring terminal. The boundary-crossing alarm server, the monitored terminal, and the monitoring terminal system and method improve the ability of the monitoring user to monitor the monitored user.

Description

越界报警服务器、被监控终端、监控终端、系统及方法Cross-border alarm server, monitored terminal, monitoring terminal, system and method

技术领域technical field

本发明涉及计算机及通信技术领域,尤其涉及一种越界报警服务器、被监控终端、监控终端、系统及方法。The invention relates to the technical field of computer and communication, in particular to a border-crossing alarm server, a monitored terminal, a monitoring terminal, a system and a method.

背景技术Background technique

当今社会,需要监护的人,比如一些老人、小孩等,可能会走失,相应的监护人往往在被监护人走失很长一段时间才能发觉。由于缺乏相应的越界报警机制,上述情况时有发生,并且一旦发生往往需要很多人力财力才能找回走失的被监护人。In today's society, people who need guardianship, such as some old people, children, etc., may get lost, and the corresponding guardians often find out that the guardian is lost for a long time. Due to the lack of a corresponding cross-border alarm mechanism, the above situation occurs from time to time, and once it occurs, it often takes a lot of manpower and financial resources to find the lost ward.

同时,在车辆管理方面,由于缺乏相应的越界报警机制,城市中还经常出现出租车、私家车等被盗后出城改装的现象,以及当前公众较为关注的公车私用现象。At the same time, in terms of vehicle management, due to the lack of a corresponding cross-border alarm mechanism, the phenomenon of taxis and private cars being stolen and refitted out of the city often occurs in cities, as well as the phenomenon of private use of public vehicles that is currently more concerned by the public.

现有技术公开了一种车辆越界报警的越界确定方法,其硬件设备包括:车辆上设有卫星定位接收机、无线数字蜂窝电话通信器和对卫星定位数据进行处理及对通信器进行控制的通信控制器的移动台;在监控中心通过无线数字蜂窝电话系统服务中心提供的点对点信息业务向监控中心传送定位数据和接收控制信息。它通过将多边形的行驶区域分解成由N个平行四边形的交集、并集和补集运算,然后将分解后的N个平行四边形参数以及运算类型输入移动台通信控制器,移动台通信控制器通过卫星定位接收机得到所处的位置信息,并将该位置信息与N个平行四边形参数以及运算类型进行比较计算,判断移动台是否处于所设置的行驶区域内,如果移动台不处于所设置的行驶区域内,则移动台通过短信通信器发送信息到监控中心。The prior art discloses a method for determining a vehicle's boundary-crossing alarm. The hardware equipment includes: a satellite positioning receiver, a wireless digital cellular phone communicator, and a communication device for processing satellite positioning data and controlling the communicator on the vehicle. The mobile station of the controller; in the monitoring center, transmits positioning data and receives control information to the monitoring center through the point-to-point information service provided by the service center of the wireless digital cellular phone system. It decomposes the polygonal driving area into intersection, union and complement operations of N parallelograms, and then inputs the decomposed N parallelogram parameters and operation types into the mobile station communication controller, and the mobile station communication controller passes The satellite positioning receiver obtains the location information, and compares the location information with N parallelogram parameters and calculation types to determine whether the mobile station is in the set driving area, if the mobile station is not in the set driving area In the area, the mobile station sends information to the monitoring center through the SMS communicator.

上述现有方案存在以下缺陷:通过本地运算判断用户位置是否越界,越界后告警越界报警服务器,越界报警服务器和用户之间没有必然联系,当用户自行拆除设备,或设备损坏,越界报警服务器不会获取任何消息,无法实现越界告警;此方案在规划用户活动区域时,需在用户设备中规划,如果用户更换设备,需重新设置用户活动区域,不方便用户设置和管理。The above-mentioned existing solutions have the following defects: judge whether the user’s location is out of bounds by local calculation, and then alarm the out-of-boundary alarm server. There is no necessary connection between the out-of-boundary alarm server and the user. Obtaining any information does not enable cross-border alarms; this solution needs to be planned in the user's device when planning the user's activity area. If the user changes the device, the user's activity area needs to be reset, which is inconvenient for the user to set and manage.

发明内容Contents of the invention

本发明实施例提供越界报警服务器、被监控终端、监控终端、系统及方法,以提高监控用户对被监控用户的监控能力。Embodiments of the present invention provide a boundary-crossing alarm server, a monitored terminal, a monitoring terminal, a system and a method, so as to improve the monitoring ability of a monitoring user to a monitored user.

为了解决上述技术问题,本发明实施例公开了如下技术方案:In order to solve the above technical problems, the embodiment of the present invention discloses the following technical solutions:

第一方面,提供一种越界报警服务器,包括:被监控单元、监控单元和处理单元;In the first aspect, a cross-border alarm server is provided, including: a monitored unit, a monitoring unit and a processing unit;

所述被监控单元,用于监听被监控终端上报的位置信息,并将所述位置信息发送给所述处理单元;The monitored unit is configured to monitor the location information reported by the monitored terminal, and send the location information to the processing unit;

所述监控单元,用于监听监控终端上报的区域设定信息,并将所述区域设定信息发送给所述处理单元;The monitoring unit is configured to monitor the area setting information reported by the monitoring terminal, and send the area setting information to the processing unit;

所述处理单元,用于根据所述区域设定信息设定所述被监控终端的允许活动区域,以及根据所述位置信息判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,向所述监控终端发送报警信息。The processing unit is configured to set the allowed activity area of the monitored terminal according to the area setting information, and determine whether the current location of the monitored terminal is outside the allowed activity area according to the location information , if yes, send alarm information to the monitoring terminal.

第一方面的第一种可选方式中,所述被监控单元包括:授权单元;所述处理单元包括:权限管理单元;In a first optional manner of the first aspect, the monitored unit includes: an authorization unit; the processing unit includes: a rights management unit;

所述授权单元,用于监听所述被监控终端上报的被监控终端ID和获取所述被监控终端授权的监控终端ID,并将所述被监控终端ID和所述监控终端ID发送给所述权限管理单元;The authorization unit is configured to monitor the monitored terminal ID reported by the monitored terminal and acquire the monitoring terminal ID authorized by the monitored terminal, and send the monitored terminal ID and the monitoring terminal ID to the Authority management unit;

所述权限管理单元,用于建立所述被监控终端ID和所述监控终端ID之间的对应关系表。The authority management unit is configured to establish a correspondence table between the monitored terminal ID and the monitored terminal ID.

第一方面的第二种可选方式中,所述处理单元还包括:区域管理单元;In a second optional manner of the first aspect, the processing unit further includes: an area management unit;

所述区域管理单元,用于根据获取所述被监控终端授权的监控终端上报的区域设定信息,设定所述被监控终端的允许活动区域。The area management unit is configured to set the allowed activity area of the monitored terminal according to the area setting information reported by the monitoring terminal authorized by the monitored terminal.

第一方面的第三种可选方式中,所述监控单元包括:区域设定单元;所述区域设定单元,用于监听获取所述被监控终端授权的监控终端上报的区域设定信息,并将所述区域设定信息发送给所述区域管理单元;In a third optional manner of the first aspect, the monitoring unit includes: an area setting unit; the area setting unit is configured to monitor and obtain area setting information reported by a monitoring terminal authorized by the monitored terminal, and sending the area setting information to the area management unit;

所述区域管理单元,根据所述区域设定信息设定被监控终端的第一允许活动区域,并设定以所述第一允许活动区域的边界为基准延伸预定长度得到的区域为第二允许活动区域,以及设定所述第一允许活动区域和第二允许活动区域之外的区域为禁止活动区域。The area management unit sets the first allowed activity area of the monitored terminal according to the area setting information, and sets an area obtained by extending a predetermined length based on the boundary of the first allowed activity area as the second allowed area. an activity area, and setting an area other than the first allowed activity area and the second allowed activity area as a prohibited activity area.

第一方面的第四种可选方式中,所述被监控单元还包括:位置上报单元;所述处理单元还包括:位置存储单元、越界判断单元和告警单元;In the fourth optional manner of the first aspect, the monitored unit further includes: a location reporting unit; the processing unit further includes: a location storage unit, a boundary-crossing judging unit, and an alarm unit;

所述位置上报单元,用于监听所述被监控终端上报的位置信息,并将所述位置信息发送给所述位置存储单元;The location reporting unit is configured to monitor the location information reported by the monitored terminal, and send the location information to the location storage unit;

所述位置存储单元,用于存储所述位置信息及所述位置信息对应的上报时间;The location storage unit is used to store the location information and the reporting time corresponding to the location information;

所述越界判断单元,用于根据所述位置信息判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,触发所述告警单元;The boundary-crossing judging unit is used to judge whether the current location of the monitored terminal is outside the allowed activity area according to the location information, and if so, trigger the alarm unit;

所述告警单元,用于根据所述对应关系表和所述越界判断单元的触发,向获取所述被监控终端授权的监控终端发送报警信息。The alarm unit is configured to send alarm information to the monitoring terminal authorized by the monitored terminal according to the corresponding relationship table and the triggering of the boundary-crossing judging unit.

第一方面的第五种可选方式中,所述位置存储单元,具体用于存储所述位置信息及相应的上报时间,所述位置信息包括:经度、维度、误差范围、被监控终端ID和被监控终端状态。In the fifth optional manner of the first aspect, the location storage unit is specifically used to store the location information and the corresponding reporting time, the location information includes: longitude, latitude, error range, monitored terminal ID and The status of the monitored terminal.

第一方面的第六种可选方式中,所述监控单元还包括:位置查询单元;In a sixth optional manner of the first aspect, the monitoring unit further includes: a location query unit;

所述位置查询单元,用于监听所述监控终端上报的对相应的被监控终端的位置查询指令,并将所述位置查询指令发送给所述位置存储单元;The location query unit is configured to monitor the location query instruction reported by the monitoring terminal to the corresponding monitored terminal, and send the location query instruction to the location storage unit;

所述位置存储单元,还用于根据所述位置查询指令,向所述位置查询单元发送所述位置信息,或者,由多个所述上报时间对应的位置信息构成的轨迹信息。The location storage unit is further configured to send the location information to the location query unit according to the location query instruction, or track information composed of a plurality of location information corresponding to the reporting time.

第一方面的第七种可选方式中,所述被监控单元还包括:被监控开关单元;所述处理单元还包括:开关单元;In a seventh optional manner of the first aspect, the monitored unit further includes: a monitored switch unit; the processing unit further includes: a switch unit;

所述被监控开关单元,用于监听所述被监控终端上报的第一关闭指令,并将所述第一关闭指令发送给所述开关单元;The monitored switch unit is configured to monitor the first closing instruction reported by the monitored terminal, and send the first closing instruction to the switching unit;

所述开关单元,用于根据所述第一关闭指令,触发所述告警单元,并通知所述位置上报单元停止监听所述被监控终端上报的位置信息。The switch unit is configured to trigger the alarm unit according to the first closing instruction, and notify the location reporting unit to stop listening to the location information reported by the monitored terminal.

第一方面的第八种可选方式中,所述监控单元还包括:监控开关单元;In an eighth optional manner of the first aspect, the monitoring unit further includes: a monitoring switch unit;

所述监控开关单元,用于监听监控终端上报的第二关闭指令,并将所述第二关闭指令发送给所述开关单元;The monitoring switch unit is configured to monitor a second closing instruction reported by the monitoring terminal, and send the second closing instruction to the switching unit;

所述开关单元,用于根据所述第二关闭指令通知所述位置上报单元停止监听所述被监控终端上报的位置信息。The switch unit is configured to notify the location reporting unit to stop listening to the location information reported by the monitored terminal according to the second closing instruction.

第一方面的第九种可选方式中,所述越界报警服务器为云越界报警服务器。In a ninth optional manner of the first aspect, the boundary-crossing alarm server is a cloud boundary-crossing alarm server.

第二方面,提供一种被监控终端,所述被监控终端包括:被监控定位单元、被监控上报单元、被监控接收单元和被监控处理单元;In a second aspect, a monitored terminal is provided, and the monitored terminal includes: a monitored positioning unit, a monitored reporting unit, a monitored receiving unit, and a monitored processing unit;

所述被监控定位单元,用于对所述被监控终端进行定位,获取所述被监控终端的位置信息;The monitored positioning unit is configured to locate the monitored terminal and obtain location information of the monitored terminal;

所述被监控上报单元,用于向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,所述越界报警服务器向所述监控终端发送报警信息;The monitored reporting unit is configured to report the location information to the boundary-crossing alarm server, so that the boundary-crossing alarm server can compare the location information with the area setting information reported by the monitoring terminal to determine whether the monitored terminal Whether the current position of the user is outside the allowed activity area, if so, the cross-border alarm server sends alarm information to the monitoring terminal;

所述被监控接收单元,用于接收所述越界报警服务器发送的越界结果通知;The monitored receiving unit is configured to receive the boundary-crossing result notification sent by the boundary-crossing alarm server;

所述被监控处理单元,用于根据所述越界结果通知,控制所述被监控定位单元调整定位方式。The monitored processing unit is configured to control the monitored positioning unit to adjust a positioning method according to the boundary-crossing result notification.

第二方面的第一种可选方式中,所述被监控终端为手持终端;In the first optional manner of the second aspect, the monitored terminal is a handheld terminal;

所述手持终端还包括:电量判断单元;The handheld terminal also includes: a power judgment unit;

所述被监控处理单元,具体用于根据所述越界结果通知获取所述手持终端的当前位置是否在第一允许活动区域之外,如果是,向所述电量判断单元发送电量判断通知,否则,向所述被监控定位单元发送第一定位通知;The monitored processing unit is specifically used to obtain whether the current position of the handheld terminal is outside the first allowed activity area according to the notification of the cross-border result, and if so, send a power judgment notification to the power judgment unit, otherwise, sending a first positioning notification to the monitored positioning unit;

所述电量判断单元,用于判断所述手持终端的剩余电量是否低于预定电量,如果是,向所述被监控定位单元发送第一定位通知,否则,向所述被监控定位单元发送第二定位通知;The power judging unit is used to judge whether the remaining power of the handheld terminal is lower than a predetermined power, if so, send a first positioning notification to the monitored positioning unit, otherwise, send a second positioning notification to the monitored positioning unit location notification;

所述被监控定位单元,具体用于根据所述第一定位通知采用第一定位方式进行定位,并将获取的所述位置信息通过所述被监控上报单元以第一频率上报给所述越界报警服务器,或者,The monitored positioning unit is specifically configured to perform positioning according to the first positioning notification using a first positioning method, and report the acquired position information to the cross-border alarm at a first frequency through the monitored reporting unit server, or,

根据所述第二定位通知采用第二定位方式进行定位,将获取的所述位置信息通过所述被监控上报单元以第二频率上报给所述越界报警服务器。Positioning is performed by using a second positioning method according to the second positioning notification, and reporting the acquired position information to the boundary-crossing alarm server at a second frequency through the monitored reporting unit.

第二方面的第二种可选方式中,所述被监控终端为车载终端;In a second optional manner of the second aspect, the monitored terminal is a vehicle-mounted terminal;

所述被监控处理单元,具体用于根据所述越界结果通知获取所述车载终端的当前位置是否在第一允许活动区域之外,如果是,向所述被监控上报单元发送高频上报通知,否则,向所述被监控上报单元发送低频上报通知;The monitored processing unit is specifically configured to obtain whether the current position of the vehicle-mounted terminal is outside the first allowed activity area according to the notification of the transgression result, and if so, send a high-frequency report notification to the monitored reporting unit, Otherwise, send a low-frequency reporting notification to the monitored reporting unit;

所述被监控定位单元,具体用于采用第三定位方式进行定位,获取所述位置信息;The monitored positioning unit is specifically used to perform positioning using a third positioning method and obtain the position information;

所述被监控上报单元,具体用于根据所述高频上报通知以第四频率上报所述被监控定位单元获取的所述位置信息,或者,根据所述低频上报通知以第三频率上报所述被监控定位单元获取的所述位置信息,所述第四频率高于所述第三频率。The monitored reporting unit is specifically configured to report the location information acquired by the monitored positioning unit at a fourth frequency according to the high-frequency reporting notification, or report the location information at a third frequency according to the low-frequency reporting notification. For the location information acquired by the monitoring and positioning unit, the fourth frequency is higher than the third frequency.

第三方面,提供一种监控终端,包括:区域设定单元和报警接收单元;In a third aspect, a monitoring terminal is provided, including: an area setting unit and an alarm receiving unit;

所述区域设定单元用于向越界报警服务器上报区域设定信息,以供所述越界报警服务器将被监控终端上报的位置信息与所述区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外;The area setting unit is used to report area setting information to the boundary-crossing alarm server, so that the boundary-crossing alarm server compares the location information reported by the monitored terminal with the area setting information to determine whether the monitored terminal Whether the current location of the user is outside the allowed activity area;

所述报警接收单元,用于在所述被监控终端的当前位置在所述允许活动区域之外时,接收所述越界报警服务器发送的报警信息。The alarm receiving unit is configured to receive the alarm information sent by the boundary-crossing alarm server when the current position of the monitored terminal is outside the allowed activity area.

第四方面,提供一种越界报警系统,其包括:所述的越界报警服务器、被监控终端和监控终端。In a fourth aspect, a boundary-crossing alarm system is provided, which includes: the boundary-crossing alarm server, a monitored terminal, and a monitoring terminal.

第五方面,提供一种越界报警方法,其包括步骤:In a fifth aspect, a method for cross-border alarm is provided, which includes the steps of:

监听被监控终端上报的位置信息;Monitor the location information reported by the monitored terminal;

根据预先获取的区域设定信息,设定被监控终端的允许活动区域,所述预先获取的区域设定信息是监控终端上报的区域设定信息;Set the allowed activity area of the monitored terminal according to the pre-acquired area setting information, the pre-acquired area setting information is the area setting information reported by the monitoring terminal;

根据所述位置信息判断被监控终端的当前位置是否在所述允许活动区域之外,如果是,向监控终端发送报警信息。Judging whether the current location of the monitored terminal is outside the allowed activity area according to the location information, and if so, sending an alarm message to the monitoring terminal.

第五方面的第一种可选方式中,所述监听被监控终端上报的位置信息之后,所述方法还包括:In the first optional manner of the fifth aspect, after the monitoring of the location information reported by the monitored terminal, the method further includes:

根据所述位置信息,判断被监控终端上报位置信息的时间是否超时,如果是,向监控终端发送报警信息。According to the location information, it is judged whether the time for the monitored terminal to report the location information is overtime, and if yes, an alarm message is sent to the monitoring terminal.

第五方面的第二种可选方式中,所述监听被监控终端上报的位置信息之前,所述方法还包括:In the second optional manner of the fifth aspect, before the monitoring of the location information reported by the monitored terminal, the method further includes:

判断是否收到被监控终端上报的第一关闭指令,如果是,则根据所述第一关闭指令,停止监听被监控终端上报的位置信息,并向监控终端发送报警信息;或者,Judging whether the first closing instruction reported by the monitored terminal is received, if so, then according to the first closing instruction, stop monitoring the location information reported by the monitored terminal, and send an alarm message to the monitoring terminal; or,

判断是否收到监控终端上报的第二关闭指令,如果是,则根据所述第二关闭指令,停止监听被监控终端上报的位置信息。Judging whether the second closing instruction reported by the monitoring terminal is received, and if yes, stop monitoring the location information reported by the monitored terminal according to the second closing instruction.

第五方面的第三种可选方式中,所述方法还包括:In a third optional manner of the fifth aspect, the method further includes:

监听被监控终端上报的被监控终端ID和获取所述被监控终端授权的监控终端ID;monitoring the monitored terminal ID reported by the monitored terminal and obtaining the monitoring terminal ID authorized by the monitored terminal;

建立所述被监控终端ID和被授权的监控终端ID之间的对应关系表;Establishing a correspondence table between the monitored terminal ID and the authorized monitoring terminal ID;

所述向监控终端发送报警信息具体包括:根据所述对应关系表,向获取被监控终端授权的监控终端发送报警信息。The sending the alarm information to the monitoring terminal specifically includes: sending the alarm information to the monitoring terminal authorized by the monitored terminal according to the correspondence table.

第五方面的第四种可选方式中,所述位置信息包括以下参数:经度、维度、误差范围、被监控终端ID和被监控终端状态。In a fourth optional manner of the fifth aspect, the location information includes the following parameters: longitude, latitude, error range, monitored terminal ID, and monitored terminal status.

第五方面的第五种可选方式中,所述根据预先获取的区域设定信息,设定被监控终端的允许活动区域,具体包括:In the fifth optional manner of the fifth aspect, setting the allowed activity area of the monitored terminal according to the pre-acquired area setting information specifically includes:

根据预先获取的区域设定信息设定被监控终端的第一允许活动区域;Setting the first allowed activity area of the monitored terminal according to the pre-acquired area setting information;

设定以所述第一允许活动区域的边界为基准,延伸预定长度得到的区域,为第二允许活动区域;Setting an area obtained by extending a predetermined length based on the boundary of the first allowed activity area as the second allowed activity area;

设定所述第一允许活动区域和第二允许活动区域之外的区域,为禁止活动区域。An area other than the first allowed activity area and the second allowed activity area is set as a prohibited activity area.

第六方面,提供一种基于被监控终端的越界报警方法,其包括步骤:In the sixth aspect, there is provided a monitoring terminal-based cross-border alarm method, which includes the steps of:

进行定位,获取位置信息;Perform positioning and obtain location information;

向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断当前位置是否在所述允许活动区域之外,如果是,所述越界报警服务器向所述监控终端发送报警信息;Report the location information to the cross-border alarm server, so that the cross-border alarm server compares the location information with the area setting information reported by the monitoring terminal to determine whether the current location is outside the allowed activity area, if so , the boundary-crossing alarm server sends alarm information to the monitoring terminal;

接收所述越界报警服务器发送的越界结果通知;receiving the boundary-crossing result notification sent by the boundary-crossing alarm server;

根据所述越界结果通知,调整定位方式。Adjust the positioning method according to the boundary-crossing result notification.

第六方面的第一种可选方式中,当所述被监控终端为手持终端时,In the first optional manner of the sixth aspect, when the monitored terminal is a handheld terminal,

根据所述越界结果通知,调整定位方式,具体包括:According to the notification of the cross-border result, adjust the positioning method, specifically including:

根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送电量判断通知,否则,发送第一定位通知;Obtaining whether the current location is outside the first allowed activity area according to the boundary-crossing result notification, if yes, sending a power judgment notification, otherwise, sending a first positioning notification;

当接收到所述电量判断通知,则判断剩余电量是否低于预定电量,如果是,发送第一定位通知,否则,发送第二定位通知;When receiving the power judgment notification, it is judged whether the remaining power is lower than the predetermined power, if yes, the first positioning notification is sent, otherwise, the second positioning notification is sent;

当接收到所述第一定位通知,根据所述第一定位通知采用第一定位方式进行定位,并将获取的所述位置信息以第一频率上报给所述越界报警服务器;When receiving the first positioning notification, perform positioning using a first positioning method according to the first positioning notification, and report the obtained location information to the cross-border alarm server at a first frequency;

当接收到所述第二定位通知,根据所述第二定位通知采用第二定位方式进行定位,将获取的所述位置信息以第二频率上报给所述越界报警服务器。When the second positioning notification is received, the second positioning method is used to perform positioning according to the second positioning notification, and the acquired location information is reported to the boundary-crossing alarm server at a second frequency.

第六方面的第二种可选方式中,当所述被监控终端为车载终端时,In the second optional manner of the sixth aspect, when the monitored terminal is a vehicle-mounted terminal,

进行定位,获取位置信息,具体为:采用第三定位方式进行定位,获取位置信息;Perform positioning and obtain location information, specifically: use the third positioning method to perform positioning and obtain location information;

根据所述越界结果通知,调整定位方式,具体包括:According to the notification of the cross-border result, adjust the positioning method, specifically including:

根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送高频上报通知,否则,发送低频上报通知;Obtaining whether the current position is outside the first allowed activity area according to the boundary-crossing result notification, if yes, sending a high-frequency report notification, otherwise, sending a low-frequency report notification;

当接收到高频上报通知时,以第四频率上报所述位置信息;When receiving a high-frequency report notification, report the location information at a fourth frequency;

当接收到低频上报通知时,以第三频率上报所述位置信息;When receiving a low-frequency reporting notification, report the location information at a third frequency;

其中,所述第四频率高于所述第三频率。Wherein, the fourth frequency is higher than the third frequency.

第七方面,提供一种基于监控终端的越界报警方法,其包括步骤:In the seventh aspect, a monitoring terminal-based cross-border alarm method is provided, which includes the steps of:

向越界报警服务器上报区域设定信息,以供所述越界报警服务器将被监控终端上报的位置信息与所述区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外;Report the area setting information to the cross-border alarm server, so that the cross-border alarm server will compare the location information reported by the monitored terminal with the area setting information to determine whether the current location of the monitored terminal is within the allowed range. outside the area of activity;

在所述被监控终端的当前位置在所述允许活动区域之外时,接收所述越界报警服务器发送的报警信息。When the current location of the monitored terminal is outside the allowed activity area, the alarm information sent by the boundary-crossing alarm server is received.

本发明所述越界报警服务器、被监控终端、监控终端、系统及方法,由获取授权监控用户通过监控终端设定被监控终端的允许活动区域,由越界报警服务器监听被监控终端上报的位置信息,并在持有被监控终端的被监控用户越界时,由越界报警服务器向获取授权的监控用户发送报警信息,从而避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。The border-crossing alarm server, monitored terminal, monitoring terminal, system and method of the present invention, the authorized monitoring user sets the allowed activity area of the monitored terminal through the monitoring terminal, and the border-crossing alarm server monitors the location information reported by the monitored terminal, And when the monitored user holding the monitored terminal crosses the border, the border-crossing alarm server sends an alarm message to the authorized monitoring user, thereby avoiding the problem that the border-crossing alarm cannot be realized when the monitored terminal fails, and improving the surveillance user's awareness of the monitored user. Monitor the user's monitoring capabilities.

附图说明Description of drawings

为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作一简单地介绍,显而易见地,下面描述中的附图是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获取其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained based on these drawings without creative effort.

图1是本发明实施例1所述越界报警服务器的单元结构示意图;FIG. 1 is a schematic diagram of the unit structure of the boundary-crossing alarm server according to Embodiment 1 of the present invention;

图2a是本发明实施例2越界报警服务器的一种单元结构示意图;Fig. 2a is a schematic diagram of a unit structure of the boundary-crossing alarm server in Embodiment 2 of the present invention;

图2b是本发明实施例2越界报警服务器的另一种单元结构示意图;Fig. 2b is a schematic diagram of another unit structure of the boundary-crossing alarm server in Embodiment 2 of the present invention;

图2c是本发明实施例2所述越界报警服务器的详细单元结构示意图;Fig. 2c is a schematic diagram of a detailed unit structure of the boundary-crossing alarm server according to Embodiment 2 of the present invention;

图3是本发明实施例3所述被监控终端的单元结构示意图;3 is a schematic diagram of the unit structure of the monitored terminal according to Embodiment 3 of the present invention;

图4是本发明实施例3所述被监控终端的单元结构示意图;4 is a schematic diagram of the unit structure of the monitored terminal according to Embodiment 3 of the present invention;

图5是本发明实施例3所述被监控终端的单元结构示意图;5 is a schematic diagram of the unit structure of the monitored terminal according to Embodiment 3 of the present invention;

图6是本发明实施例4所述监控终端的单元结构示意图;6 is a schematic diagram of the unit structure of the monitoring terminal according to Embodiment 4 of the present invention;

图7是本发明实施例5所述越界报警系统的结构示意图;Fig. 7 is a schematic structural diagram of the boundary-crossing alarm system according to Embodiment 5 of the present invention;

图8是本发明实施例6所述所述越界报警方法流程图;Fig. 8 is a flow chart of the cross-boundary alarm method described in Embodiment 6 of the present invention;

图9是本发明实施例8所述所述越界报警方法流程图;9 is a flow chart of the cross-boundary alarm method described in Embodiment 8 of the present invention;

图10是本发明所述越界报警服务器的硬件结构示意图。Fig. 10 is a schematic diagram of the hardware structure of the boundary-crossing alarm server of the present invention.

具体实施方式detailed description

本发明如下实施例提供了越界报警服务器、被监控终端、监控终端、系统及方法,以提高监控用户对被监控用户的监控能力。The following embodiments of the present invention provide a boundary-crossing alarm server, a monitored terminal, a monitoring terminal, a system and a method, so as to improve the ability of the monitoring user to monitor the monitored user.

为了使本技术领域的人员更好地理解本发明实施例中的技术方案,并使本发明实施例的上述目的、特征和优点能够更加明显易懂,下面结合附图对本发明实施例中技术方案作进一步详细的说明。In order to enable those skilled in the art to better understand the technical solutions in the embodiments of the present invention, and to make the above-mentioned purposes, features and advantages of the embodiments of the present invention more obvious and understandable, the following describes the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings For further detailed explanation.

应该理解的是,本发明实施例所划分的单元是一种功能上的限定,在实现本发明目的的基础上,所述单元可以划分为多个物理实体,所述多个单元的功能也可以由一个物理实体来实现,本发明实施例对此不做限制。It should be understood that the units divided in the embodiment of the present invention are a functional limitation. On the basis of realizing the purpose of the present invention, the units can be divided into multiple physical entities, and the functions of the multiple units can also be It is implemented by a physical entity, which is not limited in this embodiment of the present invention.

实施例1Example 1

图1是本发明实施例1所述越界报警服务器的单元结构示意图,如图1所示,所述越界报警服务器120包括:被监控单元121、监控单元122和处理单元123。FIG. 1 is a schematic diagram of the unit structure of the boundary-crossing alarm server according to Embodiment 1 of the present invention. As shown in FIG. 1 , the boundary-crossing alarm server 120 includes: a monitored unit 121 , a monitoring unit 122 and a processing unit 123 .

所述被监控单元210,用于监听被监控终端110上报的位置信息,并将所述位置信息发送给所述处理单元123。所述监控单元122,用于监听监控终端130上报的区域设定信息,并将所述区域设定信息发送给所述处理单元123。所述处理单元123,用于根据所述区域设定信息设定所述被监控终端110的允许活动区域,以及根据所述位置信息判断被监控终端110的当前位置是否在所述允许活动区域之外,如果是,向所述监控终端130发送报警信息。The monitored unit 210 is configured to monitor the location information reported by the monitored terminal 110 and send the location information to the processing unit 123 . The monitoring unit 122 is configured to monitor the area setting information reported by the monitoring terminal 130 and send the area setting information to the processing unit 123 . The processing unit 123 is configured to set the allowed activity area of the monitored terminal 110 according to the area setting information, and determine whether the current location of the monitored terminal 110 is within the allowed activity area according to the location information In addition, if yes, send alarm information to the monitoring terminal 130 .

本实施例所述越界报警服务器,由监控用户通过监控终端设定被监控终端的允许活动区域,由越界报警服务器监听被监控终端上报的位置信息,并在持有被监控终端的被监控用户越界时,由越界报警服务器向监控用户发送报警信息,从而避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。The border-crossing alarm server described in this embodiment sets the allowed activity area of the monitored terminal by the monitoring user through the monitoring terminal, monitors the location information reported by the monitored terminal by the border-crossing alarm server, and when the monitored user who holds the monitored terminal crosses the border , the cross-border alarm server sends alarm information to the monitoring user, thereby avoiding the problem of being unable to realize the cross-border alarm when the monitored terminal fails, and improving the monitoring ability of the monitoring user to the monitored user.

实施例2Example 2

图2a是本发明实施例2所述越界报警服务器的单元结构示意图,如图2a所示,本实施例所述越界报警服务器与实施例1所述越界报警服务器基本相同,其不同之处在于,本实施例中,所述越界报警服务器220可以使每个监控终端230对应多个被监控终端210进行监控,同样的如图2b所示,所述越界报警服务器220可以使多个监控终端230对应一个被监控终端210进行监控。Figure 2a is a schematic diagram of the unit structure of the boundary-crossing alarm server according to Embodiment 2 of the present invention. As shown in Figure 2a, the boundary-crossing alarm server described in this embodiment is basically the same as the boundary-crossing alarm server described in Embodiment 1, the difference being that In this embodiment, the boundary-crossing alarm server 220 can make each monitoring terminal 230 correspond to a plurality of monitored terminals 210 for monitoring. Similarly, as shown in FIG. 2 b, the boundary-crossing alarm server 220 can make multiple monitoring terminals 230 correspond to A monitored terminal 210 performs monitoring.

具体地,参见图2c,本实施例中所述被监控单元221进一步包括:授权单元221a、位置上报单元221b和被监控开关单元221c;所述监控单元222进一步包括:监控开关单元222a、位置查询单元222b和区域设定单元222c;所述处理单元223进一步包括:权限管理单元223a、开关单元223b、位置存储单元223c、越界判断单元223d、告警单元223e和区域管理单元223f。Specifically, referring to FIG. 2c, the monitored unit 221 in this embodiment further includes: an authorization unit 221a, a location reporting unit 221b, and a monitored switch unit 221c; the monitoring unit 222 further includes: a monitoring switch unit 222a, a location inquiry Unit 222b and an area setting unit 222c; the processing unit 223 further includes: a rights management unit 223a, a switch unit 223b, a location storage unit 223c, a border crossing judging unit 223d, an alarm unit 223e and an area management unit 223f.

所述授权单元221a,用于监听被监控终端210上报的被监控终端ID和被授权的监控终端ID,并将所述被监控终端ID和被授权的监控终端ID发送给所述权限管理单元223a。所述权限管理单元223a,用于建立所述被监控终端ID和被授权的监控终端ID之间的对应关系表,如下面表1所示,该对应关系表中每一行记录一个被监控终端ID及其对应的监控终端ID,该对应的监控终端ID由被监控用户授权,并通过被监控终端210上报给权限管理单元223a。其中,被监控终端ID是用于标识被监控终端的唯一标识码,当被监控终端连接所述越界报警服务器时,自动上报该被监控终端ID,以便越界报警服务器能够区分而后识别不同的被监控终端。同理,监控终端ID是用于标识监控终端的唯一标识码,当监控终端连接所述越界报警服务器时,自动上报该监控终端ID,以便越界报警服务器能够区分而后识别不同的监控终端。因此,当需要发送报警信息时,告警单元235通过查询该对应关系表可以获取相应的监控终端ID,进而准确地将告警信息发送至相应的监控终端230上,避免被监控用户的信息泄露或者监控用户越权监控被监控用户。The authorization unit 221a is configured to monitor the monitored terminal ID and the authorized monitoring terminal ID reported by the monitored terminal 210, and send the monitored terminal ID and the authorized monitoring terminal ID to the authority management unit 223a . The authority management unit 223a is configured to establish a correspondence table between the monitored terminal ID and the authorized monitoring terminal ID, as shown in Table 1 below, each row in the correspondence table records a monitored terminal ID and its corresponding monitoring terminal ID. The corresponding monitoring terminal ID is authorized by the monitored user and reported to the authority management unit 223 a through the monitored terminal 210 . Wherein, the ID of the monitored terminal is a unique identification code used to identify the monitored terminal. When the monitored terminal is connected to the out-of-bounds alarm server, the monitored terminal ID is automatically reported, so that the out-of-bounds alarm server can distinguish and then identify different monitored terminal. Similarly, the monitoring terminal ID is a unique identification code used to identify the monitoring terminal. When the monitoring terminal is connected to the boundary-crossing alarm server, the monitoring terminal ID is automatically reported so that the boundary-crossing alarm server can distinguish and then identify different monitoring terminals. Therefore, when it is necessary to send alarm information, the alarm unit 235 can obtain the corresponding monitoring terminal ID by querying the corresponding relationship table, and then accurately send the alarm information to the corresponding monitoring terminal 230, avoiding information leakage or monitoring of the monitored user. The user exceeds the authority to monitor the monitored user.

表1被监控终端ID和被授权的监控终端ID对应关系表Table 1 Correspondence table between monitored terminal ID and authorized monitoring terminal ID

被监控终端IDMonitored terminal ID 被授权的监控终端IDAuthorized monitoring terminal ID A001A001 B001B001 A002A002 B001B001 A005A005 B001B001 A010A010 B002B002

所述位置上报单元221b,用于监听被监控终端210上报的位置信息,并将所述位置信息发送给所述位置存储单元223c。所述位置存储单元223c,用于存储所述位置信息及相应的上报时间;所述越界判断单元223d,用于根据所述位置信息判断被监控终端210的当前位置是否在所述允许活动区域之外,如果是触发所述告警单元223e;所述告警单元223e,用于向获取被监控终端210授权的监控终端230发送报警信息。The location reporting unit 221b is configured to monitor the location information reported by the monitored terminal 210, and send the location information to the location storage unit 223c. The location storage unit 223c is used to store the location information and the corresponding reporting time; the cross-border judging unit 223d is used to judge whether the current location of the monitored terminal 210 is within the allowed activity area according to the location information In addition, if the alarm unit 223e is triggered; the alarm unit 223e is configured to send alarm information to the monitoring terminal 230 authorized by the monitored terminal 210 .

所述位置信息一般包括以下参数:经度、维度、误差范围、被监控终端ID和被监控终端状态。其中,经度和维度用于记录被监控终端210的经纬度,是必需参数;其他参数可根据实际应用选择设置。误差范围由被监控终端210生成,可用于修正被监控终端210的位置。被监控终端ID,可直接从被监控终端210的硬件中读取。被监控终端状态分为两种情况:当被监控终端210为手持终端时,被监控终端状态记录手持终端的电池剩余电量;当被监控终端为车载终端时,被监控终端状态记录车载终端运行状态,比如行驶、停车、熄火。其中,所述手持终端为便于随身携带的被监控终端,其除了可以由使用者用手持握外,还可以通过穿戴或者其他方式被使用者所携带;所述车载终端为设置在交通工具上的被监控终端,该交通工具应该具有为车载终端供电的能力,并且该交通工具除了使陆上交通工具外,还可以是水上或者空中交通工具。The location information generally includes the following parameters: longitude, latitude, error range, monitored terminal ID, and monitored terminal status. Among them, longitude and latitude are used to record the longitude and latitude of the monitored terminal 210, and are necessary parameters; other parameters can be selected and set according to actual applications. The error range is generated by the monitored terminal 210 and can be used to correct the position of the monitored terminal 210 . The monitored terminal ID can be directly read from the hardware of the monitored terminal 210 . The status of the monitored terminal is divided into two situations: when the monitored terminal 210 is a handheld terminal, the status of the monitored terminal records the remaining battery power of the handheld terminal; when the monitored terminal is a vehicle terminal, the status of the monitored terminal records the running status of the vehicle terminal , such as driving, parking, and turning off the engine. Wherein, the handheld terminal is a monitored terminal that is easy to carry around, which can be carried by the user through wearing or other means in addition to being held by the user; the vehicle-mounted terminal is a For the monitored terminal, the vehicle should have the ability to supply power to the vehicle-mounted terminal, and the vehicle can also be a water or air vehicle in addition to a land vehicle.

所述被监控开关单元221c,用于监听被监控终端210上报的第一关闭指令,并将所述第一关闭指令发送给所述开关单元223b;所述开关单元223b,用于根据所述第一关闭指令触发所述告警单元223e,并通知所述位置上报单元221b停止监听被监控终端210上报的位置信息。被监控终端210上设置有第一功能开关,通过操作该第一功能开关,被监控用户可以选择停止被监控,这时被监控终端210上报第一关闭指令,同时停止上报位置信息,为了保证监控用户对被监控用户的有效监控,当被监控终端100关闭监控功能时,越界报警服务器220的告警单元223e将被触发并及时向相应的监控终端230发送报警信息。所述报警信息可以是短信或数据信息等。The monitored switch unit 221c is configured to monitor the first closing instruction reported by the monitored terminal 210, and send the first closing instruction to the switching unit 223b; the switching unit 223b is configured to A shutdown instruction triggers the alarm unit 223e and notifies the location reporting unit 221b to stop listening to the location information reported by the monitored terminal 210 . The monitored terminal 210 is provided with a first function switch. By operating the first function switch, the monitored user can choose to stop being monitored. At this time, the monitored terminal 210 reports the first closing command and stops reporting position information at the same time. The user effectively monitors the monitored user. When the monitored terminal 100 closes the monitoring function, the alarm unit 223e of the cross-border alarm server 220 will be triggered and send alarm information to the corresponding monitoring terminal 230 in time. The alarm information may be a short message or data information and the like.

所述监控开关单元222a,用于监听监控终端230上报的第二关闭指令,并将所述第二关闭指令发送给所述开关单元223b;所述开关单元223b,用于根据所述第二关闭指令通知所述位置上报单元221b停止监听被监控终端210上报的位置信息。与被监控终端210上的第一功能开关相似,监控终端230上设置有第二功能开关,通过关闭该第二功能开关,监控用户可以停止对被监控用户的监控。The monitoring switch unit 222a is configured to monitor the second closing instruction reported by the monitoring terminal 230, and send the second closing instruction to the switching unit 223b; The instruction notifies the location reporting unit 221b to stop listening to the location information reported by the monitored terminal 210 . Similar to the first function switch on the monitored terminal 210, the monitoring terminal 230 is provided with a second function switch. By turning off the second function switch, the monitoring user can stop monitoring the monitored user.

所述位置查询单元222b,用于监听监控终端230上报的对相应被监控终端210的位置查询指令,并将所述查询指令发送给所述位置存储单元223c;所述位置存储单元223c,还用于根据所述位置查询指令,通过所述位置查询单元222b,反馈相应被监控终端210在查询时间点的位置信息,或者,在查询时间段的运动轨迹信息(对应于多个所述上报时间),给监控终端230。The position query unit 222b is used to monitor the position query command reported by the monitoring terminal 230 to the corresponding monitored terminal 210, and send the query command to the position storage unit 223c; the position storage unit 223c also uses According to the location query instruction, the location query unit 222b feeds back the location information of the corresponding monitored terminal 210 at the query time point, or the motion track information during the query time period (corresponding to multiple reporting times) , to the monitoring terminal 230.

所述区域设定单元222c,用于监听监控终端230上报的区域设定信息,并将所述区域设定信息发送给所述区域管理单元223f;所述区域管理单元223f,根据所述区域设定信息设定被监控终端210的第一允许活动区域,并设定以所述第一允许活动区域的边界为基准延伸预定长度(比如1公里)得到的区域为第二允许活动区域,以及设定所述第一允许活动区域和第二允许活动区域之外的区域为禁止活动区域。所述区域设定单元222c还用于将相应的地图信息发送给监控终端230,在监控终端230上,监控用户可以通过在地图上点选以完成区域设定。The area setting unit 222c is configured to monitor the area setting information reported by the monitoring terminal 230, and send the area setting information to the area management unit 223f; the area management unit 223f, according to the area setting Set information to set the first allowed activity area of the monitored terminal 210, and set the area obtained by extending a predetermined length (such as 1 kilometer) based on the boundary of the first allowed activity area as the second allowed activity area, and set An area outside the first allowed activity area and the second allowed activity area is defined as a prohibited activity area. The area setting unit 222c is also used to send the corresponding map information to the monitoring terminal 230. On the monitoring terminal 230, the monitoring user can click on the map to complete the area setting.

另外,所述越界报警服务器220上还设置有存储器(未示出),所述存储器中存储有用于支撑上述被监控单元221、监控单元222和处理单元223功能的数据库和地图资源。In addition, the boundary-crossing alarm server 220 is also provided with a memory (not shown), which stores databases and map resources for supporting the functions of the monitored unit 221 , the monitoring unit 222 and the processing unit 223 .

本实施例中,所述越界报警服务器220优选为云越界报警服务器,并通过无线方式与被监控终端210及监控终端230通信。In this embodiment, the boundary-crossing alarm server 220 is preferably a cloud boundary-crossing alarm server, and communicates with the monitored terminal 210 and the monitoring terminal 230 in a wireless manner.

本实施例所述越界报警服务器,根据被监控终端与监控终端之间的授权对应关系,将报警信息准确发送至获取被监控终端授权的监控终端,在保证对被监控终端有效监控的情况下,还保证了持有被监控终端的被监控用户的隐私信息不被侵犯。The border-crossing alarm server in this embodiment, according to the authorization correspondence between the monitored terminal and the monitoring terminal, accurately sends the alarm information to the monitoring terminal authorized by the monitored terminal, under the condition of ensuring effective monitoring of the monitored terminal, It also ensures that the privacy information of the monitored user holding the monitored terminal is not violated.

实施例3Example 3

本实施例提供一种被监控终端,参见图3,所述被监控终端310包括:被监控定位单元314、被监控上报单元311、被监控接收单元312和被监控处理单元313。This embodiment provides a monitored terminal. Referring to FIG. 3 , the monitored terminal 310 includes: a monitored positioning unit 314 , a monitored reporting unit 311 , a monitored receiving unit 312 and a monitored processing unit 313 .

所述被监控定位单元314,用于对所述被监控终端进行定位,获取所述被监控终端的位置信息。所述被监控定位单元314可以采用卫星定位、基站定位,以及卫星和基站的混合定位方式进行定位。The monitored locating unit 314 is configured to locate the monitored terminal and obtain location information of the monitored terminal. The monitored positioning unit 314 can use satellite positioning, base station positioning, and a hybrid positioning method of satellite and base station for positioning.

所述被监控上报单元311,用于向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,向所述监控终端发送报警信息。其中,所述监控终端可以预先获取所述被监控终端的授权,并且所述监控终端可以预先设定区域设定信息以供越界报警服务器设定所述被监控终端的允许活动区域。The monitored reporting unit 311 is configured to report the location information to the boundary-crossing alarm server, so that the boundary-crossing alarm server can compare the location information with the area setting information reported by the monitoring terminal to determine whether the monitored Whether the current location of the terminal is outside the allowed activity area, and if yes, send alarm information to the monitoring terminal. Wherein, the monitoring terminal may obtain the authorization of the monitored terminal in advance, and the monitoring terminal may pre-set area setting information for the boundary-crossing alarm server to set the allowed activity area of the monitored terminal.

所述被监控接收单元312,用于接收所述越界报警服务器发送的越界结果通知。所述越界报警服务器会定期向被监控终端发送越界结果通知,所述越界结果通知用于提醒被监控终端当前位置是否在允许活动区域之外,以便于被监控终端及时调整自己的位置,以及调整自己的定位方式。The monitored receiving unit 312 is configured to receive the boundary-crossing result notification sent by the boundary-crossing alarm server. The boundary-crossing alarm server will regularly send a boundary-crossing result notification to the monitored terminal, and the boundary-crossing result notification is used to remind the monitored terminal whether the current position is outside the allowed activity area, so that the monitored terminal can adjust its position in time, and adjust own positioning.

所述被监控处理单元313,用于根据所述越界结果通知,控制所述被监控定位单元调整定位方式。The monitored processing unit 313 is configured to control the monitored positioning unit to adjust the positioning method according to the boundary-crossing result notification.

本实施例所述被监控终端与越界报警服务器进行信息交互,以供越界报警服务器判断是否越界,如果越界,由越界报警服务器向监控用户发送报警信息,同时该被监控终端还根据越界报警服务器发送的越界结果通知调整定位方式,以适应不同的应用需求,其有效避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。The monitored terminal described in this embodiment interacts with the boundary-crossing alarm server for the boundary-crossing alarm server to judge whether it is beyond the boundary. The out-of-boundary result notification adjusts the positioning method to adapt to different application requirements, which effectively avoids the problem that the out-of-boundary alarm cannot be realized when the monitored terminal fails, and improves the monitoring ability of the monitoring user to the monitored user.

可选的,optional,

参见图4,该监控终端具体可以是手持终端410,所述手持终端410包括:手持上报单元411、手持接收单元412、手持处理单元413、电量判断单元414和手持定位单元415。Referring to FIG. 4 , the monitoring terminal may specifically be a handheld terminal 410 , and the handheld terminal 410 includes: a handheld reporting unit 411 , a handheld receiving unit 412 , a handheld processing unit 413 , a power judging unit 414 and a handheld positioning unit 415 .

所述手持上报单元411,用于向越界报警服务器上报位置信息;The handheld reporting unit 411 is used to report the location information to the cross-border alarm server;

所述手持接收单元412,用于接收所述越界报警服务器发送的越界结果通知;The handheld receiving unit 412 is used to receive the boundary-crossing result notification sent by the boundary-crossing alarm server;

所述手持处理单元413,用于根据所述越界结果通知得知所述手持终端的当前位置是否在第一允许活动区域之外,如果是,向所述电量判断单元414发送电量判断通知,否则,向所述手持定位单元415发送基站定位通知;所述第一允许活动区域根据所述监控终端上报的区域设定信息设定,并且以所述第一允许活动区域的边界为基准延伸预定长度得到的区域为第二允许活动区域,所述第一允许活动区域和第二允许活动区域之外的区域为禁止活动区域;The hand-held processing unit 413 is configured to know whether the current position of the hand-held terminal is outside the first allowed activity area according to the boundary-crossing result notification, and if so, send a power judgment notification to the power judgment unit 414, otherwise , sending a base station positioning notification to the handheld positioning unit 415; the first allowed activity area is set according to the area setting information reported by the monitoring terminal, and extends a predetermined length based on the boundary of the first allowed activity area The obtained area is the second allowed activity area, and the area outside the first allowed activity area and the second allowed activity area is the forbidden activity area;

所述电量判断单元414,用于判断所述手持终端410的剩余电量是否低于预定电量,如果是,向所述手持定位单元415发送基站定位通知,否则,向所述手持定位单元415发送混合定位通知;The power judging unit 414 is used to judge whether the remaining power of the handheld terminal 410 is lower than a predetermined power, if so, send a base station positioning notification to the handheld positioning unit 415, otherwise, send a mixed location notification;

所述手持定位单元415,用于根据来自所述手持处理单元413的基站定位通知采用基站定位方式进行定位,并将定位结果通过所述所述手持上报单元411以第一频率上报给所述越界报警服务器,以及The handheld positioning unit 415 is configured to perform positioning by using a base station positioning method according to the base station positioning notification from the handheld processing unit 413, and report the positioning result to the cross-border position at a first frequency through the handheld reporting unit 411. alarm server, and

根据来自所述电量判断单元414的基站定位通知采用基站定位方式进行定位,将定位结果通过所述所述手持上报单元411以第一频率上报给所述越界报警服务器,并根据所述越界报警服务器反馈的卫星定位通知采用卫星定位方式进行定位,将定位结果通过所述所述手持上报单元411上报给所述越界报警服务器,以供所述越界报警服务器判断所述手持终端的当前位置是否在禁止活动区域,以及According to the base station positioning notification from the electric power judgment unit 414, the base station positioning method is used for positioning, and the positioning result is reported to the cross-boundary alarm server at the first frequency through the described handheld reporting unit 411, and according to the cross-boundary alarm server The feedback satellite positioning notification adopts the satellite positioning method for positioning, and the positioning result is reported to the cross-boundary alarm server through the handheld reporting unit 411, so that the cross-boundary alarm server can judge whether the current position of the handheld terminal is prohibited. activity area, and

根据所述混合定位通知采用混合定位方式进行定位,将定位结果通过所述手持上报单元411以第二频率上报给所述越界报警服务器,并根据所述越界报警服务器反馈的基站定位通知采用基站定位方式进行定位,将定位结果通过所述手持上报单元411上报给所述越界报警服务器,以供所述越界报警服务器判断最近两次定位结果之间的距离是否小于预定距离;According to the mixed positioning notification, the mixed positioning method is used for positioning, and the positioning result is reported to the cross-border alarm server at the second frequency through the handheld reporting unit 411, and the base station positioning is adopted according to the base station positioning notification fed back by the cross-boundary alarm server. Positioning is carried out in the same way, and the positioning result is reported to the cross-boundary alarm server through the handheld reporting unit 411, so that the cross-boundary alarm server can judge whether the distance between the latest two positioning results is less than a predetermined distance;

如果小于预订距离,执行下一步;否则,所述越界报警服务器通知手持定位单元415采用卫星定位方式获取精确位置信息,然后执行下一步;If it is less than the predetermined distance, execute the next step; otherwise, the cross-border alarm server notifies the handheld positioning unit 415 to obtain accurate position information by means of satellite positioning, and then executes the next step;

所述越界报警服务器根据最新的位置信息判断被监控终端的当前位置是否在禁止活动区域,如果是,向获取被监控终端授权的监控终端发送报警信息。The boundary-crossing alarm server judges whether the current location of the monitored terminal is in the prohibited activity area according to the latest location information, and if so, sends alarm information to the monitoring terminal authorized by the monitored terminal.

所述第一频率低于第二频率。The first frequency is lower than the second frequency.

本实施例所述手持终端,根据来自越界报警服务器的越界结果通知,以及自身的剩余电量,调整定位方式和上报位置信息的频率,从而有利于提高手持终端的续航能力,进一步保证监控用户对被监控用户的监控能力。The handheld terminal described in this embodiment adjusts the positioning method and the frequency of reporting position information according to the notification of the cross-border result from the cross-border alarm server and its own remaining power, thereby helping to improve the battery life of the handheld terminal and further ensuring that the monitoring user is accurate to the detected user. Monitor the user's monitoring capabilities.

可选的optional

参见图5,所述监控终端具体还可以为车载终端510,所述车载终端510包括:车载上报单元511、车载接收单元512、车载处理单元513和车载定位单元514。Referring to FIG. 5 , the monitoring terminal can specifically be a vehicle-mounted terminal 510 , and the vehicle-mounted terminal 510 includes: a vehicle-mounted reporting unit 511 , a vehicle-mounted receiving unit 512 , a vehicle-mounted processing unit 513 and a vehicle-mounted positioning unit 514 .

所述车载上报单元511,用于向越界报警服务器上报位置信息;The on-vehicle reporting unit 511 is used to report the position information to the cross-border alarm server;

所述车载接收单元512,用于接收所述越界报警服务器发送的越界结果通知;The on-vehicle receiving unit 512 is configured to receive the boundary-crossing result notification sent by the boundary-crossing alarm server;

所述车载处理单元513,用于根据所述越界结果通知得知所述车载终端的当前位置是否在第一允许活动区域之外,如果是,向所述车载上报单元发送高频上报通知,否则,向所述车载上报单元发送低频上报通知;所述第一允许活动区域根据所述监控终端上报的区域设定信息设定;The vehicle-mounted processing unit 513 is configured to know whether the current position of the vehicle-mounted terminal is outside the first allowed activity area according to the notification of the cross-border result, and if so, send a high-frequency report notification to the vehicle-mounted reporting unit, otherwise , sending a low-frequency report notification to the vehicle-mounted reporting unit; the first allowed activity area is set according to the area setting information reported by the monitoring terminal;

所述车载上报单元511,还用于根据所述高频上报通知以第四频率上报所述车载终端的位置信息,以及根据所述低频上报通知以第三频率上报所述车载终端的位置信息,所述第四频率高于所述第三频率;The vehicle-mounted reporting unit 511 is further configured to report the location information of the vehicle-mounted terminal with a fourth frequency according to the high-frequency report notification, and report the location information of the vehicle-mounted terminal with a third frequency according to the low-frequency report notification, the fourth frequency is higher than the third frequency;

所述车载定位单元514,用于采用卫星定位方式进行定位,并将定位结果发送给所述车载上报单元。The on-vehicle positioning unit 514 is configured to perform positioning by means of satellite positioning, and send the positioning result to the on-vehicle reporting unit.

本实施例所述车载终端,根据来自越界报警服务器的越界结果通知,调整上报位置信息的频率,由于车载终端主要采用卫星定位方式进行定位,其定位精确度更高,同时其定位过程耗能较多,通过调整上报信息的频率,有利于降低功耗,有利于该车载终端的推广应用。The vehicle-mounted terminal described in this embodiment adjusts the frequency of reporting location information according to the notification of the boundary-crossing result from the boundary-crossing alarm server. Since the vehicle-mounted terminal mainly uses satellite positioning for positioning, its positioning accuracy is higher, and its positioning process consumes less energy at the same time. More, by adjusting the frequency of reporting information, it is beneficial to reduce power consumption, which is conducive to the popularization and application of the vehicle terminal.

实施例4Example 4

本实施例提供一种监控终端,参见图6,所述监控终端630包括:区域设定单元631和报警接收单元632;This embodiment provides a monitoring terminal. Referring to FIG. 6, the monitoring terminal 630 includes: an area setting unit 631 and an alarm receiving unit 632;

所述区域设定单元631用于向越界报警服务器上报区域设定信息,以供所述越界报警服务器将被监控终端上报的位置信息与所述区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外。所述监控终端可以预先获得相应被监控终端的授权,进而,所述监控终端可以上报区域设定信息给所述越界报警服务器。所述越界报警服务器根据所述区域设定信息设定所述被监控终端的允许活动区域,并实时监控所述被监控终端是否位于允许活动区域之外。The area setting unit 631 is used to report area setting information to the boundary-crossing alarm server, so that the boundary-crossing alarm server compares the location information reported by the monitored terminal with the area setting information to determine whether the monitored terminal Whether the current location of the terminal is outside the allowed activity area. The monitoring terminal may obtain the authorization of the corresponding monitored terminal in advance, and further, the monitoring terminal may report area setting information to the boundary-crossing alarm server. The boundary-crossing alarm server sets the allowed activity area of the monitored terminal according to the area setting information, and monitors in real time whether the monitored terminal is located outside the allowed activity area.

所述报警接收单元632,用于在所述被监控终端的当前位置在所述允许活动区域之外时,接收所述越界报警服务器发送的报警信息。The alarm receiving unit 632 is configured to receive alarm information sent by the boundary-crossing alarm server when the current location of the monitored terminal is outside the allowed activity area.

本实施例所述监控终端与越界报警服务器进行信息交互,以供越界报警服务器设定被监控终端的允许活动区域,进而供越界报警服务器进行越界判断及适时报警,提高了监控用户对被监控用户的监控能力。The monitoring terminal described in this embodiment and the cross-border alarm server carry out information interaction, for the cross-boundary alarm server to set the allowed activity area of the monitored terminal, and then for the cross-boundary alarm server to perform cross-border judgment and timely alarm, which improves the monitoring user's awareness of the monitored user. monitoring capabilities.

实施例5Example 5

图7是本发明实施例5所述越界报警系统的结构示意图,如图7所示,所述越界报警系统700,包括越界报警服务器720、被监控终端710和监控终端730。7 is a schematic structural diagram of the boundary-crossing alarm system according to Embodiment 5 of the present invention. As shown in FIG. 7 , the boundary-crossing alarm system 700 includes a boundary-crossing alarm server 720 , a monitored terminal 710 and a monitoring terminal 730 .

所述越界报警服务器720具体详见本发明实施例1或2对所述越界报警服务器的描述,所述被监控终端710具体详见实施例3至5任一项对所述被监控终端的描述,所述监控终端730具体详见实施例6对所述监控终端的描述,在此不再赘述。For details of the boundary-crossing alarm server 720, refer to the description of the boundary-crossing alarm server in Embodiment 1 or 2 of the present invention, and for details of the monitored terminal 710, please refer to the description of any one of embodiments 3 to 5 for the monitored terminal. For details of the monitoring terminal 730, refer to the description of the monitoring terminal in Embodiment 6, and details are not repeated here.

本实施例所述越界报警系统,由监控用户通过监控终端设定被监控终端的允许活动区域,由越界报警服务器监听被监控终端上报的位置信息,并在持有被监控终端的被监控用户越界时,由越界报警服务器向监控用户发送报警信息,从而避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。In the cross-border alarm system described in this embodiment, the monitoring user sets the allowed activity area of the monitored terminal through the monitoring terminal, and the cross-border alarm server monitors the location information reported by the monitored terminal, and when the monitored user who holds the monitored terminal crosses the boundary , the cross-border alarm server sends alarm information to the monitoring user, thereby avoiding the problem of being unable to realize the cross-border alarm when the monitored terminal fails, and improving the monitoring ability of the monitoring user to the monitored user.

应该理解的是,本发明以下实施例的方法流程中,所划分的步骤是一种功能上的限定,在实现本发明目的的基础上,所述步骤可以划分为多个子步骤,多个所述步骤也可以合并至一个步骤来实现,本发明实施例对此不做限制。It should be understood that in the method flow of the following embodiments of the present invention, the divided steps are a functional limitation. On the basis of realizing the purpose of the present invention, the steps can be divided into multiple sub-steps. The steps may also be combined into one step for implementation, which is not limited in this embodiment of the present invention.

实施例6Example 6

图8是本发明实施例6所述越界报警方法流程图,如图8所示,所述方法包括步骤:Fig. 8 is a flow chart of the cross-border alarm method according to Embodiment 6 of the present invention. As shown in Fig. 8, the method includes steps:

810:监听被监控终端上报的位置信息。810: Monitor the location information reported by the monitored terminal.

820:根据预先获取的区域设定信息,设定被监控终端的允许活动区域,所述预先获取的区域设定信息是监控终端上报的区域设定信息。820: Set the allowed activity area of the monitored terminal according to the pre-acquired area setting information, where the pre-acquired area setting information is the area setting information reported by the monitoring terminal.

830:根据所述位置信息判断被监控终端的当前位置是否在所述允许活动区域之外,如果是,向监控终端发送报警信息。830: Determine whether the current location of the monitored terminal is outside the allowed activity area according to the location information, and if so, send alarm information to the monitoring terminal.

本实施例所述越界报警方法,由监控用户通过监控终端设定被监控终端的允许活动区域,由越界报警服务器监听被监控终端上报的位置信息,并在持有被监控终端的被监控用户越界时,由越界报警服务器向监控用户发送报警信息,从而避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。The border-crossing alarm method described in this embodiment, the monitoring user sets the allowed activity area of the monitored terminal through the monitoring terminal, and the border-crossing alarm server monitors the position information reported by the monitored terminal, and when the monitored user who holds the monitored terminal crosses the border , the cross-border alarm server sends alarm information to the monitoring user, thereby avoiding the problem of being unable to realize the cross-border alarm when the monitored terminal fails, and improving the monitoring ability of the monitoring user to the monitored user.

实施例7Example 7

本实施例7是在实施例6的基础上描述,具体描述如下:Present embodiment 7 is described on the basis of embodiment 6, specifically described as follows:

在所述步骤810之前还包括:Before the step 810, it also includes:

监听被监控终端上报的被监控终端ID和获取所述被监控终端授权的监控终端ID;monitoring the monitored terminal ID reported by the monitored terminal and obtaining the monitoring terminal ID authorized by the monitored terminal;

建立所述被监控终端ID和被授权的监控终端ID之间的对应关系表,根据该对应关系表可以确定获取被监控终端授权的监控终端。所述步骤830中,向监控终端发送报警信息具体包括:根据所述对应关系表,向获取被监控终端授权的监控终端发送报警信息。A correspondence table between the monitored terminal ID and the authorized monitoring terminal ID is established, and the monitoring terminal authorized by the monitored terminal can be determined according to the correspondence table. In the step 830, sending the alarm information to the monitoring terminal specifically includes: sending the alarm information to the monitoring terminal authorized by the monitored terminal according to the correspondence table.

以及在所述步骤810之前还可以包括:And before the step 810, it may also include:

判断是否收到被监控终端上报的第一关闭指令,如果是,则根据所述第一关闭指令,停止监听被监控终端上报的位置信息,并向监控终端发送报警信息;或者,Judging whether the first closing instruction reported by the monitored terminal is received, if so, then according to the first closing instruction, stop monitoring the location information reported by the monitored terminal, and send an alarm message to the monitoring terminal; or,

判断是否收到监控终端上报的第二关闭指令,如果是,则根据所述第二关闭指令,停止监听被监控终端上报的位置信息。Judging whether the second closing instruction reported by the monitoring terminal is received, and if yes, stop monitoring the location information reported by the monitored terminal according to the second closing instruction.

在所述步骤810之后还包括步骤:After said step 810, also include steps:

判断被监控终端上报位置信息的时间是否超时,如果是,向获取被监控终端授权的监控终端发送报警信息。It is judged whether the time for the monitored terminal to report the location information is overdue, and if yes, an alarm message is sent to the monitoring terminal authorized by the monitored terminal.

以及在所述步骤810之后还可以包括:And after the step 810 may also include:

监听监控终端上报的所述被监控终端的位置查询指令;monitoring the location query instruction of the monitored terminal reported by the monitoring terminal;

根据所述位置查询指令,反馈所述被监控终端在查询时间点的所述位置信息,或者,在查询时间段的运动轨迹信息(由多个所述上报时间对应的所述位置信息构成),给所述监控终端。According to the location query instruction, feeding back the location information of the monitored terminal at the query time point, or the motion track information during the query time period (consisting of a plurality of the location information corresponding to the reporting time), to the monitoring terminal.

其中,所述位置信息包括以下参数:经度、维度、误差范围、被监控终端ID和被监控终端状态。被监控终端包括:手持终端和/或车载终端;当被监控终端为手持终端时,终端状态记录手持终端的电池剩余电量;当被监控终端为车载终端时,终端状态记录车载终端运行状态。Wherein, the location information includes the following parameters: longitude, latitude, error range, monitored terminal ID and monitored terminal status. The monitored terminal includes: a handheld terminal and/or a vehicle-mounted terminal; when the monitored terminal is a handheld terminal, the terminal status records the remaining battery power of the handheld terminal; when the monitored terminal is a vehicle-mounted terminal, the terminal status records the operating status of the vehicle-mounted terminal.

所述步骤820具体包括:The step 820 specifically includes:

根据预先获取的区域设定信息设定被监控终端的第一允许活动区域;Setting the first allowed activity area of the monitored terminal according to the pre-acquired area setting information;

设定以所述第一允许活动区域的边界为基准,延伸预定长度得到的区域,为第二允许活动区域;Setting an area obtained by extending a predetermined length based on the boundary of the first allowed activity area as the second allowed activity area;

设定所述第一允许活动区域和第二允许活动区域之外的区域,为禁止活动区域。An area other than the first allowed activity area and the second allowed activity area is set as a prohibited activity area.

本实施例所述越界报警方法,根据被监控终端与监控终端之间的授权对应关系,将报警信息准确发送至获取被监控终端授权的监控终端,在保证对被监控终端有效监控的情况下,还保证了持有被监控终端的被监控用户的隐私信息不被侵犯。The cross-border alarm method described in this embodiment, according to the authorization correspondence between the monitored terminal and the monitoring terminal, accurately sends the alarm information to the monitoring terminal authorized by the monitored terminal, under the condition of ensuring effective monitoring of the monitored terminal, It also ensures that the privacy information of the monitored user holding the monitored terminal is not violated.

实施例8Example 8

本实施例提供一种基于被监控终端的越界报警方法,参见图9,所述基于被监控终端的越界报警方法包括步骤:This embodiment provides a method for alarming out of bounds based on a monitored terminal. Referring to FIG. 9, the method for alarming out of bounds based on a monitored terminal includes steps:

910:进行定位,获取位置信息。该步骤可以采用卫星定位、基站定位,以及卫星和基站的混合定位方式完成。910: Perform positioning and obtain location information. This step can be completed by using satellite positioning, base station positioning, and a mixed positioning method of satellite and base station.

920:向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断当前位置是否在所述允许活动区域之外,如果是,所述越界报警服务器向所述监控终端发送报警信息。其中,所述监控终端可以预先获取所述被监控终端的授权,并且所述监控终端可以预先设定区域设定信息以供越界报警服务器设定所述被监控终端的允许活动区域。920: Report the location information to the boundary-crossing alarm server, so that the boundary-crossing alarm server compares the location information with the area setting information reported by the monitoring terminal to determine whether the current location is outside the allowed activity area, If yes, the boundary-crossing alarm server sends alarm information to the monitoring terminal. Wherein, the monitoring terminal may obtain the authorization of the monitored terminal in advance, and the monitoring terminal may pre-set area setting information for the boundary-crossing alarm server to set the allowed activity area of the monitored terminal.

930:接收所述越界报警服务器发送的越界结果通知。所述越界报警服务器会定期向被监控终端发送越界结果通知,所述越界结果通知用于提醒被监控终端当前位置是否在允许活动区域之外,以便于被监控终端及时调整自己的位置,以及调整自己的定位方式。930: Receive a border crossing result notification sent by the border crossing alarm server. The boundary-crossing alarm server will regularly send a boundary-crossing result notification to the monitored terminal, and the boundary-crossing result notification is used to remind the monitored terminal whether the current position is outside the allowed activity area, so that the monitored terminal can adjust its position in time, and adjust own positioning.

940:根据所述越界结果通知,调整定位方式。940: Adjust the positioning method according to the notification of the cross-border result.

本实施例所述被监控终端与越界报警服务器进行信息交互,以供越界报警服务器判断是否越界,如果越界,由越界报警服务器向监控用户发送报警信息,同时该被监控终端还根据越界报警服务器发送的越界结果通知调整定位方式,以适应不同的应用需求,其有效避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。The monitored terminal described in this embodiment interacts with the boundary-crossing alarm server for the boundary-crossing alarm server to judge whether it is beyond the boundary. The out-of-boundary result notification adjusts the positioning method to adapt to different application requirements, which effectively avoids the problem that the out-of-boundary alarm cannot be realized when the monitored terminal fails, and improves the monitoring ability of the monitoring user to the monitored user.

可选的,optional,

该被监控终端为手持终端,所述步骤940:根据所述越界结果通知,调整定位方式,具体为:The monitored terminal is a handheld terminal, and the step 940: adjust the positioning method according to the notification of the cross-border result, specifically:

根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送电量判断通知,否则,发送第一定位通知。所述第一定位通知一般为基站定位通知。所述第一允许活动区域根据所述监控终端上报的区域设定信息设定,并且以所述第一允许活动区域的边界为基准延伸预定长度得到的区域为第二允许活动区域,所述第一允许活动区域和第二允许活动区域之外的区域为禁止活动区域。Whether the current location is outside the first allowed activity area is acquired according to the boundary-crossing result notification, and if so, a battery capacity judgment notification is sent; otherwise, a first positioning notification is sent. The first positioning notification is generally a base station positioning notification. The first allowed activity area is set according to the area setting information reported by the monitoring terminal, and the area obtained by extending a predetermined length based on the boundary of the first allowed activity area is the second allowed activity area. The area outside the first allowed activity area and the second allowed activity area is the prohibited activity area.

当接收到所述电量判断通知,则判断剩余电量是否低于预定电量,如果是,发送第一定位通知,否则,发送第二定位通知。所述第二定位通知一般为混合定位通知。When receiving the power judgment notification, it is judged whether the remaining power is lower than the predetermined power, if yes, the first location notification is sent, otherwise, the second location notification is sent. The second positioning notification is generally a hybrid positioning notification.

当接收到所述第一定位通知,根据所述第一定位通知采用第一定位方式进行定位,并将获取的所述位置信息以第一频率上报给所述越界报警服务器。所述第一定位方式,即基站定位方式。When the first positioning notification is received, the first positioning method is used to perform positioning according to the first positioning notification, and the acquired location information is reported to the boundary-crossing alarm server at a first frequency. The first positioning mode is a base station positioning mode.

当接收到所述第二定位通知,根据所述第二定位通知采用第二定位方式进行定位,将获取的所述位置信息以第二频率上报给所述越界报警服务器。所述第二定位方式,即卫星与基站相混合的定位方式。When the second positioning notification is received, the second positioning method is used to perform positioning according to the second positioning notification, and the acquired location information is reported to the boundary-crossing alarm server at a second frequency. The second positioning method is a positioning method in which satellites and base stations are mixed.

其中,所述第一频率低于第二频率。Wherein, the first frequency is lower than the second frequency.

并且,所述越界报警服务器判断被监控终端的当前位置是否在第一允许活动区域之外时,判断步骤如下:And, when the cross-border alarm server judges whether the current position of the monitored terminal is outside the first allowed activity area, the judgment steps are as follows:

当R>(S/P)时,如果所述经度和维度确定的位置中心点在第一允许活动区域之外,则认为被监控终端的当前位置在第一允许活动区域之外,否则,认为被监控终端的当前位置不在第一允许活动区域之外;When R>(S/P), if the center point of the location determined by the longitude and latitude is outside the first allowed activity area, the current location of the monitored terminal is considered to be outside the first allowed activity area; otherwise, it is considered The current location of the monitored terminal is not outside the first allowed activity area;

当R≤(S/P)时,如果(S’∩S)>(S’/4),则认为被监控终端的当前位置不在第一允许活动区域之外,否则,认为被监控终端的当前位置在第一允许活动区域之外;When R≤(S/P), if (S'∩S)>(S'/4), it is considered that the current location of the monitored terminal is not outside the first allowed activity area; otherwise, it is considered that the current location of the monitored terminal is The location is outside the first permitted activity zone;

其中,R表示监控终端的误差半径,P为常数,S表示第一允许活动区域的面积,S’表示监控终端的误差面积。Wherein, R represents the error radius of the monitoring terminal, P is a constant, S represents the area of the first allowed activity area, and S' represents the error area of the monitoring terminal.

本实施例所述基于手持终端的越界报警方法,根据来自越界报警服务器的越界结果通知,以及自身的剩余电量,调整定位方式和上报位置信息的频率,从而有利于提高手持终端的续航能力,进一步保证监控用户对被监控用户的监控能力。The boundary-crossing alarm method based on the handheld terminal described in this embodiment adjusts the positioning method and the frequency of reporting position information according to the notification of the boundary-crossing result from the boundary-crossing alarm server and its own remaining power, thereby helping to improve the battery life of the handheld terminal. Ensure the ability of the monitoring user to monitor the monitored user.

可选的optional

该被监控终端为车载终端,主要采用卫星定位方式获取所述位置信息,只有当车载终端通过隧道等无法卫星定位的区域时,临时采用基站定位方式。The monitored terminal is a vehicle-mounted terminal, which mainly uses satellite positioning to obtain the location information. Only when the vehicle-mounted terminal passes through an area where satellite positioning cannot be performed, such as a tunnel, base station positioning is temporarily used.

所述步骤910:进行定位,获取位置信息,具体为:采用第三定位方式进行定位,获取位置信息,只有当车载终端通过隧道等无法卫星定位的区域时,临时采用基站定位方式。The step 910: perform positioning and obtain location information, specifically: use the third positioning method for positioning and obtain location information, and only when the vehicle-mounted terminal passes through an area where satellite positioning cannot be performed, such as a tunnel, temporarily use the base station positioning method.

步骤940:根据所述越界结果通知,调整定位方式,具体包括:Step 940: Adjust the positioning method according to the notification of the out-of-bounds result, specifically including:

根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送高频上报通知,否则,发送低频上报通知;Obtaining whether the current position is outside the first allowed activity area according to the boundary-crossing result notification, if yes, sending a high-frequency report notification, otherwise, sending a low-frequency report notification;

当接收到高频上报通知时,以第四频率上报所述位置信息;When receiving a high-frequency report notification, report the location information at a fourth frequency;

当接收到低频上报通知时,以第三频率上报所述位置信息;When receiving a low-frequency reporting notification, report the location information at a third frequency;

其中,所述第四频率高于所述第三频率。Wherein, the fourth frequency is higher than the third frequency.

本实施例所述基于车载终端的越界报警方法,根据来自越界报警服务器的越界结果通知,调整上报位置信息的频率,由于车载终端主要采用卫星定位方式进行定位,其定位精确度更高,同时其定位过程耗能较多,通过调整上报信息的频率,有利于降低功耗,有利于该车载终端的推广应用。The vehicle-mounted terminal-based cross-boundary alarm method described in this embodiment adjusts the frequency of reporting location information according to the notification of the cross-boundary result from the cross-boundary alarm server. Since the vehicle-mounted terminal mainly uses satellite positioning for positioning, its positioning accuracy is higher. The positioning process consumes a lot of energy. By adjusting the frequency of reporting information, it is beneficial to reduce power consumption and facilitate the popularization and application of the vehicle terminal.

图10是本发明所述越界报警服务器的硬件结构示意图,如图10所示,本发明所述越界报警服务器1000与现有计算机相类似,其通过网络接口1010与外部设备进行信息交互,如接收被监控终端上报的位置信息、接收监控终端上报的区域设定信息等;其通过处理器1020对来自外部设备的信息进行处理,如根据区域设定信息设定允许活动区域,根据位置信息判断被监控终端是否越界等。Fig. 10 is a schematic diagram of the hardware structure of the boundary-crossing alarm server of the present invention. As shown in Fig. 10, the boundary-crossing alarm server 1000 of the present invention is similar to an existing computer, and it performs information interaction with external devices through a network interface 1010, such as receiving The location information reported by the monitored terminal, the area setting information reported by the receiving monitoring terminal, etc.; it processes the information from the external device through the processor 1020, such as setting the allowed activity area according to the area setting information, and judging the area being monitored according to the location information. Monitor whether the terminal crosses the boundary, etc.

本发明实施例所述越界报警服务器、被监控终端、监控终端、系统及方法,由获取授权监控用户通过监控终端设定被监控终端的允许活动区域,由越界报警服务器监听被监控终端上报的位置信息,并在持有被监控终端的被监控用户越界时,由越界报警服务器向获取授权的监控用户发送报警信息,从而避免了被监控终端故障时,无法实现越界报警的问题,提高了监控用户对被监控用户的监控能力。同时,所述越界报警服务器采用云越界报警服务器,便于监控人员管理;基于分级区域和电量控制的节电方式,提高了被监控终端的电池续航能力。The border-crossing alarm server, monitored terminal, monitoring terminal, system and method described in the embodiment of the present invention, the authorized monitoring user sets the allowed activity area of the monitored terminal through the monitoring terminal, and the border-crossing alarm server monitors the position reported by the monitored terminal information, and when the monitored user holding the monitored terminal crosses the border, the border-crossing alarm server sends an alarm message to the authorized monitoring user, thereby avoiding the problem that the border-crossing alarm cannot be realized when the monitored terminal fails, and improving the monitoring user The ability to monitor monitored users. At the same time, the boundary-crossing alarm server adopts a cloud boundary-crossing alarm server, which is convenient for monitoring personnel to manage; based on the power-saving mode of hierarchical area and power control, the battery life of the monitored terminal is improved.

本领域普通技术人员将会理解,本发明的各个方面、或各个方面的可能实现方式可以被具体实施为系统、方法或者计算机程序产品。因此,本发明的各方面、或各个方面的可能实现方式可以采用完全硬件实施例、完全软件实施例(包括固件、驻留软件等等),或者组合软件和硬件方面的实施例的形式,在这里都统称为“电路”、“单元”或者“系统”。此外,本发明的各方面、或各个方面的可能实现方式可以采用计算机程序产品的形式,计算机程序产品是指存储在计算机可读介质中的计算机可读程序代码。Those of ordinary skill in the art will understand that various aspects of the present invention, or possible implementations of various aspects, may be embodied as systems, methods or computer program products. Accordingly, aspects of the present invention, or possible implementations of various aspects, may take the form of an entirely hardware embodiment, an entirely software embodiment (including firmware, resident software, etc.), or an embodiment combining software and hardware aspects, described in These are collectively referred to herein as "circuits", "units" or "systems". In addition, aspects of the present invention, or possible implementations of various aspects, may take the form of computer program products, and computer program products refer to computer-readable program codes stored in computer-readable media.

计算机可读介质可以是计算机可读信号介质或者计算机可读存储介质。计算机可读存储介质包含但不限于电子、磁性、光学、电磁、红外或半导体系统、设备或者装置,或者前述的任意适当组合,如随机存取存储器(RAM)、只读存储器(ROM)、可擦除可编程只读存储器(EPROM或者快闪存储器)、光纤、便携式只读存储器(CD-ROM)。The computer readable medium may be a computer readable signal medium or a computer readable storage medium. Computer-readable storage media include, but are not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or devices, or any suitable combination of the foregoing, such as random access memory (RAM), read-only memory (ROM), Erase Programmable Read-Only Memory (EPROM or Flash), Fiber Optic, Portable Read-Only Memory (CD-ROM).

计算机中的处理单元读取存储在计算机可读介质中的计算机可读程序代码,使得处理单元能够执行在流程图中每个步骤、或各步骤的组合中规定的功能动作;生成实施在框图的每一块、或各块的组合中规定的功能动作的装置。The processing unit in the computer reads the computer-readable program code stored in the computer-readable medium, so that the processing unit can execute the functional actions specified in each step in the flow chart, or a combination of steps; A device that performs functional actions specified in each block or a combination of blocks.

计算机可读程序代码可以完全在用户的计算机上执行、部分在用户的计算机上执行、作为单独的软件包、部分在用户的计算机上并且部分在远程计算机上,或者完全在远程计算机或者越界报警服务器上执行。也应该注意,在某些替代实施方案中,在流程图中各步骤、或框图中各块所注明的功能可能不按图中注明的顺序发生。例如,依赖于所涉及的功能,接连示出的两个步骤、或两个块实际上可能被大致同时执行,或者这些块有时候可能被以相反顺序执行。The computer readable program code may execute entirely on the user's computer, partly on the user's computer, as a separate software package, partly on the user's computer and partly on a remote computer, or entirely on the remote computer or server. to execute. It should also be noted that, in some alternative implementations, the functions noted at the steps in the flowcharts or blocks in the block diagrams may occur out of the order noted in the figures. For example, two steps, or two blocks shown in succession, may in fact be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved.

显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalent technologies, the present invention also intends to include these modifications and variations.

Claims (25)

1.一种越界报警服务器,其特征在于,包括:被监控单元、监控单元和处理单元;1. A border-crossing alarm server, characterized in that, comprises: a monitored unit, a monitoring unit and a processing unit; 所述被监控单元,用于监听被监控终端上报的位置信息,并将所述位置信息发送给所述处理单元;The monitored unit is configured to monitor the location information reported by the monitored terminal, and send the location information to the processing unit; 所述监控单元,用于监听监控终端上报的区域设定信息,并将所述区域设定信息发送给所述处理单元;The monitoring unit is configured to monitor the area setting information reported by the monitoring terminal, and send the area setting information to the processing unit; 所述处理单元,用于根据所述区域设定信息设定所述被监控终端的允许活动区域,以及根据所述位置信息判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,向所述监控终端发送报警信息。The processing unit is configured to set the allowed activity area of the monitored terminal according to the area setting information, and determine whether the current location of the monitored terminal is outside the allowed activity area according to the location information , if yes, send alarm information to the monitoring terminal. 2.如权利要求1所述的越界报警服务器,其特征在于,所述被监控单元包括:授权单元;所述处理单元包括:权限管理单元;2. The boundary-crossing alarm server according to claim 1, wherein the monitored unit comprises: an authorization unit; the processing unit comprises: a rights management unit; 所述授权单元,用于监听所述被监控终端上报的被监控终端ID和获取所述被监控终端授权的监控终端ID,并将所述被监控终端ID和所述监控终端ID发送给所述权限管理单元;The authorization unit is configured to monitor the monitored terminal ID reported by the monitored terminal and acquire the monitoring terminal ID authorized by the monitored terminal, and send the monitored terminal ID and the monitoring terminal ID to the Authority management unit; 所述权限管理单元,用于建立所述被监控终端ID和所述监控终端ID之间的对应关系表。The authority management unit is configured to establish a correspondence table between the monitored terminal ID and the monitoring terminal ID. 3.如权利要求2所述的越界报警服务器,其特征在于,所述处理单元还包括:区域管理单元;3. The boundary-crossing alarm server according to claim 2, wherein the processing unit further comprises: an area management unit; 所述区域管理单元,用于根据获取所述被监控终端授权的监控终端上报的区域设定信息,设定所述被监控终端的允许活动区域。The area management unit is configured to set the allowed activity area of the monitored terminal according to the area setting information reported by the monitoring terminal authorized by the monitored terminal. 4.如权利要求3所述的越界报警服务器,其特征在于,所述监控单元包括:区域设定单元;所述区域设定单元,用于监听获取所述被监控终端授权的监控终端上报的区域设定信息,并将所述区域设定信息发送给所述区域管理单元;4. The cross-border alarm server according to claim 3, wherein the monitoring unit comprises: an area setting unit; the area setting unit is used to monitor and obtain the information reported by the monitoring terminal authorized by the monitored terminal. area setting information, and sending the area setting information to the area management unit; 所述区域管理单元,根据所述区域设定信息设定被监控终端的第一允许活动区域,并设定以所述第一允许活动区域的边界为基准延伸预定长度得到的区域为第二允许活动区域,以及设定所述第一允许活动区域和第二允许活动区域之外的区域为禁止活动区域。The area management unit sets the first allowed activity area of the monitored terminal according to the area setting information, and sets an area obtained by extending a predetermined length based on the boundary of the first allowed activity area as the second allowed area. an activity area, and setting an area other than the first allowed activity area and the second allowed activity area as a prohibited activity area. 5.如权利要求2所述的越界报警服务器,其特征在于,所述被监控单元还包括:位置上报单元;所述处理单元还包括:位置存储单元、越界判断单元和告警单元;5. The boundary-crossing alarm server according to claim 2, wherein the monitored unit further comprises: a position reporting unit; the processing unit further comprises: a position storage unit, a boundary-crossing judging unit and an alarm unit; 所述位置上报单元,用于监听所述被监控终端上报的位置信息,并将所述位置信息发送给所述位置存储单元;The location reporting unit is configured to monitor the location information reported by the monitored terminal, and send the location information to the location storage unit; 所述位置存储单元,用于存储所述位置信息及所述位置信息对应的上报时间;The location storage unit is used to store the location information and the reporting time corresponding to the location information; 所述越界判断单元,用于根据所述位置信息判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,触发所述告警单元;The boundary-crossing judging unit is used to judge whether the current location of the monitored terminal is outside the allowed activity area according to the location information, and if so, trigger the alarm unit; 所述告警单元,用于根据所述对应关系表和所述越界判断单元的触发,向获取所述被监控终端授权的监控终端发送报警信息。The alarm unit is configured to send alarm information to the monitoring terminal authorized by the monitored terminal according to the corresponding relationship table and the triggering of the boundary-crossing judging unit. 6.如权利要求5所述的越界报警服务器,其特征在于,所述位置存储单元,具体用于存储所述位置信息及相应的上报时间,所述位置信息包括:经度、维度、误差范围、被监控终端ID和被监控终端状态。6. The cross-border alarm server according to claim 5, wherein the location storage unit is specifically used to store the location information and the corresponding reporting time, the location information includes: longitude, latitude, error range, Monitored terminal ID and monitored terminal status. 7.如权利要求5或者6所述的越界报警服务器,其特征在于,所述监控单元还包括:位置查询单元;7. The boundary-crossing alarm server as claimed in claim 5 or 6, wherein the monitoring unit further comprises: a position query unit; 所述位置查询单元,用于监听所述监控终端上报的对相应的被监控终端的位置查询指令,并将所述位置查询指令发送给所述位置存储单元;The location query unit is configured to monitor the location query instruction reported by the monitoring terminal to the corresponding monitored terminal, and send the location query instruction to the location storage unit; 所述位置存储单元,还用于根据所述位置查询指令,向所述位置查询单元发送所述位置信息,或者,由多个所述上报时间对应的位置信息构成的轨迹信息。The location storage unit is further configured to send the location information to the location query unit according to the location query instruction, or track information composed of a plurality of location information corresponding to the reporting time. 8.如权利要求2至7任一项所述的越界报警服务器,其特征在于,所述被监控单元还包括:被监控开关单元;所述处理单元还包括:开关单元;8. The cross-border alarm server according to any one of claims 2 to 7, wherein the monitored unit further comprises: a monitored switch unit; the processing unit further comprises a switch unit; 所述被监控开关单元,用于监听所述被监控终端上报的第一关闭指令,并将所述第一关闭指令发送给所述开关单元;The monitored switch unit is configured to monitor the first closing instruction reported by the monitored terminal, and send the first closing instruction to the switching unit; 所述开关单元,用于根据所述第一关闭指令,触发所述告警单元,并通知所述位置上报单元停止监听所述被监控终端上报的位置信息。The switch unit is configured to trigger the alarm unit according to the first closing instruction, and notify the location reporting unit to stop listening to the location information reported by the monitored terminal. 9.如权利要求8所述的越界报警服务器,其特征在于,所述监控单元还包括:监控开关单元;9. The boundary-crossing alarm server according to claim 8, wherein the monitoring unit further comprises: a monitoring switch unit; 所述监控开关单元,用于监听监控终端上报的第二关闭指令,并将所述第二关闭指令发送给所述开关单元;The monitoring switch unit is configured to monitor a second closing instruction reported by the monitoring terminal, and send the second closing instruction to the switching unit; 所述开关单元,用于根据所述第二关闭指令通知所述位置上报单元停止监听所述被监控终端上报的位置信息。The switch unit is configured to notify the location reporting unit to stop listening to the location information reported by the monitored terminal according to the second closing instruction. 10.如权利要求1至9任一项所述的越界报警服务器,其特征在于,所述越界报警服务器为云越界报警服务器。10. The boundary-crossing alarm server according to any one of claims 1 to 9, characterized in that, the boundary-crossing alarm server is a cloud boundary-crossing alarm server. 11.一种被监控终端,其特征在于,所述被监控终端包括:被监控定位单元、被监控上报单元、被监控接收单元和被监控处理单元;11. A monitored terminal, characterized in that the monitored terminal comprises: a monitored positioning unit, a monitored reporting unit, a monitored receiving unit, and a monitored processing unit; 所述被监控定位单元,用于对所述被监控终端进行定位,获取所述被监控终端的位置信息;The monitored positioning unit is configured to locate the monitored terminal and obtain location information of the monitored terminal; 所述被监控上报单元,用于向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外,如果是,所述越界报警服务器向所述监控终端发送报警信息;The monitored reporting unit is configured to report the location information to the boundary-crossing alarm server, so that the boundary-crossing alarm server can compare the location information with the area setting information reported by the monitoring terminal to determine whether the monitored terminal Whether the current position of the user is outside the allowed activity area, if so, the cross-border alarm server sends alarm information to the monitoring terminal; 所述被监控接收单元,用于接收所述越界报警服务器发送的越界结果通知;The monitored receiving unit is configured to receive the boundary-crossing result notification sent by the boundary-crossing alarm server; 所述被监控处理单元,用于根据所述越界结果通知,控制所述被监控定位单元调整定位方式。The monitored processing unit is configured to control the monitored positioning unit to adjust a positioning method according to the boundary-crossing result notification. 12.如权利要求11所述的被监控终端,其特征在于,所述被监控终端为手持终端;12. The monitored terminal according to claim 11, wherein the monitored terminal is a handheld terminal; 所述手持终端还包括:电量判断单元;The handheld terminal also includes: a power judgment unit; 所述被监控处理单元,具体用于根据所述越界结果通知获取所述手持终端的当前位置是否在第一允许活动区域之外,如果是,向所述电量判断单元发送电量判断通知,否则,向所述被监控定位单元发送第一定位通知;The monitored processing unit is specifically used to obtain whether the current position of the handheld terminal is outside the first allowed activity area according to the notification of the cross-border result, and if so, send a power judgment notification to the power judgment unit, otherwise, sending a first positioning notification to the monitored positioning unit; 所述电量判断单元,用于判断所述手持终端的剩余电量是否低于预定电量,如果是,向所述被监控定位单元发送第一定位通知,否则,向所述被监控定位单元发送第二定位通知;The power judging unit is used to judge whether the remaining power of the handheld terminal is lower than a predetermined power, if so, send a first positioning notification to the monitored positioning unit, otherwise, send a second positioning notification to the monitored positioning unit location notification; 所述被监控定位单元,具体用于根据所述第一定位通知采用第一定位方式进行定位,并将获取的所述位置信息通过所述被监控上报单元以第一频率上报给所述越界报警服务器,或者,The monitored positioning unit is specifically configured to perform positioning according to the first positioning notification using a first positioning method, and report the acquired position information to the cross-border alarm at a first frequency through the monitored reporting unit server, or, 根据所述第二定位通知采用第二定位方式进行定位,将获取的所述位置信息通过所述被监控上报单元以第二频率上报给所述越界报警服务器。Positioning is performed by using a second positioning method according to the second positioning notification, and reporting the acquired position information to the boundary-crossing alarm server at a second frequency through the monitored reporting unit. 13.如权利要求11所述的被监控终端,其特征在于,所述被监控终端为车载终端;13. The monitored terminal according to claim 11, wherein the monitored terminal is a vehicle-mounted terminal; 所述被监控处理单元,具体用于根据所述越界结果通知获取所述车载终端的当前位置是否在第一允许活动区域之外,如果是,向所述被监控上报单元发送高频上报通知,否则,向所述被监控上报单元发送低频上报通知;The monitored processing unit is specifically configured to obtain whether the current position of the vehicle-mounted terminal is outside the first allowed activity area according to the notification of the transgression result, and if so, send a high-frequency report notification to the monitored reporting unit, Otherwise, send a low-frequency reporting notification to the monitored reporting unit; 所述被监控定位单元,具体用于采用第三定位方式进行定位,获取所述位置信息;The monitored positioning unit is specifically used to perform positioning using a third positioning method and obtain the position information; 所述被监控上报单元,具体用于根据所述高频上报通知以第四频率上报所述被监控定位单元获取的所述位置信息,或者,根据所述低频上报通知以第三频率上报所述被监控定位单元获取的所述位置信息,所述第四频率高于所述第三频率。The monitored reporting unit is specifically configured to report the location information acquired by the monitored positioning unit at a fourth frequency according to the high-frequency reporting notification, or report the location information at a third frequency according to the low-frequency reporting notification. For the location information acquired by the monitoring and positioning unit, the fourth frequency is higher than the third frequency. 14.一种监控终端,其特征在于,包括:区域设定单元和报警接收单元;14. A monitoring terminal, characterized in that it comprises: an area setting unit and an alarm receiving unit; 所述区域设定单元用于向越界报警服务器上报区域设定信息,以供所述越界报警服务器将被监控终端上报的位置信息与所述区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外;The area setting unit is used to report area setting information to the boundary-crossing alarm server, so that the boundary-crossing alarm server compares the location information reported by the monitored terminal with the area setting information to determine whether the monitored terminal Whether the current location of the user is outside the allowed activity area; 所述报警接收单元,用于在所述被监控终端的当前位置在所述允许活动区域之外时,接收所述越界报警服务器发送的报警信息。The alarm receiving unit is configured to receive the alarm information sent by the boundary-crossing alarm server when the current position of the monitored terminal is outside the allowed activity area. 15.一种越界报警系统,其特征在于,包括:权利要求1至10任一项所述的越界报警服务器、权利要求11至13任一项的被监控终端和权利要求14所述的监控终端。15. A boundary-crossing alarm system, characterized in that it comprises: the boundary-crossing alarm server according to any one of claims 1 to 10, the monitored terminal according to any one of claims 11 to 13, and the monitoring terminal according to claim 14 . 16.一种越界报警方法,其特征在于,包括步骤:16. A cross-border alarm method, characterized in that, comprising the steps: 监听被监控终端上报的位置信息;Monitor the location information reported by the monitored terminal; 根据预先获取的区域设定信息,设定被监控终端的允许活动区域,所述预先获取的区域设定信息是监控终端上报的区域设定信息;Set the allowed activity area of the monitored terminal according to the pre-acquired area setting information, the pre-acquired area setting information is the area setting information reported by the monitoring terminal; 根据所述位置信息判断被监控终端的当前位置是否在所述允许活动区域之外,如果是,向监控终端发送报警信息。Judging whether the current location of the monitored terminal is outside the allowed activity area according to the location information, and if so, sending an alarm message to the monitoring terminal. 17.如权利要求16所述的方法,其特征在于,所述监听被监控终端上报的位置信息之后,所述方法还包括:17. The method according to claim 16, characterized in that, after monitoring the location information reported by the monitored terminal, the method further comprises: 根据所述位置信息,判断被监控终端上报位置信息的时间是否超时,如果是,向监控终端发送报警信息。According to the location information, it is judged whether the time for the monitored terminal to report the location information is overtime, and if yes, an alarm message is sent to the monitoring terminal. 18.如权利要求16或17所述的方法,其特征在于,所述监听被监控终端上报的位置信息之前,所述方法还包括:18. The method according to claim 16 or 17, wherein before the monitoring of the location information reported by the monitored terminal, the method further comprises: 判断是否收到被监控终端上报的第一关闭指令,如果是,则根据所述第一关闭指令,停止监听被监控终端上报的位置信息,并向监控终端发送报警信息;或者,Judging whether the first closing instruction reported by the monitored terminal is received, if so, then according to the first closing instruction, stop monitoring the location information reported by the monitored terminal, and send an alarm message to the monitoring terminal; or, 判断是否收到监控终端上报的第二关闭指令,如果是,则根据所述第二关闭指令,停止监听被监控终端上报的位置信息。Judging whether the second closing instruction reported by the monitoring terminal is received, and if yes, stop monitoring the location information reported by the monitored terminal according to the second closing instruction. 19.如权利要求16至18任一项所述的方法,其特征在于,所述方法还包括:19. The method according to any one of claims 16 to 18, further comprising: 监听被监控终端上报的被监控终端ID和获取所述被监控终端授权的监控终端ID;monitoring the monitored terminal ID reported by the monitored terminal and obtaining the monitoring terminal ID authorized by the monitored terminal; 建立所述被监控终端ID和被授权的监控终端ID之间的对应关系表;Establishing a correspondence table between the monitored terminal ID and the authorized monitoring terminal ID; 所述向监控终端发送报警信息具体包括:根据所述对应关系表,向获取被监控终端授权的监控终端发送报警信息。The sending the alarm information to the monitoring terminal specifically includes: sending the alarm information to the monitoring terminal authorized by the monitored terminal according to the correspondence table. 20.如权利要求16至19任一项所述的方法,其特征在于,所述位置信息包括以下参数:经度、维度、误差范围、被监控终端ID和被监控终端状态。20. The method according to any one of claims 16 to 19, wherein the location information includes the following parameters: longitude, latitude, error range, monitored terminal ID and monitored terminal status. 21.如权利要求20所述的方法,其特征在于,所述根据预先获取的区域设定信息,设定被监控终端的允许活动区域,具体包括:21. The method according to claim 20, wherein the setting the allowed activity area of the monitored terminal according to the pre-acquired area setting information specifically includes: 根据预先获取的区域设定信息设定被监控终端的第一允许活动区域;Setting the first allowed activity area of the monitored terminal according to the pre-acquired area setting information; 设定以所述第一允许活动区域的边界为基准,延伸预定长度得到的区域,为第二允许活动区域;Setting an area obtained by extending a predetermined length based on the boundary of the first allowed activity area as the second allowed activity area; 设定所述第一允许活动区域和第二允许活动区域之外的区域,为禁止活动区域。An area other than the first allowed activity area and the second allowed activity area is set as a prohibited activity area. 22.一种基于被监控终端的越界报警方法,其特征在于,包括步骤:22. A method for cross-border alarm based on the monitored terminal, characterized in that it comprises the steps of: 进行定位,获取位置信息;Perform positioning and obtain location information; 向越界报警服务器上报所述位置信息,以供所述越界报警服务器将所述位置信息与监控终端上报的区域设定信息比对,以判断当前位置是否在所述允许活动区域之外,如果是,所述越界报警服务器向所述监控终端发送报警信息;Report the location information to the cross-border alarm server, so that the cross-border alarm server compares the location information with the area setting information reported by the monitoring terminal to determine whether the current location is outside the allowed activity area, if so , the boundary-crossing alarm server sends alarm information to the monitoring terminal; 接收所述越界报警服务器发送的越界结果通知;receiving the boundary-crossing result notification sent by the boundary-crossing alarm server; 根据所述越界结果通知,调整定位方式。Adjust the positioning method according to the boundary-crossing result notification. 23.如权利要求22所述的基于被监控终端的越界报警方法,其特征在于,当所述被监控终端为手持终端时,23. The monitored terminal-based cross-border alarm method according to claim 22, wherein when the monitored terminal is a handheld terminal, 根据所述越界结果通知,调整定位方式,具体包括:According to the notification of the cross-border result, adjust the positioning method, specifically including: 根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送电量判断通知,否则,发送第一定位通知;Obtaining whether the current location is outside the first allowed activity area according to the boundary-crossing result notification, if yes, sending a power judgment notification, otherwise, sending a first positioning notification; 当接收到所述电量判断通知,则判断剩余电量是否低于预定电量,如果是,发送第一定位通知,否则,发送第二定位通知;When receiving the power judgment notification, it is judged whether the remaining power is lower than the predetermined power, if yes, the first positioning notification is sent, otherwise, the second positioning notification is sent; 当接收到所述第一定位通知,根据所述第一定位通知采用第一定位方式进行定位,并将获取的所述位置信息以第一频率上报给所述越界报警服务器;When receiving the first positioning notification, perform positioning using a first positioning method according to the first positioning notification, and report the obtained location information to the cross-border alarm server at a first frequency; 当接收到所述第二定位通知,根据所述第二定位通知采用第二定位方式进行定位,将获取的所述位置信息以第二频率上报给所述越界报警服务器。When the second positioning notification is received, the second positioning method is used to perform positioning according to the second positioning notification, and the acquired location information is reported to the boundary-crossing alarm server at a second frequency. 24.如权利要求22所述的基于被监控终端的越界报警方法,其特征在于,当所述被监控终端为车载终端时,24. The monitored terminal-based cross-border alarm method according to claim 22, wherein when the monitored terminal is a vehicle-mounted terminal, 进行定位,获取位置信息,具体为:采用第三定位方式进行定位,获取位置信息;Perform positioning and obtain location information, specifically: use the third positioning method to perform positioning and obtain location information; 根据所述越界结果通知,调整定位方式,具体包括:According to the notification of the cross-border result, adjust the positioning method, specifically including: 根据所述越界结果通知获取当前位置是否在第一允许活动区域之外,如果是,发送高频上报通知,否则,发送低频上报通知;Obtaining whether the current location is outside the first allowed activity area according to the boundary-crossing result notification, if yes, sending a high-frequency report notification, otherwise, sending a low-frequency report notification; 当接收到高频上报通知时,以第四频率上报所述位置信息;When receiving a high-frequency report notification, report the location information at a fourth frequency; 当接收到低频上报通知时,以第三频率上报所述位置信息;When receiving a low-frequency reporting notification, report the location information at a third frequency; 其中,所述第四频率高于所述第三频率。Wherein, the fourth frequency is higher than the third frequency. 25.一种基于监控终端的越界报警方法,其特征在于,包括步骤:25. A method for cross-boundary alarm based on a monitoring terminal, characterized in that, comprising steps: 向越界报警服务器上报区域设定信息,以供所述越界报警服务器将被监控终端上报的位置信息与所述区域设定信息比对,以判断所述被监控终端的当前位置是否在所述允许活动区域之外;Report the area setting information to the cross-border alarm server, so that the cross-border alarm server will compare the location information reported by the monitored terminal with the area setting information to determine whether the current location of the monitored terminal is within the allowed range. outside the area of activity; 在所述被监控终端的当前位置在所述允许活动区域之外时,接收所述越界报警服务器发送的报警信息。When the current location of the monitored terminal is outside the allowed activity area, the alarm information sent by the boundary-crossing alarm server is received.
CN201380000394.4A 2013-03-29 2013-03-29 Geofence server, monitored terminal, monitor terminal, system and method Active CN105493162B (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013073433 2013-03-29

Publications (2)

Publication Number Publication Date
CN105493162A true CN105493162A (en) 2016-04-13
CN105493162B CN105493162B (en) 2018-11-16

Family

ID=55678497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201380000394.4A Active CN105493162B (en) 2013-03-29 2013-03-29 Geofence server, monitored terminal, monitor terminal, system and method

Country Status (1)

Country Link
CN (1) CN105493162B (en)

Cited By (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059612A (en) * 2016-07-25 2016-10-26 中国联合网络通信集团有限公司 Intelligent wear device location method and apparatus
CN106405597A (en) * 2016-08-30 2017-02-15 成都上智恒达科技有限公司 Method for monitoring existence of monitored equipment in arbitrarily shaped regions
CN106530603A (en) * 2016-11-22 2017-03-22 天津七禾创意科技有限公司 Boundary setting system in livestock management system
CN106530604A (en) * 2016-11-22 2017-03-22 天津七禾创意科技有限公司 Method for setting hysteretic boundary in livestock management system
CN106647460A (en) * 2016-11-22 2017-05-10 天津七禾创意科技有限公司 Electronic fence device used for livestock management system and convenient for installation
CN107566988A (en) * 2016-10-31 2018-01-09 郑州蓝视科技有限公司 The anti-positioning and monitoring method of wandering away of one kind
CN108267767A (en) * 2018-01-31 2018-07-10 上海康斐信息技术有限公司 A kind of alignment system, localization method and intelligent terminal
CN108712555A (en) * 2018-03-14 2018-10-26 维沃移动通信有限公司 A kind of method and device sending warning message
WO2018233016A1 (en) * 2017-06-21 2018-12-27 深圳市盛路物联通讯技术有限公司 Edge routing node and reporting frequency adjusting method thereof
CN109544760A (en) * 2018-12-03 2019-03-29 广州中石科技有限公司 A kind of smart lock managing and control system
CN109729497A (en) * 2018-12-29 2019-05-07 杭州平普智能科技有限公司 A kind of the malposition alarm method and device of the Prison Management System Developed based on UWB positioning
CN110930615A (en) * 2019-12-03 2020-03-27 深圳市广联智通科技有限公司 Position control method, position control device, computer equipment and storage medium
CN110971682A (en) * 2019-11-27 2020-04-07 北京天元创新科技有限公司 Position information monitoring method, electronic equipment and storage medium
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN112866024A (en) * 2021-01-13 2021-05-28 青岛海尔科技有限公司 Positioning alarm method, device, storage medium and electronic device
CN113396446A (en) * 2018-12-17 2021-09-14 J·C·亨特 Personal monitoring system
CN113450466A (en) * 2020-03-10 2021-09-28 丰田自动车株式会社 Management device for automatic passenger-substituting parking lot

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050261012A1 (en) * 2004-02-13 2005-11-24 Douglas Weiser Public service message broadcasting system and method
CN1858815A (en) * 2005-09-27 2006-11-08 华为技术有限公司 Position monitoring method and system
CN101115264A (en) * 2006-07-24 2008-01-30 中兴通讯股份有限公司 Communication Terminal Fault Monitoring System and Its Realization Method
CN101673544A (en) * 2009-10-10 2010-03-17 上海电虹软件有限公司 Cross monitoring method and system based on voiceprint recognition and location tracking
CN101719233A (en) * 2009-08-27 2010-06-02 武汉双赢信息技术有限公司 Cold-chain logistics management system
CN201699756U (en) * 2010-07-08 2011-01-05 重庆艾科基业科技有限公司 Monitoring platform system based on wireless communication network and internet
CN102325305A (en) * 2011-09-29 2012-01-18 宇龙计算机通信科技(深圳)有限公司 Cloud server, terminal and alarm method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050261012A1 (en) * 2004-02-13 2005-11-24 Douglas Weiser Public service message broadcasting system and method
CN1858815A (en) * 2005-09-27 2006-11-08 华为技术有限公司 Position monitoring method and system
CN101115264A (en) * 2006-07-24 2008-01-30 中兴通讯股份有限公司 Communication Terminal Fault Monitoring System and Its Realization Method
CN101719233A (en) * 2009-08-27 2010-06-02 武汉双赢信息技术有限公司 Cold-chain logistics management system
CN101673544A (en) * 2009-10-10 2010-03-17 上海电虹软件有限公司 Cross monitoring method and system based on voiceprint recognition and location tracking
CN201699756U (en) * 2010-07-08 2011-01-05 重庆艾科基业科技有限公司 Monitoring platform system based on wireless communication network and internet
CN102325305A (en) * 2011-09-29 2012-01-18 宇龙计算机通信科技(深圳)有限公司 Cloud server, terminal and alarm method

Cited By (23)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106059612A (en) * 2016-07-25 2016-10-26 中国联合网络通信集团有限公司 Intelligent wear device location method and apparatus
CN106405597A (en) * 2016-08-30 2017-02-15 成都上智恒达科技有限公司 Method for monitoring existence of monitored equipment in arbitrarily shaped regions
CN107566988A (en) * 2016-10-31 2018-01-09 郑州蓝视科技有限公司 The anti-positioning and monitoring method of wandering away of one kind
CN106530604B (en) * 2016-11-22 2019-04-26 华琳琳 The setting method on hysteresis boundary in a kind of livestock management system
CN106647460A (en) * 2016-11-22 2017-05-10 天津七禾创意科技有限公司 Electronic fence device used for livestock management system and convenient for installation
CN106530604A (en) * 2016-11-22 2017-03-22 天津七禾创意科技有限公司 Method for setting hysteretic boundary in livestock management system
CN106530603B (en) * 2016-11-22 2019-11-29 泉州台商投资区中达工业设计有限公司 System is arranged in boundary in a kind of livestock management system
CN106530603A (en) * 2016-11-22 2017-03-22 天津七禾创意科技有限公司 Boundary setting system in livestock management system
WO2018233016A1 (en) * 2017-06-21 2018-12-27 深圳市盛路物联通讯技术有限公司 Edge routing node and reporting frequency adjusting method thereof
CN108267767A (en) * 2018-01-31 2018-07-10 上海康斐信息技术有限公司 A kind of alignment system, localization method and intelligent terminal
CN108712555B (en) * 2018-03-14 2020-11-06 维沃移动通信有限公司 A method and device for sending alarm information
CN108712555A (en) * 2018-03-14 2018-10-26 维沃移动通信有限公司 A kind of method and device sending warning message
CN109544760A (en) * 2018-12-03 2019-03-29 广州中石科技有限公司 A kind of smart lock managing and control system
CN113396446A (en) * 2018-12-17 2021-09-14 J·C·亨特 Personal monitoring system
CN109729497A (en) * 2018-12-29 2019-05-07 杭州平普智能科技有限公司 A kind of the malposition alarm method and device of the Prison Management System Developed based on UWB positioning
CN110971682A (en) * 2019-11-27 2020-04-07 北京天元创新科技有限公司 Position information monitoring method, electronic equipment and storage medium
CN110930615A (en) * 2019-12-03 2020-03-27 深圳市广联智通科技有限公司 Position control method, position control device, computer equipment and storage medium
CN113450466A (en) * 2020-03-10 2021-09-28 丰田自动车株式会社 Management device for automatic passenger-substituting parking lot
CN113450466B (en) * 2020-03-10 2023-02-17 丰田自动车株式会社 Management device for automatic valet parking
CN111586577A (en) * 2020-04-16 2020-08-25 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN111586577B (en) * 2020-04-16 2022-09-02 北京小米移动软件有限公司 Positioning method and device, mobile terminal and storage medium
CN112866024A (en) * 2021-01-13 2021-05-28 青岛海尔科技有限公司 Positioning alarm method, device, storage medium and electronic device
CN112866024B (en) * 2021-01-13 2023-07-21 青岛海尔科技有限公司 Location alarm method, device, storage medium and electronic device

Also Published As

Publication number Publication date
CN105493162B (en) 2018-11-16

Similar Documents

Publication Publication Date Title
CN105493162B (en) Geofence server, monitored terminal, monitor terminal, system and method
US20200312133A1 (en) Express Lane Planning Method and Unit
CN102223601B (en) Location service method and system, and terminal
CN103576177B (en) Positioning tracking method
US20100022255A1 (en) Systems and methods for location and movement tracking using GPS enabled cell phones
CN103085758B (en) Car-mounted terminal and vehicle monitoring system
CN103973915A (en) Mobile terminal tracking and positioning method and system and monitoring service management platform
CN108216125A (en) Vehicular intelligent anti-theft tracking alarm system based on NB-IoT
CN104954981A (en) Method and device for determining safety position
CN102264028A (en) Positioning and monitoring method
CN102833674A (en) Network access system and network access method
CN202650212U (en) Anti-theft system for outdoor equipment
CN104091439A (en) Area vehicle management control system based on vehicle network
CN201039276Y (en) Real time monitoring management system for goods based on radio communication
CN107016597A (en) A kind of fixation stop management method of shared bicycle
CN106781672A (en) An intelligent parking lot management system based on ZigBee
CN104796855A (en) Positioning method, terminal and system
CN102118689A (en) Method, system, service platform for safe driving and vehicle-mounted monitoring terminal
CN205890830U (en) Automobile -mounted terminal of long -range localization tracking system based on compass navigation satellite system
CN202135327U (en) Positioning and monitoring system
CN104670368A (en) Electric vehicle anti-theft system and alarm method thereof
CN104670367A (en) Anti-theft early warning device and anti-theft early warning method
CN113830209B (en) Abnormal movement detection method and device, vehicle and server
CN203232519U (en) Distribution transformer anti-theft system
CN105898709A (en) RFID-indoor-base-station-positioning-based judicial correction system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant