WO2023246361A1 - 一种定位消息处理方法、装置、存储介质及电子装置 - Google Patents

一种定位消息处理方法、装置、存储介质及电子装置 Download PDF

Info

Publication number
WO2023246361A1
WO2023246361A1 PCT/CN2023/093616 CN2023093616W WO2023246361A1 WO 2023246361 A1 WO2023246361 A1 WO 2023246361A1 CN 2023093616 W CN2023093616 W CN 2023093616W WO 2023246361 A1 WO2023246361 A1 WO 2023246361A1
Authority
WO
WIPO (PCT)
Prior art keywords
message
positioning
trp
nonue
processing queue
Prior art date
Application number
PCT/CN2023/093616
Other languages
English (en)
French (fr)
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 WO2023246361A1 publication Critical patent/WO2023246361A1/zh

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Definitions

  • Embodiments of the present disclosure relate to the field of communications, and specifically, to a positioning message processing method, device, storage medium, and electronic device.
  • Uplink Time Difference of Arrival (UL-TDOA) positioning is an important positioning method in 5G positioning. Its main principle is to use uplink The position is calculated based on the time difference between the reference signal and the base station.
  • the protocol used for UL-TDOA positioning is 3GPP TS 38.455 NRPPa protocol (New Radio Positioning Protocol, New Radio Positioning Protocol A).
  • UL-TDOA positioning is achieved through the core network’s Location Management Function (LMF), Mobility Management Function (Access and Mobility Management Function, AMF), Unified Data Management (UDM), etc.
  • LMF Location Management Function
  • AMF Access and Mobility Management Function
  • UDM Unified Data Management
  • Multiple network elements are used to perform location service business operations. Among them, LMF is the most critical network element in this positioning method, and is mainly responsible for calculating the position and returning positioning results.
  • the LMF does not directly interact with the base station, but interacts with the base station through the AMF.
  • the LMF sends the content of the NRPPa protocol to the base station through the AMF, and the base station returns the content of the NRPPa protocol to the LMF through the AMF.
  • the messages exchanged between AMF and LMF are divided into UE (user equipment) specific messages (hereinafter referred to as UE messages) and non UE specific messages (hereinafter referred to as NonUE messages).
  • an LMF has multiple identical message processing modules, and each module is independent of each other to achieve load sharing and improve performance.
  • AMF sends the message to LMF
  • LMF then distributes the message to specific message processing modules.
  • the UE message directly carries UE-related information, and LMF can distribute the message to the corresponding module based on the UE information.
  • the NonUE message does not have direct user information and cannot be distributed to the corresponding message processing module through user information.
  • Embodiments of the present disclosure provide a positioning message processing method, device, storage medium and electronic device to at least solve the problem in related technologies that there is no direct user information in the NonUE message and cannot be distributed to the corresponding message processing module through the user information, making it impossible to guarantee A complete positioning process is all in the same positioning module.
  • a positioning message processing method including:
  • the message type is a NonUE message that does not carry user information
  • the positioning message is distributed to the corresponding message processing queue according to the logical number to process the positioning message.
  • a positioning message processing device including:
  • the first acquisition module is configured to acquire the message type of the received positioning message
  • the second acquisition module is configured to obtain the session number from the NonUE message when the message type is a NonUE message that does not carry user information;
  • a parsing module configured to parse the logical number corresponding to the message processing queue according to the session number
  • the distribution module is configured to distribute the positioning message to the corresponding message processing queue according to the logical number to process the positioning message.
  • a computer-readable storage medium is also provided, and a computer program is stored in the storage medium, wherein the computer program is configured to execute any of the above method embodiments when running. steps in.
  • an electronic device including a memory and a processor.
  • a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above. Steps in method embodiments.
  • Figure 1 is a hardware structure block diagram of a mobile terminal according to a transmission bandwidth allocation method according to an embodiment of the present disclosure
  • Figure 2 is a flow chart of a transmission bandwidth allocation method according to an embodiment of the present disclosure
  • Figure 3 is a block diagram of a transmission bandwidth allocation device according to an embodiment of the present disclosure.
  • Figure 4 is a block diagram of NonUE message processing in UL-TDOA positioning according to this embodiment.
  • FIG. 1 is a hardware structural block diagram of a mobile terminal of the transmission bandwidth allocation method according to an embodiment of the present disclosure.
  • the mobile terminal may include one or more (only shown in Figure 1 a) processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the above-mentioned mobile terminal may also include a communication function transmission device 106 and input and output device 108.
  • processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA
  • a memory 104 for storing data
  • the above-mentioned mobile terminal may also include a communication function transmission device 106 and input and output device 108.
  • the structure shown in Figure 1 is only illustrative, and it does not limit the structure of the above-mentioned mobile terminal.
  • the mobile terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than shown in FIG. 1 .
  • the memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the transmission bandwidth allocation method in the embodiment of the present disclosure.
  • the processor 102 executes the computer program by running the computer program stored in the memory 104 Various functional applications and business chain address pool slicing processing implement the above method.
  • Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, Flash memory, or other non-volatile solid-state memory.
  • the memory 104 may further include memory located remotely relative to the processor 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the above-mentioned networks include but are not limited to the Internet, intranets, local area networks, mobile communication networks and combinations thereof.
  • Transmission device 106 is used to receive or send data via a network.
  • Specific examples of the above-mentioned network may include a wireless network provided by a communication provider of the mobile terminal.
  • the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station to communicate with the Internet.
  • the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet wirelessly.
  • NIC Network Interface Controller
  • FIG. 2 is a flow chart of the transmission bandwidth allocation method according to an embodiment of the present disclosure. As shown in Figure 2, the process includes the following step:
  • Step S202 obtain the message type of the received positioning message
  • the above step S202 may specifically include: receiving the positioning message sent by the authentication management function AMF; obtaining the URL in the positioning message; determining the message type of the positioning message according to the URL; If the URL contains determine-location, determine that the positioning message is a positioning request message; if the URL contains n2-notification, determine that the positioning message is a UE message; if the URL contains non-ue In the case of -n2-notification, it is determined that the message is the NonUE message.
  • Step S204 If the message type is a NonUE message that does not carry user information, obtain the session number from the NonUE message;
  • the above step S204 may specifically include: decoding the NonUE message to obtain NRPPa information; and obtaining the session number in the NRPPa information.
  • Step S206 parse the logical number corresponding to the message processing queue according to the session number
  • Step S208 Distribute the positioning message to the corresponding message processing queue according to the logical number to process the positioning message.
  • the above step S208 may specifically include: extracting a transaction number from the session number; allocating the positioning message to the corresponding transaction according to the transaction number, and based on the transaction, processing the positioning message through the message processing queue. The message is processed.
  • the method further includes: if it is determined that the positioning message is the positioning request message, decoding the positioning request message, obtaining the user information in the positioning request message, and converting the positioning request message to the positioning request message according to the user information.
  • the positioning message is distributed to any message processing queue to process the positioning message; if the positioning message is the UE message, user information is obtained from the URL, and the positioning message is processed according to the user information.
  • the message is distributed to the corresponding message processing queue to process the positioning message.
  • the method further includes: when the positioning message is a TRP response message, sending a TRP request message to the AMF in a preset time period; receiving the After the TRP measurement response message, the TRP information is obtained from the TRP response message; the TRP information is cached in a preset time period, and the cache time is recorded.
  • the method further includes: receiving a positioning request message and obtaining the current time; and determining whether the current time is consistent with the required time. Whether the difference in cache time is within the preset time period; if the judgment result is yes, the TRP request message is not sent to the AMF; if the judgment result is no, the TRP request message is sent to the AMF the TRP request message in order to receive the TRP test volume response message and updates the cached TRP message.
  • NonUE messages are distributed and processed in UL-TDOA positioning, which can solve the problem that NonUE messages cannot be distributed to the corresponding positioning module, and realize the distribution, caching and message processing of NonUE messages.
  • the NRPPa information carried by the NonUE is mainly Send and receive points (Transmission-Reception Point, referred to as TRP) and measurements, cache the TRP information into the memory, and TRP is obtained periodically; find the corresponding positioning process session number according to the session number in NRPPa, and ensure that the message is in the same session.
  • the NonUE message in this embodiment may specifically be a TRP response message or a measurement response message.
  • LMF When LMF receives the message sent by AMF, it first obtains the URL in the message, and then determines the type of message based on the URL; when the URL contains determine-location, it is a location request message, and then decodes the location request message to obtain the user information in the message.
  • the URL contains n2-notification, it is a UE message, then obtain the user information from the URL, and then distribute the message to the corresponding message according to the same rules in the positioning request Processing queue, since the user information in one positioning is the same, it can be ensured that the UE message is sent to the same message processing queue according to the user information;
  • the URL contains non-ue-n2-notification, it is a NonUE message, which is required at this time First decode the NonUE message, and determine whether the NonUE message carries NRPPa information from the decoded message; when the NonUE message carries the NRPPa message, decode the NRPPa message, obtain and save the NRPPa session number Transaction ID from the decoded NRPPa message.
  • Transaction ID is generated by the message processing queue and consists of the logical number logicNo and transkey of the message processing queue; this message is sent to the corresponding message processing queue according to the logical number.
  • TRP request Since a TRP request does not need to be sent for every positioning request, the TRP request is set to be sent periodically, and the TRP information is cached in the memory during the period; after receiving the message, the message is After decoding and judging that it is a TRP response, the TRP information is obtained from the message and saved in the memory, and the current storage time t1 is recorded; when the next positioning request is received, the current time t2 is obtained, and then subtracted from t1 to determine whether During the cache period, if the cache time exceeds the TRP request, you need to resend the TRP request, then clear the original TRP information and re-save the new information.
  • Receive positioning requests send and receive measurement messages and perform positioning calculations, and finally return positioning results.
  • the logical number logicNo of the message processing queue and the session number transKey of the positioning process shift the logicNo to the left by 11 bits (corresponding to the above description, without specific limitations), and then add the transKey to form the Transaction ID of each measurement request, which is required in the measurement request.
  • the TRP information is obtained from the cache; when the message processing queue receives the measurement response message, it first decodes the message to obtain the Transaction ID, then takes the lower 11 bits of the Transaction ID to obtain the transKey, and finds the current session based on the transKey; after receiving the measurement response, it reads the message from the message Obtain the measurement results, and finally calculate the position based on the measurement results.
  • Figure 3 is a block diagram of a transmission bandwidth allocation device according to an embodiment of the present disclosure. As shown in Figure 3, it includes:
  • the first obtaining module 32 is configured to obtain the message type of the received positioning message
  • the second acquisition module 34 is configured to obtain the message from the NonUE message when the message type is a NonUE message that does not carry user information. Get the session number from the message;
  • the parsing module 36 is configured to parse the logical number corresponding to the message processing queue according to the session number;
  • the distribution module 38 is configured to distribute the positioning message to the corresponding message processing queue according to the logical number to process the positioning message.
  • the second acquisition module 34 is further configured to decode the NonUE message to obtain NRPPa information; and obtain the session number in the NRPPa information.
  • the allocation module 38 is also configured to extract a transaction number from the session number; allocate the positioning message to the corresponding transaction based on the transaction number, and based on the transaction, through the The message processing queue processes the positioning message.
  • the first acquisition module is further configured to receive the positioning message sent by the authentication management function AMF; and obtain the URL in the positioning message.
  • the device includes:
  • the first distribution module is configured to, if it is determined that the positioning message is the positioning request message, decode the positioning request message, obtain the user information in the positioning request message, and distribute the positioning message to Any message processing queue to process the positioning message;
  • the second distribution module is configured to obtain user information from the URL if the positioning message is the UE message, and distribute the positioning message to the corresponding message processing queue according to the user information to process the Locate the message for processing.
  • the device further includes:
  • the first sending module is configured to send a TRP request message to the AMF in a preset time period when the positioning message is a TRP response message;
  • the first receiving module is configured to obtain TRP information from the TRP response message after receiving the TRP measurement response message;
  • the cache module is configured to cache the TRP information in a preset time period and record the cache time.
  • the device further includes:
  • the second receiving module is configured to receive the positioning request message and obtain the current time
  • a judgment module configured to judge whether the difference between the current time and the cache time is within a preset time period
  • the second sending module is configured to not send the TRP request message to the AMF when the judgment result is yes; when the judgment result is no, send the TRP request message to the AMF in order to receive the The TRP measurement response message is received and the cached TRP message is updated.
  • Figure 4 is a block diagram of NonUE message processing in UL-TDOA positioning according to this embodiment. As shown in Figure 4, it includes: a decoding module 42, a message distribution module 44, a cache module 46, and a message processing module 48 (set to implement the above message Queue processing function);
  • the decoding module 42 is configured to decode the NRPPa information in the NonUE message after receiving the positioning message, obtain the session number in the NRPPa, and parse the logical number of the positioning module from the session number;
  • the message distribution module 44 is configured to send messages to the positioning module according to the logical number of the module
  • the NRPPa information carried by NonUE is mainly TRP (transmitting and receiving point) and measurement.
  • the cache module mainly caches the TRP information into the memory, and the TRP is obtained periodically;
  • the message processing module 48 is configured to find the corresponding positioning process session number based on the session number in NRPPa to ensure that the message is in the same session.
  • the message decoding module 42 is configured to first obtain the URL in the message when the LMF receives the message sent by the AMF, and then determine the type of the message based on the URL; when the URL contains determine-location, it is a positioning request message, and then decodes the positioning request message. , obtain the user information in the message, and then distribute the message to any message processing module according to the user information; when the URL contains n2-notification, it is a UE message, then obtain the user information from the URL, and then according to the same rules in the positioning request Distribute the message to the corresponding message processing module.
  • the user information in one positioning is the same, it can be ensured that the UE message is sent to the same message processing module based on the user information; when the URL contains non-ue-n2-notification It is a NonUE message.
  • the session number Transaction ID is the session number
  • the message distribution module 44 is set to parse the Transaction ID saved from the decoding module.
  • the Transaction ID is generated by the message processing module and consists of the logical number logicNo and transkey of the message processing module; this message is sent to the corresponding message processing according to the logical number. module 48 or cache module 46.
  • the caching module 46 is configured to cache the TRP information in the received TRP response. Since the TRP request does not need to be sent for every positioning request, the TRP request is set to be sent periodically, and the TRP information is cached in the memory during the period; After receiving the message, the message is decoded. After judging that it is a TRP response, the TRP information is obtained from the message and saved in the memory, and the current saving time t1 is recorded; when the next positioning request is received, the current time t2 is obtained, and then the Subtract t1 to determine whether it is within the cache period. If the cache time exceeds, the TRP request needs to be resent, then the original TRP information is cleared and the new information is saved again.
  • the message processing module 48 is configured to receive positioning requests, send and receive measurement messages and perform positioning calculations, and finally return positioning results.
  • the TRP information required in the measurement request is obtained from the cache module 46; when the message processing module 48 receives the measurement response message sent by the distribution module, it first decodes the message to obtain the Transaction ID, and then takes the lower 11 bits of the Transaction ID to obtain the transKey.
  • the transKey Find the current session obtain the measurement results from the message after receiving the measurement response, and finally calculate the position based on the measurement results.
  • Embodiments of the present disclosure also provide a computer-readable storage medium that stores a computer program, wherein the computer program is configured to execute the steps in any of the above method embodiments when running.
  • the computer-readable storage medium may include but is not limited to: U disk, read-only memory (Read-Only Memory, referred to as ROM), random access memory (Random Access Memory, referred to as RAM) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.
  • ROM read-only memory
  • RAM random access memory
  • mobile hard disk magnetic disk or optical disk and other media that can store computer programs.
  • Embodiments of the present disclosure also provide an electronic device, including a memory and a processor.
  • a computer program is stored in the memory, and the processor is configured to run the computer program to perform the steps in any of the above method embodiments.
  • the above-mentioned electronic device may further include a transmission device and an input and output device, wherein, The transmission device is connected to the above-mentioned processor, and the input and output device is connected to the above-mentioned processor.
  • modules or steps of the present disclosure can be implemented using general-purpose computing devices, and they can be concentrated on a single computing device, or distributed across a network composed of multiple computing devices. They may be implemented in program code executable by a computing device, such that they may be stored in a storage device for execution by the computing device, and in some cases may be executed in a sequence different from that shown herein. Or the described steps can be implemented by making them into individual integrated circuit modules respectively, or by making multiple modules or steps among them into a single integrated circuit module. As such, the present disclosure is not limited to any specific combination of hardware and software.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本公开实施例提供了一种定位消息处理方法、装置、存储介质及电子装置,该方法包括:获取接收到的定位消息的消息类型;在该消息类型为未携带用户信息的NonUE消息,从该NonUE消息中获取会话号;根据该会话号解析出与消息处理队列对应的逻辑号;根据该逻辑号将该定位消息分发到对应的消息处理队列中,以对该定位消息进行处理,可以解决相关技术中NonUE消息中没有直接的用户信息,不能通过用户信息分发到对应的消息处理模块,无法保证一次完整的定位流程都在同一个定位模块的问题,通过会话号将NonUE消息分配到对应的消息处理队列中,可以保证一次完整的定位流程都在同一个定位模块中处理。

