JP2021048593A - Terminal device and positioning information processing method applied to terminal device - Google Patents

Terminal device and positioning information processing method applied to terminal device Download PDF

Info

Publication number
JP2021048593A
JP2021048593A JP2020188646A JP2020188646A JP2021048593A JP 2021048593 A JP2021048593 A JP 2021048593A JP 2020188646 A JP2020188646 A JP 2020188646A JP 2020188646 A JP2020188646 A JP 2020188646A JP 2021048593 A JP2021048593 A JP 2021048593A
Authority
JP
Japan
Prior art keywords
positioning
processor
terminal device
application program
state
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
JP2020188646A
Other languages
Japanese (ja)
Other versions
JP7389734B2 (en
JP2021048593A5 (en
Inventor
▲ジン▼ ▲銭▼
▲ジン▼ ▲銭▼
Jing Qian
玉▲華▼ 郭
Yuhua Guo
玉▲華▼ 郭
汪海 桂
Wanghai Guo
汪海 桂
美玲 ▲羅▼
美玲 ▲羅▼
Meiling Luo
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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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
Priority claimed from JP2018548858A external-priority patent/JP6795610B2/en
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to JP2020188646A priority Critical patent/JP7389734B2/en
Publication of JP2021048593A publication Critical patent/JP2021048593A/en
Publication of JP2021048593A5 publication Critical patent/JP2021048593A5/ja
Application granted granted Critical
Publication of JP7389734B2 publication Critical patent/JP7389734B2/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Power Sources (AREA)
  • Telephone Function (AREA)

Abstract

To provide a terminal device and a positioning information processing method applied to the terminal device, which implement active control on power consumption caused by a positioning service in the terminal device.SOLUTION: The terminal device includes a processor and a memory that is configured to store a first application program. The processor is configured to: receive positioning information; and discard the positioning information if the first application program is in a positioning service restricted state and the first application program is currently running in the background.SELECTED DRAWING: Figure 3

Description

本発明の実施形態は、通信分野に関し、より詳細には、端末デバイス、および端末デバイスに適用される測位情報処理方法に関する。 Embodiments of the present invention relate to the field of communication, and more specifically to terminal devices and positioning information processing methods applied to the terminal devices.

新世代モバイルインテリジェンスプラットフォームが一般的になるにつれ、全地球測位システム(Global Positioning System、GPS)、または別のタイプの全地球航法衛星システム(Global Navigation Satellite System、GNSS)を使用することによる測位は、すべての現在のインテリジェント端末(モバイル電話およびタブレットコンピュータなどの)のほとんど標準の機能である。測位機能は、端末デバイスの基本機能の役割をし、測位機能の電力消費は、常に一般的な問題である。例えば、端末デバイスのいくつかのアプリケーションは、短い時間内に測位をしばしば開始し、その結果、過度に高い電力消費をもたらす。いくつかのアプリケーションは、長い時間にわたって測位を開始し、その結果、過度に高い電力消費をもたらす。いくつかのアプリケーション(QQブラウザなどの)は、測位を開始し、ブロードキャスト通知タイプを使用することによって、測位データを獲得し、それゆえ、アプリケーションが測位を能動的に取り消さない場合、システムは、アプリケーションプロセスが終了された場合でさえ、測位を停止することができず、その結果、過度に高い電力消費をもたらす。 As new-generation mobile intelligence platforms become more commonplace, positioning by using the Global Positioning System (GPS), or another type of Global Navigation Satellite System (GNSS), is becoming more common. It is an almost standard feature of all current intelligent terminals (such as mobile phones and tablet computers). The positioning function plays a role of a basic function of the terminal device, and the power consumption of the positioning function is always a general problem. For example, some applications of terminal devices often initiate positioning within a short period of time, resulting in excessively high power consumption. Some applications start positioning over a long period of time, resulting in excessively high power consumption. If some application (such as QQ browser) initiates positioning and acquires positioning data by using a broadcast notification type, therefore, if the application does not actively cancel the positioning, the system will apply. Positioning cannot be stopped even when the process is terminated, resulting in excessively high power consumption.

前述の問題を解決するのに、図1に示される技術的ソリューションが従来技術において提案される。技術的ソリューションにおいて、端末は、アルゴリズムポリシーを使用することによって、長時間の測位または頻繁な測位などの異常な測位挙動を発見し、ブロードキャストメッセージを使用することによって電力を多く使うアプリケーションについてモバイル電話マネージャに通知する。モバイル電話マネージャは、ブロードキャストメッセージによりユーザに警告し、ユーザ許可が獲得されたとき、異常な測位挙動を有するアプリケーションを終了させ、かつ測位サービスを停止する。しかし、従来技術において、端末ユーザが処理をまったく遂行しない場合、アプリケーションプログラムに測位サービスを提供するかどうかは、アプリケーションプログラムの要求に完全に依存する。このことは、測位サービスによってもたらされる電力消費に対する能動的な制御を実装することができない。 To solve the above problems, the technical solution shown in FIG. 1 is proposed in the prior art. In technical solutions, terminals use algorithmic policies to discover unusual positioning behaviors such as long-term positioning or frequent positioning, and mobile phone managers for power-intensive applications by using broadcast messages. Notify to. The mobile phone manager warns the user with a broadcast message, and when the user permission is obtained, terminates the application having abnormal positioning behavior and stops the positioning service. However, in the prior art, if the terminal user does not perform any processing, whether or not to provide the positioning service to the application program depends completely on the request of the application program. This makes it impossible to implement active control over the power consumption provided by the positioning service.

本発明の実施形態は、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装するようにする、端末デバイス、および端末デバイスに適用される測位情報処理方法を提供する。 Embodiments of the present invention provide a terminal device and a positioning information processing method applied to the terminal device that implements active control over the power consumption provided by the positioning service in the terminal device.

第1の態様によれば、端末デバイスに適用される測位情報処理方法が提供され、ここで、端末デバイスは、プロセッサと、第1のアプリケーションプログラムを記憶するように構成されたメモリとを含み、かつ方法は、プロセッサによる、測位情報を受信すること、およびプロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景(バックグラウンド)において実行している場合、測位情報を破棄することを含む。 According to the first aspect, a positioning information processing method applied to the terminal device is provided, wherein the terminal device includes a processor and a memory configured to store a first application program. And the method is to receive the positioning information by the processor, and the first application program by the processor is in a state where the positioning service is restricted, and the first application program is currently executed in the background (background). If so, it includes discarding the positioning information.

任意選択で、第1のアプリケーションプログラムは、測位サービスを要求するアプリケーションプログラムであり、かつ、詳細には、測位サービスを要求しているアプリケーションプログラムおよび/または測位サービスを要求したアプリケーションプログラムであってよい。プロセッサは、測位情報を受信してよく、ここで、測位情報は、第1のアプリケーションプログラムの測位要求、または第1のアプリケーションプログラムによって要求された測位データを含んでよい。プロセッサが、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行していると決定した場合、プロセッサは、測位情報を破棄してよく、すなわち、第1のアプリケーションプログラムに測位サービスをまったく提供しなくてよい。 Optionally, the first application program may be an application program requesting a positioning service and, more specifically, an application program requesting a positioning service and / or an application program requesting a positioning service. .. The processor may receive the positioning information, where the positioning information may include the positioning request of the first application program or the positioning data requested by the first application program. If the processor determines that the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor may discard the positioning information, i.e. , It is not necessary to provide the positioning service to the first application program at all.

したがって、本発明の実施形態における端末デバイスによれば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、プロセッサは、第1のアプリケーションプログラムに対応する測位情報を破棄し、第1のアプリケーションプログラムに測位サービスをまったく提供しない。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、かつ端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the terminal device according to the embodiment of the present invention, when the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor is the first. The positioning information corresponding to the first application program is discarded, and the positioning service is not provided to the first application program at all. This means that some application programs that implement active control over the power consumption provided by the positioning service in the terminal device and are running in the background of the terminal device, such as frequent positioning starts or long-term positioning, etc. It is possible to avoid the abnormal positioning behavior of the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

第1の態様の第1の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することを含む。 In the first possible implementation of the first aspect, receiving positioning information by the processor comprises receiving a positioning request sent by the processor by the first application program and by the processor. Discarding the positioning information includes prohibiting the processor from sending a positioning request to the positioning chip.

この事例において、プロセッサは、測位チップに測位要求を送らない。 In this case, the processor does not send a positioning request to the positioning chip.

第1の態様の第2の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。 In the second possible implementation of the first aspect, receiving the positioning information by the processor comprises receiving the current positioning data of the terminal device sent by the positioning chip by the processor and by the processor. Discarding the positioning information includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。 In this case, the processor does not send positioning data to the first application program.

前述の可能な実装形態を参照して、第1の態様の第3の可能な実装形態において、方法は、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景(フォアグラウンド)において実行している場合、測位情報を送ることをさらに含む。 With reference to the possible implementations described above, in the third possible implementation of the first aspect, the method is that the first application program by the processor is not in a positioning service restricted state and / or the first. If the application program of 1 is currently running in the foreground, it further includes sending positioning information.

任意選択で、測位情報は、第1のアプリケーションプログラムの測位要求を含み、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 Optionally, the positioning information includes a positioning request of the first application program, and sending the positioning information by the processor includes sending a positioning request by the processor to the positioning chip.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

前述の可能な実装形態を参照して、第1の態様の第4の可能な実装形態において、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、ユーザによって設定される、または第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、端末デバイスのデフォルトの設定である。 With reference to the possible implementations described above, in the fourth possible implementation of the first aspect, whether the first application program is in a positioning service restricted state is set by the user or Whether or not the first application program is in the positioning service restricted state is the default setting of the terminal device.

前述の可能な実装形態を参照して、第1の態様の第5の可能な実装形態において、プロセッサによる、測位情報を破棄することの前に、方法は、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含むかどうかを決定することであって、ここで、測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを含むことをさらに含み、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄することは、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含む場合、測位情報を破棄することを含む。 With reference to the possible implementations described above, in the fifth possible implementation of the first aspect, the method is a processor-based positioning service frozen list before discarding the positioning information by the processor. Is to determine whether to include a first application program, wherein the positioning service frozen list is in a positioning service restricted state and is running in the background at least one application program. If the first application program by the processor is in a positioning service restricted state and the first application program is currently running in the background, discarding the positioning information may include. Positioning service by the processor If the frozen list contains a first application program, it involves discarding the positioning information.

測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ現在、背景において実行している少なくとも1つのアプリケーションプログラムを含む。任意選択で、プロセッサは、測位サービス凍結されたリストにクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ現在、背景において実行しているという条件を満たすかどうかを決定してよく、かつ、相応して、第1のアプリケーションプログラムに対応する測位情報を破棄すべきかどうかをさらに決定してよい。 Positioning Services The frozen list contains at least one application program that is in a positioning service restricted state and is currently running in the background. Optionally, the processor queries the positioning service frozen list to determine if the first application program is in a positioning service restricted state and is currently running in the background. It may be determined, and accordingly, it may be further determined whether the positioning information corresponding to the first application program should be discarded.

詳細には、測位サービス凍結されたリストが第1のアプリケーションプログラムを含む場合、それは、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ現在、背景において実行しているという条件を満たすことを示し、そうではなく、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、それは、第1のアプリケーションプログラムが前述の条件を満たさないことを示す。 Specifically, if the positioning service frozen list contains a first application program, it satisfies the condition that the first application program is in a positioning service restricted state and is currently running in the background. If the positioning service frozen list does not include the first application program, it indicates that the first application program does not meet the above conditions.

このようにして、測位サービス凍結されたリストが設定され、プロセッサは、測位サービス凍結されたリストにより、アプリケーションプログラムに対応する測位情報を送るべきかどうかを決定する。このことは、プロセッサの負荷および複雑さを低減すること、測位サービスの処理効率を向上させること、および端末デバイスの全体的なパフォーマンスを向上させることができる。 In this way, the positioning service frozen list is set, and the processor determines whether to send the positioning information corresponding to the application program by the positioning service frozen list. This can reduce processor load and complexity, improve the processing efficiency of positioning services, and improve the overall performance of the terminal device.

前述の可能な実装形態を参照して、第1の態様の第6の可能な実装形態において、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景において実行している場合、測位情報を送ることは、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、測位情報を送ることを含む。 With reference to the possible implementations described above, in the sixth possible implementation of the first aspect, the first application program by the processor is not in a positioning service restricted state and / or the first application. If the program is currently running in the foreground, sending positioning information involves sending positioning information by the processor if the frozen list of positioning services does not include the first application program.

前述の可能な実装形態を参照して、第1の態様の第7の可能な実装形態において、方法は、プロセッサによる、第2のアプリケーションプログラムを測位サービス凍結されたアプリケーションリストに追加することを、少なくとも1つのアプリケーションプログラムにおける第2のアプリケーションプログラムが前景実行から背景実行に変化し、かつ第2のアプリケーションプログラムが測位サービス制限された状態に入っている場合、行うことをさらに含む。 With reference to the possible implementations described above, in the seventh possible implementation of the first aspect, the method adds a second application program by the processor to the positioning service frozen application list. Further includes what to do if the second application program in at least one application program changes from foreground execution to background execution and the second application program is in a positioning service restricted state.

前述の可能な実装形態を参照して、第1の態様の第8の可能な実装形態において、方法は、プロセッサによる、第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、測位サービス凍結されたリストから第1のアプリケーションプログラムを削除することをさらに含む。 With reference to the possible implementations described above, in the eighth possible implementation of the first aspect, the method freezes the positioning service when the first application program by the processor changes from background execution to foreground execution. It further includes removing the first application program from the list.

第2の態様によれば、端末デバイスに適用される別の測位情報処理方法が提供され、ここで、端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含み、かつ方法は、プロセッサによる、測位情報を受信すること、プロセッサによる、動きセンサによって獲得された動きデータにより端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定すること、およびプロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。 According to the second aspect, another positioning information processing method applied to the terminal device is provided, wherein the terminal device includes a processor, a display, a motion sensor, and the method is by the processor. Receiving positioning information, determining whether the movement status of the terminal device is moving or stationary based on the movement data acquired by the motion sensor by the processor, and the terminal device by the processor. However, any of the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state and the movement status of the terminal device is in the stationary state. If one of them is currently satisfied, it includes discarding the positioning information.

したがって、本発明の実施形態における端末デバイスによれば、端末デバイスのディスプレイが現在、画面オフ状態にあり、かつ/または端末デバイスが現在、静止状態にあると決定したとき、プロセッサは、受信された測位情報を破棄する。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装すること、端末デバイスの電力消費を低減すること、端末デバイスのスタンバイ時間を増加させること、およびユーザ体験を向上させることができる。 Therefore, according to the terminal device according to the embodiment of the present invention, when it is determined that the display of the terminal device is currently in the screen off state and / or the terminal device is currently in the quiescent state, the processor is received. Discard the positioning information. This implements active control over the power consumption provided by the positioning service in the terminal device, reduces the power consumption of the terminal device, increases the standby time of the terminal device, and improves the user experience. be able to.

第2の態様の第1の可能な実装形態において、方法は、プロセッサによる、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスが移動している状態にあるうちの少なくとも1つを現在、満たす場合、測位情報を送ることをさらに含む。 In the first possible implementation of the second aspect, the method is by the processor while the terminal device is in the following conditions, i.e., the display is in the screen on state or the terminal device is in the moving state. Further including sending positioning information if at least one is currently met.

任意選択で、端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリをさらに含んでよい。 Optionally, the terminal device may further include a memory configured to store the first application program.

前述の可能な実装形態を参照して、第2の態様の第2の可能な実装形態において、プロセッサによる、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスの動作ステータスが移動している状態にあるうちの少なくとも1つを現在、満たす場合、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムの現在のステータスにより、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスの動きステータスが移動している状態であるうちの少なくとも1つを現在、満たす場合、測位情報を送るべきかどうかを決定することを含む。 With reference to the possible implementations described above, in the second possible implementation of the second aspect, the processor causes the terminal device to have the following conditions: the display is in the screen-on state, or the operation of the terminal device If at least one of the statuses in the moving state is currently met, sending positioning information depends on the current status of the first application program by the processor, that the terminal device has the following conditions: If the display currently meets at least one of the screen-on state or the movement status of the terminal device is moving, it involves deciding whether to send positioning information.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

前述の可能な実装形態を参照して、第2の態様の第3の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することを含む。 In the third possible implementation of the second aspect with reference to the possible implementations described above, receiving positioning information by the processor is a positioning request sent by the processor by the first application program. Discarding the positioning information by the processor includes prohibiting the processor from sending a positioning request to the positioning chip.

この事例において、プロセッサは、測位チップに測位要求を送らない。 In this case, the processor does not send a positioning request to the positioning chip.

前述の可能な実装形態を参照して、第2の態様の第4の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。 In the fourth possible implementation of the second aspect with reference to the possible implementations described above, receiving positioning information by the processor is the current positioning of the terminal device sent by the positioning chip by the processor. Receiving the data and discarding the positioning information by the processor includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。 In this case, the processor does not send positioning data to the first application program.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

任意選択で、測位情報が、第1のアプリケーションプログラムによって送られた測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 If, optionally, the positioning information includes a positioning request sent by the first application program, sending the positioning information by the processor includes sending the positioning request by the processor to the positioning chip.

前述の可能な実装形態を参照して、第2の態様の第5の可能な実装形態において、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することは、プロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスが現在、静止状態にあるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。 With reference to the possible implementations described above, in the fifth possible implementation of the second aspect, the terminal device has the following conditions, i.e., the display is in the screen off state, the motion status of the terminal device is stationary. If any one of the states, the display is off the screen, and the movement status of the terminal device is currently quiesced, the positioning information is discarded by the terminal device by the processor. , That is, the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the stationary state reaches the second threshold, or the duration of the display in the screen off state. If the time reaches a third threshold and the terminal device currently meets any one of the currently stationary states, it includes discarding the positioning information.

本発明のいくつかの態様によれば、端末デバイスは、あるいは、測位チップを含まなくてよい。例えば、測位機能がプロセッサに一体化される。 According to some aspects of the invention, the terminal device may or may not include a positioning chip. For example, the positioning function is integrated into the processor.

任意選択で、プロセッサは、RF無線周波数回路を使用することによって測位データを受信してよく、またはプロセッサは、RF無線周波数回路によって送られた測位信号を受信し、かつ測位信号により測位データを生成する。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、第1のアプリケーションプログラムに測位データを送らないことを決定してよい。 Optionally, the processor may receive positioning data by using an RF radio frequency circuit, or the processor may receive a positioning signal sent by an RF radio frequency circuit and generate positioning data from the positioning signal. To do. If the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor decides not to send positioning data to the first application program. You can do it.

任意選択で、プロセッサは、第1のアプリケーションプログラムによって送られた測位要求を受信してよい。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、測位要求メッセージを破棄してよく、または第1のアプリケーションプログラムの測位要求を拒否してよい。 Optionally, the processor may receive the positioning request sent by the first application program. If the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor may discard the positioning request message or the first application program. You may reject the positioning request.

第3の態様によれば、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するように構成されたプロセッサが提供される。 According to a third aspect, there is provided a processor configured to perform the method in any possible implementation of the first aspect, or the first aspect.

第4の態様によれば、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するように構成されたプロセッサが提供される。 According to a fourth aspect, there is provided a processor configured to perform the method in any possible implementation of the second aspect, or the second aspect.

第5の態様によれば、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体が提供され、ここで、コンピュータプログラムは、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するのに使用される命令を含む。 According to a fifth aspect, a computer-readable medium configured to store a computer program is provided, wherein the computer program is a possible implementation of either the first aspect or the first aspect. Includes orders used to enforce methods in.

第6の態様によれば、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体が提供され、ここで、コンピュータプログラムは、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するのに使用される命令を含む。 According to a sixth aspect, a computer-readable medium configured to store a computer program is provided, wherein the computer program is a possible implementation of either the second aspect or the second aspect. Includes orders used to enforce methods in.

第7の態様によれば、端末デバイスが提供され、ここで、端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリと、プロセッサとを含み、かつプロセッサは、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するように構成される。 According to a seventh aspect, a terminal device is provided, wherein the terminal device comprises a memory configured to store at least one application program, a processor, and the processor is the first aspect. , Or the method in any possible implementation of the first aspect is configured to be enforced.

第8の態様によれば、端末デバイスが提供され、ここで、端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含み、動きセンサは、端末デバイスの動きデータを獲得するように構成され、かつプロセッサは、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するように構成される。 According to an eighth aspect, a terminal device is provided, wherein the terminal device includes a processor, a display, and a motion sensor, the motion sensor being configured to acquire motion data of the terminal device. And the processor is configured to perform the method in any of the second aspects, or the possible implementations of the second aspect.

任意選択で、端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリをさらに含んでよい。 Optionally, the terminal device may further include memory configured to store at least one application program.

本発明の実施形態における技術的ソリューションをより明確に説明するのに、以下が、本発明の実施形態、または従来技術を説明するのに要求される添付の図面を簡単に説明する。明らかに、以下の説明における添付の図面は、本発明のいくつかの実施形態を示すに過ぎず、当業者は、それでも、独創的な取組みなしにこれらの添付の図面から他の図面を導き出し得る。 To more clearly illustrate the technical solutions in embodiments of the invention, the following briefly describes embodiments of the invention, or accompanying drawings required to illustrate prior art. Obviously, the accompanying drawings in the following description show only some embodiments of the present invention, and one of ordinary skill in the art may still derive other drawings from these attached drawings without creative effort. ..

従来技術における測位サービスの電力消費を制御するのに使用される技術的ソリューションを示す概略図である。It is a schematic diagram which shows the technical solution used to control the power consumption of the positioning service in the prior art. 本発明の実施形態による端末デバイスを示す概略構造図である。It is a schematic structural drawing which shows the terminal device by embodiment of this invention. 本発明の実施形態による端末デバイスにおけるプロセッサの特定の実装形態を示す概略ブロック図である。FIG. 5 is a schematic block diagram showing a specific implementation of a processor in a terminal device according to an embodiment of the present invention. 本発明の実施形態による端末デバイスに適用される測位情報処理方法を示す概略フローチャートである。It is a schematic flowchart which shows the positioning information processing method applied to the terminal device by embodiment of this invention. 本発明の別の実施形態による端末デバイスに適用される測位情報処理方法を示す概略フローチャートである。It is a schematic flowchart which shows the positioning information processing method applied to the terminal device by another embodiment of this invention. 本発明の別の実施形態による端末デバイスに適用される測位情報処理方法の例を示す概略フローチャートである。It is a schematic flowchart which shows the example of the positioning information processing method applied to the terminal device by another embodiment of this invention.

以下は、本発明の実施形態における添付の図面を参照して本発明の実施形態における技術的ソリューションを明確に、かつ完全に説明する。明らかに、説明される実施形態は、本発明の実施形態のいくつかではあるが、すべてではない。独創的な取組みなしに本発明の実施形態に基づいて当業者によって獲得される他のすべての実施形態は、本発明の保護範囲に入るべきものとする。 Hereinafter, the technical solution according to an embodiment of the present invention will be described clearly and completely with reference to the accompanying drawings according to the embodiment of the present invention. Obviously, the embodiments described are some, but not all, of the embodiments of the present invention. All other embodiments acquired by one of ordinary skill in the art based on embodiments of the invention without creative effort shall fall within the scope of protection of the invention.

図2は、本発明の実施形態による端末デバイス200を概略で示す。端末デバイス200は、プロセッサ210と、メモリ220と、無線周波数(Radio Frequency、RF)回路230とを含んでよい。加えて、Nのアプリケーションプログラムが、端末デバイス200にインストールされてよく、ここで、Nのアプリケーションは、メモリ220に記憶されてよく、かつN≧1である。 FIG. 2 schematically shows a terminal device 200 according to an embodiment of the present invention. The terminal device 200 may include a processor 210, a memory 220, and a radio frequency (RF) circuit 230. In addition, the N application program may be installed in the terminal device 200, where the N application may be stored in the memory 220 and N ≧ 1.

任意選択で、端末デバイス200は、入力ユニット240、ディスプレイユニット250、少なくとも1つのセンサ260、オーディオ周波数回路270、スピーカ271、マイクロフォン272、および電力供給280などの構成要素をさらに含んでよい。 Optionally, the terminal device 200 may further include components such as an input unit 240, a display unit 250, at least one sensor 260, an audio frequency circuit 270, a speaker 271, a microphone 272, and a power supply 280.

任意選択で、端末デバイス200は、測位チップ290をさらに含んでよく、ここで、測位チップ290は、端末デバイスの現在のロケーションを決定するように構成されてよい。本発明のこの実施形態において、プロセッサ210および測位チップ290は、別々に配置されてよく、または一緒に一体化されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。理解の容易のため、以下は、端末デバイスが独立に配置された測位チップ290を含む例を使用することによって説明を提供する。しかし、本発明のこの実施形態は、本明細書において限定されない。測位チップ290は、例えば、GPSチップであってよい。 Optionally, the terminal device 200 may further include a positioning chip 290, where the positioning chip 290 may be configured to determine the current location of the terminal device. In this embodiment of the invention, the processor 210 and the positioning chip 290 may be arranged separately or integrated together. This embodiment of the invention does not set any limitations herein. For ease of understanding, the following is provided by using an example in which the terminal device includes an independently positioned positioning chip 290. However, this embodiment of the present invention is not limited herein. The positioning chip 290 may be, for example, a GPS chip.

詳細には、プロセッサ210は、端末デバイス200の制御センタであってよく、様々なインターフェースおよび線を使用することによって端末デバイスの様々な構成要素を接続し、かつメモリ220に記憶されたプログラムおよび/またはモジュールを実行すること、もしくは執行すること、およびメモリ220に記憶されたデータを呼び出すことによって端末デバイス200の様々な機能を執行する。任意選択で、プロセッサ210は、1つまたは複数の処理ユニットを含んでよい。 In particular, the processor 210 may be the control center of the terminal device 200, connecting various components of the terminal device by using various interfaces and lines, and storing programs and / / in memory 220. Alternatively, the various functions of the terminal device 200 are executed by executing or executing the module and calling the data stored in the memory 220. Optionally, processor 210 may include one or more processing units.

メモリ220は、ソフトウェアプログラムおよびモジュールを記憶するように構成されてよい。プロセッサ210は、メモリ220に記憶されたソフトウェアプログラムおよびモジュールを実行して、端末デバイス200の様々な機能アプリケーションおよびデータ処理を遂行する。メモリ220は、プログラム記憶領域と、データ記憶領域とを主に含んでよい。プログラム記憶領域は、オペレーティングシステム、少なくとも1つの機能(サウンド再生機能または画像再生機能などの)によって要求されるアプリケーションプログラム、および類似したものを記憶してよい。データ記憶領域は、端末デバイス200の使用により作成されるデータ(オーディオデータ、画像データ、および電話帳などの)、および類似したものを記憶してよい。加えて、メモリ220は、高速ランダムアクセスメモリを含んでよく、または不揮発性メモリ、例えば、少なくとも1つのディスク記憶構成要素、フラッシュメモリ構成要素、または別の揮発性ソリッドステート記憶構成要素を含んでよい。 The memory 220 may be configured to store software programs and modules. The processor 210 executes software programs and modules stored in the memory 220 to perform various functional applications and data processing of the terminal device 200. The memory 220 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one function (such as sound reproduction function or image reproduction function), and the like. The data storage area may store data (such as audio data, image data, and phonebook) created by the use of the terminal device 200, and the like. In addition, memory 220 may include fast random access memory or may include non-volatile memory, such as at least one disk storage component, flash memory component, or another volatile solid state storage component. ..

RF回路230は、情報を受信する/送信するように、または呼出しプロセスにおいて信号を受信する、もしくは送るように構成されてよい。例えば、GPS測位プロセスにおいて、RF回路230は、GPS衛星または別のタイプの測位システムによって送られた信号を受信するように、かつ処理のためにプロセッサ210または測位チップ290に信号を送信するように構成されてよい。一般に、RF回路230は、アンテナ、少なくとも1つの増幅器、トランシーバ、カプラ、低雑音増幅器(Low Noise Amplifier、LNA)、デュプレクサ、および類似したものを含んでよいが、これらに限定されない。アンテナは、一次アンテナおよび二次アンテナなどの、モバイル電話上のすべてのアンテナを含んでよい。二次アンテナは、GPSアンテナ、Wi−Fiアンテナ、NFCアンテナ、または類似したものであってよい。複数のタイプの二次アンテナが1つのアンテナボディを共有してよい。加えて、RF回路230は、ワイヤレス通信技術を使用することによってネットワークおよび別のデバイスとさらに通信してよく、例えば、基地局によって送られたダウンリンク情報を受信してよく、かつ処理のためにプロセッサ210に受信されたダウンリンク情報をさらに送信してよく、または基地局にアップリンクデータを送ってよい。グローバルシステムフォーモバイルコミュニケーションズ(Global System for Mobile Communications、GSM(登録商標))、汎用パケット無線サービス(General Packet Radio Service、GPRS)、符号分割多元接続(Code Division Multiple Access、CDMA)、広帯域符号分割多元接続(Wideband Code Division Multiple Access、WCDMA(登録商標))、ロングタームエボリューション(Long Term Evolution、LTE)、電子メール、ショートメッセージサービス(Short Messaging Service、SMS)、および類似したものを含むが、これらには限定されない、いずれかの通信標準または通信プロトコルがワイヤレス通信技術において使用されてよい。 The RF circuit 230 may be configured to receive / transmit information, or to receive or send a signal in the calling process. For example, in the GPS positioning process, the RF circuit 230 is to receive signals sent by GPS satellites or another type of positioning system and to send signals to processor 210 or positioning chip 290 for processing. It may be configured. In general, the RF circuit 230 may include, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier (LNA), duplexer, and the like. Antennas may include all antennas on the mobile phone, such as primary and secondary antennas. The secondary antenna may be a GPS antenna, a Wi-Fi antenna, an NFC antenna, or something similar. Multiple types of secondary antennas may share one antenna body. In addition, the RF circuit 230 may further communicate with the network and other devices by using wireless communication technology, eg, may receive and process downlink information sent by a base station. The downlink information received by the processor 210 may be further transmitted, or uplink data may be sent to the base station. Global System for Mobile Communications (GSM®), General Packet Radio Services (GPRS), Code Division Multiple Access, Code Division Multiple Access, Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA®), Long Term Evolution (LTE), Email, Short Message Services (Short Message Services, SMS), and the like. Any communication standard or communication protocol, without limitation, may be used in wireless communication technology.

入力ユニット240は、入力された数字情報もしくは文字情報を受信するように、かつ端末デバイス200のユーザ設定および機能制御と関係付けられた重要な信号入力を生成するように構成されてよい。詳細には、入力ユニット240は、タッチスクリーン241と、別の入力デバイス242とを含んでよい。タッチスクリーン241は、タッチパネルとも呼ばれ、タッチスクリーン241上、またはそれの周囲のユーザのタッチ操作(指またはタッチペンなどのいずれかの適切な物体またはアクセサリを使用することによってユーザによってタッチスクリーン241上で、またはタッチスクリーン241の周囲で遂行される操作などの)を収集するように、かつ事前設定されたプログラムにより対応する接続された装置を駆動するように構成されてよい。任意選択で、タッチスクリーン241は、2つの部分、すなわち、タッチ検出装置と、タッチコントローラとを含んでよい。タッチ検出装置は、ユーザのタッチ向きを検出し、タッチ操作に対応する信号を検出し、かつタッチコントローラに、タッチ操作に対応するタッチ情報(タッチ向きについてのタッチ信号およびタッチ情報などの)を送信するように構成されてよい。タッチコントローラは、タッチ検出装置からタッチ情報を受信し、タッチ情報をタッチポイント座標に変換し、かつプロセッサ210にタッチポイント座標についての情報を送信するように構成されてよい。加えて、タッチコントローラは、プロセッサ210によって送られたコマンドを受信し、かつコマンドを執行するようにさらに構成されてよい。 The input unit 240 may be configured to receive the input numeric or character information and to generate important signal inputs associated with user settings and functional controls of the terminal device 200. In particular, the input unit 240 may include a touch screen 241 and another input device 242. The touch screen 241, also referred to as a touch panel, is on the touch screen 241 by the user by using any suitable object or accessory on or around the touch screen (such as a finger or a touch pen) of the user. , Or operations performed around the touch screen 241), and may be configured to drive the corresponding connected device by a preset program. Optionally, the touch screen 241 may include two parts, a touch detector and a touch controller. The touch detection device detects the user's touch direction, detects the signal corresponding to the touch operation, and transmits the touch information corresponding to the touch operation (such as the touch signal and the touch information about the touch direction) to the touch controller. It may be configured to do so. The touch controller may be configured to receive touch information from the touch detection device, convert the touch information into touchpoint coordinates, and transmit information about the touchpoint coordinates to the processor 210. In addition, the touch controller may be further configured to receive and execute commands sent by processor 210.

