Movatterモバイル変換


[0]ホーム

URL:


CN104408872A - Method of improving children's security by utilizing portable equipment - Google Patents

Method of improving children's security by utilizing portable equipment
Download PDF

Info

Publication number
CN104408872A
CN104408872ACN201410667316.6ACN201410667316ACN104408872ACN 104408872 ACN104408872 ACN 104408872ACN 201410667316 ACN201410667316 ACN 201410667316ACN 104408872 ACN104408872 ACN 104408872A
Authority
CN
China
Prior art keywords
children
guardian
information
equipment
public network
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
CN201410667316.6A
Other languages
Chinese (zh)
Other versions
CN104408872B (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.)
Hangzhou Dianzi University
Original Assignee
Hangzhou Dianzi University
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 Hangzhou Dianzi UniversityfiledCriticalHangzhou Dianzi University
Priority to CN201410667316.6ApriorityCriticalpatent/CN104408872B/en
Publication of CN104408872ApublicationCriticalpatent/CN104408872A/en
Application grantedgrantedCritical
Publication of CN104408872BpublicationCriticalpatent/CN104408872B/en
Expired - Fee Relatedlegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

Translated fromChinese

本发明涉及一种利用便携式设备对儿童的活动进行监测,提高其人身安全的方法。目前在儿童安全监测方面缺乏方便有效方法,有必要提供一种可供儿童家长和监护人使用、随时随地可以查看儿童安全的系统,从而保证儿童在日常生活中的安全。本发明通过将儿童的安全场景划分为相伴模式和自主模式两种模式,在相伴模式下监测儿童是否走出监护人的视野之外,在自主模式下监测儿童是否按照预定的轨迹出现在预定的场所,并对儿童在行走中经过的重点防范区域进行及时提醒,提高了儿童对于可能威胁人身安全行为的防范意识,并使监护人可以实时了解儿童的状况,从而及时避免可能的安全事故发生,有效提高儿童的人身安全。

The invention relates to a method for monitoring children's activities by using a portable device to improve their personal safety. At present, there is no convenient and effective method for monitoring children's safety. It is necessary to provide a system that can be used by parents and guardians of children and can check children's safety anytime and anywhere, so as to ensure the safety of children in daily life. The present invention divides the children's safety scene into two modes: accompanying mode and autonomous mode, monitors whether the child walks out of the guardian's field of vision in the accompanying mode, and monitors whether the child appears in a predetermined place according to a predetermined trajectory in the autonomous mode, It also timely reminds the key prevention areas that children pass by while walking, which improves children's awareness of prevention of behaviors that may threaten personal safety, and enables guardians to understand children's conditions in real time, so as to avoid possible safety accidents in time and effectively improve children's safety. personal safety.

Description

Translated fromChinese
利用便携式设备提高儿童人身安全的方法Ways to Improve Children's Physical Safety Using Portable Devices

技术领域technical field

本发明属于嵌入式系统领域,具体涉及一种利用便携式设备对儿童的活动进行监测,提高其人身安全的方法。The invention belongs to the field of embedded systems, and in particular relates to a method for monitoring children's activities by using a portable device and improving their personal safety.

背景技术Background technique

儿童是一个国家和民族的未来,儿童的健康快乐成长离不开一个安全的环境。随着我国城市化和工业化的快速发展,农村常住人口逐渐减少,据2012年统计,我国城镇人口约为7.1亿人。大量的儿童在城市里学习和生活,城市一方面可以为他们的生活和学习提供更加良好的环境,另一方面因为城市中复杂的环境,如:众多建筑工地、大量的往来车辆、庞大的人流和复杂的人员构成,也给儿童的安全带来了巨大的挑战。仅以杭州为例,在2012年暑假的短短两个月时间,《钱江晚报》报道的儿童坠楼事件即发生三起,儿童被陌生人拐卖事件即有一例。Children are the future of a country and nation, and children's healthy and happy growth cannot be separated from a safe environment. With the rapid development of urbanization and industrialization in my country, the permanent population in rural areas has gradually decreased. According to statistics in 2012, my country's urban population is about 710 million. A large number of children study and live in the city. On the one hand, the city can provide a better environment for their life and study. On the other hand, because of the complex environment in the city, such as: many construction sites, a large number of vehicles, and a large flow And the complex composition of personnel also brings huge challenges to children's safety. Taking Hangzhou as an example, in just two months of summer vacation in 2012, there were three incidents of children falling from buildings reported by the Qianjiang Evening News, and one incident of children being abducted and trafficked by strangers.

究其原因,儿童的安全问题一方面归因于他们天生好奇、好动、又缺乏必要的安全知识和安全意识,另一方面由于目前复杂的自然环境和巨大的社会人员流动性。在这种情况下,仅仅依靠儿童看护人员的手工照料,已经越来越难以满足当前社会对于儿童安全保护的要求。The reason is that on the one hand, children's safety problems are due to their natural curiosity, restlessness, and lack of necessary safety knowledge and safety awareness, and on the other hand, due to the current complex natural environment and huge social mobility. In this case, relying solely on the manual care of child care workers has become increasingly difficult to meet the current social requirements for child safety protection.

目前已有的安全保障措施大多是基于监控,但目前的监控无论是部署在小区、街道、还是学校内的监控系统均存在死角,监控的主要目的是防范窃贼或者违法违规行为,并且这些监控系统属于不同的部门,对于真正时刻关心儿童的家长或者监护人而言并无使用的权限和可能。因此,有必要开发一种可供儿童家长和监护人使用、随时随地可以查看儿童安全的系统,从而保证儿童在日常生活中的安全。At present, most of the existing security measures are based on monitoring, but the current monitoring systems, whether they are deployed in residential areas, streets, or schools, have dead ends. The main purpose of monitoring is to prevent thieves or illegal activities, and these monitoring systems Belonging to different departments, there is no authority and possibility to use it for parents or guardians who really care about children at all times. Therefore, it is necessary to develop a system that can be used by parents and guardians of children and can check the safety of children anytime and anywhere, so as to ensure the safety of children in daily life.