Description

一种定位消息处理方法、装置、存储介质及电子装置
相关申请的交叉引用
本公开基于2022年06月24日提交的发明名称为“一种定位消息处理方法、装置、存储介质及电子装置”的中国专利申请CN202210734119.6,并且要求该专利申请的优先权,通过引用将其所公开的内容全部并入本公开。
技术领域
本公开实施例涉及通信领域,具体而言,涉及一种定位消息处理方法、装置、存储介质及电子装置。
背景技术
随着5G的发展,高精度的位置服务能力得到进一步增强,上行信号到达时间差(Uplink Time Difference of Arrival,简称为UL-TDOA)定位是5G定位中一个重要的定位方法,其主要原理是利用上行参考信号到基站的时间差来计算位置,UL-TDOA定位使用的协议为3GPP TS 38.455 NRPPa协议(New Radio Positioning Protocol,新空口定位协议A)。UL-TDOA定位是通过核心网的定位管理功能(Location Management Function,简称为LMF)、移动管理功能(Access and Mobility Management Function,简称为AMF)、统一数据管理(Unified Data Management,简称为UDM)等多个网元来执行位置服务业务操作。其中LMF是该定位方法中最为关键的一个网元,主要负责位置的计算并返回定位结果。
LMF并不直接和基站进行交互,而是通过AMF与基站进行交互,LMF将NRPPa协议的内容通过AMF发送给基站,同样基站将NRPPa协议的内容通过AMF返回到LMF。AMF和LMF之间交互的消息分为UE(用户设备)specific消息(以下简称UE消息)和non UE specific消息(以下简称NonUE消息)。
通常一个LMF会有多个相同的消息处理模块,各个模块相互独立,以达到负荷分担提升性能的目的。当AMF将消息发送到LMF后,LMF再将消息分发到具体的消息处理模块。UE消息中直接带有UE相关的信息,LMF可以根据UE的信息将消息分发到对应的模块,而NonUE消息中没有直接的用户信息,不能通过用户信息分发到对应的消息处理模块。
针对相关技术中NonUE消息中没有直接的用户信息,不能通过用户信息分发到对应的消息处理模块,无法保证一次完整的定位流程都在同一个定位模块的问题,尚未提出解决方案。
发明内容
本公开实施例提供了一种定位消息处理方法、装置、存储介质及电子装置,以至少解决相关技术中NonUE消息中没有直接的用户信息,不能通过用户信息分发到对应的消息处理模块,无法保证一次完整的定位流程都在同一个定位模块的问题。
根据本公开的一个实施例,提供了一种定位消息处理方法,包括:
获取接收到的定位消息的消息类型;
在所述消息类型为未携带用户信息的NonUE消息,从所述NonUE消息中获取会话号;
根据所述会话号解析出与消息处理队列对应的逻辑号;
根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
根据本公开的又一个实施例,还提供了一种定位消息处理装置,包括:
第一获取模块,设置为获取接收到的定位消息的消息类型;
第二获取模块,设置为在所述消息类型为未携带用户信息的NonUE消息,从所述NonUE消息中获取会话号;
解析模块,设置为根据所述会话号解析出与消息处理队列对应的逻辑号;
分配模块,设置为根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
根据本公开的又一个实施例,还提供了一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
根据本公开的又一个实施例,还提供了一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。
附图说明
图1是本公开实施例的传输带宽分配方法的移动终端的硬件结构框图;
图2是根据本公开实施例的传输带宽分配方法的流程图;
图3是根据本公开实施例的传输带宽分配装置的框图;
图4是根据本实施例的UL-TDOA定位中NonUE消息处理的框图。
具体实施方式
下文中将参考附图并结合实施例来详细说明本公开的实施例。
需要说明的是,本公开的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。
本公开实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在移动终端上为例,图1是本公开实施例的传输带宽分配方法的移动终端的硬件结构框图,如图1所示,移动终端可以包括一个或多个(图1中仅示出一个)处理器102(处理器102可以包括但不限于微处理器MCU或可编程逻辑器件FPGA等的处理装置)和用于存储数据的存储器104,其中,上述移动终端还可以包括用于通信功能的传输设备106以及输入输出设备108。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述移动终端的结构造成限定。例如,移动终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。
存储器104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本公开实施例中的传输带宽分配方法对应的计算机程序,处理器102通过运行存储在存储器104内的计算机程序,从而执行各种功能应用以及业务链地址池切片处理,即实现上述的方法。存储器104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、 闪存、或者其他非易失性固态存储器。在一些实例中,存储器104可进一步包括相对于处理器102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。
传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括移动终端的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。
在本实施例中提供了一种运行于上述移动终端或网络架构的传输带宽分配方法,图2是根据本公开实施例的传输带宽分配方法的流程图,如图2所示,该流程包括如下步骤:
步骤S202,获取接收到的定位消息的消息类型;
本实施例中,上述步骤S202具体可以包括:接收认证管理功能AMF发送的所述定位消息;获取所述定位消息中的URL;根据所述URL确定所述定位消息的消息类型;在所述URL中包含determine-location的情况下,确定所述定位消息为定位请求消息;在所述URL中包含n2-notification的情况下,确定所述定位消息为UE消息;在所述URL中包含non-ue-n2-notification的情况下,确定所述消息为所述NonUE消息。
步骤S204,在消息类型为未携带用户信息的NonUE消息,从所述NonUE消息中获取会话号;
本实施例中,上述步骤S204具体可以包括:对NonUE消息进行解码,得到NRPPa信息;获取NRPPa信息中的会话号。
步骤S206,根据会话号解析出与消息处理队列对应的逻辑号;
步骤S208,根据逻辑号将所述定位消息分发到对应的消息处理队列中,以对定位消息进行处理。
本实施例中,上述步骤S208具体可以包括:从会话号中提取事务号;根据所述事务号将定位消息分配到对应的事务上,基于所述事务,通过所述消息处理队列对所述定位消息进行处理。
在一实施例中,所述方法还包括:若确定所述定位消息为所述定位请求消息,解码所述定位请求消息,获取所述定位请求消息中的用户信息,根据所述用户信息将所述定位消息分发到任意一个消息处理队列中,以对所述定位消息进行处理;若所述定位消息为所述UE消息,从所述URL中获取用户信息,根据所述用户信息将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
在另一实施例中,在上述步骤S208之前,所述方法还包括:在所述定位消息为TRP响应消息的情况下,以预设时间周期向所述AMF发送TRP请求消息;接收到所述TRP测量响应消息之后,从所述TRP响应消息中获取TRP信息;以预设时间周期对所述TRP信息进行缓存,并记录缓存时间。
在另一实施例中,在以预设时间周期对所述TRP信息进行缓存,并记录缓存时间之后,所述方法还包括:接收定位请求消息,并获取当前时间;判断所述当前时间与所述缓存时间的差值是否在预设时间周期内;在判断结果为是的情况下,不向所述AMF发送所述TRP请求消息;在判断结果为否的情况下,向所述AMF发送所述TRP请求消息,以便接收所述TRP测 量响应消息并更新缓存的所述TRP消息。
本实施例,在UL-TDOA定位中进行NonUE消息的分发与处理,可以解决NonUE消息无法分发到对应定位模块的问题,实现了NonUe消息的分发、缓存以及消息处理。
在收到定位消息后将NonUE消息中的NRPPa信息解码,获取NRPPa中的会话号,从会话号中解析出逻辑号;根据逻辑号将消息发送到消息处理队列上;NonUE携带的NRPPa信息主要是发送接收点(Transmission-Reception Point,简称为TRP)和测量,将TRP信息缓存到内存,TRP为周期性获取;根据NRPPa中的会话号找到对应的定位流程会话号,确保该次消息在同一个会话。本实施例中的NonUE消息具体可以是TRP响应消息或测量响应消息。
当LMF接收到AMF发送过来的消息时首先获取消息中的URL,然后根据URL判断消息的类型;当URL中包含determine-location时为定位请求消息,然后解码定位请求消息,获取消息中的用户信息,然后根据用户信息将消息分发到任意一个消息处理队列;当URL中包含n2-notification时为UE消息,然后从URL中获取用户信息,然后根据定位请求中同样的规则将消息分发到对应的消息处理队列,由于一次定位中的用户信息是一样的,因此可以根据用户信息确保将UE消息发送到同一个消息处理队列;当URL中包含non-ue-n2-notification时为NonUE消息,此时需要先解码NonUE消息,从解码后的判断NonUE消息中是否携带NRPPa的信息;当NonUE消息中有携带NRPPa消息时,解码NRPPa消息,从解码的NRPPa消息中获取并保存NRPPa的会话号Transaction ID。
Transaction ID由消息处理队列产生,由消息处理队列的逻辑号logicNo和transkey组成;根据逻辑号将本次消息发送到对应的消息处理队列。
将收到的TRP响应中的TRP信息进行缓存,由于不是每次定位请求都需要发送TRP请求,因此将TRP请求设为周期发送,周期内将TRP信息缓存在内存中;收到消息后对消息进行解码,判断为TRP响应后,从消息中获取TRP信息并保存在内存中,并记录当前保存时间t1;当收到下一次定位请求后,获取当前时间t2,然后与t1相减,判断是否在缓存周期内,如果超过缓存时间需要重新发送TRP请求,然后清除原有TRP信息并重新保存新的信息。
接收定位请求,发送和接收测量消息并进行定位计算,最后返回定位结果,消息处理队列一般会有多个,主要是为了负荷分担,防止单个消息处理队列出现性能瓶颈;发送测量请求时需要获取当前消息处理队列的逻辑号logicNo和定位流程的会话号transKey,将logicNo左移11位(对应上面描述,不做具体限定),然后加上transKey组成每次测量请求的Transaction ID,测量请求中需要的TRP信息从缓存中获取;当消息处理队列收到测量响应消息时,先解码消息获取Transaction ID,然后取Transaction ID的低11位得到transKey,根据transKey找到当前的会话;收到测量响应后从消息中获取测量结果,最后根据测量结果计算出位置。
通过本实施例,可以实现UL-TDOA的高并发处理,同时将没有携带任何UE信息的消息准确分发到对应的处理模块中去,保证流程的完整性。
根据本公开的又一个实施例,还提供了一种定位消息处理装置,图3是根据本公开实施例的传输带宽分配装置的框图,如图3所示,包括:
第一获取模块32,设置为获取接收到的定位消息的消息类型;
第二获取模块34,设置为在所述消息类型为未携带用户信息的NonUE消息,从所述NonUE 消息中获取会话号;
解析模块36,设置为根据所述会话号解析出与消息处理队列对应的逻辑号;
分配模块38,设置为根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
在一实施例中,所述第二获取模块34,还设置为对所述NonUE消息进行解码,得到NRPPa信息;获取所述NRPPa信息中的会话号。
在一实施例中,所述分配模块38,还设置为从所述会话号中提取事务号;根据所述事务号将所述定位消息分配到对应的事务上,基于所述事务,通过所述消息处理队列对所述定位消息进行处理。
在一实施例中,所述第一获取模块,还设置为接收认证管理功能AMF发送的所述定位消息;获取所述定位消息中的URL
根据所述URL确定所述定位消息的消息类型;在所述URL中包含determine-location的情况下,确定所述定位消息为定位请求消息;在所述URL中包含n2-notification的情况下,确定所述定位消息为UE消息;在所述URL中包含non-ue-n2-notification的情况下,确定所述消息为所述NonUE消息。
在一实施例中,所述装置包括:
第一分发模块,设置为若确定所述定位消息为所述定位请求消息,解码所述定位请求消息,获取所述定位请求消息中的用户信息,根据所述用户信息将所述定位消息分发到任意一个消息处理队列中,以对所述定位消息进行处理;
第二分发模块,设置为若所述定位消息为所述UE消息,从所述URL中获取用户信息,根据所述用户信息将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
在一实施例中,所述装置还包括:
第一发送模块,设置为在所述定位消息为TRP响应消息的情况下,以预设时间周期向所述AMF发送TRP请求消息;
第一接收模块,设置为接收到所述TRP测量响应消息之后,从所述TRP响应消息中获取TRP信息;
缓存模块,设置为以预设时间周期对所述TRP信息进行缓存,并记录缓存时间。
在一实施例中,所述装置还包括:
第二接收模块,设置为接收定位请求消息,并获取当前时间;
判断模块,设置为判断所述当前时间与所述缓存时间的差值是否在预设时间周期内;
第二发送模块,设置为判断结果为是的情况下,不向所述AMF发送所述TRP请求消息;在判断结果为否的情况下,向所述AMF发送所述TRP请求消息,以便接收所述TRP测量响应消息并更新缓存的所述TRP消息。
图4是根据本实施例的UL-TDOA定位中NonUE消息处理的框图,如图4所示,包括:解码模块42、消息分发模块44、缓存模块46、消息处理模块48(设置为实现上述消息处理队列的功能);
解码模块42,设置为在收到定位消息后将NonUE消息中的NRPPa信息解码,获取NRPPa中的会话号,从会话号中解析出定位模块的逻辑号;
消息分发模块44,设置为根据定位模块的逻辑号将消息发送到该模块上;
NonUE携带的NRPPa信息主要是TRP(发送接收点)和测量,缓存模块主要是将TRP信息缓存到内存,TRP为周期性获取;
消息处理模块48,设置为根据NRPPa中的会话号找到对应的定位流程会话号,确保该次消息在同一个会话。
消息解码模块42,设置为当LMF接收到AMF发送过来的消息时首先获取消息中的URL,然后根据URL判断消息的类型;当URL中包含determine-location时为定位请求消息,然后解码定位请求消息,获取消息中的用户信息,然后根据用户信息将消息分发到任意一个消息处理模块;当URL中包含n2-notification时为UE消息,然后从URL中获取用户信息,然后根据定位请求中同样的规则将消息分发到对应的消息处理模块,由于一次定位中的用户信息是一样的,因此可以根据用户信息确保将UE消息发送到同一个消息处理模块;当URL中包含non-ue-n2-notification时为NonUE消息,此时需要先解码NonUE消息,从解码后的判断NonUE消息中是否携带NRPPa的信息;当NonUE消息中有携带NRPPa消息时,解码NRPPa消息,从解码的NRPPa消息中获取并保存NRPPa的会话号Transaction ID。
消息分发模块44,设置为解析从解码模块中保存的Transaction ID,Transaction ID由消息处理模块产生,由消息处理模块的逻辑号logicNo和transkey组成;根据逻辑号将本次消息发送到对应的消息处理模块48或缓存模块46。
缓存模块46,设置为将收到的TRP响应中的TRP信息进行缓存,由于不是每次定位请求都需要发送TRP请求,因此将TRP请求设为周期发送,周期内将TRP信息缓存在内存中;收到消息后对消息进行解码,判断为TRP响应后,从消息中获取TRP信息并保存在内存中,并记录当前保存时间t1;当收到下一次定位请求后,获取当前时间t2,然后与t1相减,判断是否在缓存周期内,如果超过缓存时间需要重新发送TRP请求,然后清除原有TRP信息并重新保存新的信息。
消息处理模块48,设置为接收定位请求,发送和接收测量消息并进行定位计算,最后返回定位结果,消息处理模块一般会有多个,主要是为了负荷分担,防止单个模块出现性能瓶颈;发送测量请求时需要获取当消息模块48的逻辑号logicNo和定位流程的会话号transKey,将logicNo左移11位(对应上面描述,不做具体限定),然后加上transKey组成每次测量请求的Transact ion ID,测量请求中需要的TRP信息从缓存模块46获取;当消息处理模块48收到分发模块发送的测量响应消息时,先解码消息获取Transaction ID,然后取Transaction ID的低11位得到transKey,根据transKey找到当前的会话;收到测量响应后从消息中获取测量结果,最后根据测量结果计算出位置。
本公开的实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。
本公开的实施例还提供了一种电子装置,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。
在一个示例性实施例中,上述电子装置还可以包括传输设备以及输入输出设备,其中, 该传输设备和上述处理器连接,该输入输出设备和上述处理器连接。
本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。
显然,本领域的技术人员应该明白,上述的本公开的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本公开不限制于任何特定的硬件和软件结合。
以上所述仅为本公开的优选实施例而已,并不用于限制本公开,对于本领域的技术人员来说,本公开可以有各种更改和变化。凡在本公开的原则之内,所作的任何修改、等同替换、改进等,均应包含在本公开的保护范围之内。

