Indoor positioning method and device
By allowing picobase stations to take turns sending reference signals and calculating clock synchronization errors in the indoor positioning system, the problem that clock synchronization error calibration depends on the number of reference terminals in the traditional method is solved, achieving high-precision indoor positioning and resource saving.
Patent Information
- Application Number
- CN202311690624.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-11
- Publication Date
- 2024-10-18
AI Technical Summary
In traditional indoor high-precision positioning methods, clock synchronization error calibration depends on the number of deployed reference terminals. When there are too few reference terminals, the calibration accuracy is low, resulting in low positioning accuracy. When there are too many reference terminals, it will put pressure on deployment resources.
By taking turns sending reference signals to the pico base stations in the preset area, obtaining the signal arrival time difference, calculating the clock synchronization error, and eliminating the error in the positioning solution, clock synchronization between the pico base stations is achieved and the dependence on external reference terminals is avoided. Save resources.
It improves the clock synchronization accuracy, enhances the positioning accuracy of the terminal to be positioned, adapts to various application scenarios, and avoids the problem of low synchronization accuracy caused by power failure and restart of the reference terminal, achieving fast recovery and efficient positioning.
Smart Images

Figure CN118804255A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to an indoor positioning method and device. Background Art
[0002] Indoor high-precision positioning usually uses the uplink arrival time difference positioning algorithm. This positioning mechanism calculates the distance difference between the terminal and the pico base station through the different time differences when each pico base station receives the uplink signal sent by the terminal, and locates the terminal based on the distance difference. Therefore, this mechanism requires high clock synchronization accuracy between each pico base station. Since there is a channel clock synchronization error between each pico base station, the actual measured uplink signal arrival time contains this error. This error needs to be calibrated to meet the clock synchronization accuracy requirements, and then a higher positioning accuracy can be achieved when the terminal to be positioned is subsequently positioned.
[0003] The traditional error calibration method requires deploying a reference terminal in the positioning environment and configuring the coordinates of the reference terminal to the positioning server. The positioning algorithm can calculate the clock synchronization error between the pico base stations in real time through the coordinate position of the reference terminal and the uplink signal it sends to the pico base station, and then calibrate the error. However, the calibration effect of this method is limited by the number of deployed reference terminals. When too few reference terminals are deployed, the clock synchronization accuracy after calibration is low, resulting in low positioning accuracy of the terminal to be located. When too many reference terminals are deployed, it will cause greater pressure on deployment resources. Summary of the invention
[0004] The embodiments of the present application provide an indoor positioning method and device to solve the technical problem that the calibration effect of the traditional error calibration method is limited by the number of deployed reference terminals. When the number of deployed reference terminals is too small, the clock synchronization accuracy after calibration is low, resulting in low positioning accuracy of the terminal to be positioned; when the number of deployed reference terminals is too large, it will cause great pressure on the deployment resources.
[0005] In a first aspect, an embodiment of the present application provides an indoor positioning method, comprising:
[0006] Controlling each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations;
[0007] Acquire multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0008] When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations;
[0009] The positioning solution is performed on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0010] In one embodiment, the controlling each pico base station in the preset area to take turns as a reference pico base station to send a reference signal to other pico base stations includes:
[0011] The pico base stations in the preset area are controlled to take turns as reference pico base stations and send reference signals to other pico base stations in the protection time slots of different wireless frames.
[0012] In one embodiment, the preset condition is that the first splicing value and the second splicing value match successfully;
[0013] The first splicing value is obtained by splicing the initial identifier and the initial cabinet slot number of the reference pico base station, and the second splicing value is obtained by reconfiguring the identifier and the cabinet slot number of the reference pico base station and splicing the reconfigured identifier and the cabinet slot number.
[0014] In one embodiment, the acquiring multiple arrival times of the reference signal arriving at multiple other pico base stations includes:
[0015] Obtain multiple arrival times of a reference signal sent by any reference pico base station arriving at multiple other pico base stations to obtain a first arrival time;
[0016] The first arrival times of all reference pico base stations are obtained to obtain the second arrival times.
[0017] In one embodiment, obtaining the clock synchronization error between any two other pico base stations according to the arrival time and the distance between the reference pico base station and other pico base stations includes:
[0018] According to the arrival time of the reference signal sent by any reference pico base station other than the any two other pico base stations at the any two other pico base stations in the second arrival time, and the distance between the any reference pico base station and the any two other pico base stations, the clock synchronization error between the any two other pico base stations is obtained.
[0019] In one embodiment, eliminating the clock synchronization error includes:
[0020] Eliminate all clock synchronization errors between each pair of pico base stations.
[0021] In a second aspect, an embodiment of the present application provides an indoor positioning device, including:
[0022] A signal rotation module is used to control the pico base stations in a preset area to take turns as reference pico base stations to send reference signals to other pico base stations;
[0023] A time measurement module is used to: obtain multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0024] An error solving module is used to: obtain the clock synchronization error between any two other pico base stations according to the arrival time and the distance between the reference pico base station and other pico base stations when a preset condition is met;
[0025] The positioning solution module is used to: perform positioning solution on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0026] In a third aspect, an embodiment of the present application provides an electronic device, including a processor and a memory storing a computer program, wherein the processor implements the steps of the indoor positioning method described in the first aspect when executing the program.
[0027] In a fourth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the indoor positioning method described in the first aspect.
[0028] In a fifth aspect, an embodiment of the present application provides a non-transitory computer-readable storage medium, including a computer program, which, when executed by a processor, implements the steps of the indoor positioning method described in the first aspect.
[0029] The indoor positioning method and device provided in the present application control each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations, obtain multiple arrival times of the reference signal to multiple other pico base stations, and when the preset conditions are met, obtain the clock synchronization error between any two other pico base stations based on the arrival time and the distance between the reference pico base station and the other pico base stations, and perform positioning solution on the arrival time difference of the uplink signal sent by the terminal to be positioned when it arrives at any two pico base stations in the preset area, so as to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned. The pico base stations in a preset area take turns serving as reference pico base stations and send reference signals to other pico base stations to complete the calculation of the clock synchronization error between each pico base station, thereby eliminating the error and achieving clock synchronization between each pico base station. On the one hand, it does not rely on an external reference terminal for clock synchronization error calculation, and there is no need to deploy a reference terminal, thus saving deployment resources. On the other hand, since all pico base stations in the preset area have served as reference pico base stations at least once, the number of reference pico base stations is significantly greater than the number of reference terminals deployed in traditional solutions. For any two pico base stations other than the reference pico base stations, more clock synchronization errors corresponding to more reference pico base stations can be obtained. After eliminating and calibrating these errors, the clock synchronization accuracy can be effectively improved, thereby improving the positioning accuracy of the terminal to be located. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0031] Figure 1 It is a flowchart of the indoor positioning method provided by the embodiment of the present application;
[0032] Figure 2 Schematic diagram of deployment of reference pico base stations for the indoor positioning method provided in an embodiment of the present application;
[0033] Figure 3 It is a schematic diagram of the reference terminal deployment of the traditional clock synchronization error calibration method;
[0034] Figure 4 is a schematic diagram of the structure of an indoor positioning device provided in an embodiment of the present application;
[0035] Figure 5 It is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0037] Figure 1 It is a flowchart of the indoor positioning method provided by the embodiment of the present application;
[0038] Figure 2 Schematic diagram of deployment of reference pico base stations for the indoor positioning method provided in an embodiment of the present application;
[0039] Figure 3 It is a schematic diagram of the reference terminal deployment of the traditional clock synchronization error calibration method.
[0040] Reference Figure 1 , the embodiment of the present application provides an indoor positioning method, which may include:
[0041] 101. Control each pico base station in a preset area to take turns as a reference pico base station to send a reference signal to other pico base stations;
[0042] 102. Obtain multiple arrival times of a reference signal arriving at multiple other pico base stations;
[0043] 103. When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations;
[0044] 104. Perform positioning calculation on the arrival time difference of the uplink signal sent by the terminal to be positioned at any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0045] In step 101, refer to Figure 2 Assuming that there are N pico base stations in a preset area, the first pico base station is taken as a reference pico base station and controlled to send reference signals to other N-1 pico base stations. The second pico base station is then taken as a reference pico base station and controlled to send reference signals to other N-1 pico base stations, and so on, until the Nth pico base station is taken as a reference pico base station and controlled to send reference signals to other N-1 pico base stations.
[0046] In step 102, multiple arrival times of a reference signal sent by any reference pico base station to multiple other pico base stations are obtained to obtain a first arrival time, and the first arrival times of all reference pico base stations are obtained to obtain a second arrival time.
[0047] Reference Figure 2 When the first pico base station is controlled as a reference pico base station and a reference signal is sent to other N-1 pico base stations, N-1 arrival times corresponding to the second to Nth pico base stations, i.e., the first arrival time, can be obtained. When the second pico base station is controlled as a reference pico base station and a reference signal is sent to other N-1 pico base stations, N-1 arrival times corresponding to the first pico base station and the third to Nth pico base stations, i.e., the first arrival time, can be obtained. By analogy, a total of N first arrival times, i.e., the second arrival time, can be obtained.
[0048] In step 103, the clock synchronization error between any two other pico base stations is obtained based on the arrival time of the reference signal sent by any reference pico base station other than any two other pico base stations at any two other pico base stations in the second arrival time, and the distance between the reference pico base station and the any two other pico base stations.
[0049] For example, when the first pico base station is controlled as a reference pico base station and a reference signal is sent to other N-1 pico base stations, N-1 arrival times corresponding to the second to Nth pico base stations are obtained. Assuming that the arrival time of the reference signal at the second pico base station is TOA2, and the arrival time at the third pico base station is TOA3, the distance between the first pico base station and the second pico base station is D2, and the distance between the first pico base station and the third pico base station is D3, the clock synchronization error between the second pico base station and the third pico base station can be calculated using the following formula:
[0050]
[0051] Among them, TAE 23 is the clock synchronization error between the second and third pico base stations, and c is the radio propagation speed, which can be approximated to the speed of light.
[0052] Similarly, when the fourth pico base station is controlled as a reference pico base station to send reference signals to other N-1 pico base stations, the clock synchronization error between the second and third pico base stations can also be obtained. That is, for any two pico base stations, the N-2 clock synchronization errors corresponding to the reference signals sent by the other N-2 pico base stations as reference pico base stations can be obtained. For N pico base stations, there are a total of Clock synchronization error.
[0053] In step 104, after the uplink signal sent by the terminal to be located reaches N pico base stations, N arrival times corresponding to the first to Nth pico base stations can be obtained, and then the arrival time difference between any two pico base stations can be obtained through the arrival time, for example, the arrival time difference UTDOA between the first pico base station and the second pico base station 12, the arrival time difference between the second and third pico base stations UTDOA 22 , and so on, a total of When performing positioning calculation, it is necessary to eliminate all clock synchronization errors between the two pico base stations in each pico base station, that is, to eliminate all clock errors in each arrival time difference. For example, corresponding to the arrival time difference UTDOA 23 , it is necessary to eliminate the N-2 clock synchronization errors corresponding to the second pico base station and the third pico base station in step 103. When all arrival time differences have eliminated their corresponding N-2 clock synchronization errors, the clock synchronization error calibration is completed, and the terminal to be located can be accurately located based on the calibrated arrival time difference.
[0054] In the current 5G communication system, the clock synchronization accuracy between each pico base station is required to be within 200ns, while for the indoor uplink arrival time difference positioning algorithm, the clock synchronization accuracy between each pico base station is required to be within 2ns.
[0055] Reference Figure 3 In order to meet the requirements of clock synchronization accuracy, a reference terminal is fixed to every 4 adjacent pico base stations, and there needs to be an unobstructed visual path between the fixed reference terminal and these 4 pico base stations. For example, pico base station No. 1, pico base station No. 2, pico base station No. 3 and pico base station No. 4 are fixed with reference terminal No. 1, and there are visual paths between reference terminal No. 1 and pico base stations No. 1, 2, 3 and 4 respectively; pico base station No. 2, pico base station No. 4, pico base station No. 5 and pico base station No. 7 are fixed with reference terminal No. 2, and there are visual paths between reference terminal No. 2 and pico base stations No. 2, 4, 5 and 7 respectively; pico base station No. 5, pico base station No. 6, pico base station No. 7 and pico base station No. 8 are fixed with reference terminal No. 3, and there are visual paths between reference terminal No. 3 and pico base stations No. 5, 6, 7 and 8 respectively. The excessive number of reference terminals puts great pressure on deployment resources, and the path requirements between reference terminals and pico base stations are strict, and many scenarios do not have the deployment conditions.
[0056] The indoor positioning method provided in this embodiment controls each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations, and obtains multiple arrival times of the reference signal to multiple other pico base stations. When the preset conditions are met, the clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and the other pico base stations. The positioning solution is performed on the arrival time difference between the uplink signal sent by the terminal to be positioned and the arrival of any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned. The pico base stations in a preset area take turns serving as reference pico base stations and send reference signals to other pico base stations to complete the calculation of the clock synchronization error between each pico base station, thereby eliminating the error and achieving clock synchronization between each pico base station. On the one hand, it does not rely on an external reference terminal for clock synchronization error calculation, and there is no need to deploy a reference terminal, thus saving deployment resources. On the other hand, since all pico base stations in the preset area have served as reference pico base stations at least once, the number of reference pico base stations is significantly greater than the number of reference terminals deployed in traditional solutions. For any two pico base stations other than the reference pico base stations, more clock synchronization errors corresponding to more reference pico base stations can be obtained. After eliminating and calibrating these errors, the clock synchronization accuracy can be effectively improved, thereby improving the positioning accuracy of the terminal to be located.
[0057] Furthermore, this embodiment has no requirements for the paths between pico base stations and can adapt to various application scenarios.
[0058] Furthermore, the clock synchronization error is strongly correlated with the state of the calibration system. In the traditional error calibration method, due to the introduction of an external reference terminal, the clock synchronization error will change when the reference terminal is powered off and restarted, making it difficult to achieve the nanosecond-level synchronization accuracy required for high-precision positioning between pico base stations, so recalibration is required.
[0059] The method of this embodiment does not introduce an external reference terminal, but performs error self-calibration and self-calibration inside the pico base station, which can effectively avoid the recalibration of clock synchronization errors caused by power failure and restart of the reference terminal and the low synchronization accuracy between pico base stations, thereby achieving rapid recovery of indoor positioning services and improved positioning accuracy. At the same time, it can also solve engineering problems such as reference terminal deployment and power supply.
[0060] Furthermore, the traditional calibration method requires calculation of the clock synchronization error based on the coordinates of the reference terminal and the pico base station, which requires measurement of the coordinates of the reference terminal.
[0061] This embodiment reuses multiple pico base stations. Since the location coordinates of the pico base stations have been determined at the initial stage of construction and are known quantities when calculating the clock synchronization error, the calculation of the clock synchronization error can be completed without measuring the coordinates of the external reference terminal, which is more efficient and convenient.
[0062] In one embodiment, controlling each pico base station in a preset area to take turns as a reference pico base station to send a reference signal to other pico base stations may include:
[0063] Control each pico base station in the preset area to take turns as a reference pico base station, and send reference signals to other pico base stations in the protection time slots of different wireless frames. For example, control the first pico base station as a reference pico base station, and send reference signals to other N-1 pico base stations in the protection time slot of the first wireless frame. Control the second pico base station as a reference pico base station, and send reference signals to other N-1 pico base stations in the protection time slot of the second wireless frame, and so on, until the Nth pico base station serves as a reference pico base station, and sends reference signals to other N-1 pico base stations in the protection time slot of the Nth wireless frame, and the signal transmission of the N pico base stations is completed.
[0064] For the traditional error calibration method, each reference terminal simultaneously sends a reference signal to the pico base station on the uplink symbol of the special time slot of the wireless frame. However, a special time slot in a current cell can only be provided to one reference terminal. When there are multiple reference terminals, they need to occupy multiple special time slots in the wireless frame cycle, resulting in the occupation of signal resources of non-reference terminals, which affects the wireless service.
[0065] In this embodiment, different reference pico base stations send reference signals in the protection time slots of different wireless frames, and do not occupy the special time slots of the wireless frames, that is, do not occupy the uplink and downlink time slots of the wireless frames. Therefore, it is possible to avoid the consumption of wireless resources and further avoid the impact on wireless services.
[0066] In one embodiment, the preset condition is that the first splicing value matches the second splicing value;
[0067] The first splicing value is obtained by splicing the initial identifier and the initial cabinet slot number of the reference pico base station, and the second splicing value is obtained by reconfiguring the identifier and the cabinet slot number of the reference pico base station and splicing the reconfigured identifier and the cabinet slot number.
[0068] When solving the error, the identifier, cabinet slot number and coordinates of the reference pico base station will be reconfigured, and the reconfigured and spliced second spliced value will be matched with the first spliced value after splicing the initial identifier and initial cabinet slot number of the reference pico base station. If the two match successfully, it is confirmed that this calculation is a calibration information calculation, and the clock synchronization error of other pico base stations corresponding to the reference pico base station will be calculated.
[0069] This embodiment matches the identifier of the reference pico base station and the cabinet frame slot number, identifies the calculation type as calibration information, and then starts calculating the clock synchronization error. It can distinguish the calibration information calculation from the subsequent positioning solution for the terminal to be positioned, ensure the independence of the two calculation processes, and improve the efficiency of the two calculation processes.
[0070] The indoor positioning device provided in the embodiment of the present application is described below. The indoor positioning device described below and the indoor positioning method described above can refer to each other.
[0071] Figure 4 Schematic diagram of the structure of the indoor positioning device provided in the embodiment of the present application. Figure 4 , an embodiment of the present application provides an indoor positioning device, which may include:
[0072] The signal rotation module 401 is used to control the pico base stations in a preset area to take turns as reference pico base stations to send reference signals to other pico base stations;
[0073] The time measurement module 402 is used to: obtain multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0074] The error solving module 403 is used to obtain the clock synchronization error between any two other pico base stations according to the arrival time and the distance between the reference pico base station and other pico base stations when a preset condition is met;
[0075] The positioning solution module 404 is used to perform positioning solution on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0076] The indoor positioning device provided in this embodiment controls each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations, and obtains multiple arrival times of the reference signal to multiple other pico base stations. When the preset conditions are met, the clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and the other pico base stations. The positioning solution is performed on the arrival time difference between the uplink signal sent by the terminal to be positioned and the arrival of any two pico base stations in the preset area, so as to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned. The pico base stations in a preset area take turns serving as reference pico base stations and send reference signals to other pico base stations to complete the calculation of the clock synchronization error between each pico base station, thereby eliminating the error and achieving clock synchronization between each pico base station. On the one hand, it does not rely on an external reference terminal for clock synchronization error calculation, and there is no need to deploy a reference terminal, thus saving deployment resources. On the other hand, since all pico base stations in the preset area have served as reference pico base stations at least once, the number of reference pico base stations is significantly greater than the number of reference terminals deployed in traditional solutions. For any two pico base stations other than the reference pico base stations, more clock synchronization errors corresponding to more reference pico base stations can be obtained. After eliminating and calibrating these errors, the clock synchronization accuracy can be effectively improved, thereby improving the positioning accuracy of the terminal to be located.
[0077] Furthermore, this embodiment has no requirements for the paths between pico base stations and can adapt to various application scenarios.
[0078] Furthermore, the clock synchronization error is strongly correlated with the state of the calibration system. In the traditional error calibration method, due to the introduction of an external reference terminal, the clock synchronization error will change when the reference terminal is powered off and restarted, making it difficult to achieve the nanosecond-level synchronization accuracy required for high-precision positioning between pico base stations, so recalibration is required.
[0079] The method of this embodiment does not introduce an external reference terminal, but performs error self-calibration and self-calibration inside the pico base station, which can effectively avoid the recalibration of clock synchronization errors caused by power failure and restart of the reference terminal and the low synchronization accuracy between pico base stations, thereby achieving rapid recovery of indoor positioning services and improved positioning accuracy. At the same time, it can also solve engineering problems such as reference terminal deployment and power supply.
[0080] Furthermore, the traditional calibration method requires calculation of the clock synchronization error based on the coordinates of the reference terminal and the pico base station, which requires measurement of the coordinates of the reference terminal.
[0081] This embodiment reuses multiple pico base stations. Since the location coordinates of the pico base stations have been determined at the initial stage of construction and are known quantities when calculating the clock synchronization error, the calculation of the clock synchronization error can be completed without measuring the coordinates of the external reference terminal, which is more efficient and convenient.
[0082] In one embodiment, the signal transmission module 401 is specifically used for:
[0083] The pico base stations in the preset area are controlled to take turns as reference pico base stations and send reference signals to other pico base stations in the protection time slots of different wireless frames.
[0084] In one embodiment, the preset condition is that the first splicing value and the second splicing value match successfully;
[0085] The first splicing value is obtained by splicing the initial identifier and the initial cabinet slot number of the reference pico base station, and the second splicing value is obtained by reconfiguring the identifier and the cabinet slot number of the reference pico base station and splicing the reconfigured identifier and the cabinet slot number.
[0086] In one embodiment, the time measurement module 402 is specifically used for:
[0087] Obtain multiple arrival times of a reference signal sent by any reference pico base station arriving at multiple other pico base stations to obtain a first arrival time;
[0088] The first arrival times of all reference pico base stations are obtained to obtain the second arrival times.
[0089] In one embodiment, the error solving module 403 is specifically used for:
[0090] According to the arrival time of the reference signal sent by any reference pico base station other than the any two other pico base stations at the any two other pico base stations in the second arrival time, and the distance between the any reference pico base station and the any two other pico base stations, the clock synchronization error between the any two other pico base stations is obtained.
[0091] In one embodiment, the positioning solution module 404 is specifically used for:
[0092] Eliminate all clock synchronization errors between each pair of pico base stations.
[0093] Figure 5 An example of a structural diagram of an electronic device is shown in FIG. Figure 5 As shown, the electronic device may include: a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520, and the memory 530 communicate with each other through the communication bus 540. The processor 510 may call a computer program in the memory 530 to execute the steps of the indoor positioning method, for example, including:
[0094] Controlling each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations;
[0095] Acquire multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0096] When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations;
[0097] The positioning solution is performed on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0098] In addition, the logic instructions in the above-mentioned memory 530 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application can be essentially or partly embodied in the form of a software product that contributes to the prior art, and the computer software product is stored in a storage medium, including several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0099] On the other hand, an embodiment of the present application further provides a computer program product, the computer program product including a computer program, the computer program can be stored on a non-transitory computer-readable storage medium, and when the computer program is executed by a processor, the computer can perform the steps of the indoor positioning method provided in the above embodiments, for example, including:
[0100] Controlling each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations;
[0101] Acquire multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0102] When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations;
[0103] The positioning solution is performed on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0104] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, wherein the computer program is used to enable the processor to execute the steps of the methods provided in the above embodiments, for example, including:
[0105] Controlling each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations;
[0106] Acquire multiple arrival times of the reference signal arriving at multiple other pico base stations;
[0107] When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations;
[0108] The positioning solution is performed on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
[0109] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0110] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0111] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0112] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. An indoor positioning method, characterized in that: include: Controlling each pico base station in a preset area to take turns as a reference pico base station to send reference signals to other pico base stations; Acquire multiple arrival times of the reference signal arriving at multiple other pico base stations; When a preset condition is met, a clock synchronization error between any two other pico base stations is obtained according to the arrival time and the distance between the reference pico base station and other pico base stations; The positioning result of the terminal to be positioned is obtained by performing positioning calculation on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error.
2. The indoor positioning method according to claim 1, characterized in that: The controlling each pico base station in the preset area takes turns as a reference pico base station to send a reference signal to other pico base stations, including: The pico base stations in the preset area are controlled to take turns as reference pico base stations and send reference signals to other pico base stations in the protection time slots of different wireless frames.
3. The indoor positioning method according to claim 1, characterized in that: The preset condition is that the first splicing value and the second splicing value match successfully; The first splicing value is obtained by splicing the initial identifier and the initial cabinet slot number of the reference pico base station, and the second splicing value is obtained by reconfiguring the identifier and the cabinet slot number of the reference pico base station and splicing the reconfigured identifier and the cabinet slot number.
4. The indoor positioning method according to claim 1, characterized in that: The obtaining of multiple arrival times of the reference signal arriving at multiple other pico base stations includes: Obtain multiple arrival times of a reference signal sent by any reference pico base station arriving at multiple other pico base stations to obtain a first arrival time; The first arrival times of all reference pico base stations are obtained to obtain the second arrival times.
5. The indoor positioning method according to claim 4, characterized in that: The obtaining, according to the arrival time and the distance between the reference pico base station and other pico base stations, a clock synchronization error between any two other pico base stations, comprises: According to the arrival time of the reference signal sent by any reference pico base station other than the any two other pico base stations at the any two other pico base stations in the second arrival time, and the distance between the any reference pico base station and the any two other pico base stations, the clock synchronization error between the any two other pico base stations is obtained.
6. The indoor positioning method according to claim 5, characterized in that: The eliminating the clock synchronization error comprises: Eliminate all clock synchronization errors between each pair of pico base stations.
7. An indoor positioning device, characterized in that: include: A signal rotation module is used to control the pico base stations in a preset area to take turns as reference pico base stations to send reference signals to other pico base stations; A time measurement module is used to: obtain multiple arrival times of the reference signal arriving at multiple other pico base stations; An error solving module is used to: obtain the clock synchronization error between any two other pico base stations according to the arrival time and the distance between the reference pico base station and other pico base stations when a preset condition is met; The positioning solution module is used to: perform positioning solution on the arrival time difference of the uplink signal sent by the terminal to be positioned to any two pico base stations in the preset area to eliminate the clock synchronization error and obtain the positioning result of the terminal to be positioned.
8. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the steps of the indoor positioning method according to any one of claims 1 to 6 are implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the indoor positioning method according to any one of claims 1 to 6 are implemented.
10. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the indoor positioning method according to any one of claims 1 to 6 are implemented.