发明内容Contents of the invention

本发明针对现有技术的不足,提供一种可以有效保证儿童安全,防止走失、规避和监控潜在安全风险的移动式安全监控系统。它根据儿童安全监控的特点,即有监护人伴随和无监护人伴随两种场景,将安全检测分为相伴模式和自主模式,根据两种模式的不同特点,及时监测儿童的位置和活动等信息,防止危险发生。The invention aims at the deficiencies of the prior art, and provides a mobile safety monitoring system that can effectively ensure children's safety, prevent getting lost, avoid and monitor potential safety risks. According to the characteristics of children's safety monitoring, that is, there are two scenarios with guardians and no guardians, it divides safety detection into companion mode and autonomous mode. Danger happens.

本发明解决其技术问题所采用的关键点是:在相伴模式下,使用蓝牙短距离无线通信技术,通过监护人端和儿童端的定期通信,判断儿童是否距离监护人过远,从而防止儿童走失。在自主模式下,通过GPS和振动传感器等采集儿童的位置信息和活动信息,结合地理信息系统,根据预先设定的活动区域,判断儿童是否处于危险区,或者处于安全区域,及时向儿童提示可能的危险。与此同时,使用公网服务器作为信息传输的中继,儿童端将采集到的儿童的位置信息和活动信息以预定的周期发送到监护人端,在监护人端及时以地图和告警,或者状态信息的方式显示出来,供监护人察看并根据情况采取措施。The key point adopted by the present invention to solve the technical problem is: in the accompanying mode, using Bluetooth short-distance wireless communication technology, through the regular communication between the guardian and the child, to determine whether the child is too far away from the guardian, so as to prevent the child from getting lost. In the autonomous mode, the location information and activity information of the child is collected through GPS and vibration sensors, combined with the geographic information system, according to the preset activity area, to determine whether the child is in a dangerous area or in a safe area, and prompt the child in time danger. At the same time, using the public network server as a relay for information transmission, the children's terminal will send the collected children's location information and activity information to the guardian's terminal in a predetermined cycle, and the guardian's terminal will send maps and alarms in time, or status information. The mode is displayed for the guardian to check and take measures according to the situation.

本发明通过将儿童的安全场景划分为相伴模式和自主模式两种模式,在相伴模式下监测儿童是否走出监护人的视野之外,在自主模式下监测儿童是否按照预定的轨迹出现在预定的场所,并对儿童在行走中经过的重点防范区域进行及时提醒,提高了儿童对于可能威胁人身安全行为的防范意识,并使监护人可以实时了解儿童的状况,从而及时避免可能的安全事故发生,有效提高儿童的人身安全。The present invention divides the children's safety scene into two modes: accompanying mode and autonomous mode, monitors whether the child walks out of the guardian's field of vision in the accompanying mode, and monitors whether the child appears in a predetermined place according to a predetermined trajectory in the autonomous mode, It also timely reminds the key prevention areas that children pass by while walking, which improves children's awareness of prevention of behaviors that may threaten personal safety, and enables guardians to understand children's conditions in real time, so as to avoid possible safety accidents in time and effectively improve children's safety. personal safety.

本发明解决技术问题所采取的技术方案为:The technical scheme that the present invention solves technical problem to take is:

1.相伴模式1. Companion mode

在相伴模式下,监护人端和儿童端之间通过蓝牙建立相互之间的连接,其主要思想是通过监测连接是否正常,从而判断是否儿童已经处于安全范围之外。在相伴模式下,监护人端和儿童端的流程分别如下所述。In the accompanying mode, the guardian and children establish a mutual connection through Bluetooth. The main idea is to monitor whether the connection is normal to determine whether the child is out of the safe range. In companion mode, the processes of guardian and children are as follows.

1)监护人端技术方案的流程1) The process of guardian technical solution

步骤(1)测定定时器间隔。定时器间隔是一个定时器设置的超时时间,它作为有效监测儿童是否走出监护人视野的时间量,需要在评测设备的运行速度和通信时间的基础上进行设置,以达到既能有效监测儿童是否走出监护人视野,又尽可能降低嵌入式设备资源利用率的目的。设置定时器的间隔为:Step (1) Measure the timer interval. The timer interval is the timeout period set by a timer. It is used as the amount of time to effectively monitor whether the child is out of the guardian's field of vision. The guardian vision, and the purpose of reducing the resource utilization of embedded devices as much as possible. Set the timer interval to:

                                                  (式1) (Formula 1)

其中,I表示定时器的间隔,S表示相伴模式下监测的最大距离,V表示儿童行走的最大速度。以I的1/3作为在紧急状态下的定时器时间间隔IEAmong them, I represents the interval of the timer, S represents the maximum distance monitored in companion mode, and V represents the maximum speed of children walking. Take 1/3 of I as the timer interval IE in the emergency state

步骤(2)初始化监护人端设备。在初始化时,设置监护人需要查找的儿童端设备的蓝牙名称,打开监护人端的蓝牙设备,设置监护人端蓝牙设备进行通信时保持无线呼叫的最大时间间隔为I。Step (2) Initialize the guardian device. When initializing, the bluetooth name of the children's end device that the guardian needs to search is set, the bluetooth device of the guardian's end is opened, and the maximum time interval that the guardian's end bluetooth device is set to communicate and keep the wireless call is 1.

步骤(3)建立监护人端设备和儿童端设备之间的连接。它分为以下操作:Step (3) establishing a connection between the guardian device and the child device. It is divided into the following operations:

a.监护人端扫描周围可见的蓝牙设备。如果找不到儿童端的蓝牙设备名称,则提示错误信息,否则继续以下操作。a. The guardian side scans the Bluetooth devices visible around. If the name of the Bluetooth device on the child’s end cannot be found, an error message will be displayed, otherwise continue with the following operations.

b.向儿童端设备发出配对请求。根据预先配置的儿童端的设备名称,向儿童端设备发起配对请求。b. Send a pairing request to the child device. Initiate a pairing request to the child-side device according to the pre-configured device name of the child-side device.