任意選択で、タッチスクリーン241は、抵抗タイプ、静電容量タイプ、赤外線、および表面弾性波などの複数のタイプにおいて実装されてよい。タッチスクリーン241に加えて、入力ユニット240は、別の入力デバイス242をさらに含んでよい。詳細には、別の入力デバイス242は、物理キーボード、ファンクションキー(音量制御キーもしくは電力オン/オフキーなどの)、トラックボール、マウス、または操作ロッドのうちの1つまたは複数を含んでよいが、これらには限定されない。 Optionally, the touch screen 241 may be implemented in multiple types such as resistance type, capacitive type, infrared, and surface acoustic waves. In addition to the touch screen 241 the input unit 240 may further include another input device 242. In particular, another input device 242 may include one or more of a physical keyboard, function keys (such as volume control keys or power on / off keys), trackballs, mice, or operating rods. Not limited to these.

ディスプレイユニット250は、ユーザによって入力された情報、またはユーザに提供される情報、および端末デバイス200の様々なメニューを表示するように構成されてよい。ディスプレイユニット250は、ディスプレイパネル251を含んでよい。任意選択で、ディスプレイパネル241は、液晶ディスプレイ(Liquid Crystal Display、LCD)、有機発光ダイオード(Organic Light−Emitting Diode、OLED)、または類似したものの形態で構成されてよい。さらに、タッチスクリーン241は、ディスプレイパネル251を範囲に含んでよい。タッチスクリーン241上、またはそれの周囲のタッチ操作を検出した後、タッチスクリーン241は、プロセッサ210にタッチ操作についての情報を送信して、タッチイベントのタイプを決定する。プロセッサ210は、タッチイベントのタイプによりディスプレイパネル251上に対応するビジュアル出力を提供してよい。図2において、タッチスクリーン241およびディスプレイパネル251は、2つの独立した構成要素の役割をして、端末デバイス200の入力機能および出力機能を実装する。しかし、いくつかの実施形態において、タッチスクリーン241およびディスプレイパネル251は、一体化されて端末デバイス200の入力機能および出力機能を実装してよい。 The display unit 250 may be configured to display information input by the user, or information provided to the user, and various menus of the terminal device 200. The display unit 250 may include a display panel 251. Optionally, the display panel 241 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode, or something similar. Further, the touch screen 241 may include a display panel 251 in its range. After detecting a touch operation on or around the touch screen 241 the touch screen 241 sends information about the touch operation to the processor 210 to determine the type of touch event. Processor 210 may provide the corresponding visual output on the display panel 251 depending on the type of touch event. In FIG. 2, the touch screen 241 and the display panel 251 act as two independent components to implement the input and output functions of the terminal device 200. However, in some embodiments, the touch screen 241 and the display panel 251 may be integrated to implement the input and output functions of the terminal device 200.

少なくとも1つのセンサ260は、動きセンサを含んでよい。動きセンサは、端末デバイスの動きデータを獲得し、かつ端末デバイスの動きステータスを相応して決定するように構成されてよく、ここで、動きステータスは、静止状態または動いている状態を含んでよい。あるいは、動きセンサは、プロセッサ210に獲得された動きデータを送信してよく、かつプロセッサ210は、動きデータにより端末デバイスの現在の動きステータスを決定する。 At least one sensor 260 may include a motion sensor. The motion sensor may be configured to acquire motion data of the terminal device and correspondingly determine the motion status of the terminal device, wherein the motion status may include a stationary state or a moving state. .. Alternatively, the motion sensor may transmit the acquired motion data to the processor 210, which determines the current motion status of the terminal device from the motion data.

任意選択で、少なくとも1つのセンサ260は、光センサまたは重力センサ(gravity sensor)などの別のセンサをさらに含んでよい。詳細には、光センサは、光環境センサと、光近接センサとを含んでよい。光環境センサは、周囲光の強度によりディスプレイパネル241の輝度を調整してよい。光近接センサは、物体が端末デバイスに接近するかどうか、またはそれと接触しているかどうかを検出し、端末デバイス200が耳の近くに移動したとき、ディスプレイパネル241および/またはバックライトをディセーブルにしてよい。重力センサは、様々な方向(一般に3つの軸が存在する)において端末デバイスの加速度の値を検出するように構成されてよく、端末デバイスが静止しているとき、重力の値および方向を検出してよく、かつ端末デバイスの姿勢を認識するためのアプリケーション(横向き/縦向きモード切換え、関係付けられたゲーム、または磁気計姿勢較正などの)、振動認識と関係付けられた機能(歩数計またはキーストロークなどの)、および類似したものに適用されてよい。少なくとも1つのセンサ260は、ジャイロスコープ、気圧計、湿度計、温度計、または赤外線センサなどの別のセンサをさらに含んでよい。詳細は、本明細書において説明されない。 Optionally, at least one sensor 260 may further include another sensor, such as an optical sensor or a gravity sensor. In particular, the optical sensor may include an optical environment sensor and an optical proximity sensor. The optical environment sensor may adjust the brightness of the display panel 241 according to the intensity of ambient light. The optical proximity sensor detects whether an object is approaching or in contact with the terminal device and disables the display panel 241 and / or backlight when the terminal device 200 moves closer to the ear. You can. The gravity sensor may be configured to detect the acceleration value of the terminal device in various directions (generally there are three axes), and when the terminal device is stationary, it detects the gravity value and direction. Applications for recognizing the orientation of the terminal device (such as landscape / portrait mode switching, associated games, or magnetometer orientation calibration), features associated with vibration recognition (pedometer or key). It may be applied to (such as strokes) and similar. The at least one sensor 260 may further include another sensor such as a gyroscope, barometer, hygrometer, thermometer, or infrared sensor. Details are not described herein.

任意選択で、オーディオ周波数回路270、スピーカ271、およびマイクロフォン272が、ユーザと端末デバイス200の間のオーディオインターフェースを提供してよい。オーディオ周波数回路270は、受信されたオーディオデータを電気信号に変換し、かつスピーカ271に電気信号を送信するように構成されてよい。スピーカ271は、受信された電気信号を音響信号に変換し、かつ音響信号を出力するように構成されてよい。別の態様において、マイクロフォン272は、収集された音響信号を電気信号に変換し、かつオーディオ周波数回路に電気信号を送信するように構成されてよい。オーディオ周波数回路270は、受信された電気信号をオーディオデータに変換し、かつRF回路230にオーディオデータを出力して、さらなる処理のために別のデバイスにオーディオデータを送るように、またはメモリ220にオーディオデータを出力するようにしてよい。 Optionally, an audio frequency circuit 270, a speaker 271, and a microphone 272 may provide an audio interface between the user and the terminal device 200. The audio frequency circuit 270 may be configured to convert the received audio data into an electrical signal and transmit the electrical signal to the speaker 271. The speaker 271 may be configured to convert the received electrical signal into an acoustic signal and output the acoustic signal. In another embodiment, the microphone 272 may be configured to convert the collected acoustic signal into an electrical signal and transmit the electrical signal to an audio frequency circuit. The audio frequency circuit 270 converts the received electrical signal into audio data and outputs the audio data to the RF circuit 230 to send the audio data to another device for further processing, or to the memory 220. Audio data may be output.

任意選択で、端末デバイス200は、すべての構成要素に電力供給を提供する電力供給280(バッテリなどの)をさらに含んでよい。好ましくは、電力供給は、電力供給管理システムを使用することによってプロセッサ210に論理的に接続されて、電力供給管理システムを使用することによって、充電および放電管理、ならびに電力消費管理などの機能を実装するようにしてよい。 Optionally, the terminal device 200 may further include a power supply 280 (such as a battery) that provides power supply to all components. Preferably, the power supply is logically connected to the processor 210 by using a power supply management system to implement functions such as charge and discharge management, as well as power consumption management, by using the power supply management system. You may try to do it.

端末デバイス200は、ワイヤレスフィデリティ(Wireless Fidelity、WiFi)モジュール、Bluetooth(登録商標)モジュール、および類似したものをさらに含んでよく、ただし、それらは示されないことを理解されたい。詳細は、本明細書において説明されない。 It should be understood that the terminal device 200 may further include a Wireless Fidelity module, a Bluetooth® module, and the like, but they are not shown. Details are not described herein.

説明の容易のため、図2は、本発明のこの実施形態と関係付けられた部分を示すに過ぎないことをさらに理解されたい。開示されない特定の技術的詳細に関して、本発明の実施形態における特定の説明を参照されたい。 For ease of explanation, it should be further understood that FIG. 2 merely shows the parts associated with this embodiment of the invention. See the specific description in embodiments of the present invention for specific technical details not disclosed.

図2に示される端末デバイス構造は、例に過ぎないことをさらに理解されたい。本発明のこの実施形態における端末デバイスは、図2に示されるものと比べてより多くの、もしくはより少ない構成要素を含んでよく、またはいくつかの構成要素を組み合わせてよく、または図2におけるものとは異なる構成要素レイアウトを有してよい。図2に示される端末デバイス構造は、本発明のこの実施形態に対して限定を設定しない。 It should be further understood that the terminal device structure shown in FIG. 2 is merely an example. The terminal device according to this embodiment of the present invention may include more or fewer components than those shown in FIG. 2, or may combine several components, or those in FIG. May have a different component layout than. The terminal device structure shown in FIG. 2 does not set any limitations on this embodiment of the present invention.

本発明のこの実施形態において、測位チップは、プロセッサ210を使用することによってアプリケーションプログラム220に測位サービスを提供してよい。例えば、アプリケーションプログラム220が、プロセッサ210に測位要求を送ってよく、プロセッサ210が、測位チップに測位要求を転送してよく、測位要求を受信した後、測位チップは、プロセッサ210を使用することによってアプリケーションプログラム220に端末デバイス200の現在の測位データを送ってよい。任意選択で、アプリケーションプログラムによって送られた測位要求を受信した後、測位チップは、アプリケーションプログラムに測位データを1回だけ提供してよく、または時間の周期において、アプリケーションプログラムに測位データを周期的に送ってよく、または時間の周期において、測位チップが測位データを獲得するたびにアプリケーションプログラムに測位データを送ってよい。時間の周期の長さは、事前設定されてよく、またはアプリケーションプログラムによって送られた測位要求により決定されてよい。あるいは、時間の周期は、測位チップが、アプリケーションプログラムによって送られた測位停止要求を受信するまで続いてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。任意選択で、測位データは、以下のデータ、すなわち、ロケーション(location)データ、ジオフェンシング(Geo−fencing)データ、米国海洋電子機器協会(National Marine Electronics Association、NMEA)GPSデータ、衛星ステータス関係のデータ、GPSナビゲーションデータ、もしくはGPS測定ステータスデータの少なくとも1つを含んでよく、または別のタイプの測位データを含んでよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the invention, the positioning chip may provide positioning services to application program 220 by using processor 210. For example, the application program 220 may send a positioning request to the processor 210, the processor 210 may transfer the positioning request to the positioning chip, and after receiving the positioning request, the positioning chip may use the processor 210. The current positioning data of the terminal device 200 may be sent to the application program 220. After receiving the positioning request sent by the application program, optionally, the positioning chip may provide the application program with the positioning data only once, or periodically provide the application program with the positioning data in a time cycle. It may be sent, or it may send the positioning data to the application program each time the positioning chip acquires the positioning data in a time cycle. The length of the time cycle may be preset or may be determined by a positioning request sent by the application program. Alternatively, the time cycle may continue until the positioning chip receives the positioning stop request sent by the application program. However, this embodiment of the present invention is not limited herein. Optionally, the positioning data includes the following data: location data, Geo-fencing data, National Marine Electronics Association GPS data, satellite status related data: , GPS navigation data, or at least one of GPS measurement status data, or another type of positioning data may be included. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、アプリケーションプログラムの現在のステータスにより、アプリケーションプログラムに測位サービスを提供すべきかどうかを決定するように構成されてよい。詳細には、プロセッサ210は、測位情報を受信するように構成されてよく、ここで、測位情報は、アプリケーションプログラムによって送られた測位要求、または測位チップによって送られた測位データを含んでよい。プロセッサ210は、アプリケーションプログラムの現在のステータスにより、アプリケーションプログラムに対応する測位情報を送るべきかどうかを決定してよく、ここで、アプリケーションプログラムに対応する測位情報は、アプリケーションプログラムによって送られた測位要求、またはアプリケーションプログラムによって要求された測位データを含んでよい。任意選択で、アプリケーションプログラムの現在のステータスは、測位サービス許可ステータスまたは実行ステータスの少なくとも1つを含んでよく、ここで、実行ステータスは、前景実行、背景実行、または実行していないを含んでよく、かつ測位サービス許可ステータスは、測位サービス制限された状態にあること、または測位サービス制限された状態にないことを含んでよい。任意選択で、測位サービス制限された状態にないことは、測位サービス限定されていない状態にあることとして参照されてもよい。測位サービス限定されていない状態にあるアプリケーションプログラムは、いずれの事例においても測位サービスを使用することを許される。例えば、測位サービス限定されていない状態にあるアプリケーションプログラムのすべての測位サービス要求が許され、かつ満たされる。しかし、測位サービス制限された状態にあるアプリケーションプログラムは、いくつかの条件(例えば、前景において実行している)において測位サービスを使用することを許され、他の条件において測位サービスを使用することを禁止される。アプリケーションプログラムが測位サービスを使用することを許される、または使用することを禁止される条件は、事前設定されてよい。例えば、条件は、端末デバイスのユーザによって設定される、または端末デバイスのベンダによって設定される。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Optionally, the processor 210 may be configured to determine whether to provide positioning services to the application program based on the current status of the application program. Specifically, the processor 210 may be configured to receive positioning information, where the positioning information may include a positioning request sent by an application program or positioning data sent by a positioning chip. The processor 210 may determine whether or not to send the positioning information corresponding to the application program based on the current status of the application program, where the positioning information corresponding to the application program is the positioning request sent by the application program. , Or may include positioning data requested by the application program. Optionally, the current status of the application program may include at least one of the positioning service authorization status or the execution status, where the execution status may include foreground execution, background execution, or no execution. , And the positioning service permission status may include being in a positioning service restricted state or not being in a positioning service restricted state. Arbitrarily, not being in the positioning service restricted state may be referred to as being in the positioning service not restricted state. Positioning services Application programs that are not limited are allowed to use positioning services in any case. For example, all positioning service requests of an application program that are not limited to positioning services are allowed and satisfied. However, an application program that is in a restricted position may be allowed to use the positioning service under some conditions (eg, running in the foreground) and may use the positioning service under other conditions. prohibited. The conditions under which the application program is allowed or prohibited from using the positioning service may be preset. For example, the conditions are set by the user of the terminal device or by the vendor of the terminal device. This embodiment of the invention does not set any limitations herein.

任意選択で、アプリケーションプログラムが現在、測位サービス制限されていない状態にある、またはアプリケーションプログラムが現在、前景において実行している場合、プロセッサ210は、アプリケーションプログラムに対応する測位情報を送ってよい。 Optionally, if the application program is currently in an unrestricted positioning service, or if the application program is currently running in the foreground, the processor 210 may send positioning information corresponding to the application program.

任意選択で、アプリケーションプログラムが現在、測位サービス制限された状態にある、またはアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、アプリケーションプログラムに対応する測位情報を送らなくてよい。 Optionally, if the application program is currently in a positioning service restricted state, or if the application program is currently running in the background, the processor does not have to send the positioning information corresponding to the application program.

例えば、プロセッサ210は、第1のアプリケーションプログラムによって送られた測位要求を受信し、かつ第1のアプリケーションプログラムの現在のステータスにより、測位チップに測位要求を転送すべきかどうかを決定するように構成されてよい。任意選択で、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限されていない状態にあると決定した、または第1のアプリケーションプログラムが前景において実行していると決定した場合、プロセッサ210は、測位チップに測位要求を転送してよい。任意選択で、別の実施形態において、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限された状態にあると決定した、または第1のアプリケーションプログラムが背景において実行していると決定した場合、プロセッサ210は、測位要求を破棄し、測位チップに測位要求を転送しなくてよい。 For example, the processor 210 is configured to receive the positioning request sent by the first application program and, depending on the current status of the first application program, determine whether to transfer the positioning request to the positioning chip. You can. If, optionally, the processor 210 determines that the first application program is in an unrestricted state of positioning service, or that the first application program is running in the foreground, the processor 210 determines the positioning. The positioning request may be forwarded to the chip. Optionally, in another embodiment, if the processor 210 determines that the first application program is in a positioning service restricted state, or that the first application program is running in the background. The processor 210 does not have to discard the positioning request and transfer the positioning request to the positioning chip.

別の例として、プロセッサ210は、測位チップによって送られた測位データを受信し、測位サービスを要求する少なくとも1つのアプリケーションプログラムにおける各アプリケーションプログラムの現在のステータスにより、各アプリケーションプログラムに測位データを送るべきかどうかを決定するように構成されてよい。プロセッサ210は、受信された少なくとも1つの測位要求により、測位サービスを要求する少なくとも1つのアプリケーションプログラムを決定してよく、または測位サービス要求アプリケーションリストを獲得し、かつ測位サービス要求アプリケーションリストにおけるすべてのアプリケーションプログラムを、測位サービスを要求する少なくとも1つのアプリケーションプログラムとして決定してよい。測位サービス要求アプリケーションリストは、受信された測位要求によりプロセッサ210によって生成されてよく、または別の構成要素によって生成されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 As another example, the processor 210 should receive the positioning data sent by the positioning chip and send the positioning data to each application program according to the current status of each application program in at least one application program requesting positioning service. It may be configured to determine if. The processor 210 may determine at least one application program requesting a positioning service based on at least one received positioning request, or acquire a positioning service request application list and all applications in the positioning service request application list. The program may be determined as at least one application program that requires a positioning service. The positioning service request application list may be generated by the processor 210 according to the received positioning request, or may be generated by another component. This embodiment of the invention does not set any limitations herein.

この事例において、任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける第1のアプリケーションプログラムが測位サービス制限されていない状態にあると決定した、または第1のアプリケーションプログラムが前景で実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムに測位データを送ってよい。任意選択で、別の実施形態において、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける第1のアプリケーションプログラムが現在、測位サービス制限された状態にあり、かつ背景において実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムに測位データを送らなくてよい。この事例において、任意選択で、プロセッサ210は、少なくとも1つのアプリケーションプログラムに入っており、かつ測位サービス制限されていない状態にあるアプリケーションプログラム、および少なくとも1つのアプリケーションプログラムに入っており、かつ前景において実行しているアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。プロセッサ210が第1のアプリケーションプログラムに測位データを送らないとき、第1のアプリケーションプログラムは、測位サービスを実行しなくてよく、第1のアプリケーションプログラムが実行するときに生成される電力消費を低減するようにする。 In this case, optionally, the processor 210 determines that the first application program in at least one application program is in a state where the positioning service is not restricted, or the first application program is running in the foreground. If determined, the processor 210 may send positioning data to the first application program. Optionally, in another embodiment, if the processor 210 determines that the first application program in at least one application program is currently in a positioning service restricted state and is running in the background. The 210 does not have to send the positioning data to the first application program. In this case, optionally, the processor 210 is contained in at least one application program and is in an unrestricted positioning service state, and is contained in at least one application program and is executed in the foreground. Positioning data may be sent to your application program. However, this embodiment of the present invention is not limited herein. When the processor 210 does not send positioning data to the first application program, the first application program does not have to execute the positioning service and reduces the power consumption generated when the first application program executes. To do so.

したがって、本発明のこの実施形態における端末デバイスによれば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、プロセッサは、第1のアプリケーションプログラムにまったく測位サービスを提供しない。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、かつ端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the terminal device in this embodiment of the present invention, when the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor. No positioning service is provided for the first application program. This means that some application programs that implement active control over the power consumption provided by the positioning service in the terminal device and are running in the background of the terminal device, such as frequent positioning starts or long-term positioning, etc. It is possible to avoid the abnormal positioning behavior of the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience.

本発明のこの実施形態において、測位サービス許可ステータスが、端末デバイス200にインストールされたすべての、またはいくつかのアプリケーションプログラムに関して設定されてよい。例えば、異常な測位挙動を有することがある、またはしばしば有したアプリケーションプログラムの測位サービス許可ステータスが、測位サービス制限された状態に設定されてよい。任意選択で、各アプリケーションプログラムの測位サービス許可ステータスが、ユーザによって設定されてよく、または端末デバイスのデフォルトの設定であってよく、またはアプリケーションプログラムの挙動に関する統計を解析すること、および収集することによって端末デバイスによって決定されてよい。本発明のこの実施形態は、本明細書において限定されない。あるいは、いくつかのアプリケーションプログラムが、測位サービス制限された状態に設定されてよく、測位サービス制限された状態に設定されない他のアプリケーションプログラムが、デフォルトで測位サービス制限されていない状態にある、もしくはデフォルトで測位サービス制限された状態にない。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the invention, the positioning service authorization status may be set for all or some application programs installed on the terminal device 200. For example, the positioning service authorization status of an application program that may or often has anomalous positioning behavior may be set to a positioning service restricted state. Optionally, the positioning service authorization status of each application program may be set by the user, or may be the default setting of the terminal device, or by analyzing and collecting statistics on the behavior of the application program. It may be determined by the terminal device. This embodiment of the invention is not limited herein. Alternatively, some application programs may be set to the positioning service restricted state, and other application programs that are not set to the positioning service restricted state may be in the positioning service restricted state by default, or by default. Positioning service is not restricted. This embodiment of the invention does not set any limitations herein.

任意選択の実施形態において、プロセッサ210は、アプリケーションプログラムの測位サービス許可ステータスと実行ステータスを別々に決定してよい。 In an optional embodiment, the processor 210 may determine the positioning service authorization status and the execution status of the application program separately.

