WO2018196225A1 - Position reporting method and apparatus, and intelligent apparatus for pets - Google Patents

Position reporting method and apparatus, and intelligent apparatus for pets Download PDF

Info

Publication number
WO2018196225A1
WO2018196225A1 PCT/CN2017/096452 CN2017096452W WO2018196225A1 WO 2018196225 A1 WO2018196225 A1 WO 2018196225A1 CN 2017096452 W CN2017096452 W CN 2017096452W WO 2018196225 A1 WO2018196225 A1 WO 2018196225A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
reporting
location
threshold
pedometer
Prior art date
Application number
PCT/CN2017/096452
Other languages
French (fr)
Chinese (zh)
Inventor
邵华
Original Assignee
深圳市沃特沃德股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 深圳市沃特沃德股份有限公司 filed Critical 深圳市沃特沃德股份有限公司
Publication of WO2018196225A1 publication Critical patent/WO2018196225A1/en

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C22/00Measuring distance traversed on the ground by vehicles, persons, animals or other moving solid bodies, e.g. using odometers, using pedometers
    • G01C22/006Pedometers

Definitions

  • the present invention relates to the field of electronic technologies, and in particular, to a location reporting method, apparatus, and pet smart device.
  • the existing position reporting device is usually worn as a pet collar on the neck of the pet, and a G PS is set in the collar, and the collar is activated to obtain the current position information and report the position information to the server. Through this method of reporting position data, it is possible to achieve real monitoring of the whereabouts of the pet.
  • the main object of the present invention is to provide a location reporting method, a device, and a pet smart device, which are intended to ensure the realism of the tracking monitoring to reduce power consumption.
  • the present invention provides a location reporting method, the method comprising the following steps: [0008] counting the number of steps of positioning target motion; [0009] Whenever the number of steps of the positioning target motion reaches a threshold value, the position data is reported once.
  • the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value includes:
  • the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value includes:
  • the step of reading the count data of the pedometer comprises: determining the count data of the read pedometer [0020]
  • different working modes correspond to different fixed orders.
  • the working mode includes a normal mode and a power saving mode
  • the fixed mode corresponding to the normal mode is smaller than the fixed time corresponding to the power saving mode
  • the method further includes:
  • the embodiment of the present invention provides a location reporting apparatus, and the apparatus includes:
  • a pedometer configured to count the number of steps of the positioning target motion
  • the position reporting module is configured to report the position data once every time the number of steps of the positioning target motion reaches a threshold value.
  • the location reporting module includes:
  • a reading unit configured to read the count data of the pedometer;
  • a determining unit configured to determine whether the counting data reaches a threshold;
  • the reporting unit is configured to: when the counting data reaches the threshold, obtain the current location data and report the data;
  • a clearing unit is configured to clear the pedometer when the count data reaches a threshold ⁇ .
  • the location reporting module includes:
  • a reading unit configured to read the count data of the pedometer
  • a calculating unit configured to calculate a difference between the count data and the last saved count data
  • a determining unit configured to determine whether the difference reaches a threshold
  • the reporting unit is configured to: when the difference reaches the threshold ⁇ , acquire current position data and report it; [0038] a saving unit, configured to save the count of the current reading when the difference reaches a threshold ⁇ data.
  • the reading unit is configured to: read the count data of the pedometer.
  • the location reporting module is further configured to: determine whether the location area code LAC changes, and report the location data once the LAC changes.
  • the embodiment of the present invention further provides a pet smart device, including: a processor, a memory, an application, where the application is stored in the memory and configured to be executed by the processor, where The application is configured to perform the aforementioned location reporting method.
  • a position reporting method provided by an embodiment of the present invention, by using the number of steps of the positioning target motion as a position reporting condition, when the number of steps of the motion reaches the threshold value, the position data is reported once, thereby reducing the positioning target at rest. Or the reporting frequency of the less moving position, compared with the fixed reporting method, the reporting method based on the number of moving steps reduces the unnecessary reporting action, and reduces the power consumption on the basis of ensuring the actuality of the tracking control. In turn, the power is saved, the standby time is prolonged, and the endurance capability of the location reporting device is improved.
  • FIG. 1 is a flow chart of an embodiment of a location reporting method according to the present invention.
  • step S12 in FIG. 1 is a specific flowchart of step S12 in FIG. 1; 3 is another specific flowchart of step S12 in FIG. 1;
  • FIG. 4 is a block diagram showing an embodiment of a position reporting device of the present invention.
  • Figure 5 is a block diagram of the pedometer of Figure 4.
  • FIG. 6 is a block diagram of the location reporting module of FIG. 4;
  • FIG. 7 is another block diagram of the location reporting module of FIG. 4.
  • the method and device for reporting the location of the embodiment of the present invention can be used for reporting the positioning of pets, children, and the elderly.
  • the location of the target including reporting to the terminal device, server, and so on.
  • the position reporting device is carried on the positioning target, and may be a collar, a necklace, or the like worn on the neck of the positioning target, or a wristband, a watch, or the like worn on the wrist of the positioning target, or otherwise worn on the positioning target.
  • the location reporting method of the embodiment of the present invention will be described in detail below by taking the location target as a pet and the location reporting device as a collar.
  • FIG. 1 an embodiment of a method for reporting a location according to the present invention is provided.
  • the method includes the following steps:
  • the collar counts the number of steps of the positioning target movement of the pet through the pedometer.
  • the pedometer can be a mechanical pedometer, an electronic pedometer, etc., preferably an electronic pedometer.
  • the pedometer comprises a vibration sensor and an electronic counter
  • the vibration sensor is arranged to detect the vibration action of the positioning target walking
  • the electronic counter is set to record the number of vibrations, that is, the number of steps of the positioning target movement.
  • the collar can accurately read the count data of the pedometer, and in order to reduce power consumption and save power, it is preferable to read the count data of the pedometer. Then, the collar determines whether the number of steps of the positioning target motion has reached the threshold since the last reported position according to the counting data of the pedometer (when the first report is performed, it determines whether the number of steps of the positioning target motion has reached the threshold since the pedometer is started) When the threshold is not reached, the location report is not performed; when the threshold is reached, the current location data is acquired and reported to the terminal device or server.
  • the threshold can be set according to actual needs, and can be set within the range of 50-250 steps, within the range of 100-250 steps, etc., such as 50 steps, 100 steps, 150 steps, 200 steps, 250 steps, and the like.
  • the collar can be set with at least two working modes, and different working modes correspond to different fixed positions, that is, the frequency of the counting data of the collar reading pedometer is different in different working modes.
  • the normal mode and the power saving mode can be set, and the normal mode is smaller than the power saving mode, that is, the interval of reading the counting data of the pedometer is extended in the power saving mode.
  • the normal mode is set to 1 minute, that is, the pedometer count data is read every 1 minute; the power saving mode is set to 5 minutes, that is, every 5 minutes. Take the count data of the pedometer once.
  • step S12 the collar can specifically report the location data in the following manner.
  • the specific process for reporting the location data by the collar includes the following steps:
  • the collar can be cyclically counted by the fixed device, and when the fixed time is expired, the fixed device automatically performs the next round of counting, and the same collar is determined to reach the fixed time.
  • the process proceeds to step S102 to read the count data of the pedometer.
  • the fixed time can be set according to actual needs, and can be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like.
  • the fixed threshold is related to the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
  • S102 Read the count data of the pedometer to determine whether the count data reaches a threshold. When the count data reaches the threshold ⁇ , the process goes to step S103; when the step data does not reach the threshold ⁇ , the process returns to step S101, and the count data of the pedometer is read again after the next data read cycle is reached.
  • the collar compares the count data read this time with the preset threshold value, and determines whether the count data reaches a (greater than or equal to) threshold. When the threshold value is reached, the process proceeds to step S103, where the location report is initiated.
  • the threshold of the number of steps can be set according to actual needs. The larger the threshold, the lower the frequency of the position reported by the collar, the smaller the power consumption, and the more power-saving, but the lower the actuality of the monitoring of the positioning target; the smaller the threshold, the higher the frequency of the position reported by the collar, the positioning target The higher the actuality of monitoring, the greater the power consumption and the more power consumption.
  • the collar acquires the current position data, and reports the position data to the server or the terminal device, and simultaneously clears the pedometer to make the pedometer re- The number of steps to accumulate the target movement. Then, the process returns to step S101, and the count data of the pedometer is read again after the next data read cycle is reached.
  • the location data can be GPS (Global Positioning)
  • the collar preferably starts GPS to acquire GPS positioning data.
  • the WIFI module is started to obtain WIFI positioning data and/or the mobile communication module is started to obtain LBS positioning data.
  • the specific process for reporting the location data by the collar includes the following steps:
  • the collar can be cyclically counted by the fixed device.
  • the fixed device automatically performs the next round of counting, and the same collar is determined to reach the fixed time.
  • the process proceeds to step S102 to read the count data of the pedometer.
  • the predetermined setting may be set according to actual needs, and may be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like. Normally, the threshold is positively correlated with the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
  • S203 Calculate a difference between the read count data and the last saved count data, and determine whether the difference reaches a threshold. When the difference reaches the threshold ⁇ , the process goes to step S204; when the difference does not reach the threshold ⁇ , the process returns to step S201, and the count data of the pedometer is read again after the next data read cycle is reached.
  • the collar subtracts the count data of the current reading from the count data that was last saved (when first read, the last saved count data may be empty, this is recorded as 0) to obtain the difference, the difference
  • the value is the number of steps to position the target motion since the last reported position (when first reported, the number of steps to position the target since the pedometer was started). Then, the collar compares the difference with the preset threshold to determine whether the difference reaches the threshold. When the threshold value is reached, the process proceeds to step S204, where the location report is initiated.
  • S204 Acquire current position data and report it, and save the count data of the current reading.
  • the collar acquires the current location data, and reports the location data to the server or the terminal device, and saves the count data read this time as the reference data for the next location report. . Then, returning to step S201, the count data of the pedometer is read again until the next data read cycle is reached.
  • the collar further determines whether the LAC (Location Area Code) changes, and when the LAC changes, the location data is reported once.
  • the LAC is an area set for paging in a mobile communication system, covering a geographical area. In order to determine the location of the mobile station, each GSM (Global System For Mobile)
  • PLMN Public Land Mobile Network, Public The coverage area of the land-based mobile network is divided into a number of location areas, and the LAC is used to identify different location areas. Therefore, the collar can report the position of the positioning target in the location area ⁇ and ⁇ in the positioning target, so as to perform tracking and tracking on the positioning target to prevent the positioning target from being lost.
  • the position reporting method of the embodiment of the present invention uses the number of steps of the positioning target motion as the position reporting condition, and reports the position data once the number of steps of the motion reaches the threshold, thereby reducing the positioning target to be stationary or moving less.
  • the frequency of reporting the position of the ⁇ compared with the reporting method of the fixed , this method of reporting based on the number of motion steps reduces the unnecessary reporting action, and reduces the power consumption while ensuring the practicality of the tracking and tracking, thereby saving the power. , prolonged the standby time and improved the endurance of the position reporting device.
  • the apparatus includes a pedometer 10 and a location reporting module 20.
  • the pedometer 10 is configured to count the number of steps of the positioning target motion;
  • the position reporting module 20 is configured to report the position data once the number of steps of the positioning target motion reaches the threshold ⁇ .
  • the pedometer 10 may be a mechanical pedometer 10, an electronic pedometer 10, etc., preferably an electronic pedometer 10.
  • the pedometer 10 includes a vibration sensor 11 and an electronic counter 12, the vibration sensor 11 is arranged to detect a vibration action of the positioning target moving cymbal, and the electronic counter 12 is set to record the number of vibrations, and the number of vibrations is The number of steps to locate the target movement.
  • the position reporting module 20 can actually read the count data of the pedometer 10, and in order to reduce power consumption and save power, it is preferable to read the count data of the pedometer 10. Then, the location reporting module 20 determines, based on the count data of the pedometer 10, whether the number of steps of the positioning target motion has reached a threshold since the last reported position (when first reported, the step of positioning the target motion since the pedometer 10 is started is determined). Whether the number reaches the threshold); when the threshold is not reached, no position report is performed; when the threshold is reached, the current location data is acquired and reported to the terminal device or server.
  • the threshold can be set according to actual needs, and can be set within the range of 50-250 steps, within the range of 100-250 steps, etc., such as setting 50 steps, 100 steps, 150 steps, 200 steps, 25
  • the position reporting device can set at least two working modes, and the different working modes correspond to different fixed positions, that is, the frequency of the counting data of the position reporting module 20 reading the pedometer 10 is different in different working modes.
  • the normal mode and the power saving mode can be set, and the fixed mode of the normal mode is smaller than the fixed mode of the power saving mode, that is, the extended position reporting module 20 reads the pedometer 10 in the power saving mode. Interval between counting data, reducing the reading frequency to save the power of the position reporting device, extending the bit Set the end of the reporting device.
  • the setting of the normal mode is set to 1 minute, that is, the position reporting module 20 reads the counting data of the pedometer 10 every 1 minute;
  • the setting mode of the power saving mode is set to 5 minutes, that is, The position reporting module 20 reads the count data of the pedometer 10 every 5 minutes.
  • the location data may be GPS positioning data, WIFI positioning data, LBS positioning data, and the like.
  • the location reporting module 20 preferably starts GPS to acquire GPS positioning data.
  • the WIFI module is started to obtain the WIFI positioning data and/or the mobile communication module is started to obtain the LBS positioning data.
  • the location reporting module 20 includes a reading unit 21, a determining unit 22, a reporting unit 23, and a clearing unit 24, and the determining unit 22 and the reading unit 21, the reporting unit 23, and The clear unit 24 is connected. among them:
  • the reading unit 21 is set to read the count data of the pedometer 10, and transmits the read count data to the judgment unit 22.
  • the reading unit 21 can actually read the count data of the pedometer 10, and in order to reduce the power consumption and save the power, the count data of the pedometer 10 is preferably selected.
  • the reading unit 21 can perform the cyclic calculation by the calibrator, and the fixed ⁇ automatically performs the next round of counting every time the predetermined time expires.
  • the peer reading unit 21 determines that the count data of the pedometer 10 is read between arrivals. It can be understood by those skilled in the art that, in addition to the above, the setting can be performed by other methods, which is not limited by the present invention.
  • the predetermined setting may be set according to actual needs, and may be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like. Normally, the threshold is positively correlated with the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
  • the determining unit 22 is configured to determine whether the read count data reaches a threshold.
  • the judging unit 22 compares the count data read this time with the preset threshold value, determines whether the count data reaches (greater than or equal to) the threshold value, and sends the judgment result to the reporting unit 23 and the clearing unit 24.
  • the threshold can be set according to actual needs. The larger the threshold, the lower the frequency of the position reported by the collar, the smaller the power consumption, and the more power-saving, but the lower the actuality of the monitoring of the positioning target; the smaller the threshold, the higher the frequency of the position reported by the collar, the positioning target The higher the actuality of monitoring, the greater the power consumption and the more power consumption.
  • the reporting unit 23 is configured to: when the read count data reaches the threshold, obtain the current location data and report it to the server or the terminal device.
  • the location data may be GPS positioning data, WIFI positioning data, LBS positioning data, and the like.
  • the reporting unit 23 preferably activates the GPS to acquire the GPS positioning data.
  • the WIFI module is started to obtain the WIFI positioning data and/or the mobile communication module is started to acquire the LBS positioning data.
  • Clear Unit 24 Set to clear the pedometer 10 when the read count data reaches the threshold ⁇ , so that the pedometer 10 reaccumulates the number of steps of the positioning target motion.
  • the location reporting module 20 includes a reading unit 21, a calculating unit 25, a determining unit 22, a reporting unit 23, and a saving unit 26, a reading unit 21, a calculating unit 25, and a determining unit. 22 is sequentially connected, and the judging unit 22 is also connected to the reporting unit 23 and the saving unit 26, respectively. among them:
  • the reading unit 21 is set to read the count data of the pedometer 10.
  • the calculating unit 25 is set to calculate a difference between the count data of the current reading and the count data of the most recent save.
  • the calculating unit 25 subtracts the count data of the current reading from the most recently saved count data (when the first reading is performed, the last saved count data may be empty, this is recorded as 0), and the difference is obtained.
  • the difference is the number of steps of the target motion since the last reported position (when first reported, the number of steps of the target motion since the pedometer 10 was started).
  • Judging unit 22 Set to determine whether the difference reaches the threshold.
  • the determining unit 22 compares the difference value with the preset threshold value, determines whether the difference value reaches the threshold value, and sends the determination result to the reporting unit 23 and the saving unit 26.
  • the reporting unit 23 is set to acquire the current location data and report it when the difference reaches the threshold ⁇ .
  • the saving unit 26 is set to save the count data of the current reading when the difference reaches the threshold value, as the reference data for the next position report reporting unit 22 to perform the comparison judgment.
  • the location reporting module 20 further determines whether the LAC changes, and when the LAC changes, reports the location data once.
  • the LAC is an area set for paging in a mobile communication system, covering a geographical area. In order to determine the location of the mobile station, the coverage area of each GSM PLMN is divided into a number of location areas, and the LAC is used to identify different location areas. Therefore, the location reporting module 20 can report the location of the positioning target in the location area ⁇ and ⁇ in the positioning target, so as to track the positioning target and prevent the positioning target from being lost.
  • the position reporting device of the embodiment of the present invention uses the number of steps of the positioning target motion as the position reporting condition When the number of steps of the motion reaches the threshold, the position data is reported once, thereby reducing the frequency at which the positioning target reports the position at a position where the position is stationary or moving less. Compared with the method of reporting the number of steps, the method of reporting based on the number of motion steps is reduced. Unnecessary reporting actions, while ensuring the actuality of the tracking and tracking, reduce power consumption, thereby saving power, extending standby time, and improving the endurance of the location reporting device.
  • the embodiment of the present invention further provides a pet smart device, including: a processor, a memory, an application, where the application is stored in the memory and configured to be executed by the processor, where The application is configured to perform a location reporting method.
  • the location reporting method includes the following steps: counting the number of steps of the positioning target motion; and reporting the position data once the number of steps of the positioning target motion reaches the threshold value.
  • the location reporting method described in this embodiment is the location reporting method in the foregoing embodiment of the present invention, and details are not described herein again.
  • the present invention includes apparatus related to performing one or more of the operations described herein.
  • These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer.
  • These devices have computer programs stored therein that are selectively activated or reconfigured.
  • Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including but not limited to any Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only)
  • a readable medium includes any medium that is stored or transmitted by a device (e.g., a computer) in a readable form.
  • each block of the block diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in the block diagrams and/or block diagrams and/or flow diagrams can be implemented by computer program instructions. .
  • these computer program instructions can be implemented by a general purpose computer, a professional computer, or a processor of other programmable data processing methods, such that the processor is executed by a computer or other programmable data processing method.
  • Inventing the structure diagram and / or block diagram and / or flow of the public The scheme specified in the box or in multiple boxes.
  • the position reporting method, the device and the pet smart device provided by the embodiment of the present invention use the number of steps of the positioning target motion as the position reporting condition, and report the position data once the number of steps of the motion reaches the threshold value, thereby The positioning target is reduced in the position where the positioning target is less or less moving.
  • the reporting method based on the number of moving steps reduces the unnecessary reporting action, and the basis for ensuring the authenticity of the tracking and tracking is improved.
  • the power consumption is reduced, thereby saving power, extending standby time, improving endurance, and industrial applicability.

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