步骤(4)监护人端设备向儿童端设备发出Hello请求,儿童端设备在收到请求后向监护人端设备回复Reply信息以进行响应。如果监护人端设备顺利接收到儿童端设备的响应信息,则进行步骤(5),否则,解除与儿童端的配对连接,重新回到步骤(3)中的a进行扫描。Step (4) The guardian device sends a Hello request to the child device, and the child device responds by replying a Reply message to the guardian device after receiving the request. If the guardian device successfully receives the response information from the child device, proceed to step (5), otherwise, cancel the pairing connection with the child device, and return to step (3) to scan again.

步骤(5)显示连接的状态。监护人端向儿童端发送Keep信息,如果收到儿童端的Alive回复,表明儿童与监护人之间处于安全的距离范围内,显示状态正常信息;否则,在儿童端与监护人端出现连接中断时,改变定时器间隔为紧急状态下的时间间隔IE,如果连续两次仍然不能和监护人端恢复正常连接,则发出振动和声音告警,提醒监护人寻找儿童。否则,如果连接正常,则恢复到正常的定时器间隔,即I,并处于正常状态。Step (5) displays the status of the connection. The guardian sends a Keep message to the child. If it receives an Alive reply from the child, it indicates that the child and the guardian are within a safe distance and displays a normal status message; otherwise, when the connection between the child and the guardian is interrupted, the timing is changed. The device interval is the time interval IE in an emergency state. If the normal connection with the guardian cannot be restored for two consecutive times, a vibration and sound alarm will be issued to remind the guardian to look for the child. Otherwise, if the connection is OK, revert to the normal timer interval, which is I, and be in the normal state.

2)儿童端技术方案的流程2) The process of children's technical solutions

步骤(1)初始化儿童端设备。在初始化时,配置儿童端设备可以接受配对的监护人蓝牙设备的名称,并打开儿童端的蓝牙设备。Step (1) Initialize the children's device. When initializing, configure the child device to accept the name of the guardian's Bluetooth device that is paired, and turn on the child's Bluetooth device.

步骤(2)接收来自监护人端的配对请求。儿童端设备根据检测到的发起请求的蓝牙设备的名称,如果是来自监护人端的蓝牙设备名称,则接受配对请求。Step (2) Receive a pairing request from the guardian. According to the detected name of the Bluetooth device that initiates the request, the child device accepts the pairing request if it is the name of the Bluetooth device from the guardian.

步骤(3)等待来自监护人端的Hello信息。儿童端设备在和监护人端设备配对成功后,等待来自监护人端的Hello请求信息。如果没有接收到,则一直等待,如果接收到,则向监护人端发送Reply信息以回应。Step (3) waits for the Hello message from the guardian. After the child device is successfully paired with the guardian device, it waits for the Hello request message from the guardian. If it is not received, it will wait all the time, and if it is received, it will send a Reply message to the guardian to respond.

步骤(4)等待来自监护人端的Keep信息。儿童端等待来自监护人端的Keep请求信息。如果没有接收到,则一直等待,如果接收到,则向监护人端发送Alive信息响应,以表明处于正常连接状态。Step (4) waits for the Keep message from the guardian. The child side waits for the Keep request information from the guardian side. If it is not received, it will wait all the time. If it is received, it will send an Alive information response to the guardian to indicate that it is in a normal connection state.

2.自主模式2. Autonomous mode

在自主模式下,首先需要建立出行路线的数据结构。出行路线由区域和线构成。区域包括儿童会在此停留的区域,以及危险区域。这些区域标志了名称和用途属性,以及安全和危险级别等,线则标志了路口以及危险级别等。随后,监护人端和儿童端的流程分别如下所述。In autonomous mode, the data structure of travel routes first needs to be established. A travel route consists of areas and lines. Areas include areas where children will stay, as well as hazardous areas. These areas mark the name and use attributes, as well as safety and danger levels, etc., and the lines mark intersections and danger levels. Subsequently, the processes of the guardian end and the child end are respectively described as follows.

1)  监护人端技术方案的流程1) The process of guardian technical solution

步骤(1)初始化监护人端的通信接口。初始化监护人端的3G或WIFI通信设置,在监护人端配置公网服务器的地址和端口等信息,并配置与公网服务器进行通信的时间间隔IAStep (1) Initialize the communication interface of the guardian. Initialize the 3G or WIFI communication settings on the guardian side, configure the address and port of the public network server on the guardian side, and configure the time interval IA for communicating with the public network server.

步骤(2)初始化监护人端的显示信息。初始化监护人端的地图显示信息,包括默认的地图显示位置、儿童的初始位置、儿童的任务、儿童的出行方式、时间安排等。Step (2) Initialize the display information of the guardian terminal. Initialize the map display information on the guardian side, including the default map display location, the child's initial location, the child's tasks, the child's travel mode, and time schedule.

步骤(3)建立监护人端与公网服务器的通信连接。监护人端打开与公网的连接,并等待从公网服务器端出现的测试信息,根据提取到的标识信息辨别自己所需要的消息,回复接收到的测试信息。Step (3) establishing a communication connection between the guardian terminal and the public network server. The guardian opens the connection with the public network, waits for the test information from the public network server, identifies the message it needs according to the extracted identification information, and replies to the received test information.

步骤(4)处理从儿童端接收到的信息。监护人端按照预定的时间周期IA从服务器端接收消息,如果未接受到新信息,则继续等待;如果接收到儿童端发来的信息,则在地图上显示出儿童当前所处的位置,并根据对儿童行为的分析,根据所处位置预先设定的危险模式分类,及其危险因子的大小,决定是否向监护人发出告警。如果儿童所处位置无异常,则只显示出儿童目前的状态,如运动中、静止等。否则,向监护人告警。Step (4) processes the information received from the children's terminal. The guardian receives the message from the server according to the predetermined time periodIA , if no new information is received, then continue to wait; if the information sent by the child is received, the current location of the child is displayed on the map, and According to the analysis of children's behavior, according to the pre-set danger pattern classification of the location and the size of the risk factor, it is decided whether to send an alarm to the guardian. If there is no abnormality in the position of the child, only the current state of the child is displayed, such as in motion, at rest, and so on. Otherwise, alert the guardian.

