WO2019047133A1 - Alarm prompting method, terminal and computer storage medium - Google Patents

Alarm prompting method, terminal and computer storage medium Download PDF

Info

Publication number
WO2019047133A1
WO2019047133A1 PCT/CN2017/100971 CN2017100971W WO2019047133A1 WO 2019047133 A1 WO2019047133 A1 WO 2019047133A1 CN 2017100971 W CN2017100971 W CN 2017100971W WO 2019047133 A1 WO2019047133 A1 WO 2019047133A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
power value
preset
alarm
distance
Prior art date
Application number
PCT/CN2017/100971
Other languages
French (fr)
Chinese (zh)
Inventor
仇彬
Original Assignee
深圳传音通讯有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/100971 priority Critical patent/WO2019047133A1/en
Publication of WO2019047133A1 publication Critical patent/WO2019047133A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present invention relates to the field of communications technologies, and in particular, to an alarm prompting method, a terminal, and a computer storage medium.
  • the embodiment of the invention discloses an alarm prompting method, a terminal and a computer storage medium, which can determine whether the signal power value detected by the first terminal is greater than the first preset power value in the first preset time. Whether the distance between a terminal and the second terminal has exceeded a preset safety distance, and an alarm prompt is issued in time.
  • an embodiment of the present invention provides an alarm prompting method, where the method includes:
  • the first terminal establishes a wireless connection with the second terminal; the first terminal detects a signal power value used by the first terminal to perform wireless connection with the second terminal at a preset time interval; Whether the signal power value detected in a preset time period is greater than the first preset power value, and the first preset power value is determined according to a correspondence between the pre-stored power and the distance, and the first preset is determined. The corresponding power of the distance; if yes, the first terminal outputs an alarm prompt.
  • an embodiment of the present invention provides an alarm prompting terminal, the terminal comprising a unit for performing the method of the above first aspect.
  • an embodiment of the present invention provides another terminal, where the terminal includes: a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, wherein the memory
  • a computer program product which, when run on a computer, causes the computer to perform the method of the first aspect or the method of an alternative implementation.
  • a chip product of a network device is provided, the method of any of the above first aspect or the first aspect of the first aspect being implemented.
  • a computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the method of the first aspect or the first aspect The method in the chosen implementation.
  • FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flow chart of an alarm prompting method according to an embodiment of the present invention.
  • FIG. 3 is a schematic flowchart of an alarm prompting method according to another embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of an alarm prompting terminal according to an embodiment of the present invention.
  • FIG. 5 is a schematic block diagram of another alarm prompting terminal according to an embodiment of the present invention.
  • FIG. 6 is a schematic block diagram of an alarm prompting terminal according to another embodiment of the present invention.
  • FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present application.
  • the communication system includes a first terminal and a second terminal, and optionally, a third terminal.
  • FIG. 1 is only a case where the first terminal and the third terminal are mobile phones, and the second terminal is a smart watch.
  • the first terminal, the second terminal, and the third terminal may refer to an access terminal, a user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile terminal, and a user.
  • the access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication.
  • PLMN public land mobile networks
  • FIG. 2 is a schematic flowchart diagram of an alarm prompting method provided by an embodiment of the present application. As shown in FIG. 2, the alarm prompting method includes the steps 201-204, wherein:
  • the first terminal establishes a wireless connection with the second terminal.
  • the process of establishing a wireless connection may be divided into the following steps: receiving a wireless connection module open command of the first terminal; opening a wireless connection module of the first terminal, and using the wireless of the first terminal
  • the connection module sends a connection establishment request to the second terminal; receives a feedback message for successfully establishing the connection, and establishes a connection with the second terminal.
  • the process of establishing a wireless connection may be divided into the following steps: receiving a wireless connection module open command of the second terminal; opening a wireless connection module of the second terminal, and receiving a connection establishment request message of the first terminal; A terminal sends a feedback message for successfully establishing a connection, and establishes a connection with the first terminal.
  • the second terminal may initiate a connection establishment request to the first terminal, and the interaction process is similar to the foregoing steps, and details are not described herein again.
  • the wireless connection can be implemented by a mobile communication system, a wireless local loop system, a cordless telephone system, a mobile satellite access system, or a wireless local area network.
  • the first terminal detects, at a preset time interval, a signal power value used by the first terminal and the second terminal to perform a wireless connection.
  • the signal power value used by the first terminal and the second terminal for wireless connection may be the transmit signal power value of the first terminal or the received signal power value of the first terminal for the first terminal.
  • the first terminal determines whether the signal power values detected in the first preset time are all greater than the first preset power value.
  • the first preset power value is a power corresponding to the first preset distance determined according to a correspondence between the pre-stored power and the distance. For example, the correspondence between the transmit power and the distance of the pre-stored first terminal is as shown in Table 1. If the first preset distance is set to 10 meters, the corresponding first preset power is 40 millimeters. watt.
  • the first preset distance is a security distance set by the user of the first terminal according to requirements, and the second terminal user is considered to be safe within a first preset distance from the first terminal user. If you set the distance, you may think that danger or loss may occur.
  • different preset distances can be set according to different environments.
  • a shorter preset distance such as 10 meters
  • a longer preset distance such as 15 meters or 20 meters
  • step 202 if the detected signal power value of the first terminal is detected, the first preset power is determined according to the corresponding relationship between the pre-stored transmit signal power and the distance; if the received signal power value of the first terminal is detected, , determining the first pre-correlation according to the pre-stored correspondence between the received signal power and the distance Set the power.
  • the corresponding relationship between the received signal power value of the first terminal and the distance is as shown in Table 2. If the received signal power value of the first terminal is detected, and the first preset distance is 10 meters, the first preset The power is 12 milliwatts.
  • the second terminal user can be prevented from being moved back and forth at the edge of the first preset distance. The trouble caused by multiple alarms of a terminal.
  • the alarm prompt is not immediately sent to the first terminal, but the first detection is performed every 30 seconds.
  • the value of the transmit power value or the received power value of the terminal if the detected transmit power value or the received power value is greater than the corresponding first preset power value within 2 minutes, an alarm prompt is sent to the first terminal.
  • the first terminal outputs an alarm prompt.
  • the distance between the first terminal user and the second terminal user is indirectly determined by determining the transmit signal power value or the received signal power value between the first terminal and the second terminal. Therefore, when the distance between the second terminal user and the first terminal user exceeds a preset security value, an alarm prompt can be sent to the first terminal in time to prevent the second terminal user from being dangerous or losing the second terminal user.
  • the first terminal may determine whether the signal power value detected in the second preset time gradually increases with time, and if yes, execute step 204.
  • the signal power value detected in the second preset time gradually increases with time, it indicates that the second terminal user's activity range not only exceeds the first preset distance, but also the distance is first. The distance of the terminal is getting farther and farther, and an alarm prompt is sent to the first terminal user.
  • the distance between the second terminal user and the first terminal user can be determined, not only has exceeded the preset safety distance, but the distance from the first terminal user is gradually increasing. It can be accurately determined that in this case, it is necessary to issue an alarm prompt to the first terminal in time to detect the abnormality in time and avoid losing the first terminal user.
  • the second terminal detects, by using the preset time interval, a signal power value used by the second terminal to perform wireless connection with the first terminal.
  • the signal power value used by the second terminal to perform wireless connection with the first terminal may be a transmit signal power value of the second terminal or a received signal power value of the second terminal.
  • the second terminal determines whether the signal power values detected in the first preset time are all greater than the third preset power value.
  • the third preset power value is the power corresponding to the first preset distance determined according to the correspondence between the pre-stored power and the distance in the second terminal.
  • the first preset distance is sent by the first terminal to the second terminal. If the signal power value used for the wireless connection is the transmit signal power value of the second terminal, the correspondence between the pre-stored power and the distance is the correspondence between the transmit signal power value and the distance of the second terminal; The signal power value used for the connection is the received signal power value of the second terminal, and the correspondence between the pre-stored power and the distance is the correspondence between the received signal power value of the second terminal and the distance.
  • the second terminal outputs an alarm prompt.
  • whether the distance between the second terminal and the first terminal exceeds is determined by comparing the transmit signal power value of the second terminal or the received signal power value of the second terminal with the third preset power value.
  • the first preset distance if yes, the second terminal outputs an alarm prompt. In this way, when the distance between the second terminal and the first terminal exceeds a preset safety distance, the second terminal user is promptly reminded to avoid the situation that the first terminal user is lost.
  • the alarm prompting method may further include the content of steps 305-308.
  • the specific implementation manners of steps 301-304 refer to the contents of steps 201-204 in Embodiment 2, and details are not described herein again. among them:
  • the first terminal determines whether the detected signal power value reaches a second preset power value.
  • the second preset power value is a maximum power value in a correspondence between a pre-stored power and a distance in the first terminal. Considering that the transmit power of the first terminal and the second terminal cannot be increased indefinitely, when the maximum power value in the correspondence between the pre-stored power and the distance is reached, the first terminal and the second terminal The connection at the end may be broken.
  • the first terminal detects whether the wireless signal sent by the second terminal is received in the third preset time.
  • the third terminal detects whether the first terminal receives the wireless signal sent by the second terminal, and the purpose is to determine whether the connection between the first terminal and the second terminal has been disconnected.
  • the first indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the first terminal. If the first terminal does not receive the wireless signal sent by the second terminal in the third preset time, the connection between the first terminal and the second terminal is considered to be disconnected, and the reason for the disconnection is not because the user manually disconnects, but Because the second terminal is getting farther and farther from the first terminal, the disconnection occurs.
  • the standby connection mode may be opened for subsequent data transmission.
  • the first terminal can communicate with the second terminal by using a data traffic manner such as WiFi, GPRS, 3G, or 4G.
  • the second terminal can communicate with the first terminal by using data traffic such as GPRS, 3G or 4G.
  • the second terminal sends current location information and recording information of the second terminal to the first terminal.
  • the information interaction between the first terminal and the second terminal is performed by using a backup connection manner.
  • the second terminal After receiving the first indication message sent by the first terminal, the second terminal acquires the current location information of the second terminal, starts the recording module, records the recording information of the preset duration, and sends the location information and the recording information to the first terminal.
  • Sending the current location information of the second terminal and the recording information of the preset duration to the first terminal may help the first terminal user to quickly know the current location and state of the second terminal user, so as to quickly find the user of the second terminal.
  • the standby connection mode is started; the location information and the recording information of the second terminal are obtained in time, and sent to the first terminal; After receiving the alarm prompt, an end user can confirm the location information of the second terminal user and judge the state of the second terminal user through the recorded information, thereby avoiding loss with the second terminal user.
  • the alarm prompting method may further include the content of steps 309-312, where:
  • the first terminal outputs an alarm prompt confirmation box.
  • the alarm prompt confirmation box is used by the first terminal to confirm whether the user of the first terminal has viewed the alarm prompt output by the first terminal.
  • the first terminal sends an alarm prompt to the third terminal.
  • the first terminal after the first terminal outputs the alarm prompt, the first terminal does not receive the alarm prompt confirmation command within the fourth preset time, the first terminal sends an alarm prompt to the third terminal.
  • the foregoing third terminal is determined by the second terminal according to the connection record.
  • the second terminal uses the terminal device having the highest number of connections with the second terminal except the first terminal as the third terminal.
  • the first terminal may send a fourth indication message to the second terminal, where the fourth indication message is used to instruct the second terminal to send the information of the third terminal to the first terminal.
  • the second terminal is a wearable device on the child; after determining that the distance between the child's wearable device and the child's mother's mobile phone exceeds the first preset distance, The first terminal sends an alarm prompt; but because the surrounding environment is noisy or the mother does not check the mobile phone and does not confirm the alarm prompt; the child's mother's mobile phone sends a fourth indication message to the child's wearable device to request the information of the third terminal;
  • the wearable device queries the historical connection record and finds that the child's father's mobile phone is the highest number of connections, except for the child's mother's mobile phone.
  • the child's father's mobile phone related information is fed back to the child's mother's mobile phone; After the feedback information, an alert message is sent to the child's mobile phone.
  • the third terminal may be a terminal preset by the first terminal.
  • the first terminal is a mobile phone of a child's mother.
  • the first terminal may receive a setting instruction for setting a third terminal, and the setting instruction carries a mobile phone identifier of the child dad; the first terminal sets the mobile phone of the child dad as the third terminal according to the setting instruction.
  • the first terminal sends a second indication message to the second terminal.
  • the second indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the third terminal.
  • the second terminal sends current location information and recording information of the second terminal to the third terminal.
  • the second terminal After the second terminal receives the second indication message sent by the first terminal, the second terminal acquires the current location information of the second terminal and starts the recording module, and the recording is preset. Long recording information, and the location information and recording information are sent to the third terminal.
  • step 310 only sends an alarm prompt to the third terminal, and only the user of the third terminal can know that the user of the second terminal may be lost or dangerous, but cannot know the accurate information about the second terminal. . And sending the current location information and the recording information to the third terminal, the effective information can be provided to help the user of the third terminal to confirm the location information and the current state of the second terminal user.
  • the first terminal determines whether the first terminal user has viewed the alarm prompt message by detecting whether the alarm prompt confirmation command is received; if not, issuing an alarm prompt to the third terminal, and indicating the second terminal Sending current location information and recording information to the third terminal; ensuring that the third terminal can receive the alarm prompt information in time when the first terminal user does not promptly view the alarm prompt; improving the reliability of the alarm prompt and avoiding the second terminal The user and the first terminal user are lost.
  • the alarm prompting method may further include the content of steps 313-314, wherein:
  • the first terminal sends a third indication message to the second terminal.
  • the third indication message is used to instruct the second terminal to acquire the average moving speed of the second terminal and send the average mobile terminal to the first terminal.
  • the second terminal acquires a current average moving speed and sends the current moving speed to the first terminal.
  • the first terminal after receiving the average moving speed sent by the second terminal, if the first terminal determines that the average moving speed of the second terminal is greater than the first preset speed, the first terminal sends an alarm prompt to the third terminal. step.
  • the determining whether the average moving speed of the first terminal exceeds the first preset speed may determine whether an abnormal situation occurs in the second terminal user.
  • the first preset speed is 1.5 m/s (equivalent to the speed of an adult walking); when traveling or shopping, the walking speed of the child is generally not If the walking speed exceeds the adult speed, if the first preset speed is exceeded, the child may be taken away or taken to the car to judge that danger may occur at this time.
  • the third indication message is further used to indicate that the second terminal acquires the second terminal in the preset time.
  • the average heart rate of the user, and the average heart rate is sent to the first terminal.
  • the first terminal determines whether it is within the pre-stored normal heart rate range, and if not, sends an alarm prompt to the third terminal.
  • the first terminal may send an indication message to the second terminal, to indicate that the second terminal feeds back the current average moving speed or the average heart rate to the first terminal;
  • the average moving speed or the average heart rate is indirectly determined whether the second terminal user has an abnormal situation; an alarm prompt is issued to the third terminal user in time to prevent the first terminal user from being lost or an accident.
  • the embodiment of the present invention further provides an alarm prompting terminal, which is used to execute the unit of any of the foregoing methods.
  • FIG. 4 it is a schematic block diagram of an alarm prompting terminal provided by an embodiment of the present invention.
  • the terminal of this embodiment includes: a connection unit 401, a detection unit 402, a determination unit 403, and an alarm unit 404.
  • the connecting unit 401 is configured to establish a wireless connection with the second terminal.
  • the detecting unit 402 is configured to detect, at a preset time interval, a signal power value used by the first terminal and the second terminal for wireless connection.
  • the determining unit 403 is configured to determine whether the signal power value detected in the first preset time is greater than the first preset power value, and the first preset power value is determined according to the correspondence between the pre-stored power and the distance. The power corresponding to the first preset distance.
  • the alarm unit 404 is configured to output an alarm prompt if the determining unit 403 determines that the signal power values detected in the first preset time are greater than the first preset power value.
  • the alarm unit 404 is further configured to output an alarm prompt confirmation box after outputting the alarm prompt.
  • the determining unit 403 is further configured to determine whether the signal power value detected in the second preset time gradually increases with time;
  • the alarm unit 404 is triggered to output an alarm prompt.
  • the determining unit 403 is further configured to determine whether the signal power value detected by the detecting unit 402 reaches a second preset power value, where the second preset power value is a correspondence between the pre-stored power and the distance. The largest power value in the relationship.
  • the determining unit 403 is further configured to determine whether the average moving speed of the second terminal is greater than the first preset speed.
  • the detecting unit 402 is further configured to: if the determining unit 403 determines that the detected signal power value reaches the second preset power value, detecting whether the wireless signal sent by the second terminal is received in the third preset time.
  • FIG. 5 is a schematic structural diagram of another alarm prompting terminal disclosed in the embodiment of the present invention.
  • the alarm prompt terminal shown in FIG. 5 is optimized by the alarm prompt terminal shown in FIG. 4.
  • the alarm prompting terminal shown in FIG. 5 includes a transmitting unit 505 in addition to all the units shown in FIG.
  • the sending unit 505 is configured to: if the detecting unit 502 does not receive the wireless signal sent by the second terminal, send a first indication message to the second terminal, where the first indication message is used to send the second terminal to send to the first terminal Current location information and recorded information of the second terminal.
  • the sending unit 505 is further configured to send an alarm prompt to the third terminal if the alarm prompt confirmation command is not received within the fourth preset time after the first terminal outputs the alarm prompt.
  • the sending unit 505 is further configured to send, to the second terminal, a second indication message, where the second indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the third terminal.
  • the sending unit 505 is further configured to send, to the second terminal, a third indication message, where the third indication message is used to instruct the second terminal to acquire an average moving speed of the second terminal and send the average moving speed to the first terminal.
  • An embodiment of the present invention determines whether the distance between the second terminal user and the first terminal user exceeds a preset value by calling the connection unit 401, the detecting unit 402, the determining unit 403, the alarm unit 404, and the sending unit 505; or Whether the distance between the two is farther and farther and has reached the maximum power value in the correspondence between the preset power and the distance; or the first terminal user does not view after receiving the alarm prompt; or detects the average movement of the second terminal user The speed exceeds the first preset speed; thereby sending an alarm prompt message to the first terminal or the third terminal or transmitting the current location information and recording information of the second terminal, or the current average moving speed; thereby allowing the first terminal user or the third terminal End users know quickly and accurately The location information and status information of the first terminal user are avoided to be lost with the first terminal user.
  • FIG. 6 is a schematic block diagram of an alarm prompting terminal according to another embodiment of the present invention.
  • the terminal in this embodiment as shown may include one or more processors 601; one or more input devices 602, one or more output devices 603, and memory 604.
  • the above processor 601, input device 602, output device 603, and memory 604 are connected by a bus 606.
  • the memory 602 is used to store a computer program, the computer program including program instructions, and the processor 601 is configured to execute program instructions stored in the memory 602. Wherein, the processor 601 is configured to invoke the program instruction to execute:
  • the processor 601 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc.
  • the general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
  • the input device 602 may include a touch panel, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, and the like, and the output device 603 may include a display (LCD or the like), a speaker, and the like.
  • a fingerprint sensor for collecting fingerprint information of the user and direction information of the fingerprint
  • a microphone for collecting fingerprint information of the user and direction information of the fingerprint
  • the output device 603 may include a display (LCD or the like), a speaker, and the like.
  • the memory 604 can include read only memory and random access memory and provides instructions and data to the processor 601. A portion of the memory 604 may also include a non-volatile random access memory. For example, the memory 604 can also store information of the device type.
  • the processor 601, the input device 602, and the output device 603 in the embodiment of the present invention may perform the first embodiment and the implementation manner described in the second embodiment of the alarm prompting method provided by the embodiment of the present invention.
  • the implementation manner of the first terminal described in the embodiment of the present invention may also be implemented, and details are not described herein again.
  • a computer readable storage medium is stored, the computer readable storage medium storing a computer program, the computer program comprising program instructions, the program instructions being The first embodiment and the implementation described in the second embodiment of the alarm prompting method provided by the embodiment of the present invention are implemented when the processor is executed.
  • the computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal.
  • the computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc.
  • the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device.
  • the computer readable storage medium is for storing the computer program and other programs and data required by the terminal.
  • the computer readable storage medium can also be used to temporarily store data that has been output or is about to be output.
  • the functions described herein can be implemented in hardware, software, firmware, or any combination thereof.
  • the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium.
  • Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another.
  • a storage medium may be any available media that can be accessed by a general purpose or special purpose computer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)
  • Alarm Systems (AREA)

