WO2023201549A1 - Positioning method, model generation method, and device - Google Patents

Positioning method, model generation method, and device Download PDF

Info

Publication number
WO2023201549A1
WO2023201549A1 PCT/CN2022/087775 CN2022087775W WO2023201549A1 WO 2023201549 A1 WO2023201549 A1 WO 2023201549A1 CN 2022087775 W CN2022087775 W CN 2022087775W WO 2023201549 A1 WO2023201549 A1 WO 2023201549A1
Authority
WO
WIPO (PCT)
Prior art keywords
model
preset
positioning
wireless
sub
Prior art date
Application number
PCT/CN2022/087775
Other languages
French (fr)
Chinese (zh)
Inventor
沈渊
李玉箫
尤心
卢前溪
刘洋
Original Assignee
Oppo广东移动通信有限公司
清华大学
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司, 清华大学 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2022/087775 priority Critical patent/WO2023201549A1/en
Publication of WO2023201549A1 publication Critical patent/WO2023201549A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management

Abstract

The present application relates to a positioning method, a model generation method, a device, a computer-readable storage medium, a computer program product, and a computer program. The method comprises: a first device receiving a wireless signal; the first device processing the wireless signal on the basis of a target model, so as to obtain a positioning parameter; and the first device determining positioning information of same on the basis of the positioning parameter.

Description