2)  儿童端技术方案的流程2) The process of children's technical solutions

步骤(1)初始化儿童端的通信接口。初始化儿童端的3G或WIFI通信设置,在儿童端配置公网服务器的地址和端口等信息,并配置向公网服务器发送信息的时间间隔。Step (1) Initialize the communication interface of the child terminal. Initialize the 3G or WIFI communication settings of the children's terminal, configure the address and port of the public network server on the child's terminal, and configure the time interval for sending information to the public network server.

步骤(2)建立儿童端与公网服务器的通信连接。儿童端打开与公网服务器的连接,由儿童端向公网服务器发送一个消息,该消息除了包括标识信息外,还包括进行测试的标识。以测试监护人端和儿童端是否能正常通信。Step (2) Establish a communication connection between the children's terminal and the public network server. The child terminal opens a connection with the public network server, and the child terminal sends a message to the public network server, and the message includes not only identification information but also an identification for testing. To test whether the guardian and children can communicate normally.

步骤(3)监测儿童端的位置和活动信息。通信的时候,儿童端在对儿童的位置和活动信息进行监测后,根据以下情况分别进行处理:Step (3) monitor the location and activity information of the child terminal. When communicating, after monitoring the location and activity information of the child, the children's terminal will deal with it according to the following situations:

a.根据位置的监测结果,如果处于危险区域,如经过红绿灯的路口,或者经过一个建筑工地旁的时候,根据危险级别,以“特别注意***”、“注意***”、“留意***”等声音提示,提醒儿童注意安全防范,并按照预定的时间周期IA向服务器发消息。a. According to the monitoring results of the location, if you are in a dangerous area, such as passing a traffic light intersection, or passing by a construction site, according to the danger level, use "special attention ***", "attention ***", "attention"***" and other sound prompts to remind children to pay attention to safety precautions, and send messages to the server according to the predetermined time periodIA .

b.根据位置监测的结果,如果在处于安全停留区域,如学校内,则延长向公网服务器进行状态数据发送的时间间隔至IS。根据对儿童的活动信息进行监测的结果,将监测到的静止、走动等信息和以及信息发送时的时间作为内容一同发送到公网服务器。b. According to the result of position monitoring, if it is in a safe stop area, such as a school, then extend the time interval for sending status data to the public network server toIS . According to the results of monitoring the children's activity information, the monitored information such as stillness and walking and the time when the information is sent are sent to the public network server as content.

本发明具有如下优点:The present invention has the following advantages:

1.本发明把儿童安全管理分为相伴模式和自主模式两种模式,在相伴模式下监护人可以实时监测儿童是否在身边设定的范围内,在自主模式下通过设定儿童在活动时路线和区域,对于其行踪和活动是否正常及时进行现场提醒和发送给监护人,从而有利于监护人根据不同的场景需要,对儿童进行安全监测,提高儿童人身安全。1. The present invention divides child safety management into two modes: accompanying mode and autonomous mode. In accompanying mode, the guardian can monitor in real time whether the child is within the range set by the side. In the autonomous mode, by setting the route and Areas, on-site reminders of their whereabouts and activities are normal and sent to guardians in a timely manner, so as to help guardians monitor children's safety according to different scenarios and improve children's personal safety.

2.在定时器设置的时候,在相伴模式下根据儿童端是否可以正常联系改变监测的频率,提高了监测的实时性;在自主模式下仅发送位置的信息,以及运动状态的结果,减少了传输的数据量,并通过在儿童端和监护人端同时进行数据处理,提高了对儿童进行提醒和向监护人进行告警的及时性。2. When the timer is set, in the companion mode, the frequency of monitoring is changed according to whether the child terminal can be contacted normally, which improves the real-time monitoring; in the autonomous mode, only the position information and the result of the exercise state are sent, reducing the The amount of data transmitted is reduced, and the timeliness of reminding children and alerting guardians is improved through simultaneous data processing on the children's end and guardians' end.

3.在传输可靠性方面,在相伴模式下,利用蓝牙的短程无线通信可以穿越障碍物和10米左右的目视距离的优势,以及低能耗的特点,提高了设备的适应性和能量有效性;在自主模式下,利用3G和WIFI网络的广泛覆盖性和GPS的室外导航功能,保证了对于儿童行动监测的可靠性,并通过公网服务器的数据缓冲,保证了监护人端和儿童端分布式监测时,数据的异步性对数据传输的可靠性不会产生干扰。3. In terms of transmission reliability, in the companion mode, the short-range wireless communication of Bluetooth can pass through obstacles and the advantage of a visual distance of about 10 meters, as well as the characteristics of low energy consumption, which improves the adaptability and energy efficiency of the device ;In the autonomous mode, using the wide coverage of 3G and WIFI network and the outdoor navigation function of GPS, the reliability of children's action monitoring is guaranteed, and the data buffering of the public network server ensures that the guardian and children are distributed. When monitoring, the asynchrony of data will not interfere with the reliability of data transmission.

本发明实现了近程和远程两种方式对于儿童活动的实时监测和提醒,非常适合于监护人对于具有一定活动能力,但不具备较强自我保护意识的儿童进行安全监测,以防止儿童走失或者遇到意外危险。The present invention realizes the real-time monitoring and reminder of children's activities in short-range and long-distance ways, and is very suitable for guardians to carry out safety monitoring on children who have certain mobility but do not have a strong sense of self-protection, so as to prevent children from getting lost or encountering accidents. to accidental danger.

附图说明Description of drawings

图1 相伴模式下监护人端流程图;Figure 1 The guardian terminal flow chart in companion mode;

图2 相伴模式下儿童端流程图;Figure 2 The flow chart of the children's terminal in the accompanying mode;

图3 自主模式下监护人端流程图;Figure 3 Flowchart of the guardian terminal in autonomous mode;

图4 自主模式下儿童端流程图;Figure 4 Flowchart of children's end in autonomous mode;

图5 自主模式下通信的结构图。Fig. 5 Structure diagram of communication in autonomous mode.

