CN106686550A - Method for improving child safety by utilizing position monitoring - Google Patents

Method for improving child safety by utilizing position monitoring Download PDF

Info

Publication number
CN106686550A
CN106686550A CN201710135069A CN201710135069A CN106686550A CN 106686550 A CN106686550 A CN 106686550A CN 201710135069 A CN201710135069 A CN 201710135069A CN 201710135069 A CN201710135069 A CN 201710135069A CN 106686550 A CN106686550 A CN 106686550A
Authority
CN
China
Prior art keywords
child
children
safety
parents
end
Prior art date
Application number
CN201710135069A
Other languages
Chinese (zh)
Inventor
高志刚
谢云峰
郭弘毅
夏海霞
骆彦君
Original Assignee
杭州电子科技大学
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 杭州电子科技大学 filed Critical 杭州电子科技大学
Priority to CN201710135069A priority Critical patent/CN106686550A/en
Publication of CN106686550A publication Critical patent/CN106686550A/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/025Services making use of location information using location based information parameters
    • H04W4/027Services making use of location information using location based information parameters using movement velocity, acceleration information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/029Location-based management or tracking services

Abstract

The invention relates to a method for monitoring the position of a child by utilizing mobile equipment and provides a method capable of improving the personal safety. At present, a convenient and effective method in the aspect of monitoring the safety of the child is lacked, and a system for parents and guardians to use and check the safety of the child at anytime and anywhere is necessary, so that the safety of the child in daily life is guaranteed. According to the method, a child safety scene is divided into an on-passage safety mode and a region safety mode; the on-passage safety mode is used for monitoring a real-time movement track of the child on the way; the region safety mode is used for limiting a movement range of the child through dividing a movement region, carrying out voice reminding at a child end and giving an alarm for safety risks to parents, so that the guardians obtain a position and a state of the child in real time when the child moves alone; and the safety risks are actively prevented, so that the safety of the child is improved.

Description

利用位置监测提高儿童安全的方法 Methods to improve child safety position monitoring

技术领域 FIELD

[0001] 本发明属于移动安全领域,具体涉及一种利用移动设备对儿童的活动进行监测, 提高其人身安全的方法。 [0001] The present invention belongs to the field of mobile security, particularly to a method for monitoring the activities of children use mobile devices to improve their physical safety.

背景技术 Background technique

[0002] 随着城市化的发展,越来越多的人们进入城市生活和工作,城市在为人们带来便利的同时,儿童的安全也面临着越来越大的挑战。 [0002] With the development of urbanization, more and more people into the city to live and work in the city for people to bring convenience, the safety of children is also facing a growing challenge. 我国每年因意外而死亡的儿童超过20万, 其中绝大部分死于交通意外。 Our children by accident deaths each year more than 200,000, most of which died in a traffic accident. 而目前已有的安全保障措施大多是基于人工门卫和视频监控,但人工门卫对于儿童的通行存在着不可避免的疏忽,而且无论是部署于小区、街道、还是学校内的视频监控系统均存在死角;监控的主要目的是防范窃贼或者违法违规行为,但并不能有保障儿童的安全,因此,需要一种能实时查看儿童位置,并及时提醒儿童远离危险源的监控方式。 At present, the existing security measures are mostly based on artificial guard and video surveillance, but the guard to pass child labor There is an inevitable negligence, and whether it is deployed in the district, street, or video surveillance system in the presence of the dead were school ; the main purpose of monitoring is to guard against theft or illegal behavior, but it does not have the safety and security of children, therefore, a need for a real-time view the position of children, and a timely reminder to monitor the way children away from dangerous sources. 据统计,截至2016年6月,中国的手机移动上网用户达到了6.56亿,智能手机和智能手表日益普及,性能越来越高,网络的覆盖越来越广,从而为基于移动设备的儿童安全监护提供了可能。 According to statistics, as of June 2016, China's mobile phone Internet users reached 656 million, smartphones and the increasing popularity of smart watches, increasingly high performance, network coverage more widely, so as to mobile devices based on child safety care possible.

发明内容 SUMMARY

[0003] 本发明根据现有技术的不足,提出了一种具有在途安全功能和区域安全功能的监测方法。 [0003] According to the present invention, the disadvantages of the prior art, having a monitoring method is proposed in transit security functions and regional safety function. 当儿童独自上学或者外出时,家长可以通过在途安全功能得到儿童的实时运行轨迹。 When children go to school or going out alone, parents can get real-time track of children running in-transit security features. 儿童在固定场所活动,如在小区或者广场玩耍时,监护人可以通过区域安全功能给儿童限定活动区域,从而提高监护的安全性。 Child activities fixed place, such as while playing the cell or square, to children guardian may define the active area region by the security function, thereby improving safety of care.