Claims (10)

  1. 一种定位消息处理方法,包括:
    获取接收到的定位消息的消息类型;
    在所述消息类型为未携带用户信息的NonUE消息,从所述NonUE消息中获取会话号;
    根据所述会话号解析出与消息处理队列对应的逻辑号;
    根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
  2. 根据权利要求1所述的方法,其中,从所述NonUE消息中获取会话号包括:
    对所述NonUE消息进行解码,得到NRPPa信息;
    获取所述NRPPa信息中的会话号。
  3. 根据权利要求1所述的方法,其中,根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理包括:
    从所述会话号中提取事务号;
    根据所述事务号将所述定位消息分配到对应的事务上,基于所述事务,通过所述消息处理队列对所述定位消息进行处理。
  4. 根据权利要求1所述的方法,其中,获取定位消息的消息类型包括:
    接收认证管理功能AMF发送的所述定位消息;
    获取所述定位消息中的统一资源定位符URL;
    根据所述URL确定所述定位消息的消息类型;
    在所述URL中包含determine-location的情况下,确定所述定位消息为定位请求消息;
    在所述URL中包含n2-notification的情况下,确定所述定位消息为UE消息;
    在所述URL中包含non-ue-n2-notification的情况下,确定所述消息为所述NonUE消息。
  5. 根据权利要求4所述的方法,其中,所述方法还包括:
    若确定所述定位消息为所述定位请求消息,解码所述定位请求消息,获取所述定位请求消息中的用户信息,根据所述用户信息将所述定位消息分发到任意一个消息处理队列中,以对所述定位消息进行处理;
    若所述定位消息为所述UE消息,从所述URL中获取用户信息,根据所述用户信息将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
  6. 根据权利要求1至5中任一项所述的方法,其中,在根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理之前,所述方法还包括:
    在所述定位消息为TRP响应消息的情况下,以预设时间周期向所述AMF发送TRP请求消息;
    接收到所述TRP测量响应消息之后,从所述TRP响应消息中获取TRP信息;
    以预设时间周期对所述TRP信息进行缓存,并记录缓存时间。
  7. 根据权利要求6所述的方法,其中,在以预设时间周期对所述TRP信息进行缓存,并记录缓存时间之后,所述方法还包括:
    接收定位请求消息,并获取当前时间;
    判断所述当前时间与所述缓存时间的差值是否在预设时间周期内;
    在判断结果为是的情况下,不向所述AMF发送所述TRP请求消息;
    在判断结果为否的情况下,向所述AMF发送所述TRP请求消息,以便接收所述TRP测量响应消息并更新缓存的所述TRP消息。
  8. 一种定位消息处理装置,包括:
    第一获取模块,设置为获取接收到的定位消息的消息类型;
    第二获取模块,设置为在所述消息类型为未携带用户信息的NonUE消息,从所述NonUE消息中获取会话号;
    解析模块,设置为根据所述会话号解析出与消息处理队列对应的逻辑号;
    分配模块,设置为根据所述逻辑号将所述定位消息分发到对应的消息处理队列中,以对所述定位消息进行处理。
  9. 一种计算机可读的存储介质,所述存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行所述权利要求1至7任一项中所述的方法。
  10. 一种电子装置,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行所述权利要求1至7任一项中所述的方法。