Disclosed are a position reporting method and apparatus, and an intelligent apparatus for pets. The position reporting method comprises the following steps: counting the number of steps a located object takes (S11); and whenever the number of steps the located object takes reaches a threshold value, reporting position data once (S12). According to the position reporting method and apparatus, and the intelligent apparatus for pets, based on a mode of reporting the number of taken steps, an unnecessary reporting action is reduced, and the power consumption is reduced on the basis that the real-time performance of tracking is ensured, thus saving on electricity and improving the endurance of the position reporting apparatus.

Description

技术领域  Technical field
[0001] 本发明涉及电子技术领域, 特别是涉及到一种位置上报方法、 装置和宠物智能 装置。  [0001] The present invention relates to the field of electronic technologies, and in particular, to a location reporting method, apparatus, and pet smart device.
背景技术  Background technique
[0002] 随着人们生活水平的提高, 越来越多的人饲养宠物, 同吋饲养宠物也成为现代 人填补寂寞心灵的方式之一, 例如未生育小孩的上班族将宠物视为亲生子女般 的疼爱, 因此宠物与饲主之间建立了深厚的感情, 宠物一旦走失或失窃, 对饲 主来说不但造成物质损失, 还会受到心理伤害。 因此, 需要合适的位置上报装 置向服务器上报位置数据, 服务器根据位置数据来监控宠物的行踪, 并将监控 信息推送到饲主的终端设备, 从而防止宠物走失或失窃。  [0002] With the improvement of people's living standards, more and more people are keeping pets, and keeping pets at the same time has become one of the ways for modern people to fill their lonely hearts. For example, office workers who do not have children regard pets as their own children. The love, so the pet and the owner have established a deep relationship, once the pet is lost or stolen, the owner will not only cause material damage, but also psychological damage. Therefore, a suitable location reporting device is required to report location data to the server, and the server monitors the whereabouts of the pet based on the location data, and pushes the monitoring information to the terminal device of the owner, thereby preventing the pet from being lost or stolen.
[0003] 现有的位置上报装置通常作为宠物项圈佩戴在宠物的脖子上, 项圈内设置有 G PS, 项圈定吋启动 GPS获取当前的位置信息, 并将位置信息上报给服务器。 通过 这种定吋上报位置数据的方式, 可以实现对宠物的行踪的实吋监控。  [0003] The existing position reporting device is usually worn as a pet collar on the neck of the pet, and a G PS is set in the collar, and the collar is activated to obtain the current position information and report the position information to the server. Through this method of reporting position data, it is possible to achieve real monitoring of the whereabouts of the pet.
[0004] 这种定吋上报的方式, 定吋吋间设定得越短, 则行踪监控的实吋性越高, 但功 耗也越大; 定吋吋间设定得越长, 虽然降低了功耗, 但同吋也降低了行踪监控 的实吋性。  [0004] This method of fixed reporting, the shorter the setting is, the higher the actual tracking and tracking performance, but the higher the power consumption; the longer the setting is set, although the lowering The power consumption, but the same has reduced the reality of the tracking control.
[0005] 因此, 如何在保证行踪监控的实吋性的同吋降低功耗, 是当前急需解决的技术 问题。  [0005] Therefore, how to reduce the power consumption while ensuring the practicality of the tracking and tracking is a technical problem that needs to be solved urgently.
技术问题  technical problem
[0006] 本发明的主要目的为提供一种位置上报方法、 装置和宠物智能装置, 旨在保证 行踪监控的实吋性的同吋降低功耗。  [0006] The main object of the present invention is to provide a location reporting method, a device, and a pet smart device, which are intended to ensure the realism of the tracking monitoring to reduce power consumption.
问题的解决方案  Problem solution
技术解决方案  Technical solution
[0007] 为达以上目的, 本发明提出一种位置上报方法, 所述方法包括以下步骤: [0008] 对定位目标运动的步数进行计数; [0009] 每当所述定位目标运动的步数达到阈值吋, 上报一次位置数据。 [0007] In order to achieve the above object, the present invention provides a location reporting method, the method comprising the following steps: [0008] counting the number of steps of positioning target motion; [0009] Whenever the number of steps of the positioning target motion reaches a threshold value, the position data is reported once.
[0010] 可选地, 所述每当所述定位目标运动的步数达到阈值吋, 上报一次位置数据的 步骤包括:  [0010] Optionally, the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value includes:
[0011] 读取计步器的计数数据; [0011] reading the count data of the pedometer;
[0012] 判断所述计数数据是否达到阈值; [0012] determining whether the count data reaches a threshold;
[0013] 当所述计数数据达到阈值吋, 获取当前的位置数据并予以上报, 同吋对所述计 步器清零。  [0013] When the count data reaches the threshold 吋, the current position data is acquired and reported, and the pedometer is cleared.
[0014] 可选地, 所述每当所述定位目标运动的步数达到阈值吋, 上报一次位置数据的 步骤包括:  [0014] Optionally, the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value includes:
[0015] 读取计步器的计数数据; [0015] reading the count data of the pedometer;
[0016] 计算所述计数数据与最近一次保存的计数数据的差值;  [0016] calculating a difference between the count data and the last saved count data;
[0017] 判断所述差值是否达到阈值; [0017] determining whether the difference reaches a threshold;
[0018] 当所述差值达到阈值吋, 获取当前的位置数据并予以上报, 同吋保存本次读取 的计数数据。  [0018] When the difference reaches the threshold value, the current position data is acquired and reported, and the count data of the current reading is saved.
[0019] 可选地, 所述读取计步器的计数数据的步骤包括: 定吋读取计步器的计数数据 [0020] 可选地, 不同的工作模式对应不同的定吋吋间。  [0019] Optionally, the step of reading the count data of the pedometer comprises: determining the count data of the read pedometer [0020] Optionally, different working modes correspond to different fixed orders.
[0021] 可选地, 所述工作模式包括普通模式和省电模式, 所述普通模式对应的定吋吋 间小于所述省电模式对应的定吋吋间。  [0021] Optionally, the working mode includes a normal mode and a power saving mode, and the fixed mode corresponding to the normal mode is smaller than the fixed time corresponding to the power saving mode.
[0022] 可选地, 所述方法还包括: [0022] Optionally, the method further includes:
[0023] 判断位置区码 LAC是否发生变化; [0023] determining whether the location area code LAC changes;
[0024] 当所述 LAC发生变化吋, 上报一次位置数据。 [0024] When the LAC changes, the location data is reported once.
[0025] 本发明实施例同吋提出一种位置上报装置, 所述装置包括: [0025] The embodiment of the present invention provides a location reporting apparatus, and the apparatus includes:
[0026] 计步器, 设置为对定位目标运动的步数进行计数; [0026] a pedometer, configured to count the number of steps of the positioning target motion;
[0027] 位置上报模块, 设置为每当所述定位目标运动的步数达到阈值吋, 上报一次位 置数据。  [0027] The position reporting module is configured to report the position data once every time the number of steps of the positioning target motion reaches a threshold value.
[0028] 可选地, 所述位置上报模块包括:  [0028] Optionally, the location reporting module includes:
[0029] 读取单元, 设置为读取所述计步器的计数数据; [0030] 判断单元, 设置为判断所述计数数据是否达到阈值; [0029] a reading unit configured to read the count data of the pedometer; [0030] a determining unit, configured to determine whether the counting data reaches a threshold;
[0031] 上报单元, 设置为当所述计数数据达到阈值吋, 获取当前的位置数据并予以上 报;  [0031] the reporting unit is configured to: when the counting data reaches the threshold, obtain the current location data and report the data;
[0032] 清零单元, 设置为当所述计数数据达到阈值吋, 对所述计步器清零。  [0032] A clearing unit is configured to clear the pedometer when the count data reaches a threshold 吋.
[0033] 可选地, 所述位置上报模块包括:  [0033] Optionally, the location reporting module includes:
[0034] 读取单元, 设置为读取所述计步器的计数数据;  [0034] a reading unit configured to read the count data of the pedometer;
[0035] 计算单元, 设置为计算所述计数数据与最近一次保存的计数数据的差值; [0036] 判断单元, 设置为判断所述差值是否达到阈值;  [0035] a calculating unit, configured to calculate a difference between the count data and the last saved count data; [0036] a determining unit, configured to determine whether the difference reaches a threshold;
[0037] 上报单元, 设置为当所述差值达到阈值吋, 获取当前的位置数据并予以上报; [0038] 保存单元, 设置为当所述差值达到阈值吋, 保存本次读取的计数数据。  [0037] The reporting unit is configured to: when the difference reaches the threshold 吋, acquire current position data and report it; [0038] a saving unit, configured to save the count of the current reading when the difference reaches a threshold 吋data.
[0039] 可选地, 所述读取单元设置为: 定吋读取所述计步器的计数数据。 [0039] Optionally, the reading unit is configured to: read the count data of the pedometer.
[0040] 可选地, 所述位置上报模块还设置为: 判断位置区码 LAC是否发生变化, 当所 述 LAC发生变化吋, 上报一次位置数据。 [0040] Optionally, the location reporting module is further configured to: determine whether the location area code LAC changes, and report the location data once the LAC changes.
[0041] 本发明实施例还提出一种宠物智能装置, 包括: 处理器、 存储器、 应用程序, 其中, 所述应用程序被存储在所述存储器中并被配置为由所述处理器执行, 所 述应用程序被配置为用于执行前述位置上报方法。 [0041] The embodiment of the present invention further provides a pet smart device, including: a processor, a memory, an application, where the application is stored in the memory and configured to be executed by the processor, where The application is configured to perform the aforementioned location reporting method.
发明的有益效果  Advantageous effects of the invention
有益效果  Beneficial effect
[0042] 本发明实施例所提供的一种位置上报方法, 通过将定位目标运动的步数作为位 置上报条件, 当运动的步数达到阈值吋才上报一次位置数据, 从而降低了定位 目标在静止或走动较少吋的位置上报频率, 相对于定吋上报方式, 这种基于运 动步数的上报方式减少了不必要的上报动作, 在保证行踪监控的实吋性的基础 上降低了功耗, 进而节省了电量, 延长了待机吋间, 提高了位置上报装置的续 航能力。  [0042] A position reporting method provided by an embodiment of the present invention, by using the number of steps of the positioning target motion as a position reporting condition, when the number of steps of the motion reaches the threshold value, the position data is reported once, thereby reducing the positioning target at rest. Or the reporting frequency of the less moving position, compared with the fixed reporting method, the reporting method based on the number of moving steps reduces the unnecessary reporting action, and reduces the power consumption on the basis of ensuring the actuality of the tracking control. In turn, the power is saved, the standby time is prolonged, and the endurance capability of the location reporting device is improved.
对附图的简要说明  Brief description of the drawing
附图说明  DRAWINGS
[0043] 图 1是本发明的位置上报方法一实施例的流程图;  1 is a flow chart of an embodiment of a location reporting method according to the present invention;
[0044] 图 2是图 1中步骤 S12的具体流程图; [0045] 图 3是图 1中步骤 S12的另一具体流程图; 2 is a specific flowchart of step S12 in FIG. 1; 3 is another specific flowchart of step S12 in FIG. 1;
[0046] 图 4是本发明的位置上报装置一实施例的模块示意图;  4 is a block diagram showing an embodiment of a position reporting device of the present invention;
[0047] 图 5是图 4中的计步器的模块示意图;  Figure 5 is a block diagram of the pedometer of Figure 4;
[0048] 图 6是图 4中的位置上报模块的模块示意图;  6 is a block diagram of the location reporting module of FIG. 4;
[0049] 图 7是图 4中的位置上报模块的另一模块示意图。  7 is another block diagram of the location reporting module of FIG. 4.
[0050] 本发明目的的实现、 功能特点及优点将结合实施例, 参照附图做进一步说明。  [0050] The implementation, functional features, and advantages of the present invention will be further described with reference to the accompanying drawings.
实施该发明的最佳实施例  BEST MODE FOR CARRYING OUT THE INVENTION
本发明的最佳实施方式  BEST MODE FOR CARRYING OUT THE INVENTION
[0051] 应当理解, 此处所描述的具体实施例仅仅用以解释本发明, 并不用于限定本发 明。 The specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
[0052] 下面详细描述本发明的实施例, 所述实施例的示例在附图中示出, 其中自始至 终相同或类似的标号表示相同或类似的元件或具有相同或类似功能的元件。 下 面通过参考附图描述的实施例是示例性的, 仅用于解释本发明, 而不能解释为 对本发明的限制。  The embodiments of the present invention are described in detail below, and the examples of the embodiments are illustrated in the drawings, wherein the same or similar reference numerals are used to refer to the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are intended to be illustrative of the invention and are not to be construed as limiting.
[0053] 本技术领域技术人员可以理解, 除非特意声明, 这里使用的单数形式"一"、 " 一个"、 "所述 "和"该"也可包括复数形式。 应该进一步理解的是, 本发明的说明 书中使用的措辞"包括"是指存在所述特征、 整数、 步骤、 操作、 元件和 /或组件 , 但是并不排除存在或添加一个或多个其他特征、 整数、 步骤、 操作、 元件、 组件和 /或它们的组。 应该理解, 当我们称元件被"连接"或"耦接"到另一元件吋 , 它可以直接连接或耦接到其他元件, 或者也可以存在中间元件。 此外, 这里 使用的"连接"或"耦接"可以包括无线连接或无线耦接。 这里使用的措辞 "和 /或"包 括一个或更多个相关联的列出项的全部或任一单元和全部组合。  The singular forms "a", "an", "the" It will be further understood that the phrase "comprising", used in the <RTI ID=0.0> </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> <RTIgt; </ RTI> is intended to mean the presence of the features, integers, steps, operations, components and/or components, but does not exclude the presence or addition of one or more other features, Integers, steps, operations, components, components, and/or their groups. It will be understood that when we refer to an element being "connected" or "coupled" to another element, it can be directly connected or coupled to the other element, or an intermediate element can be present. Further, "connected" or "coupled" as used herein may include either a wireless connection or a wireless coupling. The phrase "and/or" used herein includes all or any of the elements and all combinations of one or more of the associated listed.
[0054] 本技术领域技术人员可以理解, 除非另外定义, 这里使用的所有术语 (包括技 术术语和科学术语) , 具有与本发明所属领域中的普通技术人员的一般理解相 同的意义。 还应该理解的是, 诸如通用字典中定义的那些术语, 应该被理解为 具有与现有技术的上下文中的意义一致的意义, 并且除非像这里一样被特定定 义, 否则不会用理想化或过于正式的含义来解释。  [0054] Those skilled in the art will appreciate that all terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art to which the invention belongs, unless otherwise defined. It should also be understood that terms such as those defined in a general dictionary should be understood to have meaning consistent with the meaning in the context of the prior art, and will not be idealized or excessive unless specifically defined as here. The formal meaning is explained.
[0055] 本发明实施例的位置上报方法和装置, 可以用于上报宠物、 儿童、 老人等定位 目标的位置, 包括上报到终端设备、 服务器等。 位置上报装置随身携带在定位 目标身上, 可以是佩戴在定位目标脖子上的项圈、 项链等, 也可以是穿戴在定 位目标手腕上的手环、 手表等, 或者以其它方式穿戴在定位目标身上。 以下以 定位目标为宠物, 位置上报装置为项圈为例, 对本发明实施例的位置上报方法 进行详细说明。 [0055] The method and device for reporting the location of the embodiment of the present invention can be used for reporting the positioning of pets, children, and the elderly. The location of the target, including reporting to the terminal device, server, and so on. The position reporting device is carried on the positioning target, and may be a collar, a necklace, or the like worn on the neck of the positioning target, or a wristband, a watch, or the like worn on the wrist of the positioning target, or otherwise worn on the positioning target. The location reporting method of the embodiment of the present invention will be described in detail below by taking the location target as a pet and the location reporting device as a collar.
[0056] 参照图 1, 提出本发明位置上报方法一实施例, 所述方法包括以下步骤:  [0056] Referring to FIG. 1, an embodiment of a method for reporting a location according to the present invention is provided. The method includes the following steps:
[0057] Sl l、 对定位目标运动的步数进行计数。 [0057] Sl l, counting the number of steps of the positioning target motion.
[0058] 本发明实施例中, 项圈通过计步器对宠物等定位目标运动的步数进行计数。 计 步器可以是机械计步器、 电子计步器等, 优选电子计步器。  [0058] In the embodiment of the present invention, the collar counts the number of steps of the positioning target movement of the pet through the pedometer. The pedometer can be a mechanical pedometer, an electronic pedometer, etc., preferably an electronic pedometer.
[0059] 可选地, 计步器包括振动传感器和电子计数器, 振动传感器设置为检测定位目 标走动吋的振动动作, 电子计数器设置为记录振动次数, 该振动次数即定位目 标运动的步数。  [0059] Optionally, the pedometer comprises a vibration sensor and an electronic counter, the vibration sensor is arranged to detect the vibration action of the positioning target walking ,, and the electronic counter is set to record the number of vibrations, that is, the number of steps of the positioning target movement.
[0060] S12、 每当定位目标运动的步数达到阈值吋, 上报一次位置数据。  [0060] S12. When the number of steps of the positioning target motion reaches the threshold value, the position data is reported once.
[0061] 本发明实施例中, 项圈可以实吋读取计步器的计数数据, 为了降低功耗, 节省 电能, 优选定吋读取计步器的计数数据。 然后, 项圈根据计步器的计数数据判 断自最近一次上报位置以来定位目标运动的步数是否达到阈值 (当首次上报吋 , 则判断自计步器启动以来定位目标运动的步数是否达到阈值) ; 当没有达到 阈值吋, 不进行位置上报; 当达到阈值吋, 则获取当前的位置数据并上报至终 端设备或服务器。 阈值可以根据实际需要设定, 可以设定在 50-250步的范围内、 100-250步的范围内等, 如设定为 50步、 100步、 150步、 200步、 250步等。  In the embodiment of the present invention, the collar can accurately read the count data of the pedometer, and in order to reduce power consumption and save power, it is preferable to read the count data of the pedometer. Then, the collar determines whether the number of steps of the positioning target motion has reached the threshold since the last reported position according to the counting data of the pedometer (when the first report is performed, it determines whether the number of steps of the positioning target motion has reached the threshold since the pedometer is started) When the threshold is not reached, the location report is not performed; when the threshold is reached, the current location data is acquired and reported to the terminal device or server. The threshold can be set according to actual needs, and can be set within the range of 50-250 steps, within the range of 100-250 steps, etc., such as 50 steps, 100 steps, 150 steps, 200 steps, 250 steps, and the like.
[0062] 项圈可以设置至少两种工作模式, 不同的工作模式对应不同的定吋吋间, 即不 同的工作模式下项圈读取计步器的计数数据的频率不同。 例如, 可以设置普通 模式和省电模式两种工作模式, 且普通模式的定吋吋间小于省电模式的定吋吋 间, 即在省电模式下延长读取计步器的计数数据的间隔吋间, 降低读取频率, 以节省项圈的电量, 延长项圈的续航吋间。 如: 普通模式的定吋吋间设定为 1分 钟, 即每隔 1分钟读取一次计步器的计数数据; 省电模式的定吋吋间设定为 5分 钟, 即每隔 5分钟读取一次计步器的计数数据。  [0062] The collar can be set with at least two working modes, and different working modes correspond to different fixed positions, that is, the frequency of the counting data of the collar reading pedometer is different in different working modes. For example, the normal mode and the power saving mode can be set, and the normal mode is smaller than the power saving mode, that is, the interval of reading the counting data of the pedometer is extended in the power saving mode. During the day, reduce the reading frequency to save the power of the collar and extend the life of the collar. For example, the normal mode is set to 1 minute, that is, the pedometer count data is read every 1 minute; the power saving mode is set to 5 minutes, that is, every 5 minutes. Take the count data of the pedometer once.
[0063] 步骤 S12中, 项圈具体可以通过以下方式上报位置数据。 [0064] 可选地, 如图 2所示, 项圈上报位置数据的具体流程包括以下步骤: [0063] In step S12, the collar can specifically report the location data in the following manner. [0064] Optionally, as shown in FIG. 2, the specific process for reporting the location data by the collar includes the following steps:
[0065] S101、 到达定吋吋间。 [0065] S101. Arriving at a fixed time.
[0066] 本发明实施例中, 项圈可以通过定吋器进行循环计吋, 每当定吋吋间届满吋, 定吋器自动进行下一轮计吋, 同吋项圈判定到达定吋吋间, 幵启数据读取周期 , 进入步骤 S102读取计步器的计数数据。 本领域技术人员可以理解, 除此之外 , 也可以通过其它计吋方式进行定吋设定, 本发明对此不作限定。  [0066] In the embodiment of the present invention, the collar can be cyclically counted by the fixed device, and when the fixed time is expired, the fixed device automatically performs the next round of counting, and the same collar is determined to reach the fixed time. When the data read cycle is started, the process proceeds to step S102 to read the count data of the pedometer. It can be understood by those skilled in the art that, in addition, the setting can be performed by other methods, which is not limited by the present invention.
[0067] 所述定吋吋间可以根据实际需要设定, 可以设定为 1-10分钟, 如设定为 1分钟 、 3分钟、 5分钟等。 通常的, 定吋吋间与步数的阈值相关, 步数的阈值设定得 越大, 定吋吋间也可以相应的设定得越大。  [0067] The fixed time can be set according to actual needs, and can be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like. Normally, the fixed threshold is related to the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
[0068] S102、 读取计步器的计数数据, 判断计数数据是否达到阈值。 当计数数据达到 阈值吋, 进入步骤 S103; 当计步数据没有达到阈值吋, 返回步骤 S101, 待到达 下一个数据读取周期吋再次读取计步器的计数数据。  [0068] S102. Read the count data of the pedometer to determine whether the count data reaches a threshold. When the count data reaches the threshold 吋, the process goes to step S103; when the step data does not reach the threshold 吋, the process returns to step S101, and the count data of the pedometer is read again after the next data read cycle is reached.
[0069] 项圈比较本次读取的计数数据与预设的阈值的大小, 判断计数数据是否达到 ( 大于或等于) 阈值。 当达到阈值吋, 则进入步骤 S103, 启动位置上报。  [0069] The collar compares the count data read this time with the preset threshold value, and determines whether the count data reaches a (greater than or equal to) threshold. When the threshold value is reached, the process proceeds to step S103, where the location report is initiated.
[0070] 步数的阈值可以根据实际需要设定。 阈值越大, 则项圈上报位置的频率越低, 功耗越小, 更加省电, 但对定位目标监控的实吋性越低; 阈值越小, 则项圈上 报位置的频率越高, 对定位目标监控的实吋性越高, 但功耗越大, 更加耗电。  [0070] The threshold of the number of steps can be set according to actual needs. The larger the threshold, the lower the frequency of the position reported by the collar, the smaller the power consumption, and the more power-saving, but the lower the actuality of the monitoring of the positioning target; the smaller the threshold, the higher the frequency of the position reported by the collar, the positioning target The higher the actuality of monitoring, the greater the power consumption and the more power consumption.
[0071] S103、 获取当前的位置数据并予以上报, 同吋对计步器清零。  [0071] S103. Acquire current position data and report it, and clear the pedometer.
[0072] 当本次读取的计数数据达到阈值吋, 项圈则获取当前的位置数据, 并将该位置 数据上报到服务器或者终端设备, 同吋对计步器清零, 以使计步器重新累计定 位目标运动的步数。 然后返回步骤 S101, 待到达下一个数据读取周期吋再次读 取计步器的计数数据。  [0072] When the count data of the current reading reaches the threshold value, the collar acquires the current position data, and reports the position data to the server or the terminal device, and simultaneously clears the pedometer to make the pedometer re- The number of steps to accumulate the target movement. Then, the process returns to step S101, and the count data of the pedometer is read again after the next data read cycle is reached.
[0073] 位置数据可以是 GPS (Global Positioning  [0073] The location data can be GPS (Global Positioning)
System, 全球定位系统)定位数据、 WIFI ( Wireless-Fidelity , 无线保真) 定位数 据、 LBS (Location Based  System, Global Positioning System) Positioning Data, WIFI (Wireless Fidelity) Positioning Data, LBS (Location Based
Service, 基于位置服务) 定位数据等。 项圈优选启动 GPS获取 GPS定位数据, 当 无法获取 GPS定位数据吋, 再启动 WIFI模块获取 WIFI定位数据和 /或启动移动通 信模块获取 LBS定位数据。 [0074] 可选地, 如图 3所示, 项圈上报位置数据的具体流程包括以下步骤: Service, location based service) Positioning data, etc. The collar preferably starts GPS to acquire GPS positioning data. When the GPS positioning data cannot be obtained, the WIFI module is started to obtain WIFI positioning data and/or the mobile communication module is started to obtain LBS positioning data. [0074] Optionally, as shown in FIG. 3, the specific process for reporting the location data by the collar includes the following steps:
[0075] S201、 到达定吋吋间。 [0075] S201, reaching a fixed time.
[0076] 本发明实施例中, 项圈可以通过定吋器进行循环计吋, 每当定吋吋间届满吋, 定吋器自动进行下一轮计吋, 同吋项圈判定到达定吋吋间, 幵启数据读取周期 , 进入步骤 S102读取计步器的计数数据。 本领域技术人员可以理解, 除此之外 , 也可以通过其它计吋方式进行定吋设定, 本发明对此不作限定。  [0076] In the embodiment of the present invention, the collar can be cyclically counted by the fixed device. When the fixed time is expired, the fixed device automatically performs the next round of counting, and the same collar is determined to reach the fixed time. When the data read cycle is started, the process proceeds to step S102 to read the count data of the pedometer. It can be understood by those skilled in the art that, in addition, the setting can be performed by other methods, which is not limited by the present invention.
[0077] 所述定吋吋间可以根据实际需要设定, 可以设定为 1-10分钟, 如设定为 1分钟 、 3分钟、 5分钟等。 通常的, 定吋吋间与步数的阈值正相关, 步数的阈值设定 得越大, 定吋吋间也可以相应的设定得越大。  [0077] The predetermined setting may be set according to actual needs, and may be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like. Normally, the threshold is positively correlated with the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
[0078] S202、 读取计步器的计数数据。  [0078] S202. Read the count data of the pedometer.
[0079] S203、 计算读取的计数数据与最近一次保存的计数数据的差值, 判断差值是否 达到阈值。 当差值达到阈值吋, 进入步骤 S204; 当差值没有达到阈值吋, 返回 步骤 S201, 待到达下一个数据读取周期吋再次读取计步器的计数数据。  [0079] S203. Calculate a difference between the read count data and the last saved count data, and determine whether the difference reaches a threshold. When the difference reaches the threshold 吋, the process goes to step S204; when the difference does not reach the threshold 吋, the process returns to step S201, and the count data of the pedometer is read again after the next data read cycle is reached.
[0080] 项圈将本次读取的计数数据减去最近一次保存的计数数据 (当首次读取吋, 最 近一次保存的计数数据有可能为空, 此吋记为 0) 获得差值, 该差值即自最近一 次上报位置以来定位目标运动的步数 (当首次上报吋, 则为自计步器启动以来 定位目标运动的步数) 。 然后, 项圈比较差值与预设的阈值的大小, 判断差值 是否达到阈值。 当达到阈值吋, 则进入步骤 S204, 启动位置上报。  [0080] The collar subtracts the count data of the current reading from the count data that was last saved (when first read, the last saved count data may be empty, this is recorded as 0) to obtain the difference, the difference The value is the number of steps to position the target motion since the last reported position (when first reported, the number of steps to position the target since the pedometer was started). Then, the collar compares the difference with the preset threshold to determine whether the difference reaches the threshold. When the threshold value is reached, the process proceeds to step S204, where the location report is initiated.
[0081] S204、 获取当前的位置数据并予以上报, 同吋保存本次读取的计数数据。 [0081] S204. Acquire current position data and report it, and save the count data of the current reading.
[0082] 当差值达到阈值吋, 项圈则获取当前的位置数据, 并将该位置数据上报到服务 器或者终端设备, 同吋保存本次读取的计数数据, 以作为下一次位置上报的参 考数据。 然后返回步骤 S201 , 待到达下一个数据读取周期吋再次读取计步器的 计数数据。 [0082] When the difference reaches the threshold value, the collar acquires the current location data, and reports the location data to the server or the terminal device, and saves the count data read this time as the reference data for the next location report. . Then, returning to step S201, the count data of the pedometer is read again until the next data read cycle is reached.
[0083] 进一步地, 项圈还判断 LAC (Location Area Code , 位置区码) 是否发生变化, 当 LAC发生变化吋, 上报一次位置数据。 LAC是移动通信系统中为寻呼而设置 的一个区域, 覆盖一片地理区域。 为了确定移动台的位置, 每个 GSM (Global System For Mobile  [0083] Further, the collar further determines whether the LAC (Location Area Code) changes, and when the LAC changes, the location data is reported once. The LAC is an area set for paging in a mobile communication system, covering a geographical area. In order to determine the location of the mobile station, each GSM (Global System For Mobile)
Communications , 全球移动通信系统) PLMN (Public Land Mobile Network, 公 共陆地移动网络) 的覆盖区都被划分成许多位置区, LAC则用于标识不同的位 置区。 从而, 使得项圈可以在定位目标跨越位置区吋及吋上报定位目标的位置 , 以便于对定位目标进行及吋跟踪, 防止定位目标丢失。 Communications, Global System for Mobile Communications) PLMN (Public Land Mobile Network, Public The coverage area of the land-based mobile network is divided into a number of location areas, and the LAC is used to identify different location areas. Therefore, the collar can report the position of the positioning target in the location area 吋 and 吋 in the positioning target, so as to perform tracking and tracking on the positioning target to prevent the positioning target from being lost.
[0084] 本发明实施例的位置上报方法, 通过将定位目标运动的步数作为位置上报条件 , 当运动的步数达到阈值吋才上报一次位置数据, 从而降低了定位目标在静止 或走动较少吋的位置上报频率, 相对于定吋上报方式, 这种基于运动步数的上 报方式减少了不必要的上报动作, 在保证行踪监控的实吋性的同吋降低了功耗 , 进而节省了电量, 延长了待机吋间, 提高了位置上报装置的续航能力。  The position reporting method of the embodiment of the present invention uses the number of steps of the positioning target motion as the position reporting condition, and reports the position data once the number of steps of the motion reaches the threshold, thereby reducing the positioning target to be stationary or moving less. The frequency of reporting the position of the 吋, compared with the reporting method of the fixed ,, this method of reporting based on the number of motion steps reduces the unnecessary reporting action, and reduces the power consumption while ensuring the practicality of the tracking and tracking, thereby saving the power. , prolonged the standby time and improved the endurance of the position reporting device.
[0085] 参照图 4, 提出本发明的位置上报装置一实施例, 所述装置包括计步器 10和位 置上报模块 20。 其中, 计步器 10设置为对定位目标运动的步数进行计数; 位置 上报模块 20设置为每当定位目标运动的步数达到阈值吋, 上报一次位置数据。  Referring to FIG. 4, an embodiment of a position reporting apparatus of the present invention is proposed. The apparatus includes a pedometer 10 and a location reporting module 20. The pedometer 10 is configured to count the number of steps of the positioning target motion; the position reporting module 20 is configured to report the position data once the number of steps of the positioning target motion reaches the threshold 吋.
[0086] 计步器 10可以是机械计步器 10、 电子计步器 10等, 优选电子计步器 10。 可选地 , 如图 5所示, 计步器 10包括振动传感器 11和电子计数器 12, 振动传感器 11设置 为检测定位目标走动吋的振动动作, 电子计数器 12设置为记录振动次数, 该振 动次数即定位目标运动的步数。  [0086] The pedometer 10 may be a mechanical pedometer 10, an electronic pedometer 10, etc., preferably an electronic pedometer 10. Optionally, as shown in FIG. 5, the pedometer 10 includes a vibration sensor 11 and an electronic counter 12, the vibration sensor 11 is arranged to detect a vibration action of the positioning target moving cymbal, and the electronic counter 12 is set to record the number of vibrations, and the number of vibrations is The number of steps to locate the target movement.
[0087] 位置上报模块 20可以实吋读取计步器 10的计数数据, 为了降低功耗, 节省电能 , 优选定吋读取计步器 10的计数数据。 然后, 位置上报模块 20根据计步器 10的 计数数据判断自最近一次上报位置以来定位目标运动的步数是否达到阈值 (当 首次上报吋, 则判断自计步器 10启动以来定位目标运动的步数是否达到阈值) ; 当没有达到阈值吋, 不进行位置上报; 当达到阈值吋, 则获取当前的位置数 据并上报至终端设备或服务器。 阈值可以根据实际需要设定, 可以设定在 50-250 步的范围内、 100-250步的范围内等, 如设定为 50步、 100步、 150步、 200步、 25 [0087] The position reporting module 20 can actually read the count data of the pedometer 10, and in order to reduce power consumption and save power, it is preferable to read the count data of the pedometer 10. Then, the location reporting module 20 determines, based on the count data of the pedometer 10, whether the number of steps of the positioning target motion has reached a threshold since the last reported position (when first reported, the step of positioning the target motion since the pedometer 10 is started is determined). Whether the number reaches the threshold); when the threshold is not reached, no position report is performed; when the threshold is reached, the current location data is acquired and reported to the terminal device or server. The threshold can be set according to actual needs, and can be set within the range of 50-250 steps, within the range of 100-250 steps, etc., such as setting 50 steps, 100 steps, 150 steps, 200 steps, 25
0步等。 0 steps and so on.
位置上报装置可以设置至少两种工作模式, 不同的工作模式对应不同的定吋吋 间, 即不同的工作模式下位置上报模块 20读取计步器 10的计数数据的频率不同 。 例如, 可以设置普通模式和省电模式两种工作模式, 且普通模式的定吋吋间 小于省电模式的定吋吋间, 即在省电模式下延长位置上报模块 20读取计步器 10 的计数数据的间隔吋间, 降低读取频率, 以节省位置上报装置的电量, 延长位 置上报装置的续航吋间。 如: 普通模式的定吋吋间设定为 1分钟, 即位置上报模 块 20每隔 1分钟读取一次计步器 10的计数数据; 省电模式的定吋吋间设定为 5分 钟, 即位置上报模块 20每隔 5分钟读取一次计步器 10的计数数据。 The position reporting device can set at least two working modes, and the different working modes correspond to different fixed positions, that is, the frequency of the counting data of the position reporting module 20 reading the pedometer 10 is different in different working modes. For example, the normal mode and the power saving mode can be set, and the fixed mode of the normal mode is smaller than the fixed mode of the power saving mode, that is, the extended position reporting module 20 reads the pedometer 10 in the power saving mode. Interval between counting data, reducing the reading frequency to save the power of the position reporting device, extending the bit Set the end of the reporting device. For example, the setting of the normal mode is set to 1 minute, that is, the position reporting module 20 reads the counting data of the pedometer 10 every 1 minute; the setting mode of the power saving mode is set to 5 minutes, that is, The position reporting module 20 reads the count data of the pedometer 10 every 5 minutes.
[0089] 位置数据可以是 GPS定位数据、 WIFI定位数据、 LBS定位数据等。 位置上报模 块 20优选启动 GPS获取 GPS定位数据, 当无法获取 GPS定位数据吋, 再启动 WIFI 模块获取 WIFI定位数据和 /或启动移动通信模块获取 LBS定位数据。  [0089] The location data may be GPS positioning data, WIFI positioning data, LBS positioning data, and the like. The location reporting module 20 preferably starts GPS to acquire GPS positioning data. When the GPS positioning data cannot be obtained, the WIFI module is started to obtain the WIFI positioning data and/or the mobile communication module is started to obtain the LBS positioning data.
[0090] 可选地, 如图 6所示, 位置上报模块 20包括读取单元 21、 判断单元 22、 上报单 元 23和清零单元 24, 判断单元 22分别与读取单元 21、 上报单元 23和清零单元 24 连接。 其中:  [0090] Optionally, as shown in FIG. 6, the location reporting module 20 includes a reading unit 21, a determining unit 22, a reporting unit 23, and a clearing unit 24, and the determining unit 22 and the reading unit 21, the reporting unit 23, and The clear unit 24 is connected. among them:
[0091] 读取单元 21 : 设置为读取计步器 10的计数数据, 并将读取的计数数据发送给判 断单元 22。  [0091] The reading unit 21: is set to read the count data of the pedometer 10, and transmits the read count data to the judgment unit 22.
[0092] 读取单元 21可以实吋读取计步器 10的计数数据, 为了降低功耗, 节省电能, 优 选定吋读取计步器 10的计数数据。  [0092] The reading unit 21 can actually read the count data of the pedometer 10, and in order to reduce the power consumption and save the power, the count data of the pedometer 10 is preferably selected.
[0093] 定吋读取计步器 10的计数数据吋, 读取单元 21可以通过定吋器进行循环计吋, 每当定吋吋间届满吋, 定吋器自动进行下一轮计吋, 同吋读取单元 21判定到达 定吋吋间, 读取计步器 10的计数数据。 本领域技术人员可以理解, 除此之外, 也可以通过其它计吋方式进行定吋设定, 本发明对此不作限定。  [0093] After reading the count data 吋 of the pedometer 10, the reading unit 21 can perform the cyclic calculation by the calibrator, and the fixed 自动 automatically performs the next round of counting every time the predetermined time expires. The peer reading unit 21 determines that the count data of the pedometer 10 is read between arrivals. It can be understood by those skilled in the art that, in addition to the above, the setting can be performed by other methods, which is not limited by the present invention.
[0094] 所述定吋吋间可以根据实际需要设定, 可以设定为 1-10分钟, 如设定为 1分钟 、 3分钟、 5分钟等。 通常的, 定吋吋间与步数的阈值正相关, 步数的阈值设定 得越大, 定吋吋间也可以相应的设定得越大。  [0094] The predetermined setting may be set according to actual needs, and may be set to 1-10 minutes, such as 1 minute, 3 minutes, 5 minutes, and the like. Normally, the threshold is positively correlated with the threshold of the number of steps, and the threshold of the number of steps is set larger, and the setting can be set accordingly.
[0095] 判断单元 22: 设置为判断读取的计数数据是否达到阈值。  [0095] The determining unit 22: is configured to determine whether the read count data reaches a threshold.
[0096] 判断单元 22比较本次读取的计数数据与预设的阈值的大小, 判断计数数据是否 达到 (大于或等于) 阈值, 并将判断结果发送给上报单元 23和清零单元 24。  The judging unit 22 compares the count data read this time with the preset threshold value, determines whether the count data reaches (greater than or equal to) the threshold value, and sends the judgment result to the reporting unit 23 and the clearing unit 24.
[0097] 阈值可以根据实际需要设定。 阈值越大, 则项圈上报位置的频率越低, 功耗越 小, 更加省电, 但对定位目标监控的实吋性越低; 阈值越小, 则项圈上报位置 的频率越高, 对定位目标监控的实吋性越高, 但功耗越大, 更加耗电。  [0097] The threshold can be set according to actual needs. The larger the threshold, the lower the frequency of the position reported by the collar, the smaller the power consumption, and the more power-saving, but the lower the actuality of the monitoring of the positioning target; the smaller the threshold, the higher the frequency of the position reported by the collar, the positioning target The higher the actuality of monitoring, the greater the power consumption and the more power consumption.
[0098] 上报单元 23: 设置为当读取的计数数据达到阈值吋, 获取当前的位置数据并上 报给服务器或终端设备。 [0099] 位置数据可以是 GPS定位数据、 WIFI定位数据、 LBS定位数据等。 上报单元 23 优选启动 GPS获取 GPS定位数据, 当无法获取 GPS定位数据吋, 再启动 WIFI模块 获取 WIFI定位数据和 /或启动移动通信模块获取 LBS定位数据。 [0098] The reporting unit 23 is configured to: when the read count data reaches the threshold, obtain the current location data and report it to the server or the terminal device. [0099] The location data may be GPS positioning data, WIFI positioning data, LBS positioning data, and the like. The reporting unit 23 preferably activates the GPS to acquire the GPS positioning data. When the GPS positioning data cannot be acquired, the WIFI module is started to obtain the WIFI positioning data and/or the mobile communication module is started to acquire the LBS positioning data.
[0100] 清零单元 24: 设置为当读取的计数数据达到阈值吋, 对计步器 10清零, 以使计 步器 10重新累计定位目标运动的步数。  [0100] Clear Unit 24: Set to clear the pedometer 10 when the read count data reaches the threshold 以, so that the pedometer 10 reaccumulates the number of steps of the positioning target motion.
[0101] 可选地, 如图 7所示, 位置上报模块 20包括读取单元 21、 计算单元 25、 判断单 元 22、 上报单元 23和保存单元 26, 读取单元 21、 计算单元 25和判断单元 22依次 连接, 判断单元 22还分别与上报单元 23和保存单元 26连接。 其中:  [0101] Optionally, as shown in FIG. 7, the location reporting module 20 includes a reading unit 21, a calculating unit 25, a determining unit 22, a reporting unit 23, and a saving unit 26, a reading unit 21, a calculating unit 25, and a determining unit. 22 is sequentially connected, and the judging unit 22 is also connected to the reporting unit 23 and the saving unit 26, respectively. among them:
[0102] 读取单元 21 : 设置为读取计步器 10的计数数据。  [0102] The reading unit 21: is set to read the count data of the pedometer 10.
[0103] 计算单元 25: 设置为计算本次读取的计数数据与最近一次保存的计数数据的差 值。  [0103] The calculating unit 25: is set to calculate a difference between the count data of the current reading and the count data of the most recent save.
[0104] 计算单元 25将本次读取的计数数据减去最近一次保存的计数数据 (当首次读取 吋, 最近一次保存的计数数据有可能为空, 此吋记为 0) 获得差值, 该差值即自 最近一次上报位置以来定位目标运动的步数 (当首次上报吋, 则为自计步器 10 启动以来定位目标运动的步数) 。  [0104] The calculating unit 25 subtracts the count data of the current reading from the most recently saved count data (when the first reading is performed, the last saved count data may be empty, this is recorded as 0), and the difference is obtained. The difference is the number of steps of the target motion since the last reported position (when first reported, the number of steps of the target motion since the pedometer 10 was started).
[0105] 判断单元 22: 设置为判断差值是否达到阈值。  [0105] Judging unit 22: Set to determine whether the difference reaches the threshold.
[0106] 判断单元 22比较差值与预设的阈值的大小, 判断差值是否达到阈值, 并将判断 结果发送给上报单元 23和保存单元 26。  The determining unit 22 compares the difference value with the preset threshold value, determines whether the difference value reaches the threshold value, and sends the determination result to the reporting unit 23 and the saving unit 26.
[0107] 上报单元 23: 设置为当差值达到阈值吋, 获取当前的位置数据并予以上报。  [0107] The reporting unit 23: is set to acquire the current location data and report it when the difference reaches the threshold 吋.
[0108] 保存单元 26: 设置为当差值达到阈值吋, 保存本次读取的计数数据, 以作为下 一次位置上报吋判断单元 22进行比较判断的参考数据。  [0108] The saving unit 26: is set to save the count data of the current reading when the difference reaches the threshold value, as the reference data for the next position report reporting unit 22 to perform the comparison judgment.
[0109] 进一步地, 位置上报模块 20还判断 LAC是否发生变化, 当 LAC发生变化吋, 上 报一次位置数据。 LAC是移动通信系统中为寻呼而设置的一个区域, 覆盖一片 地理区域。 为了确定移动台的位置, 每个 GSM PLMN的覆盖区都被划分成许多 位置区, LAC则用于标识不同的位置区。 从而, 使得位置上报模块 20可以在定 位目标跨越位置区吋及吋上报定位目标的位置, 以便于对定位目标进行及吋跟 踪, 防止定位目标丢失。  [0109] Further, the location reporting module 20 further determines whether the LAC changes, and when the LAC changes, reports the location data once. The LAC is an area set for paging in a mobile communication system, covering a geographical area. In order to determine the location of the mobile station, the coverage area of each GSM PLMN is divided into a number of location areas, and the LAC is used to identify different location areas. Therefore, the location reporting module 20 can report the location of the positioning target in the location area 吋 and 在 in the positioning target, so as to track the positioning target and prevent the positioning target from being lost.
[0110] 本发明实施例的位置上报装置, 通过将定位目标运动的步数作为位置上报条件 , 当运动的步数达到阈值吋才上报一次位置数据, 从而降低了定位目标在静止 或走动较少吋的位置上报频率, 相对于定吋上报方式, 这种基于运动步数的上 报方式减少了不必要的上报动作, 在保证行踪监控的实吋性的同吋降低了功耗 , 进而节省了电量, 延长了待机吋间, 提高了位置上报装置的续航能力。 [0110] The position reporting device of the embodiment of the present invention uses the number of steps of the positioning target motion as the position reporting condition When the number of steps of the motion reaches the threshold, the position data is reported once, thereby reducing the frequency at which the positioning target reports the position at a position where the position is stationary or moving less. Compared with the method of reporting the number of steps, the method of reporting based on the number of motion steps is reduced. Unnecessary reporting actions, while ensuring the actuality of the tracking and tracking, reduce power consumption, thereby saving power, extending standby time, and improving the endurance of the location reporting device.
[0111] 本发明实施例还提出一种宠物智能装置, 包括: 处理器、 存储器、 应用程序, 其中, 所述应用程序被存储在所述存储器中并被配置为由所述处理器执行, 所 述应用程序被配置为用于执行位置上报方法。 所述位置上报方法包括以下步骤 : 对定位目标运动的步数进行计数; 每当所述定位目标运动的步数达到阈值吋 , 上报一次位置数据。 本实施例中所描述的位置上报方法为本发明中上述实施 例所涉及的位置上报方法, 在此不再赘述。 [0111] The embodiment of the present invention further provides a pet smart device, including: a processor, a memory, an application, where the application is stored in the memory and configured to be executed by the processor, where The application is configured to perform a location reporting method. The location reporting method includes the following steps: counting the number of steps of the positioning target motion; and reporting the position data once the number of steps of the positioning target motion reaches the threshold value. The location reporting method described in this embodiment is the location reporting method in the foregoing embodiment of the present invention, and details are not described herein again.
[0112] 本领域技术人员可以理解, 本发明包括涉及用于执行本申请中所述操作中的一 项或多项的设备。 这些设备可以为所需的目的而专门设计和制造, 或者也可以 包括通用计算机中的已知设备。 这些设备具有存储在其内的计算机程序, 这些 计算机程序选择性地激活或重构。 这样的计算机程序可以被存储在设备 (例如 , 计算机) 可读介质中或者存储在适于存储电子指令并分别耦联到总线的任何 类型的介质中, 所述计算机可读介质包括但不限于任何类型的盘 (包括软盘、 硬盘、 光盘、 CD-ROM、 和磁光盘) 、 ROM (Read-Only Memory , 只读存储器 ) 、 RAM (Random Access Memory , 随机存储器) 、 EPROM (Erasable Programmable Read-Only  Those skilled in the art will appreciate that the present invention includes apparatus related to performing one or more of the operations described herein. These devices may be specially designed and manufactured for the required purposes, or may also include known devices in a general purpose computer. These devices have computer programs stored therein that are selectively activated or reconfigured. Such computer programs may be stored in a device (eg, computer) readable medium or in any type of medium suitable for storing electronic instructions and respectively coupled to a bus, including but not limited to any Types of disks (including floppy disks, hard disks, CDs, CD-ROMs, and magneto-optical disks), ROM (Read-Only Memory), RAM (Random Access Memory), EPROM (Erasable Programmable Read-Only)
Memory , 可擦写可编程只读存储器) 、 EEPROM (Electrically Erasable Memory, rewritable programmable read only memory), EEPROM (Electrically Erasable
Programmable Read-Only Memory , 电可擦可编程只读存储器) 、 闪存、 磁性卡 片或光线卡片。 也就是, 可读介质包括由设备 (例如, 计算机) 以能够读的形 式存储或传输信息的任何介质。 Programmable Read-Only Memory, Flash, Magnetic Card or Light Card. That is, a readable medium includes any medium that is stored or transmitted by a device (e.g., a computer) in a readable form.
本技术领域技术人员可以理解, 可以用计算机程序指令来实现这些结构图和 / 或框图和 /或流图中的每个框以及这些结构图和 /或框图和 /或流图中的框的组合。 本技术领域技术人员可以理解, 可以将这些计算机程序指令提供给通用计算机 、 专业计算机或其他可编程数据处理方法的处理器来实现, 从而通过计算机或 其他可编程数据处理方法的处理器来执行本发明公幵的结构图和 /或框图和 /或流 图的框或多个框中指定的方案。 Those skilled in the art will appreciate that each block of the block diagrams and/or block diagrams and/or flow diagrams and combinations of blocks in the block diagrams and/or block diagrams and/or flow diagrams can be implemented by computer program instructions. . Those skilled in the art will appreciate that these computer program instructions can be implemented by a general purpose computer, a professional computer, or a processor of other programmable data processing methods, such that the processor is executed by a computer or other programmable data processing method. Inventing the structure diagram and / or block diagram and / or flow of the public The scheme specified in the box or in multiple boxes.
[0114] 本技术领域技术人员可以理解, 本发明中已经讨论过的各种操作、 方法、 流程 中的步骤、 措施、 方案可以被交替、 更改、 组合或刪除。 进一步地, 具有本发 明中已经讨论过的各种操作、 方法、 流程中的其他步骤、 措施、 方案也可以被 交替、 更改、 重排、 分解、 组合或刪除。 进一步地, 现有技术中的具有与本发 明中公幵的各种操作、 方法、 流程中的步骤、 措施、 方案也可以被交替、 更改 、 重排、 分解、 组合或刪除。  [0114] Those skilled in the art can understand that the various operations, methods, and steps, measures, and solutions in the present invention may be alternated, changed, combined, or deleted. Further, various operations, methods, and other steps, measures, and arrangements in the process of the present invention may be alternated, changed, rearranged, decomposed, combined, or deleted. Further, the steps, measures, and solutions in the various operations, methods, and processes disclosed in the prior art may be alternated, changed, rearranged, decomposed, combined, or deleted.
[0115] 以上所述仅为本发明的优选实施例, 并非因此限制本发明的专利范围, 凡是利 用本发明说明书及附图内容所作的等效结构或等效流程变换, 或直接或间接运 用在其他相关的技术领域, 均同理包括在本发明的专利保护范围内。  The above is only a preferred embodiment of the present invention, and is not intended to limit the scope of the invention, and the equivalent structure or equivalent process transformations made by the description of the invention and the drawings are used directly or indirectly. Other related technical fields are equally included in the scope of patent protection of the present invention.
[0116]  [0116]
工业实用性  Industrial applicability
[0117] 本发明实施例所提供的一种位置上报方法、 装置和宠物智能装置, 通过将定位 目标运动的步数作为位置上报条件, 当运动的步数达到阈值吋才上报一次位置 数据, 从而降低了定位目标在静止或走动较少吋的位置上报频率, 相对于定吋 上报方式, 这种基于运动步数的上报方式减少了不必要的上报动作, 在保证行 踪监控的实吋性的基础上降低了功耗, 进而节省了电量, 延长了待机吋间, 提 高了续航能力, 具有工业实用性。  The position reporting method, the device and the pet smart device provided by the embodiment of the present invention use the number of steps of the positioning target motion as the position reporting condition, and report the position data once the number of steps of the motion reaches the threshold value, thereby The positioning target is reduced in the position where the positioning target is less or less moving. Compared with the fixed reporting method, the reporting method based on the number of moving steps reduces the unnecessary reporting action, and the basis for ensuring the authenticity of the tracking and tracking is improved. The power consumption is reduced, thereby saving power, extending standby time, improving endurance, and industrial applicability.