詳細には、プロセッサ210は、複数の形態において、アプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。例えば、端末デバイス200は、メモリをさらに含む。メモリは、測位サービスブラックリストを記憶してよい。測位サービスブラックリストは、測位サービス制限された状態に設定された少なくとも1つのアプリケーションプログラムを含む。この事例において、プロセッサ210は、測位サービスブラックリストが第1のアプリケーションプログラムを含むかどうかをクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。あるいは、端末デバイス200は、アプリケーションプログラムに関するタグを設定して、アプリケーションプログラムの測位サービス許可ステータスを示してよい。端末デバイス200は、すべてのアプリケーションプログラムに関するタグを設定してよく、ここで、タグは、アプリケーションプログラムが測位サービス制限された状態にあること、または測位サービス制限されていない状態にあることを示す。あるいは、端末デバイス200は、測位サービス制限された状態に設定されたアプリケーションプログラムに関してだけタグを設定してよく、すなわち、タグが設定されるアプリケーションプログラムは、測位サービス制限された状態にあるアプリケーションプログラムであり、かつまったくタグが設定されないアプリケーションプログラムは、測位サービス制限されていない状態にあるアプリケーションプログラムである。この事例において、プロセッサは、第1のアプリケーションプログラムのタグにより、またはタグが第1のアプリケーションプログラムに関して設定されているかどうかにより、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。任意選択で、プロセッサは、アプリケーションプログラムの測位サービス許可ステータスを別の形態で決定してもよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Specifically, the processor 210 may determine in a plurality of forms whether the application program is in a positioning service restricted state. For example, the terminal device 200 further includes a memory. The memory may store the positioning service blacklist. The positioning service blacklist includes at least one application program set to the positioning service restricted state. In this case, the processor 210 may determine whether the first application program is in a positioning service restricted state by querying whether the positioning service blacklist includes the first application program. Alternatively, the terminal device 200 may set a tag related to the application program to indicate the positioning service permission status of the application program. The terminal device 200 may set tags for all application programs, where the tags indicate that the application program is in a positioning service restricted state or is not in a positioning service restricted state. Alternatively, the terminal device 200 may set a tag only for the application program set in the positioning service restricted state, that is, the application program in which the tag is set is an application program in the positioning service restricted state. An application program that exists and is not tagged at all is an application program in which the positioning service is not restricted. In this case, the processor determines whether the first application program is in a positioning service restricted state, either by the tag of the first application program or by whether the tag is set for the first application program. You can do it. Optionally, the processor may determine the positioning service authorization status of the application program in another form. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210が、第1のアプリケーションプログラムが現在、前景で実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムの測位サービス許可ステータスを決定するステップ、または第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定するステップを遂行しなくてよい。代わりに、プロセッサ210は、第1のアプリケーションプログラムに対応する測位情報を直接に送る。あるいは、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限された状態にないと決定した場合、プロセッサ210は、第1のアプリケーションプログラムの実行ステータスを決定するステップを実行しなくてよい。代わりに、プロセッサ210は、第1のアプリケーションプログラムに対応する測位情報を直接に送る。しかし、本発明のこの実施形態は、本明細書において限定されない。 If, optionally, the processor 210 determines that the first application program is currently running in the foreground, the processor 210 determines the positioning service authorization status of the first application program, or the first step. You do not have to perform the steps to determine if the application program is in a positioning service restricted state. Instead, the processor 210 directly sends the positioning information corresponding to the first application program. Alternatively, if the processor 210 determines that the first application program is not in the positioning service restricted state, the processor 210 does not have to perform the step of determining the execution status of the first application program. Instead, the processor 210 directly sends the positioning information corresponding to the first application program. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、プロセッサ210は、アプリケーションプログラムの測位サービス許可ステータスと実行ステータスを別々に決定してなくてよい。代わりに、プロセッサ210は、アプリケーションプログラムの現在のステータスが測位サービスを使用することを許されるか、または測位サービスを使用することを禁止されるかを直接に決定する。測位サービスを使用することを禁止されるアプリケーションプログラムは、測位サービス制限された状態にあり、かつ背景で実行しているアプリケーションプログラムである。測位サービスを使用することを許されるアプリケーションプログラムは、測位サービス制限された状態にないアプリケーションプログラムであるか、または前景で実行しているアプリケーションプログラムである。任意選択で、端末デバイス200のメモリは、測位サービス凍結されたアプリケーションリストを記憶してよい。測位サービス凍結されたアプリケーションリストは、測位機能を使用することを禁止された少なくとも1つのアプリケーションプログラムを含む。この事例において、プロセッサ210は、測位サービス凍結されたアプリケーションリストにクエリすることによって第1のアプリケーションプログラムの現在のステータスを直接に決定してよい。詳細には、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含む場合、プロセッサは、第1のアプリケーションプログラムの現在のステータスが測位機能を使用することを禁止されている、すなわち、第1のアプリケーションプログラムは現在、測位サービス制限された状態にあり、かつ背景において実行していると決定してよい。そうではなく、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含まない場合、プロセッサ210は、第1のアプリケーションプログラムの現在のステータスが測位機能を使用することを許されている、すなわち、第1のアプリケーションプログラムが測位サービス制限された状態にない、または第1のアプリケーションプログラムが前景において実行していると決定してよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, the processor 210 does not have to determine the positioning service authorization status and the execution status of the application program separately. Instead, the processor 210 directly determines whether the current status of the application program is allowed to use the positioning service or prohibited from using the positioning service. An application program for which the use of the positioning service is prohibited is an application program that is in a state where the positioning service is restricted and is running in the background. An application program that is allowed to use the positioning service is either an application program that is not in a positioning service restricted state or an application program that is running in the foreground. Optionally, the memory of the terminal device 200 may store the positioning service frozen application list. Positioning Service The frozen application list contains at least one application program that is prohibited from using the positioning function. In this case, the processor 210 may directly determine the current status of the first application program by querying the positioning service frozen application list. Specifically, if the positioning service frozen application list includes a first application program, the processor is prohibited from using the positioning function in the current status of the first application program, i.e. Application programs may be determined to be currently in a positioning service restricted state and running in the background. Otherwise, if the positioning service frozen application list does not include the first application program, the processor 210 is allowed the current status of the first application program to use the positioning function, i.e. It may be determined that the first application program is not in the positioning service restricted state or that the first application program is running in the foreground. However, this embodiment of the present invention is not limited herein.

任意選択で、測位サービス凍結されたアプリケーションリストは、プロセッサ210によって生成されてよい。例えば、プロセッサは、測位サービス凍結されたアプリケーションリストに、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを追加してよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the positioning service frozen application list may be generated by processor 210. For example, the processor may add at least one application program that is in a positioning service restricted state and is running in the background to the positioning service frozen application list. However, this embodiment of the present invention is not limited herein.

任意選択で、プロセッサ210は、測位サービス凍結されたアプリケーションリストを更新するようにさらに構成されてよい。詳細には、プロセッサ210は、測位サービス凍結されたアプリケーションリストを周期的に更新してよく、または更新するようにトリガされてよい。例えば、測位サービス凍結されたリストにおけるアプリケーションプログラムが背景実行から前景実行に変化した場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストからアプリケーションプログラムを削除してよい。あるいは、測位サービス制限された状態にあるアプリケーションプログラムが前景実行から背景実行に変化した場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストにアプリケーションプログラムを追加してよい。あるいは、ユーザまたは端末デバイスの設定が変化し、それゆえ、測位サービス制限された状態にあるアプリケーションプログラムが測位サービス制限された状態にないことに変化し、かつアプリケーションプログラムが測位サービス凍結されたアプリケーションリストに含められている場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストからアプリケーションプログラムを削除してもよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may be further configured to update the positioning service frozen application list. Specifically, the processor 210 may periodically update the positioning service frozen application list, or may be triggered to update. For example, if the application program in the positioning service frozen list changes from background execution to foreground execution, the processor 210 may remove the application program from the positioning service frozen application list. Alternatively, if the application program in the positioning service restricted state changes from foreground execution to background execution, the processor 210 may add the application program to the positioning service frozen application list. Alternatively, the settings of the user or terminal device have changed, and therefore the application program in the positioning service restricted state has changed to not in the positioning service restricted state, and the application program has the positioning service frozen application list. The processor 210 may remove the application program from the positioning service frozen application list if it is included in. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、端末デバイス200におけるプロセッサ210は、端末デバイス200の現在のステータスにより、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供すべきかどうかを決定するように構成されてよい。例えば、プロセッサ210は、端末デバイスの現在のステータスにより、獲得された測位情報を送るべきかどうかを決定してよい。任意選択で、端末デバイス200の現在のステータスは、ディスプレイのステータス、動きステータス、または類似したもののうちの少なくとも1つにより決定されてよい。例えば、端末デバイス200は、ディスプレイと、端末デバイスの現在の動きデータを獲得するように構成された動きセンサとをさらに含んでよい。この事例において、プロセッサ210は、ディスプレイのステータス、および動きデータにより決定される端末デバイスの動きステータスにより、獲得された測位情報を送るべきかどうかを決定してよい。動きステータスは、動いている状態または静止状態を含んでよく、かつ動きステータスは、動きデータにより動きセンサまたはプロセッサによって決定されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In another optional embodiment, the processor 210 in the terminal device 200 is configured to determine, depending on the current status of the terminal device 200, whether to provide the positioning service to at least one application program requesting the positioning service. May be done. For example, the processor 210 may determine whether to send the acquired positioning information based on the current status of the terminal device. Optionally, the current status of the terminal device 200 may be determined by at least one of display status, motion status, or similar. For example, the terminal device 200 may further include a display and a motion sensor configured to acquire the current motion data of the terminal device. In this case, the processor 210 may determine whether to send the acquired positioning information based on the status of the display and the motion status of the terminal device determined by the motion data. The motion status may include a moving state or a stationary state, and the motion status may be determined by the motion sensor or processor based on the motion data. This embodiment of the invention does not set any limitations herein.

プロセッサ210が、端末デバイス200が現在、以下の条件、すなわち、ディスプレイが画面オフ状態にある、動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、プロセッサ210は、測位情報を破棄してよく、すなわち、プロセッサは、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供しない。任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおけるいずれかのアプリケーションプログラムによって送られた測位要求を受信した場合、プロセッサ210は、測位要求を破棄してよく、測位チップに測位要求を転送しなくてよい。あるいは、プロセッサ210が、測位チップによって送られた測位データを受信した場合、プロセッサ210は、測位データを破棄してよく、少なくとも1つのアプリケーションプログラムにおけるいずれのアプリケーションプログラムにも測位データを送らなくてよい。しかし、本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 The processor 210 currently has the following conditions: the display is in the screen off state, the motion status is in the stationary state, or the display is in the screen off state and the motion status is in the stationary state. If any one of the above is currently satisfied, the processor 210 may discard the positioning information, that is, the processor does not provide the positioning service to at least one application program requesting the positioning service. Optionally, if the processor 210 receives a positioning request sent by any of the application programs in at least one application program, the processor 210 may discard the positioning request and forward the positioning request to the positioning chip. It doesn't have to be. Alternatively, when the processor 210 receives the positioning data sent by the positioning chip, the processor 210 may discard the positioning data and may not send the positioning data to any application program in at least one application program. .. However, this embodiment of the present invention does not set any limitations herein.

任意選択で、端末デバイスの電力消費をさらに低減するのに、プロセッサは、測位サービスをさらにディセーブルにしてよく、例えば、測位チップをディセーブルにしてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, to further reduce the power consumption of the terminal device, the processor may further disable the positioning service, eg, the positioning chip. However, this embodiment of the present invention is not limited herein.

任意選択で、プロセッサ210は、端末デバイスが現在、静止状態にあり、かつ/またはディスプレイが画面オフ状態にあると決定したとき、測位情報を破棄してよく、または端末デバイスが特定の持続時間にわたって静止状態にあり、かつ/またはディスプレイが特定の持続時間にわたって画面オフ状態にあると決定したとき、測位情報を破棄してよい。例えば、プロセッサ210は、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスが現在、静止状態にあるうちのいずれか1つを現在、満たす場合、測位情報を破棄する。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may discard the positioning information when it determines that the terminal device is currently in a quiesced state and / or the display is in the screen off state, or the terminal device may discard the positioning information for a certain duration. Positioning information may be discarded when it is stationary and / or the display determines that it has been screened off for a certain duration. For example, the processor 210 has the following conditions: the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the quiescent state reaches the second threshold. Alternatively, if the duration of the display off screen reaches a third threshold and the terminal device currently meets any one of the currently stationary states, the positioning information is discarded. However, this embodiment of the present invention is not limited herein.

対応して、プロセッサ210は、プロセッサ210が、端末デバイス200が前述の条件を満たさないと決定した場合、測位情報を送ってよい。 Correspondingly, the processor 210 may send positioning information when the processor 210 determines that the terminal device 200 does not satisfy the above-mentioned conditions.

別の任意選択の実施形態において、プロセッサ210が、端末デバイス200のディスプレイが画面オン状態にあり、かつ/または端末デバイス200が現在、動いている状態にあると決定した場合、プロセッサ210は、測位情報を送ってよく、すなわち、プロセッサは、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供する。任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける1つまたは複数のアプリケーションプログラムによって送られた測位要求を受信した場合、プロセッサ210は、測位チップに受信された測位要求を転送してよい。あるいは、プロセッサ210が、測位チップによって送られた測位データを受信した場合、プロセッサ210は、少なくとも1つのアプリケーションプログラムにおける1つまたは複数のアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書においてまったく限定を設定しない。任意選択で、プロセッサ210は、少なくとも1つのアプリケーションプログラムにおける各アプリケーションプログラムの現在のステータスにより、各アプリケーションプログラムに測位サービスを提供すべきかどうかをさらに決定してよい。特定の実装形態に関して、前述の実施形態における第1のアプリケーションプログラムの説明を参照されたい。明瞭のため、詳細は、本明細書において説明されない。 In another optional embodiment, if the processor 210 determines that the display of the terminal device 200 is in the screen-on state and / or the terminal device 200 is currently in motion, the processor 210 is positioned. The information may be sent, i.e., the processor provides the positioning service to at least one application program requesting the positioning service. Optionally, if the processor 210 receives a positioning request sent by one or more application programs in at least one application program, the processor 210 may transfer the received positioning request to the positioning chip. Alternatively, when the processor 210 receives the positioning data sent by the positioning chip, the processor 210 may send the positioning data to one or more application programs in at least one application program. However, this embodiment of the present invention does not set any limitations herein. Optionally, the processor 210 may further determine whether to provide positioning services to each application program based on the current status of each application program in at least one application program. Please refer to the description of the first application program in the above-described embodiment for a specific implementation. For clarity, details are not described herein.

別の任意選択の実施形態において、プロセッサ210は、端末デバイスがユーザスリープ状態にあると決定したとき、測位情報を破棄するようにさらに構成されてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, the processor 210 may be further configured to discard the positioning information when the terminal device determines that it is in the user sleep state. However, this embodiment of the present invention is not limited herein.

本発明のこの実施形態において、端末デバイス200は、測位機能を有するいずれかのデバイス、例えば、モバイル電話、タブレットパーソナルコンピュータ(Tablet Personal Computer)、メディアプレーヤ、スマートテレビ、ラップトップコンピュータ(Laptop Computer)、ウルトラモバイルパーソナルコンピュータ(Ultra−mobile Personal Computer、UMPC)、ネットブック、携帯情報端末(personal digital assistant、PDA)、パーソナルコンピュータ(Personal Computer)、モバイルインターネットデバイス(Mobile Internet Device、MID)、またはスマートウォッチなどのウェアラブルデバイス(Wearable Device)であってよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the present invention, the terminal device 200 is any device having a positioning function, for example, a mobile phone, a tablet personal computer, a media player, a smart TV, a laptop computer, and the like. Ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), netbook, mobile information terminal (personal digital computer, PDA), personal computer (Personal Computer), mobile internet device (Mobile Internet device) It may be a wearable device (Wearable Computer). This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、集積回路(Integrated Circuit、IC)を含んでよい。例えば、プロセッサ210は、独立にパッケージされたICを含んでよく、または同一の機能もしくは異なる機能を有し、かつ接続されている複数のパッケージされたICを含んでよい。プロセッサ210は、中央処理ユニット(Central Processing Unit、CPU)であってよい。プロセッサ210は、別の汎用プロセッサ、デジタル信号プロセッサ(DSP)、特定用途向け集積回路(ASIC)、フィールドプログラマブルゲートアレイ(FPGA)もしくは別のプログラマブル論理デバイス、ディスクリートのゲートもしくはトランジスタ論理デバイス、ディスクリートのハードウェア構成要素、または類似したものであってもよい。汎用プロセッサは、マイクロプロセッサであってよく、またはプロセッサは、いずれかの従来のプロセッサ、または類似したものであってもよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Optionally, the processor 210 may include an integrated circuit (IC). For example, the processor 210 may include independently packaged ICs, or may include a plurality of packaged ICs having the same or different functions and being connected. The processor 210 may be a central processing unit (CPU). Processor 210 is another general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or another programmable logic device, discrete gate or transistor logic device, discrete hardware. It may be a ware component or something similar. The general purpose processor may be a microprocessor, or the processor may be any conventional processor or something similar. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、メモリ220に結合され、メモリ220に記憶された命令を執行するように構成されてよい。プロセッサ210が命令を執行したとき、プロセッサは、前述の実施形態におけるプロセッサに対応するステップを実行するように構成される。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may be coupled to memory 220 and configured to execute instructions stored in memory 220. When the processor 210 executes an instruction, the processor is configured to perform the steps corresponding to the processor in the aforementioned embodiments. However, this embodiment of the present invention is not limited herein.

図3は、本発明のこの実施形態におけるプロセッサ210の可能な実装形態を示す。プロセッサ210は、電力節約ウィザード凍結アプリケーションと、電力マネージャサービス(Power Manager Service)と、ロケーションマネージャサービス(Location Manager Service)とを含んでよい。電力節約ウィザード凍結アプリケーションは、測位サービス凍結されたアプリケーションリストを生成するのに、例えば、現在のアプリケーションシナリオにより、測位サービスを使用することが禁止された少なくとも1つのアプリケーションプログラムを決定するのに、かつ電力マネージャサービスを使用することによってロケーションマネージャサービスに電力節約ウィザード凍結されたアプリケーションリストを送るのに使用される。電力マネージャサービスは、プロキシGPS(proxyGPS)インターフェースを使用することによってロケーションマネージャサービスに接続されてよい。ロケーションマネージャサービスは、GPS凍結プログラム(GpsFreezeProc)を含み、かつGPS凍結プログラムは、測位サービス凍結されたアプリケーションリスト(HashMapなどの)を含む。ロケーションマネージャサービスは、測位サービス凍結されたアプリケーションリストにクエリすることによって、アプリケーションプログラムに測位データを送るべきかどうか、または測位チップにアプリケーションプログラムの測位要求を送るべきかどうかを決定してよい。 FIG. 3 shows a possible implementation of the processor 210 in this embodiment of the present invention. The processor 210 may include a power saving wizard freeze application, a power manager service, and a location manager service. The Power Saving Wizard Frozen Application is used to generate a Positioning Service Frozen Application List, for example, to determine at least one application program that is prohibited from using the Positioning Service due to the current application scenario. Power Saving Wizard Used to send a frozen application list to the Location Manager service by using the Power Manager service. The power manager service may be connected to the location manager service by using a proxy GPS (proxyGPS) interface. The location manager service includes a GPS freeze program (GpsFreezeProc), and the GPS freeze program includes a positioning service frozen application list (such as HashMap). The location manager service may determine whether to send positioning data to the application program or to send the application program's positioning request to the positioning chip by querying the positioning service frozen application list.

別の任意選択の実施形態において、端末デバイスの電力消費をさらに低減するのに、プロセッサ210は、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ背景において実行していると決定したとき、第1のアプリケーションプログラムの命令を執行することを停止するようにさらに構成されて、第1のアプリケーションプログラムが凍結された状態に入るようにしてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, to further reduce the power consumption of the terminal device, processor 210 determines that the first application program is in a positioning service restricted state and is running in the background. At that time, it may be further configured to stop executing the instructions of the first application program so that the first application program enters the frozen state. However, this embodiment of the present invention is not limited herein.

任意選択で、本発明のこの実施形態において、アプリケーションプログラムが凍結された状態に入る、または凍結された状態から能動的な状態に変化する条件は、アプリケーションプログラムが測位サービスを使用することを許されるかどうかの条件と同様であってよい。明瞭のため、詳細は、本明細書において説明されない。 Optionally, in this embodiment of the invention, the condition that the application program enters the frozen state or changes from the frozen state to the active state allows the application program to use the positioning service. It may be the same as the condition of whether or not. For clarity, details are not described herein.

図2および図3を参照して、以上は、本発明のこの実施形態による端末デバイスを詳細に説明する。図4から図6を参照して、以下は、本発明の実施形態による測位情報処理方法を詳細に説明する。 With reference to FIGS. 2 and 3, the terminal device according to this embodiment of the present invention will be described in detail. With reference to FIGS. 4 to 6, the positioning information processing method according to the embodiment of the present invention will be described in detail below.

図4は、本発明の実施形態において提供される測位情報処理方法300を示す。測位情報処理方法は、測位機能を有する端末デバイスに適用されてよく、例えば、前述の端末デバイス200に適用されてよい。端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリと、プロセッサとを含む。図4に示されるとおり、方法300は、以下のステップを含む。 FIG. 4 shows the positioning information processing method 300 provided in the embodiment of the present invention. The positioning information processing method may be applied to a terminal device having a positioning function, and may be applied to, for example, the terminal device 200 described above. The terminal device includes a memory configured to store at least one application program and a processor. As shown in FIG. 4, the method 300 includes the following steps.

S310 プロセッサが、測位情報を受信する。 The S310 processor receives the positioning information.

S320 プロセッサが、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄する。 The S320 processor discards the positioning information when the first application program is in the positioning service restricted state and the first application program is currently running in the background.

本発明のこの実施形態において、少なくとも1つのアプリケーションプログラムは、第1のアプリケーションプログラムを含み、かつ第1のアプリケーションプログラムは、測位サービスを要求する(アプリケーションプログラムが測位サービスを要求したこと、または測位サービスを要求していることを含む)。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、第1のアプリケーションプログラムに対応する測位情報を破棄する。第1のアプリケーションプログラムに対応する測位情報は、以下、すなわち、第1のアプリケーションプログラムによって要求された測位データ、または第1のアプリケーションプログラムの測位要求のうちの少なくとも1つを含んでよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In this embodiment of the invention, at least one application program includes a first application program, and the first application program requests a positioning service (that the application program has requested a positioning service, or a positioning service). Including requesting). If the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor discards the positioning information corresponding to the first application program. The positioning information corresponding to the first application program may include at least one of the following, that is, the positioning data requested by the first application program, or the positioning request of the first application program. However, this embodiment of the present invention is not limited herein.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

この事例において、任意選択の実施形態において、プロセッサによる、S310において測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつ
プロセッサによる、S320において測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを飛ばすことを含む。
In this example, in an optional embodiment, receiving positioning information in S310 by the processor includes receiving a positioning request sent by the first application program by the processor and by the processor in S320. Discarding the positioning information in the above includes skipping sending a positioning request to the positioning chip by the processor.

この事例において、別の任意選択の実施形態において、プロセッサによる、S310において測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつ
プロセッサによる、S320において測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。
In this example, in another optional embodiment, receiving the positioning information in S310 by the processor comprises receiving the current positioning data of the terminal device sent by the positioning chip by the processor, and the processor. Discarding the positioning information in S320 according to the above includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。任意選択で、プロセッサは、測位サービスを要求する別のアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In this case, the processor does not send positioning data to the first application program. Optionally, the processor may send the positioning data to another application program requesting a positioning service. However, this embodiment of the present invention is not limited herein.

任意選択で、端末デバイスは、測位チップを含まなくてよい。例えば、プロセッサに測位機能が一体化される。この事例において、任意選択で、プロセッサは、RF回路によって送られた測位データを受信してよい。あるいは、プロセッサは、RF回路によって送られた測位信号を受信し、かつ測位信号により測位データを生成してよい。加えて、プロセッサは、第1のアプリケーションプログラムの現在のステータスにより、第1のアプリケーションプログラムに測位データを送るべきかどうかをさらに決定してよい。 Optionally, the terminal device does not have to include a positioning chip. For example, the positioning function is integrated into the processor. In this case, optionally, the processor may receive the positioning data sent by the RF circuit. Alternatively, the processor may receive the positioning signal sent by the RF circuit and generate the positioning data from the positioning signal. In addition, the processor may further determine whether positioning data should be sent to the first application program based on the current status of the first application program.

別の任意選択の実施形態において、方法300は、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景において実行している場合、測位情報を送ることをさらに含む。 In another optional embodiment, method 300 is when the first application program by the processor is not in a positioning service restricted state and / or the first application program is currently running in the foreground. It further includes sending positioning information.

任意選択で、端末デバイスが測位チップを含まない場合、第1のアプリケーションプログラムの測位要求を受信したとき、プロセッサは、第1のアプリケーションプログラムの現在のステータスにより、測位要求を承認すべきかどうかを決定してよい。例えば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、受信された測位要求メッセージを破棄して、第1のアプリケーションプログラムの測位要求を拒否するようにしてよく、そうではない場合、プロセッサは、第1のアプリケーションプログラムの測位要求を承認してよく、例えば、第1のアプリケーションプログラムに測位要求応答を送ってよく、または第1のアプリケーションプログラムに現在の測位データを直接に送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, if the terminal device does not include a positioning chip, upon receiving the positioning request of the first application program, the processor determines whether to approve the positioning request based on the current status of the first application program. You can do it. For example, if the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor discards the received positioning request message and first. The positioning request of the application program may be rejected, otherwise the processor may approve the positioning request of the first application program, eg, send a positioning request response to the first application program. Often, the current positioning data may be sent directly to the first application program. However, this embodiment of the present invention is not limited herein.

この事例において、任意選択で、測位情報が第1のアプリケーションプログラムの測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 In this case, optionally, when the positioning information includes the positioning request of the first application program, sending the positioning information by the processor includes sending the positioning request to the positioning chip by the processor.

この事例において、任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 In this case, if the positioning information includes positioning data, optionally, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

任意選択の実施形態において、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、ユーザによって事前設定され、または端末デバイスのデフォルトの設定である。あるいは、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、第1のアプリケーションプログラムの挙動に関する統計を収集することによって端末デバイスによって決定されてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In an optional embodiment, whether the first application program is in a positioning service restricted state is preset by the user or is the default setting of the terminal device. Alternatively, whether or not the first application program is in a positioning service restricted state may be determined by the terminal device by collecting statistics on the behavior of the first application program. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、S320の前に、方法300は、
プロセッサによる、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含むかどうかを決定することであって、ここで、測位サービス凍結されたアプリケーションリストは、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを含むことをさらに含み、かつ
対応して、S320において、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄することは、
プロセッサによる、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含む場合、測位情報を破棄することを含む。
In another optional embodiment, prior to S320, method 300
The processor determines whether the positioning service frozen application list contains a first application program, wherein the positioning service frozen application list is in a positioning service restricted state and Further including including at least one application program running in the background, and correspondingly, in S320, the first application program by the processor is in a positioning service restricted state and the first application program. Discarding positioning information is currently running in the background
Positioning service by processor If the frozen application list contains a first application program, it involves discarding the positioning information.

この事例において、プロセッサは、測位サービス凍結されたアプリケーションリストにクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ背景において実行しているかどうかを決定してよい。 In this case, the processor may determine whether the first application program is in a positioning service restricted state and is running in the background by querying the positioning service frozen application list.

別の任意選択の実施形態において、任意選択で、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景で実行している場合、測位情報を送ることは、
プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、測位情報を送ることを含む。
In another optional embodiment, if, at the option, the first application program by the processor is not in a positioning service restricted state and / or the first application program is currently running in the foreground. Sending positioning information is
Positioning service by processor If the frozen list does not include the first application program, it involves sending positioning information.

別の任意選択の実施形態において、方法300は、
プロセッサによる、第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、測位サービス凍結されたアプリケーションリストから第1のアプリケーションプログラムを削除することをさらに含む。
In another optional embodiment, method 300
When the first application program by the processor changes from background execution to foreground execution, the positioning service further includes removing the first application program from the frozen application list.

別の任意選択の実施形態において、方法300は、プロセッサによる、少なくとも1つのアプリケーションプログラムにおける第2のアプリケーションプログラムが前景実行から背景実行に変化し、かつ第2のアプリケーションプログラムが測位サービス制限された状態にある場合、測位サービス凍結されたアプリケーションリストに第2のアプリケーションプログラムを追加することをさらに含む。 In another optional embodiment, method 300 is a state in which the second application program in at least one application program is changed from foreground execution to background execution by the processor and the second application program is restricted in positioning service. The positioning service further includes adding a second application program to the frozen application list.

本発明のこの実施形態における方法300のステップおよび特定の実装形態に関して、前述の装置実施形態における対応する説明を参照されたい。繰り返しを回避するのに、詳細は、本明細書において説明されない。 See the corresponding description in the device embodiment described above with respect to the steps of method 300 and specific implementations in this embodiment of the invention. To avoid repetition, details are not described herein.

したがって、本発明のこの実施形態における測位情報処理方法によれば、プロセッサは、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、第1のアプリケーションプログラムに対応する測位情報を破棄する。このことは、端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the positioning information processing method according to this embodiment of the present invention, the processor is in a state where the positioning service is restricted by the first application program, and the first application program is currently executed in the background. At that time, the positioning information corresponding to the first application program is discarded. This avoids unusual positioning behaviors of some application programs running in the background of the terminal device, such as frequent positioning starts or long-term positioning, reducing the power consumption of the terminal device and the terminal. The standby time of the device can be increased and the user experience can be improved.

図5は、本発明の別の実施形態において提供される測位情報処理方法400を示す。測位情報処理方法は、測位機能を有する端末デバイスに適用されてよく、例えば、前述の端末デバイス200に適用されてよい。端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含む。図5に示されるとおり、方法400は、以下のステップを含む。 FIG. 5 shows a positioning information processing method 400 provided in another embodiment of the present invention. The positioning information processing method may be applied to a terminal device having a positioning function, and may be applied to, for example, the terminal device 200 described above. The terminal device includes a processor, a display, and a motion sensor. As shown in FIG. 5, the method 400 includes the following steps.

S410 プロセッサが、測位情報を受信する。 The S410 processor receives the positioning information.

S420 プロセッサが、動きセンサによって獲得された動きデータにより端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定する。 The S420 processor determines whether the motion status of the terminal device is in motion or stationary based on the motion data acquired by the motion sensor.

S430 プロセッサが、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄する。 S430 Processor, the terminal device has the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the quiescent state, or the display is in the screen off state and the movement status of the terminal device is quiesced. If any one of the states is currently satisfied, the positioning information is discarded.

任意選択で、端末デバイスの現在の動きステータスが静止状態にあり、かつ/または端末デバイスのディスプレイが現在、画面オフ状態にある場合、プロセッサは、測位情報を破棄してよく、例えば、端末デバイス上の1つまたは複数のアプリケーションプログラムに測位サービスをまったく提供しなくてよい。 Optionally, if the terminal device's current motion status is quiesced and / or the terminal device's display is currently in the screen off state, the processor may discard the positioning information, eg, on the terminal device. It is not necessary to provide positioning services to one or more application programs of the above.

