Method and apparatus for training positioning model, and method and apparatus for positioning

By using the positioning model trained by the channel impulse response signal and combining the line-of-sight type information, the problem of low positioning accuracy in the 5G network environment is solved, and higher-precision terminal equipment positioning is achieved, especially in non-line-of-sight situations.

WO2024221283A1PCT designated stage expired Publication Date: 2024-10-31QUECTEL WIRELESS SOLUTIONS CO LTD

Patent Information

Application Number
PCT/CN2023/090917
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Filing Date
2023-04-26
Publication Date
2024-10-31

AI Technical Summary

Technical Problem

In the 5G network environment, how to achieve more accurate positioning of the communication system, especially when the line of sight type between the terminal device and the communication device is uncertain, it is difficult for the existing technology to provide high-precision positioning results.

Method used

By acquiring the channel impulse response (CIR) signal, the positioning model based on the CNN or KNN model is trained, and the positioning model is trained and applied based on the line-of-sight type information to improve the positioning accuracy.

Benefits of technology

The positioning model trained based on a large amount of CIR data can significantly improve the accuracy of positioning results, especially in non-line-of-sight situations, which can effectively avoid the reduction of positioning accuracy and provide more accurate terminal device location information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023090917_31102024_PF_FP_ABST
    Figure CN2023090917_31102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a method for training a positioning model, a method for positioning, an apparatus for training a positioning model, and an apparatus for positioning. The method for training a positioning model comprises: acquiring a first channel impulse response (CIR), the first CIR being obtained on the basis of a measurement of a reference signal of a first reference point; combining the first CIR and a first position label to form first label data; and training a positioning model on the basis of the first label data, wherein the reference signal is used for positioning, the reference signal is sent or received by one or more communication devices, and the one or more communication devices comprise a first communication device. In a 5G communication system, a CIR of a reference signal is easy to collect. Therefore, a large amount of CIR data can be acquired. On the basis of the large amount of CIR data, a more accurate positioning model can be obtained by means of training. That is to say, when the positioning model is used to perform positioning, the accuracy of an obtained positioning result will be greatly improved.
Need to check novelty before this filing date? Find Prior Art

Description

Method and device for training positioning model, method and device for positioning Technical Field

[0001] The present application relates to the field of communication technology, and more particularly, to a method for training a positioning model, a method for positioning, a device for training a positioning model, and a device for positioning. Background Art

[0002] With the development of communication technology and the widespread deployment of 5G network equipment, the 5G-A era has arrived. In many environments, terminal devices can easily access 5G networks. How to achieve more accurate positioning in communication systems is an urgent problem that needs to be solved.

[0003] Summary of the Invention

[0004] The present application provides a method for training a positioning model, a method for positioning, an apparatus for training a positioning model, and an apparatus for positioning. The following introduces various aspects of the present application.

[0005] In a first aspect, a method for training a positioning model is provided, comprising: obtaining a first channel impulse response (CIR), where the first CIR is obtained based on a measurement of a reference signal of a first reference point; merging the first CIR and the first location tag to form first tag data; and training the positioning model based on the first tag data; wherein the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, where the one or more communication devices include a first communication device.

[0006] In some embodiments, the first location tag includes one or more of the following information: a line-of-sight type between the first reference point and the first communication device; and location coordinates of the first reference point.

[0007] In some embodiments, the line-of-sight type is determined based on one or more of the following information: a distance between the first reference point and the first communication device; and a first arrival time of the reference signal reaching the first communication device.

[0008] In some embodiments, In the case of , the line of sight type is line of sight; and / or in the case of In the case of , the line-of-sight type is non-line-of-sight; where c is the speed of light, is the first arrival time, is the first threshold, is the second threshold, is the distance from the first reference point to the first communication device, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0009] In some embodiments, the first threshold satisfy and / or the second threshold satisfy Among them, t s is the sampling time interval of the reference signal.

[0010] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0011] In some embodiments, the method further includes: performing truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0012] In some embodiments, the method further comprises: Perform row-column conversion to obtain a CIR image; wherein the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0013] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0014] In a second aspect, a method for positioning is provided, comprising: obtaining a first CIR, where the first CIR is obtained based on measurement of a reference signal of a test point; inputting the first CIR into a positioning model to obtain first location information; wherein the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

[0015] In some embodiments, the first location information includes one or more of the following information: a line-of-sight type between the test point and the first communication device; and a similarity probability between the locations corresponding to the test point and the first reference point.

[0016] In some embodiments, the test point is located in a first area, the first area includes multiple reference points, the multiple reference points include the first reference point, and the position coordinates of the test point are determined based on the following information: the similarity probability between the test point and the multiple reference points; the position coordinates of the multiple reference points.

[0017] In some embodiments, the position coordinate L of the test point satisfies: Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point, p k is the similarity probability between the test point and the position corresponding to the kth reference point.

[0018] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the test point, and a is the identifier of the first communication device.

[0019] In some embodiments, the method further includes: performing truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0020] In some embodiments, the method further comprises: Perform row-column conversion to obtain CIR image;

[0021] The CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0022] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0023] In a third aspect, a device for training a positioning model is provided, comprising: a first acquisition unit for acquiring a first channel impulse response CIR, wherein the first CIR is obtained based on the measurement of a reference signal of a first reference point; a merging unit for merging the first CIR and the first location tag to form first tag data; a training unit for training the positioning model based on the first tag data; wherein the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

[0024] In some embodiments, the first location tag includes one or more of the following information: a line-of-sight type between the first reference point and the first communication device; and location coordinates of the first reference point.

[0025] In some embodiments, the line-of-sight type is determined based on one or more of the following information: a distance between the first reference point and the first communication device; and a first arrival time of the reference signal reaching the first communication device.

[0026] In some embodiments, In the case of , the line of sight type is line of sight; and / or in the case of In the case of , the line-of-sight type is non-line-of-sight; where c is the speed of light, is the first arrival time, is the first threshold, is the second threshold, is the distance from the first reference point to the first communication device, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0027] In some embodiments, the first threshold satisfy and / or the second threshold satisfy Among them, t s is the sampling time interval of the reference signal.

[0028] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0029] In some embodiments, the apparatus further comprises: a first truncation unit configured to perform truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0030] In some embodiments, the device further comprises: a first conversion unit for converting the matrix Perform row-column conversion to obtain a CIR image; wherein the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0031] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0032] In a fourth aspect, a device for positioning is provided, comprising: a second acquisition unit, for acquiring a first CIR, wherein the first CIR is obtained based on the measurement of a reference signal of a test point; a processing unit, for inputting the first CIR into a positioning model to obtain first location information; wherein the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

[0033] In some embodiments, the first location information includes one or more of the following information: a line-of-sight type between the test point and the first communication device; and a similarity probability between the locations corresponding to the test point and the first reference point.

[0034] In some embodiments, the test point is located in a first area, the first area includes multiple reference points, the multiple reference points include the first reference point, and the position coordinates of the test point are determined based on the following information: the similarity probability between the test point and the multiple reference points; the position coordinates of the multiple reference points.