Claims

权利要求书 Claim
[权利要求 1] 一种位置上报方法, 包括以下步骤: [Claim 1] A location reporting method includes the following steps:
对定位目标运动的步数进行计数;  Counting the number of steps in the positioning target movement;
每当所述定位目标运动的步数达到阈值吋, 上报一次位置数据。  Whenever the number of steps of the positioning target motion reaches the threshold value, the position data is reported once.
[权利要求 2] 根据权利要求 1所述的位置上报方法, 其中, 所述每当所述定位目标 运动的步数达到阈值吋, 上报一次位置数据的步骤包括:  [Claim 2] The location reporting method according to claim 1, wherein the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value comprises:
读取计步器的计数数据;  Reading the count data of the pedometer;
判断所述计数数据是否达到阈值;  Determining whether the count data reaches a threshold;
当所述计数数据达到阈值吋, 获取当前的位置数据并予以上报, 同吋 对所述计步器清零。  When the count data reaches the threshold 吋, the current position data is acquired and reported, and the pedometer is cleared.
[权利要求 3] 根据权利要求 1所述的位置上报方法, 其中, 所述每当所述定位目标 运动的步数达到阈值吋, 上报一次位置数据的步骤包括:  [Claim 3] The location reporting method according to claim 1, wherein the step of reporting the location data once the number of steps of the positioning target motion reaches a threshold value comprises:
读取计步器的计数数据;  Reading the count data of the pedometer;
计算所述计数数据与最近一次保存的计数数据的差值;  Calculating a difference between the count data and the last saved count data;
判断所述差值是否达到阈值;  Determining whether the difference reaches a threshold;
当所述差值达到阈值吋, 获取当前的位置数据并予以上报, 同吋保存 本次读取的计数数据。  When the difference reaches the threshold 吋, the current position data is acquired and reported, and the count data of the current reading is saved.
[权利要求 4] 根据权利要求 2所述的位置上报方法, 其中, 所述读取计步器的计数 数据的步骤包括: 定吋读取计步器的计数数据。  [Claim 4] The position reporting method according to claim 2, wherein the step of reading the count data of the pedometer comprises: reading the count data of the pedometer.
[权利要求 5] 根据权利要求 4所述的位置上报方法, 其中, 不同的工作模式对应不 同的定吋吋间。 [Claim 5] The position reporting method according to claim 4, wherein different working modes correspond to different fixed spaces.
[权利要求 6] 根据权利要求 5所述的位置上报方法, 其中, 所述工作模式包括普通 模式和省电模式, 所述普通模式对应的定吋吋间小于所述省电模式对 应的定吋吋间。  [Claim 6] The location reporting method according to claim 5, wherein the working mode includes a normal mode and a power saving mode, and the fixed mode corresponding to the normal mode is smaller than the fixed mode corresponding to the power saving mode. In the daytime.
[权利要求 7] 根据权利要求 1所述的位置上报方法, 其中, 所述方法还包括:  [Claim 7] The location reporting method according to claim 1, wherein the method further includes:
判断位置区码 LAC是否发生变化;  Determine whether the location area code LAC changes;
当所述 LAC发生变化吋, 上报一次位置数据。  When the LAC changes, the location data is reported once.
[权利要求 8] —种位置上报装置, 包括: 计步器, 设置为对定位目标运动的步数进行计数; [Claim 8] A position reporting device, comprising: a pedometer, set to count the number of steps in the positioning target movement;
位置上报模块, 设置为每当所述定位目标运动的步数达到阈值吋, 上 报一次位置数据。  The location reporting module is configured to report the location data once the number of steps of the positioning target motion reaches a threshold.
[权利要求 9] 根据权利要求 8所述的位置上报装置, 其中, 所述位置上报模块包括 读取单元, 设置为读取所述计步器的计数数据; 判断单元, 设置为判断所述计数数据是否达到阈值; [Claim 9] The position reporting device according to claim 8, wherein the position reporting module includes a reading unit configured to read the counting data of the pedometer; and the determining unit is configured to determine the counting Whether the data reaches the threshold;
上报单元, 设置为当所述计数数据达到阈值吋, 获取当前的位置数据 并予以上报;  The reporting unit is configured to: when the counting data reaches the threshold, obtain the current location data and report the data;
清零单元, 设置为当所述计数数据达到阈值吋, 对所述计步器清零。  The clearing unit is set to clear the pedometer when the count data reaches a threshold 吋.
[权利要求 10] 根据权利要求 8所述的位置上报装置, 其中, 所述位置上报模块包括 读取单元, 设置为读取所述计步器的计数数据; 计算单元, 设置为计算所述计数数据与最近一次保存的计数数据的差 值; [Claim 10] The position reporting device according to claim 8, wherein the position reporting module includes a reading unit configured to read the counting data of the pedometer; and a calculating unit configured to calculate the counting The difference between the data and the last saved count data;
判断单元, 设置为判断所述差值是否达到阈值; 上报单元, 设置为当所述差值达到阈值吋, 获取当前的位置数据并予 以上报;  a determining unit, configured to determine whether the difference reaches a threshold; the reporting unit is configured to: when the difference reaches a threshold, obtain current position data and report the above;
保存单元, 设置为当所述差值达到阈值吋, 保存本次读取的计数数据  Saving the unit, set to save the count data of the current reading when the difference reaches the threshold 吋
[权利要求 11] 根据权利要求 9所述的位置上报装置, 其中, 所述读取单元设置为: 定吋读取所述计步器的计数数据。 [Claim 11] The position reporting device according to claim 9, wherein the reading unit is configured to: read the count data of the pedometer.
[权利要求 12] 根据权利要求 11所述的位置上报装置, 其中, 不同的工作模式对应不 同的定吋吋间。 [Claim 12] The position reporting device according to claim 11, wherein the different operating modes correspond to different fixed rooms.
[权利要求 13] 根据权利要求 12所述的位置上报装置, 其中, 所述工作模式包括普通 模式和省电模式, 所述普通模式对应的定吋吋间小于所述省电模式对 应的定吋吋间。 [Claim 13] The position reporting device according to claim 12, wherein the working mode includes a normal mode and a power saving mode, and the fixed mode corresponding to the normal mode is smaller than the fixed mode corresponding to the power saving mode. In the daytime.
[权利要求 14] 根据权利要求 8所述的位置上报装置, 其中, 所述位置上报模块还设 置为: 判断位置区码 LAC是否发生变化, 当所述 LAC发生变化吋, 上 报一次位置数据。 The position reporting device according to claim 8, wherein the location reporting module is further configured to: determine whether the location area code LAC has changed, and when the LAC changes, report the location data once.
[权利要求 15] —种宠物智能装置, 包括: 处理器、 存储器、 应用程序, 其中, 所述 应用程序被存储在所述存储器中并被配置为由所述处理器执行, 所述 应用程序被配置为用于执行权利要求 1所述的位置上报方法。  [Claim 15] A pet smart device, comprising: a processor, a memory, an application, wherein the application is stored in the memory and configured to be executed by the processor, the application is It is configured to perform the location reporting method of claim 1.
PCT/CN2017/096452 2017-04-24 2017-08-08 Position reporting method and apparatus, and intelligent apparatus for pets WO2018196225A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710272060.2A CN107063293B (en) 2017-04-24 2017-04-24 Position reporting method and device
CN2017102720602 2017-04-24