[0004] 本发明解决其技术问题所采用的关键点是:使用GPS采集儿童位置信息和状态信息。 [0004] The present invention solves the technical problem key used is: children collected using GPS location information and status information. 与预先设置的安全或危险区域比较判断儿童是否处于危险。 And preset safe or hazardous areas compare to determine whether the child is at risk. 当儿童处于危险区域时,语音提醒儿童注意安全并采取相应措施。 When the child is in the danger zone, voice remind children pay attention to safety and take appropriate action. 儿童端通过万维网服务器将采集到的信息传到家长端。 Children will be collected by the end of the World Wide Web server information to the parents end. 家长端将接收的位置信息显示在地图上,当儿童状态异常时语音提醒家长,使家长及时采取相应的措施。 Parents end position information received will be displayed on the map, when the child is abnormal voice remind parents, to enable parents to take timely and appropriate measures.

[0005] 本发明基于移动设备的儿童安全监护系统Kidsguard,该系统由家长端,儿童端和中转服务器端三部分组成。 [0005] Kidsguard child safety monitoring system based on the movement device of the present invention, the system side by the parents, children and the relay server end of three parts. 家长端应用程序安装在父母的移动设备上,例如手机、平板电脑等,儿童端应用程序安装在儿童的移动设备上,例如手机、智能手表等。 Parents client application installed on the parents' mobile devices, such as mobile phones, tablet PCs, Children client application installed on the mobile device for children, such as cell phones, smart watches. 家长端和儿童端应用程序分别完成不同的功能,在系统工作时,儿童端实时采集地址坐标信息发送给家长端, 家长端收集这些地址坐标信息,并在地图上绘制出儿童实时的运行轨迹;当儿童端的移动设备探测到儿童行为发生异常行为时,会在儿童端发出语音告警信号警告儿童,或者向家长端发送一条文本告警信号提醒父母。 Parents end and child-side applications respectively perform different functions in the system to work, children end real-time collection send address coordinate information to parents end, these addresses coordinate information parents end collection, and map out running real-time track of children on the map; when the abnormal behavior of children end mobile device detects child behavior occurs, a voice alarm signal warning the child in the end, or send a text alert signal to remind parents to end their parents. 服务器端完成儿童和父母之间信息中转的功能,以便儿童和父母之间通过网络(移动网络或者WiFi)进行通信,建立通信链接用于传输信息。 The server side information transfer function between children and their parents, between children and parents to communicate over a network (or mobile network WiFi), establishing a communications link for transmitting information. K i ds guar d系统的结构如图1所示。 Structure K i ds guar d system shown in Figure 1.

[0006] 本发明将儿童安全场景划分为在途安全模式和区域安全模式,在途安全模式通过监测儿童在路途中实时运行轨迹,区域安全模式通过划定活动区,限定儿童的活动范围,及时在儿童端进行语音提醒及对安全风险向父母告警功能,使监护人在儿童单独行动时实时获取其位置和状态,主动预防安全风险,从而提高儿童监护的安全性。 [0006] The present invention child safety scene is divided into in-transit security mode and regional security mode, in-transit security mode in the road real trajectory, regional security mode delineated active area, limit the scope of children's activities by monitoring children, timely children end voice security risks and remind parents to alarm function, the guardian when the child acted alone get real-time location and status of its initiative to prevent security risks, thereby enhancing the safety of child custody. 具体是: 在途安全模式针对于儿童行走在道路上的场景,家长可以查看儿童实时的运动轨迹, 如果儿童行走偏离道路或者轨迹出现异常时能及时的发出语音告警信号警告儿童,父母也可以得到系统提醒的儿童的当前状态以及状态是否有异常,从而使父母能够快速的采取必要措施。 Specifically: for children walking on the road scene, parents can view real-time trajectory of children in transit security mode, can be issued timely voice alarm signal warning the child if the child walking down the road, or an abnormal trajectory appears, parents can also get the system whether to remind the current state and the abnormal state of children, so that parents can quickly take the necessary measures. 在途安全功能分别由儿童端和家长端两部分来实现,具体如下: 1)家长端步骤(1-1)在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如果注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时"。 Respectively, to implement in-transit security features by the end of children and parents end in two parts, as follows: 1) Parent end steps (1-1) to register and log in on the relay server to establish a connection between parents and transit server end, if registration They will fail "registration failed", if login failed "login timeout" will be displayed. 如果成功则会显示"登陆成功"。 "Login success" if successful will be displayed.

[0007] 步骤(1-2)设置进行通信的儿童端的账户名称,并设置与服务器之间通信的时间间隔为三秒。 [0007] Step (1-2) setting the child account name end in communication, and sets the time interval of communication between the server three seconds. 初始化地图,并显示儿童的初始位置。 Initialize the map, and displays the initial position of the child.

[0008] 步骤(1-3)处理从儿童端接收的信息。 [0008] Step (1-3) information received from the child process ends. 根据以下情况进行处理: 将接收到的位置信息显示在地图上并显示儿童运动轨迹,通过按钮可以控制是否获取儿童当前状态信息,并语音播报状态信息。 Processed according to the following conditions: the received location information is displayed on the map and show the trajectory of children, the buttons can control whether children get current status information, and voice broadcast status information. 当儿童状态异常时(异常状态包括偏离正常路线过远,速度过快等),语音提醒家长。 When a child abnormal state (abnormal state including the deviation from the normal route too far, too fast, etc.), voice remind parents.