定位方法、模型生成方法及设备Positioning method, model generation method and equipment 技术领域Technical field
本申请涉及通信领域,更具体地,涉及一种定位方法、模型生成方法、设备、计算机可读存储介质、计算机程序产品以及计算机程序。The present application relates to the field of communications, and more specifically, to a positioning method, a model generation method, a device, a computer-readable storage medium, a computer program product, and a computer program.
背景技术Background technique
在通信场景下,通常会需要对电子设备进行定位。在相关技术中,通常通过信号源的无线信号对电子设备进行定位。然而,如何使得对电子设备的定位更加精确,就是需要解决的问题。In communication scenarios, electronic devices usually need to be positioned. In the related art, electronic devices are usually positioned through wireless signals from signal sources. However, how to position electronic devices more accurately is a problem that needs to be solved.
发明内容Contents of the invention
本申请实施例提供一种定位方法、模型生成方法、设备、计算机可读存储介质、计算机程序产品以及计算机程序。Embodiments of the present application provide a positioning method, a model generation method, a device, a computer-readable storage medium, a computer program product, and a computer program.
本申请实施例提供一种定位方法,包括:The embodiment of this application provides a positioning method, including:
第一设备接收无线信号;The first device receives wireless signals;
所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数;The first device processes the wireless signal based on the target model to obtain positioning parameters;
所述第一设备基于所述定位参数,确定所述第一设备的定位信息。The first device determines positioning information of the first device based on the positioning parameter.
本申请实施例提供一种模型生成方法,包括:The embodiment of this application provides a model generation method, including:
采用训练样本对预设模型进行训练,得到训练后的目标模型;Use training samples to train the preset model to obtain the trained target model;
其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。Wherein, the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
本申请实施例提供一种第一设备,包括:The embodiment of the present application provides a first device, including:
通信单元,用于接收无线信号;communication unit for receiving wireless signals;
处理单元,用于基于目标模型对所述无线信号进行处理,得到定位参数;基于所述定位参数,确定所述第一设备的定位信息。A processing unit, configured to process the wireless signal based on a target model to obtain positioning parameters; and determine positioning information of the first device based on the positioning parameters.
本申请实施例提供一种电子设备,包括:An embodiment of the present application provides an electronic device, including:
训练单元,用于采用训练样本对预设模型进行训练,得到训练后的目标模型;其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。A training unit is used to train a preset model using training samples to obtain a trained target model; wherein the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
本申请实施例提供一种第一设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,以使该第一设备执行上述方法。An embodiment of the present application provides a first device, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer program stored in the memory, so that the first device performs the above method.
本申请实施例提供一种电子设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,以使该电子设备执行上述方法。An embodiment of the present application provides an electronic device, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory, so that the electronic device performs the above method.
本申请实施例提供一种芯片,用于实现上述方法。An embodiment of the present application provides a chip for implementing the above method.
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行上述的方法。Specifically, the chip includes: a processor, configured to call and run a computer program from a memory, so that the device installed with the chip executes the above method.
本申请实施例提供一种计算机可读存储介质,用于存储计算机程序,当该计算机程序被设备运行时使得该设备执行上述方法。Embodiments of the present application provide a computer-readable storage medium for storing a computer program, which when the computer program is run by a device, causes the device to perform the above method.
本申请实施例提供一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述方法。An embodiment of the present application provides a computer program product, which includes computer program instructions, and the computer program instructions cause a computer to execute the above method.
本申请实施例提供一种计算机程序,当其在计算机上运行时,使得计算机执行上述方法。An embodiment of the present application provides a computer program that, when run on a computer, causes the computer to perform the above method.
本申请实施例,通过采用本实施例提供的方案,在第一设备接收到无线信号的时候,通过目标模型对无线信号进行处理,得到定位参数,进而基于该定位参数可以确定第一设 备的定位信息。如此,能够更加准确的通过目标模型识别无线信号中用于定位的参数,进而保证最后定位信息的准确性,并且保证了处理效率。In the embodiment of the present application, by adopting the solution provided by this embodiment, when the first device receives the wireless signal, the wireless signal is processed through the target model to obtain positioning parameters, and then the positioning of the first device can be determined based on the positioning parameters. information. In this way, the parameters used for positioning in the wireless signal can be more accurately identified through the target model, thereby ensuring the accuracy of the final positioning information and ensuring processing efficiency.
附图说明Description of the drawings
图1是根据本申请实施例的应用场景的示意图。Figure 1 is a schematic diagram of an application scenario according to an embodiment of the present application.
图2是根据本申请的一实施例的定位方法的示意性流程图。Figure 2 is a schematic flow chart of a positioning method according to an embodiment of the present application.
图3是根据本申请的一实施例的无线信号的CIR示意图。Figure 3 is a CIR schematic diagram of a wireless signal according to an embodiment of the present application.
图4是根据本申请的一实施例的基于距离定位的场景示意图。Figure 4 is a schematic diagram of a distance-based positioning scenario according to an embodiment of the present application.
图5是根据本申请的一实施例的目标模型的处理结构示意图。Figure 5 is a schematic diagram of the processing structure of the target model according to an embodiment of the present application.
图6是根据本申请的一实施例的模型生成方法的示意性流程图。Figure 6 is a schematic flow chart of a model generation method according to an embodiment of the present application.
图7是根据本申请的一实施例的预设模型的处理结构示意图。Figure 7 is a schematic diagram of the processing structure of a preset model according to an embodiment of the present application.
图8是根据本申请的一实施例的无线信号在不同的环境特征下接收的无线信号的示意图。FIG. 8 is a schematic diagram of wireless signals received under different environmental characteristics according to an embodiment of the present application.
图9是根据本申请一实施例的第一设备的示意性框图。Figure 9 is a schematic block diagram of a first device according to an embodiment of the present application.
图10是根据本申请的一实施例的电子设备的示意性框图。FIG. 10 is a schematic block diagram of an electronic device according to an embodiment of the present application.
图11是根据本申请实施例的通信设备示意性框图。Figure 11 is a schematic block diagram of a communication device according to an embodiment of the present application.
图12是根据本申请实施例的芯片的示意性框图。Figure 12 is a schematic block diagram of a chip according to an embodiment of the present application.
图13是根据本申请实施例的通信系统的示意性框图。Figure 13 is a schematic block diagram of a communication system according to an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、先进的长期演进(Advanced long term evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频谱上的LTE(LTE-based access to unlicensed spectrum,LTE-U)系统、非授权频谱上的NR(NR-based access to unlicensed spectrum,NR-U)系统、非地面通信网络(Non-Terrestrial Networks,NTN)系统、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、第五代通信(5th-Generation,5G)系统或其他通信系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (Code Division Multiple Access, CDMA) system, broadband code division multiple access (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, Advanced long term evolution (LTE-A) system , New Radio (NR) system, evolution system of NR system, LTE (LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed spectrum, NR (NR-based access to unlicensed spectrum) unlicensed spectrum (NR-U) system, Non-Terrestrial Networks (NTN) system, Universal Mobile Telecommunication System (UMTS), Wireless Local Area Networks (WLAN), wireless fidelity (Wireless Fidelity, WiFi), fifth-generation communication (5th-Generation, 5G) system or other communication systems, etc.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device to Device,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(Machine Type Communication,MTC),车辆间(Vehicle to Vehicle,V2V)通信,或车联网(Vehicle to everything,V2X)通信等,本申请实施例也可以应用于这些通信系统。Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication, but also support, for example, Device to Device, D2D) communication, Machine to Machine (M2M) communication, Machine Type Communication (MTC), Vehicle to Vehicle (V2V) communication, or Vehicle to everything (V2X) communication, etc. , the embodiments of the present application can also be applied to these communication systems.
在一种可能的实现方式中,本申请实施例中的通信系统可以应用于载波聚合(Carrier Aggregation,CA)场景,也可以应用于双连接(Dual Connectivity,DC)场景,还可以应用于独立(Standalone,SA)布网场景。In a possible implementation manner, the communication system in the embodiment of the present application can be applied to a carrier aggregation (Carrier Aggregation, CA) scenario, a dual connectivity (Dual Connectivity, DC) scenario, or an independent ( Standalone, SA) network deployment scenario.
在一种可能的实现方式中,本申请实施例中的通信系统可以应用于非授权频谱,其中,非授权频谱也可以认为是共享频谱;或者,本申请实施例中的通信系统也可以应用于授权频谱,其中,授权频谱也可以认为是非共享频谱。In a possible implementation, the communication system in the embodiment of the present application can be applied to unlicensed spectrum, where the unlicensed spectrum can also be considered as shared spectrum; or, the communication system in the embodiment of the present application can also be applied to Licensed spectrum, where licensed spectrum can also be considered as unshared spectrum.
本申请实施例结合网络设备和终端设备描述了各个实施例,其中,终端设备也可以称为用户设备(User Equipment,UE)、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置等。The embodiments of this application describe various embodiments in combination with network equipment and terminal equipment. The terminal equipment may also be called user equipment (User Equipment, UE), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.
终端设备可以是WLAN中的站点(STAION,STA),可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)设备、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、下一代通信系统例如NR网络中的终端设备,或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)网络中的终端设备等。The terminal device can be a station (STAION, STA) in the WLAN, a cellular phone, a cordless phone, a Session Initiation Protocol (Session Initiation Protocol, SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, or a personal digital processing unit. (Personal Digital Assistant, PDA) devices, handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, next-generation communication systems such as terminal devices in NR networks, or in the future Terminal equipment in the evolved Public Land Mobile Network (PLMN) network, etc.
在本申请实施例中,终端设备可以部署在陆地上,包括室内或室外、手持、穿戴或车载;也可以部署在水面上(如轮船等);还可以部署在空中(例如飞机、气球和卫星上等)。In the embodiment of this application, the terminal device can be deployed on land, including indoor or outdoor, handheld, wearable or vehicle-mounted; it can also be deployed on water (such as ships, etc.); it can also be deployed in the air (such as aircraft, balloons and satellites). superior).
在本申请实施例中,终端设备可以是手机(Mobile Phone)、平板电脑(Pad)、带无线收发功能的电脑、虚拟现实(Virtual Reality,VR)终端设备、增强现实(Augmented Reality,AR)终端设备、工业控制(industrial control)中的无线终端设备、无人驾驶(self driving)中的无线终端设备、远程医疗(remote medical)中的无线终端设备、智能电网(smart grid)中的无线终端设备、运输安全(transportation safety)中的无线终端设备、智慧城市(smart city)中的无线终端设备或智慧家庭(smart home)中的无线终端设备等。In the embodiment of this application, the terminal device may be a mobile phone (Mobile Phone), a tablet computer (Pad), a computer with a wireless transceiver function, a virtual reality (Virtual Reality, VR) terminal device, or an augmented reality (Augmented Reality, AR) terminal. Equipment, wireless terminal equipment in industrial control, wireless terminal equipment in self-driving, wireless terminal equipment in remote medical, wireless terminal equipment in smart grid , wireless terminal equipment in transportation safety, wireless terminal equipment in smart city, or wireless terminal equipment in smart home, etc.
作为示例而非限定,在本申请实施例中,该终端设备还可以是可穿戴设备。可穿戴设备也可以称为穿戴式智能设备,是应用穿戴式技术对日常穿戴进行智能化设计、开发出可以穿戴的设备的总称,如眼镜、手套、手表、服饰及鞋等。可穿戴设备即直接穿在身上,或是整合到用户的衣服或配件的一种便携式设备。可穿戴设备不仅仅是一种硬件设备,更是通过软件支持以及数据交互、云端交互来实现强大的功能。广义穿戴式智能设备包括功能全、尺寸大、可不依赖智能手机实现完整或者部分的功能,例如:智能手表或智能眼镜等,以及只专注于某一类应用功能,需要和其它设备如智能手机配合使用,如各类进行体征监测的智能手环、智能首饰等。As an example and not a limitation, in this embodiment of the present application, the terminal device may also be a wearable device. Wearable devices can also be called wearable smart devices. It is a general term for applying wearable technology to intelligently design daily wear and develop wearable devices, such as glasses, gloves, watches, clothing and shoes, etc. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothing or accessories. Wearable devices are not just hardware devices, but also achieve powerful functions through software support, data interaction, and cloud interaction. Broadly defined wearable smart devices include full-featured, large-sized devices that can achieve complete or partial functions without relying on smartphones, such as smart watches or smart glasses, and those that only focus on a certain type of application function and need to cooperate with other devices such as smartphones. Use, such as various types of smart bracelets, smart jewelry, etc. for physical sign monitoring.
在本申请实施例中,网络设备可以是用于与移动设备通信的设备,网络设备可以是WLAN中的接入点(Access Point,AP),GSM或CDMA中的基站(Base Transceiver Station,BTS),也可以是WCDMA中的基站(NodeB,NB),还可以是LTE中的演进型基站In the embodiment of this application, the network device may be a device used to communicate with mobile devices. The network device may be an access point (Access Point, AP) in WLAN, or a base station (Base Transceiver Station, BTS) in GSM or CDMA. , it can also be a base station (NodeB, NB) in WCDMA, or an evolved base station in LTE
(Evolutional Node B,eNB或eNodeB),或者中继站或接入点,或者车载设备、可穿戴设备以及NR网络中的网络设备(gNB)或者未来演进的PLMN网络中的网络设备或者NTN网络中的网络设备等。(Evolutional Node B, eNB or eNodeB), or a relay station or access point, or a vehicle-mounted device, a wearable device, and a network device in an NR network (gNB) or a network device in a future evolved PLMN network or a network in an NTN network Equipment etc.
作为示例而非限定,在本申请实施例中,网络设备可以具有移动特性,例如网络设备可以为移动的设备。可选地,网络设备可以为卫星、气球站。例如,卫星可以为低地球轨道(low earth orbit,LEO)卫星、中地球轨道(medium earth orbit,MEO)卫星、地球同步轨道(geostationary earth orbit,GEO)卫星、高椭圆轨道(High Elliptical Orbit,HEO)卫星等。可选地,网络设备还可以为设置在陆地、水域等位置的基站。As an example and not a limitation, in the embodiment of the present application, the network device may have mobile characteristics, for example, the network device may be a mobile device. Optionally, the network device can be a satellite or balloon station. For example, the satellite can be a low earth orbit (LEO) satellite, a medium earth orbit (MEO) satellite, a geosynchronous orbit (geostationary earth orbit, GEO) satellite, a high elliptical orbit (High Elliptical Orbit, HEO) satellite ) satellite, etc. Optionally, the network device may also be a base station installed on land, water, etc.
在本申请实施例中,网络设备可以为小区提供服务,终端设备通过该小区使用的传输资源(例如,频域资源,或者说,频谱资源)与网络设备进行通信,该小区可以是网络设备(例如基站)对应的小区,小区可以属于宏基站,也可以属于小小区(Small cell)对应的基站,这里的小小区可以包括:城市小区(Metro cell)、微小区(Micro cell)、微微小区(Pico cell)、毫微微小区(Femto cell)等,这些小小区具有覆盖范围小、发射功率低的特点,适用于提供高速率的数据传输服务。In this embodiment of the present application, network equipment can provide services for a cell, and terminal equipment communicates with the network equipment through transmission resources (for example, frequency domain resources, or spectrum resources) used by the cell. The cell can be a network equipment ( For example, the cell corresponding to the base station), the cell can belong to the macro base station, or it can belong to the base station corresponding to the small cell (Small cell). The small cell here can include: urban cell (Metro cell), micro cell (Micro cell), pico cell ( Pico cell), femto cell (Femto cell), etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-rate data transmission services.
图1示例性地示出了一种通信系统100。该通信系统包括一个网络设备110和两个终端设备120。在一种可能的实现方式中,该通信系统100可以包括多个网络设备110,并且每个网络设备110的覆盖范围内可以包括其它数量的终端设备120,本申请实施例对此不做限定。Figure 1 illustrates a communication system 100. The communication system includes a network device 110 and two terminal devices 120. In a possible implementation, the communication system 100 may include multiple network devices 110 , and the coverage of each network device 110 may include other numbers of terminal devices 120 , which is not limited in this embodiment of the present application.
在一种可能的实现方式中,该通信系统100还可以包括移动性管理实体(Mobility Management Entity,MME)、接入与移动性管理功能(Access and Mobility Management  Function,AMF)等其他网络实体,本申请实施例对此不作限定。In a possible implementation, the communication system 100 may also include other network entities such as a Mobility Management Entity (MME), an Access and Mobility Management Function (AMF), etc. The application examples do not limit this.
其中,网络设备又可以包括接入网设备和核心网设备。即无线通信系统还包括用于与接入网设备进行通信的多个核心网。接入网设备可以是长期演进(long-term evolution,LTE)系统、下一代(移动通信系统)(next radio,NR)系统或者授权辅助接入长期演进(authorized auxiliary access long-term evolution,LAA-LTE)系统中的演进型基站(evolutional node B,简称可以为eNB或e-NodeB)宏基站、微基站(也称为“小基站”)、微微基站、接入站点(access point,AP)、传输站点(transmission point,TP)或新一代基站(new generation Node B,gNodeB)等。Among them, network equipment may include access network equipment and core network equipment. That is, the wireless communication system also includes multiple core networks used to communicate with access network equipment. The access network equipment can be a long-term evolution (long-term evolution, LTE) system, a next-generation (mobile communication system) (next radio, NR) system or authorized auxiliary access long-term evolution (LAA- Evolutionary base station (evolutional node B, abbreviated as eNB or e-NodeB) macro base station, micro base station (also known as "small base station"), pico base station, access point (access point, AP), Transmission point (TP) or new generation base station (new generation Node B, gNodeB), etc.
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统为例,通信设备可包括具有通信功能的网络设备和终端设备,网络设备和终端设备可以为本申请实施例中的具体设备,此处不再赘述;通信设备还可包括通信系统中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that in the embodiments of this application, devices with communication functions in the network/system may be called communication devices. Taking the communication system shown in Figure 1 as an example, the communication equipment may include network equipment and terminal equipment with communication functions. The network equipment and terminal equipment may be specific equipment in the embodiments of the present application, which will not be described again here; the communication equipment also It may include other devices in the communication system, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiments of this application.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and/or" in this article is just an association relationship that describes related objects, indicating that three relationships can exist. For example, A and/or B can mean: A exists alone, A and B exist simultaneously, and they exist alone. B these three situations. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
应理解,在本申请的实施例中提到的“指示”可以是直接指示,也可以是间接指示,还可以是表示具有关联关系。举例说明,A指示B,可以表示A直接指示B,例如B可以通过A获取;也可以表示A间接指示B,例如A指示C,B可以通过C获取;还可以表示A和B之间具有关联关系。It should be understood that the "instruction" mentioned in the embodiments of this application may be a direct instruction, an indirect instruction, or an association relationship. For example, A indicates B, which can mean that A directly indicates B, for example, B can be obtained through A; it can also mean that A indirectly indicates B, for example, A indicates C, and B can be obtained through C; it can also mean that there is an association between A and B. relation.
在本申请实施例的描述中,术语“对应”可表示两者之间具有直接对应或间接对应的关系,也可以表示两者之间具有关联关系,也可以是指示与被指示、配置与被配置等关系。In the description of the embodiments of this application, the term "correspondence" can mean that there is a direct correspondence or indirect correspondence between the two, it can also mean that there is an associated relationship between the two, or it can mean indicating and being instructed, configuration and being. Configuration and other relationships.
为便于理解本申请实施例的技术方案,以下对本申请实施例的相关技术进行说明,以下相关技术作为可选方案与本申请实施例的技术方案可以进行任意结合,其均属于本申请实施例的保护范围。In order to facilitate understanding of the technical solutions of the embodiments of the present application, the relevant technologies of the embodiments of the present application are described below. The following related technologies can be optionally combined with the technical solutions of the embodiments of the present application, and they all belong to the embodiments of the present application. protected range.
图2是根据本申请一实施例的定位方法的示意性流程图。该方法包括以下内容的至少部分内容。Figure 2 is a schematic flow chart of a positioning method according to an embodiment of the present application. The method includes at least part of the following.
S210、第一设备接收无线信号;S210. The first device receives wireless signals;
S220、所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数;S220. The first device processes the wireless signal based on the target model to obtain positioning parameters;
S230、所述第一设备基于所述定位参数,确定所述第一设备的定位信息。S230. The first device determines the positioning information of the first device based on the positioning parameter.
在S210中,所述第一设备接收无线信号,可以为:所述第一设备接收N个无线信号;其中,所述N个无线信号由N个第二设备发送。N可以为大于或等于1的整数;优选地,N为大于或等于2的整数。In S210, the first device receives wireless signals, which may be: the first device receives N wireless signals; wherein the N wireless signals are sent by N second devices. N may be an integer greater than or equal to 1; preferably, N is an integer greater than or equal to 2.
所述N个无线信号由N个第二设备发送,具体指的是,无线信号与第二设备之间具备一一对应的关系,比如,第1个无线信号由第1个第二设备发送,第2个无线信号由第2个第二设备发送等等。The N wireless signals are sent by N second devices, which specifically means that there is a one-to-one correspondence between the wireless signals and the second devices. For example, the first wireless signal is sent by the first second device, The 2nd wireless signal is sent by the 2nd second device and so on.
所述N个无线信号中,各个无线信号的信号类型可以为相同的,以任意一个无线信号为第i个无线信号来说,该第i个无线信号的信号类型可以为以下之一:蓝牙信号、WIFI信号、蜂窝网信号、超宽带(Ultra Wide Band,UWB)信号等等。其中,i为大于等于1且小于等于N的整数。应理解,前述信号类型仅为示例性说明,不作为对无线信号全部可能的信号类型的限定,实际上,只要可以被用于进行定位的无线信号的任意一种信号类型均在本实施例的保护范围内,只是不做穷举。Among the N wireless signals, the signal type of each wireless signal may be the same. For example, assuming that any wireless signal is the i-th wireless signal, the signal type of the i-th wireless signal may be one of the following: Bluetooth signal , WIFI signal, cellular network signal, Ultra Wide Band (UWB) signal, etc. Where, i is an integer greater than or equal to 1 and less than or equal to N. It should be understood that the foregoing signal types are only illustrative and do not limit all possible signal types of wireless signals. In fact, any signal type of wireless signals that can be used for positioning can be used in this embodiment. Within the scope of protection, just not exhaustive.
本实施例中,所述第一设备可以为任意一个电子设备,比如可以为终端设备。本实施例中N个第二设备可以为相同的设备类型。示例性的,N个第二设备可以为可以为蜂窝网 中的接入网设备,比如基站、eNB、gNB等等;或者,N个第二设备可以为接入点(AP,Access Point)(或还可以称为AP站点(STA,Station));或者,N个第二设备可以为其他能够发送蓝牙信号的设备,比如设置在某个位置处的设备等等。应理解,只要能够发送前述任意一种信号类型的无线信号的设备,均可以为本实施例中的第二设备,关于第二设备全部可能的设备类型本实施例不进行穷举。In this embodiment, the first device may be any electronic device, such as a terminal device. In this embodiment, the N second devices may be of the same device type. For example, the N second devices may be access network devices in a cellular network, such as base stations, eNBs, gNBs, etc.; or, the N second devices may be access points (APs) ( Or it can also be called an AP station (STA, Station)); or, the N second devices can be other devices that can send Bluetooth signals, such as devices set at a certain location, etc. It should be understood that any device that can send wireless signals of any of the aforementioned signal types can be the second device in this embodiment, and this embodiment does not exhaustively list all possible device types of the second device.
所述目标模型包括第一子模型和第二子模型;其中,所述第一子模型用于对无线信号进行处理,得到位置特征信息;所述第二子模型用于对所述位置特征信息进行处理,得到定位参数。其中,所述目标模型可以为预先训练好的模型。所述目标模型的训练处理可以是在所述第一设备中执行的,或者可以是在除第一设备之外的其他设备中执行的。其中,所述其他设备可以是其他电子设备,比如可以是个人电脑、笔记本电脑、服务器等等,这里不对其进行穷举。The target model includes a first sub-model and a second sub-model; wherein the first sub-model is used to process wireless signals to obtain location feature information; the second sub-model is used to process the location feature information. Process and obtain positioning parameters. Wherein, the target model may be a pre-trained model. The training process of the target model may be performed in the first device, or may be performed in other devices than the first device. The other devices may be other electronic devices, such as personal computers, laptops, servers, etc., which are not exhaustive here.
在S220中,所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数,可以包括:所述第一设备将所述无线信号输入所述目标模型的第一子模型,得到所述第一子模型输出的位置特征信息;将所述位置特征信息输入所述目标模型的第二子模型,得到所述第二子模型输出的所述定位参数。In S220, the first device processes the wireless signal based on the target model to obtain positioning parameters, which may include: the first device inputs the wireless signal into the first sub-model of the target model to obtain the positioning parameters. The location feature information output by the first sub-model is input into the second sub-model of the target model to obtain the positioning parameters output by the second sub-model.
在前述已经说明,所述无线信号具体可以为N个无线信号,相应的,所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数,具体包括:所述第一设备将所述N个无线信号中的第j个无线信号输入所述第一子模型,得到所述第一子模型输出的第j个位置特征信息;其中,j为大于等于1且小于等于N的整数;将所述第j个位置特征信息输入所述第二子模型,得到所述第二子模型输出的第j个定位参数。As mentioned above, the wireless signal may specifically be N wireless signals. Correspondingly, the first device processes the wireless signal based on the target model to obtain positioning parameters, which specifically includes: the first device processes all the wireless signals. The j-th wireless signal among the N wireless signals is input to the first sub-model to obtain the j-th location feature information output by the first sub-model; where j is an integer greater than or equal to 1 and less than or equal to N; Input the j-th position feature information into the second sub-model to obtain the j-th positioning parameter output by the second sub-model.
前述第j个无线信号可以为N个无线信号中的任意之一,本实施例针对所述N个无线信号均采用方式进行处理,只是不做一一赘述;相应的,第j个定位参数也可以为最终得到的全部定位参数中任意之一,由于第一设备收到的无线信号为N个,因此通过前述处理可以得到N个定位参数。The aforementioned j-th wireless signal may be any one of the N wireless signals. In this embodiment, all the N wireless signals are processed in the following manner, but will not be described in detail one by one. Correspondingly, the j-th positioning parameter is also It can be any one of all the positioning parameters finally obtained. Since the number of wireless signals received by the first device is N, N positioning parameters can be obtained through the foregoing processing.
本实施方式中,将所述N个无线信号中的第j个无线信号输入所述目标模型的第一子模型,具体可以指的是将所述第j个无线信号的CIR(Channel Impulse Response,信道脉冲响应)输入所述目标模型的第一子模型。这里,第j个无线信号的CIR可以如图3所示,可以包含第一设备接收的第j个无线信号在时域上不同时刻的经过信道衰减后的衰减(或衰减值)。以第一设备表示为k,第j个无线信号为第j个第二设备发送的无线信号,该第一设备接收到的第j个无线信号的CIR为r kj(t)为例,该r kj(t)可以采用如下公式表示:
Figure PCTCN2022087775-appb-000001
其中,s j(t)是第j个第二设备发射该无线信号的信号表示,Y是多径数量,y={1,2,…,Y}是无线信号的不同传输链路的指示,
Figure PCTCN2022087775-appb-000002
Figure PCTCN2022087775-appb-000003
分别是第y条第j个第二设备到第一设备k传输链路的信号对应的幅度和时延,n(t)是高斯白噪声。
In this embodiment, inputting the j-th wireless signal among the N wireless signals into the first sub-model of the target model may specifically refer to inputting the CIR (Channel Impulse Response) of the j-th wireless signal. Channel impulse response) is input into the first sub-model of the target model. Here, the CIR of the j-th wireless signal may be as shown in Figure 3, and may include the attenuation (or attenuation value) of the j-th wireless signal received by the first device after channel attenuation at different times in the time domain. Assume that the first device is represented as k, the j-th wireless signal is the wireless signal sent by the j-th second device, and the CIR of the j-th wireless signal received by the first device is r kj (t). The r kj (t) can be expressed by the following formula:
Figure PCTCN2022087775-appb-000001
Among them, s j (t) is the signal representation of the j-th second device transmitting the wireless signal, Y is the number of multipaths, y={1,2,...,Y} is the indication of different transmission links of the wireless signal,
Figure PCTCN2022087775-appb-000002
and
Figure PCTCN2022087775-appb-000003
are respectively the amplitude and delay corresponding to the signal of the transmission link from the y-th j-th second device to the first device k, and n(t) is Gaussian white noise.
进一步地,随着目标模型的具体功能的不同,前述定位参数的具体内容也会不同;相应的,所述第一设备基于所述定位参数,确定所述第一设备的定位信息的处理方式也会不同,下面分别来说:Further, as the specific functions of the target model are different, the specific content of the aforementioned positioning parameters will also be different; accordingly, the first device determines the processing method of the positioning information of the first device based on the positioning parameters. will be different, let’s talk about them separately:
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到第一设备与第二设备之间的距离。相应的,所述N个定位参数,包括:所述第一设备与所述N个第二设备中各个第二设备之间的距离。In one implementation, the target model is specifically used to process wireless signals to obtain the distance between the first device and the second device. Correspondingly, the N positioning parameters include: the distance between the first device and each of the N second devices.
前述已经说明,第一设备可以接收N个无线信号,具体可以是接收N个第二设备分别发送的N个无线信号。针对其中第j个无线信号的处理中,所述目标模型具体用于对第j个无线信号的CIR进行处理,得到所述第一设备与第j个第二设备之间的第j个距离。As mentioned above, the first device can receive N wireless signals, specifically, it can receive N wireless signals respectively sent by N second devices. In processing the j-th wireless signal, the target model is specifically used to process the CIR of the j-th wireless signal to obtain the j-th distance between the first device and the j-th second device.
所述第一设备的定位信息,可以为基于所述N个距离以及所述N个第二设备的位置信息确定的。上述N具体可以为大于或等于3的整数。具体的,前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于所述N个 距离以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。以地理坐标系为例,所述第一设备的定位信息至少可以包括:第一设备的经度和纬度。所述N个第二设备的位置信息至少可以包括:N个第二设备中各个第二设备的经度和纬度。应理解,这里仅是以地理坐标系为例对前述定位信息以及位置信息进行说明,在实际处理中,还可以采用其他坐标系,只是不做穷举。The positioning information of the first device may be determined based on the N distances and the position information of the N second devices. The above N may specifically be an integer greater than or equal to 3. Specifically, in the aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameter, which may include: the first device determines the position of the first device based on the N distances and the N second devices. information to determine the positioning information of the first device. Taking the geographical coordinate system as an example, the positioning information of the first device may at least include: the longitude and latitude of the first device. The location information of the N second devices may at least include: the longitude and latitude of each of the N second devices. It should be understood that the above-mentioned positioning information and position information are described here only by taking the geographical coordinate system as an example. In actual processing, other coordinate systems can also be used, but this is not exhaustive.
所述N个第二设备中至少部分第二设备的经度和/或纬度与其他第二设备不同;也就是所述N个第二设备不在同一条直线上。At least some of the N second devices have longitudes and/or latitudes different from other second devices; that is, the N second devices are not on the same straight line.
本实施方式可以是基于N个第二设备的位置信息、以及N个第二设备(即N个信源节点)与第一设备之间的距离,可以确定第一设备的N个可能的位置范围,在N个可能的位置范围中存在唯一的交点位置,将该交点位置作为第一设备的定位信息。比如,假设标准坐标系中第一设备表示为k,第一设备到N个第二设备中的第j个第二设备的距离d kj可以表示为:d kj=||p k-p j||;其中,p k为第一设备的定位信息,p j为第j个第二设备的位置信息。在前述p j为已知的情况下,得到d kj就可以确定p k可能的位置范围(可以为一个圆形的范围);进而基于N个第二设备中的其他第二设备与所述第一设备之间的距离可以确定其他可能的取值范围,基于N个可能的位置范围可以确定唯一的交点位置,将该交点位置作为第一设备的定位信息。 This implementation may determine N possible location ranges of the first device based on the location information of the N second devices and the distances between the N second devices (ie, N source nodes) and the first device. , there is a unique intersection position among N possible position ranges, and this intersection position is used as the positioning information of the first device. For example, assuming that the first device is represented as k in the standard coordinate system, the distance d kj from the first device to the j-th second device among the N second devices can be expressed as: d kj =||p k -p j | |; Among them, p k is the positioning information of the first device, and p j is the position information of the j-th second device. When the aforementioned p j is known, the possible position range of p k can be determined by obtaining d kj (which can be a circular range); and then based on the relationship between the other second devices among the N second devices and the first The distance between a device can determine other possible value ranges, and a unique intersection position can be determined based on N possible position ranges, and the intersection position can be used as the positioning information of the first device.
示例性的,N等于3,第1个距离指的是所述第一设备与第1个第二设备之间的距离;第2个距离指的是所述第一设备与第2个第二设备之间的距离;第3个距离指的是所述第一设备与第3个第二设备之间的距离。所述第一设备基于3个距离以及3个第二设备的位置信息,确定所述第一设备的定位信息,如图4所示,具体为:所述第一设备以第1个第二设备的位置信息为中心o1、以第1个距离为半径r1确定第一个位置范围401;同样的,以第2个第二设备的位置信息为中心o2、以第2个距离为半径r2确定第二个位置范围402;以第3个第二设备的位置信息为中心o3、以第3个距离为半径r3确定第三个位置范围403;将该第一个位置范围401、第二个位置范围402以及第三个位置范围403的唯一交点位置的经度和纬度,作为所述第一设备的定位信息。For example, N equals 3, the first distance refers to the distance between the first device and the first second device; the second distance refers to the distance between the first device and the second second device. The distance between devices; the third distance refers to the distance between the first device and the third second device. The first device determines the positioning information of the first device based on the three distances and the location information of the three second devices, as shown in Figure 4, specifically: the first device uses the first second device The first position range 401 is determined with the position information of the second device as the center o1 and the first distance as the radius r1; similarly, the position information of the second second device is used as the center o2 and the second distance is the radius r2 to determine the first position range 401. Two position ranges 402; determine the third position range 403 with the position information of the third second device as the center o3 and the third distance as the radius r3; combine the first position range 401 and the second position range 402 and the longitude and latitude of the unique intersection position of the third location range 403 as the positioning information of the first device.
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到距离偏差。相应的,所述N个定位参数为N个距离偏差。In one implementation, the target model is specifically used to process wireless signals to obtain distance deviations. Correspondingly, the N positioning parameters are N distance deviations.
前述已经说明,第一设备可以接收N个无线信号,具体可以是接收N个第二设备分别发送的N个无线信号。针对其中第j个无线信号的处理中,所述目标模型具体用于对第j个无线信号的CIR进行处理,得到所述第一设备与第j个第二设备之间的第j个距离偏差。As mentioned above, the first device can receive N wireless signals, specifically, it can receive N wireless signals respectively sent by N second devices. In the processing of the jth wireless signal, the target model is specifically used to process the CIR of the jth wireless signal to obtain the jth distance deviation between the first device and the jth second device. .
所述第一设备的定位信息,可以为基于所述N个距离偏差、N个初始距离、所述N个第二设备的位置信息确定的。上述N具体可以为大于或等于3的整数。The positioning information of the first device may be determined based on the N distance deviations, N initial distances, and the position information of the N second devices. The above N may specifically be an integer greater than or equal to 3.
在执行前述S230之前,还可以包括:所述第一设备基于所述N个无线信号,确定所述第一设备与所述N个第二设备之间的所述N个初始距离。其中,所述第一设备可以针对所述N个无线信号中每个无线信号分别进行处理,具体的,所述第一设备基于所述N个无线信号中的第j个无线信号,确定所述第一设备与所述N个第二设备中的第j个第二设备之间的第j个初始距离。也就是说,所述第j个初始距离,可以为所述第一设备基于所述第j个无线信号的CIR估计得到的。这里,关于任意一个无线信号的CIR的定义及其表示方式与前述实施例相同,不做赘述;基于所述第j个无线信号的CIR估计得到第j个初始距离的方式可以根据实际情况设置,比如,可以采用首达径估计算法,本实施例不对其进行限定。Before performing the aforementioned S230, it may also include: the first device determining the N initial distances between the first device and the N second devices based on the N wireless signals. Wherein, the first device may process each of the N wireless signals separately. Specifically, the first device determines the jth wireless signal among the N wireless signals. The j-th initial distance between the first device and the j-th second device among the N second devices. That is to say, the j-th initial distance may be estimated by the first device based on the CIR of the j-th wireless signal. Here, the definition and expression of the CIR of any wireless signal are the same as in the previous embodiments and will not be described again; the method of estimating the j-th initial distance based on the CIR of the j-th wireless signal can be set according to the actual situation. For example, a first reach path estimation algorithm may be used, which is not limited in this embodiment.
前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于所述N个距离偏差对N个初始距离进行校正,得到N个调整后的距离;基于所述N个调整后的距离以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameters, may include: the first device corrects the N initial distances based on the N distance deviations to obtain N adjustments. based on the N adjusted distances and the position information of the N second devices, determine the positioning information of the first device.
所述N个距离偏差中任意一个距离偏差,可以为正数、可以为负数、也可以为零。Any distance deviation among the N distance deviations may be a positive number, a negative number, or zero.
所述第一设备基于所述N个距离偏差以及N个初始距离,确定N个调整后的距离,具体可以为:所述第一设备基于所述N个距离偏差中的第j个距离偏差与N个初始距离中的第j个初始距离进行计算,得到N个调整后的距离中的第j个调整后的距离。The first device determines N adjusted distances based on the N distance deviations and N initial distances. Specifically, the first device determines N adjusted distances based on the jth distance deviation among the N distance deviations and The j-th initial distance among the N initial distances is calculated, and the j-th adjusted distance among the N adjusted distances is obtained.
举例来说,假设第j个初始距离为第j个第二设备与第一设备k之间的初始距离,将其表示为
Figure PCTCN2022087775-appb-000004
第j个距离偏差表示为b kj,则第j个调整后的距离d kj,可以采用以下公式计算得到:
Figure PCTCN2022087775-appb-000005
For example, assuming that the j-th initial distance is the initial distance between the j-th second device and the first device k, it is expressed as
Figure PCTCN2022087775-appb-000004
The jth distance deviation is expressed as b kj , then the jth adjusted distance d kj can be calculated using the following formula:
Figure PCTCN2022087775-appb-000005
本实施方式中,所述第一设备的定位信息、所述N个第二设备的位置信息,与前述实施方式的定义相同,不做重复说明。In this embodiment, the positioning information of the first device and the position information of the N second devices are the same as those in the previous embodiment, and will not be repeated.
示例性的,N等于3,3个初始距离中第1个初始距离指的是所述第一设备与第1个第二设备之间的初始距离,将该第1个初始距离减去第1个距离偏差,得到第1个调整后的距离;第2个初始距离指的是所述第一设备与第2个第二设备之间的初始距离,将该第2个初始距离减去第2个距离偏差,得到第2个调整后的距离;第3个初始距离指的是所述第一设备与第3个第二设备之间的初始距离,将该第3个初始距离减去第3个距离偏差,得到第3个调整后的距离。For example, N is equal to 3. The first initial distance among the three initial distances refers to the initial distance between the first device and the first second device. Subtract the first initial distance from the first initial distance. distance deviation, the first adjusted distance is obtained; the second initial distance refers to the initial distance between the first device and the second second device, and the second initial distance is subtracted from the second distance deviation, the second adjusted distance is obtained; the third initial distance refers to the initial distance between the first device and the third second device, and the third initial distance is subtracted from the third distance deviation to obtain the third adjusted distance.
关于所述第一设备基于所述3个调整后的距离、所述3个第二设备的位置信息,确定所述第一设备的定位信息的具体处理方式,与前述基于3个距离以及3个第二设备的位置信息,确定第一设备的定位信息的具体处理方式是相似的,因此不做重复说明。Regarding the specific processing method for the first device to determine the positioning information of the first device based on the three adjusted distances and the position information of the three second devices, it is different from the above-mentioned method based on the three distances and the three second devices. The specific processing methods for determining the location information of the second device and the location information of the first device are similar, so repeated descriptions will not be made.
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到该无线信号的RSS值。相应的,所述N个定位参数为N个信号接收强度RSS(接收信号强度,Received Signal Strength)值。In one implementation, the target model is specifically used to process wireless signals to obtain the RSS value of the wireless signals. Correspondingly, the N positioning parameters are N signal received strength RSS (Received Signal Strength) values.
前述已经说明,第一设备可以接收N个无线信号,具体可以是接收N个第二设备分别发送的N个无线信号。针对其中第j个无线信号的处理中,所述目标模型具体用于对第j个无线信号的CIR进行处理,得到所述第一设备接收第j个无线信号的RSS值。As mentioned above, the first device can receive N wireless signals, specifically, it can receive N wireless signals respectively sent by N second devices. In the processing of the j-th wireless signal, the target model is specifically used to process the CIR of the j-th wireless signal to obtain the RSS value of the j-th wireless signal received by the first device.
所述第一设备的定位信息,可以为基于所述N个RSS值以及信号特征库确定的。具体的,前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息;其中,所述信号特征库中包含多个参考位置中每个参考位置的特征量;所述每个参考位置的特征量包含N个第二设备中各个第二设备的参考信号的RSS参考值。The positioning information of the first device may be determined based on the N RSS values and the signal feature library. Specifically, in the aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameters, which may include: the first device determines the positioning information of the first device based on N positioning parameters and a signal feature library. The positioning information; wherein, the signal feature library contains the feature quantity of each reference position in a plurality of reference locations; the feature quantity of each reference position includes the reference signal of each second device in the N second devices. RSS reference value.
需要指出的是,上述信号特征库还可以称为指纹库、或指纹数据库、或信号指纹信息库等等,这里不对其全部可能的名称进行穷举。It should be pointed out that the above-mentioned signal feature database can also be called a fingerprint database, or a fingerprint database, or a signal fingerprint information database, etc., and all possible names are not exhaustive here.
所述多个参考位置可以指的是所述第一设备当前所在区域范围内的多个位置;其中,第一设备当前所在区域范围可以指的是室内也可以是室外,本实施例不对其进行限定。其中,所述多个参考位置中每个参考位置,可以采用地理坐标系来表示,比如,在信号特征库中包含10个参考位置,第1个参考位置表示为(经度1、纬度1),第2个参考位置表示为(经度2、纬度2),以此类推不做穷举;应理解,每个参考位置还可以采用其他坐标系来表示,只是这里不做穷举。The multiple reference locations may refer to multiple locations within the area where the first device is currently located; where the area where the first device is currently located may refer to indoors or outdoors, which is not performed in this embodiment. limited. Each reference position among the multiple reference positions can be represented by a geographical coordinate system. For example, the signal feature library contains 10 reference positions, and the first reference position is represented as (longitude 1, latitude 1), The second reference position is expressed as (longitude 2, latitude 2), and so on without being exhaustive; it should be understood that each reference position can also be represented by other coordinate systems, but this is not exhaustive here.
上述多个参考位置可以为多个网格参考位置。每个网格参考位置可以采用每个网格参考位置的中心点来表示;或者,每个网格参考位置采用至少两个坐标点来表示(比如网格的左上坐标点、网格的右下坐标点)。以每个坐标点可以采用地理坐标系来表征为例,假设信号特征库中第1个网格参考位置表示为{(经度11、纬度11)、(经度12、纬度12)},第2个网格参考位置表示为{(经度21、纬度21)、(经度22、纬度22)},以此类推不做穷举。The above-mentioned multiple reference positions may be multiple grid reference positions. Each grid reference position can be represented by the center point of each grid reference position; or, each grid reference position can be represented by at least two coordinate points (such as the upper left coordinate point of the grid, the lower right coordinate point of the grid Coordinate points). Taking each coordinate point as an example, it can be represented by a geographical coordinate system. Assume that the first grid reference position in the signal feature library is expressed as {(longitude 11, latitude 11), (longitude 12, latitude 12)}, and the second The grid reference position is expressed as {(longitude 21, latitude 21), (longitude 22, latitude 22)}, and so on. This is not exhaustive.
还需要指出的是,上述各个第二设备的参考信号的RSS参考值可以为在构建信号特征库的时候,在每个参考位置测量的各个第二设备的无线信号的RSS值。It should also be pointed out that the RSS reference value of the reference signal of each second device mentioned above may be the RSS value of the wireless signal of each second device measured at each reference position when constructing the signal feature library.
具体的,该N个定位参数为N个RSS值;相应的,所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息,指的是:所述第一设备基于所述N个RSS值以及信号特征库,确定所述第一设备的定位信息。上述N具体可以为大于或等于2的整数。Specifically, the N positioning parameters are N RSS values; correspondingly, the first device determines the positioning information of the first device based on the N positioning parameters and the signal feature library, which refers to: the first device The device determines the positioning information of the first device based on the N RSS values and the signal feature library. The above N may specifically be an integer greater than or equal to 2.
第一设备基于所述N个RSS值以及信号特征库,确定所述第一设备的定位信息,具体可以为:将所述N个RSS值,与所述信号特征库中每个参考位置的特征量进行比对,将与所述N个RSS值匹配的特征量所在的参考位置作为目标位置,将该目标位置作为所述第一设备的定位信息。The first device determines the positioning information of the first device based on the N RSS values and the signal feature database. Specifically, the first device may: combine the N RSS values with the characteristics of each reference position in the signal feature database. The reference position where the feature quantity matching the N RSS values is located is used as the target position, and the target position is used as the positioning information of the first device.
其中,所述N个RSS值与各个参考位置处的特征量是否匹配,可以采用NN(Nearst Neighbor,最近邻)算法、NNN(N-Nearest Neighbor,N近邻)算法、贝斯算法等等任意之一来实现,这里不对其全部可能的算法进行穷举。Among them, whether the N RSS values match the feature quantities at each reference position can be determined by using any one of the NN (Nearest Neighbor, nearest neighbor) algorithm, NNN (N-Nearest Neighbor, N nearest neighbor) algorithm, Bass algorithm, etc. To achieve this, we will not exhaustively list all possible algorithms here.
以NN算法为例,所述N个RSS值与各个参考位置处的特征量是否匹配可以采用欧式距离来确定。举例来说,N等于3,对3个RSS值与信号特征库中的每个参考位置的特征量(比如包含3个RSS参考值)进行相似度匹配;将两者欧式距离最小的参考位置作为第一设备的定位信息。例如第一设备得到的3个RSS值表示为(RSS 1,RSS 2,RSS 3),信号特征库中有参考位置A(坐标=(经度11,纬度11),对应的RSS参考值=(RSS 1,RSS 2,RSS 4));参考位置B(坐标=(经度21,纬度21),对应的RSS参考值=(RSS 3,RSS 5,RSS 4))。通过比对可以得到3个RSS值与参考位置A对应的特征量(即RSS参考值)最为相似,因此可以确定第一设备的定位信息等于参考位置A的坐标(经度11,纬度11)。Taking the NN algorithm as an example, whether the N RSS values match the feature quantities at each reference position can be determined using Euclidean distance. For example, if N is equal to 3, similarity matching is performed between the three RSS values and the feature quantity of each reference position in the signal feature library (for example, including three RSS reference values); the reference position with the smallest Euclidean distance between the two is regarded as The positioning information of the first device. For example, the three RSS values obtained by the first device are expressed as (RSS 1, RSS 2, RSS 3). There is a reference position A (coordinates = (longitude 11, latitude 11)) in the signal feature database, and the corresponding RSS reference value = (RSS 1, RSS 2, RSS 4)); reference position B (coordinates = (longitude 21, latitude 21), corresponding RSS reference value = (RSS 3, RSS 5, RSS 4)). Through comparison, it can be obtained that the three RSS values are most similar to the feature quantities corresponding to the reference location A (that is, the RSS reference value). Therefore, it can be determined that the positioning information of the first device is equal to the coordinates of the reference location A (longitude 11, latitude 11).
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到RSS偏差。相应的,所述N个定位参数为N个RSS偏差。In one implementation, the target model is specifically used to process wireless signals to obtain RSS deviations. Correspondingly, the N positioning parameters are N RSS deviations.
所述第一设备的定位信息,可以为基于所述N个RSS值以及信号特征库确定的。前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息;其中,所述信号特征库中包含多个参考位置中每个参考位置的特征量;所述每个参考位置的特征量包含N个第二设备中各个第二设备的参考信号的RSS参考值。The positioning information of the first device may be determined based on the N RSS values and the signal feature library. The aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameters, may include: the first device determines the positioning information of the first device based on N positioning parameters and a signal feature library. ; Wherein, the signal feature database contains the feature quantity of each reference position among the plurality of reference positions; the feature quantity of each reference position includes the RSS reference value of the reference signal of each of the N second devices. .
具体的,所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息可以包括:所述第一设备基于所述N个RSS偏差以及N个初始强度估计值,确定N个调整后的RSS值;基于所述N个调整后的RSS值以及所述信号特征库,确定所述第一设备的定位信息。Specifically, the first device determining the positioning information of the first device based on the N positioning parameters and the signal feature library may include: the first device based on the N RSS deviations and N initial intensity estimation values, Determine N adjusted RSS values; determine the positioning information of the first device based on the N adjusted RSS values and the signal feature library.
所述N个初始强度估计值中任意一个初始强度估计值,比如第j个初始强度估计值,可以为所述第一设备对所述N个无线信号中的第j个无线信号的接收强度进行测量得到的。前述第j个初始强度估计值具体可以为第j个初始RSS值。Any one of the N initial strength estimate values, such as the j-th initial strength estimate value, may be the first device's received strength of the j-th wireless signal among the N wireless signals. Measured. The aforementioned j-th initial intensity estimate value may specifically be the j-th initial RSS value.
所述N个RSS偏差中任意一个RSS偏差,可以为正数、可以为负数、也可以为零。Any RSS deviation among the N RSS deviations may be a positive number, a negative number, or zero.
所述第一设备基于所述N个RSS偏差以及N个初始强度估计值,确定N个调整后的RSS值,具体可以为:所述第一设备基于所述N个RSS偏差中的第j个RSS偏差,与N个初始强度估计值中的第j个初始强度估计值进行计算,得到N个调整后的RSS值中的第j个调整后的RSS值。The first device determines N adjusted RSS values based on the N RSS deviations and N initial intensity estimation values. Specifically, the first device determines N adjusted RSS values based on the jth of the N RSS deviations. The RSS deviation is calculated with the j-th initial intensity estimate value among the N initial intensity estimate values, and the j-th adjusted RSS value among the N adjusted RSS values is obtained.
前述信号特征库中可能包含的内容与前述实施方式相同,这里不做重复说明。The content that may be included in the foregoing signal feature database is the same as that of the foregoing implementation, and will not be repeated here.
前述基于所述N个调整后的RSS值以及信号特征库,确定所述第一设备的定位信息,可以是将所述N个调整后的RSS值,与所述信号特征库中每个参考位置的特征量进行比对,将与所述N个调整后的RSS值匹配的特征量所在的参考位置作为目标位置,将该目标位置所述第一设备的定位信息。这里,具体的比对方式,与前述实施方式相似,同样不做重复说明。Determining the positioning information of the first device based on the N adjusted RSS values and the signal feature library may be based on the N adjusted RSS values and each reference position in the signal feature library. The feature quantities are compared, the reference location where the feature quantity matching the N adjusted RSS values is located is used as the target location, and the positioning information of the first device is used as the target location. Here, the specific comparison method is similar to the previous embodiment, and repeated description will not be repeated.
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到第一设备对无 线信号的接收角度。所述N个定位参数为第一设备对所述N个无线信号中各个无线信号的N个接收角度。In one implementation, the target model is specifically used to process wireless signals to obtain the reception angle of the wireless signals by the first device. The N positioning parameters are N receiving angles of the first device for each of the N wireless signals.
其中,所述第一设备接收N个无线信号中任意一个无线信号的接收角度,可以是第一设备接收的任意一个无线信号与自身的天线阵列的等效中心点、相对于基准方向之间的角度。其中,第一设备的天线阵列可以是包含有2个或更多天线组成的天线阵列。所述基准方向可以为预先设置的,具体可以是系统中各个设备中均预先设置的相同的基准方向,比如可以为正北、或正南等等,这里不做穷举。Wherein, the reception angle at which the first device receives any one of the N wireless signals may be the angle between any one of the wireless signals received by the first device and the equivalent center point of its own antenna array relative to the reference direction. angle. Wherein, the antenna array of the first device may be an antenna array composed of two or more antennas. The reference direction may be preset. Specifically, it may be the same reference direction preset in each device in the system. For example, it may be true north, true south, etc., and no exhaustive list will be made here.
前述已经说明,第一设备可以接收N个无线信号,具体可以是接收N个第二设备分别发送的N个无线信号。针对其中第j个无线信号的处理中,所述目标模型具体用于对第j个无线信号的CIR进行处理,得到所述第一设备与第j个第二设备之间的第j个接收角度。As mentioned above, the first device can receive N wireless signals, specifically, it can receive N wireless signals respectively sent by N second devices. In the processing of the j-th wireless signal, the target model is specifically used to process the CIR of the j-th wireless signal to obtain the j-th reception angle between the first device and the j-th second device. .
所述第一设备的定位信息,可以为基于所述N个接收角度以及所述N个第二设备的位置信息确定的。上述N具体可以为大于或等于3的整数。The positioning information of the first device may be determined based on the N receiving angles and the position information of the N second devices. The above N may specifically be an integer greater than or equal to 3.
具体的,前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于所述N个接收角度以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。Specifically, in the aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameters, which may include: the first device determines the positioning information of the first device based on the N receiving angles and the N second devices. Location information determines the positioning information of the first device.
本实施方式中,所述第一设备的定位信息、所述N个第二设备的位置信息,与前述实施方式的定义相同,不做重复说明。In this embodiment, the positioning information of the first device and the position information of the N second devices are the same as those in the previous embodiment, and will not be repeated.
所述N个第二设备中至少部分第二设备的经度和/或纬度与其他第二设备不同;也就是所述N个第二设备不在同一条直线上。At least some of the N second devices have longitudes and/or latitudes different from other second devices; that is, the N second devices are not on the same straight line.
示例性的,N等于3,3个接收角度中第1个接收角度指的是所述第一设备对第1个第二设备发送的第1个无线信号的接收角度;第2个接收角度指的是所述第一设备对第2个第二设备发送的第2个无线信号的接收角度;第3个接收角度指的是所述第一设备对第3个第二设备发送的第3个无线信号的接收角度。所述第一设备基于3个接收角度以及3个第二设备的位置信息,确定所述第一设备的定位信息,具体为:For example, N is equal to 3, and the first receiving angle among the three receiving angles refers to the receiving angle of the first wireless signal sent by the first device to the first second device; the second receiving angle refers to is the receiving angle of the second wireless signal sent by the first device to the second second device; the third receiving angle refers to the third receiving angle of the first device sent by the third second device The reception angle of wireless signals. The first device determines the positioning information of the first device based on the three receiving angles and the position information of the three second devices, specifically:
所述第一设备以第1个接收角度、第2个接收角度确定由第1个第二设备、第2个第二设备与第一设备之间的夹角1;同样的,所述第一设备以第2个接收角度、第3个接收角度确定由第2个第二设备、第3个第二设备与第一设备之间的夹角2;所述第一设备以第3个接收角度、第1个接收角度确定由第1个第二设备、第3个第二设备与第一设备之间的夹角3;The first device uses the first receiving angle and the second receiving angle to determine the angle 1 between the first second device, the second second device and the first device; similarly, the first device The device uses the second receiving angle and the third receiving angle to determine the angle 2 between the second second device, the third second device and the first device; the first device uses the third receiving angle , the first receiving angle is determined by the angle 3 between the first second device, the third second device and the first device;
基于夹角1以及第1个第二设备的位置、第2个第二设备的位置,确定第一个圆形范围;基于夹角2以及第2个第二设备的位置、第2个第二设备的位置,确定第二个圆形范围;基于夹角3以及第1个第二设备的位置、第3个第二设备的位置,确定第三个圆形范围;将所述第一圆形范围、第二圆形范围以及第三圆形范围的交点的位置,作为所述第一设备的定位信息。Based on the included angle 1 and the position of the first second device and the position of the second second device, determine the first circular range; based on the included angle 2 and the position of the second second device and the second second device Determine the second circular range based on the position of the device; determine the third circular range based on the included angle 3 and the position of the first second device and the third second device; convert the first circular range The position of the intersection point of the range, the second circular range and the third circular range is used as the positioning information of the first device.
在一种实施方式中,所述目标模型具体用于对无线信号进行处理,得到第一设备接收无线信号的角度偏差;相应的,所述N个定位参数为N个角度偏差。In one implementation, the target model is specifically used to process wireless signals to obtain the angle deviation at which the first device receives the wireless signal; correspondingly, the N positioning parameters are N angle deviations.
所述第一设备的定位信息,可以为基于所述N个角度偏差、N个初始接收角度、所述N个第二设备的位置信息确定的。上述N具体可以为大于或等于3的整数。具体的,前述S230所述第一设备基于所述定位参数,确定所述第一设备的定位信息,可以包括:所述第一设备基于N个定位参数以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。具体为:所述第一设备基于所述N个角度偏差对N个初始接收角度进行校正,得到N个调整后的角度;基于所述N个调整后的角度以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The positioning information of the first device may be determined based on the N angular deviations, N initial receiving angles, and the position information of the N second devices. The above N may specifically be an integer greater than or equal to 3. Specifically, in the aforementioned S230, the first device determines the positioning information of the first device based on the positioning parameters, which may include: the first device determines the positioning information of the first device based on N positioning parameters and the position information of the N second devices. , determine the positioning information of the first device. Specifically: the first device corrects the N initial receiving angles based on the N angular deviations to obtain N adjusted angles; based on the N adjusted angles and the N second devices Location information determines the positioning information of the first device.
所述N个初始接收角度中任意一个初始接收角度,比如第j个初始接收角度,可以为所述第一设备基于所述N个无线信号中的第j个无线信号估计得到的;这里,可以是第一 设备基于自身的天线阵列确定的第j个无线信号的入射角度。其中,第一设备的天线阵列可以是包含有2个或更多天线组成的天线阵列。Any one of the N initial reception angles, such as the j-th initial reception angle, can be estimated by the first device based on the j-th wireless signal among the N wireless signals; here, it can is the incident angle of the j-th wireless signal determined by the first device based on its own antenna array. Wherein, the antenna array of the first device may be an antenna array composed of two or more antennas.
所述N个角度偏差中任意一个角度偏差,可以为正数、可以为负数、也可以为零。Any one of the N angle deviations may be a positive number, a negative number, or zero.
所述第一设备基于所述N个角度偏差以及N个初始接收角度,确定N个调整后的角度,具体可以为:所述第一设备基于所述N个角度偏差中的第j个角度偏差与N个初始接收角度中的第j个初始接收角度进行计算,得到N个调整后的角度中的第j个调整后的角度。这里,计算可以根据实际情况设置为相加或相减。The first device determines N adjusted angles based on the N angular deviations and N initial receiving angles. Specifically, the first device determines N adjusted angles based on the jth angular deviation among the N angular deviations. Calculate with the j-th initial receiving angle among the N initial receiving angles to obtain the j-th adjusted angle among the N adjusted angles. Here, the calculation can be set to addition or subtraction according to the actual situation.
本实施方式中,所述第一设备的定位信息、所述N个第二设备的位置信息,与前述实施方式的定义相同,不做重复说明。In this embodiment, the positioning information of the first device and the position information of the N second devices are the same as those in the previous embodiment, and will not be repeated.
示例性的,N等于3,3个角度偏差中第1个角度偏差指的是所述第一设备与第1个第二设备发送的第1个无线信号之间的角度偏差,3个初始接收角度中第1个角度估计值指的是所述第一设备与第1个第二设备发送的第1个无线信号之间的角度估计值;第2个角度偏差指的是所述第一设备与第2个第二设备发送的第2个无线信号之间的角度偏差,第2个角度估计值指的是所述第一设备与第2个第二设备发送的第2个无线信号之间的角度估计值;第3个角度偏差指的是所述第一设备与第3个第二设备发送的第3个无线信号之间的角度偏差,第3个角度估计值指的是所述第一设备与第3个第二设备发送的第3个无线信号之间的角度估计值。Exemplarily, N is equal to 3. The first angular deviation among the 3 angular deviations refers to the angular deviation between the first wireless signal sent by the first device and the first second device. 3 initial receptions The first angle estimate in the angle refers to the angle estimate between the first device and the first wireless signal sent by the first second device; the second angle deviation refers to the angle between the first device and the first wireless signal sent by the second device. The angle deviation between the first device and the second wireless signal sent by the second second device. The second angle estimate refers to the angle between the first device and the second wireless signal sent by the second second device. The angle estimate value; the third angle deviation refers to the angle deviation between the third wireless signal sent by the first device and the third second device, and the third angle estimate value refers to the angle deviation of the third wireless signal sent by the third second device. An estimated value of the angle between a device and a third wireless signal sent by a third second device.
所述第一设备基于所述3个调整后的角度、所述3个第二设备的位置信息,确定所述第一设备的定位信息的具体处理方式与前述实施例相似,这里不做赘述。The specific processing method by which the first device determines the positioning information of the first device based on the three adjusted angles and the position information of the three second devices is similar to the previous embodiment and will not be described again here.
需要理解的是,前述实施方式中,N等于3仅为示例性说明,实际处理中可以随着精度的要求调整N的数量,比如可以为4或5,或更多或更少,这里不做赘述。It should be understood that in the foregoing embodiments, N equals 3 is only an example. In actual processing, the number of N can be adjusted according to the accuracy requirements, for example, it can be 4 or 5, or more or less, which is not done here. Repeat.
需要说明的是,前述多种实施方式中,基于N个定位参数分别包括以下之一进行的处理说明:所述第一设备与所述N个第二设备中各个第二设备之间的距离;所述第一设备对所述N个无线信号中各个无线信号的接收角度;N个信号接收强度RSS值;N个距离偏差;N个角度偏差;N个RSS偏差。但是在实际处理中,N个定位参数中各个定位参数可以包含以上两个或更多的内容。下面进行更多可能的实施方式的说明:It should be noted that in the various aforementioned embodiments, the processing instructions based on the N positioning parameters each include one of the following: the distance between the first device and each of the N second devices; The receiving angle of each of the N wireless signals by the first device; N signal reception strength RSS values; N distance deviations; N angle deviations; and N RSS deviations. However, in actual processing, each of the N positioning parameters may contain two or more of the above contents. More possible implementations are described below:
在一种可能的实施方式中,N个定位参数中第j个定位参数可以包含所述第一设备与第j个第二设备之间的距离、所述第一设备对第j个无线信号的接收角度;也就是说,目标模型一次对一个无线信号进行处理,可以同时得到上述距离以及上述接收角度。In a possible implementation, the j-th positioning parameter among the N positioning parameters may include the distance between the first device and the j-th second device, the response of the first device to the j-th wireless signal. Reception angle; that is to say, the target model processes one wireless signal at a time and can obtain the above distance and the above reception angle at the same time.
在这种实施方式中,N可以为1。也就是说,所述第一设备基于一个定位参数以及一个第二设备的位置信息,确定所述第一设备的定位信息。具体的,第一设备基于定位参数中包含的所述第一设备对无线信号的接收角度、以及基准方向,确定所述第二设备发射该无线信号的发射角度;基于该第二设备的位置信息、发射角度以及所述第一设备与第二设备之间的距离,可以确定一个目标位置,将该目标位置作为所述第一设备的定位信息。其中,所述基准方向可以为系统中全部设备均设置的相同的基准方向,比如可以为正北,当然,还可以设置为正南等方向,只要系统中各个设备设置的基准方向相同,就在本实施例的保护范围内。In this embodiment, N may be 1. That is to say, the first device determines the positioning information of the first device based on a positioning parameter and a position information of the second device. Specifically, the first device determines the transmission angle at which the second device transmits the wireless signal based on the receiving angle of the wireless signal by the first device and the reference direction included in the positioning parameter; based on the location information of the second device , the emission angle and the distance between the first device and the second device, a target position can be determined, and the target position can be used as the positioning information of the first device. The reference direction can be the same reference direction set by all devices in the system, such as true north. Of course, it can also be set as true south. As long as the reference directions set by each device in the system are the same, the reference direction can be set to the same reference direction. within the protection scope of this embodiment.
应理解,本实施方式中,所述第一设备与第二设备之间的距离还可以替换为距离偏差,和/或,前述第一设备对无线信号的接收角度可以替换为角度偏差。比如,将前述第一设备与第二设备之间的距离替换为距离偏差的情况下,具体处理可以为:第一设备基于定位参数中包含的所述第一设备对无线信号的接收角度、以及基准角度,确定所述第二设备发射该无线信号的发射角度;基于所述第一设备与第二设备之间的初始距离以及前述距离偏差进行计算,可以得到第一设备与第二设备之间的调整后的距离;基于第二设备的位置信息、发射角度以及所述调整后的距离,可以确定一个目标位置,将该目标位置作为所述第一设备的定位信息。It should be understood that in this embodiment, the distance between the first device and the second device can also be replaced by a distance deviation, and/or the reception angle of the wireless signal by the first device can be replaced by an angle deviation. For example, when the distance between the first device and the second device is replaced by a distance deviation, the specific processing may be: the first device based on the receiving angle of the wireless signal by the first device included in the positioning parameter, and The reference angle determines the transmission angle at which the second device transmits the wireless signal; based on calculation based on the initial distance between the first device and the second device and the aforementioned distance deviation, the distance between the first device and the second device can be obtained The adjusted distance; based on the position information of the second device, the launch angle and the adjusted distance, a target position can be determined, and the target position can be used as the positioning information of the first device.
关于前述第一设备对无线信号的接收角度可以替换为角度偏差的处理,与前述类似,不做重复说明。Regarding the reception angle of the wireless signal by the first device, the processing of the angle deviation is similar to the above and will not be repeated.
需要指出的是,只要目标模型输出的定位参数包含前述内容中至少之一,就均在本实施例的保护范围内,只是这里不再对各种可能的实现方式进行穷举。It should be pointed out that as long as the positioning parameters output by the target model include at least one of the foregoing contents, they are all within the protection scope of this embodiment, but the various possible implementation methods are not exhaustive here.
在一种实施方式中,所述目标模型还包括第三子模型。所述目标模型的第一子模型还用于对所述无线信号进行处理,得到环境特征信息;所述目标模型还包括第三子模型,所述第三子模型用于对所述环境特征信息进行处理,得到场景类型信息。In one implementation, the target model further includes a third sub-model. The first sub-model of the target model is also used to process the wireless signal to obtain environmental feature information; the target model also includes a third sub-model, and the third sub-model is used to process the environmental feature information. Perform processing to obtain scene type information.
比如参见图5,图5中示意出目标模型500中,包含了第一子模型501、第二子模型502、第三子模型503;其中,第一子模型501用于对无线信号510进行处理,得到该无线信号510的位置特征信息511和环境特征信息512;第二子模型502用于对位置特征信息511进行处理,得到定位参数521;第三子模型503用于对环境特征信息512进行处理,得到场景类型信息522。For example, see Figure 5. Figure 5 illustrates that the target model 500 includes a first sub-model 501, a second sub-model 502, and a third sub-model 503; among which, the first sub-model 501 is used to process the wireless signal 510. , obtain the location feature information 511 and environment feature information 512 of the wireless signal 510; the second sub-model 502 is used to process the location feature information 511 to obtain the positioning parameters 521; the third sub-model 503 is used to process the environment feature information 512 Process to obtain scene type information 522.
具体来说,所述场景类型信息可以包括多种场景类型的概率值。其中,所述多种场景类型的数量可以根据实际情况确定,比如可以为3种、6种、7种或更多或更少,本实施例不对其进行限定。比如,场景类型信息中包括:{场景类型1:概率值1,场景类型2:概率值2,场景类型3:概率值3}。Specifically, the scene type information may include probability values of multiple scene types. The number of the multiple scene types can be determined according to the actual situation, for example, it can be 3, 6, 7 or more or less, which is not limited in this embodiment. For example, the scene type information includes: {scene type 1: probability value 1, scene type 2: probability value 2, scene type 3: probability value 3}.
其中,多种场景类型所表示的具体含义可以根据实际情况设置,比如可以包括:室内、室外、NLOS(non line of sight,非视线传输)下的障碍物类型(比如有金属障碍物、塑料障碍物等等)、以及LOS(line of sight,视线传输)也就是没有障碍物的场景类型。不同的场景类型可以采用预设的取值来表示,假设第一设备k所在环境的场景类型表示为l k,不同的场景类型的取值,可以表示不同的障碍物信息,或者表示不同的所在环境信息;比如,l k=0表示场景类型为室内,l k=1表示场景类型为室外;再比如,还可以包括:l k=00表示场景类型为室内无遮挡物,l k=01表示场景类型为室内有木质遮挡物,l k=10表示场景类型为室外无遮挡物,l k=11表示场景类型为室外有金属遮挡物等等。应理解,这里仅为示例性说明,不代表场景类型仅存在以上几种,可以根据实际情况设置更多的场景类型,比如室内有塑料遮挡物、室外有玻璃遮挡物等等,这里不再穷举。 Among them, the specific meanings represented by various scene types can be set according to the actual situation. For example, they can include: indoor, outdoor, and NLOS (non line of sight, non-line of sight transmission) obstacle types (such as metal obstacles, plastic obstacles objects, etc.), and LOS (line of sight, line of sight transmission), which is the type of scene without obstacles. Different scene types can be represented by preset values. Assume that the scene type of the environment where the first device k is located is represented by l k . The values of different scene types can represent different obstacle information, or represent different locations. Environmental information; for example, l k =0 indicates that the scene type is indoor, l k =1 indicates that the scene type is outdoor; for another example, it may also include: l k =00 indicates that the scene type is indoor without obstructions, l k =01 indicates that The scene type is indoor with wooden shields, l k =10 means the scene type is outdoor without shields, l k =11 means the scene type is outdoor with metal shields, etc. It should be understood that this is only an illustrative explanation, and it does not mean that there are only the above scene types. More scene types can be set according to the actual situation, such as plastic shields indoors, glass shields outdoors, etc. We are no longer exhausted here. Lift.
相应的,所述方法还包括:所述第一设备基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境。Correspondingly, the method further includes: the first device determining the environment in which the first device is located based on the scene type information output by the third sub-model.
前述实施方式中已经指出,所述第一设备接收到的可以为N个无线信号,N可以大于等于1。It has been pointed out in the foregoing embodiments that the first device may receive N wireless signals, and N may be greater than or equal to 1.
一种示例中,N等于1,也就是在所述第一设备仅收到一个无线信号的情况下,可以直接基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境。假设在一次得到场景类型信息可以包括多种场景类型的概率值,具体为{l k=00:概率值0.1,l k=01:概率值0.7,l k=10:概率值0.2,l k=11:概率值0.3},则可以将其中概率值最大的场景类型l k=01作为所述第一设备所处环境,比如l k=01为室内有木质遮挡物,则可以确定第一设备所处环境为室内,且存在木质遮挡物。 In one example, N is equal to 1, that is, when the first device only receives one wireless signal, the location of the first device can be determined directly based on the scene type information output by the third sub-model. environment. It is assumed that the scene type information obtained at one time can include probability values of multiple scene types, specifically {l k =00: probability value 0.1, l k =01: probability value 0.7, l k =10: probability value 0.2, l k = 11: Probability value 0.3}, then the scene type l k =01 with the largest probability value can be used as the environment where the first device is located. For example, l k =01 means there is a wooden obstruction indoors, then the location of the first device can be determined. The environment is indoors and there are wooden shelters.
一种示例中,N大于1,也就是在第一设备接收到多个无线信号的情况下,所述目标模型的第一子模型还用于对所述N个无线信号中的第i个无线信号进行处理,得到所述第i个无线信号对应的第i个环境特征信息;所述目标模型还包括第三子模型,所述第三子模型用于对所述第i个环境特征信息进行处理,得到第i个场景类型信息。第i个场景类型信息具体包括多个场景类型分别对应的概率值。In one example, N is greater than 1, that is, when the first device receives multiple wireless signals, the first sub-model of the target model is also used to calculate the i-th wireless signal among the N wireless signals. The signal is processed to obtain the i-th environmental feature information corresponding to the i-th wireless signal; the target model also includes a third sub-model, and the third sub-model is used to perform processing on the i-th environmental feature information. Process to obtain the i-th scene type information. The i-th scene type information specifically includes probability values corresponding to multiple scene types.
相应的,所述所述第一设备基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境包括:所述第一设备基于所述第三子模型输出的N个场景类型信息,确定所述第一设备所处环境。Correspondingly, the first device determines that the environment in which the first device is located based on the scene type information output by the third sub-model includes: the N information output by the first device based on the third sub-model. Scene type information determines the environment in which the first device is located.
具体的,在N个场景类型信息中,概率值最大的场景类型相同的情况下,所述第一设 备将该概率值最大的场景类型作为所述第一设备所处环境;Specifically, in the N scene type information, if the scene type with the largest probability value is the same, the first device uses the scene type with the largest probability value as the environment in which the first device is located;
或者,在N个场景类型信息中,概率值最大的场景类型部分不同的情况下,将N个场景类型信息中概率值最大的相同场景类型的数量最多的一个场景类型,作为所述第一设备所处环境。Or, in the case where the scene types with the largest probability values in the N scene type information are partially different, the scene type with the largest number of the same scene type with the largest probability value in the N scene type information is used as the first device. environment.
或者,在N个场景类型信息对应的概率值最大的场景类型均不相同的情况下,将其中概率值最大的一个场景类型,作为所述第一设备所处环境。Or, when the scene types with the highest probability values corresponding to the N scene type information are all different, the scene type with the highest probability value among them is used as the environment in which the first device is located.
当然,以上有多个场景类型信息的情况下,确定所述第一设备所处环境的说明仅为示例性说明,实际处理中可能会采用其他的判断方式,本实施例不做穷举,只要可以根据多个场景类型信息确定第一设备所处环境,就均在本实施例保护范围内。Of course, in the above case where there is multiple scene type information, the description of determining the environment where the first device is located is only an exemplary description, and other determination methods may be used in actual processing. This embodiment is not exhaustive, as long as The environment in which the first device is located can be determined based on multiple scene type information, which is within the protection scope of this embodiment.
可见,通过采用上述方案,就可以在第一设备接收到无线信号的时候,通过目标模型对无线信号进行处理,得到定位参数,进而基于该定位参数可以确定第一设备的定位信息。如此,能够更加准确的通过目标模型识别无线信号中用于定位的特征信息,进而保证最后定位信息的准确性,并且保证了处理效率。It can be seen that by adopting the above solution, when the first device receives the wireless signal, the wireless signal can be processed through the target model to obtain positioning parameters, and then the positioning information of the first device can be determined based on the positioning parameters. In this way, the characteristic information used for positioning in the wireless signal can be more accurately identified through the target model, thereby ensuring the accuracy of the final positioning information and ensuring processing efficiency.
图6是根据本申请一实施例的模型生成方法的示意性流程图。该方法包括以下内容的至少部分内容。Figure 6 is a schematic flow chart of a model generation method according to an embodiment of the present application. The method includes at least part of the following.
S610、采用训练样本对预设模型进行训练,得到训练后的目标模型;S610. Use the training samples to train the preset model to obtain the trained target model;
其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。Wherein, the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
本实施例提供的模型生成方法可以应用于电子设备,该电子设备与前述实施例执行定位方法的第一设备,可以相同也可以不同。在执行模型生成方法的电子设备与前述执行定位方法的第一设备相同的情况下,可以是在第一设备完成对预设模型的训练得到目标模型之后,直接使用该目标模型以执行前述定位方法。在执行模型生成方法的电子设备与前述执行定位方法的第一设备不同的情况下,可以是在执行模型生成方法的电子设备完成对预设模型的训练得到目标模型之后,将该目标模型(具体为目标模型中第一子模型、第二子模型以及第三子模型的参数)发送至执行定位方法的第一设备,以使得执行定位方法的第一设备基于接收到的目标模型执行前述定位方法。The model generation method provided in this embodiment can be applied to an electronic device, which may be the same as or different from the first device that performs the positioning method in the foregoing embodiment. In the case where the electronic device that executes the model generation method is the same as the first device that executes the positioning method, the target model may be directly used to execute the positioning method after the first device completes the training of the preset model to obtain the target model. . In the case where the electronic device that executes the model generation method is different from the first device that executes the positioning method, it may be that after the electronic device that executes the model generation method completes the training of the preset model to obtain the target model, the target model (specifically, (parameters of the first sub-model, the second sub-model and the third sub-model in the target model) are sent to the first device that executes the positioning method, so that the first device that executes the positioning method executes the aforementioned positioning method based on the received target model. .
上述训练样本可以包括:无线训练信号,所述无线训练信号对应的第一预设标签以及所述无线训练信号对应的第二预设标签。这里,所述训练样本可以是训练数据集中包含的多个训练样本中任意之一。The above-mentioned training samples may include: a wireless training signal, a first preset label corresponding to the wireless training signal, and a second preset label corresponding to the wireless training signal. Here, the training sample may be any one of multiple training samples included in the training data set.
所述无线训练信号对应的第一预设标签,包括以下至少之一:所述无线训练信号对应的距离标签;所述无线训练信号对应的角度标签;所述无线训练信号对应的RSS标签;所述无线训练信号对应的距离偏差标签;所述无线训练信号对应的角度偏差标签;所述无线训练信号对应的RSS偏差标签。The first preset tag corresponding to the wireless training signal includes at least one of the following: a distance tag corresponding to the wireless training signal; an angle tag corresponding to the wireless training signal; an RSS tag corresponding to the wireless training signal; The distance deviation tag corresponding to the wireless training signal; the angle deviation tag corresponding to the wireless training signal; the RSS deviation tag corresponding to the wireless training signal.
上述第一预设标签,在实际使用时,根据本次训练目标选择,可以仅使用其中之一,比如本次训练目标为得到能够根据接收到的无线信号处理得到距离这个定位参数的目标模型,则可以使用无线训练信号对应的距离标签作为第一预设标签。当然,也可以根据实际需要使用其中多个,比如本次训练目标为得到能够根据接收到的无线信号处理得到距离以及角度,将该距离以及角度均作为定位参数的目标模型,则可以使用无线训练信号对应的距离标签以及角度标签作为第一预设标签。以上仅为示例性说明,不代表实际使用时仅可以有以上几种方式,可以根据实际需求灵活选取并设置第一预设标签的具体内容。In actual use, only one of the above-mentioned first preset tags can be used according to the training target selection. For example, the training target is to obtain a target model that can obtain the distance positioning parameter based on the received wireless signal processing. Then the distance label corresponding to the wireless training signal can be used as the first preset label. Of course, you can also use multiple of them according to actual needs. For example, the training goal is to obtain a target model that can obtain distance and angle based on the received wireless signal processing, and use the distance and angle as positioning parameters, then wireless training can be used The distance label and angle label corresponding to the signal are used as the first preset label. The above is only an illustrative description, and does not mean that only the above methods can be used in actual use. The specific content of the first preset label can be flexibly selected and set according to actual needs.
所述无线训练信号对应的第二预设标签,包括:所述无线训练信号所在环境对应的场景类型标签。The second preset tag corresponding to the wireless training signal includes: a scene type tag corresponding to the environment in which the wireless training signal is located.
上述第二预设标签中包含的场景类型标签,具体可以为场景类型对应预设的取值。比如,0表示场景类型为室内,1表示场景类型为室外等等,这里仅为示例性说明,不代表场景类型的预设的取值仅有以上两种可能,随着场景类型划分的更加细致,可以存在更多的 预设的取值的可能性,本实施例不进行穷举。The scene type tag contained in the above-mentioned second preset tag may specifically be a preset value corresponding to the scene type. For example, 0 indicates that the scene type is indoor, 1 indicates that the scene type is outdoor, etc. This is only an exemplary explanation. The preset values that do not represent the scene type are only the above two possibilities. As the scene types are divided into more detailed , there may be more preset value possibilities, and this embodiment does not list them exhaustively.
上述无线训练信号的获取方式,可以是:将信号源节点与目标节点放置在任意两个位置处,记录目标节点的接收信号。其中,将信号源节点与目标节点放置在任意两个位置处,可以是将信号源节点与目标节点放置在任意区域范围内的任意两个位置处。这里,所述信号源节点可以为能够发送蓝牙信号、WIFI信号、蜂窝网信号、超宽带(Ultra Wide Band,UWB)信号中任意之一信号类型的无线信号的设备;相应的,所述目标节点可以为能够接收上述任意之一信号类型的无线信号的设备。The above-mentioned wireless training signal acquisition method can be: placing the signal source node and the target node at any two locations, and recording the received signal of the target node. Wherein, placing the signal source node and the target node at any two locations may mean placing the signal source node and the target node at any two locations within any area. Here, the signal source node may be a device capable of sending wireless signals of any one signal type among Bluetooth signals, WIFI signals, cellular network signals, and ultra-wideband (Ultra Wide Band, UWB) signals; accordingly, the target node It can be a device capable of receiving wireless signals of any of the above signal types.
在获取到上述无线训练信号的同时,可以基于信号源节点与目标节点的相关信息设置前述第一预设标签以及第二预设标签。举例来说,例如信号源节点与目标节点之间存在遮挡物,可以根据该遮挡物的材料确定场景类型,进而确定场景类型标签(即前述第二预设标签);前述遮挡物的材料包括但不限于玻璃、木材、塑料、金属等。再举例来说,基于信号源节点与目标节点之间的距离,确定前述第一预设标签中的距离标签;或者,基于信号源节点与目标节点之间的角度,确定前述第一预设标签中的角度标签;或者,基于目标节点测量到的RSS值,确定前述第一预设标签中的RSS标签。举例来说,还可以基于信号源节点与目标节点之间的距离,以及当前目标节点估计到的初始距离,确定距离偏差,即前述第一预设标签中的距离偏差标签;或者,基于信号源节点与目标节点之间的角度,以及当前目标节点估计到的初始角度,确定角度偏差,即前述第一预设标签中的角度偏差标签;或者,基于目标节点测量到的RSS值、以及实际RSS值,确定前述第一预设标签中的RSS偏差标签。While acquiring the wireless training signal, the first preset label and the second preset label may be set based on the relevant information of the signal source node and the target node. For example, if there is an obstruction between the signal source node and the target node, the scene type can be determined according to the material of the obstruction, and then the scene type label (ie, the aforementioned second preset label) can be determined; the materials of the aforementioned obstruction include: Not limited to glass, wood, plastic, metal, etc. For another example, the distance label in the first preset label is determined based on the distance between the signal source node and the target node; or the aforementioned first preset label is determined based on the angle between the signal source node and the target node. or, based on the RSS value measured by the target node, determine the RSS label in the first preset label. For example, the distance deviation can also be determined based on the distance between the signal source node and the target node and the initial distance estimated by the current target node, that is, the distance deviation label in the aforementioned first preset label; or, based on the signal source The angle between the node and the target node, and the initial angle estimated by the current target node, determine the angle deviation, that is, the angle deviation label in the first preset label; or, based on the RSS value measured by the target node and the actual RSS value to determine the RSS deviation label in the aforementioned first preset label.
通过以上处理可以得到训练样本,下面针对如何基于训练样本进行预设模型的训练进行详细说明:The training samples can be obtained through the above processing. The following is a detailed description of how to train the preset model based on the training samples:
所述采用训练样本对预设模型进行训练,包括:The use of training samples to train the preset model includes:
将所述训练样本中的无线训练信号输入所述预设模型的第一预设子模型,得到所述第一预设子模型输出的定位特征预测信息以及场景特征预测信息;Input the wireless training signal in the training sample into the first preset sub-model of the preset model to obtain positioning feature prediction information and scene feature prediction information output by the first preset sub-model;
将所述定位特征预测信息以及所述场景特征预测信息,输入所述预设模型中的第四预设子模型,得到所述第四预设子模型输出的所述无线训练信号的重构信号;Input the positioning feature prediction information and the scene feature prediction information into the fourth preset sub-model in the preset model to obtain the reconstructed signal of the wireless training signal output by the fourth preset sub-model. ;
将所述定位特征预测信息输入所述预设模型中的第二预设子模型,得到第二预设子模型输出的定位估计参数,并将所述场景特征预测信息输入所述预设模型中的第三预设子模型,得到所述第三预设子模型输出的场景类型估计值;Input the positioning feature prediction information into the second preset sub-model in the preset model, obtain the positioning estimation parameters output by the second preset sub-model, and input the scene feature prediction information into the preset model. The third preset sub-model is used to obtain the scene type estimate output by the third preset sub-model;
基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数;Determine a loss function based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimate, the first preset label, and the second preset label;
基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一。Based on the loss function, reverse conduction updates at least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model.
其中,所述预设模型可以如图7所示,包括第一预设子模型701、第二预设子模型702、第三预设子模型703、第四预设子模型704。通过图7可以看出,训练样本中的无线训练信号可以输入预设模型中的第一预设子模型701,通过第一预设子模型701可以得到定位特征预测信息和场景特征预测信息;第四预设子模型704的输入为定位特征预测信息和场景特征预测信息,该第四预设子模型的输出为重构信号;第二预设子模型702的输入为定位特征预测信息,输出信息为预测得到的定位估计参数;第三预设子模型703输入为场景特征预测信息,输出为预测得到的场景类型估计值。The preset model may include a first preset sub-model 701, a second preset sub-model 702, a third preset sub-model 703, and a fourth preset sub-model 704, as shown in FIG. 7 . It can be seen from Figure 7 that the wireless training signals in the training samples can be input into the first preset sub-model 701 in the preset model, and the positioning feature prediction information and scene feature prediction information can be obtained through the first preset sub-model 701; The inputs of the four preset sub-models 704 are positioning feature prediction information and scene feature prediction information, and the output of the fourth preset sub-model is the reconstructed signal; the input of the second preset sub-model 702 is the positioning feature prediction information, and the output information is the predicted positioning estimation parameter; the input of the third preset sub-model 703 is the scene feature prediction information, and the output is the predicted scene type estimate.
上述定位估计参数可以包括以下至少之一:距离预测值、角度预测值、RSS预测值、距离偏差预测值、角度偏差预测值、RSS偏差预测值。The above positioning estimation parameters may include at least one of the following: distance prediction value, angle prediction value, RSS prediction value, distance deviation prediction value, angle deviation prediction value, and RSS deviation prediction value.
上述定位估计参数可以随着本次训练的目标不同而不同,并且该定位估计参数与前述第一预设标签的具体内容是对应的。比如,本次训练目标为得到能够根据接收到的无线信号处理得到距离这个定位参数的目标模型,则可以使用无线训练信号对应的距离标签作为 第一预设标签,同样的,定位估计参数为距离预测值。比如,本次训练目标为得到能够根据接收到的无线信号处理得到RSS值这个定位参数的目标模型,则可以使用无线训练信号对应的RSS值标签作为第一预设标签,同样的,定位估计参数为RSS预测值。本次训练目标为得到能够根据接收到的无线信号处理得到距离以及角度,将该距离以及角度均作为定位参数的目标模型,则可以使用无线训练信号对应的距离标签以及角度标签作为第一预设标签,同样的,定位估计参数可以包含距离以及角度。以上仅为示例性说明,不代表实际使用时仅可以有以上几种方式,可以根据实际需求通过设置预设模型中各个子模型的参数,使得预设模型输出的定位估计参数为本次训练所需的类型或内容。The above-mentioned positioning estimation parameters may vary with different goals of this training, and the positioning estimation parameters correspond to the specific content of the aforementioned first preset label. For example, the goal of this training is to obtain a target model that can obtain the positioning parameter of distance based on the received wireless signal processing. Then the distance label corresponding to the wireless training signal can be used as the first preset label. Similarly, the positioning estimation parameter is distance. Predictive value. For example, the goal of this training is to obtain a target model that can obtain the positioning parameter of the RSS value based on the received wireless signal processing, then the RSS value label corresponding to the wireless training signal can be used as the first preset label. Similarly, the positioning estimation parameter is the RSS predicted value. The goal of this training is to obtain a target model that can obtain the distance and angle based on the received wireless signal processing, and use the distance and angle as positioning parameters. Then the distance label and angle label corresponding to the wireless training signal can be used as the first preset Labels, similarly, positioning estimation parameters can include distance and angle. The above is only an illustrative explanation. It does not mean that only the above methods can be used in actual use. You can set the parameters of each sub-model in the preset model according to actual needs, so that the positioning estimation parameters output by the preset model are the ones required for this training. required type or content.
针对预设模型的训练可以为多次循环处理的,下面针对任意一次循环处理中可以包括的实施方式进行说明:The training of the preset model can be processed in multiple loops. The following is a description of the implementation methods that can be included in any loop processing:
在一种实施方式中,上述基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,包括:基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数。In one implementation, the loss is determined based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimate, the first preset label and the second preset label. A function includes: determining a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value.
举例来说,将第一预设子网络的变换处理表示为f θ,将第四预设子网络的变化处理表示为f φ;其中θ,φ表示第一预设子网络和第四预设子网络的参数(或称为网络参数)。将输入的无线训练信号表示为r,第一预设子网络输出的位置特征预测信息z p和场景特征预测信息z l。第四预设子网络输出重构的接收信号
Figure PCTCN2022087775-appb-000006
具体表示为
Figure PCTCN2022087775-appb-000007
则第一损失函数表示为:
For example, the transformation process of the first preset sub-network is expressed as f θ , and the change process of the fourth preset sub-network is expressed as f φ ; where θ and φ represent the first preset sub-network and the fourth preset sub-network. Parameters of the subnetwork (or network parameters). Denote the input wireless training signal as r, the location feature prediction information z p and the scene feature prediction information z l output by the first preset sub-network. The fourth preset sub-network outputs the reconstructed received signal
Figure PCTCN2022087775-appb-000006
Specifically expressed as
Figure PCTCN2022087775-appb-000007
Then the first loss function is expressed as:
L AE(θ,φ;r)=||r-f φ(f θ(r))|| 2+||z p|| 2+‖z l2L AE (θ,φ; r)=||rf φ (f θ (r))|| 2 +||z p || 2 +‖z l2 ;
其中,L AE(θ,φ;r)即第一损失函数;r-f φ(f θ(r))即
Figure PCTCN2022087775-appb-000008
‖.‖表示计算绝对值。
Among them, L AE (θ,φ; r) is the first loss function; rf φ (f θ (r)) is
Figure PCTCN2022087775-appb-000008
‖.‖ means calculating the absolute value.
所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:基于第一损失函数,反向传导更新第一预设子模型的参数和第四预设子模型的参数。同样以前述示例进行说明,具体为基于第一损失函数反向传导更新前述θ,φ。The step of updating at least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model based on the loss function includes: based on the first preset sub-model. A loss function is used to conduct reverse conduction to update the parameters of the first preset sub-model and the parameters of the fourth preset sub-model. The above example is also used to illustrate, specifically, the aforementioned θ and φ are updated based on the first loss function reverse conduction.
所述基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,还包括:基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;以及基于所述场景类型估计值以及第二预设标签,确定第三损失函数。Determining the loss function based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimation value, the first preset label and the second preset label further includes: based on The positioning estimation parameter and the first preset label determine a second loss function; and based on the scene type estimate and the second preset label, a third loss function is determined.
举例来说,假设第一预设标签为距离偏差;相应的,所述定位估计参数包括距离偏差估计值。设该第二预设子模型的变换关系表示为
Figure PCTCN2022087775-appb-000009
其中
Figure PCTCN2022087775-appb-000010
为第二预设子模型的参数(或称为网络参数);第二预设子模型的输入位置特征预测信息表示为z p,经过第二预设子模型后输出距离偏差估计值
Figure PCTCN2022087775-appb-000011
Figure PCTCN2022087775-appb-000012
将该距离偏差估计值和第一预设标签中包含的距离偏差b对比计算第二损失函数(比如表示为
Figure PCTCN2022087775-appb-000013
该第二损失函数项具体为:
Figure PCTCN2022087775-appb-000014
For example, assume that the first preset label is distance deviation; accordingly, the positioning estimation parameter includes a distance deviation estimate. Assume that the transformation relationship of the second preset sub-model is expressed as
Figure PCTCN2022087775-appb-000009
in
Figure PCTCN2022087775-appb-000010
are the parameters of the second preset sub-model (or network parameters); the input position feature prediction information of the second preset sub-model is expressed as z p , and the distance deviation estimate is output after passing through the second preset sub-model.
Figure PCTCN2022087775-appb-000011
Right now
Figure PCTCN2022087775-appb-000012
Compare the distance deviation estimate with the distance deviation b contained in the first preset label to calculate the second loss function (for example, expressed as
Figure PCTCN2022087775-appb-000013
The second loss function term is specifically:
Figure PCTCN2022087775-appb-000014
假设第三预设子模型的变换关系表示为
Figure PCTCN2022087775-appb-000015
其中
Figure PCTCN2022087775-appb-000016
为第三预设子模型的参数(或称为网络参数);第三预设子模型的输入为场景特征预测信息z l,经过第三预设子模型后输出场景类型估计值
Figure PCTCN2022087775-appb-000017
Figure PCTCN2022087775-appb-000018
将该场景类型估计值与第二预设标签中包含的场景类型标签l对比,计算第三损失函数
Figure PCTCN2022087775-appb-000019
该第三损失函数具体可以为:
Figure PCTCN2022087775-appb-000020
Figure PCTCN2022087775-appb-000021
Assume that the transformation relationship of the third preset sub-model is expressed as
Figure PCTCN2022087775-appb-000015
in
Figure PCTCN2022087775-appb-000016
are the parameters of the third preset sub-model (or network parameters); the input of the third preset sub-model is scene feature prediction information z l , and the scene type estimate is output after passing through the third preset sub-model.
Figure PCTCN2022087775-appb-000017
Right now
Figure PCTCN2022087775-appb-000018
Compare the scene type estimate with the scene type label l contained in the second preset label, and calculate the third loss function
Figure PCTCN2022087775-appb-000019
Specifically, the third loss function can be:
Figure PCTCN2022087775-appb-000020
Figure PCTCN2022087775-appb-000021
所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:基于所述第二损失函数,反向传导更新所述第二预设子模型的参数,并基于所述第三损失函数,反向传导更新所述第三预设子模型的参数。同样以前述示例进行说明,具体为基于第二损失函数和第三损失函数,反向 传导更新前述
Figure PCTCN2022087775-appb-000022
Based on the loss function, reverse conduction updates at least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model, including: based on the The second loss function is used to conduct backward conduction to update the parameters of the second preset sub-model, and based on the third loss function, the reverse conduction is used to update the parameters of the third preset sub-model. The same is explained with the aforementioned example. Specifically, based on the second loss function and the third loss function, reverse conduction updates the aforementioned
Figure PCTCN2022087775-appb-000022
应理解,由于针对预设模型的训练为循环执行的,在任意一次循环中,比如称为第t次循环处理中(t为正整数),可以使用上述第一损失函数,基于上述第一损失函数进行反向传导更新第一预设子模型和第四预设子模型的参数;在t+1次循环处理中,可以使用上述第二损失函数以及第三损失函数进行反向传导,更新第二预设模型的参数以及第三预设子模型的参数;进而在t+2次循环处理中,再次基于上述第一损失函数进行反向传导更新第一预设子模型和第四预设子模型的参数;在t+3次循环处理中,使用上述第二损失函数以及第三损失函数进行反向传导,更新第二预设模型的参数以及第三预设子模型的参数。以此类推,直至预设模型整体收敛为止,确定完成对预设模型的训练。It should be understood that since the training of the preset model is performed in a loop, in any loop, such as the t-th loop processing (t is a positive integer), the above-mentioned first loss function can be used. Based on the above-mentioned first loss The function performs reverse conduction to update the parameters of the first preset sub-model and the fourth preset sub-model; in the t+1 cycle processing, the above-mentioned second loss function and third loss function can be used to conduct reverse conduction, and the parameters of the first preset sub-model and the fourth preset sub-model are updated. The parameters of the second preset model and the parameters of the third preset sub-model; then in the t+2 loop processing, reverse conduction is performed again to update the first preset sub-model and the fourth preset sub-model based on the above-mentioned first loss function. Parameters of the model; in the t+3 loop processing, the above-mentioned second loss function and third loss function are used for reverse conduction, and the parameters of the second preset model and the parameters of the third preset sub-model are updated. By analogy, until the preset model converges as a whole, the training of the preset model is determined to be completed.
需要指出的是,确定预设模型是否收敛的条件可以包括以下至少之一:训练的循环次数达到预设门限值;第一损失函数、第二损失函数、第三损失函数不再变化或分别小于指定值等等。所述预设门限值可以根据实际情况设置,比如可以为100次、50次等等。本实施例不对预设模型可能的全部收敛条件进行穷举。It should be pointed out that the conditions for determining whether the preset model has converged may include at least one of the following: the number of training cycles reaches the preset threshold; the first loss function, the second loss function, and the third loss function no longer change or respectively less than the specified value, etc. The preset threshold value can be set according to the actual situation, for example, it can be 100 times, 50 times, etc. This embodiment does not exhaust all possible convergence conditions of the preset model.
关于前述第一损失函数的推导过程说明如下:接收的无线信号是在信号源节点发射的无线信号经过障碍物之后的无线信号,而不同的环境特征会使得接收的无线信号不同,比如图8中所示,无线信号经过环境特征中包含玻璃障碍物时得到的接收的无线信号(比如图8上方中所示为接收的无线信号的CIR),与无线信号经过环境特征中包含塑料障碍物时得到的接收的无线信号(比如图8中下方所示为接收的无线信号的CIR),两者存在不同。The derivation process of the aforementioned first loss function is explained as follows: the received wireless signal is the wireless signal after the wireless signal transmitted by the signal source node passes through the obstacle, and different environmental characteristics will make the received wireless signal different, such as in Figure 8 As shown, the received wireless signal obtained when the wireless signal passes through the environmental features including glass obstacles (for example, the CIR of the received wireless signal is shown in the upper part of Figure 8), and the received wireless signal obtained when the wireless signal passes through the environmental features including plastic obstacles. The received wireless signal (for example, the CIR of the received wireless signal shown in the lower part of Figure 8) is different between the two.
针对该接收的无线信号r(也就是前述训练样本中的无线训练信号)可以分解为隐空间的两个条件独立的特征即前述位置特征预测信息z p和环境特征预测信息z l。隐变量的分布可以表示如下:p(z p,z l|r)=p(z p|r)p(z l|r)。其中,p()表示隐变量分布计算。其中z p包含仅和训练样本中的无线训练信号有关的位置相关的信息,不受环境因素影响,因此定位估计参数可以完全由z p决定。z l包含仅和环境因素有关的信息不受位置影响,因此场景的相关信息可以完全由环境特征z l决定。然后利用位置特征预测信息z p和环境特征预测信息z l,可以得到条件分布p(b|z p),p(l|z l);其中b表示定位估计参数,l表示场景类型估计值)。再使用变分推断方法,构建变分分布q(z p,z l|r)(其中q()即变分分布函数),以近似未知的联合特征分布p(z p,z l|r)。假设变分分布同样有如下分解关系:q(z p,z l|r)=q(z p|r)q(z l|r)。根据变分理论,可以推导得到针对该变分分布q(z p,z l|r)和观测r的证据变分下界L为:
Figure PCTCN2022087775-appb-000023
The received wireless signal r (that is, the wireless training signal in the aforementioned training sample) can be decomposed into two conditionally independent features of the latent space, namely the aforementioned location feature prediction information z p and the environment feature prediction information z l . The distribution of latent variables can be expressed as follows: p(z p ,z l |r)=p(z p |r)p(z l |r). Among them, p() represents the calculation of hidden variable distribution. Among them, z p contains position-related information only related to the wireless training signal in the training sample and is not affected by environmental factors, so the positioning estimation parameters can be completely determined by z p . z l contains information only related to environmental factors and is not affected by location, so the relevant information of the scene can be completely determined by the environmental characteristics z l . Then using the location feature prediction information z p and the environment feature prediction information z l , the conditional distribution p(b|z p ), p(l|z l ) can be obtained; where b represents the positioning estimation parameter and l represents the scene type estimate) . Then use the variational inference method to construct the variational distribution q(z p ,z l |r) (where q() is the variational distribution function) to approximate the unknown joint characteristic distribution p(z p ,z l |r) . Assume that the variational distribution also has the following decomposition relationship: q(z p ,z l |r)=q(z p |r)q(z l |r). According to variational theory, it can be deduced that the evidence variational lower bound L for the variational distribution q(z p ,z l |r) and observation r is:
Figure PCTCN2022087775-appb-000023
-D KL(q(z l|r)||p(z l));其中,D KL(·||·)是分布之间的Kullback-Leibler(KL)散度;E为经验分布函数。 -D KL (q(z l |r)||p(z l )); where, D KL (·||·) is the Kullback-Leibler (KL) divergence between distributions; E is the empirical distribution function.
假设先验分布p(z p|r)p(z l|r)都是均值为0方差为1的高斯分布,以确保编码一定的随机性;假设变分分布q(z p|r)q(z l|r)是均值、方差为1的随机分布,其均值由第一预设子模型(编码器)求得。将以上假设代入D KL(q(z p|r)||p(z p))和D KL(q(z l|r)||p(z l)),可得到D KL(q(z p|r)||p(z p))为||z p|| 2,D KL(q(z l|r)||p(z l))为‖z l2。前述函数的
Figure PCTCN2022087775-appb-000024
由第二预设子模型(解码器),输入第一预设子模型的分布中任意采样的结果z p,z l~q(z p,z l|r),输出重构的信号r~p(r|z p=z p,z l=z l),该重构结果的经验分布函数就可以用来表示
Figure PCTCN2022087775-appb-000025
希望最大化L,即最大化该项,等效于使得重构出来的r和初始输入第一子网络的r相近,可以用||r-f φ(f θ(r))|| 2来表示。如此,通过以上推导过程,可以得到第一损失函数表示为:L AE(θ,φ;r)=||r-f φ(f θ(r))|| 2+||z p|| 2+‖z l2
Assume that the prior distribution p(z p |r)p(z l |r) is a Gaussian distribution with a mean of 0 and a variance of 1 to ensure a certain degree of randomness in the encoding; assume that the variational distribution q(z p |r)q (z l |r) is a random distribution with mean and variance of 1, and its mean is obtained by the first preset sub-model (encoder). Substituting the above assumptions into D KL (q(z p |r)||p(z p )) and D KL (q(z l |r)||p(z l )), we can get D KL (q(z p |r)||p(z p )) is ||z p || 2 , and D KL (q(z l |r)||p(z l )) is ‖z l2 . of the aforementioned functions
Figure PCTCN2022087775-appb-000024
The second preset sub-model (decoder) inputs the results of any sampling in the distribution of the first preset sub-model z p , z l ~ q (z p , z l |r), and outputs the reconstructed signal r ~ p(r|z p =z p ,z l =z l ), the empirical distribution function of the reconstruction result can be used to express
Figure PCTCN2022087775-appb-000025
We hope to maximize L, that is, to maximize this term, which is equivalent to making the reconstructed r close to the r of the initial input first subnetwork, which can be expressed by ||rf φ (f θ (r))|| 2 . In this way, through the above derivation process, the first loss function can be expressed as: L AE (θ,φ; r)=||rf φ (f θ (r))|| 2 +||z p || 2 +‖ z l2 .
在另一种实施方式中,所述基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,包括:基于 所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数;基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;基于所述场景类型估计值以及第二预设标签,确定第三损失函数;基于所述第一损失函数、所述第二损失函数、所述第三损失函数加权计算得到总损失函数。In another implementation, based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimation value, the first preset label and the second preset label, Determining a loss function includes: determining a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value; and determining a first loss function based on the positioning estimation parameter and the first prediction value. Assume labels, determine the second loss function; determine the third loss function based on the scene type estimate and the second preset label; determine the third loss function based on the first loss function, the second loss function, and the third loss function The weighted calculation yields the total loss function.
其中,关于构建第一损失函数、第二损失函数、第三损失函数的方式在前述实施方式中已经说明,这里不做赘述。Among them, the methods of constructing the first loss function, the second loss function, and the third loss function have been described in the foregoing embodiments and will not be described again here.
基于前述实施例的示例,进一步的对总损失函数进行说明,该总损失函数可以表示为:Based on the examples of the aforementioned embodiments, the total loss function is further described. The total loss function can be expressed as:
Figure PCTCN2022087775-appb-000026
Figure PCTCN2022087775-appb-000026
其中,L AE(θ,φ;r)即前述第一损失函数,具体的计算方式在前述已经说明不做赘述,α AE即第一损失函数的权重;
Figure PCTCN2022087775-appb-000027
即前述第二损失函数,具体的计算方式与前述实施例相同,α p即第二损失函数的权重;
Figure PCTCN2022087775-appb-000028
即第三损失函数,具体的计算方式与前述实施例相同,α l即第三损失函数的权重。α AEpl的具体取值可以根据实际情况确定,比如可以设置α AE=α p=α l=1,或者还可以设置为其他的取值,这里不对其进行限定。
Among them, L AE (θ, φ; r) is the aforementioned first loss function. The specific calculation method has been explained above and will not be repeated. α AE is the weight of the first loss function;
Figure PCTCN2022087775-appb-000027
That is, the aforementioned second loss function, the specific calculation method is the same as the aforementioned embodiment, α p is the weight of the second loss function;
Figure PCTCN2022087775-appb-000028
That is, the third loss function, the specific calculation method is the same as the previous embodiment, α l is the weight of the third loss function. The specific values of α AE , α p , and α l can be determined according to the actual situation. For example, α AEpl =1 can be set, or it can also be set to other values, which are not limited here.
所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:基于所述总损失函数反向传导更新所述第一预设子模型的参数、第二预设子模型的参数、第三预设子模型的参数以及第四预设子模型的参数。Based on the loss function, reverse conduction updates at least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model, including: based on the The total loss function conducts backwards to update the parameters of the first preset sub-model, the parameters of the second preset sub-model, the parameters of the third preset sub-model and the parameters of the fourth preset sub-model.
应理解,由于针对预设模型的训练可以为循环执行的,在本实施方式中,在任意一次循环中,可以使用上述总损失函数反向传导更新所述第一预设模型的参数、第二预设模型的参数、第三预设模型的参数以及第四预设模型的参数;以此类推,直至预设模型整体收敛为止,确定完成对预设模型的训练。需要指出的是,确定预设模型是否收敛的条件可以包括以下至少之一:训练的循环次数达到预设门限值;总损失函数不再变化或小于预设值等等。所述预设门限值可以根据实际情况设置,比如可以为100次、50次等等。本实施例不对预设模型全部可能的收敛条件进行穷举。It should be understood that since the training for the preset model can be performed in a loop, in this embodiment, in any cycle, the parameters of the first preset model, the second preset model, and the second preset model can be updated by reverse conduction using the above total loss function in any cycle. The parameters of the preset model, the parameters of the third preset model and the parameters of the fourth preset model; and so on, until the entire preset model converges, the training of the preset model is determined to be completed. It should be noted that the conditions for determining whether the preset model has converged may include at least one of the following: the number of training cycles reaches a preset threshold; the total loss function no longer changes or is less than the preset value, etc. The preset threshold value can be set according to the actual situation, for example, it can be 100 times, 50 times, etc. This embodiment does not exhaust all possible convergence conditions of the preset model.
在确定完成该预设模型的训练之后,将该预设模型中的第一预设子模型作为目标模型中的第一子模型,将预设模型中的第二预设子模型作为目标模型中的第二子模型,将预设模型中的第三预设子模型作为目标模型中的第三子模型。可以看出,第四预设子模型仅在对预设模型进行训练的时候使用,而在使用训练后的预设模型(即目标模型)进行实际预测的时候,如图5所示,仅需要使用其中的第一子模型、第二子模型以及第三子模型即可。After it is determined that the training of the preset model is completed, the first preset sub-model in the preset model is used as the first sub-model in the target model, and the second preset sub-model in the preset model is used as the first sub-model in the target model. The second sub-model of , and the third preset sub-model in the preset model is used as the third sub-model in the target model. It can be seen that the fourth preset sub-model is only used when training the preset model, and when using the trained preset model (i.e., the target model) for actual prediction, as shown in Figure 5, only Just use the first sub-model, the second sub-model and the third sub-model.
可见,通过采用上述方案,就可以对预设模型进行训练,得到目标模型,该目标模型可以用于对无线信号进行处理,得到定位参数,该定位参数用于确定定位信息。如此,可以使得通过该目标模型识别无线信号以得到更加准确的用于定位的参数,保证定位的准确性以及处理效率。It can be seen that by adopting the above solution, the preset model can be trained to obtain a target model. The target model can be used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information. In this way, wireless signals can be identified through the target model to obtain more accurate parameters for positioning, ensuring positioning accuracy and processing efficiency.
另外,前述方案中,可以将信号分解为隐空间,一方面,可以从高维数据中自适应提取高级语义特征,相比传统三角定位等基于估计值的定位方案更充分地利用信号信息,从而可以实现通过训练后的目标模型实现定位精度的提升;另一方面,通过前述方案可以将信号的环境特征和定位相关特征解耦,把环境影响从定位特征中分离出来,相比传统定位方案进一步显式排除环境干扰,从而实现定位鲁棒性的提升。并且,前述方案的算法复杂度低,能够满足实际应用场景的高实时性需求,由于上述算法基于深度学习技术设计,在完成离线训练得到目标模型之后,只需在第一设备(即待测节点侧)存储模型的参数即可实现实时的位置和环境特征估计,对于硬件计算来说易于部署和处理。In addition, in the aforementioned scheme, the signal can be decomposed into a latent space. On the one hand, advanced semantic features can be adaptively extracted from high-dimensional data, making full use of signal information compared with traditional triangulation and other estimation-based positioning schemes. The positioning accuracy can be improved through the trained target model; on the other hand, the environmental characteristics of the signal and the positioning-related features can be decoupled through the aforementioned solution, and the environmental influence can be separated from the positioning features, which is further compared to the traditional positioning solution. Explicitly eliminate environmental interference to improve positioning robustness. Moreover, the algorithm of the aforementioned solution has low complexity and can meet the high real-time requirements of actual application scenarios. Since the above algorithm is designed based on deep learning technology, after completing offline training to obtain the target model, it only needs to be performed on the first device (i.e., the node to be tested). Side) Storing the parameters of the model can achieve real-time location and environmental feature estimation, which is easy to deploy and process for hardware computing.
图9是根据本申请一实施例的第一设备的示意性组成结构示意图,包括:Figure 9 is a schematic structural diagram of a first device according to an embodiment of the present application, including:
通信单元901,用于接收无线信号;Communication unit 901, used to receive wireless signals;
处理单元902,用于基于目标模型对所述无线信号进行处理,得到定位参数;基于所述定位参数,确定所述第一设备的定位信息。The processing unit 902 is configured to process the wireless signal based on a target model to obtain positioning parameters; and determine positioning information of the first device based on the positioning parameters.
所述通信单元901,用于接收N个无线信号;所述N个无线信号由N个第二设备发送;N为大于等于1的整数。The communication unit 901 is configured to receive N wireless signals; the N wireless signals are sent by N second devices; N is an integer greater than or equal to 1.
所述目标模型包括第一子模型和第二子模型;The target model includes a first sub-model and a second sub-model;
所述处理单元902,用于将所述N个无线信号中的第j个无线信号输入所述第一子模型,得到所述第一子模型输出的第j个位置特征信息;其中,j为大于等于1且小于等于N的整数;将所述第j个位置特征信息输入所述第二子模型,得到所述第二子模型输出的第j个定位参数。The processing unit 902 is configured to input the j-th wireless signal among the N wireless signals into the first sub-model to obtain the j-th location feature information output by the first sub-model; where j is An integer greater than or equal to 1 and less than or equal to N; input the j-th position feature information into the second sub-model to obtain the j-th positioning parameter output by the second sub-model.
所述处理单元902,用于基于N个定位参数以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The processing unit 902 is configured to determine the positioning information of the first device based on the N positioning parameters and the position information of the N second devices.
所述N个定位参数,包括以下至少之一:The N positioning parameters include at least one of the following:
所述第一设备与所述N个第二设备中各个第二设备之间的距离;The distance between the first device and each of the N second devices;
所述第一设备对所述N个无线信号中各个无线信号的接收角度。The receiving angle of each of the N wireless signals by the first device.
所述N个定位参数,包括:N个距离偏差;The N positioning parameters include: N distance deviations;
所述处理单元902,用于基于所述N个距离偏差对N个初始距离进行校正,得到N个调整后的距离;基于所述N个调整后的距离以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The processing unit 902 is configured to correct N initial distances based on the N distance deviations to obtain N adjusted distances; based on the N adjusted distances and the positions of the N second devices information to determine the positioning information of the first device.
所述处理单元902,用于基于所述N个无线信号,确定所述第一设备与所述N个第二设备之间的所述N个初始距离。The processing unit 902 is configured to determine the N initial distances between the first device and the N second devices based on the N wireless signals.
所述N个定位参数,包括:N个角度偏差;所述处理单元,用于基于所述N个角度偏差对N个初始接收角度进行校正,得到N个调整后的角度;基于所述N个调整后的角度以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The N positioning parameters include: N angular deviations; the processing unit is used to correct the N initial receiving angles based on the N angular deviations to obtain N adjusted angles; based on the N The adjusted angle and the position information of the N second devices determine the positioning information of the first device.
所述处理单元902,用于确定接收所述N个无线信号的所述N个初始接收角度。The processing unit 902 is configured to determine the N initial reception angles for receiving the N wireless signals.
所述处理单元902,用于基于N个定位参数以及信号特征库,确定所述第一设备的定位信息;其中,所述信号特征库中包含多个参考位置中每个参考位置的特征量;所述每个参考位置的特征量包含N个第二设备中各个第二设备的参考信号的RSS参考值。The processing unit 902 is configured to determine the positioning information of the first device based on N positioning parameters and a signal feature library; wherein the signal feature library contains the characteristic amount of each reference position in a plurality of reference positions; The feature quantity of each reference position includes the RSS reference value of the reference signal of each of the N second devices.
所述N个定位参数包括N个信号接收强度RSS值。The N positioning parameters include N signal reception strength RSS values.
所述N个定位参数包括N个RSS偏差;所述处理单元,用于基于所述N个RSS偏差以及N个初始强度估计值,确定N个调整后的RSS值;基于所述N个调整后的RSS值以及所述信号特征库,确定所述第一设备的定位信息。The N positioning parameters include N RSS deviations; the processing unit is configured to determine N adjusted RSS values based on the N RSS deviations and N initial intensity estimates; based on the N adjusted The RSS value and the signal feature library are used to determine the positioning information of the first device.
所述目标模型的第一子模型还用于对无线信号进行处理,得到所述无线信号对应的环境特征信息;The first sub-model of the target model is also used to process wireless signals to obtain environmental feature information corresponding to the wireless signals;
所述目标模型还包括第三子模型,所述第三子模型用于对所述环境特征信息进行处理,得到场景类型信息。The target model also includes a third sub-model, which is used to process the environmental feature information to obtain scene type information.
所述处理单元902,用于基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境。The processing unit 902 is configured to determine the environment in which the first device is located based on the scene type information output by the third sub-model.
所述N个无线信号中第i个无线信号的信号类型,为以下之一:蓝牙无线信号、WIFI无线信号、蜂窝网无线信号、超宽带UWB无线信号。The signal type of the i-th wireless signal among the N wireless signals is one of the following: Bluetooth wireless signal, WIFI wireless signal, cellular network wireless signal, or ultra-wideband UWB wireless signal.
图10是根据本申请一实施例的电子设备的示意性组成结构示意图,包括:Figure 10 is a schematic structural diagram of an electronic device according to an embodiment of the present application, including:
训练单元1001,用于采用训练样本对预设模型进行训练,得到训练后的目标模型;其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。The training unit 1001 is used to train a preset model using training samples to obtain a trained target model; wherein the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
所述训练样本包括:无线训练信号,所述无线训练信号对应的第一预设标签以及所述无线训练信号对应的第二预设标签。The training samples include: a wireless training signal, a first preset label corresponding to the wireless training signal, and a second preset label corresponding to the wireless training signal.
所述无线训练信号对应的第一预设标签,包括以下至少之一:所述无线训练信号对应的距离标签;所述无线训练信号对应的角度标签;所述无线训练信号对应的RSS标签;所 述无线训练信号对应的距离偏差标签;所述无线训练信号对应的角度偏差标签;所述无线训练信号对应的RSS偏差标签。The first preset tag corresponding to the wireless training signal includes at least one of the following: a distance tag corresponding to the wireless training signal; an angle tag corresponding to the wireless training signal; an RSS tag corresponding to the wireless training signal; The distance deviation tag corresponding to the wireless training signal; the angle deviation tag corresponding to the wireless training signal; the RSS deviation tag corresponding to the wireless training signal.
所述无线训练信号对应的第二预设标签,包括:所述无线训练信号所在环境对应的场景类型标签。The second preset tag corresponding to the wireless training signal includes: a scene type tag corresponding to the environment in which the wireless training signal is located.
所述训练单元1001,用于将所述训练样本中的无线训练信号输入所述预设模型的第一预设子模型,得到所述第一预设子模型输出的定位特征预测信息以及场景特征预测信息;将所述定位特征预测信息以及所述场景特征预测信息,输入所述预设模型中的第四预设子模型,得到所述第四预设子模型输出的所述无线训练信号的重构信号;将所述定位特征预测信息输入所述预设模型中的第二预设子模型,得到第二预设子模型输出的定位估计参数,并将所述场景特征预测信息输入所述预设模型中的第三预设子模型,得到所述第三预设子模型输出的场景类型估计值;基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数;基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一。The training unit 1001 is configured to input the wireless training signal in the training sample into the first preset sub-model of the preset model, and obtain the positioning feature prediction information and scene features output by the first preset sub-model. Prediction information; input the positioning feature prediction information and the scene feature prediction information into the fourth preset sub-model in the preset model to obtain the wireless training signal output by the fourth preset sub-model. Reconstruct the signal; input the positioning feature prediction information into the second preset sub-model in the preset model, obtain the positioning estimation parameters output by the second preset sub-model, and input the scene feature prediction information into the The third preset sub-model in the preset model is used to obtain the scene type estimate output by the third preset sub-model; based on the reconstructed signal, the positioning estimation parameter, the scene type estimate, and the At least one of the first preset label and the second preset label determines a loss function; based on the loss function, reverse conduction updates the first preset sub-model, the second preset sub-model, and the third preset sub-model. At least one of the preset sub-model and the fourth preset sub-model.
所述训练单元1001,用于基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数。The training unit 1001 is configured to determine a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value.
所述训练单元1001,用于基于第一损失函数,反向传导更新第一预设子模型的参数和第四预设子模型的参数。The training unit 1001 is configured to conduct reverse conduction to update the parameters of the first preset sub-model and the parameters of the fourth preset sub-model based on the first loss function.
所述训练单元1001,用于基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;以及基于所述场景类型估计值以及第二预设标签,确定第三损失函数。The training unit 1001 is configured to determine a second loss function based on the positioning estimation parameter and the first preset label; and determine a third loss function based on the scene type estimate and the second preset label.
所述训练单元1001,用于基于所述第二损失函数,反向传导更新所述第二预设子模型的参数,并基于所述第三损失函数,反向传导更新所述第三预设子模型的参数。The training unit 1001 is configured to conduct backward conduction to update the parameters of the second preset sub-model based on the second loss function, and conduct reverse conduction to update the third preset based on the third loss function. Parameters of the submodel.
所述训练单元1001,用于基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数;基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;基于所述场景类型估计值以及第二预设标签,确定第三损失函数;基于所述第一损失函数、所述第二损失函数、所述第三损失函数加权计算得到总损失函数。The training unit 1001 is configured to determine a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value; based on the positioning estimation parameter and the third A preset label, determine the second loss function; based on the scene type estimate and the second preset label, determine the third loss function; based on the first loss function, the second loss function, the third loss function The loss function is weighted to obtain the total loss function.
所述训练单元1001,用于基于所述总损失函数反向传导更新所述第一预设子模型的参数、第二预设子模型的参数、第三预设子模型的参数以及第四预设子模型的参数。The training unit 1001 is configured to update the parameters of the first preset sub-model, the parameters of the second preset sub-model, the parameters of the third preset sub-model and the fourth preset sub-model based on the total loss function reverse conduction. Set the parameters of the submodel.
本申请实施例的电子设备能够实现前述的方法实施例中的模型生成方法中对应功能。该电子设备中的各个模块(子模块、单元或组件等)对应的流程、功能、实现方式以及有益效果,可参见上述方法实施例中的对应描述,在此不再赘述。应理解,上述电子设备除了上述训练单元之外,还可以包括接收单元、发送单元以及存储单元等等,比如,在得到训练后的目标模型之后,可以通过发送单元发送至前述第一设备;又比如,可以将前述训练样本保存在存储单元中等等。需要说明,关于申请实施例的电子设备中的各个模块(子模块、单元或组件等)所描述的功能,可以由不同的模块(子模块、单元或组件等)实现,也可以由同一个模块(子模块、单元或组件等)实现。The electronic device in the embodiment of the present application can implement the corresponding functions in the model generation method in the foregoing method embodiment. For the corresponding processes, functions, implementation methods and beneficial effects of each module (sub-module, unit or component, etc.) in the electronic device, please refer to the corresponding description in the above method embodiment, and will not be described again here. It should be understood that in addition to the above-mentioned training unit, the above-mentioned electronic device may also include a receiving unit, a sending unit, a storage unit, etc., for example, after obtaining the trained target model, it can be sent to the aforementioned first device through the sending unit; and For example, the aforementioned training samples can be stored in a storage unit and so on. It should be noted that the functions described for each module (sub-module, unit or component, etc.) in the electronic device of the embodiment of the application may be implemented by different modules (sub-module, unit or component, etc.), or may be implemented by the same module. (Submodule, unit or component, etc.) implementation.
图11是根据本申请实施例的通信设备1100示意性结构图。该通信设备1100包括处理器1110,处理器1110可以从存储器中调用并运行计算机程序,以使通信设备1100实现本申请实施例中的方法。Figure 11 is a schematic structural diagram of a communication device 1100 according to an embodiment of the present application. The communication device 1100 includes a processor 1110, and the processor 1110 can call and run a computer program from the memory, so that the communication device 1100 implements the method in the embodiment of the present application.
在一种可能的实现方式中,通信设备1100还可以包括存储器1120。其中,处理器1110可以从存储器1120中调用并运行计算机程序,以使通信设备1100实现本申请实施例中的方法。In a possible implementation, the communication device 1100 may further include a memory 1120. The processor 1110 can call and run the computer program from the memory 1120, so that the communication device 1100 implements the method in the embodiment of the present application.
其中,存储器1120可以是独立于处理器1110的一个单独的器件,也可以集成在处理器1110中。The memory 1120 may be a separate device independent of the processor 1110, or may be integrated into the processor 1110.
在一种可能的实现方式中,通信设备1100还可以包括收发器1130,处理器1110可以 控制该收发器1130与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。In a possible implementation, the communication device 1100 may also include a transceiver 1130, and the processor 1110 may control the transceiver 1130 to communicate with other devices. Specifically, the communication device 1100 may send information or data to, or receive data from, other devices. Information or data sent.
其中,收发器1130可以包括发射机和接收机。收发器1130还可以进一步包括天线,天线的数量可以为一个或多个。Among them, the transceiver 1130 may include a transmitter and a receiver. The transceiver 1130 may further include an antenna, and the number of antennas may be one or more.
在一种可能的实现方式中,该通信设备1100可为本申请实施例的第一设备,并且该通信设备1100可以实现本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。In a possible implementation, the communication device 1100 may be the first device in the embodiment of the present application, and the communication device 1100 may implement the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For the sake of simplicity , which will not be described in detail here.
在一种可能的实现方式中,该通信设备1100可为本申请实施例的电子设备,并且该通信设备1100可以实现本申请实施例的各个方法中由电子设备实现的相应流程,为了简洁,在此不再赘述。In a possible implementation manner, the communication device 1100 may be an electronic device according to the embodiment of the present application, and the communication device 1100 may implement the corresponding processes implemented by the electronic device in each method of the embodiment of the present application. For simplicity, in This will not be described again.
图12是根据本申请实施例的芯片1200的示意性结构图。该芯片1200包括处理器1210,处理器1210可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。Figure 12 is a schematic structural diagram of a chip 1200 according to an embodiment of the present application. The chip 1200 includes a processor 1210, and the processor 1210 can call and run a computer program from the memory to implement the method in the embodiment of the present application.
在一种可能的实现方式中,芯片1200还可以包括存储器1220。其中,处理器1210可以从存储器1220中调用并运行计算机程序,以实现本申请实施例中由前述第一设备或电子设备执行的方法。In a possible implementation, the chip 1200 may also include a memory 1220. The processor 1210 can call and run the computer program from the memory 1220 to implement the method executed by the aforementioned first device or electronic device in the embodiment of the present application.
其中,存储器1220可以是独立于处理器1210的一个单独的器件,也可以集成在处理器1210中。The memory 1220 may be a separate device independent of the processor 1210, or may be integrated into the processor 1210.
在一种可能的实现方式中,该芯片1200还可以包括输入接口1230。其中,处理器1210可以控制该输入接口1230与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。In a possible implementation, the chip 1200 may also include an input interface 1230. The processor 1210 can control the input interface 1230 to communicate with other devices or chips, and specifically, can obtain information or data sent by other devices or chips.
在一种可能的实现方式中,该芯片1200还可以包括输出接口1240。其中,处理器1210可以控制该输出接口1240与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。In a possible implementation, the chip 1200 may also include an output interface 1240. The processor 1210 can control the output interface 1240 to communicate with other devices or chips. Specifically, it can output information or data to other devices or chips.
在一种可能的实现方式中,该芯片可应用于本申请实施例中的第一设备,并且该芯片可以实现本申请实施例的各个方法中由第一设备实现的相应流程,为了简洁,在此不再赘述。In a possible implementation, the chip can be applied to the first device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the first device in the various methods of the embodiment of the present application. For simplicity, in This will not be described again.
在一种可能的实现方式中,该芯片可应用于本申请实施例中的电子设备,并且该芯片可以实现本申请实施例的各个方法中由电子设备实现的相应流程,为了简洁,在此不再赘述。In a possible implementation manner, the chip can be applied to the electronic device in the embodiment of the present application, and the chip can implement the corresponding processes implemented by the electronic device in the various methods of the embodiment of the present application. For the sake of brevity, this is not mentioned here. Again.
应用于第一设备和电子设备的芯片可以是相同的芯片或不同的芯片。The chips applied to the first device and the electronic device may be the same chip or different chips.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chips mentioned in the embodiments of this application may also be called system-on-chip, system-on-a-chip, system-on-chip or system-on-chip, etc.
上述提及的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、现成可编程门阵列(field programmable gate array,FPGA)、专用集成电路(application specific integrated circuit,ASIC)或者其他可编程逻辑器件、晶体管逻辑器件、分立硬件组件等。其中,上述提到的通用处理器可以是微处理器或者也可以是任何常规的处理器等。The processor mentioned above can be a general-purpose processor, a digital signal processor (DSP), an off-the-shelf programmable gate array (FPGA), an application specific integrated circuit (ASIC), or Other programmable logic devices, transistor logic devices, discrete hardware components, etc. The above-mentioned general processor may be a microprocessor or any conventional processor.
上述提及的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM)。The memory mentioned above may be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, non-volatile memory can be read-only memory (ROM), programmable ROM (PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically removable memory. Erase electrically programmable read-only memory (EPROM, EEPROM) or flash memory. Volatile memory can be random access memory (RAM).
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存 取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch linN DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the above memory is an exemplary but not restrictive description. For example, the memory in the embodiment of the present application can also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch linN DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM) and so on. That is, memories in embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.
图13是根据本申请实施例的通信系统1300的示意性框图。该通信系统1300包括第一设备1310和第二设备1320。Figure 13 is a schematic block diagram of a communication system 1300 according to an embodiment of the present application. The communication system 1300 includes a first device 1310 and a second device 1320.
其中,该第一设备1310可以用于实现上述方法中由第一设备实现的相应的功能,以及该第二设备1320可以用于实现上述方法中由第二设备实现的相应的功能。为了简洁,在此不再赘述。The first device 1310 can be used to implement the corresponding functions implemented by the first device in the above method, and the second device 1320 can be used to implement the corresponding functions implemented by the second device in the above method. For the sake of brevity, no further details will be given here.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行该计算机程序指令时,全部或部分地产生按照本申请实施例中的流程或功能。该计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。该计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,该计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(Digital Subscriber Line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。该计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。该可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘(Solid State DisN,SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it may 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 processes or functions according to the embodiments of the present application are generated in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted over a wired connection from a website, computer, server, or data center (such as coaxial cable, optical fiber, Digital Subscriber Line (DSL)) or wireless (such as infrared, wireless, microwave, etc.) means to transmit to another website, computer, server or data center. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center integrated with one or more available media. The available media may be magnetic media (eg, floppy disk, hard disk, tape), optical media (eg, DVD), or semiconductor media (eg, Solid State Disk (Solid State Disk, SSD)), etc.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that in the various embodiments of the present application, the size of the sequence numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its functions and internal logic, and should not be used in the embodiments of the present application. The implementation process constitutes any limitation.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that for the convenience and simplicity of description, the specific working processes of the systems, devices and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be described again here.
以上所述仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以该权利要求的保护范围为准。The above are only specific embodiments of the present application, but the protection scope of the present application is not limited thereto. Any person familiar with the technical field can easily think of changes or replacements within the technical scope disclosed in the present application. are covered by the protection scope of this application. Therefore, the protection scope of this application should be subject to the protection scope of the claims.

Claims (58)

  1. 一种定位方法,包括:A positioning method that includes:
    第一设备接收无线信号;The first device receives wireless signals;
    所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数;The first device processes the wireless signal based on the target model to obtain positioning parameters;
    所述第一设备基于所述定位参数,确定所述第一设备的定位信息。The first device determines positioning information of the first device based on the positioning parameter.
  2. 根据权利要求1所述的方法,其中,所述第一设备接收无线信号,包括:The method of claim 1, wherein the first device receiving a wireless signal includes:
    所述第一设备接收N个无线信号;所述N个无线信号由N个第二设备发送;N为大于等于1的整数。The first device receives N wireless signals; the N wireless signals are sent by N second devices; N is an integer greater than or equal to 1.
  3. 根据权利要求2所述的方法,其中,所述目标模型包括第一子模型和第二子模型;The method of claim 2, wherein the target model includes a first sub-model and a second sub-model;
    所述第一设备基于目标模型对所述无线信号进行处理,得到定位参数,包括:The first device processes the wireless signal based on the target model to obtain positioning parameters, including:
    所述第一设备将所述N个无线信号中的第j个无线信号输入所述第一子模型,得到所述第一子模型输出的第j个位置特征信息;其中,j为大于等于1且小于等于N的整数;The first device inputs the j-th wireless signal among the N wireless signals into the first sub-model to obtain the j-th location feature information output by the first sub-model; where j is greater than or equal to 1 and an integer less than or equal to N;
    将所述第j个位置特征信息输入所述第二子模型,得到所述第二子模型输出的第j个定位参数。Input the j-th position feature information into the second sub-model to obtain the j-th positioning parameter output by the second sub-model.
  4. 根据权利要求3所述的方法,其中,所述第一设备基于所述定位参数,确定所述第一设备的定位信息,包括:The method of claim 3, wherein the first device determines the positioning information of the first device based on the positioning parameter, including:
    所述第一设备基于N个定位参数以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The first device determines the positioning information of the first device based on the N positioning parameters and the position information of the N second devices.
  5. 根据权利要求4所述的方法,其中,所述N个定位参数,包括以下至少之一:The method according to claim 4, wherein the N positioning parameters include at least one of the following:
    所述第一设备与所述N个第二设备中各个第二设备之间的距离;The distance between the first device and each of the N second devices;
    所述第一设备对所述N个无线信号中各个无线信号的接收角度。The receiving angle of each of the N wireless signals by the first device.
  6. 根据权利要求4所述的方法,其中,所述N个定位参数,包括:N个距离偏差;The method according to claim 4, wherein the N positioning parameters include: N distance deviations;
    所述第一设备基于N个定位参数以及所述N个第二设备的位置信息,确定所述第一设备的定位信息,包括:The first device determines the positioning information of the first device based on the N positioning parameters and the position information of the N second devices, including:
    所述第一设备基于所述N个距离偏差对N个初始距离进行校正,得到N个调整后的距离;基于所述N个调整后的距离以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The first device corrects the N initial distances based on the N distance deviations to obtain N adjusted distances; based on the N adjusted distances and the position information of the N second devices, determine The positioning information of the first device.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method of claim 6, further comprising:
    所述第一设备基于所述N个无线信号,确定所述第一设备与所述N个第二设备之间的所述N个初始距离。The first device determines the N initial distances between the first device and the N second devices based on the N wireless signals.
  8. 根据权利要求4、6或7所述的方法,其中,所述N个定位参数,包括:N个角度偏差;The method according to claim 4, 6 or 7, wherein the N positioning parameters include: N angular deviations;
    所述第一设备基于N个定位参数以及所述N个第二设备的位置信息,确定所述第一设备的定位信息,包括:The first device determines the positioning information of the first device based on the N positioning parameters and the position information of the N second devices, including:
    所述第一设备基于所述N个角度偏差对N个初始接收角度进行校正,得到N个调整后的角度;基于所述N个调整后的角度以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The first device corrects the N initial receiving angles based on the N angular deviations to obtain N adjusted angles; based on the N adjusted angles and the position information of the N second devices, Determine the positioning information of the first device.
  9. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, further comprising:
    所述第一设备确定接收所述N个无线信号的所述N个初始接收角度。The first device determines the N initial reception angles for receiving the N wireless signals.
  10. 根据权利要求3所述的方法,其中,所述第一设备基于所述定位参数,确定所述第一设备的定位信息,包括:The method of claim 3, wherein the first device determines the positioning information of the first device based on the positioning parameter, including:
    所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息;其中,所述信号特征库中包含多个参考位置中每个参考位置的特征量;所述每个参考位置的特征量包含N个第二设备中各个第二设备的参考信号的RSS参考值。The first device determines the positioning information of the first device based on N positioning parameters and a signal feature library; wherein the signal feature library contains a characteristic amount of each reference position in a plurality of reference positions; each of the The feature quantities of the reference positions include the RSS reference values of the reference signals of each of the N second devices.
  11. 根据权利要求10所述的方法,其中,所述N个定位参数包括N个信号接收强度 RSS值。The method of claim 10, wherein the N positioning parameters include N signal reception strength RSS values.
  12. 根据权利要求10所述的方法,其中,所述N个定位参数包括N个RSS偏差;The method of claim 10, wherein the N positioning parameters include N RSS deviations;
    所述第一设备基于N个定位参数以及信号特征库,确定所述第一设备的定位信息,包括:The first device determines the positioning information of the first device based on the N positioning parameters and the signal feature library, including:
    所述第一设备基于所述N个RSS偏差以及N个初始强度估计值,确定N个调整后的RSS值;基于所述N个调整后的RSS值以及所述信号特征库,确定所述第一设备的定位信息。The first device determines N adjusted RSS values based on the N RSS deviations and N initial intensity estimation values; determines the first adjusted RSS value based on the N adjusted RSS values and the signal feature library. A device’s location information.
  13. 根据权利要求1-12任一项所述的方法,其中,The method according to any one of claims 1-12, wherein,
    所述目标模型的第一子模型还用于对无线信号进行处理,得到所述无线信号对应的环境特征信息;The first sub-model of the target model is also used to process wireless signals to obtain environmental feature information corresponding to the wireless signals;
    所述目标模型还包括第三子模型,所述第三子模型用于对所述环境特征信息进行处理,得到场景类型信息。The target model also includes a third sub-model, which is used to process the environmental feature information to obtain scene type information.
  14. 根据权利要求13所述的方法,其中,所述方法还包括:The method of claim 13, wherein the method further includes:
    所述第一设备基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境。The first device determines the environment in which the first device is located based on the scene type information output by the third sub-model.
  15. 根据权利要求2-14任一项所述的方法,其中,所述N个无线信号中第i个无线信号的信号类型,为以下之一:蓝牙无线信号、WIFI无线信号、蜂窝网无线信号、超宽带UWB无线信号。The method according to any one of claims 2 to 14, wherein the signal type of the i-th wireless signal among the N wireless signals is one of the following: Bluetooth wireless signal, WIFI wireless signal, cellular network wireless signal, Ultra-wideband UWB wireless signal.
  16. 一种模型生成方法,包括:A model generation method including:
    采用训练样本对预设模型进行训练,得到训练后的目标模型;Use training samples to train the preset model to obtain the trained target model;
    其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。Wherein, the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
  17. 根据权利要求16所述的方法,其中,所述训练样本包括:无线训练信号,所述无线训练信号对应的第一预设标签以及所述无线训练信号对应的第二预设标签。The method of claim 16, wherein the training sample includes: a wireless training signal, a first preset label corresponding to the wireless training signal, and a second preset label corresponding to the wireless training signal.
  18. 根据权利要求17所述的方法,其中,所述无线训练信号对应的第一预设标签,包括以下至少之一:The method according to claim 17, wherein the first preset tag corresponding to the wireless training signal includes at least one of the following:
    所述无线训练信号对应的距离标签;The distance tag corresponding to the wireless training signal;
    所述无线训练信号对应的角度标签;The angle label corresponding to the wireless training signal;
    所述无线训练信号对应的RSS标签;The RSS tag corresponding to the wireless training signal;
    所述无线训练信号对应的距离偏差标签;The distance deviation label corresponding to the wireless training signal;
    所述无线训练信号对应的角度偏差标签;The angle deviation label corresponding to the wireless training signal;
    所述无线训练信号对应的RSS偏差标签。The RSS deviation label corresponding to the wireless training signal.
  19. 根据权利要求17或18所述的方法,其中,所述无线训练信号对应的第二预设标签,包括:所述无线训练信号所在环境对应的场景类型标签。The method according to claim 17 or 18, wherein the second preset tag corresponding to the wireless training signal includes: a scene type tag corresponding to the environment in which the wireless training signal is located.
  20. 根据权利要求17-19任一项所述的方法,其中,所述采用训练样本对预设模型进行训练,包括:The method according to any one of claims 17-19, wherein said using training samples to train a preset model includes:
    将所述训练样本中的无线训练信号输入所述预设模型的第一预设子模型,得到所述第一预设子模型输出的定位特征预测信息以及场景特征预测信息;Input the wireless training signal in the training sample into the first preset sub-model of the preset model to obtain positioning feature prediction information and scene feature prediction information output by the first preset sub-model;
    将所述定位特征预测信息以及所述场景特征预测信息,输入所述预设模型中的第四预设子模型,得到所述第四预设子模型输出的所述无线训练信号的重构信号;Input the positioning feature prediction information and the scene feature prediction information into the fourth preset sub-model in the preset model to obtain the reconstructed signal of the wireless training signal output by the fourth preset sub-model. ;
    将所述定位特征预测信息输入所述预设模型中的第二预设子模型,得到第二预设子模型输出的定位估计参数,并将所述场景特征预测信息输入所述预设模型中的第三预设子模型,得到所述第三预设子模型输出的场景类型估计值;Input the positioning feature prediction information into the second preset sub-model in the preset model, obtain the positioning estimation parameters output by the second preset sub-model, and input the scene feature prediction information into the preset model. The third preset sub-model is used to obtain the scene type estimate output by the third preset sub-model;
    基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数;Determine a loss function based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimate, the first preset label, and the second preset label;
    基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设 子模型以及第四预设子模型中至少之一。Based on the loss function, reverse conduction updates at least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model.
  21. 根据权利要求20所述的方法,其中,所述基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,包括:The method according to claim 20, wherein the method is based on at least one of the reconstructed signal, the positioning estimation parameter, the scene type estimation value, the first preset label and the second preset label. One, determine the loss function, including:
    基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数。A first loss function is determined based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value.
  22. 根据权利要求21所述的方法,其中,所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:The method according to claim 21, wherein, based on the loss function, reverse conduction updates the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model. At least one of the submodels, including:
    基于第一损失函数,反向传导更新第一预设子模型的参数和第四预设子模型的参数。Based on the first loss function, reverse conduction updates the parameters of the first preset sub-model and the parameters of the fourth preset sub-model.
  23. 根据权利要求20-22任一项所述的方法,其中,所述基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,包括:The method according to any one of claims 20-22, wherein the method is based on the reconstructed signal, the positioning estimation parameter, the scene type estimation value, the first preset label and the second At least one of the preset labels determines the loss function, including:
    基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;以及基于所述场景类型估计值以及第二预设标签,确定第三损失函数。A second loss function is determined based on the positioning estimation parameter and the first preset label; and a third loss function is determined based on the scene type estimate and the second preset label.
  24. 根据权利要求23所述的方法,其中,所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:The method according to claim 23, wherein, based on the loss function, reverse conduction updates the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model. At least one of the submodels, including:
    基于所述第二损失函数,反向传导更新所述第二预设子模型的参数,并基于所述第三损失函数,反向传导更新所述第三预设子模型的参数。Based on the second loss function, reverse conduction updates the parameters of the second preset sub-model, and based on the third loss function, reverse conduction updates the parameters of the third preset sub-model.
  25. 根据权利要求20所述的方法,其中,基于所述重构信号、第一估计值、场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数,包括:The method of claim 20, wherein the loss is determined based on at least one of the reconstructed signal, the first estimate, the scene type estimate, the first preset label, and the second preset label. Functions, including:
    基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数;基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;基于所述场景类型估计值以及第二预设标签,确定第三损失函数;Based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value, a first loss function is determined; based on the positioning estimation parameter and the first preset label, a second loss function is determined. Loss function; determine a third loss function based on the scene type estimate and the second preset label;
    基于所述第一损失函数、所述第二损失函数、所述第三损失函数加权计算得到总损失函数。A total loss function is obtained by weighted calculation based on the first loss function, the second loss function, and the third loss function.
  26. 根据权利要求25所述的方法,其中,所述基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一,包括:The method of claim 25, wherein, based on the loss function, backward conduction updates the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model. At least one of the submodels, including:
    基于所述总损失函数反向传导更新所述第一预设子模型的参数、第二预设子模型的参数、第三预设子模型的参数以及第四预设子模型的参数。The parameters of the first preset sub-model, the parameters of the second preset sub-model, the parameters of the third preset sub-model and the parameters of the fourth preset sub-model are updated based on the total loss function in reverse conduction.
  27. 一种第一设备,包括:A first device comprising:
    通信单元,用于接收无线信号;communication unit for receiving wireless signals;
    处理单元,用于基于目标模型对所述无线信号进行处理,得到定位参数;基于所述定位参数,确定所述第一设备的定位信息。A processing unit, configured to process the wireless signal based on a target model to obtain positioning parameters; and determine positioning information of the first device based on the positioning parameters.
  28. 根据权利要求27所述的第一设备,其中,所述通信单元,用于接收N个无线信号;所述N个无线信号由N个第二设备发送;N为大于等于1的整数。The first device according to claim 27, wherein the communication unit is configured to receive N wireless signals; the N wireless signals are sent by N second devices; N is an integer greater than or equal to 1.
  29. 根据权利要求28所述的第一设备,其中,所述目标模型包括第一子模型和第二子模型;The first device of claim 28, wherein the target model includes a first sub-model and a second sub-model;
    所述处理单元,用于将所述N个无线信号中的第j个无线信号输入所述第一子模型,得到所述第一子模型输出的第j个位置特征信息;其中,j为大于等于1且小于等于N的整数;将所述第j个位置特征信息输入所述第二子模型,得到所述第二子模型输出的第j个定位参数。The processing unit is configured to input the j-th wireless signal among the N wireless signals into the first sub-model to obtain the j-th location feature information output by the first sub-model; where j is greater than An integer equal to 1 and less than or equal to N; input the j-th position feature information into the second sub-model to obtain the j-th positioning parameter output by the second sub-model.
  30. 根据权利要求29所述的第一设备,其中,所述处理单元,用于基于N个定位参数 以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The first device according to claim 29, wherein the processing unit is configured to determine the positioning information of the first device based on N positioning parameters and the position information of the N second devices.
  31. 根据权利要求30所述的第一设备,其中,所述N个定位参数,包括以下至少之一:The first device according to claim 30, wherein the N positioning parameters include at least one of the following:
    所述第一设备与所述N个第二设备中各个第二设备之间的距离;The distance between the first device and each of the N second devices;
    所述第一设备对所述N个无线信号中各个无线信号的接收角度。The receiving angle of each of the N wireless signals by the first device.
  32. 根据权利要求29所述的第一设备,其中,所述N个定位参数,包括:N个距离偏差;The first device according to claim 29, wherein the N positioning parameters include: N distance deviations;
    所述处理单元,用于基于所述N个距离偏差对N个初始距离进行校正,得到N个调整后的距离;基于所述N个调整后的距离以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The processing unit is configured to correct N initial distances based on the N distance deviations to obtain N adjusted distances; based on the N adjusted distances and the position information of the N second devices , determine the positioning information of the first device.
  33. 根据权利要求32所述的第一设备,其中,所述处理单元,用于基于所述N个无线信号,确定所述第一设备与所述N个第二设备之间的所述N个初始距离。The first device according to claim 32, wherein the processing unit is configured to determine the N initial distance between the first device and the N second devices based on the N wireless signals. distance.
  34. 根据权利要求30、32或33所述的第一设备,其中,所述N个定位参数,包括:N个角度偏差;The first device according to claim 30, 32 or 33, wherein the N positioning parameters include: N angular deviations;
    所述处理单元,用于基于所述N个角度偏差对N个初始接收角度进行校正,得到N个调整后的角度;基于所述N个调整后的角度以及所述N个第二设备的位置信息,确定所述第一设备的定位信息。The processing unit is configured to correct N initial receiving angles based on the N angular deviations to obtain N adjusted angles; based on the N adjusted angles and the positions of the N second devices information to determine the positioning information of the first device.
  35. 根据权利要求34所述的第一设备,其中,所述处理单元,用于确定接收所述N个无线信号的所述N个初始接收角度。The first device according to claim 34, wherein the processing unit is configured to determine the N initial reception angles for receiving the N wireless signals.
  36. 根据权利要求29所述的第一设备,其中,所述处理单元,用于基于N个定位参数以及信号特征库,确定所述第一设备的定位信息;其中,所述信号特征库中包含多个参考位置中每个参考位置的特征量;所述每个参考位置的特征量包含N个第二设备中各个第二设备的参考信号的RSS参考值。The first device according to claim 29, wherein the processing unit is configured to determine the positioning information of the first device based on N positioning parameters and a signal feature library; wherein the signal feature library contains a plurality of The characteristic quantity of each reference position among the reference positions; the characteristic quantity of each reference position includes the RSS reference value of the reference signal of each of the N second devices.
  37. 根据权利要求36所述的第一设备,其中,所述N个定位参数包括N个信号接收强度RSS值。The first device of claim 36, wherein the N positioning parameters include N signal reception strength RSS values.
  38. 根据权利要求36所述的第一设备,其中,所述N个定位参数包括N个RSS偏差;The first device of claim 36, wherein the N positioning parameters include N RSS deviations;
    所述处理单元,用于基于所述N个RSS偏差以及N个初始强度估计值,确定N个调整后的RSS值;基于所述N个调整后的RSS值以及所述信号特征库,确定所述第一设备的定位信息。The processing unit is configured to determine N adjusted RSS values based on the N RSS deviations and N initial intensity estimation values; determine the N adjusted RSS values based on the N adjusted RSS values and the signal feature library. The positioning information of the first device.
  39. 根据权利要求27-38任一项所述的第一设备,其中,The first device according to any one of claims 27-38, wherein,
    所述目标模型的第一子模型还用于对无线信号进行处理,得到所述无线信号对应的环境特征信息;The first sub-model of the target model is also used to process wireless signals to obtain environmental feature information corresponding to the wireless signals;
    所述目标模型还包括第三子模型,所述第三子模型用于对所述环境特征信息进行处理,得到场景类型信息。The target model also includes a third sub-model, which is used to process the environmental feature information to obtain scene type information.
  40. 根据权利要求39所述的第一设备,其中,所述处理单元,用于基于所述第三子模型输出的场景类型信息,确定所述第一设备所处环境。The first device according to claim 39, wherein the processing unit is configured to determine the environment in which the first device is located based on the scene type information output by the third sub-model.
  41. 根据权利要求28-40任一项所述的第一设备,其中,所述N个无线信号中第i个无线信号的信号类型,为以下之一:蓝牙无线信号、WIFI无线信号、蜂窝网无线信号、超宽带UWB无线信号。The first device according to any one of claims 28 to 40, wherein the signal type of the i-th wireless signal among the N wireless signals is one of the following: Bluetooth wireless signal, WIFI wireless signal, cellular network wireless signal signal, ultra-wideband UWB wireless signal.
  42. 一种电子设备,包括:An electronic device including:
    训练单元,用于采用训练样本对预设模型进行训练,得到训练后的目标模型;其中,所述目标模型用于对无线信号进行处理得到定位参数,所述定位参数用于确定定位信息。A training unit is used to train a preset model using training samples to obtain a trained target model; wherein the target model is used to process wireless signals to obtain positioning parameters, and the positioning parameters are used to determine positioning information.
  43. 根据权利要求42所述的电子设备,其中,所述训练样本包括:无线训练信号,所述无线训练信号对应的第一预设标签以及所述无线训练信号对应的第二预设标签。The electronic device according to claim 42, wherein the training sample includes: a wireless training signal, a first preset tag corresponding to the wireless training signal, and a second preset tag corresponding to the wireless training signal.
  44. 根据权利要求43所述的电子设备,其中,所述无线训练信号对应的第一预设标签,包括以下至少之一:The electronic device according to claim 43, wherein the first preset tag corresponding to the wireless training signal includes at least one of the following:
    所述无线训练信号对应的距离标签;The distance tag corresponding to the wireless training signal;
    所述无线训练信号对应的角度标签;The angle label corresponding to the wireless training signal;
    所述无线训练信号对应的RSS标签;The RSS tag corresponding to the wireless training signal;
    所述无线训练信号对应的距离偏差标签;The distance deviation label corresponding to the wireless training signal;
    所述无线训练信号对应的角度偏差标签;The angle deviation label corresponding to the wireless training signal;
    所述无线训练信号对应的RSS偏差标签。The RSS deviation label corresponding to the wireless training signal.
  45. 根据权利要求43或44所述的电子设备,其中,所述无线训练信号对应的第二预设标签,包括:所述无线训练信号所在环境对应的场景类型标签。The electronic device according to claim 43 or 44, wherein the second preset tag corresponding to the wireless training signal includes: a scene type tag corresponding to the environment in which the wireless training signal is located.
  46. 根据权利要求43-45任一项所述的电子设备,其中,所述训练单元,用于将所述训练样本中的无线训练信号输入所述预设模型的第一预设子模型,得到所述第一预设子模型输出的定位特征预测信息以及场景特征预测信息;将所述定位特征预测信息以及所述场景特征预测信息,输入所述预设模型中的第四预设子模型,得到所述第四预设子模型输出的所述无线训练信号的重构信号;将所述定位特征预测信息输入所述预设模型中的第二预设子模型,得到第二预设子模型输出的定位估计参数,并将所述场景特征预测信息输入所述预设模型中的第三预设子模型,得到所述第三预设子模型输出的场景类型估计值;基于所述重构信号、所述定位估计参数、所述场景类型估计值、所述第一预设标签以及所述第二预设标签中至少之一,确定损失函数;基于所述损失函数,反向传导更新所述第一预设子模型、第二预设子模型、第三预设子模型以及第四预设子模型中至少之一。The electronic device according to any one of claims 43 to 45, wherein the training unit is configured to input the wireless training signal in the training sample into the first preset sub-model of the preset model to obtain the The positioning feature prediction information and scene feature prediction information output by the first preset sub-model; input the positioning feature prediction information and the scene feature prediction information into the fourth preset sub-model in the preset model, and obtain The reconstructed signal of the wireless training signal output by the fourth preset sub-model; input the positioning feature prediction information into the second preset sub-model in the preset model to obtain the second preset sub-model output positioning estimation parameters, and input the scene feature prediction information into the third preset sub-model in the preset model to obtain the scene type estimate output by the third preset sub-model; based on the reconstructed signal , at least one of the positioning estimation parameters, the scene type estimation value, the first preset label and the second preset label, determine a loss function; based on the loss function, reverse conduction updates the At least one of the first preset sub-model, the second preset sub-model, the third preset sub-model and the fourth preset sub-model.
  47. 根据权利要求46所述的电子设备,其中,所述训练单元,用于基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数。The electronic device according to claim 46, wherein the training unit is configured to determine a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value. .
  48. 根据权利要求47所述的电子设备,其中,所述训练单元,用于基于第一损失函数,反向传导更新第一预设子模型的参数和第四预设子模型的参数。The electronic device according to claim 47, wherein the training unit is configured to conduct backward conduction to update the parameters of the first preset sub-model and the parameters of the fourth preset sub-model based on the first loss function.
  49. 根据权利要求46-48任一项所述的电子设备,其中,所述训练单元,用于基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;以及基于所述场景类型估计值以及第二预设标签,确定第三损失函数。The electronic device according to any one of claims 46-48, wherein the training unit is used to determine a second loss function based on the positioning estimation parameter and the first preset label; and based on the scene The type estimate and the second preset label determine the third loss function.
  50. 根据权利要求49所述的电子设备,其中,所述训练单元,用于基于所述第二损失函数,反向传导更新所述第二预设子模型的参数,并基于所述第三损失函数,反向传导更新所述第三预设子模型的参数。The electronic device according to claim 49, wherein the training unit is configured to conduct backward conduction to update parameters of the second preset sub-model based on the second loss function, and to update parameters of the second preset sub-model based on the third loss function. , reverse conduction updates the parameters of the third preset sub-model.
  51. 根据权利要求46所述的电子设备,其中,所述训练单元,用于基于所述重构信号、所述无线训练信号、所述定位估计参数、所述场景类型估计值,确定第一损失函数;基于所述定位估计参数以及所述第一预设标签,确定第二损失函数;基于所述场景类型估计值以及第二预设标签,确定第三损失函数;基于所述第一损失函数、所述第二损失函数、所述第三损失函数加权计算得到总损失函数。The electronic device according to claim 46, wherein the training unit is configured to determine a first loss function based on the reconstructed signal, the wireless training signal, the positioning estimation parameter, and the scene type estimation value. ; Based on the positioning estimation parameter and the first preset label, determine a second loss function; Based on the scene type estimate and the second preset label, determine a third loss function; Based on the first loss function, The second loss function and the third loss function are weighted and calculated to obtain a total loss function.
  52. 根据权利要求51所述的电子设备,其中,所述训练单元,用于基于所述总损失函数反向传导更新所述第一预设子模型的参数、第二预设子模型的参数、第三预设子模型的参数以及第四预设子模型的参数。The electronic device according to claim 51, wherein the training unit is configured to update parameters of the first preset sub-model, parameters of the second preset sub-model, and the third preset sub-model based on the total loss function through reverse conduction. The parameters of the third preset sub-model and the parameters of the fourth preset sub-model.
  53. 一种第一设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以使所述终端设备执行如权利要求1至15中任一项所述的方法。A first device, including: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, so that the terminal device executes the instructions of claims 1 to The method described in any one of 15.
  54. 一种电子设备,包括:处理器和存储器,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,以使所述终端设备执行如权利要求16至26中任一项所述的方法。An electronic device, including: a processor and a memory, the memory is used to store a computer program, the processor is used to call and run the computer program stored in the memory, so that the terminal device executes claims 16 to 26 any one of the methods.
  55. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1至15或权利要求16至26中任一项所述的方法。A chip includes: a processor, configured to call and run a computer program from a memory, so that a device installed with the chip executes the method according to any one of claims 1 to 15 or 16 to 26.
  56. 一种计算机可读存储介质,用于存储计算机程序,当所述计算机程序被设备运行时 使得所述设备执行如权利要求1至15或权利要求16至26中任一项所述的方法。A computer-readable storage medium for storing a computer program that, when executed by a device, causes the device to perform the method according to any one of claims 1 to 15 or 16 to 26.
  57. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1至15或权利要求16至26中任一项所述的方法。A computer program product comprising computer program instructions that cause a computer to perform the method according to any one of claims 1 to 15 or 16 to 26.
  58. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1至15或权利要求16至26中任一项所述的方法。A computer program that causes a computer to perform the method according to any one of claims 1 to 15 or 16 to 26.
PCT/CN2022/087775 2022-04-19 2022-04-19 Positioning method, model generation method, and device WO2023201549A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/087775 WO2023201549A1 (en) 2022-04-19 2022-04-19 Positioning method, model generation method, and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/087775 WO2023201549A1 (en) 2022-04-19 2022-04-19 Positioning method, model generation method, and device

Publications (1)

Publication Number Publication Date
WO2023201549A1 true WO2023201549A1 (en) 2023-10-26

Family

ID=88418958

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/087775 WO2023201549A1 (en) 2022-04-19 2022-04-19 Positioning method, model generation method, and device

Country Status (1)

Country Link
WO (1) WO2023201549A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395192A (en) * 2011-03-15 2012-03-28 苏州摩多物联科技有限公司 Method and device for locating wireless sensor terminal
GB201709747D0 (en) * 2017-06-19 2017-08-02 Vodafone Ip Licensing Ltd Localization of mobile devices
CN108008350A (en) * 2017-11-03 2018-05-08 平安科技(深圳)有限公司 Localization method, device and storage medium based on Random Forest model
CN108495364A (en) * 2018-02-09 2018-09-04 北京天元创新科技有限公司 The localization method and device of mobile terminal
CN113068118A (en) * 2021-03-22 2021-07-02 深圳市锐迪芯电子有限公司 NB-IoT positioning accuracy improving method and system
WO2021213376A1 (en) * 2020-04-22 2021-10-28 维沃移动通信有限公司 Positioning method, communication device, and network device

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102395192A (en) * 2011-03-15 2012-03-28 苏州摩多物联科技有限公司 Method and device for locating wireless sensor terminal
GB201709747D0 (en) * 2017-06-19 2017-08-02 Vodafone Ip Licensing Ltd Localization of mobile devices
CN108008350A (en) * 2017-11-03 2018-05-08 平安科技(深圳)有限公司 Localization method, device and storage medium based on Random Forest model
CN108495364A (en) * 2018-02-09 2018-09-04 北京天元创新科技有限公司 The localization method and device of mobile terminal
WO2021213376A1 (en) * 2020-04-22 2021-10-28 维沃移动通信有限公司 Positioning method, communication device, and network device
CN113068118A (en) * 2021-03-22 2021-07-02 深圳市锐迪芯电子有限公司 NB-IoT positioning accuracy improving method and system

Similar Documents

Publication Publication Date Title
Lam et al. RSSI-based LoRa localization systems for large-scale indoor and outdoor environments
Zhang et al. Cooperative localization in 5G networks: A survey
Jang et al. Indoor positioning technologies without offline fingerprinting map: A survey
Kong et al. Autonomous relay for millimeter-wave wireless communications
US10616774B2 (en) Method and device for communications in millimeter-wave networks
Yiu et al. Gaussian process assisted fingerprinting localization
US20210329416A1 (en) Method and Apparatus for Location Services
US11525890B2 (en) Cooperative target tracking and signal propagation learning using mobile sensors
US10051423B1 (en) Time of flight estimation using a convolutional neural network
KR20160121160A (en) Apparatus and method for positioning in wireless communication system
Khan et al. Location awareness in 5G networks using RSS measurements for public safety applications
JP2010507985A (en) Coordinated location in wireless networks
Marques et al. A cost-effective trilateration-based radio localization algorithm using machine learning and sequential least-square programming optimization
Kumar et al. Multi-sensor data fusion methods for indoor localization under collinear ambiguity
Yang et al. Efficient scheduling in space–air–ground-integrated localization networks
US20230144796A1 (en) Estimating direction of arrival of electromagnetic energy using machine learning
Mohamed et al. DeepFeat: Robust large-scale multi-features outdoor localization in LTE networks using deep learning
Meng et al. A study of network-side 5G user localization using angle-based fingerprints
WO2016192461A1 (en) System and method for efficient link discovery in wireless networks
WO2023201549A1 (en) Positioning method, model generation method, and device
US20230362039A1 (en) Neural network-based channel estimation method and communication apparatus
Machaj et al. Challenges introduced by heterogeneous devices for Wi‐Fi–based indoor localization
Gavrilovska et al. REM-enabled transmitter localization for ad hoc scenarios
Liu et al. Enhancing smartphone indoor localization via opportunistic sensing
Nadimi et al. Bayesian source localization in networks with heterogeneous transmission medium

Legal Events

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

Ref document number: 22937787

Country of ref document: EP

Kind code of ref document: A1