Publications (1)

Publication Number Publication Date
WO2018196225A1 true WO2018196225A1 (en) 2018-11-01

Family

ID=59605312

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/096452 WO2018196225A1 (en) 2017-04-24 2017-08-08 Position reporting method and apparatus, and intelligent apparatus for pets

Country Status (2)

Country Link
CN (1) CN107063293B (en)
WO (1) WO2018196225A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110113706A (en) * 2018-02-01 2019-08-09 陕西诺维北斗信息科技股份有限公司 Information interacting method, apparatus and system
CN109392064A (en) * 2018-11-07 2019-02-26 深圳酷泰丰科技有限公司 Reduce method, system, equipment and the storage medium of positioning wearable device power consumption
CN110505572B (en) * 2019-06-27 2021-05-04 华为技术有限公司 Indoor positioning method and electronic equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101365197A (en) * 2008-08-29 2009-02-11 青岛海信移动通信技术股份有限公司 Energy consumption control method for positioning terminal and positioning terminal applying the method
US20090323888A1 (en) * 2008-06-27 2009-12-31 Hideaki Fukutome Step count measuring system
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
US20140292566A1 (en) * 2013-04-01 2014-10-02 Fitbit, Inc. Portable biometric monitoring devices having location sensors
CN203894812U (en) * 2014-05-22 2014-10-22 爱维特信息技术有限公司 Dynamic position data upload system
CN104506345A (en) * 2014-12-08 2015-04-08 深圳市普天宜通技术有限公司 Self-adaptive method and self-adaptive system for reporting position information at intervals
CN105652296A (en) * 2016-01-18 2016-06-08 厦门雅迅网络股份有限公司 Power saving work method and device of children positioning device
CN106304325A (en) * 2015-05-26 2017-01-04 中移(杭州)信息技术有限公司 A kind of localization method, device and location terminal

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103248995A (en) * 2012-02-01 2013-08-14 上海博路信息技术有限公司 Data broadcasting system based on signaling monitoring
CN105157722B (en) * 2015-07-31 2018-05-18 北京奇宝科技有限公司 Geographic location monitoring method and equipment
CN105353389A (en) * 2015-11-10 2016-02-24 上海卓易科技股份有限公司 Precise positioning system and method
CN105873209A (en) * 2015-12-15 2016-08-17 乐视移动智能信息技术(北京)有限公司 Method and apparatus for positioning mobile terminal in lost locked state
CN106101997B (en) * 2016-05-26 2019-07-30 深圳市万语网络科技有限公司 A kind of localization method and positioning system with adjust automatically location frequency
CN106445715B (en) * 2016-09-13 2019-10-25 Oppo广东移动通信有限公司 The report method and device of pedometer message

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090323888A1 (en) * 2008-06-27 2009-12-31 Hideaki Fukutome Step count measuring system
CN101365197A (en) * 2008-08-29 2009-02-11 青岛海信移动通信技术股份有限公司 Energy consumption control method for positioning terminal and positioning terminal applying the method
US20140292566A1 (en) * 2013-04-01 2014-10-02 Fitbit, Inc. Portable biometric monitoring devices having location sensors
CN104066163A (en) * 2014-04-24 2014-09-24 深圳市研强通信技术有限公司 Power consumption saving device, mobile terminal and power consumption saving method
CN203894812U (en) * 2014-05-22 2014-10-22 爱维特信息技术有限公司 Dynamic position data upload system
CN104506345A (en) * 2014-12-08 2015-04-08 深圳市普天宜通技术有限公司 Self-adaptive method and self-adaptive system for reporting position information at intervals
CN106304325A (en) * 2015-05-26 2017-01-04 中移(杭州)信息技术有限公司 A kind of localization method, device and location terminal
CN105652296A (en) * 2016-01-18 2016-06-08 厦门雅迅网络股份有限公司 Power saving work method and device of children positioning device