任意選択の実施形態において、S430において、プロセッサによる、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することは、
プロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスの現在の動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。
In an optional embodiment, in S430, the processor meets the following conditions: the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state and the terminal device. If any one of the motion statuses of is currently satisfied, discarding the positioning information is possible.
The processor causes the terminal device to reach the following conditions: the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the stationary state reaches the second threshold, or the display When the duration of the screen off state reaches the third threshold value and the current motion status of the terminal device currently satisfies any one of the stationary states, the positioning information is discarded.

第1の閾値、第2の閾値、または第3の閾値は、事前定義されてよく、またはユーザによって設定されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 The first threshold, the second threshold, or the third threshold may be predefined or set by the user. This embodiment of the invention does not set any limitations herein.

別の任意選択の実施形態において、方法400は、プロセッサによる、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、測位情報を送ることをさらに含む。 In another optional embodiment, method 400 is for positioning information when the current motion status of the terminal device by the processor is in motion and / or the display of the terminal device is currently in the screen-on state. Includes further sending.

任意選択で、プロセッサによる、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、測位情報を送ることは、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、プロセッサによる、第1のアプリケーションプログラムの現在のステータスにより、測位情報を送るべきかどうかを決定することを含む。 Optionally, if the current motion status of the terminal device by the processor is in motion and / or the display of the terminal device is currently in the screen on state, sending positioning information is the current state of the terminal device. If the motion status of is in motion and / or the display of the terminal device is currently in the screen-on state, the processor determines whether positioning information should be sent according to the current status of the first application program. Including deciding.

任意選択で、端末デバイスは、端末デバイスの現在の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire the current positioning data of the terminal device.

任意選択の実施形態において、プロセッサによる、S410において測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつ
プロセッサによる、S430において測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することであって、ここで、この事例において、プロセッサは、測位チップに測位要求を送らないことを含む。
In an optional embodiment, receiving positioning information in S410 by the processor includes receiving a positioning request sent by the first application program by the processor and receiving positioning information in S430 by the processor. Discarding is prohibiting the processor from sending a positioning request to the positioning chip, which in this case includes the processor not sending a positioning request to the positioning chip.

任意選択で、測位情報が第1のアプリケーションプログラムの測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに第1のアプリケーションプログラムの測位要求を送ることを含む。 If, optionally, the positioning information includes the positioning request of the first application program, sending the positioning information by the processor includes sending the positioning request of the first application program to the positioning chip by the processor.

別の任意選択の実施形態において、プロセッサによる、S410において測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつ
プロセッサによる、S430において測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することであって、ここで、この事例において、プロセッサは、測位サービスを要求する端末デバイス上の1つまたは複数のアプリケーションプログラムに端末デバイスの現在の測位データを送らないことを含む。
In another optional embodiment, receiving positioning information in S410 by the processor comprises receiving current positioning data of the terminal device sent by the positioning chip by the processor and in S430 by the processor. Discarding the positioning information prohibits the processor from sending the current positioning data of the terminal device to the first application program, where, in this case, the processor requests a positioning service. Includes not sending the current positioning data of the terminal device to one or more application programs on the terminal device.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

本発明のこの実施形態における方法400のステップおよび特定の実装形態に関して、前述の装置実施形態における対応する説明を参照されたい。繰り返しを回避するのに、詳細は、本明細書において説明されない。 See the corresponding description in the device embodiment described above with respect to the steps of method 400 and specific implementations in this embodiment of the invention. To avoid repetition, details are not described herein.

したがって、本発明のこの実施形態における測位情報処理方法によれば、端末デバイスのディスプレイが現在、画像オフ状態にあり、かつ/または端末デバイスが現在、静止状態にあると決定したとき、プロセッサは、受信された測位情報を破棄する。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させることができる。 Therefore, according to the positioning information processing method in this embodiment of the present invention, when the display of the terminal device is currently in the image off state and / or the terminal device is currently in the stationary state, the processor is determined. Discard the received positioning information. This can implement active control over the power consumption provided by the positioning service in the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience. ..

特定の例を参照して、以下は、本発明の実施形態において提供される測位情報処理方法のより詳細な説明を提供する。図6は、本発明の別の実施形態において提供される測位情報処理方法500を示す。 With reference to a particular example, the following provides a more detailed description of the positioning information processing methods provided in the embodiments of the present invention. FIG. 6 shows a positioning information processing method 500 provided in another embodiment of the present invention.

S510 測位サービス要求アプリケーションリストおよび測位サービス凍結されたアプリケーションリストにクエリすることによって、測位が現在、要求されるかどうかを決定する。 By querying the S510 positioning service request application list and the positioning service frozen application list, it is determined whether positioning is currently requested.

測位サービス要求アプリケーションリストは、測位サービスを要求する少なくとも1つのアプリケーションプログラムを含む。測位サービス凍結されたアプリケーションリストは、測位サービスを使用することを禁止された少なくとも1つのアプリケーションプログラムを含む。プロセッサは、測位サービス要求アプリケーションリストにクエリすることによって、測位サービスを要求する少なくとも1つのアプリケーションプログラムが現在、存在するかどうかを決定してよい。測位サービス要求アプリケーションリストが1つまたは複数のアプリケーションプログラムを含む場合、プロセッサは、測位サービス凍結されたアプリケーションリストにクエリすることによって、測位サービス要求アプリケーションリストにおけるアプリケーションプログラムが測位サービスを使用することを禁止されているかどうかを決定してよく、かつ測位サービスを使用することを許されたアプリケーションプログラムが測位サービス要求アプリケーションリストにおいて存在するかどうかをさらに決定してよい。測位サービスを使用することを許されたアプリケーションプログラムが測位サービス要求アプリケーションリストにおいて存在する場合、プロセッサは、測位が現在、遂行される必要があると決定してよく、そうではない場合、プロセッサは、測位が現在、遂行される必要がないと決定してよい。 The positioning service request application list includes at least one application program that requests the positioning service. Positioning Services The frozen application list contains at least one application program that is prohibited from using the positioning services. The processor may determine if at least one application program requesting the positioning service currently exists by querying the positioning service request application list. If the positioning service request application list contains one or more application programs, the processor prohibits the application programs in the positioning service request application list from using the positioning service by querying the positioning service frozen application list. It may be determined whether or not the application program is allowed to use the positioning service and may be further determined if it exists in the positioning service request application list. If an application program allowed to use the positioning service is present in the positioning service request application list, the processor may determine that the positioning currently needs to be performed, otherwise the processor may determine. It may be determined that the positioning does not currently need to be performed.

任意選択で、プロセッサは、S510を周期的に遂行してよく、またはS510を遂行するようにトリガされてよい。例えば、プロセッサは、測位サービス要求アプリケーションリストおよび/または測位サービス凍結されたアプリケーションリストが変化したとき、S510を遂行する。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor may perform S510 periodically or may be triggered to perform S510. For example, the processor performs S510 when the positioning service request application list and / or the positioning service frozen application list changes. However, this embodiment of the present invention is not limited herein.

S520 測位チップが現在、測位状態にあるかどうかを決定する。 S520 Determines whether the positioning chip is currently in the positioning state.

任意選択で、現在のステータスは、測位チップが現在、測位状態にあり、かつプロセッサが、測位が現在、遂行される必要があると決定した場合、または測位チップが現在、測位状態になく、かつプロセッサが、測位が現在、遂行される必要がないと決定した場合、保持されてよい。方法は、測位チップが現在、測位状態になく、かつプロセッサが、測位が現在、遂行される必要があると決定した場合、S530に進む。方法は、測位チップが現在、測位状態にあり、かつプロセッサが、測位が現在、遂行される必要がないと決定した場合、S540に進む。 Optionally, the current status is if the positioning chip is currently in the positioning state and the processor determines that the positioning currently needs to be performed, or if the positioning chip is not currently in the positioning state and If the processor determines that positioning does not currently need to be performed, it may be retained. The method proceeds to S530 if the positioning chip is not currently in the positioning state and the processor determines that the positioning currently needs to be performed. The method proceeds to S540 if the positioning chip is currently in the positioning state and the processor determines that the positioning does not currently need to be performed.

S530 測位チップに第1の命令情報を送り、ここで、第1の命令情報は、測位を遂行するよう測位チップに命令するのに使用される。 S530 A first command information is sent to the positioning chip, where the first command information is used to command the positioning chip to perform positioning.

S540 測位チップに第2の命令情報を送り、ここで、第2の命令情報は、測位を停止するよう測位チップに命令するのに使用される。 A second command information is sent to the S540 positioning chip, where the second command information is used to command the positioning chip to stop positioning.

プロセッサは、測位チップに命令を送って、測位を再開するよう、または測位を停止するよう測位チップに命令する。 The processor sends a command to the positioning chip to instruct the positioning chip to resume positioning or stop positioning.

図6における例は、当業者が、本発明の実施形態の範囲を限定する代わりに、本発明の実施形態をよりよく理解するのを助けるべきものであることに留意されたい。当業者は、図6に示される例により様々な均等の変形形態または変更形態を遂行してよく、そのような変形形態または変更形態も本発明の実施形態の範囲内に入る。 It should be noted that the examples in FIG. 6 should help one of ordinary skill in the art to better understand the embodiments of the invention, instead of limiting the scope of the embodiments of the invention. One of ordinary skill in the art may perform various uniform variants or modifications according to the examples shown in FIG. 6, such variants or modifications also fall within the scope of the embodiments of the present invention.

前述のプロセスのシーケンス番号は、執行シーケンスを意味しないことを理解されたい。プロセスの執行シーケンスは、プロセスの機能および内部論理により決定されるべきであり、本発明の実施形態の実装プロセスに対するいずれの限定としても解釈されるべきではない。 It should be understood that the sequence number of the process described above does not mean an execution sequence. The process execution sequence should be determined by the function and internal logic of the process and should not be construed as any limitation on the implementation process of the embodiments of the present invention.

本発明の実施形態は、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体をさらに提供する。コンピュータプログラムは、前述の方法を執行するのに使用される命令を含む。 Embodiments of the present invention further provide a computer-readable medium configured to store a computer program. The computer program contains instructions used to enforce the aforementioned method.

明瞭のため、本明細書における実施形態の説明は、実施形態の間の違いを強調することを理解されたい。したがって、本明細書においてそうではなく明記されるのでない限り、またはコンテキストから容易に考え出されるのでない限り、本明細書における実施形態に対して相互参照が行われてよい。 For clarity, it should be understood that the description of embodiments herein emphasizes the differences between embodiments. Therefore, cross-references may be made to embodiments herein, unless otherwise specified herein or as easily conceived from context.

当業者は、本明細書において開示される実施形態において説明される例と組み合わせて、方法ステップおよびユニットが、電子ハードウェア、コンピュータソフトウェア、またはこれらの組合せによって実装されてよいことを意識してよい。ハードウェアとソフトウェアの間の互換性を明確に説明するのに、以上は、機能による各実施形態のステップおよび構成を一般的に説明した。機能がハードウェアによって遂行されるか、またはソフトウェアによって遂行されるかは、技術的ソリューションの特定のアプリケーションおよび設計制約条件に依存する。当業者は、異なる方法を使用して、特定の各アプリケーションに関する説明される機能を実装してよいが、実装が本発明の範囲を超えると考えられるべきではない。 One of ordinary skill in the art may be aware that method steps and units may be implemented by electronic hardware, computer software, or a combination thereof, in combination with the examples described in the embodiments disclosed herein. .. To articulate compatibility between hardware and software, the steps and configurations of each embodiment by function have been generally described above. Whether a function is performed by hardware or software depends on the specific application and design constraints of the technical solution. One of ordinary skill in the art may use different methods to implement the features described for each particular application, but implementation should not be considered beyond the scope of the present invention.

便宜および簡単な説明の目的で、前述のシステム、装置、およびユニットの詳細な動作プロセスに関して、前述の方法実施形態における対応するプロセスに対して参照が行われてよく、詳細は、本明細書において説明されないことが当業者によって明確に理解されてよい。 For convenience and brief description, references may be made to the corresponding processes in the method embodiments described above with respect to the detailed operating processes of the systems, devices, and units described above, the details of which are described herein. It may be clearly understood by those skilled in the art that it is not explained.

本出願において提供されるいくつかの実施形態において、開示されるシステム、装置、および方法は、他の形態で実装されてよいことを理解されたい。例えば、説明される装置実施形態は、例に過ぎない。例えば、ユニット分割は、論理機能分割に過ぎず、実際の実装形態において他の分割であってよい。例えば、複数のユニットまたは構成要素が組み合わされて、もしくは一体化されて別のシステムにされてよく、またはいくつかの特徴が無視されて、もしくは執行されなくてよい。加えて、示される、もしくは検討される相互結合もしくは直接結合または通信接続は、装置もしくはユニットの間のいくつかのインターフェース、間接の結合もしくは通信接続、または電子接続、機械接続、もしくは他の形態の接続を介して実装されてよい。 It should be understood that in some embodiments provided in this application, the disclosed systems, devices, and methods may be implemented in other embodiments. For example, the device embodiments described are merely examples. For example, the unit division is merely a logical function division and may be another division in the actual implementation form. For example, multiple units or components may be combined or integrated into separate systems, or some features may be ignored or not enforced. In addition, the interconnected or direct coupled or communication connections shown or considered are some interfaces between devices or units, indirect coupling or communication connections, or electronic, mechanical, or other forms of connection. It may be implemented via a connection.

別々の部分として説明されるユニットは、物理的に別々であってよく、またはそうでなくてよく、ユニットとして示される部分は、物理的ユニットであってよく、またはそうでなくてよく、1つの位置に配置されてよく、または複数のネットワークユニット上に分散されてよい。ユニットのいくつか、またはすべては、実際の必要性により選択されて、本発明の実施形態のソリューションの目的を実現してよい。 Units described as separate parts may or may not be physically separate, and the parts designated as units may or may not be physical units. It may be located in a location or distributed over multiple network units. Some or all of the units may be selected according to the actual needs to achieve the object of the solution of the embodiments of the present invention.

加えて、本発明の実施形態における機能ユニットは、一体化されて1つの処理ユニットにされてよく、またはユニットの各々が物理的に単独で存在してよく、または2つ以上のユニットが一体化されて1つのユニットにされる。一体化されたユニットは、ハードウェアの形態で実装されてよく、またはソフトウェア機能ユニットの形態で実装されてよい。 In addition, the functional units in the embodiments of the present invention may be integrated into a single processing unit, or each of the units may be physically independent, or two or more units may be integrated. It is made into one unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

一体化されたユニットがソフトウェア機能ユニットの形態で実装され、かつ独立した製品として販売される、もしくは使用されるとき、一体化されたユニットは、コンピュータ可読記憶媒体に記憶されてよい。そのような理解に基づいて、本発明の技術的ソリューションは基本的に、または従来技術に寄与する部分が、または技術的ソリューションのすべて、もしくはいくつかが、ソフトウェア製品の形態で実装されてよい。コンピュータソフトウェア製品は、記憶媒体に記憶され、かつ本発明の実施形態において説明される方法のステップのすべて、またはいくつかを遂行するようコンピュータデバイス(パーソナルコンピュータ、サーバ、ネットワークデバイス、もしくは類似したものであってよい)に命令するためのいくつかの命令を含む。前述の記憶媒体は、USBフラッシュドライブ、取外し可能なハードディスク、読取り専用メモリ(Read−Only Memory、ROM)、ランダムアクセスメモリ(Random Access Memory、RAM)、磁気ディスク、または光ディスクなどの、プログラムコードを記憶することができるいずれかの媒体を含む。 When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored on a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention may be implemented in the form of a software product, either basically or in part that contributes to the prior art, or in whole or in part. A computer software product is a computer device (personal computer, server, network device, or similar) that is stored on a storage medium and that performs all or some of the steps of the method described in embodiments of the present invention. Includes some instructions to command (may be). The storage medium described above stores program code such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk. Includes any medium that can be.

前述の説明は、本発明の特定の実装形態に過ぎないが、本発明の保護範囲を限定することは意図していない。本発明において開示される技術範囲内で当業者によって直ちに考え出されるいずれの変形形態または置換形態も、本発明の保護範囲に入るものとする。したがって、本発明の保護範囲は、特許請求の範囲の保護範囲の対象であるものとする。 Although the above description is merely a specific implementation of the invention, it is not intended to limit the scope of protection of the invention. Any modification or substitution form immediately conceived by one of ordinary skill in the art within the technical scope disclosed in the present invention shall fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be the subject of the scope of protection of the claims.

本発明の実施形態は、通信分野に関し、より詳細には、端末デバイス、および端末デバイスに適用される測位情報処理方法に関する。 Embodiments of the present invention relate to the field of communication, and more specifically to terminal devices and positioning information processing methods applied to the terminal devices.

新世代モバイルインテリジェンスプラットフォームが一般的になるにつれ、全地球測位システム(Global Positioning System、GPS)、または別のタイプの全地球航法衛星システム(Global Navigation Satellite System、GNSS)を使用することによる測位は、すべての現在のインテリジェント端末(モバイル電話およびタブレットコンピュータなどの)のほとんど標準の機能である。測位機能は、端末デバイスの基本機能の役割をし、測位機能の電力消費は、常に一般的な問題である。例えば、端末デバイスのいくつかのアプリケーションは、短い時間内に測位をしばしば開始し、その結果、過度に高い電力消費をもたらす。いくつかのアプリケーションは、長い時間にわたって測位を開始し、その結果、過度に高い電力消費をもたらす。いくつかのアプリケーション(QQブラウザなどの)は、測位を開始し、ブロードキャスト通知タイプを使用することによって、測位データを獲得し、それゆえ、アプリケーションが測位を能動的に取り消さない場合、システムは、アプリケーションプロセスが終了された場合でさえ、測位を停止することができず、その結果、過度に高い電力消費をもたらす。 As new-generation mobile intelligence platforms become more commonplace, positioning by using the Global Positioning System (GPS), or another type of Global Navigation Satellite System (GNSS), is becoming more common. It is an almost standard feature of all current intelligent terminals (such as mobile phones and tablet computers). The positioning function plays a role of a basic function of the terminal device, and the power consumption of the positioning function is always a general problem. For example, some applications of terminal devices often initiate positioning within a short period of time, resulting in excessively high power consumption. Some applications start positioning over a long period of time, resulting in excessively high power consumption. If some application (such as QQ browser) initiates positioning and acquires positioning data by using a broadcast notification type, therefore, if the application does not actively cancel the positioning, the system will apply. Positioning cannot be stopped even when the process is terminated, resulting in excessively high power consumption.

前述の問題を解決するのに、図1に示される技術的ソリューションが従来技術において提案される。技術的ソリューションにおいて、端末は、アルゴリズムポリシーを使用することによって、長時間の測位または頻繁な測位などの異常な測位挙動を発見し、ブロードキャストメッセージを使用することによって電力を多く使うアプリケーションについてモバイル電話マネージャに通知する。モバイル電話マネージャは、ブロードキャストメッセージによりユーザに警告し、ユーザ許可が獲得されたとき、異常な測位挙動を有するアプリケーションを終了させ、かつ測位サービスを停止する。しかし、従来技術において、端末ユーザが処理をまったく遂行しない場合、アプリケーションプログラムに測位サービスを提供するかどうかは、アプリケーションプログラムの要求に完全に依存する。このことは、測位サービスによってもたらされる電力消費に対する能動的な制御を実装することができない。 To solve the above problems, the technical solution shown in FIG. 1 is proposed in the prior art. In technical solutions, terminals use algorithmic policies to discover unusual positioning behaviors such as long-term positioning or frequent positioning, and mobile phone managers for power-intensive applications by using broadcast messages. Notify to. The mobile phone manager warns the user with a broadcast message, and when the user permission is obtained, terminates the application having abnormal positioning behavior and stops the positioning service. However, in the prior art, if the terminal user does not perform any processing, whether or not to provide the positioning service to the application program depends completely on the request of the application program. This makes it impossible to implement active control over the power consumption provided by the positioning service.

本発明の実施形態は、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装するようにする、端末デバイス、および端末デバイスに適用される測位情報処理方法を提供する。 Embodiments of the present invention provide a terminal device and a positioning information processing method applied to the terminal device that implements active control over the power consumption provided by the positioning service in the terminal device.

第1の態様によれば、端末デバイスに適用される測位情報処理方法が提供され、ここで、端末デバイスは、プロセッサと、第1のアプリケーションプログラムを記憶するように構成されたメモリとを含み、かつ方法は、プロセッサによる、測位情報を受信すること、およびプロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景(バックグラウンド)において実行している場合、測位情報を破棄することを含む。 According to the first aspect, a positioning information processing method applied to the terminal device is provided, wherein the terminal device includes a processor and a memory configured to store a first application program. And the method is to receive the positioning information by the processor, and the first application program by the processor is in a state where the positioning service is restricted, and the first application program is currently executed in the background (background). If so, it includes discarding the positioning information.

任意選択で、第1のアプリケーションプログラムは、測位サービスを要求するアプリケーションプログラムであり、かつ、詳細には、測位サービスを要求しているアプリケーションプログラムおよび/または測位サービスを要求したアプリケーションプログラムであってよい。プロセッサは、測位情報を受信してよく、ここで、測位情報は、第1のアプリケーションプログラムの測位要求、または第1のアプリケーションプログラムによって要求された測位データを含んでよい。プロセッサが、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行していると決定した場合、プロセッサは、測位情報を破棄してよく、すなわち、第1のアプリケーションプログラムに測位サービスをまったく提供しなくてよい。 Optionally, the first application program may be an application program requesting a positioning service and, more specifically, an application program requesting a positioning service and / or an application program requesting a positioning service. .. The processor may receive the positioning information, where the positioning information may include the positioning request of the first application program or the positioning data requested by the first application program. If the processor determines that the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor may discard the positioning information, i.e. , It is not necessary to provide the positioning service to the first application program at all.

したがって、本発明の実施形態における端末デバイスによれば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、プロセッサは、第1のアプリケーションプログラムに対応する測位情報を破棄し、第1のアプリケーションプログラムに測位サービスをまったく提供しない。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、かつ端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the terminal device according to the embodiment of the present invention, when the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor is the first. The positioning information corresponding to the first application program is discarded, and the positioning service is not provided to the first application program at all. This means that some application programs that implement active control over the power consumption provided by the positioning service in the terminal device and are running in the background of the terminal device, such as frequent positioning starts or long-term positioning, etc. It is possible to avoid the abnormal positioning behavior of the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

第1の態様の第1の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することを含む。 In the first possible implementation of the first aspect, receiving positioning information by the processor comprises receiving a positioning request sent by the processor by the first application program and by the processor. Discarding the positioning information includes prohibiting the processor from sending a positioning request to the positioning chip.

この事例において、プロセッサは、測位チップに測位要求を送らない。 In this case, the processor does not send a positioning request to the positioning chip.

第1の態様の第2の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。 In the second possible implementation of the first aspect, receiving the positioning information by the processor comprises receiving the current positioning data of the terminal device sent by the positioning chip by the processor and by the processor. Discarding the positioning information includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。 In this case, the processor does not send positioning data to the first application program.

前述の可能な実装形態を参照して、第1の態様の第3の可能な実装形態において、方法は、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景(フォアグラウンド)において実行している場合、測位情報を送ることをさらに含む。 With reference to the possible implementations described above, in the third possible implementation of the first aspect, the method is that the first application program by the processor is not in a positioning service restricted state and / or the first. If the application program of 1 is currently running in the foreground, it further includes sending positioning information.

任意選択で、測位情報は、第1のアプリケーションプログラムの測位要求を含み、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 Optionally, the positioning information includes a positioning request of the first application program, and sending the positioning information by the processor includes sending a positioning request by the processor to the positioning chip.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

前述の可能な実装形態を参照して、第1の態様の第4の可能な実装形態において、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、ユーザによって設定される、または第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、端末デバイスのデフォルトの設定である。 With reference to the possible implementations described above, in the fourth possible implementation of the first aspect, whether the first application program is in a positioning service restricted state is set by the user or Whether or not the first application program is in the positioning service restricted state is the default setting of the terminal device.

前述の可能な実装形態を参照して、第1の態様の第5の可能な実装形態において、プロセッサによる、測位情報を破棄することの前に、方法は、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含むかどうかを決定することであって、ここで、測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを含むことをさらに含み、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄することは、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含む場合、測位情報を破棄することを含む。 With reference to the possible implementations described above, in the fifth possible implementation of the first aspect, the method is a processor-based positioning service frozen list before discarding the positioning information by the processor. Is to determine whether to include a first application program, wherein the positioning service frozen list is in a positioning service restricted state and is running in the background at least one application program. If the first application program by the processor is in a positioning service restricted state and the first application program is currently running in the background, discarding the positioning information may include. Positioning service by the processor If the frozen list contains a first application program, it involves discarding the positioning information.

測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ現在、背景において実行している少なくとも1つのアプリケーションプログラムを含む。任意選択で、プロセッサは、測位サービス凍結されたリストにクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ現在、背景において実行しているという条件を満たすかどうかを決定してよく、かつ、相応して、第1のアプリケーションプログラムに対応する測位情報を破棄すべきかどうかをさらに決定してよい。 Positioning Services The frozen list contains at least one application program that is in a positioning service restricted state and is currently running in the background. Optionally, the processor queries the positioning service frozen list to determine if the first application program is in a positioning service restricted state and is currently running in the background. It may be determined, and accordingly, it may be further determined whether the positioning information corresponding to the first application program should be discarded.

詳細には、測位サービス凍結されたリストが第1のアプリケーションプログラムを含む場合、それは、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ現在、背景において実行しているという条件を満たすことを示し、そうではなく、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、それは、第1のアプリケーションプログラムが前述の条件を満たさないことを示す。 Specifically, if the positioning service frozen list contains a first application program, it satisfies the condition that the first application program is in a positioning service restricted state and is currently running in the background. If the positioning service frozen list does not include the first application program, it indicates that the first application program does not meet the above conditions.

このようにして、測位サービス凍結されたリストが設定され、プロセッサは、測位サービス凍結されたリストにより、アプリケーションプログラムに対応する測位情報を送るべきかどうかを決定する。このことは、プロセッサの負荷および複雑さを低減すること、測位サービスの処理効率を向上させること、および端末デバイスの全体的なパフォーマンスを向上させることができる。 In this way, the positioning service frozen list is set, and the processor determines whether to send the positioning information corresponding to the application program by the positioning service frozen list. This can reduce processor load and complexity, improve the processing efficiency of positioning services, and improve the overall performance of the terminal device.

前述の可能な実装形態を参照して、第1の態様の第6の可能な実装形態において、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景において実行している場合、測位情報を送ることは、プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、測位情報を送ることを含む。 With reference to the possible implementations described above, in the sixth possible implementation of the first aspect, the first application program by the processor is not in a positioning service restricted state and / or the first application. If the program is currently running in the foreground, sending positioning information involves sending positioning information by the processor if the frozen list of positioning services does not include the first application program.

前述の可能な実装形態を参照して、第1の態様の第7の可能な実装形態において、方法は、プロセッサによる、第2のアプリケーションプログラムを測位サービス凍結されたアプリケーションリストに追加することを、少なくとも1つのアプリケーションプログラムにおける第2のアプリケーションプログラムが前景実行から背景実行に変化し、かつ第2のアプリケーションプログラムが測位サービス制限された状態に入っている場合、行うことをさらに含む。 With reference to the possible implementations described above, in the seventh possible implementation of the first aspect, the method adds a second application program by the processor to the positioning service frozen application list. Further includes what to do if the second application program in at least one application program changes from foreground execution to background execution and the second application program is in a positioning service restricted state.

前述の可能な実装形態を参照して、第1の態様の第8の可能な実装形態において、方法は、プロセッサによる、第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、測位サービス凍結されたリストから第1のアプリケーションプログラムを削除することをさらに含む。 With reference to the possible implementations described above, in the eighth possible implementation of the first aspect, the method freezes the positioning service when the first application program by the processor changes from background execution to foreground execution. It further includes removing the first application program from the list.

第2の態様によれば、端末デバイスに適用される別の測位情報処理方法が提供され、ここで、端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含み、かつ方法は、プロセッサによる、測位情報を受信すること、プロセッサによる、動きセンサによって獲得された動きデータにより端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定すること、およびプロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。 According to the second aspect, another positioning information processing method applied to the terminal device is provided, wherein the terminal device includes a processor, a display, a motion sensor, and the method is by the processor. Receiving positioning information, determining whether the movement status of the terminal device is moving or stationary based on the movement data acquired by the motion sensor by the processor, and the terminal device by the processor. However, any of the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state and the movement status of the terminal device is in the stationary state. If one of them is currently satisfied, it includes discarding the positioning information.

