WO2022057456A1 - Slot updating method, electronic device, and storage medium - Google Patents

Slot updating method, electronic device, and storage medium Download PDF

Info

Publication number
WO2022057456A1
WO2022057456A1 PCT/CN2021/109014 CN2021109014W WO2022057456A1 WO 2022057456 A1 WO2022057456 A1 WO 2022057456A1 CN 2021109014 W CN2021109014 W CN 2021109014W WO 2022057456 A1 WO2022057456 A1 WO 2022057456A1
Authority
WO
WIPO (PCT)
Prior art keywords
base station
time slot
target
occupancy
data frame
Prior art date
Application number
PCT/CN2021/109014
Other languages
French (fr)
Chinese (zh)
Inventor
张烨
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Publication of WO2022057456A1 publication Critical patent/WO2022057456A1/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
    • 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/021Services related to particular areas, e.g. point of interest [POI] services, venue services or geofences
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/30Services specially adapted for particular environments, situations or purposes
    • H04W4/33Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W56/00Synchronisation arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W72/00Local resource management
    • H04W72/04Wireless resource allocation
    • 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

Landscapes

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

Abstract

Disclosed are a slot updating method, an electronic device, and a storage medium, applicable in a base station X, the base station X being any base station in a positioning service system, the positioning service system comprising K base stations. The method comprises: the base station X, by listening for data frames pertinent to neighboring base stations of the base station X in the positioning service system to acquire slot occupancy tables, produces multiple slot occupancy tables, each base station corresponding to one slot occupancy table, and each slot occupancy table expressing a slot state of each base station among the K base stations; a first slot occupancy table of the base station X is acquired, a second slot occupancy table is produced by computing on the basis of the multiple slot occupancy tables and of the first slot occupancy table; and a slot number of the base station X is updated on the basis of the second slot occupancy table. The embodiments of the present application provide a flexible positioning service solution.

Description