[0035] In some embodiments, the position coordinate L of the test point satisfies: Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point, p k is the similarity probability between the test point and the position corresponding to the kth reference point.

[0036] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the test point, and a is the identifier of the first communication device.

[0037] In some embodiments, the apparatus further comprises: a second truncation unit configured to perform truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0038] In some embodiments, the device further comprises: a second conversion unit for converting the matrix Perform row-column conversion to obtain a CIR image; wherein the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0039] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0040] In a fifth aspect, a device is provided, comprising a processor and a memory, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the terminal device executes part or all of the steps in the method of the first aspect and / or the second aspect.

[0041] In the sixth aspect, a device is provided, comprising a processor, a memory, and a transceiver, wherein the memory is used to store one or more computer programs, and the processor is used to call the computer program in the memory so that the network device executes part or all of the steps in the method of the first aspect and / or the second aspect.

[0042] In a seventh aspect, an embodiment of the present application provides a communication system, which includes the aforementioned apparatus for training a positioning model and / or apparatus for positioning. In another possible design, the system may further include other devices that interact with the apparatus for training a positioning model or apparatus for positioning in the solution provided in the embodiment of the present application.

[0043] In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program, and the computer program enables the device for training the positioning model and / or the device for positioning to perform some or all of the steps in the methods of the above aspects.

[0044] In a ninth aspect, embodiments of the present application provide a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, wherein the computer program is operable to cause an apparatus for training a positioning model and / or an apparatus for positioning to perform some or all of the steps of the methods described in each of the above aspects. In some implementations, the computer program product may be a software installation package.

[0045] In the tenth aspect, an embodiment of the present application provides a chip, which includes a memory and a processor. The processor can call and run a computer program from the memory to implement some or all of the steps described in the methods of the above aspects.

[0046] In 5G communication systems, the CIR of reference signals is easily collected. Therefore, a large amount of CIR data can be obtained. This large amount of CIR data can be used to train a more accurate positioning model. This means that when this positioning model is used for positioning, the accuracy of the positioning results will be significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] FIG1 is a schematic diagram of a wireless communication system used in an embodiment of the present application.

[0048] FIG2 is an example diagram of a scenario in which an embodiment of the present application is applied.

[0049] FIG3 is a schematic flowchart of a method for training a positioning model provided in an embodiment of the present application.

[0050] FIG4 is a schematic flowchart of a positioning method provided in an embodiment of the present application.

[0051] FIG5 is a schematic flow chart of the method provided in Example 1 of the present application.

[0052] FIG6 is a schematic flow chart of the method provided in Example 2 of the present application.

[0053] FIG7 is a schematic structural diagram of a device for training a positioning model provided in an embodiment of the present application.

[0054] FIG8 is a schematic structural diagram of a device for positioning provided in an embodiment of the present application.

[0055] FIG9 is a schematic structural diagram of a device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0056] The technical solution in this application will be described below with reference to the accompanying drawings.

[0057] Communication System

[0058] Figure 1 illustrates a wireless communication system 100 used in an embodiment of the present application. The wireless communication system 100 may include a network device 110 and a terminal device 120. The network device 110 may be a device that communicates with the terminal device 120. The network device 110 may provide communication coverage for a specific geographic area and may communicate with the terminal device 120 within the coverage area.

[0059] FIG1 exemplarily shows a network device and two terminals. Optionally, the wireless communication system 100 may include multiple network devices and each network device may include other numbers of terminal devices within its coverage area, which is not limited in the embodiments of the present application.

[0060] Optionally, the wireless communication system 100 may further include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiment of the present application.

[0061] It should be understood that the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: fifth generation (5G) system or new radio (NR), long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), etc. The technical solutions provided in this application can also be applied to future communication systems, such as the sixth generation mobile communication system, satellite communication system, etc.

[0062] The terminal device in the embodiments of the present application may also be referred to as user equipment (UE), access terminal, user unit, user station, mobile station, mobile station (MS), mobile terminal (MT), remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device. The terminal device in the embodiments of the present application may refer to a device that provides voice and / or data connectivity to a user and can be used to connect people, objects and machines, such as a handheld device with wireless connection function, a vehicle-mounted device, etc. The terminal device in the embodiments of the present application can be a mobile phone, a tablet computer, a laptop computer, a PDA, a mobile internet device (MID), a wearable device, a virtual reality (VR) device, an augmented reality (AR) device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical surgery, a wireless terminal in a smart grid, a wireless terminal in transportation safety, a wireless terminal in a smart city, a wireless terminal in a smart home, etc. Optionally, the UE can be used to act as a base station. For example, the UE can act as a scheduling entity that provides sidelink signals between UEs in vehicle-to-everything (V2X) or device-to-device (D2D). For example, a cellular phone and a car communicate with each other using sidelink signals. The cellular phone and smart home devices communicate without relaying the communication signal through a base station.

[0063] The network device in the embodiments of the present application may be a device for communicating with a terminal device. The network device may also include an access network device. The access network device may also be referred to as a radio access network device or a base station. The access network device in the embodiments of the present application may refer to a radio access network (RAN) node (or device) that connects a terminal device to a wireless network. Access network equipment can broadly cover various names as follows, or replace the following names, such as: NodeB, evolved NodeB (eNB), next generation NodeB (gNB), relay station, access point, transmitting and receiving point (TRP), transmitting point (TP), master eNB (MeNB), secondary eNB (SeNB), multi-standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. The base station can be a macro base station, a micro base station, a relay node, a donor node, or the like, or a combination thereof. A base station may also refer to a communication module, modem, or chip used to be set in the aforementioned device or apparatus. A base station may also be a mobile switching center and a device that performs base station functions in D2D, V2X, and machine-to-machine (M2M) communications, a network-side device in a 6G network, or a device that performs base station functions in future communication systems. A base station may support networks with the same or different access technologies. The embodiments of this application do not limit the specific technology and specific device form used by the access network device.

[0064] Base stations can be fixed or mobile. For example, a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move based on the location of the mobile base station. In other examples, a helicopter or drone can be configured to act as a device that communicates with another base station.

[0065] In some deployments, the network device in the embodiments of the present application may refer to a CU or a DU, or the network device may include a CU and a DU. The gNB may also include an AAU.

[0066] The network equipment and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on the water; they can also be deployed in the air on aircraft, balloons, and satellites. The embodiments of this application do not limit the scenarios in which the network equipment and terminal devices are located.

[0067] The communication equipment involved in the wireless communication system may include not only access network equipment and terminal equipment, but also core network equipment. The core network equipment may also be a type of network equipment.