Also Published As

Publication number Publication date
CN107063293B (en) 2020-12-22
CN107063293A (en) 2017-08-18

Similar Documents

Publication Publication Date Title
EP2974474B1 (en) Power optimizations for challenging wan service conditions
CN105874857B (en) The method and apparatus collected for wireless network data
WO2019014981A1 (en) Positioning control method and apparatus, and positioning device
WO2018196225A1 (en) Position reporting method and apparatus, and intelligent apparatus for pets
CN111328020B (en) Service processing method and device based on indoor positioning system
US10043365B2 (en) Position information prompting method, device and system
EP3482227B1 (en) Mobile transceiver for asset tracking having a power saving scheme for network access
CN106304325B (en) Positioning method, positioning device and positioning terminal
CN110036675A (en) Tracing area based on slice
US9338592B1 (en) Reducing crowdsourcing network traffic
CN103581939A (en) Method and device for participatory sensing data acquisition
CN105575044A (en) Virtual electronic fence positioning method and apparatus, and virtual electronic fence monitoring method and system
CN102638875A (en) Power-saving wireless positioning method, device and system for mobile terminal
CN108810818B (en) Method and device for dividing residential life circle
US7369849B2 (en) Method and system for registering an in-vehicle cellular phone
Jurdak et al. Energy-efficient localization: GPS duty cycling with radio ranging
CN103390222A (en) Beidou electronic arm licence terminal
CN109005509B (en) Terminal positioning method, device, terminal and storage medium
CN104754508A (en) Mobile monitoring method, system and mobile terminal
CN108171470A (en) A kind of based reminding method and device
CN107864279A (en) Indicating mode switching method, device, computer installation and computer-readable recording medium
CN202584358U (en) Lost prevention system based on virtual fence
CN106358271B (en) Positioning method, method for determining identification wireless local area network and related device
CN106534382A (en) Method and system for determining position information of family group and family gateway
CN108989140B (en) Method, device and system for testing flow reminding time delay

Legal Events

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

Ref document number: 17907517

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17907517

Country of ref document: EP

Kind code of ref document: A1