WO2022170863A1 - Ultra-wideband positioning method and system - Google Patents

Ultra-wideband positioning method and system Download PDF

Info

Publication number
WO2022170863A1
WO2022170863A1 PCT/CN2021/140535 CN2021140535W WO2022170863A1 WO 2022170863 A1 WO2022170863 A1 WO 2022170863A1 CN 2021140535 W CN2021140535 W CN 2021140535W WO 2022170863 A1 WO2022170863 A1 WO 2022170863A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
distance information
base stations
user
target base
Prior art date
Application number
PCT/CN2021/140535
Other languages
French (fr)
Chinese (zh)
Inventor
符谋政
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022170863A1 publication Critical patent/WO2022170863A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Abstract

The present application relates to the technical field of communications, and provides an ultra-wideband positioning method and system. The ultra-wideband positioning method comprises: obtaining distance information of at least two target base stations deployed on a first user, the at least one target base stations each comprising an ultra-wideband module; obtaining respective direction angles of the at least two target base stations to a tag of a second user, and on the basis of the direction angles and the distance information, obtaining a positioning location of the tag, the tag comprising an ultra-wideband module. According to embodiments of the present application, the accuracy of a positioning result can be improved.

Description

超宽带定位方法及系统Ultra-wideband positioning method and system
本申请要求于2021年02月09日提交国家知识产权局、申请号为202110174884.2、申请名称为“超宽带定位方法及系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of the Chinese patent application with the application number 202110174884.2 and the application name "Ultra Wideband Positioning Method and System" submitted to the State Intellectual Property Office on February 9, 2021, the entire contents of which are incorporated into this application by reference .
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种超宽带(Ultra Wide Band,UWB)定位方法及系统。The present application relates to the field of communication technologies, and in particular, to an Ultra Wide Band (Ultra Wide Band, UWB) positioning method and system.
背景技术Background technique
随着通信技术的快速发展,人们拥有了可靠和稳定的定位技术。目前,主要的定位技术可以按照应用场景分为两类,一类是室外定位技术,另一类是室内定位技术。With the rapid development of communication technology, people have a reliable and stable positioning technology. At present, the main positioning technologies can be divided into two categories according to application scenarios, one is outdoor positioning technology, and the other is indoor positioning technology.
室外定位技术主要包括卫星定位技术和基站定位技术等。卫星定位技术包括但不限于全球卫星定位系统(global positioning system,GPS)、全球导航卫星系统(global navigation satellite system,GLONASS)、和北斗卫星导航系统(beidou navigation satellite system,BDS)等。室内定位技术包括但不限于无线保真(wireless fidelity,WiFi)定位和UWB定位技术等。Outdoor positioning technology mainly includes satellite positioning technology and base station positioning technology. Satellite positioning technologies include, but are not limited to, Global Positioning System (GPS), Global Navigation Satellite System (GLONASS), and Beidou Navigation Satellite System (BDS). Indoor positioning technologies include but are not limited to wireless fidelity (WiFi) positioning and UWB positioning technology.
目前,由于UWB定位技术具有数据传输速率高(达1Gbit/s)、抗多径干扰能力强、功耗低、成本低、穿透能力强、截获率低、与现有其他无线通信系统共享频谱等特点,UWB定位技术被广泛应用。At present, UWB positioning technology has the advantages of high data transmission rate (up to 1Gbit/s), strong anti-multipath interference ability, low power consumption, low cost, strong penetration ability, low interception rate, and shared spectrum with other existing wireless communication systems. And other characteristics, UWB positioning technology is widely used.
在实际使用中,应用UWB定位需要提前部署已知位置的基站,部署与维护成本高,且基站与测量计算单元,例如手机等电子设备,需要联网通信。In practical use, the application of UWB positioning requires the deployment of base stations with known locations in advance, which is costly to deploy and maintain, and the base station and measurement and calculation units, such as mobile phones and other electronic devices, require networked communication.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种UWB定位方法及系统,可以解决与现有技术相关的至少一个技术问题。The embodiments of the present application provide a UWB positioning method and system, which can solve at least one technical problem related to the prior art.
第一方面,本申请实施例提供了一种UWB定位方法,包括:In a first aspect, an embodiment of the present application provides a UWB positioning method, including:
获取部署于第一用户身上的至少两个目标基站的距离信息,所述至少两个目标基站包括超宽带模块;acquiring distance information of at least two target base stations deployed on the first user, the at least two target base stations including ultra-wideband modules;
获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,所述标签包括超宽带模块。Acquire the direction angles of at least two of the target base stations to the tags of the second user, and based on the direction angles and the distance information, obtain the positioning positions of the tags, where the tags include an ultra-wideband module.
本申请第一方面的实施例,获取设置于第一用户身上的至少两个目标基站到标签的方向角,以及至少两个目标基站的距离信息,由于距离信息和方向信息的较高可靠性,根据方向角和距离信息进行定位,可以得到标签的更为准确的位置信息。In the embodiment of the first aspect of the present application, the direction angles from the at least two target base stations set on the first user to the tag, and the distance information of the at least two target base stations are obtained. Due to the high reliability of the distance information and the direction information, By positioning according to the direction angle and distance information, more accurate position information of the tag can be obtained.
作为第一方面的一可能实现方式,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:确定部署于第一用户身上的至少两个目标基站的属性信息,根据所述属性信息确定所述至少两个目标基站的距离信息。As a possible implementation manner of the first aspect, the acquiring distance information of the at least two target base stations deployed on the first user includes: determining attribute information of the at least two target base stations deployed on the first user, according to the The attribute information determines the distance information of the at least two target base stations.
在该实现方式中,根据目标基站的属性信息确定目标确定目标基站的距离信息,不需要繁复的计算,可以快捷的获得距离信息,降低系统的算力成本。In this implementation, the target is determined according to the attribute information of the target base station and the distance information of the target base station is determined without complicated calculation, the distance information can be obtained quickly, and the computing power cost of the system is reduced.
作为第一方面的一可能实现方式,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:获取输入的部署于第一用户身上的至少两个目标基站的距离信息。As a possible implementation manner of the first aspect, the acquiring distance information of the at least two target base stations deployed on the first user includes: acquiring the input distance information of the at least two target base stations deployed on the first user.
在该实现方式中,根据用户(包括第一用户)的输入确定目标基站的距离信息,一方面可以快捷的获得距离信息,另一方面,可以获得更为准确的距离信息,降低系统的算力成本,也获得更准确的定位结果。In this implementation, the distance information of the target base station is determined according to the input of the user (including the first user), on the one hand, the distance information can be obtained quickly, on the other hand, more accurate distance information can be obtained, which reduces the computing power of the system cost, but also to obtain more accurate positioning results.
作为第一方面的一可能实现方式,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:As a possible implementation manner of the first aspect, the obtaining distance information of at least two target base stations deployed on the first user includes:
根据部署于第一用户身上的第一头部基站和第二头部基站的第一距离信息,获取所述第一头部基站或第二头部基站到部署于第一用户身上的第三基站的第二距离信息,所述第三基站包括手部基站或脚部基站;According to the first distance information of the first head base station and the second head base station deployed on the first user, obtain the first head base station or the second head base station to the third base station deployed on the first user the second distance information, the third base station includes a hand base station or a foot base station;
获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,包括:Acquire the direction angles of at least two of the target base stations to the tags of the second user, and obtain the positioning positions of the tags based on the direction angles and the distance information, including:
获取所述第一头部基站或第二头部基站,和所述第三基站到第二用户的标签的方向角,基于所述方向角和所述第二距离信息,获得所述标签的定位位置。Obtain the first head base station or the second head base station, and the direction angle of the tag from the third base station to the second user, and obtain the positioning of the tag based on the direction angle and the second distance information Location.
在该实现方式中,根据较准确的第一距离信息,确定第二距离信息,再根据第二距离信息和方向角获得定位结果,可以获得更准确的定位结果。In this implementation manner, the second distance information is determined according to the more accurate first distance information, and then the positioning result is obtained according to the second distance information and the direction angle, so that a more accurate positioning result can be obtained.
作为第一方面的一可能实现方式,所述属性信息包括部署部位信息。As a possible implementation manner of the first aspect, the attribute information includes deployment site information.
作为第一方面的一可能实现方式,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:As a possible implementation manner of the first aspect, the obtaining distance information of at least two target base stations deployed on the first user includes:
获取部署于第一用户身上的至少三个目标基站的距离信息;acquiring distance information of at least three target base stations deployed on the first user;
所述超宽带定位方法还包括:The ultra-wideband positioning method further includes:
根据所述至少三个目标基站的距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the distance information of the at least three target base stations.
在该实现方式中,进一步确定了第一用户的位姿,获得了更多的用户数据,提高了效率,在应用场景中可以提供更优的救援。In this implementation manner, the pose of the first user is further determined, more user data is obtained, efficiency is improved, and better rescue can be provided in application scenarios.
作为第一方面的一可能实现方式,所述至少三个目标基站包括头部基站、手部基站和脚部基站;As a possible implementation manner of the first aspect, the at least three target base stations include a head base station, a hand base station, and a foot base station;
所述获取部署于第一用户身上的至少三个目标基站的距离信息,包括:The acquiring distance information of at least three target base stations deployed on the first user includes:
获取所述头部基站和所述手部基站的第三距离信息,所述头部基站和脚部基站的第四距离信息;acquiring the third distance information of the head base station and the hand base station, and the fourth distance information of the head base station and the foot base station;
所述根据所述至少三个目标基站的距离信息确定所述第一用户的位姿,包括:The determining the pose of the first user according to the distance information of the at least three target base stations includes:
根据所述第三距离信息和所述第四距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the third distance information and the fourth distance information.
作为第一方面的一可能实现方式,还包括:As a possible implementation manner of the first aspect, it also includes:
显示包括雷达图的显示界面,所述雷达图中标识所述第一用户和/或所述第二用户的定位位置。A display interface including a radar chart is displayed, and the radar chart identifies the positioning position of the first user and/or the second user.
在该实现方式中,可视化的提供位置信息,可快速完成导航。In this implementation, the location information is provided visually, and navigation can be completed quickly.
第二方面,本申请实施例提供了一种UWB定位系统,包括:部署于第一用户身上的至少两个目标基站,和部署于第二用户身上的标签;所述至少两个目标基站和所述标签包括超宽带模块。In a second aspect, an embodiment of the present application provides a UWB positioning system, including: at least two target base stations deployed on a first user, and tags deployed on a second user; the at least two target base stations and all The tag includes an ultra-wideband module.
作为第二方面的一可能实现方式,还包括:一个或多个处理器;As a possible implementation manner of the second aspect, it further includes: one or more processors;
所述一个或多个处理器集成于所述目标基站所部署的电子设备、所述标签所部署的电子设备、和服务器中的至少一个;The one or more processors are integrated into at least one of an electronic device deployed by the target base station, an electronic device deployed by the tag, and a server;
所述处理器用于获取至少两个目标基站的距离信息;The processor is configured to acquire distance information of at least two target base stations;
所述处理器还用于获取至少两个目标基站各自到所述标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置。The processor is further configured to acquire a direction angle from each of the at least two target base stations to the tag, and obtain a positioning position of the tag based on the direction angle and the distance information.
作为第二方面的一可能实现方式,所述获取至少两个目标基站的距离信息,包括:确定至少两个目标基站的属性信息,根据所述属性信息确定至少两个目标基站的距离信息。As a possible implementation manner of the second aspect, the acquiring the distance information of the at least two target base stations includes: determining attribute information of the at least two target base stations, and determining the distance information of the at least two target base stations according to the attribute information.
作为第二方面的一可能实现方式,所述获取至少两个目标基站的距离信息,包括:获取输入的至少两个目标基站的距离信息。As a possible implementation manner of the second aspect, the acquiring the distance information of the at least two target base stations includes: acquiring the input distance information of the at least two target base stations.
作为第二方面的一可能实现方式,所述至少两个目标基站包括第一头部基站、第二头部基站和第三基站,第三基站包括手部基站或脚部基站;As a possible implementation manner of the second aspect, the at least two target base stations include a first head base station, a second head base station, and a third base station, and the third base station includes a hand base station or a foot base station;
所述获取至少两个目标基站的距离信息,包括:The acquiring distance information of at least two target base stations includes:
根据第一头部基站和第二头部基站的第一距离信息,获取所述第一头部基站或第二头部基站到所述第三基站的第二距离信息;Acquire second distance information from the first head base station or the second head base station to the third base station according to the first distance information of the first head base station and the second head base station;
所述获取至少两个目标基站各自到所述标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,包括:The acquiring the direction angles from each of the at least two target base stations to the tag, and based on the direction angles and the distance information, obtaining the positioning position of the tag, including:
获取所述第一头部基站或第二头部基站,和所述第三基站到所述标签的方向角,基于所述方向角和所述第二距离信息,获得所述标签的定位位置。Obtain the first head base station or the second head base station, and the direction angle from the third base station to the tag, and obtain the positioning position of the tag based on the direction angle and the second distance information.
作为第二方面的一可能实现方式,所述属性信息包括部署部位信息。As a possible implementation manner of the second aspect, the attribute information includes deployment site information.
作为第二方面的一可能实现方式,所述获取至少两个目标基站的距离信息,包括:As a possible implementation manner of the second aspect, the acquiring distance information of at least two target base stations includes:
获取至少三个目标基站的距离信息;Obtain distance information of at least three target base stations;
所述处理器还用于根据所述至少三个目标基站的距离信息确定所述第一用户的位姿。The processor is further configured to determine the pose of the first user according to the distance information of the at least three target base stations.
作为第二方面的一可能实现方式,所述至少三个目标基站包括头部基站、手部基站和脚部基站,所述获取至少两个目标基站的距离信息,包括:As a possible implementation manner of the second aspect, the at least three target base stations include a head base station, a hand base station, and a foot base station, and the acquiring distance information of the at least two target base stations includes:
获取所述头部基站和所述手部基站的第三距离信息,所述头部基站和脚部基站的第四距离信息;acquiring the third distance information of the head base station and the hand base station, and the fourth distance information of the head base station and the foot base station;
所述根据所述至少三个目标基站的距离信息确定所述第一用户的位姿,包括:The determining the pose of the first user according to the distance information of the at least three target base stations includes:
根据所述第三距离信息和所述第四距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the third distance information and the fourth distance information.
作为第二方面的一可能实现方式,还包括显示器,所述显示器集成于所述目标基站或所述标签所部署的电子设备,或,所述处理器集成于服务器;As a possible implementation manner of the second aspect, it further includes a display, where the display is integrated into the target base station or an electronic device deployed by the tag, or the processor is integrated into a server;
所述显示器用于显示包括雷达图的显示界面,所述雷达图中标识所述第一用户和/或所述第二用户的定位位置。The display is used for displaying a display interface including a radar chart, where the positioning positions of the first user and/or the second user are identified in the radar chart.
第三方面,本申请实施例提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,使得所述电子设备实现如第一方面和第一方面可能的实现方式中任一所述的UWB定位方法。In a third aspect, an embodiment of the present application provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program , so that the electronic device implements the UWB positioning method according to any one of the first aspect and the possible implementation manners of the first aspect.
第四方面,本申请实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时实现如第一方面和第一方面可能的实现方式中任一所述的UWB定位方法。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the first aspect and the first aspect are possible The UWB positioning method described in any one of the implementation manners is implemented.
第五方面,本申请实施例提供了一种计算机程序产品,当计算机程序产品在一个或多个电子设备上运行时,使得所述一个或多个电子设备执行上述第一方面和第一方面可能的实现方式中任一所述的UWB定位方法。In a fifth aspect, embodiments of the present application provide a computer program product, when the computer program product runs on one or more electronic devices, the one or more electronic devices can perform the above-mentioned first aspect and the first aspect. The UWB positioning method described in any of the implementation manners.
可以理解的是,上述第二方面至第五方面的有益效果可以参见上述第一方面中的相关描述。It can be understood that, for the beneficial effects of the foregoing second aspect to the fifth aspect, reference may be made to the relevant description in the foregoing first aspect.
附图说明Description of drawings
图1是本申请一实施例提供的UWB定位系统的结构示意图;1 is a schematic structural diagram of a UWB positioning system provided by an embodiment of the present application;
图2是本申请一实施例提供的一TOF测距的原理示意图;2 is a schematic diagram of the principle of a TOF ranging provided by an embodiment of the present application;
图3A是本申请一实施例提供的一三角定位法的原理示意图;3A is a schematic diagram of the principle of a triangulation positioning method provided by an embodiment of the present application;
图3B是本申请一实施例提供的另一三角定位方法的原理示意图;3B is a schematic diagram of the principle of another triangulation positioning method provided by an embodiment of the present application;
图4A是本申请一实施例提供的基于AOA的定位方法的原理示意图;4A is a schematic diagram of the principle of an AOA-based positioning method provided by an embodiment of the present application;
图4B是本申请一实施例提供的一种阵列天线的结构示意图;4B is a schematic structural diagram of an array antenna provided by an embodiment of the present application;
图5是本申请一实施例提供的电子设备的结构示意图;5 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图6是本申请一实施例提供的应用场景的示意图;6 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图7是本申请一实施例提供的基于AOA的定位方法的原理示意图;7 is a schematic diagram of the principle of an AOA-based positioning method provided by an embodiment of the present application;
图8是本申请一实施例提供的手机一显示界面示意图;8 is a schematic diagram of a display interface of a mobile phone provided by an embodiment of the present application;
图9是本申请一实施例提供的应用场景的示意图;FIG. 9 is a schematic diagram of an application scenario provided by an embodiment of the present application;
图10是本申请一实施例提供的眼镜的结构示意图;10 is a schematic structural diagram of glasses provided by an embodiment of the present application;
图11是本申请一实施例提供的一种UWB定位方法的实现流程图;FIG. 11 is an implementation flowchart of a UWB positioning method provided by an embodiment of the present application;
图12是本申请另一实施例提供的一种UWB定位方法的实现流程图。FIG. 12 is an implementation flowchart of a UWB positioning method provided by another embodiment of the present application.
具体实施方式Detailed ways
以下描述中,为了说明而不是为了限定,提出了诸如特定系统结构、技术之类的具体细节,以便透彻理解本申请实施例。然而,本领域的技术人员应当清楚,在没有这些具体细节的其它实施例中也可以实现本申请。在其它情况中,省略对众所周知的系统、装置、电路以及方法的详细说明,以免不必要的细节妨碍本申请的描述。In the following description, for the purpose of illustration rather than limitation, specific details such as a specific system structure and technology are set forth in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to those skilled in the art that the present application may be practiced in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
以下实施例中所使用的术语只是为了描述特定实施例的目的,而并非旨在作为对本申请的限制。如在本申请的说明书和所附权利要求书中所使用的那样,单数表达形式“一个”、“一种”、“所述”、“上述”、“该”和“这一”旨在也包括例如“一个或多个”这种表达形式,除非其上下文中明确地有相反指示。The terms used in the following embodiments are for the purpose of describing particular embodiments only, and are not intended to be limitations of the present application. As used in the specification of this application and the appended claims, the singular expressions "a," "an," "the," "above," "the," and "the" are intended to also Expressions such as "one or more" are included unless the context clearly dictates otherwise.
还应当理解,在本申请实施例中,“若干个”和“一个或多个”是指一个、两个或两个以上;“和/或”,描述关联对象的关联关系,表示可以存在三种关系;例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B的情况,其中A、B可以是单数或者复数。字符“/”一般表示前后关联对象是一种“或”的关系。It should also be understood that, in the embodiments of this application, "several" and "one or more" refer to one, two, or more than two; A relationship; for example, A and/or B, can represent: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character "/" generally indicates that the associated objects are an "or" relationship.
当在本申请说明书和所附权利要求书中使用时,术语“包括”指示所描述特征、整体、步骤、操作、元素和/或组件的存在,但并不排除一个或多个其它特征、整体、 步骤、操作、元素、组件和/或其集合的存在或添加。When used in this specification and the appended claims, the term "comprising" indicates the presence of the described feature, integer, step, operation, element and/or component, but does not exclude one or more other features, integers The presence or addition of , steps, operations, elements, components and/or collections thereof.
如在本申请说明书和所附权利要求书中所使用的那样,术语“若”或“如果”可以依据上下文被解释为“当...时”或“一旦”或“响应于确定”或“响应于检测到”。As used in the specification of this application and the appended claims, the terms "if" or "if" may be interpreted, depending on the context, as "when" or "once" or "in response to determining" or " In response to detection".
在本申请说明书中描述的参考“一个实施例”或“一些实施例”等意味着在本申请的一个或多个实施例中包括结合该实施例描述的特定特征、结构或特点。由此,在本说明书中的不同之处出现的语句“在一个实施例中”、“在一些实施例中”、“在其他一些实施例中”、“在另外一些实施例中”等不是必然都参考相同的实施例,而是意味着“一个或多个但不是所有的实施例”,除非是以其他方式另外特别强调。术语“包括”、“包含”、“具有”及它们的变形都意味着“包括但不限于”,除非是以其他方式另外特别强调。References in this specification to "one embodiment" or "some embodiments" and the like mean that a particular feature, structure or characteristic described in connection with the embodiment is included in one or more embodiments of the present application. Thus, appearances of the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in other embodiments," etc. in various places in this specification are not necessarily All refer to the same embodiment, but mean "one or more but not all embodiments" unless specifically emphasized otherwise. The terms "including", "including", "having" and their variants mean "including but not limited to" unless specifically emphasized otherwise.
人们对定位的需求日益增多,有时需要在相对静止的场景中实现定位,有时需要在移动的场景中实现定位。People's demand for positioning is increasing day by day. Sometimes it is necessary to achieve positioning in a relatively static scene, and sometimes it is necessary to achieve positioning in a moving scene.
目前,为了实现定位,需要提前部署已知位置的基站,基站通常需要至少2个以上。部署与维护成本高,且基站与测量计算单元,例如终端设备,需要联网通信。At present, in order to realize positioning, base stations with known positions need to be deployed in advance, and at least two base stations are usually required. The deployment and maintenance costs are high, and the base station and the measurement and calculation unit, such as terminal equipment, need network communication.
因此,本申请提供了一种定位方法和电子设备,可以实现移动场景下的定位。本申请提供的定位方案不需要提前部署基站,成本较低,具有较高灵活性。Therefore, the present application provides a positioning method and electronic device, which can realize positioning in a mobile scenario. The positioning solution provided by the present application does not need to deploy base stations in advance, has low cost, and has high flexibility.
为了更好的理解本申请的技术方案,先介绍本申请涉及的几个重要技术名词。In order to better understand the technical solutions of the present application, several important technical terms involved in the present application are first introduced.
UWB定位技术UWB positioning technology
UWB技术利用频谱极宽的超宽基带脉冲进行通信,故又称为基带通信技术、无线载波通信技术。UWB技术利用纳秒级的非正弦波窄脉冲,通过正交频分调制或直接排序将脉冲扩展到一个频率范围内,来传输数据。UWB技术的主要特点是传输速率高、空间容量大、成本低、功耗低等。UWB technology uses ultra-wide baseband pulses with extremely wide spectrum to communicate, so it is also called baseband communication technology and wireless carrier communication technology. UWB technology utilizes nanosecond non-sinusoidal narrow pulses to transmit data by extending the pulses into a frequency range through quadrature frequency division modulation or direct sequencing. The main features of UWB technology are high transmission rate, large space capacity, low cost, and low power consumption.
2002年2月,美国联邦通信委员会(Federal Communications Commission,FCC)发布了民用UWB设备使用频谱和功率的初步规定。该规定中,在3.1GHz至10.6GHz频段中,将相对带宽大于0.2或在传输的任何时刻带宽大于500MHz的通信系统称为UWB系统。In February 2002, the Federal Communications Commission (Federal Communications Commission, FCC) issued preliminary regulations on the spectrum and power usage of civil UWB devices. In this regulation, in the frequency band from 3.1GHz to 10.6GHz, a communication system with a relative bandwidth greater than 0.2 or a bandwidth greater than 500MHz at any time of transmission is called a UWB system.
UWB定位技术属于无线定位技术的一种。无线定位技术是指用来判定移动用户位置的测量方法和计算方法,即定位算法。UWB positioning technology is a kind of wireless positioning technology. Wireless positioning technology refers to the measurement method and calculation method used to determine the location of a mobile user, that is, a positioning algorithm.
UWB定位系统UWB positioning system
在一些应用场景中,UWB定位系统可以包括数据采集层、数据传输层和数据处理层等。In some application scenarios, the UWB positioning system may include a data acquisition layer, a data transmission layer, and a data processing layer.
数据采集层可以包括定位标签(以下简称标签)和定位基站(以下简称基站)等,通过基站与标签的UWB定位信道实现对定位标签的定位。The data collection layer may include a positioning tag (hereinafter referred to as a tag) and a positioning base station (hereinafter referred to as a base station), etc. The positioning of the positioning tag is realized through the UWB positioning channel between the base station and the tag.
数据传输层可以包括有线传输网和/或无线传输网,无线传输网可以通过WiFi信道为基站提供数据传输链路,有线传输网可以通过以太网方式为基站提供数据传输链路,有线传输网还可以为无线传输网提供数据传输链路。The data transmission layer can include a wired transmission network and/or a wireless transmission network. The wireless transmission network can provide a data transmission link for the base station through a WiFi channel, and the wired transmission network can provide a data transmission link for the base station through the Ethernet. The wired transmission network also A data transmission link may be provided for the wireless transmission network.
数据处理层可以包括服务器、UWB定位引擎和对内和对外的软件接口等。基站可以实时将定位数据发送给UWB定位引擎,UWB定位引擎可以实时对定位数据进行计算,得到标签的坐标位置。The data processing layer can include server, UWB positioning engine and internal and external software interfaces. The base station can send the positioning data to the UWB positioning engine in real time, and the UWB positioning engine can calculate the positioning data in real time to obtain the coordinate position of the tag.
作为本申请一非限制性示例,如图1所示为一种UWB定位系统,在该UWB定位系统中, 基站和标签卡均设置有UWB模块。在图1所示示例中,UWB定位系统依赖不同数量的基站部署策略,实现对标签卡的零维定位、一维定位、二维定位、或三维定位。As a non-limiting example of the present application, as shown in FIG. 1 , a UWB positioning system is shown. In the UWB positioning system, both the base station and the tag card are provided with UWB modules. In the example shown in FIG. 1 , the UWB positioning system relies on different numbers of base station deployment strategies to realize zero-dimensional positioning, one-dimensional positioning, two-dimensional positioning, or three-dimensional positioning of the tag card.
目前最常用的定位技术包括:基于到达角度(Angle of Arrival,AOA)的定位技术、基于到达时间(Time of Arrival,TOA)的定位技术、基于到达时间差(Time Difference of Arrival,TDOA)的定位技术、或基于接收信号强度(Received Signal Strength,RSS)的定位技术等。在一些实际应用中,可以组合多种定位技术进行定位。At present, the most commonly used positioning technologies include: positioning technology based on Angle of Arrival (AOA), positioning technology based on Time of Arrival (TOA), and positioning technology based on Time Difference of Arrival (TDOA) , or positioning technology based on received signal strength (Received Signal Strength, RSS). In some practical applications, multiple positioning techniques can be combined for positioning.
最基本的测距方法可以包括飞行时间法(Time of Flight,TOF)、到达时间(Time of Arrival,TOA)、到达时间差(Time Difference of Arrival,TDOA)、双向飞行时间法(Two Way-Time of Flight,TW-TOF)等。The most basic ranging methods can include Time of Flight (TOF), Time of Arrival (TOA), Time Difference of Arrival (TDOA), Two Way-Time of Flight, TW-TOF), etc.
TOF是一种双向测距技术,它通过测量UWB信号在基站与标签之间往返的飞行时间来计算距离。TOF is a two-way ranging technology, which calculates the distance by measuring the flight time of the UWB signal to and from the base station and the tag.
例如,如图2所示,TOF通过测量射频(Radio Frequency,RF)信号从发射端到接收端的时间差,乘以光速,来计算发射端与接收端之间的距离S。S=c×[(Ta1-Ta2)-(Tb2-Tb1)],其中,c为光速;Ta1为发射端发射RF信号的时间;Ta2为发射端接收到接收端发射的RF信号的时间;Tb1为接收端接收到发射端发射的RF信号的时间;Tb2为接收端发射RF信号的时间。For example, as shown in Figure 2, TOF calculates the distance S between the transmitter and the receiver by measuring the time difference of the radio frequency (RF) signal from the transmitter to the receiver and multiplying it by the speed of light. S=c×[(Ta1-Ta2)-(Tb2-Tb1)], where c is the speed of light; Ta1 is the time when the transmitter transmits the RF signal; Ta2 is the time when the transmitter receives the RF signal transmitted by the receiver; Tb1 is the time when the receiver receives the RF signal transmitted by the transmitter; Tb2 is the time when the receiver transmits the RF signal.
这种TOF测距方式,一方面,需要发送端和接收端精确同步;另一方面,需要接收端提供RF信号的传输时间的长短,即响应时延。This TOF ranging method, on the one hand, requires precise synchronization between the sender and the receiver; on the other hand, the receiver needs to provide the length of the transmission time of the RF signal, that is, the response delay.
TDOA技术是一种利用达到时间差进行定位的方法,又称为双曲线定位。TDOA技术对基站之间的同步精度要求很高。TDOA technology is a method of positioning using the time difference of arrival, also known as hyperbolic positioning. TDOA technology requires high synchronization accuracy between base stations.
TOA技术是一种基于标签或携带标签的终端与基站之间的传播延时,来计算两者之间的距离的方法。当三个基站参与测量时,就可根据三角定位法确定标签或携带标签的终端的位置。TOA测距方式也需要标签和基站精确同步。TOA technology is a method of calculating the distance between a tag or a terminal carrying a tag and a base station based on the propagation delay between them. When three base stations participate in the measurement, the position of the tag or the terminal carrying the tag can be determined according to the triangulation method. The TOA ranging method also requires precise synchronization between the tag and the base station.
本申请一实施例提供了一种基于多基站的二维或三维位置定位方案。An embodiment of the present application provides a two-dimensional or three-dimensional position positioning solution based on multiple base stations.
在该定位方案中,通过提前部署多个基站。待定位的目标对象,例如人物或电子设备等,携带定位标签,标签向基站发送RF信号,基站接收标签发送的RF信号。可以根据测距算法,估算各个基站与标签之间的距离,从而计算出标签的二维或三维空间位置。In this positioning scheme, multiple base stations are deployed in advance. The target object to be located, such as a person or an electronic device, carries a positioning tag, the tag sends an RF signal to the base station, and the base station receives the RF signal sent by the tag. The distance between each base station and the tag can be estimated according to the ranging algorithm, so as to calculate the two-dimensional or three-dimensional spatial position of the tag.
例如,当有三个基站参与测量时,可以根据三角定位法来确定标签所在的位置。作为本申请一非限制性示例,如图3A和图3B所示。在该示例中,手机20部署了标签。根据第一基站21到手机20的第一距离r1,第二UWB基站22到手机20的第二距离r2,第三UWB基站23到手机20的第三距离r3,再结合第一UWB基站21的已知位置坐标(x1,y1),第二UWB基站22的已知位置坐标(x2,y2),第三UWB基站23的已知位置坐标(x3,y3),来获取手机20的位置坐标(x0,y0)。For example, when there are three base stations participating in the measurement, the position of the tag can be determined according to the triangulation method. As a non-limiting example of the present application, as shown in FIG. 3A and FIG. 3B . In this example, cell phone 20 deploys the tag. According to the first distance r1 from the first base station 21 to the mobile phone 20, the second distance r2 from the second UWB base station 22 to the mobile phone 20, the third distance r3 from the third UWB base station 23 to the mobile phone 20, and then combined with the first UWB base station 21 The known position coordinates (x1, y1), the known position coordinates (x2, y2) of the second UWB base station 22, and the known position coordinates (x3, y3) of the third UWB base station 23, to obtain the position coordinates of the mobile phone 20 ( x0, y0).
本申请一实施例提供了一种基于AOA的UWB定位技术。An embodiment of the present application provides an AOA-based UWB positioning technology.
AOA定位是通过基站天线或天线阵列测出电子设备发射电波的入射角(入射角是信号源与法线的夹角),从而构成一根从接收机到电子设备的径向连线,即方位线。AOA positioning is to measure the incident angle of the radio wave emitted by the electronic equipment through the base station antenna or antenna array (the incident angle is the angle between the signal source and the normal), thereby forming a radial connection from the receiver to the electronic equipment, that is, the azimuth Wire.
利用两个或两个以上接入点提供的AOA测量值,按AOA定位算法确定多条方位线的交点,即,为待定位的终端设备的估计位置。Using the AOA measurement values provided by two or more access points, the intersection of multiple bearing lines is determined according to the AOA positioning algorithm, that is, the estimated position of the terminal device to be positioned.
如图4A所示,电子设备例如手机,知道了第一基站到手机之间的连线与基准方向的夹 角α,就可以画出一条射线L1;同样知道了第二基站到手机之间的连线与基准方向的夹角β,就可以画出另一条射线L2。那么两条射线L1与L2的交点是手机的定位位置。这是AOA定位的基本数学原理。As shown in Figure 4A, an electronic device such as a mobile phone can draw a ray L1 by knowing the included angle α between the connection between the first base station and the mobile phone and the reference direction; it also knows the distance between the second base station and the mobile phone. The included angle β between the connecting line and the reference direction can draw another ray L2. Then the intersection of the two rays L1 and L2 is the positioning position of the mobile phone. This is the basic mathematical principle of AOA positioning.
AOA定位通过两直线相交确定位置,两直线相交不可能有多个交点,避免了定位的模糊性。AOA positioning determines the position through the intersection of two straight lines, and it is impossible to have multiple intersection points when the two straight lines intersect, which avoids the ambiguity of positioning.
这种基于AOA的UWB定位技术,一方面,需要提前部署已知位置定位基站,通常需要至少2个以上,部署与维护成本高。另一方面,为了测量电磁波的入射角度,接收机需要配备方向性强的天线阵列,如图4B所示,图4B所示的天线间距d可以为半波长。This AOA-based UWB positioning technology, on the one hand, needs to deploy a known position positioning base station in advance, usually at least two or more, and the deployment and maintenance costs are high. On the other hand, in order to measure the incident angle of electromagnetic waves, the receiver needs to be equipped with an antenna array with strong directivity, as shown in FIG. 4B , and the antenna spacing d shown in FIG. 4B can be half a wavelength.
为了说明本申请的技术方案,下面通过具体实施例来进行说明。In order to illustrate the technical solutions of the present application, the following specific embodiments are used for description.
本申请实施例提供的定位方法可以应用于电子设备上,电子设备包括但不限于手机、可穿戴设备、车载设备、增强现实(augmented reality,AR)/虚拟现实(virtual reality,VR)设备、笔记本电脑、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本、平板电脑、智能音箱、电视、服务器等。本申请实施例对电子设备的具体类型不作任何限制。The positioning method provided in this embodiment of the present application can be applied to electronic devices, including but not limited to mobile phones, wearable devices, vehicle-mounted devices, augmented reality (AR)/virtual reality (VR) devices, notebooks Computers, ultra-mobile personal computers (UMPCs), netbooks, tablets, smart speakers, TVs, servers, etc. The embodiments of the present application do not limit any specific types of electronic devices.
在本申请一些实施例中,电子设备可以包括便携式、手持或移动电子设备,例如手机、平板电脑、或可穿戴设备等。In some embodiments of the present application, the electronic device may include a portable, handheld or mobile electronic device, such as a mobile phone, a tablet computer, or a wearable device.
图5以手机为例,示出了电子设备100的结构示意图。FIG. 5 shows a schematic structural diagram of the electronic device 100 by taking a mobile phone as an example.
电子设备100可以包括处理器110,外部存储器接口120,内部存储器121,通用串行总线(universal serial bus,USB)接口130,充电管理模块140,电源管理模块141,电池142,天线1,天线2,移动通信模块150,无线通信模块160,音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,传感器模块180,按键190,马达191,指示器192,摄像头193,显示屏194,以及用户标识模块(subscriber identification module,SIM)卡接口195等。其中传感器模块180可以包括压力传感器180A,陀螺仪传感器180B,气压传感器180C,磁传感器180D,加速度传感器180E,距离传感器180F,接近光传感器180G,指纹传感器180H,温度传感器180J,触摸传感器180K,环境光传感器180L,骨传导传感器180M等。The electronic device 100 may include a processor 110, an external memory interface 120, an internal memory 121, a universal serial bus (USB) interface 130, a charge management module 140, a power management module 141, a battery 142, an antenna 1, an antenna 2 , mobile communication module 150, wireless communication module 160, audio module 170, speaker 170A, receiver 170B, microphone 170C, headphone jack 170D, sensor module 180, buttons 190, motor 191, indicator 192, camera 193, display screen 194, and Subscriber identification module (subscriber identification module, SIM) card interface 195 and so on. The sensor module 180 may include a pressure sensor 180A, a gyroscope sensor 180B, an air pressure sensor 180C, a magnetic sensor 180D, an acceleration sensor 180E, a distance sensor 180F, a proximity light sensor 180G, a fingerprint sensor 180H, a temperature sensor 180J, a touch sensor 180K, and ambient light. Sensor 180L, bone conduction sensor 180M, etc.
可以理解的是,本申请实施例示意的结构并不构成对电子设备100的具体限定。在本申请另一些实施例中,电子设备100可以包括比图示更多或更少的部件,或者组合某些部件,或者拆分某些部件,或者不同的部件布置。图示的部件可以以硬件,软件或软件和硬件的组合实现。It can be understood that the structures illustrated in the embodiments of the present application do not constitute a specific limitation on the electronic device 100 . In other embodiments of the present application, the electronic device 100 may include more or less components than shown, or combine some components, or separate some components, or arrange different components. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
处理器110可以包括一个或多个处理单元,例如:处理器110可以包括应用处理器(application processor,AP),调制解调处理器,图形处理器(graphics processing unit,GPU),图像信号处理器(image signal processor,ISP),控制器,视频编解码器,数字信号处理器(digital signal processor,DSP),基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,不同的处理单元可以是独立的器件,也可以集成在一个或多个处理器中。The processor 110 may include one or more processing units, for example, the processor 110 may include an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit, GPU), an image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural-network processing unit (neural-network processing unit, NPU), etc. Wherein, different processing units may be independent devices, or may be integrated in one or more processors.
控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The controller can generate an operation control signal according to the instruction operation code and timing signal, and complete the control of fetching and executing instructions.
处理器110中还可以设置存储器,用于存储指令和数据。在一些实施例中,处理 器110中的存储器为高速缓冲存储器。该存储器可以保存处理器110刚用过或循环使用的指令或数据。如果处理器110需要再次使用该指令或数据,可从所述存储器中直接调用。避免了重复存取,减少了处理器110的等待时间,因而提高了系统的效率。A memory may also be provided in the processor 110 for storing instructions and data. In some embodiments, the memory in the processor 110 is a cache memory. This memory may hold instructions or data that have just been used or recycled by the processor 110 . If the processor 110 needs to use the instruction or data again, it can be called directly from the memory. Repeated accesses are avoided and the latency of the processor 110 is reduced, thereby increasing the efficiency of the system.
在一些实施例中,处理器110可以包括一个或多个接口。接口可以包括集成电路(inter-integrated circuit,I2C)接口,集成电路内置音频(inter-integrated circuit sound,I2S)接口,脉冲编码调制(pulse code modulation,PCM)接口,通用异步收发传输器(universal asynchronous receiver/transmitter,UART)接口,移动产业处理器接口(mobile industry processor interface,MIPI),通用输入输出(general-purpose input/output,GPIO)接口,用户标识模块(subscriber identity module,SIM)接口,和/或通用串行总线(universal serial bus,USB)接口等。In some embodiments, the processor 110 may include one or more interfaces. The interface may include an integrated circuit (inter-integrated circuit, I2C) interface, an integrated circuit built-in audio (inter-integrated circuit sound, I2S) interface, a pulse code modulation (pulse code modulation, PCM) interface, a universal asynchronous transceiver (universal asynchronous transmitter) receiver/transmitter, UART) interface, mobile industry processor interface (MIPI), general-purpose input/output (GPIO) interface, subscriber identity module (SIM) interface, and / or universal serial bus (universal serial bus, USB) interface, etc.
I2C接口是一种双向同步串行总线,包括一根串行数据线(serial data line,SDA)和一根串行时钟线(derail clock line,SCL)。在一些实施例中,处理器110可以包含多组I2C总线。处理器110可以通过不同的I2C总线接口分别耦合触摸传感器180K,充电器,闪光灯,摄像头193等。例如:处理器110可以通过I2C接口耦合触摸传感器180K,使处理器110与触摸传感器180K通过I2C总线接口通信,实现电子设备100的触摸功能。The I2C interface is a bidirectional synchronous serial bus that includes a serial data line (SDA) and a serial clock line (SCL). In some embodiments, the processor 110 may contain multiple sets of I2C buses. The processor 110 can be respectively coupled to the touch sensor 180K, the charger, the flash, the camera 193 and the like through different I2C bus interfaces. For example, the processor 110 may couple the touch sensor 180K through the I2C interface, so that the processor 110 and the touch sensor 180K communicate with each other through the I2C bus interface, so as to realize the touch function of the electronic device 100 .
I2S接口可以用于音频通信。在一些实施例中,处理器110可以包含多组I2S总线。处理器110可以通过I2S总线与音频模块170耦合,实现处理器110与音频模块170之间的通信。在一些实施例中,音频模块170可以通过I2S接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。The I2S interface can be used for audio communication. In some embodiments, the processor 110 may contain multiple sets of I2S buses. The processor 110 may be coupled with the audio module 170 through an I2S bus to implement communication between the processor 110 and the audio module 170 . In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the I2S interface, so as to realize the function of answering calls through a Bluetooth headset.
PCM接口也可以用于音频通信,将模拟信号抽样,量化和编码。在一些实施例中,音频模块170与无线通信模块160可以通过PCM总线接口耦合。在一些实施例中,音频模块170也可以通过PCM接口向无线通信模块160传递音频信号,实现通过蓝牙耳机接听电话的功能。所述I2S接口和所述PCM接口都可以用于音频通信。The PCM interface can also be used for audio communications, sampling, quantizing and encoding analog signals. In some embodiments, the audio module 170 and the wireless communication module 160 may be coupled through a PCM bus interface. In some embodiments, the audio module 170 can also transmit audio signals to the wireless communication module 160 through the PCM interface, so as to realize the function of answering calls through the Bluetooth headset. Both the I2S interface and the PCM interface can be used for audio communication.
UART接口是一种通用串行数据总线,用于异步通信。该总线可以为双向通信总线。它将要传输的数据在串行通信与并行通信之间转换。在一些实施例中,UART接口通常被用于连接处理器110与无线通信模块160。例如:处理器110通过UART接口与无线通信模块160中的蓝牙模块通信,实现蓝牙功能。在一些实施例中,音频模块170可以通过UART接口向无线通信模块160传递音频信号,实现通过蓝牙耳机播放音乐的功能。The UART interface is a universal serial data bus used for asynchronous communication. The bus may be a bidirectional communication bus. It converts the data to be transmitted between serial communication and parallel communication. In some embodiments, a UART interface is typically used to connect the processor 110 with the wireless communication module 160 . For example, the processor 110 communicates with the Bluetooth module in the wireless communication module 160 through the UART interface to implement the Bluetooth function. In some embodiments, the audio module 170 can transmit audio signals to the wireless communication module 160 through the UART interface, so as to realize the function of playing music through the Bluetooth headset.
MIPI接口可以被用于连接处理器110与显示屏194,摄像头193等外围器件。MIPI接口包括摄像头串行接口(camera serial interface,CSI),显示屏串行接口(display serial interface,DSI)等。在一些实施例中,处理器110和摄像头193通过CSI接口通信,实现电子设备100的拍摄功能。处理器110和显示屏194通过DSI接口通信,实现电子设备100的显示功能。The MIPI interface can be used to connect the processor 110 with peripheral devices such as the display screen 194 and the camera 193 . MIPI interfaces include camera serial interface (CSI), display serial interface (DSI), etc. In some embodiments, the processor 110 communicates with the camera 193 through a CSI interface, so as to realize the photographing function of the electronic device 100 . The processor 110 communicates with the display screen 194 through the DSI interface to implement the display function of the electronic device 100 .
GPIO接口可以通过软件配置。GPIO接口可以被配置为控制信号,也可被配置为数据信号。在一些实施例中,GPIO接口可以用于连接处理器110与摄像头193,显示屏194,无线通信模块160,音频模块170,传感器模块180等。GPIO接口还可以被配置为I2C接口,I2S接口,UART接口,MIPI接口等。The GPIO interface can be configured by software. The GPIO interface can be configured as a control signal or as a data signal. In some embodiments, the GPIO interface may be used to connect the processor 110 with the camera 193, the display screen 194, the wireless communication module 160, the audio module 170, the sensor module 180, and the like. The GPIO interface can also be configured as I2C interface, I2S interface, UART interface, MIPI interface, etc.
USB接口130是符合USB标准规范的接口,具体可以是Mini USB接口,Micro USB接口,USB Type C接口等。USB接口130可以用于连接充电器为电子设备100充电,也可以用于电子设备100与外围设备之间传输数据。也可以用于连接耳机,通过耳机播放音频。该接口还可以用于连接其他电子设备,例如AR设备等。The USB interface 130 is an interface that conforms to the USB standard specification, and may specifically be a Mini USB interface, a Micro USB interface, a USB Type C interface, and the like. The USB interface 130 can be used to connect a charger to charge the electronic device 100, and can also be used to transmit data between the electronic device 100 and peripheral devices. It can also be used to connect headphones to play audio through the headphones. The interface can also be used to connect other electronic devices, such as AR devices.
可以理解的是,本申请实施例示意的各模块间的接口连接关系,只是示意性说明,并不构成对电子设备100的结构限定。在本申请另一些实施例中,电子设备100也可以采用上述实施例中不同的接口连接方式,或多种接口连接方式的组合。It can be understood that the interface connection relationship between the modules illustrated in the embodiments of the present application is only a schematic illustration, and does not constitute a structural limitation of the electronic device 100 . In other embodiments of the present application, the electronic device 100 may also adopt different interface connection manners in the foregoing embodiments, or a combination of multiple interface connection manners.
充电管理模块140用于从充电器接收充电输入。其中,充电器可以是无线充电器,也可以是有线充电器。在一些有线充电的实施例中,充电管理模块140可以通过USB接口130接收有线充电器的充电输入。在一些无线充电的实施例中,充电管理模块140可以通过电子设备100的无线充电线圈接收无线充电输入。充电管理模块140为电池142充电的同时,还可以通过电源管理模块141为电子设备供电。The charging management module 140 is used to receive charging input from the charger. The charger may be a wireless charger or a wired charger. In some wired charging embodiments, the charging management module 140 may receive charging input from the wired charger through the USB interface 130 . In some wireless charging embodiments, the charging management module 140 may receive wireless charging input through a wireless charging coil of the electronic device 100 . While the charging management module 140 charges the battery 142 , it can also supply power to the electronic device through the power management module 141 .
电源管理模块141用于连接电池142,充电管理模块140与处理器110。电源管理模块141接收电池142和/或充电管理模块140的输入,为处理器110,内部存储器121,显示屏194,摄像头193,和无线通信模块160等供电。电源管理模块141还可以用于监测电池容量,电池循环次数,电池健康状态(漏电,阻抗)等参数。在其他一些实施例中,电源管理模块141也可以设置于处理器110中。在另一些实施例中,电源管理模块141和充电管理模块140也可以设置于同一个器件中。The power management module 141 is used for connecting the battery 142 , the charging management module 140 and the processor 110 . The power management module 141 receives input from the battery 142 and/or the charging management module 140, and supplies power to the processor 110, the internal memory 121, the display screen 194, the camera 193, and the wireless communication module 160. The power management module 141 can also be used to monitor parameters such as battery capacity, battery cycle times, battery health status (leakage, impedance). In some other embodiments, the power management module 141 may also be provided in the processor 110 . In other embodiments, the power management module 141 and the charging management module 140 may also be provided in the same device.
电子设备100的无线通信功能可以通过天线1,天线2,移动通信模块150,无线通信模块160,调制解调处理器以及基带处理器等实现。The wireless communication function of the electronic device 100 may be implemented by the antenna 1, the antenna 2, the mobile communication module 150, the wireless communication module 160, the modulation and demodulation processor, the baseband processor, and the like.
天线1和天线2用于发射和接收电磁波信号。电子设备100中的每个天线可用于覆盖单个或多个通信频带。不同的天线还可以复用,以提高天线的利用率。例如:可以将天线1复用为无线局域网的分集天线。在另外一些实施例中,天线可以和调谐开关结合使用。 Antenna 1 and Antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in electronic device 100 may be used to cover a single or multiple communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, the antenna 1 can be multiplexed as a diversity antenna of the wireless local area network. In other embodiments, the antenna may be used in conjunction with a tuning switch.
移动通信模块150可以提供应用在电子设备100上的包括2G/3G/4G/5G等无线通信的解决方案。移动通信模块150可以包括至少一个滤波器,开关,功率放大器,低噪声放大器(low noise amplifier,LNA)等。移动通信模块150可以由天线1接收电磁波,并对接收的电磁波进行滤波,放大等处理,传送至调制解调处理器进行解调。移动通信模块150还可以对经调制解调处理器调制后的信号放大,经天线1转为电磁波辐射出去。在一些实施例中,移动通信模块150的至少部分功能模块可以被设置于处理器110中。在一些实施例中,移动通信模块150的至少部分功能模块可以与处理器110的至少部分模块被设置在同一个器件中。The mobile communication module 150 may provide wireless communication solutions including 2G/3G/4G/5G etc. applied on the electronic device 100 . The mobile communication module 150 may include at least one filter, switch, power amplifier, low noise amplifier (LNA) and the like. The mobile communication module 150 can receive electromagnetic waves from the antenna 1, filter and amplify the received electromagnetic waves, and transmit them to the modulation and demodulation processor for demodulation. The mobile communication module 150 can also amplify the signal modulated by the modulation and demodulation processor, and then turn it into an electromagnetic wave for radiation through the antenna 1 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the processor 110 . In some embodiments, at least part of the functional modules of the mobile communication module 150 may be provided in the same device as at least part of the modules of the processor 110 .
调制解调处理器可以包括调制器和解调器。其中,调制器用于将待发送的低频基带信号调制成中高频信号。解调器用于将接收的电磁波信号解调为低频基带信号。随后解调器将解调得到的低频基带信号传送至基带处理器处理。低频基带信号经基带处理器处理后,被传递给应用处理器。应用处理器通过音频设备(不限于扬声器170A,受话器170B等)输出声音信号,或通过显示屏194显示图像或视频。在一些实施例中,调制解调处理器可以是独立的器件。在另一些实施例中,调制解调处理器可以独立于处理器110,与移动通信模块150或其他功能模块设置在同一个器件中。The modem processor may include a modulator and a demodulator. Wherein, the modulator is used to modulate the low frequency baseband signal to be sent into a medium and high frequency signal. The demodulator is used to demodulate the received electromagnetic wave signal into a low frequency baseband signal. Then the demodulator transmits the demodulated low-frequency baseband signal to the baseband processor for processing. The low frequency baseband signal is processed by the baseband processor and passed to the application processor. The application processor outputs sound signals through audio devices (not limited to the speaker 170A, the receiver 170B, etc.), or displays images or videos through the display screen 194 . In some embodiments, the modem processor may be a stand-alone device. In other embodiments, the modem processor may be independent of the processor 110, and may be provided in the same device as the mobile communication module 150 or other functional modules.
无线通信模块160可以提供应用在电子设备100上的包括无线局域网(wireless local area networks,WLAN)(如WiFi网络),BT,全球导航卫星系统(global navigation satellite system,GNSS),调频(frequency modulation,FM),近距离无线通信技术(near field communication,NFC),红外技术(infrared,IR),UWB通信技术等无线通信的解决方案。无线通信模块160可以是集成至少一个通信处理模块的一个或多个器件。无线通信模块160经由天线2接收电磁波,将电磁波信号调频以及滤波处理,将处理后的信号发送到处理器110。无线通信模块160还可以从处理器110接收待发送的信号,对其进行调频,放大,经天线2转为电磁波辐射出去。The wireless communication module 160 can provide applications on the electronic device 100 including wireless local area networks (WLAN) (such as WiFi networks), BT, global navigation satellite system (GNSS), frequency modulation (frequency modulation, FM), near field communication technology (NFC), infrared technology (infrared, IR), UWB communication technology and other wireless communication solutions. The wireless communication module 160 may be one or more devices integrating at least one communication processing module. The wireless communication module 160 receives electromagnetic waves via the antenna 2 , frequency modulates and filters the electromagnetic wave signals, and sends the processed signals to the processor 110 . The wireless communication module 160 can also receive the signal to be sent from the processor 110 , perform frequency modulation on it, amplify it, and convert it into electromagnetic waves for radiation through the antenna 2 .
在一些实施例中,电子设备100的天线1和移动通信模块150耦合,天线2和无线通信模块160耦合,使得电子设备100可以通过无线通信技术与网络以及其他设备通信。所述无线通信技术可以包括全球移动通讯系统(global system for mobile communications,GSM),通用分组无线服务(general packet radio service,GPRS),码分多址接入(code division multiple access,CDMA),宽带码分多址(wideband code division multiple access,WCDMA),时分码分多址(time-division code division multiple access,TD-SCDMA),长期演进(long term evolution,LTE),BT,GNSS,WLAN,NFC,FM,UWB,和/或IR技术等。所述GNSS可以包括全球卫星定位系统(global positioning system,GPS),全球导航卫星系统(global navigation satellite system,GLONASS),北斗卫星导航系统(beidou navigation satellite system,BDS),准天顶卫星系统(quasi-zenith satellite system,QZSS)和/或星基增强系统(satellite based augmentation systems,SBAS)。In some embodiments, the antenna 1 of the electronic device 100 is coupled with the mobile communication module 150, and the antenna 2 is coupled with the wireless communication module 160, so that the electronic device 100 can communicate with the network and other devices through wireless communication technology. The wireless communication technology may include global system for mobile communications (GSM), general packet radio service (GPRS), code division multiple access (CDMA), broadband Code Division Multiple Access (WCDMA), Time Division Code Division Multiple Access (TD-SCDMA), Long Term Evolution (LTE), BT, GNSS, WLAN, NFC , FM, UWB, and/or IR technology, etc. The GNSS may include global positioning system (global positioning system, GPS), global navigation satellite system (global navigation satellite system, GLONASS), Beidou navigation satellite system (beidou navigation satellite system, BDS), quasi-zenith satellite system (quasi -zenith satellite system, QZSS) and/or satellite based augmentation systems (SBAS).
电子设备100通过GPU,显示屏194,以及应用处理器等实现显示功能。GPU为图像处理的微处理器,连接显示屏194和应用处理器。GPU用于执行数学和几何计算,用于图形渲染。处理器110可包括一个或多个GPU,其执行程序指令以生成或改变显示信息。The electronic device 100 implements a display function through a GPU, a display screen 194, an application processor, and the like. The GPU is a microprocessor for image processing, and is connected to the display screen 194 and the application processor. The GPU is used to perform mathematical and geometric calculations for graphics rendering. Processor 110 may include one or more GPUs that execute program instructions to generate or alter display information.
显示屏194用于显示图像,视频等。显示屏194包括显示面板。显示面板可以采用液晶显示屏(liquid crystal display,LCD),有机发光二极管(organic light-emitting diode,OLED),有源矩阵有机发光二极体或主动矩阵有机发光二极体(active-matrix organic light emitting diode的,AMOLED),柔性发光二极管(flex light-emitting diode,FLED),Miniled,MicroLed,Micro-oLed,量子点发光二极管(quantum dot light emitting diodes,QLED)等。在一些实施例中,电子设备100可以包括1个或N个显示屏194,N为大于1的正整数。Display screen 194 is used to display images, videos, and the like. Display screen 194 includes a display panel. The display panel can be a liquid crystal display (LCD), an organic light-emitting diode (OLED), an active-matrix organic light-emitting diode or an active-matrix organic light-emitting diode (active-matrix organic light). emitting diode, AMOLED), flexible light-emitting diode (flex light-emitting diode, FLED), Miniled, MicroLed, Micro-oLed, quantum dot light-emitting diode (quantum dot light emitting diodes, QLED) and so on. In some embodiments, the electronic device 100 may include one or N display screens 194 , where N is a positive integer greater than one.
电子设备100可以通过ISP,摄像头193,视频编解码器,GPU,显示屏194以及应用处理器等实现拍摄功能。The electronic device 100 may implement a shooting function through an ISP, a camera 193, a video codec, a GPU, a display screen 194, an application processor, and the like.
ISP用于处理摄像头193反馈的数据。例如,拍照时,打开快门,光线通过镜头被传递到摄像头感光元件上,光信号转换为电信号,摄像头感光元件将所述电信号传递给ISP处理,转化为肉眼可见的图像。ISP还可以对图像的噪点,亮度,肤色进行算法优化。ISP还可以对拍摄场景的曝光,色温等参数优化。在一些实施例中,ISP可以设置在摄像头193中。The ISP is used to process the data fed back by the camera 193 . For example, when taking a photo, the shutter is opened, the light is transmitted to the camera photosensitive element through the lens, the light signal is converted into an electrical signal, and the camera photosensitive element transmits the electrical signal to the ISP for processing, and converts it into an image visible to the naked eye. ISP can also perform algorithm optimization on image noise, brightness, and skin tone. ISP can also optimize the exposure, color temperature and other parameters of the shooting scene. In some embodiments, the ISP may be provided in the camera 193 .
摄像头193用于捕获静态图像或视频。物体通过镜头生成光学图像投射到感光元 件。感光元件可以是电荷耦合器件(charge coupled device,CCD)或互补金属氧化物半导体(complementary metal-oxide-semiconductor,CMOS)光电晶体管。感光元件把光信号转换成电信号,之后将电信号传递给ISP转换成数字图像信号。ISP将数字图像信号输出到DSP加工处理。DSP将数字图像信号转换成标准的RGB,YUV等格式的图像信号。在一些实施例中,电子设备100可以包括1个或N个摄像头193,N为大于1的正整数。Camera 193 is used to capture still images or video. The object is projected through the lens to generate an optical image onto the photosensitive element. The photosensitive element may be a charge coupled device (CCD) or a complementary metal-oxide-semiconductor (CMOS) phototransistor. The photosensitive element converts the optical signal into an electrical signal, and then transmits the electrical signal to the ISP to convert it into a digital image signal. The ISP outputs the digital image signal to the DSP for processing. DSP converts digital image signals into standard RGB, YUV and other formats of image signals. In some embodiments, the electronic device 100 may include 1 or N cameras 193 , where N is a positive integer greater than 1.
数字信号处理器用于处理数字信号,除了可以处理数字图像信号,还可以处理其他数字信号。例如,当电子设备100在频点选择时,数字信号处理器用于对频点能量进行傅里叶变换等。A digital signal processor is used to process digital signals, in addition to processing digital image signals, it can also process other digital signals. For example, when the electronic device 100 selects a frequency point, the digital signal processor is used to perform Fourier transform on the frequency point energy and so on.
视频编解码器用于对数字视频压缩或解压缩。电子设备100可以支持一种或多种视频编解码器。这样,电子设备100可以播放或录制多种编码格式的视频,例如:动态图像专家组(moving picture experts group,MPEG)1,MPEG2,MPEG3,MPEG4等。Video codecs are used to compress or decompress digital video. The electronic device 100 may support one or more video codecs. In this way, the electronic device 100 can play or record videos of various encoding formats, such as: Moving Picture Experts Group (moving picture experts group, MPEG) 1, MPEG2, MPEG3, MPEG4 and so on.
NPU为神经网络(neural-network,NN)计算处理器,通过借鉴生物神经网络结构,例如借鉴人脑神经元之间传递模式,对输入信息快速处理,还可以不断的自学习。通过NPU可以实现电子设备100的智能认知等应用,例如:图像识别,人脸识别,语音识别,文本理解等。The NPU is a neural-network (NN) computing processor. By drawing on the structure of biological neural networks, such as the transfer mode between neurons in the human brain, it can quickly process the input information, and can continuously learn by itself. Applications such as intelligent cognition of the electronic device 100 can be implemented through the NPU, such as image recognition, face recognition, speech recognition, text understanding, and the like.
外部存储器接口120可以用于连接外部存储卡,例如Micro SD卡,实现扩展电子设备100的存储能力。外部存储卡通过外部存储器接口120与处理器110通信,实现数据存储功能。例如将音乐,视频等文件保存在外部存储卡中。The external memory interface 120 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device 100 . The external memory card communicates with the processor 110 through the external memory interface 120 to realize the data storage function. For example to save files like music, video etc in external memory card.
内部存储器121可以用于存储计算机可执行程序代码,所述可执行程序代码包括指令。内部存储器121可以包括存储程序区和存储数据区。其中,存储程序区可存储操作系统,至少一个功能所需的应用程序(比如声音播放功能,图像播放功能等)等。存储数据区可存储电子设备100使用过程中所创建的数据(比如音频数据,电话本等)等。此外,内部存储器121可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件,闪存器件,通用闪存存储器(universal flash storage,UFS)等。处理器110通过运行存储在内部存储器121的指令,和/或存储在设置于处理器中的存储器的指令,执行电子设备100的各种功能应用以及数据处理。Internal memory 121 may be used to store computer executable program code, which includes instructions. The internal memory 121 may include a storage program area and a storage data area. The storage program area can store an operating system, an application program required for at least one function (such as a sound playback function, an image playback function, etc.), and the like. The storage data area may store data (such as audio data, phone book, etc.) created during the use of the electronic device 100 and the like. In addition, the internal memory 121 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, universal flash storage (UFS), and the like. The processor 110 executes various functional applications and data processing of the electronic device 100 by executing instructions stored in the internal memory 121 and/or instructions stored in a memory provided in the processor.
电子设备100可以通过音频模块170,扬声器170A,受话器170B,麦克风170C,耳机接口170D,以及应用处理器等实现音频功能。例如音乐播放,录音等。The electronic device 100 may implement audio functions through an audio module 170, a speaker 170A, a receiver 170B, a microphone 170C, an earphone interface 170D, an application processor, and the like. Such as music playback, recording, etc.
音频模块170用于将数字音频信息转换成模拟音频信号输出,也用于将模拟音频输入转换为数字音频信号。音频模块170还可以用于对音频信号编码和解码。在一些实施例中,音频模块170可以设置于处理器110中,或将音频模块170的部分功能模块设置于处理器110中。The audio module 170 is used for converting digital audio information into analog audio signal output, and also for converting analog audio input into digital audio signal. Audio module 170 may also be used to encode and decode audio signals. In some embodiments, the audio module 170 may be provided in the processor 110 , or some functional modules of the audio module 170 may be provided in the processor 110 .
扬声器170A,也称“喇叭”,用于将音频电信号转换为声音信号。电子设备100可以通过扬声器170A收听音乐,或收听免提通话。 Speaker 170A, also referred to as a "speaker", is used to convert audio electrical signals into sound signals. The electronic device 100 can listen to music through the speaker 170A, or listen to a hands-free call.
受话器170B,也称“听筒”,用于将音频电信号转换成声音信号。当电子设备100接听电话或语音信息时,可以通过将受话器170B靠近人耳接听语音。The receiver 170B, also referred to as "earpiece", is used to convert audio electrical signals into sound signals. When the electronic device 100 answers a call or a voice message, the voice can be answered by placing the receiver 170B close to the human ear.
麦克风170C,也称“话筒”,“传声器”,用于将声音信号转换为电信号。当拨打电话或发送语音信息时,用户可以通过人嘴靠近麦克风170C发声,将声音信号输入 到麦克风170C。电子设备100可以设置至少一个麦克风170C。在另一些实施例中,电子设备100可以设置两个麦克风170C,除了采集声音信号,还可以实现降噪功能。在另一些实施例中,电子设备100还可以设置三个,四个或更多麦克风170C,实现采集声音信号,降噪,还可以识别声音来源,实现定向录音功能等。The microphone 170C, also called "microphone" or "microphone", is used to convert sound signals into electrical signals. When making a call or sending a voice message, the user can make a sound through the human mouth close to the microphone 170C, and input the sound signal into the microphone 170C. The electronic device 100 may be provided with at least one microphone 170C. In other embodiments, the electronic device 100 may be provided with two microphones 170C, which can implement a noise reduction function in addition to collecting sound signals. In other embodiments, the electronic device 100 may further be provided with three, four or more microphones 170C to collect sound signals, reduce noise, identify sound sources, and implement directional recording functions.
耳机接口170D用于连接有线耳机。耳机接口170D可以是USB接口130,也可以是3.5mm的开放移动电子设备平台(open mobile terminal platform,OMTP)标准接口,美国蜂窝电信工业协会(cellular telecommunications industry association of the USA,CTIA)标准接口。The earphone jack 170D is used to connect wired earphones. The earphone interface 170D may be the USB interface 130, or may be a 3.5mm open mobile terminal platform (OMTP) standard interface, a cellular telecommunications industry association of the USA (CTIA) standard interface.
压力传感器180A用于感受压力信号,可以将压力信号转换成电信号。在一些实施例中,压力传感器180A可以设置于显示屏194。压力传感器180A的种类很多,如电阻式压力传感器,电感式压力传感器,电容式压力传感器等。电容式压力传感器可以是包括至少两个具有导电材料的平行板。当有力作用于压力传感器180A,电极之间的电容改变。电子设备100根据电容的变化确定压力的强度。当有触摸操作作用于显示屏194,电子设备100根据压力传感器180A检测所述触摸操作强度。电子设备100也可以根据压力传感器180A的检测信号计算触摸的位置。在一些实施例中,作用于相同触摸位置,但不同触摸操作强度的触摸操作,可以对应不同的操作指令。例如:当有触摸操作强度小于第一压力阈值的触摸操作作用于短消息应用图标时,执行查看短消息的指令。当有触摸操作强度大于或等于第一压力阈值的触摸操作作用于短消息应用图标时,执行新建短消息的指令。The pressure sensor 180A is used to sense pressure signals, and can convert the pressure signals into electrical signals. In some embodiments, the pressure sensor 180A may be provided on the display screen 194 . There are many types of pressure sensors 180A, such as resistive pressure sensors, inductive pressure sensors, capacitive pressure sensors, and the like. The capacitive pressure sensor may be comprised of at least two parallel plates of conductive material. When a force is applied to the pressure sensor 180A, the capacitance between the electrodes changes. The electronic device 100 determines the intensity of the pressure according to the change in capacitance. When a touch operation acts on the display screen 194, the electronic device 100 detects the intensity of the touch operation according to the pressure sensor 180A. The electronic device 100 may also calculate the touched position according to the detection signal of the pressure sensor 180A. In some embodiments, touch operations acting on the same touch position but with different touch operation intensities may correspond to different operation instructions. For example, when a touch operation whose intensity is less than the first pressure threshold acts on the short message application icon, the instruction for viewing the short message is executed. When a touch operation with a touch operation intensity greater than or equal to the first pressure threshold acts on the short message application icon, the instruction to create a new short message is executed.
陀螺仪传感器180B可以用于确定电子设备100的运动姿态。在一些实施例中,可以通过陀螺仪传感器180B确定电子设备100围绕三个轴(即,x,y和z轴)的角速度。陀螺仪传感器180B可以用于拍摄防抖。示例性的,当按下快门,陀螺仪传感器180B检测电子设备100抖动的角度,根据角度计算出镜头模组需要补偿的距离,让镜头通过反向运动抵消电子设备100的抖动,实现防抖。陀螺仪传感器180B还可以用于导航,体感游戏场景。The gyro sensor 180B may be used to determine the motion attitude of the electronic device 100 . In some embodiments, the angular velocity of electronic device 100 about three axes (ie, x, y, and z axes) may be determined by gyro sensor 180B. The gyro sensor 180B can be used for image stabilization. Exemplarily, when the shutter is pressed, the gyro sensor 180B detects the shaking angle of the electronic device 100, calculates the distance that the lens module needs to compensate according to the angle, and allows the lens to offset the shaking of the electronic device 100 through reverse motion to achieve anti-shake. The gyro sensor 180B can also be used for navigation and somatosensory game scenarios.
气压传感器180C用于测量气压。在一些实施例中,电子设备100通过气压传感器180C测得的气压值计算海拔高度,辅助定位和导航。The air pressure sensor 180C is used to measure air pressure. In some embodiments, the electronic device 100 calculates the altitude through the air pressure value measured by the air pressure sensor 180C to assist in positioning and navigation.
磁传感器180D包括霍尔传感器。电子设备100可以利用磁传感器180D检测翻盖皮套的开合。在一些实施例中,当电子设备100是翻盖机时,电子设备100可以根据磁传感器180D检测翻盖的开合。进而根据检测到的皮套的开合状态或翻盖的开合状态,设置翻盖自动解锁等特性。The magnetic sensor 180D includes a Hall sensor. The electronic device 100 can detect the opening and closing of the flip holster using the magnetic sensor 180D. In some embodiments, when the electronic device 100 is a flip machine, the electronic device 100 can detect the opening and closing of the flip according to the magnetic sensor 180D. Further, according to the detected opening and closing state of the leather case or the opening and closing state of the flip cover, characteristics such as automatic unlocking of the flip cover are set.
加速度传感器180E可检测电子设备100在各个方向上(一般为三轴)加速度的大小。当电子设备100静止时可检测出重力的大小及方向。还可以用于识别电子设备姿态,应用于横竖屏切换,计步器等应用。The acceleration sensor 180E can detect the magnitude of the acceleration of the electronic device 100 in various directions (generally three axes). The magnitude and direction of gravity can be detected when the electronic device 100 is stationary. It can also be used to identify the posture of electronic devices, and can be used in applications such as horizontal and vertical screen switching, pedometers, etc.
距离传感器180F,用于测量距离。电子设备100可以通过红外或激光测量距离。在一些实施例中,拍摄场景,电子设备100可以利用距离传感器180F测距以实现快速对焦。Distance sensor 180F for measuring distance. The electronic device 100 can measure the distance through infrared or laser. In some embodiments, when shooting a scene, the electronic device 100 can use the distance sensor 180F to measure the distance to achieve fast focusing.
接近光传感器180G可以包括例如发光二极管(LED)和光检测器,例如光电二极管。发光二极管可以是红外发光二极管。电子设备100通过发光二极管向外发射红外光。 电子设备100使用光电二极管检测来自附近物体的红外反射光。当检测到充分的反射光时,可以确定电子设备100附近有物体。当检测到不充分的反射光时,电子设备100可以确定电子设备100附近没有物体。电子设备100可以利用接近光传感器180G检测用户手持电子设备100贴近耳朵通话,以便自动熄灭屏幕达到省电的目的。接近光传感器180G也可用于皮套模式,口袋模式自动解锁与锁屏。Proximity light sensor 180G may include, for example, light emitting diodes (LEDs) and light detectors, such as photodiodes. The light emitting diodes may be infrared light emitting diodes. The electronic device 100 emits infrared light to the outside through the light emitting diode. Electronic device 100 uses photodiodes to detect infrared reflected light from nearby objects. When sufficient reflected light is detected, it can be determined that there is an object near the electronic device 100 . When insufficient reflected light is detected, the electronic device 100 may determine that there is no object near the electronic device 100 . The electronic device 100 can use the proximity light sensor 180G to detect that the user holds the electronic device 100 close to the ear to talk, so as to automatically turn off the screen to save power. Proximity light sensor 180G can also be used in holster mode, pocket mode automatically unlocks and locks the screen.
环境光传感器180L用于感知环境光亮度。电子设备100可以根据感知的环境光亮度自适应调节显示屏194亮度。环境光传感器180L也可用于拍照时自动调节白平衡。环境光传感器180L还可以与接近光传感器180G配合,检测电子设备100是否在口袋里,以防误触。The ambient light sensor 180L is used to sense ambient light brightness. The electronic device 100 can adaptively adjust the brightness of the display screen 194 according to the perceived ambient light brightness. The ambient light sensor 180L can also be used to automatically adjust the white balance when taking pictures. The ambient light sensor 180L can also cooperate with the proximity light sensor 180G to detect whether the electronic device 100 is in a pocket, so as to prevent accidental touch.
指纹传感器180H用于采集指纹。电子设备100可以利用采集的指纹特性实现指纹解锁,访问应用锁,指纹拍照,指纹接听来电等。The fingerprint sensor 180H is used to collect fingerprints. The electronic device 100 can use the collected fingerprint characteristics to realize fingerprint unlocking, accessing application locks, taking pictures with fingerprints, answering incoming calls with fingerprints, and the like.
温度传感器180J用于检测温度。在一些实施例中,电子设备100利用温度传感器180J检测的温度,执行温度处理策略。例如,当温度传感器180J上报的温度超过阈值,电子设备100执行降低位于温度传感器180J附近的处理器的性能,以便降低功耗实施热保护。在另一些实施例中,当温度低于另一阈值时,电子设备100对电池142加热,以避免低温导致电子设备100异常关机。在其他一些实施例中,当温度低于又一阈值时,电子设备100对电池142的输出电压执行升压,以避免低温导致的异常关机。The temperature sensor 180J is used to detect the temperature. In some embodiments, the electronic device 100 uses the temperature detected by the temperature sensor 180J to execute a temperature processing strategy. For example, when the temperature reported by the temperature sensor 180J exceeds a threshold value, the electronic device 100 reduces the performance of the processor located near the temperature sensor 180J in order to reduce power consumption and implement thermal protection. In other embodiments, when the temperature is lower than another threshold, the electronic device 100 heats the battery 142 to avoid abnormal shutdown of the electronic device 100 caused by the low temperature. In some other embodiments, when the temperature is lower than another threshold, the electronic device 100 boosts the output voltage of the battery 142 to avoid abnormal shutdown caused by low temperature.
触摸传感器180K,也称“触控器件”。触摸传感器180K可以设置于显示屏194,由触摸传感器180K与显示屏194组成触摸屏,也称“触控屏”。触摸传感器180K用于检测作用于其上或附近的触摸操作。触摸传感器可以将检测到的触摸操作传递给应用处理器,以确定触摸事件类型。可以通过显示屏194提供与触摸操作相关的视觉输出。在另一些实施例中,触摸传感器180K也可以设置于电子设备100的表面,与显示屏194所处的位置不同。Touch sensor 180K, also called "touch device". The touch sensor 180K may be disposed on the display screen 194 , and the touch sensor 180K and the display screen 194 form a touch screen, also called a “touch screen”. The touch sensor 180K is used to detect a touch operation on or near it. The touch sensor can pass the detected touch operation to the application processor to determine the type of touch event. Visual output related to touch operations may be provided through display screen 194 . In other embodiments, the touch sensor 180K may also be disposed on the surface of the electronic device 100 , which is different from the location where the display screen 194 is located.
骨传导传感器180M可以获取振动信号。在一些实施例中,骨传导传感器180M可以获取人体声部振动骨块的振动信号。骨传导传感器180M也可以接触人体脉搏,接收血压跳动信号。在一些实施例中,骨传导传感器180M也可以设置于耳机中,结合成骨传导耳机。音频模块170可以基于所述骨传导传感器180M获取的声部振动骨块的振动信号,解析出语音信号,实现语音功能。应用处理器可以基于所述骨传导传感器180M获取的血压跳动信号解析心率信息,实现心率检测功能。The bone conduction sensor 180M can acquire vibration signals. In some embodiments, the bone conduction sensor 180M can acquire the vibration signal of the vibrating bone mass of the human voice. The bone conduction sensor 180M can also contact the pulse of the human body and receive the blood pressure beating signal. In some embodiments, the bone conduction sensor 180M can also be disposed in the earphone, combined with the bone conduction earphone. The audio module 170 can analyze the voice signal based on the vibration signal of the vocal vibration bone block obtained by the bone conduction sensor 180M, so as to realize the voice function. The application processor can analyze the heart rate information based on the blood pressure beat signal obtained by the bone conduction sensor 180M, and realize the function of heart rate detection.
按键190包括开机键,音量键等。按键190可以是机械按键。也可以是触摸式按键。电子设备100可以接收按键输入,产生与电子设备100的用户设置以及功能控制有关的键信号输入。The keys 190 include a power-on key, a volume key, and the like. Keys 190 may be mechanical keys. It can also be a touch key. The electronic device 100 may receive key inputs and generate key signal inputs related to user settings and function control of the electronic device 100 .
马达191可以产生振动提示。马达191可以用于来电振动提示,也可以用于触摸振动反馈。例如,作用于不同应用(例如拍照,音频播放等)的触摸操作,可以对应不同的振动反馈效果。作用于显示屏194不同区域的触摸操作,马达191也可对应不同的振动反馈效果。不同的应用场景(例如:时间提醒,接收信息,闹钟,游戏等)也可以对应不同的振动反馈效果。触摸振动反馈效果还可以支持自定义。Motor 191 can generate vibrating cues. The motor 191 can be used for vibrating alerts for incoming calls, and can also be used for touch vibration feedback. For example, touch operations acting on different applications (such as taking pictures, playing audio, etc.) can correspond to different vibration feedback effects. The motor 191 can also correspond to different vibration feedback effects for touch operations on different areas of the display screen 194 . Different application scenarios (for example: time reminder, receiving information, alarm clock, games, etc.) can also correspond to different vibration feedback effects. The touch vibration feedback effect can also support customization.
指示器192可以是指示灯,可以用于指示充电状态,电量变化,也可以用于指示 消息,未接来电,通知等。The indicator 192 may be an indicator light, which may be used to indicate charging status, battery change, and may also be used to indicate messages, missed calls, notifications, and the like.
SIM卡接口195用于连接SIM卡。SIM卡可以通过插入SIM卡接口195,或从SIM卡接口195拔出,实现和电子设备100的接触和分离。电子设备100可以支持1个或N个SIM卡接口,N为大于1的正整数。SIM卡接口195可以支持Nano SIM卡,Micro SIM卡,SIM卡等。同一个SIM卡接口195可以同时插入多张卡。所述多张卡的类型可以相同,也可以不同。SIM卡接口195也可以兼容不同类型的SIM卡。SIM卡接口195也可以兼容外部存储卡。电子设备100通过SIM卡和网络交互,实现通话以及数据通信等功能。在一些实施例中,电子设备100采用eSIM,即:嵌入式SIM卡。eSIM卡可以嵌在电子设备100中,不能和电子设备100分离。The SIM card interface 195 is used to connect a SIM card. The SIM card can be contacted and separated from the electronic device 100 by inserting into the SIM card interface 195 or pulling out from the SIM card interface 195 . The electronic device 100 may support 1 or N SIM card interfaces, where N is a positive integer greater than 1. The SIM card interface 195 can support Nano SIM card, Micro SIM card, SIM card and so on. Multiple cards can be inserted into the same SIM card interface 195 at the same time. The types of the plurality of cards may be the same or different. The SIM card interface 195 can also be compatible with different types of SIM cards. The SIM card interface 195 is also compatible with external memory cards. The electronic device 100 interacts with the network through the SIM card to implement functions such as call and data communication. In some embodiments, the electronic device 100 employs an eSIM, ie: an embedded SIM card. The eSIM card can be embedded in the electronic device 100 and cannot be separated from the electronic device 100 .
应理解,根据电子设备实际的应用场景,电子设备可以增加或减少部件,例如可以包括比图5所示示例中更多或更少的部件。It should be understood that, according to the actual application scenario of the electronic device, the electronic device may increase or decrease components, for example, may include more or less components than the example shown in FIG. 5 .
下面通过非限制示例对本申请实施例的应用场景和实现流程进行举例说明。为了描述方便,在下面的应用场景中,以手机作为电子设备的示例进行描述。需要说明的是,针对某一应用场景的示例性描述,并不用于限定该应用场景。事实上,针对各个应用场景的示例性描述,可以想到的各种变形、组合、替代或改变均不超出本申请。The application scenarios and implementation processes of the embodiments of the present application are illustrated below by using non-limiting examples. For the convenience of description, in the following application scenarios, a mobile phone is used as an example of an electronic device for description. It should be noted that the exemplary description for a certain application scenario is not intended to limit the application scenario. In fact, for the exemplary description of each application scenario, various modifications, combinations, substitutions or changes can be conceived within the scope of the present application.
第一个应用场景The first application scenario
本申请一实施例通过在用户的不同人体部位部署定位基站,通过手动和/或自动的方式检测各基站所处的人体部位,形成一个自标基站系统,从而对手机上的定位标签进行定位,达到不需提前部署及确定定位基站,就能达到确定定位标签三维空间位置的目的。In an embodiment of the present application, positioning base stations are deployed on different body parts of the user, and the body parts where each base station is located are manually and/or automatically detected to form a self-marking base station system, so as to locate the positioning tags on the mobile phone, The purpose of determining the three-dimensional space position of the positioning label can be achieved without deploying and determining the positioning base station in advance.
作为一非限制性示例,如图6所示,手机上设置有定位标签,该定位标签记为T m1。UWB定位基站部署如下:用户佩戴的眼镜有两条镜腿,两条镜腿分别部署1个UWB定位基站,部署在镜腿的两个UWB定位基站分别记为B head1和B head2;用户佩戴手环或手表,手环或手表内置一个UWB定位基站,该UWB定位基站记为B w1;用户的脚踝上部署一个UWB定位基站,该UWB定位基站记为B a1。 As a non-limiting example, as shown in FIG. 6 , a positioning tag is provided on the mobile phone, and the positioning tag is denoted as T m 1 . The UWB positioning base station is deployed as follows: the glasses worn by the user have two temples, one UWB positioning base station is deployed on the two temples respectively, and the two UWB positioning base stations deployed on the temples are respectively recorded as B head 1 and B head 2; Wear a wristband or watch, the wristband or watch has a built-in UWB positioning base station, which is marked as B w 1; a UWB positioning base station is deployed on the user's ankle, and the UWB positioning base station is marked as B a 1.
在一些实现方式中,用户可以根据多个UWB定位基站部署在用户的哪些人体部位,从而手动指定每个UWB定位基站的属性。例如,用户根据3个UWB定位基站所部署的人体部位,头部、手腕和脚踝,将3个UWB定位基站标识为头部基站,手腕基站,脚踝基站。In some implementations, the user can manually specify the attributes of each UWB positioning base station according to which parts of the user's body the multiple UWB positioning base stations are deployed. For example, the user identifies the three UWB positioning base stations as the head base station, the wrist base station, and the ankle base station according to the human body parts deployed by the three UWB positioning base stations, namely the head, the wrist and the ankle.
在一些实现方式中,每个UWB定位基站可以自动标识自身属性。例如,根据各UWB定位基站检测到的自身高度,确定各UWB定位基站所部署的人体部位,具体地,3个UWB定位基站检测到自身所处高度,将3个UWB定位基站依次标识为头部基站,手腕基站,脚踝基站。又如,每个UWB定位基站所部署的电子设备可以根据自身的设备信息,确定各UWB定位基站的属性,具体地,当根据电子设备的设备信息确定自身为手环时,可以将部署于手环的UWB定位基站标识为手腕基站;当根据电子设备的设备信息确定自身为眼镜时,可以将部署于眼镜的UWB定位基站标识为头部基站。在本申请实施例中,两个UWB定位基站之间的距离可以为预设值,也可以为人工设置值。在一些实现方式中,由于人体平均身高的限制,在用户站立状态下,头部基站与脚踝基站之间的距离平均为1m(单位:米)至1.5m,或更大,如1.7m。因此,可以根据经验将头部基站与脚踝基站之间的距离设置成一个预设值。在另一些实现方式中,用户可以手动输入身高值,若输入的身高值为D Base,则以此值作为头部基站与脚踝基站之间的距离。 In some implementations, each UWB positioning base station can automatically identify its own attributes. For example, according to the height detected by each UWB positioning base station, determine the body parts deployed by each UWB positioning base station. Specifically, three UWB positioning base stations detect their own heights, and identify the three UWB positioning base stations as the head in turn. Base station, wrist base station, ankle base station. For another example, the electronic equipment deployed by each UWB positioning base station can determine the attributes of each UWB positioning base station according to its own equipment information. The UWB positioning base station of the ring is identified as the wrist base station; when it is determined that it is the glasses according to the device information of the electronic device, the UWB positioning base station deployed on the glasses can be identified as the head base station. In this embodiment of the present application, the distance between two UWB positioning base stations may be a preset value, or may be a manually set value. In some implementations, due to the limitation of the average height of the human body, when the user is standing, the distance between the head base station and the ankle base station is an average of 1m (unit: meters) to 1.5m, or greater, such as 1.7m. Therefore, the distance between the head base station and the ankle base station can be set to a preset value according to experience. In other implementations, the user can manually input the height value, and if the input height value is D Base , this value is used as the distance between the head base station and the ankle base station.
可以理解,在一些实现方式中,当定位基站位于用户身上的穿戴设备时,通过穿戴设备的穿戴位置,例如头部、脚踝或手腕等,的先验知识,可以预估定位基站的相对位置和距离。It can be understood that, in some implementations, when the positioning base station is located on the wearable device on the user's body, through the prior knowledge of the wearing position of the wearable device, such as the head, ankle or wrist, etc., the relative position and relative position of the positioning base station can be estimated. distance.
在本申请一实际应用场景中,以利用头部基站Bh与脚踝基站Ba对手机Tm进行定位作为示例。在该应用场景中,被监护人携带头部基站Bh与脚踝基站Ba,监护人携带手机Tm。In a practical application scenario of the present application, the mobile phone Tm is positioned by using the head base station Bh and the ankle base station Ba as an example. In this application scenario, the guardian carries the head base station Bh and the ankle base station Ba, and the guardian carries the mobile phone Tm.
作为一非限制性示例,如图7所示,通过头部基站Bh与脚踝基站Ba的天线阵列,可以测量出手机Tm所在位置(x,y)分别到头部基站Bh和脚踝基站Ba的方向角α和β。其中,手机Tm所在位置(x,y)到头部基站Bh的方向角为α;手机Tm所在位置(x,y)到脚踝基站Ba的方向角为β。As a non-limiting example, as shown in FIG. 7 , through the antenna arrays of the head base station Bh and the ankle base station Ba, the directions from the position (x, y) of the mobile phone Tm to the head base station Bh and the ankle base station Ba can be measured respectively. angles α and β. The direction angle from the position (x, y) of the mobile phone Tm to the head base station Bh is α; the direction angle from the position (x, y) of the mobile phone Tm to the ankle base station Ba is β.
已知头部基站Bh与脚踝基站Ba之间的距离D Base,可以确定头部基站Bh与脚踝基站Ba的坐标值,头部基站Bh的坐标值为(x1,y1),脚踝基站Ba的坐标值为(x2,y2)。 Knowing the distance D Base between the head base station Bh and the ankle base station Ba, the coordinate values of the head base station Bh and the ankle base station Ba can be determined, the coordinate value of the head base station Bh is (x1, y1), and the coordinates of the ankle base station Ba The value is (x2,y2).
tanα=(x-x1)/(y-y1),tanβ=(x-x2)/(y-y2)。       (1)tanα=(x-x1)/(y-y1), tanβ=(x-x2)/(y-y2). (1)
即tanα i=(x-xi)/(y-yi),其中,i取值为1,2。 That is, tanα i =(x-xi)/(y-yi), where i is 1 and 2.
在本申请一些实现方式中,可以以头部基站Bh为坐标系原点,则(x1,y1)=(0,0);以头部基站Bh与脚踝基站Ba的连线所在直线为坐标系的X轴,以头部基站Bh到脚踝基站Ba的方向为X轴的正方向,则(x2,y2)=(D Base,0)。根据上述的二元方程组(1),可以计算出定位标签,即手机Tm所在位置坐标(x,y)。 In some implementations of the present application, the head base station Bh can be used as the origin of the coordinate system, then (x1, y1)=(0,0); the straight line connecting the head base station Bh and the ankle base station Ba is the coordinate system For the X-axis, the direction from the head base station Bh to the ankle base station Ba is the positive direction of the X-axis, then (x2, y2)=(D Base , 0). According to the above-mentioned binary equation system (1), the positioning label, that is, the position coordinates (x, y) of the mobile phone Tm, can be calculated.
在本申请另一些实现方式中,还可以以脚踝基站Ba为坐标系原点,和/或,采用其他连线作为坐标系的X轴和Y轴。也就是说,本申请对建立坐标系的方式不予限定。In other implementation manners of the present application, the ankle base station Ba may also be used as the origin of the coordinate system, and/or other connecting lines may be used as the X-axis and the Y-axis of the coordinate system. That is to say, the present application does not limit the manner of establishing the coordinate system.
由此,可以定位出头部基站Bh、脚踝基站Ba和手机Tm这3点形成平面上,手机Tm的空间坐标,完成定位解算。In this way, the three points of the head base station Bh, the ankle base station Ba, and the mobile phone Tm can locate the spatial coordinates of the mobile phone Tm on the plane, and complete the positioning calculation.
作为另一非限制性示例,已知头部基站Bh与脚踝基站Ba之间的距离D Base,通过建立坐标系确定头部基站Bh与脚踝基站Ba的坐标值,头部基站Bh的坐标值为(x1,y1),脚踝基站Ba的坐标值为(x2,y2)。此外,可以采用UWB测距方式测量头部基站Bh到手机Tm的距离,测量脚踝基站Ba到手机Tm的距离。从而计算出定位标签,即手机Tm所在位置坐标(x,y)。 As another non-limiting example, the distance D Base between the head base station Bh and the ankle base station Ba is known, and the coordinate values of the head base station Bh and the ankle base station Ba are determined by establishing a coordinate system, and the coordinate value of the head base station Bh is (x1, y1), the coordinate value of the ankle base station Ba is (x2, y2). In addition, the distance from the head base station Bh to the mobile phone Tm can be measured by the UWB ranging method, and the distance from the ankle base station Ba to the mobile phone Tm can be measured. Thereby, the positioning label, that is, the coordinates (x, y) of the location where the mobile phone Tm is located is calculated.
在本应用场景中,不需要在环境中提前部署定位基站,通过检测基站部署的部位,形成自标定位系统,可以快速对定位基站的位置进行标定,从而可以对定位标签的位置进行定位。In this application scenario, there is no need to deploy the positioning base station in advance in the environment. By detecting the location where the base station is deployed, a self-calibration positioning system can be formed, which can quickly calibrate the position of the positioning base station, so as to locate the position of the positioning label.
应理解,在一些实现方式中,服务器获得定位基站与手机的原始定位数据后,服务器中部署的定位引擎根据原始定位数据进行定位解算,将定位结果反馈到手机,监护人可以通过手机查看定位结果,和/或,将定位结果反馈到定位基站所部署的电子设备,电子设备例如手环或智能眼镜等穿戴设备,被监护人可以通过穿戴设备查看定位结果。It should be understood that in some implementations, after the server obtains the original positioning data of the positioning base station and the mobile phone, the positioning engine deployed in the server performs a positioning calculation according to the original positioning data, and feeds back the positioning result to the mobile phone, and the guardian can view the positioning result through the mobile phone. , and/or, the positioning result is fed back to the electronic device deployed by the positioning base station, such as a wearable device such as a wristband or smart glasses, and the guardian can view the positioning result through the wearable device.
在另一些实现方式中,手机获得定位基站与手机的原始定位数据后,手机中部署的定位引擎根据原始定位数据进行定位解算,监护人可以通过手机查看定位结果,和/或,手机可以将定位结果反馈到定位基站所部署的电子设备,电子设备例如手环或智能眼镜等穿戴设备,被监护人可以通过穿戴设备查看定位结果。In other implementations, after the mobile phone obtains the original positioning data of the positioning base station and the mobile phone, the positioning engine deployed in the mobile phone performs positioning calculation according to the original positioning data, the guardian can view the positioning result through the mobile phone, and/or the mobile phone can The results are fed back to the electronic devices deployed by the positioning base station, such as wearable devices such as wristbands or smart glasses, and the ward can view the positioning results through the wearable devices.
在另一些实现方式中,定位基站所部署的电子设备,电子设备例如手环或智能眼镜等穿戴设备,穿戴设备可以在获得定位基站与手机的原始定位数据后,利用预先部 署的定位引擎根据原始定位数据进行定位解算,被监护人可以通过穿戴设备查看定位结果,和/或,穿戴设备可以将定位结果反馈到手机,监护人可以通过手机查看定位结果。In other implementations, the electronic device deployed by the positioning base station, such as a wearable device such as a wristband or smart glasses, the wearable device can use a pre-deployed positioning engine to obtain the original positioning data of the base station and the mobile phone according to the original positioning data. The positioning data is used for positioning calculation, and the ward can view the positioning results through the wearable device, and/or the wearable device can feed back the positioning results to the mobile phone, and the guardian can view the positioning results through the mobile phone.
由于Tm位置即为手机的位置,因此可确认手机与基站之间的相对位置关系。也就是说,可以通过这种定位方式确定监护人和被监护人之间的相对位置关系。因此,可以通过定位结果指导监护人寻找被监护人,或,被监护人寻找监护人。Since the Tm position is the position of the mobile phone, the relative positional relationship between the mobile phone and the base station can be confirmed. That is to say, the relative positional relationship between the guardian and the guardian can be determined through this positioning method. Therefore, the guardian can be instructed to search for the guardian through the positioning result, or the guardian can search for the guardian.
作为一非限制性示例,在监护人和被监护人的位置确认后,监护人的手机或被监护人的穿戴设备可以显示一个雷达图,雷达图上映射监护人和被监护人的相对位置关系。As a non-limiting example, after the positions of the guardian and the ward are confirmed, the guardian's mobile phone or the ward's wearable device may display a radar map, on which the relative positional relationship between the guardian and the ward is mapped.
在其他一些非限制性示例中,在显示雷达图的同时可以增加一些寻找指示或导航指示。例如,在显示雷达图的基础上,叠加显示周边地图。结合电子设备自身的绝对定位结果,例如GPS定位结果,以及本申请实施例提供的相对位置定位关系,指示用户寻人。In some other non-limiting examples, some finding instructions or navigation instructions may be added while the radar chart is displayed. For example, on the basis of displaying the radar map, the surrounding map is displayed superimposed. In combination with the absolute positioning result of the electronic device itself, such as the GPS positioning result, and the relative position positioning relationship provided by the embodiment of the present application, the user is instructed to search for the person.
在一些实际使用场景中,监护人在手机上触发寻找家人模式,或被监护人在穿戴设备上触发寻找家人模式,监护人的手机和被监护人的穿戴设备进行定位操作。当被监护人在穿戴设备上启动寻找帮助,穿戴设备响应于启动寻找帮助的用户操作,可以显示雷达图。监护人在手机上启动寻找帮助,手机响应于启动寻找帮助的用户操作,可以显示雷达图。In some actual usage scenarios, the guardian triggers the family search mode on the mobile phone, or the guardian triggers the family search mode on the wearable device, and the guardian's mobile phone and the guardian's wearable device perform positioning operations. When the ward starts searching for help on the wearable device, the wearable device can display a radar chart in response to the user operation for starting the search for help. The guardian initiates the search for help on the mobile phone, and the mobile phone may display a radar chart in response to the user operation for initiating the search for help.
如图8所示为一监护人手机的定位结果显示界面示意图,图8所示的雷达图的中心表示监护人的位置,雷达图上显示一人形图标以标识被监护人的位置。人形图标距离中心的远近,表示被监护人距离监护人的距离远近。在图8所示示例中,有两个被监护人,两个被监护人身上都分别部署了基站,手机上同时显示了两个被监护人的位置。Fig. 8 is a schematic diagram of the positioning result display interface of a guardian's mobile phone. The center of the radar chart shown in Fig. 8 represents the guardian's position, and a human-shaped icon is displayed on the radar chart to identify the position of the guardian. The distance between the human-shaped icon and the center indicates the distance between the supervised person and the guardian. In the example shown in FIG. 8 , there are two wards, base stations are respectively deployed on the two wards, and the positions of the two wards are displayed on the mobile phone at the same time.
应理解,在被监护人的穿戴设备上可以显示雷达图,雷达图的中心表示被监护人自身的位置,而雷达图上显示的人形图标可以用于标识监护人的位置。It should be understood that a radar chart can be displayed on the wearable device of the ward, the center of the radar chart represents the position of the ward, and the human-shaped icon displayed on the radar chart can be used to identify the position of the guardian.
在其他一些示例中,雷达图上除了显示监护人和被监护人的位置外,还可以在雷达图上显示导航指示标识,或者,电子设备可以播放导航语音,以方便监护人或被监护人找到家人。In some other examples, in addition to displaying the positions of the guardian and the ward, the radar map can also display a navigation indicator, or the electronic device can play a navigation voice to facilitate the guardian or the ward to find family members.
在上述示例中,将监护人与被监护人的定位结果,直观地映射到雷达图中,方便监护人通过雷达图的指示快速寻找到被监护人,被监护人通过雷达图的指示快速寻找到监护人。In the above example, the positioning results of the guardian and the guardian are intuitively mapped to the radar chart, so that the guardian can quickly find the guardian through the indication of the radar chart, and the guardian can quickly find the guardian through the indication of the radar chart.
需要说明的是,由于监护人和被监护人可能实时在移动,因而定位基站和定位标签也在移动,因此,定位解算可以每隔一个预设时间就进行一次,以便实现实时定位,提高定位精度。当定位基站与定位标签之间的定位结果实时变化时,定位结果的变化将实时反映到雷达图中。It should be noted that since the guardian and the ward may be moving in real time, the positioning base station and the positioning label are also moving. Therefore, the positioning calculation can be performed every preset time, so as to realize real-time positioning and improve positioning accuracy. When the positioning result between the positioning base station and the positioning label changes in real time, the change in the positioning result will be reflected in the radar chart in real time.
还需要说明的是,在上述基于头部基站Bh与脚踝基站Ba这两个基站实现定位的应用场景的基础上,还可以再加入更多基站,例如手腕基站Bw等实现更多基站的定位。通过三个或更多数量的基站定位,可以提升定位的精度。It should also be noted that, based on the above-mentioned application scenario of positioning based on the head base station Bh and the ankle base station Ba, more base stations can be added, such as the wrist base station Bw, etc., to realize the positioning of more base stations. Positioning accuracy can be improved by positioning with three or more base stations.
第二个应用场景The second application scenario
在上一应用场景中,定位基站之间的距离D Base(即头部基站Bh与脚踝基站Ba之间的距离)为一个预估值,或由用户手动输入的值,存在误差,因此定位精度可能受到影响。此外,由于定位基站穿戴在用户身上,定位基站之间的距离会因为用户运动而不断的发生变化,从而影响最终定位精度。 In the previous application scenario, the distance D Base between the positioning base stations (that is, the distance between the head base station Bh and the ankle base station Ba) is an estimated value, or a value manually input by the user, there is an error, so the positioning accuracy may be affected. In addition, since the positioning base stations are worn on the user's body, the distance between the positioning base stations will change continuously due to the user's movement, thereby affecting the final positioning accuracy.
在第二个应用场景中,如图9所示的定位系统中,定位基站包括两个头部定位基站,即B head1和B head2,两个头部定位基站分别设置在眼镜的两侧镜腿。定位基站还包括脚部定位基站Ba,和/或,手部手环定位基站Bw。 In the second application scenario, in the positioning system shown in Figure 9, the positioning base station includes two head positioning base stations, namely B head 1 and B head 2, and the two head positioning base stations are respectively set on both sides of the glasses temples. The positioning base station further includes a foot positioning base station Ba, and/or a hand bracelet positioning base station Bw.
应理解,在其他一些实际应用场景中,定位系统还可以包括更多的设备,例如服务器,交换机等。It should be understood that in some other practical application scenarios, the positioning system may also include more devices, such as servers, switches, and the like.
如图10所示,眼镜制成之后,两侧镜腿相对位置已经固定,两个头部定位基站B head1和B head2的相对位置已知,因此两个头部定位基站B head1和B head2之间的距离D BaseGlass可设定为一准确的值,在本示例中D BaseGlass设置为23.5cm。应理解,D BaseGlass可以根据眼镜实际的设计参数进行设置,在设计参数不同的情形下,D BaseGlass的取值可以不相同,本申请实施例对D BaseGlass的取值不予具体限制。需要说明的是,在一些实际使用场景中,眼镜在完成初始化后,可以根据自身的设计参数自动对D BaseGlass进行取值;而在另一些实际使用场景中,眼镜的用户可以主动根据眼镜的设计参数对D BaseGlass的取值进行设置。也就是说,D BaseGlass的取值过程可由设备自动完成,也可以由用户主动完成。 As shown in Figure 10, after the glasses are made, the relative positions of the temples on both sides have been fixed, and the relative positions of the two head positioning base stations B head 1 and B head 2 are known, so the two head positioning base stations B head 1 and B head 2 are known. The distance D Base Glass between B head 2 can be set to an exact value, in this example D Base Glass is set to 23.5cm. It should be understood that the D Base Glass can be set according to the actual design parameters of the glasses. In the case of different design parameters, the value of the D Base Glass may be different. The embodiments of the present application do not specifically limit the value of the D Base Glass. It should be noted that in some actual usage scenarios, after the glasses are initialized, they can automatically set the value of D Base Glass according to their own design parameters; while in other actual usage scenarios, the user of the glasses can The design parameters set the value of D Base Glass. That is to say, the value-taking process of D Base Glass can be completed automatically by the device or by the user.
在一些实现方式中,可以通过第一个应用场景中的定位方法,即通过基于AOA的定位方法,基于两个头部基站,准确计算出定位标签的空间坐标。In some implementations, the spatial coordinates of the positioning tag can be accurately calculated based on the two head base stations through the positioning method in the first application scenario, that is, the positioning method based on AOA.
由于两个头部基站靠的比较近,在对较远的标签进行定位时,精度可能不够。因而,在另一些实现方式中,继续参见图9所示,可以根据第一个应用场景中的定位方法,即通过基于AOA的定位方法,基于两个头部基站,解算出其他定位基站,如脚部定位基站Ba和/或手部手环定位基站Bw的准确三维坐标,确定脚部定位基站Ba与头部定位基站之间距离的准确数值D base1,和,手部手环定位基站Bw与头部定位基站之间距离的准确数值D base2。得到了准确的距离值,而非经验值后,可以通过基于AOA的定位方法,类似第一个应用场景,基于一个头部基站和一个脚部定位基站,准确计算出定位标签的空间坐标,或,基于一个头部基站和手部手环定位基站,准确计算出定位标签的空间坐标。 Since the two head base stations are relatively close together, the accuracy may not be sufficient when locating farther tags. Therefore, in other implementation manners, continuing to refer to FIG. 9 , other positioning base stations can be calculated based on the two head base stations according to the positioning method in the first application scenario, that is, the AOA-based positioning method, such as Accurate three-dimensional coordinates of the foot positioning base station Ba and/or the hand wristband positioning base station Bw, determine the exact value D base 1 of the distance between the foot positioning base station Ba and the head positioning base station, and, the hand wristband positioning base station Bw The exact value of the distance from the head positioning base station D base 2. After obtaining the accurate distance value instead of the empirical value, the AOA-based positioning method, similar to the first application scenario, can accurately calculate the spatial coordinates of the positioning tag based on a head base station and a foot positioning base station, or , Based on a head base station and a hand bracelet positioning base station, the spatial coordinates of the positioning tag are accurately calculated.
需要说明的是,第二个应用场景可以采用与第一个应用场景相同的定位方法,此处不再赘述。It should be noted that, the second application scenario may adopt the same positioning method as the first application scenario, which will not be repeated here.
第三个应用场景The third application scenario
在第一个应用场景和第二个应用场景的基础上,除了对基站和标签的位置进行定位外,在第三个应用场景中,还可以根据定位结果确定用户的位姿。On the basis of the first application scenario and the second application scenario, in addition to locating the positions of the base station and the tag, in the third application scenario, the user's pose can also be determined according to the positioning result.
在一些实现方式中,通过眼镜中配置的运动传感器,例如陀螺仪,陀螺仪经过预标定后,可以确定眼镜当前的位姿,眼镜的位姿包括水平方向或垂直方向等。眼镜的位姿为水平方向时,可以确定穿戴眼镜的用户为正立的姿态;眼镜的的位姿为垂直方向时,可以确定穿戴眼镜的用户为头部歪斜的姿态,或为躺下的姿态,用户很可能出现危险。In some implementations, a motion sensor configured in the glasses, such as a gyroscope, can determine the current pose of the glasses after the gyroscope is pre-calibrated, and the pose of the glasses includes a horizontal direction or a vertical direction. When the posture of the glasses is in the horizontal direction, it can be determined that the user wearing the glasses is in an upright posture; when the posture of the glasses is in the vertical direction, it can be determined that the user wearing the glasses has a tilted head posture or a lying posture. , the user is likely to be at risk.
在一些实现方式中,当确定两个头部定位基站B head1和B head2的连线D baseGlass的方向为垂 直方向时,可以确定眼镜的位姿为垂直方向,可以确定穿戴眼镜的用户为头部歪斜的姿态或为躺下的姿态。当确定两个头部定位基站B head1和B head2的连线D baseGlass的方向为水平方向时,可以确定眼镜的位姿为水平方向,可以确定穿戴眼镜的用户为头部正立的姿态。 In some implementations, when the direction of the connection line D base Glass between the two head positioning base stations B head 1 and B head 2 is determined to be the vertical direction, the pose of the glasses can be determined to be the vertical direction, and the user wearing the glasses can be determined to be in the vertical direction. A head tilted position or a lying down position. When it is determined that the direction of the connection line D base Glass between the two head positioning base stations B head 1 and B head 2 is the horizontal direction, the pose of the glasses can be determined to be the horizontal direction, and the user wearing the glasses can be determined to have an upright head. attitude.
在一些实现方式中,还可以根据两个准确的距离值D base1和D base2,确定用户(部署定位基站的用户)当前的姿态信息。具体地,可以通过与第一个应用场景中类似的定位方法,即通过基于AOA的定位方法,基于两个头部基站,解算出其他定位基站,如脚部定位基站Ba和手部手环定位基站Bw的准确三维坐标,确定脚部定位基站Ba与头部定位基站之间距离的准确数值D base1,和,手部手环定位基站Bw与头部定位基站之间距离的准确数值D base2。 In some implementation manners, the current attitude information of the user (the user deploying the positioning base station) may also be determined according to two accurate distance values D base 1 and D base 2 . Specifically, other positioning base stations, such as foot positioning base station Ba and hand bracelet positioning, can be calculated based on two head base stations through a positioning method similar to that in the first application scenario, that is, through the AOA-based positioning method. The accurate three-dimensional coordinates of the base station Bw, determine the accurate value D base 1 of the distance between the foot positioning base station Ba and the head positioning base station, and the accurate value D base of the distance between the hand bracelet positioning base station Bw and the head positioning base station 2.
作为一非限制性示例,当D base1-D base2<50cm(单位,厘米),可以确定用户姿态为坐姿或身体蜷缩状态;当D base1-D base2>80cm,可以确定用户姿态为站姿或身体伸展状态。应理解,50cm和80cm仅为示例性描述,为经验值,不能解释为本申请的具体限定,在实际情况下可以采取其他数值。 As a non-limiting example, when D base 1-D base 2<50cm (unit, centimeters), it can be determined that the user's posture is a sitting posture or a body curled state; when D base 1-D base 2>80cm, it can be determined that the user's posture is Standing or stretched position. It should be understood that 50 cm and 80 cm are only exemplary descriptions, are empirical values, and cannot be interpreted as specific limitations of the present application, and other values may be adopted in practical situations.
在一些实现方式中,通过运动传感器,或,两个头部定位基站的连线的方向,确定眼镜的位姿,同时,还可以结合定位所得的两个准确的距离值D base1和D base2,得到更为准确的用户(部署定位基站的用户)当前的姿态信息。 In some implementations, the pose of the glasses is determined by a motion sensor, or the direction of the connection line between two head positioning base stations, and at the same time, two accurate distance values D base 1 and D base obtained by positioning can also be combined. 2. Obtain more accurate current attitude information of the user (the user who deploys the positioning base station).
作为一非限制性示例,当眼镜的当前位姿为水平状态,且D base1-D base2<50cm,可以确定用户姿态为坐姿。当眼镜的当前位姿为垂直状态,且D base1-D base2<50cm,可以确定用户姿态为倒下的蜷缩状态。当眼镜的当前位姿为水平状态,且D base1-D base2>80cm,可以确定用户姿态为站立状态。当眼镜的当前位姿为垂直状态,且D base1-D base2>80cm,可以确定用户姿态为躺下状态。 As a non-limiting example, when the current posture of the glasses is a horizontal state, and D base 1-D base 2<50cm, it can be determined that the user's posture is a sitting posture. When the current posture of the glasses is vertical, and D base 1-D base 2 < 50cm, it can be determined that the user's posture is a collapsed state. When the current posture of the glasses is horizontal, and D base 1-D base 2>80cm, it can be determined that the user's posture is standing. When the current posture of the glasses is a vertical state, and D base 1-D base 2>80cm, it can be determined that the user's posture is a lying state.
在一些实现方式中,在确定被监护人的姿态后,可以在监护人的手机显示界面上显示被监护人的姿态。例如,继续参见图8所示,雷达图中的人形图代表被监护人,两个人形图上分别显示两个被监护人的不同的当前姿态,一个为站姿,另一个为坐姿。In some implementations, after the posture of the ward is determined, the posture of the ward can be displayed on the display interface of the guardian's mobile phone. For example, continuing to refer to FIG. 8 , the human figure in the radar chart represents the ward, and the two human figures respectively display the different current postures of the two wards, one is a standing posture and the other is a sitting posture.
根据用户的姿态,在可能地急救场景中,例如在茂密的树丛遮挡情况下,也可以方便搜救人员提前确定用户的状态,以便更好的提供救援。According to the user's posture, in a possible emergency scene, such as in the case of dense trees, it is also convenient for search and rescue personnel to determine the user's state in advance, so as to provide better rescue.
结合上述应用场景及相关附图,本申请一实施例提供了一种UWB定位方法,所述UWB定位方法可以由电子设备执行。例如,所述UWB定位方法可以由前述应用场景中的基站、穿戴设备和手机中的一个或多个电子设备执行,可以由一个电子设备执行方法的完整流程,也可以由几个电子设备共同执行方法的完整流程。又如,在其他实际应用场景中,所述UWB定位方法还可以由服务器或云等执行。再如,在其他实际应用场景中,所述UWB定位方法还可以由基站、穿戴设备、手机、服务器或云等中的一个或多个执行。如图11所示,所述UWB定位方法包括步骤S1110至S1120。With reference to the above application scenarios and related drawings, an embodiment of the present application provides a UWB positioning method, and the UWB positioning method can be executed by an electronic device. For example, the UWB positioning method may be executed by one or more electronic devices in the base station, wearable device and mobile phone in the aforementioned application scenario, the complete process of the method may be executed by one electronic device, or may be executed jointly by several electronic devices The full flow of the method. For another example, in other practical application scenarios, the UWB positioning method may also be executed by a server or a cloud. For another example, in other practical application scenarios, the UWB positioning method may also be executed by one or more of a base station, a wearable device, a mobile phone, a server, or a cloud. As shown in FIG. 11 , the UWB positioning method includes steps S1110 to S1120.
S1110,获取部署于第一用户身上的至少两个目标基站的距离信息。S1110: Acquire distance information of at least two target base stations deployed on the first user.
在本申请实施例中,第一用户,如被监护人或被保护人身上部署了多个定位基站。每个定位基站包括UWB模块。定位基站可以独立部署在第一用户身上,也可以部署或内置在第一用户的穿戴设备。In this embodiment of the present application, multiple positioning base stations are deployed on the first user, such as a guardian or a protected person. Each positioning base station includes a UWB module. The positioning base station may be independently deployed on the first user, or may be deployed or built in a wearable device of the first user.
在具体实现中,可以确定至少两个定位基站作为目标基站,用于标签或第二用户的定位。标签包括UWB模块,标签可以独立部署在第二用户身上,也可以部署或内置于第二用户的手机或穿戴设备等电子设备,第二用户如监护人或保护人等。也就是说, 目标基站为部署于第一用户身上的多个定位基站中的至少两个定位基站,目标基站可以为2个以上。当第一用户身上仅部署了两个定位基站时,则这两个定位基站都将作为目标基站。当第一用户身上部署了大于2个的定位基站时,可以由系统或用户随机选择至少两个作为目标基站,也可以根据系统预先的设置确定目标基站。作为非限制性示例,继续参见图6和图7所示示例,第一用户身上部署了四个定位基站,可以将其中一个镜腿的一个头部基站和一个脚踝基站这两个定位基站确定为目标基站,或者,可以将其中一个镜腿的一个头部基站和一个手腕基站这两个定位基站确定为目标基站,或者,可以将其中一个镜腿的一个头部基站、一个手腕基站和一个脚踝基站这三个定位基站确定为目标基站。In a specific implementation, at least two positioning base stations may be determined as target base stations for locating the tag or the second user. The tag includes a UWB module, and the tag can be deployed independently on the second user, or can be deployed or built into electronic equipment such as a mobile phone or wearable device of the second user, such as a guardian or protector. That is, the target base stations are at least two positioning base stations among the multiple positioning base stations deployed on the first user, and there may be more than two target base stations. When only two positioning base stations are deployed on the first user, both of these two positioning base stations will be used as target base stations. When more than two positioning base stations are deployed on the first user, the system or the user may randomly select at least two target base stations, or the target base stations may be determined according to the preset system settings. As a non-limiting example, continuing to refer to the examples shown in FIG. 6 and FIG. 7 , four positioning base stations are deployed on the first user, and two positioning base stations, one head base station and one ankle base station of one temple, can be determined as The target base station, or, two positioning base stations, a head base station and a wrist base station of one of the temples, can be determined as the target base station, or, a head base station, a wrist base station and an ankle base of one of the temples can be determined. The three positioning base stations of the base station are determined as the target base station.
在一些实际使用情形下,可以根据获取到的第一用户在任一基站或任一基站所部署的电子设备上开启的寻人模式,开始执行本申请实施例提供的UWB定位方法;在另一些实际使用情形下,可以根据获取到的第二用户在标签或标签所部署的电子设备上开启的的寻人模式,开始执行本申请实施例提供的UWB定位方法的几个步骤。In some practical use cases, the UWB positioning method provided by the embodiment of the present application may be executed according to the obtained person-seeking mode enabled by the first user on any base station or an electronic device deployed by any base station; in other practical situations In a use case, several steps of the UWB positioning method provided by the embodiment of the present application can be started according to the acquired person-seeking mode enabled by the second user on the tag or the electronic device deployed with the tag.
在本申请一些实现方式中,各定位基站可以根据自身的属性信息,确定自身的部署位置信息,如头部、手腕或脚踝等。进而根据所述部署位置信息,可以实时根据大数据统计值或根据经验设置的系统设置值确定两两定位基站之间的距离信息。In some implementation manners of the present application, each positioning base station may determine its own deployment location information, such as head, wrist, or ankle, according to its own attribute information. Further, according to the deployment location information, the distance information between the two positioning base stations can be determined in real time according to the big data statistical value or the system setting value set according to the experience.
作为一非限制性示例,当目标基站为两个时,例如头部基站和脚踝基站,可以在确定两个目标基站的部署位置分别为头部和脚踝后,根据系统存储的设置值,例如1.5m,设置两个目标基站的距离。As a non-limiting example, when there are two target base stations, such as a head base station and an ankle base station, after it is determined that the deployment positions of the two target base stations are the head and the ankle, respectively, according to the setting value stored by the system, for example, 1.5 m, set the distance between the two target base stations.
作为另一非限制性示例,当目标基站为三个时,例如头部基站、手腕基站和脚踝基站,可以在确定三个目标基站的部署位置分别为头部、手腕和脚踝后,根据系统存储的设置值,设置头部基站和手腕基站之间的距离、头部基站和脚踝基站之间的距离、或手腕基站和脚踝基站之间的距离。As another non-limiting example, when there are three target base stations, such as a head base station, a wrist base station, and an ankle base station, after determining that the deployment positions of the three target base stations are the head, the wrist, and the ankle, respectively, according to the system storage , set the distance between the head base station and the wrist base station, the distance between the head base station and the ankle base station, or the distance between the wrist base station and the ankle base station.
在本申请一些实现方式中,由用户手动输入目标基站之间的距离信息,也就是说,获取用户输入的数值作为两个目标基站之间的距离。该用户可以为第一用户或其他用户。In some implementations of the present application, the user manually inputs the distance information between the target base stations, that is, the value input by the user is obtained as the distance between the two target base stations. The user may be the first user or other users.
作为一非限制性示例,当目标基站为两个时,例如头部基站和脚踝基站,可以在确定两个目标基站后,提醒用户输入两个目标基站的距离。当用户输入的数值例如1.7m,获取该数值作为两个目标基站的距离。应理解,当目标基站为三个时,用户可以输入不止一个数值,而是多个数值,从而能根据用户输入的数值确定三个目标基站中的任两组或三组目标基站的距离。需要说明的是,此处将任两个目标基站称为一组目标基站。As a non-limiting example, when there are two target base stations, such as a head base station and an ankle base station, after the two target base stations are determined, the user may be prompted to input the distance between the two target base stations. When the value input by the user is 1.7m, for example, the value is obtained as the distance between the two target base stations. It should be understood that when there are three target base stations, the user can input not only one value but multiple values, so that the distances of any two or three groups of target base stations among the three target base stations can be determined according to the values input by the user. It should be noted that any two target base stations are referred to as a group of target base stations herein.
S1120,获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置。S1120: Acquire a direction angle from each of the at least two target base stations to a tag of a second user, and obtain a positioning position of the tag based on the direction angle and the distance information.
其中,通过目标基站的天线阵列,可以测量出标签到各目标基站的方向角。基于所述方向角和目标基站之间的距离信息,获得标签的定位位置。Wherein, through the antenna array of the target base station, the direction angle of the tag to each target base station can be measured. Based on the distance information between the direction angle and the target base station, the positioning position of the tag is obtained.
在一些实现方式中,以基于两个目标基站进行定位为例进行说明。基于所述方向角和所述距离信息,获得所述标签的定位位置,包括:以一目标基站作为坐标系原点,以该目标基站到另一目标基站的方向作为X轴或Y轴的正方向,建立坐标系;根据所 述距离信息确定两个目标基站在所述坐标系下的坐标;最后根据两个所述目标基站的坐标和所述方向角确定标签在所述坐标系下的坐标。In some implementations, positioning based on two target base stations is used as an example for description. Obtaining the positioning position of the tag based on the direction angle and the distance information includes: taking a target base station as the origin of the coordinate system, and taking the direction from the target base station to another target base station as the positive direction of the X-axis or the Y-axis , establish a coordinate system; determine the coordinates of the two target base stations in the coordinate system according to the distance information; finally determine the coordinates of the tag in the coordinate system according to the coordinates of the two target base stations and the direction angle.
在实际的应用场景中,若是被监护人(或被保护人)启动寻人模式,可以以被监护人(或被保护人)所佩戴或携带的任一目标基站作为坐标系原点。In an actual application scenario, if the ward (or the protected person) starts the person-seeking mode, any target base station worn or carried by the ward (or the protected person) can be used as the origin of the coordinate system.
在其他的实现方式中,若是监护人启动寻人模式,也可以以监护人所佩戴或携带的电子设备(或标签)作为坐标系原点。以该电子设备(或标签)到被监护人(或被保护人)所佩戴或携带的任一目标基站的方向作为X轴或Y轴的正方向,建立坐标系;根据所述距离信息确定两个目标基站在所述坐标系下的坐标;最后根据两个所述目标基站的坐标和所述方向角确定标签在所述坐标系下的坐标。In other implementation manners, if the guardian starts the person-seeking mode, the electronic device (or label) worn or carried by the guardian can also be used as the origin of the coordinate system. Take the direction of the electronic device (or label) to any target base station worn or carried by the guardian (or the protected person) as the positive direction of the X-axis or Y-axis, and establish a coordinate system; determine two according to the distance information. The coordinates of the target base station in the coordinate system; finally, the coordinates of the tag in the coordinate system are determined according to the coordinates of the two target base stations and the direction angle.
本申请使用场景中第一用户(或定位基站)和第二用户(或标签)的相对位置会发生变化,因此,本申请实施例获取设置于第一用户身上的至少两个目标基站到标签的方向角,以及至少两个目标基站的距离信息,由于距离信息和方向信息的较高可靠性,根据方向角和距离信息进行定位,可以得到标签的更为准确的位置信息。The relative positions of the first user (or positioning base station) and the second user (or tag) in the usage scenario of the present application will change. Therefore, in this embodiment of the present application, the relationship between at least two target base stations set on the first user to the tag is obtained. The direction angle, and the distance information of at least two target base stations, due to the high reliability of the distance information and the direction information, the more accurate position information of the tag can be obtained by positioning according to the direction angle and the distance information.
本申请另一实施例提供了一种UWB定位方法,如图12所示,该实施例所示的UWB定位方法是在图11所示实施例基础上的进一步优化,在本实施例中,目标基站的数量为三个,增加了生成位姿的过程。如图12所示,所述UWB定位方法,包括步骤S1210至S1230。应理解,图12所示实施例与图11实施例相同的步骤,此处不再赘述,请参见前述。Another embodiment of the present application provides a UWB positioning method. As shown in FIG. 12 , the UWB positioning method shown in this embodiment is further optimized on the basis of the embodiment shown in FIG. 11 . In this embodiment, the target The number of base stations is three, which increases the process of generating poses. As shown in FIG. 12 , the UWB positioning method includes steps S1210 to S1230. It should be understood that the steps in the embodiment shown in FIG. 12 are the same as those in the embodiment in FIG. 11 , which will not be repeated here, and refer to the foregoing.
S1210,获取部署于第一用户身上的至少三个目标基站的距离信息。S1210: Acquire distance information of at least three target base stations deployed on the first user.
其中,至少三个目标基站包括一个头部基站、一个手部(例如手腕)基站和一个脚部(例如脚踝)基站。The at least three target base stations include a head base station, a hand (eg wrist) base station and a foot (eg ankle) base station.
具体地,可以获取头部基站与手腕基站的距离信息,头部基站和脚踝基站的距离信息。Specifically, the distance information between the head base station and the wrist base station, and the distance information between the head base station and the ankle base station can be obtained.
在一些具体实现场景中,第一用户佩戴眼镜,眼镜的两个镜腿各部署了一个UWB基站,第一用户的手腕和脚踝各部署了一个UWB基站,手腕部署的UWB基站为手腕基站,脚踝部署的UWB基站为脚踝基站。基于眼镜的镜腿的准确距离,可以确定两个头部基站的准确距离信息,进一步地,可以确定两个头部基站的连线的方向,或者,可以采用类似于第一个应用场景中的定位方法,基于两个头部基站,解算出脚踝基站Ba和手腕基站Bw的准确三维坐标,从而可以确定任一头部基站分别到手腕基站Bw和脚踝基站Ba的距离信息。In some specific implementation scenarios, the first user wears glasses, a UWB base station is deployed on each of the two temples of the glasses, and a UWB base station is deployed on each of the wrist and ankle of the first user. The UWB base station deployed on the wrist is the wrist base station, and the ankle The deployed UWB base station is the ankle base station. Based on the accurate distance of the temples of the glasses, the accurate distance information of the two head base stations can be determined, and further, the direction of the connection between the two head base stations can be determined, or, a method similar to that in the first application scenario can be used. The positioning method, based on the two head base stations, calculates the accurate three-dimensional coordinates of the ankle base station Ba and the wrist base station Bw, so that the distance information from any head base station to the wrist base station Bw and the ankle base station Ba can be determined respectively.
S1220,获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置。S1220: Acquire a direction angle from each of the at least two target base stations to a tag of a second user, and obtain a positioning position of the tag based on the direction angle and the distance information.
S1230,根据所述至少三个目标基站的距离信息确定所述第一用户的位姿。S1230: Determine the pose of the first user according to the distance information of the at least three target base stations.
在步骤S1210中,获取了至少三个目标基站的距离信息,具体地,可以获取头部基站与手腕基站的距离信息D base2,头部基站和脚踝基站的距离信息D base1。在步骤S1230,可以根据两个准确的距离信息D base1和D base2,确定第一用户当前的姿态信息。 In step S1210, the distance information of at least three target base stations is obtained, specifically, the distance information D base 2 of the head base station and the wrist base station, and the distance information D base 1 of the head base station and the ankle base station can be obtained. In step S1230, the current posture information of the first user can be determined according to the two accurate distance information D base 1 and D base 2.
应理解,上述实施例中各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。It should be understood that, the execution order of each process in the foregoing embodiments should be determined by its functions and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
对应于上文实施例所述的UWB定位方法,本申请实施例还提供了了一种UWB定位 装置。UWB定位装置包括的各个模块可以对应实现UWB定位方法的各个步骤。Corresponding to the UWB positioning method described in the above embodiments, an embodiment of the present application further provides a UWB positioning apparatus. Each module included in the UWB positioning apparatus can correspondingly implement each step of the UWB positioning method.
可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件和/或软件模块。结合本文中所公开的实施例的描述,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。本领域技术人员可以结合实施例对每个特定的应用来使用不用方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware and/or software modules for executing each function. In conjunction with the description of the embodiments disclosed herein, the present application can be implemented in hardware or a combination of hardware and computer software. Whether a function is performed by hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art may use different methods to implement the described functionality for each particular application in conjunction with the embodiments, but such implementations should not be considered beyond the scope of this application.
需要说明的是,上述模块/单元之间的信息交互、执行过程等内容,由于与本申请方法实施例基于同一构思,其具体功能及带来的技术效果,具体可参见方法实施例部分,此处不再赘述。It should be noted that the information exchange, execution process and other contents between the above modules/units are based on the same concept as the method embodiments of the present application. For specific functions and technical effects, please refer to the method embodiments section. It is not repeated here.
所属领域的技术人员可以清楚地了解到,为了描述的方便和简洁,仅以上述各功能单元、模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能单元、模块完成,即将所述装置的内部结构划分成不同的功能单元或模块,以完成以上描述的全部或者部分功能。实施例中的各功能单元、模块可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中,上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。另外,各功能单元、模块的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。上述系统中单元、模块的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. Module completion, that is, dividing the internal structure of the device into different functional units or modules to complete all or part of the functions described above. Each functional unit and module in the embodiment may be integrated in one processing unit, or each unit may exist physically alone, or two or more units may be integrated in one unit, and the above-mentioned integrated units may adopt hardware. It can also be realized in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing from each other, and are not used to limit the protection scope of the present application. For the specific working processes of the units and modules in the above-mentioned system, reference may be made to the corresponding processes in the foregoing method embodiments, which will not be repeated here.
本申请实施例还提供了一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时,使得所述电子设备实现上述各个方法实施例中的步骤。Embodiments of the present application further provide an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, when the processor executes the computer program, the The electronic device implements the steps in each of the foregoing method embodiments.
作为一示例,电子设备可以包括可穿戴设备、手机、或服务器(包括云服务器,独立服务器,服务器集群等)等。As an example, the electronic device may include a wearable device, a mobile phone, or a server (including a cloud server, an independent server, a server cluster, etc.) and the like.
本申请实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序被处理器执行时可实现上述各个方法实施例中的步骤。Embodiments of the present application further provide a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, and when the computer program is executed by a processor, the steps in the foregoing method embodiments can be implemented.
本申请实施例提供了一种计算机程序产品,当计算机程序产品在一个或多个电子设备上运行时,使得一个或多个电子设备可实现上述各个方法实施例中的步骤。The embodiments of the present application provide a computer program product, when the computer program product runs on one or more electronic devices, the one or more electronic devices can implement the steps in the foregoing method embodiments.
所述集成的模块/单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请实现上述实施例方法中的全部或部分流程,可以通过计算机程序来指令相关的硬件来完成,所述的计算机程序可存储于一计算机可读存储介质中,该计算机程序在被处理器执行时,可实现上述各个方法实施例的步骤。其中,所述计算机程序包括计算机程序代码,所述计算机程序代码可以为源代码形式、对象代码形式、可执行文件或某些中间形式等。所述计算机可读介质至少可以包括:能够将计算机程序代码携带到拍照装置/电子设备的任何实体或装置、记录介质、计算机存储器、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、电载波信号、电信信号以及软件分发介质。例如U盘、移动硬盘、磁碟或者光盘等。在某些司法管辖区,根据立法和专利实践,计算机可读介质不可以是电载波信号和电信信号。The integrated modules/units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable storage medium. Based on this understanding, the present application realizes all or part of the processes in the methods of the above embodiments, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When executed by a processor, the steps of each of the above method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code may be in the form of source code, object code, executable file or some intermediate form, and the like. The computer-readable medium may include at least: any entity or device capable of carrying a computer program code to a photographing device/electronic device, a recording medium, computer memory, read-only memory (ROM), random access memory (Random Access Memory, RAM), electrical carrier signals, telecommunication signals, and software distribution media. For example, U disk, mobile hard disk, disk or CD, etc. In some jurisdictions, under legislation and patent practice, computer readable media may not be electrical carrier signals and telecommunications signals.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述或记载的部分,可以参见其它实施例的相关描述。In the foregoing embodiments, the description of each embodiment has its own emphasis. For parts that are not described or described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art can realize that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Skilled artisans may implement the described functionality using different methods for each particular application, but such implementations should not be considered beyond the scope of this application.
在本申请所提供的实施例中,应该理解到,所揭露的电子设备和方法,可以通过其它的方式实现。例如,以上所描述的电子设备实施例仅仅是示意性的。另一点,所显示或讨论的相互之间的耦合或直接耦合或通讯连接可以是通过一些接口,装置或单元的间接耦合或通讯连接,可以是电性,机械或其它的形式。In the embodiments provided in this application, it should be understood that the disclosed electronic devices and methods may be implemented in other manners. For example, the electronic device embodiments described above are merely illustrative. On the other hand, the shown or discussed mutual coupling or direct coupling or communication connection may be through some interfaces, indirect coupling or communication connection of devices or units, and may be in electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution in this embodiment.
以上所述实施例仅用以说明本申请的技术方案,而非对其限制;尽管参照前述实施例对本申请进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本申请各实施例技术方案的精神和范围,均应包含在本申请的保护范围之内。The above-mentioned embodiments are only used to illustrate the technical solutions of the present application, but not to limit them; although the present application has been described in detail with reference to the above-mentioned embodiments, those of ordinary skill in the art should understand that: it can still be used for the above-mentioned implementations. The technical solutions described in the examples are modified, or some technical features thereof are equivalently replaced; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions in the embodiments of the application, and should be included in the within the scope of protection of this application.