Abstract

Disclosed in the embodiments of the present invention are an alarm prompting method, a terminal and a computer storage medium, wherein the method comprises: a first terminal establishes a wireless connection to a second terminal; the first terminal detects, at a preset time interval, a signal power value used by the first terminal for the wireless connection to the second terminal; the first terminal determines whether the signal power value detected within a first preset period of time is greater than a first preset power value, the first preset power value being a power corresponding to a first preset distance that is determined according to a pre-stored correspondence relationship between power and distance; and if yes, the first terminal outputs an alarm prompt. With the present invention, distance may be determined by determining the magnitude of power between the first terminal and the second terminal, and when the distance exceeds the first preset distance, an alarm prompt is outputted to the first terminal so that an abnormality may be found in time to avoid the second terminal getting lost.

Description

一种报警提示方法、终端及计算机存储介质Alarm prompting method, terminal and computer storage medium 技术领域Technical field
本发明涉及通信技术领域,尤其涉及一种报警提示方法、终端及计算机存储介质。The present invention relates to the field of communications technologies, and in particular, to an alarm prompting method, a terminal, and a computer storage medium.
背景技术Background technique
随着人们生活水平的提高,越来越多的人会选择在假期陪家人孩子出去旅游、散心。但带着孩子出去游玩时,由于各种各样的原因,都可能会造成孩子和父母走散。针对这一问题,如果采用传统的防丢绳将小孩和大人连在一起,这样会限制小孩的活动,削弱了出游的意义。With the improvement of people's living standards, more and more people will choose to travel with their families and children during the holidays. However, when you go out to play with your child, you may cause your child and parents to go away for various reasons. In response to this problem, if the traditional anti-lost rope is used to connect the child to the adult, this will limit the child's activities and weaken the meaning of the trip.
发明内容Summary of the invention
本发明实施例公开了一种报警提示方法、终端及计算机存储介质,能够通过判断在第一预设时间内第一终端检测到的信号功率值是否均大于第一预设功率值,来判断第一终端与第二终端的距离是否已经超过了预设的安全距离,并及时发出报警提示。The embodiment of the invention discloses an alarm prompting method, a terminal and a computer storage medium, which can determine whether the signal power value detected by the first terminal is greater than the first preset power value in the first preset time. Whether the distance between a terminal and the second terminal has exceeded a preset safety distance, and an alarm prompt is issued in time.
第一方面,本发明实施例提供了一种报警提示方法,该方法包括:In a first aspect, an embodiment of the present invention provides an alarm prompting method, where the method includes:
第一终端与第二终端建立无线连接;所述第一终端以预设时间间隔检测所述第一终端与所述第二终端进行无线连接使用的信号功率值;所述第一终端判断在第一预设时间内检测的所述信号功率值是否均大于第一预设功率值,所述第一预设功率值是根据预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率;若是,则所述第一终端输出报警提示。通过判断第一终端和第二终端进行无线连接使用的功率值,来间接判断第一终端和第二终端间的距离值是否超过预设的安全距离,并在两者的距离超过时及时提醒第一终端,可避免第一终端与第二终端走失。The first terminal establishes a wireless connection with the second terminal; the first terminal detects a signal power value used by the first terminal to perform wireless connection with the second terminal at a preset time interval; Whether the signal power value detected in a preset time period is greater than the first preset power value, and the first preset power value is determined according to a correspondence between the pre-stored power and the distance, and the first preset is determined. The corresponding power of the distance; if yes, the first terminal outputs an alarm prompt. By determining the power value used by the first terminal and the second terminal for wireless connection, indirectly determining whether the distance value between the first terminal and the second terminal exceeds a preset safety distance, and promptly reminding when the distance between the two terminals exceeds A terminal can prevent the first terminal and the second terminal from being lost.
第二方面,本发明实施例提供了一种报警提示终端,该终端包括用于执行上述第一方面的方法的单元。 In a second aspect, an embodiment of the present invention provides an alarm prompting terminal, the terminal comprising a unit for performing the method of the above first aspect.
第三方面,本发明实施例提供了另一种终端,该终端包括:处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储支持终端执行上述第一方面的方法的计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行上述第一方面的方法。In a third aspect, an embodiment of the present invention provides another terminal, where the terminal includes: a processor, an input device, an output device, and a memory, where the processor, the input device, the output device, and the memory are connected to each other, wherein the memory A computer program for storing a method for supporting a terminal to perform the method of the above first aspect, the computer program comprising program instructions, the processor being configured to invoke the program instructions to perform the method of the first aspect above.
第四方面,提供了一种计算机程序产品,当其在计算机上运行时,使得计算机执行上述第一方面的方法或可选的实现方式中的方法。In a fourth aspect, a computer program product is provided which, when run on a computer, causes the computer to perform the method of the first aspect or the method of an alternative implementation.
第五方面,提供了一种网络设备的芯片产品,执行上述第一方面或第一方面的任意可能的实现方式中的方法。In a fifth aspect, a chip product of a network device is provided, the method of any of the above first aspect or the first aspect of the first aspect being implemented.
第六方面,提了供一种计算机可读存储介质,所述计算机可读存储介质中存储有指令,当其在计算机上运行时,使得计算机执行上述第一方面的方法或第一方面任意可选的实现方式中的方法。In a sixth aspect, a computer readable storage medium is provided, wherein the computer readable storage medium stores instructions that, when run on a computer, cause the computer to perform the method of the first aspect or the first aspect The method in the chosen implementation.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings to be used in the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Those skilled in the art can also obtain other drawings based on these drawings without paying any creative work.
图1是本发明实施例提供的一种通信系统的示意图;1 is a schematic diagram of a communication system according to an embodiment of the present invention;
图2是本发明实施例提供的一种报警提示方法的流程示意图;2 is a schematic flow chart of an alarm prompting method according to an embodiment of the present invention;
图3是本发明另一实施例提供的一种报警提示方法的流程示意图;3 is a schematic flowchart of an alarm prompting method according to another embodiment of the present invention;
图4是本发明实施例提供的一种报警提示终端的示意性框图;4 is a schematic block diagram of an alarm prompting terminal according to an embodiment of the present invention;
图5是本发明实施例提供的另一种报警提示终端的示意性框图。FIG. 5 is a schematic block diagram of another alarm prompting terminal according to an embodiment of the present invention.
图6是本发明另一实施例提供的一种报警提示终端的示意性框图。FIG. 6 is a schematic block diagram of an alarm prompting terminal according to another embodiment of the present invention.
具体实施方式Detailed ways
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施例的技术方案进行描述。 The technical solutions of the embodiments of the present invention will be described below in conjunction with the accompanying drawings.
为了能够更好地理解本申请实施例,下面对本申请实施例可应用的通信系统进行说明。In order to better understand the embodiments of the present application, a communication system to which the embodiments of the present application are applicable will be described below.
图1是本申请实施例提供的一种通信系统的示意图。如图1所示,该通信系统包括第一终端和第二终端,可选的,还包括第三终端。图1只是以第一终端和第三终端为手机,第二终端为智能手表为例。其中,第一终端、第二终端、第三终端可以指接入终端、用户设备(user equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动终端、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话发起协议(session initiation protocol,SIP)电话、无线本地环路(wireless local loop,WLL)站、个人数字处理(personal digital assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、可穿戴设备、物联网中的终端设备、虚拟现实设备、未来5G网络中的终端设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)中的终端设备等。FIG. 1 is a schematic diagram of a communication system according to an embodiment of the present application. As shown in FIG. 1, the communication system includes a first terminal and a second terminal, and optionally, a third terminal. FIG. 1 is only a case where the first terminal and the third terminal are mobile phones, and the second terminal is a smart watch. The first terminal, the second terminal, and the third terminal may refer to an access terminal, a user equipment (UE), a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, a remote terminal, a mobile terminal, and a user. Terminal, terminal, wireless communication device, user agent or user device. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), with wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, wearable devices, terminal devices in the Internet of Things, virtual reality devices, terminal devices in future 5G networks, or future evolved public land mobile networks (public land) Terminal devices in mobile network, PLMN).
下面进一步对本申请所提供的一种报警提示方法、终端及计算机可读介质进行介绍。An alarm prompting method, a terminal, and a computer readable medium provided by the present application are further described below.
请参见图2,图2是本申请实施例提供的一种报警提示方法的流程示意图。如图2所示,该报警提示方法包括步骤201~204的部分,其中:Referring to FIG. 2, FIG. 2 is a schematic flowchart diagram of an alarm prompting method provided by an embodiment of the present application. As shown in FIG. 2, the alarm prompting method includes the steps 201-204, wherein:
201、第一终端与第二终端建立无线连接。201. The first terminal establishes a wireless connection with the second terminal.
需要说明的是,对第一终端而言,建立无线连接的过程可分为以下步骤:接收第一终端的无线连接模块开启指令;开启第一终端的无线连接模块,并通过第一终端的无线连接模块向第二终端发送连接建立请求;接收成功建立连接的反馈消息,并与第二终端建立连接。It should be noted that, for the first terminal, the process of establishing a wireless connection may be divided into the following steps: receiving a wireless connection module open command of the first terminal; opening a wireless connection module of the first terminal, and using the wireless of the first terminal The connection module sends a connection establishment request to the second terminal; receives a feedback message for successfully establishing the connection, and establishes a connection with the second terminal.
对第二终端而言,建立无线连接的过程可分为以下步骤:接收第二终端的无线连接模块开启指令;开启第二终端的无线连接模块,接收第一终端的连接建立请求消息;向第一终端发送成功建立连接的反馈消息,并与第一终端建立连接。 For the second terminal, the process of establishing a wireless connection may be divided into the following steps: receiving a wireless connection module open command of the second terminal; opening a wireless connection module of the second terminal, and receiving a connection establishment request message of the first terminal; A terminal sends a feedback message for successfully establishing a connection, and establishes a connection with the first terminal.
类似的,可由第二终端向第一终端发起连接建立请求,交互过程与上述步骤类似,此处不再赘述。Similarly, the second terminal may initiate a connection establishment request to the first terminal, and the interaction process is similar to the foregoing steps, and details are not described herein again.
其中,无线连接可通过移动通信系统、无线本地环路系统、无绳电话系统、移动卫星接入系统或无线局域网等方式来实现。The wireless connection can be implemented by a mobile communication system, a wireless local loop system, a cordless telephone system, a mobile satellite access system, or a wireless local area network.
202、第一终端以预设时间间隔检测第一终端与第二终端进行无线连接使用的信号功率值。202. The first terminal detects, at a preset time interval, a signal power value used by the first terminal and the second terminal to perform a wireless connection.
需要说明的是,第一终端与第二终端进行无线连接使用的信号功率值,对第一终端来讲,可以是第一终端的发射信号功率值或第一终端的接收信号功率值。It should be noted that the signal power value used by the first terminal and the second terminal for wireless connection may be the transmit signal power value of the first terminal or the received signal power value of the first terminal for the first terminal.
203、第一终端判断在第一预设时间内检测的信号功率值是否均大于第一预设功率值。203. The first terminal determines whether the signal power values detected in the first preset time are all greater than the first preset power value.
其中,第一预设功率值是根据预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率。举例来说,预存的第一终端的发射功率和距离的对应关系表如表1所示,若设置的第一预设距离为10米,则与之对应的第一预设功率则为40毫瓦。The first preset power value is a power corresponding to the first preset distance determined according to a correspondence between the pre-stored power and the distance. For example, the correspondence between the transmit power and the distance of the pre-stored first terminal is as shown in Table 1. If the first preset distance is set to 10 meters, the corresponding first preset power is 40 millimeters. watt.
表1Table 1
距离(米)Distance (m) 55 7.17.1 1010 14.114.1
发射信号功率(毫瓦)Transmit signal power (milliwatts) 1010 2020 4040 8080
其中,第一预设距离是由第一终端的用户按照需要进行设置的安全距离,第二终端用户在距离第一终端用户的第一预设距离内,被认为是安全的,若超出此预设距离,则认为可能会发生危险或走失。The first preset distance is a security distance set by the user of the first terminal according to requirements, and the second terminal user is considered to be safe within a first preset distance from the first terminal user. If you set the distance, you may think that danger or loss may occur.
举例来说,可根据不同的环境设置不同的预设距离。在人多车也多的复杂环境下可设置较短的预设距离,如10米;而在比较安静且人少的环境下可设置较远的预设距离,如15米或20米。For example, different preset distances can be set according to different environments. In a complex environment with many people and more vehicles, a shorter preset distance, such as 10 meters, can be set; in a quieter and less crowded environment, a longer preset distance, such as 15 meters or 20 meters, can be set.
根据步骤202可知,若检测的是第一终端的发射信号功率值,则按照预存的发射信号功率与距离的对应关系确定第一预设功率;若检测到的是第一终端的接收信号功率值,则按照预存的接收信号功率与距离的对应关系确定第一预 设功率。According to step 202, if the detected signal power value of the first terminal is detected, the first preset power is determined according to the corresponding relationship between the pre-stored transmit signal power and the distance; if the received signal power value of the first terminal is detected, , determining the first pre-correlation according to the pre-stored correspondence between the received signal power and the distance Set the power.
举例来说,第一终端的接收信号功率值与距离的对应关系如表2所示,若检测的是第一终端的接收信号功率值,第一预设距离为10米,则第一预设功率为12毫瓦。For example, the corresponding relationship between the received signal power value of the first terminal and the distance is as shown in Table 2. If the received signal power value of the first terminal is detected, and the first preset distance is 10 meters, the first preset The power is 12 milliwatts.
表2Table 2
距离(米)Distance (m) 55 7.17.1 1010 14.114.1
接收信号功率(毫瓦)Received signal power (milliwatts) 33 66 1212 24twenty four
需要进一步说明的是,通过判断在第一预设时间内检测的信号功率值是否均大于第一预设功率值,可以避免第二终端用户在第一预设距离的边缘来回活动时,给第一终端多次报警提示带来的困扰。It should be further noted that, by determining whether the signal power values detected in the first preset time are greater than the first preset power value, the second terminal user can be prevented from being moved back and forth at the edge of the first preset distance. The trouble caused by multiple alarms of a terminal.
举例来说,若第二终端用户在某时刻走到与第一终端用户的距离为第一预设距离的位置,则不立马向第一终端发出报警提示,而是按照每30秒检测第一终端的发射功率值或接收功率值的大小,若在2分钟内检测到的发射功率值或接收功率值都大于相对应的第一预设功率值,则向第一终端发出报警提示。For example, if the second terminal user arrives at a certain distance from the first terminal user at a certain moment, the alarm prompt is not immediately sent to the first terminal, but the first detection is performed every 30 seconds. The value of the transmit power value or the received power value of the terminal, if the detected transmit power value or the received power value is greater than the corresponding first preset power value within 2 minutes, an alarm prompt is sent to the first terminal.
204、若是,则第一终端输出报警提示。204. If yes, the first terminal outputs an alarm prompt.
在本发明实施例中,通过对第一终端和第二终端之间的发射信号功率值或接收信号功率值的判断,来间接确定第一终端用户和第二终端用户间的距离大小。从而在第二终端用户与第一终端用户的距离超出预设的安全值时能够及时向第一终端发出报警提示,避免第二终端用户发生危险或与第二终端用户走失。In the embodiment of the present invention, the distance between the first terminal user and the second terminal user is indirectly determined by determining the transmit signal power value or the received signal power value between the first terminal and the second terminal. Therefore, when the distance between the second terminal user and the first terminal user exceeds a preset security value, an alarm prompt can be sent to the first terminal in time to prevent the second terminal user from being dangerous or losing the second terminal user.
可选的,在第一终端输出报警提示之前,可由第一终端判断在第二预设时间内检测到的信号功率值是否随时间增长而逐渐增大,若是,则执行步骤204。Optionally, before the first terminal outputs the alarm prompt, the first terminal may determine whether the signal power value detected in the second preset time gradually increases with time, and if yes, execute step 204.
需要说明的是,若判断出在第二预设时间内检测到的信号功率值随时间增长而逐渐增大,说明第二终端用户的活动范围不但超出了第一预设距离,并且距离第一终端的距离越来越远,此时就向第一终端用户发出报警提示。It should be noted that if it is determined that the signal power value detected in the second preset time gradually increases with time, it indicates that the second terminal user's activity range not only exceeds the first preset distance, but also the distance is first. The distance of the terminal is getting farther and farther, and an alarm prompt is sent to the first terminal user.
通过本发明的实施方式,可以判断出第二终端用户与第一终端用户的距离,不但已经超出预设的安全距离,并且与第一终端用户的距离正在逐渐增大。 可以准确判断出,在这种情况下需要及时向第一终端发出报警提示,以便及时发现异常,避免与第一终端用户走失。Through the embodiment of the present invention, the distance between the second terminal user and the first terminal user can be determined, not only has exceeded the preset safety distance, but the distance from the first terminal user is gradually increasing. It can be accurately determined that in this case, it is necessary to issue an alarm prompt to the first terminal in time to detect the abnormality in time and avoid losing the first terminal user.
可选的,第一终端与第二终端建立无线连接后,第二终端以预设时间间隔检测第二终端与第一终端进行无线连接使用的信号功率值。Optionally, after the first terminal establishes a wireless connection with the second terminal, the second terminal detects, by using the preset time interval, a signal power value used by the second terminal to perform wireless connection with the first terminal.
类似的,第二终端与第一终端进行无线连接使用的信号功率值可为第二终端的发射信号功率值或第二终端的接收信号功率值。Similarly, the signal power value used by the second terminal to perform wireless connection with the first terminal may be a transmit signal power value of the second terminal or a received signal power value of the second terminal.
相应的,第二终端判断在第一预设时间内检测的信号功率值是否均大于第三预设功率值。其中,第三预设功率值是根据第二终端中预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率。Correspondingly, the second terminal determines whether the signal power values detected in the first preset time are all greater than the third preset power value. The third preset power value is the power corresponding to the first preset distance determined according to the correspondence between the pre-stored power and the distance in the second terminal.
其中,第一预设距离是由第一终端发送给第二终端的。若上述进行无线连接使用的信号功率值为第二终端的发射信号功率值,则预存的功率和距离之间的对应关系为第二终端的发射信号功率值与距离的对应关系;若上述进行无线连接使用的信号功率值为第二终端的接收信号功率值,则预存的功率和距离之间的对应关系为第二终端的接收信号功率值与距离的对应关系。The first preset distance is sent by the first terminal to the second terminal. If the signal power value used for the wireless connection is the transmit signal power value of the second terminal, the correspondence between the pre-stored power and the distance is the correspondence between the transmit signal power value and the distance of the second terminal; The signal power value used for the connection is the received signal power value of the second terminal, and the correspondence between the pre-stored power and the distance is the correspondence between the received signal power value of the second terminal and the distance.
相应的,若是,则第二终端输出报警提示。Correspondingly, if yes, the second terminal outputs an alarm prompt.
通过本发明的实施方式,可通过对第二终端的发射信号功率值或第二终端的接收信号功率值与第三预设功率值进行对比,判断出第二终端与第一终端的距离是否超过第一预设距离,若是,则由第二终端输出报警提示。这样可以在第二终端和第一终端的距离超过预设的安全距离时及时提醒第二终端用户,避免发生与第一终端用户走失的情况。According to the embodiment of the present invention, whether the distance between the second terminal and the first terminal exceeds is determined by comparing the transmit signal power value of the second terminal or the received signal power value of the second terminal with the third preset power value. The first preset distance, if yes, the second terminal outputs an alarm prompt. In this way, when the distance between the second terminal and the first terminal exceeds a preset safety distance, the second terminal user is promptly reminded to avoid the situation that the first terminal user is lost.
可选的,如图3所示,该报警提示方法还可包括步骤305~308的内容,步骤301~304的具体实施方式参照实施例2中步骤201~204的内容,此处不再赘述。其中:Optionally, as shown in FIG. 3, the alarm prompting method may further include the content of steps 305-308. The specific implementation manners of steps 301-304 refer to the contents of steps 201-204 in Embodiment 2, and details are not described herein again. among them:
305、第一终端判断检测到的信号功率值是否达到第二预设功率值。305. The first terminal determines whether the detected signal power value reaches a second preset power value.
其中,第二预设功率值为第一终端中预存的功率和距离之间的对应关系中最大的功率值。考虑到第一终端和第二终端的发射功率不能无限制地增大,当达到预存的功率和距离之间的对应关系中最大的功率值时,第一终端和第二终 端的连接可能会断开。The second preset power value is a maximum power value in a correspondence between a pre-stored power and a distance in the first terminal. Considering that the transmit power of the first terminal and the second terminal cannot be increased indefinitely, when the maximum power value in the correspondence between the pre-stored power and the distance is reached, the first terminal and the second terminal The connection at the end may be broken.
306、若是,则第一终端检测在第三预设时间内是否接收到第二终端发送的无线信号。306. If yes, the first terminal detects whether the wireless signal sent by the second terminal is received in the third preset time.
其中,在第三预设时间内检测第一终端是否接收到第二终端发送的无线信号,目的是判断第一终端与第二终端的连接是否已经断开。The third terminal detects whether the first terminal receives the wireless signal sent by the second terminal, and the purpose is to determine whether the connection between the first terminal and the second terminal has been disconnected.
307、若在第三预设时间内未接收到第二终端发送的无线信号,则向第二终端发送第一指示消息。307. If the wireless signal sent by the second terminal is not received within the third preset time, send the first indication message to the second terminal.
其中,第一指示消息用于指示第二终端向第一终端发送第二终端的当前位置信息和录音信息。在第三预设时间内第一终端未接收到第二终端发送的无线信号,则认为第一终端和第二终端的连接已经断开,断开的原因不是因为用户手动断开连接,而是因为第二终端离第一终端越来越远导致断开连接。The first indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the first terminal. If the first terminal does not receive the wireless signal sent by the second terminal in the third preset time, the connection between the first terminal and the second terminal is considered to be disconnected, and the reason for the disconnection is not because the user manually disconnects, but Because the second terminal is getting farther and farther from the first terminal, the disconnection occurs.
其中,第一终端和第二终端的无线连接断开后,可开启备用连接方式进行后续的数据传输。举例来说,第一终端可以采用WiFi、GPRS、3G或4G等数据流量方式与第二终端进行通信。第二终端可采用GPRS、3G或4G等数据流量方式与第一终端进行通信。After the wireless connection between the first terminal and the second terminal is disconnected, the standby connection mode may be opened for subsequent data transmission. For example, the first terminal can communicate with the second terminal by using a data traffic manner such as WiFi, GPRS, 3G, or 4G. The second terminal can communicate with the first terminal by using data traffic such as GPRS, 3G or 4G.
308、第二终端向第一终端发送第二终端的当前位置信息和录音信息。308. The second terminal sends current location information and recording information of the second terminal to the first terminal.
需要说明的是,第一终端和第二终端的信息交互是通过备用连接方式进行的。第二终端接收到第一终端发送的第一指示消息后,获取第二终端当前的位置信息并开启录音模块,录制预设时长的录音信息,并将该位置信息和录音信息发送给第一终端。向第一终端发送第二终端的当前位置信息和预设时长的录音信息可以帮助第一终端用户快速知道第二终端用户当前所处的位置和状态,以便快速找到第二终端的用户。It should be noted that the information interaction between the first terminal and the second terminal is performed by using a backup connection manner. After receiving the first indication message sent by the first terminal, the second terminal acquires the current location information of the second terminal, starts the recording module, records the recording information of the preset duration, and sends the location information and the recording information to the first terminal. . Sending the current location information of the second terminal and the recording information of the preset duration to the first terminal may help the first terminal user to quickly know the current location and state of the second terminal user, so as to quickly find the user of the second terminal.
通过本发明的实施方式,可以在检测出第一终端和第二终端在断开连接后,开启备用连接方式;及时获取第二终端的位置信息和录音信息,并发送给第一终端;在第一终端用户在收到报警提示之后,能够确认第二终端用户的位置信息并通过录音信息判断第二终端用户的状态,避免与第二终端用户走失。According to the embodiment of the present invention, after detecting that the first terminal and the second terminal are disconnected, the standby connection mode is started; the location information and the recording information of the second terminal are obtained in time, and sent to the first terminal; After receiving the alarm prompt, an end user can confirm the location information of the second terminal user and judge the state of the second terminal user through the recorded information, thereby avoiding loss with the second terminal user.
可选的,如图3所示,该报警提示方法还可包括步骤309~312的内容,其中: Optionally, as shown in FIG. 3, the alarm prompting method may further include the content of steps 309-312, where:
309、第一终端输出报警提示确认框。309. The first terminal outputs an alarm prompt confirmation box.
其中,该报警提示确认框用于第一终端确认第一终端的用户是否已经查看了第一终端输出的报警提示。The alarm prompt confirmation box is used by the first terminal to confirm whether the user of the first terminal has viewed the alarm prompt output by the first terminal.
310、第一终端向第三终端发送报警提示。310. The first terminal sends an alarm prompt to the third terminal.
需要说明的是,若第一终端输出报警提示之后,第一终端在第四预设时间内没有接收到报警提示确认指令,则第一终端向第三终端发送报警提示。It should be noted that, after the first terminal outputs the alarm prompt, the first terminal does not receive the alarm prompt confirmation command within the fourth preset time, the first terminal sends an alarm prompt to the third terminal.
可选的,上述的第三终端是第二终端根据连接记录确定的。第二终端将除第一终端之外的,与第二终端连接次数最高的终端设备作为第三终端。在第一终端向第三终端发送报警提示之前,第一终端可向第二终端发送第四指示消息,第四指示消息用于指示第二终端将该第三终端的信息发送给第一终端。Optionally, the foregoing third terminal is determined by the second terminal according to the connection record. The second terminal uses the terminal device having the highest number of connections with the second terminal except the first terminal as the third terminal. Before the first terminal sends an alarm prompt to the third terminal, the first terminal may send a fourth indication message to the second terminal, where the fourth indication message is used to instruct the second terminal to send the information of the third terminal to the first terminal.
举例来说,若第一终端为小孩妈妈的手机,第二终端为小孩身上的可穿戴设备;在判断出小孩的可穿戴设备与小孩妈妈的手机之间的距离超过第一预设距离后,第一终端发出了报警提示;但因为周围环境嘈杂或妈妈没有查看手机而没有确认报警提示;则由小孩妈妈的手机向小孩的可穿戴设备发送第四指示消息,索取第三终端的信息;小孩的可穿戴设备则查询历史连接记录,发现除了小孩妈妈的手机之外,小孩爸爸的手机是连接次数最高的,则将小孩爸爸的手机相关信息反馈给小孩妈妈的手机;于是小孩妈妈的手机收到反馈信息后,则向小孩爸爸的手机发送报警提示消息。For example, if the first terminal is a child's mobile phone, the second terminal is a wearable device on the child; after determining that the distance between the child's wearable device and the child's mother's mobile phone exceeds the first preset distance, The first terminal sends an alarm prompt; but because the surrounding environment is noisy or the mother does not check the mobile phone and does not confirm the alarm prompt; the child's mother's mobile phone sends a fourth indication message to the child's wearable device to request the information of the third terminal; The wearable device queries the historical connection record and finds that the child's father's mobile phone is the highest number of connections, except for the child's mother's mobile phone. The child's father's mobile phone related information is fed back to the child's mother's mobile phone; After the feedback information, an alert message is sent to the child's mobile phone.
或者,第三终端可以为第一终端预设的终端。例如,第一终端为小孩妈妈的手机。第一终端可接收用于设置第三终端的设置指令,设置指令携带小孩爸爸的手机标识;第一终端根据设置指令将小孩爸爸的手机设置为第三终端。Alternatively, the third terminal may be a terminal preset by the first terminal. For example, the first terminal is a mobile phone of a child's mother. The first terminal may receive a setting instruction for setting a third terminal, and the setting instruction carries a mobile phone identifier of the child dad; the first terminal sets the mobile phone of the child dad as the third terminal according to the setting instruction.
311、第一终端向第二终端发送第二指示消息。311. The first terminal sends a second indication message to the second terminal.
其中,第二指示消息用于指示第二终端向第三终端发送第二终端的当前位置信息和录音信息。The second indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the third terminal.
312、第二终端向第三终端发送第二终端的当前位置信息和录音信息。312. The second terminal sends current location information and recording information of the second terminal to the third terminal.
其中,类似步骤308中的具体实施方式,第二终端接收到第一终端发送的第二指示消息后,获取第二终端当前的位置信息并开启录音模块,录制预设时 长的录音信息,并将该位置信息和录音信息发送给第三终端。After the second terminal receives the second indication message sent by the first terminal, the second terminal acquires the current location information of the second terminal and starts the recording module, and the recording is preset. Long recording information, and the location information and recording information are sent to the third terminal.
需要说明的是,步骤310的内容只向第三终端发送了报警提示,只能让第三终端的用户知道第二终端的用户可能会走失或发生危险,但无法知道关于第二终端的准确信息。而向第三终端发送当前的位置信息和录音信息,则可以提供有效的信息帮助第三终端的用户,确认第二终端用户的位置信息和当前状态。It should be noted that the content of step 310 only sends an alarm prompt to the third terminal, and only the user of the third terminal can know that the user of the second terminal may be lost or dangerous, but cannot know the accurate information about the second terminal. . And sending the current location information and the recording information to the third terminal, the effective information can be provided to help the user of the third terminal to confirm the location information and the current state of the second terminal user.
通过本发明的实施方式,第一终端通过检测是否接收到报警提示确认指令,来判断第一终端用户是否查看了报警提示消息;若没有,则向第三终端发出报警提示,并且指示第二终端向第三终端发送当前的位置信息和录音信息;可以在第一终端用户没有及时查看报警提示下,确保第三终端能够及时收到报警提示信息;提高了报警提示的可靠度,避免第二终端用户与第一终端用户走失。According to the embodiment of the present invention, the first terminal determines whether the first terminal user has viewed the alarm prompt message by detecting whether the alarm prompt confirmation command is received; if not, issuing an alarm prompt to the third terminal, and indicating the second terminal Sending current location information and recording information to the third terminal; ensuring that the third terminal can receive the alarm prompt information in time when the first terminal user does not promptly view the alarm prompt; improving the reliability of the alarm prompt and avoiding the second terminal The user and the first terminal user are lost.
可选的,如图3所示,该报警提示方法还可包括步骤313~314的内容,其中:Optionally, as shown in FIG. 3, the alarm prompting method may further include the content of steps 313-314, wherein:
313、第一终端向第二终端发送第三指示消息。313. The first terminal sends a third indication message to the second terminal.
其中,第三指示消息用于指示第二终端获取所述第二终端的平均移动速度并发送给第一终端。The third indication message is used to instruct the second terminal to acquire the average moving speed of the second terminal and send the average mobile terminal to the first terminal.
314、第二终端获取当前的平均移动速度并发送给第一终端。314. The second terminal acquires a current average moving speed and sends the current moving speed to the first terminal.
需要说明的是,第一终端接收到第二终端发送的平均移动速度后,若判断出第二终端的平均移动速度大于第一预设速度,则执行第一终端向第三终端发送报警提示的步骤。It is to be noted that, after receiving the average moving speed sent by the second terminal, if the first terminal determines that the average moving speed of the second terminal is greater than the first preset speed, the first terminal sends an alarm prompt to the third terminal. step.
其中,判断第一终端的平均移动速度是否超过第一预设速度,可以判断出第二终端用户是否发生了异常情况。The determining whether the average moving speed of the first terminal exceeds the first preset speed may determine whether an abnormal situation occurs in the second terminal user.
举例来说,若第二终端为儿童身上的可穿戴设备,第一预设速度为1.5m/s(相当于成人步行时的速度);则在出游或逛街时,儿童的走路速度一般不会超过成人的步行速度,若超过此第一预设速度,则儿童可能被人抱走或被带到车上,判断此时可能会发生危险。For example, if the second terminal is a wearable device for a child, the first preset speed is 1.5 m/s (equivalent to the speed of an adult walking); when traveling or shopping, the walking speed of the child is generally not If the walking speed exceeds the adult speed, if the first preset speed is exceeded, the child may be taken away or taken to the car to judge that danger may occur at this time.
可选的,第三指示消息还可用于指示第二终端获取预设时间内第二终端用 户的平均心率,并将该平均心率发送给第一终端。第一终端接收该平均心率后,判断其是否处于预存的正常心率范围内,若否,则向第三终端发送报警提示。Optionally, the third indication message is further used to indicate that the second terminal acquires the second terminal in the preset time. The average heart rate of the user, and the average heart rate is sent to the first terminal. After receiving the average heart rate, the first terminal determines whether it is within the pre-stored normal heart rate range, and if not, sends an alarm prompt to the third terminal.
通过本发明实施例中的实施方式,可以由第一终端向第二终端发送指示消息,用于指示第二终端向第一终端反馈当前的平均移动速度或平均心率;通过判断第二终端当前的平均移动速度或平均心率大小,间接判断第二终端用户是否出现异常情况;及时向第三终端用户发出报警提示,避免第一终端用户走失或发生意外。According to the embodiment of the present invention, the first terminal may send an indication message to the second terminal, to indicate that the second terminal feeds back the current average moving speed or the average heart rate to the first terminal; The average moving speed or the average heart rate is indirectly determined whether the second terminal user has an abnormal situation; an alarm prompt is issued to the third terminal user in time to prevent the first terminal user from being lost or an accident.
本发明实施例还提供一种报警提示终端,该终端用于执行前述任一项所述方法的单元。具体地,参见图4,是本发明实施例提供的一种报警提示终端的示意框图。本实施例的终端包括:连接单元401、检测单元402、判断单元403及报警单元404。The embodiment of the present invention further provides an alarm prompting terminal, which is used to execute the unit of any of the foregoing methods. Specifically, referring to FIG. 4, it is a schematic block diagram of an alarm prompting terminal provided by an embodiment of the present invention. The terminal of this embodiment includes: a connection unit 401, a detection unit 402, a determination unit 403, and an alarm unit 404.
连接单元401,用于与第二终端建立无线连接。The connecting unit 401 is configured to establish a wireless connection with the second terminal.
检测单元402,用于以预设时间间隔检测第一终端与第二终端进行无线连接使用的信号功率值。The detecting unit 402 is configured to detect, at a preset time interval, a signal power value used by the first terminal and the second terminal for wireless connection.
判断单元403,用于判断在第一预设时间内检测的信号功率值是否均大于第一预设功率值,第一预设功率值是根据预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率。The determining unit 403 is configured to determine whether the signal power value detected in the first preset time is greater than the first preset power value, and the first preset power value is determined according to the correspondence between the pre-stored power and the distance. The power corresponding to the first preset distance.
报警单元404,用于若判断单元403判断在第一预设时间内检测的信号功率值均大于第一预设功率值,则输出报警提示。The alarm unit 404 is configured to output an alarm prompt if the determining unit 403 determines that the signal power values detected in the first preset time are greater than the first preset power value.
可选的,报警单元404,还用于在输出报警提示之后输出报警提示确认框。Optionally, the alarm unit 404 is further configured to output an alarm prompt confirmation box after outputting the alarm prompt.
可选的,判断单元403,还用于判断在第二预设时间内检测到的信号功率值是否随时间增长而逐渐增大;Optionally, the determining unit 403 is further configured to determine whether the signal power value detected in the second preset time gradually increases with time;
若是,则触发所述报警单元404输出报警提示。If so, the alarm unit 404 is triggered to output an alarm prompt.
可选的,判断单元403,还用于判断检测单元402检测到的信号功率值是否达到第二预设功率值,其中,第二预设功率值为所述预存的功率和距离之间的对应关系中最大的功率值。 Optionally, the determining unit 403 is further configured to determine whether the signal power value detected by the detecting unit 402 reaches a second preset power value, where the second preset power value is a correspondence between the pre-stored power and the distance. The largest power value in the relationship.
可选的,判断单元403,还用于判断第二终端的平均移动速度是否大于第一预设速度。Optionally, the determining unit 403 is further configured to determine whether the average moving speed of the second terminal is greater than the first preset speed.
可选的,检测单元402,还用于若判断单元403判断检测到的信号功率值达到第二预设功率值,则检测在第三预设时间内是否接收到第二终端发送的无线信号。Optionally, the detecting unit 402 is further configured to: if the determining unit 403 determines that the detected signal power value reaches the second preset power value, detecting whether the wireless signal sent by the second terminal is received in the third preset time.
请一并参阅图5,图5是本发明实施例公开的另一种报警提示终端的结构示意图。其中,图5所示的报警提示终端是由图4所示的报警提示终端进行优化得到的。与图4所示的报警提示终端相比较,图5所示的报警提示终端除包括图4所示所有单元之外,还包括发送单元505。Referring to FIG. 5, FIG. 5 is a schematic structural diagram of another alarm prompting terminal disclosed in the embodiment of the present invention. The alarm prompt terminal shown in FIG. 5 is optimized by the alarm prompt terminal shown in FIG. 4. Compared with the alarm prompting terminal shown in FIG. 4, the alarm prompting terminal shown in FIG. 5 includes a transmitting unit 505 in addition to all the units shown in FIG.
发送单元505,用于若检测单元502未接收到第二终端发送的无线信号,则向所述第二终端发送第一指示消息,该第一指示消息用于指示第二终端向第一终端发送第二终端的当前位置信息和录音信息。The sending unit 505 is configured to: if the detecting unit 502 does not receive the wireless signal sent by the second terminal, send a first indication message to the second terminal, where the first indication message is used to send the second terminal to send to the first terminal Current location information and recorded information of the second terminal.
可选的,发送单元505,还用于若第一终端输出报警提示之后,在第四预设时间内没有接收到报警提示确认指令,则向第三终端发送报警提示。Optionally, the sending unit 505 is further configured to send an alarm prompt to the third terminal if the alarm prompt confirmation command is not received within the fourth preset time after the first terminal outputs the alarm prompt.
可选的,发送单元505,还用于向所述第二终端发送第二指示消息,该第二指示消息用于指示第二终端向第三终端发送第二终端的当前位置信息和录音信息。Optionally, the sending unit 505 is further configured to send, to the second terminal, a second indication message, where the second indication message is used to instruct the second terminal to send current location information and recording information of the second terminal to the third terminal.
可选的,发送单元505,还用于向第二终端发送第三指示消息,该第三指示消息用于指示第二终端获取第二终端的平均移动速度并发送给第一终端。Optionally, the sending unit 505 is further configured to send, to the second terminal, a third indication message, where the third indication message is used to instruct the second terminal to acquire an average moving speed of the second terminal and send the average moving speed to the first terminal.
本发明实施例的实施方式,通过调用连接单元401、检测单元402、判断单元403、报警单元404及发送单元505来判断第二终端用户是否与第一终端用户的距离是否超过预设值;或两者的距离是否越来越远并且已经达到预设功率与距离的对应关系中的最大功率值;或第一终端用户收到报警提示后并没有查看;或检测到第二终端用户的平均移动速度超过第一预设速度;从而向第一终端或第三终端发送报警提示信息或发送第二终端当前的位置信息和录音信息,或者当前的平均移动速度;从而让第一终端用户或第三终端用户快速准确知道 第一终端用户的位置信息和状态信息,避免和第一终端用户走失。An embodiment of the present invention determines whether the distance between the second terminal user and the first terminal user exceeds a preset value by calling the connection unit 401, the detecting unit 402, the determining unit 403, the alarm unit 404, and the sending unit 505; or Whether the distance between the two is farther and farther and has reached the maximum power value in the correspondence between the preset power and the distance; or the first terminal user does not view after receiving the alarm prompt; or detects the average movement of the second terminal user The speed exceeds the first preset speed; thereby sending an alarm prompt message to the first terminal or the third terminal or transmitting the current location information and recording information of the second terminal, or the current average moving speed; thereby allowing the first terminal user or the third terminal End users know quickly and accurately The location information and status information of the first terminal user are avoided to be lost with the first terminal user.
参见图6,是本发明另一实施例提供的一种报警提示终端的示意框图。如图所示的本实施例中的终端可以包括:一个或多个处理器601;一个或多个输入设备602,一个或多个输出设备603和存储器604。上述处理器601、输入设备602、输出设备603和存储器604通过总线606连接。存储器602用于存储计算机程序,所述计算机程序包括程序指令,处理器601用于执行存储器602存储的程序指令。其中,处理器601被配置用于调用所述程序指令执行:FIG. 6 is a schematic block diagram of an alarm prompting terminal according to another embodiment of the present invention. The terminal in this embodiment as shown may include one or more processors 601; one or more input devices 602, one or more output devices 603, and memory 604. The above processor 601, input device 602, output device 603, and memory 604 are connected by a bus 606. The memory 602 is used to store a computer program, the computer program including program instructions, and the processor 601 is configured to execute program instructions stored in the memory 602. Wherein, the processor 601 is configured to invoke the program instruction to execute:
应当理解,在本发明实施例中,所称处理器601可以是中央处理单元(Central Processing Unit,CPU),该处理器还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field-Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。It should be understood that, in the embodiment of the present invention, the processor 601 may be a central processing unit (CPU), and the processor may also be another general-purpose processor, a digital signal processor (DSP). , Application Specific Integrated Circuit (ASIC), Field-Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor or any conventional processor or the like.
输入设备602可以包括触控板、指纹采传感器(用于采集用户的指纹信息和指纹的方向信息)、麦克风等,输出设备603可以包括显示器(LCD等)、扬声器等。The input device 602 may include a touch panel, a fingerprint sensor (for collecting fingerprint information of the user and direction information of the fingerprint), a microphone, and the like, and the output device 603 may include a display (LCD or the like), a speaker, and the like.
该存储器604可以包括只读存储器和随机存取存储器,并向处理器601提供指令和数据。存储器604的一部分还可以包括非易失性随机存取存储器。例如,存储器604还可以存储设备类型的信息。The memory 604 can include read only memory and random access memory and provides instructions and data to the processor 601. A portion of the memory 604 may also include a non-volatile random access memory. For example, the memory 604 can also store information of the device type.
具体实现中,本发明实施例中所描述的处理器601、输入设备602、输出设备603可执行本发明实施例提供的报警提示方法的第一实施例和第二实施例中所描述的实现方式,也可执行本发明实施例所描述的第一终端的实现方式,在此不再赘述。In a specific implementation, the processor 601, the input device 602, and the output device 603 in the embodiment of the present invention may perform the first embodiment and the implementation manner described in the second embodiment of the alarm prompting method provided by the embodiment of the present invention. The implementation manner of the first terminal described in the embodiment of the present invention may also be implemented, and details are not described herein again.
在本发明的另一实施例中提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令被 处理器执行时实现本发明实施例提供的报警提示方法的第一实施例和第二实施例中所描述的实现方式。In another embodiment of the present invention, a computer readable storage medium is stored, the computer readable storage medium storing a computer program, the computer program comprising program instructions, the program instructions being The first embodiment and the implementation described in the second embodiment of the alarm prompting method provided by the embodiment of the present invention are implemented when the processor is executed.
所述计算机可读存储介质可以是前述任一实施例所述的终端的内部存储单元,例如终端的硬盘或内存。所述计算机可读存储介质也可以是所述终端的外部存储设备,例如所述终端上配备的插接式硬盘,智能存储卡(Smart Media Card,SMC),安全数字(Secure Digital,SD)卡,闪存卡(Flash Card)等。进一步地,所述计算机可读存储介质还可以既包括所述终端的内部存储单元也包括外部存储设备。所述计算机可读存储介质用于存储所述计算机程序以及所述终端所需的其他程序和数据。所述计算机可读存储介质还可以用于暂时地存储已经输出或者将要输出的数据。本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。The computer readable storage medium may be an internal storage unit of the terminal described in any of the foregoing embodiments, such as a hard disk or a memory of the terminal. The computer readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk equipped on the terminal, a smart memory card (SMC), and a Secure Digital (SD) card. , Flash Card, etc. Further, the computer readable storage medium may also include both an internal storage unit of the terminal and an external storage device. The computer readable storage medium is for storing the computer program and other programs and data required by the terminal. The computer readable storage medium can also be used to temporarily store data that has been output or is about to be output. Those skilled in the art will appreciate that in one or more examples described above, the functions described herein can be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored in a computer readable medium or transmitted as one or more instructions or code on a computer readable medium. Computer readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one location to another. A storage medium may be any available media that can be accessed by a general purpose or special purpose computer.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the descriptions of the various embodiments are different, and the details that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
以上所述的具体实施方式,对本发明的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上所述仅为本发明的具体实施方式而已,并不用于限定本发明的保护范围,凡在本发明的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明的保护范围之内。 The specific embodiments of the present invention have been described in detail with reference to the preferred embodiments of the present invention. The scope of the protection, any modifications, equivalent substitutions, improvements, etc., which are made on the basis of the technical solutions of the present invention, are included in the scope of the present invention.

