WO2021253926A1 - 一种儿童遗留车辆内的报警方法、报警装置及穿戴设备 - Google Patents

一种儿童遗留车辆内的报警方法、报警装置及穿戴设备 Download PDF

Info

Publication number
WO2021253926A1
WO2021253926A1 PCT/CN2021/085286 CN2021085286W WO2021253926A1 WO 2021253926 A1 WO2021253926 A1 WO 2021253926A1 CN 2021085286 W CN2021085286 W CN 2021085286W WO 2021253926 A1 WO2021253926 A1 WO 2021253926A1
Authority
WO
WIPO (PCT)
Prior art keywords
wearable device
wireless device
information
child
account
Prior art date
Application number
PCT/CN2021/085286
Other languages
English (en)
French (fr)
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 华为技术有限公司
Publication of WO2021253926A1 publication Critical patent/WO2021253926A1/zh

Links

Images

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
    • 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/18Status alarms
    • G08B21/24Reminder alarms, e.g. anti-loss alarms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location 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/025Services making use of location information using location based information parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/40Services specially adapted for particular environments, situations or purposes for vehicles, e.g. vehicle-to-pedestrians [V2P]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • This application relates to the field of wearable devices, and in particular to an alarm method, alarm device and wearable device in a vehicle left behind by a child.
  • some alarm methods for children left in the vehicle are to determine whether the child is left in the vehicle based on the connection relationship between the child's wearable device and the wireless module on the vehicle.
  • the Bluetooth module on a school bus cannot establish a connection with multiple children’s wearable devices at the same time; the Bluetooth module of a private car can no longer connect to the child’s wearable device after establishing a Bluetooth connection with the father or mother’s mobile phone. establish connection.
  • the existing alarm methods for children left in the vehicle are more limited when applied, and when applied in a private car, it is necessary to default to the problem that the car Bluetooth and the wearable device are connected first.
  • the embodiments of this application provide an alarm method, alarm device and wearable device in a child left vehicle, which solves the problem that the current alarm method in a child left vehicle has relatively large limitations in application and must be defaulted when applied to a private car
  • an embodiment of the present application provides an alarm method in a vehicle left behind by a child, including:
  • the information of the wireless device scanned by the wearable device Obtain the information of the wireless device scanned by the wearable device; if the information of the target wireless device exists in the information of the wireless device scanned by the wearable device, obtain the environmental data of the environment in which the wearable device is currently located, wherein the target The wireless device is a wireless device pre-installed in the vehicle; when the environmental data meets a preset condition, an alarm message is issued.
  • the method further includes:
  • the environment data of the environment where the wearable device is currently located is acquired.
  • the acquiring environment data of the environment in which the wearable device is currently located includes:
  • issuing an alarm message includes: if the ambient temperature exceeds a preset temperature range and/or the ambient oxygen content exceeds If the oxygen content range is preset, an alarm message will be issued.
  • the setting manner of the target wireless device includes:
  • the method further includes:
  • the setting manner of the target wireless device includes:
  • the method further includes: acquiring the input second account number, and combining the input second account number with The target wireless device is associated.
  • the issuing of alarm information includes:
  • the alarm information includes: current geographic location information of the wearable device and the wearable device Environmental data of the current environment.
  • acquiring environmental data of the environment in which the wearable device is currently located includes :
  • the wearable device If the information of the target wireless device exists in the information of the wireless device scanned by the wearable device, acquiring the geographic location information of the wearable device at a preset time interval;
  • the environment data of the environment where the wearable device is currently located is acquired.
  • the method further includes: if the movement distance is not within a preset range, sending to the wearable device The first control instruction, wherein the first control instruction is used to control a sensor on the wearable device to stop collecting environmental data.
  • an embodiment of the present application provides an alarm device in a vehicle left behind by a child, including:
  • the device information acquiring unit is used to acquire the information of the wireless device scanned by the wearable device;
  • the environmental data obtaining unit is configured to obtain environmental data of the environment where the wearable device is currently located if there is information about the target wireless device in the wireless device information scanned by the wearable device, wherein the target wireless device is the target wireless device.
  • the wireless equipment pre-installed in the vehicle;
  • the alarm unit is used to send an alarm message when the environmental data meets preset conditions.
  • a wearable device including: a memory, a processor, and a computer program stored in the memory and running on the processor, wherein the processor executes the computer program when the computer program is executed.
  • a chip system including: a processor coupled with a memory, and the processor executes a computer program stored in the memory to implement the steps of any one of the methods described in the first aspect of the present application .
  • a computer-readable storage medium stores a computer program that, when executed by one or more processors, implements the method described in any one of the first aspects of the present application A step of.
  • embodiments of the present application provide a computer program product, which when the computer program product runs on a device, causes the device to execute the method described in any one of the above-mentioned first aspects.
  • the method for warning in a vehicle left behind by a child provided by the embodiment of the present application can obtain the environmental data of the current environment of the wearable device when the information of the wireless device scanned by the wearable device contains the information of the on-board wireless device, and the environmental data meets the expected requirements. When conditions are set, an alarm message is issued; because the wireless module in the wearable device and the on-board wireless device do not need to establish a connection, the environmental monitoring and alarm in the child left vehicle can be realized.
  • the method is more widely used and solves the problem that the Bluetooth device on the school bus cannot establish a connection with multiple children's wearable devices at the same time when it is applied to the school bus; it also solves the problem that the Bluetooth device and the wearable device must be defaulted when used in a private car. Priority to establish a connection, or an additional wireless module must be installed.
  • FIG. 1 is a schematic diagram of an application scenario of an alarm method in a vehicle left behind by a child according to an embodiment of the application;
  • FIG. 2 is a schematic flowchart of an alarm method in a vehicle left behind by a child according to an embodiment of the application;
  • FIG. 3 is a schematic flowchart of a method for setting a target wireless device in the embodiment shown in FIG. 2;
  • FIG. 4 is a schematic diagram of an application scenario of the embodiment shown in FIG. 3;
  • FIG. 5 is a schematic flowchart of another method for setting a target wireless device in the embodiment shown in FIG. 2;
  • FIG. 6 is a schematic diagram of displaying information of scanned wireless devices in the form of a list on a wearable device according to an embodiment of the application;
  • FIG. 7 is a schematic diagram of an application scenario of a method of setting a target wireless device through a wearable device provided by an embodiment of the application;
  • FIG. 8 is a schematic flowchart of another alarm method in a vehicle left behind by a child according to an embodiment of the application.
  • FIG. 9 is a schematic diagram of a method for determining the moving range of the wearable device in the embodiment shown in FIG. 8;
  • FIG. 10 is a schematic flowchart of an alarm method in a vehicle left behind by a child according to an embodiment of the application.
  • FIG. 11 is a schematic block diagram of the structure of an alarm device in a vehicle left behind by a child according to an embodiment of the application;
  • FIG. 12 is a schematic block diagram of a part of the structure of a telephone watch according to an embodiment of the application.
  • FIG. 13 is a schematic diagram of the software structure of a wearable device provided by an embodiment of the application.
  • one or more refers to one, two, or more than two; and “and/or” describes the association relationship of associated objects, which means that there may be three relationships; for example, A and/or B can mean: A alone exists, A and B exist at the same time, and B exists alone, where A and B can be singular or plural.
  • the character “/” generally indicates that the associated objects before and after are in an "or" relationship.
  • Fig. 1 is a schematic diagram of an application scenario of an alarm method in a vehicle left behind by a child provided by an embodiment of the present application.
  • the wearable device can be a children’s watch, and the children’s watch is equipped with a wireless device, for example, a Bluetooth module. Children wearing the children’s watch can enter the school bus.
  • the school bus is also equipped with a wireless device, such as car Bluetooth. , After the car ignites, the bluetooth of the car will be activated accordingly, and the broadcast message will be sent out after the bluetooth of the car is activated.
  • the child’s watch can scan to nearby Bluetooth devices. If the Bluetooth module on the child’s watch scans the target wireless device (the school bus’s car Bluetooth), it means that the child has entered the school bus. (For example, the child is sitting at the position of the last window of the school bus in Figure 1) or stays within a certain distance from the school bus. If the Bluetooth scanned by the child’s watch does not include the target wireless device (the school bus’s on-board Bluetooth), it means that the child has Get out of the school bus (for example, the child sitting in the position of the last window of the school bus in Figure 1 walks out of the school bus).
  • the target wireless device the school bus’s car Bluetooth
  • the children’s watch shown in the figure can also be equipped with a temperature sensor and an oxygen content sensor (not shown in Figure 1).
  • a temperature sensor the target wireless device (the school bus’s bluetooth)
  • an oxygen content sensor not shown in Figure 1
  • the target wireless device the school bus’s bluetooth
  • the wireless device set on the wearable device can be a Bluetooth module, or a wireless fidelity (wireless fidelity, WiFi) module, of course, It can be other wireless modules for short-distance communication, and there is no restriction here.
  • the wearable device is set as a Bluetooth module as an example in the example. However, it does not mean that the embodiment of the present application is only applied to an application scenario where the wireless device is a Bluetooth module.
  • Fig. 2 shows a schematic flowchart of an alarm method in a vehicle left behind by a child according to an embodiment of the present application; as an example and not a limitation, the method can be applied to the wearable device in the above-mentioned application scenario.
  • Step S201 Obtain the information of the wireless device scanned by the wearable device.
  • the wearable device may be a children's watch, a children's wristband, or other items that children can wear with them, for example, smart devices that can be worn on clothes and footwear.
  • a Bluetooth module can be set on the wearable device.
  • the Bluetooth module can scan to obtain the broadcast information of other Bluetooth devices in the surrounding environment. According to the broadcast information, the information list of other Bluetooth devices in the surrounding environment can be generated. Each Bluetooth device in the information list of the Bluetooth device The device information is the information of the wireless device scanned by the wearable device.
  • the wearable device can scan the car Bluetooth of the entering vehicle when the Bluetooth of the school bus or private car is turned on.
  • Step S202 If there is target wireless device information in the wireless device information scanned by the wearable device, obtain environmental data of the environment in which the wearable device is currently located. Installed wireless devices.
  • the target wireless device may be a Bluetooth device pre-configured on a wearable device, for example, a car Bluetooth on a school bus, or a car Bluetooth on a private car. Pre-set the on-board Bluetooth of vehicles in which children are likely to or often ride as the target wireless device.
  • the wearable device can also be equipped with sensors, and the environment data of the current environment of the wearable device is collected through the sensors on the wearable device.
  • the environment data of the current environment of the wearable device represents the environment data of the child's current environment, namely The environmental data of the child's environment can be collected through the sensors on the wearable device.
  • a temperature sensor or an oxygen content sensor can be set, and the temperature sensor on the wearable device can collect the ambient temperature of the environment where the wearable device is currently located, or the oxygen content sensor on the wearable device can collect the temperature of the wearable device.
  • the ambient oxygen content of the environment can also include a temperature sensor and an oxygen content sensor at the same time.
  • the ambient temperature is collected by the temperature sensor on the wearable device, and the ambient oxygen content is collected by the oxygen content sensor on the wearable device.
  • other sensors can also be provided to monitor whether the environment the child is in will put the child in danger (for example, heatstroke, hypoxia in a confined space, etc.).
  • a humidity sensor may also be provided on the wearable device.
  • a harmful gas content sensor may also be provided on the wearable device.
  • the wearable device does not need to establish a Bluetooth connection with the car Bluetooth, and can also determine whether the child is in the car or is about to enter the car. Therefore, even if the on-board Bluetooth in the school bus cannot maintain a Bluetooth connection with multiple children's wearable devices at the same time, it can be determined whether the child has entered the car or is about to enter the car through whether the wearable device scans the in-car Bluetooth.
  • the target wireless device can be a car Bluetooth or car WiFi, or a Bluetooth device or a wireless router in other occasions.
  • the target wireless device can be tutoring.
  • a Bluetooth device or wireless router installed in the homework classroom.
  • children may be alone in a certain space, all wireless devices installed in the space can be used as target wireless devices.
  • children will not be alone in a certain space, but when parents want to know the environmental conditions of the space, they can also use the wireless device installed in the space as the target wireless device.
  • the wireless device in this scene needs to be the same type as the wireless module on the wearable device, or the type of wireless module set on the wearable device includes the type of wireless device in the scene, so that the wearable The wireless module on the device can scan the wireless devices installed in the scene.
  • a Bluetooth module is installed on a wearable device, and a wireless router is installed in a certain space, which cannot be used in that space;
  • the Bluetooth module is set on the wearable device, and the Bluetooth device is set in a certain space, which can be applied to the space;
  • the Wi-Fi module is set on the wearable device, and the Bluetooth device is set in a certain space, which cannot be applied to the space;
  • the wearable device is equipped with a WiFi module and a Bluetooth module, and a Bluetooth device is installed in a certain space, which can be applied to the space.
  • Step S203 When the environmental data meets a preset condition, an alarm message is issued.
  • some conditions can be preset. Determine whether the child’s current environment is not suitable for the child to continue to stay in the environment through preset conditions. When the environment of the child is not suitable, an alarm message will be issued.
  • the acquired environmental data of the environment in which the wearable device is currently located is the environmental temperature, and the collected environmental temperature exceeds the preset temperature range, it means that the environmental data meets the preset conditions, and an alarm message needs to be issued.
  • the preset temperature range can be set as: 10°C ⁇ T ⁇ 37°C, or the preset temperature range can be set as: 18°C ⁇ T ⁇ 32°C.
  • the temperature in the car is usually higher, and the high threshold value of the ambient temperature can be set relatively higher, T ⁇ 37°C, indoors
  • the temperature is usually relatively low, you can set the high-point critical value of the ambient temperature to be relatively low, T ⁇ 35°C.
  • the indoor in winter can be set to: T>18°C; in the summer, the car can be set to T ⁇ 37°C.
  • the acquired environmental data of the environment where the wearable device is currently located is the ambient oxygen content, and the collected ambient oxygen content exceeds the preset oxygen content range, it means that the environmental data meets the preset conditions and an alarm message needs to be issued.
  • the preset oxygen content range can be set as: Q> 19.6%.
  • a certain national standard is that the oxygen content is less than 18% as hypoxia.
  • the wearable device When acquiring the environmental data of the environment in which the wearable device is currently located includes two or more than two, and monitoring that the environmental data meets the preset conditions, it can indicate that any item in the environmental data exceeds the preset corresponding to the item. Scope.
  • monitoring that the environmental data meets the preset conditions indicates the following three situations: (1) The collected ambient temperature exceeds the preset temperature range; (2) The collected ambient oxygen The content exceeds the preset oxygen content range; (3) The collection environment temperature exceeds the preset temperature range, and the collected ambient oxygen content exceeds the preset oxygen content range.
  • the alarm information can be sent to the parent's mobile phone number preset on the wearable device.
  • the wearable device scans the car Bluetooth, turn on the temperature sensor and oxygen content sensor on the wearable device and set a preset time interval Monitor environmental data, for example, collect temperature and oxygen content every 5 minutes.
  • the time interval can also be set to other times, for example, 3 minutes, 7 minutes, and so on.
  • the temperature sensor and the oxygen content sensor can also be controlled to collect environmental data at their respective operating frequencies, for example, the temperature is collected every 3 minutes, and the oxygen content is collected every 5 minutes.
  • an alarm message is sent to the mother's mobile phone.
  • the application of the alarm method in the child's legacy vehicle is more Broadly, it solves the problem that the wireless device on the school bus cannot establish a connection with multiple children’s wearable devices at the same time when it is used on the school bus; it also solves the problem that when used on a private car, the car Bluetooth and the wearable device must be connected by default. Or the problem that an additional wireless module must be installed.
  • FIG. 3 shows a schematic flowchart of a method for setting a target wireless device in a method for alarming in a vehicle left behind by a child provided by an embodiment of the present application; as an example and not a limitation, the method can be applied to the method provided in the embodiment of the present application Wearable devices in application scenarios.
  • Step S301 Obtain wireless device information sent by a first account, where the first account is an account associated with the wearable device.
  • the setting method of the phone watch is to set the phone watch through the application software on the parent’s mobile phone. monitor.
  • Parents install application software on their mobile phones, corresponding to the first account (for example, the account registered by the parent's mobile phone number), and the parents can send control instructions and information to the wearable device through the first account on their mobile phone.
  • the first account may also be a social account such as an email account, a WeChat account, and a Weibo account of the guardian (for example, mother).
  • Mother can scan the surrounding wireless devices on her mobile phone, and send the scanned information to be set as the target wireless device to the wearable device through the application software (application software registered by the first account). For example, the scanned information can be sent to the wearable device.
  • the Bluetooth address is sent to the phone watch.
  • the application software may be software installed on the parent's mobile phone for monitoring the wearable device, or may be a small program loaded into other applications for monitoring the wearable device.
  • Fig. 4(a) to Fig. 4(d) are schematic diagrams of the application scenarios of the method for setting the target wireless device provided by the embodiment of the present application.
  • the setting methods for the target wireless device of the wearable device are all on the side of the parent's mobile phone.
  • the child's parent has installed the application software A for monitoring the wearable device on his mobile phone, and the parent clicks on the application software A on the mobile phone.
  • the parent selects one of the Bluetooths and sends the Bluetooth information to the wearable device.
  • Step S302 Set the wireless device indicated by the wireless device information sent by the first account as the target wireless device.
  • the wearable device if it receives the wireless device information sent by the first account, it can set the wireless device indicated by the wireless device information as the target wireless device, for example, set the Bluetooth address in the Bluetooth information to Target Bluetooth.
  • the wearable device may not display any interface. After receiving the information containing the Bluetooth address sent by the first account, the Bluetooth indicated by the Bluetooth address is directly set as the target Bluetooth.
  • Step S303 Obtain a second account sent by the first account, and associate the second account sent by the first account with the target wireless device.
  • a second account can be set for the target wireless device.
  • the second account sent by the first account is received, and the second account is set as the second account of the currently set target wireless device.
  • the second account associated with the target wireless device can also be set in the wireless device information sent by the first account (for example, the parent's mobile phone). If the wireless device information received by the wearable device includes: the second account associated with the target wireless device, the wireless device indicated by the wireless device information may be set as the target wireless device, and the target wireless device may be connected to the target wireless device. The second account is associated. If the wireless device information received by the wearable device does not include the second account, the wireless device indicated by the wireless device information can be set as the target wireless device.
  • the parent After the parent selects one of the Bluetooth in Figure 4(c), it will jump to the next interface.
  • the next interface can set the associated second account for the selected Bluetooth.
  • the parent can choose a mobile phone number as the second account in your address book, and you can also enter the second account yourself.
  • the second account can be set to the mobile phone number of the school bus driver, or the mobile phone number of the head teacher.
  • the first account is an account associated with the wearable device
  • the second account is an account associated with the target wireless device.
  • the second account and the first account may be the same or different.
  • the first account generally represents the account of the guardian of the wearer of the wearable device, and the second account is usually the user of the space where the target wireless device is located. Or the account of the guardian (for example, driver, teacher, etc.).
  • the first account associated with Xiao Ming’s wearable device mother’s mobile phone number and father’s mobile phone number;
  • target wireless device 1 Three target wireless devices are set on Xiao Ming's wearable device: target wireless device 1, target wireless device 2, target wireless device 3;
  • the target wireless device 1 is the car Bluetooth of the private car of Xiao Ming’s father, and the second account number: his father’s mobile phone number;
  • the target wireless device 2 is the bluetooth of the school bus of Xiaoming Kindergarten, the second account: the mobile phone number of the school bus driver and the mobile phone number of the head teacher;
  • the target wireless device 3 is the Bluetooth of Huawei's cram school, and the second account is the phone number of the cram teacher.
  • the setting of the first account and the second account is to send alarm information to the first account or the second account when the environment of the child is not suitable.
  • the setting of the first account and the second account is to send alarm information to the first account or the second account when the environment of the child is not suitable.
  • the target wireless device can be selected through the application software on the parent’s mobile phone.
  • the information of the selected target wireless device is sent to the side of the wearable device. After the side of the wearable device receives the information of the wireless device, there is no need to display it.
  • the processor directly sets the wireless device indicated by the received wireless device information as the target wireless device.
  • the target wireless device can also be associated with the second account sent by the parent's mobile phone.
  • FIG. 5 shows a schematic flowchart of another setting method of a target wireless device in a method for warning in a child left behind vehicle provided by an embodiment of the present application; as an example and not a limitation, this method can be applied to the implementation of the present application The wearable device in the example.
  • Step S501 Obtain the information of the wireless device scanned by the wearable device, and display the information of the wireless device.
  • the target wireless device when the screen of the wearable device is relatively large, or the wearable device can perform settings on the wearable device side by voice control, the target wireless device can also be set on the wearable device side.
  • the wireless module on the wearable device scans nearby wireless devices to obtain the information list of the wireless devices, and displays or broadcasts the information list of the scanned wireless devices on the wearable device.
  • the information of the scanned wireless devices is displayed in the form of a list on the wearable device.
  • Figure 7 is a schematic diagram of an application scenario for setting a target wireless device through a wearable device provided by an embodiment of the present application. Set up as follows:
  • Parents can set the wearable device to parent mode on the application software of the mobile phone.
  • the wearable device In the parent mode, the wearable device can be set for operation (correspondingly, in the child mode, the wearable device cannot be set for operation).
  • parents can speak sentences that include the keywords "scan” and "Bluetooth”.
  • the wearable device can scan the nearby Bluetooth devices. After the scan is over, the information of the scanned Bluetooth devices will be played in sequence "1.acdfthhsh, 2.fhgirehgfdbgrh, 3.busgubd, and the playback is over, please select the serial number corresponding to the Bluetooth address ".
  • Step S502 Receive information of at least one wireless device selected from the information list of the wireless device, and set the wireless device indicated by the information of the selected wireless device as a target wireless device.
  • the wearable device is a touch screen
  • at least one Bluetooth device in the information list of the Bluetooth device can be selected by touch.
  • the wearable device sequentially displays each of the Bluetooth devices in the information list The Bluetooth address of the Bluetooth device.
  • the wearable device will set the Bluetooth device indicated by the selected Bluetooth address as the target Bluetooth device (refer to the application scenario shown in Figure 6).
  • the wearable device may not be a touch screen, but physical buttons are used for selection, and then a Bluetooth device in the information list of the Bluetooth device can be selected as the target wireless device through the physical button.
  • a Bluetooth device in the information list of the Bluetooth device can be selected as the target wireless device through the physical button.
  • the wearable device is voice-activated, one of the Bluetooth devices can be used as the target wireless device according to the application scenario shown in Figure 7. For example, the wearable device plays "1.acdfthhsh, 2.fhgirehgfdbgrh, 3.busgubd, After the playback is over, please select the serial number corresponding to the Bluetooth address", assuming that the second is the target wireless device to be set, then the parent can say "2". The wearable device will use the Bluetooth device indicated by the second Bluetooth address as the target wireless device.
  • the specific method used to select the target wireless device is related to the configuration of the wearable device and is not limited here.
  • Step S503 Obtain the input second account number, and associate the input second account number with the target wireless device.
  • the input box can be displayed on the wearable device, and each digit of the mobile phone number can be written in turn on the screen by handwriting. After the writing is completed, the input box The entered mobile phone number will be displayed, and the wearable device can associate the entered mobile phone number with the target Bluetooth device. That is, the second account is the second account input by the user received through the input box.
  • the wearable device when the wearable device is voice-activated, according to the description in the application scenario shown in Figure 7, after the wearable device uses the Bluetooth device indicated by the second Bluetooth address as the target Bluetooth device, the voice "Is it current Bluetooth set alarm call", the parent says "No", it ends, the parent says "Yes", the wearable device continues to broadcast "Please speak the alarm call”, the parent says "1********** "The wearable device associates the mobile phone number spoken by the parent with the target wireless device, that is, the second account is a second account input by the user received through a microphone.
  • the screens of wearable devices can tend to use touch screen technology or wearable devices tend to use voice input technology, so that parents can more intuitively make various settings on the wearable device .
  • the embodiments shown in Figures 3 and 5 respectively describe the method of setting the target wireless device from the side of the parent's mobile phone and the side of the wearable device.
  • the wearable device can provide an alarm method for the child left behind in the vehicle. initial preparation work.
  • the wearable device can continue to scan the surrounding wireless devices, and then compare whether the scanned wireless device information contains the preset target wireless device information to determine whether the child is in the car or is about to do so
  • step S201 to step S203 in the embodiment shown in FIG. 2 can be executed.
  • issuing alarm information includes:
  • the alarm information includes: current geographic location information of the wearable device and the wearable device Environmental data of the current environment.
  • the alarm information can be sent to the first account associated with the wearable device, and the alarm information can also be sent to the fire department and/or the police.
  • Bureau if the associated second account is set for the target wireless device, the alarm information can be sent to the first account associated with the wearable device and the second account associated with the target wireless device, and the alarm information can also be sent to the third account.
  • Account number for example, fire department, police station.
  • the environmental data monitored by the wearable device reaches the bad level, an alarm message is sent to the third account to rescue the child from the bad environment as soon as possible.
  • the alarm information may not be sent to the third account, but only the first account and the second account are sent to avoid the waste of public resources.
  • the ambient temperature when collecting the ambient temperature, you can set: 37°C ⁇ T ⁇ 40°C belongs to the ordinary grade, and T ⁇ 40°C belongs to the severe grade. If the collected ambient temperature is 35°C, no alarm information will be sent; if the collected ambient temperature is 38°C, the alarm information will be sent to the first account and the second account; if the collected ambient temperature is 41°C, the third The account sends alarm information.
  • the alarm information includes: current geographic location information of the wearable device and environmental data/environment level of the environment in which the wearable device is currently located. Of course, according to the actual situation, it may also only include: the current geographic location information of the wearable device.
  • the current geographic location information of the wearable device can enable the receiver of the alarm information to know the current location of the child, and the environmental data can enable the receiver of the alarm information to understand the environmental data or environmental level of the child's current environment.
  • Fig. 8 shows a schematic flowchart of a method for warning in a vehicle left behind by a child provided by an embodiment of the present application; as an example and not a limitation, the method can be applied to a wearable device.
  • Step S801 Obtain the information of the wireless device scanned by the wearable device.
  • step S801 is consistent with the content of step S201, and the description of step S201 can be referred to, which will not be repeated here.
  • Step S802 If the information of the target wireless device exists in the information of the wireless device scanned by the wearable device, continue to obtain the information of the wireless device scanned by the wearable device.
  • the information of the wireless device scanned by the wearable device includes the information of the target wireless device, it means that the wearer of the wearable device is close to the vehicle (space) where the target wireless device is located or enters the vehicle where the target wireless device is located. (Space), in addition to monitoring the environmental conditions through the sensor on the wearable device, it can also control the wearable device to continuously scan the information of the surrounding wireless devices, that is, the sensor on the wearable device collects environmental data and the wearable device scans the surrounding wireless devices.
  • the equipment is in progress at the same time. That is, while step S802 to step S804 are executed, step S202 to step S203 can also be executed.
  • step S202 to step S203 can be executed.
  • Step S803 If the information of the target wireless device scanned by the wearable device disappears, obtain the geographic location information of the wearable device within a preset time.
  • the wearable device if the information of the target wireless device scanned by the wearable device disappears, there are at least two situations: one is that the child leaves the space where the target wireless device is located, and the other is that the vehicle is turned off, but the child is still there. In the space where the target wireless device is located. If it is the first case, there is no need to collect surrounding environment data through the wearable device. If it is the second case, it is possible that the parent or driver will leave the vehicle and turn off the vehicle, while the child is still left in the car. It is a more dangerous situation, so it is necessary to collect periodic environmental data through wearable devices.
  • the geographic location of the wearable device changes within the preset time. This is because if it is the first situation, the child leaves the vehicle where the target wireless device is located, then the child’s geographic location will change. If there is a change, if it is the second case that the child is left in the stalled car, then the child’s geographic location change is limited to the vehicle, and there will be no geographic change beyond the vehicle. Therefore, when the information of the target wireless device scanned by the wearable device disappears, the geographic location information of the wearable device within a preset time is acquired.
  • the wearable device may be provided (e.g., once a minute) to obtain information wearable device scan to a wireless device according to a certain frequency; information of the wireless device if t scan time i acquired to include information of the target wireless device A, and t
  • the information of the scanned wireless device acquired at time i+1 does not include the information of the target wireless device A, which can be understood as the disappearance of the target wireless device A scanned by the wearable device at time t i+1, in order to determine that it is the first case ( If the child leaves the vehicle where the target wireless device is located, there is no need to obtain environmental data), or in the second case (the child is left in the stalled car and needs to continue to obtain environmental data), it is necessary to obtain the location from time t i+1 to time t g .
  • Describe the geographic location information of the wearable device, where the time t i+1 to the time t g is a preset time period, which can be 3 minutes, 5 minutes, 8 minutes, etc.
  • the geographic location information of the wearable device may be collected through a global positioning system (Global Positioning System, GPS) provided on the wearable device.
  • GPS Global Positioning System
  • the acquired information is the geographic location information collected by GPS from time t i+1 to time t g.
  • Step S804 Determine the movement range of the wearable device according to the acquired geographic location information of the wearable device within a preset time.
  • the collection period of the geographic location information may be 3 seconds, 5 seconds, or 10 seconds.
  • the movement track of the wearable device can be generated according to the geographic location information within a preset time (for example, 5 minutes).
  • the movement track is the movement range of the wearable device.
  • the movement range is determined again according to the movement trajectory.
  • the linear distance between the two points furthest in the movement track can be defined as the movement range of the wearable device. See the method for determining the movement range shown in (a) in FIG. 9, as shown in FIG. As shown, the solid line from point A to point B represents the movement trajectory of the wearable device, and the linear distance between the two furthest points (point B and point C) in the movement trajectory is positioned on the wearable device The range of movement is the dashed line indicated by BC.
  • the linear distance between the point furthest from the starting point in the moving track and the starting point is defined as the moving range of the wearable device.
  • the solid line from point A to point B represents the movement trajectory of the wearable device
  • the linear distance AD between the starting point A and the point D farthest from the starting point A in the movement trajectory is used to locate the movement of the wearable device Range, that is, the dotted line represented by AD.
  • Step S805 If the movement range of the wearable device is smaller than the preset range, obtain environmental data of the environment where the wearable device is currently located.
  • the preset range is a preset area centered on the starting point of the movement track (for example, centered on the starting point of the movement track) Square area, circular area), the side length or radius of the area can be preset.
  • the preset range may be a range within a certain value, for example, the preset range indicates a range within 2 meters and a range within 3 meters.
  • the movement range of the wearable device is smaller than the preset range (the movement range of the wearable device is within the preset range), it means that the child may be left in the vehicle, and the environment data of the current environment of the wearable device needs to be obtained.
  • a first control instruction is sent to the wearable device, where the first control instruction is used to control the wearable device
  • the sensors on the computer stop collecting environmental data.
  • the movement range of the wearable device is greater than or equal to the preset range, it means that the child has left the vehicle, and there is no need to monitor the child’s environment, and the sensor on the wearable device can be controlled to stop collecting Environmental data.
  • different preset ranges can be set for different target wireless devices.
  • the target wireless device is a wireless device installed in a private car
  • the corresponding preset range can be set to a circular area with a radius of 1 meter or 2 meters.
  • the target wireless device is a wireless device installed in a school bus
  • the corresponding preset range can be set to a circular area with a radius of 2.5 meters or within 5 meters.
  • the corresponding preset range can be Set to be related to the maximum linear distance in the space. For example, when a space is a square space with a length of 4 meters and a width of 3 meters, the maximum linear distance in the square space is the diagonal of the square space. , Which is 5 meters, therefore, the preset range can be set to a circular area with a radius of 2.5 meters or within the following values: 5.5 meters, 5.8 meters, 6 meters, etc.
  • simulation can be performed through actual application scenarios.
  • the wireless module set on the children's phone watch is a Bluetooth module
  • the wireless device set on the private car is a Bluetooth device.
  • the target wireless device has been pre-set for the phone watch as the car Bluetooth of the private car, and it has not been set for the car Bluetooth.
  • the second account, the first account is the mother’s mobile phone number, and the Bluetooth of the phone watch is always on (the Bluetooth is on when the phone watch is on).
  • the mother When the child wears a phone watch and is traveling with the mother, the mother opens the door of the private car and places the child in the rear safety seat. The mother takes the driver’s seat and starts the car. The car’s Bluetooth is turned on and a broadcast message is sent. , The children’s watch scans the car’s Bluetooth information of the private car and starts to obtain the environmental data of the environment in which the wearable device is located.
  • the first driving stage The mother drives her private car on the road to the destination.
  • the sensors on the phone watch collect environmental data every 2 minutes, and the collected environmental data are within the preset range, that is, the preset conditions are not met.
  • Short-term parking stage The mother drove her private car on the road to the destination, passing the supermarket, and the mother stopped briefly to go to the supermarket to buy food and water for the children.
  • Scenario 3 For the safety of the child, the mother decides to take the child to the supermarket for short-term purchases.
  • the phone watch scans that the car’s Bluetooth disappears and obtains the phone watch
  • the wearable device can be controlled Sensors stop collecting environmental data. This avoids the problem of high power consumption for the wearable device to collect environmental data all the time.
  • the second driving stage If the mother returns to the private car in case 1, the sensor on the phone watch continues to collect environmental data every 2 minutes.
  • the mother returns to the private car in case 2, the mother opens the door of the private car and starts the car,... (similar to the stage of getting in the car, it is equivalent to the telephone watch restarting the alarm method in the vehicle left behind by the child).
  • the sensor on the phone watch collects environmental data, once it finds that the environmental data meets the preset conditions, it needs to send an alarm message to the mother’s mobile phone number, so as to avoid the mother’s short-term purchase in the supermarket. Delays in things (such as being attracted by goods) and leaving the private car for a long time leave the child in an unsuitable or unsafe environment.
  • the geographic location information of the wearable device can be used to determine whether the child is left in the vehicle, and environmental data can be collected when the child is left in the vehicle, so as Monitor the environment and give an alarm when the environmental conditions are unsuitable.
  • FIG. 10 shows a schematic flowchart of a method for warning in a vehicle left behind by a child according to an embodiment of the present application; as an example and not a limitation, the method can be applied to the wearable device provided in the embodiment of the present application.
  • Step S1001 Obtain the information of the wireless device scanned by the wearable device.
  • step S1001 is consistent with the content of step S201, and the description of step S201 may be referred to for details, which will not be repeated here.
  • Step S1002 If the information of the target wireless device exists in the information of the wireless device scanned by the wearable device, the geographic location information of the wearable device is acquired at a preset time interval.
  • the geographic location information of the wearable device is acquired at a preset time interval.
  • the wireless device information scanned by the wearable device contains the target wireless device information, it is usually that the child is about to get in the car or is already in the car. After the child gets in the car, the driver will drive the car to the destination. If there are parents or drivers in the car at the same time, there is no need to monitor and alarm whether the child is left in the car at this time. Even if the environmental conditions need to be monitored, because there are adults in the car, the adults will have a personal sense of the environment on the car Based on the above judgment, there is no need to collect data on the environment of children through wearable devices. Therefore, it is necessary to determine whether the child is accompanied by a parent or driver when the child is in the private car or school bus.
  • the embodiment of the application can determine whether a child is accompanied by a parent or driver when the child is in a private car or school bus based on the driving state of the vehicle. If the information of the wireless device scanned by the wearable device contains the information of the target wireless device, and the movement range of the wearable device is relatively large, it means that after the child enters the vehicle, the vehicle has started the driving process. Is in the car, and there is no need to monitor the environment on the car. If the information of the wireless device scanned by the wearable device contains the information of the target wireless device, and the wearable device has a relatively small moving range to hardly move, then It means that after the child enters the vehicle, the vehicle does not drive or remains parked after a period of time.
  • the driver may leave the child alone in the vehicle. If the vehicle remains parked after a period of time, It may be that the driver briefly left and left the child alone in the car. In either case, it is necessary to monitor the environment, that is, obtain environmental data of the environment in which the wearable device is currently located.
  • the geographic location information of the wearable device can be acquired at a preset time interval.
  • the preset time interval may be every 2 minutes, 4 minutes, 5 minutes, 7 minutes, etc.
  • step S803 For the geographic location information of the wearable device, reference may be made to the description of step S803 in the embodiment shown in FIG. 8.
  • Step S1003 Calculate the movement range of the wearable device in each time interval according to the geographic location information of the wearable device acquired at a preset time interval.
  • step S1003 is consistent with the content of step S804.
  • step S804 please refer to the method of determining the movement range of the wearable device in step S804, which will not be repeated here.
  • Step S1004 If the moving range is smaller than the preset range, obtain environmental data of the environment where the wearable device is currently located.
  • Step S1004' if the movement range is greater than or equal to the preset range, send a first control instruction to the wearable device, where the first control instruction is used to control the sensor on the wearable device to stop collecting environmental data .
  • the prerequisite of the embodiment shown in FIG. 10 is that the information of the wireless device scanned by the wearable device includes the information of the target wireless device, which means that the child is in or near the vehicle. Therefore, if the vehicle is driving, it means that the child is in the vehicle and there is a driver in the vehicle; if the vehicle is temporarily stopped, the child may be in the vehicle.
  • the moving range is less than the preset range, it means that the vehicle is parked or staying for a short time.
  • the wearable device sends a first control instruction for controlling the sensor on the wearable device to stop collecting environmental data.
  • step S1005 when the environmental data meets a preset condition, an alarm message is issued.
  • the embodiment of this application describes that in the case that the information of the wireless device scanned by the wearable device contains the information of the target wireless device, the geographic location information of the wearable device is used to determine whether there is a driver accompanied by a child on the vehicle. In this case, there is no need to monitor the environment in the vehicle. When it is possible that the driver is not accompanying the child, environmental data is collected through the sensor on the wearable device to monitor the environment in which the child is located.
  • the wireless module set on the children's phone watch is a Bluetooth module
  • the wireless device set on the private car is a Bluetooth device.
  • the target wireless device has been pre-set for the phone watch as the car Bluetooth of the private car, and it has not been set for the car Bluetooth.
  • the second account, the first account is the mother’s mobile phone number, and the Bluetooth of the phone watch is always on (the Bluetooth is on when the phone watch is on).
  • the mother When the child wears a phone watch and is traveling with the mother, the mother opens the door of the private car and places the child in the rear safety seat. The mother takes the driver’s seat and starts the car. The car’s Bluetooth is turned on and a broadcast message is sent. , The child’s watch scans the car’s Bluetooth information of the private car, and obtains the geographic location information of the wearable device at an interval of 5 minutes.
  • the first driving stage the mother drives a private car on the road to the destination of the trip, obtains the geographic location information of the wearable device every 5 minutes, and generates the range of movement in the current time interval based on the geographic location information within the current 5 minutes , Since the moving range is greater than the preset range during the driving phase, the sensor on the wearable device is kept in a stopped working state.
  • Short-term parking stage The mother drove her private car on the road to the destination, passing the supermarket, and the mother stopped briefly to go to the supermarket to buy food and water for the children.
  • Second driving stage Taking case 1 as an example, when the mother returns to the private car, she starts the car and starts driving, and obtains the geographic location information of the wearable device every 5 minutes. Since the movement range is greater than the preset range during the driving phase, A first control instruction needs to be sent to the wearable device to control the sensor on the wearable device to stop collecting environmental data.
  • the GPS of many phone watches cannot be turned off, in order to avoid a large amount of power consumption caused by the sensors on the wearable device being always working, it can be based on the GPS on the phone watch that the child’s current vehicle is driving according to the GPS. In the driving phase, there is no need for a driver to monitor the environment. Only when the target wireless device can be scanned and the vehicle is stationary, can the sensors be controlled to collect environmental data.
  • FIG. 11 shows a structural block diagram of the alarm device in a child left-over vehicle provided in an embodiment of the present application. The relevant part of the embodiment.
  • the device includes:
  • the device information obtaining unit 111 is configured to obtain information of the wireless device scanned by the wearable device;
  • the environmental data obtaining unit 112 is configured to obtain environmental data of the environment in which the wearable device is currently located if there is information about the target wireless device in the wireless device information scanned by the wearable device, where the target wireless device is A wireless device pre-installed in the vehicle;
  • the alarm unit 113 is configured to send an alarm message when the environmental data meets a preset condition.
  • the device 11 includes:
  • the geographic location information obtaining unit 114 is configured to obtain geographic location information of the wearable device within a preset time if the information of the target wireless device scanned by the wearable device disappears;
  • the moving range determining unit 115 is configured to determine the moving range of the wearable device according to the acquired geographic location information of the wearable device within a preset time;
  • the environmental data acquiring unit 112 is further configured to: if the moving range of the wearable device is less than a preset range, acquire environmental data of the environment in which the wearable device is currently located.
  • the environmental data obtaining unit 112 is further configured to:
  • the apparatus 11 further includes: a target wireless device setting unit 116;
  • the target wireless device setting unit 116 is used to:
  • the target wireless device setting unit 116 is further configured to:
  • the alarm unit 113 is further configured to:
  • the alarm information includes: current geographic location information of the wearable device and the wearable device Environmental data of the current environment.
  • the environmental data acquisition unit further includes:
  • the geographic location information acquisition module is configured to obtain the geographic location information of the wearable device at a preset time interval if there is information about the target wireless device in the wireless device information scanned by the wearable device;
  • the moving range determining module is configured to calculate the moving range of the wearable device in each time interval according to the geographic location information of the wearable device acquired at a preset time interval;
  • the environmental data acquisition module is configured to acquire environmental data of the environment where the wearable device is currently located if the movement range is less than a preset range.
  • the sensor control module is configured to send a first control instruction to the wearable device if the movement range is greater than or equal to a preset range, where the first control instruction is used to control the sensor on the wearable device to stop collecting Environmental data.
  • the alarm method in a vehicle left behind by a child provided in the embodiment of the application can be applied to wearable devices such as children's watches and children's bracelets, and the embodiment of the application does not impose any restrictions on the specific types of wearable devices.
  • the wearable device provided by the embodiment of the present application includes a memory, a processor, and a computer program stored in the memory and capable of running on the processor.
  • the processor executes the computer program, the implementation is as in the embodiment of the present application. Provides the steps of the warning method in any vehicle left behind by a child.
  • the wearable device may also be a general term for the application of wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes.
  • a wearable device is a portable device that is directly worn on the body or integrated into the user's clothes or accessories.
  • Wearable devices are not only a hardware device, but also realize powerful functions through software support, data interaction, and cloud interaction.
  • wearable smart devices include full-featured, large-sized, complete or partial functions that can be implemented without relying on smart phones, such as smart watches or smart glasses, and only focus on a certain type of application function, and need to be used in conjunction with other devices such as smart phones. , Such as all kinds of smart bracelets and smart jewelry for physical sign monitoring.
  • Fig. 12 shows a block diagram of a part of the structure of a telephone watch provided by an embodiment of the present application.
  • the phone watch includes: a radio frequency (RF) circuit 1210, a memory 1220, an input unit 1230, a display unit 1240, a sensor 1250, an audio circuit 1260, a wireless fidelity (WiFi) module 1270, a processor 1280, and power supply 1290 and other components.
  • RF radio frequency
  • the RF circuit 1210 can be used for receiving and sending signals during the process of sending and receiving information or talking. In particular, after receiving the downlink information of the base station, it is processed by the processor 1280; in addition, the designed uplink data is sent to the base station. Or accept the wireless device information and the second account sent by the parent's mobile phone.
  • the RF circuit includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (LNA), a duplexer, and the like.
  • the RF circuit 1210 can also communicate with the network and other devices through wireless communication.
  • the above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile Communication (GSM), General Packet Radio Service (GPRS), Code Division Multiple Access (Code Division) Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Long Term Evolution (LTE)), Email, Short Messaging Service (SMS), etc.
  • GSM Global System of Mobile Communication
  • GPRS General Packet Radio Service
  • CDMA Code Division Multiple Access
  • WCDMA Wideband Code Division Multiple Access
  • LTE Long Term Evolution
  • Email Short Messaging Service
  • the memory 1220 may be used to store software programs and modules.
  • the processor 1280 executes various functional applications and data processing of the phone watch by running the software programs and modules stored in the memory 1220.
  • the memory 1220 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system, an application program required by at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the phone watch (such as environmental data, current wireless devices, first account and second account), etc.
  • the memory 1220 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other volatile solid-state storage devices.
  • the input unit 1230 can be used to receive inputted digital or character information, and generate key signal input related to user settings and function control of the phone watch.
  • the input unit 1230 may include a touch panel 1231 for accepting a user's input of a second account, and other input devices 1232.
  • the touch panel 1231 also called a touch screen, can collect user touch operations on or near it (for example, the user uses any suitable objects or accessories such as fingers, stylus, etc.) on the touch panel 1231 or near the touch panel 1231. Operation), and drive the corresponding connection device according to the preset program.
  • the touch panel 1231 may include two parts: a touch detection device and a touch controller.
  • the touch detection device detects the user's touch position, and detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it To the processor 1280, and can receive and execute the commands sent by the processor 1280.
  • the touch panel 1231 can be implemented in multiple types such as resistive, capacitive, infrared, and surface acoustic wave.
  • the input unit 1230 may also include other input devices 1232.
  • the other input device 1232 may include, but is not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a microphone for collecting voice information of the user, and the like.
  • the display unit 1240 may be used to display information input by the user or information provided to the user and various menus of the phone watch.
  • the display unit 1240 may include a display panel 1241.
  • the display panel 1241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), etc.
  • the touch panel 1231 can cover the display panel 1241, and when the touch panel 1231 detects a touch operation on or near it (for example, the user inputs a second account on the touch screen), it sends it to the processor 1280 to determine According to the type of the touch event, the processor 1280 then provides a corresponding visual output on the display panel 1241 according to the type of the touch event.
  • the touch panel 1231 and the display panel 1241 are used as two independent components to realize the input and input functions of the phone watch, in some embodiments, the touch panel 1231 and the display panel 1241 can be integrated And realize the input and output functions of the phone watch.
  • the phone watch may also include at least one sensor 1250, such as a temperature sensor, an oxygen content sensor, a humidity sensor, a light sensor, a motion sensor, and other sensors.
  • the temperature sensor can collect the ambient temperature of the environment where the phone watch is located
  • the oxygen content sensor can collect the ambient oxygen content of the environment where the phone watch is located
  • the humidity sensor can collect the ambient oxygen content of the environment where it is
  • the light sensor can include an ambient light sensor.
  • proximity sensors where the ambient light sensor can adjust the brightness of the display panel 1241 according to the brightness of the ambient light.
  • the accelerometer sensor can detect the magnitude of acceleration in various directions (usually three-axis), and can detect the magnitude and direction of gravity when stationary, and can be used for applications that recognize the posture of the phone watch (such as horizontal and vertical screen switching, Related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer, percussion), etc.; as for phone watches, gyroscopes, barometers, hygrometers, thermometers, infrared sensors and other sensors can also be configured here. No longer.
  • the audio circuit 1260, the speaker 1261, and the microphone 1262 can provide an audio interface between the user and the phone watch.
  • the audio circuit 1260 can transmit the converted electrical signal of the received audio data to the speaker 1261, which is converted into a sound signal by the speaker 1261 (for example, the phone watch plays "1.acdfthhsh, 2.fhgirehgfdbgrh, 3.busgubd, and the playback ends, please Select the serial number corresponding to the Bluetooth address") to output; on the other hand, the microphone 1262 converts the collected sound signals (for example, the user's "scanning Bluetooth") into electrical signals, which are received by the audio circuit 1260 and converted into audio data, and then After being processed by the audio data output processor 1280, the RF circuit 1210 can be sent to, for example, a parent's mobile phone, or the audio data can be output to the memory 1220 for further processing.
  • WiFi is a short-distance wireless transmission technology.
  • the phone watch can help users send and receive emails, browse the web, and access streaming media. It provides users with wireless broadband Internet access.
  • FIG. 12 shows the WiFi module 1270, it is understandable that it is not a necessary component of the phone watch, and can be omitted as needed without changing the essence of the invention.
  • the processor 1280 is the control center of the phone watch. It uses various interfaces and lines to connect the various parts of the phone watch, runs or executes the software programs and/or modules stored in the memory 1220, and calls the data stored in the memory 1220. , To perform various functions of the phone watch and process data, so as to monitor the phone watch as a whole.
  • the processor 1280 may include one or more processing units; preferably, the processor 1280 may integrate an application processor and a modem processor, where the application processor mainly processes the operating system, user interface, and application programs, etc. , The modem processor mainly deals with wireless communication. It can be understood that the foregoing modem processor may not be integrated into the processor 1280.
  • the phone watch also includes a power supply 1290 (such as a battery) for supplying power to various components.
  • a power supply 1290 (such as a battery) for supplying power to various components.
  • the power supply can be logically connected to the processor 1280 through a power management system, so that functions such as charging, discharging, and power consumption management can be managed through the power management system.
  • the phone watch may also include a camera.
  • the phone watch may include a global positioning system (Global Positioning System, GPS).
  • GPS Global Positioning System
  • the phone watch may also include a Bluetooth module, etc., which will not be repeated here.
  • FIG. 13 is a schematic diagram of the software structure of a telephone watch according to an embodiment of the present application.
  • the Android system is divided into four layers, namely the application layer, the application framework layer (framework, FWK), the system layer, and the hardware abstraction layer.
  • the communication between the layers is through a software interface.
  • the application layer can be a series of application packages, and the application packages can include applications such as short message, calendar, camera, video, navigation, gallery, and call.
  • the application framework layer provides an application programming interface (application programming interface, API) and a programming framework for applications in the application layer.
  • the application framework layer may include some predefined functions, such as functions for receiving events sent by the application framework layer.
  • the application framework layer can include a window manager, a resource manager, and a notification manager.
  • the window manager is used to manage window programs.
  • the window manager can obtain the size of the display screen, determine whether there is a status bar, lock the screen, take a screenshot, etc.
  • the content provider is used to store and retrieve data and make these data accessible to applications.
  • the data may include video, image, audio, phone calls made and received, browsing history and bookmarks, phone book, etc.
  • the resource manager provides various resources for the application, such as localized strings, icons, pictures, layout files, video files, and so on.
  • the notification manager enables the application to display notification information in the status bar, which can be used to convey notification-type messages, and it can automatically disappear after a short stay without user interaction.
  • the notification manager is used to notify download completion, message reminders, and so on.
  • the notification manager can also be a notification that appears in the status bar at the top of the system in the form of a chart or a scroll bar text, such as a notification of an application running in the background, or a notification that appears on the screen in the form of a dialog window.
  • prompt text information in the status bar sound a prompt sound, electronic device vibration, flashing indicator light, etc.
  • the application framework layer can also include:
  • a view system which includes visual controls, such as controls that display text, controls that display pictures, and so on.
  • the view system can be used to build applications.
  • the display interface can be composed of one or more views.
  • a display interface that includes a short message notification icon may include a view that displays text and a view that displays pictures.
  • the phone manager is used to provide the communication function of the phone watch. For example, the management of the call status (including connecting, hanging up, etc.).
  • the system layer can include multiple functional modules. For example: sensor service module, physical state recognition module, 3D graphics processing library (for example: OpenGL ES), etc.
  • the sensor service module is used to monitor the sensor data uploaded by various sensors at the hardware layer to determine the physical state of the phone watch;
  • Physical state recognition module used to analyze and recognize user gestures, faces, etc.
  • the 3D graphics processing library is used to realize 3D graphics drawing, image rendering, synthesis, and layer processing.
  • the system layer can also include:
  • the surface manager is used to manage the display subsystem and provides a combination of 2D and 3D layers for multiple applications.
  • the media library supports playback and recording of a variety of commonly used audio and video formats, as well as still image files.
  • the media library can support a variety of audio and video encoding formats, such as: MPEG4, H.264, MP3, AAC, AMR, JPG, PNG, etc.
  • the hardware abstraction layer is the layer between hardware and software.
  • the hardware abstraction layer can include display drivers, camera drivers, sensor drivers, etc., which are used to drive related hardware at the hardware layer, such as display screens, cameras, sensors, and so on.
  • the above embodiment of the alarm method in a vehicle left behind by a child can be implemented on a telephone watch having the above hardware structure/software structure.
  • the embodiments of the present application also provide a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in each of the foregoing method embodiments can be realized.
  • the embodiments of the present application provide a computer program product.
  • the steps in the foregoing method embodiments can be realized when the device is executed.
  • the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the implementation of all or part of the processes in the above-mentioned embodiment methods in this application can be completed by instructing relevant hardware through a computer program.
  • the computer program can be stored in a computer-readable storage medium. When executed by the processor, the steps of the foregoing method embodiments can be implemented.
  • the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file, or some intermediate form.
  • the computer-readable medium may at least include: any entity or device capable of carrying computer program code to the device/equipment, recording medium, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM) , Random Access Memory), electric carrier signal, telecommunications signal and software distribution medium.
  • ROM read-only memory
  • RAM random access memory
  • electric carrier signal telecommunications signal and software distribution medium.
  • U disk mobile hard disk, floppy disk or CD-ROM, etc.
  • computer-readable media cannot be electrical carrier signals and telecommunication signals.
  • An embodiment of the present application further provides a chip system, characterized in that the chip system includes a processor, the processor is coupled to a memory, and the processor executes a computer program stored in the memory to implement any The steps of an alarm method in a vehicle left behind by a child.
  • the chip system may be a single chip or a chip module composed of multiple chips.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Business, Economics & Management (AREA)
  • Emergency Management (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Telephone Function (AREA)
  • Alarm Systems (AREA)

Abstract

一种儿童遗留车辆内的报警方法、报警装置及穿戴设备。报警方法包括:获取穿戴设备扫描到的无线设备的信息(S201),若穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取穿戴设备当前所处环境的环境数据,其中,目标无线设备为车辆内预先安装的无线设备(S202),在环境数据满足预设条件时,发出报警信息(S203)。将该方法应用在校车上,可以解决校车上的无线设备无法和多个儿童的穿戴设备同时建立连接的问题;将该方法应用在私家车上,可以解决必须默认车载蓝牙和穿戴设备优先建立连接,或者必须额外加装无线模块的问题。

Description

一种儿童遗留车辆内的报警方法、报警装置及穿戴设备
本申请要求于2020年06月17日提交国家知识产权局、申请号为202010556950.8、申请名称为“一种儿童遗留车辆内的报警方法、报警装置及穿戴设备”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及穿戴设备领域,尤其涉及一种儿童遗留车辆内的报警方法、报警装置和穿戴设备。
背景技术
随着汽车的普及,汽车出行已经成为常用的交通工具,例如,家庭出游、逛街、购物等。儿童在乘坐家庭汽车时,常会坐在后排的安全座椅上,到达目的地后,家长可能忙于接电话或者紧急事情而将儿童遗留在车内。另外,儿童乘坐校车上学也已经成为一种趋势。但是,儿童坐校车上学时,有可能由于睡着导致到达学校后而忘记下车,如果司机疏忽,也有可能将儿童遗留在校车内。
目前,有一些儿童遗留在车辆内的报警方法是根据儿童的穿戴设备和车上的无线模块的连接关系确定儿童是否被遗留在车上。然而,很多情况下,例如,校车上的蓝牙模块无法和多个儿童的穿戴设备同时建立连接;私家车的蓝牙模块在和父亲或者母亲的手机建立蓝牙连接后,也无法再和儿童的穿戴设备建立连接。导致现有的儿童遗留在车辆内的报警方法应用时局限性较大,且应用在私家车上时,必须默认车载蓝牙和穿戴设备优先建立连接的问题。
发明内容
本申请实施例提供一种儿童遗留车辆内的报警方法、报警装置和穿戴设备,解决了目前的儿童遗留车辆内的报警方法在应用时局限性较大,且应用于私家车上时,必须默认车载蓝牙和穿戴设备优先建立连接的问题。
为达到上述目的,本申请采用如下技术方案:
第一方面,本申请实施例提供一种儿童遗留车辆内的报警方法,包括:
获取穿戴设备扫描到的无线设备的信息;若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备;在所述环境数据满足预设条件时,发出报警信息。
在第一方面的一种可能的实现方式中,在所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息之后,还包括:
若所述穿戴设备扫描到的目标无线设备的信息消失,则获取所述穿戴设备在预设时间内的地理位置信息;根据获取的所述穿戴设备在预设时间内的地理位置信息确定所述穿戴设备的移动范围;
若所述穿戴设备的移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
在第一方面的一种可能的实现方式中,所述获取所述穿戴设备当前所处环境的环境数据包括:
获取所述穿戴设备上的温度传感器采集的所述穿戴设备当前所处环境的环境温度;
和/或,
获取所述穿戴设备上的氧气含量传感器采集的所述穿戴设备当前所处环境的环境氧气含量。
在第一方面的一种可能的实现方式中,所述在所述环境数据满足预设条件时,发出报警信息包括:若所述环境温度超出预设温度范围和/或所述环境氧气含量超出预设氧气含量范围,则发出报警信息。
在第一方面的一种可能的实现方式中,所述目标无线设备的设置方式包括:
获取第一账号发送的无线设备的信息,其中,所述第一账号为所述穿戴设备关联的账号;将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备。
在第一方面的一种可能的实现方式中,在将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备后,还包括:
获取所述第一账号发送的第二账号;将所述第一账号发送的第二账号与所述目标无线设备进行关联。
在第一方面的一种可能的实现方式中,所述目标无线设备的设置方式包括:
获取所述穿戴设备扫描到的无线设备的信息,并将所述无线设备的信息显示;接收从所述无线设备的信息列表中选中的至少一个无线设备的信息,并将选中的无线设备的信息表示的无线设备设置为目标无线设备。
在第一方面的一种可能的实现方式中,在将选中的无线设备的信息表示的无线设备设置为目标无线设备后,还包括:获取输入的第二账号,并将输入的第二账号与所述目标无线设备进行关联。
在第一方面的一种可能的实现方式中,所述发出报警信息包括:
向与所述目标无线设备关联的第二账号和/或所述穿戴设备关联的第一账号发送报警信息,其中,所述报警信息包括:所述穿戴设备当前的地理位置信息和所述穿戴设备当前所处环境的环境数据。
在第一方面的一种可能的实现方式中,所述若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,包括:
若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则以预设的时间间隔获取所述穿戴设备的地理位置信息;
根据预设的时间间隔获取的所述穿戴设备的地理位置信息,计算每个时间间隔内所述穿戴设备的移动距离;
若所述移动距离在预设范围内,则获取所述穿戴设备当前所处环境的环境数据。
在第一方面的一种可能的实现方式中,在计算每个时间间隔内所述穿戴设备的移动距离之后,还包括:若所述移动距离不在预设范围内,则向所述穿戴设备发送第一控制指令,其中,所述第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
第二方面,本申请实施例提供一种儿童遗留车辆内的报警装置,包括:
设备信息获取单元,用于获取穿戴设备扫描到的无线设备的信息;
环境数据获取单元,用于若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备;
报警单元,用于在所述环境数据满足预设条件时,发出报警信息。
第三方面,提供一种穿戴设备,包括:存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现本申请第一方面任一项所述方法的步骤。
第四方面,提供一种芯片系统,包括:处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现本申请第一方面任一项所述方法的步骤。
第五方面,提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被一个或多个处理器执行时实现本申请第一方面任一项所述方法的步骤。
第六方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在设备上运行时,使得设备执行上述第一方面中任一项所述方法。
本申请实施例提供的儿童遗留车辆内的报警方法,在穿戴设备扫描到的无线设备的信息中存在车载无线设备的信息时,可以获取穿戴设备当前所处环境的环境数据,在环境数据满足预设条件时,发出报警信息;由于无需穿戴设备中的无线模块和车载无线设备建立连接,就可以实现儿童遗留车辆内的环境监测和报警,因此,本申请实施例提供的儿童遗留车辆内的报警方法的应用更广泛,解决了应用在校车上时,校车上的蓝牙设备无法和多个儿童的穿戴设备同时建立连接的问题;还解决了应用在私家车上时,必须默认车载蓝牙和穿戴设备优先建立连接,或者必须额外加装无线模块的问题。
可以理解的是,上述第二方面至第六方面的有益效果可以参见上述第一方面中的相关描述,在此不再赘述。
附图说明
图1为本申请实施例提供的一种儿童遗留车辆内的报警方法的应用场景示意图;
图2为本申请实施例提供的一种儿童遗留车辆内的报警方法的示意性流程图;
图3为图2所示实施例中目标无线设备的设置方法的示意性流程图;
图4为图3所示实施例的应用场景示意图;
图5为图2所示实施例中目标无线设备的另一种设置方法的示意性流程图;
图6为本申请实施例提供的一种穿戴设备上用列表的形式显示扫描到的无线设备的信息示意图;
图7为本申请实施例提供的一种通过穿戴设备设置目标无线设备的方式的应用场景示意图;
图8为本申请实施例提供的另一种儿童遗留车辆内的报警方法的示意性流程图;
图9为图8所示实施例中所述穿戴设备的移动范围确定方法的示意图;
图10为本申请实施例提供的一种儿童遗留车辆内的报警方法的流程示意图;
图11为本申请实施例提供的一种儿童遗留车辆内的报警装置的结构示意框图;
图12为本申请实施例提供的一种电话手表的部分结构的示意框图;
图13为本申请实施例提供的一种穿戴设备的软件结构示意图。
具体实施方式
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。
应当理解,当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、步骤、操作、元素、组件和/或其集合的存在或添加。
还应当理解,在本申请实施例中,“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。
另外,在本申请说明书和所附权利要求书的描述中,术语“第一”、“第二”、“第三”等仅用于区分描述,而不能理解为指示或暗示相对重要性。
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。
为了说明本申请所述的技术方案,下面通过具体实施例来进行说明。
图1是本申请实施例提供的儿童遗留车辆内的报警方法的应用场景示意图。如图所示,所述穿戴设备可以是儿童手表,儿童手表上设有无线设备,例如,蓝牙模块,儿童佩戴儿童手表可以进入校车内,校车上同样安装有无线设备,例如,车载蓝牙,通常,汽车打火后,车载蓝牙会相应启动,车载蓝牙启动后发出广播信息。为了能够在儿童遗留车辆内时进行报警,还需要预先在儿童手表内设置校车的车载蓝牙为目标无线设备。
当儿童进入校车内时,由于车载蓝牙会广播信息,因此儿童手表可以扫描到附近的蓝牙设备,如果儿童手表上的蓝牙模块扫描到目标无线设备(校车的车载蓝牙),就表示儿童进入校车内(例如图1中儿童坐在校车的最后一个车窗的位置)或与校车保持在一定距离内,如果儿童手表扫描到的蓝牙中不包括目标无线设备(校车的车载蓝牙),则表示儿童已经离开校车(例如,图1中坐在校车最后一个车窗的位置的儿童走出校车外)。
由于该应用场景下,无需穿戴设备与校车上的车载蓝牙建立连接,而是通过穿戴设备是否扫描到车载蓝牙来确定穿戴设备的佩戴者是否在车内,所以避免了蓝牙无法 和多个儿童的穿戴设备同时建立连接的问题。
另外,图示中的儿童手表上还可以设置温度传感器和氧气含量传感器(图1中未示出),在儿童手表扫描到目标无线设备(校车的车载蓝牙)的情况下,确定儿童进入车内或者即将进入车内,通过穿戴设备上的传感器监测环境数据,以在监测到环境数据不适宜时,发出报警信息。
在此需要说明,本申请实施例中以及本申请后续提供的实施例中,所述穿戴设备上设置的无线设备可以是蓝牙模块,也可以是无线保真(wireless fidelity,WiFi)模块,当然还可以是其他近距离通信的无线模块,在此不做限制。为了后续实施例的描述方便,在举例时以穿戴设备设置的为蓝牙模块为例,但是,并不表示本申请实施例仅应用于无线设备为蓝牙模块的应用场景。
图2示出了本申请实施例提供的一种儿童遗留车辆内的报警方法的示意性流程图;作为示例而非限定,该方法可以应用于上述应用场景中的穿戴设备中。
步骤S201,获取穿戴设备扫描到的无线设备的信息。
在本申请实施例中,所述穿戴设备可以是儿童手表,也可以是儿童手环,还可以是儿童可随身穿戴的其它物品,例如,可佩带在衣服鞋袜上的智能设备。
穿戴设备上可以设置蓝牙模块,通过蓝牙模块可以扫描获得周围环境中的其他蓝牙设备的广播信息,根据广播信息可以生成周围环境中其他蓝牙设备的信息列表,蓝牙设备的信息列表中的每个蓝牙设备的信息就是穿戴设备扫描到的无线设备的信息。
在一些应用场景中,如果儿童佩戴穿戴设备进入校车或者私家车,在校车或私家车的车载蓝牙开启的情况下,穿戴设备可以扫描到进入的车辆的车载蓝牙。
步骤S202,若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备。
在本申请实施例中,所述目标无线设备可以是预先在穿戴设备上设置的蓝牙设备,例如,校车上的车载蓝牙,私家车上的车载蓝牙。将儿童有可能或者常常乘坐的车辆的车载蓝牙预先设置为目标无线设备。穿戴设备上还可以设置传感器,通过穿戴设备上的传感器采集所述穿戴设备当前所处环境的环境数据,所述穿戴设备当前所处环境的环境数据就表示儿童当前所处环境的环境数据,即通过穿戴设备上的传感器就可以采集儿童所处环境的环境数据。例如,可以设置温度传感器或氧气含量传感器,通过所述穿戴设备上的温度传感器采集所述穿戴设备当前所处环境的环境温度,或者通过所述穿戴设备上的氧气含量传感器采集所述穿戴设备所处环境的环境氧气含量,当然,还可以同时包含温度传感器和氧气含量传感器,通过所述穿戴设备上的温度传感器采集环境温度,通过所述穿戴设备上的氧气含量传感器采集环境氧气含量。当然,还可以设置其他传感器以监测儿童所处的环境是否会使儿童存在危险(例如,中暑、密闭空间缺氧等)。
作为举例而非限定,所述穿戴设备上还可以设置湿度传感器、有害气体含量传感器等。
所述穿戴设备无需与车载蓝牙建立蓝牙连接,也可以确定儿童是否在车内或者即将进入车内。因此,即使校车中的车载蓝牙无法和多个儿童的穿戴设备同时保持建立 蓝牙连接的状态,也能够通过穿戴设备是否扫描到车载蓝牙,确定儿童是否进入车内或者即将进入车内。
即使在其它应用场景中,例如,父母带儿童出游。由于车上的车载蓝牙通常会自动和驾驶者(母亲或父亲)的手机建立蓝牙连接,以便在驾驶过程中,通过车载蓝牙接打电话等。所以,本申请实施例中通过可穿戴设备扫描到预先设置的车载蓝牙时,确定儿童进入了车内或即将进入车内,也避免了驾驶者的手机和儿童的电话手表无法同时和车载蓝牙建立连接的问题。
在此需要说明,实际应用中,所述目标无线设备可以是车载蓝牙或车载WiFi,也可以是其他场合中的蓝牙设备或无线路由器,例如,儿童外出补习功课,所述目标无线设备可以是补习功课的教室内安装的蓝牙设备或无线路由器。儿童有可能会独自处于某个空间内时,该空间内安装的无线设备均可以作为目标无线设备。另外,即使在一些场合,儿童不会独自处于某个空间,但是家长想了解该空间的环境条件时,也可以将该空间内安装的无线设备作为目标无线设备。当然,无论应用于何种场景中,该场景中的无线设备需要和穿戴设备上的无线模块类型相同,或者穿戴设备上设置的无线模块的类型包含该场景中的无线设备的类型,以使穿戴设备上的无线模块能够扫描到该场景中安装的无线设备。
作为举例,穿戴设备上设置蓝牙模块,某空间内设置无线路由器,无法应用于该空间;
穿戴设备上设置蓝牙模块,某空间内设置蓝牙设备,可以应用于该空间;
穿戴设备上设置WiFi模块,某空间内设置蓝牙设备,无法应用于该空间;
穿戴设备上设置WiFi模块和蓝牙模块,某空间内设置蓝牙设备,可以应用于该空间。
步骤S203,在所述环境数据满足预设条件时,发出报警信息。
在本申请实施例中,可以预先设置一些条件。通过预先设置的条件来确定儿童当前所处的环境是否不适宜儿童继续停留在该环境中。当儿童所处的环境不适宜时,发出报警信息。
当获取的所述穿戴设备当前所处环境的环境数据为环境温度时,采集的到环境温度超出了预设温度范围,就表示所述环境数据满足预设条件,就需要发出报警信息。
作为举例,需要监测环境温度T时,可以设置预设温度范围为:10℃<T<37℃,也可以设置预设温度范围为:18℃<T<32℃。还可以根据不同季节设置不同的预设温度范围,例如,夏天可以设置预设温度范围为:T<35℃,冬天可以设置预设温度范围为:T>15℃。当然,还可以根据目标无线设备所在的场合设置不同的预设温度范围,例如,车内的温度通常比较高,可以将环境温度的高点临界值设置的相对高一点,T<37℃,室内的温度通常比较低,可以将环境温度的高点临界值设置的相对低一点,T<35℃。当然,还可以联合季节和目标无线设备所处的空间共同设置预设条件,例如冬天的室内可以设置为:T>18℃;夏天的车内可以设置为:T<37℃。
当获取的所述穿戴设备当前所处环境的环境数据为环境氧气含量时,采集的环境氧气含量超出预设氧气含量范围,就表示所述环境数据满足预设条件,就需要发出报警信息。
作为举例,需要监测环境氧气含量Q时,可以设置预设氧气含量范围为:Q>19.6%。当然,还可以以各个国家设定的缺氧标准作为参考,例如,某国国标是氧气含量低于18%属于缺氧。当然,还可以在18%和大气中氧气含量21%之间选择任意数据作为预设氧气含量范围的低点临界值,例如,18.5%、19%、19.5%、20%、20.5%。
需要说明,上述温度范围和氧气含量范围中的数值仅用于表示本申请实施例中的一个或多个示例,并不表示上述数值对本申请实施例的预设范围造成限制。实际应用中,还可以设置为与上述举例中的数值不同的其他数值。
当获取所述穿戴设备当前所处环境的环境数据包含两种或两种以上时,监测到环境数据满足预设条件,可以表示所述环境数据中的任一项超出该项对应的预先设置的范围。
作为举例,当需要采集环境温度T和环境氧气含量Q时,监测到环境数据满足预设条件表示以下三种情况:(1)采集的环境温度超出预设温度范围;(2)采集的环境氧气含量超出预设氧气含量范围内;(3)采集环境温度超出预设温度范围,且采集的环境氧气含量超出预设氧气含量范围。
所述报警信息可以发送给穿戴设备上预先设置的家长的手机号码。
作为图2所示实施例的一种应用场景,当儿童佩戴穿戴设备跟随母亲乘坐私家车出游时,儿童乘坐在私家车后排的安全座椅上,母亲启动私家车,私家车的车载蓝牙开启,由于母亲在以往开车的过程中,手机上的蓝牙与车载蓝牙建立过连接,因此,车载蓝牙开启后,母亲的手机会与车载蓝牙建立连接。同时,穿戴设备可以扫描到车载蓝牙,由于预先将车载蓝牙设置为目标蓝牙,因此,在穿戴设备扫描到车载蓝牙后,开启穿戴设备上的温度传感器和氧气含量传感器,并以预设的时间间隔监测环境数据,例如,每间隔5分钟采集一次温度和氧气含量。所述时间间隔还可以设置成其他时间,例如,3分钟,7分钟等。还可以控制所述温度传感器和氧气含量传感器以各自的工作频率采集环境数据,例如,每间隔3分钟采集一次温度,每间隔5分钟采集一次氧气含量。当采集到的温度和氧气含量有任一个超出对应的预设范围时,向母亲的手机发送报警信息。当然,还可以设置采集温度和采集氧气含量的优先级,例如,每间隔5分钟执行一次如下步骤:采集温度;温度在预设温度范围内,采集氧气含量;温度超出预设温度范围,向母亲的手机发送报警信息。
本申请实施例由于无需穿戴设备中的无线模块和车载无线设备建立连接,就可以实现儿童遗留车辆内的环境监测和报警,因此,本申请实施例提供的儿童遗留车辆内的报警方法的应用更广泛,解决了应用在校车上时,校车上的无线设备无法和多个儿童的穿戴设备同时建立连接的问题;还解决了应用在私家车上时,必须默认车载蓝牙和穿戴设备优先建立连接,或者必须额外加装无线模块的问题。
图3示出了本申请实施例提供的一种儿童遗留车辆内的报警方法中目标无线设备的设置方法的示意性流程图;作为示例而非限定,该方法可以应用于本申请实施例提供的应用场景中的穿戴设备。
步骤S301,获取第一账号发送的无线设备的信息,其中,所述第一账号为所述穿戴设备关联的账号。
在本申请实施例中,儿童的穿戴设备很多时候是需要通过穿戴设备关联的移动终 端进行设置的,例如,电话手表的设置方式是通过家长在家长的手机上通过应用软件对电话手表进行设置和监控。家长在自己手机上安装应用软件,对应设有第一账号(例如家长的手机号注册的账号),家长可以在自己手机上通过第一账号向穿戴设备发送控制指令和信息。另外,所述第一账号还可以是监护人(例如,母亲)的邮箱账号、微信账号、微博账号等社交账号。母亲可以在自己的手机上扫描周围的无线设备,将扫描到的待设定为目标无线设备的信息通过应用软件(第一账号注册的应用软件)发送给穿戴设备,例如,可以将扫描到的蓝牙地址发送给电话手表。
需要说明,所述应用软件可以是安装在家长手机上的用于对穿戴设备进行监控的软件,也可以是加载到其他应用中用于对穿戴设备进行监控的小程序。
为了更清楚的说明本申请实施例的应用场景,参见图4中(a)至图4中(d),为本申请实施例提供的目标无线设备的设置方法的应用场景示意图。该应用场景中,对穿戴设备的目标无线设备的设置方式全部在家长的手机一侧。
图4中(a)所示,儿童的家长在自己手机上安装了用于对穿戴设备进行监控的应用软件A,家长在手机上点开应用软件A。
图4中(b)所示,家长打开应用软件A后,点击获取扫描到的蓝牙列表;
图4中(c)所示,家长选择其中一个蓝牙,将该蓝牙的信息发送至穿戴设备。
步骤S302,将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备。
在本申请实施例中,穿戴设备如果接收到第一账号发送的无线设备的信息,就可以将无线设备的信息表示的无线设备设置为目标无线设备,例如,将蓝牙信息中的蓝牙地址设置为目标蓝牙。
穿戴设备上可以不显示任何界面,在收到第一账号发送的包含蓝牙地址的信息后,直接将该蓝牙地址表示的蓝牙设置为目标蓝牙。
步骤S303,获取所述第一账号发送的第二账号,将所述第一账号发送的第二账号与所述目标无线设备进行关联。
在本申请实施例中,可以为目标无线设备设置第二账号,在设置了目标无线设备后,接收第一账号发送的第二账号,将第二账号设置为当前设置的目标无线设备的第二账号,也可以在第一账号(例如家长的手机)发送的无线设备的信息中设置上所述目标无线设备关联的第二账号。如果穿戴设备接收到的无线设备的信息包括:与目标无线设备关联的第二账号,则可以在将无线设备的信息表示的无线设备设置为目标无线设备后,还将所述目标无线设备与所述第二账号进行关联。如果穿戴设备收到的无线设备的信息不包括:第二账号,则可以将无线设备的信息表示的无线设备设置为目标无线设备。
在图4的(c)中家长选择其中一个蓝牙后,会跳转至下一界面,下一界面可以为选中的蓝牙设置关联的第二账号,如图4中(d)所示,家长可以在自己通讯录中选择一个手机号作为第二账号,还可以自行输入第二账号。作为举例,在选中的蓝牙为校车时,可以将第二账号设置为校车司机的手机号,还可以设置成班主任的手机号。
在此需要说明,所述第一账号为穿戴设备关联的账号,第二账号为目标无线设备关联的账号。当然,所述第二账号和所述第一账号可以相同,也可以不同,第一账号 一般表示的是穿戴设备的佩戴者的监护人的账号,第二账号通常是目标无线设备所在空间的使用者或监护者(例如,司机、老师等)的账号。
为了更清晰的说明所述第一账号和第二账号的关系,进行举例说明:
小明的穿戴设备关联的第一账号:母亲的手机号和父亲的手机号;
小明的穿戴设备上设置了三个目标无线设备:目标无线设备1、目标无线设备2、目标无线设备3;
目标无线设备1为小明的父亲的家用私家车的车载蓝牙,第二账号:父亲的手机号;
目标无线设备2为小明幼儿园的校车的车载蓝牙,第二账号:校车司机的手机号和班主任的手机号;
目标无线设备3为小明补习班的蓝牙,第二账号:补习老师的手机号。
所述第一账号和所述第二账号的设置是为了在儿童所处环境不适宜时,向第一账号或第二账号发送报警信息,具体可参照后续实施例的描述。
本申请实施例中,由于为了便携性,很多穿戴设备设置的屏幕比较小,例如,儿童电话手表,屏幕是比较小的,所以,可以在家长的手机一侧通过应用软件选择好目标无线设备,将选择的目标无线设备的信息发送至穿戴设备一侧,穿戴设备一侧接收到无线设备的信息后,无需进行显示,处理器内部直接将接收到无线设备的信息表示的无线设备设为目标无线设备,同时,还可以将所述目标无线设备与家长手机一侧发送的第二账号进行关联。
图5示出了本申请实施例提供的一种儿童遗留车辆内的报警方法中目标无线设备的另一种设置方法的示意性流程图;作为示例而非限定,该方法可以应用于本申请实施例中的穿戴设备。
步骤S501,获取所述穿戴设备扫描到的无线设备的信息,并将所述无线设备的信息显示。
在本申请实施例中,当所述穿戴设备的屏幕相对较大时,或者穿戴设备可以通过声控的方式进行穿戴设备一侧的设置时,还可以在穿戴设备一侧设置目标无线设备。例如,通过穿戴设备上的无线模块扫描附近的无线设备,获得无线设备的信息列表,在穿戴设备上将扫描到的无线设备的信息列表进行显示或进行声音播报。
参照图6所示的附图,为穿戴设备上用列表的形式显示的扫描到的无线设备的信息。
参见图7,图7是本申请实施例提供的一种通过穿戴设备设置目标无线设备的方式的应用场景示意图,如图所示,如果穿戴设备以播报的形式播放无线设备的信息,则可以按照如下流程进行设置:
家长可以在手机的应用软件上将穿戴设备设置为家长模式,在家长模式下,可以对穿戴设备进行操作设置(相应的,在儿童模式下,无法在穿戴设备上进行操作设置)。
在进入设置模式,且当前设置的为目标无线设备时,家长可以说出包含关键词“扫描”和“蓝牙”的语句。穿戴设备就可以扫描附近的蓝牙设备,在扫描结束后,依次将扫描到的蓝牙设备的信息进行语音播放“1.acdfthhsh,2.fhgirehgfdbgrh,3.busgubd,播放结束,请选择蓝牙地址对应的序号”。
步骤S502,接收从所述无线设备的信息列表中选中的至少一个无线设备的信息,并将选中的无线设备的信息表示的无线设备设置为目标无线设备。
在本申请实施例中,如果穿戴设备是触控屏,则可以通过触控的方式选择蓝牙设备的信息列表中的至少一个蓝牙设备,例如,穿戴设备依次显示蓝牙设备的信息列表中的每个蓝牙设备的蓝牙地址,触控屏显示的蓝牙地址为待设置的目标无线设备的情况下,用户可以点击选择当前显示的蓝牙地址,穿戴设备就会将选中的蓝牙地址表示的蓝牙设备设置为目标蓝牙设备(参照图6所示应用场景)。
当然,在实际应用中,所述穿戴设备有可能不是触控屏,而是采用物理按键进行选择,则可以通过物理按键选中蓝牙设备的信息列表中的一个蓝牙设备作为目标无线设备。如果穿戴设备为声控的,则可以按照图7所示的应用场景中采用声控的方式将其中一个蓝牙设备作为目标无线设备,例如,穿戴设备播放“1.acdfthhsh,2.fhgirehgfdbgrh,3.busgubd,播放结束,请选择蓝牙地址对应的序号”后,假设第2个是要设置的目标无线设备,此时家长就可以说出“2”。穿戴设备就会将第2个蓝牙地址表示的蓝牙设备作为目标无线设备。具体采用何种方式选中目标无线设备,与穿戴设备的配置相关,在此不做限制。
步骤S503,获取输入的第二账号,并将输入的第二账号与所述目标无线设备进行关联。
在本申请实施例中,穿戴设备的屏幕较大的情况,可以在穿戴设备上显示输入框,通过手写的方式在屏幕上依次书写手机号的中的每个数字,在书写完成后,输入框会显示输入的手机号,穿戴设备就可以将输入的手机号与目标蓝牙设备进行关联。即所述第二账号为通过输入框接收的用户输入的第二账号。另外,所述穿戴设备为声控的情况下,还可以按照图7所示的应用场景中的描述,穿戴设备将第2个蓝牙地址表示的蓝牙设备作为目标蓝牙设备后,发出语音“是否为当前蓝牙设置报警电话”,家长说出“否”,则结束,家长说出“是”,穿戴设备继续播报“请说出报警电话”,家长说出“1**********”,穿戴设备将家长说出的手机号与目标无线设备进行关联,即所述第二账号为通过麦克风接收的用户输入的第二账号。
随着电话手表等穿戴设备的智能化程度提高,穿戴设备的屏幕可以趋向于采用触控屏技术或穿戴设备趋向于采用语音输入技术,这样家长就可以在穿戴设备上更直观的进行各种设置。
图3和图5所示实施例,分别描述了从家长手机一侧和穿戴设备一侧进行目标无线设备设置的方法,通过上述的描述,就可以为穿戴设备实现儿童遗留车辆内的报警方法提供前期准备工作。在设置了目标无线设备后,穿戴设备就可以持续扫描四周的无线设备,然后通过对比扫描的无线设备的信息中是否包含了预先设置的目标无线设备的信息,确定儿童是否在车上或者即将进行入车上,在确定儿童在车上或者即将进入车上时,为儿童所处的环境提供监测以及在环境不适宜时提供报警。即在图3或图5提供的实施例后,可以执行图2所示实施例中步骤S201至步骤S203。
作为本申请另一实施例,发出报警信息包括:
向与所述目标无线设备关联的第二账号和/或所述穿戴设备关联的第一账号发送报警信息,其中,所述报警信息包括:所述穿戴设备当前的地理位置信息和所述穿戴 设备当前所处环境的环境数据。
在本申请实施例中,如果未对目标无线设备设置关联的第二账号,则可以将报警信息发送给所述穿戴设备关联的第一账号,还可以将报警信息发送给消防部门和/或警局,如果对目标无线设备设置了关联的第二账号,则可以将报警信息发送给所述穿戴设备关联的第一账号和目标无线设备关联的第二账号,还可以将报警信息发送给第三账号(例如,消防部门、警局)。
另外,为了避免对公共资源的浪费,在发送报警信息时,还可以根据环境数据设置报警信息的接受者,例如,可以将环境数据设置为至少两个等级,其中一个等级为恶劣等级,在恶劣等级下,有可能对儿童的生理或生存造成影响,当穿戴设备监测的环境数据达到恶劣等级的情况下,向第三账号发送报警信息,以尽快将儿童从恶劣环境中解救出来。在环境数据未达到恶劣等级的情况下,就可以不向第三账号发送报警信息,只向第一账号和第二账号发送报警信息,以避免对公共资源的浪费。
作为举例,对环境温度进行采集时,可以设置:37℃<T<40℃属于普通等级,T≥40℃属于恶劣等级。如果采集的环境温度为35℃,则不发出报警信息;如果采集的环境温度为38℃,则向第一账号和第二账号发送报警信息;如果采集的环境温度为41℃,则向第三账号发送报警信息。
同样,对环境氧气含量进行采集时,可以设置:18.5%<Q<19.6%属于普通等级,Q≤18.5%属于恶劣等级。如果采集的环境氧气含量为19.9%,则不发出报警信息;如果采集的环境氧气含量为19%,则向第一账号和第二账号发送报警信息;如果采集的环境氧气含量为18.3%,则向第三账号发送报警信息。
当然,同时对多个环境条件进行采集时,只要多个环境条件中的任一个或多个达到恶劣等级,就向第三账号发送报警信息。
所述报警信息包括:所述穿戴设备当前的地理位置信息和所述穿戴设备当前所处环境的环境数据/环境等级。当然,根据实际情况,还可以只包含:所述穿戴设备当前的地理位置信息。所述穿戴设备当前的地理位置信息,可以使得报警信息的接收者知道儿童当前所在的位置,所述环境数据可以使得报警信息的接收者了解儿童当前所处环境的环境数据或环境等级。
图8示出了本申请实施例提供的一种儿童遗留车辆内的报警方法的示意性流程图;作为示例而非限定,该方法可以应用于穿戴设备中。
步骤S801,获取穿戴设备扫描到的无线设备的信息。
在本申请实施例中,步骤S801与步骤S201的内容一致,可参照步骤S201的描述,在此不再赘述。
步骤S802,若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,持续获取穿戴设备扫描到的无线设备的信息。
在本申请实施例中,若所述穿戴设备扫描的无线设备的信息中存在目标无线设备的信息,表示穿戴设备的佩戴者靠近目标无线设备所在的车辆(空间)或者进入目标无线设备所在的车辆(空间),可以通过所述穿戴设备上的传感器监测环境条件以外,还可以控制穿戴设备持续扫描周围的无线设备的信息,即穿戴设备上的传感器采集环境数据和所述穿戴设备扫描周围的无线设备同时在进行。即,在执行步骤S802至步骤 S804的同时,还可以执行步骤S202至步骤S203。
这是因为,所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,表示儿童在车内或者即将进入车内;穿戴设备扫描到的无线设备的信息中不存在目标无线设备的信息,表示儿童已经离开车辆或者车辆已经熄火。为了确定儿童是否一直在车内,就可以通过穿戴设备是否一直能够扫描到目标无线设备。如果一直能够扫描到目标无线设备,则可以执行步骤S202至步骤S203。
步骤S803,若所述穿戴设备扫描到的目标无线设备的信息消失,则获取所述穿戴设备在预设时间内的地理位置信息。
在本申请实施例中,如果穿戴设备扫描到的目标无线设备的信息消失,至少有两种情况:一种是儿童离开目标无线设备所在的空间,另一种情况是车辆熄火,但是儿童依旧在目标无线设备所在的空间内。如果是第一种情况,则无需再通过穿戴设备采集周围的环境数据,如果是第二种情况,则有可能家长或者司机离开车辆并且将车辆熄火,而儿童还遗留在车内,这种情况属于比较危险的情况,因此,是需要通过穿戴设备采集周期的环境数据的。
为了区分以上两种情况,可以通过穿戴设备在预设时间内的地理位置是否变化来区分,这是因为,如果是第一种情况,儿童离开目标无线设备所在的车辆,则儿童的地理位置会发生变化,如果是第二种情况,儿童遗留在熄火的车内,则儿童的地理位置变化仅局限于车辆内,不会出现超过车辆范围的地理位置变化。所以,在所述穿戴设备扫描到的目标无线设备的信息消失时,获取所述穿戴设备在预设时间内的地理位置信息。
作为举例,可以设置按照一定的频率(例如,一分钟一次)获取穿戴设备扫描到的无线设备的信息;如果t i时刻获取的扫描到的无线设备的信息包括目标无线设备A的信息,而t i+1时刻获取的扫描到的无线设备的信息不包括目标无线设备A的信息,可以理解为t i+1时刻所述穿戴设备扫描的目标无线设备A消失,为了确定是第一种情况(儿童离开目标无线设备所在的车辆,无需再获取环境数据),还是第二种情况(儿童遗留在熄火的车内,需要继续获取环境数据),就需要获取t i+1时刻到t g时刻所述穿戴设备的地理位置信息,其中,t i+1时刻到t g时刻为预先设置的时间段,可以是3分钟,5分钟,8分钟等。
所述穿戴设备的地理位置信息可以通过穿戴设备上设置的全球定位系统(Global Positioning System,GPS)采集的。获取的为t i+1时刻到t g时刻GPS采集的地理位置信息。
步骤S804,根据获取的所述穿戴设备在预设时间内的地理位置信息确定所述穿戴设备的移动范围。
在本申请实施例中,所述地理位置信息的采集周期可能是3秒、5秒、10秒采集一次,根据预设时间(例如5分钟)内的地理位置信息可以生成穿戴设备的移动轨迹,所述移动轨迹就为所述穿戴设备的移动范围。
还可以是其他确定方式,例如,根据所述移动轨迹再次确定移动范围。
作为举例,可以将所述移动轨迹中距离最远的两个点之间的直线距离定义为所述 穿戴设备的移动范围,参见图9中(a)所示的移动范围的确定方法,如图所示,从A点到B点的实线表示穿戴设备的移动轨迹,将所述移动轨迹中距离最远的两个点(B点和C点)之间的直线距离定位所述穿戴设备的移动范围,即BC表示的虚线。
还可以将移动轨迹中距离所述起点最远的点与所述起点之间的直线距离定义为所述穿戴设备的移动范围,参见图9中(b)所示的移动范围的确定方法,如图所示,从A点到B点的实线表示穿戴设备的移动轨迹,将所述移动轨迹中起点A和与起点A距离最远点D之间的直线距离AD定位所述穿戴设备的移动范围,即AD表示的虚线。
步骤S805,若所述穿戴设备的移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
在本申请实施例中,如果所述移动轨迹就为所述穿戴设备的移动范围,则预设范围为以所述移动轨迹中起点为中心的预设区域(例如,以移动轨迹的起点为中心的正方形区域、圆形区域),该区域的边长或半径可以预先设置。
如果根据所述移动轨迹再次确定移动范围,则所述预设范围可以是某个值以内的范围,例如,预设范围表示的是2米以内的范围,3米以内的范围。
若所述穿戴设备的移动范围小于预设范围(穿戴设备的移动范围在预设范围内),表示儿童可能被遗留在车辆内,就需要获取所述穿戴设备当前所处环境的环境数据。
作为本申请另一实施例,若所述穿戴设备的移动范围大于或等于预设范围,则向所述穿戴设备发送第一控制指令,其中,所述第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
在本申请实施例中,若所述穿戴设备的移动范围大于或等于预设范围,表示儿童已经离开车辆,就无需对儿童所处环境进行监测,就可以控制所述穿戴设备上的传感器停止采集环境数据。
另外,可以为不同的目标无线设备设置不同的预设范围,例如,目标无线设备为私家车内安装的无线设备时,对应的预设范围可以设置为半径为1米的圆形区域或2米以内;目标无线设备为校车内安装的无线设备时,对应的预设范围可以设置为半径为2.5米的圆形区域或5米以内,目标无线设备为某个空间时,对应的预设范围可以设置为与该空间内存在的最大直线距离相关,作为举例,当某个空间为长4米,宽3米的正方形空间时,该正方形空间内存在的最大直线距离为该正方形空间的对角线,即5米,因此,可以将预设范围设置为半径为2.5米的圆形区域或以下数值以内:5.5米、5.8米、6米等。
为了验证本申请实施例提供的儿童遗留车辆内的报警方法是否能够对儿童遗留车辆内的情况下进行环境数据采集,可以通过实际的应用场景进行模拟。
前期准备阶段:儿童电话手表上设置的无线模块为蓝牙模块,私家车上设置的无线设备为蓝牙设备,已经预先为电话手表设置了目标无线设备为私家车的车载蓝牙,且未为车载蓝牙设置第二账号,第一账号为母亲的手机号,电话手表的蓝牙为常启模式(电话手表为开机状态时蓝牙为开启状态)。
上车阶段:当儿童佩戴电话手表和母亲出游时,母亲打开私家车的车门,将儿童放置在后排的安全座椅上,母亲乘坐司机位,启动汽车,汽车的车载蓝牙开启,发出广播信息,儿童手表扫描到私家车的车载蓝牙的信息,开始获取穿戴设备所处环境的 环境数据。
第一行驶阶段:母亲驾驶私家车行驶在出游目的地的路上,电话手表上的传感器每间隔2分钟采集一次环境数据,且采集的环境数据均在预设范围内,即不满足预设条件。
短暂停车阶段:母亲驾驶私家车行驶在出游目的地的路上,途径超市,母亲短暂停车去超市为儿童买食物和水。
情况1、母亲可以选择不对私家车进行熄火,将儿童留在未熄火的车上,独自去超市进行短暂采购,电话手表依旧能够扫描到车载蓝牙,表示儿童仍然在私家车上,电话手表上的传感器继续按照每间隔2分钟采集一次环境数据(和行驶阶段相同)。
情况2、母亲为了避免儿童跑出私家车,同时避免儿童在车内对私家车进行误动,决定将儿童锁在私家车内,同时对私家车进行熄火,独自去超市进行短暂采购,在私家车熄火后,电话手表扫描到车载蓝牙消失,获取所述电话手表在5分钟内的地理位置信息,由于儿童被锁在私家车内,电话手表在5分钟内的地理位置信息被限制在私家车的范围内,因此,可以断定儿童当前依旧在车内,电话手表上的传感器继续按照每间隔2分钟采集一次环境数据(和行驶阶段以及短暂停车阶段中的情况1相同)。
情况3、母亲为了儿童的安全考虑,决定带着儿童一起去超市进行短暂采购,当母亲带着儿童前往超市或者母亲对私家车进行熄火后,电话手表扫描到车载蓝牙消失,获取所述电话手表在5分钟内的地理位置信息,母亲带着儿童一起去超市,儿童5分钟内的地理位置信息为儿童从私家车前往超市,已经超过了预先设置的2米,则可以控制所述穿戴设备上的传感器停止采集环境数据。这样避免了穿戴设备一直采集环境数据耗电量较大的问题。
第二行驶阶段:如果以情况1母亲返回私家车,电话手表上的传感器继续按照每间隔2分钟采集一次环境数据。
如果以情况2母亲返回私家车,母亲打开私家车的车门,启动汽车,……(和上车阶段类似,相当于电话手表重新开始执行儿童遗留车辆内的报警方法)。
如果以情况3母亲带着儿童返回私家车时,母亲打开私家车的车门,启动汽车,……(和上车阶段类似,相当于电话手表重新开始执行儿童遗留车辆内的报警方法)。
在上述的各个阶段中,电话手表上的传感器在采集环境数据时,一旦发现环境数据满足预设条件,就需要向母亲的手机号发送报警信息,以避免母亲在超市进行短暂采购时被某些事情耽误(例如被商品吸引)而长时间离开私家车导致儿童处于不适宜或者不安全的环境中。
上述实施例以及对应应用场景的描述,即使车辆熄火后,也能够通过穿戴设备的地理位置信息确定儿童是否遗留在车内,且在儿童遗留在车内的情况下采集环境数据,以对儿童所处环境进行监控,并在环境条件不适宜时报警。
图10示出了本申请实施例提供的一种儿童遗留车辆内的报警方法的示意性流程图;作为示例而非限定,该方法可以应用于本申请实施例提供的穿戴设备。
步骤S1001,获取穿戴设备扫描到的无线设备的信息。
在本申请实施例中,步骤S1001与步骤S201的内容一致,具体可参照步骤S201 的描述,在此不再赘述。
步骤S1002,若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则以预设的时间间隔获取所述穿戴设备的地理位置信息。
在本申请实施例中,若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,不同于图8所示实施例,获取所述穿戴设备当前所处环境的环境数据,而是以预设的时间间隔获取所述穿戴设备的地理位置信息。
这是由于,所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息时,通常是儿童即将上车或者已经在车上,儿童上车后,司机会驾驶车辆开往目的地,如果有家长或司机同时在车上,此时就无需对儿童是否被遗留在车上进行监测、报警,即使需要监测环境条件,由于有大人在车上,大人会对车上的环境有个人感官上的判断,就没有必要通过穿戴设备对儿童所处环境进行数据采集。因此,就需要判断儿童在私家车或者校车时,是否有家长或司机陪同。
本申请实施例可以通过车辆的行驶状态确定儿童在私家车或者校车时,是否有家长或司机陪同。如果所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,且穿戴设备移动范围相对较大,则表示儿童进入车辆后,车辆开始了行驶过程,车辆在行驶过程中,驾驶人员就会在车上,就无需对车上的环境进行监测,如果所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,且穿戴设备移动范围相对较小到几乎不移动,则表示儿童进入车辆后,车辆并未行驶或者行驶一段时间后又保持停车状态,如果车辆并未行驶,则有可能司机将儿童独自留在车上,如果车辆行驶一段时间后又保持停车状态,则可能是司机短暂离开将儿童独自留在车上。无论是上述哪种情况,均需要对环境进行监测,即获取所述穿戴设备当前所处环境的环境数据。通过上述分析,在所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息后,可以以预设的时间间隔获取所述穿戴设备的地理位置信息。所述预设的时间间隔可以是每间隔2分钟、4分钟、5分钟、7分钟等。
所述穿戴设备的地理位置信息可以参照图8所示实施例中步骤S803的描述。
步骤S1003,根据预设的时间间隔获取的所述穿戴设备的地理位置信息,计算每个时间间隔内所述穿戴设备的移动范围。
在本申请实施例中,步骤S1003与步骤S804内容一致,具体可参照步骤S804中确定穿戴设备的移动范围的方式,在此不再赘述。
步骤S1004,若所述移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
步骤S1004’,若所述移动范围大于或等于预设范围,则向所述穿戴设备发送第一控制指令,其中,所述第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
在本申请实施例中,图10所示实施例的前提条件为所述穿戴设备扫描的无线设备的信息中包含目标无线设备的信息,即表示儿童在车内或者车辆附近。所以,如果车辆在行驶时,表示儿童在车内,同时车辆内有司机;如果车辆在短暂停留时,儿童是有可能在车内的。
当所述移动范围小于预设范围时,表示车辆属于停车状态或短暂停留,如前所述, 短暂停留就存在将儿童独立留在车上的可能性,就需要获取所述穿戴设备当前所处环境的环境数据以对环境进行监测。
当所述移动范围大于或等于预设范围时,表示车辆属于行驶状态,车辆上会存在司机,就无需获取所述穿戴设备当前所处环境的环境数据以对环境进行监测,就可以向所述穿戴设备发送第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
步骤S1005,在所述环境数据满足预设条件时,发出报警信息。
该步骤请参照前述实施例的描述,在此不再赘述。
本申请实施例描述了所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息的情况下,通过穿戴设备的地理位置信息确定车辆上是否有司机陪同儿童,在有司机陪同儿童的情况下,无需对车辆内的环境进行监测,在有可能司机未陪同儿童的情况下,通过穿戴设备上的传感器采集环境数据以对儿童所处环境进行监测。
作为图10所示实施例的一个应用场景,依然以母亲携带儿童出游为例。
前期准备阶段:儿童电话手表上设置的无线模块为蓝牙模块,私家车上设置的无线设备为蓝牙设备,已经预先为电话手表设置了目标无线设备为私家车的车载蓝牙,且未为车载蓝牙设置第二账号,第一账号为母亲的手机号,电话手表的蓝牙为常启模式(电话手表为开机状态时蓝牙为开启状态)。
上车阶段:当儿童佩戴电话手表和母亲出游时,母亲打开私家车的车门,将儿童放置在后排的安全座椅上,母亲乘坐司机位,启动汽车,汽车的车载蓝牙开启,发出广播信息,儿童手表扫描到私家车的车载蓝牙的信息,以每间隔5分钟获取所述穿戴设备的地理位置信息。
第一行驶阶段:母亲驾驶私家车行驶在出游目的地的路上,以每间隔5分钟获取所述穿戴设备的地理位置信息,并根据当前5分钟内的地理位置信息生成当前时间间隔内的移动范围,由于在行驶阶段,移动范围大于预设范围,则所述穿戴设备上的传感器保持在停止工作状态。
短暂停车阶段:母亲驾驶私家车行驶在出游目的地的路上,途径超市,母亲短暂停车去超市为儿童买食物和水。
情况1、母亲可以选择不对私家车进行熄火,将儿童留在未熄火的车上,独自去超市进行短暂采购,电话手表依旧能够扫描到车载蓝牙,表示儿童仍然在私家车上,以每间隔5分钟获取所述穿戴设备的地理位置信息,并生成当前时间间隔内的移动范围,由于儿童仍然在私家车上,移动范围小于预设范围,则向所述穿戴设备发送第二控制指令,其中,所述第二控制指令用于控制所述穿戴设备上的传感器开始采集环境数据。此时就需要获取所述穿戴设备当前所处环境的环境数据。
情况2、母亲为了避免儿童跑出私家车,同时避免儿童在车内对私家车进行误动,决定将儿童锁在私家车内,同时对私家车进行熄火,独自去超市进行短暂采购,在私家车熄火后,电话手表扫描到车载蓝牙消失,……(和图8所示实施例的应用场景中情况2类似)。
情况3、母亲为了儿童的安全考虑,决定带着儿童一起去超市进行短暂采购,当母亲带着儿童前往超市或者母亲对私家车进行熄火后,电话手表扫描到车载蓝牙消 失,……(和图8所示实施例的应用场景中情况2类似)。
第二行驶阶段:以情况1为例,母亲返回私家车时,启动汽车开始行驶,以每间隔5分钟获取所述穿戴设备的地理位置信息,由于在行驶阶段,移动范围大于预设范围,就需要向所述穿戴设备发送第一控制指令控制所述穿戴设备上的传感器停止采集环境数据。
由于很多电话手表的GPS是无法关闭的,为了避免穿戴设备上的传感器一直处于工作状态造成大量耗电,可以基于电话手表上的GPS一直处于工作状态,根据GPS确定儿童当前所在的车辆是否在行驶,在行驶阶段有司机无需对环境进行监测,在能扫描到目标无线设备,且车辆静止状态,才控制传感器工作对环境数据进行采集。
在采集环境数据时,一旦发现环境数据满足预设条件,就需要向母亲的手机号发送报警信息,以避免目前在超市进行短暂采购时被某些事情耽误(例如被商品吸引)而长时间离开私家车导致儿童处于不适宜的环境中。
应理解,上述实施例中各步骤的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
对应于上文实施例所述的儿童遗留车辆内的报警方法,图11示出了本申请实施例提供的儿童遗留车辆内的报警装置的结构框图,为了便于说明,仅示出了与本申请实施例相关的部分。
参照图11,该装置包括:
设备信息获取单元111,用于获取穿戴设备扫描到的无线设备的信息;
环境数据获取单元112,用于若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备;
报警单元113,用于在所述环境数据满足预设条件时,发出报警信息。
作为本申请另一实施例,所述装置11包括:
地理位置信息获取单元114,用于若所述穿戴设备扫描到的目标无线设备的信息消失,则获取所述穿戴设备在预设时间内的地理位置信息;
移动范围确定单元115,用于根据获取的所述穿戴设备在预设时间内的地理位置信息确定所述穿戴设备的移动范围;
环境数据获取单元112,还用于:若所述穿戴设备的移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
作为本申请另一实施例,所述环境数据获取单元112还用于:
获取所述穿戴设备上的温度传感器采集的所述穿戴设备当前所处环境的环境温度;
和/或,
获取所述穿戴设备上的氧气含量传感器采集的所述穿戴设备当前所处环境的环境氧气含量。
作为本申请另一实施例,所述装置11还包括:目标无线设备设置单元116;
所述目标无线设备设置单元116用于:
获取第一账号发送的无线设备的信息,其中,所述第一账号为所述穿戴设备关联 的账号;
将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备;
获取所述第一账号发送的第二账号;
将所述第一账号发送的第二账号与所述目标无线设备进行关联。
作为本申请另一实施例,所述目标无线设备设置单元116,还用于:
获取所述穿戴设备扫描到的无线设备的信息,并将所述无线设备的信息显示;
接收从所述无线设备的信息列表中选中的至少一个无线设备的信息,并将选中的无线设备的信息表示的无线设备设置为目标无线设备;
获取输入的第二账号,并将输入的第二账号与所述目标无线设备进行关联。
作为本申请另一实施例,所述报警单元113还用于:
向与所述目标无线设备关联的第二账号和/或所述穿戴设备关联的第一账号发送报警信息,其中,所述报警信息包括:所述穿戴设备当前的地理位置信息和所述穿戴设备当前所处环境的环境数据。
作为本申请另一实施例,所述环境数据获取单元还包括:
地理位置信息获取模块,用于若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则以预设的时间间隔获取所述穿戴设备的地理位置信息;
移动范围确定模块,用于根据预设的时间间隔获取的所述穿戴设备的地理位置信息,计算每个时间间隔内所述穿戴设备的移动范围;
环境数据获取模块,用于若所述移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
传感器控制模块,用于若所述移动范围大于或等于预设范围,则向所述穿戴设备发送第一控制指令,其中,所述第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
需要说明的是,上述装置/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
本申请实施例提供的儿童遗留车辆内的报警方法可以应用于儿童手表、儿童手环等可穿戴设备上,本申请实施例对穿戴设备的具体类型不作任何限制。
本申请实施例提供的穿戴设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现如本申 请实施例提供的任一儿童遗留车辆内的报警方法的步骤。
作为示例而非限定,所述可穿戴设备还可以是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,如智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。
以所述穿戴设备为儿童电话手表为例。图12示出的是与本申请实施例提供的电话手表的部分结构的框图。参考图12,电话手表包括:射频(Radio Frequency,RF)电路1210、存储器1220、输入单元1230、显示单元1240、传感器1250、音频电路1260、无线保真(wireless fidelity,WiFi)模块1270、处理器1280、以及电源1290等部件。本领域技术人员可以理解,图12中示出的电话手表结构并不构成对电话手表或穿戴设备的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。
下面结合图12对电话手表的各个构成部件进行具体的介绍:
RF电路1210可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器1280处理;另外,将设计上行的数据发送给基站。或者接受家长的手机发送的无线设备的信息和第二账号。通常,RF电路包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low Noise Amplifier,LNA)、双工器等。此外,RF电路1210还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(Global System of Mobile communication,GSM)、通用分组无线服务(General Packet Radio Service,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE))、电子邮件、短消息服务(Short Messaging Service,SMS)等。
存储器1220可用于存储软件程序以及模块,处理器1280通过运行存储在存储器1220的软件程序以及模块,从而执行电话手表的各种功能应用以及数据处理。存储器1220可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据电话手表的使用所创建的数据(比如环境数据、目前无线设备、第一账号和第二账号)等。此外,存储器1220可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
输入单元1230可用于接收输入的数字或字符信息,以及产生与电话手表的用户设置以及功能控制有关的键信号输入。具体地,输入单元1230可包括用于接受用户输入第二账号的触控面板1231以及其他输入设备1232。触控面板1231,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板1231上或在触控面板1231附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板1231可包括触摸检测装置和触摸控制器两个部分。 其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器1280,并能接收处理器1280发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板1231。除了触控面板1231,输入单元1230还可以包括其他输入设备1232。具体地,其他输入设备1232可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、用于采集用户的语音信息的麦克风等中的一种或多种。
显示单元1240可用于显示由用户输入的信息或提供给用户的信息以及电话手表的各种菜单。显示单元1240可包括显示面板1241,可选的,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板1241。进一步的,触控面板1231可覆盖显示面板1241,当触控面板1231检测到在其上或附近的触摸操作(例如用户在触控屏上输入第二账号)后,传送给处理器1280以确定触摸事件的类型,随后处理器1280根据触摸事件的类型在显示面板1241上提供相应的视觉输出。虽然在图12中,触控面板1231与显示面板1241是作为两个独立的部件来实现电话手表的输入和输入功能,但是在某些实施例中,可以将触控面板1231与显示面板1241集成而实现电话手表的输入和输出功能。
电话手表还可包括至少一种传感器1250,比如温度传感器、氧气含量传感器、湿度传感器、光传感器、运动传感器以及其他传感器。具体地,温度传感器可以采集电话手表所处环境的环境温度,氧气含量传感器可以采集电话手表所处环境的环境氧气含量,湿度传感器可以采集所处环境的环境氧气含量,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板1241的亮度。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电话手表姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于电话手表还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。
音频电路1260、扬声器1261,传声器1262可提供用户与电话手表之间的音频接口。音频电路1260可将接收到的音频数据转换后的电信号,传输到扬声器1261,由扬声器1261转换为声音信号(例如电话手表播放“1.acdfthhsh,2.fhgirehgfdbgrh,3.busgubd,播放结束,请选择蓝牙地址对应的序号”)输出;另一方面,传声器1262将收集的声音信号(例如,用户说出的“扫描蓝牙”)转换为电信号,由音频电路1260接收后转换为音频数据,再将音频数据输出处理器1280处理后,经RF电路1210以发送给比如家长手机,或者将音频数据输出至存储器1220以便进一步处理。
WiFi属于短距离无线传输技术,电话手表通过WiFi模块1270可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图12示出了WiFi模块1270,但是可以理解的是,其并不属于电话手表的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。
处理器1280是电话手表的控制中心,利用各种接口和线路连接整个电话手表的各个部分,通过运行或执行存储在存储器1220内的软件程序和/或模块,以及调用存储 在存储器1220内的数据,执行电话手表的各种功能和处理数据,从而对电话手表进行整体监控。可选的,处理器1280可包括一个或多个处理单元;优选的,处理器1280可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1280中。
电话手表还包括给各个部件供电的电源1290(比如电池),优选的,电源可以通过电源管理系统与处理器1280逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
尽管未示出,电话手表还可以包括摄像头。
可选地,电话手表可以包括全球定位系统(Global Positioning System,GPS)。
另外,尽管未示出,电话手表还可以包括蓝牙模块等,在此不再赘述。
图13是本申请实施例的电话手表的软件结构示意图。以电话手表操作系统为Android系统为例,在一些实施例中,将Android系统分为四层,分别为应用程序层、应用程序框架层(framework,FWK)、系统层以及硬件抽象层,层与层之间通过软件接口通信。
如图13所示,所述应用程序层可以一系列应用程序包,应用程序包可以包括短信息,日历,相机,视频,导航,图库,通话等应用程序。
应用程序框架层为应用程序层的应用程序提供应用编程接口(application programming interface,API)和编程框架。应用程序框架层可以包括一些预先定义的函数,例如用于接收应用程序框架层所发送的事件的函数。
如图13所示,应用程序框架层可以包括窗口管理器、资源管理器以及通知管理器等。
窗口管理器用于管理窗口程序。窗口管理器可以获取显示屏大小,判断是否有状态栏,锁定屏幕,截取屏幕等。内容提供器用来存放和获取数据,并使这些数据可以被应用程序访问。所述数据可以包括视频,图像,音频,拨打和接听的电话,浏览历史和书签,电话簿等。
资源管理器为应用程序提供各种资源,比如本地化字符串,图标,图片,布局文件,视频文件等等。
通知管理器使应用程序可以在状态栏中显示通知信息,可以用于传达告知类型的消息,可以短暂停留后自动消失,无需用户交互。比如通知管理器被用于告知下载完成,消息提醒等。通知管理器还可以是以图表或者滚动条文本形式出现在系统顶部状态栏的通知,例如后台运行的应用程序的通知,还可以是以对话窗口形式出现在屏幕上的通知。例如在状态栏提示文本信息,发出提示音,电子设备振动,指示灯闪烁等。
应用程序框架层还可以包括:
视图系统,所述视图系统包括可视控件,例如显示文字的控件,显示图片的控件等。视图系统可用于构建应用程序。显示界面可以由一个或多个视图组成的。例如,包括短信通知图标的显示界面,可以包括显示文字的视图以及显示图片的视图。
电话管理器用于提供电话手表的通信功能。例如通话状态的管理(包括接通,挂断等)。
系统层可以包括多个功能模块。例如:传感器服务模块,物理状态识别模块,三维图形处理库(例如:OpenGL ES)等。
传感器服务模块,用于对硬件层各类传感器上传的传感器数据进行监测,确定电话手表的物理状态;
物理状态识别模块,用于对用户手势、人脸等进行分析和识别;
三维图形处理库用于实现三维图形绘图,图像渲染,合成,和图层处理等。
系统层还可以包括:
表面管理器用于对显示子系统进行管理,并且为多个应用程序提供了2D和3D图层的融合。
媒体库支持多种常用的音频,视频格式回放和录制,以及静态图像文件等。媒体库可以支持多种音视频编码格式,例如:MPEG4,H.264,MP3,AAC,AMR,JPG,PNG等。
硬件抽象层是硬件和软件之间的层。硬件抽象层可以包括显示驱动,摄像头驱动,传感器驱动等,用于驱动硬件层的相关硬件,如显示屏、摄像头、传感器等。
以上儿童遗留车辆内的报警方法实施例可以在具有上述硬件结构/软件结构的电话手表上实现。
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现可实现上述各个方法实施例中的步骤。
本申请实施例提供了一种计算机程序产品,当计算机程序产品在设备上运行时,使得设备执行时实现可实现上述各个方法实施例中的步骤。
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到装置/设备的任何实体或装置、记录介质、计算机存储器、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。
本申请实施例还提供了一种芯片系统,其特征在于,所述芯片系统包括处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现本申请任一儿童遗留车辆内的报警方法的步骤。所述芯片系统可以为单个芯片,或者多个芯片组成的芯片模组。
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单 元及方法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。