[0068] The core network equipment in the embodiment of the present application may include equipment that processes and forwards user signaling and data. For example, the core network equipment may include a core network access and mobility management function (AMF), a session management function (SMF), and core network equipment such as a user plane gateway and a positioning server. Among them, the user plane gateway may be a server with functions such as mobility management, routing, and forwarding of user plane data, generally located on the network side, such as a serving gateway (SGW) or a packet data network gateway (PGW) or a user plane function entity (UPF). AMF and SMF can be equivalent to the mobility management entity (MME) in the LTE system. AMF is mainly responsible for access, and SMF is mainly responsible for session management. Of course, the core network may also include other network elements, which are not listed here one by one.

[0069] The positioning server has a positioning function. The positioning server involved in the embodiments of the present application may include a location management function (LMF) or a location management component (LMC), or may be a local location management function (LLMF) located in a network device, which is not limited in the embodiments of the present application. In some embodiments, the positioning server may also be referred to as a location management device.

[0070] It should be understood that all or part of the functions of the communication device in this application can also be implemented through software functions running on hardware, or through virtualization functions instantiated on a platform (such as a cloud platform).

[0071] Positioning technology

[0072] Location-based services (such as navigation and positioning) are gaining widespread attention in communication systems. In wireless positioning systems, the location of a mobile terminal device can be estimated by mapping signal characteristics to spatial locations. Positioning methods can be based on one or more of the following methods: ranging, angle, proximity, and fingerprinting. These methods are described below.

[0073] For ranging-based positioning, a geometric body (such as a circle or hyperbola) can be constructed based on the distance from the terminal device to at least three network devices. Furthermore, the positioning result can be obtained by calculating the intersection between the geometric bodies. Time of arrival (TOA) and time difference of arrival (TDOA) are commonly used signal features in ranging-based positioning methods. Ranging positioning methods based on received signal strength (RSS) require fitting a path loss model.

[0074] For angle-based positioning, the position of the terminal device can be estimated by calculating the angle of arrival (AOA) of at least two input signals.

[0075] For proximity-based positioning, the range covered by the network device with the strongest RSS received by the terminal device can be used as the terminal device's location. The range covered by the network device is usually large, so this method is simple but has low positioning accuracy.

[0076] Fingerprint-based positioning divides an area into multiple reference points. By leveraging environmental characteristics, the location of the reference point with the most similar characteristics can be used as the estimated location of the terminal device. Available signal features include RSS. Fingerprint-based positioning requires collecting positioning data for each reference point to form a fingerprint. This means that the accuracy of the fingerprint depends largely on the adequacy of the dataset. Furthermore, compared to ranging-based positioning methods, fingerprints have lower hardware requirements. Therefore, fingerprint-based positioning methods can achieve highly accurate positioning results at the expense of training data acquisition time.

[0077] Fingerprint positioning algorithms can be divided into probabilistic algorithms and deterministic algorithms. Probabilistic algorithms can be based on statistical theories such as maximum likelihood estimation (MLE) and / or Bayesian criterion, and according to the probability density distribution of signal strength, the reference point with the highest probability (i.e., fingerprint) is used as the estimated position of the user terminal. Deterministic algorithms can be divided into two types, one is an algorithm that does not require a training model, and the other is an algorithm that requires a training model. Algorithms that do not require a training model are represented by K-nearest neighbors (KNN) and weighted K-nearest neighbors (WKNN). Algorithms that require a training model can be implemented based on one or more of the following models: support vector machine (SVM), deep neural network (DNN), and convolutional neural network (CNN).

[0078] With the development of communication technology, 5G network equipment has been widely deployed, ushering in the 5G-A era. In many environments, terminal devices can easily access 5G networks. How to achieve more accurate positioning in communication systems is an urgent problem that needs to be solved.

[0079] To address the above issues, this application proposes a positioning method. The positioning method provided in this application can obtain a positioning model based on the channel impulse response (CIR) of a reference signal in a communication system. The positioning model can realize the positioning of terminal devices within the area to be positioned.

[0080] The positioning model can be an artificial intelligence (AI) model. Alternatively, the positioning model can be a machine learning (ML) model. That is to say, the present application can implement positioning based on AI / ML. The AI ​​model may include, for example, a CNN model, a DNN model, or a KNN model. The present application does not limit the specific structure and parameters of the AI ​​model. Taking the CNN model as an example, the CNN model may include an input layer, a convolutional layer, a pooling layer, a fully connected layer, and a softmax layer connected in sequence. The parameters of the AI ​​model can be obtained, for example, by analyzing the experimental results.

[0081] The positioning method may include two stages: an offline stage and an online stage.

[0082] The offline phase allows for the construction of a positioning model. If the positioning model is an AI model, this can be achieved through learning or training. Therefore, the offline phase can also be referred to as the training phase or the learning phase.

[0083] In the offline phase, a positioning model can be constructed using the first CIR. The first CIR can be obtained based on the measurement of a reference signal (RS). The first CIR can be obtained by measuring the reference signal transmitted at the first reference point. That is, the first CIR can refer to the measured value of the CIR of the reference signal sent or received at the first reference point. Correspondingly, the CIRs of multiple reference points can be CIRs measured by sending or receiving reference signals at multiple reference points.

[0084] It should be noted that the first reference point can belong to multiple reference points. Multiple reference points can be taken from the area to be positioned. This application does not limit the method of selecting multiple reference points. For example, reference points can be evenly selected within the positioning area.

[0085] The positioning model can be used to determine the location information of the terminal device. Therefore, the location information of the first reference point (i.e., the actual location information of the first reference point) is used as a label, and based on the first CIR and the location information of the first reference point, the positioning model can be trained (constructed). It can be understood that the more training data used to train the positioning model, the higher the accuracy of the positioning model. Therefore, the training data can also include other data, that is, the training data not only includes the first CIR and the location information of the first reference point, but also includes the CIR of other reference points and the location information of other reference points. For example, the location information of some or all of the reference points in a plurality of reference points can be composed into a fingerprint library, and the positioning model can be trained through the fingerprint library. Among them, some or all of the reference points in the plurality of reference points can include the first reference point. In some embodiments, a relatively ideal positioning model can be obtained after simulation.

[0086] During the online phase, test data can be used to locate the test point where the terminal device is located. The test point can be a location within the area to be tested. In other words, when the test point where the terminal device is located is within the area to be located, the location information of the test point can be determined using the positioning model. For example, the test data can include the CIR of the test point. That is, at the test point, the CIR can be measured and the location information of the test point can be obtained based on the CIR.

[0087] It is understandable that the online phase can be a phase in which the positioning model is used. Therefore, the online phase can be referred to as a positioning phase.

[0088] It should be noted that the area to be positioned may be an area to which the above positioning model can be applied or an effective area of ​​the positioning model. The area to be positioned may be located indoors.

[0089] In some communication systems (such as 5G systems), the CIR of reference signals is easily collected. Therefore, a large amount of CIR data can be obtained. Based on this large amount of CIR data, the positioning model constructed can be made more accurate. This positioning model significantly improves positioning accuracy.

[0090] The following describes the input and output data of the positioning model.