[0009] 2)儿童端步骤(2-1)首先在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如果注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时"。 [0009] 2) Children end step (2-1) is first on the relay server registration and login, establish a connection between parents and end transit server, it will be displayed if the registration failed "registration failed", if the landing will fail display "landing overtime." 如果成功则会显示"登陆成功"。 "Login success" if successful will be displayed.

[0010] 步骤(2-2)设置进行通信的家长端的账号名称,并设置与服务器之间进行通信的时间间隔为三秒。 [0010] Step (2-2) setting parental account name communication terminal, the communication time interval is three seconds and is provided between the servers. 初始化地图,并显示自己的位置。 Initialize the map and show their location.

[0011] 步骤(2-3)监测儿童的位置和状态信息,根据以下情况处理: 2-a.通过计算儿童与划定路线中心的距离判断儿童是否偏离路线,如果偏离路线则语音警告儿童返回正确道路上。 [0011] Step (2-3) monitoring the position and status of children, according to the following process:. 2-a child and delineated by the distance calculated route is determined whether the child is the center deviation route, if the off-route voice warning children return on the right road.

[0012] 2-b.判断儿童是否在报警点附近(警报点的选择即一些红绿灯路口和路边的危险区域),当儿童在警报点附近时则语音提醒儿童注意安全。 [0012] 2-b. Determines whether the child is in the vicinity of the alarm point (i.e., the number of points selected alarm traffic lights and street hazardous area), when the child is in the vicinity of the alarm point voice alert child safety. 检测儿童运动速度,判断其是否在快速奔跑,并提醒儿童注意安全。 Detecting the speed of movement of children to determine whether its fast running, and remind children pay attention to safety. 当儿童速度为车速时,则儿童可能处于危险,短信提醒家长。 When the vehicle speed is the child, the child may be at risk, SMS alerts parents.

[0013] 区域安全模式中安全区域是一个多边形区域,父母会通过给儿童划分安全区域, 限制儿童只能在此区域内活动,以保障儿童的安全。 [0013] model of regional security in the security zone is a polygon area, parents can give children by dividing the security zone, can only limit children activities in this area to ensure the safety of children. 例如,当儿童在小区内活动时,通过设置小区的大小为安全区域,可以保证儿童不会移动到小区以外。 For example, when the child activities within a cell, by setting the size of the cell for the security zone, to ensure that children can not move to the outside of the cell. 区域安全功能在儿童端实现,具体如下: 步骤1:在地图上设置一个安全区域,限定儿童只能在该区域活动,以保障儿童安全。 Regional security function in children side implementation, as follows: Step 1: Set up a secure area on the map, only limited activities for children in the area to keep children safe.

[0014] 步骤2:采集儿童位置信息,根据以下情况进行处理: 2_a.计算儿童与安全区域边缘的距离,当小于阈值时,语音提醒儿童勿跨越安全区域。 [0014] Step 2: Children collecting location information is processed according to the following:. 2_a calculating a distance Child safety edge region, when less than a threshold, the voice not to remind the child across a secure area.

[0015] 2-b.当儿童离开安全区域时,语音警告儿童返回安全区域。 [0015] 2-b. When the children leave the safe area, voice warning children return to a safe area.

[0016] 本发明具有以下优点: 1)提出一种普适安全监测方法,可以随时随地监测儿童的位置和状态,并且成本低廉、 使用方便。 [0016] The present invention has the following advantages: 1) to provide a universal safety monitoring method, a monitoring location and status of children anywhere, and low cost, easy to use.

[0017] 2)根据儿童的活动特点,提出了一种具有主动安全特点的移动监护系统,从而主动提示可能的潜在安全风险,避免危险的发生。 [0017] 2) according to the characteristics of children's activities, proposed mobile monitoring system with active safety features, which may take the initiative of suggesting a potential security risk to avoid the risk of occurrence.

[0018] 3)本发明使用中转服务器建立儿童端和家长端的连接,通过移动网络或WiFi保证信息的实时发送。 [0018] 3) the use of the present invention, the relay server to establish a connection terminal children and parents terminal, a mobile network or WiFi ensure real-time transmission of information.

附图说明 BRIEF DESCRIPTION

[0019] 图I Kidsguard系统体系结构图; 图2在途模式下的家长端流程图; 图3在途模式下的儿童端流程图; 图4区域安全模式下的流程图; 图5语音提醒和告警流程图; 图6距离预设道路最短距离图。 [0019] FIG I Kidsguard System Architecture FIG; second end of the flowchart way parents schematic diagram; FIG. 3 flowchart in children end transit mode; flowchart in FIG. 4 regional security mode; FIG. 5 and voice reminder alert process ; Figure 6 the shortest distance from the pre-road map.

具体实施方式 Detailed ways

[0020] 利用位置监测提高儿童安全的方法包括如下步骤: 1.在途安全模式1)家长端技术方案的流程,参见图2和图5。 Method [0020] With the improved child safety position monitoring comprises the steps of: 1. In the safe transit mode 1) end of the process aspect of the parents, see FIG. 2 and FIG.