Claims (19)

  1. 一种超宽带定位方法,其特征在于,包括:An ultra-wideband positioning method, comprising:
    获取部署于第一用户身上的至少两个目标基站的距离信息,所述至少两个目标基站包括超宽带模块;acquiring distance information of at least two target base stations deployed on the first user, the at least two target base stations including ultra-wideband modules;
    获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,所述标签包括超宽带模块。Acquire the direction angles of at least two of the target base stations to the tags of the second user, and based on the direction angles and the distance information, obtain the positioning positions of the tags, where the tags include an ultra-wideband module.
  2. 根据权利要求1所述的超宽带定位方法,其特征在于,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:确定部署于第一用户身上的至少两个目标基站的属性信息,根据所述属性信息确定所述至少两个目标基站的距离信息。The ultra-wideband positioning method according to claim 1, wherein the acquiring distance information of at least two target base stations deployed on the first user comprises: determining the at least two target base stations deployed on the first user attribute information, and determine the distance information of the at least two target base stations according to the attribute information.
  3. 根据权利要求1所述的超宽带定位方法,其特征在于,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:获取输入的部署于第一用户身上的至少两个目标基站的距离信息。The ultra-wideband positioning method according to claim 1, wherein the acquiring distance information of at least two target base stations deployed on the first user comprises: acquiring the input at least two target base stations deployed on the first user Distance information of the target base station.
  4. 根据权利要求1所述的超宽带定位方法,其特征在于,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:The ultra-wideband positioning method according to claim 1, wherein the acquiring distance information of at least two target base stations deployed on the first user comprises:
    根据部署于第一用户身上的第一头部基站和第二头部基站的第一距离信息,获取所述第一头部基站或第二头部基站到部署于第一用户身上的第三基站的第二距离信息,所述第三基站包括手部基站或脚部基站;According to the first distance information of the first head base station and the second head base station deployed on the first user, obtain the first head base station or the second head base station to the third base station deployed on the first user the second distance information, the third base station includes a hand base station or a foot base station;
    获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,包括:Acquire the direction angles of at least two of the target base stations to the tags of the second user, and obtain the positioning positions of the tags based on the direction angles and the distance information, including:
    获取所述第一头部基站或第二头部基站,和所述第三基站到第二用户的标签的方向角,基于所述方向角和所述第二距离信息,获得所述标签的定位位置。Obtain the first head base station or the second head base station, and the direction angle of the tag from the third base station to the second user, and obtain the positioning of the tag based on the direction angle and the second distance information Location.
  5. 根据权利要求2所述的超宽带定位方法,其特征在于,所述属性信息包括部署部位信息。The ultra-wideband positioning method according to claim 2, wherein the attribute information includes deployment site information.
  6. 根据权利要求1至5任一项所述的超宽带定位方法,其特征在于,所述获取部署于第一用户身上的至少两个目标基站的距离信息,包括:The ultra-wideband positioning method according to any one of claims 1 to 5, wherein the acquiring distance information of at least two target base stations deployed on the first user comprises:
    获取部署于第一用户身上的至少三个目标基站的距离信息;acquiring distance information of at least three target base stations deployed on the first user;
    所述超宽带定位方法还包括:The ultra-wideband positioning method further includes:
    根据所述至少三个目标基站的距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the distance information of the at least three target base stations.
  7. 根据权利要求6所述的超宽带定位方法,其特征在于,所述至少三个目标基站包括头部基站、手部基站和脚部基站;The ultra-wideband positioning method according to claim 6, wherein the at least three target base stations include a head base station, a hand base station and a foot base station;
    所述获取部署于第一用户身上的至少三个目标基站的距离信息,包括:The acquiring distance information of at least three target base stations deployed on the first user includes:
    获取所述头部基站和所述手部基站的第三距离信息,所述头部基站和脚部基站的第四距离信息;acquiring the third distance information of the head base station and the hand base station, and the fourth distance information of the head base station and the foot base station;
    所述根据所述至少三个目标基站的距离信息确定所述第一用户的位姿,包括:The determining the pose of the first user according to the distance information of the at least three target base stations includes:
    根据所述第三距离信息和所述第四距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the third distance information and the fourth distance information.
  8. 根据权利要求1至5任一项所述的超宽带定位方法,其特征在于,还包括:The ultra-wideband positioning method according to any one of claims 1 to 5, characterized in that, further comprising:
    显示包括雷达图的显示界面,所述雷达图中标识所述第一用户和/或所述第二用户的定位位置。A display interface including a radar chart is displayed, and the radar chart identifies the positioning position of the first user and/or the second user.
  9. 一项超宽带定位系统,其特征在于,包括:部署于第一用户身上的至少两个目 标基站,和部署于第二用户身上的标签;所述至少两个目标基站和所述标签包括超宽带模块。An ultra-wideband positioning system, characterized in that it includes: at least two target base stations deployed on a first user, and tags deployed on a second user; the at least two target base stations and the label include ultra-wideband module.
  10. 根据权利要求9所述的超宽带定位系统,其特征在于,还包括:一个或多个处理器;The ultra-wideband positioning system of claim 9, further comprising: one or more processors;
    所述一个或多个处理器集成于所述目标基站所部署的电子设备、所述标签所部署的电子设备、和服务器中的至少一个;The one or more processors are integrated into at least one of an electronic device deployed by the target base station, an electronic device deployed by the tag, and a server;
    所述处理器用于获取至少两个目标基站的距离信息;The processor is configured to acquire distance information of at least two target base stations;
    所述处理器还用于获取至少两个目标基站各自到所述标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置。The processor is further configured to acquire a direction angle from each of the at least two target base stations to the tag, and obtain a positioning position of the tag based on the direction angle and the distance information.
  11. 根据权利要求10所述的超宽带定位系统,其特征在于,所述获取至少两个目标基站的距离信息,包括:确定至少两个目标基站的属性信息,根据所述属性信息确定至少两个目标基站的距离信息。The UWB positioning system according to claim 10, wherein the acquiring distance information of at least two target base stations comprises: determining attribute information of the at least two target base stations, and determining at least two targets according to the attribute information The distance information of the base station.
  12. 根据权利要求10所述的超宽带定位系统,其特征在于,所述获取至少两个目标基站的距离信息,包括:获取输入的至少两个目标基站的距离信息。The UWB positioning system according to claim 10, wherein the acquiring the distance information of the at least two target base stations comprises: acquiring the input distance information of the at least two target base stations.
  13. 根据权利要求10所述的超宽带定位系统,其特征在于,所述至少两个目标基站包括第一头部基站、第二头部基站和第三基站,第三基站包括手部基站或脚部基站;The ultra-wideband positioning system according to claim 10, wherein the at least two target base stations include a first head base station, a second head base station and a third base station, and the third base station includes a hand base station or a foot base station base station;
    所述获取至少两个目标基站的距离信息,包括:The acquiring distance information of at least two target base stations includes:
    根据第一头部基站和第二头部基站的第一距离信息,获取所述第一头部基站或第二头部基站到所述第三基站的第二距离信息;Acquire second distance information from the first head base station or the second head base station to the third base station according to the first distance information of the first head base station and the second head base station;
    所述获取至少两个目标基站各自到所述标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,包括:The acquiring the direction angles from each of the at least two target base stations to the tag, and based on the direction angles and the distance information, obtaining the positioning position of the tag, including:
    获取所述第一头部基站或第二头部基站,和所述第三基站到所述标签的方向角,基于所述方向角和所述第二距离信息,获得所述标签的定位位置。Obtain the first head base station or the second head base station, and the direction angle from the third base station to the tag, and obtain the positioning position of the tag based on the direction angle and the second distance information.
  14. 根据权利要求11所述的超宽带定位系统,其特征在于,所述属性信息包括部署部位信息。The UWB positioning system according to claim 11, wherein the attribute information includes deployment site information.
  15. 根据权利要求10至14任一项所述的超宽带定位系统,其特征在于,所述获取至少两个目标基站的距离信息,包括:The ultra-wideband positioning system according to any one of claims 10 to 14, wherein the acquiring distance information of at least two target base stations includes:
    获取至少三个目标基站的距离信息;Obtain distance information of at least three target base stations;
    所述处理器还用于根据所述至少三个目标基站的距离信息确定所述第一用户的位姿。The processor is further configured to determine the pose of the first user according to the distance information of the at least three target base stations.
  16. 根据权利要求15所述的超宽带定位系统,其特征在于,所述至少三个目标基站包括头部基站、手部基站和脚部基站;The ultra-wideband positioning system according to claim 15, wherein the at least three target base stations include a head base station, a hand base station and a foot base station;
    所述获取至少两个目标基站的距离信息,包括:The acquiring distance information of at least two target base stations includes:
    获取所述头部基站和所述手部基站的第三距离信息,所述头部基站和脚部基站的第四距离信息;acquiring the third distance information of the head base station and the hand base station, and the fourth distance information of the head base station and the foot base station;
    所述根据所述至少三个目标基站的距离信息确定所述第一用户的位姿,包括:The determining the pose of the first user according to the distance information of the at least three target base stations includes:
    根据所述第三距离信息和所述第四距离信息确定所述第一用户的位姿。The pose of the first user is determined according to the third distance information and the fourth distance information.
  17. 根据权利要求10至14任一项所述的超宽带定位系统,其特征在于,还包括显示器,所述显示器集成于所述目标基站或所述标签所部署的电子设备,或,所述处 理器集成于服务器;The ultra-wideband positioning system according to any one of claims 10 to 14, further comprising a display, the display being integrated in the target base station or the electronic device deployed by the tag, or the processor integrated in the server;
    所述显示器用于显示包括雷达图的显示界面,所述雷达图中标识所述第一用户和/或所述第二用户的定位位置。The display is used for displaying a display interface including a radar chart, where the positioning positions of the first user and/or the second user are identified in the radar chart.
  18. 一种电子设备,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,其特征在于,所述处理器执行所述计算机程序时,使得所述电子设备实现如下步骤:An electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, when the processor executes the computer program, the electronic device is Implement the following steps:
    获取部署于第一用户身上的至少两个目标基站的距离信息,所述至少两个目标基站包括超宽带模块;acquiring distance information of at least two target base stations deployed on the first user, the at least two target base stations including ultra-wideband modules;
    获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,所述标签包括超宽带模块。Acquire the direction angles of at least two of the target base stations to the tags of the second user, and based on the direction angles and the distance information, obtain the positioning positions of the tags, where the tags include an ultra-wideband module.
  19. 一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,其特征在于,所述计算机程序被处理器执行时实现如下步骤:A computer-readable storage medium storing a computer program, characterized in that, when the computer program is executed by a processor, the following steps are implemented:
    获取部署于第一用户身上的至少两个目标基站的距离信息,所述至少两个目标基站包括超宽带模块;acquiring distance information of at least two target base stations deployed on the first user, the at least two target base stations including ultra-wideband modules;
    获取至少两个所述目标基站各自到第二用户的标签的方向角,基于所述方向角和所述距离信息,获得所述标签的定位位置,所述标签包括超宽带模块。Acquire the direction angles of at least two of the target base stations to the tags of the second user, and based on the direction angles and the distance information, obtain the positioning positions of the tags, where the tags include an ultra-wideband module.
