+

CN112087717A - A positioning method, wearable device, terminal device and readable storage medium - Google Patents

A positioning method, wearable device, terminal device and readable storage medium Download PDF

Info

Publication number
CN112087717A
CN112087717A CN202010844330.4A CN202010844330A CN112087717A CN 112087717 A CN112087717 A CN 112087717A CN 202010844330 A CN202010844330 A CN 202010844330A CN 112087717 A CN112087717 A CN 112087717A
Authority
CN
China
Prior art keywords
wearable device
terminal device
information
time information
wearable
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010844330.4A
Other languages
Chinese (zh)
Other versions
CN112087717B (en
Inventor
朱德远
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Genius Technology Co Ltd
Original Assignee
Guangdong Genius Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Genius Technology Co Ltd filed Critical Guangdong Genius Technology Co Ltd
Priority to CN202010844330.4A priority Critical patent/CN112087717B/en
Publication of CN112087717A publication Critical patent/CN112087717A/en
Application granted granted Critical
Publication of CN112087717B publication Critical patent/CN112087717B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04W4/029Location-based management or tracking services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

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

Abstract

本发明实施例公开了一种定位方法、可穿戴设备、终端设备及可读存储介质,用于可穿戴设备在其处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,也可以上报时间信息及对应的位置信息,从而终端设备可以获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。本发明实施例方法包括:在可穿戴设备处于预置条件的情况下,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息;其中,所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态;终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息;所述终端设备根据所述可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。

Figure 202010844330

Embodiments of the present invention disclose a positioning method, a wearable device, a terminal device, and a readable storage medium, which are used when the wearable device is in at least one of a low battery state, a shutdown state, and a state without network service , the time information and the corresponding location information can also be reported, so that the terminal device can obtain the positioning information of the child, so as to monitor the child and ensure the safety of the child. The method according to the embodiment of the present invention includes: when the wearable device is in a preset condition, the wearable device reports first time information and corresponding first location information to the terminal device; wherein the preset condition includes at least the following: Item 1: low battery state, shutdown state, and no network service state; the terminal device receives the first time information and the corresponding first location information reported by the wearable device; the terminal device receives the first time information and the corresponding first location information reported by the wearable device; The time information and the corresponding first position information are used to generate a motion trajectory.

Figure 202010844330

Description

一种定位方法、可穿戴设备、终端设备及可读存储介质A positioning method, wearable device, terminal device and readable storage medium

技术领域technical field

本发明涉及可穿戴设备和终端设备交互应用领域,尤其涉及一种定位方法、可穿戴设备、终端设备及可读存储介质。The present invention relates to the field of interactive applications between wearable devices and terminal devices, in particular to a positioning method, wearable devices, terminal devices and readable storage media.

背景技术Background technique

随着移动技术的发展,许多传统的电子设备也开始增加移动方面的功能,比如过去只能用来看时间的手表,现如今也可以通过终端设备与互联网相连,显示来电信息、新闻信息、以及天气信息等内容。With the development of mobile technology, many traditional electronic devices have also begun to add mobile functions. For example, watches that could only be used to watch the time in the past can now be connected to the Internet through terminal devices to display caller information, news information, and weather information, etc.

可穿戴设备就是在这一技术的基础上发展而来。随着科技的高速发展,功耗低、体积小及卡片类的可穿戴设备逐渐出现在人们的视野。该可穿戴设备有处理信息的能力,除了可以指示时间,还应该具有定位、报警、提醒、导航、校准、监测、交互等其中一项或多项功能。因此,可穿戴设备在市场上得以大力推广。随着人口数量的持续增长,儿童丢失事件频频发生,家长如何监护儿童成为一个热门话题。如何保障儿童的安全是个亟待解决的问题。Wearable devices are developed on the basis of this technology. With the rapid development of science and technology, wearable devices with low power consumption, small size, and cards have gradually appeared in people's field of vision. The wearable device has the ability to process information. In addition to indicating the time, it should also have one or more functions such as positioning, alarm, reminder, navigation, calibration, monitoring, and interaction. Therefore, wearable devices have been vigorously promoted in the market. With the continuous growth of the population, the incidents of children being lost frequently occur, and how parents monitor their children has become a hot topic. How to ensure the safety of children is an urgent problem to be solved.

发明内容SUMMARY OF THE INVENTION

本发明实施例提供了一种定位方法、可穿戴设备、终端设备及可读存储介质,用于可穿戴设备在其处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,也可以上报时间信息及对应的位置信息,从而终端设备可以获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。Embodiments of the present invention provide a positioning method, a wearable device, a terminal device, and a readable storage medium, which are used when the wearable device is in at least one of a low-power state, a shutdown state, and a state without network service , the time information and the corresponding location information can also be reported, so that the terminal device can obtain the positioning information of the child, so as to monitor the child and ensure the safety of the child.

有鉴于此,本发明实施例第一方面提供了一种定位方法,可以包括:在可穿戴设备处于预置条件的情况下,该可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息;其中,该预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。In view of this, a first aspect of the embodiments of the present invention provides a positioning method, which may include: when the wearable device is in a preset condition, the wearable device reports the first time information and the corresponding first time information to the terminal device. Location information; wherein, the preset condition includes at least one of the following: a low battery state, a shutdown state, and a no network service state.

可选的,该可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息,包括:该可穿戴设备接收该终端设备发送的上报指令;根据该上报指令,该可穿戴设备向该终端设备上报第一时间信息及对应的第一位置信息。Optionally, the wearable device reporting the first time information and the corresponding first location information to the terminal device includes: the wearable device receives a reporting instruction sent by the terminal device; according to the reporting instruction, the wearable device reports to the terminal device. The terminal device reports the first time information and the corresponding first location information.

可选的,该可穿戴设备向终端设备上报第一时间信息及对应的第一位置信,包括:该可穿戴设备每隔第一周期向该终端设备上报第一时间信息及对应的第一位置信息。Optionally, the wearable device reporting the first time information and the corresponding first location information to the terminal device includes: the wearable device reporting the first time information and the corresponding first location to the terminal device every first cycle. information.

可选的,在该可穿戴设备每隔第一周期向终端设备上报第一时间信息及对应的第一位置信息之后,该方法还包括:该可穿戴设备接收该终端设备发送的第二周期的指示信息或报警的指示信息,该第二周期小于该第一周期;该可穿戴设备每隔第二周期向该终端设备上报第二时间信息及对应的第二位置信息;或者,该可穿戴设备根据该报警的指示信息进行报警。Optionally, after the wearable device reports the first time information and the corresponding first location information to the terminal device every first cycle, the method further includes: the wearable device receives the second cycle data sent by the terminal device. Indication information or indication information of an alarm, the second period is less than the first period; the wearable device reports the second time information and the corresponding second position information to the terminal device every second period; or, the wearable device The alarm is issued according to the indication information of the alarm.

本发明实施例第二方面提供了一种定位方法,可以包括:A second aspect of the embodiments of the present invention provides a positioning method, which may include:

终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息;The terminal device receives the first time information and the corresponding first location information reported by the wearable device;

该终端设备根据该可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。The terminal device generates a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

可选的,在该终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息之前,该方法还包括:该终端设备在检测到该可穿戴设备处于预置条件的情况下,向该可穿戴设备发送上报指令;其中,该上报指令用于指示该可穿戴设备上报第一时间信息及对应的第一位置信息;该预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。Optionally, before the terminal device receives the first time information and the corresponding first location information reported by the wearable device, the method further includes: when the terminal device detects that the wearable device is in a preset condition, Send a reporting instruction to the wearable device; wherein, the reporting instruction is used to instruct the wearable device to report the first time information and the corresponding first location information; the preset conditions include at least one of the following: a low battery state, a shutdown state , and no network service status.

可选的,该终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息,包括:该终端设备接收该可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息。Optionally, the terminal device receiving the first time information and the corresponding first location information reported by the wearable device includes: the terminal device receiving the first time information and the corresponding first time information reported by the wearable device every first cycle. a location information.

可选的,在该终端设备接收可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息之后,该方法还包括:该终端设备根据该运动轨迹,通过确定该可穿戴设备处于危险区域或向该危险区域移动,向该可穿戴设备发送第二周期的指示信息或报警的指示信息,或,该终端设备进行报警;其中,该第二周期小于该第一周期,该第二周期的指示信息用于指示该可穿戴设备每隔第二周期向该终端设备上报第二时间信息及对应的第二位置信息,该报警的指示信息用于指示该可穿戴设备进行报警。Optionally, after the terminal device receives the first time information and the corresponding first position information reported by the wearable device every first period, the method further includes: the terminal device determines the wearable device according to the motion trajectory by determining the wearable device. When the device is in a dangerous area or moves to the dangerous area, the wearable device sends the indication information of the second period or the indication information of the alarm, or the terminal device gives an alarm; wherein, the second period is less than the first period, the The indication information of the second cycle is used to instruct the wearable device to report the second time information and the corresponding second location information to the terminal device every second cycle, and the indication information of the alarm is used to instruct the wearable device to alarm.

本发明实施例第三方面提供了一种可穿戴设备,可以包括:A third aspect of the embodiments of the present invention provides a wearable device, which may include:

收发模块,用于在可穿戴设备处于预置条件的情况下,向终端设备上报第一时间信息及对应的第一位置信息;其中,该预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。A transceiver module, configured to report the first time information and the corresponding first location information to the terminal device when the wearable device is in a preset condition; wherein the preset condition includes at least one of the following: a low battery state, a shutdown status, and no network service status.

可选的,该收发模块,具体用于接收该终端设备发送的上报指令;根据该上报指令,向该终端设备上报第一时间信息及对应的第一位置信息。Optionally, the transceiver module is specifically configured to receive a reporting instruction sent by the terminal device; and report the first time information and the corresponding first location information to the terminal device according to the reporting instruction.

可选的,该收发模块,具体用于每隔第一周期向该终端设备上报第一时间信息及对应的第一位置信息。Optionally, the transceiver module is specifically configured to report the first time information and the corresponding first location information to the terminal device every first cycle.

可选的,该收发模块,具体用于接收该终端设备发送的第二周期的指示信息或报警的指示信息,该第二周期小于该第一周期;每隔第二周期向该终端设备上报第二时间信息及对应的第二位置信息;或者,该可穿戴设备根据该报警的指示信息进行报警。Optionally, the transceiver module is specifically configured to receive the indication information of the second cycle or the indication information of the alarm sent by the terminal device, and the second cycle is less than the first cycle; report the first cycle to the terminal device every second cycle. two time information and the corresponding second position information; or, the wearable device alarms according to the indication information of the alarm.

本发明实施例第四方面提供了一种终端设备,可以包括:A fourth aspect of the embodiments of the present invention provides a terminal device, which may include:

收发模块,用于接收可穿戴设备上报的第一时间信息及对应的第一位置信息;a transceiver module for receiving the first time information and the corresponding first location information reported by the wearable device;

处理模块,用于根据该可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。The processing module is configured to generate a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

可选的,该收发模块,具体用于在检测到该可穿戴设备处于预置条件的情况下,向该可穿戴设备发送上报指令;其中,该上报指令用于指示该可穿戴设备上报第一时间信息及对应的第一位置信息;该预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。Optionally, the transceiver module is specifically configured to send a reporting instruction to the wearable device when it is detected that the wearable device is in a preset condition; wherein, the reporting instruction is used to instruct the wearable device to report the first Time information and corresponding first location information; the preset condition includes at least one of the following: a low battery state, a shutdown state, and a no network service state.

可选的,该收发模块,具体用于接收该可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息。Optionally, the transceiver module is specifically configured to receive first time information and corresponding first location information reported by the wearable device every first cycle.

可选的,该处理模块,具体用于根据该运动轨迹,通过确定该可穿戴设备处于危险区域或向该危险区域移动,向该可穿戴设备发送第二周期的指示信息或报警的指示信息,或,进行报警;其中,该第二周期小于该第一周期,该第二周期的指示信息用于指示该可穿戴设备每隔第二周期向该终端设备上报第二时间信息及对应的第二位置信息,该报警的指示信息用于指示该可穿戴设备进行报警。Optionally, the processing module is specifically configured to send, according to the movement trajectory, the wearable device in a dangerous area or moving to the dangerous area, to send the second cycle of indication information or the indication information of the alarm to the wearable device, Or, make an alarm; wherein, the second period is less than the first period, and the indication information of the second period is used to instruct the wearable device to report the second time information and the corresponding second time information to the terminal device every second period. Location information, the indication information of the alarm is used to instruct the wearable device to alarm.

本发明实施例第五方面提供了一种可穿戴设备,可以包括:A fifth aspect of the embodiments of the present invention provides a wearable device, which may include:

存储有可执行程序代码的存储器;memory in which executable program code is stored;

以及所述存储器耦合的处理器;and the memory-coupled processor;

所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如本发明实施例第一方面及第一方面任一可选实现方式中所述的方法。The processor invokes the executable program code stored in the memory to execute the method described in the first aspect and any optional implementation manner of the first aspect of the embodiments of the present invention.

本发明实施例第六方面提供了一种终端设备,可以包括:A sixth aspect of the embodiments of the present invention provides a terminal device, which may include:

存储有可执行程序代码的存储器;memory in which executable program code is stored;

以及所述存储器耦合的处理器;and the memory-coupled processor;

所述处理器调用所述存储器中存储的所述可执行程序代码,用于执行如本发明实施例第二方面及第二方面任一可选实现方式中所述的方法。The processor invokes the executable program code stored in the memory to execute the method described in the second aspect and any optional implementation manner of the second aspect of the embodiments of the present invention.

本发明实施例第七方面提供一种计算机可读存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现如本发明实施例第一方面及第一方面任一可选实现方式中所述的方法,或者,第二方面及第二方面任一可选实现方式中所述的方法。A seventh aspect of an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it can be implemented as any optional implementation of the first aspect and the first aspect of the embodiments of the present invention The method described in the mode, or the method described in the second aspect and any optional implementation mode of the second aspect.

本发明实施例第八方面公开一种计算机程序产品,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任意一种所述的方法,或者,实现如本发明第二方面公开的任意一种所述的方法。An eighth aspect of the embodiments of the present invention discloses a computer program product, when the computer program product runs on a computer, the computer is made to execute any one of the methods disclosed in the first aspect of the embodiments of the present invention, or, The method as disclosed in any one of the second aspect of the present invention is implemented.

本发明实施例第九方面公开一种应用发布平台,所述应用发布平台用于发布计算机程序产品,其中,当所述计算机程序产品在计算机上运行时,使得所述计算机执行本发明实施例第一方面公开的任意一种所述的方法,或者,执行本发明第二方面公开的任意一种所述的方法。A ninth aspect of the embodiments of the present invention discloses an application publishing platform, where the application publishing platform is used for publishing a computer program product, wherein when the computer program product runs on a computer, the computer is made to execute the first embodiment of the present invention. Any one of the methods disclosed in one aspect, or, perform any one of the methods disclosed in the second aspect of the present invention.

从以上技术方案可以看出,本发明实施例具有以下优点:As can be seen from the above technical solutions, the embodiments of the present invention have the following advantages:

在现有技术中,可穿戴设备在其处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,无法向终端设备上报第一时间信息及对应的第一位置信息。而在本申请实施例中,在可穿戴设备处于预置条件的情况下,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息;其中,所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。即可穿戴设备在其处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,可以向终端设备上报第一时间信息及对应的第一位置信息,便于家长用终端设备获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。In the prior art, the wearable device cannot report the first time information and the corresponding first location information to the terminal device when the wearable device is in at least one of a low-power state, a power-off state, and a state of no network service. In the embodiment of the present application, when the wearable device is in a preset condition, the wearable device reports the first time information and the corresponding first location information to the terminal device; wherein, the preset condition includes the following At least one of: low battery state, power off state, and no network service state. That is, when the wearable device is in at least one of a low-power state, a power-off state, and no network service state, it can report the first time information and the corresponding first location information to the terminal device, which is convenient for parents to obtain the terminal device. Children's positioning information, so as to monitor children and ensure their safety.

附图说明Description of drawings

为了更清楚地说明本发明实施例技术方案,下面将对实施例和现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,还可以根据这些附图获得其它的附图。In order to explain the technical solutions of the embodiments of the present invention more clearly, the following briefly introduces the accompanying drawings that are used in the description of the embodiments and the prior art. Obviously, the drawings in the following description are only some implementations of the present invention. For example, other drawings may also be obtained from these drawings.

图1为本发明实施例中定位方法的一个实施例示意图;1 is a schematic diagram of an embodiment of a positioning method in an embodiment of the present invention;

图2为本发明实施例中定位方法的另一个实施例示意图;2 is a schematic diagram of another embodiment of a positioning method in an embodiment of the present invention;

图3为本发明实施例中定位方法的另一个实施例示意图;3 is a schematic diagram of another embodiment of a positioning method in an embodiment of the present invention;

图4为本发明实施例中定位方法的另一个实施例示意图;FIG. 4 is a schematic diagram of another embodiment of the positioning method in the embodiment of the present invention;

图5为本发明实施例中可穿戴设备的一个实施例示意图;FIG. 5 is a schematic diagram of an embodiment of a wearable device in an embodiment of the present invention;

图6为本发明实施例中终端设备的一个实施例示意图;FIG. 6 is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention;

图7为本发明实施例中可穿戴设备或终端设备的另一个实施例示意图。FIG. 7 is a schematic diagram of another embodiment of a wearable device or a terminal device in an embodiment of the present invention.

具体实施方式Detailed ways

本发明实施例提供了一种定位方法、可穿戴设备、终端设备及可读存储介质,用于可穿戴设备在其处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,也可以上报时间信息及对应的位置信息,从而终端设备可以获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。Embodiments of the present invention provide a positioning method, a wearable device, a terminal device, and a readable storage medium, which are used when the wearable device is in at least one of a low-power state, a shutdown state, and a state without network service , the time information and the corresponding location information can also be reported, so that the terminal device can obtain the positioning information of the child, so as to monitor the child and ensure the safety of the child.

为了使本技术领域的人员更好地理解本发明方案,下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行描述,显然,所描述的实施例仅仅是本发明一部分的实施例,而不是全部的实施例。基于本发明中的实施例,都应当属于本发明保护的范围。可以理解的是,本发明实施例中所涉及的终端设备可以包括一般的手持有屏电子终端设备,诸如手机、智能电话、便携式终端、终端、个人数字助理(Personal Digital Assistant,PDA)、便携式多媒体播放器(Personal Media Player,PMP)装置、笔记本电脑、笔记本(NotePad)、无线宽带(Wireless Broadband,Wibro)终端、平板电脑(Personal Computer,PC)、智能PC、销售终端(Point of Sales,POS)和车载电脑等。In order for those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the present invention examples, but not all examples. Based on the embodiments of the present invention, all should belong to the protection scope of the present invention. It can be understood that the terminal devices involved in the embodiments of the present invention may include general handheld electronic terminal devices, such as mobile phones, smart phones, portable terminals, terminals, personal digital assistants (Personal Digital Assistant, PDA), portable multimedia Player (Personal Media Player, PMP) device, notebook computer, notebook (NotePad), wireless broadband (Wireless Broadband, Wibro) terminal, tablet computer (Personal Computer, PC), smart PC, point of sale (Point of Sales, POS) and car computer.

终端设备也可以包括可穿戴设备。可穿戴设备即可以直接穿戴在用户身上,或是整合到用户的衣服或配件的一种便携式电子设备。可穿戴设备不仅仅是一种硬件设备,更可以通过软件支持以及数据交互、云端交互来实现强大的智能功能,比如:计算功能、定位功能、报警功能,同时还可以连接手机及各类终端。可穿戴设备可以包括但不限于以手腕为支撑的watch类(比如手表、手腕等产品),以脚为支撑的shoes类(比如鞋、袜子或者其他腿上佩戴产品),以头部为支撑的Glass类(比如眼镜、头盔、头带等)以及智能服装,书包、拐杖、配饰等各类非主流产品形态。Terminal devices may also include wearable devices. A wearable device is a portable electronic device that can be directly worn on the user or integrated into the user's clothes or accessories. Wearable device is not only a hardware device, but also can realize powerful intelligent functions through software support, data interaction, and cloud interaction, such as: computing function, positioning function, alarm function, and can also be connected to mobile phones and various terminals. Wearable devices may include, but are not limited to, wrist-supported watches (such as watches, wrists, etc.), foot-supported shoes (such as shoes, socks, or other products worn on the legs), and head-supported products. Glass categories (such as glasses, helmets, headbands, etc.) and smart clothing, school bags, crutches, accessories and other non-mainstream product forms.

在一种实现方式中,可穿戴设备只有在电量充足状态,开机状态和/或有网络服务状态的情况下才可以对儿童进行定位,从而实现家长对儿童的监护过程。而在本申请中,可穿戴设备可以在电量充足状态,开机状态和/或有网络服务状态的情况下对儿童进行定位,还可以在低电量状态,关机状态,以及无网络服务状态中至少一项的情况下对儿童进行定位。In an implementation manner, the wearable device can locate the child only when the power is sufficient, the power-on state and/or the network service state is available, so as to realize the process of parental monitoring of the child. In the present application, the wearable device can locate the child in a fully charged state, a powered-on state and/or a network service state, and can also locate the child in at least one of a low battery state, a power-off state, and a state without network service. target the child in the case of the item.

下面以实施例的方式,对本发明技术方案做进一步的说明,如图1所示,为本发明实施例中定位方法的一个实施例示意图,可以包括:The technical solution of the present invention is further described below by way of examples. As shown in FIG. 1 , it is a schematic diagram of an embodiment of the positioning method in the embodiment of the present invention, which may include:

101、在可穿戴设备处于预置条件的情况下,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。101. When the wearable device is in a preset condition, the wearable device reports first time information and corresponding first location information to a terminal device.

其中,所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Wherein, the preset condition includes at least one of the following: a low battery state, a shutdown state, and a no network service state. The terminal device receives the first time information and the corresponding first location information reported by the wearable device.

可以理解的是,可穿戴设备处于低电量状态可以包括:可穿戴设备的当前电池电量小于等于总电量的15%。可穿戴设备处于关机状态可以包括:可穿戴设备在其处于规定的电压阈值的情况下,进行关机;或者,可穿戴设备打开了飞行模式。可穿戴设备处于无网络服务状态可以包括:可穿戴设备低电量状态导致没有网络信号;可穿戴设备关机状态导致没有网络信号;可穿戴设备欠费停机;可穿戴设备设置了呼叫转移;可穿戴设备的系统原因导致没有网络信号;或者,可穿戴设备的网络异常导致网络中断。It can be understood that, the wearable device being in a low power state may include: the current battery power of the wearable device is less than or equal to 15% of the total power. The fact that the wearable device is in a power-off state may include: the wearable device is powered off when the wearable device is at a prescribed voltage threshold; or, the wearable device turns on the airplane mode. Wearable device in no network service state may include: wearable device low power state results in no network signal; wearable device shutdown state results in no network signal; wearable device is stopped due to arrears; wearable device is set to call forwarding; wearable device The system causes no network signal; or, the wearable device's network is abnormal and the network is interrupted.

低电量状态可以是终端设备在无备用电池的情况下,主电池处于的低电量状态,也可以是终端设备在有备用电池的情况下,主电池,和/或,备用电池处于的低电量状态。The low-power state can be the low-power state in which the main battery of the terminal device is without a backup battery, or the low-power state in which the main battery and/or the backup battery are in the terminal device when there is a backup battery .

可选的,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息,终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息,可以包括但不限于以下的实现方式:Optionally, the wearable device reports the first time information and the corresponding first location information to the terminal device, and the terminal device receives the first time information and the corresponding first location information reported by the wearable device, which may include but are not limited to The following implementations:

实现方式1:所述可穿戴设备每隔第一周期向所述终端设备上报第一时间信息及对应的第一位置信息。该终端设备接收该可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息。Implementation 1: The wearable device reports the first time information and the corresponding first location information to the terminal device every first cycle. The terminal device receives first time information and corresponding first location information reported by the wearable device every first period.

可以理解的是,该第一周期可以是可穿戴设备中预先配置的周期,或者,用户在可穿戴设备上设置的周期,也可以是终端设备配置的周期,指示给可穿戴设备,也可以是用户在终端设备上设置的周期,指示给可穿戴设备。It can be understood that the first cycle may be a pre-configured cycle in the wearable device, or a cycle set by the user on the wearable device, or a cycle configured by the terminal device, which is indicated to the wearable device, or may be The period set by the user on the terminal device is indicated to the wearable device.

示例性的,该第一周期可以是可穿戴设备中预先配置的周期。例如第一周期为10分钟,在可穿戴设备处于低电量状态且已关机的的情况下,用户可以借助电池剩余电量让该可穿戴设备进入低功耗模式,该可穿戴设备每隔10分钟向终端设备上报第一时间信息及对应的第一位置信息,该终端设备每隔10分钟接收可穿戴设备上报的第一时间信息及对应的第一位置信息。或者,Exemplarily, the first period may be a pre-configured period in the wearable device. For example, the first period is 10 minutes. When the wearable device is in a low-power state and has been turned off, the user can use the remaining battery power to put the wearable device into a low-power mode. The terminal device reports the first time information and the corresponding first location information, and the terminal device receives the first time information and the corresponding first location information reported by the wearable device every 10 minutes. or,

示例性的,该第一周期可以是终端设备配置的周期,指示给可穿戴设备的。例如第一周期为20分钟,在可穿戴设备处于低电量状态且已关机的的情况下,可穿戴设备根据预置关机电压和当前电量(即低电量状态下的电量)将其进行强制关机,此时,该可穿戴设备进入低功耗模式并每隔20分钟向终端设备上报第一时间信息及对应的第一位置信息,该终端设备每隔20分钟接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Exemplarily, the first period may be a period configured by the terminal device and indicated to the wearable device. For example, the first cycle is 20 minutes. When the wearable device is in a low-power state and has been turned off, the wearable device will be forced to shut down according to the preset shutdown voltage and the current power (ie, the power in the low-power state). At this time, the wearable device enters the low power consumption mode and reports the first time information and the corresponding first location information to the terminal device every 20 minutes, and the terminal device receives the first time information reported by the wearable device every 20 minutes and the corresponding first position information.

实现方式2:可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息,其中,第一时间信息可以包括特定时间段或特定时间。Implementation 2: The wearable device reports the first time information and the corresponding first location information to the terminal device, where the first time information may include a specific time period or a specific time.

示例性的,可穿戴设备向终端设备上报该可穿戴设备关机前5-10分钟的时间信息以及该时间信息对应的位置信息,其中,关机前5-10分钟为特定时间段。Exemplarily, the wearable device reports time information 5-10 minutes before the wearable device shuts down and location information corresponding to the time information to the terminal device, wherein 5-10 minutes before shutting down is a specific time period.

可选的,该特定时间段或特定时间可以是可穿戴设备预先配置的,也可以是终端设备预先配置好,指示给可穿戴设备的,也可以是用户选择的。Optionally, the specific time period or specific time may be pre-configured by the wearable device, or may be pre-configured by the terminal device and indicated to the wearable device, or may be selected by the user.

实现方式3:终端设备向可穿戴设备发送上报指令;可穿戴设备接收终端设备发送的上报指令;根据该上报指令,该可穿戴设备向该终端设备上报第一时间信息及对应的第一位置信息。Implementation mode 3: the terminal device sends a reporting instruction to the wearable device; the wearable device receives the reporting instruction sent by the terminal device; according to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device .

可以理解的是,该第一时间信息及对应的第一位置信息可以是当前第一时间信息及当前对应的第一位置信息,也可以是可穿戴设备或终端设备设置的第一时间信息及设置的第一时间信息对应的第一位置信息。It can be understood that the first time information and the corresponding first location information may be the current first time information and the current corresponding first location information, or may be the first time information and settings set by the wearable device or the terminal device. The first location information corresponding to the first time information of .

示例性的,终端设备向可穿戴设备发送当前时间为16:00的定位上报指令,可穿戴设备接收该上报指令后,向终端设备上报该可穿戴设备在当前时间为16:00时位于A处的信息;或者,终端设备向可穿戴设备发送前一天时间为22:00的定位上报指令,可穿戴设备接收该上报指令后,向终端设备上报该可穿戴设备在前一天时间为22:00时位于B处的信息。Exemplarily, the terminal device sends a positioning reporting instruction with a current time of 16:00 to the wearable device, and after receiving the reporting instruction, the wearable device reports to the terminal device that the wearable device is located at A when the current time is 16:00. or, the terminal device sends a positioning report command to the wearable device at 22:00 the previous day, and after the wearable device receives the report command, it reports to the terminal device that the wearable device is at 22:00 the previous day Information located at B.

实现方式4:终端设备通过服务器向可穿戴设备发送上报指令;可穿戴设备接收服务器发送的上报指令;该可穿戴设备根据该上报指令,通过服务器向终端设备上报第一时间信息及对应的第一位置信息;终端设备通过服务器接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Implementation mode 4: the terminal device sends a reporting instruction to the wearable device through the server; the wearable device receives the reporting instruction sent by the server; the wearable device reports the first time information and the corresponding first time information to the terminal device through the server according to the reporting instruction. Location information; the terminal device receives the first time information and the corresponding first location information reported by the wearable device through the server.

示例性的,终端设备通过服务器向可穿戴设备发送当前时间为16:00的上报指令;可穿戴设备接收服务器发送的上报指令;该可穿戴设备根据该上报指令,通过服务器向终端设备上报在当前时间为16:00时位于C处的信息;终端设备通过服务器接收可穿戴设备上报的当前时间为16:00时位于C处的信息。Exemplarily, the terminal device sends a reporting instruction with a current time of 16:00 to the wearable device through the server; the wearable device receives the reporting instruction sent by the server; the wearable device reports the current time to the terminal device through the server according to the reporting instruction. The information that is located at C when the time is 16:00; the terminal device receives the information that is located at C when the current time is 16:00 reported by the wearable device through the server.

可选的,终端设备通过服务器每隔第三周期向可穿戴设备发送上报指令;可穿戴设备每隔第三周期接收服务器发送的上报指令;该可穿戴设备根据该上报指令,通过服务器每隔第三周期向终端设备上报第一时间信息及对应的第一位置信息;终端设备通过服务器每隔第三周期接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Optionally, the terminal device sends a reporting instruction to the wearable device through the server every third cycle; the wearable device receives the reporting instruction sent by the server every third cycle; the wearable device sends the report instruction through the server every third cycle according to the reporting instruction. The first time information and the corresponding first location information are reported to the terminal device in three cycles; the terminal device receives the first time information and the corresponding first location information reported by the wearable device through the server every third cycle.

实现方式5:终端设备通过服务器向可穿戴设备发送上报指令;可穿戴设备接收服务器发送的上报指令;该可穿戴设备根据该上报指令,向终端设备上报第一时间信息及对应的第一位置信息;终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Implementation mode 5: the terminal device sends a reporting instruction to the wearable device through the server; the wearable device receives the reporting instruction sent by the server; the wearable device reports the first time information and the corresponding first location information to the terminal device according to the reporting instruction ; The terminal device receives the first time information and the corresponding first position information reported by the wearable device.

可选的,终端设备通过服务器每隔第四周期向可穿戴设备发送上报指令;可穿戴设备每隔第四周期接收服务器发送的上报指令;该可穿戴设备根据该上报指令,每隔第四周期向终端设备上报第一时间信息及对应的第一位置信息;终端设备每隔第四周期接收可穿戴设备上报的第一时间信息及对应的第一位置信息。Optionally, the terminal device sends a reporting command to the wearable device through the server every fourth cycle; the wearable device receives the reporting command sent by the server every fourth cycle; the wearable device sends the report command every fourth cycle according to the reporting command. The first time information and the corresponding first location information are reported to the terminal device; the terminal device receives the first time information and the corresponding first location information reported by the wearable device every fourth cycle.

实现方式6:终端设备向可穿戴设备发送上报指令;可穿戴设备接收该终端设备发送的上报指令;该可穿戴设备根据该上报指令,通过服务器向所述终端设备上报其第一时间信息及所述对应的第一位置信息;该终端设备接收可穿戴设备上报的第一时间信息及所述对应的第一位置信息。Implementation mode 6: the terminal device sends a reporting instruction to the wearable device; the wearable device receives the reporting instruction sent by the terminal device; the wearable device reports its first time information and all information to the terminal device through the server according to the reporting instruction. The corresponding first location information; the terminal device receives the first time information and the corresponding first location information reported by the wearable device.

可选的,终端设备每隔第五周期向可穿戴设备发送上报指令;可穿戴设备每隔第五周期接收该终端设备发送的上报指令;该可穿戴设备根据该上报指令,通过服务器每隔第五周期向该终端设备上报其第一时间信息及所述对应的第一位置信息;该终端设备每隔第五周期接收该可穿戴设备上报的第一时间信息及所述对应的第一位置信息。Optionally, the terminal device sends a reporting command to the wearable device every fifth cycle; the wearable device receives the reporting command sent by the terminal device every fifth cycle; the wearable device sends the report command through the server every fifth cycle according to the reporting command. Report its first time information and the corresponding first location information to the terminal device every five cycles; the terminal device receives the first time information and the corresponding first location information reported by the wearable device every fifth cycle .

需要说明的是,上述实现方式1可以分别结合上述实现方式2和3得到进一步可选的实现方式。上述实现方式2可以分别结合上述实现方式3-6得到进一步可选的实现方式。It should be noted that, the foregoing implementation manner 1 may be combined with the foregoing implementation manners 2 and 3 to obtain further optional implementation manners. The foregoing implementation manner 2 may be combined with the foregoing implementation manners 3 to 6 to obtain further optional implementation manners.

102、所述终端设备根据所述可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。102. The terminal device generates a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

可选的,生成运动轨迹,可以包括但不限于以下的实现方式:Optionally, generating a motion trajectory may include, but is not limited to, the following implementations:

实现方式1:终端设备每隔第六周期生成第一运动轨迹。Implementation 1: The terminal device generates the first motion trajectory every sixth cycle.

实现方式2:可穿戴设备根据第一时间信息及对应的第一位置信息,生成第二运动轨迹;该可穿戴设备向终端设备上报该第二运动轨迹;终端设备接收该可穿戴设备上报的该第二运动轨迹。Implementation mode 2: the wearable device generates a second motion trajectory according to the first time information and the corresponding first position information; the wearable device reports the second motion trajectory to the terminal device; the terminal device receives the report of the wearable device. The second motion trajectory.

可选的,可穿戴设备根据第一时间信息及对应的第一位置信息,每隔第七周期生成第二运动轨迹;该可穿戴设备向终端设备上报该第二运动轨迹;终端设备接收该可穿戴设备上报的该第二运动轨迹。Optionally, the wearable device generates a second movement track every seventh cycle according to the first time information and the corresponding first position information; the wearable device reports the second movement track to the terminal device; the terminal device receives the wearable device. The second motion track reported by the wearable device.

可选的,可穿戴设备根据第一时间信息及对应的第一位置信息,每隔第七周期生成第二运动轨迹;该可穿戴设备向终端设备每隔第八周期上报该第二运动轨迹;终端设备每隔第八周期接收该可穿戴设备上报的该第二运动轨迹。Optionally, the wearable device generates a second movement track every seventh cycle according to the first time information and the corresponding first position information; the wearable device reports the second movement track to the terminal device every eighth cycle; The terminal device receives the second motion track reported by the wearable device every eighth cycle.

实现方式3:可穿戴设备根据第一时间信息及对应的第一位置信息,生成第三运动轨迹;该可穿戴设备通过服务器向终端设备上报该第三运动轨迹;终端设备通过服务器接收该第二运动轨迹。Implementation mode 3: the wearable device generates a third motion trajectory according to the first time information and the corresponding first position information; the wearable device reports the third motion trajectory to the terminal device through the server; the terminal device receives the second motion trajectory through the server. movement trajectory.

可选的,可穿戴设备根据其上报的第一时间信息及对应的第一位置信息,每隔第九周期生成第三运动轨迹;该可穿戴设备通过服务器向终端设备上报该第三运动轨迹;终端设备通过服务器接收该第三运动轨迹。Optionally, the wearable device generates a third movement track every ninth cycle according to the first time information and the corresponding first position information reported by the wearable device; the wearable device reports the third movement track to the terminal device through the server; The terminal device receives the third motion trajectory through the server.

可选的,可穿戴设备根据其上报的第一时间信息及对应的第一位置信息,每隔第九周期生成第三运动轨迹;该可穿戴设备通过服务器每隔第十周期向终端设备上报该第三运动轨迹;终端设备通过服务器每隔第十周期接收该第三运动轨迹。Optionally, the wearable device generates a third motion trajectory every ninth cycle according to the first time information and the corresponding first position information reported by the wearable device; the wearable device reports the wearable device to the terminal device through the server every tenth cycle. The third movement track; the terminal device receives the third movement track through the server every tenth cycle.

在本发明实施例中,在可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,该可穿戴设备可以周期性地或非周期性地向终端设备主动上报或被动上报其时间信息及对应的位置信息,终端设备根据接收的可穿戴设备上报的时间信息及对应的位置信息,生成运动轨迹。这种方法在儿童的可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,该可穿戴设备也可以上报时间信息及对应的位置信息,便于家长可以用终端设备自动获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。In this embodiment of the present invention, when the wearable device is in at least one of a low battery state, a shutdown state, and a state without network service, the wearable device may periodically or aperiodically report actively to the terminal device Or passively report its time information and corresponding location information, and the terminal device generates a motion trajectory according to the received time information and corresponding location information reported by the wearable device. In this method, when the child's wearable device is in at least one of a low battery state, a shutdown state, and no network service state, the wearable device can also report time information and corresponding location information, so that parents can use the terminal. The device automatically obtains the child's positioning information, so as to monitor the child and ensure the safety of the child.

如图2所示,为本发明实施例中定位方法的另一个实施例示意图,可以包括:As shown in FIG. 2, it is a schematic diagram of another embodiment of the positioning method in the embodiment of the present invention, which may include:

201、所述终端设备在检测到所述可穿戴设备处于预置条件的情况下,向所述可穿戴设备发送上报指令。201. The terminal device sends a reporting instruction to the wearable device when it is detected that the wearable device is in a preset condition.

其中,所述上报指令用于指示所述可穿戴设备上报第一时间信息及对应的第一位置信息;所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。所述可穿戴设备接收所述终端设备发送的上报指令。Wherein, the reporting instruction is used to instruct the wearable device to report the first time information and the corresponding first location information; the preset conditions include at least one of the following: a low battery state, a shutdown state, and a no network service state . The wearable device receives the reporting instruction sent by the terminal device.

可选的,向所述可穿戴设备发送上报指令,可以包括但不限于以下的实现方式:Optionally, sending a reporting instruction to the wearable device may include but is not limited to the following implementations:

实现方式1:终端设备每隔第十周期向所述可穿戴设备发送上报指令。Implementation 1: The terminal device sends a reporting instruction to the wearable device every tenth cycle.

实现方式2:终端设备通过服务器向该可穿戴设备发送上报指令。Implementation mode 2: The terminal device sends a reporting instruction to the wearable device through the server.

可选的,终端设备通过服务器每隔第十一周期向该可穿戴设备发送上报指令。Optionally, the terminal device sends a reporting instruction to the wearable device through the server every eleventh cycle.

需要说明的是,步骤201中所述可穿戴设备接收所述终端设备发送的上报指令与图1所示的步骤101的相关内容类似,此处不再赘述。It should be noted that in step 201, the wearable device receives the reporting instruction sent by the terminal device, which is similar to the related content of step 101 shown in FIG. 1, and will not be repeated here.

202、可穿戴设备根据所述上报指令,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。202. According to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device.

终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息。The terminal device receives the first time information and the corresponding first location information reported by the wearable device.

需要说明的是,步骤201中根据所述上报指令,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息与图1所示的步骤101的相关内容类似,此处不再赘述。It should be noted that, in step 201, according to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device. The first time information and the corresponding first location information that the terminal device receives reported by the wearable device is similar to the related content of step 101 shown in FIG. 1 , and details are not described herein again.

203、所述终端设备根据所述可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。203. The terminal device generates a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

需要说明的是,步骤202与图1所示的步骤102类似,此处不再赘述。It should be noted that step 202 is similar to step 102 shown in FIG. 1 , and details are not repeated here.

在本发明实施例中,在终端设备检测到可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,终端设备周期性地或非周期性地向可穿戴设备发送上报指令,该可穿戴设备在接收终端设备发送的上报指令后,可以周期性地或非周期性地向该终端设备上报其时间信息及对应的位置信息,终端设备根据其接收的可穿戴设备上报的时间信息及对应的位置信息,生成运动轨迹。这种方法便于在家长发现其儿童的可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,该可穿戴设备被动地上报时间信息及对应的位置信息,家长可以用终端设备获取儿童的定位信息,从而对儿童进行监护,保障儿童的安全。In this embodiment of the present invention, when the terminal device detects that the wearable device is in at least one of a low battery state, a shutdown state, and a state without network service, the terminal device periodically or aperiodically sends the wearable device to the wearable device. Send a report command. After receiving the report command sent by the terminal device, the wearable device can periodically or aperiodically report its time information and corresponding location information to the terminal device. The reported time information and the corresponding position information are used to generate a motion trajectory. This method is convenient for parents to report time information and corresponding location information passively when parents find that their child's wearable device is in a low battery state, a shutdown state, and a state of no network service. The terminal device can be used to obtain the positioning information of the child, so as to monitor the child and ensure the safety of the child.

如图3所示,为本发明实施例中定位方法的另一个实施例示意图,可以包括:As shown in FIG. 3, it is a schematic diagram of another embodiment of the positioning method in the embodiment of the present invention, which may include:

301、所述终端设备在检测到所述可穿戴设备处于预置条件的情况下,向所述可穿戴设备发送上报指令。301. The terminal device sends a reporting instruction to the wearable device when it is detected that the wearable device is in a preset condition.

其中,所述上报指令用于指示所述可穿戴设备上报第一时间信息及对应的第一位置信息;所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。所述可穿戴设备接收所述终端设备发送的上报指令。Wherein, the reporting instruction is used to instruct the wearable device to report the first time information and the corresponding first location information; the preset conditions include at least one of the following: a low battery state, a shutdown state, and a no network service state . The wearable device receives the reporting instruction sent by the terminal device.

302、可穿戴设备根据所述上报指令,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。302. According to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device.

终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息。The terminal device receives the first time information and the corresponding first location information reported by the wearable device.

303、所述终端设备根据所述可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。303. The terminal device generates a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

需要说明的是,步骤301~303与图2所示的步骤201~203类似,此处不再赘述。It should be noted that steps 301 to 303 are similar to steps 201 to 203 shown in FIG. 2 , and will not be repeated here.

304、所述终端设备根据所述运动轨迹,通过确定所述可穿戴设备处于危险区域或向所述危险区域移动,向所述可穿戴设备发送第二周期的指示信息。304. The terminal device sends, according to the movement trajectory, the wearable device is in a dangerous area or moves toward the dangerous area, and sends the indication information of the second period to the wearable device.

或者,所述终端设备根据所述运动轨迹,通过确定所述可穿戴设备处于危险区域或向所述危险区域移动,向所述可穿戴设备发送报警的指示信息。Alternatively, the terminal device sends alarm indication information to the wearable device by determining that the wearable device is in a dangerous area or moving toward the dangerous area according to the movement trajectory.

所述可穿戴设备接收所述终端设备发送的第二周期的指示信息或报警的指示信息,所述第二周期小于所述第一周期。The wearable device receives indication information of a second period or indication information of an alarm sent by the terminal device, where the second period is smaller than the first period.

其中,所述第二周期小于所述第一周期,所述第二周期的指示信息用于指示所述可穿戴设备每隔第二周期向所述终端设备上报第二时间信息及对应的第二位置信息,所述报警的指示信息用于指示所述可穿戴设备进行报警。The second period is smaller than the first period, and the indication information of the second period is used to instruct the wearable device to report the second time information and the corresponding second time information to the terminal device every second period. Location information, the alarm indication information is used to instruct the wearable device to perform an alarm.

305、所述可穿戴设备每隔第二周期向所述终端设备上报第二时间信息及对应的第二位置信息。305. The wearable device reports second time information and corresponding second location information to the terminal device every second period.

或者,所述可穿戴设备根据所述报警的指示信息进行报警。Or, the wearable device performs an alarm according to the indication information of the alarm.

可选的,可穿戴设备根据所述报警的指示信息自动进行报警。Optionally, the wearable device automatically alarms according to the indication information of the alarm.

在本发明实施例中,在终端设备检测到可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,终端设备周期性地或非周期性地向可穿戴设备发送上报指令,该可穿戴设备在接收终端设备发送的上报指令后,可以周期性地或非周期性地向该终端设备上报其时间信息及对应的位置信息,终端设备根据其接收的可穿戴设备上报的时间信息及对应的位置信息,生成运动轨迹。这种方法便于在家长发现其儿童的可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况之后,可以根据生成的运动轨迹判断出其儿童是否偏离安全区域,如果偏离,家长可以用终端设备获取儿童的定位信息,从而对儿童进行监护,通过可穿戴设备提示或报警以保障儿童的安全。In this embodiment of the present invention, when the terminal device detects that the wearable device is in at least one of a low battery state, a shutdown state, and a state without network service, the terminal device periodically or aperiodically sends the wearable device to the wearable device. Send a report command. After receiving the report command sent by the terminal device, the wearable device can periodically or aperiodically report its time information and corresponding location information to the terminal device. The reported time information and the corresponding position information are used to generate a motion trajectory. This method is convenient for parents to determine whether their children deviate from the safe area according to the generated motion trajectory after they find out that their children's wearable devices are in a low battery state, a shutdown state, and a state of no network service. If it deviates, parents can use the terminal device to obtain the child's positioning information, so as to monitor the child, and use the wearable device to prompt or alarm to ensure the child's safety.

如图4所示,为本发明实施例中定位方法的另一个实施例示意图,可以包括:As shown in FIG. 4, it is a schematic diagram of another embodiment of the positioning method in the embodiment of the present invention, which may include:

401、所述终端设备在检测到所述可穿戴设备处于预置条件的情况下,向所述可穿戴设备发送上报指令。401. When detecting that the wearable device is in a preset condition, the terminal device sends a reporting instruction to the wearable device.

其中,所述上报指令用于指示所述可穿戴设备上报第一时间信息及对应的第一位置信息;所述预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。所述可穿戴设备接收所述终端设备发送的上报指令。Wherein, the reporting instruction is used to instruct the wearable device to report the first time information and the corresponding first location information; the preset conditions include at least one of the following: a low battery state, a shutdown state, and a no network service state . The wearable device receives the reporting instruction sent by the terminal device.

402、根据所述上报指令,所述可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。402. According to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device.

终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息。The terminal device receives the first time information and the corresponding first location information reported by the wearable device.

403、所述终端设备根据所述可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。403. The terminal device generates a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

需要说明的是,步骤401~403与图2所示的步骤201~203类似,此处不再赘述。It should be noted that steps 401 to 403 are similar to steps 201 to 203 shown in FIG. 2 , and will not be repeated here.

404、所述终端设备根据所述运动轨迹,通过确定所述可穿戴设备处于危险区域或向所述危险区域移动,所述终端设备进行报警。404. According to the movement track, the terminal device determines that the wearable device is in a dangerous area or moves toward the dangerous area, and the terminal device issues an alarm.

所述终端设备进行报警,可以包括但不限于以下的实现方式:The terminal equipment performs an alarm, which may include, but is not limited to, the following implementations:

终端设备进行自动报警;或者,terminal equipment for automatic alarm; or,

终端设备生成并显示报警的提示信息,响应用户对报警的提示信息的报警操作,进行报警;或者,The terminal device generates and displays the prompt information of the alarm, and responds to the user's alarm operation on the prompt information of the alarm, and makes an alarm; or,

终端设备生成并显示报警的提示信息,响应用户对报警的提示信息的取消报警操作,取消报警。The terminal device generates and displays the alarm prompt information, and cancels the alarm in response to the user's canceling the alarm operation on the alarm prompt information.

在本发明实施例中,在终端设备检测到可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况下,该终端设备周期性地或非周期性地向可穿戴设备发送上报指令,该可穿戴设备在接收终端设备发送的上报指令后,可以周期性地或非周期性地向该终端设备上报其时间信息及对应的位置信息,终端设备根据其接收的可穿戴设备上报的时间信息及对应的位置信息,生成运动轨迹。这种方法便于在家长发现其儿童的可穿戴设备处于低电量状态,关机状态,以及无网络服务状态中至少一项的情况之后,可以根据生成的运动轨迹判断出其儿童是否偏离安全区域,如果偏离,家长可以用终端设备获取儿童的定位信息,从而对儿童进行监护,通过终端设备报警以保障儿童的安全。In this embodiment of the present invention, when the terminal device detects that the wearable device is in at least one of a low-power state, a power-off state, and a state without network service, the terminal device periodically or aperiodically sends the wearable device to the wearable device. The device sends a report command. After receiving the report command sent by the terminal device, the wearable device can periodically or aperiodically report its time information and corresponding location information to the terminal device. The time information and the corresponding position information reported by the device are used to generate the motion trajectory. This method is convenient for parents to determine whether their children deviate from the safe area according to the generated motion trajectory after they find out that their children's wearable devices are in a low battery state, a shutdown state, and a state of no network service. If it deviates, parents can use the terminal device to obtain the positioning information of the child, so as to monitor the child, and use the terminal device to alarm to ensure the safety of the child.

通过上述方法实施例,可以实现的情况包括但不限于如下所示:Through the above method embodiments, the situations that can be realized include but are not limited to the following:

(1)在可穿戴设备处于低电量状态的情况下,终端设备显示界面显示可穿戴设备处于未联网状态,终端设备可以通过接收的时间信息及对应位置信息判断可穿戴设备的当前位置。(1) When the wearable device is in a low battery state, the display interface of the terminal device shows that the wearable device is not connected to the Internet, and the terminal device can judge the current location of the wearable device through the received time information and corresponding location information.

(2)例如:可穿戴设备在最后通话时间不足1分钟导致该可穿戴设备关机,儿童也描述不清楚自己处于什么位置。此时,终端设备可以通过接收的时间信息及对应位置信息判断儿童的当前位置。(2) For example: the wearable device was turned off when the last talk time was less than 1 minute, and the child did not describe where he was. At this time, the terminal device can determine the current location of the child through the received time information and corresponding location information.

(3)例如:儿童在放学、旅游、出行、迷路走丢的情况下,可穿戴设备由于长期工作后无电关机。此时,该可穿戴设备的备用电池处于低电量状态,终端设备可以通过接收的时间信息及对应位置信息判断儿童的当前位置。(3) For example: in the case of children leaving school, traveling, traveling, or getting lost, the wearable device is powered off due to long-term work. At this time, the backup battery of the wearable device is in a low power state, and the terminal device can determine the current location of the child through the received time information and corresponding location information.

(4)例如:儿童因为贪玩或者无意识地将其可穿戴设备进行关机操作,并且长时间没有回家。此时,终端设备可以通过接收的时间信息及对应位置信息判断孩子的当前位置。(4) For example: the child shuts down his wearable device because of playfulness or unconsciously, and does not go home for a long time. At this time, the terminal device can determine the current location of the child through the received time information and corresponding location information.

(5)在社会安全方面,例如:在小孩被拐,外出迷路,发生户外安全事故的情况下,其可穿戴设备处于低电量状态和/或关机状态。此时终端设备可以通过接收的时间信息及对应位置信息判断儿童的当前位置。(5) In terms of social security, for example, when a child is abducted, goes out and gets lost, or has an outdoor safety accident, the wearable device is in a low-battery state and/or a power-off state. At this time, the terminal device can determine the current location of the child through the received time information and corresponding location information.

可以理解的是,终端设备除了可以通过接收的时间信息及对应位置信息判断儿童的当前位置,还可以通过运动轨迹判断儿童的当前位置。It can be understood that the terminal device can not only judge the current position of the child through the received time information and corresponding position information, but also judge the current position of the child through the motion trajectory.

如图5所示,为本发明实施例中可穿戴设备的一个实施例示意图,可以包括:As shown in FIG. 5, it is a schematic diagram of an embodiment of a wearable device in an embodiment of the present invention, which may include:

收发模块501,用于在可穿戴设备处于预置条件的情况下,向终端设备上报第一时间信息及对应的第一位置信息;其中,预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。The transceiver module 501 is configured to report the first time information and the corresponding first location information to the terminal device when the wearable device is in a preset condition; wherein the preset condition includes at least one of the following: a low battery state, a shutdown status, and no network service status.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

收发模块501,具体用于接收终端设备发送的上报指令;根据上报指令,向终端设备上报第一时间信息及对应的第一位置信息。The transceiver module 501 is specifically configured to receive a reporting instruction sent by the terminal device; and report the first time information and the corresponding first location information to the terminal device according to the reporting instruction.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

收发模块501,具体用于每隔第一周期向终端设备上报第一时间信息及对应的第一位置信息。The transceiver module 501 is specifically configured to report the first time information and the corresponding first location information to the terminal device every first cycle.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

收发模块501,具体用于接收终端设备发送的第二周期的指示信息或报警的指示信息,第二周期小于第一周期;每隔第二周期向终端设备上报第二时间信息及对应的第二位置信息;或者,根据报警的指示信息进行报警。The transceiver module 501 is specifically used to receive the indication information of the second period or the indication information of the alarm sent by the terminal device, and the second period is smaller than the first period; report the second time information and the corresponding second time information to the terminal equipment every second period. Location information; or, according to the alarm indication information, alarm.

如图6所示,为本发明实施例中终端设备的一个实施例示意图,可以包括:As shown in FIG. 6, it is a schematic diagram of an embodiment of a terminal device in an embodiment of the present invention, which may include:

收发模块601,用于接收可穿戴设备上报的第一时间信息及对应的第一位置信息;A transceiver module 601, configured to receive first time information and corresponding first location information reported by the wearable device;

处理模块602,用于根据可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。The processing module 602 is configured to generate a motion trajectory according to the first time information and the corresponding first position information reported by the wearable device.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

收发模块601,具体用于在检测到可穿戴设备处于预置条件的情况下,向可穿戴设备发送上报指令;其中,上报指令用于指示可穿戴设备上报第一时间信息及对应的第一位置信息;预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。The transceiver module 601 is specifically configured to send a reporting instruction to the wearable device when it is detected that the wearable device is in a preset condition; wherein, the reporting instruction is used to instruct the wearable device to report the first time information and the corresponding first position Information; preset conditions include at least one of the following: low battery state, power off state, and no network service state.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

收发模块601,具体用于接收可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息。The transceiver module 601 is specifically configured to receive first time information and corresponding first location information reported by the wearable device every first cycle.

可选的,在本发明的一些实施例中,Optionally, in some embodiments of the present invention,

处理模块602,具体用于根据运动轨迹,通过确定可穿戴设备处于危险区域或向危险区域移动,向可穿戴设备发送第二周期的指示信息或报警的指示信息,或,进行报警;其中,第二周期小于第一周期,第二周期的指示信息用于指示可穿戴设备每隔第二周期向终端设备上报第二时间信息及对应的第二位置信息,报警的指示信息用于指示可穿戴设备进行报警。The processing module 602 is specifically configured to send the second cycle of indication information or alarm indication information to the wearable device by determining that the wearable device is in a dangerous area or moving to a dangerous area according to the movement trajectory, or to perform an alarm; The second period is less than the first period, the indication information of the second period is used to instruct the wearable device to report the second time information and the corresponding second position information to the terminal device every second period, and the indication information of the alarm is used to indicate the wearable device Make an alarm.

如图7所示,为本发明实施例中可穿戴设备或终端设备的另一个实施例示意图,图7示出的是与本发明实施例提供的可穿戴设备或终端设备相关的手机的部分结构的框图。参考图7,手机包括:射频(Radio Frequency,RF)电路710、存储器720、输入单元730、显示单元740、传感器750、音频电路760、无线保真(wireless fidelity,WiFi)模块770、处理器780、以及电源790等部件。本领域技术人员可以理解,图7中示出的手机结构并不构成对手机的限定,可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。As shown in FIG. 7 , it is a schematic diagram of another embodiment of a wearable device or a terminal device in an embodiment of the present invention. FIG. 7 shows a partial structure of a mobile phone related to the wearable device or terminal device provided by the embodiment of the present invention. block diagram. Referring to FIG. 7 , the mobile phone includes: a radio frequency (RF) circuit 710 , a memory 720 , an input unit 730 , a display unit 740 , a sensor 750 , an audio circuit 760 , a wireless fidelity (WiFi) module 770 , and a processor 780 , and power supply 790 and other components. Those skilled in the art can understand that the structure of the mobile phone shown in FIG. 7 does not constitute a limitation on the mobile phone, and may include more or less components than the one shown, or combine some components, or arrange different components.

下面结合图7对手机的各个构成部件进行具体的介绍:Below in conjunction with Figure 7, the various components of the mobile phone are introduced in detail:

RF电路710可用于收发信息或通话过程中,信号的接收和发送,特别地,将基站的下行信息接收后,给处理器780处理;另外,将设计上行的数据发送给基站。通常,RF电路710包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器(Low NoiseAmplifier,LNA)、双工器等。此外,RF电路710还可以通过无线通信与网络和其他设备通信。上述无线通信可以使用任一通信标准或协议,包括但不限于全球移动通讯系统(GlobalSystem of Mobile communication,GSM)、通用分组无线服务(General Packet RadioService,GPRS)、码分多址(Code Division Multiple Access,CDMA)、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)、长期演进(Long Term Evolution,LTE)、电子邮件、短消息服务(Short Messaging Service,SMS)等。The RF circuit 710 can be used for receiving and sending signals during transmission and reception of information or during a call. In particular, after receiving the downlink information of the base station, it is processed by the processor 780; in addition, the designed uplink data is sent to the base station. Typically, the RF circuit 710 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a Low Noise Amplifier (LNA), a duplexer, and the like. In addition, RF circuitry 710 may also communicate with networks and other devices via wireless communication. The above-mentioned wireless communication can use any communication standard or protocol, including but not limited to Global System of Mobile communication (GSM), General Packet Radio Service (General Packet Radio Service, GPRS), Code Division Multiple Access (Code Division Multiple Access) , CDMA), Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA), Long Term Evolution (Long Term Evolution, LTE), email, Short Messaging Service (Short Messaging Service, SMS) and the like.