[0021] 步骤(1-1)使用IMMyself .register 〇和IMMyself · login ()函数在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如果注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时"。 [0021] Step (1-1) using IMMyself .register billion and IMMyself · login () function to register and log in on the relay server to establish a connection between parents and end transit server, will be displayed if the registration failed "registration failed Log timeout "," is displayed if the login failed. " 如果成功则会显示"登陆成功"。 "Login success" if successful will be displayed.

[0022] 步骤(1-2)设置进行通信的儿童端的账户名称,并设置与服务器之间通信的时间间隔。 [0022] Step (1-2) setting the child account name of the communication terminal, the communication time between the server and the set interval. 初始化地图,首先初始化Android的LocationClient类,该类用来发起定位,然后注册MyLocationListener监听函数,在onReceiveLocation 〇方法中调用getLatitude 〇和getLongitude ()方法获得当前位置坐标的经炜度信息。 Initialize the map, first initialize the Android LocationClient class, which is used to initiate locate and register MyLocationListener monitor function, call getLatitude billion and getLongitude in onReceiveLocation square method () method to obtain information about the current location by Wei of coordinates.

[0023] 步骤(1-3)使用publ ic void onReceiveText (Str ing text,String fromCustomUserID, long serverActionTime)接受从儿童端发来的信息。 [0023] Step (1-3) using the publ ic void onReceiveText (Str ing text, String fromCustomUserID, long serverActionTime) receives information sent from the child side. 根据以下情况进行处理: 将接收到的位置信息显示在地图上并通过drawline ()函数画出儿童的运动轨迹,通过按钮可以控制是否获取儿童当前状态信息,并使用speak 〇方法语音播报状态信息。 Processed according to the following: the received display position information and () function shown by children drawline trajectory on a map, a button can control whether the child acquires current state information, and speak square method using the voice broadcast status information. 当儿童状态异常时,语音提醒家长。 When a child is abnormal, voice remind parents.

[0024] 2)儿童端技术方案流程,参见图3和图5。 [0024] 2) end child process aspect, referring to FIGS. 3 and 5.

[0025] 步骤(2-1)首先使用IMMyself .register ()和IMMyself · login ()函数在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如果注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时"。 [0025] Step (2-1) the first to use IMMyself .register () and IMMyself · login () function to register and log in on the relay server to establish a connection between parents and transit server end, if the registration failed is displayed. " registration failed "is displayed if the login failed" landing overtime. " 如果成功则会显示"登陆成功"。 "Login success" if successful will be displayed.

[0026] 步骤(2-2)使用IMMyself .setCustomUserIDO设置进行通信的家长端的账号名称,并设置与服务器之间进行通信的时间间隔。 [0026] Step (2-2) using the account name IMMyself .setCustomUserIDO setting parental communication terminal, the time interval and the communication between the server and set. 首先初始化Android的LocationClient类, 该类用来发起定位,然后注册MyLocationListener监听函数,在onReceiveLocation ()方法中调用getLatitude ()和getLongitude ()方法获得当前位置坐标的经炜度信息。 Android LocationClient first initializes the class, which is positioned to initiate, monitor and register MyLocationListener function call getLatitude () in onReceiveLocation () method and getLongitude () method to obtain the current position coordinates by Wei degree information.

[0027] 步骤(2-3)通过IMMyself · sendText (location · getLatitude ()+"" + location.getLongitudeO, CUID, 3,null)向家长端发送状态信息,通过监测儿童的位置和状态信息,根据以下情况处理: 2-3-a.通过closestTwoPointDis (LatLng pt)函数计算儿童当前坐标与划定路线中心的距离并通过ifDanger (LatLng pt)判断儿童是否偏离路线,如果偏离路线则语音警告儿童返回正确道路上。 [0027] Step (2-3) by IMMyself · sendText (location · getLatitude () + "" + location.getLongitudeO, CUID, 3, null) transmits information to parents end state, the position information and status monitoring of children, according to the following circumstances: 2-3-a through closestTwoPointDis (LatLng pt) is calculated from a function of the current coordinates and children center line delineated by ifDanger (LatLng pt) determines whether the child is off course, if the deviation from the route returns the correct voice warning children. on the road.

[0028] 2-3-b.判断儿童是否在报警点附近(警报点的选择即一些红绿灯路口和路边的危险区域),当儿童在警报点附近时则语音提醒儿童注意安全。 [0028] 2-3-b. To determine whether the child is in the vicinity of alarm points (select the alert point, that some of the traffic lights and roadside hazardous area), when children are in the vicinity of the voice alarm point to remind the children pay attention to safety. 通过安卓的speed ()方法检测儿童运动速度,判断其是否在快速奔跑,利用Android的TextToSpeech类的speak ()方法去实现语音播报和提醒功能并提醒儿童注意安全。 By Andrews speed () method to detect the speed of movement of children to determine whether they run fast, use Android's speak () method TextToSpeech class to implement voice broadcast reminders and alerts and child safety. 当儿童速度为车速时,则儿童可能处于危险,短信提醒家长。 When the vehicle speed is the child, the child may be at risk, SMS alerts parents.

[0029] 2.区域安全模式,如图4所示。 [0029] 2. Regional safe mode, as shown in FIG.