具体实施方式Detailed ways

利用便携式设备提高儿童人身安全的方法包括如下步骤:Ways to use portable devices to improve the physical safety of children include the following steps:

1.相伴模式1. Companion mode

1)监护人端技术方案的流程,参见图1。1) For the process flow of guardian-end technical solutions, see Figure 1.

步骤(1)测定和设置定时器间隔。通过安卓手机自带的蓝牙程序,测试在商场、会场等情况下的平均通信距离作为在该场景下的监测最大距离,然后儿童在奔跑时的最大速度作为儿童的行走的最大速度,S表示相伴模式下监测的最大距离,V表示儿童行走的最大速度。根据下式计算相伴模式下定时器设定的时间间隔:Step (1) Measure and set the timer interval. Through the Bluetooth program that comes with the Android phone, test the average communication distance in shopping malls, venues, etc. as the maximum monitoring distance in this scene, and then the maximum speed of the child when running is the maximum speed of the child's walking. S means accompanying The maximum distance monitored in the mode, V represents the maximum speed of children walking. Calculate the time interval set by the timer in companion mode according to the following formula:

并以该时间间隔的1/3作为在紧急状态下的时间间隔IEAnd take 1/3 of this time interval as the time interval IE in the state of emergency.

步骤(2)初始化监护人端设备。在初始化时,设置监护人需要查找的儿童端设备的蓝牙名称为已知的名称,通过BluetoothAdapter.getDefaultAdapter()获取监护人端的蓝牙设备后,使用enable()方法打开监护人端的蓝牙设备,设置监护人端蓝牙设备进行通信时保持无线呼叫的最大时间间隔为iInterval=I。Step (2) Initialize the guardian device. During initialization, set the Bluetooth name of the child-end device that the guardian needs to find to a known name. After obtaining the guardian-side Bluetooth device through BluetoothAdapter.getDefaultAdapter(), use the enable() method to open the guardian-side Bluetooth device and set the guardian-side Bluetooth device. The maximum time interval for maintaining wireless calls during communication is iInterval=I.

步骤(3)建立监护人端设备和儿童端设备之间的连接。它分为以下操作:Step (3) establishing a connection between the guardian device and the child device. It is divided into the following operations:

a.监护人端扫描周围可见的蓝牙设备。如果找不到儿童端名称的蓝牙设备,则提示错误信息,否则继续以下操作。a. The guardian side scans the Bluetooth devices visible around. If the Bluetooth device with the name of the child’s client cannot be found, an error message will be displayed, otherwise continue with the following operations.

b.向儿童端设备发出配对请求。根据预先配置的儿童端的设备名称,向儿童端设备发起配对请求。b. Send a pairing request to the child device. Initiate a pairing request to the child-side device according to the pre-configured device name of the child-side device.

c.创建BluetoothSocket,向儿童端设备发出连接请求。c. Create a BluetoothSocket and send a connection request to the child device.

步骤(4)监护人端设备向儿童端设备发出Hello请求,儿童端设备在收到请求后向监护人端设备回复Reply信息以进行响应。如果监护人端设备顺利收到儿童端设备的响应信息,则进行步骤(5),否则,解除与儿童端的配对连接,重新回到步骤a进行扫描。Step (4) The guardian device sends a Hello request to the child device, and the child device responds by replying a Reply message to the guardian device after receiving the request. If the guardian device successfully receives the response information from the child device, proceed to step (5); otherwise, cancel the pairing connection with the child device, and return to step a for scanning.

步骤(5)显示连接的状态。监护人端向儿童端发送Keep信息,如果收到儿童端的Alive回复,表明儿童与监护人之间处于安全的距离范围内,显示状态正常信息;否则,在儿童端与监护人端出现连接中断时,改变定时器间隔为紧急状态下的间隔IE,如果连续两次仍然不能和监护人端恢复正常连接,则发出振动和声音告警,提醒监护人寻找儿童。否则,如果连接正常,则恢复到正常的定时器间隔,即I,并处于正常状态。Step (5) displays the status of the connection. The guardian sends a Keep message to the child. If it receives an Alive reply from the child, it indicates that the child and the guardian are within a safe distance and displays a normal status message; otherwise, when the connection between the child and the guardian is interrupted, the timing is changed. The device interval is the interval IE in an emergency state. If the normal connection with the guardian cannot be restored for two consecutive times, a vibration and sound alarm will be issued to remind the guardian to look for the child. Otherwise, if the connection is OK, revert to the normal timer interval, which is I, and be in the normal state.

2)儿童端技术方案的流程,参见图2。2) For the flow of the children's technical solution, see Figure 2.

步骤(1)初始化儿童端设备。在初始化时,配置儿童端设备可以接受配对的监护人蓝牙设备的名称,并打开儿童端的蓝牙设备。Step (1) Initialize the children's device. When initializing, configure the child device to accept the name of the guardian's Bluetooth device that is paired, and turn on the child's Bluetooth device.

步骤(2)接收来自监护人端的配对请求。儿童端设备根据检测到的发起请求的蓝牙设备的名称,如果是来自监护人端的蓝牙设备名称,则接受配对请求。Step (2) Receive a pairing request from the guardian. According to the detected name of the Bluetooth device that initiates the request, the child device accepts the pairing request if it is the name of the Bluetooth device from the guardian.

步骤(3)创建BluetoothServerSocket,等待来自监护人端的连接请求。在接收到该连接请求后,接受它,从而建立连接。Step (3) Create a BluetoothServerSocket and wait for the connection request from the guardian. After receiving the connection request, it is accepted, thereby establishing the connection.

步骤(4)等待来自监护人端的Hello信息。儿童端设备在和监护人端设备配对成功后,从输入流中接收来自监护人端的Hello请求信息。如果没有接收到,则一直等待,如果接收到,则向监护人端发送Reply信息以回应。Step (4) waits for the Hello message from the guardian. After the child device is successfully paired with the guardian device, it receives the Hello request information from the guardian device through the input stream. If it is not received, it will wait all the time, and if it is received, it will send a Reply message to the guardian to respond.