したがって、本発明の実施形態における端末デバイスによれば、端末デバイスのディスプレイが現在、画面オフ状態にあり、かつ/または端末デバイスが現在、静止状態にあると決定したとき、プロセッサは、受信された測位情報を破棄する。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装すること、端末デバイスの電力消費を低減すること、端末デバイスのスタンバイ時間を増加させること、およびユーザ体験を向上させることができる。 Therefore, according to the terminal device according to the embodiment of the present invention, when it is determined that the display of the terminal device is currently in the screen off state and / or the terminal device is currently in the quiescent state, the processor is received. Discard the positioning information. This implements active control over the power consumption provided by the positioning service in the terminal device, reduces the power consumption of the terminal device, increases the standby time of the terminal device, and improves the user experience. be able to.

第2の態様の第1の可能な実装形態において、方法は、プロセッサによる、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスが移動している状態にあるうちの少なくとも1つを現在、満たす場合、測位情報を送ることをさらに含む。 In the first possible implementation of the second aspect, the method is by the processor while the terminal device is in the following conditions, i.e., the display is in the screen on state or the terminal device is in the moving state. Further including sending positioning information if at least one is currently met.

任意選択で、端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリをさらに含んでよい。 Optionally, the terminal device may further include a memory configured to store the first application program.

前述の可能な実装形態を参照して、第2の態様の第2の可能な実装形態において、プロセッサによる、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスの動作ステータスが移動している状態にあるうちの少なくとも1つを現在、満たす場合、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムの現在のステータスにより、端末デバイスが以下の条件、すなわち、ディスプレイが画面オン状態にある、または端末デバイスの動きステータスが移動している状態であるうちの少なくとも1つを現在、満たす場合、測位情報を送るべきかどうかを決定することを含む。 With reference to the possible implementations described above, in the second possible implementation of the second aspect, the processor causes the terminal device to have the following conditions: the display is in the screen-on state, or the operation of the terminal device If at least one of the statuses in the moving state is currently met, sending positioning information depends on the current status of the first application program by the processor, that the terminal device has the following conditions: If the display currently meets at least one of the screen-on state or the movement status of the terminal device is moving, it involves deciding whether to send positioning information.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

前述の可能な実装形態を参照して、第2の態様の第3の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することを含む。 In the third possible implementation of the second aspect with reference to the possible implementations described above, receiving positioning information by the processor is a positioning request sent by the processor by the first application program. Discarding the positioning information by the processor includes prohibiting the processor from sending a positioning request to the positioning chip.

この事例において、プロセッサは、測位チップに測位要求を送らない。 In this case, the processor does not send a positioning request to the positioning chip.

前述の可能な実装形態を参照して、第2の態様の第4の可能な実装形態において、プロセッサによる、測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつプロセッサによる、測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。 In the fourth possible implementation of the second aspect with reference to the possible implementations described above, receiving positioning information by the processor is the current positioning of the terminal device sent by the positioning chip by the processor. Receiving the data and discarding the positioning information by the processor includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。 In this case, the processor does not send positioning data to the first application program.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

任意選択で、測位情報が、第1のアプリケーションプログラムによって送られた測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 If, optionally, the positioning information includes a positioning request sent by the first application program, sending the positioning information by the processor includes sending the positioning request by the processor to the positioning chip.

前述の可能な実装形態を参照して、第2の態様の第5の可能な実装形態において、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することは、プロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスが現在、静止状態にあるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。 With reference to the possible implementations described above, in the fifth possible implementation of the second aspect, the terminal device has the following conditions, i.e., the display is in the screen off state, the motion status of the terminal device is stationary. If any one of the states, the display is off the screen, and the movement status of the terminal device is currently quiesced, the positioning information is discarded by the terminal device by the processor. , That is, the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the stationary state reaches the second threshold, or the duration of the display in the screen off state. If the time reaches a third threshold and the terminal device currently meets any one of the currently stationary states, it includes discarding the positioning information.

本発明のいくつかの態様によれば、端末デバイスは、あるいは、測位チップを含まなくてよい。例えば、測位機能がプロセッサに一体化される。 According to some aspects of the invention, the terminal device may or may not include a positioning chip. For example, the positioning function is integrated into the processor.

任意選択で、プロセッサは、RF無線周波数回路を使用することによって測位データを受信してよく、またはプロセッサは、RF無線周波数回路によって送られた測位信号を受信し、かつ測位信号により測位データを生成する。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、第1のアプリケーションプログラムに測位データを送らないことを決定してよい。 Optionally, the processor may receive positioning data by using an RF radio frequency circuit, or the processor may receive a positioning signal sent by an RF radio frequency circuit and generate positioning data from the positioning signal. To do. If the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor decides not to send positioning data to the first application program. You can do it.

任意選択で、プロセッサは、第1のアプリケーションプログラムによって送られた測位要求を受信してよい。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、測位要求を破棄してよく、または第1のアプリケーションプログラムの測位要求を拒否してよい。 Optionally, the processor may receive the positioning request sent by the first application program. In a state where the first application program has been positioning service restriction, and if the first application program is currently running in the background, the processor may discard the positioning request, or the first application program You may reject the positioning request.

第3の態様によれば、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するように構成されたプロセッサが提供される。 According to a third aspect, there is provided a processor configured to perform the method in any possible implementation of the first aspect, or the first aspect.

第4の態様によれば、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するように構成されたプロセッサが提供される。 According to a fourth aspect, there is provided a processor configured to perform the method in any possible implementation of the second aspect, or the second aspect.

第5の態様によれば、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体が提供され、ここで、コンピュータプログラムは、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するのに使用される命令を含む。 According to a fifth aspect, a computer-readable medium configured to store a computer program is provided, wherein the computer program is a possible implementation of either the first aspect or the first aspect. Includes orders used to enforce methods in.

第6の態様によれば、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体が提供され、ここで、コンピュータプログラムは、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するのに使用される命令を含む。 According to a sixth aspect, a computer-readable medium configured to store a computer program is provided, wherein the computer program is a possible implementation of either the second aspect or the second aspect. Includes orders used to enforce methods in.

第7の態様によれば、端末デバイスが提供され、ここで、端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリと、プロセッサとを含み、かつプロセッサは、第1の態様、または第1の態様のいずれかの可能な実装形態における方法を執行するように構成される。 According to a seventh aspect, a terminal device is provided, wherein the terminal device comprises a memory configured to store at least one application program, a processor, and the processor is the first aspect. , Or the method in any possible implementation of the first aspect is configured to be enforced.

第8の態様によれば、端末デバイスが提供され、ここで、端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含み、動きセンサは、端末デバイスの動きデータを獲得するように構成され、かつプロセッサは、第2の態様、または第2の態様のいずれかの可能な実装形態における方法を執行するように構成される。 According to an eighth aspect, a terminal device is provided, wherein the terminal device includes a processor, a display, and a motion sensor, the motion sensor being configured to acquire motion data of the terminal device. And the processor is configured to perform the method in any of the second aspects, or the possible implementations of the second aspect.

任意選択で、端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリをさらに含んでよい。 Optionally, the terminal device may further include memory configured to store at least one application program.

本発明の実施形態における技術的ソリューションをより明確に説明するのに、以下が、本発明の実施形態、または従来技術を説明するのに要求される添付の図面を簡単に説明する。明らかに、以下の説明における添付の図面は、本発明のいくつかの実施形態を示すに過ぎず、当業者は、それでも、独創的な取組みなしにこれらの添付の図面から他の図面を導き出し得る。 To more clearly illustrate the technical solutions in embodiments of the invention, the following briefly describes embodiments of the invention, or accompanying drawings required to illustrate prior art. Obviously, the accompanying drawings in the following description show only some embodiments of the present invention, and one of ordinary skill in the art may still derive other drawings from these attached drawings without creative effort. ..

従来技術における測位サービスの電力消費を制御するのに使用される技術的ソリューションを示す概略図である。It is a schematic diagram which shows the technical solution used to control the power consumption of the positioning service in the prior art. 本発明の実施形態による端末デバイスを示す概略構造図である。It is a schematic structural drawing which shows the terminal device by embodiment of this invention. 本発明の実施形態による端末デバイスにおけるプロセッサの特定の実装形態を示す概略ブロック図である。FIG. 5 is a schematic block diagram showing a specific implementation of a processor in a terminal device according to an embodiment of the present invention. 本発明の実施形態による端末デバイスに適用される測位情報処理方法を示す概略フローチャートである。It is a schematic flowchart which shows the positioning information processing method applied to the terminal device by embodiment of this invention. 本発明の別の実施形態による端末デバイスに適用される測位情報処理方法を示す概略フローチャートである。It is a schematic flowchart which shows the positioning information processing method applied to the terminal device by another embodiment of this invention. 本発明の別の実施形態による端末デバイスに適用される測位情報処理方法の例を示す概略フローチャートである。It is a schematic flowchart which shows the example of the positioning information processing method applied to the terminal device by another embodiment of this invention.

以下は、本発明の実施形態における添付の図面を参照して本発明の実施形態における技術的ソリューションを明確に、かつ完全に説明する。明らかに、説明される実施形態は、本発明の実施形態のいくつかではあるが、すべてではない。独創的な取組みなしに本発明の実施形態に基づいて当業者によって獲得される他のすべての実施形態は、本発明の保護範囲に入るべきものとする。 Hereinafter, the technical solution according to an embodiment of the present invention will be described clearly and completely with reference to the accompanying drawings according to the embodiment of the present invention. Obviously, the embodiments described are some, but not all, of the embodiments of the present invention. All other embodiments acquired by one of ordinary skill in the art based on embodiments of the invention without creative effort shall fall within the scope of protection of the invention.

図2は、本発明の実施形態による端末デバイス200を概略で示す。端末デバイス200は、プロセッサ210と、メモリ220と、無線周波数(Radio Frequency、RF)回路230とを含んでよい。加えて、Nのアプリケーションプログラムが、端末デバイス200にインストールされてよく、ここで、Nのアプリケーションは、メモリ220に記憶されてよく、かつN≧1である。 FIG. 2 schematically shows a terminal device 200 according to an embodiment of the present invention. The terminal device 200 may include a processor 210, a memory 220, and a radio frequency (RF) circuit 230. In addition, the N application program may be installed in the terminal device 200, where the N application may be stored in the memory 220 and N ≧ 1.

任意選択で、端末デバイス200は、入力ユニット240、ディスプレイユニット250、少なくとも1つのセンサ260、オーディオ周波数回路270、スピーカ271、マイクロフォン272、および電力供給280などの構成要素をさらに含んでよい。 Optionally, the terminal device 200 may further include components such as an input unit 240, a display unit 250, at least one sensor 260, an audio frequency circuit 270, a speaker 271, a microphone 272, and a power supply 280.

任意選択で、端末デバイス200は、測位チップ290をさらに含んでよく、ここで、測位チップ290は、端末デバイスの現在のロケーションを決定するように構成されてよい。本発明のこの実施形態において、プロセッサ210および測位チップ290は、別々に配置されてよく、または一緒に一体化されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。理解の容易のため、以下は、端末デバイスが独立に配置された測位チップ290を含む例を使用することによって説明を提供する。しかし、本発明のこの実施形態は、本明細書において限定されない。測位チップ290は、例えば、GPSチップであってよい。 Optionally, the terminal device 200 may further include a positioning chip 290, where the positioning chip 290 may be configured to determine the current location of the terminal device. In this embodiment of the invention, the processor 210 and the positioning chip 290 may be arranged separately or integrated together. This embodiment of the invention does not set any limitations herein. For ease of understanding, the following is provided by using an example in which the terminal device includes an independently positioned positioning chip 290. However, this embodiment of the present invention is not limited herein. The positioning chip 290 may be, for example, a GPS chip.

詳細には、プロセッサ210は、端末デバイス200の制御センタであってよく、様々なインターフェースおよび線を使用することによって端末デバイスの様々な構成要素を接続し、かつメモリ220に記憶されたプログラムおよび/またはモジュールを実行すること、もしくは執行すること、およびメモリ220に記憶されたデータを呼び出すことによって端末デバイス200の様々な機能を執行する。任意選択で、プロセッサ210は、1つまたは複数の処理ユニットを含んでよい。 In particular, the processor 210 may be the control center of the terminal device 200, connecting various components of the terminal device by using various interfaces and lines, and storing programs and / / in memory 220. Alternatively, the various functions of the terminal device 200 are executed by executing or executing the module and calling the data stored in the memory 220. Optionally, processor 210 may include one or more processing units.

メモリ220は、ソフトウェアプログラムおよびモジュールを記憶するように構成されてよい。プロセッサ210は、メモリ220に記憶されたソフトウェアプログラムおよびモジュールを実行して、端末デバイス200の様々な機能アプリケーションおよびデータ処理を遂行する。メモリ220は、プログラム記憶領域と、データ記憶領域とを主に含んでよい。プログラム記憶領域は、オペレーティングシステム、少なくとも1つの機能(サウンド再生機能または画像再生機能などの)によって要求されるアプリケーションプログラム、および類似したものを記憶してよい。データ記憶領域は、端末デバイス200の使用により作成されるデータ(オーディオデータ、画像データ、および電話帳などの)、および類似したものを記憶してよい。加えて、メモリ220は、高速ランダムアクセスメモリを含んでよく、または不揮発性メモリ、例えば、少なくとも1つのディスク記憶構成要素、フラッシュメモリ構成要素、または別の揮発性ソリッドステート記憶構成要素を含んでよい。 The memory 220 may be configured to store software programs and modules. The processor 210 executes software programs and modules stored in the memory 220 to perform various functional applications and data processing of the terminal device 200. The memory 220 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one function (such as sound reproduction function or image reproduction function), and the like. The data storage area may store data (such as audio data, image data, and phonebook) created by the use of the terminal device 200, and the like. In addition, memory 220 may include fast random access memory or may include non-volatile memory, such as at least one disk storage component, flash memory component, or another volatile solid state storage component. ..

RF回路230は、情報を受信する/送信するように、または呼出しプロセスにおいて信号を受信する、もしくは送るように構成されてよい。例えば、GPS測位プロセスにおいて、RF回路230は、GPS衛星または別のタイプの測位システムによって送られた信号を受信するように、かつ処理のためにプロセッサ210または測位チップ290に信号を送信するように構成されてよい。一般に、RF回路230は、アンテナ、少なくとも1つの増幅器、トランシーバ、カプラ、低雑音増幅器(Low Noise Amplifier、LNA)、デュプレクサ、および類似したものを含んでよいが、これらに限定されない。アンテナは、一次アンテナおよび二次アンテナなどの、モバイル電話上のすべてのアンテナを含んでよい。二次アンテナは、GPSアンテナ、Wi−Fiアンテナ、NFCアンテナ、または類似したものであってよい。複数のタイプの二次アンテナが1つのアンテナボディを共有してよい。加えて、RF回路230は、ワイヤレス通信技術を使用することによってネットワークおよび別のデバイスとさらに通信してよく、例えば、基地局によって送られたダウンリンク情報を受信してよく、かつ処理のためにプロセッサ210に受信されたダウンリンク情報をさらに送信してよく、または基地局にアップリンクデータを送ってよい。グローバルシステムフォーモバイルコミュニケーションズ(Global System for Mobile Communications、GSM(登録商標))、汎用パケット無線サービス(General Packet Radio Service、GPRS)、符号分割多元接続(Code Division Multiple Access、CDMA)、広帯域符号分割多元接続(Wideband Code Division Multiple Access、WCDMA(登録商標))、ロングタームエボリューション(Long Term Evolution、LTE)、電子メール、ショートメッセージサービス(Short Messaging Service、SMS)、および類似したものを含むが、これらには限定されない、いずれかの通信標準または通信プロトコルがワイヤレス通信技術において使用されてよい。 The RF circuit 230 may be configured to receive / transmit information, or to receive or send a signal in the calling process. For example, in the GPS positioning process, the RF circuit 230 is to receive signals sent by GPS satellites or another type of positioning system and to send signals to processor 210 or positioning chip 290 for processing. It may be configured. In general, the RF circuit 230 may include, but is not limited to, an antenna, at least one amplifier, transceiver, coupler, low noise amplifier (LNA), duplexer, and the like. Antennas may include all antennas on the mobile phone, such as primary and secondary antennas. The secondary antenna may be a GPS antenna, a Wi-Fi antenna, an NFC antenna, or something similar. Multiple types of secondary antennas may share one antenna body. In addition, the RF circuit 230 may further communicate with the network and other devices by using wireless communication technology, eg, may receive and process downlink information sent by a base station. The downlink information received by the processor 210 may be further transmitted, or uplink data may be sent to the base station. Global System for Mobile Communications (GSM®), General Packet Radio Services (GPRS), Code Division Multiple Access, Code Division Multiple Access, Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA®), Long Term Evolution (LTE), Email, Short Message Services (Short Message Services, SMS), and the like. Any communication standard or communication protocol, without limitation, may be used in wireless communication technology.

入力ユニット240は、入力された数字情報もしくは文字情報を受信するように、かつ端末デバイス200のユーザ設定および機能制御と関係付けられた重要な信号入力を生成するように構成されてよい。詳細には、入力ユニット240は、タッチスクリーン241と、別の入力デバイス242とを含んでよい。タッチスクリーン241は、タッチパネルとも呼ばれ、タッチスクリーン241上、またはそれの周囲のユーザのタッチ操作(指またはタッチペンなどのいずれかの適切な物体またはアクセサリを使用することによってユーザによってタッチスクリーン241上で、またはタッチスクリーン241の周囲で遂行される操作などの)を収集するように、かつ事前設定されたプログラムにより対応する接続された装置を駆動するように構成されてよい。任意選択で、タッチスクリーン241は、2つの部分、すなわち、タッチ検出装置と、タッチコントローラとを含んでよい。タッチ検出装置は、ユーザのタッチ向きを検出し、タッチ操作に対応する信号を検出し、かつタッチコントローラに、タッチ操作に対応するタッチ情報(タッチ向きについてのタッチ信号およびタッチ情報などの)を送信するように構成されてよい。タッチコントローラは、タッチ検出装置からタッチ情報を受信し、タッチ情報をタッチポイント座標に変換し、かつプロセッサ210にタッチポイント座標についての情報を送信するように構成されてよい。加えて、タッチコントローラは、プロセッサ210によって送られたコマンドを受信し、かつコマンドを執行するようにさらに構成されてよい。 The input unit 240 may be configured to receive the input numeric or character information and to generate important signal inputs associated with user settings and functional controls of the terminal device 200. In particular, the input unit 240 may include a touch screen 241 and another input device 242. The touch screen 241, also referred to as a touch panel, is on the touch screen 241 by the user by using any suitable object or accessory on or around the touch screen (such as a finger or a touch pen) of the user. , Or operations performed around the touch screen 241), and may be configured to drive the corresponding connected device by a preset program. Optionally, the touch screen 241 may include two parts, a touch detector and a touch controller. The touch detection device detects the user's touch direction, detects the signal corresponding to the touch operation, and transmits the touch information corresponding to the touch operation (such as the touch signal and the touch information about the touch direction) to the touch controller. It may be configured to do so. The touch controller may be configured to receive touch information from the touch detection device, convert the touch information into touchpoint coordinates, and transmit information about the touchpoint coordinates to the processor 210. In addition, the touch controller may be further configured to receive and execute commands sent by processor 210.

任意選択で、タッチスクリーン241は、抵抗タイプ、静電容量タイプ、赤外線、および表面弾性波などの複数のタイプにおいて実装されてよい。タッチスクリーン241に加えて、入力ユニット240は、別の入力デバイス242をさらに含んでよい。詳細には、別の入力デバイス242は、物理キーボード、ファンクションキー(音量制御キーもしくは電力オン/オフキーなどの)、トラックボール、マウス、または操作ロッドのうちの1つまたは複数を含んでよいが、これらには限定されない。 Optionally, the touch screen 241 may be implemented in multiple types such as resistance type, capacitive type, infrared, and surface acoustic waves. In addition to the touch screen 241 the input unit 240 may further include another input device 242. In particular, another input device 242 may include one or more of a physical keyboard, function keys (such as volume control keys or power on / off keys), trackballs, mice, or operating rods. Not limited to these.

ディスプレイユニット250は、ユーザによって入力された情報、またはユーザに提供される情報、および端末デバイス200の様々なメニューを表示するように構成されてよい。ディスプレイユニット250は、ディスプレイパネル251を含んでよい。任意選択で、ディスプレイパネル251は、液晶ディスプレイ(Liquid Crystal Display、LCD)、有機発光ダイオード(Organic Light−Emitting Diode、OLED)、または類似したものの形態で構成されてよい。さらに、タッチスクリーン241は、ディスプレイパネル251を範囲に含んでよい。タッチスクリーン241上、またはそれの周囲のタッチ操作を検出した後、タッチスクリーン241は、プロセッサ210にタッチ操作についての情報を送信して、タッチイベントのタイプを決定する。プロセッサ210は、タッチイベントのタイプによりディスプレイパネル251上に対応するビジュアル出力を提供してよい。図2において、タッチスクリーン241およびディスプレイパネル251は、2つの独立した構成要素の役割をして、端末デバイス200の入力機能および出力機能を実装する。しかし、いくつかの実施形態において、タッチスクリーン241およびディスプレイパネル251は、一体化されて端末デバイス200の入力機能および出力機能を実装してよい。 The display unit 250 may be configured to display information input by the user, or information provided to the user, and various menus of the terminal device 200. The display unit 250 may include a display panel 251. Optionally, the display panel 251 may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode, or something similar. Further, the touch screen 241 may include a display panel 251 in its range. After detecting a touch operation on or around the touch screen 241 the touch screen 241 sends information about the touch operation to the processor 210 to determine the type of touch event. Processor 210 may provide the corresponding visual output on the display panel 251 depending on the type of touch event. In FIG. 2, the touch screen 241 and the display panel 251 act as two independent components to implement the input and output functions of the terminal device 200. However, in some embodiments, the touch screen 241 and the display panel 251 may be integrated to implement the input and output functions of the terminal device 200.

少なくとも1つのセンサ260は、動きセンサを含んでよい。動きセンサは、端末デバイスの動きデータを獲得し、かつ端末デバイスの動きステータスを相応して決定するように構成されてよく、ここで、動きステータスは、静止状態または動いている状態を含んでよい。あるいは、動きセンサは、プロセッサ210に獲得された動きデータを送信してよく、かつプロセッサ210は、動きデータにより端末デバイスの現在の動きステータスを決定する。 At least one sensor 260 may include a motion sensor. The motion sensor may be configured to acquire motion data of the terminal device and correspondingly determine the motion status of the terminal device, wherein the motion status may include a stationary state or a moving state. .. Alternatively, the motion sensor may transmit the acquired motion data to the processor 210, which determines the current motion status of the terminal device from the motion data.

任意選択で、少なくとも1つのセンサ260は、光センサまたは重力センサ(gravity sensor)などの別のセンサをさらに含んでよい。詳細には、光センサは、光環境センサと、光近接センサとを含んでよい。光環境センサは、周囲光の強度によりディスプレイパネル241の輝度を調整してよい。光近接センサは、物体が端末デバイスに接近するかどうか、またはそれと接触しているかどうかを検出し、端末デバイス200が耳の近くに移動したとき、ディスプレイパネル241および/またはバックライトをディセーブルにしてよい。重力センサは、様々な方向(一般に3つの軸が存在する)において端末デバイスの加速度の値を検出するように構成されてよく、端末デバイスが静止しているとき、重力の値および方向を検出してよく、かつ端末デバイスの姿勢を認識するためのアプリケーション(横向き/縦向きモード切換え、関係付けられたゲーム、または磁気計姿勢較正などの)、振動認識と関係付けられた機能(歩数計またはキーストロークなどの)、および類似したものに適用されてよい。少なくとも1つのセンサ260は、ジャイロスコープ、気圧計、湿度計、温度計、または赤外線センサなどの別のセンサをさらに含んでよい。詳細は、本明細書において説明されない。 Optionally, at least one sensor 260 may further include another sensor, such as an optical sensor or a gravity sensor. In particular, the optical sensor may include an optical environment sensor and an optical proximity sensor. The optical environment sensor may adjust the brightness of the display panel 241 according to the intensity of ambient light. The optical proximity sensor detects whether an object is approaching or in contact with the terminal device and disables the display panel 241 and / or backlight when the terminal device 200 moves closer to the ear. You can. The gravity sensor may be configured to detect the acceleration value of the terminal device in various directions (generally there are three axes), and when the terminal device is stationary, it detects the gravity value and direction. Applications for recognizing the orientation of the terminal device (such as landscape / portrait mode switching, associated games, or magnetometer orientation calibration), features associated with vibration recognition (pedometer or key). It may be applied to (such as strokes) and similar. The at least one sensor 260 may further include another sensor such as a gyroscope, barometer, hygrometer, thermometer, or infrared sensor. Details are not described herein.

任意選択で、オーディオ周波数回路270、スピーカ271、およびマイクロフォン272が、ユーザと端末デバイス200の間のオーディオインターフェースを提供してよい。オーディオ周波数回路270は、受信されたオーディオデータを電気信号に変換し、かつスピーカ271に電気信号を送信するように構成されてよい。スピーカ271は、受信された電気信号を音響信号に変換し、かつ音響信号を出力するように構成されてよい。別の態様において、マイクロフォン272は、収集された音響信号を電気信号に変換し、かつオーディオ周波数回路に電気信号を送信するように構成されてよい。オーディオ周波数回路270は、受信された電気信号をオーディオデータに変換し、かつRF回路230にオーディオデータを出力して、さらなる処理のために別のデバイスにオーディオデータを送るように、またはメモリ220にオーディオデータを出力するようにしてよい。 Optionally, an audio frequency circuit 270, a speaker 271, and a microphone 272 may provide an audio interface between the user and the terminal device 200. The audio frequency circuit 270 may be configured to convert the received audio data into an electrical signal and transmit the electrical signal to the speaker 271. The speaker 271 may be configured to convert the received electrical signal into an acoustic signal and output the acoustic signal. In another embodiment, the microphone 272 may be configured to convert the collected acoustic signal into an electrical signal and transmit the electrical signal to an audio frequency circuit. The audio frequency circuit 270 converts the received electrical signal into audio data and outputs the audio data to the RF circuit 230 to send the audio data to another device for further processing, or to the memory 220. Audio data may be output.

任意選択で、端末デバイス200は、すべての構成要素に電力供給を提供する電力供給280(バッテリなどの)をさらに含んでよい。例えば、電力供給は、電力供給管理システムを使用することによってプロセッサ210に論理的に接続されて、電力供給管理システムを使用することによって、充電および放電管理、ならびに電力消費管理などの機能を実装するようにしてよい。 Optionally, the terminal device 200 may further include a power supply 280 (such as a battery) that provides power supply to all components. For example , the power supply is logically connected to the processor 210 by using a power supply management system and implements functions such as charge and discharge management as well as power consumption management by using the power supply management system. You can do it.

端末デバイス200は、ワイヤレスフィデリティ(Wireless Fidelity、Wi-Fi)モジュール、Bluetooth(登録商標)モジュール、および類似したものをさらに含んでよく、ただし、それらは示されないことを理解されたい。詳細は、本明細書において説明されない。 Terminal device 200, wireless fidelity (Wireless Fidelity, Wi-Fi) module, Bluetooth (registered trademark) module, and may further include those similar, however, it is to be understood that they are not shown. Details are not described herein.

説明の容易のため、図2は、本発明のこの実施形態と関係付けられた部分を示すに過ぎないことをさらに理解されたい。開示されない特定の技術的詳細に関して、本発明の実施形態における特定の説明を参照されたい。 For ease of explanation, it should be further understood that FIG. 2 merely shows the parts associated with this embodiment of the invention. See the specific description in embodiments of the present invention for specific technical details not disclosed.

図2に示される端末デバイス構造は、例に過ぎないことをさらに理解されたい。本発明のこの実施形態における端末デバイスは、図2に示されるものと比べてより多くの、もしくはより少ない構成要素を含んでよく、またはいくつかの構成要素を組み合わせてよく、または図2におけるものとは異なる構成要素レイアウトを有してよい。図2に示される端末デバイス構造は、本発明のこの実施形態に対して限定を設定しない。 It should be further understood that the terminal device structure shown in FIG. 2 is merely an example. The terminal device according to this embodiment of the present invention may include more or fewer components than those shown in FIG. 2, or may combine several components, or those in FIG. May have a different component layout than. The terminal device structure shown in FIG. 2 does not set any limitations on this embodiment of the present invention.