[0030] 步骤1:用DrowpIoygon ()在地图上画一个安全区域,限定儿童只能在该区域活动, 以保障儿童安全。 [0030] Step 1: DrowpIoygon () to draw a safe area on the map, only limited activities for children in the area to keep children safe.

[0031] 步骤2:调用getLatitude 〇和getLongitude 〇方法获得当前位置坐标的经炜度信息,根据以下情况进行处理: 2_a.使用closestTwoPointDis (LatLng pt)计算儿童与安全区域边缘的距离,当小于阈值时,语音提醒儿童请勿跨越安全区域。 [0031] Step 2: Call getLatitude square and getLongitude square method is obtained by wei of information of the current position coordinates, the processing based on the following:. 2_a when less than a threshold using closestTwoPointDis (LatLng pt) is calculated from the children and the edge of the region security, voice remind children do not cross the security zone.

[0032] 2_b.当儿童离开安全区域时,利用Android的TextToSpeech类的speak ()方法去实现语音播报和提醒功能,语音警告儿童返回安全区域。 [0032] 2_b. When the children leave the security area, using the speak TextToSpeech class of Android () method to implement voice broadcast and alerts, voice warning children return to a safe area.

[0033] 对于其中判断儿童偏离道路的距离具体如下: 用一条折线代表道路,儿童在道路附近活动可以建模为坐标点到这条折线的距离不能超过设定阈值。 [0033] For determining the distance which the child departing roads follows: with a fold line is the road, can be modeled as a child of this coordinate point to the fold line distance can not exceed the set threshold value in the vicinity of a road event. 于是就转化成了点到折线的最大距离的数学问题。 So it transformed into mathematical problems point to a maximum distance of polyline. 找到坐标点最近的两个点,并且保证夹在两点中间,求出这三个点围成的三角形的高即为点到折线的最短距离。 Find the nearest points of two coordinate points, and to ensure sandwiched two points, three points is obtained around the triangle is the high point of the shortest distance to the fold line. 具体算法为:首先将折线上的关键坐标点按照经炜度大小排序,找到坐标点分别都夹在经度和炜度之间的两个点,然后将这四个点以及中间的所有点与坐标点比较求出与坐标点最近的两个点构成三角形,最后求得的三角形的高度即为坐标点到折线的最短距离。 Specific algorithm: First, the coordinate point off key according to the line of sorting by size Wei, find the coordinates of two points are points are interposed between the degree of longitude and Wei, then these four points and all intermediate points in the coordinate comparison point is determined to the nearest two points coordinate points form a triangle, the final height of the triangle is the determined coordinate point to the shortest distance from the fold line. 由于距离很近,所以球面坐标产生的误差忽略不计。 Because of close proximity, so the error caused by spherical coordinate generating negligible. 再将得到的最短距离与预先设置好的阈值进行比较,如果大于阈值,表明儿童所处位置已超过道路附近安全距离,家长端就会产生报警信息通知父母。 Then get the shortest distance with the pre-set thresholds, if greater than the threshold, indicating that the child has more than nearby location a safe distance from the road, parents end will generate alarm information to inform their parents. 算法分析如图6,M点为当前儿童的坐标点,A、B、C、D和E分别问折线上的折点。 Analysis Algorithm FIG. 6, M point of the current coordinate point children, A, B, C, D, and E Q polyline vertices. 首先将所有折点按照经度和炜度分别按大小排序;然后找出点M被两点所夹炜度最小的点D 和E,同理找出点M被两点所夹经度最小的点C和D;接着找出M到C、D和E距离最小的两个点D 和E;最后求出M、D和E所围成的三角形的高MN即为点到折线的最短距离。 First of all vertices sorted by degree of longitude and Wei size respectively; and then find the point M is sandwiched between two of the Wei minimum points D and E, the same way to find the point M is sandwiched between two minimum longitude point C and D; M is then found to C, D and E minimum distance two points D and E; and finally obtaining M, D, and E surrounded by the height of the triangle MN is the shortest distance to the point of the fold line. 当折线很长折点很多的时候此算法有较高的效率。 When the fold lines long point break a lot of this algorithm has higher efficiency.

[0034] 实验环境在实际环境下测试了Kidsguard系统的实时度和精度。 [0034] Experiments to test the real environment and precision Kidsguard system in the actual environment. 儿童端测试所用手机为华为H60-L02,运行内存为3G,Android版本为4.4.2,家长端测试所用手机为MI 5,运行内存为3G,Android版本为6.0,实验地点为杭州电子科技大学校内。 Children end testing using a mobile phone Huawei H60-L02, running memory 3G, Android version 4.4.2, parents end testing using a mobile phone as MI 5, running memory 3G, Android version 6.0, the experimental venue for Hangzhou University of Electronic Science and Technology campus . 对于实时性,通过儿童端每三秒向家长端发送一条信息,发送100次,记录下从儿童端发送到家长端收到位置坐标信息的时间,在两种网络下不同延迟时间内接收信息次数,实验结果如表1所示。 For real-time, transmission end by children every three seconds to a parent terminal information, transmission 100, transmission time from the end to the parents of children receive the end of the recording position coordinate information, the count information received at different delay times both networks experimental results are shown in table 1.