PCT/CN2023/093616 2022-06-24 2023-05-11 一种定位消息处理方法、装置、存储介质及电子装置 WO2023246361A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202210734119.6 2022-06-24
CN202210734119.6A CN117320147A (zh) 2022-06-24 2022-06-24 一种定位消息处理方法、装置、存储介质及电子装置

Publications (1)

Publication Number Publication Date
WO2023246361A1 true WO2023246361A1 (zh) 2023-12-28

Family

ID=89236052

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2023/093616 WO2023246361A1 (zh) 2022-06-24 2023-05-11 一种定位消息处理方法、装置、存储介质及电子装置

Country Status (2)

Country Link
CN (1) CN117320147A (zh)
WO (1) WO2023246361A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586742A (zh) * 2019-02-15 2020-08-25 华为技术有限公司 一种定位信息上报的方法及装置
US20210274458A1 (en) * 2020-02-27 2021-09-02 Qualcomm Incorporated Support of control plane positioning methods with a user plane location solution
CN113474679A (zh) * 2019-03-19 2021-10-01 瑞典爱立信有限公司 获得和提供定位辅助数据
WO2022084944A1 (en) * 2020-10-22 2022-04-28 Telefonaktiebolaget Lm Ericsson (Publ) Configuration of periodic ue ul grant reporting over nrppa
CN114531641A (zh) * 2020-10-31 2022-05-24 华为技术有限公司 一种通信方法及通信装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111586742A (zh) * 2019-02-15 2020-08-25 华为技术有限公司 一种定位信息上报的方法及装置
CN113474679A (zh) * 2019-03-19 2021-10-01 瑞典爱立信有限公司 获得和提供定位辅助数据
US20210274458A1 (en) * 2020-02-27 2021-09-02 Qualcomm Incorporated Support of control plane positioning methods with a user plane location solution
WO2022084944A1 (en) * 2020-10-22 2022-04-28 Telefonaktiebolaget Lm Ericsson (Publ) Configuration of periodic ue ul grant reporting over nrppa
CN114531641A (zh) * 2020-10-31 2022-05-24 华为技术有限公司 一种通信方法及通信装置