时隙更新方法、电子设备及存储介质Time slot update method, electronic device and storage medium 技术领域technical field
本申请涉及电子设备技术领域,具体涉及一种时隙更新方法、电子设备及存储介质。The present application relates to the technical field of electronic devices, and in particular, to a time slot update method, an electronic device and a storage medium.
背景技术Background technique
目前,基于超宽带(ultra wideband,UWB)的室内定位技术中,一般会在用户移动的空间内通过有线方式设置若干个位置固定的锚点设备(又称为基站),用户佩戴支持UWB技术的标签设备,基站与每个用户的标签设备进行信令交互以测定本端与标签设备的距离,并将该距离和标签设备身份信息上报给位置服务器,由位置服务器根据至少三个基站上报的同一个标签设备的距离信息计算出用户当前所处的位置,从而实现定位服务。其中,基站的新增需要与定位服务器交互实现时隙配置和位置标定,基站的停用需要与定位服务器交互时隙资源释放和定位服务系统的拓扑更新。因此,目前的技术方案缺乏灵活性。At present, in the indoor positioning technology based on ultra wideband (UWB), several fixed-position anchor devices (also known as base stations) are generally set up in the space where the user moves by wire. Tag device, the base station performs signaling interaction with each user's tag device to measure the distance between the local end and the tag device, and reports the distance and the identity information of the tag device to the location server. The distance information of a tag device calculates the current location of the user, so as to realize the location service. Among them, the new base station needs to interact with the positioning server to realize time slot configuration and position calibration, and the deactivation of the base station needs to interact with the positioning server to release time slot resources and update the topology of the positioning service system. Therefore, the current technical solutions lack flexibility.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种时隙更新方法、电子设备及存储介质,以期提供一种灵活的定位服务解决方案,在保证任何一个基站邻近基站不同编号的前提下,实现在同一空间内有限时隙的空分复用,可以在有限时隙数量下实现无限基站容量。The embodiments of the present application provide a time slot update method, electronic equipment, and storage medium, so as to provide a flexible positioning service solution. The space division multiplexing of slots can realize unlimited base station capacity under the limited number of time slots.
第一方面,本申请实施例提供一种时隙更新方法,应用于基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,所述方法包括:In the first aspect, an embodiment of the present application provides a time slot update method, which is applied to a base station X, where the base station X is any base station in a positioning service system, and the positioning service system includes K base stations, and the K is greater than an integer of 1, the method includes:
所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态;The base station X obtains a time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table, and each time slot occupancy table. A slot occupancy table representing the slot status of each of the K base stations;
获取所述基站X的第一时隙占用表;obtaining the first time slot occupancy table of the base station X;
依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;performing an operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table;
依据所述第二时隙占用表更新所述基站X的时隙编号。The time slot number of the base station X is updated according to the second time slot occupation table.
第二方面,本申请实施例提供一种基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,所述基站X包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下方法中的步骤的指令:In a second aspect, an embodiment of the present application provides a base station X, where the base station X is any base station in a positioning service system, and the positioning service system includes K base stations, where K is an integer greater than 1, and the base station X includes a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the programs including for performing the following Instructions for steps in a method:
所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态;The base station X obtains a time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table, and each time slot occupancy table. A slot occupancy table representing the slot status of each of the K base stations;
获取所述基站X的第一时隙占用表;obtaining the first time slot occupancy table of the base station X;
依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;performing an operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table;
依据所述第二时隙占用表更新所述基站X的时隙编号。The time slot number of the base station X is updated according to the second time slot occupation table.
第三方面,本申请实施例提供一种电子设备,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面法中的步骤的指令。In a third aspect, embodiments of the present application provide an electronic device, including a processor, a memory, a communication interface, and one or more programs, wherein the one or more programs are stored in the memory and configured to be processed by the above-mentioned processing The above program includes instructions for executing the steps in the method in the first aspect of the embodiment of the present application.
第四方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program for electronic data exchange, wherein the computer program causes a computer to execute the computer program as described in the first embodiment of the present application. Some or all of the steps described in an aspect.
第五方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方 面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a fifth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute as implemented in the present application. Examples include some or all of the steps described in the first aspect. The computer program product may be a software installation package.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the accompanying drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only for the present application. In some embodiments, for those of ordinary skill in the art, other drawings can also be obtained according to these drawings without any creative effort.
图1A是本申请实施例提供的基于UWB技术定位的应用场景示意图;1A is a schematic diagram of an application scenario based on UWB technology positioning provided by an embodiment of the present application;
图1B是本申请实施例提供的一种SS-TWR的测距信号交互示意图;FIG. 1B is a schematic diagram of an SS-TWR ranging signal interaction provided by an embodiment of the present application;
图1C是本申请实施例提供的一种DS TWR的测距信号交互示意图;1C is a schematic diagram of the interaction of ranging signals of a DS TWR provided by an embodiment of the present application;
图1D是本申请实施例提供的一种标签与基站一对多交互的示意图;1D is a schematic diagram of one-to-many interaction between a tag and a base station provided by an embodiment of the present application;
图1E是本申请实施例提供的一种运算TDoA得出最后坐标的示意图;1E is a schematic diagram of obtaining final coordinates by computing TDoA according to an embodiment of the present application;
图1F是本申请实施例提供的一种超级帧的示意结构图;1F is a schematic structural diagram of a super frame provided by an embodiment of the present application;
图1G是本申请实施例提供的一种加入信标帧的超级帧的示意结构图;1G is a schematic structural diagram of a super frame added to a beacon frame provided by an embodiment of the present application;
图1H是本申请实施例提供的一种定位服务系统10的架构示意图;FIG. 1H is a schematic structural diagram of a positioning service system 10 provided by an embodiment of the present application;
图1I是本申请实施例提供的一种基站200的组成示例图;FIG. 1I is an exemplary diagram of the composition of a base station 200 provided by an embodiment of the present application;
图2A是本申请实施例提供的一种时隙更新方法的流程示意图;2A is a schematic flowchart of a time slot update method provided by an embodiment of the present application;
图2B是本申请实施例提供的一种时隙配置过程的示意图;2B is a schematic diagram of a time slot configuration process provided by an embodiment of the present application;
图2C是本申请实施例提供的一种基站位置示例图;FIG. 2C is an example diagram of a base station location provided by an embodiment of the present application;
图2D是本申请实施例提供的一种基站信号覆盖范围的示意图;2D is a schematic diagram of a base station signal coverage provided by an embodiment of the present application;
图3是本申请实施例提供的一种电子设备的结构示意图;3 is a schematic structural diagram of an electronic device provided by an embodiment of the present application;
图4是本申请实施例提供的一种时隙更新装置的功能单元组成框图。FIG. 4 is a block diagram of functional units of a time slot updating apparatus provided by an embodiment of the present application.
具体实施方式detailed description
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make those skilled in the art better understand the solutions of the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only It is a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of the present application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second" and the like in the description and claims of the present application and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "comprising" and "having" and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but optionally also includes unlisted steps or units, or optionally also includes For other steps or units inherent to these processes, methods, products or devices.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference herein to an "embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the present application. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor a separate or alternative embodiment that is mutually exclusive of other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
本申请中,电子设备可以包括各种超宽带(ultra wide band,UWB)模块的设备,例如,智能手机、车载设备、可穿戴设备、充电装置(如充电宝)、智能手表、智能眼镜、无线蓝牙耳机、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备(User Equipment,UE),移动台(Mobile Station,MS),虚拟现实/增强现实设备,终端设备(terminal device)等等,电子设备还可以为基站或者具备基站功能的设备或者服务器。In this application, electronic devices may include devices with various ultra wide band (UWB) modules, such as smart phones, in-vehicle devices, wearable devices, charging devices (such as power banks), smart watches, smart glasses, wireless Bluetooth headsets, computing devices or other processing devices connected to wireless modems, and various forms of User Equipment (UE), Mobile Station (MS), virtual reality/augmented reality devices, terminal devices ) and so on, the electronic device may also be a base station or a device or server having the function of a base station.
电子设备还可以包括智能家居设备,智能家居设备可以为以下至少一种:智能音箱、智能摄像头、智能电饭煲、智能轮椅、智能按摩椅、智能家具、智能洗碗机、智能电视机、智能冰箱、智能电风扇、智能取暖器、智能晾衣架、智能灯、智能路由器、智能交换机、智能开关面板、智能加湿器、智能空调、 智能门、智能窗、智能灶台、智能消毒柜、智能马桶、扫地机器人等等,在此不做限定。The electronic devices may also include smart home devices, and the smart home devices may be at least one of the following: smart speakers, smart cameras, smart rice cookers, smart wheelchairs, smart massage chairs, smart furniture, smart dishwashers, smart TVs, smart refrigerators, Smart fans, smart heaters, smart drying racks, smart lights, smart routers, smart switches, smart switch panels, smart humidifiers, smart air conditioners, smart doors, smart windows, smart cooktops, smart disinfection cabinets, smart toilets, floor sweeping Robots, etc., are not limited here.
为了更好地理解本申请实施例的方案,下面先对本申请实施例可能涉及的相关术语和概念进行介绍。In order to better understand the solutions of the embodiments of the present application, related terms and concepts that may be involved in the embodiments of the present application are first introduced below.
(1)超宽带UWB是一种无载通信技术,根据美国联邦通信委员会(federal communications commission of the united states)的标准,UWB的工作频段为3.1-10.6GHz,-10dB带宽与系统中心频率的比值大于20%,系统带宽至少为500MHz。利用纳秒至微秒级的非正弦波窄脉冲传输数据。传统的超宽带UWB技术定位用于矿井,仓库等工业场所,其主要的应用场景是监控员工、货物在室内的实时位置。其中基站已在室内场所标定好,通过有线或Wi-Fi的方式相互连接进行同步。如图1A所示的示例应用场景中,A为支持UWB技术定位的基站,CLE PC为位置服务器(又称为定位服务器,例如:位置计算设备),Ehternet LAN-TCP/IP是指基站之间支持以太网局域网的传输控制协议/网际协议,通过在每个区域设置至少一个基站实现针对佩戴标签设备的用户的位置监测。(1) Ultra-wideband UWB is an unloaded communication technology. According to the standards of the Federal Communications Commission of the United States, the operating frequency band of UWB is 3.1-10.6GHz, and the ratio of -10dB bandwidth to the center frequency of the system Greater than 20%, the system bandwidth is at least 500MHz. Data is transmitted using narrow, non-sinusoidal pulses in nanoseconds to microseconds. The traditional ultra-wideband UWB technology positioning is used in industrial places such as mines and warehouses. Its main application scenario is to monitor the real-time position of employees and goods indoors. The base stations have been calibrated in indoor locations, and are connected to each other through wired or Wi-Fi for synchronization. In the example application scenario shown in Figure 1A, A is a base station that supports UWB technology positioning, CLE PC is a location server (also known as a location server, such as a location computing device), and Ethernet LAN-TCP/IP refers to the communication between base stations. Supports the transmission control protocol/Internet protocol of the Ethernet local area network, and realizes the position monitoring of the user wearing the tag device by setting at least one base station in each area.
标签一对一与基站的交互有SS-TWR与DSTWR两种模式。The one-to-one interaction between the tag and the base station has two modes: SS-TWR and DSTWR.
第一种,单边双向测距(single-sided two-way ranging,SS-TWR)The first, unilateral two-way ranging (single-sided two-way ranging, SS-TWR)
SS-TWR是对单个往返消息时间上的简单测量,设备A主动发送数据到设备B,设备B返回数据响应设备A。如图1B所示,设备A(Device A)主动发送(TX)数据(对应图中TX时间节点到Tround时间起点),同时记录发送时间戳,设备B(Device B)接收到(RX)之后记录接收时间戳,RMARKER表示数据完成传输(接收或发送)的时间节点;延时Treply之后,设备B发送数据,同时记录发送时间戳,设备A接收数据,同时记录接收时间戳。SS-TWR is a simple measurement of the time of a single round-trip message. Device A actively sends data to device B, and device B responds to device A with data. As shown in Figure 1B, Device A (Device A) actively sends (TX) data (corresponding to the TX time node to the starting point of Tround time in the figure), and records the sending timestamp at the same time, and Device B (Device B) records it after receiving (RX) Reception timestamp, RMARKER indicates the time node when the data is transmitted (received or sent); after the delay Treply, device B sends the data and records the sending timestamp, while device A receives the data and records the receiving timestamp.
所以可以拿到两个时间差数据,设备A的时间差Tround(发送数据和接收数据的时间差)和设备B的时间差Treply,最终得到无线信号的飞行时间
Figure PCTCN2021109014-appb-000001
如下:
Therefore, two time difference data can be obtained, the time difference Tround of device A (the time difference between sending data and receiving data) and the time difference Treply of device B, and finally the flight time of the wireless signal is obtained.
Figure PCTCN2021109014-appb-000001
as follows:
Figure PCTCN2021109014-appb-000002
Figure PCTCN2021109014-appb-000002
两个差值时间都是基于本地的时钟计算得到的,本地时钟误差可以抵消,但是不同设备之间会存在微小的时钟偏移,假设设备A和设备B的时钟偏移分别为eA和eB,因此,得到的飞行时间会随着Treply的增加而增加,测距误差error的方程如下:The two difference times are calculated based on the local clock. The local clock error can be offset, but there will be a slight clock offset between different devices. Assume that the clock offsets of device A and device B are eA and eB, respectively. Therefore, the resulting flight time will increase with increasing Treply, and the equation of the ranging error error is as follows:
Figure PCTCN2021109014-appb-000003
Figure PCTCN2021109014-appb-000003
其中,Tprop为无线信号的实际飞行时间。Among them, Tprop is the actual flight time of the wireless signal.
第二种,双边双向测距(double-sided two-way Ranging,DS TWR)The second, bilateral two-way ranging (double-sided two-way Ranging, DS TWR)
DS TWR基于发起节点和响应节点之间的3次消息传送,获得两次往返延迟,在响应端测量出距离。如图1C所示,当设备A收到数据之后,立刻返回数据,最终也可以得到如下四个时间差:DS TWR obtains two round-trip delays based on 3 message transfers between the initiating node and the responding node, and measures the distance at the responding end. As shown in Figure 1C, when device A receives the data, it returns the data immediately, and finally the following four time differences can be obtained:
①设备A的第一次时间差Tround1(发送数据和接收数据的时间差)①The first time difference Tround1 of device A (the time difference between sending data and receiving data)
②设备B第一次接收数据后的延时Treply1(接收第一数据后的延时)② Delay Treply1 after device B receives data for the first time (delay after receiving the first data)
③设备B的时间差Tround2(发送数据和接收数据的时间差)③The time difference Tround2 of device B (the time difference between sending data and receiving data)
④设备A第一次接收数据后的延时Treply2(接收第二数据后的延时)④ Delay Treply2 after device A receives data for the first time (delay after receiving the second data)
使用如下公式计算无线信号的飞行时间
Figure PCTCN2021109014-appb-000004
Use the following formula to calculate the flight time of the wireless signal
Figure PCTCN2021109014-appb-000004
Figure PCTCN2021109014-appb-000005
Figure PCTCN2021109014-appb-000005
双边双向测距飞行时间误差分析:以上测距的机制都是非对称的测距方法,因为它们对于响应时 间不要求是相同的。即便使用20ppm的晶体,时钟误差也是在ps级别的。误差公式如下:Time-of-flight error analysis of bilateral two-way ranging: The above ranging mechanisms are all asymmetric ranging methods because they do not require the same response time. Even with a 20ppm crystal, the clock error is in the ps level. The error formula is as follows:
Figure PCTCN2021109014-appb-000006
Figure PCTCN2021109014-appb-000006
其中k a和k b为晶振实际频率与标称频率之比,因此,k a和k b非常接近于1。 where k a and k b are the ratios of the actual frequency of the crystal oscillator to the nominal frequency, so k a and k b are very close to 1.
标签与基站一对多交互One-to-many interaction between tags and base stations
每个员工或货物上都有含有唯一标识的标签Tag,定期对周围基站广播信号。如图1D所示,标签(图中Tag)对外广播信号(图中poll)后,RMARKER表示数据完成传输(接收或发送)的时间节点;周围的三个基站(图中Anchor A、Anchor B、Anchor C)收到信号,根据基站之间的同步信息依次对标签发送回复response信号(图中RespA、RespB、RespC)。当标签收到三个基站或以上的回复信号后,再对外发送一次广播信号(图中Final)。因此每个基站可以通过如此DS TWR机制交互信号算出三个基站分别听到final包后在自身节点计算出无线信号的飞行时间。Each employee or cargo has a tag with a unique identification, which regularly broadcasts signals to the surrounding base stations. As shown in Figure 1D, after the tag (Tag in the figure) broadcasts the signal (pol in the figure), RMARKER indicates the time node when the data is transmitted (received or sent); the three surrounding base stations (Anchor A, Anchor B, Anchor C) receives the signal, and sends a response signal to the tag in turn according to the synchronization information between the base stations (RespA, RespB, RespC in the figure). When the tag receives the reply signals from three or more base stations, it sends a broadcast signal to the outside world (Final in the figure). Therefore, each base station can use the DS TWR mechanism to exchange signals to calculate the flight time of the wireless signal at its own node after the three base stations hear the final packet respectively.
Figure PCTCN2021109014-appb-000007
Figure PCTCN2021109014-appb-000007
Figure PCTCN2021109014-appb-000008
Figure PCTCN2021109014-appb-000008
Figure PCTCN2021109014-appb-000009
Figure PCTCN2021109014-appb-000009
其中,TpropA为基站A与标签之间的无线信号的飞行时间,TpropB为基站B与标签之间的无线信号的飞行时间,TpropC为基站C与标签之间的无线信号的飞行时间,Tround1A为标签发送数据和接收基站A数据的时间差,Tround1B为标签发送数据和接收基站B数据的时间差,Tround1C为标签发送数据和接收基站C数据的时间差,Treply1A为基站A的延时,Treply1B为基站B的延时,Treply1C为基站C的延时,Treply2A为标签接收基站A的信号到发送Final信号的延时,Treply2B为标签接收基站B的信号到发送Final信号的延时,Treply2C为标签接收基站C的信号到发送Final信号的延时。Among them, TpropA is the flight time of the wireless signal between base station A and the tag, TpropB is the flight time of the wireless signal between base station B and the tag, TpropC is the flight time of the wireless signal between base station C and the tag, and Ground1A is the tag. The time difference between sending data and receiving data from base station A, Ground1B is the time difference between the tag sending data and receiving data from base station B, Ground1C is the time difference between the tag sending data and receiving data from base station C, Treply1A is the delay of base station A, and Treply1B is the delay of base station B. , Treply1C is the delay of base station C, Treply2A is the delay of the tag receiving the signal of base station A to sending the final signal, Treply2B is the delay of the tag receiving the signal of base station B to sending the final signal, Treply2C is the delay of the tag receiving the signal of base station C Delay to send Final signal.
每个基站将计算结果上传到主服务器。如图1E所示,主服务器上进行三维运算TDoA得出最后坐标,X1、X2、X3对应Anchor A、Anchor B、Anchor C的位置,圆圈对应以无线信号的飞行时间确定的距离为半径的位置范围,Xu为标签的位置。Each base station uploads the calculation results to the main server. As shown in Figure 1E, the three-dimensional operation TDoA is performed on the main server to obtain the final coordinates. X1, X2, and X3 correspond to the positions of Anchor A, Anchor B, and Anchor C, and the circle corresponds to the distance determined by the flight time of the wireless signal as the radius. range, Xu is the position of the label.
(2)超级帧(2) Super frame
在室内场景中有多个标签,需要在整个时间轴上设置一个超级帧进行不停的重复。每个标签需要分配一个时隙slot,在各自的slot中完成各自的位置计算并上传到基站。In an indoor scene with multiple tags, a superframe needs to be set up for non-stop repetition across the entire timeline. Each tag needs to be allocated a time slot, and its position is calculated in its own slot and uploaded to the base station.
如图1F所示的超级帧示意结构,interval表示时间间隔,scheduling interval表示被调度的时间间隔,Tag I slot表示标签i的时隙,Poll TX表示标签发送信号,Resp-X RX表示标签接收基站X的信号,Resp-Y RX表示标签接收基站Y的信号,Resp-Z RX表示标签接收基站Z的信号,Final TX表示标签发送Final信号。The schematic structure of the super frame shown in Figure 1F, interval represents the time interval, scheduling interval represents the scheduled time interval, Tag I slot represents the time slot of the tag i, Poll TX represents the tag sending signal, Resp-X RX represents the tag receiving base station The signal of X, Resp-Y RX means that the tag receives the signal of base station Y, Resp-Z RX means that the tag receives the signal of base station Z, and Final TX means that the tag sends the final signal.
如果基站之间的同步也通过超宽带UWB技术无线实现,需要在标签与基站交互的时隙前加入信标帧(BeaCoN,BCN)时隙,在此时隙内标签之间相互通信,确定各自的顺序。如图1G所示,Superframe(n)表示超级帧n,Idle Time为空闲时间,BCN为承载信标帧的时隙,SVC表示预留时隙,TWR Slot表示承载双向测距信号的时隙,wake up为唤醒时隙,sleep为休眠时隙,RX表示接收状态。If the synchronization between the base stations is also realized wirelessly through the ultra-wideband UWB technology, it is necessary to add a beacon frame (BeaCoN, BCN) time slot before the time slot for the interaction between the tag and the base station. Order. As shown in Figure 1G, Superframe(n) represents superframe n, Idle Time is idle time, BCN is the time slot that carries the beacon frame, SVC represents the reserved time slot, and TWR Slot represents the time slot that carries the bidirectional ranging signal. wake up is the wake-up time slot, sleep is the sleep time slot, and RX represents the receiving state.
以上传统toB的超宽带UWB技术场景中,可以概括为以下几个特点:The above traditional toB ultra-wideband UWB technology scenarios can be summarized as the following features:
标签数量有限,每个标签的时隙地址已经分配完毕。The number of tags is limited, and the slot address of each tag has been allocated.
基站需提前标定好位置,通过有线或区别于超宽带UWB技术的方式相连进行信号同步。The base station needs to be calibrated in advance, and the signal is synchronized by connecting by wire or in a way different from the ultra-wideband UWB technology.
基站和标签都需要收发信号。Both the base station and the tag need to send and receive signals.
基站侧计算出标签的室内坐标并返回给服务器,标签本身并不清楚自身的坐标。The base station side calculates the indoor coordinates of the tag and returns it to the server. The tag itself does not know its own coordinates.
标签只在属于自己的slot周期内唤醒。The tag only wakes up in its own slot cycle.
基于目前UWB定位技术中存在的问题,本申请提出一种时隙更新方法和系统,下面进行详细说明。Based on the problems existing in the current UWB positioning technology, the present application proposes a time slot update method and system, which will be described in detail below.
请参考图1H,本申请实施例提供了一种定位服务系统10,该系统包括标签设备100和基站200,其中,基站200与标签设备100交互UWB信号,基站200为支持UWB技术的服务端设备,例如UWB基站、UWB锚点设备等,标签设备200为支持UWB技术的用户端设备,例如可以包括但不限于无线通信设备110、入口应答器设备120、家用设备130、系带标签140等。其他UWB设备(其为了简单起见而未在图1H中示出)可以包括其他计算设备,包括但不限于膝上型计算机、台式计算机、平板电脑、个人助理、路由器、监视器、电视机、打印机和电器。Referring to FIG. 1H , an embodiment of the present application provides a positioning service system 10 , which includes a tag device 100 and a base station 200 , wherein the base station 200 and the tag device 100 exchange UWB signals, and the base station 200 is a server device supporting UWB technology. For example, a UWB base station, a UWB anchor device, etc., the tag device 200 is a client device supporting UWB technology, such as but not limited to a wireless communication device 110, an ingress transponder device 120, a home device 130, and a tethered tag 140. Other UWB devices (which are not shown in Figure 1H for simplicity) may include other computing devices, including but not limited to laptops, desktops, tablets, personal assistants, routers, monitors, televisions, printers and electrical appliances.
图1I是本申请实施例提供的一种基站200的组成示例图。基站200可以包括核心处理单元201、UWB收发器202、通信单元203、通用接口单元204以及电源供给单元205,通信单元203具体可以包括但不限于蓝牙、Wi-Fi、蜂窝通信模块中的一种或多种,通用接口单元204用于接入各类传感器,包括但不限于指示灯、振动传感器以及其他传感器,电源供给单元205例如可以包括但不限于电池、直流转直流DC-DC模块、滤波电路以及欠压检测电路等。FIG. 1I is a diagram showing an example composition of a base station 200 provided by an embodiment of the present application. The base station 200 may include a core processing unit 201, a UWB transceiver 202, a communication unit 203, a general interface unit 204, and a power supply unit 205. The communication unit 203 may specifically include, but is not limited to, one of Bluetooth, Wi-Fi, and cellular communication modules. Or more, the general interface unit 204 is used to access various sensors, including but not limited to indicator lights, vibration sensors and other sensors, and the power supply unit 205 may include, but is not limited to, batteries, DC-to-DC DC-DC modules, filter circuit and undervoltage detection circuit, etc.
其中,核心处理单元201可以包括处理器和存储器,处理器可以包括一个或者多个处理核心。处理器利用各种接口和线路连接整个基站200内的各个部分,通过运行或执行存储在存储器内的指令、程序、代码集或指令集,以及调用存储在存储器内的数据,执行基站200的各种功能和处理数据。处理器可以包括一个或多个处理单元,例如:处理器可以包括中央处理器(Central Processing Unit,CPU)、应用处理器(application processor,AP)、调制解调处理器、图形处理器(graphics processing unit,GPU)、图像信号处理器(image signal processor,ISP)、控制器、视频编解码器、数字信号处理器(digital signal processor,DSP)、基带处理器,和/或神经网络处理器(neural-network processing unit,NPU)等。其中,控制器可以是基站200的神经中枢和指挥中心。控制器可以根据指令操作码和时序信号,产生操作控制信号,完成取指令和执行指令的控制。The core processing unit 201 may include a processor and a memory, and the processor may include one or more processing cores. The processor uses various interfaces and lines to connect various parts of the entire base station 200, and executes the various functions of the base station 200 by running or executing the instructions, programs, code sets or instruction sets stored in the memory, and calling the data stored in the memory. functions and processing data. The processor may include one or more processing units, for example, the processor may include a central processing unit (Central Processing Unit, CPU), an application processor (application processor, AP), a modem processor, a graphics processor (graphics processing unit) unit, GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and/or neural network processor (neural) -network processing unit, NPU), etc. The controller may be the nerve center and command center of the base station 200 . 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.
存储器可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选地,该存储器包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器可用于存储指令、程序、代码、代码集或指令集。存储器可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于实现至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现下述各个方法实施例的指令等,该操作系统可以是安卓(Android)系统(包括基于Android系统深度开发的系统)、苹果公司开发的IOS系统(包括基于IOS系统深度开发的系统)或其它系统。存储数据区还可以存储基站200在使用中所创建的数据(比如标定的位置数据)等。The memory may include random access memory (Random Access Memory, RAM), or may include read-only memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable storage medium. Memory may be used to store instructions, programs, codes, sets of codes, or sets of instructions. The memory may include a stored program area and a stored data area, wherein the stored program area may store instructions for implementing an operating system, instructions for implementing at least one function (such as a touch function, a sound playback function, an image playback function, etc.), Instructions for implementing the following method embodiments, etc., the operating system can be an Android (Android) system (including a system based on the deep development of the Android system), an IOS system developed by Apple (including a system based on the deep development of the IOS system) or other systems. The storage data area may also store data created by the base station 200 during use (such as calibrated location data) and the like.
需要注意的是,上述基站200的结构示意图仅为示例,具体包含的器件可以更多或更少,此处不做唯一限定。It should be noted that the above-mentioned schematic structural diagram of the base station 200 is only an example, and the specific components may be more or less, which is not limited here.
请参阅图2A,图2A是本申请实施例提供了一种时隙更新方法的流程示意图,应用于待加入定位服务系统的基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,如图所示,本时隙更新方法包括以下操作。Please refer to FIG. 2A. FIG. 2A is a schematic flowchart of a method for updating a time slot provided by an embodiment of the present application, which is applied to a base station X to be added to a positioning service system. The base station X is any base station in the positioning service system. The positioning service system includes K base stations, where K is an integer greater than 1. As shown in the figure, this time slot update method includes the following operations.
201、所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态。201. The base station X obtains a time slot occupancy table by listening to data frames of neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, and each base station corresponds to a time slot occupancy table , and each time slot occupancy table represents the time slot state of each base station in the K base stations.
其中,数据帧可以是信标帧,信标帧可以承载基站的有效信息(例如:自身设备编号、时隙编号、 位置信息、信号发送起始时间戳等)。不同的基站占用不同的信标帧。当一个信标帧的时隙被基站占用时,该信标帧的频域资源上会承载该基站的有效信息,如基站标识、位置坐标等信息,基站X通过侦听该信标帧的频域资源,确认承载有效信息的信标帧被占用。定位服务系统中任一基站的邻近基站的基站编号可以均不一样。某一基站的邻近基站可以理解为能够接收到该基站的数据帧的基站,例如,基站X的邻近基站可以理解为能够接收到基站X的数据帧的基站。Wherein, the data frame may be a beacon frame, and the beacon frame may carry valid information of the base station (eg, its own device number, time slot number, location information, signal transmission start time stamp, etc.). Different base stations occupy different beacon frames. When the time slot of a beacon frame is occupied by a base station, the frequency domain resources of the beacon frame will carry the effective information of the base station, such as base station identification, location coordinates and other information. Domain resources, confirm that the beacon frame carrying valid information is occupied. The base station numbers of adjacent base stations of any base station in the positioning service system may be different. The neighboring base stations of a certain base station can be understood as the base stations that can receive the data frames of the base station. For example, the neighboring base stations of the base station X can be understood as the base stations that can receive the data frames of the base station X.
在一个可能的示例中,所述基站X的邻近基站的数量处于预设范围。In a possible example, the number of neighboring base stations of the base station X is within a preset range.
其中,预设范围可以由用户自行设置或者系统默认。The preset range may be set by the user or the system defaults.
在一个可能的示例中,所述预设范围包括下限阈值和上限阈值,所述下限阈值小于所述上限阈值,所述下限阈值为4,所述上限阈值为6。In a possible example, the preset range includes a lower threshold and an upper threshold, the lower threshold is smaller than the upper threshold, the lower threshold is 4, and the upper threshold is 6.
其中,本申请实施例中,预设范围可以包括下限阈值和上限阈值,由于基站交互的数量直接会影响整个超级帧的时间长度,规定在室内的任意一个基站,该基站所能听到的邻近基站数量必须小于N,即上限阈值(通常情况下N<=6)。当一个基站能听到N或N以上基站发出的信息时,该基站进入睡眠状态在随机时长后醒来再次监听时隙信息。如果N=6,每6个基站轮询一次。轮询结束后有保护间隔时隙,并进行到下一个超级帧。又由于需要实现自动测绘,则N的下限阈值为4。Among them, in this embodiment of the present application, the preset range may include a lower threshold and an upper threshold. Since the number of base station interactions will directly affect the time length of the entire super frame, it is stipulated that any base station indoors can hear the proximity of the base station. The number of base stations must be less than N, that is, the upper threshold (normally N<=6). When a base station can hear the information sent by N or more base stations, the base station enters a sleep state and wakes up after a random duration to monitor the time slot information again. If N=6, poll every 6 base stations. There is a guard interval slot after the polling and proceed to the next superframe. And because of the need to realize automatic mapping, the lower threshold of N is 4.
在一个可能的示例中,所述定位服务系统还包括基站Y、基站J和基站W;在步骤201,通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表之前,还可以包括如下步骤:In a possible example, the positioning service system further includes base station Y, base station J, and base station W; in step 201, by listening to data frames of neighboring base stations belonging to the base station X in the positioning service system to obtain the time Before obtaining the slot occupancy table, the following steps may also be included:
A1、所述基站X在预设时间段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站W的数据帧W,所述预设时间段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;A1. The base station X listens to the data frame within a preset time period, and listens to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame W of the base station W, and the The preset time period is a continuous preset number of positioning service periods, and the positioning service period is the working period of the positioning service system;
A2、所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧W的时隙占用情况配置自身的时隙编号。A2. The base station X configures its own time slot number according to the time slot occupation of the data frame Y, the data frame J and the data frame W.
具体实现中,基站X可以通过侦听定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置。基站X实现自身的时隙编号的配置的具体方式可以是多种多样的,此处不做唯一限定。In a specific implementation, the base station X may configure its own time slot number by listening to the data frame of at least one base station of the positioning service system. The specific manner in which the base station X implements the configuration of its own time slot number may be various, and is not limited here.
举例来说,定位服务系统还可以包括基站Y、基站J和基站W;基站X通过侦听定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:基站X在预设时间段内侦听数据帧,并侦听到基站Y的数据帧Y、基站J的数据帧J和基站W的数据帧W,预设时间段为连续预设数量个定位服务周期,定位服务周期为定位服务系统的工作周期;基站X根据数据帧Y、数据帧J和数据帧W的时隙占用情况配置自身的时隙编号。For example, the positioning service system may further include base station Y, base station J, and base station W; base station X realizes the configuration of its own time slot number by listening to the data frame of at least one base station of the positioning service system, including: Suppose that the data frame is listened to within the time period, and the data frame Y of base station Y, the data frame J of base station J, and the data frame W of base station W are detected, and the preset time period is a continuous preset number of positioning service cycles. The period is the working period of the positioning service system; the base station X configures its own time slot number according to the time slot occupation of data frame Y, data frame J and data frame W.
其中,信道侦听的目的在于尽可能准确的获取当前空间的信道的实际占用情况,侦听时长太短会影响侦听准确度,侦听时间太长会影响入网初始化效率,因此,预设时间段可以是任意合理的预设时长,例如10~100倍的发送时间间隔,此处不做唯一限定,例如,假设定位服务系统的发送时间间隔为15毫秒ms,则预设时间段例如可以取150ms至1500ms中的任意值。Among them, the purpose of channel listening is to obtain the actual occupancy of the channel in the current space as accurately as possible. If the listening time is too short, the listening accuracy will be affected. If the listening time is too long, the network initialization efficiency will be affected. Therefore, the preset time The segment can be any reasonable preset duration, such as 10 to 100 times the sending time interval, which is not uniquely limited here. For example, if the sending time interval of the positioning service system is 15 ms, the preset time segment can be Any value from 150ms to 1500ms.
具体实现中,基站X可以通过数据帧侦听确定基站Y、基站J、基站W所占用的时隙,从而从除未被占用的时隙中选择一个,如按照顺序选择或者随机选择等。In specific implementation, base station X can determine the time slots occupied by base station Y, base station J, and base station W through data frame listening, so as to select one time slot except for unoccupied time slots, such as sequential selection or random selection.
此外,基站X可以按照统一设备编号规则在配置时隙的同时进行设备编号配置,如按照数字编号机制进行变化,基站X根据所述数据帧确定已被占用的基站编号;基站X根据已被占用的基站编号确定自身设备编号。例如,假设基站X侦听到设备编号为2、4、5的基站,则可以配置自身的设备编号为3。In addition, the base station X can configure the equipment number while configuring the time slot according to the unified equipment numbering rule. If the change is made according to the digital numbering mechanism, the base station X determines the number of the occupied base station according to the data frame; the base station X according to the occupied base station number; The base station number of the device determines its own device number. For example, assuming that base station X hears base stations with device numbers 2, 4, and 5, it can configure its own device number as 3.
上述步骤的时隙配置过程可以通过图2B所示的示意流程图来进行说明,其中,INIT对应初始的上电状态,HAVE_ID对应基站为自身配置设备编号的状态,NO_ID对应未配置设备编号状态,NO_ID_REVC对应未配置设备编号的基站进行数据接收的状态。The time slot configuration process of the above steps can be described by the schematic flow chart shown in FIG. 2B , wherein, INIT corresponds to the initial power-on state, HAVE_ID corresponds to the state that the base station configures the device number for itself, NO_ID corresponds to the state that the device number is not configured, NO_ID_REVC corresponds to the status of data reception performed by the base station with no device number configured.
具体来说,首先,基站切换至上电状态;Specifically, first, the base station switches to the power-on state;
若本端直接被设置为种子节点(即当前空间的第一个基站),则直接占据第一个地址(即时隙地址+工作频段构成的传输资源)开始工作;If the local end is directly set as the seed node (that is, the first base station in the current space), it directly occupies the first address (that is, the transmission resource composed of the slot address + the working frequency band) and starts to work;
若本端未被设置为种子节点,则基站无条件接收10个周期进行网络侦听,若侦听结果为网络有空闲地址(有空闲地址具体是指:未收到此地址发来的帧、收到的帧中没有报告此地址(每个模块报告其收到帧的地址)),则根据该空闲地址进行时隙配置;If the local end is not set as a seed node, the base station will unconditionally receive 10 cycles for network listening. If this address is not reported in the received frame (each module reports the address of the received frame)), the time slot configuration is performed according to the idle address;
然后,再连续侦听10个周期,若该10个周期内无应答,则确认本机不是种子节点,其中,无应答是指收不到数据帧,或者,收到的帧中没有报告本机地址。Then, it continuously listens for 10 cycles. If there is no response within the 10 cycles, it is confirmed that the local machine is not a seed node. No response means that the data frame cannot be received, or the local machine is not reported in the received frame. address.
可见,本示例中,基站X通过侦听数据帧实现自身时隙资源的合理配置,避免资源配置冲突,且无需向其他基站发送信令,对其他基站的状态无任何影响。It can be seen that in this example, base station X implements a reasonable configuration of its own time slot resources by listening to data frames, avoids resource configuration conflicts, does not need to send signaling to other base stations, and has no impact on the states of other base stations.
此外,在本示例中,所述定位服务系统还可以包括基站Z;所述方法还包括:所述基站X接收所述基站Z的数据帧Z,且判断出自身的时隙编号与所述数据帧Z携带的时隙编号相同;所述基站X删除自身的时隙编号,并通过预设条件触发重新配置过程。In addition, in this example, the positioning service system may further include a base station Z; the method further includes: the base station X receives the data frame Z of the base station Z, and determines its own time slot number and the data frame The time slot numbers carried by the frame Z are the same; the base station X deletes its own time slot number, and triggers the reconfiguration process through preset conditions.
其中,删除是指基站X不再占用该时隙资源。The deletion means that the base station X no longer occupies the time slot resource.
其中,预设条件可以是定时器超时等,定时器的定时时长可以是任意预设值或者经验值等,此处不做唯一限定。The preset condition may be a timer timeout, etc., and the timing duration of the timer may be any preset value or an empirical value, etc., which is not uniquely limited here.
其中,所述基站Z可能是与基站X在相近时段共同设置的基站,基站X释放该时隙资源,基站Z可能也同步检测到冲突,也释放该时隙资源,然后可以随机选择空闲时隙进行配置,或者,基站X与基站Z交互确认互补冲突的时隙配置。Wherein, the base station Z may be a base station co-located with base station X in a similar time period, base station X releases the time slot resource, and base station Z may also detect the conflict synchronously and release the time slot resource, and then randomly select an idle time slot Perform configuration, or, base station X and base station Z mutually confirm complementary and conflicting time slot configurations.
可见,本示例中,基站X在检测到时隙配置冲突时,能够通过删除自身时隙编号进行配置回退,从而实现冲突解决。It can be seen that, in this example, when base station X detects a time slot configuration conflict, it can perform configuration rollback by deleting its own time slot number, thereby realizing conflict resolution.
或者,所述方法还包括:所述基站X根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X的时隙与所述定位服务系统中的某个基站的时隙发生冲突;若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。Alternatively, the method further includes: the base station X broadcasts a collision test request message according to its own time slot number, and listens to a collision test response message, where the collision test response message is used to indicate that the time slot of the base station X is the same as the time slot of the base station X. The time slot of a certain base station in the positioning service system collides; if a collision test response message is detected, the time slot number of the base station is deleted, and the reconfiguration process is triggered by preset conditions.
可见,本示例中,通过与其他基站进行消息交互来确定是否冲突,实时性更好。It can be seen that, in this example, whether there is a conflict is determined through message interaction with other base stations, and the real-time performance is better.
又举例来说,所述基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:所述基站X接收所述至少一个基站的数据帧;所述基站X提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;所述基站X根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。For another example, the base station X implements the configuration of its own time slot number by listening to the data frame of at least one base station of the positioning service system, including: the base station X receiving the data frame of the at least one base station; The base station X extracts the time slot number report of each data frame in the data frames of the at least one base station, and the time slot number report includes the corresponding relationship between the device number of the base station and the time slot number; the base station X according to the At least one slot number report of at least one base station determines its own slot number.
其中,时隙编号报告可以是当前基站直接侦听到的所有基站的时隙编号和自身的时隙编号。Wherein, the time slot number report may be the time slot numbers of all base stations directly heard by the current base station and its own time slot numbers.
可见,本示例中,基站X通过时隙编号可以更加全面的获悉当前系统的其他基站的时隙占用情况,提供时隙配置准确度。It can be seen that, in this example, the base station X can more comprehensively learn the time slot occupancy status of other base stations in the current system through the time slot number, and provide the time slot configuration accuracy.
在一个可能的示例中,还可以包括如下步骤:In a possible example, the following steps may also be included:
所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。The base station X performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position.
其中,自身位置具体可以是基站X的坐标信息,或者是对应于特定空间的位置指示信息,如房间号、门牌号、安全门、电梯号等。The self-position may specifically be the coordinate information of the base station X, or the position indication information corresponding to a specific space, such as room number, house number, security door, elevator number, and so on.
可以理解的是,基站X实现自身位置测绘的具体实现方式可以是多种多样的,如SS TWR算法、DS TWR算法、RTDoA算法等,此处不做唯一限定。It can be understood that the specific implementation manners for the base station X to realize its own location mapping can be various, such as the SS TWR algorithm, the DS TWR algorithm, the RTDoA algorithm, etc., which are not uniquely limited here.
举例来说,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:所述基站X根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。For example, the base station X performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position, including: the base station X communicates with the positioning service system according to the reverse time difference of arrival RTDOA algorithm. At least three base stations perform data exchange to realize automatic mapping of their own positions.
在本示例中,所述基站X根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:所述基站X执行步骤A、B、C中的至少两个,得到至少两个距离差值;In this example, the base station X performs data interaction with at least three base stations of the positioning service system according to the reverse time difference of arrival RTDOA algorithm to realize automatic mapping of its own position, including: the base station X performs steps A, B, At least two of C, to obtain at least two distance differences;
A、所述基站X获取所述数据帧Y携带的所述数据帧Y的时隙编号和所述基站Y的自身位置,以及获取所述数据帧J携带的所述数据帧J的时隙编号和所述基站J的自身位置,以及根据所述基站Y的自身位置和所述基站J的自身位置计算所述基站Y与所述基站J之间的信号飞行时间,以及根据所述数 据帧Y的时隙编号和所述数据帧J的时隙编号确定所述基站Y和所述基站J的信号发送时延,以及根据所述基站Y与所述基站J之间的信号飞行时间和所述基站Y和所述基站J的信号发送时延确定所述基站Y和所述基站J的数据帧发送时间差,以及根据接收所述数据帧Y的时间和接收所述数据帧J的时间确定本端设备的数据帧X接收时间差,以及根据所述数据帧X接收时间差、所述基站Y和所述基站J的数据帧发送时间差,确定第一距离与第二距离的距离差值,所述第一距离为所述基站X与所述基站Y的距离,所述第二距离为所述基站X与所述基站J的距离;A. The base station X obtains the time slot number of the data frame Y carried by the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried by the data frame J and the own position of the base station J, and calculate the signal flight time between the base station Y and the base station J according to the own position of the base station Y and the own position of the base station J, and according to the data frame Y The time slot number of the data frame J and the time slot number of the data frame J determine the signal transmission delay of the base station Y and the base station J, and according to the signal flight time between the base station Y and the base station J and the The signal transmission delay of base station Y and base station J determines the data frame transmission time difference between base station Y and base station J, and the local end is determined according to the time of receiving the data frame Y and the time of receiving the data frame J The data frame X receiving time difference of the device, and the distance difference between the first distance and the second distance is determined according to the data frame X receiving time difference and the data frame sending time difference between the base station Y and the base station J. The first distance The distance is the distance between the base station X and the base station Y, and the second distance is the distance between the base station X and the base station J;
B、所述基站X获取所述数据帧Y携带的所述数据帧Y的时隙编号和所述基站Y的自身位置,以及获取所述数据帧K携带的所述数据帧K的时隙编号和所述基站K的自身位置,以及根据所述基站Y的自身位置和所述基站K的自身位置计算所述基站Y与所述基站K之间的信号飞行时间,以及根据所述数据帧Y的时隙编号和所述数据帧K的时隙编号确定所述基站Y和所述基站K的信号发送时延,以及根据所述基站Y与所述基站K之间的信号飞行时间和所述基站Y和所述基站K的信号发送时延确定所述基站Y和所述基站K的数据帧发送时间差,以及根据接收所述数据帧Y的时间和接收所述数据帧K的时间确定本端设备的数据帧Y接收时间差,以及根据所述数据帧Y接收时间差、所述基站Y和所述基站K的数据帧发送时间差,确定所述第一距离与第三距离的距离差值,所述第三距离为所述基站X与所述基站K的距离;B. The base station X obtains the time slot number of the data frame Y carried by the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried by the data frame K and the own position of the base station K, and calculate the signal flight time between the base station Y and the base station K according to the own position of the base station Y and the own position of the base station K, and according to the data frame Y The time slot number of the data frame K and the time slot number of the data frame K determine the signal transmission delay of the base station Y and the base station K, and according to the signal flight time between the base station Y and the base station K and the The signal transmission delay of base station Y and base station K determines the data frame transmission time difference between base station Y and base station K, and the local end is determined according to the time of receiving the data frame Y and the time of receiving the data frame K The data frame Y receiving time difference of the device, and the distance difference between the first distance and the third distance is determined according to the data frame Y receiving time difference and the data frame sending time difference between the base station Y and the base station K, and the The third distance is the distance between the base station X and the base station K;
C、所述基站X获取所述数据帧J携带的所述数据帧J的时隙编号和所述基站J的自身位置,以及获取所述数据帧K携带的所述数据帧K的时隙编号和所述基站K的自身位置,以及根据所述基站J的自身位置和所述基站K的自身位置计算所述基站J与所述基站K之间的信号飞行时间,以及根据所述数据帧J的时隙编号和所述数据帧K的时隙编号确定所述基站J和所述基站K的信号发送时延,以及根据所述基站J与所述基站K之间的信号飞行时间和所述基站J和所述基站K的信号发送时延确定所述基站J和所述基站K的数据帧发送时间差,以及根据接收所述数据帧J的时间和接收所述数据帧K的时间确定本端设备的数据帧J接收时间差,以及根据所述数据帧J接收时间差、所述基站J和所述基站K的数据帧发送时间差,确定所述第二距离与所述第三距离的距离差值;C. The base station X obtains the time slot number of the data frame J carried by the data frame J and the position of the base station J, and obtains the time slot number of the data frame K carried by the data frame K and the own position of the base station K, and calculate the signal flight time between the base station J and the base station K according to the own position of the base station J and the own position of the base station K, and according to the data frame J The time slot number of the data frame K and the time slot number of the data frame K determine the signal transmission delay of the base station J and the base station K, and according to the signal flight time between the base station J and the base station K and the The signal transmission delay of base station J and base station K determines the data frame transmission time difference between base station J and base station K, and the local end is determined according to the time of receiving the data frame J and the time of receiving the data frame K The data frame J receiving time difference of the device, and the distance difference between the second distance and the third distance is determined according to the data frame J receiving time difference and the data frame sending time difference between the base station J and the base station K;
所述基站X根据所述至少两个距离差值、所述基站Y的自身位置、所述基站J的自身位置以及所述基站K的自身位置,确定所述基站X的自身位置。The base station X determines the own position of the base station X according to the at least two distance differences, the own position of the base station Y, the own position of the base station J, and the own position of the base station K.
可见,本示例中,基站X通过RTDOA算法能够准确计算出自身的位置,能够使用UWB技术,无需额外配置定位技术,且无需向其他基站发送信令,提高定位效率。It can be seen that in this example, base station X can accurately calculate its own position through the RTDOA algorithm, can use UWB technology, does not need to configure additional positioning technology, and does not need to send signaling to other base stations, improving positioning efficiency.
又举例来说,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:所述基站X根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。For another example, the base station X performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position, including: the base station X according to a preset unilateral two-way ranging SS-TWR algorithm It performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position.
在本示例中,所述基站X根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:In this example, the base station X performs data interaction with at least three base stations of the positioning service system according to a preset unilateral two-way ranging SS-TWR algorithm to realize automatic mapping of its own position, including:
所述基站X广播第一测距消息,同时记录所述第一测距消息的发送时间;The base station X broadcasts the first ranging message, and simultaneously records the sending time of the first ranging message;
所述基站X接收来自所述基站Y的第二测距消息、所述基站J的第三测距消息以及所述基站K的第四测距消息,所述第二测距消息包括所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间,所述第三测距消息包括所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间,所述第四测距消息包括所述基站K接收所述第一测距消息的时间和发送所述第四测距消息的时间;The base station X receives the second ranging message from the base station Y, the third ranging message from the base station J, and the fourth ranging message from the base station K, the second ranging message includes the base station The time when Y receives the first ranging message and the time when the second ranging message is sent, and the third ranging message includes the time when the base station J receives the first ranging message and sends the first ranging message. The time of three ranging messages, the fourth ranging message includes the time when the base station K receives the first ranging message and the time when the fourth ranging message is sent;
所述基站X根据所述第一测距消息的发送时间、所述第二测距消息中所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间、所述基站X接收所述第二测距消息的时间,确定所述基站X与所述基站Y的距离;The base station X is based on the time when the first ranging message is sent, the time when the base station Y receives the first ranging message and the time when the second ranging message is sent in the second ranging message, the time at which the base station X receives the second ranging message, to determine the distance between the base station X and the base station Y;
所述基站X根据所述第一测距消息的发送时间、所述第三测距消息中所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间、所述基站X接收所述第三测距消息的时间,确定所述基站X与所述基站J的距离;The base station X is based on the time when the first ranging message is sent, the time when the base station J receives the first ranging message and the time when the third ranging message is sent in the third ranging message, the time when the base station X receives the third ranging message, and determines the distance between the base station X and the base station J;
所述基站X根据所述第一测距消息的发送时间、所述第四测距消息中所述基站K接收所述第一测 距消息的时间和发送所述第四测距消息的时间、所述基站X接收所述第四测距消息的时间,确定所述基站X与所述基站K的距离;The base station X according to the sending time of the first ranging message, the time when the base station K receives the first ranging message and the time when the fourth ranging message is sent in the fourth ranging message, the time at which the base station X receives the fourth ranging message, to determine the distance between the base station X and the base station K;
所述基站X根据本端设备与所述基站Y的距离、本端设备与所述基站J的距离、本端设备与所述基站K的距离,计算自身位置。The base station X calculates its own position according to the distance between the local device and the base station Y, the distance between the local device and the base station J, and the distance between the local device and the base station K.
可见,本示例中,基站X通过SS-TWR算法能够准确计算出自身的位置,能够使用UWB技术,无需额外配置定位技术,降低实现复杂度,提高定位便捷性。It can be seen that in this example, the base station X can accurately calculate its own position through the SS-TWR algorithm, and can use the UWB technology without additionally configuring the positioning technology, which reduces the complexity of implementation and improves the convenience of positioning.
进一步地,还可以包括如下步骤:Further, the following steps may also be included:
所述基站X根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。The base station X broadcasts the data frame X according to its own time slot number and its own position to join the positioning service system, and the positioning service refers to the data broadcast by the target device by receiving any M base stations of the positioning service system. frame to determine its own position, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
其中,M为3时,能够实现二维坐标定位,M为4时,能够实现三维坐标定位。Wherein, when M is 3, two-dimensional coordinate positioning can be realized, and when M is 4, three-dimensional coordinate positioning can be realized.
具体实现中,基站X实现热插拔功能,标签设备在某些情况下可以转化为基站适用。In the specific implementation, the base station X implements the hot-swap function, and the tag device can be converted into a base station for use in some cases.
在一个可能的示例中,所述定位服务系统还包括基站L,所述基站X的信号覆盖范围与所述基站L的信号覆盖范围相互独立,所述基站X的时隙编号与所述基站L支持配置相同的时隙编号。In a possible example, the positioning service system further includes a base station L, the signal coverage of the base station X and the signal coverage of the base station L are independent of each other, and the time slot number of the base station X and the base station L The configuration of the same time slot number is supported.
具体实现中,所述测距服务的信号覆盖范围通过添加基站进行拓展。In a specific implementation, the signal coverage of the ranging service is expanded by adding base stations.
具体实现中,一个基站拓展时,若该基站需要自动测绘自身位置,则需要保证至少有3个已标定位置的基站与新增基站处于可达状态,如此才能够准确定位。In the specific implementation, when a base station is expanded, if the base station needs to automatically map its own position, it needs to ensure that at least three base stations with calibrated positions and the new base station are reachable, so that accurate positioning can be achieved.
举例来说,如图2C所示的基站位置示例图进行说明。图中,X、Y是指位置坐标轴,每个圆圈表示一个基站,圆圈之间的连线表示两个基站的信号可达(即基站之间的直接通信距离为该连线长度),可简称为基站与基站可达。假设用户初始设置了坐标(0,0)、(2,0)、(0,2)三个位置处的基站,若添加坐标(1,1)处基站,由于该(1,1)处基站分别与坐标(0,0)、(2,0)、(0,2)处基站可达,因此该(1,1)处基站可以通过自动测绘实现位置标定。For example, the example diagram of the base station location shown in FIG. 2C is illustrated. In the figure, X and Y refer to the position coordinate axes, each circle represents a base station, and the connection between the circles indicates that the signals of the two base stations are reachable (that is, the direct communication distance between the base stations is the length of the connection). It is referred to as base station and base station reachable. Assuming that the user initially sets the base station at the coordinates (0,0), (2,0), (0,2), if the base station at the coordinate (1,1) is added, because the base station at (1,1) The base stations at coordinates (0,0), (2,0), and (0,2) are reachable respectively, so the base station at (1,1) can realize position calibration through automatic surveying and mapping.
可见,本示例中,基站支持热插拔方式进行定位服务网络的拓展,使用方便。It can be seen that, in this example, the base station supports hot-plugging to expand the location service network, which is convenient to use.
在本可能的示例中,若添加的所述基站与所述多个基站中的目标基站具有相同时隙编号,则添加的所述基站的信号覆盖范围与所述目标基站的信号覆盖范围相互独立。In this possible example, if the added base station and the target base station in the multiple base stations have the same time slot number, the signal coverage of the added base station and the signal coverage of the target base station are independent of each other .
如图2D所示,图上每个信号强度指示符表示一个基站,每个椭圆表示一对基站的信号覆盖范围。如图所示,由于信号覆盖范围限制,例如,基站A1可以听到周围A2,A3,A4的信息,因此,在A1处可以同时听到4个基站;基站A3可以听到周围A1,A2,A4,A5,A6的信息,因此,在A3处可以同时听到6个基站。又例如,虽然基站A5无法直接听到A1,但A5明显无法复用A1的时隙。因为在A3侧可以依次听到A1和A5,如果两者共用一个时隙会造成冲突。As shown in Figure 2D, each signal strength indicator on the graph represents a base station, and each ellipse represents the signal coverage of a pair of base stations. As shown in the figure, due to the limitation of signal coverage, for example, base station A1 can hear the information of surrounding A2, A3, and A4, therefore, 4 base stations can be heard at the same time at A1; base station A3 can hear surrounding A1, A2, Information of A4, A5, A6, therefore, 6 base stations can be heard at the same time at A3. For another example, although base station A5 cannot directly hear A1, A5 obviously cannot reuse the time slot of A1. Because A1 and A5 can be heard in turn on the A3 side, if the two share a time slot, it will cause a collision.
基站A1、A2只能收到基站A2、A1、A3、A4,收到的数据帧中只会有A1~A6的报告,从而导致A1、A2无法得知A7、A8的存在,这两对基站anchor可能被分配到同一时隙编号。但这样并不会导致信号出现干扰。假设基站信号覆盖半径为单位1,则如果两个基站的信号会互相干扰,则这2个基站的信号覆盖范围存在重叠,即两基站距离小于2.显然当两基站距离小于1时,基站可以直接收到另一个基站的数据帧,这两个基站不会被分配到同一个时隙。当两基站距离在1~2之间时,基站不可以直接收到另一个基站的数据帧,但基站可能通过收到数据帧中的编号报告得知另一个基站存在,从而避免时隙编号的冲突。Base stations A1 and A2 can only receive base stations A2, A1, A3, and A4, and there are only reports from A1 to A6 in the received data frames, so that A1 and A2 cannot know the existence of A7 and A8. These two pairs of base stations Anchors may be assigned to the same slot number. But this will not cause the signal to interfere. Assuming the base station signal coverage radius is unit 1, if the signals of the two base stations will interfere with each other, the signal coverage of the two base stations overlaps, that is, the distance between the two base stations is less than 2. Obviously, when the distance between the two base stations is less than 1, the base station can If a data frame from another base station is directly received, the two base stations will not be assigned to the same time slot. When the distance between the two base stations is between 1 and 2, the base station cannot directly receive the data frame of the other base station, but the base station may know that another base station exists by receiving the number report in the data frame, thereby avoiding the time slot number. conflict.
因此,如果任意两个基站(称为基站1与基站2)要发生时隙编号冲突,必须满足以下两个条件:Therefore, if any two base stations (called base station 1 and base station 2) are to have a time slot number conflict, the following two conditions must be met:
(a)基站1到基站2距离在1~2之间。(a) The distance from base station 1 to base station 2 is between 1 and 2.
(b)不存在基站3使基站3到基站1到基站2距离都<1。(b) There is no base station 3 so that the distances from base station 3 to base station 1 to base station 2 are all <1.
一个基站与其通信范围内的基站互通,定义A和C可达:A和C互通或(存在B使A和B可达,且B和C可达)。则A和C不可达<=>A和C不互通且(对任意基站B,B与A不可达或B与C不可达),不互通是不可达的必要条件,==>A和C不互通且(对任意基站B,B与A不互通或B与C不互通)==>A和C不互通且(不存在基站B,B与A互通且B与C互通)==>上述两个条件使得基站被布设时,如果 保证任意两个基站可达,即可保证时隙编号相同的基站不会互相冲突,此时网络中可以同时存在多个具有相同时隙编号的基站,且这些基站之间因信号不会重叠覆盖,没有干扰。这样就实现了网络的时隙空分复用,可以实现有限时隙数量下的无限的基站容量。A base station communicates with base stations within its communication range, and it is defined that A and C are reachable: A and C communicate with each other or (the existence of B makes A and B reachable, and B and C are reachable). Then A and C are unreachable <=> A and C are not interoperable and (for any base station B, B and A are not reachable or B and C are not reachable), non-intercommunication is a necessary condition for unreachability, ==> A and C are not reachable Intercommunication and (for any base station B, B and A do not communicate or B and C do not communicate) ==> A and C do not communicate and (there is no base station B, B communicates with A and B communicates with C) ==> the above two These conditions make it possible to ensure that any two base stations are reachable when the base stations are laid out, so that the base stations with the same time slot number will not conflict with each other. Since the signals between base stations will not overlap and cover, there will be no interference. In this way, the time slot space division multiplexing of the network is realized, and the infinite base station capacity under the limited number of time slots can be realized.
由可达的传递性,布设时从第二个基站开始保证新的基站与之前布设的至少一个基站互通即可保证这一点。Due to the reachable transferability, this can be ensured by ensuring that the new base station communicates with at least one previously deployed base station from the second base station during deployment.
具体实现中,在反向TDoA模式下,基站和标签的基本时序交互如下表所示,基站可以根据自身的时隙编号轮询向邻近基站和标签广播信息;而标签只收不发,通过得到基站互测距的信息和自身到各基站的距离信息得到自身的定位。如下表:基站标签RTDoA时序表:In the specific implementation, in the reverse TDoA mode, the basic timing interaction between the base station and the tag is shown in the following table. The base station can broadcast information to neighboring base stations and tags by polling according to its own time slot number; The mutual ranging information of the base stations and the distance information from the base stations to each base station obtain their own positioning. The following table: Base station label RTDoA timing table:
Figure PCTCN2021109014-appb-000010
Figure PCTCN2021109014-appb-000010
由于基站交互的数量直接会影响整个超级帧的时间长度,则可以规定在室内的任意一个基站,该基站所能听到的邻近基站数量必须小于N(通常情况下N<=6)。当一个基站能听到N或N以上基站发出的信息时,该基站进入睡眠状态在随机时长后醒来再次监听时隙信息。如果N=6,每6个基站轮询一次。轮询结束后有保护间隔时隙,并进行到下一个超级帧。Since the number of base station interactions directly affects the time length of the entire super frame, it can be specified that any base station indoors, the number of adjacent base stations that the base station can hear must be less than N (usually N<=6). When a base station can hear the information sent by N or more base stations, the base station enters a sleep state and wakes up after a random duration to monitor the time slot information again. If N=6, poll every 6 base stations. There is a guard interval slot after the polling and proceed to the next superframe.
202、获取所述基站X的第一时隙占用表。202. Obtain the first time slot occupation table of the base station X.
其中,第一时隙占用表包括基站X的邻近基站的各个基站的时隙状态,时隙状态可以为空闲状态或 者占用状态,例如,空闲状态可以用0表示,占用状态可以用1表示。具体实现中,基站X可以基于自身的覆盖范围确定其对应的第一时隙占用表。The first time slot occupancy table includes the time slot states of each base station adjacent to base station X, and the time slot state can be either an idle state or an occupied state. For example, the idle state can be represented by 0, and the occupied state can be represented by 1. In specific implementation, the base station X may determine its corresponding first time slot occupation table based on its own coverage.
203、依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表。203. Perform operations according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table.
其中,运算方式可以为逻辑运算或者物理运算,逻辑运算可以为或运算。The operation mode may be a logical operation or a physical operation, and the logical operation may be an OR operation.
在一个可能的示例中,上述步骤203,依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表,可以按照如下方式实施:In a possible example, in the above step 203, an operation is performed according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table, which can be implemented as follows:
依据所述多个时隙占用表以及所述第一时隙占用表进行或运算,得到所述第二时隙占用表。An OR operation is performed according to the plurality of time slot occupation tables and the first time slot occupation table to obtain the second time slot occupation table.
其中,可以将多个时隙占用表以及第一时隙占用表一起进行或运算,得到第二时隙占用表,通过该第二时隙占用表可以查询每一基站的时隙状态。Wherein, multiple timeslot occupancy tables and the first timeslot occupancy table can be ORed together to obtain a second timeslot occupancy table, and the timeslot status of each base station can be queried through the second timeslot occupancy table.
204、依据所述第二时隙占用表更新所述基站X的时隙编号。204. Update the time slot number of the base station X according to the second time slot occupation table.
其中,第二时隙占用表中可以看出每一基站的时隙状态,可以从第二时隙占用表确定出处于空闲状态的时隙,并可以实现将基站X的时隙编号更新为处于空闲状态的时隙对应的基站的时隙编号,如果第二时隙占用表中不存出未被占用的时隙,则基站X的时隙编号无法更新。Among them, the time slot status of each base station can be seen in the second time slot occupancy table, the time slot in the idle state can be determined from the second time slot occupancy table, and the time slot number of the base station X can be updated to be in the idle state. The time slot number of the base station corresponding to the time slot in the idle state. If there is no unoccupied time slot in the second time slot occupancy table, the time slot number of the base station X cannot be updated.
在一个可能的示例中,上述步骤204,依据所述第二时隙占用表更新所述基站X的时隙编号,可以包括如下步骤:In a possible example, the above step 204, updating the time slot number of the base station X according to the second time slot occupancy table, may include the following steps:
41、确定所述第二时隙占用表中未被占用的目标时隙,所述目标时隙为所述第二时隙占用表中未被占用的时隙中的任一时隙;41. Determine an unoccupied target time slot in the second time slot occupation table, where the target time slot is any time slot in the unoccupied time slots in the second time slot occupation table;
42、将所述基站X的时隙编号更新为所述目标时隙对应的目标基站的时隙编号。42. Update the time slot number of the base station X to the time slot number of the target base station corresponding to the target time slot.
其中,第二时隙占用表可以采用0表示空闲时隙,1表示被占用时隙,则可以确定第二时隙占用表中未被占用的目标时隙,即从第二时隙占用表中找出0,目标时隙为第二时隙占用表中未被占用的时隙中的任一时隙,进而,可以将基站X的时隙编号更新为目标时隙对应的目标基站的时隙编号。Wherein, the second time slot occupancy table may use 0 to represent an idle time slot and 1 to represent an occupied time slot, then the unoccupied target time slot in the second time slot occupation table can be determined, that is, from the second time slot occupation table Find 0, the target time slot is any time slot in the unoccupied time slot in the second time slot occupancy table, and then, the time slot number of the base station X can be updated to the time slot number of the target base station corresponding to the target time slot .
在一个可能的示例中,所述方法还包括:In a possible example, the method further includes:
B1、检测所述第二时隙占用表中是否存在未被占用的时隙;B1. Detect whether there is an unoccupied time slot in the second time slot occupancy table;
B2、在所述第二时隙占用表中存在未被占用的时隙时,执行所述确定所述第二时隙占用表中未被占用的目标时隙的步骤;B2. When there is an unoccupied time slot in the second time slot occupation table, the step of determining an unoccupied target time slot in the second time slot occupation table is performed;
B3、在所述第二时隙占用表中不存在未被占用的时隙时,确认所述基站X的时隙编号无法更新。B3. When there is no unoccupied time slot in the second time slot occupation table, confirm that the time slot number of the base station X cannot be updated.
具体实现中,可以检测第二时隙占用表中是否存在未被占用的时隙,即从第二时隙占用表中找出0,在第二时隙占用表中存在未被占用的时隙时,则可以执行步骤41,否则,在第二时隙占用表中不存在未被占用的时隙时,确认基站X的时隙编号无法更新。In the specific implementation, it can be detected whether there are unoccupied time slots in the second time slot occupation table, that is, 0 is found from the second time slot occupation table, and there are unoccupied time slots in the second time slot occupation table. If it is, step 41 can be executed, otherwise, when there is no unoccupied time slot in the second time slot occupancy table, it is confirmed that the time slot number of the base station X cannot be updated.
本申请实施例中,每个基站可以在依次对外广播的时候也需要将自身所侦听到的时隙占用表上传。In this embodiment of the present application, each base station may also need to upload the time slot occupancy table that it has sensed when broadcasting to the outside world in sequence.
举例说明下,如图2D所示,如下提供基站A1~A8中每一基站的时隙占用表,具体如下:By way of example, as shown in FIG. 2D , the time slot occupation table of each base station in base stations A1 to A8 is provided as follows, and the details are as follows:
A1侧时隙占用表为:1 1 1 1 0 0 0 0The time slot occupancy table on the A1 side is: 1 1 1 1 0 0 0 0
A2侧时隙占用表为:1 1 1 1 0 0 0 0The time slot occupancy table on the A2 side is: 1 1 1 1 0 0 0 0
A3侧时隙占用表为:1 1 1 1 1 1 0 0The time slot occupancy table on the A3 side is: 1 1 1 1 1 1 0 0
A4侧时隙占用表为:1 1 1 1 1 1 0 0The time slot occupancy table on the A4 side is: 1 1 1 1 1 1 0 0
A5侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A5 side is: 0 0 1 1 1 1 1 1
A6侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A6 side is: 0 0 1 1 1 1 1 1
A7侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A7 side is: 0 0 0 0 1 1 1 1
A8侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A8 side is: 0 0 0 0 1 1 1 1
进而,可以通过时隙占用表判断任一基站是否能够占用该时隙,具体为:该基站得到周围所有邻近基站的时隙占用表,并将其做“或”逻辑运算。Furthermore, whether any base station can occupy the time slot can be judged through the time slot occupancy table, specifically: the base station obtains the time slot occupancy tables of all surrounding neighboring base stations, and performs an OR logic operation on them.
再举例说明下,比如,基站A5侧需要做“或”的时隙表为:Let's take another example, for example, the time slot table that needs to be "ORed" on the A5 side of the base station is:
A3侧时隙占用表为:1 1 1 1 1 1 0 0The time slot occupancy table on the A3 side is: 1 1 1 1 1 1 0 0
A4侧时隙占用表为:1 1 1 1 1 1 0 0The time slot occupancy table on the A4 side is: 1 1 1 1 1 1 0 0
A5侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A5 side is: 0 0 1 1 1 1 1 1
A6侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A6 side is: 0 0 1 1 1 1 1 1
A7侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A7 side is: 0 0 0 0 1 1 1 1
A8侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A8 side is: 0 0 0 0 1 1 1 1
具体实现中,可以将A3、A4、A5、A6、A7以及A8的时隙占用表进行或运算之后,得到新的时隙占用表为:1 1 1 1 1 1 1 1,则可以看出,所有时隙都被占用,A5的时隙编号无法更新。In the specific implementation, the time slot occupancy table of A3, A4, A5, A6, A7 and A8 can be ORed to obtain a new time slot occupancy table: 1 1 1 1 1 1 1 1, it can be seen that, All slots are occupied and the slot number of A5 cannot be updated.
再举例说明下,比如A7侧需要做“或”的时隙表为Let's take another example, for example, the time slot table that needs to be "OR" on the A7 side is:
A5侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A5 side is: 0 0 1 1 1 1 1 1
A6侧时隙占用表为:0 0 1 1 1 1 1 1The time slot occupancy table on the A6 side is: 0 0 1 1 1 1 1 1
A7侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A7 side is: 0 0 0 0 1 1 1 1
A8侧时隙占用表为:0 0 0 0 1 1 1 1The time slot occupancy table on the A8 side is: 0 0 0 0 1 1 1 1
具体实现中,可以将A5、A6、A7以及A8的时隙占用表进行或运算之后,得到新的时隙占用表为:0 0 1 1 1 1 1 1,则可以看出,前两个时隙没有被占用,则A7的时隙编号可以改成A1的时隙编号,同理,A8的时隙编号可以改为A2的时隙编号,通过此种方法能保证在空间上任意一点,所有基站的编号都不相同,不会造成时隙冲突。In the specific implementation, the time slot occupancy table of A5, A6, A7 and A8 can be ORed to obtain a new time slot occupancy table: 0 0 1 1 1 1 1 1, it can be seen that the first two times If the slot is not occupied, the time slot number of A7 can be changed to the time slot number of A1. Similarly, the time slot number of A8 can be changed to the time slot number of A2. This method can ensure that at any point in space, all The numbers of the base stations are not the same, which will not cause time slot conflicts.
在一个可能的示例中,上述步骤201之前,可以包括如下步骤:In a possible example, before the above step 201, the following steps may be included:
C1、获取目标虹膜图像;C1. Obtain the target iris image;
C2、对所述目标虹膜图像进行图像质量评价,得到目标图像质量评价值;C2, performing image quality evaluation on the target iris image to obtain a target image quality evaluation value;
C3、在所述目标图像质量评价值大于预设图像质量评价阈值时,将所述目标虹膜图像与预设虹膜模板进行匹配;C3, when the target image quality evaluation value is greater than the preset image quality evaluation threshold, matching the target iris image with the preset iris template;
C4、在所述目标虹膜图像与所述预设虹膜模板匹配成功时,执行步骤201。C4. Step 201 is executed when the target iris image is successfully matched with the preset iris template.
其中,预设图像质量评价阈值、预设虹膜模板均可以由用户自行设置或者系统默认。具体实现中,可以通过摄像头获取目标虹膜图像,并采用至少一个图像质量评价指标对目标虹膜图像进行图像质量评价,得到目标图像质量评价值,图像质量评价指标可以为以下至少一种:信息熵、平均梯度、边缘保持度、清晰度等等,在此不做限定。进而,可以在目标图像质量评价值大于预设图像质量评价阈值时,将目标虹膜图像与预设虹膜模板进行匹配,且在目标虹膜图像与预设虹膜模板匹配成功时,执行步骤201,否则,则可以提示重新采集虹膜图像,如此,有助于提升虹膜识别效率。The preset image quality evaluation threshold and the preset iris template can be set by the user or the system defaults. In the specific implementation, the target iris image can be obtained through the camera, and at least one image quality evaluation index is used to evaluate the image quality of the target iris image to obtain the target image quality evaluation value. The image quality evaluation index can be at least one of the following: information entropy, Average gradient, edge retention, sharpness, etc., are not limited here. Further, when the target image quality evaluation value is greater than the preset image quality evaluation threshold, the target iris image and the preset iris template may be matched, and when the target iris image and the preset iris template are successfully matched, perform step 201, otherwise, Then, it can prompt to re-collect the iris image, which helps to improve the efficiency of iris recognition.
进一步地,上述步骤C2,对所述目标虹膜图像进行图像质量评价,得到目标图像质量评价值,可以包括如下步骤:Further, in the above step C2, image quality evaluation is performed on the target iris image to obtain a target image quality evaluation value, which may include the following steps:
C21、将所述目标虹膜图像进行多尺度特征分解,得到低频特征分量图像和高频特征分量图像;C21, carrying out multi-scale feature decomposition on the target iris image to obtain a low-frequency feature component image and a high-frequency feature component image;
C22、将所述低频特征分量图像划分为多个区域;C22. Divide the low-frequency feature component image into multiple regions;
C23、确定所述多个区域中每一区域对应的信息熵,得到多个信息熵;C23. Determine the information entropy corresponding to each area in the multiple areas, and obtain multiple information entropies;
C24、依据所述多个信息熵确定平均信息熵和目标均方差;C24. Determine the average information entropy and the target mean square error according to the plurality of information entropies;
C25、确定所述目标均方差对应的目标微调调节系数;C25. Determine the target fine-tuning adjustment coefficient corresponding to the target mean square error;
C26、依据所述目标微调调节系数对所述平均信息熵进行调节,得到目标信息熵;C26, adjusting the average information entropy according to the target fine-tuning adjustment coefficient to obtain target information entropy;
C27、按照预设的信息熵与评价值之间的映射关系,确定所述目标信息熵对应的第一评价值;C27, according to the preset mapping relationship between the information entropy and the evaluation value, determine the first evaluation value corresponding to the target information entropy;
C28、获取所述目标虹膜图像对应的目标第一拍摄参数;C28, obtain the target first shooting parameter corresponding to the target iris image;
C29、按照预设的拍摄参数与低频权重之间的映射关系,确定所述目标第一拍摄参数对应的目标低频权重,依据该目标低频权重确定目标高频权重;C29, according to the mapping relationship between the preset shooting parameters and the low-frequency weight, determine the target low-frequency weight corresponding to the first shooting parameter of the target, and determine the target high-frequency weight according to the target low-frequency weight;
C30、依据所述高频特征分量图像确定目标特征点分布密度;C30. Determine the distribution density of target feature points according to the high-frequency feature component image;
C31、按照预设的特征点分布密度与评价值之间的映射关系,确定所述目标特征点分布密度对应的第二评价值;C31. Determine the second evaluation value corresponding to the distribution density of the target feature points according to the mapping relationship between the preset feature point distribution density and the evaluation value;
C32、依据所述第一评价值、所述第二评价值、所述目标低频权重和所述目标高频权重进行加权运算,得到所述目标虹膜图像的目标图像质量评价值。C32. Perform a weighting operation according to the first evaluation value, the second evaluation value, the target low frequency weight and the target high frequency weight to obtain a target image quality evaluation value of the target iris image.
具体实现中,可以采用多尺度分解算法将目标虹膜图像进行多尺度特征分解,得到低频特征分量图像和高频特征分量图像,多尺度分解算法可以为以下至少一种:金字塔变换算法、小波变换、轮廓波变换、剪切波变换等等,在此不做限定,具体实现中,低频特征分量图像的数量可以为1个,而高频特征分量图像的数量可以为1个或者多个。进一步地,可以将低频特征分量图像划分为多个区域,每一区域的面积大小相同或者不同。低频特征分量图像反映了图像的主体特征,可以占据图像的主要能量,而高频特征分量图像反映了图像的细节信息。In a specific implementation, a multi-scale decomposition algorithm can be used to decompose the target iris image into multi-scale features to obtain a low-frequency feature component image and a high-frequency feature component image. The multi-scale decomposition algorithm can be at least one of the following: pyramid transform algorithm, wavelet transform, Contourlet transform, shearlet transform, etc., are not limited here. In specific implementation, the number of low-frequency feature component images may be one, and the number of high-frequency feature component images may be one or more. Further, the low-frequency feature component image can be divided into multiple regions, and the area of each region is the same or different. The low-frequency feature component image reflects the main features of the image and can occupy the main energy of the image, while the high-frequency feature component image reflects the detailed information of the image.
进一步地,可以确定多个区域中每一区域对应的信息熵,得到多个信息熵,依据多个信息熵确定平均信息熵和目标均方差,信息熵可以在一定程度上反映了图像信息多少,均方差则可以反映图像信息的稳定性。中可以预先存储预设均方差与微调调节系数之间的映射关系,进而,可以依据该映射关系确定目标均方差对应的目标微调调节系数,本申请实施例中,微调调节系数的取值范围可以为-0.075~0.075。Further, the information entropy corresponding to each area in the multiple areas can be determined, and multiple information entropies can be obtained, and the average information entropy and the target mean square error can be determined according to the multiple information entropies, and the information entropy can reflect the image information to a certain extent. The mean square error can reflect the stability of image information. The mapping relationship between the preset mean square error and the fine-tuning adjustment coefficient may be pre-stored, and further, the target fine-tuning adjustment coefficient corresponding to the target mean square error may be determined according to the mapping relationship. In the embodiment of the present application, the value range of the fine-tuning adjustment coefficient may be is -0.075 to 0.075.
进一步地,可以依据目标微调调节系数对平均信息熵进行调节,得到目标信息熵,目标信息熵=(1+目标微调调节系数)*平均信息熵。中可以预先存储预设的信息熵与评价值之间的映射关系,进而,可以按照预设的信息熵与评价值之间的映射关系,确定目标信息熵对应的第一评价值。Further, the average information entropy can be adjusted according to the target fine-tuning adjustment coefficient to obtain the target information entropy, where the target information entropy=(1+target fine-tuning adjustment coefficient)*average information entropy. The preset mapping relationship between the information entropy and the evaluation value may be stored in advance, and further, the first evaluation value corresponding to the target information entropy may be determined according to the preset mapping relationship between the information entropy and the evaluation value.
另外,可以获取目标虹膜图像对应的目标第一拍摄参数,目标第一拍摄参数参见上述描述,在此不再赘述。中还可以预先存储预设的拍摄参数与低频权重之间的映射关系,进而,可以按照预设的拍摄参数与低频权重之间的映射关系,确定目标第一拍摄参数对应的目标低频权重,依据该目标低频权重确定目标高频权重,目标低频权重+目标高频权重=1。In addition, the first shooting parameter of the target corresponding to the target iris image may be obtained, and the first shooting parameter of the target can be referred to the above description, which will not be repeated here. The mapping relationship between the preset shooting parameters and the low-frequency weights may also be pre-stored in the . The target low frequency weight determines the target high frequency weight, and the target low frequency weight+target high frequency weight=1.
进一步地,可以依据高频特征分量图像确定目标特征点分布密度,目标特征点分布密度=高频特征分量图像的特征点总数量/区域面积。中还可以预先存储预设的特征点分布密度与评价值之间的映射关系,进而,可以按照预设的特征点分布密度与评价值之间的映射关系,确定目标特征点分布密度对应的第二评价值,最后,依据第一评价值、第二评价值、目标低频权重和目标高频权重进行加权运算,得到目标虹膜图像的目标图像质量评价值,具体如下:Further, the distribution density of target feature points can be determined according to the high-frequency feature component image, where the target feature point distribution density=the total number of feature points of the high-frequency feature component image/area area. The preset mapping relationship between the distribution density of feature points and the evaluation value can also be pre-stored, and then, according to the preset mapping relationship between the distribution density of feature points and the evaluation value, the first target feature point distribution density corresponding to the target feature point distribution density can be determined. The second evaluation value, and finally, according to the first evaluation value, the second evaluation value, the target low-frequency weight and the target high-frequency weight, a weighted operation is performed to obtain the target image quality evaluation value of the target iris image, as follows:
目标图像质量评价值=第一评价值*目标低频权重+第二评价值*目标高频权重Target image quality evaluation value = first evaluation value * target low frequency weight + second evaluation value * target high frequency weight
如此,可以基于目标虹膜图像的低频分量以及高频分量两个维度进行图像质量评价,能够精准得到与拍摄环境相宜的评价参数,即目标图像质量评价值。In this way, the image quality evaluation can be performed based on the two dimensions of the low-frequency component and the high-frequency component of the target iris image, and an evaluation parameter suitable for the shooting environment, that is, the target image quality evaluation value, can be accurately obtained.
可以看出,本申请实施例中,应用于基站X,基站X为定位服务系统中的任一基站,定位服务系统包括K个基站,K为大于1的整数,基站X通过侦听定位服务系统中属于基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征K个基站中每一基站的时隙状态,获取基站X的第一时隙占用表,依据多个时隙占用表以及第一时隙占用表进行运算,得到第二时隙占用表,依据第二时隙占用表更新基站X的时隙编号。如此,能够通过合理的利用时隙动态编号,在保证任何一个基站邻近基站不同编号的前提下,实现在同一空间内有限时隙的空分复用,可以在有限时隙数量下实现无限基站容量。It can be seen that the embodiment of the present application is applied to base station X, base station X is any base station in the positioning service system, the positioning service system includes K base stations, K is an integer greater than 1, and base station X listens to the positioning service system In the data frame of the neighboring base stations belonging to base station X, we can obtain the time slot occupancy table, and obtain multiple time slot occupancy tables. Each base station corresponds to a time slot occupancy table. Slot state, obtain the first time slot occupancy table of base station X, perform operations according to multiple time slot occupancy tables and the first time slot occupancy table, obtain the second time slot occupancy table, and update the base station X according to the second time slot occupancy table. slot number. In this way, by rationally using the dynamic numbering of time slots, on the premise of ensuring that any base station is adjacent to the base station with different numbers, the space division multiplexing of limited time slots in the same space can be realized, and the capacity of unlimited base stations can be realized under the limited number of time slots. .
与上述实施例一致地,请参阅图3,图3是本申请实施例提供的一种电子设备的结构示意图,如图所示,该电子设备包括处理器、存储器、通信接口以及一个或多个程序,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,所述电子设备可以为基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,本申请实施例中,上述程序包括用于执行以下步骤的指令:Consistent with the above-mentioned embodiment, please refer to FIG. 3 , which is a schematic structural diagram of an electronic device provided by an embodiment of the present application. As shown in the figure, the electronic device includes a processor, a memory, a communication interface, and one or more A program, the one or more programs are stored in the memory and are configured to be executed by the processor, the electronic device may be a base station X, and the base station X is any base station in a positioning service system, and the positioning The service system includes K base stations, and the K is an integer greater than 1. In this embodiment of the present application, the above program includes instructions for executing the following steps:
所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态;The base station X obtains a time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table, and each time slot occupancy table. A slot occupancy table representing the slot status of each of the K base stations;
获取所述基站X的第一时隙占用表;obtaining the first time slot occupancy table of the base station X;
依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;performing an operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table;
依据所述第二时隙占用表更新所述基站X的时隙编号。The time slot number of the base station X is updated according to the second time slot occupation table.
在一个可能的示例中,在所述依据所述第二时隙占用表更新所述基站X的时隙编号方面,上述程序包括用于执行以下步骤的指令:In a possible example, in the aspect of updating the time slot number of the base station X according to the second time slot occupancy table, the above program includes instructions for performing the following steps:
确定所述第二时隙占用表中未被占用的目标时隙,所述目标时隙为所述第二时隙占用表中未被占用的时隙中的任一时隙;determining an unoccupied target time slot in the second time slot occupation table, where the target time slot is any time slot in the unoccupied time slots in the second time slot occupation table;
将所述基站X的时隙编号更新为所述目标时隙对应的目标基站的时隙编号。The time slot number of the base station X is updated to the time slot number of the target base station corresponding to the target time slot.
在一个可能的示例中,上述程序还包括用于执行以下步骤的指令:In one possible example, the above program further includes instructions for performing the following steps:
检测所述第二时隙占用表中是否存在未被占用的时隙;Detecting whether there is an unoccupied time slot in the second time slot occupancy table;
在所述第二时隙占用表中存在未被占用的时隙时,执行所述确定所述第二时隙占用表中未被占用的目标时隙的步骤;When there is an unoccupied time slot in the second time slot occupancy table, performing the step of determining an unoccupied target time slot in the second time slot occupancy table;
在所述第二时隙占用表中不存在未被占用的时隙时,确认所述基站X的时隙编号无法更新。When there is no unoccupied time slot in the second time slot occupation table, it is confirmed that the time slot number of the base station X cannot be updated.
在一个可能的示例中,在所述依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表方面,上述程序包括用于执行以下步骤的指令:In a possible example, in the aspect of obtaining the second time slot occupancy table by performing operations according to the plurality of time slot occupancy tables and the first time slot occupancy table, the above program includes instructions for executing the following steps :
依据所述多个时隙占用表以及所述第一时隙占用表进行或运算,得到所述第二时隙占用表。An OR operation is performed according to the plurality of time slot occupation tables and the first time slot occupation table to obtain the second time slot occupation table.
在一个可能的示例中,所述基站X的邻近基站的数量处于预设范围。In a possible example, the number of neighboring base stations of the base station X is within a preset range.
在一个可能的示例中,所述预设范围包括下限阈值和上限阈值,所述下限阈值小于所述上限阈值,所述下限阈值为4,所述上限阈值为6。In a possible example, the preset range includes a lower threshold and an upper threshold, the lower threshold is smaller than the upper threshold, the lower threshold is 4, and the upper threshold is 6.
在一个可能的示例中,所述定位服务系统还包括基站Y、基站J和基站W;在所述通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表之前,上述程序还包括用于执行以下步骤的指令:In a possible example, the positioning service system further includes base station Y, base station J, and base station W; in the positioning service system, the time slot is obtained by listening to data frames of neighboring base stations belonging to the base station X in the positioning service system. Before obtaining the occupancy table of multiple time slots, the above program also includes instructions for performing the following steps:
所述基站X在预设时间段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站W的数据帧W,所述预设时间段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;The base station X listens to the data frame within a preset time period, and listens to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame W of the base station W. The time period is a continuous preset number of positioning service periods, and the positioning service period is the working period of the positioning service system;
所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧W的时隙占用情况配置自身的时隙编号。The base station X configures its own time slot number according to the time slot occupation of the data frame Y, the data frame J and the data frame W.
上述主要从方法侧执行过程的角度对本申请实施例的方案进行了介绍。可以理解的是,电子设备为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所提供的实施例描述的各示例的单元及算法步骤,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。The foregoing mainly introduces the solutions of the embodiments of the present application from the perspective of the method-side execution process. It can be understood that, in order to realize the above-mentioned functions, the electronic device includes corresponding hardware structures and/or software modules for executing each function. Those skilled in the art should easily realize that the present application can be implemented in hardware or in the form of a combination of hardware and computer software, in combination with the units and algorithm steps of each example described in the embodiments provided herein. Whether a function is performed by hardware or computer software driving hardware 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 this embodiment of the present application, the electronic device may be divided into functional units according to the foregoing method examples. For example, each functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units. It should be noted that the division of units in the embodiments of the present application is schematic, and is only a logical function division, and other division methods may be used in actual implementation.
图4是本申请实施例中所涉及的时隙更新装置400的功能单元组成框图。该时隙更新装置400,应用于基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,所述装置包括:侦听单元401、获取单元402、运算单元403和更新单元404,其中,FIG. 4 is a block diagram of functional units of the time slot updating apparatus 400 involved in the embodiment of the present application. The time slot updating apparatus 400 is applied to a base station X, where the base station X is any base station in a positioning service system, and the positioning service system includes K base stations, where K is an integer greater than 1, and the apparatus includes: The listening unit 401, the acquiring unit 402, the arithmetic unit 403 and the updating unit 404, wherein,
所述侦听单元401,用于通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表包括所述K个基站中每一基站的时隙状态;The listening unit 401 is configured to obtain a time slot occupancy table by listening to data frames of neighboring base stations belonging to the base station X in the positioning service system, and obtain a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table. a slot occupancy table, where each time slot occupancy table includes the time slot status of each of the K base stations;
所述获取单元402,用于获取所述基站X的第一时隙占用表;The obtaining unit 402 is configured to obtain the first time slot occupancy table of the base station X;
所述运算单元403,用于依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;The operation unit 403 is configured to perform an operation according to the plurality of time slot occupation tables and the first time slot occupation table to obtain a second time slot occupation table;
所述更新单元404,用于依据所述第二时隙占用表实现所述基站X的时隙编号。The updating unit 404 is configured to realize the time slot number of the base station X according to the second time slot occupation table.
在一个可能的示例中,在所述依据所述第二时隙占用表更新所述基站X的时隙编号方面,所述更新单元404具体用于:In a possible example, in the aspect of updating the time slot number of the base station X according to the second time slot occupation table, the updating unit 404 is specifically configured to:
确定所述第二时隙占用表中未被占用的目标时隙,所述目标时隙为所述第二时隙占用表中未被占用的时隙中的任一时隙;determining an unoccupied target time slot in the second time slot occupation table, where the target time slot is any time slot in the unoccupied time slots in the second time slot occupation table;
将所述基站X的时隙编号更新为所述目标时隙对应的目标基站的时隙编号。The time slot number of the base station X is updated to the time slot number of the target base station corresponding to the target time slot.
在一个可能的示例中,所述更新单元404还具体用于:In a possible example, the updating unit 404 is further specifically configured to:
检测所述第二时隙占用表中是否存在未被占用的时隙;Detecting whether there is an unoccupied time slot in the second time slot occupancy table;
在所述第二时隙占用表中存在未被占用的时隙时,执行所述确定所述第二时隙占用表中未被占用的目标时隙的步骤;When there is an unoccupied time slot in the second time slot occupancy table, performing the step of determining an unoccupied target time slot in the second time slot occupancy table;
在所述第二时隙占用表中不存在未被占用的时隙时,确认所述基站X的时隙编号无法更新。When there is no unoccupied time slot in the second time slot occupation table, it is confirmed that the time slot number of the base station X cannot be updated.
在一个可能的示例中,在所述依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表方面,所述运算单元403具体用于:In a possible example, in the aspect of obtaining the second time slot occupation table by performing operations according to the multiple time slot occupation tables and the first time slot occupation table, the operation unit 403 is specifically configured to:
依据所述多个时隙占用表以及所述第一时隙占用表进行或运算,得到所述第二时隙占用表。An OR operation is performed according to the plurality of time slot occupation tables and the first time slot occupation table to obtain the second time slot occupation table.
在一个可能的示例中,所述基站X的邻近基站的数量处于预设范围。In a possible example, the number of neighboring base stations of the base station X is within a preset range.
在一个可能的示例中,所述预设范围包括下限阈值和上限阈值,所述下限阈值小于所述上限阈值,所述下限阈值为4,所述上限阈值为6。In a possible example, the preset range includes a lower threshold and an upper threshold, the lower threshold is smaller than the upper threshold, the lower threshold is 4, and the upper threshold is 6.
在一个可能的示例中,所述定位服务系统还包括基站Y、基站J和基站W;所述装置还用于实现如下功能:In a possible example, the positioning service system further includes base station Y, base station J, and base station W; the apparatus is further configured to implement the following functions:
所述侦听单元401,还用于在预设时间段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站W的数据帧W,所述预设时间段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;The listening unit 401 is further configured to listen to the data frame within a preset time period, and to listen to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame of the base station W W, the preset time period is a continuous preset number of positioning service periods, and the positioning service period is the working period of the positioning service system;
所述运算单元403,还用于根据所述数据帧Y、所述数据帧J和所述数据帧W的时隙占用情况配置自身的时隙编号。The operation unit 403 is further configured to configure its own time slot number according to the time slot occupation of the data frame Y, the data frame J and the data frame W.
需要说明的是,侦听单元401、获取单元402、运算单元403和更新单元404均可通过处理器实现。It should be noted that, the listening unit 401 , the obtaining unit 402 , the computing unit 403 and the updating unit 404 can all be implemented by a processor.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。Embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes the computer to execute part or all of the steps of any method described in the above method embodiments , the above computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。Embodiments of the present application further provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute any one of the method embodiments described above. some or all of the steps of the method. The computer program product may be a software installation package, and the computer includes an electronic device.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the sake of simple description, the foregoing method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Because in accordance with the present application, certain steps may be performed in other orders or concurrently. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference may be made to the relevant descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the apparatus embodiments described above are only illustrative, for example, the division of the above-mentioned units is only a logical function division, and other division methods may be used in actual implementation, for example, multiple units or components may be combined or integrated. to another system, or some features can be ignored, or not implemented. 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 or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需 要选择其中的部分或者全部单元来实现本实施例方案的目的。The above-mentioned 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.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically alone, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware, or may be implemented in the form of software functional units.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。The above-mentioned integrated units, if implemented in the form of software functional units and sold or used as independent products, may be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application can be embodied in the form of a software product in essence, or the part that contributes to the prior art, or all or part of the technical solution, and the computer software product is stored in a memory, Several instructions are included to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the above-mentioned methods in the various embodiments of the present application. The aforementioned memory includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and other media that can store program codes.
本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通过程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(英文:Read-Only Memory,简称:ROM)、随机存取器(英文:Random Access Memory,简称:RAM)、磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable memory, and the memory can include: a flash disk , Read-only memory (English: Read-Only Memory, referred to as: ROM), random access device (English: Random Access Memory, referred to as: RAM), magnetic disk or optical disk, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the present application are described in detail above, and specific examples are used in this paper to illustrate the principles and implementations of the present application. The descriptions of the above embodiments are only used to help understand the methods and core ideas of the present application; at the same time, for Persons of ordinary skill in the art, based on the idea of the present application, will have changes in the specific implementation manner and application scope. In summary, the contents of this specification should not be construed as limitations on the present application.