[0035] 表1实时度实验表 [0035] Table 1 Table real experimentation

Figure CN106686550AD00081

实验结果表明,移动网络和WiFi对实时度的影响基本一致,WiFi对数据传输较稳定,但是丢包率略大于移动网络,与其网络的畅通率有直接关系。 Experimental results show that the impact of real-time mobile network and WiFi are basically the same degree, WiFi for data transmission more stable, but slightly larger than the mobile network packet loss rate, its flow rate of the network are directly related. 家长端接收时间基本在儿童端发送数据后的0-3秒之间,实时接收率在95%左右,可以满足实时性的要求。 Between 0-3 seconds after the time the parent receives child terminal transmission data base, received in real time rate of 95%, to meet real-time requirements. 实时性与网络状态有很大的关系,不同的网络状态接收时间和实时接收率也不同。 Real-time network have a great relationship with the state, different network status reception time and receive real-time rates are also different.

[0036] 目前主流的智能手机定位方式可以分为三类:GPS定位、基站定位和混合定位。 [0036] The current mainstream smart phone positioning can be divided into three categories: GPS positioning, base stations and hybrid location positioning. 根据手机定位的三类模式进行了精度测试实验,实验分别根据WiFi、移动网络和GPS信号的开关状态来测量精度。 The experiments carried out to test the accuracy of the positioning of the three-mode handsets, experiments were measured according to the switching state accuracy WiFi, mobile networks, and GPS signals. 在校园里随机找5个测试点,且测试点之间的距离足够远,然后分别改变WiFi、蜂窝网络和GPS的开关,然后比较地图定位点与实际测试点相差的距离作为精度误差,取平均值作为最终的精度,精度的单位是米,实验结果如表2所示。 A random sample of the campus five test points, and the distance between the test point far enough, and then are changed WiFi, cellular networks, and switches the GPS, and then compare the map with the actual test point setpoint distance as the phase difference accuracy error, averaging value as the final accuracy, the accuracy of the unit is shown in meters, the experimental results shown in table 2.

[0037] 对于定位精度的测试,实验结果表示,在打开GPS的情况下定位精度在2-10米,如果只使用WiFi或者基站定位,那么定位误差就会很大,误差可能达到百米以上。 [0037] The positioning accuracy of the test, the experimental results are shown, the positioning accuracy of 2-10 m, or if only WiFi base station positioning, the positioning error will be great in the open GPS, the error may reach one hundred meters or more. 所以为了追求较高的精度,应该打开GPS,WiFi和移动网络对精度的影响不是特别大,在GPS打开有网络的情况下定位精度可达2-5米,另外,周围的WiFi热点越多定位越准确。 Therefore, in order to pursue higher accuracy, it should open the GPS, WiFi and mobile networks to influence the accuracy is not particularly large, open positioning accuracy in case there is a network of up to 2-5 meters in GPS, in addition, WiFi hotspots around the positioning more the more accurate.

Figure CN106686550AD00082

Claims (2)