Claims (14)

  1. 一种儿童遗留车辆内的报警方法,其特征在于,包括:
    获取穿戴设备扫描到的无线设备的信息;
    若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备;
    在所述环境数据满足预设条件时,发出报警信息。
  2. 如权利要求1所述的儿童遗留车辆内的报警方法,其特征在于,在所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息之后,还包括:
    若所述穿戴设备扫描到的目标无线设备的信息消失,则获取所述穿戴设备在预设时间内的地理位置信息;
    根据获取的所述穿戴设备在预设时间内的地理位置信息确定所述穿戴设备的移动范围;
    若所述穿戴设备的移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
  3. 如权利要求1或2所述的儿童遗留车辆内的报警方法,其特征在于,所述获取所述穿戴设备当前所处环境的环境数据包括:
    获取所述穿戴设备上的温度传感器采集的所述穿戴设备当前所处环境的环境温度;
    和/或,
    获取所述穿戴设备上的氧气含量传感器采集的所述穿戴设备当前所处环境的环境氧气含量。
  4. 如权利要求3所述的儿童遗留车辆内的报警方法,其特征在于,所述在所述环境数据满足预设条件时,发出报警信息包括:
    若所述环境温度超出预设温度范围和/或所述环境氧气含量超出预设氧气含量范围,则发出报警信息。
  5. 如权利要求1、2或4所述的儿童遗留车辆内的报警方法,其特征在于,所述目标无线设备的设置方式包括:获取第一账号发送的无线设备的信息,其中,所述第一账号为所述穿戴设备关联的账号;
    将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备。
  6. 如权利要求5所述的儿童遗留车辆内的报警方法,其特征在于,在将所述第一账号发送的无线设备的信息表示的无线设备设置为目标无线设备后,还包括:
    获取所述第一账号发送的第二账号;
    将所述第一账号发送的第二账号与所述目标无线设备进行关联。
  7. 如权利要求1、2或4所述的儿童遗留车辆内的报警方法,其特征在于,所述目标无线设备的设置方式包括:
    获取所述穿戴设备扫描到的无线设备的信息,并将所述无线设备的信息显示;
    接收从所述无线设备的信息列表中选中的至少一个无线设备的信息,并将选中的无线设备的信息表示的无线设备设置为目标无线设备。
  8. 如权利要求7所述的儿童遗留车辆内的报警方法,其特征在于,在将选中的无线设备的信息表示的无线设备设置为目标无线设备后,还包括:
    获取输入的第二账号,并将输入的第二账号与所述目标无线设备进行关联。
  9. 如权利要求6或8所述的儿童遗留车辆内的报警方法,其特征在于,所述发出报警信息包括:
    向与所述目标无线设备关联的第二账号和/或所述穿戴设备关联的第一账号发送报警信息,其中,所述报警信息包括:所述穿戴设备当前的地理位置信息和所述穿戴设备当前所处环境的环境数据。
  10. 如权利要求1、2或4所述的儿童遗留车辆内的报警方法,其特征在于,所述若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,包括:
    若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则以预设的时间间隔获取所述穿戴设备的地理位置信息;
    根据预设的时间间隔获取的所述穿戴设备的地理位置信息,计算每个时间间隔内所述穿戴设备的移动范围;
    若所述移动范围小于预设范围,则获取所述穿戴设备当前所处环境的环境数据。
  11. 如权利要求10所述的儿童遗留车辆内的报警方法,其特征在于,在计算每个时间间隔内所述穿戴设备的移动距离之后,还包括:
    若所述移动范围大于或等于预设范围,则向所述穿戴设备发送第一控制指令,其中,所述第一控制指令用于控制所述穿戴设备上的传感器停止采集环境数据。
  12. 一种儿童遗留车辆内的报警装置,其特征在于,包括:
    设备信息获取单元,用于获取穿戴设备扫描到的无线设备的信息;
    环境数据获取单元,用于若所述穿戴设备扫描到的无线设备的信息中存在目标无线设备的信息,则获取所述穿戴设备当前所处环境的环境数据,其中,所述目标无线设备为所述车辆内预先安装的无线设备;
    报警单元,用于在所述环境数据满足预设条件时,发出报警信息。
  13. 一种穿戴设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时实现如权利要求1至11任一项所述方法的步骤。
  14. 一种芯片系统,其特征在于,所述芯片系统包括处理器,所述处理器与存储器耦合,所述处理器执行存储器中存储的计算机程序,以实现如权利要求1至11任一项所述方法的步骤。