Claims (20)

  1. 一种时隙更新方法,其特征在于,应用于基站X,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,所述方法包括:A time slot update method, characterized in that it is applied to a base station X, where the base station X is any base station in a positioning service system, the positioning service system includes K base stations, the K is an integer greater than 1, and the The methods described include:
    所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态;The base station X obtains a time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table, and each time slot occupancy table. A slot occupancy table representing the slot status of each of the K base stations;
    获取所述基站X的第一时隙占用表;obtaining the first time slot occupancy table of the base station X;
    依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;performing an operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table;
    依据所述第二时隙占用表更新所述基站X的时隙编号。The time slot number of the base station X is updated according to the second time slot occupation table.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method according to claim 1, wherein the method further comprises:
    检测所述第二时隙占用表中是否存在未被占用的时隙;Detecting whether there is an unoccupied time slot in the second time slot occupancy table;
    在所述第二时隙占用表中存在未被占用的时隙时,执行所述确定所述第二时隙占用表中未被占用的目标时隙的步骤;When there is an unoccupied time slot in the second time slot occupancy table, performing the step of determining an unoccupied target time slot in the second time slot occupancy table;
    在所述第二时隙占用表中不存在未被占用的时隙时,确认所述基站X的时隙编号无法更新。When there is no unoccupied time slot in the second time slot occupation table, it is confirmed that the time slot number of the base station X cannot be updated.
  3. 根据权利要求1或2所述的方法,其特征在于,所述依据所述第二时隙占用表更新所述基站X的时隙编号,包括:The method according to claim 1 or 2, wherein the updating the time slot number of the base station X according to the second time slot occupancy table comprises:
    确定所述第二时隙占用表中未被占用的目标时隙,所述目标时隙为所述第二时隙占用表中未被占用的时隙中的任一时隙;determining an unoccupied target time slot in the second time slot occupation table, where the target time slot is any time slot in the unoccupied time slots in the second time slot occupation table;
    将所述基站X的时隙编号更新为所述目标时隙对应的目标基站的时隙编号。The time slot number of the base station X is updated to the time slot number of the target base station corresponding to the target time slot.
  4. 根据权利要求1-3任一项所述的方法,其特征在于,所述依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表,包括:The method according to any one of claims 1-3, wherein the operation is performed according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table, comprising: :
    依据所述多个时隙占用表以及所述第一时隙占用表进行或运算,得到所述第二时隙占用表。An OR operation is performed according to the plurality of time slot occupation tables and the first time slot occupation table to obtain the second time slot occupation table.
  5. 根据权利要求1-4任一项所述的方法,其特征在于,所述基站X的邻近基站的数量处于预设范围。The method according to any one of claims 1-4, wherein the number of neighboring base stations of the base station X is within a preset range.
  6. 根据权利要求5所述的方法,其特征在于,所述预设范围包括下限阈值和上限阈值,所述下限阈值小于所述上限阈值,所述下限阈值为4,所述上限阈值为6。The method according to claim 5, wherein the preset range includes a lower threshold and an upper threshold, the lower threshold is smaller than the upper threshold, the lower threshold is 4, and the upper threshold is 6.
  7. 根据权利要求6所述的方法,其特征在于,所述定位服务系统还包括基站Y、基站J和基站W;在所述通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表之前,所述方法还包括:The method according to claim 6, wherein the positioning service system further comprises base station Y, base station J and base station W; The data frame is obtained to obtain a time slot occupation table, and before obtaining a plurality of time slot occupation tables, the method further includes:
    所述基站X在预设时间段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站W的数据帧W,所述预设时间段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;The base station X listens to the data frame within a preset time period, and listens to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame W of the base station W. The time period is a continuous preset number of positioning service periods, and the positioning service period is the working period of the positioning service system;
    所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧W的时隙占用情况配置自身的时隙编号。The base station X configures its own time slot number according to the time slot occupation of the data frame Y, the data frame J and the data frame W.
  8. 根据权利要求1-7任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 1-7, wherein the method further comprises:
    获取目标虹膜图像;Get the target iris image;
    对所述目标虹膜图像进行图像质量评价,得到目标图像质量评价值;Perform image quality evaluation on the target iris image to obtain a target image quality evaluation value;
    在所述目标图像质量评价值大于预设图像质量评价阈值时,将所述目标虹膜图像与预设虹膜模板进行匹配;When the target image quality evaluation value is greater than a preset image quality evaluation threshold, matching the target iris image with a preset iris template;
    在所述目标虹膜图像与所述预设虹膜模板匹配成功时,执行所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表的步骤。When the target iris image is successfully matched with the preset iris template, execute that the base station X obtains the time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains Steps for multiple slot occupancy tables.
  9. 根据权利要求8所述的方法,其特征在于,所述对所述目标虹膜图像进行图像质量评价,得到目标图像质量评价值,包括:The method according to claim 8, wherein the performing image quality evaluation on the target iris image to obtain a target image quality evaluation value, comprising:
    将所述目标虹膜图像进行多尺度特征分解,得到低频特征分量图像和高频特征分量图像;Carrying out multi-scale feature decomposition on the target iris image to obtain a low-frequency feature component image and a high-frequency feature component image;
    将所述低频特征分量图像划分为多个区域;dividing the low-frequency feature component image into a plurality of regions;
    确定所述多个区域中每一区域对应的信息熵,得到多个信息熵;Determine the information entropy corresponding to each area in the multiple areas to obtain multiple information entropies;
    依据所述多个信息熵确定平均信息熵和目标均方差;determining an average information entropy and a target mean square error according to the plurality of information entropies;
    确定所述目标均方差对应的目标微调调节系数;determining the target fine-tuning adjustment coefficient corresponding to the target mean square error;
    依据所述目标微调调节系数对所述平均信息熵进行调节,得到目标信息熵;Adjusting the average information entropy according to the target fine-tuning adjustment coefficient to obtain a target information entropy;
    按照预设的信息熵与评价值之间的映射关系,确定所述目标信息熵对应的第一评价值;According to the preset mapping relationship between the information entropy and the evaluation value, determine the first evaluation value corresponding to the target information entropy;
    获取所述目标虹膜图像对应的目标第一拍摄参数;obtaining the target first shooting parameter corresponding to the target iris image;
    按照预设的拍摄参数与低频权重之间的映射关系,确定所述目标第一拍摄参数对应的目标低频权重,依据该目标低频权重确定目标高频权重;According to the mapping relationship between the preset shooting parameters and the low-frequency weight, the target low-frequency weight corresponding to the first shooting parameter of the target is determined, and the target high-frequency weight is determined according to the target low-frequency weight;
    依据所述高频特征分量图像确定目标特征点分布密度;determining the distribution density of target feature points according to the high-frequency feature component image;
    按照预设的特征点分布密度与评价值之间的映射关系,确定所述目标特征点分布密度对应的第二评价值;According to the preset mapping relationship between the distribution density of feature points and the evaluation value, the second evaluation value corresponding to the distribution density of the target feature point is determined;
    依据所述第一评价值、所述第二评价值、所述目标低频权重和所述目标高频权重进行加权运算,得到所述目标虹膜图像的目标图像质量评价值。A weighted operation is performed according to the first evaluation value, the second evaluation value, the target low frequency weight and the target high frequency weight, so as to obtain a target image quality evaluation value of the target iris image.
  10. 一种基站X,其特征在于,所述基站X为定位服务系统中的任一基站,所述定位服务系统包括K个基站,所述K为大于1的整数,所述基站X包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行以下方法中的步骤的指令:A base station X, characterized in that the base station X is any base station in a positioning service system, the positioning service system includes K base stations, the K is an integer greater than 1, and the base station X includes a processor, a memory, a communication interface, and one or more programs stored in the memory and configured to be executed by the processor, the program comprising means for performing steps in the following methods instruction:
    所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表,每一基站对应一个时隙占用表,每一时隙占用表表征所述K个基站中每一基站的时隙状态;The base station X obtains a time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains a plurality of time slot occupancy tables, each base station corresponds to a time slot occupancy table, and each time slot occupancy table. A slot occupancy table representing the slot status of each of the K base stations;
    获取所述基站X的第一时隙占用表;obtaining the first time slot occupancy table of the base station X;
    依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表;performing an operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table to obtain a second timeslot occupancy table;
    依据所述第二时隙占用表更新所述基站X的时隙编号。The time slot number of the base station X is updated according to the second time slot occupation table.
  11. 根据权利要求10所述的基站X,其特征在于,所述程序还包括用于执行以下方法中的步骤的指令:The base station X of claim 10, wherein the program further comprises instructions for performing the steps of the following methods:
    检测所述第二时隙占用表中是否存在未被占用的时隙;Detecting whether there is an unoccupied time slot in the second time slot occupancy table;
    在所述第二时隙占用表中存在未被占用的时隙时,执行所述确定所述第二时隙占用表中未被占用的目标时隙的步骤;When there is an unoccupied time slot in the second time slot occupancy table, performing the step of determining an unoccupied target time slot in the second time slot occupancy table;
    在所述第二时隙占用表中不存在未被占用的时隙时,确认所述基站X的时隙编号无法更新。When there is no unoccupied time slot in the second time slot occupation table, it is confirmed that the time slot number of the base station X cannot be updated.
  12. 根据权利要求10或11所述的基站X,其特征在于,在所述依据所述第二时隙占用表更新所述基站X的时隙编号方面,所述程序包括用于执行以下方法中的步骤的指令:The base station X according to claim 10 or 11, wherein, in the aspect of updating the time slot number of the base station X according to the second time slot occupancy table, the program comprises: Instructions for steps:
    确定所述第二时隙占用表中未被占用的目标时隙,所述目标时隙为所述第二时隙占用表中未被占用的时隙中的任一时隙;determining an unoccupied target time slot in the second time slot occupation table, where the target time slot is any time slot in the unoccupied time slots in the second time slot occupation table;
    将所述基站X的时隙编号更新为所述目标时隙对应的目标基站的时隙编号。The time slot number of the base station X is updated to the time slot number of the target base station corresponding to the target time slot.
  13. 根据权利要求10-12任一项所述的基站X,其特征在于,在所述依据所述多个时隙占用表以及所述第一时隙占用表进行运算,得到第二时隙占用表方面,所述程序包括用于执行以下方法中的步骤的指令:The base station X according to any one of claims 10-12, characterized in that, in the operation according to the multiple timeslot occupancy tables and the first timeslot occupancy table, a second timeslot occupancy table is obtained In an aspect, the program includes instructions for performing steps in the following methods:
    依据所述多个时隙占用表以及所述第一时隙占用表进行或运算,得到所述第二时隙占用表。An OR operation is performed according to the plurality of time slot occupation tables and the first time slot occupation table to obtain the second time slot occupation table.
  14. 根据权利要求10-13任一项所述的基站X,其特征在于,所述基站X的邻近基站的数量处于预设范围。The base station X according to any one of claims 10-13, wherein the number of neighboring base stations of the base station X is within a preset range.
  15. 根据权利要求14所述的基站X,其特征在于,所述预设范围包括下限阈值和上限阈值,所述下限阈值小于所述上限阈值,所述下限阈值为4,所述上限阈值为6。The base station X according to claim 14, wherein the preset range includes a lower threshold and an upper threshold, the lower threshold is smaller than the upper threshold, the lower threshold is 4, and the upper threshold is 6.
  16. 根据权利要求15所述的基站X,其特征在于,所述定位服务系统还包括基站Y、基站J和基 站W;在所述通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表之前,所述程序还包括用于执行以下方法中的步骤的指令:The base station X according to claim 15, wherein the positioning service system further comprises base station Y, base station J and base station W; The data frame to obtain the time slot occupancy table, before obtaining a plurality of time slot occupancy tables, the program also includes instructions for performing the steps in the following methods:
    所述基站X在预设时间段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站W的数据帧W,所述预设时间段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;The base station X listens to the data frame within a preset time period, and listens to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame W of the base station W. The time period is a continuous preset number of positioning service periods, and the positioning service period is the working period of the positioning service system;
    所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧W的时隙占用情况配置自身的时隙编号。The base station X configures its own time slot number according to the time slot occupation of the data frame Y, the data frame J and the data frame W.
  17. 根据权利要求10-16任一项所述的基站X,其特征在于,所述程序还包括用于执行以下方法中的步骤的指令:The base station X according to any one of claims 10-16, wherein the program further comprises instructions for performing steps in the following methods:
    获取目标虹膜图像;Get the target iris image;
    对所述目标虹膜图像进行图像质量评价,得到目标图像质量评价值;Perform image quality evaluation on the target iris image to obtain a target image quality evaluation value;
    在所述目标图像质量评价值大于预设图像质量评价阈值时,将所述目标虹膜图像与预设虹膜模板进行匹配;When the target image quality evaluation value is greater than a preset image quality evaluation threshold, matching the target iris image with a preset iris template;
    在所述目标虹膜图像与所述预设虹膜模板匹配成功时,执行所述基站X通过侦听所述定位服务系统中属于所述基站X的邻近基站的数据帧以获取时隙占用表,得到多个时隙占用表的步骤。When the target iris image is successfully matched with the preset iris template, execute that the base station X obtains the time slot occupancy table by listening to the data frames of the neighboring base stations belonging to the base station X in the positioning service system, and obtains Steps for multiple slot occupancy tables.
  18. 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-9任一项所述的方法中的步骤的指令。An electronic device comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs being stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method of any of claims 1-9.
  19. 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-9任一项所述的方法。A computer-readable storage medium, characterized by storing a computer program for electronic data exchange, wherein the computer program causes a computer to execute the method according to any one of claims 1-9.
  20. 一种计算机程序产品,其特征在于,所述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,所述计算机程序可操作来使计算机执行如权利要求1-9任一项所述的方法。A computer program product, characterized in that the computer program product comprises a non-transitory computer-readable storage medium storing a computer program, the computer program being operable to cause a computer to perform the execution as claimed in any one of claims 1-9 method described.