1. 利用位置监测提高儿童安全的方法,其特征在于:将儿童安全场景划分为在途安全模式和区域安全模式,在途安全模式通过监测儿童在路途中实时运行轨迹,区域安全模式通过划定活动区,限定儿童的活动范围,及时在儿童端进行语音提醒及对安全风险向父母告警,使监护人在儿童单独行动时实时获取其位置和状态,具体是: 在途安全模式针对于儿童行走在道路上的场景,家长可以查看儿童实时的运动轨迹, 如果儿童行走偏离道路或者轨迹出现异常时,及时的发出语音告警信号警告儿童,父母也可以得到系统提醒的儿童的当前状态以及状态是否有异常,从而使父母能够快速的采取必要措施;在途安全模式分别由儿童端和家长端两部分来实现,具体如下: 1) 家长端步骤(1-1)在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如 1. use position monitoring to improve the safety of children, characterized in that: the child safety scene is divided into in-transit security model and regional security mode, in-transit security by monitoring children on the road in real-time trajectory, regional security mode delineation activity area define the scope of activities for children, in a timely manner at children end voice reminder and to parents warning of a security risk, the guardians get their position and status in real time when the child is a separate action, specifically: in-transit security mode for children walking on the road scene, parents can view real-time trajectory of the child, if the child walking down the road, or an abnormal trajectory appears, promptly issued a voice alarm signal warning the child, parents can also get whether the current state and the state of the system to remind children have abnormal, so that parents can quickly take the necessary measures; to achieve respectively by the end of children and parents end in two parts in transit security mode, as follows: 1) parent end steps (1-1) to register and log in on the relay server to establish a transit terminal and parents connections between servers, such as 注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时";如果成功则会显示"登陆成功"; 步骤(1-2)设置进行通信的儿童端的账户名称,并设置与服务器之间通信的时间间隔为三秒;初始化地图,并显示儿童的初始位置; 步骤(1-3)处理从儿童端接收的信息;根据以下情况进行处理: 将接收到的位置信息显示在地图上并显示儿童运动轨迹,通过按钮可以控制是否获取儿童当前状态信息,并语音播报状态信息;当儿童状态异常时,语音提醒家长,所述的异常状态包括偏离正常路线过远或速度过快; 2) 儿童端步骤(2-1)首先在中转服务器上进行注册和登陆,建立家长端与中转服务器之间的连接,如果注册失败则会显示"注册失败",如果登陆失败则会显示"登陆超时";如果成功则会显示"登陆成功"; 步骤(2-2)设置进行通信的家长端的账号名称,并设置 Registration failed is displayed "registration failed", if login failed "Login timeout" is displayed; "successful landing" if successful will be displayed; step (1-2) set the end of the account name of the child to communicate and set the server communication between the time interval of three seconds; initialize the map, and displays the initial position of the child; step (1-3) to process information received from the child terminal; processed based on the following: the received position information displayed on the map and displaying the trajectory of children, a button can control whether the child acquires current state information, and voice broadcast status information; when the abnormal state of the child, the parents voice reminder, the abnormal condition comprises a deviation from the normal route too far or too fast; 2 ) children end step (2-1) is first on the relay server registration and login, establish a connection between parents and transit server end, if the registration failed is displayed "registration failed" is displayed if the login failed "landing overtime "; If successful it will display" successful landing "; step (2-2) the name of the account settings parents end communications and set 服务器之间进行通信的时间间隔为三秒;初始化地图,并显示自己的位置; 步骤(2-3)监测儿童的位置和状态信息,根据以下情况处理: 2-a.通过计算儿童与划定路线中心的距离判断儿童是否偏离路线,如果偏离路线则语音警告儿童返回正确道路上; 2_b.判断儿童是否在报警点附近,当儿童在警报点附近时则语音提醒儿童注意安全; 检测儿童运动速度,判断其是否在快速奔跑,并提醒儿童注意安全;当儿童速度为车速时, 则儿童可能处于危险,短信提醒家长; 区域安全模式中安全区域是一个多边形区域,父母通过给儿童划分安全区域,限制儿童只能在此区域内活动,以保障儿童的安全;区域安全模式在儿童端实现,具体如下: 步骤1:在地图上设置一个安全区域,限定儿童只能在该区域活动,以保障儿童安全; 步骤2:采集儿童位置信息,根据以下情况 For communication between the server time interval is three seconds; initialize the map, and display their location; step (2-3) monitoring the position and status of children, according to the following process: 2-a child and delineated by calculation. distance route center to determine whether the child is off course, if off-route the voice warning children to return to the right path;. 2_b determine whether the child is in the vicinity of alarm when the child is a voice in the vicinity of the alert point to remind the children pay attention to safety; detecting the speed of movement of children to determine whether its fast running, and remind children pay attention to safety; when the child rate of speed, then the child may be at risk, SMS alert parents; regional security mode security zone is a polygonal area parents by giving children divided security zones, a child activity only in this region, to ensure the safety of children; regional security pattern implementation children end, as follows: step 1: set a secure area on the map, defining only children activities in the region, in order to protect the child security; step 2: children collecting location information, based on the following 行处理: 2_a.计算儿童与安全区域边缘的距离,当小于阈值时,语音提醒儿童勿跨越安全区域; 2-b.当儿童离开安全区域时,语音警告儿童返回安全区域。 Line Processing: 2_a child safety distance calculating edge of the region, when less than a threshold, the voice not to remind the child across a secure region; 2-b when the child from the safety zone, voice warning child safety return region.
2. 根据权利要求1所述的利用位置监测提高儿童安全的方法,其特征在于:儿童行走偏离道路的判断方式如下: 用一条折线代表道路,儿童在道路附近活动建模为坐标点到这条折线的距离不能超过设定阈值;于是就转化成了点到折线的最大距离的数学问题;找到坐标点最近的两个点,并且保证夹在两点中间,求出这三个点围成的三角形的高即为点到折线的最短距离;具体是: 首先将折线上的关键坐标点按照经炜度大小排序,找到坐标点分别都夹在经度和炜度之间的两个点,然后将这四个点以及中间的所有点与坐标点比较,求出与坐标点最近的两个点构成三角形,最后求得的三角形的高度即为坐标点到折线的最短距离;再将得到的最短距离与预先设置好的阈值进行比较,如果大于阈值,表明儿童行走已偏离道路。 The method for improving child safety by monitoring the position of one of the preceding claims, wherein: Child-off-road travel judgment mode is as follows: with a fold line is the road, children activity modeling coordinate point to a road near to this from the fold line can not exceed the set threshold; so he transformed into a mathematical problem to the point of maximum distance fold line; find the nearest coordinate points two points, and to ensure that the two intermediate interposed obtains the three points enclosed height of the triangle is the shortest distance points to the fold line; in particular: the first key according to a coordinate point on the polyline by Wei sort of size, to find the coordinates of each point are sandwiched between Wei and longitude of two points, and then four points and all intermediate points comparing with the coordinate point, the coordinate point is determined two nearest points form a triangle, the final height of the triangle is the determined coordinate point to the shortest distance from the fold line; then obtained a shortest distance and the pre-set threshold value, if greater than a threshold, indicates that the child is traveling off the road.
CN201710135069A 2017-03-08 2017-03-08 Method for improving child safety by utilizing position monitoring CN106686550A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710135069A CN106686550A (en) 2017-03-08 2017-03-08 Method for improving child safety by utilizing position monitoring

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710135069A CN106686550A (en) 2017-03-08 2017-03-08 Method for improving child safety by utilizing position monitoring