[0091] The input of the positioning model can be a first CIR. In the offline phase, the first CIR can be obtained based on the measurement of the reference signal of the first reference point. For example, the CIR measurement values ​​of the reference signal can be collected using a terminal device at some or all reference points in the area to be positioned. The first CIR can be any one of the multiple CIR measurement values ​​collected. In the online phase, the first CIR can be obtained based on the measurement of the reference signal of the test point. For example, a test point can be randomly selected in the area to be positioned, and the first CIR of the reference signal can be collected using a terminal device.

[0092] It should be noted that the reference signal in this application may be a reference signal used for positioning. For example, the reference signal may be one or more of the following signals: a sounding reference signal (SRS) used for positioning, a positioning reference signal (PRS), etc.

[0093] A reference signal (or reference signal sequence) may be sent or received by one or more communication devices. The one or more communication devices may include a first communication device. The first communication device may be used to locate a terminal device to be located. For example, the first communication device may include a base station that sends a reference signal. As an implementation, the base station may send a reference signal, and the terminal device may receive the reference signal. The terminal device may measure the reference signal to obtain a first CIR. The terminal device may transmit the measured first CIR back to a positioning server. The positioning server may perform settlement based on the first CIR using a positioning model.

[0094] It should be noted that the present application does not limit the type of the first communication device. For example, the first communication device may be a base station that receives a reference signal, or the first communication device may be another terminal device that performs sideline communication with the terminal device to be located.

[0095] This application does not limit the method for representing the first CIR. The following description takes the representation of the first CIR by a matrix as an example.

[0096] In some embodiments, the first CIR can be represented as a matrix It can be expressed as:

[0097] Where N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, and a represents the identifier of the first communication device. In the offline phase, b represents the identifier of the first reference point; in the online phase, b represents the identifier of the test point.

[0098] It is understood that multipath effects may exist between the reference signal transmitter and the receiver. Therefore, the receiver can perform multiple samplings to fully represent the first CIR. The number of sampling points corresponding to the multiple samplings can be N as described above. N can be a positive integer. For example, N can be equal to 4096.

[0099] In some embodiments, the first CIR may be preprocessed to obtain a processed first CIR. Inputting the processed first CIR into the positioning model may simplify the processing of the positioning model, thereby improving the processing efficiency of the positioning model.

[0100] In some embodiments, preprocessing may include, for example, truncation. Truncation may include reducing the number of sampling points in the first CIR. For example, sampling points close to 0 in the first CIR may be deleted, or sampling points with little data impact may be deleted, thereby reducing the number of sampling points in the first CIR. Truncation can reduce the amount of data in the first CIR, thereby simplifying the computational complexity of the positioning model and improving the processing efficiency of the positioning model.

[0101] The first CIR is expressed as a matrix For example, after truncating the first CIR, the processed first CIR can be expressed as a matrix It can be expressed as:

[0102] Wherein, M is a value less than N. M can be, for example, 256. It is understood that, You can only keep The first M rows of data. The value of M can be determined based on The number of sampling points that affect positioning is determined by M. For example, M can be 256.

[0103] In some embodiments, preprocessing may include row-column conversion. For example, the matrix Perform row-column conversion to obtain the CIR image. The CIR image can be represented as a matrix It can be expressed as:

[0104] Here, u may represent the number of sampling points corresponding to the first CIR after processing, and 2u×v+1 may represent the number of points in the data set.

[0105] It should be noted that after the row-column conversion, if there are insufficient elements in the matrix, they can be filled with elements 0. For example, If the last two elements of the last row in the , are insufficient, they can be filled with element 0. Or, The last two elements in the last row can also be filled with other elements.

[0106] It should be noted that the above This is just an example. The last two elements of the last row can be present, that is, no padding is required.

[0107] The above section explains the input of the positioning model in detail. The following section explains the output of the positioning model.

[0108] The output of the positioning model may be the first location information. The first location information may correspond to the first CIR. The location point corresponding to the first location information may be a first reference point or a test point. That is, when the first CIR is the CIR of the first reference point, the first location information may be the location information of the first reference point; when the first CIR is the CIR of the test point, the first location information may be the location information of the test point. In the online stage, after the first CIR is input into the positioning model, the positioning model may be deduced to output the first location information. In the offline stage, the training data used to train the positioning model may include the first location information, that is, the first location information may be used as a label to train the positioning model. Therefore, in the offline stage, the first location information may also be referred to as the first location label. The following mainly provides an exemplary description of the first location information, and the first location label may refer to the description of the first location information.

[0109] The first location information may include any information related to the location. In some embodiments, the first location information may include one or more of the following information: the type of line of sight between the location point corresponding to the first location information and the first communication device, and the location coordinates of the location point corresponding to the first location information.

[0110] The area to be located can be represented by an area in a coordinate system, and the position coordinates can be represented by coordinate points in the coordinate system. For example, the position coordinates can be represented as (x b ,y b ). Where x b Can represent the x-axis coordinate corresponding to the position coordinate, y bIt can represent the y-axis coordinate corresponding to the position coordinate. It can be understood that when the first position information includes the position coordinate, the positioning model can be used to determine the specific coordinates of the terminal device, that is, the positioning model can be directly used for positioning.

[0111] As an implementation method, the positioning model can output the similarity between the test point and the first reference point, and determine the position coordinates of the test point through the similarity. That is, the present application transforms the positioning problem into a problem of the similarity between the test point and the positions of the reference points. In the case where the area to be positioned includes multiple reference points, the positioning model can output the similarity between the test point and the multiple reference points. The similarity can be represented by a similarity probability. The similarity probability of the position corresponding to the test point and the first reference point can be used to represent the probability that the test point is at the position where the first reference point is located. For example, among K reference points, the similarity between the test point and the kth reference point can be represented as a probability p k .

[0112] In some embodiments, position points with high similarity can be classified into the same category. For example, the location coordinates L of the test point can be obtained by a probability weighted centroid algorithm. The probability weighted centroid algorithm can be implemented by the following formula: Among them, (x k ,y k ) is the coordinate of the kth reference point. For example, if the area to be located includes two reference points with coordinates a and b, and the probability that the test point is similar to reference point a is 10%, and the probability that the test point is similar to reference point b is 90%, then the coordinates of the reference point can be 0.1a+0.9b.

[0113] It should be noted that in the probability-weighted centroid algorithm, the K reference points can be some or all of the reference points in the area to be located. For example, the K reference points can be a subset of those with a high degree of similarity to the test point. As an implementation method, the reference points output by the positioning model can be sorted by similarity probability, and the top K reference points with the highest similarity probability can be selected as the reference points for the probability-weighted centroid algorithm.

[0114] It is understandable that if the reference point's coordinates are directly used as the test point's coordinates, the test point's coordinates can only be those of a specific reference point. However, the test point's coordinates obtained using the probability-weighted centroid algorithm can be any coordinate point within the area to be located. Therefore, the probability-weighted centroid algorithm proposed in this application can obtain a more precise location, thereby improving positioning accuracy.