存储器720可用于存储软件程序以及模块,处理器780通过运行存储在存储器720的软件程序以及模块,从而执行手机的各种功能应用以及数据处理。存储器720可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器720可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。The memory 720 can be used to store software programs and modules, and the processor 780 executes various functional applications and data processing of the mobile phone by running the software programs and modules stored in the memory 720 . The memory 720 may mainly include a stored program area and a stored data area, wherein the stored program area may store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; Data created by the use of the mobile phone (such as audio data, phone book, etc.), etc. Additionally, memory 720 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.

输入单元730可用于接收输入的数字或字符信息,以及产生与手机的用户设置以及功能控制有关的键信号输入。具体地,输入单元730可包括触控面板731以及其他输入设备732。触控面板731,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板731上或在触控面板731附近的操作),并根据预先设定的程式驱动相应的连接装置。可选的,触控面板731可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器780,并能接收处理器780发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板731。除了触控面板731,输入单元730还可以包括其他输入设备732。具体地,其他输入设备732可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆等中的一种或多种。The input unit 730 may be used for receiving inputted numerical or character information, and generating key signal input related to user setting and function control of the mobile phone. Specifically, the input unit 730 may include a touch panel 731 and other input devices 732 . The touch panel 731, also referred to as a touch screen, can collect the user's touch operations on or near it (such as the user's finger, stylus, etc., any suitable object or attachment on or near the touch panel 731). operation), and drive the corresponding connection device according to the preset program. Optionally, the touch panel 731 may include two parts, a touch detection device and a touch controller. Among them, the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact coordinates, and then sends it to the touch controller. To the processor 780, and can receive the command sent by the processor 780 and execute it. In addition, the touch panel 731 can be implemented in various types such as resistive, capacitive, infrared, and surface acoustic waves. Besides the touch panel 731 , the input unit 730 may further include other input devices 732 . Specifically, other input devices 732 may include, but are not limited to, one or more of physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, joysticks, and the like.