Publications (1)

Publication Number Publication Date
CN106686550A true CN106686550A (en) 2017-05-17

Family

ID=58828497

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710135069A CN106686550A (en) 2017-03-08 2017-03-08 Method for improving child safety by utilizing position monitoring

Country Status (1)

Country Link
CN (1) CN106686550A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016825A (en) * 2017-06-13 2017-08-04 深圳市伊特利网络科技有限公司 Positioning-based alarm method and system
WO2018232626A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Safety prompting method and smart watch
WO2019033321A1 (en) * 2017-08-16 2019-02-21 深圳市启惠智能科技有限公司 Location information detection method and electronic school-bag system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8493219B2 (en) * 2008-11-14 2013-07-23 Bi Incorporated Systems and methods for adaptive monitoring and tracking of a target having a learning period
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN104408872A (en) * 2014-11-20 2015-03-11 杭州电子科技大学 Method of improving children's security by utilizing portable equipment
CN104978831A (en) * 2015-03-30 2015-10-14 重庆邮电大学 Safety early-warning starting method and system
CN105654798A (en) * 2016-03-17 2016-06-08 深圳华强酷信通讯技术有限公司 Method and device for child preschool education and custody

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8493219B2 (en) * 2008-11-14 2013-07-23 Bi Incorporated Systems and methods for adaptive monitoring and tracking of a target having a learning period
CN103561073A (en) * 2013-10-25 2014-02-05 北京奇虎科技有限公司 Position information prompting method, device and system
CN104408872A (en) * 2014-11-20 2015-03-11 杭州电子科技大学 Method of improving children's security by utilizing portable equipment
CN104978831A (en) * 2015-03-30 2015-10-14 重庆邮电大学 Safety early-warning starting method and system
CN105654798A (en) * 2016-03-17 2016-06-08 深圳华强酷信通讯技术有限公司 Method and device for child preschool education and custody

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107016825A (en) * 2017-06-13 2017-08-04 深圳市伊特利网络科技有限公司 Positioning-based alarm method and system
WO2018232626A1 (en) * 2017-06-21 2018-12-27 深圳支点电子智能科技有限公司 Safety prompting method and smart watch
WO2019033321A1 (en) * 2017-08-16 2019-02-21 深圳市启惠智能科技有限公司 Location information detection method and electronic school-bag system

Similar Documents

Publication Publication Date Title
Djahel et al. A communications-oriented perspective on traffic management systems for smart cities: Challenges and innovative approaches
Faezipour et al. Progress and challenges in intelligent vehicle area networks
US7924149B2 (en) System and method for providing alarming notification and real-time, critical emergency information to occupants in a building or emergency designed area and evacuation guidance system to and in the emergency exit route
US9460615B2 (en) Automatic update of crowd and traffic data using device monitoring
Viriyasitavat et al. Vehicular communications: Survey and challenges of channel and propagation models
US20130063282A1 (en) Roadway detection
CN100472578C (en) Apparatus for automatically tracking automobile running orbit and its monitoring method
CN103997757B (en) Pseudo station positioning method, apparatus and an information reporting method, apparatus
CN106687876A (en) Unmanned aerial vehicle communication, monitoring, and traffic management
CN102622861A (en) Security monitoring alarm system based on geographical position and method therefor
US8954205B2 (en) System and method for road side equipment of interest selection for active safety applications
US20150365796A1 (en) A method of generating an alert message
CN102110347B (en) Equipment and method for detecting and alarming tumbling of human body
CN1870069A (en) System and method for providing information, a location data collection system, and a car navigation system
JP2005333637A (en) System and method for detecting signal tampering
WO2006004352A1 (en) Method of providing alarm service upon movement out of safety zone
US8983435B2 (en) System and method for providing an alert based on user location
US8170581B2 (en) Systems for tracking kidnapped hostage tracking systems, transmitters used in the same, sensor network gateways used in the same, and methods of tracking kidnapped hostage
WO2011095974A1 (en) Methods and systems of collision avoidance and/or alerting for users of mobile communication devices
Piran et al. Vehicular ad hoc and sensor networks; principles and challenges
Liu et al. Assessing the VANET's local information storage capability under different traffic mobility
Sugimoto et al. Prototype of pedestrian-to-vehicle communication system for the prevention of pedestrian accidents using both 3G wireless and WLAN communication
WO2014007754A2 (en) Methods nodes and computer program for positioning of a device
Lee et al. RF-GPS: RFID assisted localization in VANETs
CN105144259B (en) Traffic surveillance and guidance systems

Legal Events

Date Code Title Description
PB01 Publication
SE01 Entry into force of request for substantive examination