Also Published As

Publication number Publication date
CN117320147A (zh) 2023-12-29

Similar Documents

Publication Publication Date Title
US11399293B2 (en) System and method of network policy optimization
US10083021B2 (en) Method and apparatus for providing firmware over the air service to user equipments
WO2018170798A1 (zh) 一种会话迁移方法及设备
JP7239599B2 (ja) 通信方法及び通信装置
EP3970344B1 (en) Cache management in content delivery systems
US20230292315A1 (en) Method and device for obtaining scheduled throughput, base station, and storage medium
US20160021188A1 (en) Generic Network Trace with Distributed Parallel Processing and Smart Caching
WO2018153289A1 (zh) Sla分解方法、设备以及系统
EP3266259B1 (en) Enable access point availability prediction
US20150263910A1 (en) Data collection method, mobile terminal and data storage device
US8958798B2 (en) Radio access network, base station, and data transfer method
WO2023246361A1 (zh) 一种定位消息处理方法、装置、存储介质及电子装置
US9215616B2 (en) Base station device, data transmission control method, and data transmission control system
CN106792895B (zh) 一种确定数据包大小的方法及设备
CN110708293B (zh) 多媒体业务的分流方法和装置
CN113949705A (zh) 通信方法和通信装置
US20220030508A1 (en) Apparatus, method, and computer program
CN109766347B (zh) 一种数据更新方法、装置、系统、计算机设备及存储介质
CN113783963B (zh) 数据传输方法、服务器节点、网关设备、网络系统
WO2018126999A1 (zh) 传输数据的方法、终端设备和网络侧设备
US11647356B2 (en) Proximity positioning
CN116210292A (zh) 信息传输方法及相关设备
US11122502B2 (en) Access point fit
CN115665042B (zh) 数据处理方法、装置、用户平面功能实体及存储介质
JP7394198B1 (ja) 配信サーバ、配信サーバの制御方法、及び配信サーバの制御プログラム

Legal Events

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

Ref document number: 23826011

Country of ref document: EP

Kind code of ref document: A1