本発明のこの実施形態において、測位チップは、プロセッサ210を使用することによってアプリケーションプログラム220に測位サービスを提供してよい。例えば、アプリケーションプログラム220が、プロセッサ210に測位要求を送ってよく、プロセッサ210が、測位チップに測位要求を転送してよく、測位要求を受信した後、測位チップは、プロセッサ210を使用することによってアプリケーションプログラム220に端末デバイス200の現在の測位データを送ってよい。任意選択で、アプリケーションプログラムによって送られた測位要求を受信した後、測位チップは、アプリケーションプログラムに測位データを1回だけ提供してよく、または時間の周期において、アプリケーションプログラムに測位データを周期的に送ってよく、または時間の周期において、測位チップが測位データを獲得するたびにアプリケーションプログラムに測位データを送ってよい。時間の周期の長さは、事前設定されてよく、またはアプリケーションプログラムによって送られた測位要求により決定されてよい。あるいは、時間の周期は、測位チップが、アプリケーションプログラムによって送られた測位停止要求を受信するまで続いてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。任意選択で、測位データは、以下のデータ、すなわち、ロケーション(location)データ、ジオフェンシング(Geo−fencing)データ、米国海洋電子機器協会(National Marine Electronics Association、NMEA)GPSデータ、衛星ステータス関係のデータ、GPSナビゲーションデータ、もしくはGPS測定ステータスデータの少なくとも1つを含んでよく、または別のタイプの測位データを含んでよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the invention, the positioning chip may provide positioning services to application program 220 by using processor 210. For example, the application program 220 may send a positioning request to the processor 210, the processor 210 may transfer the positioning request to the positioning chip, and after receiving the positioning request, the positioning chip may use the processor 210. The current positioning data of the terminal device 200 may be sent to the application program 220. After receiving the positioning request sent by the application program, optionally, the positioning chip may provide the application program with the positioning data only once, or periodically provide the application program with the positioning data in a time cycle. It may be sent, or it may send the positioning data to the application program each time the positioning chip acquires the positioning data in a time cycle. The length of the time cycle may be preset or may be determined by a positioning request sent by the application program. Alternatively, the time cycle may continue until the positioning chip receives the positioning stop request sent by the application program. However, this embodiment of the present invention is not limited herein. Optionally, the positioning data includes the following data: location data, Geo-fencing data, National Marine Electronics Association GPS data, satellite status related data: , GPS navigation data, or at least one of GPS measurement status data, or another type of positioning data may be included. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、アプリケーションプログラムの現在のステータスにより、アプリケーションプログラムに測位サービスを提供すべきかどうかを決定するように構成されてよい。詳細には、プロセッサ210は、測位情報を受信するように構成されてよく、ここで、測位情報は、アプリケーションプログラムによって送られた測位要求、または測位チップによって送られた測位データを含んでよい。プロセッサ210は、アプリケーションプログラムの現在のステータスにより、アプリケーションプログラムに対応する測位情報を送るべきかどうかを決定してよく、ここで、アプリケーションプログラムに対応する測位情報は、アプリケーションプログラムによって送られた測位要求、またはアプリケーションプログラムによって要求された測位データを含んでよい。任意選択で、アプリケーションプログラムの現在のステータスは、測位サービス許可ステータスまたは実行ステータスの少なくとも1つを含んでよく、ここで、実行ステータスは、前景実行、背景実行、または実行していないを含んでよく、かつ測位サービス許可ステータスは、測位サービス制限された状態にあること、または測位サービス制限された状態にないことを含んでよい。任意選択で、測位サービス制限された状態にないことは、測位サービス限定されていない状態にあることとして参照されてもよい。測位サービス限定されていない状態にあるアプリケーションプログラムは、いずれの事例においても測位サービスを使用することを許される。例えば、測位サービス限定されていない状態にあるアプリケーションプログラムのすべての測位サービス要求が許され、かつ満たされる。しかし、測位サービス制限された状態にあるアプリケーションプログラムは、いくつかの条件(例えば、前景において実行している)において測位サービスを使用することを許され、他の条件において測位サービスを使用することを禁止される。アプリケーションプログラムが測位サービスを使用することを許される、または使用することを禁止される条件は、事前設定されてよい。例えば、条件は、端末デバイスのユーザによって設定される、または端末デバイスのベンダによって設定される。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Optionally, the processor 210 may be configured to determine whether to provide positioning services to the application program based on the current status of the application program. Specifically, the processor 210 may be configured to receive positioning information, where the positioning information may include a positioning request sent by an application program or positioning data sent by a positioning chip. The processor 210 may determine whether or not to send the positioning information corresponding to the application program based on the current status of the application program, where the positioning information corresponding to the application program is the positioning request sent by the application program. , Or may include positioning data requested by the application program. Optionally, the current status of the application program may include at least one of the positioning service authorization status or the execution status, where the execution status may include foreground execution, background execution, or no execution. , And the positioning service permission status may include being in a positioning service restricted state or not being in a positioning service restricted state. Arbitrarily, not being in the positioning service restricted state may be referred to as being in the positioning service not restricted state. Positioning services Application programs that are not limited are allowed to use positioning services in any case. For example, all positioning service requests of an application program that are not limited to positioning services are allowed and satisfied. However, an application program that is in a restricted position may be allowed to use the positioning service under some conditions (eg, running in the foreground) and may use the positioning service under other conditions. prohibited. The conditions under which the application program is allowed or prohibited from using the positioning service may be preset. For example, the conditions are set by the user of the terminal device or by the vendor of the terminal device. This embodiment of the invention does not set any limitations herein.

任意選択で、アプリケーションプログラムが現在、測位サービス制限されていない状態にある、またはアプリケーションプログラムが現在、前景において実行している場合、プロセッサ210は、アプリケーションプログラムに対応する測位情報を送ってよい。 Optionally, if the application program is currently in an unrestricted positioning service, or if the application program is currently running in the foreground, the processor 210 may send positioning information corresponding to the application program.

任意選択で、アプリケーションプログラムが現在、測位サービス制限された状態にある、またはアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、アプリケーションプログラムに対応する測位情報を送らなくてよい。 Optionally, if the application program is currently in a positioning service restricted state, or if the application program is currently running in the background, the processor does not have to send the positioning information corresponding to the application program.

例えば、プロセッサ210は、第1のアプリケーションプログラムによって送られた測位要求を受信し、かつ第1のアプリケーションプログラムの現在のステータスにより、測位チップに測位要求を転送すべきかどうかを決定するように構成されてよい。任意選択で、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限されていない状態にあると決定した、または第1のアプリケーションプログラムが前景において実行していると決定した場合、プロセッサ210は、測位チップに測位要求を転送してよい。任意選択で、別の実施形態において、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限された状態にあると決定した、または第1のアプリケーションプログラムが背景において実行していると決定した場合、プロセッサ210は、測位要求を破棄し、測位チップに測位要求を転送しなくてよい。 For example, the processor 210 is configured to receive the positioning request sent by the first application program and, depending on the current status of the first application program, determine whether to transfer the positioning request to the positioning chip. You can. If, optionally, the processor 210 determines that the first application program is in an unrestricted state of positioning service, or that the first application program is running in the foreground, the processor 210 determines the positioning. The positioning request may be forwarded to the chip. Optionally, in another embodiment, if the processor 210 determines that the first application program is in a positioning service restricted state, or that the first application program is running in the background. The processor 210 does not have to discard the positioning request and transfer the positioning request to the positioning chip.

別の例として、プロセッサ210は、測位チップによって送られた測位データを受信し、測位サービスを要求する少なくとも1つのアプリケーションプログラムにおける各アプリケーションプログラムの現在のステータスにより、各アプリケーションプログラムに測位データを送るべきかどうかを決定するように構成されてよい。プロセッサ210は、受信された少なくとも1つの測位要求により、測位サービスを要求する少なくとも1つのアプリケーションプログラムを決定してよく、または測位サービス要求アプリケーションリストを獲得し、かつ測位サービス要求アプリケーションリストにおけるすべてのアプリケーションプログラムを、測位サービスを要求する少なくとも1つのアプリケーションプログラムとして決定してよい。測位サービス要求アプリケーションリストは、受信された測位要求によりプロセッサ210によって生成されてよく、または別の構成要素によって生成されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 As another example, the processor 210 should receive the positioning data sent by the positioning chip and send the positioning data to each application program according to the current status of each application program in at least one application program requesting positioning service. It may be configured to determine if. The processor 210 may determine at least one application program requesting a positioning service based on at least one received positioning request, or acquire a positioning service request application list and all applications in the positioning service request application list. The program may be determined as at least one application program that requires a positioning service. The positioning service request application list may be generated by the processor 210 according to the received positioning request, or may be generated by another component. This embodiment of the invention does not set any limitations herein.

この事例において、任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける第1のアプリケーションプログラムが測位サービス制限されていない状態にあると決定した、または第1のアプリケーションプログラムが前景で実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムに測位データを送ってよい。任意選択で、別の実施形態において、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける第1のアプリケーションプログラムが現在、測位サービス制限された状態にあり、かつ背景において実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムに測位データを送らなくてよい。この事例において、任意選択で、プロセッサ210は、少なくとも1つのアプリケーションプログラムに入っており、かつ測位サービス制限されていない状態にあるアプリケーションプログラム、および少なくとも1つのアプリケーションプログラムに入っており、かつ前景において実行しているアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。プロセッサ210が第1のアプリケーションプログラムに測位データを送らないとき、第1のアプリケーションプログラムは、測位サービスを実行しなくてよく、第1のアプリケーションプログラムが実行するときに生成される電力消費を低減するようにする。 In this case, optionally, the processor 210 determines that the first application program in at least one application program is in a state where the positioning service is not restricted, or the first application program is running in the foreground. If determined, the processor 210 may send positioning data to the first application program. Optionally, in another embodiment, if the processor 210 determines that the first application program in at least one application program is currently in a positioning service restricted state and is running in the background. The 210 does not have to send the positioning data to the first application program. In this case, optionally, the processor 210 is contained in at least one application program and is in an unrestricted positioning service state, and is contained in at least one application program and is executed in the foreground. Positioning data may be sent to your application program. However, this embodiment of the present invention is not limited herein. When the processor 210 does not send positioning data to the first application program, the first application program does not have to execute the positioning service and reduces the power consumption generated when the first application program executes. To do so.

したがって、本発明のこの実施形態における端末デバイスによれば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、プロセッサは、第1のアプリケーションプログラムにまったく測位サービスを提供しない。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、かつ端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the terminal device in this embodiment of the present invention, when the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor. No positioning service is provided for the first application program. This means that some application programs that implement active control over the power consumption provided by the positioning service in the terminal device and are running in the background of the terminal device, such as frequent positioning starts or long-term positioning, etc. It is possible to avoid the abnormal positioning behavior of the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience.

本発明のこの実施形態において、測位サービス許可ステータスが、端末デバイス200にインストールされたすべての、またはいくつかのアプリケーションプログラムに関して設定されてよい。例えば、異常な測位挙動を有することがある、またはしばしば有したアプリケーションプログラムの測位サービス許可ステータスが、測位サービス制限された状態に設定されてよい。任意選択で、各アプリケーションプログラムの測位サービス許可ステータスが、ユーザによって設定されてよく、または端末デバイスのデフォルトの設定であってよく、またはアプリケーションプログラムの挙動に関する統計を解析すること、および収集することによって端末デバイスによって決定されてよい。本発明のこの実施形態は、本明細書において限定されない。あるいは、いくつかのアプリケーションプログラムが、測位サービス制限された状態に設定されてよく、測位サービス制限された状態に設定されない他のアプリケーションプログラムが、デフォルトで測位サービス制限されていない状態にある、もしくはデフォルトで測位サービス制限された状態にない。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the invention, the positioning service authorization status may be set for all or some application programs installed on the terminal device 200. For example, the positioning service authorization status of an application program that may or often has anomalous positioning behavior may be set to a positioning service restricted state. Optionally, the positioning service authorization status of each application program may be set by the user, or may be the default setting of the terminal device, or by analyzing and collecting statistics on the behavior of the application program. It may be determined by the terminal device. This embodiment of the invention is not limited herein. Alternatively, some application programs may be set to the positioning service restricted state, and other application programs that are not set to the positioning service restricted state may be in the positioning service restricted state by default, or by default. Positioning service is not restricted. This embodiment of the invention does not set any limitations herein.

任意選択の実施形態において、プロセッサ210は、アプリケーションプログラムの測位サービス許可ステータスと実行ステータスを別々に決定してよい。 In an optional embodiment, the processor 210 may determine the positioning service authorization status and the execution status of the application program separately.

詳細には、プロセッサ210は、複数の形態において、アプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。例えば、端末デバイス200は、メモリをさらに含む。メモリは、測位サービスブラックリストを記憶してよい。測位サービスブラックリストは、測位サービス制限された状態に設定された少なくとも1つのアプリケーションプログラムを含む。この事例において、プロセッサ210は、測位サービスブラックリストが第1のアプリケーションプログラムを含むかどうかをクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。あるいは、端末デバイス200は、アプリケーションプログラムに関するタグを設定して、アプリケーションプログラムの測位サービス許可ステータスを示してよい。端末デバイス200は、すべてのアプリケーションプログラムに関するタグを設定してよく、ここで、タグは、アプリケーションプログラムが測位サービス制限された状態にあること、または測位サービス制限されていない状態にあることを示す。あるいは、端末デバイス200は、測位サービス制限された状態に設定されたアプリケーションプログラムに関してだけタグを設定してよく、すなわち、タグが設定されるアプリケーションプログラムは、測位サービス制限された状態にあるアプリケーションプログラムであり、かつまったくタグが設定されないアプリケーションプログラムは、測位サービス制限されていない状態にあるアプリケーションプログラムである。この事例において、プロセッサは、第1のアプリケーションプログラムのタグにより、またはタグが第1のアプリケーションプログラムに関して設定されているかどうかにより、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定してよい。任意選択で、プロセッサは、アプリケーションプログラムの測位サービス許可ステータスを別の形態で決定してもよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Specifically, the processor 210 may determine in a plurality of forms whether the application program is in a positioning service restricted state. For example, the terminal device 200 further includes a memory. The memory may store the positioning service blacklist. The positioning service blacklist includes at least one application program set to the positioning service restricted state. In this case, the processor 210 may determine whether the first application program is in a positioning service restricted state by querying whether the positioning service blacklist includes the first application program. Alternatively, the terminal device 200 may set a tag related to the application program to indicate the positioning service permission status of the application program. The terminal device 200 may set tags for all application programs, where the tags indicate that the application program is in a positioning service restricted state or is not in a positioning service restricted state. Alternatively, the terminal device 200 may set a tag only for the application program set in the positioning service restricted state, that is, the application program in which the tag is set is an application program in the positioning service restricted state. An application program that exists and is not tagged at all is an application program in which the positioning service is not restricted. In this case, the processor determines whether the first application program is in a positioning service restricted state, either by the tag of the first application program or by whether the tag is set for the first application program. You can do it. Optionally, the processor may determine the positioning service authorization status of the application program in another form. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210が、第1のアプリケーションプログラムが現在、前景で実行していると決定した場合、プロセッサ210は、第1のアプリケーションプログラムの測位サービス許可ステータスを決定するステップ、または第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかを決定するステップを遂行しなくてよい。代わりに、プロセッサ210は、第1のアプリケーションプログラムに対応する測位情報を直接に送る。あるいは、プロセッサ210が、第1のアプリケーションプログラムが測位サービス制限された状態にないと決定した場合、プロセッサ210は、第1のアプリケーションプログラムの実行ステータスを決定するステップを実行しなくてよい。代わりに、プロセッサ210は、第1のアプリケーションプログラムに対応する測位情報を直接に送る。しかし、本発明のこの実施形態は、本明細書において限定されない。 If, optionally, the processor 210 determines that the first application program is currently running in the foreground, the processor 210 determines the positioning service authorization status of the first application program, or the first step. You do not have to perform the steps to determine if the application program is in a positioning service restricted state. Instead, the processor 210 directly sends the positioning information corresponding to the first application program. Alternatively, if the processor 210 determines that the first application program is not in the positioning service restricted state, the processor 210 does not have to perform the step of determining the execution status of the first application program. Instead, the processor 210 directly sends the positioning information corresponding to the first application program. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、プロセッサ210は、アプリケーションプログラムの測位サービス許可ステータスと実行ステータスを別々に決定してなくてよい。代わりに、プロセッサ210は、アプリケーションプログラムの現在のステータスが測位サービスを使用することを許されるか、または測位サービスを使用することを禁止されるかを直接に決定する。測位サービスを使用することを禁止されるアプリケーションプログラムは、測位サービス制限された状態にあり、かつ背景で実行しているアプリケーションプログラムである。測位サービスを使用することを許されるアプリケーションプログラムは、測位サービス制限された状態にないアプリケーションプログラムであるか、または前景で実行しているアプリケーションプログラムである。任意選択で、端末デバイス200のメモリは、測位サービス凍結されたアプリケーションリストを記憶してよい。測位サービス凍結されたアプリケーションリストは、測位機能を使用することを禁止された少なくとも1つのアプリケーションプログラムを含む。この事例において、プロセッサ210は、測位サービス凍結されたアプリケーションリストにクエリすることによって第1のアプリケーションプログラムの現在のステータスを直接に決定してよい。詳細には、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含む場合、プロセッサは、第1のアプリケーションプログラムの現在のステータスが測位機能を使用することを禁止されている、すなわち、第1のアプリケーションプログラムは現在、測位サービス制限された状態にあり、かつ背景において実行していると決定してよい。そうではなく、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含まない場合、プロセッサ210は、第1のアプリケーションプログラムの現在のステータスが測位機能を使用することを許されている、すなわち、第1のアプリケーションプログラムが測位サービス制限された状態にない、または第1のアプリケーションプログラムが前景において実行していると決定してよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, the processor 210 does not have to determine the positioning service authorization status and the execution status of the application program separately. Instead, the processor 210 directly determines whether the current status of the application program is allowed to use the positioning service or prohibited from using the positioning service. An application program for which the use of the positioning service is prohibited is an application program that is in a state where the positioning service is restricted and is running in the background. An application program that is allowed to use the positioning service is either an application program that is not in a positioning service restricted state or an application program that is running in the foreground. Optionally, the memory of the terminal device 200 may store the positioning service frozen application list. Positioning Service The frozen application list contains at least one application program that is prohibited from using the positioning function. In this case, the processor 210 may directly determine the current status of the first application program by querying the positioning service frozen application list. Specifically, if the positioning service frozen application list includes a first application program, the processor is prohibited from using the positioning function in the current status of the first application program, i.e. Application programs may be determined to be currently in a positioning service restricted state and running in the background. Otherwise, if the positioning service frozen application list does not include the first application program, the processor 210 is allowed the current status of the first application program to use the positioning function, i.e. It may be determined that the first application program is not in the positioning service restricted state or that the first application program is running in the foreground. However, this embodiment of the present invention is not limited herein.

任意選択で、測位サービス凍結されたアプリケーションリストは、プロセッサ210によって生成されてよい。例えば、プロセッサは、測位サービス凍結されたアプリケーションリストに、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを追加してよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the positioning service frozen application list may be generated by processor 210. For example, the processor may add at least one application program that is in a positioning service restricted state and is running in the background to the positioning service frozen application list. However, this embodiment of the present invention is not limited herein.

任意選択で、プロセッサ210は、測位サービス凍結されたアプリケーションリストを更新するようにさらに構成されてよい。詳細には、プロセッサ210は、測位サービス凍結されたアプリケーションリストを周期的に更新してよく、または更新するようにトリガされてよい。例えば、測位サービス凍結されたリストにおけるアプリケーションプログラムが背景実行から前景実行に変化した場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストからアプリケーションプログラムを削除してよい。あるいは、測位サービス制限された状態にあるアプリケーションプログラムが前景実行から背景実行に変化した場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストにアプリケーションプログラムを追加してよい。あるいは、ユーザまたは端末デバイスの設定が変化し、それゆえ、測位サービス制限された状態にあるアプリケーションプログラムが測位サービス制限された状態にないことに変化し、かつアプリケーションプログラムが測位サービス凍結されたアプリケーションリストに含められている場合、プロセッサ210は、測位サービス凍結されたアプリケーションリストからアプリケーションプログラムを削除してもよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may be further configured to update the positioning service frozen application list. Specifically, the processor 210 may periodically update the positioning service frozen application list, or may be triggered to update. For example, if the application program in the positioning service frozen list changes from background execution to foreground execution, the processor 210 may remove the application program from the positioning service frozen application list. Alternatively, if the application program in the positioning service restricted state changes from foreground execution to background execution, the processor 210 may add the application program to the positioning service frozen application list. Alternatively, the settings of the user or terminal device have changed, and therefore the application program in the positioning service restricted state has changed to not in the positioning service restricted state, and the application program has the positioning service frozen application list. The processor 210 may remove the application program from the positioning service frozen application list if it is included in. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、端末デバイス200におけるプロセッサ210は、端末デバイス200の現在のステータスにより、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供すべきかどうかを決定するように構成されてよい。例えば、プロセッサ210は、端末デバイスの現在のステータスにより、獲得された測位情報を送るべきかどうかを決定してよい。任意選択で、端末デバイス200の現在のステータスは、ディスプレイのステータス、動きステータス、または類似したもののうちの少なくとも1つにより決定されてよい。例えば、端末デバイス200は、ディスプレイと、端末デバイスの現在の動きデータを獲得するように構成された動きセンサとをさらに含んでよい。この事例において、プロセッサ210は、ディスプレイのステータス、および動きデータにより決定される端末デバイスの動きステータスにより、獲得された測位情報を送るべきかどうかを決定してよい。動きステータスは、動いている状態または静止状態を含んでよく、かつ動きステータスは、動きデータにより動きセンサまたはプロセッサによって決定されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In another optional embodiment, the processor 210 in the terminal device 200 is configured to determine, depending on the current status of the terminal device 200, whether to provide the positioning service to at least one application program requesting the positioning service. May be done. For example, the processor 210 may determine whether to send the acquired positioning information based on the current status of the terminal device. Optionally, the current status of the terminal device 200 may be determined by at least one of display status, motion status, or similar. For example, the terminal device 200 may further include a display and a motion sensor configured to acquire the current motion data of the terminal device. In this case, the processor 210 may determine whether to send the acquired positioning information based on the status of the display and the motion status of the terminal device determined by the motion data. The motion status may include a moving state or a stationary state, and the motion status may be determined by the motion sensor or processor based on the motion data. This embodiment of the invention does not set any limitations herein.

プロセッサ210が、端末デバイス200が現在、以下の条件、すなわち、ディスプレイが画面オフ状態にある、動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、プロセッサ210は、測位情報を破棄してよく、すなわち、プロセッサは、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供しない。任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおけるいずれかのアプリケーションプログラムによって送られた測位要求を受信した場合、プロセッサ210は、測位要求を破棄してよく、測位チップに測位要求を転送しなくてよい。あるいは、プロセッサ210が、測位チップによって送られた測位データを受信した場合、プロセッサ210は、測位データを破棄してよく、少なくとも1つのアプリケーションプログラムにおけるいずれのアプリケーションプログラムにも測位データを送らなくてよい。しかし、本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 The processor 210 currently has the following conditions: the display is in the screen off state, the motion status is in the stationary state, or the display is in the screen off state and the motion status is in the stationary state. If any one of the above is currently satisfied, the processor 210 may discard the positioning information, that is, the processor does not provide the positioning service to at least one application program requesting the positioning service. Optionally, if the processor 210 receives a positioning request sent by any of the application programs in at least one application program, the processor 210 may discard the positioning request and forward the positioning request to the positioning chip. It doesn't have to be. Alternatively, when the processor 210 receives the positioning data sent by the positioning chip, the processor 210 may discard the positioning data and may not send the positioning data to any application program in at least one application program. .. However, this embodiment of the present invention does not set any limitations herein.

任意選択で、端末デバイスの電力消費をさらに低減するのに、プロセッサは、測位サービスをさらにディセーブルにしてよく、例えば、測位チップをディセーブルにしてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, to further reduce the power consumption of the terminal device, the processor may further disable the positioning service, eg, the positioning chip. However, this embodiment of the present invention is not limited herein.

任意選択で、プロセッサ210は、端末デバイスが現在、静止状態にあり、かつ/またはディスプレイが画面オフ状態にあると決定したとき、測位情報を破棄してよく、または端末デバイスが特定の持続時間にわたって静止状態にあり、かつ/またはディスプレイが特定の持続時間にわたって画面オフ状態にあると決定したとき、測位情報を破棄してよい。例えば、プロセッサ210は、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスが現在、静止状態にあるうちのいずれか1つを現在、満たす場合、測位情報を破棄する。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may discard the positioning information when it determines that the terminal device is currently in a quiesced state and / or the display is in the screen off state, or the terminal device may discard the positioning information for a certain duration. Positioning information may be discarded when it is stationary and / or the display determines that it has been screened off for a certain duration. For example, the processor 210 has the following conditions: the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the quiescent state reaches the second threshold. Alternatively, if the duration of the display off screen reaches a third threshold and the terminal device currently meets any one of the currently stationary states, the positioning information is discarded. However, this embodiment of the present invention is not limited herein.

対応して、プロセッサ210は、プロセッサ210が、端末デバイス200が前述の条件を満たさないと決定した場合、測位情報を送ってよい。 Correspondingly, the processor 210 may send positioning information when the processor 210 determines that the terminal device 200 does not satisfy the above-mentioned conditions.

別の任意選択の実施形態において、プロセッサ210が、端末デバイス200のディスプレイが画面オン状態にあり、かつ/または端末デバイス200が現在、動いている状態にあると決定した場合、プロセッサ210は、測位情報を送ってよく、すなわち、プロセッサは、測位サービスを要求する少なくとも1つのアプリケーションプログラムに測位サービスを提供する。任意選択で、プロセッサ210が、少なくとも1つのアプリケーションプログラムにおける1つまたは複数のアプリケーションプログラムによって送られた測位要求を受信した場合、プロセッサ210は、測位チップに受信された測位要求を転送してよい。あるいは、プロセッサ210が、測位チップによって送られた測位データを受信した場合、プロセッサ210は、少なくとも1つのアプリケーションプログラムにおける1つまたは複数のアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書においてまったく限定を設定しない。任意選択で、プロセッサ210は、少なくとも1つのアプリケーションプログラムにおける各アプリケーションプログラムの現在のステータスにより、各アプリケーションプログラムに測位サービスを提供すべきかどうかをさらに決定してよい。特定の実装形態に関して、前述の実施形態における第1のアプリケーションプログラムの説明を参照されたい。明瞭のため、詳細は、本明細書において説明されない。 In another optional embodiment, if the processor 210 determines that the display of the terminal device 200 is in the screen-on state and / or the terminal device 200 is currently in motion, the processor 210 is positioned. The information may be sent, i.e., the processor provides the positioning service to at least one application program requesting the positioning service. Optionally, if the processor 210 receives a positioning request sent by one or more application programs in at least one application program, the processor 210 may transfer the received positioning request to the positioning chip. Alternatively, when the processor 210 receives the positioning data sent by the positioning chip, the processor 210 may send the positioning data to one or more application programs in at least one application program. However, this embodiment of the present invention does not set any limitations herein. Optionally, the processor 210 may further determine whether to provide positioning services to each application program based on the current status of each application program in at least one application program. Please refer to the description of the first application program in the above-described embodiment for a specific implementation. For clarity, details are not described herein.

別の任意選択の実施形態において、プロセッサ210は、端末デバイスがユーザスリープ状態にあると決定したとき、測位情報を破棄するようにさらに構成されてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, the processor 210 may be further configured to discard the positioning information when the terminal device determines that it is in the user sleep state. However, this embodiment of the present invention is not limited herein.

本発明のこの実施形態において、端末デバイス200は、測位機能を有するいずれかのデバイス、例えば、モバイル電話、タブレットパーソナルコンピュータ(Tablet Personal Computer)、メディアプレーヤ、スマートテレビ、ラップトップコンピュータ(Laptop Computer)、ウルトラモバイルパーソナルコンピュータ(Ultra−mobile Personal Computer、UMPC)、ネットブック、携帯情報端末(personal digital assistant、PDA)、パーソナルコンピュータ(Personal Computer)、モバイルインターネットデバイス(Mobile Internet Device、MID)、またはスマートウォッチなどのウェアラブルデバイス(Wearable Device)であってよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 In this embodiment of the present invention, the terminal device 200 is any device having a positioning function, for example, a mobile phone, a tablet personal computer, a media player, a smart TV, a laptop computer, and the like. Ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), netbook, mobile information terminal (personal digital computer, PDA), personal computer (Personal Computer), mobile internet device (Mobile Internet device) It may be a wearable device (Wearable Computer). This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、集積回路(Integrated Circuit、IC)を含んでよい。例えば、プロセッサ210は、独立にパッケージされたICを含んでよく、または同一の機能もしくは異なる機能を有し、かつ接続されている複数のパッケージされたICを含んでよい。プロセッサ210は、中央処理ユニット(Central Processing Unit、CPU)であってよい。プロセッサ210は、別の汎用プロセッサ、デジタル信号プロセッサ(DSP)、特定用途向け集積回路(ASIC)、フィールドプログラマブルゲートアレイ(FPGA)もしくは別のプログラマブル論理デバイス、ディスクリートのゲートもしくはトランジスタ論理デバイス、ディスクリートのハードウェア構成要素、または類似したものであってもよい。汎用プロセッサは、マイクロプロセッサであってよく、またはプロセッサは、いずれかの従来のプロセッサ、または類似したものであってもよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 Optionally, the processor 210 may include an integrated circuit (IC). For example, the processor 210 may include independently packaged ICs, or may include a plurality of packaged ICs having the same or different functions and being connected. The processor 210 may be a central processing unit (CPU). Processor 210 is another general purpose processor, digital signal processor (DSP), application specific integrated circuit (ASIC), field programmable gate array (FPGA) or another programmable logic device, discrete gate or transistor logic device, discrete hardware. It may be a ware component or something similar. The general purpose processor may be a microprocessor, or the processor may be any conventional processor or something similar. This embodiment of the invention does not set any limitations herein.

