Indoor positioning method, apparatus, device, and storage medium
By configuring positioning information for secondary positioning devices using the primary positioning device, the problems of broadcast channel congestion and poor security in indoor positioning systems are solved, achieving efficient and secure indoor positioning.
Patent Information
- Application Number
- CN202180090014.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-05-28
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2041-05-28
AI Technical Summary
In indoor positioning systems, the repeated transmission of ADV_EXT_IND and AUX_ADV_IND by multiple positioning devices causes congestion on the main broadcast physical channel, resulting in mutual interference between positioning devices and affecting the normal broadcast events of other Bluetooth devices. At the same time, indoor positioning has a large latency and poor security.
The primary positioning device is used to configure positioning configuration information for the secondary positioning device. Through the LE ACL connection, the secondary positioning device is configured to broadcast AUX_SYNC_IND on the designated secondary broadcast physical channel, avoiding the establishment process of periodic broadcast and ensuring that the secondary positioning device does not need to broadcast ADV_EXT_IND.
It reduces congestion on the main broadcast physical channels, avoids mutual interference between positioning devices, lowers the success rate of single RF attacks, and improves the efficiency and security of indoor positioning.
Smart Images

Figure CN116762368B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to an indoor positioning method, apparatus, device, and storage medium. Background Technology
[0002] In the Bluetooth core specification, there are two ways to achieve AoA (Angle of Arrival) / AoD (Angle of Departure) direction finding: connection-oriented and connectionless-oriented.
[0003] The implementation of connectionless AoA / AoD direction finding relies on periodic advertising, which in turn relies on extended advertising. First, the positioning device needs to send an extended advertising indication (ADV_EXT_IND, Advertising_Extended_Indication) once on each of the primary advertising physical channels (37, 38, 39). Then, the positioning device sends an additional advertising indication (AUX_ADV_IND, Auxiliary_Advertising_Indication) once on a designated secondary advertising physical channel. Finally, the positioning device periodically sends an additional synchronization indication (AUX_SYNC_IND, Auxiliary_Synchronization_Indication) on the selected secondary advertising physical channel according to the Physical Channel Selection Algorithm #2, thus completing the establishment of the periodic advertising. As can be seen, the positioning device needs to repeatedly send ADV_EXT_IND and AUX_ADV_IND to guide the terminal device that needs to be located to receive the periodic broadcast. The terminal device that wants to receive the periodic broadcast needs to receive ADV_EXT_IND and AUX_ADV_IND in sequence before it can receive AUX_SYNC_IND in order to establish synchronization with the periodic broadcast.
[0004] However, in indoor venues such as convention centers, shopping malls, and factories, a large number of positioning devices are typically deployed. These devices use the aforementioned periodic broadcasting for indoor positioning. Therefore, each positioning device needs to repeatedly send ADV_EXT_IND and AUX_ADV_IND to guide terminal devices to synchronize with its periodic broadcast. This results in a constant large number of ADV_EXT_IND messages on the main broadcast physical channel, exacerbating the congestion on the main broadcast physical channel. Consequently, this not only causes mutual interference between different positioning devices but also affects the normal broadcast events of other Bluetooth devices. Summary of the Invention
[0005] This application provides an indoor positioning method, apparatus, device, and storage medium. The technical solution is as follows:
[0006] On one hand, embodiments of this application provide an indoor positioning method, applied in a first positioning device, the method comprising:
[0007] Send positioning configuration information to the second positioning device, wherein the positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning;
[0008] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0009] On the other hand, embodiments of this application provide an indoor positioning method applied in a second positioning device, the method comprising:
[0010] Send positioning configuration information to the second positioning device, wherein the positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning;
[0011] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0012] Furthermore, embodiments of this application provide an indoor positioning method applied in a terminal device, the method comprising:
[0013] The terminal device receives extended broadcast information broadcast by a first positioning device, the extended broadcast information being used to instruct the terminal device to broadcast additional synchronization indication information related to a second positioning device; wherein, the extended broadcast information includes constant tone extended CTE access information;
[0014] Based on the CTE access information, the additional synchronization indication information broadcast by the second positioning device is received, the additional synchronization indication information including service configuration information and CTE;
[0015] Based on the service configuration information and the CTE, the location of the terminal device is determined.
[0016] In another aspect, embodiments of this application provide an indoor positioning device, disposed within a first positioning device, the device comprising:
[0017] The terminal device receives extended broadcast information broadcast by a first positioning device, the extended broadcast information being used to instruct the terminal device to broadcast additional synchronization indication information related to a second positioning device; wherein, the extended broadcast information includes constant tone extended CTE access information;
[0018] Based on the CTE access information, the additional synchronization indication information broadcast by the second positioning device is received, the additional synchronization indication information including service configuration information and CTE;
[0019] Based on the service configuration information and the CTE, the location of the terminal device is determined.
[0020] In another aspect, embodiments of this application provide an indoor positioning device, disposed within a second positioning device, the device comprising:
[0021] A configuration information receiving module is used to receive positioning configuration information from a first positioning device, wherein the positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning.
[0022] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0023] In another aspect, embodiments of this application provide an indoor positioning device, installed in a terminal device, the device comprising:
[0024] A broadcast information receiving module is used to receive extended broadcast information broadcast by a first positioning device. The extended broadcast information is used to instruct the terminal device on content related to additional synchronization indication information broadcast by a second positioning device. The extended broadcast information includes constant tone extended CTE access information.
[0025] The indication information receiving module is used to receive the additional synchronization indication information broadcast by the second positioning device based on the CTE access information. The additional synchronization indication information includes service configuration information and CTE.
[0026] The device location determination module is used to determine the location of the terminal device based on the service configuration information and the CTE.
[0027] In another aspect, embodiments of this application provide a first positioning device, the first positioning device comprising: a processor, and a transceiver connected to the processor; wherein:
[0028] The transceiver is used to send positioning configuration information to the second positioning device, the positioning configuration information being used to configure the second positioning device to achieve indoor positioning.
[0029] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0030] In another aspect, embodiments of this application provide a second positioning device, the second positioning device comprising: a processor, and a transceiver connected to the processor; wherein:
[0031] The transceiver is used to send positioning configuration information to the second positioning device, the positioning configuration information being used to configure the second positioning device to achieve indoor positioning.
[0032] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0033] In another aspect, embodiments of this application provide a terminal device, the terminal device comprising: a processor, and a transceiver connected to the processor; wherein:
[0034] The transceiver is used to send positioning configuration information to the second positioning device, the positioning configuration information being used to configure the second positioning device to achieve indoor positioning.
[0035] Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning.
[0036] In another aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by a processor of a first positioning device to implement the indoor positioning method on the first positioning device side as described above.
[0037] In another aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by a processor of a second positioning device to implement the indoor positioning method on the second positioning device side as described above.
[0038] In another aspect, embodiments of this application provide a computer-readable storage medium storing a computer program that is executed by a processor of a terminal device to implement the indoor positioning method on the terminal device side as described above.
[0039] In another aspect, embodiments of this application provide a chip, the chip including programmable logic circuits and / or program instructions, which, when the chip is running on a first positioning device, is used to implement the indoor positioning method on the first positioning device side as described above.
[0040] In another aspect, embodiments of this application provide a chip, the chip including programmable logic circuits and / or program instructions, which, when the chip is running on a second positioning device, is used to implement the indoor positioning method on the second positioning device side as described above.
[0041] In another aspect, embodiments of this application provide a chip, which includes programmable logic circuits and / or program instructions, and when the chip is run on a terminal device, it is used to implement the indoor positioning method on the terminal device side as described above.
[0042] In another aspect, embodiments of this application provide a computer program product that, when run on a first positioning device, is used to implement the indoor positioning method on the first positioning device side as described above.
[0043] In another aspect, embodiments of this application provide a computer program product that, when run on a second positioning device, is used to implement the indoor positioning method on the second positioning device side as described above.
[0044] In another aspect, embodiments of this application provide a computer program product that, when run on a terminal device, is used to implement the indoor positioning method on the terminal device side as described above.
[0045] The technical solutions provided in this application embodiment may have the following beneficial effects:
[0046] By configuring indoor positioning-related content for secondary positioning devices using the primary positioning device, the secondary positioning device can broadcast AUX_SYNC_IND based on the primary positioning device's configuration without following the periodic broadcast setup process. That is, the secondary positioning device does not need to broadcast ADV_EXT_IND before broadcasting AUX_SYNC_IND, thus avoiding congestion of the primary broadcast physical channel caused by a large number of ADV_EXT_IND broadcasts. This ensures that different positioning devices do not interfere with each other and do not affect the normal broadcast events of other Bluetooth devices. Attached Figure Description
[0047] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0048] Figure 1 This is a schematic diagram of periodic broadcasting provided in one embodiment of this application;
[0049] Figure 2 This is a schematic diagram of an indoor positioning system provided in one embodiment of this application;
[0050] Figure 3 This is a flowchart of an indoor positioning method provided in one embodiment of this application;
[0051] Figure 4 This is a schematic diagram of a CTE interval provided in one embodiment of this application;
[0052] Figure 5 This is a schematic diagram of a synchronization delay value provided in one embodiment of this application;
[0053] Figure 6 This is a schematic diagram of the CTE access latency value provided in one embodiment of this application;
[0054] Figure 7 This is a schematic diagram of the synchronization delay value provided in another embodiment of this application;
[0055] Figure 8 This is a block diagram of an indoor positioning device provided in one embodiment of this application;
[0056] Figure 9 This is a block diagram of an indoor positioning device provided in another embodiment of this application;
[0057] Figure 10 This is a block diagram of an indoor positioning device provided in another embodiment of this application;
[0058] Figure 11 This is a block diagram of an indoor positioning device provided in another embodiment of this application;
[0059] Figure 12 This is a block diagram of an indoor positioning device provided in another embodiment of this application;
[0060] Figure 13 This is a schematic diagram of the structure of a first positioning device provided in one embodiment of this application;
[0061] Figure 14 This is a schematic diagram of the structure of a second positioning device provided in one embodiment of this application;
[0062] Figure 15 This is a schematic diagram of the structure of a terminal device provided in one embodiment of this application;
[0063] Figure 16 This is a schematic diagram of the CTE access latency value provided in another embodiment of this application. Detailed Implementation
[0064] To make the objectives, technical solutions, and advantages of this application clearer, the embodiments of this application will be described in further detail below with reference to the accompanying drawings.
[0065] The network architecture and business scenarios described in the embodiments of this application are for the purpose of more clearly illustrating the technical solutions of the embodiments of this application, and do not constitute a limitation on the technical solutions provided in the embodiments of this application. As those skilled in the art will know, with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of this application are also applicable to similar technical problems.
[0066] In the Bluetooth core specifications (including but not limited to the new version of the Bluetooth Core Specification (Version 5.2) officially released by the Bluetooth Special Interest Group on December 31, 2019, and subsequent versions), there are two methods for implementing AoA / AoD direction finding: connection-oriented and connectionless. Connectionless AoA / AoD direction finding relies on periodic broadcasting, and the establishment of periodic broadcasting relies on extended broadcasting.
[0067] Please refer to Figure 1 It illustrates a schematic diagram of periodic broadcasting provided in one embodiment of this application, in Figure 1 In the diagram, the horizontal axis represents time, and the vertical axis represents the channel. For example... Figure 1 The periodic broadcast shown above requires the positioning device to first send ADV_EXT_IND once on each of the primary broadcast physical channels (37, 38, 39); then, the positioning device sends AUX_ADV_IND once on a specified secondary broadcast physical channel; finally, the positioning device periodically sends AUX_SYNC_IND on the selected secondary broadcast physical channel according to physical channel selection algorithm #2, thereby completing the establishment of the periodic broadcast.
[0068] Among them, ADV_EXT_IND, AUX_ADV_IND and AUX_SYNC_IND are all extended broadcast physical channel PDUs (Protocol Data Units), and their payloads all use the Common Extended Advertising Payload Format, as shown in Table 1 below.
[0069] Table 1 General Extended Broadcast Payload Format
[0070]
[0071] As shown in Table 1, the payload in the general extended broadcast payload format mainly includes four fields: the Extended Header Length field occupies 6 bits, the Advertising Mode field occupies 2 bits, the Extended Header field has a variable length, ranging from 0 to 63 bytes, and the Advertising Data field also has a variable length, ranging from 0 to 254 bytes. The contents of the extended header fields are shown in Table 2 below.
[0072] Table 2 Contents of Extended Header Fields
[0073]
[0074] As shown in Table 2, during the establishment of periodic broadcast, the channel and time for sending AUX_ADV_IND depend on the additional pointer (AuxPtr) field in ADV_EXT_IND, and the channel and time for sending the first AUX_SYNC_IND depend on the synchronization information (SyncInfo) field in AUX_ADV_IND.
[0075] In the implementation of connectionless AoA / AoD direction finding, the positioning device needs to repeatedly send ADV_EXT_IND and AUX_ADV_IND to guide the terminal device to receive the periodic broadcast. The terminal device wishing to receive the periodic broadcast must receive ADV_EXT_IND and AUX_ADV_IND sequentially before receiving AUX_SYNC_IND to establish synchronization with the periodic broadcast. However, only AUX_SYNC_IND in the periodic broadcast can carry the CTE (Constant Tone Extension) field used for AoA / AoD direction finding. Therefore, the positioning system needs to deploy multiple positioning devices to send periodic broadcasts containing CTE. To obtain its own location coordinates, the terminal device needs to synchronize with multiple periodic broadcasts, then receive the broadcast CTE signals and calculate AoA / AoD, finally combining the coordinates of the positioning devices to calculate its own location coordinates.
[0076] However, in indoor venues such as convention centers, shopping malls, and factories, a large number of positioning devices are typically deployed. These devices use the aforementioned periodic broadcasting for indoor positioning. Therefore, each positioning device needs to repeatedly send ADV_EXT_IND and AUX_ADV_IND to guide terminal devices to synchronize with its periodic broadcast. This results in a constant large number of ADV_EXT_IND messages on the main broadcast physical channel, exacerbating the congestion on the main broadcast physical channel. Consequently, this not only causes mutual interference between different positioning devices but also affects the normal broadcast events of other Bluetooth devices.
[0077] Furthermore, the terminal device needs to synchronize with multiple periodic broadcasts in order to calculate its own location coordinates, and the synchronization process consumes a lot of air interface time, resulting in a large indoor positioning delay.
[0078] Furthermore, the timing of the broadcast data packets containing CTEs sent in multiple periodic broadcasts varies, allowing a single RF (Radio Frequency) attacker to sequentially attack each periodic broadcast data packet and CTE, ultimately compromising all positioning devices in the indoor positioning system. Therefore, this indoor positioning method has poor security.
[0079] Based on this, embodiments of this application provide an indoor positioning method that can be used to solve the aforementioned technical problems. The technical solution provided by this application will be described below through several embodiments.
[0080] Please refer to Figure 2 The diagram illustrates an indoor positioning system according to an embodiment of this application. The indoor positioning system may include: a first positioning device 210, a second positioning device 220, and a terminal device 230.
[0081] The first positioning device 210 is the primary beacon for indoor positioning in this indoor positioning system. Typically, one first positioning device 210 is deployed in an indoor positioning system, but this application does not exclude the possibility of deploying multiple first positioning devices 210 in one indoor positioning system. The first positioning device 210 is responsible for managing the time and / or channel of the second positioning device 220 and configuring its parameters, so that the second positioning device 220 can broadcast additional synchronization indication information to achieve indoor positioning. Furthermore, the first positioning device 210 is responsible for broadcasting extended broadcast information containing CTE access information to the terminal device 230, instructing the terminal device on the content related to the additional synchronization indication information broadcast by the second positioning device, so that the terminal device can scan and receive the additional synchronization indication information.
[0082] The second positioning device 220 is a secondary beacon used in an indoor positioning system to achieve indoor positioning. Typically, multiple second positioning devices 220 are deployed in an indoor positioning system, but this application does not exclude the possibility of deploying only one second positioning device 220 in an indoor positioning system. The second positioning device 220 is responsible for cooperating with the first positioning device 210 in time and / or channel management and parameter configuration, reporting its own SCA (Sleep Clock Assurance) to the first positioning device 210; furthermore, the second positioning device 220 is responsible for broadcasting additional synchronization indication information containing CTE to the terminal device 230 on the secondary broadcast physical channel designated by the first positioning device 210.
[0083] Terminal device 230 is a device with positioning requirements in this indoor positioning system. One or more terminal devices 230 can be distributed within an indoor positioning system. Terminal devices 230 may include various handheld devices with wireless communication functions (such as mobile phones), vehicle-mounted devices, wearable devices, computing devices, user equipment (UE), mobile stations (MS), etc. For ease of description, in this embodiment, the devices mentioned above are collectively referred to as terminal devices. Terminal device 230 scans and receives extended broadcast information broadcast by the first positioning device 210. By parsing the CTE access information in the extended broadcast information, it scans and receives additional synchronization indication information broadcast by the second positioning device 220. By parsing the CTE and other information in the additional synchronization indication information, it further calculates its own position, thereby achieving the goal of indoor positioning.
[0084] As explained above, the first positioning device is responsible for managing the time and / or channel of the second positioning device and configuring its parameters, so that the second positioning device can broadcast additional synchronization indication information to achieve indoor positioning. The following section will describe the management of time and / or channel and the parameter configuration.
[0085] Please refer to Figure 3 It illustrates a flowchart of an indoor positioning method provided in one embodiment of this application, which can be applied to the above-mentioned... Figure 2 The indoor positioning system shown. The method may include at least some of the following steps.
[0086] Step 310: The first positioning device sends positioning configuration information to the second positioning device. The positioning configuration information is used to configure the information used by the second positioning device to achieve indoor positioning.
[0087] The first positioning device is the primary positioning device for indoor positioning, and the second positioning device is the secondary positioning device for indoor positioning. In this embodiment, the first positioning device and the second positioning device are located in the same indoor positioning system, and the first positioning device can establish an LE (Low Energy) ACL (Asynchronous Connectionless) connection with the second positioning device. Optionally, the first positioning device can establish LE ACL connections with one or more second positioning devices respectively.
[0088] After establishing an LE ACL connection between the first positioning device and the second positioning device, the first positioning device can send positioning configuration information to the second positioning device through the LE ACL connection. This positioning configuration information is used to configure the information used by the second positioning device to achieve indoor positioning. This application embodiment does not limit the content of the positioning configuration information; optionally, the positioning configuration information includes at least one of the following: service configuration information and parameter configuration information.
[0089] The service configuration information is used to configure the second positioning device to implement GATT (Generic Attribute Profile) services related to indoor positioning. Optionally, the GATT services include at least one of the following: CTES (Constant Tone Extension Service), IPS (Indoor Positioning Service), and OTS (Object Transfer Service). For example, if the GATT service includes IPS, the service configuration information includes the location (e.g., coordinates) of the second positioning device; if the GATT service includes CTES, the service configuration information includes the CTE mode.
[0090] The parameter configuration information is used to configure parameters related to indoor positioning for the second positioning device. In one example, the parameter configuration information includes at least one of the following: delay parameter information and channel parameter information. Optionally, the channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device, that is, the first positioning device specifies the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device. Optionally, the delay parameter information is used for at least one second positioning device to implement synchronous broadcast CTE. Optionally, the delay parameter information includes a synchronization delay value, which is the difference between the CTE Sync Anchor Point and the ACL Anchor Point located in the same CTE interval. The CTE Sync Anchor Point indicates the time when the synchronous broadcast CTE occurs, and the ACL Anchor Point is the anchor point of the LE connection event, which indicates the establishment of an LE ACL connection between the first positioning device and the second positioning device.
[0091] In this embodiment, the first positioning device may first set a CTE interval (CTE_Interval). Optionally, the CTE interval includes a CTE configuration interval and a CTE synchronization interval. This embodiment does not limit the types of the CTE configuration interval and the CTE synchronization interval. Optionally, the CTE configuration interval refers to the CTE configuration subcarrier interval (CTE_Configure_Sub_Interval); the CTE synchronization interval refers to the CTE synchronization subcarrier interval (CTE_Sync_Sub_Interval). In this embodiment, the first positioning device establishes LE ACL connections with at least one second positioning device during the CTE configuration interval; that is, there is at least one LE connection event during the CTE configuration interval. Optionally, during the CTE configuration interval, the LE connection events corresponding to different second positioning devices do not overlap in time and do not exceed the time range of the CTE configuration interval.
[0092] For example, please refer to Figure 4 This illustrates a schematic diagram of a CTE interval provided in one embodiment of this application. Figure 4 As shown, the CTE interval includes a CTE configuration interval and a CTE synchronization interval. In the CTE configuration interval, LE ACL connections are established between the first positioning device and multiple second positioning devices, and the ACL anchor points corresponding to each LE connection event are all located within the CTE configuration interval. Furthermore, as... Figure 4 As shown, the LE connection events corresponding to different second positioning devices do not overlap in time and are all located within the CTE configuration interval.
[0093] When configuring positioning configuration information for the second positioning device, the first positioning device can select a moment within the CTE synchronization interval as the occurrence moment for at least one second positioning device to synchronously broadcast a CTE. This occurrence moment is referred to as the CTE synchronization anchor point in this embodiment. Subsequently, the first positioning device can configure a synchronization delay value for the second positioning device. This synchronization delay value refers to the difference between the CTE synchronization anchor point and the ACL anchor point located within the same CTE interval. Since the CTE synchronization interval is after the CTE configuration interval, while the ACL anchor point is within the CTE configuration interval, and the CTE synchronization anchor point is within the CTE synchronization interval, the synchronization delay value is a positive time value.
[0094] For example, please refer to Figure 5 This illustrates a schematic diagram of a synchronization delay value provided in one embodiment of this application. For example... Figure 5As shown, the first positioning device designates a moment within the CTE synchronization interval as the CTE synchronization anchor point. This CTE synchronization anchor point is the moment when at least one second positioning device synchronously broadcasts the CTE. Subsequently, the synchronization delay value configured by the first positioning device for the second positioning device is the difference between the CTE synchronization anchor point and the corresponding ACL anchor point of the second positioning device.
[0095] In one example, to implement the above-mentioned location configuration information configuration, the payload of the PDU carrying the location configuration information includes at least one of the following fields: opcode field, delay unit field, synchronization delay field, channel index field, and physical layer (PHY) field. This application embodiment does not limit the name of the PDU carrying the location configuration information; optionally, the PDU carrying the location configuration information can be called LL_CTE_SYNC_REQ LL Control PDU (Link Layer_CTE_SYNC_Request LinkLayer Control PDU). This application embodiment also does not limit the number of bits occupied by each field; optionally, as shown in Table 3 below, the opcode field occupies 8 bits, the delay unit field occupies 1 bit, the synchronization delay field occupies 13 bits, the channel index field occupies 6 bits, and the physical layer field occupies 3 bits.
[0096] Table 3 shows the load of the PDU carrying the positioning configuration information.
[0097]
[0098] The opcode field is used to indicate the opcode of the PDU. Optionally, the opcode field can be set to 0x30.
[0099] The delay unit field indicates the time unit used by the synchronization delay field. Optionally, the delay unit field can be 0 or 1. Specifically, when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 300 microseconds. Alternatively, when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 300 microseconds.
[0100] The synchronization delay field indicates the synchronization delay value for at least one second positioning device to achieve synchronous broadcast CTE. Optionally, the value of the synchronization delay field is the result of dividing the synchronization delay value by the time unit indicated by the delay unit field. In one example, if the synchronization delay value is not evenly divisible by the time unit indicated by the delay unit field, the result of dividing the synchronization delay value by the time unit indicated by the delay unit field is rounded down, such as rounding down or rounding up.
[0101] The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE. Optionally, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0102] The physical layer field is used to indicate the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE. In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE1M; a second value indicating that the physical layer is LE2M; a third value indicating that the physical layer is LE-coded; and a fourth value indicating that the physical layer is reserved for future use. This application does not limit the specific values of the first, second, third, and fourth values. Optionally, as shown in Table 4 below, the first value can be “0b000”, the second value can be “0b001”, the third value can be “0b010”, and the fourth value can be “0b011 to 0b111”.
[0103] Table 4 shows the values and meanings of the physical layer fields in the location configuration information.
[0104] Value Physical layer 0b000 LE 1M 0b001 LE 2M 0b010 LE encoding 0b011 to 0b111 reserve
[0105] In one example, after receiving positioning configuration information from the first positioning device, the second positioning device can accept or reject the positioning configuration information. That is, after step 310 above, the method further includes: the second positioning device sending a rejection indication to the first positioning device, the rejection indication indicating that the second positioning device rejects the positioning configuration information; or, the second positioning device sending a configuration response to the first positioning device, the configuration response indicating that the second positioning device accepts the positioning configuration information.
[0106] This application embodiment does not limit the names of the rejection indication information and the configuration response information. Optionally, the rejection indication information can be called LL_REJECT_IND (Link Layer_Reject_Indication), and the configuration response information can be called LL_CLOCK_ACCURACY_RSP (Link Layer_Clock_Accuracy_Response). Optionally, if the second positioning device refuses to accept the positioning configuration information, it can also indicate the reason for the refusal to accept to the first positioning device, that is, the rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information. Optionally, if the second positioning device accepts the positioning configuration information, it can also indicate its own SCA to the first positioning device for the first positioning device to broadcast CTE access information, that is, the configuration response information includes the SCA of the second positioning device.
[0107] In one example, if the second positioning device receives positioning configuration information from the first positioning device, then after step 310 above, the method further includes: the second positioning device broadcasting additional synchronization indication information based on the positioning configuration information. This additional synchronization indication information includes service configuration information and a CTE. Terminal devices with positioning needs can calculate their own location based on the additional synchronization indication information (AUX_SYNC_IND) containing the CTE. In this embodiment, the second positioning device broadcasts the additional synchronization indication information based on the secondary broadcast physical channel indicated by the positioning configuration information; that is, the second positioning device broadcasts the additional synchronization indication information based on the secondary broadcast physical channel specified by the first positioning device. Therefore, it is not necessary to follow the periodic broadcast establishment process, nor is it necessary to change the channel after broadcasting the additional synchronization indication information.
[0108] In summary, the technical solution provided in this application configures indoor positioning-related content for secondary positioning devices by the primary positioning device, so that the secondary positioning device can broadcast AUX_SYNC_IND based on the configuration of the primary positioning device without following the periodic broadcast establishment process. That is, the secondary positioning device does not need to broadcast ADV_EXT_IND before broadcasting AUX_SYNC_IND, thereby avoiding congestion of the primary broadcast physical channel caused by a large number of ADV_EXT_INDs, ensuring that different positioning devices do not interfere with each other, nor affect the normal broadcast events of other Bluetooth devices.
[0109] Furthermore, in the technical solution provided in this application embodiment, the positioning configuration information configured by the primary positioning device for the secondary positioning device enables at least one secondary positioning device to synchronously broadcast AUX_SYNC_IND containing CTE. Precisely because at least one secondary positioning device performs synchronous broadcasting, a single RF attacker cannot compromise the secondary positioning devices one by one in chronological order, thereby effectively reducing the interference success rate of a single RF attacker.
[0110] In one example, to instruct a terminal device with positioning needs to synchronously broadcast CTE-related content by a second positioning device, the first positioning device can broadcast extended advertising information containing CTE access information to the terminal device. That is, after step 310 above, the method further includes: the first positioning device broadcasting extended advertising information, which is used to instruct the terminal device to broadcast additional synchronization indication information related to the second positioning device; wherein the extended advertising information includes CTE access information, and the additional synchronization indication information includes CTE. Optionally, the first positioning device broadcasts the extended advertising information at the beginning of the CTE synchronization interval.
[0111] This application embodiment does not limit the content of the extended broadcast information. In one example, the extended broadcast information includes at least one of the following: broadcast extended indication information (ADV_EXT_IND) and additional broadcast indication information (AUX_ADV_IND). This application embodiment does not limit the number of broadcast extended indication information and additional broadcast indication information in the extended broadcast information. Optionally, the number of broadcast extended indication information in the extended broadcast information is equal to the number of second positioning devices connected to the first positioning device; the number of additional broadcast information in the extended broadcast information is 1.
[0112] In one example, the payload of the additional broadcast indication information (AUX_ADV_IND) includes at least one of the following fields: Extended Header Length, AdvMode, Extended Header, and AdvData. This application embodiment does not limit the size of each field. Optionally, as shown in Table 5 below, the Extended Header Length field occupies 6 bits; the AdvMode field occupies 2 bits; the length of the Extended Header field is variable, and the length of the Extended Header field varies from 0 to 63 bytes; the AdvData field occupies 0 to 254 bytes.
[0113] Table 5 Load of Additional Broadcast Instruction Information
[0114]
[0115] The contents of the extended header fields are shown in Table 6 below.
[0116] Table 6 contains the extended header fields in the payload of additional broadcast indication information.
[0117]
[0118] As can be seen from the above description, the additional broadcast indication information includes CTE access information. Optionally, the CTE access information is carried in the broadcast data field shown in Table 5 above; or, the CTE access information is carried in the Additional Control Advertising Data (ACAD) field in the extended header field shown in Table 6 above.
[0119] In one example, the CTE access information includes at least one of the following fields: CTE access delay unit field, CTE access delay field, and synchronization pointer (SyncPtr) field. This application embodiment does not limit the size of each field; optionally, as shown in Table 7 below, the CTE access delay unit field occupies 1 bit, the CTE access delay field occupies 13 bits, and each synchronization pointer field occupies 12 bits.
[0120] Table 7 CTE Access Information
[0121]
[0122] The CTE access delay unit field is used to indicate the time unit used by the CTE access delay field. Optionally, the value of the CTE access delay unit field is 0 or 1. Optionally, when the value of the CTE access delay unit field is 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the value of the CTE access delay unit field is 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds. Alternatively, when the value of the CTE access delay unit field is 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the value of the CTE access delay unit field is 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds.
[0123] The CTE access delay field is used to indicate the CTE access delay. Optionally, the value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. In one example, if the CTE access delay value is not evenly divisible by the time unit indicated by the CTE access delay unit field, the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field is rounded down, such as rounding down or up. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the start time of the CTE synchronization interval. Figure 6 As shown, the first positioning device broadcasts extended broadcast information containing CTE access information at the beginning of the CTE synchronization interval, and the CTE access delay value is the difference between the CTE synchronization anchor point and the beginning of the CTE synchronization interval.
[0124] The synchronization pointer field is used to indicate the content related to the additional synchronization indication information broadcast by the second positioning device. Optionally, the number of fields in the synchronization pointer field in the CTE access information is equal to the number of second positioning devices connected to the first positioning device. This application embodiment does not limit the content of the synchronization pointer field. In one example, the synchronization pointer field includes at least one of the following fields: a channel index field, an SCA field, and a physical layer field. This application embodiment also does not limit the size of each field. Optionally, as shown in Table 8 below, the channel index field occupies 6 bits, the SCA field occupies 3 bits, and the physical layer field occupies 3 bits.
[0125] Table 8 Synchronization Pointer Fields
[0126]
[0127] The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information (AUX_SYNC_IND). Optionally, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0128] The SCA field is used to indicate the SCA used by the second positioning device to broadcast additional synchronization indication information. Optionally, the SCA indicated by the SCA field is the same as the SCA that the second positioning device feeds back to the first positioning device in the configuration response information.
[0129] The physical layer field is used to indicate the physical layer used by the second positioning device to broadcast additional synchronization indication information. In one example, the physical layer field can take any of the following values: a first value indicating a physical layer of LE 1M; a second value indicating a physical layer of LE 2M; a third value indicating a physical layer of LE-coded; and a fourth value indicating a physical layer reserved for future use. This application does not limit the specific values of the first, second, third, and fourth values. Optionally, as shown in Table 9 below, the first value can be “0b000”, the second value can be “0b001”, the third value can be “0b010”, and the fourth value can be “0b011 to 0b111”.
[0130] Table 9: Values and Meanings of Physical Layer Fields in CTE Access Information
[0131] Value Physical layer 0b000 LE 1M 0b001 LE 2M 0b010 LE encoding 0b011 to 0b111 reserve
[0132] In summary, the technical solution provided in this application, by having the primary positioning device broadcast extended broadcast information containing CTE access information, instructs the terminal device to broadcast AUX_SYNC_IND related content containing CTE from each secondary positioning device, without requiring each secondary positioning device to follow the periodic broadcast process to broadcast ADV_EXT_IND individually, effectively avoiding congestion of the primary broadcast physical channel caused by a large number of ADV_EXT_INDs.
[0133] In the above embodiments, the process of indoor positioning performed by the first and second positioning devices has been described, and these processes involve a terminal device as the executing entity. Below, we will describe how the terminal device calculates its own position using the scanned information. In one example, the above method further includes at least some of the following steps.
[0134] Step 302: The terminal device receives extended broadcast information broadcast by the first positioning device.
[0135] The extended broadcast information broadcast by the first positioning device is used to instruct the terminal device on content related to the additional synchronization indication information broadcast by the second positioning device, and this extended broadcast information includes CTE access information. The terminal device can scan the extended broadcast information containing CTE access information to parse the CTE access information from the additional broadcast indication information in the extended broadcast information, thereby obtaining content related to the additional synchronization indication information broadcast by the second positioning device, such as time, channel, physical layer, etc. For other descriptions of extended broadcast information, CTE access information, etc., please refer to the above method embodiments, which will not be repeated here.
[0136] Step 304: The terminal device receives additional synchronization indication information broadcast by the second positioning device based on the CTE access information.
[0137] The terminal device scans and receives additional synchronization indication information broadcast by the second positioning device based on the content indicated by the CTE access information. Optionally, step 304 includes: the terminal device determining at least one secondary broadcast physical channel based on the synchronization pointer field in the CTE access information; and scanning for additional synchronization indication information broadcast by the second positioning device in at least one secondary broadcast physical channel at the CTE synchronization anchor point indicated by the CTE access information. The terminal device may select at least one secondary broadcast physical channel from the secondary broadcast physical channels indicated by the synchronization pointer field in the CTE access information according to its own algorithm, and scan for additional synchronization indication information containing CTE broadcast by the second positioning device in at least one secondary broadcast physical channel at the CTE synchronization anchor point indicated by the CTE access information.
[0138] Step 306: The terminal device determines its location based on the service configuration information and CTE.
[0139] The additional synchronization indication information includes service configuration information and CTE. The terminal device parses the service configuration information, such as the coordinates of the second positioning device and the CTE mode. It also calculates AoA / AoD information based on the CTE. Afterward, the terminal device can determine its own location based on these two pieces of information, such as calculating its own location coordinates. For further explanation of the additional synchronization indication information, CTE, and other related details, please refer to the above method embodiments; they will not be elaborated upon here.
[0140] In summary, the technical solution provided by this application embodiment allows the terminal device to identify the CTE-related content broadcast by each secondary positioning device simply by scanning the extended broadcast information containing CTE access information. This eliminates the need to establish synchronization with multiple secondary positioning devices separately, effectively shortening the latency of indoor positioning and improving the accuracy of indoor positioning results.
[0141] In the above embodiments, at least one second positioning device in the indoor positioning system synchronously broadcasts additional synchronization indication information containing CTE. In actual implementation, at least one second positioning device may also asynchronously broadcast additional synchronization indication information containing CTE. The implementation of at least one second positioning device asynchronously broadcasting additional synchronization indication information containing CTE will be described below.
[0142] As described above, the positioning configuration information includes service configuration information and / or parameter configuration information. The parameter configuration information may include delay parameter information and / or channel parameter information. In the above embodiments, the delay parameter information is used for at least one second positioning device to implement synchronous broadcast CTE. In this embodiment, the delay parameter information is used for at least one second positioning device to implement asynchronous broadcast CTE. In this embodiment, when configuring the delay parameter information for the second positioning device, the first positioning device can select a moment in the CTE synchronization interval as the CTE synchronization anchor point. Then, the first positioning device can configure a synchronization delay value for the second positioning device so that the occurrence time of each second positioning device broadcasting a CTE is between the CTE synchronization anchor point and the next CTE anchor point. The CTE anchor point refers to the start time of the CTE interval.
[0143] For example, please refer to Figure 7 This illustrates a schematic diagram of a synchronization delay value provided in one embodiment of this application. For example... Figure 7 As shown, the first positioning device designates a time as the CTE synchronization anchor point within the CTE synchronization interval. Subsequently, the first positioning device configures a synchronization delay value for each second positioning device, ensuring that the CTE occurrence time broadcast by each second positioning device falls between the designated CTE synchronization anchor point and the start time (CTE anchor point) of the next CTE interval. Through the configuration of the asynchronous broadcast synchronization delay value, each second positioning device broadcasts additional synchronization indication information containing the CTE after its ACL anchor point, postponing the synchronization delay value configured by the first positioning device.
[0144] For details regarding location configuration information, service configuration information, the load of the PDU carrying the location configuration information, and other related information, please refer to the above method embodiments; they will not be repeated here.
[0145] In a scheme where the second positioning device asynchronously broadcasts additional synchronization indication information containing CTE, the first positioning device also needs to instruct the terminal devices with positioning needs to asynchronously broadcast the CTE-related content to each of the second positioning devices, such as... Figure 16 As shown, the first positioning device can broadcast extended advertising information containing CTE access information to the terminal device at the beginning of the CTE synchronization interval. Compared with the above embodiment, the content of the CTE access information has changed in this embodiment. In the above embodiment, the CTE access information includes: a CTE access delay unit field, a CTE access delay field, and a synchronization pointer field; while in this embodiment, the CTE access information includes a synchronization pointer field. This application embodiment does not limit the size of the synchronization pointer field; optionally, as shown in Table 10 below, each synchronization pointer field occupies 36 bits.
[0146] Table 10 CTE Access Information
[0147]
[0148] The synchronization pointer field is used to indicate the content related to the additional synchronization indication information broadcast by the second positioning device. Optionally, in this embodiment, the number of fields in the synchronization pointer field of the CTE access information is equal to the number of second positioning devices connected to the first positioning device. In the above embodiment, the synchronization pointer field in the CTE access information includes: a channel index field, an SCA field, and a physical layer field; while in this embodiment, the synchronization pointer field in the CTE access information includes at least one of the following: a CTE access delay unit field, a CTE access delay field, a channel index field, an SCA field, and a physical layer field. This application embodiment does not limit the size of each field. Optionally, as shown in Table 11 below, the CTE access delay unit field occupies 1 bit, the CTE access delay field occupies 13 bits, the channel index field occupies 6 bits, the SCA field occupies 3 bits, and the physical layer field occupies 3 bits.
[0149] Table 11 Synchronization Pointer Fields
[0150]
[0151] For further details regarding the CTE access delay unit field, CTE access delay, channel index field, SCA field, physical layer field, etc., please refer to the above method embodiments; they will not be elaborated upon here.
[0152] Therefore, terminal devices with positioning needs need to determine their own location, such as... Figure 16 As shown, firstly, it is necessary to scan the extended broadcast information containing CTE access information broadcast by the first positioning device to parse out the CTE access information carried in the additional broadcast indication information in the extended broadcast information, thereby obtaining the synchronization pointer field corresponding to at least one second positioning device. Then, based on the time and channel indicated by each synchronization pointer field, the additional synchronization indication information containing CTE broadcast by the second positioning device corresponding to that synchronization pointer field is scanned. This additional synchronization indication information includes service configuration information and CTE. The terminal device parses out the service configuration information, such as the coordinates of the second positioning device and the CTE mode, and calculates AoA / AoD information based on the CTE. Then, the terminal device can determine its own location based on these two aspects of information, such as calculating its own location coordinates.
[0153] It should be noted that the above method embodiments only describe the indoor positioning method provided in this application from the perspective of the interaction between the first positioning device, the second positioning device, and the terminal device. The steps executed by the first positioning device can be implemented independently as an indoor positioning method on the first positioning device side; the steps executed by the second positioning device can be implemented independently as an indoor positioning method on the second positioning device side; and the steps executed by the terminal device can be implemented independently as an indoor positioning method on the terminal device side.
[0154] Please refer to Figure 8 This diagram illustrates a block diagram of an indoor positioning device according to an embodiment of this application. The device has the functionality to implement the method example described above for the first positioning device, which can be implemented in hardware or by hardware executing corresponding software. The device can be... Figure 2 The first positioning device 210 in the indoor positioning system shown can also be installed in the first positioning device 210. For example... Figure 8 As shown, the device 800 may include a configuration information sending module 810.
[0155] The configuration information sending module 810 is used to send positioning configuration information to the second positioning device. The positioning configuration information is used to configure the information used by the second positioning device to realize indoor positioning. The first positioning device is the primary positioning device to realize the indoor positioning, and the second positioning device is the secondary positioning device to realize the indoor positioning.
[0156] In one example, the positioning configuration information includes at least one of the following: service configuration information, used to configure the second positioning device to implement the GATT service related to indoor positioning; parameter configuration information, used to configure the second positioning device to implement the parameters related to indoor positioning.
[0157] In one example, the GATT service includes at least one of the following: CTES, IPS, OTS.
[0158] In one example, the parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
[0159] In one example, the channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device.
[0160] In one example, the delay parameter information is used by at least one of the second positioning devices to implement a synchronous broadcast CTE.
[0161] In one example, the latency parameter information includes a synchronization latency value, which is the difference between a CTE synchronization anchor point and an ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
[0162] In one example, the CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor is located in the CTE configuration interval, and the CTE synchronization anchor is located in the CTE synchronization interval.
[0163] In one example, the CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
[0164] In one example, the payload of the PDU carrying the positioning configuration information includes at least one of the following fields: an opcode field, used to indicate the opcode of the PDU; a delay unit field, used to indicate the time unit used by the synchronization delay field; a synchronization delay field, used to indicate the synchronization delay value for at least one of the second positioning devices to implement the synchronization broadcast CTE; a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing the CTE; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast additional synchronization indication information containing the CTE.
[0165] In one example, the opcode field has a value of 0x30.
[0166] In one example, the delay unit field takes the value of 0 or 1; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 300 microseconds; or, when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 300 microseconds.
[0167] In one example, the value of the synchronization delay field is the result of dividing the synchronization delay value by the time unit indicated by the delay unit field.
[0168] In one example, the channel index field may have a value range including at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
[0169] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0170] In one example, such as Figure 9 As shown, the device 800 further includes: an indication information receiving module 820, used to receive rejection indication information from the second positioning device, the rejection indication information being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, a response information receiving module 830, used to receive configuration response information from the second positioning device, the configuration response information being used to instruct the second positioning device to accept the positioning configuration information.
[0171] In one example, the rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
[0172] In one example, the configuration response information includes the SCA of the second positioning device.
[0173] In one example, such as Figure 9 As shown, the device 800 further includes: a broadcast information broadcasting module 840, used to broadcast extended broadcast information, the extended broadcast information being used to instruct the terminal device to broadcast additional synchronization indication information related to the second positioning device; wherein, the extended broadcast information includes CTE access information, and the additional synchronization indication information includes CTE.
[0174] In one example, such as Figure 9 As shown, the broadcast information broadcasting module 840 is used to broadcast the extended broadcast information at the beginning of the CTE synchronization interval.
[0175] In one example, the extended broadcast information includes at least one of the following: broadcast extension indication information and additional broadcast indication information.
[0176] In one example, the payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
[0177] In one example, the CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the ACAD field of the extended header field.
[0178] In one example, the CTE access information includes at least one of the following fields: a CTE access delay unit field, used to indicate the time unit used by the CTE access delay field; a CTE access delay field, used to indicate the CTE access delay; and a synchronization pointer field, used to indicate that the second positioning device broadcasts content related to the additional synchronization indication information.
[0179] In one example, the CTE access delay unit field has a value of 0 or 1; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds; or, when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds.
[0180] In one example, the value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
[0181] In one example, the number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
[0182] In one example, the synchronization pointer field includes at least one of the following fields: a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; an SCA field, used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
[0183] In one example, the channel index field may have a value range including at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
[0184] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0185] Please refer to Figure 10 This diagram illustrates a block diagram of an indoor positioning device according to an embodiment of this application. The device has the functionality to implement the method example described above for the second positioning device, which can be implemented in hardware or by hardware executing corresponding software. The device can be... Figure 2 The second positioning device 220 in the indoor positioning system shown can also be installed in the second positioning device 220. For example... Figure 10 As shown, the device 1000 may include a configuration information receiving module 1010.
[0186] The configuration information receiving module 1010 is used to receive positioning configuration information from the first positioning device, wherein the positioning configuration information is used to configure the information used by the second positioning device to realize indoor positioning; wherein the first positioning device is the primary positioning device to realize the indoor positioning, and the second positioning device is the secondary positioning device to realize the indoor positioning.
[0187] In one example, the positioning configuration information includes at least one of the following: service configuration information, used to configure the second positioning device to implement the GATT service related to indoor positioning; parameter configuration information, used to configure the second positioning device to implement the parameters related to indoor positioning.
[0188] In one example, the GATT service includes at least one of the following: CTES, IPS, OTS.
[0189] In one example, the parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
[0190] In one example, the channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device.
[0191] In one example, the delay parameter information is used by at least one of the second positioning devices to implement a synchronous broadcast CTE.
[0192] In one example, the latency parameter information includes a synchronization latency value, which is the difference between a CTE synchronization anchor point and an ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
[0193] In one example, the CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor is located in the CTE configuration interval, and the CTE synchronization anchor is located in the CTE synchronization interval.
[0194] In one example, the CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
[0195] In one example, the payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes at least one of the following fields: an opcode field indicating the opcode of the PDU; a delay unit field indicating the time unit used by the synchronization delay field; a synchronization delay field indicating the synchronization delay value for at least one of the second positioning devices to implement the synchronization broadcast CTE; a channel index field indicating the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing the CTE; and a physical layer field indicating the physical layer used by the second positioning device to broadcast additional synchronization indication information containing the CTE.
[0196] In one example, the opcode field has a value of 0x30.
[0197] In one example, the delay unit field takes the value of 0 or 1; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 300 microseconds; or, when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 300 microseconds.
[0198] In one example, the value of the synchronization delay field is the result of dividing the synchronization delay value by the time unit indicated by the delay unit field.
[0199] In one example, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0200] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 1M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0201] In one example, such as Figure 11 As shown, the device 1000 further includes: an indication information sending module 1020, used to send rejection indication information to the first positioning device, the rejection indication information being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, a response information sending module 1030, used to send configuration response information to the first positioning device, the configuration response information being used to instruct the second positioning device to accept the positioning configuration information.
[0202] In one example, the rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
[0203] In one example, the configuration response information includes the SCA of the second positioning device.
[0204] In one example, such as Figure 11 As shown, the device 1000 further includes: an indication information broadcasting module 1040, used to broadcast additional synchronization indication information based on the positioning configuration information, the additional synchronization indication information including service configuration information and CTE.
[0205] In one example, such as Figure 11 As shown, the instruction information broadcasting module 1040 is used to: broadcast the additional synchronization instruction information based on the secondary broadcast physical channel indicated by the positioning configuration information.
[0206] Please refer to Figure 12 The diagram illustrates a block diagram of an indoor positioning device according to an embodiment of this application. This device has the functionality to implement the method example described above on the terminal device side; this functionality can be implemented in hardware or by hardware executing corresponding software. The device can be... Figure 2 The terminal device 230 in the indoor positioning system shown can also be installed in the terminal device 230. For example... Figure 12 As shown, the device 1200 may include: a broadcast information receiving module 1210, an instruction information receiving module 1220, and a device location determination module 1230.
[0207] The broadcast information receiving module 1210 is used to receive extended broadcast information broadcast by the first positioning device. The extended broadcast information is used to instruct the terminal device to broadcast content related to additional synchronization indication information broadcast by the second positioning device. The extended broadcast information includes CTE access information.
[0208] The indication information receiving module 1220 is used to receive the additional synchronization indication information broadcast by the second positioning device based on the CTE access information. The additional synchronization indication information includes service configuration information and CTE.
[0209] The device location determination module 1230 is used to determine the location of the terminal device based on the service configuration information and the CTE.
[0210] In one example, the extended broadcast information includes at least one of the following: broadcast extension indication information and additional broadcast indication information.
[0211] In one example, the payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
[0212] In one example, the CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the ACAD field of the extended header field.
[0213] In one example, the CTE access information includes at least one of the following fields: a CTE access delay unit field, used to indicate the time unit used by the CTE access delay field; a CTE access delay field, used to indicate the CTE access delay; and a synchronization pointer field, used to indicate that the second positioning device broadcasts content related to the additional synchronization indication information.
[0214] In one example, the CTE access delay unit field has a value of 0 or 1; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds; or, when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds.
[0215] In one example, the value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
[0216] In one example, the number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
[0217] In one example, the synchronization pointer field includes at least one of the following fields: a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; an SCA field, used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
[0218] In one example, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0219] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0220] In one example, the device location determination module 1230 is configured to: determine at least one secondary broadcast physical channel based on the synchronization pointer field in the CTE access information; and scan for additional synchronization indication information broadcast by the second positioning device in the at least one secondary broadcast physical channel at the CTE synchronization anchor point indicated by the CTE access information.
[0221] It should be noted that the device provided in the above embodiments is only illustrated by the division of the above functional modules when implementing its functions. In actual applications, the above functions can be assigned to different functional modules according to actual needs, that is, the content structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0222] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated upon here.
[0223] Please refer to Figure 13This illustration shows a structural schematic diagram of a first positioning device 130 provided in one embodiment of this application. For example, the first positioning device can be used to execute the aforementioned indoor positioning method on the first positioning device side. Specifically, the first positioning device 130 may include: a processor 131, and a transceiver 132 connected to the processor 131; wherein:
[0224] The processor 131 includes one or more processing cores. The processor 131 executes various functional applications and information processing by running software programs and modules.
[0225] Transceiver 132 includes a receiver and a transmitter. Optionally, transceiver 132 is a communication chip.
[0226] In one example, the first positioning device 130 further includes a memory and a bus. The memory is connected to a processor via the bus. The memory can be used to store a computer program, which the processor uses to execute to implement the various steps performed by the first positioning device in the above method embodiments.
[0227] Furthermore, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
[0228] The transceiver 132 is used to send positioning configuration information to the second positioning device. The positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning. The first positioning device is the primary positioning device for achieving indoor positioning, and the second positioning device is the secondary positioning device for achieving indoor positioning.
[0229] In one example, the positioning configuration information includes at least one of the following: service configuration information, used to configure the second positioning device to implement the GATT service related to indoor positioning; parameter configuration information, used to configure the second positioning device to implement the parameters related to indoor positioning.
[0230] In one example, the GATT service includes at least one of the following: CTES, IPS, OTS.
[0231] In one example, the parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
[0232] In one example, the channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device.
[0233] In one example, the delay parameter information is used by at least one of the second positioning devices to implement a synchronous broadcast CTE.
[0234] In one example, the latency parameter information includes a synchronization latency value, which is the difference between a CTE synchronization anchor point and an ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
[0235] In one example, the CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor is located in the CTE configuration interval, and the CTE synchronization anchor is located in the CTE synchronization interval.
[0236] In one example, the CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
[0237] In one example, the payload of the PDU carrying the positioning configuration information includes at least one of the following fields: an opcode field, used to indicate the opcode of the PDU; a delay unit field, used to indicate the time unit used by the synchronization delay field; a synchronization delay field, used to indicate the synchronization delay value for at least one of the second positioning devices to implement the synchronization broadcast CTE; a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing the CTE; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast additional synchronization indication information containing the CTE.
[0238] In one example, the opcode field has a value of 0x30.
[0239] In one example, the delay unit field takes the value of 0 or 1; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 300 microseconds; or, when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 300 microseconds.
[0240] In one example, the value of the synchronization delay field is the result of dividing the synchronization delay value by the time unit indicated by the delay unit field.
[0241] In one example, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0242] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0243] In one example, the transceiver 132 is further configured to receive rejection indication information from the second positioning device, the rejection indication information being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, the transceiver 132 is further configured to receive configuration response information from the second positioning device, the configuration response information being used to instruct the second positioning device to accept the positioning configuration information.
[0244] In one example, the rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
[0245] In one example, the configuration response information includes the SCA of the second positioning device.
[0246] In one example, the transceiver 132 is further configured to: broadcast extended broadcast information, the extended broadcast information being used to instruct the terminal device to broadcast content related to the additional synchronization indication information broadcast by the second positioning device; wherein the extended broadcast information includes CTE access information, and the additional synchronization indication information includes CTE.
[0247] In one example, the transceiver 132 is also configured to: broadcast the extended broadcast information at the beginning of the CTE synchronization interval.
[0248] In one example, the extended broadcast information includes at least one of the following: broadcast extension indication information and additional broadcast indication information.
[0249] In one example, the payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
[0250] In one example, the CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the ACAD field of the extended header field.
[0251] In one example, the CTE access information includes at least one of the following fields: a CTE access delay unit field, used to indicate the time unit used by the CTE access delay field; a CTE access delay field, used to indicate the CTE access delay; and a synchronization pointer field, used to indicate that the second positioning device broadcasts content related to the additional synchronization indication information.
[0252] In one example, the CTE access delay unit field has a value of 0 or 1; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds; or, when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds.
[0253] In one example, the value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
[0254] In one example, the number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
[0255] In one example, the synchronization pointer field includes at least one of the following fields: a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; an SCA field, used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
[0256] In one example, the channel index field may have a value range including at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
[0257] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0258] Please refer to Figure 14 This illustration shows a schematic diagram of the structure of a second positioning device 140 provided in one embodiment of this application. For example, the second positioning device can be used to execute the indoor positioning method described above. Specifically, the second positioning device 140 may include: a processor 141, and a transceiver 142 connected to the processor 141; wherein:
[0259] The processor 141 includes one or more processing cores, and the processor 141 executes various functional applications and information processing by running software programs and modules.
[0260] Transceiver 142 includes a receiver and a transmitter. Optionally, transceiver 142 is a communication chip.
[0261] In one example, the second positioning device 140 further includes a memory and a bus. The memory is connected to a processor via the bus. The memory can be used to store a computer program, which the processor uses to execute to implement the various steps performed by the second positioning device in the above method embodiments.
[0262] Furthermore, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
[0263] The transceiver 142 is used to receive positioning configuration information from the first positioning device, the positioning configuration information being used to configure the second positioning device for indoor positioning; wherein, the first positioning device is the primary positioning device for indoor positioning, and the second positioning device is the secondary positioning device for indoor positioning.
[0264] In one example, the positioning configuration information includes at least one of the following: service configuration information, used to configure the second positioning device to implement the GATT service related to indoor positioning; parameter configuration information, used to configure the second positioning device to implement the parameters related to indoor positioning.
[0265] In one example, the GATT service includes at least one of the following: CTES, IPS, OTS.
[0266] In one example, the parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
[0267] In one example, the channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the CTE broadcast by the second positioning device.
[0268] In one example, the delay parameter information is used by at least one of the second positioning devices to implement a synchronous broadcast CTE.
[0269] In one example, the latency parameter information includes a synchronization latency value, which is the difference between a CTE synchronization anchor point and an ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
[0270] In one example, the CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor is located in the CTE configuration interval, and the CTE synchronization anchor is located in the CTE synchronization interval.
[0271] In one example, the CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
[0272] In one example, the payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes at least one of the following fields: an opcode field indicating the opcode of the PDU; a delay unit field indicating the time unit used by the synchronization delay field; a synchronization delay field indicating the synchronization delay value for at least one of the second positioning devices to implement the synchronization broadcast CTE; a channel index field indicating the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing the CTE; and a physical layer field indicating the physical layer used by the second positioning device to broadcast additional synchronization indication information containing the CTE.
[0273] In one example, the opcode field has a value of 0x30.
[0274] In one example, the delay unit field takes the value of 0 or 1; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 300 microseconds; or, when the delay unit field is 1, it indicates that the time unit used by the synchronization delay field is 30 microseconds; when the delay unit field is 0, it indicates that the time unit used by the synchronization delay field is 300 microseconds.
[0275] In one example, the value of the synchronization delay field is the result of dividing the synchronization delay value by the time unit indicated by the delay unit field.
[0276] In one example, the channel index field may have a value range including at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
[0277] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 1M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0278] In one example, the transceiver 142 is further configured to send a rejection indication message to the first positioning device, the rejection indication message being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, the transceiver 142 is configured to send a configuration response message to the first positioning device, the configuration response message being used to instruct the second positioning device to accept the positioning configuration information.
[0279] In one example, the rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
[0280] In one example, the configuration response information includes the SCA of the second positioning device.
[0281] In one example, the transceiver 142 is further configured to: broadcast additional synchronization indication information based on the location configuration information, the additional synchronization indication information including service configuration information and CTE.
[0282] In one example, the transceiver 142 is further configured to: broadcast the additional synchronization indication information based on the secondary broadcast physical channel indicated by the positioning configuration information.
[0283] Please refer to Figure 15 This illustration shows a structural diagram of a terminal device 150 provided in one embodiment of this application. For example, this terminal device can be used to execute the aforementioned indoor positioning method on the terminal device side. Specifically, the terminal device 150 may include: a processor 151, and a transceiver 152 connected to the processor 151; wherein:
[0284] The processor 151 includes one or more processing cores, and the processor 151 executes various functional applications and information processing by running software programs and modules.
[0285] Transceiver 152 includes a receiver and a transmitter. Optionally, transceiver 152 is a communication chip.
[0286] In one example, the terminal device 150 further includes a memory and a bus. The memory is connected to the processor via the bus. The memory can be used to store a computer program, which the processor uses to execute to implement the various steps performed by the terminal device in the above method embodiments.
[0287] Furthermore, the memory can be implemented by any type of volatile or non-volatile storage device or a combination thereof, including but not limited to: RAM (Random-Access Memory) and ROM (Read-Only Memory), EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash memory or other solid-state storage technologies, CD-ROM (Compact Disc Read-Only Memory), DVD (Digital Video Disc) or other optical storage, magnetic tape cassettes, magnetic tape, disk storage or other magnetic storage devices.
[0288] The transceiver 152 is used to receive extended broadcast information broadcast by the first positioning device. The extended broadcast information is used to instruct the terminal device to broadcast additional synchronization indication information related to the second positioning device. The extended broadcast information includes CTE access information.
[0289] The transceiver 152 is further configured to receive the additional synchronization indication information broadcast by the second positioning device based on the CTE access information, the additional synchronization indication information including service configuration information and CTE.
[0290] The processor 151 is used to determine the location of the terminal device based on the service configuration information and the CTE.
[0291] In one example, the extended broadcast information includes at least one of the following: broadcast extension indication information and additional broadcast indication information.
[0292] In one example, the payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
[0293] In one example, the CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the ACAD field of the extended header field.
[0294] In one example, the CTE access information includes at least one of the following fields: a CTE access delay unit field, used to indicate the time unit used by the CTE access delay field; a CTE access delay field, used to indicate the CTE access delay; and a synchronization pointer field, used to indicate that the second positioning device broadcasts content related to the additional synchronization indication information.
[0295] In one example, the CTE access delay unit field has a value of 0 or 1; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds; or, when the CTE access delay unit field has a value of 1, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 30 microseconds; when the CTE access delay unit field has a value of 0, the CTE access delay unit field indicates that the time unit used by the CTE access delay field is 300 microseconds.
[0296] In one example, the value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
[0297] In one example, the number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
[0298] In one example, the synchronization pointer field includes at least one of the following fields: a channel index field, used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; an SCA field, used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; and a physical layer field, used to indicate the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
[0299] In one example, the value range of the channel index field includes at least one of the following: greater than or equal to 1 and less than or equal to 11, greater than or equal to 13 and less than or equal to 38.
[0300] In one example, the physical layer field can take any of the following values: a first value indicating that the physical layer is LE 1M; a second value indicating that the physical layer is LE 2M; a third value indicating that the physical layer is LE encoded; and a fourth value indicating that the physical layer is reserved.
[0301] In one example, the processor 151 is configured to: determine at least one secondary broadcast physical channel based on the synchronization pointer field in the CTE access information; and scan for additional synchronization indication information broadcast by the second positioning device in the at least one secondary broadcast physical channel at the CTE synchronization anchor point indicated by the CTE access information.
[0302] This application also provides a computer-readable storage medium storing a computer program that is executed by a processor of a first positioning device to implement the indoor positioning method described above on the first positioning device side.
[0303] This application also provides a computer-readable storage medium storing a computer program for execution by a processor of a second positioning device to implement the indoor positioning method on the second positioning device side as described above.
[0304] This application also provides a computer-readable storage medium storing a computer program for execution by a processor of a terminal device to implement the indoor positioning method on the terminal device side as described above.
[0305] This application also provides a chip, which includes programmable logic circuits and / or program instructions. When the chip is running on a first positioning device, it is used to implement the indoor positioning method on the first positioning device side as described above.
[0306] This application also provides a chip, which includes programmable logic circuits and / or program instructions. When the chip is running on a second positioning device, it is used to implement the indoor positioning method on the second positioning device side as described above.
[0307] This application also provides a chip, which includes programmable logic circuits and / or program instructions. When the chip is run on a terminal device, it is used to implement the indoor positioning method on the terminal device side as described above.
[0308] This application also provides a computer program product, which, when running on a first positioning device, is used to implement the indoor positioning method on the first positioning device side as described above.
[0309] This application also provides a computer program product, which, when running on a second positioning device, is used to implement the indoor positioning method on the second positioning device side as described above.
[0310] This application also provides a computer program product, which, when run on a terminal device, is used to implement the indoor positioning method on the terminal device side as described above.
[0311] Those skilled in the art will recognize that the functions described in the embodiments of this application in one or more of the above examples can be implemented using hardware, software, firmware, or any combination thereof. When implemented using software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media include computer storage media and communication media, wherein communication media include any medium that facilitates the transfer of a computer program from one place to another. Storage media can be any available medium that can be accessed by a general-purpose or special-purpose computer.
[0312] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the spirit and principles of this application should be included within the protection scope of this application.
Claims
1. An indoor positioning method, characterized in that, When applied in a first positioning device, the method includes: Send positioning configuration information to the second positioning device, wherein the positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning; Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning; The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
2. The method according to claim 1, characterized in that, The location configuration information includes at least one of the following: Service configuration information is used to configure the second positioning device to implement the GATT service, a general attribute configuration file related to indoor positioning. The parameter configuration information is used to configure the parameters related to indoor positioning for the second positioning device.
3. The method according to claim 2, characterized in that, The GATT service includes at least one of the following: Constant Tone Extension Service (CTES), Indoor Positioning Service (IPS), and Object Transfer Service (OTS).
4. The method according to claim 2 or 3, characterized in that, The parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
5. The method according to claim 4, characterized in that, The channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the constant tone extended CTE broadcast by the second positioning device.
6. The method according to claim 4 or 5, characterized in that, The delay parameter information is used by at least one of the second positioning devices to achieve synchronous broadcast CTE.
7. The method according to claim 6, characterized in that, The latency parameter information includes a synchronization latency value, which is the difference between the CTE synchronization anchor point and the asynchronous connectionless ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the low-power LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
8. The method according to claim 7, characterized in that, The CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor point is located in the CTE configuration interval, and the CTE synchronization anchor point is located in the CTE synchronization interval.
9. The method according to claim 7 or 8, characterized in that, The CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
10. The method according to claim 1, characterized in that, The value of the opcode field is 0x30.
11. The method according to claim 1 or 10, characterized in that, The value of the delay unit field is 0 or 1; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds; or, When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds.
12. The method according to any one of claims 1 to 11, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
13. The method according to any one of claims 1 to 12, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
14. The method according to any one of claims 1 to 13, characterized in that, After sending the positioning configuration information to the second positioning device, the method further includes: Receive rejection indication information from the second positioning device, the rejection indication information being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, The system receives configuration response information from the second positioning device, which instructs the second positioning device to accept the positioning configuration information.
15. The method according to claim 14, characterized in that, The rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
16. The method according to claim 14, characterized in that, The configuration response information includes the sleep clock accuracy (SCA) of the second positioning device.
17. The method according to any one of claims 1 to 16, characterized in that, The method further includes: Broadcast extended broadcast information, which is used to instruct the terminal device to broadcast additional synchronization indication information related to the second positioning device; wherein, the extended broadcast information includes CTE access information, and the additional synchronization indication information includes CTE.
18. The method according to claim 17, characterized in that, The broadcast extended broadcast information includes: At the beginning of the CTE synchronization interval, the extended broadcast information is broadcast.
19. The method according to claim 17 or 18, characterized in that, The extended broadcast information includes at least one of the following: broadcast extension instruction information, and additional broadcast instruction information.
20. The method according to claim 19, characterized in that, The payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
21. The method according to claim 20, characterized in that, The CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the additional control broadcast data (ACAD) field in the extended header field.
22. The method according to any one of claims 17 to 21, characterized in that, The CTE access information includes at least one of the following fields: The CTE access delay unit field is used to indicate the time unit used by the CTE access delay field; The CTE access delay field is used to indicate the CTE access delay. The synchronization pointer field is used to instruct the second positioning device to broadcast content related to the additional synchronization indication information.
23. The method according to claim 22, characterized in that, The value of the CTE access delay unit field is 0 or 1; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds; or, When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds.
24. The method according to claim 22 or 23, characterized in that, The value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
25. The method according to any one of claims 22 to 24, characterized in that, The number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
26. The method according to any one of claims 22 to 25, characterized in that, The synchronization pointer field includes at least one of the following fields: The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; The SCA field is used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; The physical layer field indicates the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
27. The method according to claim 26, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
28. The method according to claim 26 or 27, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
29. An indoor positioning method, characterized in that, When applied to a second positioning device, the method includes: Receive positioning configuration information from a first positioning device, the positioning configuration information being used to configure information for the second positioning device to achieve indoor positioning; Wherein, the first positioning device is the primary positioning device for achieving the indoor positioning, and the second positioning device is the secondary positioning device for achieving the indoor positioning; The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
30. The method according to claim 29, characterized in that, The location configuration information includes at least one of the following: Service configuration information is used to configure the second positioning device to implement the GATT service, a general attribute configuration file related to indoor positioning. The parameter configuration information is used to configure the parameters related to indoor positioning for the second positioning device.
31. The method according to claim 30, characterized in that, The GATT service includes at least one of the following: Constant Tone Extension Service (CTES), Indoor Positioning Service (IPS), and Object Transfer Service (OTS).
32. The method according to claim 30 or 31, characterized in that, The parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
33. The method according to claim 32, characterized in that, The channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the constant tone extended CTE broadcast by the second positioning device.
34. The method according to claim 32 or 33, characterized in that, The delay parameter information is used by at least one of the second positioning devices to achieve synchronous broadcast CTE.
35. The method according to claim 34, characterized in that, The latency parameter information includes a synchronization latency value, which is the difference between the CTE synchronization anchor point and the asynchronous connectionless ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the low-power LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
36. The method according to claim 35, characterized in that, The CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor point is located in the CTE configuration interval, and the CTE synchronization anchor point is located in the CTE synchronization interval.
37. The method according to claim 35 or 36, characterized in that, The CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
38. The method according to claim 29, characterized in that, The value of the opcode field is 0x30.
39. The method according to claim 29 or 38, characterized in that, The value of the delay unit field is 0 or 1; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds; or, When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds.
40. The method according to any one of claims 29 to 39, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
41. The method according to any one of claims 29 to 40, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 1M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
42. The method according to any one of claims 29 to 41, characterized in that, After receiving the positioning configuration information from the first positioning device, the process further includes: Send a rejection indication message to the first positioning device, the rejection indication message being used to instruct the second positioning device to refuse to accept the positioning configuration information; or, A configuration response message is sent to the first positioning device, the configuration response message being used to instruct the second positioning device to accept the positioning configuration message.
43. The method according to claim 42, characterized in that, The rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
44. The method according to claim 42, characterized in that, The configuration response information includes the sleep clock accuracy (SCA) of the second positioning device.
45. The method according to any one of claims 29 to 44, characterized in that, The method further includes: Based on the location configuration information, additional synchronization indication information is broadcast, which includes service configuration information and CTE.
46. The method according to claim 45, characterized in that, The broadcasting of additional synchronization indication information based on the positioning configuration information includes: The additional synchronization indication information is broadcast based on the secondary broadcast physical channel indicated by the positioning configuration information.
47. An indoor positioning method, characterized in that, When applied in a terminal device, the method includes: The terminal device receives extended broadcast information broadcast by a first positioning device, the extended broadcast information being used to instruct the terminal device to broadcast additional synchronization indication information related to a second positioning device; wherein, the extended broadcast information includes constant tone extended CTE access information; Based on the CTE access information, the additional synchronization indication information broadcast by the second positioning device is received, the additional synchronization indication information including service configuration information and CTE; Based on the service configuration information and the CTE, the location of the terminal device is determined.
48. The method according to claim 47, characterized in that, The extended broadcast information includes at least one of the following: broadcast extension instruction information, and additional broadcast instruction information.
49. The method according to claim 48, characterized in that, The payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
50. The method according to claim 49, characterized in that, The CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the additional control broadcast data (ACAD) field in the extended header field.
51. The method according to any one of claims 47 to 50, characterized in that, The CTE access information includes at least one of the following fields: The CTE access delay unit field is used to indicate the time unit used by the CTE access delay field; The CTE access delay field is used to indicate the CTE access delay. The synchronization pointer field is used to instruct the second positioning device to broadcast content related to the additional synchronization indication information.
52. The method according to claim 51, characterized in that, The value of the CTE access delay unit field is 0 or 1; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds; or, When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds.
53. The method according to claim 51 or 52, characterized in that, The value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
54. The method according to any one of claims 51 to 53, characterized in that, The number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
55. The method according to any one of claims 51 to 54, characterized in that, The synchronization pointer field includes at least one of the following fields: The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; The SCA field is used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; The physical layer field indicates the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
56. The method according to claim 55, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
57. The method according to claim 55 or 56, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
58. The method according to any one of claims 47 to 57, characterized in that, The step of receiving the additional synchronization indication information broadcast by the second positioning device based on the CTE access information includes: Based on the synchronization pointer field in the CTE access information, at least one secondary broadcast physical channel is determined. At the CTE synchronization anchor point indicated by the CTE access information, scan the additional synchronization indication information broadcast by the second positioning device in the at least one secondary broadcast physical channel.
59. An indoor positioning device, characterized in that, The device, disposed in the first positioning device, includes: A configuration information sending module is used to send positioning configuration information to a second positioning device. The positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning. The first positioning device is the primary positioning device for achieving indoor positioning, and the second positioning device is the secondary positioning device for achieving indoor positioning. The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
60. The apparatus according to claim 59, characterized in that, The location configuration information includes at least one of the following: Service configuration information is used to configure the second positioning device to implement the GATT service, a general attribute configuration file related to indoor positioning. The parameter configuration information is used to configure the parameters related to indoor positioning for the second positioning device.
61. The apparatus according to claim 60, characterized in that, The GATT service includes at least one of the following: Constant Tone Extension Service (CTES), Indoor Positioning Service (IPS), and Object Transfer Service (OTS).
62. The apparatus according to claim 60 or 61, characterized in that, The parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
63. The apparatus according to claim 62, characterized in that, The channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the constant tone extended CTE broadcast by the second positioning device.
64. The apparatus according to claim 62 or 63, characterized in that, The delay parameter information is used by at least one of the second positioning devices to achieve synchronous broadcast CTE.
65. The apparatus according to claim 64, characterized in that, The latency parameter information includes a synchronization latency value, which is the difference between the CTE synchronization anchor point and the asynchronous connectionless ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the low-power LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
66. The apparatus according to claim 65, characterized in that, The CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor point is located in the CTE configuration interval, and the CTE synchronization anchor point is located in the CTE synchronization interval.
67. The apparatus according to claim 65 or 66, characterized in that, The CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
68. The apparatus according to claim 59, characterized in that, The value of the opcode field is 0x30.
69. The apparatus according to claim 59 or 68, characterized in that, The value of the delay unit field is 0 or 1; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds; or, When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds.
70. The apparatus according to any one of claims 59 to 69, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
71. The apparatus according to any one of claims 59 to 70, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
72. The apparatus according to any one of claims 59 to 71, characterized in that, The device further includes: An instruction information receiving module is used to receive rejection instruction information from the second positioning device, wherein the rejection instruction information is used to instruct the second positioning device to refuse to accept the positioning configuration information; or, The response information receiving module is used to receive configuration response information from the second positioning device, wherein the configuration response information is used to instruct the second positioning device to accept the positioning configuration information.
73. The apparatus according to claim 72, characterized in that, The rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
74. The apparatus according to claim 72, characterized in that, The configuration response information includes the sleep clock accuracy (SCA) of the second positioning device.
75. The apparatus according to any one of claims 59 to 74, characterized in that, The device further includes: The broadcast information broadcasting module is used to broadcast extended broadcast information, which is used to instruct the terminal device to broadcast additional synchronization indication information related to the second positioning device; wherein, the extended broadcast information includes CTE access information, and the additional synchronization indication information includes CTE.
76. The apparatus according to claim 75, characterized in that, The broadcast information broadcasting module is used for: At the beginning of the CTE synchronization interval, the extended broadcast information is broadcast.
77. The apparatus according to claim 75 or 76, characterized in that, The extended broadcast information includes at least one of the following: broadcast extension instruction information, and additional broadcast instruction information.
78. The apparatus according to claim 77, characterized in that, The payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
79. The apparatus according to claim 78, characterized in that, The CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the additional control broadcast data (ACAD) field in the extended header field.
80. The apparatus according to any one of claims 75 to 79, characterized in that, The CTE access information includes at least one of the following fields: The CTE access delay unit field is used to indicate the time unit used by the CTE access delay field; The CTE access delay field is used to indicate the CTE access delay. The synchronization pointer field is used to instruct the second positioning device to broadcast content related to the additional synchronization indication information.
81. The apparatus according to claim 80, characterized in that, The value of the CTE access delay unit field is 0 or 1; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds; or, When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds.
82. The apparatus according to claim 80 or 81, characterized in that, The value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
83. The apparatus according to any one of claims 80 to 81, characterized in that, The number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
84. The apparatus according to any one of claims 80 to 83, characterized in that, The synchronization pointer field includes at least one of the following fields: The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; The SCA field is used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; The physical layer field indicates the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
85. The apparatus according to claim 84, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
86. The apparatus according to claim 84 or 85, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
87. An indoor positioning device, characterized in that, The device, disposed in the second positioning device, includes: A configuration information receiving module is used to receive positioning configuration information from a first positioning device, wherein the positioning configuration information is used to configure information used by the second positioning device to achieve indoor positioning; wherein the first positioning device is the primary positioning device for achieving indoor positioning, and the second positioning device is the secondary positioning device for achieving indoor positioning; The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
88. The apparatus according to claim 87, characterized in that, The location configuration information includes at least one of the following: Service configuration information is used to configure the second positioning device to implement the GATT service, a general attribute configuration file related to indoor positioning. The parameter configuration information is used to configure the parameters related to indoor positioning for the second positioning device.
89. The apparatus according to claim 88, characterized in that, The GATT service includes at least one of the following: Constant Tone Extension Service (CTES), Indoor Positioning Service (IPS), and Object Transfer Service (OTS).
90. The apparatus according to claim 88 or 89, characterized in that, The parameter configuration information includes at least one of the following: delay parameter information and channel parameter information.
91. The apparatus according to claim 90, characterized in that, The channel parameter information is used to indicate the secondary broadcast physical channel and physical layer of the constant tone extended CTE broadcast by the second positioning device.
92. The apparatus according to claim 90 or 91, characterized in that, The delay parameter information is used by at least one of the second positioning devices to achieve synchronous broadcast CTE.
93. The apparatus according to claim 92, characterized in that, The latency parameter information includes a synchronization latency value, which is the difference between the CTE synchronization anchor point and the asynchronous connectionless ACL anchor point located in the same CTE interval; wherein, the CTE synchronization anchor point is used to indicate the occurrence time of the synchronous broadcast CTE, and the ACL anchor point is the anchor point of the low-power LE connection event, which is used to indicate the establishment of an LE ACL connection between the first positioning device and the second positioning device.
94. The apparatus according to claim 93, characterized in that, The CTE interval includes a CTE configuration interval and a CTE synchronization interval; the ACL anchor point is located in the CTE configuration interval, and the CTE synchronization anchor point is located in the CTE synchronization interval.
95. The apparatus according to claim 93 or 94, characterized in that, The CTE interval includes a CTE configuration interval; the LE connection events corresponding to different second positioning devices are located in the CTE configuration interval and do not overlap in the CTE configuration interval.
96. The apparatus according to claim 87, characterized in that, The value of the opcode field is 0x30.
97. The apparatus according to claim 87 or 96, characterized in that, The value of the delay unit field is 0 or 1; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds; or, When the value of the delay unit field is 1, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 30 microseconds; When the value of the delay unit field is 0, the delay unit field is used to indicate that the time unit used by the synchronization delay field is 300 microseconds.
98. The apparatus according to any one of claims 87 to 97, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
99. The apparatus according to any one of claims 87 to 97, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 1M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
100. The apparatus according to any one of claims 87 to 99, characterized in that, The device further includes: An instruction information sending module is used to send rejection instruction information to a first positioning device, wherein the rejection instruction information is used to instruct the second positioning device to refuse to accept the positioning configuration information; or, The response information sending module is used to send configuration response information to the first positioning device, wherein the configuration response information is used to instruct the second positioning device to accept the positioning configuration information.
101. The apparatus according to claim 100, characterized in that, The rejection indication information includes the reason why the second positioning device refuses to accept the positioning configuration information.
102. The apparatus according to claim 100, characterized in that, The configuration response information includes the sleep clock accuracy (SCA) of the second positioning device.
103. The apparatus according to any one of claims 87 to 102, characterized in that, The device further includes: The instruction information broadcasting module is used to broadcast additional synchronization instruction information based on the location configuration information. The additional synchronization instruction information includes service configuration information and CTE.
104. The apparatus according to claim 103, characterized in that, The instruction information broadcasting module is used for: The additional synchronization indication information is broadcast based on the secondary broadcast physical channel indicated by the positioning configuration information.
105. An indoor positioning device, characterized in that, The device, installed in a terminal device, includes: A broadcast information receiving module is used to receive extended broadcast information broadcast by a first positioning device. The extended broadcast information is used to instruct the terminal device on content related to additional synchronization indication information broadcast by a second positioning device. The extended broadcast information includes constant tone extended CTE access information. The indication information receiving module is used to receive the additional synchronization indication information broadcast by the second positioning device based on the CTE access information. The additional synchronization indication information includes service configuration information and CTE. The device location determination module is used to determine the location of the terminal device based on the service configuration information and the CTE.
106. The apparatus according to claim 105, characterized in that, The extended broadcast information includes at least one of the following: broadcast extension instruction information, and additional broadcast instruction information.
107. The apparatus according to claim 106, characterized in that, The payload of the additional broadcast indication information includes at least one of the following fields: extended header length field, broadcast mode field, extended header field, and broadcast data field.
108. The apparatus according to claim 107, characterized in that, The CTE access information is carried in the broadcast data field; or, the CTE access information is carried in the additional control broadcast data (ACAD) field in the extended header field.
109. The apparatus according to any one of claims 105 to 108, characterized in that, The CTE access information includes at least one of the following fields: The CTE access delay unit field is used to indicate the time unit used by the CTE access delay field; The CTE access delay field is used to indicate the CTE access delay. The synchronization pointer field is used to instruct the second positioning device to broadcast content related to the additional synchronization indication information.
110. The apparatus according to claim 109, characterized in that, The value of the CTE access delay unit field is 0 or 1; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds; or, When the value of the CTE access delay unit field is 1, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 30 microseconds; When the value of the CTE access delay unit field is 0, the CTE access delay unit field is used to indicate that the time unit used by the CTE access delay field is 300 microseconds.
111. The apparatus according to claim 109 or 110, characterized in that, The value of the CTE access delay field is the result of dividing the CTE access delay value by the time unit indicated by the CTE access delay unit field. The CTE access delay value refers to the difference between the start time of the CTE synchronization anchor point and the CTE synchronization interval.
112. The apparatus according to any one of claims 109 to 111, characterized in that, The number of fields in the synchronization pointer field is equal to the number of second positioning devices connected to the first positioning device.
113. The apparatus according to any one of claims 109 to 112, characterized in that, The synchronization pointer field includes at least one of the following fields: The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast the additional synchronization indication information; The SCA field is used to indicate the SCA used by the second positioning device to broadcast the additional synchronization indication information; The physical layer field indicates the physical layer used by the second positioning device to broadcast the additional synchronization indication information.
114. The apparatus according to claim 113, characterized in that, The channel index field can take values ranging from at least one of the following: greater than or equal to 1 and less than or equal to 11, or greater than or equal to 13 and less than or equal to 38.
115. The apparatus according to claim 113 or 114, characterized in that, The physical layer field can take any one of the following values: The first value is used to indicate that the physical layer is LE 1M; The second value is used to indicate that the physical layer is LE 2M; The third value is used to indicate that the physical layer is LE encoded; The fourth value is used to indicate that the physical layer is reserved.
116. The apparatus according to any one of claims 105 to 115, characterized in that, The device location determination module is used for: Based on the synchronization pointer field in the CTE access information, at least one secondary broadcast physical channel is determined. At the CTE synchronization anchor point indicated by the CTE access information, scan the additional synchronization indication information broadcast by the second positioning device in the at least one secondary broadcast physical channel.
117. A first positioning device, characterized in that, The first positioning device includes: a processor, and a transceiver connected to the processor; wherein: The transceiver is used to send positioning configuration information to the second positioning device. The positioning configuration information is used to configure the second positioning device with information used to achieve indoor positioning. The first positioning device is the primary positioning device for achieving indoor positioning, and the second positioning device is the secondary positioning device for achieving indoor positioning. The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
118. A second positioning device, characterized in that, The second positioning device includes: a processor, and a transceiver connected to the processor; wherein: The transceiver is used to receive positioning configuration information from a first positioning device, the positioning configuration information being used to configure information for the second positioning device to achieve indoor positioning; wherein, the first positioning device is the primary positioning device for achieving indoor positioning, and the second positioning device is the secondary positioning device for achieving indoor positioning; The payload of the Protocol Data Unit (PDU) carrying the positioning configuration information includes the following fields: The operation code field is used to indicate the operation code of the PDU; The synchronization delay field is used to indicate the synchronization delay value for at least one of the second positioning devices to achieve synchronous broadcast CTE; The delay unit field is used to indicate the time unit used by the synchronization delay field when the load of the PDU carrying the positioning configuration information includes the synchronization delay field; The channel index field is used to indicate the secondary broadcast physical channel used by the second positioning device to broadcast additional synchronization indication information containing CTE; The physical layer field indicates the physical layer used by the second positioning device to broadcast additional synchronization indication information containing CTE; The value of the synchronization delay field is calculated by dividing the synchronization delay value by the time unit indicated by the delay unit field.
119. A terminal device, characterized in that, The terminal device includes: a processor, and a transceiver connected to the processor; wherein: The transceiver is used to receive extended broadcast information broadcast by the first positioning device, the extended broadcast information being used to instruct the terminal device on content related to the additional synchronization indication information broadcast by the second positioning device; wherein, the extended broadcast information includes constant tone extended CTE access information; The transceiver is further configured to receive, based on the CTE access information, the additional synchronization indication information broadcast by the second positioning device, the additional synchronization indication information including service configuration information and CTE; The processor is used to determine the location of the terminal device based on the service configuration information and the CTE.
120. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that is executed by the processor of the first positioning device to implement the indoor positioning method as described in any one of claims 1 to 28.
121. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that is executed by the processor of the second positioning device to implement the indoor positioning method as described in any one of claims 29 to 46.
122. A computer-readable storage medium, characterized in that, The storage medium stores a computer program that is executed by the processor of a terminal device to implement the indoor positioning method as described in any one of claims 47 to 58.
Citation Information
Patent Citations
Networking method for indoor positioning
CN107889059A