步骤(5)等待来自监护人端的Keep信息。儿童端从输入流中接收来自监护人端的Keep请求信息。如果没有接收到,则一直等待,如果接收到,则通过输出流向监护人端发送Alive信息响应,以表明处于正常连接状态。Step (5) waits for the Keep message from the guardian. The child side receives the Keep request information from the guardian side from the input stream. If it is not received, it will wait forever. If it is received, it will send an Alive message response to the guardian through the output stream to indicate that it is in a normal connection state.

2.自主模式2. Autonomous mode

1)  监护人端技术方案的流程,参见图3和图5。1) For the process flow of guardian-side technical solutions, see Figure 3 and Figure 5.

步骤(1)初始化监护人端的通信接口。通过安卓的ConnectivityManager类获得监护人端的3G和WIFI是否连接的信息,如果未连接,提示用户打开3G或者WIFI,在监护人端配置公网服务器的IP地址和服务端口等信息,并由用户选择与公网服务器进行通信的时间间隔,可以选择10秒、30秒、1分钟、3分钟、5分钟等,也可由用户输入时间间隔作为IAStep (1) Initialize the communication interface of the guardian. Obtain the information about whether the 3G and WIFI of the guardian are connected through the ConnectivityManager class of Android. If not, prompt the user to open 3G or WIFI, configure the IP address and service port of the public network server on the guardian, and let the user choose to connect with the public network. The time interval for the server to communicate can be 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, etc., or the time interval can be input by the user as IA .

步骤(2)初始化监护人端的显示信息。首先进行地图图层的初始化,然后初始化默认的地图显示位置、儿童的初始位置(例如其住址所在的位置)、儿童的出行任务(例如是去公园、上学、买书等)、儿童的采用步行或者公交车等交通工具,以及计划出发时间,返回时间等。Step (2) Initialize the display information of the guardian terminal. Firstly, initialize the map layer, and then initialize the default map display position, the initial position of the child (such as the location of the address), the travel task of the child (such as going to the park, going to school, buying books, etc.), the child's walking or Transportation such as buses, as well as planned departure time, return time, etc.

步骤(3)建立监护人端与公网服务器的通信连接。监护人端使用他在步骤(1)中的公网的IP地址和服务端口打开与公网的Socket连接,设置最大超时等待时间。在建立连接后,打开输入流和输出流,根据使用的公网服务器在该端口提供的应用层协议,使用该协议的规范从输出流向公网服务器发送请求,从输入流检索其接受到的儿童端的测试消息,根据提取到的标识信息AC辨别自己所需要的消息,回复接收到的测试信息。Step (3) establishing a communication connection between the guardian terminal and the public network server. The guardian uses his public network IP address and service port in step (1) to open a Socket connection with the public network, and sets the maximum timeout waiting time. After the connection is established, open the input stream and output stream, according to the application layer protocol provided by the public network server at this port, use the protocol specification to send a request from the output stream to the public network server, and retrieve the received children from the input stream According to the extracted identification information AC, the user can identify the message it needs, and reply the received test message.

步骤(4)处理从儿童端接收到的信息。监护人端按照预定的时间周期,根据使用的公网服务器的应用层协议,使用该协议的规范从输出流向公网服务器发送请求,从输入流检索其接受到的儿童端的消息。如果未接受到新信息,则继续等待;如果接收到儿童端发来的信息,则在地图上显示出儿童当前所处的位置,并根据对儿童行为的分析,根据所处位置预先设定的危险模式分类,及其危险因子的大小,决定是否向监护人发出告警。如果儿童所处位置无异常,则只显示出儿童目前的状态,如运动中、静止等。否则,向监护人告警。Step (4) processes the information received from the children's terminal. According to the predetermined time period, according to the application layer protocol of the public network server used, the guardian uses the specification of the protocol to send a request from the output stream to the public network server, and retrieves the received message from the child terminal from the input stream. If no new information is received, continue to wait; if the information sent by the child terminal is received, the current location of the child will be displayed on the map, and based on the analysis of the child's behavior, according to the preset location The classification of the danger pattern and the size of the risk factor determine whether to send an alarm to the guardian. If there is no abnormality in the position of the child, only the current state of the child is displayed, such as in motion, at rest, and so on. Otherwise, alert the guardian.

2)  儿童端技术方案的流程,参见图4和图5。2) For the flow of the children's technical solution, see Figure 4 and Figure 5.

步骤(1)初始化儿童端的通信接口。通过安卓的ConnectivityManager类获得儿童端的3G和WIFI是否连接的信息,如果未连接,提示用户打开3G或者WIFI,在监护人端配置公网服务器的IP地址和服务端口等信息,并由用户选择与公网服务器进行通信的时间间隔,可以选择10秒、30秒、1分钟、3分钟、5分钟等,也可由用户输入时间间隔作为IA。需注意的是,儿童端与公网服务器进行通信的时间间隔和监护人端与公网服务器进行通信的时间间隔需一致。Step (1) Initialize the communication interface of the child terminal. Obtain the information about whether the child's 3G and WIFI are connected through the ConnectivityManager class of Android. If not connected, prompt the user to turn on 3G or WIFI, configure the IP address and service port of the public network server on the guardian's terminal, and let the user choose to communicate with the public network The time interval for the server to communicate can be 10 seconds, 30 seconds, 1 minute, 3 minutes, 5 minutes, etc., or the time interval can be input by the user as IA . It should be noted that the time interval between the child's terminal and the public network server must be consistent with the time interval between the guardian's terminal and the public network server.