[0115] Line of sight types can be divided into non-line of sight (NLOS) and line of sight (LOS). Line of sight may refer to the ability of the terminal device to be located and the first communication device to observe each other visually or with visual aids. Non-line of sight may refer to the inability of the terminal device to be located and the first communication device to observe each other visually or with visual aids. Figure 2 shows an example diagram of line of sight and non-line of sight. As shown in Figure 2, terminal device 121 is the terminal device to be located. Terminal device 121 is located in room 1. Network device 111 and network device 112 are both located in room 1. Since they are located in the same room and network device 111 or network device 112 and terminal device 121 can visually observe each other, the line of sight type between network device 111 and terminal device 121 can be line of sight, and the line of sight type between network device 112 and terminal device 121 can be line of sight. Network device 113 is located in room 2. Since Room 1 and Room 2 are separated by a wall, it is difficult for the network device 113 and the terminal device 121 to visually observe each other, and the line-of-sight type between the network device 113 and the terminal device 121 may be non-line-of-sight.

[0116] In some embodiments, the inability to determine the line-of-sight type may result in an inability to accurately calculate the positioning position. For example, for non-line-of-sight, positioning based on the corresponding reference signal may reduce the accuracy of positioning due to reasons such as obstruction or reflection of the reference signal. Continuing with reference to FIG2 , the position of the terminal device 121 can be jointly determined by the reference signals transmitted by the network device 111, the network device 112, and the network device 113. However, due to the existence of non-line-of-sight situations, positioning combined with the positioning of the network device 113 may result in a decrease in positioning accuracy.

[0117] Based on the present application, the line-of-sight type can be determined, thereby selecting an appropriate positioning algorithm or data based on the line-of-sight type. For example, positioning can be solved without using non-line-of-sight data. Continuing with reference to Figure 2, if, based on the present application, it is determined that there is non-line-of-sight between network device 113 and terminal device 121, the reference signal transmitted by network device 113 can be ignored, and the position of the terminal device can be determined based solely on the reference signals from network devices 111 and 112. This will avoid the adverse effects of non-line-of-sight conditions on positioning, thereby improving positioning accuracy.

[0118] As can be seen from this, when the first location information includes a line-of-sight type, the positioning model can be used to determine whether the terminal device is in line-of-sight or non-line-of-sight with the first network device. Furthermore, based on the line-of-sight type, an appropriate positioning algorithm or data can be selected. In other words, based on the line-of-sight type, data or positioning algorithms can be filtered to achieve accurate positioning. In other words, in this case, the positioning model can be indirectly used for positioning.

[0119] As described above, after determining the line-of-sight type, the location coordinates of the test point can be further determined based on the line-of-sight type. This application does not limit the method for determining the location coordinates of the test point. For example, the direct positioning method described above can be used to determine the location coordinates of the test point. Alternatively, the location coordinates of the test point can be determined using a positioning algorithm such as TOA, TDOA, or path loss.

[0120] This application does not limit the representation of the sight distance type. For example, the sight distance type can be represented as Can satisfy:

[0121] As described above, in the online phase, the line-of-sight type of the test point can be determined based on the positioning model. In the offline phase, this application provides a method for determining the line-of-sight type, so that the determined line-of-sight type can be used as a label for training data, thereby realizing the training of the positioning model.

[0122] As an implementation manner, the line-of-sight type may be related to one or more of the following information: a distance between the first reference point and the first communication device, and a first arrival time of the reference signal reaching the first communication device.

[0123] The first arrival time can be the time between the sender sending the reference signal and the receiver first receiving the reference signal. For example, the first arrival time can be expressed as The distance from the first reference point to the first communication device can be expressed as

[0124] In some embodiments, In the case of , the line of sight type can be line of sight; and / or, in the case of In the case of , the line-of-sight type can be non-line-of-sight. Where c represents the speed of light, is the first threshold, is the second threshold.

[0125] It should be noted that the first threshold and the second threshold can be set flexibly. For example, the first threshold and the second threshold can both be small values ​​close to 0. As an implementation method, the first threshold or the second threshold can be c×t s Among them, t sIt can be the reference signal sampling time interval. In addition, the first threshold and the second threshold can be the same or different. In the case where the first threshold and the second threshold are the same, the method for determining the line-of-sight type can be expressed as:

[0126] It is understood that when the product of the first arrival time and the speed of light and the distance from the first reference point to the first communication device is less than a first threshold, the line-of-sight type may be line-of-sight. In other words, when the difference between the product of the first arrival time and the speed of light and the distance from the first reference point to the first communication device is small, the line-of-sight type may be line-of-sight. When the product of the first arrival time and the speed of light and the distance from the first reference point to the first communication device is greater than a second threshold, the line-of-sight type may be non-line-of-sight. In other words, when the difference between the product of the first arrival time and the speed of light and the distance from the first reference point to the first communication device is large, the line-of-sight type may be non-line-of-sight.

[0127] In the offline phase, the first CIR can be combined with the first location tag to form the first tag data. Taking the first location tag including the location coordinates of the first reference point as an example, the first tag data can be expressed as Taking the first position tag including the sight distance type as an example, the first tag data can be expressed as

[0128] For multiple reference points, the label data corresponding to each reference point can form a label data set. Taking the first location tag including the location coordinates as an example, the label data set can be expressed as F = (T xy). Taking the first location tag including the line-of-sight type as an example, the label data set can be expressed as F = (TG). Since the label data set is determined based on the reference points, the label data set can also be called a fingerprint library. Correspondingly, the positioning model can be implemented based on the fingerprint.

[0129] The steps involved in the offline phase and the online phase are described below in conjunction with FIG3 and FIG4 .

[0130] FIG3 is a schematic flowchart of a method for training a positioning model provided in an embodiment of the present application. The method shown in FIG3 can be performed by an electronic device. The electronic device can be, for example, the communication device described above. For example, the method shown in FIG3 can be performed by a positioning server. The method shown in FIG3 can include steps S310 to S330.

[0131] Step S310: Obtain a first CIR.

[0132] Step S320: Combine the first CIR and the first location tag to form first tag data.

[0133] Step S330: training a positioning model based on the first label data.

[0134] This application does not limit the specific training method of the positioning model. For example, the positioning model can be trained by methods such as genetic algorithms and neural evolution algorithms.

[0135] Figure 4 is a schematic flowchart of a positioning method provided in an embodiment of the present application. Specifically, Figure 4 is a schematic diagram of the online phase. The method shown in Figure 4 can be performed by an electronic device. The electronic device can be, for example, the communication device described above. For example, the method shown in Figure 4 can be performed by a positioning server. The method shown in Figure 4 can include steps S410 to S420.

[0136] Step S410: Obtain a first CIR.

[0137] Step S420: Input the first CIR into a positioning model to obtain first location information.

[0138] To facilitate understanding of the present application, the present application is described in detail below through Example 1 and Example 2.

[0139] Example 1