PCT/CN2021/109014 2020-09-15 2021-07-28 Slot updating method, electronic device, and storage medium WO2022057456A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202010971000.1A CN114268898B (en) 2020-09-15 2020-09-15 Time slot updating method, device and storage medium
CN202010971000.1 2020-09-15

Publications (1)

Publication Number Publication Date
WO2022057456A1 true WO2022057456A1 (en) 2022-03-24

Family

ID=80777617

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2021/109014 WO2022057456A1 (en) 2020-09-15 2021-07-28 Slot updating method, electronic device, and storage medium

Country Status (2)

Country Link
CN (1) CN114268898B (en)
WO (1) WO2022057456A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115835368A (en) * 2023-02-24 2023-03-21 深圳锦沃科技有限公司 Decentralized multi-base-station time slot synchronization method, decentralized multi-base-station time slot synchronization system and storage medium
WO2023207946A1 (en) * 2022-04-25 2023-11-02 汉朔科技股份有限公司 Synchronization network construction method, price tag system, computer device, and storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316679A1 (en) * 2008-06-23 2009-12-24 Frits Van Der Wateren Broadcast-only distributed wireless network
CN104734798A (en) * 2015-04-10 2015-06-24 西安电子科技大学 Method for rapidly decomposing time gap conflicts in distributed type TDMA protocol
CN105263143A (en) * 2015-10-30 2016-01-20 西安电子科技大学 Self-adaptive time slot allocation method according to node density and loads in self-organizing network
CN105491674A (en) * 2014-09-18 2016-04-13 电信科学技术研究院 Slot selection optimizing method and device
CN106487470A (en) * 2015-08-31 2017-03-08 电信科学技术研究院 A kind of method of transmission time slot information and communication node
CN111405564A (en) * 2020-03-23 2020-07-10 广东博智林机器人有限公司 Method and device for time slot allocation and readable storage medium

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101005653B (en) * 2006-01-16 2012-06-27 华为技术有限公司 Method and system for automatic resource selection and distribution of base station
US8958836B2 (en) * 2011-06-30 2015-02-17 Fujitsu Limited System and method for implementing coordinated resource allocations
US10064148B2 (en) * 2017-01-20 2018-08-28 M2 Robots, Inc. Ultra-wide band positioning system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20090316679A1 (en) * 2008-06-23 2009-12-24 Frits Van Der Wateren Broadcast-only distributed wireless network
CN105491674A (en) * 2014-09-18 2016-04-13 电信科学技术研究院 Slot selection optimizing method and device
CN104734798A (en) * 2015-04-10 2015-06-24 西安电子科技大学 Method for rapidly decomposing time gap conflicts in distributed type TDMA protocol
CN106487470A (en) * 2015-08-31 2017-03-08 电信科学技术研究院 A kind of method of transmission time slot information and communication node
CN105263143A (en) * 2015-10-30 2016-01-20 西安电子科技大学 Self-adaptive time slot allocation method according to node density and loads in self-organizing network
CN111405564A (en) * 2020-03-23 2020-07-10 广东博智林机器人有限公司 Method and device for time slot allocation and readable storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023207946A1 (en) * 2022-04-25 2023-11-02 汉朔科技股份有限公司 Synchronization network construction method, price tag system, computer device, and storage medium
US11943113B2 (en) 2022-04-25 2024-03-26 Hanshow Technology Co. Ltd. Method for constructing synchronous network, shelf label system, and computer device
CN115835368A (en) * 2023-02-24 2023-03-21 深圳锦沃科技有限公司 Decentralized multi-base-station time slot synchronization method, decentralized multi-base-station time slot synchronization system and storage medium
CN115835368B (en) * 2023-02-24 2023-06-02 深圳锦沃科技有限公司 Decentralizing multi-base-station time slot synchronization method, system and storage medium