PCT/CN2021/140535 2021-02-09 2021-12-22 Ultra-wideband positioning method and system WO2022170863A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110174884.2 2021-02-09
CN202110174884.2A CN113038362B (en) 2021-02-09 2021-02-09 Ultra-wideband positioning method and system

Publications (1)

Publication Number Publication Date
WO2022170863A1 true WO2022170863A1 (en) 2022-08-18

Family

ID=76460742

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/140535 WO2022170863A1 (en) 2021-02-09 2021-12-22 Ultra-wideband positioning method and system

Country Status (2)

Country Link
CN (1) CN113038362B (en)
WO (1) WO2022170863A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115497189A (en) * 2022-09-16 2022-12-20 福建中锐网络股份有限公司 Reservoir system of patrolling and examining of AR glasses based on 5G and UWB
CN116193581A (en) * 2023-05-04 2023-05-30 广东工业大学 Indoor unmanned aerial vehicle hybrid positioning method and system based on member-collecting filtering
CN116546620A (en) * 2023-07-07 2023-08-04 深圳派特科技有限公司 UWB-based double-base-station positioning tag method and system

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113038362B (en) * 2021-02-09 2022-10-11 华为技术有限公司 Ultra-wideband positioning method and system
CN113390433A (en) * 2021-07-20 2021-09-14 上海擎朗智能科技有限公司 Robot positioning method and device, robot and storage medium
CN113570761A (en) * 2021-08-06 2021-10-29 广州小鹏汽车科技有限公司 Vehicle control method, vehicle control device, vehicle-mounted terminal and storage medium
WO2023065110A1 (en) * 2021-10-19 2023-04-27 深圳市优必选科技股份有限公司 Method for calibrating base station, and computer device and storage medium
CN114071354B (en) * 2021-11-05 2024-01-30 国能神东煤炭集团有限责任公司 Multi-mode UWB positioning method and system based on topological map
CN113820659B (en) * 2021-11-22 2022-08-26 嘉兴温芯智能科技有限公司 Wireless positioning method, energy conversion device, wireless positioning system and intelligent garment
CN114562993A (en) * 2022-02-28 2022-05-31 联想(北京)有限公司 Track processing method and device and electronic equipment
CN115002663A (en) * 2022-06-09 2022-09-02 长春理工大学 UWB-based method for determining static pointing direction of head of intelligent vehicle

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM474921U (en) * 2013-10-04 2014-03-21 Univ Taipei Chengshih Science Glasses positioning device
CN110913466A (en) * 2019-11-28 2020-03-24 郑州芯力波通信息技术有限公司 Ultra-wideband UWB positioning system and method based on multi-communication fusion
CN111983559A (en) * 2020-08-14 2020-11-24 Oppo广东移动通信有限公司 Indoor positioning navigation method and device
CN113038362A (en) * 2021-02-09 2021-06-25 华为技术有限公司 Ultra-wideband positioning method and system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103207383A (en) * 2013-05-16 2013-07-17 沈阳化工大学 Method for performing two-dimensional wireless positioning on stationary node based on single mobile node
US10140637B2 (en) * 2013-11-26 2018-11-27 Paypal, Inc. Customer selection determination system
CN105849579B (en) * 2014-10-08 2018-03-09 华为技术有限公司 The localization method and mobile terminal of target device
CN105631390B (en) * 2014-10-28 2021-04-27 佛山市顺德区美的电热电器制造有限公司 Method and system for spatial finger positioning
CN104457736A (en) * 2014-11-03 2015-03-25 深圳市邦彦信息技术有限公司 Method and device for acquiring target location information
CN107105498B (en) * 2016-02-22 2020-07-07 华为技术有限公司 Positioning method and device
CN110018508A (en) * 2018-01-10 2019-07-16 西安中兴新软件有限责任公司 A kind of localization method and device
US10499194B1 (en) * 2018-07-30 2019-12-03 Motorola Mobility Llc Location correlation in a region based on signal strength indications
CN109041213A (en) * 2018-08-16 2018-12-18 佛山科学技术学院 Adaptive location modification method and device in a kind of room AP
CN109541541B (en) * 2018-12-24 2022-11-08 广东理致技术有限公司 Indoor triangulation positioning precision correction method and device
CN110673092A (en) * 2019-09-10 2020-01-10 清研讯科(北京)科技有限公司 Ultra-wideband-based time-sharing positioning method, device and system
CN111405508A (en) * 2020-02-19 2020-07-10 华为技术有限公司 Wearable device positioning method and wearable device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM474921U (en) * 2013-10-04 2014-03-21 Univ Taipei Chengshih Science Glasses positioning device
CN110913466A (en) * 2019-11-28 2020-03-24 郑州芯力波通信息技术有限公司 Ultra-wideband UWB positioning system and method based on multi-communication fusion
CN111983559A (en) * 2020-08-14 2020-11-24 Oppo广东移动通信有限公司 Indoor positioning navigation method and device
CN113038362A (en) * 2021-02-09 2021-06-25 华为技术有限公司 Ultra-wideband positioning method and system

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115497189A (en) * 2022-09-16 2022-12-20 福建中锐网络股份有限公司 Reservoir system of patrolling and examining of AR glasses based on 5G and UWB
CN115497189B (en) * 2022-09-16 2023-11-07 福建中锐网络股份有限公司 Reservoir inspection system based on 5G and UWB AR glasses
CN116193581A (en) * 2023-05-04 2023-05-30 广东工业大学 Indoor unmanned aerial vehicle hybrid positioning method and system based on member-collecting filtering
CN116193581B (en) * 2023-05-04 2023-08-04 广东工业大学 Indoor unmanned aerial vehicle hybrid positioning method and system based on member-collecting filtering
CN116546620A (en) * 2023-07-07 2023-08-04 深圳派特科技有限公司 UWB-based double-base-station positioning tag method and system
CN116546620B (en) * 2023-07-07 2023-09-15 深圳派特科技有限公司 UWB-based double-base-station positioning tag method and system