Claims (10)

  1. 一种报警提示方法,其特征在于,所述方法包括:An alarm prompting method, characterized in that the method comprises:
    第一终端与第二终端建立无线连接;Establishing, by the first terminal, a wireless connection with the second terminal;
    所述第一终端以预设时间间隔检测所述第一终端与所述第二终端进行无线连接使用的信号功率值;The first terminal detects, at a preset time interval, a signal power value used by the first terminal to perform wireless connection with the second terminal;
    所述第一终端判断在第一预设时间内检测的所述信号功率值是否均大于第一预设功率值,所述第一预设功率值是根据预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率;Determining, by the first terminal, whether the signal power value detected in the first preset time is greater than a first preset power value, where the first preset power value is based on a correspondence between pre-stored power and distance Determining a power corresponding to the first preset distance;
    若是,则所述第一终端输出报警提示。If yes, the first terminal outputs an alarm prompt.
  2. 根据权利要求1所述的方法,其特征在于,所述第一终端输出报警提示之前,所述方法还包括:The method according to claim 1, wherein before the first terminal outputs an alarm prompt, the method further includes:
    所述第一终端判断在第二预设时间内检测到的信号功率值是否随时间增长而逐渐增大;Determining, by the first terminal, whether a signal power value detected in the second preset time increases gradually with time;
    若是,则执行所述第一终端输出报警提示的步骤。If yes, the step of outputting the alarm prompt by the first terminal is performed.
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一终端输出报警提示之后,所述方法还包括:The method according to claim 1 or 2, wherein after the first terminal outputs an alarm prompt, the method further includes:
    所述第一终端判断检测到的信号功率值是否达到第二预设功率值,所述第二预设功率值为所述预存的功率和距离之间的对应关系中最大的功率值;Determining, by the first terminal, whether the detected signal power value reaches a second preset power value, where the second preset power value is a maximum power value in a correspondence between the pre-stored power and the distance;
    若是,则检测在第三预设时间内是否接收到所述第二终端发送的无线信号;If yes, detecting whether the wireless signal sent by the second terminal is received within a third preset time;
    若在所述第三预设时间段内未接收到所述第二终端发送的无线信号,则向所述第二终端发送第一指示消息,所述第一指示消息用于指示所述第二终端向所述第一终端发送所述第二终端的当前位置信息和录音信息。And if the wireless signal sent by the second terminal is not received in the third preset time period, sending a first indication message to the second terminal, where the first indication message is used to indicate the second The terminal sends current location information and recording information of the second terminal to the first terminal.
  4. 根据权利要求1或2所述的方法,其特征在于,所述第一终端输出报警提示之后,还包括:The method according to claim 1 or 2, wherein after the first terminal outputs an alarm prompt, the method further includes:
    所述第一终端输出报警提示确认框; The first terminal outputs an alarm prompt confirmation box;
    若输出所述报警提示之后,在第四预设时间内没有接收到报警提示确认指令,则向第三终端发送报警提示;If the alarm prompt confirmation command is not received within the fourth preset time after the alarm prompt is output, the alarm prompt is sent to the third terminal;
    所述第一终端向所述第二终端发送第二指示消息,所述第二指示消息用于指示所述第二终端向所述第三终端发送所述第二终端的所述当前位置信息和所述录音信息。The first terminal sends a second indication message to the second terminal, where the second indication message is used to instruct the second terminal to send the current location information of the second terminal to the third terminal. The recorded information.
  5. 根据权利要求4所述的方法,其特征在于,所述向第三终端发送报警提示之前,所述方法还包括:The method according to claim 4, wherein before the sending the alarm prompt to the third terminal, the method further comprises:
    所述第一终端向所述第二终端发送第三指示消息,所述第三指示消息用于指示所述第二终端获取所述第二终端的平均移动速度并发送给所述第一终端;The first terminal sends a third indication message to the second terminal, where the third indication message is used to indicate that the second terminal acquires an average moving speed of the second terminal and sends the average moving speed to the first terminal;
    所述第一终端判断所述第二终端的平均移动速度是否大于第一预设速度;Determining, by the first terminal, whether an average moving speed of the second terminal is greater than a first preset speed;
    若是,则执行向所述第三终端发送所述报警提示的步骤。If yes, the step of transmitting the alert prompt to the third terminal is performed.
  6. 一种报警提示终端,其特征在于,所述报警提示终端包括:An alarm prompting terminal, wherein the alarm prompting terminal comprises:
    连接单元,用于与第二终端建立无线连接;a connecting unit, configured to establish a wireless connection with the second terminal;
    检测单元,用于以预设时间间隔检测所述第一终端与所述第二终端进行无线连接使用的信号功率值;a detecting unit, configured to detect, at a preset time interval, a signal power value used by the first terminal to perform wireless connection with the second terminal;
    判断单元,用于判断在第一预设时间内检测的所述信号功率值是否均大于第一预设功率值,所述第一预设功率值是根据预存的功率和距离之间的对应关系,确定的与第一预设距离对应的功率;a determining unit, configured to determine whether the signal power value detected in the first preset time is greater than a first preset power value, where the first preset power value is based on a correspondence between pre-stored power and distance Determining a power corresponding to the first preset distance;
    报警单元,用于若所述判断单元判断在第一预设时间内检测的所述信号功率值均大于第一预设功率值,则输出报警提示。The alarm unit is configured to output an alarm prompt if the determining unit determines that the signal power value detected in the first preset time is greater than the first preset power value.
  7. 根据权利要求6所述的报警提示终端,其特征在于,所述判断单元还用于:The alarm prompting terminal according to claim 6, wherein the determining unit is further configured to:
    判断在第二预设时间内检测到的所述信号功率值是否随时间增长而逐渐增大;Determining whether the signal power value detected in the second preset time gradually increases with time;
    若是,则触发所述报警单元输出报警提示。 If yes, the alarm unit is triggered to output an alarm prompt.
  8. 根据权利要求6或7所述的报警提示终端,其特征在于,所述终端还包括发送单元,其中:The alarm prompting terminal according to claim 6 or 7, wherein the terminal further comprises a sending unit, wherein:
    所述判断单元,还用于判断检测到的信号功率值是否达到第二预设功率值,所述第二预设功率值为所述预存的功率和距离之间的对应关系中最大的功率值;The determining unit is further configured to determine whether the detected signal power value reaches a second preset power value, where the second preset power value is a maximum power value in a correspondence between the pre-stored power and the distance. ;
    所述检测单元,还用于若所述判断单元判断检测到的信号功率值达到第二预设功率值,则检测在第三预设时间内是否接收到所述第二终端发送的无线信号;The detecting unit is further configured to: if the determining unit determines that the detected signal power value reaches the second preset power value, detecting whether the wireless signal sent by the second terminal is received in the third preset time;
    所述发送单元,用于若所述检测单元未接收到所述第二终端发送的无线信号,则向所述第二终端发送第一指示消息,所述第一指示消息用于指示所述第二终端向所述第一终端发送所述第二终端的当前位置信息和录音信息。The sending unit is configured to: if the detecting unit does not receive the wireless signal sent by the second terminal, send a first indication message to the second terminal, where the first indication message is used to indicate the The second terminal sends the current location information and the recorded information of the second terminal to the first terminal.
  9. 一种报警提示终端,其特征在于,包括处理器、输入设备、输出设备和存储器,所述处理器、输入设备、输出设备和存储器相互连接,其中,所述存储器用于存储计算机程序,所述计算机程序包括程序指令,所述处理器被配置用于调用所述程序指令,执行如权利要求1-5任一项所述的方法。An alarm prompting terminal, comprising: a processor, an input device, an output device, and a memory, wherein the processor, the input device, the output device, and the memory are connected to each other, wherein the memory is used to store a computer program, The computer program includes program instructions, the processor being configured to invoke the program instructions to perform the method of any of claims 1-5.
  10. 一种计算机可读存储介质,其特征在于,所述计算机存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-5任一项所述的方法。 A computer readable storage medium, characterized in that the computer storage medium stores a computer program, the computer program comprising program instructions, the program instructions, when executed by a processor, causing the processor to execute as claimed in claim 1. The method of any of item 5.