任意選択で、プロセッサ210は、メモリ220に結合され、メモリ220に記憶された命令を執行するように構成されてよい。プロセッサ210が命令を執行したとき、プロセッサは、前述の実施形態におけるプロセッサに対応するステップを実行するように構成される。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor 210 may be coupled to memory 220 and configured to execute instructions stored in memory 220. When the processor 210 executes an instruction, the processor is configured to perform the steps corresponding to the processor in the aforementioned embodiments. However, this embodiment of the present invention is not limited herein.

図3は、本発明のこの実施形態におけるプロセッサ210の可能な実装形態を示す。プロセッサ210は、電力節約ウィザード凍結アプリケーションと、電力マネージャサービス(Power Manager Service)と、ロケーションマネージャサービス(Location Manager Service)とを含んでよい。電力節約ウィザード凍結アプリケーションは、測位サービス凍結されたアプリケーションリストを生成するのに、例えば、現在のアプリケーションシナリオにより、測位サービスを使用することが禁止された少なくとも1つのアプリケーションプログラムを決定するのに、かつ電力マネージャサービスを使用することによってロケーションマネージャサービスに測位サービス凍結されたアプリケーションリストを送るのに使用される。電力マネージャサービスは、プロキシGPS(proxyGPS)インターフェースを使用することによってロケーションマネージャサービスに接続されてよい。ロケーションマネージャサービスは、GPS凍結プログラム(GpsFreezeProc)を含み、かつGPS凍結プログラムは、測位サービス凍結されたアプリケーションリスト(HashMapなどの)を含む。ロケーションマネージャサービスは、測位サービス凍結されたアプリケーションリストにクエリすることによって、アプリケーションプログラムに測位データを送るべきかどうか、または測位チップにアプリケーションプログラムの測位要求を送るべきかどうかを決定してよい。 FIG. 3 shows a possible implementation of the processor 210 in this embodiment of the present invention. The processor 210 may include a power saving wizard freeze application, a power manager service, and a location manager service. The Power Saving Wizard Frozen Application is used to generate a Positioning Service Frozen Application List, for example, to determine at least one application program that is prohibited from using the Positioning Service due to the current application scenario. Positioning service used to send a frozen application list to the location manager service by using the power manager service. The power manager service may be connected to the location manager service by using a proxy GPS (proxyGPS) interface. The location manager service includes a GPS freeze program (GpsFreezeProc), and the GPS freeze program includes a positioning service frozen application list (such as HashMap). The location manager service may determine whether to send positioning data to the application program or to send the application program's positioning request to the positioning chip by querying the positioning service frozen application list.

別の任意選択の実施形態において、端末デバイスの電力消費をさらに低減するのに、プロセッサ210は、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ背景において実行していると決定したとき、第1のアプリケーションプログラムの命令を執行することを停止するようにさらに構成されて、第1のアプリケーションプログラムが凍結された状態に入るようにしてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In another optional embodiment, to further reduce the power consumption of the terminal device, processor 210 determines that the first application program is in a positioning service restricted state and is running in the background. At that time, it may be further configured to stop executing the instructions of the first application program so that the first application program enters the frozen state. However, this embodiment of the present invention is not limited herein.

任意選択で、本発明のこの実施形態において、アプリケーションプログラムが凍結された状態に入る、または凍結された状態から能動的な状態に変化する条件は、アプリケーションプログラムが測位サービスを使用することを許される、または使用することを禁止される条件と同様であってよい。明瞭のため、詳細は、本明細書において説明されない。 Optionally, in this embodiment of the invention, the condition that the application program enters the frozen state or changes from the frozen state to the active state allows the application program to use the positioning service. Or may be similar to the conditions prohibited from use. For clarity, details are not described herein.

図2および図3を参照して、以上は、本発明のこの実施形態による端末デバイスを詳細に説明する。図4から図6を参照して、以下は、本発明の実施形態による測位情報処理方法を詳細に説明する。 With reference to FIGS. 2 and 3, the terminal device according to this embodiment of the present invention will be described in detail. With reference to FIGS. 4 to 6, the positioning information processing method according to the embodiment of the present invention will be described in detail below.

図4は、本発明の実施形態において提供される測位情報処理方法300を示す。測位情報処理方法は、測位機能を有する端末デバイスに適用されてよく、例えば、前述の端末デバイス200に適用されてよい。端末デバイスは、少なくとも1つのアプリケーションプログラムを記憶するように構成されたメモリと、プロセッサとを含む。図4に示されるとおり、方法300は、以下のステップを含む。 FIG. 4 shows the positioning information processing method 300 provided in the embodiment of the present invention. The positioning information processing method may be applied to a terminal device having a positioning function, and may be applied to, for example, the terminal device 200 described above. The terminal device includes a memory configured to store at least one application program and a processor. As shown in FIG. 4, the method 300 includes the following steps.

S310 プロセッサが、測位情報を受信する。 The S310 processor receives the positioning information.

S320 プロセッサが、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄する。 The S320 processor discards the positioning information when the first application program is in the positioning service restricted state and the first application program is currently running in the background.

本発明のこの実施形態において、少なくとも1つのアプリケーションプログラムは、第1のアプリケーションプログラムを含み、かつ第1のアプリケーションプログラムは、測位サービスを要求する(アプリケーションプログラムが測位サービスを要求したこと、または測位サービスを要求していることを含む)。第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、第1のアプリケーションプログラムに対応する測位情報を破棄する。第1のアプリケーションプログラムに対応する測位情報は、以下、すなわち、第1のアプリケーションプログラムによって要求された測位データ、または第1のアプリケーションプログラムの測位要求のうちの少なくとも1つを含んでよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In this embodiment of the invention, at least one application program includes a first application program, and the first application program requests a positioning service (that the application program has requested a positioning service, or a positioning service). Including requesting). If the first application program is in a positioning service restricted state and the first application program is currently running in the background, the processor discards the positioning information corresponding to the first application program. The positioning information corresponding to the first application program may include at least one of the following, that is, the positioning data requested by the first application program, or the positioning request of the first application program. However, this embodiment of the present invention is not limited herein.

任意選択で、端末デバイスは、端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire positioning data outside the terminal device.

この事例において、任意選択の実施形態において、プロセッサによる、S310において測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつ
プロセッサによる、S320において測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを飛ばすことを含む。
In this example, in an optional embodiment, receiving positioning information in S310 by the processor includes receiving a positioning request sent by the first application program by the processor and by the processor in S320. Discarding the positioning information in the above includes skipping sending a positioning request to the positioning chip by the processor.

この事例において、別の任意選択の実施形態において、プロセッサによる、S310において測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつ
プロセッサによる、S320において測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することを含む。
In this example, in another optional embodiment, receiving the positioning information in S310 by the processor comprises receiving the current positioning data of the terminal device sent by the positioning chip by the processor, and the processor. Discarding the positioning information in S320 according to the above includes prohibiting the processor from sending the current positioning data of the terminal device to the first application program.

この事例において、プロセッサは、第1のアプリケーションプログラムに測位データを送らない。任意選択で、プロセッサは、測位サービスを要求する別のアプリケーションプログラムに測位データを送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In this case, the processor does not send positioning data to the first application program. Optionally, the processor may send the positioning data to another application program requesting a positioning service. However, this embodiment of the present invention is not limited herein.

任意選択で、端末デバイスは、測位チップを含まなくてよい。例えば、プロセッサに測位機能が一体化される。この事例において、任意選択で、プロセッサは、RF回路によって送られた測位データを受信してよい。あるいは、プロセッサは、RF回路によって送られた測位信号を受信し、かつ測位信号により測位データを生成してよい。加えて、プロセッサは、第1のアプリケーションプログラムの現在のステータスにより、第1のアプリケーションプログラムに測位データを送るべきかどうかをさらに決定してよい。 Optionally, the terminal device does not have to include a positioning chip. For example, the positioning function is integrated into the processor. In this case, optionally, the processor may receive the positioning data sent by the RF circuit. Alternatively, the processor may receive the positioning signal sent by the RF circuit and generate the positioning data from the positioning signal. In addition, the processor may further determine whether positioning data should be sent to the first application program based on the current status of the first application program.

別の任意選択の実施形態において、方法300は、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景において実行している場合、測位情報を送ることをさらに含む。 In another optional embodiment, method 300 is when the first application program by the processor is not in a positioning service restricted state and / or the first application program is currently running in the foreground. It further includes sending positioning information.

任意選択で、端末デバイスが測位チップを含まない場合、第1のアプリケーションプログラムの測位要求を受信したとき、プロセッサは、第1のアプリケーションプログラムの現在のステータスにより、測位要求を承認すべきかどうかを決定してよい。例えば、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、プロセッサは、受信された測位要求を破棄して、第1のアプリケーションプログラムの測位要求を拒否するようにしてよく、そうではない場合、プロセッサは、第1のアプリケーションプログラムの測位要求を承認してよく、例えば、第1のアプリケーションプログラムに測位要求応答を送ってよく、または第1のアプリケーションプログラムに現在の測位データを直接に送ってよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, if the terminal device does not include a positioning chip, upon receiving the positioning request of the first application program, the processor determines whether to approve the positioning request based on the current status of the first application program. You can do it. For example, if the first application program is in a state of being positioning service restriction, and the first application program is currently running in the background, the processor discards the positioning request received, first The positioning request of the application program may be rejected, otherwise the processor may approve the positioning request of the first application program, eg, send a positioning request response to the first application program. Often, the current positioning data may be sent directly to the first application program. However, this embodiment of the present invention is not limited herein.

この事例において、任意選択で、測位情報が第1のアプリケーションプログラムの測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに測位要求を送ることを含む。 In this case, optionally, when the positioning information includes the positioning request of the first application program, sending the positioning information by the processor includes sending the positioning request to the positioning chip by the processor.

この事例において、任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 In this case, if the positioning information includes positioning data, optionally, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

任意選択の実施形態において、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、ユーザによって事前設定され、または端末デバイスのデフォルトの設定である。あるいは、第1のアプリケーションプログラムが測位サービス制限された状態にあるかどうかは、第1のアプリケーションプログラムの挙動に関する統計を収集することによって端末デバイスによって決定されてよい。しかし、本発明のこの実施形態は、本明細書において限定されない。 In an optional embodiment, whether the first application program is in a positioning service restricted state is preset by the user or is the default setting of the terminal device. Alternatively, whether or not the first application program is in a positioning service restricted state may be determined by the terminal device by collecting statistics on the behavior of the first application program. However, this embodiment of the present invention is not limited herein.

別の任意選択の実施形態において、S320の前に、方法300は、
プロセッサによる、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含むかどうかを決定することであって、ここで、測位サービス凍結されたアプリケーションリストは、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを含むことをさらに含み、かつ
対応して、S320において、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行している場合、測位情報を破棄することは、
プロセッサによる、測位サービス凍結されたアプリケーションリストが第1のアプリケーションプログラムを含む場合、測位情報を破棄することを含む。
In another optional embodiment, prior to S320, method 300
The processor determines whether the positioning service frozen application list contains a first application program, wherein the positioning service frozen application list is in a positioning service restricted state and Further including including at least one application program running in the background, and correspondingly, in S320, the first application program by the processor is in a positioning service restricted state and the first application program. Discarding positioning information is currently running in the background
Positioning service by processor If the frozen application list contains a first application program, it involves discarding the positioning information.

この事例において、プロセッサは、測位サービス凍結されたアプリケーションリストにクエリすることによって、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ背景において実行しているかどうかを決定してよい。 In this case, the processor may determine whether the first application program is in a positioning service restricted state and is running in the background by querying the positioning service frozen application list.

別の任意選択の実施形態において、任意選択で、プロセッサによる、第1のアプリケーションプログラムが測位サービス制限された状態になく、かつ/または第1のアプリケーションプログラムが現在、前景で実行している場合、測位情報を送ることは、
プロセッサによる、測位サービス凍結されたリストが第1のアプリケーションプログラムを含まない場合、測位情報を送ることを含む。
In another optional embodiment, if, at the option, the first application program by the processor is not in a positioning service restricted state and / or the first application program is currently running in the foreground. Sending positioning information is
Positioning service by processor If the frozen list does not include the first application program, it involves sending positioning information.

別の任意選択の実施形態において、方法300は、
プロセッサによる、第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、測位サービス凍結されたアプリケーションリストから第1のアプリケーションプログラムを削除することをさらに含む。
In another optional embodiment, method 300
When the first application program by the processor changes from background execution to foreground execution, the positioning service further includes removing the first application program from the frozen application list.

別の任意選択の実施形態において、方法300は、プロセッサによる、少なくとも1つのアプリケーションプログラムにおける第2のアプリケーションプログラムが前景実行から背景実行に変化し、かつ第2のアプリケーションプログラムが測位サービス制限された状態にある場合、測位サービス凍結されたアプリケーションリストに第2のアプリケーションプログラムを追加することをさらに含む。 In another optional embodiment, method 300 is a state in which the second application program in at least one application program is changed from foreground execution to background execution by the processor and the second application program is restricted in positioning service. The positioning service further includes adding a second application program to the frozen application list.

本発明のこの実施形態における方法300のステップおよび特定の実装形態に関して、前述の装置実施形態における対応する説明を参照されたい。繰り返しを回避するのに、詳細は、本明細書において説明されない。 See the corresponding description in the device embodiment described above with respect to the steps of method 300 and specific implementations in this embodiment of the invention. To avoid repetition, details are not described herein.

したがって、本発明のこの実施形態における測位情報処理方法によれば、プロセッサは、第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ第1のアプリケーションプログラムが現在、背景において実行しているとき、第1のアプリケーションプログラムに対応する測位情報を破棄する。このことは、端末デバイスの背景において実行しているいくつかのアプリケーションプログラムの、頻繁な測位開始または長時間の測位などの異常な測位挙動を回避して、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させるようにすることができる。 Therefore, according to the positioning information processing method according to this embodiment of the present invention, the processor is in a state where the positioning service is restricted by the first application program, and the first application program is currently executed in the background. At that time, the positioning information corresponding to the first application program is discarded. This avoids unusual positioning behaviors of some application programs running in the background of the terminal device, such as frequent positioning starts or long-term positioning, reducing the power consumption of the terminal device and the terminal. The standby time of the device can be increased and the user experience can be improved.

図5は、本発明の別の実施形態において提供される測位情報処理方法400を示す。測位情報処理方法は、測位機能を有する端末デバイスに適用されてよく、例えば、前述の端末デバイス200に適用されてよい。端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを含む。図5に示されるとおり、方法400は、以下のステップを含む。 FIG. 5 shows a positioning information processing method 400 provided in another embodiment of the present invention. The positioning information processing method may be applied to a terminal device having a positioning function, and may be applied to, for example, the terminal device 200 described above. The terminal device includes a processor, a display, and a motion sensor. As shown in FIG. 5, the method 400 includes the following steps.

S410 プロセッサが、測位情報を受信する。 The S410 processor receives the positioning information.

S420 プロセッサが、動きセンサによって獲得された動きデータにより端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定する。 The S420 processor determines whether the motion status of the terminal device is in motion or stationary based on the motion data acquired by the motion sensor.

S430 プロセッサが、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄する。 S430 Processor, the terminal device has the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the quiescent state, or the display is in the screen off state and the movement status of the terminal device is quiesced. If any one of the states is currently satisfied, the positioning information is discarded.

任意選択で、端末デバイスの現在の動きステータスが静止状態にあり、かつ/または端末デバイスのディスプレイが現在、画面オフ状態にある場合、プロセッサは、測位情報を破棄してよく、例えば、端末デバイス上の1つまたは複数のアプリケーションプログラムに測位サービスをまったく提供しなくてよい。 Optionally, if the terminal device's current motion status is quiesced and / or the terminal device's display is currently in the screen off state, the processor may discard the positioning information, eg, on the terminal device. It is not necessary to provide positioning services to one or more application programs of the above.

任意選択の実施形態において、S430において、プロセッサによる、以下の条件、すなわち、ディスプレイが画面オフ状態にある、端末デバイスの動きステータスが静止状態である、またはディスプレイが画面オフ状態にあり、かつ端末デバイスの動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することは、
プロセッサによる、端末デバイスが、以下の条件、すなわち、ディスプレイが画面オフ状態にある持続時間が第1の閾値に達する、端末デバイスが静止状態にある持続時間が第2の閾値に達する、またはディスプレイが画面オフ状態にある持続時間が第3の閾値に達し、かつ端末デバイスの現在の動きステータスが静止状態であるうちのいずれか1つを現在、満たす場合、測位情報を破棄することを含む。
In an optional embodiment, in S430, the processor meets the following conditions: the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state and the terminal device. If any one of the motion statuses of is currently satisfied, discarding the positioning information is possible.
The processor causes the terminal device to reach the following conditions: the duration of the display in the screen off state reaches the first threshold, the duration of the terminal device in the stationary state reaches the second threshold, or the display When the duration of the screen off state reaches the third threshold value and the current motion status of the terminal device currently satisfies any one of the stationary states, the positioning information is discarded.

第1の閾値、第2の閾値、または第3の閾値は、事前定義されてよく、またはユーザによって設定されてよい。本発明のこの実施形態は、本明細書においてまったく限定を設定しない。 The first threshold, the second threshold, or the third threshold may be predefined or set by the user. This embodiment of the invention does not set any limitations herein.

別の任意選択の実施形態において、方法400は、プロセッサによる、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、測位情報を送ることをさらに含む。 In another optional embodiment, method 400 is for positioning information when the current motion status of the terminal device by the processor is in motion and / or the display of the terminal device is currently in the screen-on state. Includes further sending.

任意選択で、プロセッサによる、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、測位情報を送ることは、端末デバイスの現在の動きステータスが動いている状態であり、かつ/または端末デバイスのディスプレイが現在、画面オン状態にある場合、プロセッサによる、第1のアプリケーションプログラムの現在のステータスにより、測位情報を送るべきかどうかを決定することを含む。 Optionally, if the current motion status of the terminal device by the processor is in motion and / or the display of the terminal device is currently in the screen on state, sending positioning information is the current state of the terminal device. If the motion status of is in motion and / or the display of the terminal device is currently in the screen-on state, the processor determines whether positioning information should be sent according to the current status of the first application program. Including deciding.

任意選択で、端末デバイスは、端末デバイスの現在の測位データを獲得するように構成された測位チップをさらに含む。 Optionally, the terminal device further includes a positioning chip configured to acquire the current positioning data of the terminal device.

任意選択の実施形態において、プロセッサによる、S410において測位情報を受信することは、プロセッサによる、第1のアプリケーションプログラムによって送られた測位要求を受信することを含み、かつ
プロセッサによる、S430において測位情報を破棄することは、プロセッサによる、測位チップに測位要求を送ることを禁止することであって、ここで、この事例において、プロセッサは、測位チップに測位要求を送らないことを含む。
In an optional embodiment, receiving positioning information in S410 by the processor includes receiving a positioning request sent by the first application program by the processor and receiving positioning information in S430 by the processor. Discarding is prohibiting the processor from sending a positioning request to the positioning chip, which in this case includes the processor not sending a positioning request to the positioning chip.

任意選択で、測位情報が第1のアプリケーションプログラムの測位要求を含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、測位チップに第1のアプリケーションプログラムの測位要求を送ることを含む。 If, optionally, the positioning information includes the positioning request of the first application program, sending the positioning information by the processor includes sending the positioning request of the first application program to the positioning chip by the processor.

別の任意選択の実施形態において、プロセッサによる、S410において測位情報を受信することは、プロセッサによる、測位チップによって送られる端末デバイスの現在の測位データを受信することを含み、かつ
プロセッサによる、S430において測位情報を破棄することは、プロセッサによる、第1のアプリケーションプログラムに端末デバイスの現在の測位データを送ることを禁止することであって、ここで、この事例において、プロセッサは、測位サービスを要求する端末デバイス上の1つまたは複数のアプリケーションプログラムに端末デバイスの現在の測位データを送らないことを含む。
In another optional embodiment, receiving positioning information in S410 by the processor comprises receiving current positioning data of the terminal device sent by the positioning chip by the processor and in S430 by the processor. Discarding the positioning information prohibits the processor from sending the current positioning data of the terminal device to the first application program, where, in this case, the processor requests a positioning service. Includes not sending the current positioning data of the terminal device to one or more application programs on the terminal device.

任意選択で、測位情報が測位データを含む場合、プロセッサによる、測位情報を送ることは、プロセッサによる、第1のアプリケーションプログラムに測位データを送ることを含む。 If, optionally, the positioning information includes positioning data, sending the positioning information by the processor includes sending the positioning data to the first application program by the processor.

本発明のこの実施形態における方法400のステップおよび特定の実装形態に関して、前述の装置実施形態における対応する説明を参照されたい。繰り返しを回避するのに、詳細は、本明細書において説明されない。 See the corresponding description in the device embodiment described above with respect to the steps of method 400 and specific implementations in this embodiment of the invention. To avoid repetition, details are not described herein.

したがって、本発明のこの実施形態における測位情報処理方法によれば、端末デバイスのディスプレイが現在、画像オフ状態にあり、かつ/または端末デバイスが現在、静止状態にあると決定したとき、プロセッサは、受信された測位情報を破棄する。このことは、端末デバイスにおける測位サービスによってもたらされる電力消費に対する能動的な制御を実装し、端末デバイスの電力消費を低減し、端末デバイスのスタンバイ時間を増加させ、かつユーザ体験を向上させることができる。 Therefore, according to the positioning information processing method in this embodiment of the present invention, when the display of the terminal device is currently in the image off state and / or the terminal device is currently in the stationary state, the processor is determined. Discard the received positioning information. This can implement active control over the power consumption provided by the positioning service in the terminal device, reduce the power consumption of the terminal device, increase the standby time of the terminal device, and improve the user experience. ..

特定の例を参照して、以下は、本発明の実施形態において提供される測位情報処理方法のより詳細な説明を提供する。図6は、本発明の別の実施形態において提供される測位情報処理方法500を示す。 With reference to a particular example, the following provides a more detailed description of the positioning information processing methods provided in the embodiments of the present invention. FIG. 6 shows a positioning information processing method 500 provided in another embodiment of the present invention.

S510 測位サービス要求アプリケーションリストおよび測位サービス凍結されたアプリケーションリストにクエリすることによって、測位が現在、要求されるかどうかを決定する。 By querying the S510 positioning service request application list and the positioning service frozen application list, it is determined whether positioning is currently requested.

測位サービス要求アプリケーションリストは、測位サービスを要求する少なくとも1つのアプリケーションプログラムを含む。測位サービス凍結されたアプリケーションリストは、測位サービスを使用することを禁止された少なくとも1つのアプリケーションプログラムを含む。プロセッサは、測位サービス要求アプリケーションリストにクエリすることによって、測位サービスを要求する少なくとも1つのアプリケーションプログラムが現在、存在するかどうかを決定してよい。測位サービス要求アプリケーションリストが1つまたは複数のアプリケーションプログラムを含む場合、プロセッサは、測位サービス凍結されたアプリケーションリストにクエリすることによって、測位サービス要求アプリケーションリストにおけるアプリケーションプログラムが測位サービスを使用することを禁止されているかどうかを決定してよく、かつ測位サービスを使用することを許されたアプリケーションプログラムが測位サービス要求アプリケーションリストにおいて存在するかどうかをさらに決定してよい。測位サービスを使用することを許されたアプリケーションプログラムが測位サービス要求アプリケーションリストにおいて存在する場合、プロセッサは、測位が現在、遂行される必要があると決定してよく、そうではない場合、プロセッサは、測位が現在、遂行される必要がないと決定してよい。 The positioning service request application list includes at least one application program that requests the positioning service. Positioning Services The frozen application list contains at least one application program that is prohibited from using the positioning services. The processor may determine if at least one application program requesting the positioning service currently exists by querying the positioning service request application list. If the positioning service request application list contains one or more application programs, the processor prohibits the application programs in the positioning service request application list from using the positioning service by querying the positioning service frozen application list. It may be determined whether or not the application program is allowed to use the positioning service and may be further determined if it exists in the positioning service request application list. If an application program allowed to use the positioning service is present in the positioning service request application list, the processor may determine that the positioning currently needs to be performed, otherwise the processor may determine. It may be determined that the positioning does not currently need to be performed.

任意選択で、プロセッサは、S510を周期的に遂行してよく、またはS510を遂行するようにトリガされてよい。例えば、プロセッサは、測位サービス要求アプリケーションリストおよび/または測位サービス凍結されたアプリケーションリストが変化したとき、S510を遂行する。しかし、本発明のこの実施形態は、本明細書において限定されない。 Optionally, the processor may perform S510 periodically or may be triggered to perform S510. For example, the processor performs S510 when the positioning service request application list and / or the positioning service frozen application list changes. However, this embodiment of the present invention is not limited herein.

S520 測位チップが現在、測位状態にあるかどうかを決定する。 S520 Determines whether the positioning chip is currently in the positioning state.

任意選択で、現在のステータスは、測位チップが現在、測位状態にあり、かつプロセッサが、測位が現在、遂行される必要があると決定した場合、または測位チップが現在、測位状態になく、かつプロセッサが、測位が現在、遂行される必要がないと決定した場合、保持されてよい。方法は、測位チップが現在、測位状態になく、かつプロセッサが、測位が現在、遂行される必要があると決定した場合、S530に進む。方法は、測位チップが現在、測位状態にあり、かつプロセッサが、測位が現在、遂行される必要がないと決定した場合、S540に進む。 Optionally, the current status is if the positioning chip is currently in the positioning state and the processor determines that the positioning currently needs to be performed, or if the positioning chip is not currently in the positioning state and If the processor determines that positioning does not currently need to be performed, it may be retained. The method proceeds to S530 if the positioning chip is not currently in the positioning state and the processor determines that the positioning currently needs to be performed. The method proceeds to S540 if the positioning chip is currently in the positioning state and the processor determines that the positioning does not currently need to be performed.

S530 測位チップに第1の命令情報を送り、ここで、第1の命令情報は、測位を遂行するよう測位チップに命令するのに使用される。 S530 A first command information is sent to the positioning chip, where the first command information is used to command the positioning chip to perform positioning.

S540 測位チップに第2の命令情報を送り、ここで、第2の命令情報は、測位を停止するよう測位チップに命令するのに使用される。 A second command information is sent to the S540 positioning chip, where the second command information is used to command the positioning chip to stop positioning.

プロセッサは、測位チップに命令を送って、測位を再開するよう、または測位を停止するよう測位チップに命令する。 The processor sends a command to the positioning chip to instruct the positioning chip to resume positioning or stop positioning.

図6における例は、当業者が、本発明の実施形態の範囲を限定する代わりに、本発明の実施形態をよりよく理解するのを助けるべきものであることに留意されたい。当業者は、図6に示される例により様々な均等の変形形態または変更形態を遂行してよく、そのような変形形態または変更形態も本発明の実施形態の範囲内に入る。 It should be noted that the examples in FIG. 6 should help one of ordinary skill in the art to better understand the embodiments of the invention, instead of limiting the scope of the embodiments of the invention. One of ordinary skill in the art may perform various uniform variants or modifications according to the examples shown in FIG. 6, such variants or modifications also fall within the scope of the embodiments of the present invention.

前述のプロセスのシーケンス番号は、執行シーケンスを意味しないことを理解されたい。プロセスの執行シーケンスは、プロセスの機能および内部論理により決定されるべきであり、本発明の実施形態の実装プロセスに対するいずれの限定としても解釈されるべきではない。 It should be understood that the sequence number of the process described above does not mean an execution sequence. The process execution sequence should be determined by the function and internal logic of the process and should not be construed as any limitation on the implementation process of the embodiments of the present invention.

本発明の実施形態は、コンピュータプログラムを記憶するように構成されたコンピュータ可読媒体をさらに提供する。コンピュータプログラムは、前述の方法を執行するのに使用される命令を含む。 Embodiments of the present invention further provide a computer-readable medium configured to store a computer program. The computer program contains instructions used to enforce the aforementioned method.