Also Published As

Publication number Publication date
CN114268898B (en) 2023-04-18
CN114268898A (en) 2022-04-01

Similar Documents

Publication Publication Date Title
WO2021244331A1 (en) Positioning service method, and related apparatus
US9456306B2 (en) Fine timing measurement transmissions between APs
WO2022057456A1 (en) Slot updating method, electronic device, and storage medium
US10462625B2 (en) Time-multiplex transmission of localisation beacon signals and control-related signals
JP5225245B2 (en) Multi-object positioning system and power control based multiple access control method
WO2022016971A1 (en) Wireless communication method and apparatus, base station, and tag device
JP2018523354A (en) Method and system for data transmission between peer stations with high channel efficiency and distributed method
JP2015526027A5 (en)
WO2018019076A1 (en) Link recovery method, apparatus and device
JP2018513657A (en) System and method for providing communication in a wireless sensor network based on periodic beacon signals
WO2017127169A1 (en) Iot interaction system
WO2022057472A1 (en) Clock synchronization method and related device
CN108353003A (en) Batch propagates Timing measurement information receiving and transmitting
CN110232810A (en) A kind of method based on bluetooth mesh network positions remote controler, system, electronic equipment
WO2023116753A1 (en) Positioning sensing method and apparatus, and related device
WO2022057416A1 (en) Location service method and related apparatus
Nadeem et al. Acoustic-WiFi: Acoustic Support for Wi-Fi Networks in Smart Devices
Gupta et al. The compact discourse on problem of hidden node, exposed node and its related issues
WO2023193439A1 (en) Time-frequency synchronization-based positioning method and apparatus
WO2023071484A1 (en) Automatic control method based on human body sensing, and electronic device and system
WO2023130385A1 (en) Perception method, perception proxy request device, and perception proxy response device
US20230421990A1 (en) Automated Device Control Session
CN110809230A (en) Positioning information acquisition method and device
CN115460688A (en) Position determination method and related device
TWI804198B (en) Wireless network system and method with roaming and zero-collision packet and time-sharing control multiple access

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

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

Country of ref document: EP

Kind code of ref document: A1