显示单元740可用于显示由用户输入的信息或提供给用户的信息以及手机的各种菜单。显示单元740可包括显示面板741,可选的,可以采用液晶显示器(Liquid CrystalDisplay,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板741。进一步的,触控面板731可覆盖显示面板741,当触控面板731检测到在其上或附近的触摸操作后,传送给处理器780以确定触摸事件的类型,随后处理器780根据触摸事件的类型在显示面板741上提供相应的视觉输出。虽然在图7中,触控面板731与显示面板741是作为两个独立的部件来实现手机的输入和输入功能,但是在某些实施例中,可以将触控面板731与显示面板741集成而实现手机的输入和输出功能。The display unit 740 may be used to display information input by the user or information provided to the user and various menus of the mobile phone. The display unit 740 may include a display panel 741, and optionally, the display panel 741 may be configured in the form of a liquid crystal display (Liquid Crystal Display, LCD), an organic light-emitting diode (Organic Light-Emitting Diode, OLED), or the like. Further, the touch panel 731 can cover the display panel 741. When the touch panel 731 detects a touch operation on or near it, it transmits the touch operation to the processor 780 to determine the type of the touch event, and then the processor 780 determines the type of the touch event according to the touch event. Type provides corresponding visual output on display panel 741 . Although in FIG. 7, the touch panel 731 and the display panel 741 are used as two independent components to realize the input and input functions of the mobile phone, in some embodiments, the touch panel 731 and the display panel 741 can be integrated to form Realize the input and output functions of the mobile phone.

手机还可包括至少一种传感器750,比如光传感器、运动传感器以及其他传感器。具体地,光传感器可包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板741的亮度,接近传感器可在手机移动到耳边时,关闭显示面板741和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别手机姿态的应用(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;至于手机还可配置的陀螺仪、气压计、湿度计、温度计、红外线传感器等其他传感器,在此不再赘述。The cell phone may also include at least one sensor 750, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor and a proximity sensor, wherein the ambient light sensor may adjust the brightness of the display panel 741 according to the brightness of the ambient light, and the proximity sensor may turn off the display panel 741 and/or when the mobile phone is moved to the ear. or backlight. As a kind of motion sensor, the accelerometer sensor can detect the magnitude of acceleration in all directions (usually three axes), and can detect the magnitude and direction of gravity when it is stationary. games, magnetometer attitude calibration), vibration recognition related functions (such as pedometer, tapping), etc.; as for other sensors such as gyroscope, barometer, hygrometer, thermometer, infrared sensor, etc. Repeat.

音频电路760、扬声器761,传声器762可提供用户与手机之间的音频接口。音频电路760可将接收到的音频数据转换后的电信号,传输到扬声器761,由扬声器761转换为声音信号输出;另一方面,传声器762将收集的声音信号转换为电信号,由音频电路760接收后转换为音频数据,再将音频数据输出处理器780处理后,经RF电路710以发送给比如另一手机,或者将音频数据输出至存储器720以便进一步处理。The audio circuit 760, the speaker 761, and the microphone 762 can provide an audio interface between the user and the mobile phone. The audio circuit 760 can convert the received audio data into an electrical signal, and transmit it to the speaker 761, and the speaker 761 converts it into a sound signal for output; on the other hand, the microphone 762 converts the collected sound signal into an electrical signal, which is converted by the audio circuit 760 After receiving, it is converted into audio data, and then the audio data is output to the processor 780 for processing, and then sent to, for example, another mobile phone through the RF circuit 710, or the audio data is output to the memory 720 for further processing.

WiFi属于短距离无线传输技术,手机通过WiFi模块770可以帮助用户收发电子邮件、浏览网页和访问流式媒体等,它为用户提供了无线的宽带互联网访问。虽然图7示出了WiFi模块770,但是可以理解的是,其并不属于手机的必须构成,完全可以根据需要在不改变发明的本质的范围内而省略。WiFi is a short-distance wireless transmission technology. The mobile phone can help users to send and receive emails, browse web pages, and access streaming media through the WiFi module 770. It provides users with wireless broadband Internet access. Although FIG. 7 shows the WiFi module 770, it can be understood that it is not an essential component of the mobile phone, and can be completely omitted as required within the scope of not changing the essence of the invention.

处理器780是手机的控制中心,利用各种接口和线路连接整个手机的各个部分,通过运行或执行存储在存储器720内的软件程序和/或模块,以及调用存储在存储器720内的数据,执行手机的各种功能和处理数据,从而对手机进行整体监控。可选的,处理器780可包括一个或多个处理单元;优选的,处理器780可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器780中。The processor 780 is the control center of the mobile phone, using various interfaces and lines to connect various parts of the entire mobile phone, by running or executing the software programs and/or modules stored in the memory 720, and calling the data stored in the memory 720. Various functions of the mobile phone and processing data, so as to monitor the mobile phone as a whole. Optionally, the processor 780 may include one or more processing units; preferably, the processor 780 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, etc. , the modem processor mainly deals with wireless communication. It can be understood that, the above-mentioned modulation and demodulation processor may not be integrated into the processor 780 .

手机还包括给各个部件供电的电源790(比如电池),优选的,电源可以通过电源管理系统与处理器780逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。The mobile phone also includes a power supply 790 (such as a battery) for supplying power to various components. Preferably, the power supply can be logically connected to the processor 780 through a power management system, so as to manage charging, discharging, and power consumption management functions through the power management system.

尽管未示出,手机还可以包括摄像头、蓝牙模块等,在此不再赘述。Although not shown, the mobile phone may also include a camera, a Bluetooth module, and the like, which will not be repeated here.

在本发明实施例中,在图7所示为可穿戴设备的示意图时,RF电路710,用于在可穿戴设备处于预置条件的情况下,可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息;其中,预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。In this embodiment of the present invention, when FIG. 7 is a schematic diagram of a wearable device, the RF circuit 710 is configured to report the first time information and the first time information to the terminal device when the wearable device is in a preset condition. Corresponding first location information; wherein the preset condition includes at least one of the following: a low battery state, a shutdown state, and a no network service state.

RF电路710,具体用于可穿戴设备接收终端设备发送的上报指令;根据上报指令,可穿戴设备向终端设备上报第一时间信息及对应的第一位置信息。The RF circuit 710 is specifically used for the wearable device to receive a reporting instruction sent by the terminal device; according to the reporting instruction, the wearable device reports the first time information and the corresponding first location information to the terminal device.

RF电路710,具体用于可穿戴设备每隔第一周期向终端设备上报第一时间信息及对应的第一位置信息。The RF circuit 710 is specifically configured for the wearable device to report the first time information and the corresponding first location information to the terminal device every first cycle.

RF电路710,具体用于可穿戴设备接收终端设备发送的第二周期的指示信息或报警的指示信息,第二周期小于第一周期;可穿戴设备每隔第二周期向终端设备上报第二时间信息及对应的第二位置信息;或者,可穿戴设备根据报警的指示信息进行报警。The RF circuit 710 is specifically used for the wearable device to receive the indication information of the second cycle or the indication information of the alarm sent by the terminal device, and the second cycle is less than the first cycle; the wearable device reports the second time to the terminal device every second cycle. information and the corresponding second location information; or, the wearable device alarms according to the indication information of the alarm.

在本发明实施例中,在图7所示为终端设备的示意图时,RF电路710,用于终端设备接收可穿戴设备上报的第一时间信息及对应的第一位置信息;终端设备根据可穿戴设备上报的第一时间信息及对应的第一位置信息,生成运动轨迹。In this embodiment of the present invention, when FIG. 7 is a schematic diagram of a terminal device, the RF circuit 710 is used for the terminal device to receive the first time information and the corresponding first location information reported by the wearable device; The first time information and the corresponding first position information reported by the device are used to generate a motion trajectory.

可选的,RF电路710,具体用于终端设备在检测到可穿戴设备处于预置条件的情况下,向可穿戴设备发送上报指令;其中,上报指令用于指示可穿戴设备上报第一时间信息及对应的第一位置信息;预置条件包括以下至少一项:低电量状态,关机状态,以及无网络服务状态。Optionally, the RF circuit 710 is specifically used for the terminal device to send a reporting instruction to the wearable device when it detects that the wearable device is in a preset condition; wherein, the reporting instruction is used to instruct the wearable device to report the first time information. and the corresponding first location information; the preset condition includes at least one of the following: a low battery state, a shutdown state, and a no network service state.

可选的,RF电路710,具体用于终端设备接收可穿戴设备每隔第一周期上报的第一时间信息及对应的第一位置信息。Optionally, the RF circuit 710 is specifically configured for the terminal device to receive the first time information and the corresponding first location information reported by the wearable device every first period.

可选的,处理器780,用于终端设备根据运动轨迹,通过确定可穿戴设备处于危险区域或向危险区域移动,向可穿戴设备发送第二周期的指示信息或报警的指示信息,或,终端设备进行报警;其中,第二周期小于第一周期,第二周期的指示信息用于指示可穿戴设备每隔第二周期向终端设备上报第二时间信息及对应的第二位置信息,报警的指示信息用于指示可穿戴设备进行报警。Optionally, the processor 780 is used for the terminal device to send the indication information of the second cycle or the indication information of the alarm to the wearable device by determining that the wearable device is in a dangerous area or moving to a dangerous area according to the movement trajectory, or, the terminal The device performs an alarm; wherein, the second cycle is less than the first cycle, and the indication information of the second cycle is used to instruct the wearable device to report the second time information and the corresponding second location information to the terminal device every second cycle, and the indication of the alarm The information is used to instruct the wearable device to alarm.

在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。In the above-mentioned embodiments, it may be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented in software, it can be implemented in whole or in part in the form of a computer program product.

所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存储的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general purpose computer, special purpose computer, computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be downloaded from a website site, computer, server, or data center Transmission to another website site, computer, server, or data center is by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (eg, infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be stored by a computer, or a data storage device such as a server, data center, etc., which includes one or more available media integrated. The usable media may be magnetic media (eg, floppy disks, hard disks, magnetic tapes), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (SSD)), among others.

所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统,装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working process of the system, device and unit described above may refer to the corresponding process in the foregoing method embodiments, which will not be repeated here.

在本发明所提供的几个实施例中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative. For example, the division of the units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not implemented. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.

另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本发明各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as an independent product, may be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention is essentially or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium , including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk and other media that can store program codes .

以上所述,以上实施例仅用以说明本发明的技术方案,而非对其限制;尽管参照前述实施例对本发明进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。As mentioned above, the above embodiments are only used to illustrate the technical solutions of the present invention, but not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand: The technical solutions described in the embodiments are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of positioning, comprising:
the method comprises the steps that under the condition that wearable equipment is in a preset condition, the wearable equipment reports first time information and corresponding first position information to terminal equipment;
wherein the preset condition comprises at least one of: a low battery state, a power off state, and a no network service state.
2. The method of claim 1, wherein reporting, by the wearable device, the first time information and the corresponding first location information to the terminal device comprises:
the wearable device receives a reporting instruction sent by the terminal device;
and according to the reporting instruction, the wearable device reports first time information and corresponding first position information to the terminal device.
3. The method of claim 1 or 2, wherein reporting, by the wearable device, the first time information and the corresponding first position information to the terminal device comprises:
and the wearable device reports first time information and corresponding first position information to the terminal device every other first period.
4. The method of claim 3, wherein after the wearable device reports the first time information and the corresponding first location information to the terminal device every first period, the method further comprises:
the wearable device receives indication information of a second period or alarm indication information sent by the terminal device, wherein the second period is smaller than the first period;
the wearable device reports second time information and corresponding second position information to the terminal device every other second period; or,
and the wearable equipment gives an alarm according to the alarm indication information.
5. A method of positioning, comprising:
the terminal equipment receives first time information reported by the wearable equipment and corresponding first position information;
and the terminal equipment generates a motion track according to the first time information reported by the wearable equipment and the corresponding first position information.
6. The method of claim 5, wherein before the terminal device receives the first time information and the corresponding first location information reported by the wearable device, the method further comprises:
the terminal equipment sends a reporting instruction to the wearable equipment when detecting that the wearable equipment is in a preset condition;
the reporting instruction is used for indicating the wearable device to report first time information and corresponding first position information; the preset conditions include at least one of: a low battery state, a power off state, and a no network service state.
7. The method according to claim 5 or 6, wherein the receiving, by the terminal device, the first time information and the corresponding first location information reported by the wearable device includes:
the terminal equipment receives first time information and corresponding first position information reported by the wearable equipment every other first period.
8. The method of claim 7, wherein after the terminal device receives the first time information and the corresponding first location information reported by the wearable device every other first period, the method further comprises:
the terminal equipment sends second-period indication information or alarm indication information to the wearable equipment or the terminal equipment gives an alarm by determining that the wearable equipment is in a dangerous area or moves to the dangerous area according to the motion track;
the second period is less than the first period, the indication information of the second period is used for indicating the wearable device to report second time information and corresponding second location information to the terminal device every other second period, and the alarm indication information is used for indicating the wearable device to alarm.
9. A wearable device, comprising:
the wearable device comprises a transceiving module, a processing module and a processing module, wherein the transceiving module is used for reporting first time information and corresponding first position information to the terminal device when the wearable device is in a preset condition; wherein the preset condition comprises at least one of: a low battery state, a power off state, and a no network service state.
10. A terminal device, comprising:
the terminal equipment is used for receiving first time information reported by the wearable equipment and corresponding first position information;
and the processing module is used for generating a motion track by the terminal equipment according to the first time information reported by the wearable equipment and the corresponding first position information.
CN202010844330.4A 2020-08-20 2020-08-20 Positioning method, wearable device, terminal device and readable storage medium Active CN112087717B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010844330.4A CN112087717B (en) 2020-08-20 2020-08-20 Positioning method, wearable device, terminal device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010844330.4A CN112087717B (en) 2020-08-20 2020-08-20 Positioning method, wearable device, terminal device and readable storage medium

Publications (2)

Publication Number Publication Date
CN112087717A true CN112087717A (en) 2020-12-15
CN112087717B CN112087717B (en) 2023-10-27

Family

ID=73728488

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010844330.4A Active CN112087717B (en) 2020-08-20 2020-08-20 Positioning method, wearable device, terminal device and readable storage medium

Country Status (1)

Country Link
CN (1) CN112087717B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113852879A (en) * 2021-11-30 2021-12-28 北京理工大学前沿技术研究院 Data transmission method and system of wearable device
CN114125796A (en) * 2021-10-29 2022-03-01 珠海读书郎软件科技有限公司 A method for data collection under abnormal conditions of a reversible phone watch
CN116567612A (en) * 2022-01-27 2023-08-08 维沃移动通信有限公司 Equipment management method and device

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625241A (en) * 2012-04-11 2012-08-01 惠州Tcl移动通信有限公司 Mobile phone position prompting processing method and mobile phone
US20150185707A1 (en) * 2013-12-30 2015-07-02 Chiun Mai Communication Systems, Inc. Wearable wireless electronic device
CN105282705A (en) * 2015-10-23 2016-01-27 广东小天才科技有限公司 Method and device for positioning mobile terminal
CN105872952A (en) * 2016-03-29 2016-08-17 北京小米移动软件有限公司 Information sending method and device based on wearable equipment
CN106249580A (en) * 2016-09-18 2016-12-21 广东小天才科技有限公司 Intelligence wrist-watch components and parts structure of arranging
JP2017005668A (en) * 2015-06-11 2017-01-05 茂 土澤 Crime prevention and disaster prevention system
CN106504473A (en) * 2016-11-24 2017-03-15 北京小米移动软件有限公司 Method, device and device for setting state of wearable device
CN107561928A (en) * 2017-10-09 2018-01-09 吴联凯 A kind of children's location watch for combining closing key
CN107561926A (en) * 2017-10-09 2018-01-09 吴联凯 A kind of children's location watch of hiding closing key
CN108471639A (en) * 2018-03-07 2018-08-31 深圳市沃特沃德股份有限公司 Wearable device and extension method in cruise duration
CN110264664A (en) * 2019-06-05 2019-09-20 中山安芯智能科技有限公司 Monitoring method and device
CN111551977A (en) * 2020-06-04 2020-08-18 手拉手信息技术有限公司 Low-power-consumption wearable positioning equipment and positioning method based on super computer

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102625241A (en) * 2012-04-11 2012-08-01 惠州Tcl移动通信有限公司 Mobile phone position prompting processing method and mobile phone
US20150185707A1 (en) * 2013-12-30 2015-07-02 Chiun Mai Communication Systems, Inc. Wearable wireless electronic device
JP2017005668A (en) * 2015-06-11 2017-01-05 茂 土澤 Crime prevention and disaster prevention system
CN105282705A (en) * 2015-10-23 2016-01-27 广东小天才科技有限公司 Method and device for positioning mobile terminal
CN105872952A (en) * 2016-03-29 2016-08-17 北京小米移动软件有限公司 Information sending method and device based on wearable equipment
CN106249580A (en) * 2016-09-18 2016-12-21 广东小天才科技有限公司 Intelligence wrist-watch components and parts structure of arranging
CN106504473A (en) * 2016-11-24 2017-03-15 北京小米移动软件有限公司 Method, device and device for setting state of wearable device
CN107561928A (en) * 2017-10-09 2018-01-09 吴联凯 A kind of children's location watch for combining closing key
CN107561926A (en) * 2017-10-09 2018-01-09 吴联凯 A kind of children's location watch of hiding closing key
CN108471639A (en) * 2018-03-07 2018-08-31 深圳市沃特沃德股份有限公司 Wearable device and extension method in cruise duration
CN110264664A (en) * 2019-06-05 2019-09-20 中山安芯智能科技有限公司 Monitoring method and device
CN111551977A (en) * 2020-06-04 2020-08-18 手拉手信息技术有限公司 Low-power-consumption wearable positioning equipment and positioning method based on super computer

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114125796A (en) * 2021-10-29 2022-03-01 珠海读书郎软件科技有限公司 A method for data collection under abnormal conditions of a reversible phone watch
CN114125796B (en) * 2021-10-29 2025-03-14 珠海读书郎软件科技有限公司 A method for collecting data under abnormal conditions of a flip phone watch
CN113852879A (en) * 2021-11-30 2021-12-28 北京理工大学前沿技术研究院 Data transmission method and system of wearable device
CN116567612A (en) * 2022-01-27 2023-08-08 维沃移动通信有限公司 Equipment management method and device

Also Published As

Publication number Publication date
CN112087717B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN106993227B (en) Method and device for information display
CN108293080A (en) A kind of method of contextual model switching
CN107592615B (en) Positioning method and device
CN106453511A (en) A data backup method and device
CN106658354B (en) Data transmission method and equipment
CN112087717A (en) A positioning method, wearable device, terminal device and readable storage medium
CN111611027A (en) A method for starting an application program, a terminal device and a readable storage medium
CN106530611A (en) Terminal, and method and apparatus of detecting fall of human body
CN105094501B (en) Method, device and system for displaying messages in mobile terminal
CN106534288B (en) A data transmission method and mobile terminal
CN106488391B (en) A data migration method and terminal device
CN109565171A (en) Charging protection method, terminal and charger
CN107566604A (en) Message reminding control method and user terminal
CN106550150A (en) Hazardous environment warning method, device and terminal
CN107066090B (en) Method for controlling fingerprint identification module and mobile terminal
CN103744574A (en) A method and device for turning off an alarm clock for a mobile terminal, and the mobile terminal
CN106775680A (en) Suspend processing method, device and the mobile terminal for notifying
CN106408869A (en) Terminal, method and apparatus for detecting the fall of a person
CN107104930A (en) It is a kind of that the methods, devices and systems for checking authority are set
CN106385482B (en) A kind of processing method of contact information, device and mobile terminal
CN112286286B (en) Standby control method, wearable device, and computer-readable storage medium
CN112085935A (en) Security detection method, wearable device and computer-readable storage medium
CN108595229A (en) navigation application starting method and related device
CN111898542A (en) A display screen control method, device and terminal
CN109041212B (en) A positioning method and wearable device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载