[0140] Figure 5 is an example diagram of a direct positioning method provided in Example 1. Based on the method shown in Figure 5, direct positioning of the terminal device can be achieved, that is, the position coordinates of the terminal device can be output.

[0141] The method shown in FIG5 may include an offline phase and an online phase. The offline phase may perform data collection and model training. The online phase may perform data collection and terminal device positioning.

[0142] The offline stage may include steps S511 to S516.

[0143] Step S511: There are A base stations in the area to be located. B reference points are randomly selected in the area. The mobile terminal is placed at each reference point and the CIR measurement matrix of each base station is collected. At the same time, the position coordinates of the corresponding reference point (x b ,y b ).

[0144] The CIR measurement value can be expressed as a matrix It can be expressed as Where b represents the bth reference point in the positioning area, a represents the ath base station in the positioning area, N represents the number of sampling points, R and I represent the real part and imaginary part, respectively.

[0145] Step S512: CIR measurement matrix of each base station Perform preprocessing. Preprocessing includes sampling and truncating the first M points to obtain the matrix It can be expressed as: Among them, M=256.

[0146] Step S513: The truncated measurement matrix Perform row-column conversion to obtain CIR image Can satisfy:

[0147] That is, in step S513, the M×2 matrix can be converted to a 2u×v+1 matrix, with any missing elements filled with 0. The values ​​of u and v can be determined through experimental comparison and parameter adjustment. For example, u = 256, and uv+1 is the number of points in the dataset.

[0148] Step S514: Obtain the position coordinates (x b ,y b ).

[0149] Step S515: The CIR images obtained at each reference point are The corresponding position coordinates (x b ,y b ) to build the location fingerprint library F. The location fingerprint library F can be expressed as

[0150] Step S516: Use the location fingerprint library F as the input of the CNN model and train the CNN model. After the CNN model is trained, a CNN location classification model is obtained.

[0151] The CNN model can be connected in sequence to the input layer, convolution layer, pooling layer, fully connected layer and softmax layer. The parameters of the CNN model can be obtained through experimental results analysis.

[0152] The online stage may include steps S521 to S524.

[0153] Step S521: Select a test point in the area to be located, and the mobile terminal collects the CIR measurement value matrix of each base station at the test point. Where t represents the test point.

[0154] Step S522: CIR measurement matrix of each base station Perform preprocessing. Preprocessing includes: The matrix obtained by sampling and truncating the first M points

[0155] Step S523: The truncated measurement matrix Perform row-column conversion to obtain CIR image

[0156] The process of obtaining the CIR image in steps S521 to S523 is similar to the process in steps S511 to S513 and will not be repeated here.

[0157] Step S524: CIR image Input the CNN position classification model trained in step S516 for online matching to obtain the similarity probability p between the test point and each reference point. k . Further, according to the similarity probability p k , use the probability weighted centroid algorithm to get the location coordinates L of the test point.

[0158] The weighted centroid algorithm can be implemented by the following formula:

[0159] Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point. k=1,2,……,K.

[0160] Example 2

[0161] FIG6 is an example diagram of an indirect positioning method provided in Example 2. Based on the method shown in FIG6, indirect positioning of a terminal device can be achieved, that is, the line-of-sight type of the terminal device can be output. In other words, the method provided in FIG6 can be a line-of-sight type classification method.

[0162] The method shown in FIG6 may include an offline phase and an online phase. The offline phase may perform data collection and model training. The online phase may perform data collection and terminal device positioning.

[0163] The offline stage may include steps S611 to S614.

[0164] Step S611: There are A base stations in the area to be located. B reference points are randomly selected in the area. The mobile terminal is placed at each reference point. The CIR measurement value matrix of each base station reference point is collected. At the same time, the position coordinates of the corresponding reference point (x b ,y b ).

[0165] The CIR measurement value can be expressed as a matrix It can be expressed as Where b represents the bth reference point in the positioning area, a represents the ath base station in the positioning area, N represents the number of sampling points, R and I represent the real part and imaginary part, respectively.

[0166] Step S612: Obtain the line-of-sight / non-line-of-sight situation between the reference point and the base station

[0167] The line-of-sight / non-line-of-sight label can be expressed as

[0168] Using the CIR measurement matrix collected at each base station Calculate the first arrival time of the signal The judgment method of line of sight and non-line of sight can be expressed as:

[0169] Where c is the speed of light, Can be Or a threshold value set by yourself (a relatively small value close to 0). s is the receiver sampling time interval, is the distance from each reference point to the base station.

[0170] Step S613: The CIR measurement matrix obtained at each reference point With the corresponding line-of-sight / non-line-of-sight label Merge and construct the label dataset F. The label dataset can be expressed as

[0171] In step S614, the label dataset F is used as input of a line-of-sight type classification model (hereinafter referred to as a LOS classification model), and the LOS classification model is obtained through training.

[0172] The online phase may include steps S621 and S622.

[0173] Step S621: Select a test point in the area to be located, and the mobile terminal collects the CIR measurement value matrix of each base station at the test point.

[0174] Step S622: collect the CIR measurement value matrix of each base station at the test point The LOS classification model trained in step S614 is input to obtain the line-of-sight / non-line-of-sight situation between each base station and the test point.

[0175] The method embodiments of the present application are described in detail above, and the device embodiments of the present application are described in detail below. It should be understood that the description of the method embodiments corresponds to the description of the device embodiments, so for parts not described in detail, reference can be made to the above method embodiments.

[0176] 7 is a schematic structural diagram of an apparatus 700 for training a positioning model according to an embodiment of the present application. The apparatus 700 includes: a first acquiring unit 710 , a merging unit 720 , and a training unit 730 .

[0177] The first acquiring unit 710 may be configured to acquire a first CIR, where the first CIR is obtained based on a measurement of a reference signal at a first reference point.

[0178] The merging unit 720 may be configured to merge the first CIR and the first location tag to form first tag data.

[0179] The training unit 730 may be configured to train the positioning model based on the first label data.

[0180] It should be noted that the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

[0181] In some embodiments, the first location tag includes one or more of the following information: a line-of-sight type between the first reference point and the first communication device; and location coordinates of the first reference point.

[0182] In some embodiments, the line-of-sight type is determined based on one or more of the following information: a distance between the first reference point and the first communication device; and a first arrival time of the reference signal reaching the first communication device.

[0183] In some embodiments, In the case of , the line of sight type is line of sight; and / or in the case of In the case of , the line-of-sight type is non-line-of-sight; where c is the speed of light, is the first arrival time, is the first threshold, is the second threshold, is the distance from the first reference point to the first communication device, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0184] In some embodiments, the first threshold satisfy and / or the second threshold satisfy Among them, t s is the sampling time interval of the reference signal.

[0185] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the first reference point, and a is the identifier of the first communication device.