Also Published As

Publication number Publication date
CN113038362B (en) 2022-10-11
CN113038362A (en) 2021-06-25

Similar Documents

Publication Publication Date Title
WO2022170863A1 (en) Ultra-wideband positioning method and system
EP3961358B1 (en) False touch prevention method for curved screen, and eletronic device
CN110458902B (en) 3D illumination estimation method and electronic equipment
CN112637758B (en) Equipment positioning method and related equipment thereof
WO2021213165A1 (en) Multi-source data processing method, electronic device and computer-readable storage medium
WO2021023046A1 (en) Electronic device control method and electronic device
CN110798568A (en) Display control method of electronic equipment with folding screen and electronic equipment
WO2022116930A1 (en) Content sharing method, electronic device, and storage medium
WO2022100685A1 (en) Drawing command processing method and related device therefor
WO2022027972A1 (en) Device searching method and electronic device
CN112686981A (en) Picture rendering method and device, electronic equipment and storage medium
CN111835907A (en) Method, equipment and system for switching service across electronic equipment
WO2023273476A1 (en) Method for detecting device, and electronic device
CN114257920B (en) Audio playing method and system and electronic equipment
CN114880251A (en) Access method and access device of storage unit and terminal equipment
WO2022048453A1 (en) Unlocking method and electronic device
WO2021175097A1 (en) Not-line-of-sight object imaging method, and electronic device
CN112099741B (en) Display screen position identification method, electronic device and computer readable storage medium
CN113518189B (en) Shooting method, shooting system, electronic equipment and storage medium
WO2022042275A1 (en) Distance measurement method, apparatus, electronic device, and readable storage medium
WO2022037575A1 (en) Low-power consumption positioning method and related apparatus
CN113436635A (en) Self-calibration method and device of distributed microphone array and electronic equipment
WO2022042460A1 (en) Device connection method, and electronic device
WO2023207862A1 (en) Method and apparatus for determining head posture
WO2023030067A1 (en) Remote control method, remote control device and controlled device

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: 21925508

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 21925508

Country of ref document: EP

Kind code of ref document: A1