PCT/CN2017/100971 2017-09-08 2017-09-08 Alarm prompting method, terminal and computer storage medium WO2019047133A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100971 WO2019047133A1 (en) 2017-09-08 2017-09-08 Alarm prompting method, terminal and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/100971 WO2019047133A1 (en) 2017-09-08 2017-09-08 Alarm prompting method, terminal and computer storage medium

Publications (1)

Publication Number Publication Date
WO2019047133A1 true WO2019047133A1 (en) 2019-03-14

Family

ID=65634699

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/100971 WO2019047133A1 (en) 2017-09-08 2017-09-08 Alarm prompting method, terminal and computer storage medium

Country Status (1)

Country Link
WO (1) WO2019047133A1 (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3215942A1 (en) * 1982-04-29 1983-11-03 Franz 7963 Altshausen Fuchshuber Monitoring device
CN1728189A (en) * 2005-07-15 2006-02-01 王程远 Bi-directional annunciator for preventing loss
CN200956193Y (en) * 2006-09-25 2007-10-03 四川大学 Anti-article-losing or person-missing alarm prompter
CN103164925A (en) * 2011-12-16 2013-06-19 深圳富泰宏精密工业有限公司 Bluetooth warning device, communication equipment and warning method
WO2014189295A1 (en) * 2013-05-22 2014-11-27 Han Dong Kwan Wifi-based positioning system and method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE3215942A1 (en) * 1982-04-29 1983-11-03 Franz 7963 Altshausen Fuchshuber Monitoring device
CN1728189A (en) * 2005-07-15 2006-02-01 王程远 Bi-directional annunciator for preventing loss
CN200956193Y (en) * 2006-09-25 2007-10-03 四川大学 Anti-article-losing or person-missing alarm prompter
CN103164925A (en) * 2011-12-16 2013-06-19 深圳富泰宏精密工业有限公司 Bluetooth warning device, communication equipment and warning method
WO2014189295A1 (en) * 2013-05-22 2014-11-27 Han Dong Kwan Wifi-based positioning system and method

Similar Documents

Publication Publication Date Title
AU2014240128B2 (en) Pairing of a battery monitor to a communication device, by message encoded in battery current
US20190304269A1 (en) Methods, Systems, and Products for Security Systems
US8055306B2 (en) Mobile phone alert system and method
US9516529B2 (en) Method and device to prohibit communications which require active participation by the driver of a vehicle
US20100281261A1 (en) Device and method for near field communications using audio transducers
WO2017049493A1 (en) Loss-prevention method, smart wristband, and terminal
WO2016045167A1 (en) Data transmission method, apparatus, and system
US20140370838A1 (en) System and method for preventing abuse of emergency calls placed using smartphone
WO2018157531A1 (en) Vehicle-mounted emergency call method and device
US20130187617A1 (en) Theft protection
CN108156537B (en) Remote operation method of mobile terminal and mobile terminal
US9131478B2 (en) Method and system for improved communication among paired electronic devices
WO2011033870A1 (en) Communication apparatus
WO2019047133A1 (en) Alarm prompting method, terminal and computer storage medium
WO2017000683A1 (en) Method and device for wireless terminal management
WO2014092800A1 (en) Systems and methods for using a rfid tag to initiate voice communications between an automobile and a building of a business
EP3843059A1 (en) Vehicle emergency rescue device for transmitting extended accident information and method thereof
CN108632822A (en) Detection method, device and the mobile terminal of wireless access point
CN105049650A (en) Smart phone and smart phone prompt message feedback method based on vehicle driving state
CN215647397U (en) Wireless intercom system with encryption and anti-interference functions
KR101542829B1 (en) Method of authenticating the sender using the server
CN201181995Y (en) Security mobile phone
EP4297446A1 (en) Multi-device joint call method and apparatus
WO2016070613A1 (en) Call processing method, terminal, system and storage medium
TW201742024A (en) Notification system, notification method, portable device and computer program product

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: 17924627

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: 17924627

Country of ref document: EP

Kind code of ref document: A1