步骤(2)建立儿童端与公网服务器的通信连接。儿童端使用他在步骤(1)中的公网的IP地址和服务端口打开与公网的Socket连接,设置最大等待时间Twc。儿童端打开与公网服务器的连接后,打开输入流和输出流,根据使用的公网服务器在该端口提供的应用层协议,使用该协议的规范从输出流向公网服务器发送一个消息,该消息除了包括标识信息AC外,还包括进行测试的标识TestC,然后从输入流等待从监护人端返回的信息,以测试监护人端和儿童端是否能正常通信。Step (2) Establish a communication connection between the children's terminal and the public network server. The child terminal uses his public network IP address and service port in step (1) to open a Socket connection with the public network, and sets the maximum waiting time Twc. After the child terminal opens the connection with the public network server, it opens the input stream and the output stream, and uses the specification of the protocol to send a message from the output stream to the public network server according to the application layer protocol provided by the public network server on the port. In addition to the identification information AC, it also includes the identification TestC for testing, and then waits for the information returned from the guardian side from the input stream to test whether the guardian side and the child side can communicate normally.

步骤(3)监测儿童端的位置和活动信息。儿童端通过与服务器端的Socket连接,从输出流中按照预定的时间周期IA向服务器发送监测到的儿童位置和活动信息的消息,儿童端在发送消息的同时进行如下处理:Step (3) monitor the location and activity information of the child terminal. The children's end is connected to the Socket on the server side, and sends the monitored child's location and activity information messages to the server from the output stream according to the predetermined time periodIA , and the children's end performs the following processing while sending the message:

a.根据位置的监测结果,如果处于提醒点或者提醒区域处,如经过红绿灯的路口,或者经过一个建筑工地旁的时候,根据危险级别,以“特别注意***”、“注意***”、“留意***”等声音提示,提醒儿童注意安全防范。a. According to the monitoring results of the location, if you are at a reminder point or a reminder area, such as passing a traffic light intersection, or passing a construction site, according to the danger level, use "special attention***" or "attention***" ", "Pay attention to ***" and other voice prompts to remind children to pay attention to safety precautions.

b.根据位置监测的结果,如果在规定的时间处于安全停留区域,则延长向公网服务器进行状态数据发送的时间间隔至IS(IS由用户设置)。并对儿童的活动信息进行监测,将监测到的静止、走动等信息和以及信息发送时的时间作为内容一同发送到公网服务器。b. According to the result of position monitoring, if it is in the safe stop area at the specified time, then extend the time interval for sending status data to the public network server toIS (IS is set by the user). And monitor the children's activity information, and send the monitored static, walking and other information and the time when the information is sent to the public network server as content.

Claims (1)

CN201410667316.6A2014-11-202014-11-20Method of improving children's security by utilizing portable equipmentExpired - Fee RelatedCN104408872B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201410667316.6ACN104408872B (en)2014-11-202014-11-20Method of improving children's security by utilizing portable equipment

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201410667316.6ACN104408872B (en)2014-11-202014-11-20Method of improving children's security by utilizing portable equipment

Publications (2)

Publication NumberPublication Date
CN104408872Atrue CN104408872A (en)2015-03-11
CN104408872B CN104408872B (en)2017-02-08

Family

ID=52646498

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201410667316.6AExpired - Fee RelatedCN104408872B (en)2014-11-202014-11-20Method of improving children's security by utilizing portable equipment

Country Status (1)

CountryLink
CN (1)CN104408872B (en)

Cited By (19)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105025397A (en)*2015-05-292015-11-04惠州市沃德玛玛科技有限公司Talkback and positioning system
CN105488954A (en)*2016-01-142016-04-13广东小天才科技有限公司Information reminding method and device based on danger level
CN105575043A (en)*2016-01-042016-05-11广东小天才科技有限公司Reminding method and system for eliminating danger
CN105637554A (en)*2016-01-062016-06-01汤美 A safety management system for students going to school or leaving school
CN105654798A (en)*2016-03-172016-06-08深圳华强酷信通讯技术有限公司Method and device for child preschool education and custody
WO2016131262A1 (en)*2015-07-032016-08-25中兴通讯股份有限公司Alarm processing method and device, and terminal
CN106056516A (en)*2016-05-312016-10-26杭州致峰网络科技有限公司Monitoring method and monitoring system
CN106327786A (en)*2015-06-242017-01-11中兴通讯股份有限公司Monitoring method, device and electronic equipment
CN106568454A (en)*2016-11-102017-04-19北京小米移动软件有限公司Information prompting method and device
CN106686096A (en)*2016-12-312017-05-17杭州致峰网络科技有限公司System and method for recognizing personal safety
CN106686550A (en)*2017-03-082017-05-17杭州电子科技大学 Ways to Improve Child Safety Using Location Monitoring
CN107622629A (en)*2017-09-042018-01-23深圳支点电子智能科技有限公司A kind of safety instruction method and intelligent watch
CN107734455A (en)*2017-10-252018-02-23维沃移动通信有限公司A kind of method, terminal and the readable storage medium storing program for executing of positional information record
CN108156322A (en)*2017-12-262018-06-12艾鑫Missing child recovers method, apparatus and system
CN110477495A (en)*2019-07-092019-11-22济南大学Children's rpyroelectric infrared detects safety cap, detection system and application method
CN110660192A (en)*2019-09-232020-01-07赵双全Anti-lost system
CN110719363A (en)*2019-09-202020-01-21奇酷互联网络科技(深圳)有限公司Positioning reporting method and device, intelligent terminal and storage medium
CN109859447B (en)*2019-01-302021-08-20广州轨道交通建设监理有限公司Safety protection method, controller and system in construction site
CN114862127A (en)*2022-04-132022-08-05深圳市鸿普森科技股份有限公司Smart park big data visualization management system

Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20020048170A (en)*2000-12-162002-06-22구자홍Stupid child prevention apparatus and method using bluetooth
GB2447459A (en)*2007-03-132008-09-17Grant Edwin PhippsWireless separation alarm for monitoring loss of children or property
TW200945268A (en)*2008-04-222009-11-01Zan-Mi YuDevice and method for the prevention of getting lost
CN201732453U (en)*2010-03-252011-02-02旺兴达(丰顺)电子有限公司Bluetooth pendant
CN103164925A (en)*2011-12-162013-06-19深圳富泰宏精密工业有限公司Bluetooth warning device, communication equipment and warning method
CN203102540U (en)*2013-01-252013-07-31唐慧玲 A Miniature Anti-lost Alarm System Based on Bluetooth Technology
CA2831534A1 (en)*2012-10-292014-04-29Vannick Enterprises Ltd.Locator device primarily for children

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
KR20020048170A (en)*2000-12-162002-06-22구자홍Stupid child prevention apparatus and method using bluetooth
GB2447459A (en)*2007-03-132008-09-17Grant Edwin PhippsWireless separation alarm for monitoring loss of children or property
TW200945268A (en)*2008-04-222009-11-01Zan-Mi YuDevice and method for the prevention of getting lost
CN201732453U (en)*2010-03-252011-02-02旺兴达(丰顺)电子有限公司Bluetooth pendant
CN103164925A (en)*2011-12-162013-06-19深圳富泰宏精密工业有限公司Bluetooth warning device, communication equipment and warning method
CA2831534A1 (en)*2012-10-292014-04-29Vannick Enterprises Ltd.Locator device primarily for children
CN203102540U (en)*2013-01-252013-07-31唐慧玲 A Miniature Anti-lost Alarm System Based on Bluetooth Technology

