WO2021244331A1 - Positioning service method, and related apparatus - Google Patents
Positioning service method, and related apparatus Download PDFInfo
- Publication number
- WO2021244331A1 WO2021244331A1 PCT/CN2021/095221 CN2021095221W WO2021244331A1 WO 2021244331 A1 WO2021244331 A1 WO 2021244331A1 CN 2021095221 W CN2021095221 W CN 2021095221W WO 2021244331 A1 WO2021244331 A1 WO 2021244331A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- base station
- data frame
- time
- time slot
- slot number
- Prior art date
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/023—Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W24/00—Supervisory, monitoring or testing arrangements
- H04W24/02—Arrangements for optimising operational condition
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/02—Services making use of location information
- H04W4/025—Services making use of location information using location based information parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/30—Services specially adapted for particular environments, situations or purposes
- H04W4/33—Services specially adapted for particular environments, situations or purposes for indoor environments, e.g. buildings
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W64/00—Locating users or terminals or network equipment for network management purposes, e.g. mobility management
- H04W64/003—Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
Definitions
- This application relates to the technical field of electronic equipment, and in particular to a positioning service method and related devices.
- a number of fixed anchor devices are generally set up in the space where the user moves by wire, and the user wears a UWB technology Tag device, the base station performs signaling interaction with each user’s tag device to determine the distance between the local end and the tag device, and reports the distance and tag device identity information to the location server.
- the location server will report the same information from at least three base stations.
- the distance information of a tag device calculates the current location of the user, thereby realizing location services.
- the embodiments of this application provide a positioning service method and related devices, in order to provide a flexible positioning service solution.
- the base station only needs to listen to + position mapping to complete the initial configuration, and the base station only needs to stop broadcasting data frames by itself to realize the stop. Therefore, the location service of other base stations in the system will not be affected by the base station, so as to realize the hot plug function of the base station in the location service system.
- an embodiment of the present application provides a positioning service method, which is applied to a base station X to be added to a positioning service system, and the method includes:
- 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;
- the base station X exchanges data with at least three base stations of the positioning service system to realize automatic mapping of its own position;
- the base station X broadcasts a data frame X according to its own time slot number and its own location to join the positioning service system.
- 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 position, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
- an embodiment of the present application provides a location service method, including:
- Base station Y listens to the data frame of the preset frequency band in the current space within the preset time period, and does not listen to the valid data frame base station Y;
- the base station Y configures its own time slot number according to a preset rule
- the base station Y obtains location calibration information, and determines its own location according to the location calibration information;
- the base station Y broadcasts the data frame Y according to the time slot number and the position of the base station Y.
- an embodiment of the present application provides a location service method, including:
- the base station J listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y;
- the base station J configures its own time slot number according to the time slot occupancy of the data frame Y;
- the base station J obtains location calibration information, and determines its own location according to the location calibration information;
- the base station J broadcasts the data frame J according to the time slot number and the position of the base station J.
- an embodiment of the present application provides a location service method, including:
- the base station K listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y and the data frame J of the base station J;
- the base station K configures its own time slot number according to the time slot occupancy of the data frame Y and the data frame J;
- the base station K obtains location calibration information, and determines its own location according to the location calibration information;
- the base station K broadcasts the data frame J according to the time slot number and the position of the base station K.
- an embodiment of the present application provides a location service method, including:
- the tag device receives data frames broadcast by any M base stations of the location service system, where M is an integer greater than or equal to 3, where the base station is a hot-pluggable device of the location service system used in indoor scenarios;
- the tag device determines its position according to the data frames broadcast by the arbitrary M base stations.
- an embodiment of the present application provides a positioning service system, including base station Y, base station J, and base station K, where:
- the base station X to be added to the positioning service system is used to monitor the data frame of at least one of the base station Y, the base station J, and the base station K to implement the configuration of its own time slot number; and
- the base station Y, the base station J, and the base station K exchange data to realize automatic mapping of their own position; broadcast data frame X according to their own time slot number and the own position to join the positioning service system, and the positioning Service means that the target device determines its position by receiving data frames broadcast by any M base stations of the positioning service system, the target device is a base station or a tag device, and M is an integer greater than or equal to 3;
- the base station Y is used for broadcasting data frame Y;
- the base station J is used to broadcast a data frame J;
- the base station K is used to broadcast a data frame K
- the tag device is configured to receive data frames broadcast by any M base stations of the positioning service system, and determine its own position according to the data frames broadcast by the any M base stations.
- an embodiment of the present application provides a base station, 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 by the processor Execution, the foregoing program includes instructions for executing the steps in any one of the methods from the first aspect to the fourth aspect of the embodiments of the present application.
- an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in any method from one aspect to the fourth aspect.
- an embodiment of the present application provides a computer program product, wherein the foregoing computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the foregoing computer program is operable to make a computer execute as implemented in this application.
- the computer program product may be a software installation package.
- FIG. 1A is a schematic diagram of an application scenario based on UWB technology positioning provided by an embodiment of the present application
- FIG. 1B is a schematic diagram of SS-TWR ranging signal interaction provided by an embodiment of the present application.
- FIG. 1C is a schematic diagram of DS TWR ranging signal interaction provided by an embodiment of the present application.
- FIG. 1D is a schematic diagram of one-to-many interaction between a tag and a base station according to an embodiment of the present application
- FIG. 1E is a schematic diagram of calculating TDoA to obtain the final coordinates according to an embodiment of the present application.
- FIG. 1F is a schematic structural diagram of a super frame provided by an embodiment of the present application.
- FIG. 1G is a schematic structural diagram of a super frame added with a beacon frame provided by an embodiment of the present application.
- FIG. 1H is a schematic structural diagram of a positioning service system 10 provided by an embodiment of the present application.
- FIG. 1I is a diagram of an example of the composition of a base station 200 provided by an embodiment of the present application
- FIG. 2A is a schematic flowchart of a location service method provided by an embodiment of the present application.
- 2B is a schematic diagram of a time slot configuration process provided by an embodiment of the present application.
- 2C is an example diagram of a base station location provided by an embodiment of the present application.
- Figure 2D is a schematic diagram of a base station signal coverage provided by an embodiment of the present application.
- 2E is a schematic diagram of a scene in which two users perform indoor navigation according to an embodiment of the present application
- FIG. 3 is a schematic flowchart of a location service method provided by an embodiment of the present application.
- FIG. 4 is a schematic flowchart of another positioning service method provided by an embodiment of the present application.
- FIG. 5 is a schematic flowchart of another positioning service method provided by an embodiment of the present application.
- FIG. 6 is a schematic flowchart of another positioning service method provided by an embodiment of the present application.
- FIG. 7 is a block diagram of functional units of a positioning service device provided by an embodiment of the present application.
- Fig. 8 is a block diagram of functional modules of a positioning service device provided by an embodiment of the present application.
- UWB Ultra Wideband
- the working frequency band of UWB is 3.1-10.6GHz
- the -10dB bandwidth is The ratio of the system center frequency is greater than 20%, and the system bandwidth is at least 500MHz.
- the traditional ultra-wideband UWB technology positioning is used in industrial sites such as mines and warehouses. Its main application scenario is to monitor the real-time location of employees and goods indoors. Among them, the base stations have been calibrated indoors, and they are connected to each other through wired or Wi-Fi for synchronization.
- A is a base station that supports UWB technology positioning
- CLE PC is a location server (also known as a positioning server, such as a location computing device)
- Ethernet LAN-TCP/IP refers to the inter-base station Support the transmission control protocol/Internet protocol of the Ethernet local area network, and realize the location monitoring of the user wearing the tag device by setting at least one base station in each area.
- the one-to-one interaction between the tag and the base station has two modes: SS-TWR and DSTWR.
- the first type Single-sided Two-way Ranging (SS-TWR)
- 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.
- Device A (Device A) actively sends (TX) data (corresponding to the TX time node in the figure to the starting point of the Tround time), and records the sending timestamp at the same time.
- Device B (Device B) records after receiving (RX) Receiving timestamp, RMARKER indicates the time node when the data is transmitted (received or sent); after delaying Treply, device B sends data and records the sending timestamp at the same time, and device A receives data and records the receiving timestamp at the same time.
- the two difference times are calculated based on the local clock.
- the local clock error can be offset, but there will be slight clock offsets between different devices. Assuming that the clock offsets of device A and B are eA and eB, respectively, so The obtained flight time will increase with the increase of Treply, and the equation of the ranging error error is as follows:
- Tprop is the actual flight time of the wireless signal.
- DS TWR is based on the three message transmissions between the initiating node and the responding node, obtaining two round-trip delays, and measuring 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:
- Treply1 the delay after device B receives data for the first time
- Bilateral two-way ranging flight time error analysis The above ranging mechanisms are all asymmetric ranging methods, because they do not require the same response time. Even if a 20ppm crystal is used, the clock error is at the ps level.
- the error formula is as follows:
- k a and k b are the ratio of the actual frequency of the crystal oscillator to the nominal frequency, so k a and k b are very close to 1.
- Each employee or cargo has a tag with a unique identifier, which broadcasts signals to surrounding base stations on a regular basis.
- RMARKER indicates the time node when the data is transmitted (received or sent); the surrounding three base stations (Anchor A, Anchor B, Anchor C) receives the signal, and sends response signals (RespA, RespB, and RespC in the figure) to the tag in turn according to the synchronization information between the base stations.
- the tag receives the reply signals from three or more base stations, it sends out a broadcast signal (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.
- 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
- Tround1A is the tag
- Tround1B is the time difference between tag sending data and receiving base station B data
- Tround1C is the time difference between tag sending data and receiving base station C data
- Treply1A is the delay of base station A
- Treply1B is the delay of base station B.
- Treply1C is the delay of base station C
- Treply2A is the delay from the tag receiving the signal from base station A to sending the final signal
- Treply2B is the delay from tag receiving the signal of base station B to sending the final signal
- Treply2C is the tag receiving the signal from base station C The delay until the final signal is sent.
- Each base station uploads the calculation result to the main server.
- a three-dimensional calculation 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 position whose radius is the distance determined by the flight time of the wireless signal.
- Range, Xu is the position of the label.
- Each label needs to be allocated a time slot slot, and complete the calculation of their respective positions in their respective slots and upload them to the base station.
- interval represents the time interval
- scheduling interval represents the scheduled time interval
- Tag I slot represents the time slot of tag i
- Poll TX represents the tag transmission signal
- Resp-X RX represents the tag receiving base station X signal
- Resp-Y RX indicates that the tag receives the signal of base station Y
- Resp-Z RX indicates that the tag receives the signal of base station Z
- Final TX indicates that the tag sends a final signal.
- beacon frame (BeaCoN, BCN) time slot before the time slot where the tag interacts with the base station.
- BCN beacon frame
- Idle Time is idle time
- BCN is the time slot that carries the beacon frame
- SVC represents the reserved time slot
- TWR Slot represents the time slot that carries the two-way ranging signal.
- Wakeup is the wake-up time slot
- RX represents the receiving state.
- the number of tags is limited, and the time slot address of each tag has been allocated.
- the base station needs to be calibrated in advance, and connected by wire or a method different from the ultra-wideband UWB technology for signal synchronization.
- 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.
- the tag wakes up only in its own slot cycle.
- this application proposes a positioning service method and system, which will be described in detail below.
- an embodiment of the present application provides a positioning service system 10, the system includes a tag device 100 and a base station 200, where the base station 200 interacts with the tag device 100 UWB signals, the base station 200 is a server device supporting UWB technology
- the base station 200 is a server device supporting UWB technology
- the tag device 200 is a user-end device that supports UWB technology.
- it may include, but is not limited to, a wireless communication device 110, an entrance transponder device 120, a household device 130, a lace tag 140, and the like.
- Other UWB devices (which are not shown in FIG. 1H for simplicity) may include other computing devices, including but not limited to laptop computers, desktop computers, tablets, personal assistants, routers, monitors, televisions, printers And electrical appliances.
- FIG. 1I is a diagram of an example of the composition of a base station 200 according to 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 universal 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.
- the universal interface unit 204 is used to access various sensors, including but not limited to indicator lights, vibration sensors, and other sensors.
- the power supply unit 205 may include, but is not limited to, for example, batteries, DC-to-DC DC-DC modules, and filters. Circuits and undervoltage detection circuits, etc.
- 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 various parts of the base station 200 by running or executing instructions, programs, code sets, or instruction sets stored in the memory, and calling data stored in the memory.
- the processor may include one or more processing units.
- the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, and a graphics processing unit (graphics processing unit).
- the controller may be the nerve center and command center of the base station 200.
- the controller can generate operation control signals according to the instruction operation code and timing signals to complete the control of fetching and executing instructions
- the memory may include random access memory (RAM) or read-only memory (Read-Only Memory).
- the memory includes a non-transitory computer-readable storage medium.
- the memory can be used to store instructions, programs, codes, code sets or instruction sets.
- the memory may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions for implementing the following various method embodiments, etc., the operating system may be the Android system (including the system based on the in-depth development of the Android system), the IOS system developed by Apple (including the system of the in-depth development based on the IOS system) Or other systems.
- the storage data area can also store data (such as calibrated position data) created by the base station 200 during use.
- FIG. 2A is a schematic flowchart of a positioning service method 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 positioning service method includes the following operations.
- Step 201 Base station X implements its own time slot number configuration by listening to data frames of at least one base station of the positioning service system.
- the data frame may be a beacon frame
- the beacon frame may carry effective information of the base station (for example: own device number, time slot number, location information, signal transmission start time stamp, etc.).
- the base station for example: own device number, time slot number, location information, signal transmission start time stamp, etc.
- Different base stations occupy different beacon frames.
- the frequency domain resources of the beacon frame carry effective information of the base station, such as base station identification, location coordinates, etc.
- base station X listens to the frequency of the beacon frame. Domain resources, confirm that the beacon frame carrying valid information is occupied.
- step 201 the specific manners for the base station X to implement the configuration of its own time slot number in step 201 may be various, which is not uniquely limited here.
- the positioning service system includes a base station Y, a base station J, and a base station K; the base station X implements its own time slot number configuration by listening to data frames of at least one base station of the positioning service system, including: 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 K of the base station K.
- the preset time period Is a continuous preset number of positioning service periods, the positioning service period is the working period of the positioning service system; the base station X according to the data frame Y, the data frame J and the time slot of the data frame K Occupancy configures its own time slot number.
- the purpose of channel listening is to obtain the actual occupancy of the channel in the current space as accurately as possible. Too short listening time will affect the accuracy of listening, and too long listening time will affect the network initialization efficiency, so the preset time period can be It is any reasonable preset duration, for example, a sending time interval of 10 to 100 times, and there is no unique limitation here.
- the preset time period can take any value from 150ms to 1500ms, for example.
- base station X determines the time slots occupied by base station Y, base station J, and base station K through data frame monitoring, so as to select one of the unoccupied time slots, such as selecting sequentially or randomly.
- base station X can perform device number configuration while configuring time slots in accordance with the unified device numbering rules. For example, according to the number numbering mechanism, base station X determines the number of the occupied base station according to the data frame; The number of the occupied base station determines the number of its own equipment. For example, suppose that base station X listens to base stations with device numbers 2, 4, and 5, and can configure its own device number as 3.
- step 201 The time slot configuration process of step 201 above can be illustrated by the schematic flowchart shown in Figure 2B, where INIT corresponds to the initial power-on state, HAVE_ID corresponds to the state where the base station configures its own device number, and NO_ID corresponds to the unconfigured device number state , NO_ID_REVC corresponds to the data receiving status of the base station with no device number configured.
- the base station switches to the power-on state
- 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 constituted by the time slot address + the working frequency band) and starts to work;
- 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;
- no response means that no data frame is received, or the machine is not reported in the received frame address.
- base station X implements 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 effect on the status of other base stations.
- the positioning service system may further include a base station Z; the method further includes: the base station X receives a data frame Z of the base station Z, and determines its own time slot number and the data 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.
- deletion means that base station X no longer occupies the time slot resource.
- the preset condition may be a timer timeout, etc.
- the timing duration of the timer may be any preset value or an empirical value, etc., which is not uniquely limited here.
- the base station Z may be a base station set up together with base station X in a similar time period, base station X releases the time slot resource, base station Z may also detect the conflict synchronously, release the time slot resource, and then randomly select free time slots Perform configuration, or base station X and base station Z interact to confirm complementary conflicting timeslot configurations.
- base station X when base station X detects a time slot configuration conflict, it can perform configuration rollback by deleting its own time slot number, thereby achieving conflict resolution.
- the method further includes: the base station X broadcasts a conflict test request message according to its own time slot number, and listens to a conflict test response message, the conflict test response message being used to indicate that the time slot of the base station X is related to all the time slots.
- the time slot of a certain base station in the positioning service system is in conflict; if a conflict test response message is detected, its own time slot number is deleted, and the reconfiguration process is triggered by a preset condition.
- the real-time performance is better by interacting with other base stations to determine whether there is a conflict.
- the base station X performs its own time slot number configuration by listening to the data frame of at least one base station of the positioning service system, including: the base station X receives 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 frame 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 At least one slot number report of at least one base station determines its own slot number.
- the time slot number report may be the time slot numbers of all base stations directly monitored by the current base station and its own time slot numbers.
- the base station X can learn more comprehensively the time slot occupancy status of other base stations in the current system through the time slot number, and provide time slot configuration accuracy.
- Step 202 The base station X exchanges data with at least three base stations of the positioning service system to realize automatic mapping of its own position.
- the own location may specifically be the coordinate information of the base station X, or the location indication information corresponding to a specific space, such as room number, house number, security door, elevator number, and so on.
- the base station X may implement various specific implementation methods for its own position mapping, such as SS TWR algorithm, DS TWR algorithm, RTDoA algorithm, etc., which are not uniquely limited here.
- the base station X performs data exchange 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 exchange data to realize automatic mapping of their own positions.
- 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, get at least two distance differences;
- the base station X obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the
- the signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received
- the base station X obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the
- the signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received
- the base station X obtains the time slot number of the data frame J carried in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the
- the signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received
- the data frame J receiving time difference of the device and determining the distance difference between the second distance and the third distance according to the data frame J receiving time difference
- the base station X determines the position of the base station X based on the at least two distance differences, the position of the base station Y, the position of the base station J, and the position of the base station K.
- 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, thereby improving positioning efficiency.
- the base station X performs data exchange 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 Perform data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position.
- the base station X performs data interaction with at least three base stations of the positioning service system according to the preset unilateral two-way ranging SS-TWR algorithm to realize automatic mapping of its own position, including:
- the base station X broadcasts the first ranging message and at the same time records the sending time of the first ranging message;
- the base station X receives a second ranging message from the base station Y, a third ranging message from the base station J, and a fourth ranging message from the base station K, where the second ranging message includes the base station Y the time when the first ranging message is received 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 the time when the first ranging message is sent. 3. Time of the ranging message, where 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;
- the base station X according to the sending time of the first ranging message, the time at which the base station Y receives the first ranging message and the time at which the second ranging message is sent in the second ranging message, Determining the distance between the base station X and the base station Y when the base station X receives the second ranging message;
- the base station X according to the sending time of the first ranging message, the time at which the base station J receives the first ranging message and the time at which 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;
- the base station X according to the sending time of the first ranging message, the time at which the base station K receives the first ranging message and the time at which the fourth ranging message is sent in the fourth ranging message, Determine the distance between the base station X and the base station K when the base station X receives the fourth ranging message;
- the base station X calculates its position based on 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.
- base station X can accurately calculate its own position through the SS-TWR algorithm, and can use UWB technology without additional configuration of positioning technology, reducing implementation complexity and improving positioning convenience.
- Step 203 The base station X broadcasts a data frame X according to its own time slot number and its own location to join the location service system.
- the location service refers to the target device receiving any M base stations of the location service system.
- the broadcasted data frame determines 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.
- the base station X implements the hot-plug function, and the sticky note device can be converted into a base station for use in some cases.
- the base station X to be added to the positioning service system first implements its own time slot number configuration by listening to the data frame of at least one base station of the positioning service system; secondly, the base station X and the positioning service system At least three base stations in the base station exchange data to realize the automatic mapping of its own position; finally, 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.
- Positioning service means that the target device receives the positioning service system Any M base stations broadcast data frames to determine its own location, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
- the base station only needs to listen + location mapping to complete the initial configuration, and the base station only needs to stop broadcasting data frames by itself to achieve deactivation.
- the location services of other base stations in the system will not be affected by the base station.
- the location services involved in this application The solution has the advantages of decentralization and flexibility, so as to realize the hot plug function of the base station in the location service system.
- 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 is the same as that of the base station L. Support to configure the same time slot number.
- the signal coverage of the ranging service is expanded by adding base stations.
- a base station when a base station is expanded, if the base station needs to automatically map its position, it is necessary to ensure that at least 3 base stations with calibrated positions and the newly added base station are in an reachable state, so that accurate positioning can be achieved.
- FIG. 2C an example diagram of the location of a base station as shown in FIG. 2C is used for description.
- X and Y refer to the position coordinate axis
- each circle represents a base station
- 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). Referred to as the base station and the base station reachable.
- the user initially sets the base station at the coordinates (0,0), (2,0), (0,2), if the base station at the coordinates (1,1) is added, because the base station at the (1,1) It is reachable to the base station at coordinates (0,0), (2,0), and (0,2) respectively, so the base station at (1,1) can achieve position calibration through automatic mapping.
- the base station supports hot-plugging to expand the location service network, which is convenient to use.
- the signal coverage of the added base station and the signal coverage of the target base station are independent of each other .
- each signal strength indicator on the figure represents a base station
- each ellipse represents the signal coverage of a pair of base stations.
- base stations A1 and A2 can only receive base stations A2, A1, A3, and A4, and only reports from A1 to A6 are received in the received data frame, resulting in A1 and A2 not being able to receive Knowing the existence of A7 and A8, the two pairs of base station anchors may be assigned to the same time slot number. But this will not cause signal interference. Assuming that the signal coverage radius of the base station is unit 1, if the signals of the two base stations interfere with each other, the signal coverage of the two base stations overlap, that is, the distance between the two base stations is less than 2.
- the base station can If the data frame of another base station is directly received, the two base stations will not be allocated to the same time slot.
- the distance between two base stations is between 1 and 2, the base station cannot directly receive the data frame of another base station, but the base station may learn that another base station exists by receiving the number report in the data frame, thereby avoiding the time slot numbering. conflict.
- base station 1 and base station 2 have time slot number conflicts, the following two conditions must be met:
- the distance between base station 1 and base station 2 is between 1 and 2.
- this can be ensured by ensuring that the new base station can communicate with at least one of the previously deployed base stations from the second base station during deployment.
- FIG. 3 is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station Y of a positioning service system. As shown in the figure, the positioning service method includes the following operations.
- Step 301 The base station Y listens to the data frame of the preset frequency band in the current space within the preset time period, and the base station Y does not listen to the valid data frame.
- Step 302 The base station Y configures its own time slot number according to a preset rule.
- base station Y if base station Y does not detect a valid data frame in the current space, it can be determined that no base station has been set up in the current space to provide a positioning service network. In this case, base station Y can configure its own device number to 0, and Arbitrarily configure a time slot number as its own time slot number, such as 1. When a base station accesses again later, the device number can be extended to 1, and the extended time slot number is 2, and so on.
- Step 303 The base station Y obtains location calibration information, and determines its own location according to the location calibration information.
- the base station Y can interact with a calibration device to calibrate its own position; or, the base station Y can calibrate its own position according to the position data entered by the user.
- the calibration device may be a mobile phone or other device of an engineer who sets base station Y.
- the calibration device can accurately locate current location information, and communicate with base station Y through Bluetooth or Wi-Fi to exchange location information.
- the base station Y may also be provided with a location entry device, such as a device such as a physical button, and the user can directly perform location entry by operating the location entry device.
- a location entry device such as a device such as a physical button
- This mechanism of man-made or device-assisted positioning is applicable to at least the first three base stations in the positioning service network.
- Step 304 The base station Y broadcasts the data frame Y according to the time slot number and the position of the base station Y.
- the first base station of the positioning service system can monitor the time slot number configuration by itself, and determine its position according to the position calibration information, and then broadcast the data frame Y to provide the local positioning service.
- This positioning service can enable The tag device or other base station measures the distance to base station Y.
- FIG. 4 is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station J of a positioning service system.
- the positioning service method includes the following operations.
- Step 401 The base station J listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y.
- Step 402 The base station J configures its own time slot number according to the time slot occupancy of the data frame Y.
- Step 403 The base station J obtains location calibration information, and determines its own location according to the location calibration information.
- step 303 the method for determining the position of the self here is similar to step 303, and will not be repeated here.
- Step 404 The base station J broadcasts the data frame J according to the time slot number and the position of the base station J.
- step 203 the manner of broadcasting the data frame is similar to step 203 and step 304, and will not be repeated here.
- the second base station of the positioning service system can listen to the data frame of the first base station by itself to realize the time slot number configuration, and after determining its own position according to the position calibration information, broadcast the data frame J to provide the local end Positioning service, which enables the tag device or other base stations to measure the distance to base station J.
- FIG. 5 is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station J of a positioning service system. As shown in the figure, the positioning service method includes the following operations.
- Step 501 The base station K listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y and the data frame J of the base station J.
- Step 502 The base station K configures its own time slot number according to the time slot occupancy of the data frame Y and the data frame J.
- Step 503 The base station K obtains location calibration information, and determines its own location according to the location calibration information.
- Step 504 The base station K broadcasts the data frame J according to the time slot number and the position of the base station K.
- step 203 the manner of broadcasting the data frame is similar to step 203 and step 304/404, and will not be repeated here.
- the third base station of the positioning service system can listen to the data frames of the first and second base stations by itself to realize the time slot number configuration, and after determining its position according to the position calibration information, broadcast data frame K
- the location service can enable the tag device or other base stations to measure the distance to the base station J.
- FIG. 6 is a schematic flowchart of a location service method provided by an embodiment of the present application. As shown in the figure, the location service method includes the following operations.
- Step 601 The tag device receives data frames broadcast by any M base stations of the location service system, where M is an integer greater than or equal to 3, where the base station is a hot-pluggable device of the location service system used in indoor scenarios;
- Step 602 The tag device determines its own location according to the data frames broadcast by the arbitrary M base stations.
- the tag device can only receive data frames broadcast by the base station to realize its own location mapping, without the need for complex signaling interaction between the two parties, and a decentralized mechanism to improve the service capability and location efficiency of the location service system.
- determining the position of the tag device according to the data frames broadcast by the arbitrary M base stations includes:
- the tag device performs data interaction with at least M base stations of the positioning service system according to the RTDOA algorithm to realize automatic mapping of its own position.
- M is 3, and the arbitrary M base stations include base station Y, base station J, and base station K in the positioning service system; the tag device interacts with at least M of the positioning service system according to the RTDOA algorithm.
- the data exchange between each base station to realize the automatic mapping of its own position includes: the tag device listens to the data frame Y of the base station Y, listens to the data frame J of the base station J, and listens to the base station K.
- Data frame K
- the label device performs at least two of steps A, B, and C to obtain at least two distance differences
- the tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the
- the signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received
- the data frame X receiving time difference of the device, and the distance difference between the first distance and the second distance
- the tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the
- the signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received
- the data frame Y reception time difference of the device, and the distance difference between the first distance and the third distance
- the tag device obtains the time slot number of the data frame J carried in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the
- the signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received
- the data frame J receiving time difference of the device and determining the distance difference between the second distance and the third distance according to the data frame J receiving time difference and the
- the tag device determines the location of the tag device based on the at least two distance differences, the location of the base station Y, the location of the base station J, and the location of the base station K.
- the base stations in the positioning service system 10 shown in FIG. 1H may specifically include base station Y, base station J, and base station K, where:
- the base station X to be added to the positioning service system is used to monitor the data frame of at least one of the base station Y, the base station J, and the base station K to implement the configuration of its own time slot number; and
- the base station Y, the base station J, and the base station K exchange data to realize automatic mapping of their own position; broadcast data frame X according to their own time slot number and the own position to join the positioning service system, and the positioning Service means that the target device determines its position by receiving data frames broadcast by any M base stations of the positioning service system, the target device is a base station or a tag device, and M is an integer greater than or equal to 3;
- the base station Y is used for broadcasting data frame Y;
- the base station J is used to broadcast a data frame J;
- the base station K is used to broadcast a data frame K
- the tag device is configured to receive data frames broadcast by any M base stations of the positioning service system, and determine its own position according to the data frames broadcast by the any M base stations.
- the base station X is specifically configured to: listen to data frames within a preset time period, and listen to the data frame Y of the base station Y, the data frame J of the base station J, and the base station A data frame K of K, the preset time period is a continuous preset number of positioning service periods, and the positioning service period is a working period of the positioning service system;
- the positioning service system further includes a base station Z;
- the base station X is also used to receive the data frame Z of the base station Z, and determine that its own time slot number is the same as the time slot number carried in the data frame Z; delete its own time slot number, and pass the preset Condition triggers the reconfiguration process; or, broadcast a conflict test request message according to its own time slot number, and listen to a conflict test response message, where the conflict test response message is used to indicate the time slot of the base station X and the positioning service system
- the time slot of a certain base station conflicts; if it detects a conflict test response message, it deletes its own time slot number, and triggers the reconfiguration process through preset conditions.
- the base station X is specifically configured to: receive the data frame of the at least one base station; extract the time slot number report of each data frame in the data frame of the at least one base station, and the time slot number
- the report includes the corresponding relationship between the equipment number of the base station and the time slot number; the time slot number of the at least one base station is determined according to the at least one time slot number report of the at least one base station.
- the base station X is specifically configured to perform 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.
- the base station X is specifically configured to perform 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.
- 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 is the same as that of the base station L. Support to configure the same time slot number.
- the tagging device 100 is also used to determine multiple indoor navigation paths according to the position of the self and the target position on a different floor from the position of the self; to calculate the floor-related path in each navigation path According to the estimated time consumption of the floor-related paths in each navigation path, determine the estimated duration of each navigation path; select the estimated time Navigate with the shortest indoor navigation path.
- the target location may be a specific coordinate location, or may be a shop location, an elevator door location, etc. entered by the user, which is not uniquely limited here.
- user B’s mobile phone can cache user B’s walking record on the current floor.
- the walking record can include store information.
- user B’s mobile phone will walk The record is pushed to the mobile phone of user A, and the navigation continues until they meet.
- user B’s mobile phone should send the floor change information as target location change information to user A’s mobile phone to update the target location in real time , So that user A's mobile phone can obtain the updated floor location in time to plan a new navigation path, avoiding more time delay.
- the tagging device 100 is specifically configured to: determine that the floor-related path of the currently processed indoor navigation path is a straight elevator Path; call the pre-trained straight stair path time-consuming prediction model; determine the model input data according to the identity of the target mall where you are located and the current system time; input the model into the data data and the straight stair path time-consuming prediction model to obtain The time consuming of the straight ladder path.
- the time-consuming prediction model of the straight ladder path can be pre-trained by the cloud server based on sample data, and the model can be implemented by using a convolutional neural network, etc., which is not uniquely limited here.
- the mechanism for determining the target location includes the following steps: the label device 100 receives the name of the target store input by the user; The reference base station whose name matches; and use the position of the reference base station as the target position.
- the UWB positioning described in the embodiments of this application can be divided into precise positioning (three-dimensional positioning, two-dimensional positioning, one-dimensional positioning) and presence positioning.
- the corresponding base stations can be divided into precise positioning base stations and presence positioning base stations.
- the reference base station may be a presence location base station.
- the position of the reference base station itself is associated with any one of the following reference positions of the target store: a house number position, a cash register position, and an entrance/exit position.
- the location is preferably a location area that the user is generally familiar with or well-known. Therefore, selecting the house number location, the cash register location, and the entrance and exit location are convenient for the user to quickly and accurately locate.
- the tag device 100 is further configured to highlight the reference location of the store associated with the reference base station on the current first interface when detecting that it has entered the signal coverage area of the reference base station; And interact with the reference base station to trigger the reference base station to emit a prompt tone.
- the tagging device 100 can display an indoor three-dimensional navigation map, and the highlighted display can be a shop sign or an area boundary, etc., which is not uniquely limited here.
- the highlight display can prompt the user to look up to find the location of the store in time to avoid missing the target location.
- the tag device is further configured to analyze the crowd density of the area where the tag device is currently located when it is detected that the multiple base stations are all accurately positioned base stations; and according to the crowd density The degree of dynamic selection of the base station least affected by obstructions for positioning.
- the crowd density in each area of the shopping mall can be based on big data statistical analysis to get the crowd density at different times.
- the higher the crowd density the more it is necessary to select the broadcast data frame of the base station with less hand occlusion for positioning to improve positioning Accuracy.
- all base stations are affected by different degrees, they should be prioritized according to the degree of impact, and high-priority base stations should be selected for positioning.
- the degree of influence of the occlusion of each base station can be determined by the signal strength of the received broadcast data frame of the base station.
- the tag device can dynamically select base stations based on crowd density to improve positioning accuracy and meet the positioning needs of complex crowd environments.
- the embodiment of the present application provides a positioning service device, and the positioning service device may be a base station 200. Specifically, the positioning service device is used to execute the steps performed by the base station X in the above positioning service method.
- the positioning service device provided in the embodiment of the present application may include modules corresponding to corresponding steps.
- the embodiment of the present application may divide the positioning service device into functional modules according to the foregoing method examples.
- each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module.
- the above-mentioned integrated modules can be implemented in the form of hardware or software function modules.
- the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
- FIG. 7 shows a possible structural schematic diagram of the positioning service device involved in the foregoing embodiment.
- the positioning service device 7 includes a configuration unit 70, a surveying and mapping unit 71, and a broadcasting unit 72.
- the configuration unit 70 is configured to monitor the data frame of at least one base station of the positioning service system to implement the configuration of its own time slot number;
- the surveying and mapping unit 71 is configured to perform data interaction with at least three base stations of the positioning service system to realize automatic surveying and mapping of its own position;
- the broadcasting unit 72 is configured to broadcast a data frame X according to its own time slot number and the own position to join the positioning service system.
- the positioning service means that the target device broadcasts by receiving any M base stations of the positioning service system 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.
- the positioning service system includes base station Y, base station J, and base station K; in terms of monitoring data frames of at least one base station of the positioning service system to configure its own time slot number, so
- the configuration unit 70 is specifically configured to: listen to data frames within a preset time period, and listen to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame K of the base station K, so
- the preset time period is a continuous preset number of positioning service cycles, and the positioning service cycle is the working cycle of the positioning service system; and according to the time of the data frame Y, the data frame J, and the data frame K
- the slot occupancy status configures its own time slot number.
- the positioning service system further includes a base station Z; the apparatus further includes
- a receiving unit configured to receive the data frame Z of the base station Z, and determine that its own time slot number is the same as the time slot number carried in the data frame Z;
- the first deleting unit is used to delete its own time slot number and trigger the reconfiguration process through preset conditions; or,
- the broadcasting unit 72 is further configured to broadcast a conflict test request message according to its own time slot number, and to listen to a conflict test response message.
- the conflict test response message is used to indicate the time slot of the base station X and the positioning service. The time slot of a certain base station in the system conflicts;
- the second deleting unit is configured to delete its own time slot number if the conflict test response message is detected, and trigger the reconfiguration process through preset conditions.
- the configuration unit 70 is specifically configured to: receive the data frame of the at least one base station. Data frame; and extracting the time slot number report of each data frame in the data frame of the at least one base station, the time slot number report including the corresponding relationship between the equipment number of the base station and the time slot number; and according to the at least one base station At least one of the time slot number report to determine its own time slot number.
- the surveying and mapping unit 71 is specifically configured to: according to the reverse time difference of arrival RTDOA algorithm and the said At least three base stations of the positioning service system exchange data to realize automatic mapping of their own positions.
- the surveying and mapping unit 71 is specifically configured to: perform step A , B, C at least two, get at least two distance differences;
- the base station X obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the
- the signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received
- the base station X obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the
- the signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received
- the base station X obtains the time slot number of the data frame J carried in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the
- the signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received
- the data frame J receiving time difference of the device and determining the distance difference between the second distance and the third distance according to the data frame J receiving time difference
- the base station X determines the position of the base station X based on the at least two distance differences, the position of the base station Y, the position of the base station J, and the position of the base station K.
- the surveying and mapping unit 71 is specifically configured to: according to a preset unilateral two-way ranging SS -The TWR algorithm performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position.
- the surveying and mapping unit specifically uses In: broadcasting a first ranging message, while recording the transmission time of the first ranging message; and receiving a second ranging message from the base station Y, a third ranging message from the base station J, and the base station
- the fourth ranging message of K, the second ranging message includes the time when the base station 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 the time when the third ranging message is sent, and the fourth ranging message includes the time when the base station K receives the first ranging message and the time when the first ranging message is sent.
- 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 is the same as that of the base station L. Support to configure the same time slot number.
- the location service device provided by the embodiment of the present application includes but is not limited to the above-mentioned modules.
- the location service device may further include a storage unit 73.
- the storage unit 73 may be used to store the program code and data of the positioning service device.
- the location service device 8 includes: a processing module 80 and a communication module 81.
- the processing module 80 is used to control and manage the actions of the positioning service device, for example, to execute the steps performed by the configuration unit 70, the surveying and mapping unit 71, and the broadcasting unit 72, and/or for performing other processes of the technology described herein.
- the communication module 81 is used to support the interaction between the positioning service device and other devices.
- the location service device may further include a storage module 82, and the storage module 82 is used to store the program code and data of the location service device, for example, store the content stored in the storage unit 73 described above.
- the processing module 80 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an ASIC, an FPGA, or other programmable processors. Logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application.
- the processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on.
- the communication module 81 may be a transceiver, an RF circuit, a communication interface, or the like.
- the storage module 82 may be a memory.
- An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as described in the above method embodiment ,
- the above-mentioned computer includes electronic equipment.
- the embodiments of the present application also provide a computer program product.
- the above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program.
- the above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method.
- the computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
- the disclosed device may be implemented in other ways.
- the device embodiments described above are merely illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented.
- the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
- the units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
- the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit.
- the above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
- the aforementioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory.
- the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable 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 foregoing methods of 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.
- 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, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Position Fixing By Use Of Radio Waves (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Disclosed are a positioning service method, and a related apparatus. The method is applied to base station X to be added to a positioning service system, and the method comprises: base station X realizing the configuration of a time slot number thereof by means of monitoring a data frame of at least one base station of a positioning service system; base station X performing data interaction with at least three base stations of the positioning service system, so as to realize automatic surveying and mapping of the position of base station X; and base station X broadcasting data frame X according to the time slot number of base station X and the position thereof, so as to join the positioning service system, wherein a positioning service refers to a target device determining its own position by means of receiving data frames broadcasted by any M base stations of the positioning service system, the target device is a base station or a label device, and M is an integer greater than or equal to 3. Provided is a flexible positioning service solution.
Description
本申请涉及电子设备技术领域,具体涉及一种定位服务方法及相关装置。This application relates to the technical field of electronic equipment, and in particular to a positioning service method and related devices.
目前,基于超宽带(Ultra Wideband,UWB)的室内定位技术中,一般会在用户移动的空间内通过有线方式设置若干个位置固定的锚点设备(又称为基站),用户佩戴支持UWB技术的标签设备,基站与每个用户的标签设备进行信令交互以测定本端与标签设备的距离,并将该距离和标签设备身份信息上报给位置服务器,由位置服务器根据至少三个基站上报的同一个标签设备的距离信息计算出用户当前所处的位置,从而实现定位服务。At present, in the indoor positioning technology based on Ultra Wideband (UWB), a number of fixed anchor devices (also known as base stations) are generally set up in the space where the user moves by wire, and the user wears a UWB technology Tag device, the base station performs signaling interaction with each user’s tag device to determine the distance between the local end and the tag device, and reports the distance and tag device identity information to the location server. The location server will report the same information from at least three base stations. The distance information of a tag device calculates the current location of the user, thereby realizing location services.
发明内容Summary of the invention
本申请实施例提供了一种定位服务方法及相关装置,以期提供一种灵活的定位服务解决方案,基站仅需要自行侦听+位置测绘完成初始化配置,基站仅需要自行停止广播数据帧以实现停用,系统中的其他基站的定位服务不会受到该基站的影响,从而实现定位服务系统中的基站的热插拔功能。The embodiments of this application provide a positioning service method and related devices, in order to provide a flexible positioning service solution. The base station only needs to listen to + position mapping to complete the initial configuration, and the base station only needs to stop broadcasting data frames by itself to realize the stop. Therefore, the location service of other base stations in the system will not be affected by the base station, so as to realize the hot plug function of the base station in the location service system.
第一方面,本申请实施例提供一种定位服务方法,应用于待加入定位服务系统的基站X,所述方法包括:In the first aspect, an embodiment of the present application provides a positioning service method, which is applied to a base station X to be added to a positioning service system, and the method includes:
基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置;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;
所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘;The base station X exchanges data with at least three base stations of the positioning service system to realize automatic mapping of its own position;
所述基站X根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。The base station X broadcasts a data frame X according to its own time slot number and its own location to join the positioning service system. 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 position, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
第二方面,本申请实施例提供一种定位服务方法,包括:In the second aspect, an embodiment of the present application provides a location service method, including:
基站Y在预设时段内侦听当前空间的预设频段的数据帧,且未侦听到有效的数据帧基站Y;Base station Y listens to the data frame of the preset frequency band in the current space within the preset time period, and does not listen to the valid data frame base station Y;
所述基站Y按照预设规则配置自身的时隙编号;The base station Y configures its own time slot number according to a preset rule;
所述基站Y获取位置标定信息,根据所述位置标定信息确定自身位置;The base station Y obtains location calibration information, and determines its own location according to the location calibration information;
所述基站Y根据所述时隙编号和所述自身位置,广播数据帧Y。The base station Y broadcasts the data frame Y according to the time slot number and the position of the base station Y.
第三方面,本申请实施例提供一种定位服务方法,包括:In the third aspect, an embodiment of the present application provides a location service method, including:
基站J在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y;The base station J listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y;
所述基站J根据所述数据帧Y的时隙占用情况配置自身的时隙编号;The base station J configures its own time slot number according to the time slot occupancy of the data frame Y;
所述基站J获取位置标定信息,根据所述位置标定信息确定自身位置;The base station J obtains location calibration information, and determines its own location according to the location calibration information;
所述基站J根据所述时隙编号和所述自身位置,广播数据帧J。The base station J broadcasts the data frame J according to the time slot number and the position of the base station J.
第四方面,本申请实施例提供一种定位服务方法,包括:In a fourth aspect, an embodiment of the present application provides a location service method, including:
基站K在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y和基站J的数据帧J;The base station K listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y and the data frame J of the base station J;
所述基站K根据所述数据帧Y和所述数据帧J的时隙占用情况配置自身的时隙编号;The base station K configures its own time slot number according to the time slot occupancy of the data frame Y and the data frame J;
所述基站K获取位置标定信息,根据所述位置标定信息确定自身位置;The base station K obtains location calibration information, and determines its own location according to the location calibration information;
所述基站K根据所述时隙编号和所述自身位置,广播数据帧J。The base station K broadcasts the data frame J according to the time slot number and the position of the base station K.
第五方面,本申请实施例提供一种定位服务方法,包括:In a fifth aspect, an embodiment of the present application provides a location service method, including:
标签设备接收定位服务系统的任意M个基站广播的数据帧,M为大于等于3的整数,其中,基站为用于室内场景的所述定位服务系统的支持热插拔的设备;The tag device receives data frames broadcast by any M base stations of the location service system, where M is an integer greater than or equal to 3, where the base station is a hot-pluggable device of the location service system used in indoor scenarios;
所述标签设备根据所述任意M个基站广播的数据帧确定自身位置。The tag device determines its position according to the data frames broadcast by the arbitrary M base stations.
第六方面,本申请实施例提供一种定位服务系统,包括基站Y、基站J、基站K,其中,In a sixth aspect, an embodiment of the present application provides a positioning service system, including base station Y, base station J, and base station K, where:
待加入所述定位服务系统的基站X,用于通过侦听所述基站Y、所述基站J、所述基站K中的至少一个基站的数据帧以实现自身的时隙编号的配置;与所述基站Y、所述基站J、所述基站K进行数据交互以实现自身位置的自动测绘;根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数;The base station X to be added to the positioning service system is used to monitor the data frame of at least one of the base station Y, the base station J, and the base station K to implement the configuration of its own time slot number; and The base station Y, the base station J, and the base station K exchange data to realize automatic mapping of their own position; broadcast data frame X according to their own time slot number and the own position to join the positioning service system, and the positioning Service means that the target device determines its position by receiving data frames broadcast by any M base stations of the positioning service system, the target device is a base station or a tag device, and M is an integer greater than or equal to 3;
所述基站Y,用于广播数据帧Y;The base station Y is used for broadcasting data frame Y;
所述基站J,用于广播数据帧J;The base station J is used to broadcast a data frame J;
所述基站K,用于广播数据帧K;The base station K is used to broadcast a data frame K;
所述标签设备,用于接收所述定位服务系统的任意M个基站广播的数据帧,根据所述任意M个基站广播的数据帧确定自身位置。The tag device is configured to receive data frames broadcast by any M base stations of the positioning service system, and determine its own position according to the data frames broadcast by the any M base stations.
第七方面,本申请实施例提供一种基站,包括处理器、存储器、通信接口以及一个或多个程序,其中,上述一个或多个程序被存储在上述存储器中,并且被配置由上述处理器执行,上述程序包括用于执行本申请实施例第一方面至第四方面任一方法中的步骤的指令。In a seventh aspect, an embodiment of the present application provides a base station, 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 by the processor Execution, the foregoing program includes instructions for executing the steps in any one of the methods from the first aspect to the fourth aspect of the embodiments of the present application.
第八方面,本申请实施例提供了一种计算机可读存储介质,其中,上述计算机可读存储介质存储用于电子数据交换的计算机程序,其中,上述计算机程序使得计算机执行如本申请实施例第一方面至第四方面任一方法中所描述的部分或全部步骤。In an eighth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the above-mentioned computer-readable storage medium stores a computer program for electronic data exchange, wherein the above-mentioned computer program enables a computer to execute Part or all of the steps described in any method from one aspect to the fourth aspect.
第九方面,本申请实施例提供了一种计算机程序产品,其中,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面至第四方面任一方法中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a ninth aspect, an embodiment of the present application provides a computer program product, wherein the foregoing computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the foregoing computer program is operable to make a computer execute as implemented in this application. For example, part or all of the steps described in any one of the methods of the first aspect to the fourth aspect. The computer program product may be a software installation package.
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application, the following will briefly introduce the accompanying drawings needed in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only for the present application. For some embodiments, those of ordinary skill in the art can obtain other drawings based on these drawings without creative work.
图1A是本申请实施例提供的基于UWB技术定位的应用场景示意图;FIG. 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 SS-TWR ranging signal interaction provided by an embodiment of the present application;
图1C是本申请实施例提供的一种DS TWR的测距信号交互示意图;FIG. 1C is a schematic diagram of DS TWR ranging signal interaction provided by an embodiment of the present application;
图1D是本申请实施例提供的一种标签与基站一对多交互的示意图;FIG. 1D is a schematic diagram of one-to-many interaction between a tag and a base station according to an embodiment of the present application;
图1E是本申请实施例提供的一种运算TDoA得出最后坐标的示意图;FIG. 1E is a schematic diagram of calculating TDoA to obtain the final coordinates according to an embodiment of the present application; FIG.
图1F是本申请实施例提供的一种超级帧的示意结构图;FIG. 1F is a schematic structural diagram of a super frame provided by an embodiment of the present application;
图1G是本申请实施例提供的一种加入信标帧的超级帧的示意结构图;FIG. 1G is a schematic structural diagram of a super frame added with 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 a diagram of an example of the composition of a base station 200 provided by an embodiment of the present application
图2A是本申请实施例提供的一种定位服务方法的流程示意图;2A is a schematic flowchart of a location service 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是本申请实施例提供的一种基站位置示例图;2C is an example diagram of a base station location provided by an embodiment of the present application;
图2D是本申请实施例提供的一种基站信号覆盖范围的示意图;Figure 2D is a schematic diagram of a base station signal coverage provided by an embodiment of the present application;
图2E是本申请实施例提供的一种两个用户进行室内导航的场景示意图;2E is a schematic diagram of a scene in which two users perform indoor navigation according to an embodiment of the present application;
图3是本申请实施例提供的一种定位服务方法的流程示意图;FIG. 3 is a schematic flowchart of a location service method provided by an embodiment of the present application;
图4是本申请实施例提供的另一种定位服务方法的流程示意图;FIG. 4 is a schematic flowchart of another positioning service method provided by an embodiment of the present application;
图5是本申请实施例提供的另一种定位服务方法的流程示意图;FIG. 5 is a schematic flowchart of another positioning service method provided by an embodiment of the present application;
图6是本申请实施例提供的另一种定位服务方法的流程示意图;FIG. 6 is a schematic flowchart of another positioning service method provided by an embodiment of the present application;
图7是本申请实施例提供的一种定位服务装置的功能单元组成框图;FIG. 7 is a block diagram of functional units of a positioning service device provided by an embodiment of the present application;
图8是本申请实施例提供的一种定位服务装置的功能模块组成框图。Fig. 8 is a block diagram of functional modules of a positioning service device provided by an embodiment of the present application.
为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the solutions of this application, the technical solutions in the embodiments of this application will be described clearly and completely in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only These are a part of the embodiments of this application, but not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.
本申请的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别不同对象,而不是用于描述特定顺序。此外,术语“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific sequence. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product, or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes unlisted steps or units, or optionally also includes Other steps or units inherent in these processes, methods, products or equipment.
在本文中提及“实施例”意味着,结合实施例描述的特定特征、结构或特性可以包含在本申请的至少一个实施例中。在说明书中的各个位置出现该短语并不一定均是指相同的实施例,也不是与其它实施例互斥的独立的或备选的实施例。本领域技术人员显式地和隐式地理解的是,本文所描述的实施例可以与其它实施例相结合。Reference to "embodiments" herein means that a specific feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art clearly and implicitly understand that the embodiments described herein can be combined with other embodiments.
为了更好地理解本申请实施例的方案,下面先对本申请实施例可能涉及的相关术语和概念进行介绍。In order to better understand the solutions of the embodiments of the present application, the following first introduces related terms and concepts that may be involved in the embodiments of the present application.
(1)超宽带(Ultra Wideband,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 Federal Communications Commission (Federal Communications Commission of the United States) standard, the working frequency band of UWB is 3.1-10.6GHz, and the -10dB bandwidth is The ratio of the system center frequency is greater than 20%, and the system bandwidth is at least 500MHz. Use nanosecond to microsecond non-sinusoidal narrow pulses to transmit data. The traditional ultra-wideband UWB technology positioning is used in industrial sites such as mines and warehouses. Its main application scenario is to monitor the real-time location of employees and goods indoors. Among them, the base stations have been calibrated indoors, and they 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 positioning server, such as a location computing device), and Ethernet LAN-TCP/IP refers to the inter-base station Support the transmission control protocol/Internet protocol of the Ethernet local area network, and realize the location 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 type, 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 in the figure to the starting point of the Tround time), and records the sending timestamp at the same time. Device B (Device B) records after receiving (RX) Receiving timestamp, RMARKER indicates the time node when the data is transmitted (received or sent); after delaying Treply, device B sends data and records the sending timestamp at the same time, and device A receives data and records the receiving timestamp at the same time.
所以可以拿到两个时间差数据,设备A的时间差Tround(发送数据和接收数据的时间差)和设备B的时间差Treply,最终得到无线信号的飞行时间
如下:
So you can get two time difference data, 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 get the flight time of the wireless signal as follows:
两个差值时间都是基于本地的时钟计算得到的,本地时钟误差可以抵消,但是不同设备之间会存在微小的时钟偏移,假设设备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 slight clock offsets between different devices. Assuming that the clock offsets of device A and B are eA and eB, respectively, so The obtained flight time will increase with the increase of Treply, and the equation of the ranging error error is as follows:
其中,Tprop为无线信号的实际飞行时间。Among them, Tprop is the actual flight time of the wireless signal.
第二种,双边双向测距(Double-sided Two-way Ranging,DS TWR)The second type, Double-sided Two-way Ranging (DS TWR)
DS TWR基于发起节点和响应节点之间的3次消息传送,获得两次往返延迟,在响应端测量出距离。如图1C所示,当设备A收到数据之后,立刻返回数据,最终也可以得到如下四个时间差:DS TWR is based on the three message transmissions between the initiating node and the responding node, obtaining two round-trip delays, and measuring 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 of device A Tround1 (the time difference between sending data and receiving data)
②设备B第一次接收数据后的延时Treply1(接收第一数据后的延时)②The delay after device B receives data for the first time, Treply1 (the delay after receiving the first data)
③设备B的时间差Tround2(发送数据和接收数据的时间差)③The time difference of device B Tround2 (the time difference between sending data and receiving data)
④设备A第一次接收数据后的延时Treply2(接收第二数据后的延时)④The delay after device A receives the data for the first time Treply2 (the delay after receiving the second data)
双边双向测距飞行时间误差分析:以上测距的机制都是非对称的测距方法,因为他们对于响应时 间不要求是相同的。即便使用20ppm的晶体,时钟误差也是在ps级别的。误差公式如下:Bilateral two-way ranging flight time error analysis: The above ranging mechanisms are all asymmetric ranging methods, because they do not require the same response time. Even if a 20ppm crystal is used, the clock error is at the ps level. The error formula is as follows:
其中k
a和k
b为晶振实际频率与标称频率之比,因此k
a和k
b非常接近于1。
Among them, k a and k b are the ratio 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 identifier, which broadcasts signals to surrounding base stations on a regular basis. As shown in Figure 1D, after a tag (Tag in the figure) broadcasts a signal (poll in the figure), RMARKER indicates the time node when the data is transmitted (received or sent); the surrounding three base stations (Anchor A, Anchor B, Anchor C) receives the signal, and sends response signals (RespA, RespB, and RespC in the figure) to the tag in turn according to the synchronization information between the base stations. When the tag receives the reply signals from three or more base stations, it sends out a broadcast signal (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.
其中,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 Tround1A is the tag The time difference between sending data and receiving base station A data, Tround1B is the time difference between tag sending data and receiving base station B data, Tround1C is the time difference between tag sending data and receiving base station C data, 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 from the tag receiving the signal from base station A to sending the final signal, Treply2B is the delay from tag receiving the signal of base station B to sending the final signal, and Treply2C is the tag receiving the signal from base station C The delay until the final signal is sent.
每个基站将计算结果上传到主服务器。如图1E所示,主服务器上进行三维运算TDoA得出最后坐标,X1、X2、X3对应Anchor A、Anchor B、Anchor C的位置,圆圈对应以无线信号的飞行时间确定的距离为半径的位置范围,Xu为标签的位置。Each base station uploads the calculation result to the main server. As shown in Figure 1E, a three-dimensional calculation 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 position whose radius is the distance determined by the flight time of the wireless signal. Range, Xu is the position of the label.
(2)超级帧(2) Super frame
在室内场景中有多个标签,需要在整个时间轴上设置一个超级帧进行不停的重复。每个标签需要分配一个时隙slot,在各自的slot中完成各自的位置计算并上传到基站。There are multiple tags in an indoor scene, and a super frame needs to be set up on the entire timeline for non-stop repetition. Each label needs to be allocated a time slot slot, and complete the calculation of their respective positions in their respective slots and upload them 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 super frame schematic structure shown in Figure 1F, interval represents the time interval, scheduling interval represents the scheduled time interval, Tag I slot represents the time slot of tag i, Poll TX represents the tag transmission signal, and Resp-X RX represents the tag receiving base station X signal, Resp-Y RX indicates that the tag receives the signal of base station Y, Resp-Z RX indicates that the tag receives the signal of base station Z, and Final TX indicates that the tag sends a final signal.
如果基站之间的同步也通过超宽带UWB技术无线实现,需要在标签与基站交互的时隙前加入信标 帧(BeaCoN,BCN)时隙,在此时隙内标签之间相互通信,确定各自的顺序。如图1G所示,Superframe(n)表示超级帧n,Idle Time为空闲时间,BCN为承载信标帧的时隙,SVC表示预留时隙,TWR Slot表示承载双向测距信号的时隙,wake up为唤醒时隙,RX表示接收状态。If the synchronization between the base stations is also achieved wirelessly through the ultra-wideband UWB technology, it is necessary to add a beacon frame (BeaCoN, BCN) time slot before the time slot where the tag interacts with the base station. In this time slot, the tags communicate with each other to determine their order of. As shown in Figure 1G, Superframe(n) represents super frame 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 two-way ranging signal. Wakeup is the wake-up time slot, and RX represents the receiving state.
以上传统toB的超宽带UWB技术场景中,可以概括为以下几个特点:In the above-mentioned traditional toB ultra-wideband UWB technology scenario, it can be summarized as the following features:
标签数量有限,每个标签的时隙地址已经分配完毕。The number of tags is limited, and the time slot address of each tag has been allocated.
基站需提前标定好位置,通过有线或区别于超宽带UWB技术的方式相连进行信号同步。The base station needs to be calibrated in advance, and connected by wire or a method different from the ultra-wideband UWB technology for signal synchronization.
基站和标签都需要收发信号。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 wakes up only in its own slot cycle.
可见,基站的新增需要与定位服务器交互实现时隙配置和位置标定,基站的停用需要与定位服务器交互时隙资源释放和定位服务系统的拓扑更新。因此,目前的技术方案缺乏灵活性。It can be seen that the addition of a base station needs to interact with the positioning server to implement time slot configuration and location 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.
基于目前UWB定位技术中存在的问题,本申请提出一种定位服务方法和系统,下面进行详细说明。Based on the existing problems in the current UWB positioning technology, this application proposes a positioning service 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中示出)可以包括其他计算设备,包括但不限于膝上型计算机、台式计算机、平板电脑、个人助理、路由器、监视器、电视机、打印机和电器。1H, an embodiment of the present application provides a positioning service system 10, the system includes a tag device 100 and a base station 200, where the base station 200 interacts with the tag device 100 UWB signals, the base station 200 is a server device supporting UWB technology For example, UWB base stations, UWB anchor devices, etc., the tag device 200 is a user-end device that supports UWB technology. For example, it may include, but is not limited to, a wireless communication device 110, an entrance transponder device 120, a household device 130, a lace tag 140, and the like. Other UWB devices (which are not shown in FIG. 1H for simplicity) may include other computing devices, including but not limited to laptop computers, desktop computers, 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 of an example of the composition of a base station 200 according to 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 universal 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. The universal interface unit 204 is used to access various sensors, including but not limited to indicator lights, vibration sensors, and other sensors. The power supply unit 205 may include, but is not limited to, for example, batteries, DC-to-DC DC-DC modules, and filters. Circuits and undervoltage detection circuits, 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 various parts of the base station 200 by running or executing instructions, programs, code sets, or instruction sets stored in the memory, and calling data stored in the memory. Kinds of functions and processing data. The processor may include one or more processing units. For example, the processor may include a central processing unit (CPU), an application processor (AP), a modem processor, and a graphics processing unit (graphics processing unit). unit, GPU), image signal processor (image signal processor, ISP), controller, video codec, digital signal processor (digital signal processor, DSP), baseband processor, and/or neural network processor (neural network processor) -network processing unit, NPU), etc. The controller may be the nerve center and command center of the base station 200. The controller can generate operation control signals according to the instruction operation code and timing signals to 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 (RAM) or read-only memory (Read-Only Memory). Optionally, the memory includes a non-transitory computer-readable storage medium. The memory can be used to store instructions, programs, codes, code sets or instruction sets. The memory may include a storage program area and a storage data area, where the storage program area may store instructions for implementing the operating system and instructions for implementing at least one function (such as touch function, sound playback function, image playback function, etc.), Instructions for implementing the following various method embodiments, etc., the operating system may be the Android system (including the system based on the in-depth development of the Android system), the IOS system developed by Apple (including the system of the in-depth development based on the IOS system) Or other systems. The storage data area can also store data (such as calibrated position data) created by the base station 200 during use.
需要注意的是,上述基站200的结构示意图仅为示例,具体包含的器件可以更多或更少,此处不做唯一限定。It should be noted that the above-mentioned structural schematic diagram of the base station 200 is only an example, and the specific components may be more or less, which is not uniquely limited here.
请参阅图2A,图2A是本申请实施例提供了一种定位服务方法的流程示意图,应用于待加入定位服务系统的基站X,如图所示,本定位服务方法包括以下操作。Please refer to FIG. 2A. FIG. 2A is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station X to be added to a positioning service system. As shown in the figure, the positioning service method includes the following operations.
步骤201,基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置。Step 201: Base station X implements its own time slot number configuration by listening to data frames of at least one base station of the positioning service system.
其中,所述数据帧可以是信标帧,信标帧可以承载基站的有效信息(例如:自身设备编号、时隙编号、位置信息、信号发送起始时间戳等)。不同的基站占用不同的信标帧。当一个信标帧的时隙被基站占用时,该信标帧的频域资源上会承载该基站的有效信息,如基站标识、位置坐标等信息,基站X通过侦听该信标帧的频域资源,确认承载有效信息的信标帧被占用。Wherein, the data frame may be a beacon frame, and the beacon frame may carry effective information of the base station (for example: own device number, time slot number, location information, signal transmission start time stamp, etc.). Different base stations occupy different beacon frames. When a time slot of a beacon frame is occupied by a base station, the frequency domain resources of the beacon frame carry effective information of the base station, such as base station identification, location coordinates, etc., and base station X listens to the frequency of the beacon frame. Domain resources, confirm that the beacon frame carrying valid information is occupied.
可以理解的是,步骤201中基站X实现自身的时隙编号的配置的具体方式可以是多种多样的,此处不做唯一限定。It can be understood that the specific manners for the base station X to implement the configuration of its own time slot number in step 201 may be various, which is not uniquely limited here.
举例来说,所述定位服务系统包括基站Y、基站J和基站K;所述基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:所述基站X在预设时段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站K的数据帧K,所述预设时段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧K的时隙占用情况配置自身的时隙编号。For example, the positioning service system includes a base station Y, a base station J, and a base station K; the base station X implements its own time slot number configuration by listening to data frames of at least one base station of the positioning service system, including: 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 K of the base station K. The preset time period Is a continuous preset number of positioning service periods, the positioning service period is the working period of the positioning service system; the base station X according to the data frame Y, the data frame J and the time slot of the data frame K Occupancy configures its own time slot number.
其中,信道侦听的目的在于尽可能准确的获取当前空间的信道的实际占用情况,侦听时长太短会影响侦听准确度,侦听时间太长会影响入网初始化效率,因此预设时段可以是任意合理的预设时长,例如10~100倍的发送时间间隔,此处不做唯一限定。Among them, the purpose of channel listening is to obtain the actual occupancy of the channel in the current space as accurately as possible. Too short listening time will affect the accuracy of listening, and too long listening time will affect the network initialization efficiency, so the preset time period can be It is any reasonable preset duration, for example, a sending time interval of 10 to 100 times, and there is no unique limitation here.
例如,假设定位服务系统的发送时间间隔为15毫秒ms,则预设时段例如可以取150ms至1500ms中的任意值。For example, assuming that the sending time interval of the positioning service system is 15 milliseconds, the preset time period can take any value from 150ms to 1500ms, for example.
具体实现中,基站X通过数据帧侦听确定基站Y、基站J、基站K所占用的时隙,从而从除未被占用的时隙中选择一个,如按照顺序选择或者随机选择等。In a specific implementation, base station X determines the time slots occupied by base station Y, base station J, and base station K through data frame monitoring, so as to select one of the unoccupied time slots, such as selecting sequentially or randomly.
此外,基站X可以按照统一设备编号规则在配置时隙的同时进行设备编号配置,如按照数字编号机制进行变化,基站X根据所述数据帧确定已被占用的基站编号;所述基站X根据所述已被占用的基站编号确定自身设备编号。例如,假设基站X侦听到设备编号为2、4、5的基站,则可以配置自身的设备编号为3。In addition, base station X can perform device number configuration while configuring time slots in accordance with the unified device numbering rules. For example, according to the number numbering mechanism, base station X determines the number of the occupied base station according to the data frame; The number of the occupied base station determines the number of its own equipment. For example, suppose that base station X listens to base stations with device numbers 2, 4, and 5, and can configure its own device number as 3.
上述步骤201的时隙配置过程可以通过图2B所示的示意流程图来进行说明,其中,INIT对应初始的上电状态,HAVE_ID对应基站为自身配置设备编号的状态,NO_ID对应未配置设备编号状态,NO_ID_REVC对应未配置设备编号的基站进行数据接收的状态。The time slot configuration process of step 201 above can be illustrated by the schematic flowchart shown in Figure 2B, where INIT corresponds to the initial power-on state, HAVE_ID corresponds to the state where the base station configures its own device number, and NO_ID corresponds to the unconfigured device number state , NO_ID_REVC corresponds to the data receiving status of 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 constituted by the time 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 machine is not a seed node. Among them, no response means that no data frame is received, or the machine is not reported in the received frame address.
可见,本示例中,基站X通过侦听数据帧实现自身时隙资源的合理配置,避免资源配置冲突,且无需向其他基站发送信令,对其他基站的状态无任何影响。It can be seen that in this example, base station X implements 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 effect on the status 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 a data frame Z of the base station Z, and determines its own time slot number and the data 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不再占用该时隙资源。Wherein, deletion means that base station X no longer occupies the time slot resource.
其中,预设条件可以是定时器超时等,定时器的定时时长可以是任意预设值或者经验值等,此处不做唯一限定。Among them, 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 set up together with base station X in a similar time period, base station X releases the time slot resource, base station Z may also detect the conflict synchronously, release the time slot resource, and then randomly select free time slots Perform configuration, or base station X and base station Z interact to confirm complementary conflicting timeslot 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 achieving conflict resolution.
或者,所述方法还包括:所述基站X根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X的时隙与所述定位服务系统中的某个基站的时隙发生冲突;若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。Alternatively, the method further includes: the base station X broadcasts a conflict test request message according to its own time slot number, and listens to a conflict test response message, the conflict test response message being used to indicate that the time slot of the base station X is related to all the time slots. The time slot of a certain base station in the positioning service system is in conflict; if a conflict test response message is detected, its own time slot number is deleted, and the reconfiguration process is triggered by a preset condition.
可见,本示例中,通过与其他基站进行消息交互来确定是否冲突,实时性更好。It can be seen that in this example, the real-time performance is better by interacting with other base stations to determine whether there is a conflict.
又举例来说,所述基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:所述基站X接收所述至少一个基站的数据帧;所述基站X提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;所述基站X根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。For another example, the base station X performs its own time slot number configuration by listening to the data frame of at least one base station of the positioning service system, including: the base station X receives 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 frame 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 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 monitored 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 learn more comprehensively the time slot occupancy status of other base stations in the current system through the time slot number, and provide time slot configuration accuracy.
步骤202,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。Step 202: The base station X exchanges data with at least three base stations of the positioning service system to realize automatic mapping of its own position.
其中,自身位置具体可以是基站X的坐标信息,或者是对应于特定空间的位置指示信息,如房间号、门牌号、安全门、电梯号等。Among them, the own location may specifically be the coordinate information of the base station X, or the location indication information corresponding to a specific space, such as room number, house number, security door, elevator number, and so on.
可以理解的是,步骤202中基站X实现自身位置测绘的具体实现方式可以是多种多样的,如SS TWR算法、DS TWR算法、RTDoA算法等,此处不做唯一限定。It is understandable that, in step 202, the base station X may implement various specific implementation methods for its own position mapping, such as SS TWR algorithm, DS TWR algorithm, RTDoA algorithm, etc., which are not uniquely limited here.
举例来说,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:所述基站X根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。For example, the base station X performs data exchange 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 exchange data 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, get 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the The signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received 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 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the The signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received The data frame Y reception 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 reception time difference and the data frame transmission time difference between the base station Y and the base station K, 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 in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the The signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received The data frame J receiving time difference of the device, and determining the distance difference between the second distance and the third distance 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 position of the base station X based on the at least two distance differences, the position of the base station Y, the position of the base station J, and the 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, thereby improving positioning efficiency.
又举例来说,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:所述基站X根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。For another example, the base station X performs data exchange 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 Perform 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 the 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 at the same time records the sending time of the first ranging message;
所述基站X接收来自所述基站Y的第二测距消息、所述基站J的第三测距消息以及所述基站K的第四测距消息,所述第二测距消息包括所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间,所述第三测距消息包括所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间,所述第四测距消息包括所述基站K接收所述第一测距消息的时间和发送所述第四测距消息的时间;The base station X receives a second ranging message from the base station Y, a third ranging message from the base station J, and a fourth ranging message from the base station K, where the second ranging message includes the base station Y the time when the first ranging message is received 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 the time when the first ranging message is sent. 3. Time of the ranging message, where 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 according to the sending time of the first ranging message, the time at which the base station Y receives the first ranging message and the time at which the second ranging message is sent in the second ranging message, Determining the distance between the base station X and the base station Y when the base station X receives the second ranging message;
所述基站X根据所述第一测距消息的发送时间、所述第三测距消息中所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间、所述基站X接收所述第三测距消息的时间,确定所述基站X与所述基站J的距离;The base station X according to the sending time of the first ranging message, the time at which the base station J receives the first ranging message and the time at which 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 at which the base station K receives the first ranging message and the time at which the fourth ranging message is sent in the fourth ranging message, Determine the distance between the base station X and the base station K when the base station X receives the fourth ranging message;
所述基站X根据本端设备与所述基站Y的距离、本端设备与所述基站J的距离、本端设备与所述基站K的距离,计算自身位置。The base station X calculates its position based on 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, base station X can accurately calculate its own position through the SS-TWR algorithm, and can use UWB technology without additional configuration of positioning technology, reducing implementation complexity and improving positioning convenience.
步骤203,所述基站X根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。Step 203: The base station X broadcasts a data frame X according to its own time slot number and its own location to join the location service system. The location service refers to the target device receiving any M base stations of the location service system. The broadcasted data frame determines 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时,能够实现三维坐标定位。Among them, 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 specific implementation, the base station X implements the hot-plug function, and the sticky note device can be converted into a base station for use in some cases.
可以看出,本申请实施例中,待加入定位服务系统的基站X首先通过侦听定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置;其次,基站X与定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘;最后,基站X根据自身的时隙编号和自身位置广播数据帧X以加入定位服务系统,定位服务是指目标设备通过接收定位服务系统的任意M个基站广播的数据帧以确定自身位置,目标设备为基站或者标签设备,M为大于等于3的整数。可见,基站仅需要自行侦听+位置 测绘完成初始化配置,基站仅需要自行停止广播数据帧以实现停用,系统中的其他基站的定位服务不会受到该基站的影响,本申请涉及的定位服务解决方案具有去中心化且灵活的优点,从而实现定位服务系统中的基站的热插拔功能。It can be seen that, in the embodiment of the present application, the base station X to be added to the positioning service system first implements its own time slot number configuration by listening to the data frame of at least one base station of the positioning service system; secondly, the base station X and the positioning service system At least three base stations in the base station exchange data to realize the automatic mapping of its own position; finally, 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. Positioning service means that the target device receives the positioning service system Any M base stations broadcast data frames to determine its own location, the target device is a base station or a tag device, and M is an integer greater than or equal to 3. It can be seen that the base station only needs to listen + location mapping to complete the initial configuration, and the base station only needs to stop broadcasting data frames by itself to achieve deactivation. The location services of other base stations in the system will not be affected by the base station. The location services involved in this application The solution has the advantages of decentralization and flexibility, so as to realize the hot plug function of the base station in the location service system.
在一个可能的示例中,所述定位服务系统还包括基站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 is the same as that of the base station L. Support to configure the same time slot number.
具体实现中,所述测距服务的信号覆盖范围通过添加基站进行拓展。In specific implementation, the signal coverage of the ranging service is expanded by adding base stations.
具体实现中,一个基站拓展时,若该基站需要自动测绘自身位置,则需要保证至少有3个已标定位置的基站与新增基站处于可达状态,如此才能够准确定位。In specific implementation, when a base station is expanded, if the base station needs to automatically map its position, it is necessary to ensure that at least 3 base stations with calibrated positions and the newly added base station are in an reachable state, 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, an example diagram of the location of a base station as shown in FIG. 2C is used for description. In the figure, X and Y refer to the position coordinate axis, 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). Referred to as the base station and the base station reachable. Suppose that the user initially sets the base station at the coordinates (0,0), (2,0), (0,2), if the base station at the coordinates (1,1) is added, because the base station at the (1,1) It is reachable to the base station at coordinates (0,0), (2,0), and (0,2) respectively, so the base station at (1,1) can achieve position calibration through automatic 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 of 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只能收到基站A2、A1、A3、A4,收到的数据帧中只会有A1~A6的报告,从而导致A1、A2无法得知A7、A8的存在,这两对基站anchor可能被分配到同一时隙编号。但这样并不会导致信号出现干扰。假设基站信号覆盖半径为单位1,则如果两个基站的信号会互相干扰,则这2个基站的信号覆盖范围存在重叠,即两基站距离小于2.显然当两基站距离小于1时,基站可以直接收到另一个基站的数据帧,这两个基站不会被分配到同一个时隙。当两基站距离在1~2之间时,基站不可以直接收到另一个基站的数据帧,但基站可能通过收到数据帧中的编号报告得知另一个基站存在,从而避免时隙编号的冲突。As shown in Figure 2D, each signal strength indicator on the figure represents a base station, and each ellipse represents the signal coverage of a pair of base stations. As shown in the figure, due to signal coverage limitations, base stations A1 and A2 can only receive base stations A2, A1, A3, and A4, and only reports from A1 to A6 are received in the received data frame, resulting in A1 and A2 not being able to receive Knowing the existence of A7 and A8, the two pairs of base station anchors may be assigned to the same time slot number. But this will not cause signal interference. Assuming that the signal coverage radius of the base station is unit 1, if the signals of the two base stations interfere with each other, the signal coverage of the two base stations overlap, 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 the data frame of another base station is directly received, the two base stations will not be allocated to the same time slot. When the distance between two base stations is between 1 and 2, the base station cannot directly receive the data frame of another base station, but the base station may learn that another base station exists by receiving the number report in the data frame, thereby avoiding the time slot numbering. conflict.
因此,如果任意两个基站(称为基站1与基站2)要发生时隙编号冲突,必须满足以下两个条件:Therefore, if any two base stations (called base station 1 and base station 2) have time slot number conflicts, the following two conditions must be met:
(a)基站1到基站2距离在1~2之间。(a) The distance between base station 1 and 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. It is defined that A and C are reachable: A and C can communicate with each other or (the existence of B makes A and B reachable, and B and C reachable). Then A and C are unreachable <=> A and C are not interoperable and (for any base station B, B and A are unreachable or B and C are unreachable), non-interworking is a necessary condition for unreachability, ==> A and C are not Interoperable and (for any base station B, B and A do not interoperate or B and C do not interoperate) ==> A and C do not interoperate and (there is no base station B, B and A interoperate and B and C interoperate) ==> the above two When the base station is deployed, if any two base stations are guaranteed to be reachable, it can ensure that base stations with the same time slot number will not conflict with each other. At this time, there can be multiple base stations with the same time slot number in the network at the same time, and these Because the signal will not overlap and cover between the base stations, there is no interference. In this way, the time slot space division multiplexing of the network is realized, and the unlimited base station capacity under the limited number of time slots can be realized.
由可达的传递性,布设时从第二个基站开始保证新的基站与之前布设的至少一个基站互通即可保证这一点。Due to the reachable transitivity, this can be ensured by ensuring that the new base station can communicate with at least one of the previously deployed base stations from the second base station during deployment.
请参阅图3,图3是本申请实施例提供了一种定位服务方法的流程示意图,应用于定位服务系统的基站Y,如图所示,本定位服务方法包括以下操作。Please refer to FIG. 3. FIG. 3 is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station Y of a positioning service system. As shown in the figure, the positioning service method includes the following operations.
步骤301,基站Y在预设时段内侦听当前空间的预设频段的数据帧,且未侦听到有效的数据帧基站Y。Step 301: The base station Y listens to the data frame of the preset frequency band in the current space within the preset time period, and the base station Y does not listen to the valid data frame.
步骤302,所述基站Y按照预设规则配置自身的时隙编号。Step 302: The base station Y configures its own time slot number according to a preset rule.
具体实现中,基站Y在当前空间未侦听到有效的数据帧,则可以确定当前空间还未设置任何基站以提供定位服务网络,此种情况下基站Y可以将自身设备编号配置为0,并任意配置一个时隙编号为自身的时隙编号如1,后续再有基站接入时,可以顺延设备编号为1,顺延时隙编号为2等。In specific implementation, if base station Y does not detect a valid data frame in the current space, it can be determined that no base station has been set up in the current space to provide a positioning service network. In this case, base station Y can configure its own device number to 0, and Arbitrarily configure a time slot number as its own time slot number, such as 1. When a base station accesses again later, the device number can be extended to 1, and the extended time slot number is 2, and so on.
步骤303,所述基站Y获取位置标定信息,根据所述位置标定信息确定自身位置。Step 303: The base station Y obtains location calibration information, and determines its own location according to the location calibration information.
具体实现中,所述基站Y可以与标定设备交互以标定自身位置;或者,所述基站Y根据用户录入的位置数据以标定自身位置。In a specific implementation, the base station Y can interact with a calibration device to calibrate its own position; or, the base station Y can calibrate its own position according to the position data entered by the user.
其中,所述标定设备可以是设置基站Y的工程人员的手机等设备等,该标定设备能够准确定位当前的位置信息,并通过蓝牙或者Wi-Fi等方式与基站Y通信来交互位置信息。Wherein, the calibration device may be a mobile phone or other device of an engineer who sets base station Y. The calibration device can accurately locate current location information, and communicate with base station Y through Bluetooth or Wi-Fi to exchange location information.
其中,所述基站Y也可以设置有位置录入装置,如物理按键之类的器件,用户直接通过操作该位置录入装置实现位置录入。Wherein, the base station Y may also be provided with a location entry device, such as a device such as a physical button, and the user can directly perform location entry by operating the location entry device.
此种人为或设备辅助标定位置的机制至少适用于定位服务网络中的前三个基站。This mechanism of man-made or device-assisted positioning is applicable to at least the first three base stations in the positioning service network.
步骤304,所述基站Y根据所述时隙编号和所述自身位置,广播数据帧Y。Step 304: The base station Y broadcasts the data frame Y according to the time slot number and the position of the base station Y.
可见,本示例中,定位服务系统的第一个基站能够自行侦听实现时隙编号配置,并根据位置标定信息确定自身位置后,广播数据帧Y以提供本端的定位服务,该定位服务能够使得标签设备或者其他基站测得与基站Y的距离。It can be seen that in this example, the first base station of the positioning service system can monitor the time slot number configuration by itself, and determine its position according to the position calibration information, and then broadcast the data frame Y to provide the local positioning service. This positioning service can enable The tag device or other base station measures the distance to base station Y.
请参阅图4,图4是本申请实施例提供了一种定位服务方法的流程示意图,应用于定位服务系统的基站J,如图所示,本定位服务方法包括以下操作。Please refer to FIG. 4, which is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station J of a positioning service system. As shown in the figure, the positioning service method includes the following operations.
步骤401,基站J在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y。Step 401: The base station J listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y.
步骤402,所述基站J根据所述数据帧Y的时隙占用情况配置自身的时隙编号。Step 402: The base station J configures its own time slot number according to the time slot occupancy of the data frame Y.
可以理解的是,此处时隙编号的配置方式与前述类似,不再赘述。It can be understood that the configuration of the time slot number here is similar to the foregoing, and will not be repeated here.
步骤403,所述基站J获取位置标定信息,根据所述位置标定信息确定自身位置。Step 403: The base station J obtains location calibration information, and determines its own location according to the location calibration information.
可以理解的是,此处自身位置确定方式与步骤303类似,此处不再赘述。It is understandable that the method for determining the position of the self here is similar to step 303, and will not be repeated here.
步骤404,所述基站J根据所述时隙编号和所述自身位置,广播数据帧J。Step 404: The base station J broadcasts the data frame J according to the time slot number and the position of the base station J.
可以理解的是,广播数据帧的方式与步骤203、步骤304类似,此处不再赘述。It can be understood that the manner of broadcasting the data frame is similar to step 203 and step 304, and will not be repeated here.
可见,本示例中,定位服务系统的第二个基站能够自行侦听第一个基站的数据帧以实现时隙编号配置,并根据位置标定信息确定自身位置后,广播数据帧J以提供本端的定位服务,该定位服务能够使得标签设备或者其他基站测得与基站J的距离。It can be seen that in this example, the second base station of the positioning service system can listen to the data frame of the first base station by itself to realize the time slot number configuration, and after determining its own position according to the position calibration information, broadcast the data frame J to provide the local end Positioning service, which enables the tag device or other base stations to measure the distance to base station J.
请参阅图5,图5是本申请实施例提供了一种定位服务方法的流程示意图,应用于定位服务系统的基站J,如图所示,本定位服务方法包括以下操作。Please refer to FIG. 5. FIG. 5 is a schematic flowchart of a positioning service method provided by an embodiment of the present application, which is applied to a base station J of a positioning service system. As shown in the figure, the positioning service method includes the following operations.
步骤501,基站K在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y和基站J的数据帧J。Step 501: The base station K listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y and the data frame J of the base station J.
步骤502,所述基站K根据所述数据帧Y和所述数据帧J的时隙占用情况配置自身的时隙编号。Step 502: The base station K configures its own time slot number according to the time slot occupancy of the data frame Y and the data frame J.
可以理解的是,此处时隙编号的配置方式与前述类似,不再赘述。It can be understood that the configuration of the time slot number here is similar to the foregoing, and will not be repeated here.
步骤503,所述基站K获取位置标定信息,根据所述位置标定信息确定自身位置。Step 503: The base station K obtains location calibration information, and determines its own location according to the location calibration information.
可以理解的是,此处自身位置确定方式与步骤303、403类似,此处不再赘述。It is understandable that the method for determining its own position here is similar to steps 303 and 403, and will not be repeated here.
步骤504,所述基站K根据所述时隙编号和所述自身位置,广播数据帧J。Step 504: The base station K broadcasts the data frame J according to the time slot number and the position of the base station K.
可以理解的是,广播数据帧的方式与步骤203、步骤304/404类似,此处不再赘述。It can be understood that the manner of broadcasting the data frame is similar to step 203 and step 304/404, and will not be repeated here.
可见,本示例中,定位服务系统的第三个基站能够自行侦听第一个、第二个基站的数据帧以实现时隙编号配置,并根据位置标定信息确定自身位置后,广播数据帧K以提供本端的定位服务,该定位服务能够使得标签设备或者其他基站测得与基站J的距离。It can be seen that in this example, the third base station of the positioning service system can listen to the data frames of the first and second base stations by itself to realize the time slot number configuration, and after determining its position according to the position calibration information, broadcast data frame K In order to provide the local location service, the location service can enable the tag device or other base stations to measure the distance to the base station J.
请参阅图6,图6是本申请实施例提供了一种定位服务方法的流程示意图,如图所示,本定位服务方法包括以下操作。Please refer to FIG. 6. FIG. 6 is a schematic flowchart of a location service method provided by an embodiment of the present application. As shown in the figure, the location service method includes the following operations.
步骤601,标签设备接收定位服务系统的任意M个基站广播的数据帧,M为大于等于3的整数,其中,基站为用于室内场景的所述定位服务系统的支持热插拔的设备;Step 601: The tag device receives data frames broadcast by any M base stations of the location service system, where M is an integer greater than or equal to 3, where the base station is a hot-pluggable device of the location service system used in indoor scenarios;
步骤602,所述标签设备根据所述任意M个基站广播的数据帧确定自身位置。Step 602: The tag device determines its own location according to the data frames broadcast by the arbitrary M base stations.
可见,本示例中,标签设备能够仅接收基站广播的数据帧实现自身位置的测绘,无需双方复杂信令交互,去中心化机制,提高定位服务系统的服务能力和定位效率。It can be seen that in this example, the tag device can only receive data frames broadcast by the base station to realize its own location mapping, without the need for complex signaling interaction between the two parties, and a decentralized mechanism to improve the service capability and location efficiency of the location service system.
在一个可能的示例中,所述标签设备根据所述任意M个基站广播的数据帧确定自身位置,包括:In a possible example, determining the position of the tag device according to the data frames broadcast by the arbitrary M base stations includes:
所述标签设备根据RTDOA算法与所述定位服务系统的至少M个基站进行数据交互以实现自身位置的自动测绘。The tag device performs data interaction with at least M base stations of the positioning service system according to the RTDOA algorithm to realize automatic mapping of its own position.
在一个可能的示例中,M为3,所述任意M个基站包括所述定位服务系统中的基站Y、基站J和基站K;所述标签设备根据RTDOA算法与所述定位服务系统的至少M个基站进行数据交互以实现自身位置的自动测绘,包括:所述标签设备侦听所述基站Y的数据帧Y,以及侦听所述基站J的数据帧J,以及侦听所述基站K的数据帧K;In a possible example, M is 3, and the arbitrary M base stations include base station Y, base station J, and base station K in the positioning service system; the tag device interacts with at least M of the positioning service system according to the RTDOA algorithm. The data exchange between each base station to realize the automatic mapping of its own position includes: the tag device listens to the data frame Y of the base station Y, listens to the data frame J of the base station J, and listens to the base station K. Data frame K;
所述标签设备执行步骤A、B、C中的至少两个,得到至少两个距离差值;The label device performs at least two of steps A, B, and C to obtain at least two distance differences;
A、所述标签设备获取所述数据帧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的数据帧发送时间差,确定第一距离与第二距离的距离差值,所述第一距离为所述标签设备与所述基站Y的距离,所述第二距离为所述标签设备与所述基站J的距离;A. The tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the The signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received 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 distance is the distance between the tag device and the base station Y, and the second distance is the distance between the tag device and the base station J;
B、所述标签设备获取所述数据帧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的数据帧发送时间差,确定所述第一距离与第三距离的距离差值,所述第三距离为所述标签设备与所述基站K的距离;B. The tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the The signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received The data frame Y reception 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 reception time difference and the data frame transmission time difference between the base station Y and the base station K, The third distance is the distance between the tag device and the base station K;
C、所述标签设备获取所述数据帧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 tag device obtains the time slot number of the data frame J carried in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the The signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received The data frame J receiving time difference of the device, and determining the distance difference between the second distance and the third distance 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;
所述标签设备根据所述至少两个距离差值、所述基站Y的自身位置、所述基站J的自身位置以及所述基站K的自身位置,确定所述标签设备的自身位置。The tag device determines the location of the tag device based on the at least two distance differences, the location of the base station Y, the location of the base station J, and the location of the base station K.
与前述实施例一致的,图1H所示的定位服务系统10中基站具体可以包括基站Y、基站J、基站K,其中,Consistent with the foregoing embodiment, the base stations in the positioning service system 10 shown in FIG. 1H may specifically include base station Y, base station J, and base station K, where:
待加入所述定位服务系统的基站X,用于通过侦听所述基站Y、所述基站J、所述基站K中的至少一个基站的数据帧以实现自身的时隙编号的配置;与所述基站Y、所述基站J、所述基站K进行数据交互以实现自身位置的自动测绘;根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数;The base station X to be added to the positioning service system is used to monitor the data frame of at least one of the base station Y, the base station J, and the base station K to implement the configuration of its own time slot number; and The base station Y, the base station J, and the base station K exchange data to realize automatic mapping of their own position; broadcast data frame X according to their own time slot number and the own position to join the positioning service system, and the positioning Service means that the target device determines its position by receiving data frames broadcast by any M base stations of the positioning service system, the target device is a base station or a tag device, and M is an integer greater than or equal to 3;
所述基站Y,用于广播数据帧Y;The base station Y is used for broadcasting data frame Y;
所述基站J,用于广播数据帧J;The base station J is used to broadcast a data frame J;
所述基站K,用于广播数据帧K;The base station K is used to broadcast a data frame K;
所述标签设备,用于接收所述定位服务系统的任意M个基站广播的数据帧,根据所述任意M个基站广播的数据帧确定自身位置。The tag device is configured to receive data frames broadcast by any M base stations of the positioning service system, and determine its own position according to the data frames broadcast by the any M base stations.
在一个可能的示例中,所述基站X具体用于:在预设时段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站K的数据帧K,所述预设时段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;In a possible example, the base station X is specifically configured to: listen to data frames within a preset time period, and listen to the data frame Y of the base station Y, the data frame J of the base station J, and the base station A data frame K of K, the preset time period is a continuous preset number of positioning service periods, and the positioning service period is a working period of the positioning service system;
以及根据所述数据帧Y、所述数据帧J和所述数据帧K的时隙占用情况配置自身的时隙编号。And configure its own time slot number according to the time slot occupancy of the data frame Y, the data frame J, and the data frame K.
在一个可能的示例中,所述定位服务系统还包括基站Z;In a possible example, the positioning service system further includes a base station Z;
所述基站X,还用于接收所述基站Z的数据帧Z,且判断出自身的时隙编号与所述数据帧Z携带的时隙编号相同;删除自身的时隙编号,并通过预设条件触发重新配置过程;或者,根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X 的时隙与所述定位服务系统中的某个基站的时隙发生冲突;若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。The base station X is also used to receive the data frame Z of the base station Z, and determine that its own time slot number is the same as the time slot number carried in the data frame Z; delete its own time slot number, and pass the preset Condition triggers the reconfiguration process; or, broadcast a conflict test request message according to its own time slot number, and listen to a conflict test response message, where the conflict test response message is used to indicate the time slot of the base station X and the positioning service system The time slot of a certain base station conflicts; if it detects a conflict test response message, it deletes its own time slot number, and triggers the reconfiguration process through preset conditions.
在一个可能的示例中,所述基站X具体用于:接收所述至少一个基站的数据帧;提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。In a possible example, the base station X is specifically configured to: receive the data frame of the at least one base station; extract the time slot number report of each data frame in the data frame of the at least one base station, and the time slot number The report includes the corresponding relationship between the equipment number of the base station and the time slot number; the time slot number of the at least one base station is determined according to the at least one time slot number report of the at least one base station.
在一个可能的示例中,所述基站X具体用于:根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。In a possible example, the base station X is specifically configured to perform 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.
在一个可能的示例中,所述基站X具体用于:根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。In a possible example, the base station X is specifically configured to perform 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.
在一个可能的示例中,所述定位服务系统还包括基站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 is the same as that of the base station L. Support to configure the same time slot number.
在一个可能的示例中,所述标签设备100,还用于根据所述自身位置和与所述自身位置处于不同楼层的目标位置确定多条室内导航路径;计算每条导航路径中的楼层关联路径的预计耗时,所述楼层关联路径包括直梯路径、扶梯路径和楼梯路径;根据所述每条导航路径中的楼层关联路径的预计耗时确定所述每条导航路径的预计时长;选择预计时长最短的室内导航路径进行导航。In a possible example, the tagging device 100 is also used to determine multiple indoor navigation paths according to the position of the self and the target position on a different floor from the position of the self; to calculate the floor-related path in each navigation path According to the estimated time consumption of the floor-related paths in each navigation path, determine the estimated duration of each navigation path; select the estimated time Navigate with the shortest indoor navigation path.
其中,所述目标位置可以是具体的坐标位置,也可以是用户录入的商铺位置、电梯门位置等,此处不做唯一限定。Wherein, the target location may be a specific coordinate location, or may be a shop location, an elevator door location, etc. entered by the user, which is not uniquely limited here.
具体实现中,如图2E所示,用户A与用户B启用手机端的室内导航功能进行快速定位与导航碰头时,往往两个用户都有可能在移动状态,即传统的静止目的地的导航机制并不能准确适配该使用场景,如用户B设置的目的位置为店铺C,用户A手机以店铺C位置为目的位置进行导航过程中,用户B可能由店铺C逛到了店铺D,因此用户A和用户B的手机可以设置如下机制来适配当前使用场景。In the specific implementation, as shown in Figure 2E, when user A and user B enable the indoor navigation function on the mobile phone to quickly locate and navigate, they are often in a mobile state, that is, the traditional navigation mechanism for static destinations does not match. This usage scenario cannot be accurately adapted. For example, the destination location set by user B is shop C, and user A’s mobile phone uses shop C as the destination location for navigation. User B may have visited shop D from shop C, so user A and user B's mobile phone can set the following mechanism to adapt to the current usage scenario.
若用户B的当前楼层未变更,用户B的手机可以缓存用户B在当前楼层的行走记录,该行走记录可以包括店铺信息,当用户A手机到达原定店铺C目的位置后,用户B手机将行走记录推送给用户A手机,并继续导航直至碰头。If user B’s current floor has not been changed, user B’s mobile phone can cache user B’s walking record on the current floor. The walking record can include store information. When user A’s mobile phone reaches the original location of store C, user B’s mobile phone will walk The record is pushed to the mobile phone of user A, and the navigation continues until they meet.
若用户B的当前楼层发生变更,即用户B在用户A导航过程中已经走到别的楼层,则用户B手机应实时将楼层变更信息作为目标位置变更信息发送给用户A手机进行目标位置的更新,以便于用户A手机能够及时获取更新后的楼层位置规划新的导航路径,避免耽误更多时间。If user B’s current floor changes, that is, user B has walked to another floor during user A’s navigation, user B’s mobile phone should send the floor change information as target location change information to user A’s mobile phone to update the target location in real time , So that user A's mobile phone can obtain the updated floor location in time to plan a new navigation path, avoiding more time delay.
在本可能的示例中,在所述计算每条导航路径中的楼层关联路径的预计耗时方面,所述标签设备100具体用于:判断出当前处理的室内导航路径的楼层关联路径为直梯路径;调用预先训练的直梯路径耗时预测模型;根据自身所处目标商场的身份标识和当前系统时间确定模型输入数据;将所述模型输入数据数据所述直梯路径耗时预测模型,得到所述直梯路径的耗时。In this possible example, in terms of calculating the estimated time consumption of the floor-related path in each navigation path, the tagging device 100 is specifically configured to: determine that the floor-related path of the currently processed indoor navigation path is a straight elevator Path; call the pre-trained straight stair path time-consuming prediction model; determine the model input data according to the identity of the target mall where you are located and the current system time; input the model into the data data and the straight stair path time-consuming prediction model to obtain The time consuming of the straight ladder path.
其中,直梯路径耗时预测模型可以由云服务器基于样本数据预先进行训练,该模型可以采用卷积神经网络等实现,此处不做唯一限定。Among them, the time-consuming prediction model of the straight ladder path can be pre-trained by the cloud server based on sample data, and the model can be implemented by using a convolutional neural network, etc., which is not uniquely limited here.
在本可能的示例中,所述目标位置的确定机制包括如下步骤:所述标签设备100接收用户输入的目标店铺的名称;以及根据所述名称查询预存的所述目标商场的室内地图,获取与所述名称匹配的参考基站;将所述参考基站的自身位置作为所述目标位置。In this possible example, the mechanism for determining the target location includes the following steps: the label device 100 receives the name of the target store input by the user; The reference base station whose name matches; and use the position of the reference base station as the target position.
其中,本申请实施例所描述的UWB定位可以分为精确定位(三维定位、二维定位、一维定位)和存在性定位,对应的基站可以分为精确定位基站和存在性定位基站,所述参考基站可以是存在性定位基站。Among them, the UWB positioning described in the embodiments of this application can be divided into precise positioning (three-dimensional positioning, two-dimensional positioning, one-dimensional positioning) and presence positioning. The corresponding base stations can be divided into precise positioning base stations and presence positioning base stations. The reference base station may be a presence location base station.
在本可能的示例中,所述参考基站的自身位置关联所述目标店铺的以下参考位置中的任意一种:门牌号位置、收银台位置、出入口位置。In this possible example, the position of the reference base station itself is associated with any one of the following reference positions of the target store: a house number position, a cash register position, and an entrance/exit position.
鉴于存在性定位基站的设置目的在于方便用户快速确定位置,因此该位置最好是用户普遍熟悉或公知的位置区域,因此选择门牌号位置、收银台位置、出入口位置便于用户快速准确的定位。In view of the fact that the purpose of setting the existing positioning base station is to facilitate the user to quickly determine the location, the location is preferably a location area that the user is generally familiar with or well-known. Therefore, selecting the house number location, the cash register location, and the entrance and exit location are convenient for the user to quickly and accurately locate.
在本可能的示例中,所述标签设备100,还用于在检测到自身进入所述参考基站的信号覆盖范围时,在当前第一界面高亮显示所述参考基站关联的店铺的参考位置;以及与所述参考基站交互以触发所述参考基站发出提示音。In this possible example, the tag device 100 is further configured to highlight the reference location of the store associated with the reference base station on the current first interface when detecting that it has entered the signal coverage area of the reference base station; And interact with the reference base station to trigger the reference base station to emit a prompt tone.
其中,标签设备100可以显示室内的三维导航地图,高亮显示的可以是店铺的招牌或者区域边界等,此处不做唯一限定。通过高亮显示能够及时提醒用户抬头寻找店铺位置,避免错过目标位置。Among them, the tagging device 100 can display an indoor three-dimensional navigation map, and the highlighted display can be a shop sign or an area boundary, etc., which is not uniquely limited here. The highlight display can prompt the user to look up to find the location of the store in time to avoid missing the target location.
在一个可能的示例中,所述标签设备,还用于在检测到所述多个基站均为精确定位基站时,分析所述标签设备当前所处区域的人群密集程度;以及根据所述人群密集程度动态选择受遮挡物影响最小的基站进行定位。In a possible example, the tag device is further configured to analyze the crowd density of the area where the tag device is currently located when it is detected that the multiple base stations are all accurately positioned base stations; and according to the crowd density The degree of dynamic selection of the base station least affected by obstructions for positioning.
具体实现中,商场每个区域的人群密集程度可以基于大数据统计分析得到不同时段的人群密度情况,人群密度越大,则越需要选择手遮挡程度小的基站的广播数据帧进行定位以提高定位精度,当所有基站均受到不同程度的影响时,应按照影响程度进行优先级排序,并选择高优先级的基站进行定位。In specific implementation, the crowd density in each area of the shopping mall can be based on big data statistical analysis to get the crowd density at different times. The higher the crowd density, the more it is necessary to select the broadcast data frame of the base station with less hand occlusion for positioning to improve positioning Accuracy. When all base stations are affected by different degrees, they should be prioritized according to the degree of impact, and high-priority base stations should be selected for positioning.
其中,每个基站的受遮挡影响程度可以通过接收到的基站的广播数据帧的信号强度测定。Wherein, the degree of influence of the occlusion of each base station can be determined by the signal strength of the received broadcast data frame of the base station.
可见,本示例中,标签设备能够基于人群密度动态选择基站以提高定位准确度,满足复杂人群环境定位需求。It can be seen that in this example, the tag device can dynamically select base stations based on crowd density to improve positioning accuracy and meet the positioning needs of complex crowd environments.
本申请实施例提供一种定位服务装置,该定位服务装置可以为基站200。具体的,定位服务装置用于执行以上定位服务方法中基站X所执行的步骤。本申请实施例提供的定位服务装置可以包括相应步骤所对应的模块。The embodiment of the present application provides a positioning service device, and the positioning service device may be a base station 200. Specifically, the positioning service device is used to execute the steps performed by the base station X in the above positioning service method. The positioning service device provided in the embodiment of the present application may include modules corresponding to corresponding steps.
本申请实施例可以根据上述方法示例对定位服务装置进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。The embodiment of the present application may divide the positioning service device into functional modules according to the foregoing method examples. For example, each functional module may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The above-mentioned integrated modules can be implemented in the form of hardware or software function modules. The division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
在采用对应各个功能划分各个功能模块的情况下,图7示出上述实施例中所涉及的定位服务装置的一种可能的结构示意图。如图7所示,定位服务装置7包括配置单元70、测绘单元71、广播单元72。In the case of dividing each functional module corresponding to each function, FIG. 7 shows a possible structural schematic diagram of the positioning service device involved in the foregoing embodiment. As shown in FIG. 7, the positioning service device 7 includes a configuration unit 70, a surveying and mapping unit 71, and a broadcasting unit 72.
配置单元70,用于通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置;The configuration unit 70 is configured to monitor the data frame of at least one base station of the positioning service system to implement the configuration of its own time slot number;
测绘单元71,用于与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘;The surveying and mapping unit 71 is configured to perform data interaction with at least three base stations of the positioning service system to realize automatic surveying and mapping of its own position;
广播单元72,用于根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。The broadcasting unit 72 is configured to broadcast a data frame X according to its own time slot number and the own position to join the positioning service system. The positioning service means that the target device broadcasts by receiving any M base stations of the positioning service system 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.
在一个可能的示例中,所述定位服务系统包括基站Y、基站J和基站K;在通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置方面,所述配置单元70具体用于:在预设时段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站K的数据帧K,所述预设时段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;以及根据所述数据帧Y、所述数据帧J和所述数据帧K的时隙占用情况配置自身的时隙编号。In a possible example, the positioning service system includes base station Y, base station J, and base station K; in terms of monitoring data frames of at least one base station of the positioning service system to configure its own time slot number, so The configuration unit 70 is specifically configured to: listen to data frames within a preset time period, and listen to the data frame Y of the base station Y, the data frame J of the base station J, and the data frame K of the base station K, so The preset time period is a continuous preset number of positioning service cycles, and the positioning service cycle is the working cycle of the positioning service system; and according to the time of the data frame Y, the data frame J, and the data frame K The slot occupancy status configures its own time slot number.
在一个可能的示例中,所述定位服务系统还包括基站Z;所述装置还包括In a possible example, the positioning service system further includes a base station Z; the apparatus further includes
接收单元,用于接收所述基站Z的数据帧Z,且判断出自身的时隙编号与所述数据帧Z携带的时隙编号相同;A receiving unit, configured to receive the data frame Z of the base station Z, and determine that its own time slot number is the same as the time slot number carried in the data frame Z;
第一删除单元,用于删除自身的时隙编号,并通过预设条件触发重新配置过程;或者,The first deleting unit is used to delete its own time slot number and trigger the reconfiguration process through preset conditions; or,
所述广播单元72,还用于根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X的时隙与所述定位服务系统中的某个基站的时隙发生冲突;The broadcasting unit 72 is further configured to broadcast a conflict test request message according to its own time slot number, and to listen to a conflict test response message. The conflict test response message is used to indicate the time slot of the base station X and the positioning service. The time slot of a certain base station in the system conflicts;
第二删除单元,用于若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。The second deleting unit is configured to delete its own time slot number if the conflict test response message is detected, and trigger the reconfiguration process through preset conditions.
在一个可能的示例中,在通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置方面,所述配置单元70具体用于:接收所述至少一个基站的数据帧;以及提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;以及根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。In a possible example, in terms of implementing 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, the configuration unit 70 is specifically configured to: receive the data frame of the at least one base station. Data frame; and extracting the time slot number report of each data frame in the data frame of the at least one base station, the time slot number report including the corresponding relationship between the equipment number of the base station and the time slot number; and according to the at least one base station At least one of the time slot number report to determine its own time slot number.
在一个可能的示例中,在与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘方面,所述测绘单元71具体用于:根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。In a possible example, in terms of data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position, the surveying and mapping unit 71 is specifically configured to: according to the reverse time difference of arrival RTDOA algorithm and the said At least three base stations of the positioning service system exchange data to realize automatic mapping of their own positions.
在一个可能的示例中,在根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘方面,所述测绘单元71具体用于:执行步骤A、B、C中的至少两个,得到至少两个距离差值;In a possible example, in terms of 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, the surveying and mapping unit 71 is specifically configured to: perform step A , B, C at least two, get 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the The signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received 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 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the The signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received The data frame Y reception 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 reception time difference and the data frame transmission time difference between the base station Y and the base station K, 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 in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the The signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received The data frame J receiving time difference of the device, and determining the distance difference between the second distance and the third distance 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 position of the base station X based on the at least two distance differences, the position of the base station Y, the position of the base station J, and the position of the base station K.
在一个可能的示例中,在与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘方面,所述测绘单元71具体用于:根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。In a possible example, in terms of data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position, the surveying and mapping unit 71 is specifically configured to: according to a preset unilateral two-way ranging SS -The TWR algorithm performs data interaction with at least three base stations of the positioning service system to realize automatic mapping of its own position.
在一个可能的示例中,在根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘方面,所述测绘单元具体用于:广播第一测距消息,同时记录所述第一测距消息的发送时间;以及接收来自所述基站Y的第二测距消息、所述基站J的第三测距消息以及所述基站K的第四测距消息,所述第二测距消息包括所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间,所述第三测距消息包括所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间,所述第四测距消息包括所述基站K接收所述第一测距消息的时间和发送所述第四测距消息的时间;以及根据所述第一测距消息的发送时间、所述第二测距消息中所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间、所述基站X接收所述第二测距消息的时间,确定所述基站X与所述基站Y的距离;以及根据所述第一测距消息的发送时间、所述第三测距消息中所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间、所述基站X接收所述第三测距消息的时间,确定所述基站X与所述基站J的距离;以及根据所述第一测距消息的发送时间、所述第四测距消息中所述基站K接收所述第一测距消息的时间和发送所述第四测距消息的时间、所述基站X接收所述第四测距消息的时间,确定所述基站X与所述基站K的距离;以及根据本端设备与所述基站Y的距离、本端设备与所述基站J的距离、本端设备与所述基站K的距离,计算自身位置。In a possible example, in terms of data interaction with at least three base stations of the positioning service system according to the preset unilateral two-way ranging SS-TWR algorithm to realize automatic mapping of its own position, the surveying and mapping unit specifically uses In: broadcasting a first ranging message, while recording the transmission time of the first ranging message; and receiving a second ranging message from the base station Y, a third ranging message from the base station J, and the base station The fourth ranging message of K, the second ranging message includes the time when the base station 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 the time when the third ranging message is sent, and the fourth ranging message includes the time when the base station K receives the first ranging message and the time when the first ranging message is sent. The time of the fourth ranging message; and according to the sending time of the first ranging message, the time at which the base station Y receives the first ranging message in the second ranging message, and the time when the first ranging message is sent 2. The time of the ranging message, the time when the base station X receives the second ranging message, determine the distance between the base station X and the base station Y; and according to the transmission time of the first ranging message, the In the third ranging message, the time when the base station J received the first ranging message and the time when the third ranging message was sent, and the time when the base station X received the third ranging message, determine the The distance between the base station X and the base station J; and according to the transmission time of the first ranging message, the time at which the base station K receives the first ranging message in the fourth ranging message, and the transmission of the first ranging message 4. The time of the ranging message, the time when the base station X receives the fourth ranging message, determine the distance between the base station X and the base station K; and according to the distance between the local device and the base station Y, the local terminal The distance between the device and the base station J and the distance between the local device and the base station K are calculated.
在一个可能的示例中,所述定位服务系统还包括基站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 is the same as that of the base station L. Support to configure the same time slot number.
其中,上述方法实施例涉及的各步骤的所有相关内容均可以援引到对应功能模块的功能描述,在此 不再赘述。当然,本申请实施例提供的定位服务装置包括但不限于上述模块,例如:定位服务装置还可以包括存储单元73。存储单元73可以用于存储该定位服务装置的程序代码和数据。Among them, all relevant content of the steps involved in the above method embodiments can be cited in the functional description of the corresponding functional module, which will not be repeated here. Of course, the location service device provided by the embodiment of the present application includes but is not limited to the above-mentioned modules. For example, the location service device may further include a storage unit 73. The storage unit 73 may be used to store the program code and data of the positioning service device.
在采用集成的单元的情况下,本申请实施例提供的定位服务装置的结构示意图如图8所示。在图8中,定位服务装置8包括:处理模块80和通信模块81。处理模块80用于对定位服务装置的动作进行控制管理,例如,执行配置单元70、测绘单元71、广播单元72所执行的步骤,和/或用于执行本文所描述的技术的其它过程。通信模块81用于支持定位服务装置与其他设备之间的交互。如图8所示,定位服务装置还可以包括存储模块82,存储模块82用于存储定位服务装置的程序代码和数据,例如存储上述存储单元73所保存的内容。In the case of adopting an integrated unit, a schematic structural diagram of the positioning service device provided in an embodiment of the present application is shown in FIG. 8. In FIG. 8, the location service device 8 includes: a processing module 80 and a communication module 81. The processing module 80 is used to control and manage the actions of the positioning service device, for example, to execute the steps performed by the configuration unit 70, the surveying and mapping unit 71, and the broadcasting unit 72, and/or for performing other processes of the technology described herein. The communication module 81 is used to support the interaction between the positioning service device and other devices. As shown in FIG. 8, the location service device may further include a storage module 82, and the storage module 82 is used to store the program code and data of the location service device, for example, store the content stored in the storage unit 73 described above.
其中,处理模块80可以是处理器或控制器,例如可以是中央处理器(Central Processing Unit,CPU),通用处理器,数字信号处理器(Digital Signal Processor,DSP),ASIC,FPGA或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。通信模块81可以是收发器、RF电路或通信接口等。存储模块82可以是存储器。The processing module 80 may be a processor or a controller, for example, a central processing unit (CPU), a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an ASIC, an FPGA, or other programmable processors. Logic devices, transistor logic devices, hardware components, or any combination thereof. It can implement or execute various exemplary logical blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination for realizing computing functions, for example, including a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and so on. The communication module 81 may be a transceiver, an RF circuit, a communication interface, or the like. The storage module 82 may be a memory.
其中,上述方法实施例涉及的各场景的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。Among them, all relevant content of each scene involved in the foregoing method embodiment can be cited in the functional description of the corresponding functional module, which will not be repeated here.
本申请实施例还提供一种计算机存储介质,其中,该计算机存储介质存储用于电子数据交换的计算机程序,该计算机程序使得计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤,上述计算机包括电子设备。An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any method as described in the above method embodiment , The above-mentioned computer includes electronic equipment.
本申请实施例还提供一种计算机程序产品,上述计算机程序产品包括存储了计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如上述方法实施例中记载的任一方法的部分或全部步骤。该计算机程序产品可以为一个软件安装包,上述计算机包括电子设备。The embodiments of the present application also provide a computer program product. The above-mentioned computer program product includes a non-transitory computer-readable storage medium storing a computer program. The above-mentioned computer program is operable to cause a computer to execute any of the methods described in the above-mentioned method embodiments. Part or all of the steps of the method. The computer program product may be a software installation package, and the above-mentioned computer includes electronic equipment.
需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should know that this application is not limited by the described sequence of actions. Because according to this application, certain steps can be performed in other order or at the same time. 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 this application.
在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above-mentioned embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in an embodiment, reference may be made to related descriptions of other embodiments.
在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如上述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed device may be implemented in other ways. For example, the device embodiments described above are merely illustrative, for example, the division of the above-mentioned units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or components can be combined or integrated. To another system, or some features can be ignored, or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical or other forms.
上述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described above as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, the functional units in the various embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units may be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or software functional unit.
上述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例上述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。If the aforementioned integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable memory. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, A number of instructions are included to enable 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 foregoing methods of 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-mentioned embodiments can be completed by a program instructing relevant hardware. 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, abbreviation: ROM), random access device (English: Random Access Memory, abbreviation: RAM), magnetic disk or optical disc, etc.
以上对本申请实施例进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。The embodiments of the application are described in detail above, and specific examples are used in this article to illustrate the principles and implementation of the application. The descriptions of the above examples are only used to help understand the methods and core ideas of the application; at the same time, for Persons of ordinary skill in the art, based on the idea of the application, will have changes in the specific implementation and the scope of application. In summary, the content of this specification should not be construed as limiting the application.
Claims (30)
- 一种定位服务方法,其特征在于,应用于待加入定位服务系统的基站X,所述方法包括:A positioning service method, characterized in that it is applied to a base station X to be added to a positioning service system, and the method includes:基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置;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;所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘;The base station X exchanges data with at least three base stations of the positioning service system to realize automatic mapping of its own position;所述基站X根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。The base station X broadcasts a data frame X according to its own time slot number and its own location to join the positioning service system. 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 position, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
- 根据权利要求1所述的方法,其特征在于,所述定位服务系统包括基站Y、基站J和基站K;所述基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:The method according to claim 1, wherein the positioning service system includes a base station Y, a base station J, and a base station K; the base station X listens to a data frame of at least one base station of the positioning service system to realize itself The configuration of the time slot number includes:所述基站X在预设时段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站K的数据帧K,所述预设时段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;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 K of the base station K. The preset time period Is a continuous preset number of positioning service periods, where the positioning service period is a working period of the positioning service system;所述基站X根据所述数据帧Y、所述数据帧J和所述数据帧K的时隙占用情况配置自身的时隙编号。The base station X configures its own time slot number according to the time slot occupancy of the data frame Y, the data frame J, and the data frame K.
- 根据权利要求2所述的方法,其特征在于,所述定位服务系统还包括基站Z;所述方法还包括:The method according to claim 2, wherein the positioning service system further comprises a base station Z; and the method further comprises:所述基站X接收所述基站Z的数据帧Z,且判断出自身的时隙编号与所述数据帧Z携带的时隙编号相同;The base station X receives the data frame Z of the base station Z, and determines that its own time slot number is the same as the time slot number carried in the data frame Z;所述基站X删除自身的时隙编号,并通过预设条件触发重新配置过程;或者,The base station X deletes its own time slot number and triggers the reconfiguration process through preset conditions; or,所述基站X根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X的时隙与所述定位服务系统中的某个基站的时隙发生冲突;The base station X broadcasts a conflict test request message and a listening conflict test response message according to its own time slot number. The conflict test response message is used to indicate that the time slot of the base station X is related to the location service system. The time slot of the base station conflicts;若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。If the conflict test response message is heard, the time slot number of its own is deleted, and the reconfiguration process is triggered by the preset condition.
- 根据权利要求1所述的方法,其特征在于,所述基站X通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置,包括:The method according to claim 1, wherein the base station X implements its own time slot number configuration by listening to the data frame of at least one base station of the positioning service system, comprising:所述基站X接收所述至少一个基站的数据帧;The base station X receives the data frame of the at least one base station;所述基站X提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;The base station X extracts a time slot number report of each data frame in the data frame of the at least one base station, where the time slot number report includes the correspondence between the device number of the base station and the time slot number;所述基站X根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。The base station X determines its own time slot number according to at least one time slot number report of the at least one base station.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:The method according to any one of claims 1 to 4, wherein the base station X performs data exchange with at least three base stations of the positioning service system to realize automatic mapping of its own position, comprising:所述基站X根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。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.
- 根据权利要求5所述的方法,其特征在于,所述基站X根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:The method according to claim 5, wherein the base station X performs data exchange 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, comprising:所述基站X执行步骤A、B、C中的至少两个,得到至少两个距离差值;The base station X performs at least two of steps A, B, and 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the The signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received 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 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 in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the The signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received The data frame Y reception 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 reception time difference and the data frame transmission time difference between the base station Y and the base station K, 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 in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the The signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received The data frame J receiving time difference of the device, and determining the distance difference between the second distance and the third distance 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 position of the base station X based on the at least two distance differences, the position of the base station Y, the position of the base station J, and the position of the base station K.
- 根据权利要求1-4任一项所述的方法,其特征在于,所述基站X与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:The method according to any one of claims 1 to 4, wherein the base station X performs data exchange with at least three base stations of the positioning service system to realize automatic mapping of its own position, comprising:所述基站X根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。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.
- 根据权利要求7所述的方法,其特征在于,所述基站X根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘,包括:The method according to claim 7, characterized in that the base station X performs data exchange 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 position detection. Surveying and mapping, including:所述基站X广播第一测距消息,同时记录所述第一测距消息的发送时间;The base station X broadcasts the first ranging message and at the same time records the sending time of the first ranging message;所述基站X接收来自所述基站Y的第二测距消息、所述基站J的第三测距消息以及所述基站K的第四测距消息,所述第二测距消息包括所述基站Y接收所述第一测距消息的时间和发送所述第二测距消息的时间,所述第三测距消息包括所述基站J接收所述第一测距消息的时间和发送所述第三测距消息 的时间,所述第四测距消息包括所述基站K接收所述第一测距消息的时间和发送所述第四测距消息的时间;The base station X receives a second ranging message from the base station Y, a third ranging message from the base station J, and a fourth ranging message from the base station K, where the second ranging message includes the base station Y the time when the first ranging message is received 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 the time when the first ranging message is sent. 3. Time of the ranging message, where 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 according to the sending time of the first ranging message, the time at which the base station Y receives the first ranging message and the time at which the second ranging message is sent in the second ranging message, Determining the distance between the base station X and the base station Y when the base station X receives the second ranging message;所述基站X根据所述第一测距消息的发送时间、所述第三测距消息中所述基站J接收所述第一测距消息的时间和发送所述第三测距消息的时间、所述基站X接收所述第三测距消息的时间,确定所述基站X与所述基站J的距离;The base station X according to the sending time of the first ranging message, the time at which the base station J receives the first ranging message and the time at which 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 at which the base station K receives the first ranging message and the time at which the fourth ranging message is sent in the fourth ranging message, Determine the distance between the base station X and the base station K when the base station X receives the fourth ranging message;所述基站X根据本端设备与所述基站Y的距离、本端设备与所述基站J的距离、本端设备与所述基站K的距离,计算自身位置。The base station X calculates its position based on 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.
- 根据权利要求1-8任一项所述的方法,其特征在于,所述定位服务系统还包括基站L,所述基站X的信号覆盖范围与所述基站L的信号覆盖范围相互独立,所述基站X的时隙编号与所述基站L支持配置相同的时隙编号。The method according to any one of claims 1-8, wherein the positioning service system further comprises 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 The timeslot number of the base station X is the same as the timeslot number supported by the base station L.
- 一种定位服务方法,其特征在于,包括:A positioning service method is characterized in that it includes:基站Y在预设时段内侦听当前空间的预设频段的数据帧,且未侦听到有效的数据帧基站Y;Base station Y listens to the data frame of the preset frequency band in the current space within the preset time period, and does not listen to the valid data frame base station Y;所述基站Y按照预设规则配置自身的时隙编号;The base station Y configures its own time slot number according to a preset rule;所述基站Y获取位置标定信息,根据所述位置标定信息确定自身位置;The base station Y obtains location calibration information, and determines its own location according to the location calibration information;所述基站Y根据所述时隙编号和所述自身位置,广播数据帧Y。The base station Y broadcasts the data frame Y according to the time slot number and the position of the base station Y.
- 一种定位服务方法,其特征在于,包括:A positioning service method is characterized in that it includes:基站J在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y;The base station J listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y;所述基站J根据所述数据帧Y的时隙占用情况配置自身的时隙编号;The base station J configures its own time slot number according to the time slot occupancy of the data frame Y;所述基站J获取位置标定信息,根据所述位置标定信息确定自身位置;The base station J obtains location calibration information, and determines its own location according to the location calibration information;所述基站J根据所述时隙编号和所述自身位置,广播数据帧J。The base station J broadcasts the data frame J according to the time slot number and the position of the base station J.
- 一种定位服务方法,其特征在于,包括:A positioning service method is characterized in that it includes:基站K在预设时段内侦听当前空间的预设频段的数据帧,且侦听到基站Y的数据帧Y和基站J的数据帧J;The base station K listens to the data frame of the preset frequency band in the current space within the preset time period, and listens to the data frame Y of the base station Y and the data frame J of the base station J;所述基站K根据所述数据帧Y和所述数据帧J的时隙占用情况配置自身的时隙编号;The base station K configures its own time slot number according to the time slot occupancy of the data frame Y and the data frame J;所述基站K获取位置标定信息,根据所述位置标定信息确定自身位置;The base station K obtains location calibration information, and determines its own location according to the location calibration information;所述基站K根据所述时隙编号和所述自身位置,广播数据帧J。The base station K broadcasts the data frame J according to the time slot number and the position of the base station K.
- 一种定位服务方法,其特征在于,包括:A positioning service method is characterized in that it includes:标签设备接收定位服务系统的任意M个基站广播的数据帧,M为大于等于3的整数,其中,基站为用于室内场景的所述定位服务系统的支持热插拔的设备;The tag device receives data frames broadcast by any M base stations of the location service system, where M is an integer greater than or equal to 3, where the base station is a hot-pluggable device of the location service system used in indoor scenarios;所述标签设备根据所述任意M个基站广播的数据帧确定自身位置。The tag device determines its position according to the data frames broadcast by the arbitrary M base stations.
- 根据权利要求13所述的方法,其特征在于,所述标签设备根据所述任意M个基站广播的数据帧确定自身位置,包括:The method according to claim 13, wherein the tag device determining its position according to the data frames broadcast by the any M base stations comprises:所述标签设备根据RTDOA算法与所述定位服务系统的至少M个基站进行数据交互以实现自身位置的自动测绘。The tag device performs data interaction with at least M base stations of the positioning service system according to the RTDOA algorithm to realize automatic mapping of its own position.
- 根据权利要求14所述的方法,其特征在于,M为3,所述任意M个基站包括所述定位服务系统中的基站Y、基站J和基站K;所述标签设备根据RTDOA算法与所述定位服务系统的至少M个基站进行数据交互以实现自身位置的自动测绘,包括:The method according to claim 14, wherein M is 3, and the arbitrary M base stations include base station Y, base station J, and base station K in the positioning service system; the tag device communicates with the base station according to the RTDOA algorithm. At least M base stations of the positioning service system perform data interaction to realize automatic mapping of their own position, including:所述标签设备侦听所述基站Y的数据帧Y,以及侦听所述基站J的数据帧J,以及侦听所述基站K的数据帧K;The tag device listens to the data frame Y of the base station Y, listens to the data frame J of the base station J, and listens to the data frame K of the base station K;所述标签设备执行步骤A、B、C中的至少两个,得到至少两个距离差值;The label device performs at least two of steps A, B, and C to obtain at least two distance differences;A、所述标签设备获取所述数据帧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的数据帧发送时间差,确定第一距离与第二距离的距离差值,所述第一距离为所述标签设备与所述基站Y的距离,所述第二距离为所述标签设备与所述基站J的距离;A. The tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame J carried in 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 the signal flight time between the base station Y and the base station J and the The signal transmission time delay of the base station Y and the base station J determines the data frame transmission time difference between the base station Y and the base station J, and determines the local end according to the time when the data frame Y is received and the time when the data frame J is received 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 distance is the distance between the tag device and the base station Y, and the second distance is the distance between the tag device and the base station J;B、所述标签设备获取所述数据帧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的数据帧发送时间差,确定所述第一距离与第三距离的距离差值,所述第三距离为所述标签设备与所述基站K的距离;B. The tag device obtains the time slot number of the data frame Y carried in the data frame Y and the position of the base station Y, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station Y and the base station K and the The signal transmission time delay of the base station Y and the base station K determines the data frame transmission time difference between the base station Y and the base station K, and determines the local end according to the time when the data frame Y is received and the time when the data frame K is received The data frame Y reception 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 reception time difference and the data frame transmission time difference between the base station Y and the base station K, The third distance is the distance between the tag device and the base station K;C、所述标签设备获取所述数据帧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 tag device obtains the time slot number of the data frame J carried in the data frame J and the position of the base station J itself, and obtains the time slot number of the data frame K carried in 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 the signal flight time between the base station J and the base station K and the The signal transmission delay of the base station J and the base station K determines the data frame transmission time difference between the base station J and the base station K, and determines the local end according to the time when the data frame J is received and the time when the data frame K is received The data frame J receiving time difference of the device, and determining the distance difference between the second distance and the third distance 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;所述标签设备根据所述至少两个距离差值、所述基站Y的自身位置、所述基站J的自身位置以及所述基站K的自身位置,确定所述标签设备的自身位置。The tag device determines the location of the tag device based on the at least two distance differences, the location of the base station Y, the location of the base station J, and the location of the base station K.
- 一种定位服务系统,其特征在于,包括基站Y、基站J、基站K,其中,A positioning service system, characterized in that it includes base station Y, base station J, and base station K, wherein:待加入所述定位服务系统的基站X,用于通过侦听所述基站Y、所述基站J、所述基站K中的至少一个基站的数据帧以实现自身的时隙编号的配置;与所述基站Y、所述基站J、所述基站K进行数据交互以实现自身位置的自动测绘;根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数;The base station X to be added to the positioning service system is used to monitor the data frame of at least one of the base station Y, the base station J, and the base station K to implement the configuration of its own time slot number; and The base station Y, the base station J, and the base station K exchange data to realize automatic mapping of their own position; broadcast data frame X according to their own time slot number and the own position to join the positioning service system, and the positioning Service means that the target device determines its position by receiving data frames broadcast by any M base stations of the positioning service system, the target device is a base station or a tag device, and M is an integer greater than or equal to 3;所述基站Y,用于广播数据帧Y;The base station Y is used for broadcasting data frame Y;所述基站J,用于广播数据帧J;The base station J is used to broadcast a data frame J;所述基站K,用于广播数据帧K;The base station K is used to broadcast a data frame K;所述目标设备用于接收所述定位服务系统的任意M个基站广播的数据帧,根据所述任意M个基站广播的数据帧确定自身位置。The target device is configured to receive data frames broadcast by any M base stations of the positioning service system, and determine its own position according to the data frames broadcast by the any M base stations.
- 根据权利要求16所述的系统,其特征在于,所述基站X具体用于:在预设时段内侦听数据帧,并侦听到所述基站Y的数据帧Y、所述基站J的数据帧J和所述基站K的数据帧K,所述预设时段为连续预设数量个定位服务周期,所述定位服务周期为所述定位服务系统的工作周期;The system according to claim 16, wherein the base station X is specifically configured to: listen to data frames within a preset time period, and listen to data frames Y of the base station Y and data of the base station J For frame J and the data frame K of the base station K, the preset time period is a continuous preset number of positioning service periods, and the positioning service period is a working period of the positioning service system;以及根据所述数据帧Y、所述数据帧J和所述数据帧K的时隙占用情况配置自身的时隙编号。And configure its own time slot number according to the time slot occupancy of the data frame Y, the data frame J, and the data frame K.
- 根据权利要求17所述的系统,其特征在于,所述定位服务系统还包括基站Z;The system according to claim 17, wherein the positioning service system further comprises a base station Z;所述基站X,还用于接收所述基站Z的数据帧Z,且判断出自身的时隙编号与所述数据帧Z携带的时隙编号相同;删除自身的时隙编号,并通过预设条件触发重新配置过程;或者,根据自身的时隙编号广播冲突测试请求消息,以及侦听冲突测试响应消息,所述冲突测试响应消息用于指示所述基站X的时隙与所述定位服务系统中的某个基站的时隙发生冲突;若侦听到冲突测试响应消息,则删除自身的时隙编号,并通过预设条件触发重新配置过程。The base station X is also used to receive the data frame Z of the base station Z, and determine that its own time slot number is the same as the time slot number carried in the data frame Z; delete its own time slot number, and pass the preset The condition triggers the reconfiguration process; or, broadcasts a conflict test request message according to its own time slot number, and listens to a conflict test response message, the conflict test response message is used to indicate the time slot of the base station X and the positioning service system The time slot of a certain base station conflicts; if it detects a conflict test response message, it deletes its own time slot number, and triggers the reconfiguration process through preset conditions.
- 根据权利要求16所述的系统,其特征在于,所述基站X具体用于:接收所述至少一个基站的数据帧;提取所述至少一个基站的数据帧中每个数据帧的时隙编号报告,所述时隙编号报告包括基站的设备编号与时隙编号的对应关系;根据所述至少一个基站的至少一个时隙编号报告确定自身的时隙编号。The system according to claim 16, wherein the base station X is specifically configured to: receive the data frame of the at least one base station; extract the time slot number report of each data frame in the data frame of the at least one base station The time slot number report includes the corresponding relationship between the equipment number of the base station and the time slot number; and the time slot number of itself is determined according to the at least one time slot number report of the at least one base station.
- 根据权利要求16-19任一项所述的系统,其特征在于,所述基站X具体用于:根据反向到达时间差RTDOA算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。The system according to any one of claims 16-19, wherein the base station X is specifically configured to: perform data exchange with at least three base stations of the positioning service system according to the reverse time difference of arrival RTDOA algorithm to realize itself Automatic mapping of location.
- 根据权利要求16-19任一项所述的系统,其特征在于,所述基站X具体用于:根据预设的单边双向测距SS-TWR算法与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘。The system according to any one of claims 16-19, wherein the base station X is specifically configured to: interact with at least three base stations of the positioning service system according to a preset unilateral two-way ranging SS-TWR algorithm Perform data interaction to realize automatic mapping of its own position.
- 根据权利要求16-20任一项所述的系统,其特征在于,所述定位服务系统还包括基站L,所述基站X的信号覆盖范围与所述基站L的信号覆盖范围相互独立,所述基站X的时隙编号与所述基站L 支持配置相同的时隙编号。The system according to any one of claims 16-20, wherein the positioning service system further comprises 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 The time slot number of the base station X is the same as the time slot number supported by the base station L.
- 根据权利要求22所述的系统,其特征在于,所述标签设备,还用于根据所述自身位置和与所述自身位置处于不同楼层的目标位置确定多条室内导航路径;计算每条导航路径中的楼层关联路径的预计耗时,所述楼层关联路径包括直梯路径、扶梯路径和楼梯路径;根据所述每条导航路径中的楼层关联路径的预计耗时确定所述每条导航路径的预计时长;选择预计时长最短的室内导航路径进行导航。The system according to claim 22, wherein the tag device is further configured to determine multiple indoor navigation paths according to the position of the self and the target position on a different floor from the position of the self; and calculate each navigation path The estimated time consumption of the floor-associated path in the, the floor-associated path includes a straight escalator path, an escalator path, and a stair path; the estimated time-consuming of each navigation path is determined according to the estimated time consuming of the floor-associated path in each navigation path Estimated duration; select the indoor navigation path with the shortest estimated duration for navigation.
- 根据权利要求23所述的系统,其特征在于,在所述计算每条导航路径中的楼层关联路径的预计耗时方面,所述标签设备具体用于:判断出当前处理的室内导航路径的楼层关联路径为直梯路径;调用预先训练的直梯路径耗时预测模型;根据自身所处目标商场的身份标识和当前系统时间确定模型输入数据;将所述模型输入数据数据所述直梯路径耗时预测模型,得到所述直梯路径的耗时。The system according to claim 23, characterized in that, in terms of calculating the estimated time consumption of the floor-related path in each navigation path, the tagging device is specifically configured to: determine the floor of the currently processed indoor navigation path The associated path is a straight ladder path; call the pre-trained straight ladder path time-consuming prediction model; determine the model input data according to the identity of the target mall where you are located and the current system time; input the model into the data data the straight ladder path consumption Time prediction model to obtain the time consumption of the straight ladder path.
- 根据权利要求23或24所述的系统,其特征在于,所述目标位置的确定机制包括如下步骤:The system according to claim 23 or 24, wherein the mechanism for determining the target position comprises the following steps:所述标签设备接收用户输入的目标店铺的名称;以及根据所述名称查询预存的所述目标商场的室内地图,获取与所述名称匹配的参考基站;将所述参考基站的自身位置作为所述目标位置。The tag device receives the name of the target store input by the user; and queries the pre-stored indoor map of the target mall according to the name, and obtains a reference base station matching the name; and uses the position of the reference base station as the target location.
- 根据权利要求25所述的系统,其特征在于,所述参考基站的自身位置关联所述目标店铺的以下参考位置中的任意一种:The system according to claim 25, wherein the own location of the reference base station is associated with any one of the following reference locations of the target store:门牌号位置、收银台位置、出入口位置。House number position, cash register position, entrance and exit position.
- 根据权利要求26所述的系统,其特征在于,所述标签设备,还用于在检测到自身进入所述参考基站的信号覆盖范围时,在当前第一界面高亮显示所述参考基站关联的店铺的参考位置;以及与所述参考基站交互以触发所述参考基站发出提示音。The system according to claim 26, wherein the tag device is further configured to, when detecting that it enters the signal coverage area of the reference base station, highlight the information associated with the reference base station on the current first interface. The reference location of the store; and interacting with the reference base station to trigger the reference base station to emit a prompt tone.
- 一种定位服务装置,其特征在于,包括A positioning service device, characterized in that it comprises配置单元,用于通过侦听所述定位服务系统的至少一个基站的数据帧以实现自身的时隙编号的配置;The configuration unit is configured to monitor the data frame of at least one base station of the positioning service system to realize the configuration of its own time slot number;测绘单元,用于与所述定位服务系统的至少三个基站进行数据交互以实现自身位置的自动测绘;The surveying and mapping unit is used for data interaction with at least three base stations of the positioning service system to realize automatic surveying and mapping of its own position;广播单元,用于根据自身的时隙编号和所述自身位置广播数据帧X以加入所述定位服务系统,所述定位服务是指目标设备通过接收所述定位服务系统的任意M个基站广播的数据帧以确定自身位置,所述目标设备为基站或者标签设备,M为大于等于3的整数。The broadcasting unit is used to broadcast a data frame X according to its own time slot number and its own location to join the positioning service system. The positioning service refers to the broadcast by the target device through receiving any M base stations of the positioning service system The data frame determines its position, the target device is a base station or a tag device, and M is an integer greater than or equal to 3.
- 一种电子设备,其特征在于,包括处理器、存储器、通信接口,以及一个或多个程序,所述一个或多个程序被存储在所述存储器中,并且被配置由所述处理器执行,所述程序包括用于执行如权利要求1-15任一项所述的方法中的步骤的指令。An electronic device, characterized by comprising a processor, a memory, a communication interface, and one or more programs, the one or more programs are stored in the memory and configured to be executed by the processor, The program includes instructions for performing the steps in the method according to any one of claims 1-15.
- 一种计算机可读存储介质,其特征在于,存储用于电子数据交换的计算机程序,其中,所述计算机程序使得计算机执行如权利要求1-15任一项所述的方法。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-15.
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010493587.X | 2020-06-02 | ||
CN202010493587.XA CN113766415B (en) | 2020-06-02 | 2020-06-02 | Positioning service method and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2021244331A1 true WO2021244331A1 (en) | 2021-12-09 |
Family
ID=78783197
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2021/095221 WO2021244331A1 (en) | 2020-06-02 | 2021-05-21 | Positioning service method, and related apparatus |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN113766415B (en) |
WO (1) | WO2021244331A1 (en) |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114007261A (en) * | 2022-01-05 | 2022-02-01 | 华清科盛(北京)信息技术有限公司 | UWB positioning system-based three-dimensional positioning method and system for gantry crane hook |
CN114339612A (en) * | 2021-12-31 | 2022-04-12 | 清华大学深圳国际研究生院 | Multi-base-station multi-label positioning method based on ultra-wideband and readable storage medium |
CN114449442A (en) * | 2022-01-19 | 2022-05-06 | 中铁第四勘察设计院集团有限公司 | Intelligent rail vehicle in-garage positioning system and method based on UWB technology |
CN114698099A (en) * | 2022-05-31 | 2022-07-01 | 广东师大维智信息科技有限公司 | Rapid self-calibration method, system, medium and device for UWB mobile base station |
CN114697870A (en) * | 2022-03-11 | 2022-07-01 | 北京西南风信息技术有限公司 | Method, device, equipment and medium for positioning, screening and matching personnel in exhibition |
CN114916058A (en) * | 2022-02-25 | 2022-08-16 | 山西天地煤机装备有限公司 | Radio positioning method, system and related device, equipment and storage medium |
WO2024088243A1 (en) * | 2022-10-27 | 2024-05-02 | 歌尔科技有限公司 | Uwb-based positioning method and device, and medium |
CN118102458A (en) * | 2024-03-01 | 2024-05-28 | 上海柯锐芯微电子有限公司 | Uplink TDOA (time difference of arrival) multi-label time slot space division multiplexing system and method |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170123039A1 (en) * | 2015-10-29 | 2017-05-04 | Industrial Bank Of Korea | Ultra wideband (uwb)-based high precision positioning method and system |
CN106879067A (en) * | 2017-01-17 | 2017-06-20 | 广州土圭垚信息科技有限公司 | A kind of ultra-wideband wireless positioning method based on Double deference duplex |
CN207099337U (en) * | 2017-09-05 | 2018-03-13 | 成都恒高科技有限公司 | A kind of interchangeable general high-precision positioner of positioning terminal and locating base station |
CN111190137A (en) * | 2019-12-31 | 2020-05-22 | 长沙北斗产业安全技术研究院有限公司 | Positioning system and method based on ultra wide band |
Family Cites Families (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US7430197B1 (en) * | 2000-09-29 | 2008-09-30 | Arraycomm, Llc | Radio communications system with a shared broadcast channel |
CN101005653B (en) * | 2006-01-16 | 2012-06-27 | 华为技术有限公司 | Method and system for automatic resource selection and distribution of base station |
CN106211080A (en) * | 2016-09-28 | 2016-12-07 | 深圳市普渡科技有限公司 | A kind of UWB base station coordinates method for self-calibrating |
CN106932755B (en) * | 2017-03-30 | 2019-08-16 | 四川中电昆辰科技有限公司 | Positioning system |
CN109218967A (en) * | 2018-10-10 | 2019-01-15 | 中国人民解放军陆军工程大学 | Method and device for calibrating positioning base station of UWB system |
CN110022574A (en) * | 2019-04-16 | 2019-07-16 | 江苏科技大学 | A kind of method of automatic configuration of UWB indoor positioning base station |
CN110806561B (en) * | 2019-11-15 | 2021-10-22 | 广东博智林机器人有限公司 | Self-calibration method for multiple base stations |
-
2020
- 2020-06-02 CN CN202010493587.XA patent/CN113766415B/en active Active
-
2021
- 2021-05-21 WO PCT/CN2021/095221 patent/WO2021244331A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20170123039A1 (en) * | 2015-10-29 | 2017-05-04 | Industrial Bank Of Korea | Ultra wideband (uwb)-based high precision positioning method and system |
CN106879067A (en) * | 2017-01-17 | 2017-06-20 | 广州土圭垚信息科技有限公司 | A kind of ultra-wideband wireless positioning method based on Double deference duplex |
CN207099337U (en) * | 2017-09-05 | 2018-03-13 | 成都恒高科技有限公司 | A kind of interchangeable general high-precision positioner of positioning terminal and locating base station |
CN111190137A (en) * | 2019-12-31 | 2020-05-22 | 长沙北斗产业安全技术研究院有限公司 | Positioning system and method based on ultra wide band |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114339612A (en) * | 2021-12-31 | 2022-04-12 | 清华大学深圳国际研究生院 | Multi-base-station multi-label positioning method based on ultra-wideband and readable storage medium |
CN114007261A (en) * | 2022-01-05 | 2022-02-01 | 华清科盛(北京)信息技术有限公司 | UWB positioning system-based three-dimensional positioning method and system for gantry crane hook |
CN114007261B (en) * | 2022-01-05 | 2022-06-10 | 华清科盛(北京)信息技术有限公司 | UWB positioning system-based three-dimensional positioning method and system for gantry crane hook |
CN114449442A (en) * | 2022-01-19 | 2022-05-06 | 中铁第四勘察设计院集团有限公司 | Intelligent rail vehicle in-garage positioning system and method based on UWB technology |
CN114916058A (en) * | 2022-02-25 | 2022-08-16 | 山西天地煤机装备有限公司 | Radio positioning method, system and related device, equipment and storage medium |
CN114697870A (en) * | 2022-03-11 | 2022-07-01 | 北京西南风信息技术有限公司 | Method, device, equipment and medium for positioning, screening and matching personnel in exhibition |
CN114698099A (en) * | 2022-05-31 | 2022-07-01 | 广东师大维智信息科技有限公司 | Rapid self-calibration method, system, medium and device for UWB mobile base station |
WO2024088243A1 (en) * | 2022-10-27 | 2024-05-02 | 歌尔科技有限公司 | Uwb-based positioning method and device, and medium |
CN118102458A (en) * | 2024-03-01 | 2024-05-28 | 上海柯锐芯微电子有限公司 | Uplink TDOA (time difference of arrival) multi-label time slot space division multiplexing system and method |
Also Published As
Publication number | Publication date |
---|---|
CN113766415A (en) | 2021-12-07 |
CN113766415B (en) | 2022-11-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021244331A1 (en) | Positioning service method, and related apparatus | |
KR100972081B1 (en) | Method on localization message process supporting mobility of wireless node | |
JP6665096B2 (en) | Passive positioning using beacon neighbor reporting | |
WO2022016971A1 (en) | Wireless communication method and apparatus, base station, and tag device | |
JP5225245B2 (en) | Multi-object positioning system and power control based multiple access control method | |
WO2020143619A1 (en) | Positioning measurement method and device | |
EP3469840B1 (en) | Method sytem and device for obtaining location information using neighbor awareness networking, nan. | |
WO2022057456A1 (en) | Slot updating method, electronic device, and storage medium | |
WO2020151757A1 (en) | Location method and system | |
US9404997B2 (en) | Communication station and method for time-of-flight positioning using cooperating stations | |
JP2016536600A (en) | Passive positioning using round-trip time information | |
JP2016526668A (en) | Position location system architecture: Peer-to-peer measurement mode | |
US10386451B2 (en) | Method for an enhanced time of arrival positioning system | |
KR20210130521A (en) | Electronic device and method for performing ranging through uwb | |
US20230038212A1 (en) | Time-of-flight based unified positioning system and methods | |
WO2022057472A1 (en) | Clock synchronization method and related device | |
CN114745668A (en) | UWB trans-regional real-time positioning system based on Alter DS-TWR | |
CN114125697B (en) | Cooperative positioning method and device | |
CN112050803B (en) | Indoor escape method and related device | |
WO2022042193A1 (en) | Cooperative positioning method and apparatus | |
US9504003B2 (en) | Arrival-delta position determination | |
WO2023193439A1 (en) | Time-frequency synchronization-based positioning method and apparatus | |
CN115460688A (en) | Position determination method and related device | |
WO2024002350A1 (en) | Method and apparatus for transmitting sidelink positioning reference signal | |
CN117440431A (en) | Side link transmission method, side link transmission device, terminal and readable storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 21816868 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: 21816868 Country of ref document: EP Kind code of ref document: A1 |