[0186] In some embodiments, the apparatus further comprises: a first truncation unit configured to perform truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0187] In some embodiments, the device further comprises: a first conversion unit for converting the matrix Perform row-column conversion to obtain a CIR image; wherein the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0188] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0189] FIG8 shows an apparatus 800 for positioning provided in an embodiment of the present application. As an implementation, the apparatus 800 may be a communication device. The apparatus 800 includes a second acquisition unit 810 and a processing unit 820.

[0190] The second acquiring unit 810 may be configured to acquire a first CIR, where the first CIR is obtained based on a measurement of a reference signal at a test point.

[0191] The processing unit 820 may be configured to input the first CIR into a positioning model to obtain first location information.

[0192] It should be noted that, the reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

[0193] In some embodiments, the first location information includes one or more of the following information: a line-of-sight type between the test point and the first communication device; and a similarity probability between the locations corresponding to the test point and the first reference point.

[0194] In some embodiments, the test point is located in a first area, the first area includes multiple reference points, the multiple reference points include the first reference point, and the position coordinates of the test point are determined based on the following information: the similarity probability between the test point and the multiple reference points; the position coordinates of the multiple reference points.

[0195] In some embodiments, the position coordinate L of the test point satisfies: Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point, p kis the similarity probability between the test point and the position corresponding to the kth reference point.

[0196] In some embodiments, the first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the test point, and a is the identifier of the first communication device.

[0197] In some embodiments, the apparatus further comprises: a second truncation unit configured to perform truncation processing on the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

[0198] In some embodiments, the device further comprises: a second conversion unit for converting the matrix Perform row-column conversion to obtain a CIR image; wherein the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

[0199] In some embodiments, the positioning model includes a CNN model and / or a KNN model.

[0200] In an optional embodiment, the first acquisition unit 710, the merging unit 720, the training unit 730, the second acquisition unit 810 or the processing unit 820 may be a processor 910. The apparatus 700 or 800 may further include a transceiver 930 and / or a memory 920, as specifically shown in FIG9 .

[0201] Figure 9 is a schematic diagram of a device according to an embodiment of the present application. Device 900 can be a device for training a positioning model or a device for positioning. Alternatively, device 900 can be a communications device. Dashed lines in Figure 9 indicate that the unit or module is optional. Device 900 can be used to implement the method described in the above method embodiment. Device 900 can be a nail device, a chip, a terminal device, or a network device.

[0202] The device 900 may include one or more processors 910. The processor 910 may support the device 900 to implement the method described in the method embodiment above. The processor 910 may be a general-purpose processor or a special-purpose processor. For example, the processor may be a central processing unit (CPU). Alternatively, the processor may be another general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general-purpose processor may be a microprocessor or the processor may be any conventional processor, etc.

[0203] The apparatus 900 may further include one or more memories 920. The memories 920 store programs that can be executed by the processor 910, causing the processor 910 to perform the methods described in the above method embodiments. The memories 920 may be independent of the processor 910 or integrated into the processor 910.

[0204] The apparatus 900 may further include a transceiver 930. The processor 910 may communicate with other devices or chips via the transceiver 930. For example, the processor 910 may transmit and receive data with other devices or chips via the transceiver 930.

[0205] The present invention also provides a computer-readable storage medium for storing a program. The computer-readable storage medium can be applied to the apparatus provided in the present invention, and the program enables a computer to execute the method in each embodiment of the present invention.

[0206] The present application also provides a computer program product. The computer program product includes a program. The computer program product can be applied to the apparatus provided in the present application, and the program enables a computer to execute the method in each embodiment of the present application.

[0207] The present application also provides a computer program that can be applied to the apparatus provided in the present application and enables a computer to execute the method in each embodiment of the present application.

[0208] It should be understood that the terms "system" and "network" in this application can be used interchangeably. In addition, the terms used in this application are only used to explain the specific embodiments of this application and are not intended to limit this application. The terms "first", "second", "third", and "fourth" in the specification and claims of this application and the accompanying drawings are used to distinguish different objects rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions.

[0209] In the embodiments of this application, the term "indication" may refer to a direct indication, an indirect indication, or an indication of an association. For example, "A indicates B" may refer to a direct indication of B, e.g., B can obtain information through A; it may refer to an indirect indication of B, e.g., A indicates C, e.g., B can obtain information through C; or it may refer to an association between A and B.

[0210] In the embodiment of the present application, "B corresponding to A" means that B is associated with A and B can be determined based on A. However, it should be understood that determining B based on A does not mean determining B based solely on A, but B can also be determined based on A and / or other information.

[0211] In the embodiments of the present application, the term "corresponding" may indicate a direct or indirect correspondence between the two, or an association relationship between the two, or a relationship between indication and indication, configuration and configuration, etc.

[0212] In the embodiments of the present application, "pre-definition" or "pre-configuration" may be implemented by pre-storing corresponding codes, tables, or other methods that can be used to indicate relevant information in a device (e.g., a terminal device and a network device). The present application does not limit the specific implementation method. For example, pre-definition may refer to information defined in a protocol.

[0213] In the embodiments of the present application, the “protocol” may refer to a standard protocol in the communications field, for example, it may include an LTE protocol, an NR protocol, and related protocols used in future communication systems, and the present application does not limit this.

[0214] In the embodiments of this application, the term "and / or" is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this document generally indicates that the related objects are in an "or" relationship.

[0215] In the embodiments of this application, the term "include" can refer to direct inclusion or indirect inclusion. Alternatively, the term "include" in the embodiments of this application can be replaced with "indicates" or "is used to determine." For example, "A includes B" can be replaced with "A indicates B" or "A is used to determine B."

[0216] In various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0217] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are merely schematic. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0218] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.

[0219] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0220] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be read by a computer or a data storage device such as a server or data center that includes one or more available media integrated therein. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a digital versatile disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0221] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A method for training a positioning model, characterized in that: include: Acquire a first channel impulse response CIR, where the first CIR is obtained based on measuring a reference signal at a first reference point; Combining the first CIR and the first location tag to form first tag data; Based on the first label data, training the positioning model; The reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

2. The method according to claim 1, characterized in that The first location tag includes one or more of the following information: a type of line-of-sight between the first reference point and the first communication device; The position coordinates of the first reference point.

3. The method according to claim 2, characterized in that The line-of-sight type is determined based on one or more of the following information: The distance between the first reference point and the first communication device; A first arrival time of the reference signal to the first communications device.

4. The method according to claim 3, characterized in that In satisfying In the case of , the line of sight type is line of sight; and / or In satisfying In the case of , the line-of-sight type is non-line-of-sight; Where c is the speed of light, is the first arrival time, is the first threshold, is the second threshold, is the distance from the first reference point to the first communication device, b is the identifier of the first reference point, and a is the identifier of the first communication device.

5. The method according to claim 4, characterized in that The first threshold satisfy and / or the second threshold satisfy Among them, t s is the sampling time interval of the reference signal.

6. The method according to any one of claims 1 to 5, characterized in that The first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the first reference point, and a is the identifier of the first communication device.

