WO2024113840A1 - Terminal positioning method and apparatus, electronic device, and storage medium - Google Patents

Terminal positioning method and apparatus, electronic device, and storage medium Download PDF

Info

Publication number
WO2024113840A1
WO2024113840A1 PCT/CN2023/104122 CN2023104122W WO2024113840A1 WO 2024113840 A1 WO2024113840 A1 WO 2024113840A1 CN 2023104122 W CN2023104122 W CN 2023104122W WO 2024113840 A1 WO2024113840 A1 WO 2024113840A1
Authority
WO
WIPO (PCT)
Prior art keywords
lte communication
communication process
wifi scanning
time slot
scanning process
Prior art date
Application number
PCT/CN2023/104122
Other languages
French (fr)
Chinese (zh)
Inventor
杨运生
何飞
Original Assignee
芯翼信息科技(上海)有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 芯翼信息科技(上海)有限公司 filed Critical 芯翼信息科技(上海)有限公司
Publication of WO2024113840A1 publication Critical patent/WO2024113840A1/en

Links

Abstract

The present application relates to the technical field of communications. Disclosed are a terminal positioning method and apparatus, an electronic device and a storage medium. In a terminal, LTE communication and WiFi scanning processes are performed by means of the same radio frequency module. The method comprises: scheduling to peform a WiFi scanning process during the idle time slot that an LTE communication process does not occupy a radio frequency module, and stopping the WiFi scanning process when the LTE communication process needs to use the radio frequency module, the idle time slot comprising one or any combination of the following: a measurement interval time slot during an LTE communication process in a connection state, the time left after system information scheduling is completed in advance in each preset system information reception window, and the time left after the LTE communication process is completed in each discontinuous reception (DRX) period when performing the LTE communication process under the DRX mechanism; and positioning a terminal according to the WIFI scanning process result.

Description