PCT/CN2021/085286 2020-06-17 2021-04-02 一种儿童遗留车辆内的报警方法、报警装置及穿戴设备 WO2021253926A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010556950.8A CN113888832A (zh) 2020-06-17 2020-06-17 一种儿童遗留车辆内的报警方法、报警装置及穿戴设备
CN202010556950.8 2020-06-17

Publications (1)

Publication Number Publication Date
WO2021253926A1 true WO2021253926A1 (zh) 2021-12-23

Family

ID=79011884

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/085286 WO2021253926A1 (zh) 2020-06-17 2021-04-02 一种儿童遗留车辆内的报警方法、报警装置及穿戴设备

Country Status (2)

Country Link
CN (1) CN113888832A (zh)
WO (1) WO2021253926A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117351641A (zh) * 2022-06-28 2024-01-05 华为技术有限公司 一种乘车服务卡片推荐方法及相关装置

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201828790U (zh) * 2009-07-29 2011-05-11 钱自德 防止儿童或宠物被遗留在汽车内的驾驶员提醒器
CN102398547A (zh) * 2010-09-06 2012-04-04 钱自德 防止儿童被遗留在汽车内的方法以及装置
JP2015015028A (ja) * 2013-07-04 2015-01-22 ジド チェン、デイビー 子供が車内に残されるのをobd2ソケット及びスマートフォンを用いて防止するための方法
CN105096524A (zh) * 2015-08-31 2015-11-25 北京奇虎科技有限公司 一种基于智能手表的报警方法和装置
CN105741485A (zh) * 2016-01-29 2016-07-06 大连楼兰科技股份有限公司 儿童遗留车内自动安全处理的车载系统及处理方法
CN108238000A (zh) * 2016-12-27 2018-07-03 比亚迪股份有限公司 防止儿童锁于车内的防护系统和防护方法以及车辆
US20190019392A1 (en) * 2017-07-17 2019-01-17 Guixian Lu Device saving children in hot cars
CN109658668A (zh) * 2019-01-23 2019-04-19 出门问问信息科技有限公司 报警方法、报警装置及智能穿戴设备
CN110660191A (zh) * 2019-08-28 2020-01-07 浙江合众新能源汽车有限公司 一种防止车内遗留生物窒息的检测报警方法及装置

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105101062A (zh) * 2014-04-21 2015-11-25 北京奇虎科技有限公司 可穿戴设备、获取无线网络属性信息的方法及系统
CN204795418U (zh) * 2015-07-22 2015-11-18 成都大学 一种车内人员异常监控的设备
CN204845846U (zh) * 2015-07-30 2015-12-09 华东交通大学 车内滞留儿童安全防护系统
CN210271174U (zh) * 2019-09-23 2020-04-07 阳光学院 一种基于音视频检测的儿童被锁车内提醒装置
CN110706432B (zh) * 2019-09-27 2021-03-30 山东科技大学 一种车内婴幼儿监测系统及方法

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201828790U (zh) * 2009-07-29 2011-05-11 钱自德 防止儿童或宠物被遗留在汽车内的驾驶员提醒器
CN102398547A (zh) * 2010-09-06 2012-04-04 钱自德 防止儿童被遗留在汽车内的方法以及装置
JP2015015028A (ja) * 2013-07-04 2015-01-22 ジド チェン、デイビー 子供が車内に残されるのをobd2ソケット及びスマートフォンを用いて防止するための方法
CN105096524A (zh) * 2015-08-31 2015-11-25 北京奇虎科技有限公司 一种基于智能手表的报警方法和装置
CN105741485A (zh) * 2016-01-29 2016-07-06 大连楼兰科技股份有限公司 儿童遗留车内自动安全处理的车载系统及处理方法
CN108238000A (zh) * 2016-12-27 2018-07-03 比亚迪股份有限公司 防止儿童锁于车内的防护系统和防护方法以及车辆
US20190019392A1 (en) * 2017-07-17 2019-01-17 Guixian Lu Device saving children in hot cars
CN109658668A (zh) * 2019-01-23 2019-04-19 出门问问信息科技有限公司 报警方法、报警装置及智能穿戴设备
CN110660191A (zh) * 2019-08-28 2020-01-07 浙江合众新能源汽车有限公司 一种防止车内遗留生物窒息的检测报警方法及装置

