A method and system for realizing indoor positioning of PDT terminal
By setting up beacon machines around the PDT terminal to capture and transmit terminal information and field strength information, the problem of inability to locate indoor terminals based on beacon machines in the prior art is solved, and the precise positioning and position display of the terminal are realized.
Patent Information
- Application Number
- CN202311347768.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-18
- Publication Date
- 2025-04-04
AI Technical Summary
In the prior art, positioning information in the PDT terminal room cannot be obtained based on the beacon machine, resulting in the inability to accurately position the indoor terminal.
By setting up several beacon machines around the terminal, the beacon machines capture the terminal information and field strength information of the terminal, and transmit the encapsulated information to the base station. The server calculates and displays the location of the terminal based on this information.
It realizes the acquisition of the positioning information of the indoor terminal based on the beacon machine and can intuitively display the position of the terminal, solving the problem that indoor positioning cannot be performed in the prior art.
Smart Images

Figure CN119767250A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of terminal positioning, and in particular to a method and system for realizing indoor positioning of a PDT terminal. Background Art
[0002] Base stations are often used as devices for network transmission interaction with other devices. In the positioning system, the purpose of the positioning base station is to receive positioning data from the positioning terminal, and after receiving the data, the positioning data is directly transmitted to the background server.
[0003] In the prior art, indoor positioning of PDT terminals is achieved in a PDT (personal data transfer) digital cluster system, generally by adding RFID (radio frequency identification) or specific terminals. Users often need to purchase specific terminals, which has great limitations and there is a problem that the positioning information of indoor terminals cannot be obtained based on beacons.
[0004] For example, a "terminal and positioning method" disclosed in a Chinese patent document, with a publication number of CN103176632A and an application date of December 21, 2011, provides a terminal with a sensing touch device, including: a collection module that collects positioning operations sensed by the sensing touch device; a positioning module that positions an object to be positioned on the terminal according to the positioning operation; a judgment module that judges whether the sensing touch device senses a zoom operation while sensing the positioning operation; and a zoom processing module that zooms the object to be positioned according to a preset zoom ratio when the judgment result of the judgment module is yes. The object to be positioned can be easily and accurately positioned in a simple operation manner, avoiding the limitation of the accuracy of the positioning operation due to the size of the terminal screen. However, there is a problem that the positioning information of the indoor terminal cannot be obtained based on the beacon. Summary of the invention
[0005] In view of the deficiency that the prior art cannot obtain the positioning information of indoor terminals based on beacons, the present invention proposes a method and system for realizing indoor positioning of PDT terminals, which can obtain the positioning information of indoor terminals based on beacons and display the terminal positions.
[0006] The following is a technical solution of the present invention, a method for realizing indoor positioning of a PDT terminal, comprising the following steps:
[0007] S1: Set up several beacons around the terminal;
[0008] S2: The base station transmits a pull-up instruction to the terminal;
[0009] S3: The beacon captures the terminal information and field strength information transmitted by the terminal to the base station;
[0010] S4: The beacon encapsulates the terminal information, field strength information and beacon information to obtain encapsulated information and transmits the encapsulated information to the base station; S5: The server obtains and parses the encapsulated information to obtain the terminal positioning information and displays the terminal location.
[0011] In this solution, a certain number of beacons are deployed at fixed locations indoors, and the beacons lock the base station. The terminal positioning function is turned on. When the terminal registers for network access, the base station configures the terminal positioning pull-up mode and periodically pulls the terminal positioning. In an indoor environment, the terminal cannot lock the satellite, so it will report invalid positioning data. At this time, each beacon will record the received field strength information of the terminal, and switch to the frequency of the base station in the subsequent time slot, construct the encapsulated data of the terminal for reporting, and the reported data contains the field strength information of the terminal received by the beacon. Multiple beacons at different locations report the field strength information of the terminal in turn. The server calculates the location of the terminal based on the field strength information and the location of the beacon and displays it intuitively. It is possible to obtain the positioning information of the indoor terminal based on the beacon and display the terminal location.
[0012] Preferably, in S1, several beacons are symmetrically arranged around the terminal.
[0013] In this solution, when the beacons are symmetrically set, it is convenient to determine the position of the terminal based on the terminal field strength information captured by the beacon, and simplifies the calculation of the terminal positioning information based on the field strength information and the beacon information.
[0014] Preferably, S2 comprises the following steps:
[0015] S21: configure the terminal number for the terminal;
[0016] S22: Determine the terminals based on the terminal numbers and group the terminals;
[0017] S23: sorting the terminals in the group, and encapsulating the instruction sequence number and the sorted terminal number into the pull-up instruction;
[0018] S24: Send the pull-up instruction to all terminals in the group.
[0019] In this solution, the base station is configured with all terminal data, including the number of terminals and terminal numbers. When the terminal needs to report positioning data, the terminal numbers of the terminals that need to report data are grouped together. Then the terminals in the group are sorted according to certain rules, and the sorted terminal numbers are encapsulated into the pull-up instruction in sequence. At the same time, the total number of terminals in the group and the current instruction sequence number are encapsulated into the pull-up instruction. The pull-up instruction is sent to all terminals in the group. After receiving the pull-up instruction, the terminal parses the pull-up instruction. The pull-up instruction can be transmitted to several specified terminals at one time, improving the pull-up efficiency.
[0020] Preferably, in S23, the terminals in the group are sorted, and the sorting method includes sorting in ascending order of terminal numbers or sorting in descending order of terminal numbers.
[0021] In this solution, a certain sorting rule is used to enable the terminal to obtain the order of transmitting terminal information while receiving the pull-up instruction, and several terminals in the same group report the terminal information in sequence according to their own reporting order. This can reduce the problem of high control channel occupancy caused by pulling up each terminal individually, and the terminals report in sequence according to the reporting order, thereby improving the pull-up efficiency.
[0022] Preferably, in S3, when the terminal transmits the terminal information to the base station, the terminal transmits the information in the order of the sorted terminal numbers.
[0023] In this solution, several terminals in the same group report terminal information in sequence according to their own reporting order, which can reduce the problem of high control channel occupancy caused by pulling up each terminal individually. The terminals report in sequence according to the reporting order, which improves the pulling efficiency.
[0024] Preferably, in S4, the encapsulation format of the encapsulation information is as follows:
[0025] The names and values in the terminal information, field strength information and beacon information are connected by colons;
[0026] The names in the terminal information, field strength information and beacon information are connected by commas;
[0027] Terminal information, field strength information and beacon information are connected by commas;
[0028] The terminal information, field strength information and beacon information are placed in brackets and connected to the command number with an underscore.
[0029] In this solution, by setting the format of the encapsulation information, the server can parse the encapsulation information according to the rules when parsing the encapsulation information, thereby obtaining information such as the name and value.
[0030] Preferably, in S5, determining the location information of the terminal includes the following steps:
[0031] S51: disassemble the encapsulated data into terminal information, field strength information and beacon information;
[0032] S52: Calculate the relative position of the terminal and the beacon according to the field strength information;
[0033] S53: Obtaining the terminal's positioning information according to the beacon information and the relative position;
[0034] S54: Match the terminal number and the location information based on the terminal information.
[0035] In this solution, the encapsulated data is parsed and disassembled into terminal information, field strength information and beacon information. The relative position of the terminal and the beacon is obtained according to the field strength information, and the beacon position is obtained from the beacon information. The absolute position of the terminal can be obtained by combining the relative position of the terminal and the beacon, and the absolute position of the specified terminal can be determined by combining the terminal number of the terminal information. The positioning information of the specified terminal can be obtained according to the encapsulated information.
[0036] A system for realizing indoor positioning of a PDT terminal comprises a base station, the base station is connected to a server, a terminal and a beacon machine, and the terminal is connected to the beacon machine.
[0037] In this solution, the terminal receives the pull-up instruction and collects the terminal information; the beacon captures the terminal information and field strength information of the terminal, and encapsulates the terminal information, field strength information and beacon information to obtain the encapsulated information; the base station configures the terminal positioning method, obtains the number of terminals and the terminal number, transmits the positioning pull-up instruction to the terminal, and receives the encapsulated data transmitted by the beacon; the server receives the encapsulated data, parses the encapsulated data to obtain the terminal location and displays the terminal location. It is possible to obtain the positioning information of the indoor terminal based on the beacon and display the terminal location.
[0038] Preferably, the beacon switches to the frequency of the base station every several time slots.
[0039] In this solution, the beacon can effectively transmit the encapsulated data to the base station.
[0040] Preferably, the beacon machine number is a connecting character of the terminal number and an increasing natural number.
[0041] In this solution, it is easy to determine the corresponding relationship between the beacon machine and the terminal.
[0042] The beneficial effect of the present invention is that it is possible to obtain the positioning information of an indoor terminal based on a beacon and display the terminal position. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] Figure 1 A schematic diagram of a system for implementing indoor positioning of a PDT terminal according to the present invention.
[0044] Figure 2 The present invention provides a flow chart of a method for realizing indoor positioning of a PDT terminal.
[0045] In the figure, 1 is the server; 2 is the base station; 3 is the beacon; 4 is the terminal. DETAILED DESCRIPTION
[0046] The technical solution of the present invention is further specifically described below through embodiments and in conjunction with the accompanying drawings.
[0047] Embodiment 1:
[0048] like Figure 1 As shown, a system for implementing indoor positioning of a PDT terminal includes:
[0049] Terminal 4 receives the pull-up instruction, collects terminal information, including terminal number, longitude, latitude, and connects beacon 3 and base station 2;
[0050] The beacon machine 3 captures the terminal information and field strength information of the terminal 4, encapsulates the terminal information, field strength information and the beacon machine 3 information to obtain encapsulated information, and connects the terminal 4 and the base station 2;
[0051] Base station 2 configures the positioning mode of terminal 4, obtains the number and terminal number of terminal 4, transmits the positioning pull-up instruction to terminal 4, receives the encapsulated data transmitted by beacon machine 3, and connects terminal 4, beacon machine 3 and server 1;
[0052] Server 1, server 1 receives the encapsulated data, parses the encapsulated data to obtain the location of terminal 4 and displays the location of terminal 4, and connects to base station 2.
[0053] Base station 2 obtains the number and terminal number of terminal 4, transmits the positioning pull-up instruction to terminal 4, receives the encapsulated data transmitted by beacon machine 3, and connects terminal 4, beacon machine 3 and server 1. Base station 2 is configured with all terminal 4 data, including the number and terminal number of terminal 4. When terminal 4 needs to report positioning data, the terminal numbers of terminals 4 that need to report data are grouped into a group, and then sorted according to certain rules, and the sorted terminal numbers are encapsulated into the pull-up instruction in sequence. At the same time, the total number of terminals 4 in the group and the current instruction sequence number are encapsulated into the pull-up instruction, that is, the pull-up instruction includes the terminal number, the total number of terminals 4 and the instruction sequence number, and the pull-up instruction is sent to all terminals 4 in the group. Base station 2 receives the terminal information reported by terminal 4 and the encapsulated information reported by beacon machine 3, and transmits the terminal information and encapsulated information to server 1.
[0054] Terminal 4 receives the pull-up instruction and collects terminal information, including terminal number, longitude, and latitude, and connects beacon 3 and base station 2; after receiving the pull-up instruction, terminal 4 parses the pull-up instruction. Several terminals 4 in the same group report terminal information in sequence according to their own reporting order. The problem of high control channel occupancy caused by pulling up each terminal 4 individually can be reduced. Terminal 4 reports in sequence according to the reporting order to improve the pull-up efficiency. If terminal 4 is outdoors, it usually uploads valid terminal information to base station 2; if terminal 4 is indoors, it usually reports invalid terminal information to base station 2.
[0055] Beacon 3 captures the terminal information and field strength information of terminal 4, encapsulates the terminal information, field strength information and beacon 3 information to obtain encapsulated information, and connects terminal 4 and base station 2. When terminal 4 reports terminal information to base station 2, beacon 3 captures the terminal information of terminal 4 and the field strength information of terminal 4 at the same time. The field strength information is used to resolve the relative position of terminal 4 and beacon 3, and the absolute position of terminal 4 can be obtained by combining the beacon 3 information. Therefore, beacon 3 encapsulates the terminal information, field strength information and beacon 3 information to obtain encapsulated information, wherein the terminal information includes the terminal number, longitude and latitude, and the beacon 3 information includes the beacon 3 number, longitude and latitude. Beacon 3 switches frequency every several time slots to receive the terminal information reported by terminal 4. After each beacon 3 completes data encapsulation, it switches to the frequency of base station 2 in the subsequent time slot and reports the encapsulated data to base station 2. The beacon machine 3 number is constructed based on the terminal number, and the terminal number is connected to an increasing natural number to construct the beacon machine 3 number, which is convenient for determining the corresponding relationship between the beacon machine 3 and the terminal 4.
[0056] Server 1, server 1 receives encapsulated data, parses the encapsulated data to obtain the location of terminal 4 and displays the location of terminal 4, and connects to base station 2. In addition, server 1 also receives terminal information directly transmitted by terminal 4 to base station 2. The terminal information is directly parsed, that is, the terminal number, longitude and latitude of each terminal 4 are obtained. The encapsulated data is parsed, and the encapsulated data is disassembled into terminal information, field strength information and beacon 3 information. The relative position of terminal 4 and beacon 3 is obtained according to the field strength information, and the location of beacon 3 is obtained from the beacon 3 information. The absolute position of terminal 4 can be obtained by combining the relative position of terminal 4 and beacon 3, and the absolute position of the specified terminal 4, that is, longitude and latitude, is determined by combining the terminal number of the terminal information. Since indoor terminal 4 may directly report invalid terminal information, the longitude and latitude obtained by encapsulating data can verify whether the directly reported terminal information is valid. Server 1 displays the longitude and latitude (positioning information) of terminal 4 obtained by encapsulating data, and displays the location of terminal 4 on the map in combination with the online map.
[0057] A certain number of beacons 3 are deployed at fixed positions indoors, and the beacons 3 lock the base station 2. The terminal 4 positioning function is turned on. When the terminal 4 registers for network access, the base station 2 configures the terminal 4 positioning pull-up mode and periodically pulls the terminal 4 positioning. In an indoor environment, the terminal 4 cannot lock the satellite, so it will report invalid positioning data. At this time, the beacon 3 will switch the frequency every 8n (n = 1 ~ 2) time slots to receive the terminal information reported by the terminal 4. Each beacon 3 will record the received field strength information of the terminal 4, and switch to the frequency of the base station 2 in the subsequent time slot, construct the encapsulation data of the terminal 4 for reporting, and the reported data contains the field strength information of the terminal 4 received by the beacon 3. Multiple beacons 3 at different locations report the field strength information of the terminal 4 in turn. The server 1 calculates the location of the terminal 4 based on the field strength information and the location of the beacon 3 and displays it intuitively.
[0058] Embodiment 2:
[0059] like Figure 2 As shown, a method for implementing indoor positioning of a PDT terminal 4 comprises the following steps:
[0060] S1: Set up several beacons 3 around the terminal 4;
[0061] S2: Base station 2 transmits a pull-up instruction to terminal 4;
[0062] S3: beacon machine 3 captures terminal information and field strength information transmitted by terminal 4 to base station 2;
[0063] S4: beacon machine 3 encapsulates terminal information, field strength information and beacon machine 3 information to obtain encapsulated information and transmits the encapsulated information to base station 2;
[0064] S5: Server 1 obtains and parses the package information to obtain the positioning information of terminal 4 and displays the location of terminal 4.
[0065] In step S1, several beacons 3 are arranged around the terminal 4. In this embodiment, the beacons 3 are symmetrically arranged around the terminal 4. When the beacons 3 are symmetrically arranged, it is convenient to determine the position of the terminal 4 according to the field strength information of the terminal 4 captured by the beacons 3, and it is simplified to calculate the positioning information of the terminal 4 according to the field strength information and the beacon 3 information. The beacons 3 can also be arranged asymmetrically around the terminal 4, and the positioning information of the terminal 4 is calculated by the field strength information of the terminal 4 captured by several beacons 3 and the beacon 3 information.
[0066] In step S2, the base station 2 transmits a pull-up instruction to the terminal 4, including the following steps:
[0067] S21: The base station 2 is configured with all the terminal 4 data, which includes the number of terminals 4 and terminal numbers, so as to facilitate the transmission of pull-up instructions to the terminal 4 according to the terminal numbers.
[0068] S22: When the terminal 4 needs to report the positioning data, group the terminal numbers of the terminals 4 that need to report the data into a group; select the terminals 4 that need to report the positioning data based on the terminal numbers and group the terminals 4.
[0069] S23: Then, the terminals 4 in the group are sorted according to certain rules, and the sorted terminal numbers are encapsulated into the pull-up instruction in order; at the same time, the total number of terminals 4 in the group and the current instruction sequence number are encapsulated into the pull-up instruction, that is, the pull-up instruction includes the terminal number, the total number of terminals 4 and the instruction sequence number; the terminals 4 in the group are sorted, and the sorting rules can be ascending order, descending order or manual sorting according to the terminal number.
[0070] S24: Send the pull-up instruction to all the terminals 4 in the group. After receiving the pull-up instruction, the terminal 4 analyzes the pull-up instruction.
[0071] In step S3, the beacon machine 3 captures the terminal information and field strength information transmitted by the terminal 4 to the base station 2. Several terminals 4 in the same group report the terminal information in sequence according to their own reporting order. The problem of high control channel occupancy caused by pulling up each terminal 4 individually can be reduced. The terminal 4 reports in sequence according to the reporting order to improve the pull-up efficiency. If the terminal 4 is outdoors, it usually uploads valid terminal information to the base station 2; if the terminal 4 is indoors, it usually reports invalid terminal information to the base station 2. When the terminal 4 reports the terminal information to the base station 2, the beacon machine 3 captures the terminal information of the terminal 4 and the field strength information of the terminal 4 at the same time.
[0072] In step S4, the beacon 3 encapsulates the terminal information, field strength information and beacon 3 information to obtain encapsulated information and transmits the encapsulated information to the base station 2. The beacon 3 encapsulates the terminal information, field strength information and beacon 3 information to obtain encapsulated information, and the encapsulation method is that the names (such as longitude) and values (such as longitude values) in the terminal information, field strength information and beacon 3 information are connected by colons, the names (such as longitude) and names (such as latitude) are connected by commas, the terminal information, field strength information and beacon 3 information are connected by semicolons, and then the terminal information, field strength information and beacon 3 information are enclosed in brackets and connected with the underscore of the instruction number, and the instruction number is obtained by the pull-up instruction of the terminal 4. The field strength information is used to parse the relative position of the terminal 4 and the beacon 3, and the absolute position of the terminal 4 can be obtained by combining the beacon 3 information. The beacon machine 3 switches the frequency every several time slots to receive the terminal information reported by the terminal 4. After each beacon machine 3 completes data encapsulation, it switches to the frequency of the base station 2 in the subsequent time slot and reports the encapsulated data to the base station 2.
[0073] In step S5, the server 1 obtains and parses the encapsulated information to obtain the positioning information of the terminal 4 and displays the position of the terminal 4. The server 1 obtains the beacon 3 from the base station 2, and multiple beacons 3 at different locations sequentially report the field strength information of the terminal 4. The server 1 calculates the position of the terminal 4 based on the field strength information and the position of the beacon 3 and displays it intuitively.
[0074] Considering that in the related art, indoor positioning is generally completed by adding RFID or specific terminal 4, users often need to purchase specific terminal 4, which has great limitations. Therefore, the present invention provides a method and system for realizing indoor positioning of PDT terminal 4, by setting beacon machine 3 around terminal 4, beacon machine 3 combines field strength information, terminal information and beacon machine 3 information to calculate the positioning information of terminal 4, and can obtain the positioning information of indoor terminal 4 based on beacon machine 3.
[0075] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for realizing indoor positioning of a PDT terminal, characterized in that: The following steps are involved: S1: Set up several beacons around the terminal; S2: The base station transmits a pull-up instruction to the terminal; S3: The beacon captures the terminal information and field strength information transmitted by the terminal to the base station; S4: The beacon machine encapsulates the terminal information, the field strength information and the beacon machine information to obtain encapsulated information and transmits the encapsulated information to the base station; S5: The server obtains and parses the encapsulated information to obtain the terminal's positioning information and displays the terminal's location.
2. A method for realizing indoor positioning of a PDT terminal according to claim 1, characterized in that: In S1, several beacons are symmetrically arranged around the terminal.
3. A method for realizing indoor positioning of a PDT terminal according to claim 1, characterized in that: S2 includes the following steps: S21: configure the terminal number for the terminal; S22: Determine the terminals based on the terminal numbers and group the terminals; S23: sorting the terminals in the group, and encapsulating the instruction sequence number and the sorted terminal number into the pull-up instruction; S24: Send the pull-up instruction to all terminals in the group.
4. A method for realizing indoor positioning of a PDT terminal according to claim 3, characterized in that: In S23, the terminals in the group are sorted, and the sorting method includes sorting in ascending order of terminal numbers or sorting in descending order of terminal numbers.
5. A method for realizing indoor positioning of a PDT terminal according to claim 1 or 3, characterized in that: In S3, when the terminal transmits the terminal information to the base station, it transmits it in the order of the sorted terminal numbers.
6. A method for realizing indoor positioning of a PDT terminal according to claim 1, characterized in that: In S4, the encapsulation format of the encapsulation information is as follows: The names and values in the terminal information, field strength information and beacon information are connected by colons; The names in the terminal information, field strength information and beacon information are connected by commas; Terminal information, field strength information and beacon information are connected by commas; The terminal information, field strength information and beacon information are placed in brackets and connected to the command number with an underscore.
7. A method for realizing indoor positioning of a PDT terminal according to claim 1 or 6, characterized in that: In S5, determining the location information of the terminal includes the following steps: S51: disassemble the encapsulated data into terminal information, field strength information and beacon information; S52: Calculate the relative position of the terminal and the beacon according to the field strength information; S53: Obtaining the terminal's positioning information according to the beacon information and the relative position; S54: Match the terminal number and the location information based on the terminal information.
8. A system for realizing indoor positioning of a PDT terminal, applicable to a method for realizing indoor positioning of a PDT terminal according to any one of claims 1 to 7, characterized in that: include: Base station, the base station connects to the server, terminal and beacon machine, and the terminal connects to the beacon machine.
9. A system for realizing indoor positioning of a PDT terminal according to claim 8, characterized in that: The beacon switches to the base station's frequency every several time slots.
10. A system for implementing indoor positioning of a PDT terminal according to claim 8 or 9, characterized in that: The beacon machine number is a connection character consisting of the terminal number and an increasing natural number.
Citation Information
Patent Citations
Terminal and locating method
CN103176632A