7. The method according to claim 6, characterized in that Also includes: The first CIR is truncated to obtain a processed first CIR, and the processed first CIR is expressed as a matrix Here, M is a value smaller than N.

8. The method according to claim 7, characterized in that Also includes: For the matrix Perform row-column conversion to obtain a CIR image; Among them, the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

9. The method according to any one of claims 1 to 8, characterized in that The positioning model includes a convolutional neural network (CNN) model and / or a K nearest neighbor (KNN) model.

10. A method for positioning, characterized in that: include: Acquire a first CIR, where the first CIR is obtained based on measuring a reference signal of a test point; Inputting the first CIR into a positioning model to obtain first location information; The reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

11. The method according to claim 10, characterized in that The first location information includes one or more of the following information: a type of line of sight between the test point and the first communication device; The similarity probability between the positions of the test point and the first reference point.

12. The method according to claim 11, characterized in that The test point is located in a first area, the first area includes multiple reference points, the multiple reference points include the first reference point, and the position coordinates of the test point are determined based on the following information: the similarity probability between the test point and the multiple reference points; the position coordinates of the multiple reference points.

13. The method according to claim 12, characterized in that The position coordinate L of the test point satisfies: Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point, p k is the similarity probability between the test point and the position corresponding to the kth reference point.

14. The method according to any one of claims 10 to 13, characterized in that: The first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the test point, and a is the identifier of the first communication device.

15. The method according to claim 14, characterized in that Also includes: The first CIR is truncated to obtain a processed first CIR, and the processed first CIR is expressed as a matrix Here, M is a value smaller than N.

16. The method according to claim 15, characterized in that Also includes: For the matrix Perform row-column conversion to obtain a CIR image; Among them, the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

17. The method according to any one of claims 10 to 16, characterized in that The positioning model includes a convolutional neural network (CNN) model and / or a K nearest neighbor (KNN) model.

18. A device for training a positioning model, characterized in that: include: A first acquisition unit, configured to acquire a first channel impulse response CIR, where the first CIR is obtained based on a measurement of a reference signal at a first reference point; a merging unit, configured to merge the first CIR and the first location tag to form first tag data; A training unit, configured to train the positioning model based on the first label data; The reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

19. The device according to claim 18, characterized in that The first location tag includes one or more of the following information: a type of line-of-sight between the first reference point and the first communication device; The position coordinates of the first reference point.

20. The device according to claim 19, characterized in that The line-of-sight type is determined based on one or more of the following information: The distance between the first reference point and the first communication device; A first arrival time of the reference signal to the first communications device.

21. The device according to claim 20, characterized in that In satisfying In the case of , the line of sight type is line of sight; and / or In satisfying In the case of , the line-of-sight type is non-line-of-sight; Where c is the speed of light, is the first arrival time, is the first threshold, is the second threshold, is the distance from the first reference point to the first communication device, b is the identifier of the first reference point, and a is the identifier of the first communication device.

22. The device according to claim 21, characterized in that The first threshold satisfy and / or the second threshold satisfy Among them, t s is the sampling time interval of the reference signal.

23. The device according to any one of claims 18 to 22, characterized in that The first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the first reference point, and a is the identifier of the first communication device.

24. The device according to claim 23, characterized in that Also includes: The first truncation unit is used to truncate the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

25. The device according to claim 24, characterized in that Also includes: The first conversion unit is used to convert the matrix Perform row-column conversion to obtain a CIR image; Among them, the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

26. The device according to any one of claims 18 to 25, characterized in that The positioning model includes a convolutional neural network (CNN) model and / or a K nearest neighbor (KNN) model.

27. A device for positioning, characterized in that: include: A second acquisition unit, configured to acquire a first CIR, where the first CIR is obtained based on a measurement of a reference signal at a test point; A processing unit, configured to input the first CIR into a positioning model to obtain first location information; The reference signal is used for positioning, and the reference signal is sent or received by one or more communication devices, and the one or more communication devices include a first communication device.

28. The device according to claim 27, characterized in that The first location information includes one or more of the following information: a type of line of sight between the test point and the first communication device; The similarity probability between the positions of the test point and the first reference point.

29. The device according to claim 28, characterized in that The test point is located in a first area, the first area includes multiple reference points, the multiple reference points include the first reference point, and the position coordinates of the test point are determined based on the following information: the similarity probability between the test point and the multiple reference points; the position coordinates of the multiple reference points.

30. The device according to claim 29, characterized in that The position coordinate L of the test point satisfies: Among them, Ω is the set of the first K reference points with high similarity probability, (x k ,y k ) is the coordinate of the kth reference point, p k is the similarity probability between the test point and the position corresponding to the kth reference point.

31. The device according to any one of claims 27 to 30, characterized in that The first CIR is represented as a matrix Among them, N represents the number of sampling points corresponding to the first CIR, R represents the real part, I represents the imaginary part, b is the identifier of the test point, and a is the identifier of the first communication device.

32. The device according to claim 31, characterized in that Also includes: The second truncation unit is used to truncate the first CIR to obtain a processed first CIR, wherein the processed first CIR is represented by a matrix Here, M is a value smaller than N.

33. The device according to claim 32, characterized in that Also includes: The second conversion unit is used to convert the matrix Perform row-column conversion to obtain a CIR image; Among them, the CIR image is represented as a matrix u represents the number of sampling points corresponding to the first CIR after the processing, and 2u×v+1 represents the number of points in the data set.

34. The device according to any one of claims 27 to 33, characterized in that The positioning model includes a convolutional neural network (CNN) model and / or a K nearest neighbor (KNN) model.

35. A device for training a positioning model, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory so that the device executes the method according to any one of claims 1 to 9.

36. A device for positioning, characterized in that: The device comprises a memory and a processor, wherein the memory is used to store a program, and the processor is used to call the program in the memory so that the device executes the method according to any one of claims 10 to 17.

37. A device, characterized in that The device comprises a processor, configured to call a program from a memory so as to enable the device to execute the method according to any one of claims 1 to 17.

38. A chip, characterized in that: It comprises a processor, which is used to call a program from a memory, so that a device equipped with the chip executes a method as claimed in any one of claims 1 to 17.

39. A computer-readable storage medium, characterized in that: A program is stored thereon, the program causing a computer to execute the method according to any one of claims 1 to 17.

40. A computer program product, characterized in that The method comprises a program which causes a computer to execute the method according to any one of claims 1 to 17.

41. A computer program, characterized in that The computer program enables a computer to execute the method according to any one of claims 1 to 17.

Citation Information

Patent Citations

  • Novel CSI indoor positioning method based on convolutional neural network

    CN111212379A

  • Super-resolution CIR indoor fingerprint positioning method based on convolutional neural network

    CN112712557A

  • Terminal positioning method and device, receiving end equipment and core network equipment

    CN115334639A

  • Neural network-based line-of-sight detection for positioning

    CN115398443A

  • Methods and Apparatuses for Positioning in a Wireless Communications Network

    US20220404451A1

Cited By

  • Communication method and communication device

    CN120603048A