明瞭のため、本明細書における実施形態の説明は、実施形態の間の違いを強調することを理解されたい。したがって、本明細書においてそうではなく明記されるのでない限り、またはコンテキストから容易に考え出されるのでない限り、本明細書における実施形態に対して相互参照が行われてよい。 For clarity, it should be understood that the description of embodiments herein emphasizes the differences between embodiments. Therefore, cross-references may be made to embodiments herein, unless otherwise specified herein or as easily conceived from context.

当業者は、本明細書において開示される実施形態において説明される例と組み合わせて、方法ステップおよびユニットが、電子ハードウェア、コンピュータソフトウェア、またはこれらの組合せによって実装されてよいことを意識してよい。ハードウェアとソフトウェアの間の互換性を明確に説明するのに、以上は、機能による各実施形態のステップおよび構成を一般的に説明した。機能がハードウェアによって遂行されるか、またはソフトウェアによって遂行されるかは、技術的ソリューションの特定のアプリケーションおよび設計制約条件に依存する。当業者は、異なる方法を使用して、特定の各アプリケーションに関する説明される機能を実装してよいが、実装が本発明の範囲を超えると考えられるべきではない。 One of ordinary skill in the art may be aware that method steps and units may be implemented by electronic hardware, computer software, or a combination thereof, in combination with the examples described in the embodiments disclosed herein. .. To articulate compatibility between hardware and software, the steps and configurations of each embodiment by function have been generally described above. Whether a function is performed by hardware or software depends on the specific application and design constraints of the technical solution. One of ordinary skill in the art may use different methods to implement the features described for each particular application, but implementation should not be considered beyond the scope of the present invention.

便宜および簡単な説明の目的で、前述のシステム、装置、およびユニットの詳細な動作プロセスに関して、前述の方法実施形態における対応するプロセスに対して参照が行われてよく、詳細は、本明細書において説明されないことが当業者によって明確に理解されてよい。 For convenience and brief description, references may be made to the corresponding processes in the method embodiments described above with respect to the detailed operating processes of the systems, devices, and units described above, the details of which are described herein. It may be clearly understood by those skilled in the art that it is not explained.

本出願において提供されるいくつかの実施形態において、開示されるシステム、装置、および方法は、他の形態で実装されてよいことを理解されたい。例えば、説明される装置実施形態は、例に過ぎない。例えば、ユニット分割は、論理機能分割に過ぎず、実際の実装形態において他の分割であってよい。例えば、複数のユニットまたは構成要素が組み合わされて、もしくは一体化されて別のシステムにされてよく、またはいくつかの特徴が無視されて、もしくは執行されなくてよい。加えて、示される、もしくは検討される相互結合もしくは直接結合または通信接続は、装置もしくはユニットの間のいくつかのインターフェース、間接の結合もしくは通信接続、または電子接続、機械接続、もしくは他の形態の接続を介して実装されてよい。 It should be understood that in some embodiments provided in this application, the disclosed systems, devices, and methods may be implemented in other embodiments. For example, the device embodiments described are merely examples. For example, the unit division is merely a logical function division and may be another division in the actual implementation form. For example, multiple units or components may be combined or integrated into separate systems, or some features may be ignored or not enforced. In addition, the interconnected or direct coupled or communication connections shown or considered are some interfaces between devices or units, indirect coupling or communication connections, or electronic, mechanical, or other forms of connection. It may be implemented via a connection.

別々の部分として説明されるユニットは、物理的に別々であってよく、またはそうでなくてよく、ユニットとして示される部分は、物理的ユニットであってよく、またはそうでなくてよく、1つの位置に配置されてよく、または複数のネットワークユニット上に分散されてよい。ユニットのいくつか、またはすべては、実際の必要性により選択されて、本発明の実施形態のソリューションの目的を実現してよい。 Units described as separate parts may or may not be physically separate, and the parts designated as units may or may not be physical units. It may be located in a location or distributed over multiple network units. Some or all of the units may be selected according to the actual needs to achieve the object of the solution of the embodiments of the present invention.

加えて、本発明の実施形態における機能ユニットは、一体化されて1つの処理ユニットにされてよく、またはユニットの各々が物理的に単独で存在してよく、または2つ以上のユニットが一体化されて1つのユニットにされる。一体化されたユニットは、ハードウェアの形態で実装されてよく、またはソフトウェア機能ユニットの形態で実装されてよい。 In addition, the functional units in the embodiments of the present invention may be integrated into a single processing unit, or each of the units may be physically independent, or two or more units may be integrated. It is made into one unit. The integrated unit may be implemented in the form of hardware or in the form of a software functional unit.

一体化されたユニットがソフトウェア機能ユニットの形態で実装され、かつ独立した製品として販売される、もしくは使用されるとき、一体化されたユニットは、コンピュータ可読記憶媒体に記憶されてよい。そのような理解に基づいて、本発明の技術的ソリューションは基本的に、または従来技術に寄与する部分が、または技術的ソリューションのすべて、もしくはいくつかが、ソフトウェア製品の形態で実装されてよい。コンピュータソフトウェア製品は、記憶媒体に記憶され、かつ本発明の実施形態において説明される方法のステップのすべて、またはいくつかを遂行するようコンピュータデバイス(パーソナルコンピュータ、サーバ、ネットワークデバイス、もしくは類似したものであってよい)に命令するためのいくつかの命令を含む。前述の記憶媒体は、USBフラッシュドライブ、取外し可能なハードディスク、読取り専用メモリ(Read−Only Memory、ROM)、ランダムアクセスメモリ(Random Access Memory、RAM)、磁気ディスク、または光ディスクなどの、プログラムコードを記憶することができるいずれかの媒体を含む。 When the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, the integrated unit may be stored on a computer-readable storage medium. Based on such an understanding, the technical solution of the present invention may be implemented in the form of a software product, either basically or in part that contributes to the prior art, or in whole or in part. A computer software product is a computer device (personal computer, server, network device, or similar) that is stored on a storage medium and that performs all or some of the steps of the method described in embodiments of the present invention. Includes some instructions to command (may be). The storage medium described above stores program code such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disk, or an optical disk. Includes any medium that can be.

前述の説明は、本発明の特定の実装形態に過ぎないが、本発明の保護範囲を限定することは意図していない。本発明において開示される技術範囲内で当業者によって直ちに考え出されるいずれの変形形態または置換形態も、本発明の保護範囲に入るものとする。したがって、本発明の保護範囲は、特許請求の範囲の保護範囲の対象であるものとする。 Although the above description is merely a specific implementation of the invention, it is not intended to limit the scope of protection of the invention. Any modification or substitution form immediately conceived by one of ordinary skill in the art within the technical scope disclosed in the present invention shall fall within the scope of protection of the present invention. Therefore, the scope of protection of the present invention shall be the subject of the scope of protection of the claims.

Claims (20)

プロセッサと、メモリとを備える端末デバイスであって、
前記メモリは、第1のアプリケーションプログラムを記憶するように構成され、かつ
前記プロセッサは、
測位情報を受信すること、および
前記第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ前記第1のアプリケーションプログラムが現在、背景において実行している場合、前記測位情報を破棄することを行うように構成される、端末デバイス。
A terminal device that has a processor and memory.
The memory is configured to store a first application program, and the processor
Receiving the positioning information, and discarding the positioning information when the first application program is in a positioning service restricted state and the first application program is currently running in the background. A terminal device that is configured to do.
前記端末デバイスは、前記端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに備え、
前記プロセッサが測位情報を受信するように構成されることは、前記プロセッサが、前記第1のアプリケーションプログラムによって送られた測位要求を受信するように構成されることを備え、かつ
前記プロセッサが前記測位情報を破棄するように構成されることは、前記プロセッサが前記測位チップに前記測位要求を送ることを禁止するように構成されることを備える請求項1に記載の端末デバイス。
The terminal device further comprises a positioning chip configured to acquire positioning data external to the terminal device.
The processor being configured to receive positioning information comprises configuring the processor to receive a positioning request sent by the first application program, and the processor being configured to receive the positioning. The terminal device according to claim 1, wherein being configured to discard information is configured to prohibit the processor from sending the positioning request to the positioning chip.
前記端末デバイスは、前記端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに備え、
前記プロセッサが測位情報を受信するように構成されることは、前記プロセッサが、前記測位チップによって送られる前記端末デバイスの現在の測位データを受信するように構成されることを備え、かつ
前記プロセッサが前記測位情報を破棄するように構成されることは、前記プロセッサが前記第1のアプリケーションプログラムに前記端末デバイスの前記現在の測位データを送ることを禁止するように構成されることを備える請求項1に記載の端末デバイス。
The terminal device further comprises a positioning chip configured to acquire positioning data external to the terminal device.
The processor being configured to receive positioning information comprises configuring the processor to receive the current positioning data of the terminal device sent by the positioning chip, and the processor is configured to receive the current positioning data of the terminal device. Claim 1 comprising discarding the positioning information is configured to prohibit the processor from sending the current positioning data of the terminal device to the first application program. The terminal device described in.
前記第1のアプリケーションプログラムが前記測位サービス制限された状態にあるかどうかは、ユーザによって設定される、または前記第1のアプリケーションプログラムが前記測位サービス制限された状態にあるかどうかは、前記端末デバイスのデフォルトの設定である請求項1乃至3のいずれか一項に記載の端末デバイス。 Whether or not the first application program is in the positioning service restricted state is set by the user, and whether or not the first application program is in the positioning service restricted state is determined by the terminal device. The terminal device according to any one of claims 1 to 3, which is the default setting of the above. 前記プロセッサは、前記測位情報を破棄することの前に、測位サービス凍結されたリストが前記第1のアプリケーションプログラムを備えるかどうかを決定することであって、前記測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ背景において実行している少なくとも1つのアプリケーションプログラムを備えることを行うようにさらに構成され、かつ
前記プロセッサが、前記第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ前記第1のアプリケーションプログラムが現在、前記背景において実行している場合、前記測位情報を破棄するように構成されることは、
前記プロセッサが、前記測位サービス凍結されたリストが前記第1のアプリケーションプログラムを備える場合、前記測位情報を破棄するように構成されることを備える請求項1乃至4のいずれか一項に記載の端末デバイス。
The processor determines whether the positioning service frozen list comprises the first application program before discarding the positioning information, the positioning service frozen list is positioning. The processor is further configured to include at least one application program that is in a service-restricted state and is running in the background, and the processor is in a positioning service-restricted state of the first application program. If there is and the first application program is currently running in the background, it is configured to discard the positioning information.
The terminal according to any one of claims 1 to 4, wherein the processor is configured to discard the positioning information when the positioning service frozen list includes the first application program. device.
前記プロセッサは、
前記第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、前記測位サービス凍結されたリストから前記第1のアプリケーションプログラムを削除するようにさらに構成される請求項5に記載の端末デバイス。
The processor
The terminal device according to claim 5, further configured to remove the first application program from the positioning service frozen list when the first application program changes from background execution to foreground execution.
プロセッサと、ディスプレイと、動きセンサとを備える端末デバイスであって、
前記動きセンサは、端末デバイスの動きデータを獲得するように構成され、
前記プロセッサは、
前記動きセンサによって獲得された動きデータによって、前記端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定するように構成され、かつ
前記プロセッサは、
測位情報を受信すること、および
端末デバイスが、以下の条件、すなわち、前記ディスプレイが画面オフ状態にある、端末デバイスの前記動きステータスが前記静止状態である、または前記ディスプレイが画面オフ状態にあり、かつ端末デバイスの前記動きステータスが前記静止状態であるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄することを行うようにさらに構成される端末デバイス。
A terminal device that includes a processor, a display, and a motion sensor.
The motion sensor is configured to acquire motion data of the terminal device.
The processor
The motion data acquired by the motion sensor is configured to determine whether the motion status of the terminal device is in motion or stationary, and the processor.
Receiving positioning information and the terminal device has the following conditions: the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state. A terminal device further configured to discard the positioning information when the motion status of the terminal device currently satisfies any one of the stationary states.
前記端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリと、前記端末デバイスの外部の測位データを獲得するように構成された測位チップとをさらに備え、
前記プロセッサが測位情報を受信するように構成されることは、前記プロセッサが、前記第1のアプリケーションプログラムによって送られた測位要求を受信するように構成されることを備え、かつ
前記プロセッサが前記測位情報を破棄するように構成されることは、前記プロセッサが前記測位チップに前記測位要求を送ることを禁止するように構成されることを備える請求項7に記載の端末デバイス。
The terminal device further comprises a memory configured to store the first application program and a positioning chip configured to acquire positioning data external to the terminal device.
The processor being configured to receive positioning information comprises configuring the processor to receive a positioning request sent by the first application program, and the processor being configured to receive the positioning. The terminal device according to claim 7, wherein being configured to discard information is configured to prohibit the processor from sending the positioning request to the positioning chip.
前記端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリと、前記端末デバイスの外部の測位データを獲得するように構成された測位チップとをさらに備え、
前記プロセッサが測位情報を受信するように構成されることは、前記プロセッサが、前記測位チップによって送られる前記端末デバイスの現在の測位データを受信するように構成されることを備え、かつ
前記プロセッサが前記測位情報を破棄するように構成されることは、前記プロセッサが前記第1のアプリケーションプログラムに前記端末デバイスの前記現在の測位データを送ることを禁止するように構成されることを備える請求項7に記載の端末デバイス。
The terminal device further comprises a memory configured to store the first application program and a positioning chip configured to acquire positioning data external to the terminal device.
The processor being configured to receive positioning information comprises configuring the processor to receive the current positioning data of the terminal device sent by the positioning chip, and the processor is configured to receive the current positioning data of the terminal device. 7. The configuration for discarding the positioning information includes the configuration for prohibiting the processor from sending the current positioning data of the terminal device to the first application program. The terminal device described in.
前記プロセッサが、前記端末デバイスが、以下の条件、すなわち、前記ディスプレイが画面オフ状態にある、前記端末デバイスの前記動きステータスが前記静止状態である、または前記ディスプレイが画面オフ状態にあり、かつ前記端末デバイスの前記動きステータスが前記静止状態であるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄するように構成されることは、
前記プロセッサが、前記端末デバイスが、以下の条件、すなわち、前記ディスプレイが前記画面オフ状態にある持続時間が第1の閾値に達する、前記端末デバイスが前記静止状態にある持続時間が第2の閾値に達する、または前記ディスプレイが前記画面オフ状態にある持続時間が第3の閾値に達し、かつ前記端末デバイスの現在の動作が、前記静止状態にあるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄するよう構成されることを備える請求項7乃至9のいずれか一項に記載の端末デバイス。
The processor has the following conditions: the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state, and the display is in the screen off state. If the movement status of the terminal device currently satisfies any one of the stationary states, the positioning information is configured to be discarded.
The processor reaches the first threshold for the duration of the terminal device in the screen-off state, that is, the duration of the terminal device in the quiescent state for the second threshold. When the duration of the display being in the screen off state reaches a third threshold and the current operation of the terminal device currently satisfies any one of the stationary states. The terminal device according to any one of claims 7 to 9, further comprising discarding the positioning information.
端末デバイスに適用される測位情報処理方法であって、
前記端末デバイスは、プロセッサと、第1のアプリケーションプログラムを記憶するように構成されたメモリとを備え、かつ方法は、
前記プロセッサによる、測位情報を受信するステップと、
前記プロセッサによる、前記第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ前記第1のアプリケーションプログラムが現在、背景において実行している場合、前記測位情報を破棄するステップと
を備える測位情報処理方法。
A positioning information processing method applied to terminal devices.
The terminal device comprises a processor and a memory configured to store a first application program, and the method is:
The step of receiving positioning information by the processor and
Positioning information including a step of discarding the positioning information when the first application program by the processor is in a positioning service restricted state and the first application program is currently running in the background. Processing method.
前記端末デバイスは、前記端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに備え、
前記プロセッサによる、測位情報を受信する前記ステップは、前記プロセッサによる、前記第1のアプリケーションプログラムによって送られた測位要求を受信するステップを備え、かつ
前記プロセッサによる、前記測位情報を破棄する前記ステップは、前記プロセッサによる、前記測位チップに前記測位要求を送ることを禁止するステップを備える請求項11に記載の方法。
The terminal device further comprises a positioning chip configured to acquire positioning data external to the terminal device.
The step of receiving the positioning information by the processor comprises a step of receiving the positioning request sent by the first application program by the processor, and the step of discarding the positioning information by the processor is The method according to claim 11, further comprising a step of prohibiting the processor from sending the positioning request to the positioning chip.
前記端末デバイスは、前記端末デバイスの外部の測位データを獲得するように構成された測位チップをさらに備え、
前記プロセッサによる、測位情報を受信する前記ステップは、前記プロセッサによる、前記測位チップによって送られる前記端末デバイスの現在の測位データを受信するステップを備え、かつ
前記プロセッサによる、前記測位情報を破棄する前記ステップは、前記プロセッサによる、前記第1のアプリケーションプログラムに前記端末デバイスの前記現在の測位データを送ることを禁止するステップを備える請求項11に記載の方法。
The terminal device further comprises a positioning chip configured to acquire positioning data external to the terminal device.
The step of receiving the positioning information by the processor includes a step of receiving the current positioning data of the terminal device sent by the positioning chip by the processor, and discards the positioning information by the processor. 11. The method of claim 11, wherein the step comprises a step prohibiting the processor from sending the current positioning data of the terminal device to the first application program.
前記第1のアプリケーションプログラムが前記測位サービス制限された状態にあるかどうかは、ユーザによって事前設定される、または前記端末デバイスのデフォルトの設定である請求項11乃至13のいずれか一項に記載の方法。 It is described in any one of claims 11 to 13, which is preset by the user or is the default setting of the terminal device whether or not the first application program is in the positioning service restricted state. Method. 前記プロセッサによる、前記測位情報を破棄する前記ステップの前に、
前記プロセッサによる、測位サービス凍結されたリストが前記第1のアプリケーションプログラムを備えるかどうかを決定するステップであって、前記測位サービス凍結されたリストは、測位サービス制限された状態にあり、かつ前記背景において実行している少なくとも1つのアプリケーションプログラムを備えるステップをさらに備え、
前記プロセッサによる、前記第1のアプリケーションプログラムが測位サービス制限された状態にあり、かつ前記第1のアプリケーションプログラムが現在、前記背景において実行している場合、前記測位情報を破棄する前記ステップは、
前記プロセッサによる、前記測位サービス凍結されたリストが前記第1のアプリケーションプログラムを備える場合、前記測位情報を破棄するステップを備える請求項11乃至14のいずれか一項に記載の方法。
Prior to the step of discarding the positioning information by the processor,
A step of determining whether a positioning service frozen list by the processor comprises the first application program, wherein the positioning service frozen list is in a positioning service restricted state and said background. Further provided with steps to include at least one application program running in
If the first application program by the processor is in a positioning service restricted state and the first application program is currently running in the background, the step of discarding the positioning information is
The method according to any one of claims 11 to 14, further comprising a step of discarding the positioning information when the positioning service frozen list by the processor comprises the first application program.
前記プロセッサによる、前記第1のアプリケーションプログラムが背景実行から前景実行に変化した場合、前記測位サービス凍結されたリストから前記第1のアプリケーションプログラムを削除するステップをさらに備える請求項15に記載の方法。 15. The method of claim 15, further comprising a step of removing the first application program from the positioning service frozen list when the first application program by the processor changes from background execution to foreground execution. 端末デバイスに適用される測位情報処理方法であって、
前記端末デバイスは、プロセッサと、ディスプレイと、動きセンサとを備え、かつ方法は、
前記プロセッサによる、測位情報を受信するステップと、
前記プロセッサによる、前記動きセンサによって獲得された動きデータにより前記端末デバイスの動きステータスが動いている状態であるか、または静止状態であるかを決定するステップと、
前記プロセッサによる、前記端末デバイスが、以下の条件、すなわち、前記ディスプレイが画面オフ状態にある、前記端末デバイスの前記動きステータスが前記静止状態である、または前記ディスプレイが画面オフ状態にあり、かつ前記端末デバイスの前記動きステータスが前記静止状態であるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄するステップとを備える方法。
A positioning information processing method applied to terminal devices.
The terminal device comprises a processor, a display, a motion sensor, and methods.
The step of receiving positioning information by the processor and
A step of determining whether the motion status of the terminal device is in a moving state or a stationary state based on the motion data acquired by the motion sensor by the processor.
According to the processor, the terminal device has the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state, and the display is in the screen off state. A method comprising a step of discarding the positioning information when the movement status of the terminal device currently satisfies any one of the stationary states.
前記端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリと、前記端末デバイスの外部の測位データを獲得するように構成された測位チップとをさらに備え、
前記プロセッサによる、測位情報を受信する前記ステップは、前記プロセッサによる、前記第1のアプリケーションプログラムによって送られた測位要求を受信するステップを備え、かつ
前記プロセッサによる、前記測位情報を破棄する前記ステップは、前記プロセッサによる、前記測位チップに前記測位要求を送ることを禁止するステップを備える請求項17に記載の方法。
The terminal device further comprises a memory configured to store the first application program and a positioning chip configured to acquire positioning data external to the terminal device.
The step of receiving the positioning information by the processor comprises a step of receiving the positioning request sent by the first application program by the processor, and the step of discarding the positioning information by the processor is The method according to claim 17, further comprising a step of prohibiting the processor from sending the positioning request to the positioning chip.
前記端末デバイスは、第1のアプリケーションプログラムを記憶するように構成されたメモリと、端末デバイスの外部の測位データを獲得するように構成された測位チップとをさらに備え、
前記プロセッサによる、測位情報を受信する前記ステップは、前記プロセッサによる、前記測位チップによって送られる前記端末デバイスの現在の測位データを受信するステップを備え、かつ
前記プロセッサによる、前記測位情報を破棄する前記ステップは、前記プロセッサによる、前記第1のアプリケーションプログラムに前記端末デバイスの前記現在の測位データを送ることを禁止するステップを備える請求項17に記載の方法。
The terminal device further comprises a memory configured to store a first application program and a positioning chip configured to acquire positioning data external to the terminal device.
The step of receiving the positioning information by the processor includes a step of receiving the current positioning data of the terminal device sent by the positioning chip by the processor, and discards the positioning information by the processor. 17. The method of claim 17, wherein the step comprises prohibiting the processor from sending the current positioning data of the terminal device to the first application program.
前記プロセッサによる、前記端末デバイスが、以下の条件、すなわち、前記ディスプレイが画面オフ状態にある、前記端末デバイスの前記動きステータスが前記静止状態である、または前記ディスプレイが画面オフ状態にあり、かつ前記端末デバイスの前記動きステータスが前記静止状態であるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄する前記ステップは、
前記プロセッサによる、前記端末デバイスが、以下の条件、すなわち、前記ディスプレイが前記画面オフ状態にある持続時間が第1の閾値に達する、前記端末デバイスが前記静止状態にある持続時間が第2の閾値に達する、または前記ディスプレイが前記画面オフ状態にある持続時間が第3の閾値に達し、かつ前記端末デバイスの現在の動きステータスが、前記静止状態にあるうちのいずれか1つを現在、満たす場合、前記測位情報を破棄するステップを備える請求項17乃至19のいずれか一項に記載の方法。
According to the processor, the terminal device has the following conditions, that is, the display is in the screen off state, the movement status of the terminal device is in the stationary state, or the display is in the screen off state, and the display is in the screen off state. If the motion status of the terminal device currently satisfies any one of the stationary states, the step of discarding the positioning information is
According to the processor, the terminal device has the following conditions, that is, the duration of the display in the screen off state reaches the first threshold, and the duration of the terminal device in the stationary state reaches the second threshold. Is reached, or the duration of the display being in the screen off state reaches a third threshold, and the current motion status of the terminal device currently satisfies any one of the stationary states. The method according to any one of claims 17 to 19, further comprising a step of discarding the positioning information.
JP2020188646A 2016-03-18 2020-11-12 Terminal device and positioning information processing method applied to the terminal device Active JP7389734B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2020188646A JP7389734B2 (en) 2016-03-18 2020-11-12 Terminal device and positioning information processing method applied to the terminal device

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2018548858A JP6795610B2 (en) 2016-03-18 2016-03-18 Terminal devices and positioning information processing methods applied to terminal devices
JP2020188646A JP7389734B2 (en) 2016-03-18 2020-11-12 Terminal device and positioning information processing method applied to the terminal device

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2018548858A Division JP6795610B2 (en) 2016-03-18 2016-03-18 Terminal devices and positioning information processing methods applied to terminal devices

Publications (3)

Publication Number Publication Date
JP2021048593A true JP2021048593A (en) 2021-03-25
JP2021048593A5 JP2021048593A5 (en) 2021-05-06
JP7389734B2 JP7389734B2 (en) 2023-11-30

Family

ID=74876686

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2020188646A Active JP7389734B2 (en) 2016-03-18 2020-11-12 Terminal device and positioning information processing method applied to the terminal device

Country Status (1)

Country Link
JP (1) JP7389734B2 (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013206173A (en) * 2012-03-28 2013-10-07 Fujitsu Ltd Information processor, control method and control program
US20150350823A1 (en) * 2014-05-31 2015-12-03 Apple Inc. Location service authorization and indication

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2013206173A (en) * 2012-03-28 2013-10-07 Fujitsu Ltd Information processor, control method and control program
US20150350823A1 (en) * 2014-05-31 2015-12-03 Apple Inc. Location service authorization and indication

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
ジジアルスキー ジョナサン: ""8章 位置情報の取得 −Core Location"", IPHONE SDK アプリケーション開発ガイド, vol. 第1版, JPN6020009755, 2 September 2009 (2009-09-02), pages 209, ISSN: 0004834521 *

Also Published As

Publication number Publication date
JP7389734B2 (en) 2023-11-30

Similar Documents

Publication Publication Date Title
US11337157B2 (en) Terminal device and positioning information processing method applied to terminal device
EP2882234B1 (en) Method, apparatus, equipment and system for controlling turn-on and turn-off of wireless network
US11138041B2 (en) Method for automatically releasing resource occupied by process in background of terminal, storage medium and terminal
WO2018098694A1 (en) Network search method and terminal device
US9788275B2 (en) Method for reducing current consumption and electronic device thereof
US10963308B2 (en) Method for controlling fingerprint processing resources, terminal, and computer-readable storage medium
CN112703714A (en) Application program processing method and device, computer equipment and computer readable storage medium
CN104133728A (en) Method and device for communication between processes
US20200196178A1 (en) Measurement reporting control method and related product
US20180365050A1 (en) Method for Controlling Process and Related Device
CN103713943A (en) Native terminal operating system based application function realization method and device
CN110018886B (en) Application state switching method and device, electronic equipment and readable storage medium
US10038987B2 (en) Reminders according to used/connected/nearby device capability
CN106454953B (en) Flow control method, device and terminal
CN109375995B (en) Application freezing method and device, storage medium and electronic equipment
JP2021048593A (en) Terminal device and positioning information processing method applied to terminal device
CN112261634B (en) Bluetooth transmission control method and device, terminal equipment and storage medium
KR102244040B1 (en) Method and apparatus for reducing current consumption in electronic device
CN110913022A (en) Method, device and system for downloading network file of mobile terminal and storage medium
US20230180181A1 (en) Paging cycle adjusting method, storage medium, and electronic terminal
CN114222340B (en) Network switching method and device and mobile terminal
CN111638897B (en) System updating method, device, terminal equipment and storage medium
CN109992377B (en) Information processing method, information processing device, computer equipment and computer readable storage medium
CN109992401B (en) Information processing method and device, mobile terminal and computer readable storage medium
CN111459951A (en) Method and device for supporting cluster through timing task

Legal Events

Date Code Title Description
A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20201116

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20201116

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20210225

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20211228

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20220111

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20220318

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20220726

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20221028

C60 Trial request (containing other claim documents, opposition documents)

Free format text: JAPANESE INTERMEDIATE CODE: C60

Effective date: 20221028

A911 Transfer to examiner for re-examination before appeal (zenchi)

Free format text: JAPANESE INTERMEDIATE CODE: A911

Effective date: 20221108

C21 Notice of transfer of a case for reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C21

Effective date: 20221115

A912 Re-examination (zenchi) completed and case transferred to appeal board

Free format text: JAPANESE INTERMEDIATE CODE: A912

Effective date: 20230113

C211 Notice of termination of reconsideration by examiners before appeal proceedings

Free format text: JAPANESE INTERMEDIATE CODE: C211

Effective date: 20230117

C22 Notice of designation (change) of administrative judge

Free format text: JAPANESE INTERMEDIATE CODE: C22

Effective date: 20230328

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20230731

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20231117

R150 Certificate of patent or registration of utility model

Ref document number: 7389734

Country of ref document: JP

Free format text: JAPANESE INTERMEDIATE CODE: R150