Cited By (22)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN105025397A (en)*2015-05-292015-11-04惠州市沃德玛玛科技有限公司Talkback and positioning system
CN106327786A (en)*2015-06-242017-01-11中兴通讯股份有限公司Monitoring method, device and electronic equipment
WO2016131262A1 (en)*2015-07-032016-08-25中兴通讯股份有限公司Alarm processing method and device, and terminal
CN105575043A (en)*2016-01-042016-05-11广东小天才科技有限公司Reminding method and system for eliminating danger
CN105637554A (en)*2016-01-062016-06-01汤美 A safety management system for students going to school or leaving school
CN105488954B (en)*2016-01-142017-11-03广东小天才科技有限公司Information reminding method and device based on danger level
CN105488954A (en)*2016-01-142016-04-13广东小天才科技有限公司Information reminding method and device based on danger level
CN105654798A (en)*2016-03-172016-06-08深圳华强酷信通讯技术有限公司Method and device for child preschool education and custody
CN106056516A (en)*2016-05-312016-10-26杭州致峰网络科技有限公司Monitoring method and monitoring system
CN106568454A (en)*2016-11-102017-04-19北京小米移动软件有限公司Information prompting method and device
CN106686096B (en)*2016-12-312019-09-20杭州致峰网络科技有限公司Identify the system and method for personal safety
CN106686096A (en)*2016-12-312017-05-17杭州致峰网络科技有限公司System and method for recognizing personal safety
CN106686550A (en)*2017-03-082017-05-17杭州电子科技大学 Ways to Improve Child Safety Using Location Monitoring
CN107622629A (en)*2017-09-042018-01-23深圳支点电子智能科技有限公司A kind of safety instruction method and intelligent watch
CN107734455A (en)*2017-10-252018-02-23维沃移动通信有限公司A kind of method, terminal and the readable storage medium storing program for executing of positional information record
CN108156322A (en)*2017-12-262018-06-12艾鑫Missing child recovers method, apparatus and system
CN109859447B (en)*2019-01-302021-08-20广州轨道交通建设监理有限公司Safety protection method, controller and system in construction site
CN110477495A (en)*2019-07-092019-11-22济南大学Children's rpyroelectric infrared detects safety cap, detection system and application method
CN110719363A (en)*2019-09-202020-01-21奇酷互联网络科技(深圳)有限公司Positioning reporting method and device, intelligent terminal and storage medium
CN110660192A (en)*2019-09-232020-01-07赵双全Anti-lost system
CN114862127A (en)*2022-04-132022-08-05深圳市鸿普森科技股份有限公司Smart park big data visualization management system
CN114862127B (en)*2022-04-132023-05-02深圳市鸿普森科技股份有限公司Visual management system for big data of intelligent park

Also Published As

Publication numberPublication date
CN104408872B (en)2017-02-08

Similar Documents

PublicationPublication DateTitle
CN104408872B (en)Method of improving children's security by utilizing portable equipment
US11665523B2 (en)Systems and methods for emergency communications amongst groups of devices based on shared data
US10223891B2 (en)Real-time multi-component web based travel safety system and method
Zambrano et al.Technologies of internet of things applied to an earthquake early warning system
US8983435B2 (en)System and method for providing an alert based on user location
CN105993184B (en) Interactive emergency information and identification
JP4349199B2 (en) Space-time communication system
CN105654663B (en)A kind of students in middle and primary schools' condition monitoring method based on GPS and GIS
CN103747416A (en)Method, device and system of performing prompting for portable positioning device
CN103353981A (en)RFID/wireless network-based fire escape cloud command system and method
CN106686550A (en) Ways to Improve Child Safety Using Location Monitoring
Maryam et al.A survey on smartphones systems for emergency management (SPSEM)
CN202095094U (en)Server monitoring mobile terminals
Gómez et al.A review on mobile applications for citizen emergency management
KR101891396B1 (en)Method and system for notifying risk based GPS
CN202190318U (en)Alarm system of mobile terminal
Punetha et al.Protection of the child/elderly/disabled/pet by smart and intelligent GSM and GPS based automatic tracking and alert system
CN106937249A (en) Wireless positioning intelligent management system
CN105617588A (en)Cloud service-based Internet of Thigs firefighting monitoring system
Purahoo et al.SenseAPP: An IoT-based mobile crowdsensing application for smart cities
Mythili et al.A comparative study of smart phone emergency applications for disaster management
AU2019101668A4 (en)System and method for acquiring and processing social risk information
CN105512478A (en)Old people dangerous case alarm method based on cloud computing technology
Huang et al.An mobile safety monitoring system for children
CN102665223A (en)Deploying method after earthquake for sensor network node based on information physical system

Legal Events

DateCodeTitleDescription
C06Publication
PB01Publication
C10Entry into substantive examination
SE01Entry into force of request for substantive examination
C14Grant of patent or utility model
GR01Patent grant
CF01Termination of patent right due to non-payment of annual fee
CF01Termination of patent right due to non-payment of annual fee

Granted publication date:20170208

Termination date:20171120


[8]ページ先頭

©2009-2025 Movatter.jp