Also Published As

Publication number Publication date
CN113888832A (zh) 2022-01-04

Similar Documents

Publication Publication Date Title
US11889015B2 (en) System and methods to facilitate safe driving
US9715816B1 (en) Reminders based on entry and exit of vehicle
US9638537B2 (en) Interface selection in navigation guidance systems
US9534909B2 (en) User terminal device providing service based on personal information and methods thereof
AU2016203615B2 (en) Smart audio playback when connecting to an audio output system
JP6791569B2 (ja) ユーザプロファイル生成方法および端末
US10499207B2 (en) Service providing system including display device and mobile device, and method for providing service using the same
US10013670B2 (en) Automatic profile selection on mobile devices
US20170279957A1 (en) Transportation-related mobile device context inferences
CN106537946A (zh) 对用于移动设备唤醒的信标消息进行评分
CN109286727B (zh) 一种操作控制方法及终端设备
CN105723675A (zh) 交通工具检测
US11176389B2 (en) Non-intrusive intra-vehicular user location detection
KR20170061489A (ko) 전자 기기 및 이의 운송 기기 제어 방법
WO2019127554A1 (zh) 一种基于车联的提示方法及装置
CN106775680A (zh) 悬浮通知的处理方法、装置和移动终端
WO2016033252A2 (en) Transportation-related mobile device context inferences
US20130219309A1 (en) Task performing method, system and computer-readable recording medium
WO2021253926A1 (zh) 一种儿童遗留车辆内的报警方法、报警装置及穿戴设备
US20230333801A1 (en) Application Access Method And Related Apparatus
KR101746503B1 (ko) 이동단말기 및 그 제어방법
CN107333000A (zh) 一种导航的方法和设备以及移动终端
CN108702410B (zh) 一种情景模式控制方法及移动终端
CN107872557B (zh) 一种移动终端的监控方法和装置
KR20150071544A (ko) 잠금 상태에서 모바일 기기를 제어하는 방법 및 장치

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 21825304

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21825304

Country of ref document: EP

Kind code of ref document: A1