一种终端定位方法、装置、电子设备和存储介质Terminal positioning method, device, electronic device and storage medium
相关申请的交叉引用CROSS-REFERENCE TO RELATED APPLICATIONS
本申请基于申请号为“CN202211523440.6”、申请日为2022年12月1日的中国专利申请提出,并要求上述中国专利申请的优先权,上述中国专利申请的全部内容在此以引入方式并入本申请。This application is based on the Chinese patent application with application number "CN202211523440.6" and application date of December 1, 2022, and claims the priority of the above-mentioned Chinese patent application. The entire contents of the above-mentioned Chinese patent application are hereby incorporated into this application by introduction.
技术领域Technical Field
本申请实施例涉及通信技术领域,尤其是涉及一种终端定位方法、装置、电子设备和存储介质。The embodiments of the present application relate to the field of communication technology, and in particular, to a terminal positioning method, device, electronic device and storage medium.
背景技术Background technique
现有的很多移动终端采用WIFI芯片实现终端的定位。同时,现有的移动终端已经实现了广泛支持长期演进技术(Long Term Evolution,简称“LTE”)或更高阶通信模式。LTE的某些频段和WIFI频段是相邻的,这为移动终端通过支持LTE的射频模块来收发WIFI频段的信号提供了硬件上的便利。LTE通信和WIFI定位功能公用射频模块的方式,相比为二者在移动终端中各自部署射频模块的方式,大大节省了成本。Many existing mobile terminals use WIFI chips to achieve terminal positioning. At the same time, existing mobile terminals have already widely supported Long Term Evolution (LTE) or higher-order communication modes. Some LTE frequency bands are adjacent to WIFI frequency bands, which provides hardware convenience for mobile terminals to send and receive signals in the WIFI frequency band through RF modules that support LTE. The way that LTE communication and WIFI positioning functions share RF modules greatly saves costs compared to the way that RF modules are deployed separately in mobile terminals.
然而这种LTE通信和WIFI定位功能公用射频模块的方式,需要LTE通信功能和WIFI定位功能分别提前申请使用射频资源的时间。这种提前申请的方式较为复杂,且可能会导致申请的时间长于实际所需造成射频资源浪费。此外,WIFI定位功能可能长时间无法获取射频资源用以进行终端定位。However, this method of using a common radio frequency module for LTE communication and WIFI positioning functions requires the LTE communication function and the WIFI positioning function to apply for the use of radio frequency resources in advance. This advance application method is more complicated and may cause the application time to be longer than the actual requirement, resulting in a waste of radio frequency resources. In addition, the WIFI positioning function may not be able to obtain radio frequency resources for terminal positioning for a long time.
发明内容Summary of the invention
本申请的实施例提供了一种终端的定位方法,所述终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行,所述方法包括:在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行;所述WIFI扫描进程在所述LTE通信进程需要使用所述射频模块时停止;其中,所述空闲时隙包括以下之一或其任意组合:在连接状态下所述LTE通信进程中的测量间隔时隙;在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成所述系统信息调度步骤剩余的时间;若所述LTE通信进程在非连续接收(Discontinuous Reception,简称“DRX”)机制下进行,每个非连续接收周期中所述LTE通信进程完成后剩余的时间;根据所述WIFI扫描进程的结果确定所述终端的位置。An embodiment of the present application provides a terminal positioning method, in which an LTE communication process and a WIFI scanning process are performed through the same radio frequency module, and the method comprises: scheduling the WIFI scanning process to be performed when the LTE communication process does not occupy an idle time slot of the radio frequency module; stopping the WIFI scanning process when the LTE communication process needs to use the radio frequency module; wherein the idle time slot comprises one of the following or any combination thereof: a measurement interval time slot in the LTE communication process in a connected state; when performing a system information scheduling step in the LTE communication process, the remaining time for completing the system information scheduling step in advance within each preset system information receiving window; if the LTE communication process is performed under a discontinuous reception (DRX) mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle; determining the position of the terminal according to the result of the WIFI scanning process.
本申请的实施例还提供了一种终端的定位装置,所述终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行,所述装置包括:资源调度模块,用于在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行;所述WIFI扫描进程在所述LTE 通信进程需要使用所述射频模块时停止;其中,所述空闲时隙包括以下之一或其任意组合:在连接状态下所述LTE通信进程中的测量间隔时隙;在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成所述系统信息调度步骤剩余的时间;若所述LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中所述LTE通信进程完成后剩余的时间;位置确定模块,用于根据所述WIFI扫描进程的结果确定所述终端的位置。The embodiment of the present application also provides a terminal positioning device, in which the LTE communication process and the WIFI scanning process in the terminal are performed through the same radio frequency module, and the device includes: a resource scheduling module, which is used to schedule the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the radio frequency module; the WIFI scanning process is performed in the LTE The communication process stops when it needs to use the RF module; wherein the idle time slot includes one of the following or any combination thereof: a measurement interval time slot in the LTE communication process in a connected state; when performing the system information scheduling step in the LTE communication process, the remaining time for completing the system information scheduling step in advance within each preset system information receiving window; if the LTE communication process is performed under a discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle; a location determination module, used to determine the location of the terminal according to the result of the WIFI scanning process.
本申请的实施例还提供了一种电子设备,包括:至少一个处理器;以及,与所述至少一个处理器通信连接的存储器;其中,存储器存储有可被至少一个处理器执行的指令,指令被至少一个处理器执行,以使至少一个处理器能够执行上述的终端的定位方法。An embodiment of the present application also provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the above-mentioned terminal positioning method.
本申请的实施例还提供了一种存储有计算机程序的计算机可读存储介质,计算机程序被处理器执行时实现上述的终端的定位方法。An embodiment of the present application further provides a computer-readable storage medium storing a computer program, and when the computer program is executed by a processor, the above-mentioned terminal positioning method is implemented.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
一个或多个实施例通过与之对应的附图中的图片进行示例性说明,这些示例性说明并不构成对实施例的限定,附图中具有相同参考数字标号的元件表示为类似的元件,除非有特别申明,附图中的图不构成比例限制。One or more embodiments are exemplarily described by pictures in the corresponding drawings, and these exemplified descriptions do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings represent similar elements, and unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
图1是根据本申请一实施例中的终端的定位方法流程示意图;FIG1 is a schematic diagram of a method for positioning a terminal according to an embodiment of the present application;
图2是根据本申请一实施例中的调度WIFI扫描进程在空闲时隙进行的时间轴示意图;FIG2 is a schematic diagram of a timeline of a scheduled WIFI scanning process in an idle time slot according to an embodiment of the present application;
图3是根据本申请另一实施例中的调度WIFI扫描进程在空闲时隙进行的时间轴示意图;FIG3 is a schematic diagram of a timeline of a scheduled WIFI scanning process in an idle time slot according to another embodiment of the present application;
图4是根据本申请又一实施例中的调度WIFI扫描进程在空闲时隙进行的时间轴示意图;FIG4 is a schematic diagram of a timeline of a scheduling WIFI scanning process in an idle time slot according to another embodiment of the present application;
图5是根据本申请一实施例中的涉及搜网进程的时间轴示意图;FIG5 is a schematic diagram of a timeline of a network search process according to an embodiment of the present application;
图6是根据本申请一实施例中的在LTE进程中增加间隔时隙用于WIFI扫描进程的时间轴示意图;FIG6 is a schematic diagram of a timeline for adding an interval time slot in an LTE process for a WIFI scanning process according to an embodiment of the present application;
图7是根据本申请一实施例中的调度WIFI扫描进程在LTE进程的预设上行时隙进行的时间轴示意图;FIG7 is a schematic diagram of a timeline of a scheduled WIFI scanning process in a preset uplink time slot of an LTE process according to an embodiment of the present application;
图8是根据本申请一实施例中的终端的定位装置的结构示意图;FIG8 is a schematic structural diagram of a positioning device for a terminal according to an embodiment of the present application;
图9是根据本申请另一实施例中的电子设备的结构示意图。FIG. 9 is a schematic structural diagram of an electronic device according to another embodiment of the present application.
具体实施方式Detailed ways
本申请实施例的目的在于提供一种终端定位方法、装置、电子设备和存储介质,用以使得射频资源能够被更有效地使用、避免射频资源的浪费,同时最大程度确保WIFI扫描进程能够获取射频资源用于对终端进行定位。The purpose of the embodiments of the present application is to provide a terminal positioning method, device, electronic device and storage medium, so as to enable radio frequency resources to be used more efficiently and avoid waste of radio frequency resources, while ensuring to the greatest extent that the WIFI scanning process can obtain radio frequency resources for positioning the terminal.
为使本申请实施例的目的、技术方案和优点更加清楚,下面将结合附图对本申请的各实施例进行详细的阐述。然而,本领域的普通技术人员可以理解,在本申请各实施例中,为 了使读者更好地理解本申请而提出了许多技术细节。但是,即使没有这些技术细节和基于以下各实施例的种种变化和修改,也可以实现本申请所要求保护的技术方案。In order to make the purpose, technical solutions and advantages of the embodiments of the present application clearer, the embodiments of the present application will be described in detail below with reference to the accompanying drawings. However, it can be understood by those skilled in the art that in the present application, Many technical details are provided to help readers better understand the present application. However, even without these technical details and various changes and modifications based on the following embodiments, the technical solution claimed in the present application can be implemented.
本申请的一实施例涉及一种终端的定位方法。An embodiment of the present application relates to a terminal positioning method.
在本实施例中,终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行,所述方法包括:在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行;WIFI扫描进程在LTE通信进程需要使用射频模块时停止;其中,空闲时隙包括以下之一或其任意组合:在连接状态下LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间;根据WIFI扫描进程的结果确定终端的位置。In this embodiment, the LTE communication process and the WIFI scanning process in the terminal are performed through the same radio frequency module, and the method includes: scheduling the WIFI scanning process to be performed in the idle time slot of the radio frequency module not occupied by the LTE communication process; the WIFI scanning process is stopped when the LTE communication process needs to use the radio frequency module; wherein the idle time slot includes one of the following or any combination thereof: the measurement interval time slot in the LTE communication process in the connected state; when performing the system information scheduling step in the LTE communication process, the remaining time of completing the system information scheduling step in advance in each preset system information receiving window; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle; and determining the location of the terminal according to the result of the WIFI scanning process.
本实施例中,终端中的LTE通信进程和WIFI扫描进程通过同一射频模块进行。相比为LTE通信进程和WIFI扫描进程分别部署射频模块的方案,能够有效降低成本和功耗。在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,能够避免LTE通信进程和WIFI扫描进程的冲突。此外,相比传统的WIFI扫描进程和LTE通信进程均提前申请使用射频资源的资源分配方式可能导致资源浪费或者无法满足进程的资源需求,本申请提供的调度LTE通信进程和WIFI扫描进程分别使用射频资源的方式更为高效,能够使得射频资源被更有效的利用,避免射频资源的浪费。In this embodiment, the LTE communication process and the WIFI scanning process in the terminal are performed through the same radio frequency module. Compared with the solution of deploying radio frequency modules for the LTE communication process and the WIFI scanning process respectively, the cost and power consumption can be effectively reduced. In the idle time slot of the radio frequency module not occupied by the LTE communication process, the WIFI scanning process is scheduled to be performed, which can avoid the conflict between the LTE communication process and the WIFI scanning process. In addition, compared with the resource allocation method in which both the traditional WIFI scanning process and the LTE communication process apply for the use of radio frequency resources in advance, which may cause waste of resources or fail to meet the resource requirements of the process, the method of scheduling the LTE communication process and the WIFI scanning process to use radio frequency resources respectively provided by the present application is more efficient, which can make radio frequency resources more effectively utilized and avoid waste of radio frequency resources.
其中,空闲时隙包括以下之一或其任意组合:在连接状态下所述LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间。将上述时间作为空闲时隙供WIFI扫描进程使用射频资源,能够有效避免射频资源的浪费。此外,本实施例提供的终端定位方法提供了WIFI扫描进程能够获取射频资源的多个空闲时隙,能够最大程度确保WIFI扫描进程能够获取射频资源,避免终端长时间无法进行定位。最终根据WIFI扫描进程的结果能够确定终端的位置,完成终端定位。Among them, the idle time slot includes one of the following or any combination thereof: the measurement interval time slot in the LTE communication process in the connected state; when performing the system information scheduling step in the LTE communication process, the remaining time to complete the system information scheduling step in advance in each preset system information receiving window; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle. Using the above time as an idle time slot for the WIFI scanning process to use radio frequency resources can effectively avoid the waste of radio frequency resources. In addition, the terminal positioning method provided in this embodiment provides a plurality of idle time slots in which the WIFI scanning process can obtain radio frequency resources, which can ensure to the greatest extent that the WIFI scanning process can obtain radio frequency resources and avoid the terminal being unable to be positioned for a long time. Finally, the position of the terminal can be determined according to the result of the WIFI scanning process, and the terminal positioning is completed.
下面对本实施例中的终端的定位方法的实现细节进行具体的说明,以下内容仅为方便理解本方案的实现细节,并非实施本方案的必须。具体流程如图1所示,可包括如下步骤:The following is a detailed description of the implementation details of the terminal positioning method in this embodiment. The following content is only for the convenience of understanding the implementation details of this solution and is not necessary for implementing this solution. The specific process is shown in Figure 1 and may include the following steps:
步骤101,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行;WIFI扫描进程在LTE通信进程需要使用射频模块时停止;其中,空闲时隙包括以下之一或其任意组合:在连接状态下LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调 度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间。Step 101, in the idle time slot of the LTE communication process that does not occupy the radio frequency module, the WIFI scanning process is scheduled to be performed; the WIFI scanning process is stopped when the LTE communication process needs to use the radio frequency module; wherein the idle time slot includes one of the following or any combination thereof: the measurement interval time slot in the LTE communication process in the connected state; the system information time slot in the LTE communication process; When the system information scheduling step is completed, the remaining time of each preset system information receiving window is used to complete the system information scheduling step in advance; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle.
一般来说,LTE在连接模式下且并非运行在DRX机制时,LTE通信进程中的测量间隔时隙用于进行邻区测量的步骤。这种情况下,WIFI扫描无法获取射频资源用以进行定位,因而会拉长定位时间或是导致定位失败。Generally speaking, when LTE is in connected mode and not running in DRX mechanism, the measurement interval time slot in LTE communication process is used for neighbor measurement. In this case, WIFI scanning cannot obtain radio frequency resources for positioning, which will prolong the positioning time or cause positioning failure.
在空闲时隙包括在连接状态下LTE通信进程中的测量间隔时隙的例子中,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,可以具体包括:在测量间隔时隙大于LTE通信进程中的邻区测量步骤所需的最小时间时,利用测量间隔时隙中的最小时间进行邻区测量步骤,并在邻区测量步骤结束时调度WIFI扫描进程在测量间隔时隙中的剩余时间进行。In the example where the idle time slot is included in the measurement interval time slot in the LTE communication process in the connected state, the WIFI scanning process is scheduled to be performed when the LTE communication process does not occupy the idle time slot of the RF module, which may specifically include: when the measurement interval time slot is greater than the minimum time required for the neighboring area measurement step in the LTE communication process, the neighboring area measurement step is performed using the minimum time in the measurement interval time slot, and at the end of the neighboring area measurement step, the WIFI scanning process is scheduled to be performed during the remaining time in the measurement interval time slot.
在LTE通信进程中的测量间隔时隙调度WIFI扫描进程进行的时间轴示意图可以参考图2。可以理解地,图2中示出的时隙均属于LTE通信进程,射频模块在如图2示出的“LTE通信”对应的时隙进行LTE通信进程,在测量间隔时隙(参见图2中示出的“间隔时隙GAP”)调度WIFI扫描进程进行。此外,可以理解地,图2中示出的时隙即为测量间隔时隙出现的周期(参见图2中示出的“测量间隔时隙出现周期”)。The schematic diagram of the timeline for scheduling the WIFI scanning process in the measurement interval time slot in the LTE communication process can refer to Figure 2. It can be understood that the time slots shown in Figure 2 all belong to the LTE communication process, and the RF module performs the LTE communication process in the time slot corresponding to the "LTE communication" shown in Figure 2, and schedules the WIFI scanning process in the measurement interval time slot (see the "interval time slot GAP" shown in Figure 2). In addition, it can be understood that the time slot shown in Figure 2 is the period in which the measurement interval time slot appears (see the "measurement interval time slot occurrence period" shown in Figure 2).
在本例提供的终端定位方法中,若测量间隔时隙能够满足邻区测量的最小需求,则将测量间隔时隙中剩余的时间用以进行WIFI扫描,避免长时间难以进行终端的定位,影响终端定位的时延和精度。In the terminal positioning method provided in this example, if the measurement interval time slot can meet the minimum requirements of neighboring area measurement, the remaining time in the measurement interval time slot will be used for WIFI scanning to avoid long-term difficulty in terminal positioning, which affects the delay and accuracy of terminal positioning.
在进行LTE通信进程中的系统信息调度步骤时,系统信息(systeminformation,简称“SI”)调度步骤可能提前完成,即系统信息可能提前解对,无需占用整个预设系统信息接收窗口的时间。When performing the system information scheduling step in the LTE communication process, the system information (SI) scheduling step may be completed in advance, that is, the system information may be decoded in advance without occupying the entire preset system information receiving window time.
为了释放这段时间内的射频资源,可以将预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间作为空闲时隙调度WIFI扫描进程进行。在预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间调度WIFI扫描进程进行的时间轴示意图可以参考图3。预设系统信息接收窗口(可参考图3中示出的SI窗口)内提前完成系统信息调度步骤剩余的时间可以参考图3中示出的空闲时隙1或空闲时隙2。In order to release the radio frequency resources during this period of time, the remaining time of completing the system information scheduling step in advance within the preset system information receiving window can be used as an idle time slot to schedule the WIFI scanning process. The timeline diagram of scheduling the WIFI scanning process for the remaining time of completing the system information scheduling step in advance within the preset system information receiving window can refer to Figure 3. The remaining time of completing the system information scheduling step in advance within the preset system information receiving window (refer to the SI window shown in Figure 3) can refer to the idle time slot 1 or the idle time slot 2 shown in Figure 3.
在一个系统信息的调度周期是640ms、预设系统信息接收窗口是160ms、加入系统消息的重传次数是16次的例子中,进入预设系统信息接收窗口开始的第一毫秒可能就完成了解对。在本例中,预设系统信息接收窗口中剩余的159ms时间可以调度WIFI扫描进程进行。 In an example where the scheduling period of a system message is 640ms, the preset system message receiving window is 160ms, and the number of retransmissions of the added system message is 16, the first millisecond from the start of the preset system message receiving window may complete the matching. In this example, the remaining 159ms in the preset system message receiving window can be used to schedule the WIFI scanning process.
而传统的相关方案中,在系统信息提前解对的情况下,还需进行取消的步骤以及为WIFI扫描进程申请使用射频资源的时间的步骤。相比这种传统方案,本例能够节约进行上述步骤的时间,避免射频资源的浪费。In the conventional scheme, when the system information is decoded in advance, a cancellation step and a step of applying for time to use radio frequency resources for the WIFI scanning process are required. Compared with the conventional scheme, this example can save time for the above steps and avoid waste of radio frequency resources.
当空闲时隙包括在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间的情况下,为了保证该空闲时隙能够满足WIFI扫描步骤使用射频资源的需求,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,可以具体包括:在系统信息调度步骤提前完成时,检测当前预设系统信息接收窗口内剩余的时间;在剩余的时间大于WIFI扫描进程所需的最小时间的情况下,调度WIFI扫描进程进行。When the idle time slot is included in the system information scheduling step in the LTE communication process, and the remaining time of the system information scheduling step is completed in advance in each preset system information receiving window, in order to ensure that the idle time slot can meet the demand of the WIFI scanning step for using radio frequency resources, the LTE communication process does not occupy the idle time slot of the radio frequency module, and schedules the WIFI scanning process to be performed. It can specifically include: when the system information scheduling step is completed in advance, detecting the remaining time in the current preset system information receiving window; when the remaining time is greater than the minimum time required for the WIFI scanning process, scheduling the WIFI scanning process to be performed.
此外,值得说明的是,若预设系统信息接收周期(可参考图3中示出的SI周期)之间存在提前完成系统信息调度步骤剩余的时间(可参考图3中示出的空闲时隙3),也可将这个时间作为空闲时隙调度WIFI扫描进程的进行,能够使得射频资源得到充分的利用。In addition, it is worth noting that if there is remaining time for completing the system information scheduling step in advance between the preset system information receiving cycle (refer to the SI cycle shown in Figure 3) (refer to the idle time slot 3 shown in Figure 3), this time can also be used as an idle time slot to schedule the WIFI scanning process, so that the radio frequency resources can be fully utilized.
此外,若LTE通信进程在非连续接收DRX机制下进行,空闲时隙为每个非连续接收周期中LTE通信进程完成后剩余的时间的情况可以参考图4。如图4所示,在每个非连续接收DRX周期中射频资源首先用于LTE通信进程进行寻呼以及邻区检测的步骤,剩余的时间可以作为空闲时隙,调度WIFI扫描进程(参见图4中示出的“WIFI扫描1”、“WIFI扫描2”以及“WIFI扫描n”)的进行。In addition, if the LTE communication process is performed under the discontinuous reception DRX mechanism, the idle time slot is the remaining time after the LTE communication process is completed in each discontinuous reception cycle, and reference can be made to Figure 4. As shown in Figure 4, in each discontinuous reception DRX cycle, the radio frequency resources are first used for the LTE communication process to perform paging and neighbor detection, and the remaining time can be used as an idle time slot to schedule the WIFI scanning process (see "WIFI Scan 1", "WIFI Scan 2" and "WIFI Scan n" shown in Figure 4).
在一个例子中,上述在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,还可以通过将LTE通信进程和WIFI扫描进程均添加在调度表中、并为LTE通信进程和WIFI扫描进程分别设置优先级来实现。在本例中,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,可以具体包括:根据LTE通信进程和WIFI扫描进程在调度表中的优先级,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行;其中,LTE通信进程在调度表中的优先级高于WIFI扫描进程。In one example, the above-mentioned scheduling of the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the radio frequency module can also be achieved by adding both the LTE communication process and the WIFI scanning process to the scheduling table and setting priorities for the LTE communication process and the WIFI scanning process respectively. In this example, scheduling the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the radio frequency module can specifically include: scheduling the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the radio frequency module according to the priorities of the LTE communication process and the WIFI scanning process in the scheduling table; wherein the priority of the LTE communication process in the scheduling table is higher than that of the WIFI scanning process.
将LTE通信进程和WIFI扫描进程均添加在调度表中,能够便捷地对上述进程进行灵活地调度,提升调度两个进程的速度。相比两个进程分别申请使用射频资源的方案能够大大节省时间,且能够避免两个进程的冲突。在本例中,WIFI扫描进程可以被理解为LTE通信进程的一个异系统测量。相应地,本例中涉及的调度所述WIFI扫描进程进行可以理解为LTE的异频测量调度。Adding both the LTE communication process and the WIFI scanning process to the scheduling table can conveniently and flexibly schedule the above processes and improve the speed of scheduling the two processes. Compared with the solution of two processes applying for the use of radio frequency resources separately, it can greatly save time and avoid conflicts between the two processes. In this example, the WIFI scanning process can be understood as an inter-system measurement of the LTE communication process. Accordingly, the scheduling of the WIFI scanning process involved in this example can be understood as an inter-frequency measurement scheduling of LTE.
此外,由于一般来说对于终端设备LTE通信进程是更为基础的功能,因此在本例中将LTE通信进程在调度表中的优先级设置为高于WIFI扫描进程。并根据LTE通信进程和WIFI扫描进程在调度表中的优先级,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描 进程进行。能够保证在满足进行LTE通信进程所需的资源的基础上进行WIFI扫描进程,确保更为基础的LTE通信进程的正常进行。In addition, since the LTE communication process is generally a more basic function for the terminal device, in this example, the priority of the LTE communication process in the scheduling table is set higher than the WIFI scanning process. And according to the priorities of the LTE communication process and the WIFI scanning process in the scheduling table, the WIFI scanning process is scheduled when the LTE communication process does not occupy the idle time slot of the RF module. The process is carried out. It can ensure that the WIFI scanning process is carried out on the basis of meeting the resources required for the LTE communication process, ensuring the normal progress of the more basic LTE communication process.
在LTE通信进程暂停运行的时间被预设为进行WIFI扫描进程的情况下,若在进行LTE通信进程时检测到服务小区丢失,则需要另外申请进行搜网进程的时间。由于申请搜网进程需要一定时间,在搜网进程进行时一般可能需要中止正在进行的WIFI扫描进程。并且这种方式需要为搜网进程的进行安排保护间隔,因而会拉长WIFI扫描进程中止的时间,导致时间延迟以及射频资源的浪费。In the case where the time for suspending the LTE communication process is preset to perform the WIFI scanning process, if the service cell is detected to be lost during the LTE communication process, it is necessary to apply for another time for the network search process. Since it takes a certain amount of time to apply for the network search process, it is generally necessary to terminate the ongoing WIFI scanning process while the network search process is in progress. In addition, this method requires arranging a protection interval for the network search process, which will prolong the time for terminating the WIFI scanning process, resulting in time delay and waste of radio frequency resources.
为了解决上述问题,在一个例子中,还可以将搜网进程添加在调度表中,并设置搜网进程在调度表中的优先级高于WIFI扫描进程。在本例中,终端的定位方法还可以包括:在通过LTE通信进程检测到发生服务小区丢失的情况下,调度搜网进程在LTE通信进程停止时进行,并调度WIFI扫描进程在搜网进程完成后进行。本例提供的终端定位方法,若在进行LTE通信进程时检测到发生服务小区丢失,由于搜网进程的优先级高于WIFI扫描进程,因而能够直接调度进行搜网进程,节省WIFI扫描进程等待的时间,避免射频资源的浪费。本例中所述的调度搜网进程在LTE通信进程停止时进行、并调度WIFI扫描进程在搜网进程完成后进行的时间轴示意图可以参考图5。可以理解地,图5中其余标识所表示的含义与图4相同,为减少重复,在此处不再赘述。In order to solve the above problems, in one example, the network search process can also be added to the scheduling table, and the priority of the network search process in the scheduling table can be set higher than the WIFI scanning process. In this example, the terminal positioning method can also include: in the case of detecting that the service cell is lost through the LTE communication process, scheduling the network search process to be performed when the LTE communication process stops, and scheduling the WIFI scanning process to be performed after the network search process is completed. In the terminal positioning method provided in this example, if the service cell is lost when the LTE communication process is performed, since the priority of the network search process is higher than the WIFI scanning process, the network search process can be directly scheduled, saving the waiting time of the WIFI scanning process and avoiding the waste of radio frequency resources. The timeline schematic diagram of scheduling the network search process when the LTE communication process stops and scheduling the WIFI scanning process after the network search process is completed in this example can refer to Figure 5. It can be understood that the meanings represented by the remaining identifiers in Figure 5 are the same as those in Figure 4. In order to reduce repetition, they are not repeated here.
步骤102,根据WIFI扫描进程的结果确定终端的位置。Step 102, determining the location of the terminal according to the result of the WIFI scanning process.
在本步骤中,能够根据WIFI扫描进程的结果最终获取终端的位置。In this step, the location of the terminal can be finally obtained according to the result of the WIFI scanning process.
此外,值得一提的是,如果没有间隔时隙且LTE通信进程也并非在DRX机制运行,则WIFI扫描进程可能长时间无法进行,终端无法定位。为了避免WIFI扫描进程长时间无法获取射频资源导致终端定位时间久或定位失败,可以在一定周期内设置间隔时隙用于使得WIFI扫描进程能够获得射频资源。在一个例子中,终端的定位方法,还可以包括:在LTE通信进程中无空闲时隙的情况下,若LTE通信进程以频分双工模式进行下行传输,则周期性暂停LTE通信进程并调度WIFI扫描进程在预设时长内进行。因而在LTE通信进程中无测量间隔时隙的情况下,周期性暂停以频分双工模式进行下行传输的LTE通信进程,并调度WIFI扫描进程在预设时长内进行。能够避免因长时间无法进行WIFI扫描进程而导致影响定位时延和精度。本例涉及的时间轴示意图可以参考图6。在本例中,可以理解为手动设置间隔时隙使得WIFI扫描进程能够获得射频资源,手动设置的间隔时隙如图6中间隔时隙所示。此外还可以设置测量间隔时隙以图6中示出的间隔时隙出现周期为周期。In addition, it is worth mentioning that if there is no interval time slot and the LTE communication process is not running in the DRX mechanism, the WIFI scanning process may not be able to proceed for a long time, and the terminal cannot be positioned. In order to avoid the WIFI scanning process from failing to obtain radio frequency resources for a long time, resulting in a long terminal positioning time or positioning failure, an interval time slot can be set within a certain period to enable the WIFI scanning process to obtain radio frequency resources. In an example, the positioning method of the terminal may also include: in the case where there is no idle time slot in the LTE communication process, if the LTE communication process performs downlink transmission in frequency division duplex mode, the LTE communication process is periodically suspended and the WIFI scanning process is scheduled to be performed within a preset time length. Therefore, in the case where there is no measurement interval time slot in the LTE communication process, the LTE communication process for downlink transmission in frequency division duplex mode is periodically suspended, and the WIFI scanning process is scheduled to be performed within a preset time length. It can avoid affecting the positioning delay and accuracy due to the inability to perform the WIFI scanning process for a long time. The timeline schematic diagram involved in this example can refer to Figure 6. In this example, it can be understood that the interval time slot is manually set so that the WIFI scanning process can obtain radio frequency resources, and the manually set interval time slot is shown as the interval time slot in Figure 6. In addition, the measurement interval time slot may be set to have the interval time slot occurrence period shown in FIG. 6 as a period.
LTE通信进程以时分双工模式进行上行传输的情况下,LTE通信进程只占用上行传输对应的射频资源。为了避免WIFI扫描进程用于进行下行传输的射频资源被浪费,在另一个例子 中,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,还可以包括:在LTE通信进程以时分双工模式进行上行传输的情况下,调度WIFI扫描进程在LTE通信进程中预设的用于进行上行传输的时隙(如图7中示出的LTE通信预设上行时隙)进行;其中,WIFI扫描进程利用的射频模块的资源为LTE通信进程用于进行下行传输的资源。能够避免LTE通信进程以时分双工模式进行上行传输时,下行传输所对应的射频资源被浪费。此外,由于LTE通信进程仅占用上行传输所需的资源,因而调度WIFI扫描进程利用下行传输所需的资源并不会对LTE通信进程造成影响。本例涉及的时间轴示意图可以参考图7。When the LTE communication process performs uplink transmission in time division duplex mode, the LTE communication process only occupies the RF resources corresponding to the uplink transmission. In order to avoid wasting the RF resources used by the WiFi scanning process for downlink transmission, in another example In the case where the LTE communication process does not occupy the idle time slot of the radio frequency module, the WIFI scanning process is scheduled to be performed, and it may also include: when the LTE communication process performs uplink transmission in time division duplex mode, the WIFI scanning process is scheduled to be performed in the time slot preset in the LTE communication process for uplink transmission (such as the LTE communication preset uplink time slot shown in Figure 7); wherein, the resources of the radio frequency module used by the WIFI scanning process are the resources used by the LTE communication process for downlink transmission. It can avoid that the radio frequency resources corresponding to the downlink transmission are wasted when the LTE communication process performs uplink transmission in time division duplex mode. In addition, since the LTE communication process only occupies the resources required for uplink transmission, scheduling the WIFI scanning process to use the resources required for downlink transmission will not affect the LTE communication process. The timeline schematic diagram involved in this example can refer to Figure 7.
在LTE通信进程和WIFI扫描进程公用射频模块的终端设备中,LTE通信进程和WIFI扫描进程需要提前申请从未来的某一时间点开始的固定射频资源使用时长。这就可能会发生申请的使用时长超出实际所需的情况,导致射频资源的浪费。此外,还可能出现申请的使用时长不足导致进程终端、在申请下一次使用时长时得不到授权而导致LTE通信进程或WIFI扫描进程此次业务失败的情况。In the terminal device that uses the radio frequency module for the LTE communication process and the WIFI scanning process, the LTE communication process and the WIFI scanning process need to apply in advance for a fixed radio frequency resource usage duration starting from a certain point in the future. This may result in the application of a usage duration that exceeds the actual requirement, resulting in a waste of radio frequency resources. In addition, the application of a usage duration that is insufficient may result in the termination of the process, and the next application for a usage duration may not be authorized, resulting in the failure of the LTE communication process or the WIFI scanning process.
在本实施例中,终端中的LTE通信进程和WIFI扫描进程通过同一射频模块进行。相比为LTE通信进程和WIFI扫描进程分别部署射频模块的方案,能够有效降低成本和功耗。在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,能够避免LTE通信进程和WIFI扫描进程的冲突。此外,相比传统的WIFI扫描进程和LTE通信进程均提前申请使用射频资源的资源分配方式可能导致资源浪费或者无法满足进程的资源需求,本申请提供的调度LTE通信进程和WIFI扫描进程分别使用射频资源的方式更为高效,能够使得射频资源被更有效的利用,避免射频资源的浪费。再者,提前申请使用射频资源的方式需要为不同进程之间预留保护时隙,而本申请能够节省该保护时隙所对应的射频资源。In this embodiment, the LTE communication process and the WIFI scanning process in the terminal are performed through the same radio frequency module. Compared with the solution of deploying radio frequency modules for the LTE communication process and the WIFI scanning process respectively, the cost and power consumption can be effectively reduced. In the idle time slot of the radio frequency module not occupied by the LTE communication process, the WIFI scanning process is scheduled to be performed, which can avoid the conflict between the LTE communication process and the WIFI scanning process. In addition, compared with the resource allocation method in which both the traditional WIFI scanning process and the LTE communication process apply for the use of radio frequency resources in advance, which may cause resource waste or fail to meet the resource requirements of the process, the method of scheduling the LTE communication process and the WIFI scanning process to use radio frequency resources respectively provided by the present application is more efficient, which can make radio frequency resources more effectively utilized and avoid waste of radio frequency resources. Furthermore, the method of applying for the use of radio frequency resources in advance needs to reserve protection time slots between different processes, and the present application can save the radio frequency resources corresponding to the protection time slot.
其中,空闲时隙包括以下之一或其任意组合:在连接状态下LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间。将上述时间作为空闲时隙供WIFI扫描进程使用射频资源,能够有效避免射频资源的浪费。此外,本实施例提供的终端定位方法提供了WIFI扫描进程能够获取射频资源的多个空闲时隙,能够最大程度确保WIFI扫描进程能够获取射频资源,避免终端长时间无法进行定位。最终根据WIFI扫描进程的结果能够确定终端的位置,完成终端定位。Among them, the idle time slot includes one of the following or any combination thereof: the measurement interval time slot in the LTE communication process in the connected state; when performing the system information scheduling step in the LTE communication process, the remaining time to complete the system information scheduling step in advance in each preset system information receiving window; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle. Using the above time as an idle time slot for the WIFI scanning process to use radio frequency resources can effectively avoid the waste of radio frequency resources. In addition, the terminal positioning method provided in this embodiment provides a plurality of idle time slots in which the WIFI scanning process can obtain radio frequency resources, which can ensure to the greatest extent that the WIFI scanning process can obtain radio frequency resources and avoid the terminal being unable to be positioned for a long time. Finally, the position of the terminal can be determined according to the result of the WIFI scanning process, and the terminal positioning is completed.
本申请的一实施例涉及一种终端的定位装置,其中,需要定位的终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行。该终端的定位装置的结构示意图如图8所示,包括: An embodiment of the present application relates to a terminal positioning device, wherein the LTE communication process and the WIFI scanning process in the terminal to be positioned are performed by the same radio frequency module. The structural schematic diagram of the terminal positioning device is shown in FIG8, including:
资源调度模块801,用于在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行;WIFI扫描进程在LTE通信进程需要使用射频模块时停止;The resource scheduling module 801 is used to schedule the WIFI scanning process to proceed when the LTE communication process does not occupy the idle time slot of the RF module; the WIFI scanning process stops when the LTE communication process needs to use the RF module;
其中,空闲时隙包括以下之一或其任意组合:在连接状态下LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间;The idle time slot includes one of the following or any combination thereof: a measurement interval time slot in the LTE communication process in the connected state; when performing the system information scheduling step in the LTE communication process, the remaining time in each preset system information receiving window after the system information scheduling step is completed in advance; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle;
位置确定模块802,用于根据WIFI扫描进程的结果确定终端的位置。The location determination module 802 is used to determine the location of the terminal according to the result of the WIFI scanning process.
在一个例子中,资源调度模块801还可以用于根据LTE通信进程和WIFI扫描进程在调度表中的优先级,在LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行;其中,LTE通信进程在调度表中的优先级高于WIFI扫描进程。In one example, the resource scheduling module 801 can also be used to schedule the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the RF module according to the priorities of the LTE communication process and the WIFI scanning process in the scheduling table; wherein the priority of the LTE communication process in the scheduling table is higher than that of the WIFI scanning process.
在一个调度表中还包括搜网进程,且搜网进程在调度表中的优先级高于WIFI扫描进程的例子中,资源调度模块801还可以用于在通过LTE通信进程检测到发生服务小区丢失的情况下,调度搜网进程在LTE通信进程停止时进行,并调度WIFI扫描进程在搜网进程完成后进行。In an example in which a network search process is also included in a scheduling table and the network search process has a higher priority than a WIFI scanning process in the scheduling table, the resource scheduling module 801 can also be used to schedule the network search process to be performed when the LTE communication process stops when a service cell loss is detected through the LTE communication process, and to schedule the WIFI scanning process to be performed after the network search process is completed.
在一个例子中,资源调度模块801还可以用于在LTE通信进程以时分双工模式进行上行传输的情况下,调度WIFI扫描进程在LTE通信进程中预设的用于进行上行传输的时隙进行;其中,WIFI扫描进程利用的射频模块的资源为LTE通信进程用于进行下行传输的资源。In one example, the resource scheduling module 801 can also be used to schedule the WIFI scanning process to perform uplink transmission in the time slot preset in the LTE communication process when the LTE communication process performs uplink transmission in time division duplex mode; wherein the resources of the radio frequency module used by the WIFI scanning process are the resources used by the LTE communication process for downlink transmission.
在一个例子中,资源调度模块801还可以用于在LTE通信进程中无空闲时隙的情况下,若LTE通信进程以频分双工模式进行下行传输,则周期性暂停LTE通信进程并调度WIFI扫描进程在预设时长内进行。In one example, the resource scheduling module 801 can also be used to periodically suspend the LTE communication process and schedule the WIFI scanning process to be performed within a preset time period if there is no idle time slot in the LTE communication process and the LTE communication process performs downlink transmission in frequency division duplex mode.
在一个空闲时隙为在连接状态下LTE通信进程中的测量间隔时隙的例子中,资源调度模块801还可以用于在测量间隔时隙大于LTE通信进程中的邻区测量步骤所需的最小时间时,利用测量间隔时隙中的最小时间进行邻区测量步骤,并在邻区测量步骤结束时调度WIFI扫描进程在测量间隔时隙中的剩余时间进行。In an example where an idle time slot is a measurement interval time slot in an LTE communication process in a connected state, the resource scheduling module 801 can also be used to use the minimum time in the measurement interval time slot to perform the neighbor measurement step when the measurement interval time slot is greater than the minimum time required for the neighbor measurement step in the LTE communication process, and schedule the WIFI scanning process to be performed during the remaining time in the measurement interval time slot when the neighbor measurement step ends.
在一个空闲时隙为在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间的例子中,资源调度模块801还可以用于在系统信息调度步骤提前完成时,检测当前预设系统信息接收窗口内剩余的时间;在剩余的时间大于WIFI扫描进程所需的最小时间的情况下,调度WIFI扫描进程进行。In an example where an idle time slot is the remaining time for completing the system information scheduling step in advance within each preset system information receiving window when the system information scheduling step is completed in advance; when the remaining time is greater than the minimum time required for the WIFI scanning process, the WIFI scanning process is scheduled to proceed.
本实施例提供的终端的定位装置在所述LTE通信进程未占用射频模块的空闲时隙,调度WIFI扫描进程进行,能够避免LTE通信进程和WIFI扫描进程的冲突。此外,相比传统的WIFI扫描进程和LTE通信进程均提前申请使用射频资源的资源分配方式可能导致资源浪费或 者无法满足进程的资源需求,本申请提供的调度LTE通信进程和WIFI扫描进程分别使用射频资源的方式更为高效,能够使得射频资源被更有效的利用,避免射频资源的浪费。The terminal positioning device provided in this embodiment schedules the WIFI scanning process to be performed during the idle time slot of the RF module not occupied by the LTE communication process, thereby avoiding the conflict between the LTE communication process and the WIFI scanning process. In addition, compared with the traditional resource allocation method in which both the WIFI scanning process and the LTE communication process apply for the use of RF resources in advance, it may cause resource waste or The method provided in the present application for scheduling the LTE communication process and the WIFI scanning process to use radio frequency resources respectively is more efficient, and can make more effective use of radio frequency resources and avoid waste of radio frequency resources.
其中,空闲时隙包括以下之一或其任意组合:在连接状态下LTE通信进程中的测量间隔时隙;在进行LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成系统信息调度步骤剩余的时间;若LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中LTE通信进程完成后剩余的时间。将上述时间作为空闲时隙供WIFI扫描进程使用射频资源,能够有效避免射频资源的浪费。此外,本实施例提供的终端定位方法提供了WIFI扫描进程能够获取射频资源的多个空闲时隙,能够最大程度确保WIFI扫描进程能够获取射频资源,避免终端长时间无法进行定位。最终根据WIFI扫描进程的结果能够确定终端的位置,完成终端定位。Among them, the idle time slot includes one of the following or any combination thereof: the measurement interval time slot in the LTE communication process in the connected state; when performing the system information scheduling step in the LTE communication process, the remaining time to complete the system information scheduling step in advance in each preset system information receiving window; if the LTE communication process is performed under the discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle. Using the above time as an idle time slot for the WIFI scanning process to use radio frequency resources can effectively avoid the waste of radio frequency resources. In addition, the terminal positioning method provided in this embodiment provides a plurality of idle time slots in which the WIFI scanning process can obtain radio frequency resources, which can ensure to the greatest extent that the WIFI scanning process can obtain radio frequency resources and avoid the terminal being unable to be positioned for a long time. Finally, the position of the terminal can be determined according to the result of the WIFI scanning process, and the terminal positioning is completed.
值得一提的是,本申请上述实施例中所涉及到的各模块均为逻辑模块,在实际应用中,一个逻辑单元可以是一个物理单元,也可以是一个物理单元的一部分,还可以以多个物理单元的组合实现。此外,为了突出本申请的创新部分,本实施例中并没有将与解决本申请所提出的技术问题关系不太密切的单元引入,但这并不表明本实施例中不存在其它的单元。It is worth mentioning that all modules involved in the above embodiments of the present application are logic modules. In practical applications, a logic unit can be a physical unit, a part of a physical unit, or a combination of multiple physical units. In addition, in order to highlight the innovative part of the present application, the present embodiment does not introduce units that are not closely related to solving the technical problems proposed by the present application, but this does not mean that there are no other units in the present embodiment.
本申请的实施例还提供一种电子设备,如图9所示,包括至少一个处理器901;以及,与所述至少一个处理器901通信连接的存储器902;其中,存储器902存储有可被至少一个处理器901执行的指令,指令被至少一个处理器901执行,以使至少一个处理器901能够执行上述终端的定位方法。An embodiment of the present application also provides an electronic device, as shown in Figure 9, comprising at least one processor 901; and a memory 902 communicatively connected to the at least one processor 901; wherein the memory 902 stores instructions that can be executed by the at least one processor 901, and the instructions are executed by the at least one processor 901 so that the at least one processor 901 can execute the above-mentioned terminal positioning method.
其中,存储器902和处理器901采用总线方式连接,总线可以包括任意数量的互联的总线和桥,总线将一个或多个处理器901和存储器902的各种电路连接在一起。总线还可以将诸如外围设备、稳压器和功率管理电路等之类的各种其他电路连接在一起,这些都是本领域所公知的,因此,本文不再对其进行进一步描述。总线接口在总线和收发机之间提供接口。收发机可以是一个元件,也可以是多个元件,比如多个接收器和发送器,提供用于在传输介质上与各种其他装置通信的单元。经处理器901处理的数据通过天线在无线介质上进行传输,进一步,天线还接收数据并将数据传送给处理器901。Among them, the memory 902 and the processor 901 are connected in a bus manner, and the bus may include any number of interconnected buses and bridges, and the bus connects various circuits of one or more processors 901 and the memory 902 together. The bus can also connect various other circuits such as peripheral devices, voltage regulators, and power management circuits, which are all well known in the art, and therefore, are not further described herein. The bus interface provides an interface between the bus and the transceiver. The transceiver can be one element or multiple elements, such as multiple receivers and transmitters, providing a unit for communicating with various other devices on a transmission medium. The data processed by the processor 901 is transmitted on a wireless medium through an antenna, and further, the antenna also receives data and transmits the data to the processor 901.
处理器901负责管理总线和通常的处理,还可以提供各种功能,包括定时,外围接口,电压调节、电源管理以及其他控制功能。而存储器902可以被用于存储处理器901在执行操作时所使用的数据。The processor 901 is responsible for managing the bus and general processing, and can also provide various functions, including timing, peripheral interfaces, voltage regulation, power management and other control functions. The memory 902 can be used to store data used by the processor 901 when performing operations.
上述产品可执行本申请实施例所提供的方法,具备执行方法相应的功能模块和有益效果,未在本实施例中详尽描述的技术细节,可参见本申请实施例所提供的方法。 The above-mentioned product can execute the method provided in the embodiment of the present application, and has the functional modules and beneficial effects corresponding to the execution method. For technical details not fully described in this embodiment, please refer to the method provided in the embodiment of the present application.
本申请的实施例还提供一种计算机可读存储介质,存储有计算机程序。计算机程序被处理器执行时实现上述终端的定位方法。The embodiment of the present application further provides a computer-readable storage medium storing a computer program. When the computer program is executed by a processor, the terminal positioning method described above is implemented.
本领域技术人员可以理解,实现上述实施例方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序存储在一个存储介质中,包括若干指令用以使得一个设备(可以是单片机,芯片等)或处理器(processor)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-OnlyMemory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。Those skilled in the art will appreciate that all or part of the steps in the above-mentioned embodiments can be accomplished by instructing the relevant hardware through a program, which is stored in a storage medium and includes several instructions for enabling a device (which may be a single-chip microcomputer, chip, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk, and other media that can store program codes.
上述实施例是提供给本领域普通技术人员来实现和使用本申请的,本领域普通技术人员可以在不脱离本申请的申请思想的情况下,对上述实施例做出种种修改或变化,因而本申请的保护范围并不被上述实施例所限,而应该符合权利要求书所提到的创新性特征的最大范围。 The above embodiments are provided to those of ordinary skill in the art to implement and use the present application. Those of ordinary skill in the art can make various modifications or changes to the above embodiments without departing from the application concept of the present application. Therefore, the protection scope of the present application is not limited to the above embodiments, but should conform to the maximum scope of the innovative features mentioned in the claims.

Claims (10)

  1. 一种终端的定位方法,所述终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行,所述方法包括:A terminal positioning method, in which an LTE communication process and a WIFI scanning process are performed by the same radio frequency module, the method comprising:
    在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行;所述WIFI扫描进程在所述LTE通信进程需要使用所述射频模块时停止;When the LTE communication process does not occupy the idle time slot of the radio frequency module, the WIFI scanning process is scheduled to be performed; when the LTE communication process needs to use the radio frequency module, the WIFI scanning process is stopped;
    其中,所述空闲时隙包括以下之一或其任意组合:在连接状态下所述LTE通信进程中的测量间隔时隙;在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成所述系统信息调度步骤剩余的时间;若所述LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中所述LTE通信进程完成后剩余的时间;The idle time slot includes one of the following or any combination thereof: a measurement interval time slot in the LTE communication process in a connected state; when performing a system information scheduling step in the LTE communication process, the remaining time for completing the system information scheduling step in advance within each preset system information receiving window; if the LTE communication process is performed under a discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle;
    根据所述WIFI扫描进程的结果确定所述终端的位置。The location of the terminal is determined according to the result of the WIFI scanning process.
  2. 根据权利要求1所述的终端的定位方法,其中,所述在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行,包括:The terminal positioning method according to claim 1, wherein the WIFI scanning process is scheduled to be performed when the LTE communication process does not occupy an idle time slot of the radio frequency module, comprising:
    根据所述LTE通信进程和所述WIFI扫描进程在调度表中的优先级,在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行;According to the priorities of the LTE communication process and the WIFI scanning process in the scheduling table, when the LTE communication process does not occupy the idle time slot of the radio frequency module, scheduling the WIFI scanning process to be performed;
    其中,所述LTE通信进程在所述调度表中的优先级高于所述WIFI扫描进程。Among them, the priority of the LTE communication process in the scheduling table is higher than that of the WIFI scanning process.
  3. 根据权利要求2所述的终端的定位方法,其中,所述调度表中还包括搜网进程,且所述搜网进程在所述调度表中的优先级高于所述WIFI扫描进程;The terminal positioning method according to claim 2, wherein the scheduling table also includes a network search process, and the priority of the network search process in the scheduling table is higher than the WIFI scanning process;
    所述方法还包括:The method further comprises:
    在通过所述LTE通信进程检测到发生服务小区丢失的情况下,调度所述搜网进程在所述LTE通信进程停止时进行,并调度所述WIFI扫描进程在所述搜网进程完成后进行。In the case where the loss of the serving cell is detected through the LTE communication process, the network search process is scheduled to be performed when the LTE communication process is stopped, and the WIFI scanning process is scheduled to be performed after the network search process is completed.
  4. 根据权利要求1至3中任一项所述的终端的定位方法,其中,所述在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行,还包括:The terminal positioning method according to any one of claims 1 to 3, wherein the WIFI scanning process is scheduled to be performed when the LTE communication process does not occupy the idle time slot of the radio frequency module, and further includes:
    在LTE通信进程以时分双工模式进行上行传输的情况下,调度所述WIFI扫描进程在所述LTE通信进程中预设的用于进行上行传输的时隙进行;其中,所述WIFI扫描进程利用的所述射频模块的资源为所述LTE通信进程用于进行下行传输的资源。When the LTE communication process performs uplink transmission in time division duplex mode, the WIFI scanning process is scheduled to be performed in a time slot preset in the LTE communication process for uplink transmission; wherein the resources of the radio frequency module used by the WIFI scanning process are the resources used by the LTE communication process for downlink transmission.
  5. 根据权利要求1至4中任一项所述的终端的定位方法,其中,还包括:The terminal positioning method according to any one of claims 1 to 4, further comprising:
    在所述LTE通信进程中无空闲时隙的情况下,若所述LTE通信进程以频分双工模式进行下行传输,则周期性暂停所述LTE通信进程并调度所述WIFI扫描进程在预设时长内进行。In the case where there is no idle time slot in the LTE communication process, if the LTE communication process performs downlink transmission in frequency division duplex mode, the LTE communication process is periodically suspended and the WIFI scanning process is scheduled to be performed within a preset time period.
  6. 根据权利要求1至5中任一项所述的终端的定位方法,其中,当所述空闲时隙包括所述在连接状态下所述LTE通信进程中的测量间隔时隙,所述在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行,包括: The positioning method of a terminal according to any one of claims 1 to 5, wherein when the idle time slot includes the measurement interval time slot in the LTE communication process in the connected state, and the idle time slot of the radio frequency module is not occupied by the LTE communication process, scheduling the WIFI scanning process to be performed, comprises:
    在所述测量间隔时隙大于所述LTE通信进程中的邻区测量步骤所需的最小时间时,利用所述测量间隔时隙中的所述最小时间进行所述邻区测量步骤,并在所述邻区测量步骤结束时调度所述WIFI扫描进程在所述测量间隔时隙中的剩余时间进行。When the measurement interval time slot is greater than the minimum time required for the neighboring cell measurement step in the LTE communication process, the neighboring cell measurement step is performed using the minimum time in the measurement interval time slot, and the WIFI scanning process is scheduled to be performed during the remaining time in the measurement interval time slot when the neighboring cell measurement step ends.
  7. 根据权利要求1至5中任一项所述的终端的定位方法,其中,当所述空闲时隙包括所述在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成所述系统信息调度步骤剩余的时间,所述在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行包括:According to the positioning method of the terminal according to any one of claims 1 to 5, wherein, when the idle time slot includes the system information scheduling step in the LTE communication process, the remaining time of completing the system information scheduling step in advance within each preset system information receiving window, the idle time slot of the radio frequency module not occupied by the LTE communication process, scheduling the WIFI scanning process to perform includes:
    在所述系统信息调度步骤提前完成时,检测当前所述预设系统信息接收窗口内剩余的时间;When the system information scheduling step is completed ahead of schedule, detecting the remaining time in the current preset system information receiving window;
    在所述剩余的时间大于所述WIFI扫描进程所需的最小时间的情况下,调度所述WIFI扫描进程进行。When the remaining time is greater than the minimum time required for the WIFI scanning process, the WIFI scanning process is scheduled to be performed.
  8. 一种终端的定位装置,所述终端中LTE通信进程和WIFI扫描进程通过同一射频模块进行,所述装置包括:A terminal positioning device, in which an LTE communication process and a WIFI scanning process are performed by the same radio frequency module, and the device comprises:
    资源调度模块,用于在所述LTE通信进程未占用所述射频模块的空闲时隙,调度所述WIFI扫描进程进行;所述WIFI扫描进程在所述LTE通信进程需要使用所述射频模块时停止;A resource scheduling module, used for scheduling the WIFI scanning process to be performed when the LTE communication process does not occupy the idle time slot of the RF module; the WIFI scanning process is stopped when the LTE communication process needs to use the RF module;
    其中,所述空闲时隙包括以下之一或其任意组合:在连接状态下所述LTE通信进程中的测量间隔时隙;在进行所述LTE通信进程中的系统信息调度步骤时,各预设系统信息接收窗口内提前完成所述系统信息调度步骤剩余的时间;若所述LTE通信进程在非连续接收DRX机制下进行,每个非连续接收周期中所述LTE通信进程完成后剩余的时间;The idle time slot includes one of the following or any combination thereof: a measurement interval time slot in the LTE communication process in a connected state; when performing a system information scheduling step in the LTE communication process, the remaining time for completing the system information scheduling step in advance within each preset system information receiving window; if the LTE communication process is performed under a discontinuous reception DRX mechanism, the remaining time after the LTE communication process is completed in each discontinuous reception cycle;
    位置确定模块,用于根据所述WIFI扫描进程的结果确定所述终端的位置。The location determination module is used to determine the location of the terminal according to the result of the WIFI scanning process.
  9. 一种电子设备,包括:An electronic device, comprising:
    至少一个处理器;以及,at least one processor; and,
    与所述至少一个处理器通信连接的存储器;其中,a memory communicatively connected to the at least one processor; wherein,
    所述存储器存储有可被所述至少一个处理器执行的指令,所述指令被所述至少一个处理器执行,以使所述至少一个处理器能够执行如权利要求1至7中任一项所述的终端的定位方法。The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the terminal positioning method according to any one of claims 1 to 7.
  10. 一种计算机可读存储介质,存储有计算机程序,所述计算机程序被处理器执行时实现权利要求1至7中任一项所述的终端的定位方法。 A computer-readable storage medium stores a computer program, wherein when the computer program is executed by a processor, the terminal positioning method according to any one of claims 1 to 7 is implemented.
PCT/CN2023/104122 2022-12-01 2023-06-29 Terminal positioning method and apparatus, electronic device, and storage medium WO2024113840A1 (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211523440.6 2022-12-01

Publications (1)

Publication Number Publication Date
WO2024113840A1 true WO2024113840A1 (en) 2024-06-06

Family

ID=

Similar Documents

Publication Publication Date Title
US11470681B2 (en) Apparatus and method for paging overlap mitigation
US11089619B2 (en) Data transmission method, device and system
CN109983822B (en) DRX timer running method, device, equipment and storage medium
CN114375596A (en) Method and system for processing power saving signals to improve power saving performance of a UE
CN113812184B (en) Wake-up signaling handling in discontinuous reception
US20140254565A1 (en) Systems and methods for multiple concurrent wlan operational modes
CN109905926B (en) Self-adaptive configuration method, device, terminal, medium and system suitable for unlicensed frequency band
JP7354114B2 (en) Method and apparatus for maintenance of bandwidth parts
CN109891973A (en) A kind of Downlink Control Information monitoring method, terminal and base station
US20200084796A1 (en) Sr/bsr triggering method and device
RU2697931C2 (en) Method, terminal and system for reducing power consumption of cluster terminal in broadband cluster system
US7006852B2 (en) Communication terminal, power save processing method to be performed by the communication terminal, program for executing the method, and recording medium containing the program
KR20170028786A (en) Method and apparatus of transmitting data in wireless communication system
US20110310859A1 (en) Basic service set scheduling based on media access controller states
WO2024113840A1 (en) Terminal positioning method and apparatus, electronic device, and storage medium
JP7400090B2 (en) Signal monitoring method and device
WO2012092762A1 (en) Method and system for assigning resources of physical layer in terminal
CN111698768B (en) Communication method and device
JPH09327071A (en) Communication control method
CN113994740A (en) Mechanism for handling PDCCH skip and wake-up signaling
CN115633399B (en) Terminal positioning method and device, electronic equipment and storage medium
US20230180194A1 (en) Multimode chip and terminal device
CN1759537B (en) Apparatus and method for controlling the power consumption of a combined UMTS/GSM/EDGE radio station
CN114390595A (en) Physical downlink control channel monitoring method and device, storage medium and terminal
US20180035376A1 (en) NAN Frame Buffering Indications