WO2018028073A1 - Terminal positioning method, terminal and computer storage medium - Google Patents

Terminal positioning method, terminal and computer storage medium Download PDF

Info

Publication number
WO2018028073A1
WO2018028073A1 PCT/CN2016/105800 CN2016105800W WO2018028073A1 WO 2018028073 A1 WO2018028073 A1 WO 2018028073A1 CN 2016105800 W CN2016105800 W CN 2016105800W WO 2018028073 A1 WO2018028073 A1 WO 2018028073A1
Authority
WO
WIPO (PCT)
Prior art keywords
terminal
positioning
location information
positioning request
request response
Prior art date
Application number
PCT/CN2016/105800
Other languages
French (fr)
Chinese (zh)
Inventor
王孟强
叶建华
高明刚
Original Assignee
中兴通讯股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2018028073A1 publication Critical patent/WO2018028073A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W64/00Locating users or terminals or network equipment for network management purposes, e.g. mobility management
    • H04W64/003Locating users or terminals or network equipment for network management purposes, e.g. mobility management locating network equipment
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information

Definitions

  • the present invention relates to the field of communications, and in particular, to a terminal positioning method, a terminal, and a computer storage medium.
  • the terminal is generally provided with a satellite positioning function, but when the terminal is in an application scenario incapable of acquiring the information of the positioning satellite, it cannot use the satellite positioning function for positioning.
  • user equipment UE, User Equipment
  • terminals UE1 . . . UEi are outdoors.
  • the terminal UE1... UEi in the outdoor can acquire the satellite signal to accurately locate itself, but the terminal UE0 in the indoor unit cannot obtain the information of the positioning satellite in the room due to the blockage of the building, which may result in the positioning failure.
  • the embodiment of the present invention is to provide a terminal positioning method, a terminal, and a computer storage medium, so as to solve the problem that the existing terminal cannot obtain the information of the positioning satellite, which may result in the positioning failure.
  • an embodiment of the present invention provides a terminal positioning method, including:
  • the first terminal sends a positioning request to the second terminal
  • the first terminal determines its current location information based on the location information of the second terminal.
  • the embodiment of the invention further provides a terminal positioning method, including:
  • the first terminal broadcasts a positioning request to the second terminal
  • a positioning request response that is sent by the second terminal, where the positioning request is The response includes the current location information of the second terminal itself, and determines a second direction angle of the second terminal opposite to the second terminal according to the receiving antenna;
  • the first terminal selects a positioning request response fed back by the at least one second terminal, and determines the current location information of the location according to the longitude, latitude, relative distance, and the second direction angle in the selected positioning request response.
  • the embodiment of the invention further provides a terminal, including:
  • a positioning initiation module configured to send a broadcast positioning request to the second terminal
  • An information acquiring module configured to receive a positioning request response that is sent by the second terminal, where the positioning request response includes location information of the second terminal itself;
  • a calculating module configured to determine location information of the terminal itself based on the location information of the second terminal.
  • the embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the terminal positioning method according to the embodiment of the present invention.
  • the first terminal may send a positioning request to the second terminal, and after receiving the positioning request, the second terminal feeds back the positioning request response, and the feedback positioning request response includes The location information of the second terminal, after receiving the location request response sent by the second terminal, the first terminal may determine its current location information based on the location information of the second terminal.
  • the solution provided by the embodiment of the present invention can directly acquire the location information of the second terminal by interacting with other second terminals, and then according to the obtained location information of the second terminal, even when the first terminal cannot obtain the positioning satellite information. Calculate your current location information.
  • 1 is a schematic diagram of a terminal distribution
  • FIG. 2 is a schematic flowchart of a terminal positioning method according to Embodiment 1 of the present invention.
  • FIG. 3 is a schematic diagram of a circular distribution determined by three points in the first embodiment of the present invention.
  • FIG. 4 is a schematic diagram showing distribution of a first terminal antenna according to Embodiment 1 of the present invention.
  • FIG. 5 is a schematic diagram showing a circular distribution determined by two points in the first embodiment of the present invention.
  • FIG. 6 is a schematic structural diagram of a first terminal according to Embodiment 2 of the present invention.
  • FIG. 7 is a schematic structural diagram of a second terminal according to Embodiment 2 of the present invention.
  • FIG. 8 is a schematic structural diagram of another first terminal according to Embodiment 2 of the present invention.
  • FIG. 9 is a schematic flowchart of a terminal positioning method according to Embodiment 2 of the present invention.
  • Embodiment 1 is a diagrammatic representation of Embodiment 1:
  • the terminal that needs to locate itself is the first terminal, and each terminal that is said to be located by the first terminal is the second terminal.
  • the first terminal and the second terminal in this embodiment may be terminals of the same type or terminals of different types. For example, mobile terminals such as mobile phones and tablets (Pad) are used.
  • the first terminal in this embodiment may also have a satellite positioning function and/or a function of positioning through a base station.
  • the first terminal in this embodiment may preferentially use the satellite positioning function and/or the base station positioning function, and may use the positioning solution provided by the present invention after the satellite positioning failure and/or the base station positioning function fails, or directly use the provided by the present invention.
  • the second terminal in the present invention also supports a satellite positioning function and/or a base station positioning function.
  • the first terminal positioning solution provided by the embodiment of the present invention is particularly applicable to a scenario in which the first terminal itself is incapable of acquiring the positioning satellite information and wants to obtain its own accurate positioning information.
  • the application scenario shown in Figure 1. Below this The positioning scheme provided by the embodiment of the invention is exemplified.
  • the terminal positioning method provided in this embodiment includes:
  • S201 The first terminal sends a positioning request to the second terminal.
  • the first terminal and the second terminal can implement information transmission through D2D (Device to Device) communication, and the communication can be implemented through various wireless communication modes, and the broadcast can be performed by broadcasting or unicast.
  • the communication between the two includes but is not limited to RTP (Real-time Transport Protocol), Bluetooth, infrared, NFC (Near Field Communication), WIFI (WIreless-Fidelity) Any of them.
  • RTP Real-time Transport Protocol
  • Bluetooth Bluetooth
  • infrared Bluetooth
  • NFC Near Field Communication
  • WIFI WIreless-Fidelity
  • the first terminal may specifically define a frame for sending the location request information in the downlink sequence that is sent, and the second terminal may identify the frame as the positioning request after receiving the frame, and the frame is further It can carry the transmission time (T1). It is assumed that the first terminal is the terminal UE0 shown in FIG. 1, and the terminal UE0 can send a positioning request to each second terminal in the outdoor manner by means of broadcast.
  • S202 The first terminal receives a positioning request response fed back by the second terminal.
  • each second terminal After receiving the positioning request sent by the positioning terminal, each second terminal can obtain its current location information by using its own positioning function, and feed back to the first terminal according to the positioning request response.
  • the second terminal in this embodiment may adopt a satellite positioning, a base station positioning, or any other positioning manner that can acquire its own location information.
  • the second terminal may be required to perform positioning by using satellite positioning, and the feedback position information includes longitude and latitude.
  • the first terminal determines current location information of the terminal based on the location information of the second terminal.
  • the first terminal may calculate its own location information by using a corresponding positioning algorithm.
  • a corresponding positioning algorithm the adopted The bit algorithm is different, and the number of position information to be acquired can also be flexibly changed.
  • any positioning algorithm that can calculate its own location information based on location information of other terminals may be used. Examples include, but are not limited to, Trilateration positioning algorithms.
  • the location information further includes a relative distance between the second terminal and the first terminal, and the relative distance is equal to the positioning request or the product of the transmission time and the transmission rate between the first terminal and the second terminal for the positioning request response.
  • the specific calculation method is as follows.
  • the positioning request sent by the first terminal to the second terminal includes a sending time T1.
  • the second terminal may record the receiving time T2, where (T2-T1) is the positioning request transmission time; according to T1 and T2 and the The relative distance d between the first terminal and the second terminal can be calculated by the transmission rate C of the communication mode used by the terminal when transmitting the positioning request:
  • the relative distance d in this embodiment can also be calculated by the first terminal.
  • the first terminal may record the time T1 when the positioning request is sent by itself, and the second terminal may include the time T2 when the positioning request response is received, and the first terminal may calculate the relative distance d by using the above formula.
  • the second terminal may add a time T3 for transmitting the response in the feedback location request response, and the first terminal records the time T4 when the positioning request response is received, and (T4-T3) is the positioning request response transmission time, and then according to the following The formula can also calculate the relative distance d:
  • the location information fed back by the second terminal includes longitude and latitude.
  • the obtained specific positioning information may be converted into longitude and latitude.
  • the first terminal calculates its current location information based on the location information of the second terminal, the number of the location information selected may be exemplified according to the specific positioning algorithm currently adopted and the specific application scenario. The following is an example of several positioning algorithms.
  • the first terminal selects location information in the at least three positioning request responses from the received multiple positioning request responses as the target location information, and calculates the current current by combining the longitude, latitude, and relative distance in the selected at least three positioning request responses.
  • Location information The following is an example of selecting three positioning request responses as an example.
  • the positioning request may be re-initiated, and then the above process is repeated.
  • the three times of re-initiating the N positioning request does not receive the three valid location information, the number of the second terminals that can obtain the valid location information is insufficient.
  • the user may be prompted to move a certain distance and then retry or directly prompt the user to locate the failure. Or suggest using other targeting features for targeting.
  • the value of N is greater than or equal to 1, and the specific value can be flexibly set according to the specific application scenario.
  • three of the received location information may be selected according to a certain selection principle (for example, selecting the location information with the largest difference of the three locations, etc.), or according to a certain The selection principle selects three sets of three pieces of position information from the received position information, and then calculates a plurality of sets of position information of the first terminal, and takes an average of the plurality of sets of position information as the final position information of the first terminal.
  • the process of calculating a set of three pieces of position information is described below as an example.
  • the first terminal calculates its current location information by combining the selected three target location information and the corresponding three relative distances, including:
  • the first terminal respectively uses the coordinates determined by the longitude and latitude of the three position information as a center, and respectively determines three circles by using the corresponding three relative distances as a radius;
  • the first terminal calculates the coordinates of the intersection of the three circles as the current position information of itself.
  • the first terminal respectively determines coordinates (x1, y1), (x2, y2), (x3, y3) of longitude and latitude included in three pieces of position information, and respectively has corresponding three relative distances.
  • D1, d2, and d3 determine three circles for the radius, and the coordinates (x0, y0) of the intersection of the three circles are the bits of the first terminal itself. Set the information.
  • the embodiment can be illustrated by using a Trilateration positioning algorithm. Analysis as above:
  • the unknown point (x0, y0) is known to the three-point distance d1, d2, d3.
  • the selected three target position information are not on the same straight line. That is, the abscissa x or the ordinate y cannot be the same.
  • the above calculation process in this embodiment is applicable to the Cartesian coordinate system, and the latitude and longitude belongs to the spherical coordinate system, so the longitude and latitude can be converted to the coordinates in the Cartesian coordinate system first, and then substituted into the formula for calculation.
  • the calculated position information is also the coordinate in the direct coordinate system. If the latitude and longitude position information is needed, only the corresponding inverse conversion is needed to obtain the corresponding latitude and longitude.
  • the first terminal further determines, by using the receiving antenna, a direction angle of each second terminal that responds to the positioning request response;
  • the first terminal selects a positioning request response fed back by the at least one second terminal, and determines the current position of the second terminal in response to the longitude, latitude and relative distance in the selected positioning request response, and the direction angle of the second terminal that feeds back the positioning request response. information.
  • the following is an example of selecting a positioning request response that is fed back by two second terminals, but it should be understood that the number of positioning request responses fed back by the second terminal selected in this embodiment may be flexibly changed.
  • the coordinates determined by the longitude and latitude in the selected positioning request response are the center of the circle, and the two circles are respectively determined by using the corresponding two relative distances as a radius, and then Calculating coordinates of intersections of the two circles, and selecting, from each of the obtained intersections, a second direction angle of the two centers with respect to the intersection point and a second direction angle of the two second terminals with respect to itself The intersection point, as its current location information.
  • the MIMO terminal with the first terminal being a 4 ⁇ 4 antenna is taken as an example for illustration. See Figure 4,
  • the first terminal UE_0 has four receiving antennas, which are respectively ANT1, ANT2, ANT3 and ANT4 as shown in the figure; ⁇ 1, ⁇ 2, ⁇ 3, ⁇ 4 are the angles of the ANT1 and ANT2 antennas, the angle between the ANT2 and the ANT3 antenna, and the ANT3.
  • the angle between the ANT4 antenna and the angle between the ANT4 and the ANT1 antenna can be saved in UE_0 beforehand. It is assumed that UE_0 receives the information transmitted by UE_i, and can know the information strength received by the four receiving antennas.
  • the following figure is an example.
  • the second direction angle of each second terminal can be determined, for example, in the southeast direction or the northeast direction, thereby reducing the number of terminals to be positioned and improving the positioning accuracy.
  • the second direction angles of the second terminal UE_1 and UE_2 relative to UE_0 of the two feedback positioning request responses are the northwest direction and the northeast direction, respectively.
  • the relative distances of UE_1 and UE_2 and UE_0 are respectively d 1 and d 2
  • the latitude and longitude information of UE_1 and UE_2 are respectively represented as (x1, y1), (x2, y2), and the following formula can be obtained:
  • intersection A and the intersection B in Fig. 5 are obtained.
  • the intersection A is relatively (x1, y1) in the southwest direction, and the relative (x2, y2) is in the southeast direction, and is inconsistent with the second direction angle determined by the receiving antenna described above, and is eliminated.
  • the intersection B is opposite (x1, y1) to the northwest direction, and the relative (x2, y2) is the northeast direction, which coincides with the second direction angle determined by the receiving antenna described above, and thus the intersection B is determined to be the current position of the first terminal.
  • the determining of the direction angle may also be determined by the second terminal.
  • the second terminal may determine the first direction angle of the first terminal relative to itself according to the receiving antenna of the second terminal, and carry the first direction angle in the position. Information.
  • the first terminal selects a positioning request response fed back by the at least one second terminal from the received positioning request response, and determines the current location information according to the longitude, the latitude, the relative distance, and the first direction angle in the selected positioning request response.
  • the determination process is as follows:
  • the first terminal uses the coordinates determined by the longitude and latitude in the selected two positioning request responses as the center of the circle, and determines two circles by using the corresponding two relative distances as the radius respectively;
  • the first terminal calculates the coordinates of the intersection of the two circles, and selects, from each of the obtained intersection points, an intersection point of the direction angle of the two centers with respect to the intersection point and the first direction angle of the two positioning request responses as the self Current location information.
  • the matching with the first direction angle means that the intersection angle of the intersection point with respect to the two centers is the same as the first direction angle.
  • the first terminal may first perform positioning by using other positioning functions of the first terminal, for example, starting the satellite positioning function to locate the position thereof, and when the satellite positioning fails. Sending a location request to the second terminal.
  • the first terminal can start timing after starting the satellite positioning function. If the positioning satellite information is not acquired within the set time, it is determined that the satellite positioning fails, and the positioning mode provided in this embodiment is started.
  • the method when the first terminal sends the location request to the second terminal, the method further includes generating the The way the bit is requested.
  • the manner in which the location request is generated may also be different according to different application scenarios.
  • the positioning request information may be set in the optional field of the packet header of the transmission control protocol/internet protocol packet to generate a positioning request, and then sent to the second terminal according to a certain rule, and may be sent at a certain time interval according to a certain rule. Or other sending principles to send.
  • the method further includes stopping the broadcast of the location request to the second terminal.
  • the first terminal is applied to LTE (Long Term Evolution), and the LTE FDD (Frequency Division Duplexing) type radio frame is taken as an example for description.
  • the frame length of the radio frame is 10 ms, and each frame includes 10 subframes and 20 slots.
  • the positioning request may be sent on the sixth time slot, and the first time is within a certain period of time (for example, every 10 ms).
  • the terminal transmits the positioning request information to the surrounding second terminal (that is, the auxiliary terminal) through the slot #6, and the second terminal can return the positioning request response in the eighth time slot.
  • the data format of the positioning request in this embodiment may adopt a packet header structure of a transmission control protocol/internet protocol packet, as shown in Table 1:
  • the version number is 4 digits, which refers to the version of the IP protocol.
  • the version of the IP protocol used by both parties must be the same.
  • the service type is 8 digits for better service. This field is called the service type in the old standard, but it has never been used. In 1998, the IETF renamed this field to differentiated services (DS). This field only works when using DiffServ.
  • the total length is 16 bits, and the total length refers to the length of the sum of the header and the data, and the unit is byte.
  • the IP software maintains a counter in memory. Each time a datagram is generated, the counter is incremented by one and the value is assigned to the identification field.
  • the flag (flag) occupies 3 digits, but currently only 2 digits make sense.
  • MF Mere Fragment
  • the slice offset accounts for 13 bits.
  • the slice offset indicates the relative position of a slice in the original packet after the slice is sliced.
  • the survival time is 8 digits.
  • the English abbreviation commonly used in the survival time field is TTL (Time To Live), indicating the lifetime of the datagram in the network.
  • the protocol occupies 8 bits.
  • the protocol field indicates which protocol is used for the data carried in the datagram, so that the IP layer of the destination host knows which process the data part should be handed over to.
  • the source IP address is 32 bits.
  • the destination IP address is 32 bits.
  • the optional field occupies 32 bits.
  • the positioning request information may be added.
  • the location information of the second terminal is obtained by performing the interaction between the first terminal and the second terminal that can obtain the location information by using the D2D, and the location information of the first terminal is obtained by using the location algorithm. It is especially suitable for scenarios in which the satellite positioning function of the first terminal cannot be applied normally.
  • Embodiment 2 is a diagrammatic representation of Embodiment 1:
  • This embodiment provides a terminal, as the first terminal, as shown in FIG. 6, the method includes:
  • the location initiating module 41 is configured to send a location request to the second terminal.
  • the information obtaining module 42 is configured to receive a positioning request response fed back by the second terminal, where the positioning request response includes location information of the second terminal itself;
  • the calculating module 43 is configured to determine location information of the terminal based on the location information of the second terminal.
  • the first terminal and the second terminal can communicate through various wireless communication modes.
  • the first terminal is provided with a first wireless communication transceiver module 44, which can send a positioning request by using a broadcast or a unicast manner.
  • the communication mode of the first wireless communication transceiver module 44 includes but is not limited to RTP (Real-time Transport Protocol) protocol, Bluetooth, infrared, NFC (Near Field Communication), WIFI (WIreless- Any of FIdelity).
  • the first terminal may specifically define a frame for sending the location request information in the downlink sequence that is sent, and the second terminal may identify the frame as the positioning request after receiving the frame, and the frame is further It can carry the transmission time T1. It is assumed that the first terminal is the terminal UE0 shown in FIG. 1, and the terminal UE0 can send a positioning request to each second terminal in the outdoor manner by means of broadcast.
  • the second terminal includes a second wireless communication transceiver module 54 and an information scheduling module. Block 53, control module 52 and second positioning module 51.
  • the information scheduling module 53 can identify the received message as a positioning request according to a preset rule, cache the relative distance d sent by the second wireless communication transceiver module 54, and send a positioning information request to the control module 52.
  • control module 52 After receiving the positioning information request, the control module 52 sends a location information request to the second positioning module 51.
  • the second positioning module 51 determines whether the location information is acquired by itself (the satellite positioning, the base station positioning, or any other positioning method capable of acquiring the local location information may be used), and if so, the correct response including the location information is fed back to the control module 52, otherwise, Reject or locate a failed response.
  • control module 52 After receiving the response containing the location information, the control module 52 sends the location information to the information scheduling module 53;
  • the information scheduling module 53 extracts the previously cached relative distance and generates a positioning request response together with the addition to the location information, and sends it to the first terminal through the second wireless communication transceiver module 54.
  • the first wireless communication transceiver module 44 of the first terminal receives the feedback and sends the information to the information acquisition module 42.
  • the location information fed back by the second terminal includes longitude and latitude.
  • the second terminal adopts not satellite positioning but other positioning methods
  • the obtained specific positioning information may be converted into longitude and latitude.
  • the first terminal calculates its current location information based on the location information of the second terminal, including:
  • the calculating module 43 in the terminal is configured to select location information in the at least three positioning request responses as the target location information from the received multiple positioning request responses, and combine the selected at least three The position information of the positioning request response is calculated by the longitude, latitude, and relative distance in the response request.
  • the following is an example of selecting three positioning request responses as an example.
  • the location initiating module 41 may re-initiate the positioning request, and then repeat the foregoing process.
  • the three times of re-initiating the N positioning request does not receive the three valid location information
  • the number of the second terminals that can obtain the valid location information is insufficient.
  • the user may be prompted to move a certain distance and then retry or directly prompt the user to locate the failure. Or suggest using other targeting features for targeting.
  • the value of N is greater than or equal to 1, and the specific value can be flexibly set according to the specific application scenario.
  • the calculation module 43 may select three of the received location information according to a certain selection principle (for example, selecting location information with the largest difference of three locations, etc.), or The plurality of sets of three pieces of position information are selected from the received position information according to a certain selection principle, and then the plurality of sets of position information of the first terminal are calculated, and the average value of the plurality of sets of position information is taken as the final position information of the first terminal.
  • a certain selection principle for example, selecting location information with the largest difference of three locations, etc.
  • the calculating module 43 calculates the position information of the third target position information and the corresponding three relative distances, including:
  • the calculation module 43 respectively determines the coordinates determined by the longitude and latitude of the three position information as a center, and respectively determines three circles by using the corresponding three relative distances as a radius;
  • the calculation module 43 calculates the coordinates of the intersection of the three circles as the current position information of itself.
  • the calculation module 43 selects the Trilateration positioning algorithm, the selected three target position information are not on the same straight line, that is, the abscissa X or the ordinate Y cannot be the same.
  • the first terminal in this embodiment may further include a direction angle acquiring module 48 configured to determine, by using the receiving antenna, a direction angle of each second terminal that responds to the positioning request response.
  • the calculating module 43 may further select a positioning request response fed back by the at least one second terminal, determine the longitude, the latitude and the relative distance in the selected positioning request response, and the direction angle of the second terminal that feeds back the positioning request response, and determine the self. Current location information.
  • the following is an example of selecting a positioning request response that is fed back by two second terminals, but it should be understood that the number of positioning request responses fed back by the second terminal selected in this embodiment may be flexibly changed.
  • the coordinates determined by the longitude and latitude in the selected positioning request response are the center of the circle, and the two circles are respectively determined by using the corresponding two relative distances as a radius, and then Calculating coordinates of the intersection of the two circles, and selecting, from each of the obtained intersection points, an intersection angle of the two centers with respect to the intersection point and an intersection angle of the two second terminals with respect to the direction angle of the second terminal, as The current location information of the first terminal.
  • the first terminal may first perform positioning by using other positioning functions of the first terminal, for example, starting the satellite positioning function to locate the position thereof, and when the satellite positioning fails. Sending a location request to the second terminal.
  • the first terminal can start timing after starting the satellite positioning function. If the positioning satellite information is not acquired within the set time, it is determined that the satellite positioning fails, and the positioning mode provided in this embodiment is started.
  • the first terminal may further include a first control module 45 , a first positioning module 46 , and a timing module 47 . Initially, the first control module 45 performs positioning by the first positioning module 46, and the timing module 47 starts timing.
  • the first control module 45 When the timing time value reaches a preset value, the first control module 45 does not receive the effective position fed back by the first positioning module. When the information is received, the first control module 45 encapsulates the location request packet and sends it to the location initiation module 41 for transmission to the second terminal.
  • the location information of the second terminal is obtained by performing the interaction between the first terminal and the second terminal that can obtain the location information through the D2D (Device to Device, the communication between the terminal and the terminal), and is based on the location.
  • the algorithm calculates the location information of the first terminal, which is particularly suitable for a scenario in which the satellite positioning function of the first terminal cannot be applied normally.
  • modules or steps of the above embodiments of the present invention can be used. Implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices.
  • ROM/RAM read-only memory
  • disk disk
  • optical disk optical disk
  • the steps shown or described may be performed in an order different than that herein, or They are fabricated as individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
  • the first terminal is UE0, and UE1, UE2, ... UEi are second terminals.
  • UE0 first starts the satellite positioning function for positioning.
  • the process is shown in Figure 9, including:
  • S701 UE0 starts the satellite positioning function to perform positioning, and starts timing.
  • S702 Determine whether the valid location information is acquired within the preset time, and if yes, go to S709, otherwise, go to S703.
  • S703 The UE0 sends a positioning request to each of the second terminals UE1, UE2, ..., UEi in the outdoor by using the D2D mode.
  • S704 The UE0 receives the positioning request response fed back by the second terminal.
  • S705 Determine whether the received positioning request response is greater than or equal to three, and if yes, go to S708; otherwise, go to S706.
  • S707 Determine whether the count value N is greater than or equal to a preset value. If no, go to S703; otherwise, go to S709.
  • S708 UE0 calculates its own location information based on the location information in the received location request response and the corresponding relative distance.
  • the disclosed method and apparatus can be implemented in other ways.
  • the device embodiments described above are merely illustrative.
  • the division of the modules is only a logical function division.
  • there may be another division manner for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed.
  • the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
  • the modules described above as separate components may or may not be physically separated.
  • the components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
  • each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module;
  • the module can be implemented in the form of hardware or in the form of hardware plus software function modules.
  • the foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
  • ROM read-only memory
  • the above-described integrated module of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product.
  • the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part.
  • the foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
  • the technical solution of the second terminal may directly acquire the location information of the second terminal by interacting with other second terminals, and further calculate the location information of the second terminal according to the obtained location information of the second terminal. Get your current location information.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

Disclosed are a terminal positioning method, a terminal and a computer storage medium. The method involves: a first terminal sending a broadcast positioning request to a second terminal; the second terminal feeding back, after receiving the positioning request, a positioning request response, wherein the positioning request response fed back includes position information about the second terminal; and after receiving the positioning request response sent by the second terminal, calculating position information about the first terminal based on the position information about the second terminal.

Description

终端定位方法、终端及计算机存储介质Terminal positioning method, terminal and computer storage medium 技术领域Technical field
本发明涉及通信领域,尤其涉及一种终端定位方法、终端及计算机存储介质。The present invention relates to the field of communications, and in particular, to a terminal positioning method, a terminal, and a computer storage medium.
背景技术Background technique
目前的终端上一般都设置有卫星定位功能,但当终端处于无法获取到定位卫星的信息的应用场景时,其并不能使用卫星定位功能进行定位。例如,参见图1所示,在图1所示场景中,用户设备(UE,User Equipment)0处于室内,终端UE1…UEi处于室外。处于室外的终端UE1……UEi可以获取到卫星信号能对自身进行准确的定位,但处于室内的终端UE0由于建筑物的阻挡导致在室内无法获取到定位卫星的信息,就会导致定位失败。At present, the terminal is generally provided with a satellite positioning function, but when the terminal is in an application scenario incapable of acquiring the information of the positioning satellite, it cannot use the satellite positioning function for positioning. For example, as shown in FIG. 1 , in the scenario shown in FIG. 1 , user equipment (UE, User Equipment) 0 is indoors, and terminals UE1 . . . UEi are outdoors. The terminal UE1... UEi in the outdoor can acquire the satellite signal to accurately locate itself, but the terminal UE0 in the indoor unit cannot obtain the information of the positioning satellite in the room due to the blockage of the building, which may result in the positioning failure.
发明内容Summary of the invention
本发明实施例期望提供一种终端定位方法、终端及计算机存储介质,以解决现有终端获取不到定位卫星的信息就会导致定位失败的问题。The embodiment of the present invention is to provide a terminal positioning method, a terminal, and a computer storage medium, so as to solve the problem that the existing terminal cannot obtain the information of the positioning satellite, which may result in the positioning failure.
为解决上述技术问题,本发明实施例提供一种终端定位方法,包括:To solve the above technical problem, an embodiment of the present invention provides a terminal positioning method, including:
第一终端向第二终端发送定位请求;The first terminal sends a positioning request to the second terminal;
第一终端接收所述第二终端反馈的定位请求响应,所述定位请求响应包含所述第二终端自身的位置信息;Receiving, by the first terminal, a positioning request response that is sent by the second terminal, where the positioning request response includes location information of the second terminal itself;
第一终端基于所述第二终端的位置信息确定自身当前的位置信息。The first terminal determines its current location information based on the location information of the second terminal.
本发明实施例还提供一种终端定位方法,包括:The embodiment of the invention further provides a terminal positioning method, including:
第一终端向第二终端广播定位请求;The first terminal broadcasts a positioning request to the second terminal;
所述第一终端接收所述第二终端反馈的定位请求响应,所述定位请求 响应包含所述第二终端自身当前的位置信息,并根据接收天线确定第二终端与自身相对的第二方向角;Receiving, by the first terminal, a positioning request response that is sent by the second terminal, where the positioning request is The response includes the current location information of the second terminal itself, and determines a second direction angle of the second terminal opposite to the second terminal according to the receiving antenna;
所述第一终端选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度、相对距离以及第二方向角,确定自身当前的位置信息。The first terminal selects a positioning request response fed back by the at least one second terminal, and determines the current location information of the location according to the longitude, latitude, relative distance, and the second direction angle in the selected positioning request response.
本发明实施例还提供一种终端,包括:The embodiment of the invention further provides a terminal, including:
定位发起模块,配置为向第二终端发送广播定位请求;a positioning initiation module, configured to send a broadcast positioning request to the second terminal;
信息获取模块,配置为接收所述第二终端反馈的定位请求响应,所述定位请求响应包含所述第二终端自身的位置信息;An information acquiring module, configured to receive a positioning request response that is sent by the second terminal, where the positioning request response includes location information of the second terminal itself;
计算模块,配置为基于所述第二终端的位置信息确定终端自身的位置信息。And a calculating module, configured to determine location information of the terminal itself based on the location information of the second terminal.
本发明实施例还提供一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行本发明实施例所述的终端定位方法。The embodiment of the present invention further provides a computer storage medium, where the computer storage medium stores computer executable instructions, and the computer executable instructions are used to execute the terminal positioning method according to the embodiment of the present invention.
本发明实施例的有益效果是:The beneficial effects of the embodiments of the present invention are:
根据本发明实施例提供的终端定位方法、终端及计算机存储介质,第一终端可以向第二终端发送定位请求,第二终端接收到该定位请求之后,反馈定位请求响应,反馈的定位请求响应包含自身的位置信息;第一终端收到第二终端发送的定位请求响应后,即可基于第二终端的位置信息确定自身当前的位置信息。本发明实施例提供的方案即使当第一终端无法获取到定位卫星信息时,也可以直接通过与其他第二终端交互获取这些第二终端的位置信息,进而根据获取到的第二终端的位置信息计算得到自身当前的位置信息。According to the terminal positioning method, the terminal, and the computer storage medium provided by the embodiment of the present invention, the first terminal may send a positioning request to the second terminal, and after receiving the positioning request, the second terminal feeds back the positioning request response, and the feedback positioning request response includes The location information of the second terminal, after receiving the location request response sent by the second terminal, the first terminal may determine its current location information based on the location information of the second terminal. The solution provided by the embodiment of the present invention can directly acquire the location information of the second terminal by interacting with other second terminals, and then according to the obtained location information of the second terminal, even when the first terminal cannot obtain the positioning satellite information. Calculate your current location information.
附图说明DRAWINGS
图1为一种终端分布示意图; 1 is a schematic diagram of a terminal distribution;
图2为本发明实施例一中终端定位方法流程示意图;2 is a schematic flowchart of a terminal positioning method according to Embodiment 1 of the present invention;
图3为本发明实施例一中三点确定的圆形分布示意图;3 is a schematic diagram of a circular distribution determined by three points in the first embodiment of the present invention;
图4为本发明实施例一中第一终端天线分布示意图;4 is a schematic diagram showing distribution of a first terminal antenna according to Embodiment 1 of the present invention;
图5为本发明实施例一中两点确定的圆形分布示意图;FIG. 5 is a schematic diagram showing a circular distribution determined by two points in the first embodiment of the present invention; FIG.
图6为本发明实施例二中第一终端结构示意图;6 is a schematic structural diagram of a first terminal according to Embodiment 2 of the present invention;
图7为本发明实施例二中第二终端结构示意图;7 is a schematic structural diagram of a second terminal according to Embodiment 2 of the present invention;
图8为本发明实施例二中另一第一终端结构示意图;FIG. 8 is a schematic structural diagram of another first terminal according to Embodiment 2 of the present invention; FIG.
图9为本发明实施例二中终端定位方法流程示意图。FIG. 9 is a schematic flowchart of a terminal positioning method according to Embodiment 2 of the present invention.
具体实施方式detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例只是本发明中一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are only a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
实施例一:Embodiment 1:
本实施例中称需要对自身进行定位的终端为第一终端,称第一终端进行定位的各终端为第二终端。本实施例中的第一终端和第二终端可以是相同类型的终端,也可以是不同类型的终端。例如都为手机、平板电脑(Pad)等移动终端。本实施例中的第一终端还可以具有卫星定位功能和/或通过基站进行定位的功能。本实施例中的第一终端可以优先使用卫星定位功能和/或基站定位功能,在卫星定位失败和/或基站定位功能失败之后再使用本发明提供的定位方案,也可以直接使用本发明提供的方案。本发明中的第二终端也支持卫星定位功能和/或基站定位功能。本发明实施例提供的第一终端定位的方案,尤其适用于第一终端自身处于获取不到定位卫星信息,又想获取自身精准的定位信息的场景。例如图1所示的应用场景。下面对本 发明实施例提供的定位方案进行示例性说明。In this embodiment, the terminal that needs to locate itself is the first terminal, and each terminal that is said to be located by the first terminal is the second terminal. The first terminal and the second terminal in this embodiment may be terminals of the same type or terminals of different types. For example, mobile terminals such as mobile phones and tablets (Pad) are used. The first terminal in this embodiment may also have a satellite positioning function and/or a function of positioning through a base station. The first terminal in this embodiment may preferentially use the satellite positioning function and/or the base station positioning function, and may use the positioning solution provided by the present invention after the satellite positioning failure and/or the base station positioning function fails, or directly use the provided by the present invention. Program. The second terminal in the present invention also supports a satellite positioning function and/or a base station positioning function. The first terminal positioning solution provided by the embodiment of the present invention is particularly applicable to a scenario in which the first terminal itself is incapable of acquiring the positioning satellite information and wants to obtain its own accurate positioning information. For example, the application scenario shown in Figure 1. Below this The positioning scheme provided by the embodiment of the invention is exemplified.
参见图2所示,本实施例提供的终端定位方法,包括:Referring to FIG. 2, the terminal positioning method provided in this embodiment includes:
S201:第一终端向第二终端发送定位请求。S201: The first terminal sends a positioning request to the second terminal.
本实施例中第一终端与第二终端之间可以通过D2D(Device to Device,终端到终端)通信实现信息的传输,具体可以通过各种无线通信方式实现通信,且其可以采用广播或单播的方式发送定位请求。例如二者之间的通信方式包括但不限于RTP(Real-time Transport Protocol,实时传输协议)、蓝牙、红外、NFC(Near Field Communication,近距离无线通信技术)、WIFI(WIreless-Fidelity,无线保真)中的任意一种。下面通过RTP协议进行示例说明。当然应当理解的是,本实施例中的第一终端和第二终端之间也可以采用通过D2D通信外的其他通信方式。In this embodiment, the first terminal and the second terminal can implement information transmission through D2D (Device to Device) communication, and the communication can be implemented through various wireless communication modes, and the broadcast can be performed by broadcasting or unicast. The way to send a location request. For example, the communication between the two includes but is not limited to RTP (Real-time Transport Protocol), Bluetooth, infrared, NFC (Near Field Communication), WIFI (WIreless-Fidelity) Any of them. The following is an example of the RTP protocol. It should be understood that other communication modes other than D2D communication may also be adopted between the first terminal and the second terminal in this embodiment.
通过RTP协议发送定位请求时,第一终端具体可以通过在发送的下行序列中定义一个发送位置请求信息的帧,该帧第二终端接收到之后可以识别出为定位请求帧,且该帧中还可以携带发送时间(T1)。假设第一终端为图1所示的终端UE0,终端UE0可以通过广播的方式向室外的各第二终端发送定位请求。When the positioning request is sent by using the RTP protocol, the first terminal may specifically define a frame for sending the location request information in the downlink sequence that is sent, and the second terminal may identify the frame as the positioning request after receiving the frame, and the frame is further It can carry the transmission time (T1). It is assumed that the first terminal is the terminal UE0 shown in FIG. 1, and the terminal UE0 can send a positioning request to each second terminal in the outdoor manner by means of broadcast.
S202:第一终端接收第二终端反馈的定位请求响应。S202: The first terminal receives a positioning request response fed back by the second terminal.
各第二终端接收到定位终端发送的定位请求之后,即可使用自身的定位功能获取当前自身的位置信息,并随定位请求响应反馈给第一终端。本实施例中的第二终端可以采用卫星定位、基站定位或其他任意能获取到自身位置信息的定位方式。当对定位精准度要求比较高时,可以要求第二终端采用卫星定位的方式进行定位,反馈的位置信息包含经度和纬度。After receiving the positioning request sent by the positioning terminal, each second terminal can obtain its current location information by using its own positioning function, and feed back to the first terminal according to the positioning request response. The second terminal in this embodiment may adopt a satellite positioning, a base station positioning, or any other positioning manner that can acquire its own location information. When the positioning accuracy requirement is relatively high, the second terminal may be required to perform positioning by using satellite positioning, and the feedback position information includes longitude and latitude.
S203:第一终端基于第二终端的位置信息确定终端当前的位置信息。S203: The first terminal determines current location information of the terminal based on the location information of the second terminal.
第一终端接收到各第二终端反馈的位置信息之后,即可采用对应的定位算法计算得到自身的位置信息。应当理解的是,本实施例中,采用的定 位算法不同,对于要去获取到的位置信息的个数也可以灵活变化。且本实施例中可以采用任意能基于其他终端的位置信息计算得到自身位置信息的定位算法。例如包括但不限于Trilateration(三边测量)定位算法。After receiving the location information fed back by each second terminal, the first terminal may calculate its own location information by using a corresponding positioning algorithm. It should be understood that, in this embodiment, the adopted The bit algorithm is different, and the number of position information to be acquired can also be flexibly changed. In this embodiment, any positioning algorithm that can calculate its own location information based on location information of other terminals may be used. Examples include, but are not limited to, Trilateration positioning algorithms.
本实施例中,位置信息还包括第二终端与第一终端之间的相对距离,相对距离等于定位请求或为定位请求响应在第一终端和第二终端之间的传输时间与传输速率的乘积。具体计算方式如下。In this embodiment, the location information further includes a relative distance between the second terminal and the first terminal, and the relative distance is equal to the positioning request or the product of the transmission time and the transmission rate between the first terminal and the second terminal for the positioning request response. . The specific calculation method is as follows.
第一终端向第二终端发送的定位请求中包含发送时间T1,第二终端接收到该定位请求之后,可以记录接收时间T2,(T2-T1)为定位请求传输时间;根据T1和T2以及第一终端发送该定位请求时采用的通信方式的传输速率C,就可以计算得到第一终端和第二终端之间的相对距离d:The positioning request sent by the first terminal to the second terminal includes a sending time T1. After receiving the positioning request, the second terminal may record the receiving time T2, where (T2-T1) is the positioning request transmission time; according to T1 and T2 and the The relative distance d between the first terminal and the second terminal can be calculated by the transmission rate C of the communication mode used by the terminal when transmitting the positioning request:
具体计算公式为:d=(T2-T1)×C。The specific calculation formula is: d=(T2-T1)×C.
应当理解的是,本实施例中的相对距离d也可以由第一终端进行计算。例如第一终端可以记录自己发送定位请求的时间T1,第二终端可以在反馈的定位请求响应中包含接收到该定位请求的时间T2,第一终端即可采用上述公式计算得到相对距离d。又例如,第二终端可以在反馈的定位请求响应中增加发送该响应的时间T3,第一终端记录接收到定位请求响应的时间T4,(T4-T3)为定位请求响应传输时间,然后根据以下公式也可以计算得到相对距离d:It should be understood that the relative distance d in this embodiment can also be calculated by the first terminal. For example, the first terminal may record the time T1 when the positioning request is sent by itself, and the second terminal may include the time T2 when the positioning request response is received, and the first terminal may calculate the relative distance d by using the above formula. For another example, the second terminal may add a time T3 for transmitting the response in the feedback location request response, and the first terminal records the time T4 when the positioning request response is received, and (T4-T3) is the positioning request response transmission time, and then according to the following The formula can also calculate the relative distance d:
具体计算公式为:d=(T4-T3)×C。The specific calculation formula is: d=(T4-T3)×C.
本实施例中,第二终端反馈的位置信息中包含经度和纬度。当第二终端采用的不是卫星定位,而是其他定位方式时,可以将获取到的具体定位信息转换成经度和纬度。本实施例中,第一终端基于所述第二终端的位置信息计算自身当前的位置信息时,选用的位置信息个数可以根据当前采用的具体定位算法以及具体应用场景进行示例说明。下面分别以几种定位算法进行示例说明。 In this embodiment, the location information fed back by the second terminal includes longitude and latitude. When the second terminal adopts not satellite positioning but other positioning methods, the obtained specific positioning information may be converted into longitude and latitude. In this embodiment, when the first terminal calculates its current location information based on the location information of the second terminal, the number of the location information selected may be exemplified according to the specific positioning algorithm currently adopted and the specific application scenario. The following is an example of several positioning algorithms.
采用三边测量定位算法的示例如下。An example of using a trilateration positioning algorithm is as follows.
第一终端从接收到的多个定位请求响应中选择至少三个定位请求响应中的位置信息作为目标位置信息,结合选择的至少三个定位请求响应中的经度、纬度、以及相对距离计算自身当前的位置信息。下面以选择三个定位请求响应为示例进行说明。The first terminal selects location information in the at least three positioning request responses from the received multiple positioning request responses as the target location information, and calculates the current current by combining the longitude, latitude, and relative distance in the selected at least three positioning request responses. Location information. The following is an example of selecting three positioning request responses as an example.
当第一终端判断收到的定位请求响应不足三个,或收到的有效的位置信息不足三个时,可以重新发起定位请求,然后再重复上述过程。但重新发起N次定位请求都未接收到三个有效的位置信息时,表明当前周围可以获取到有效位置信息的第二终端数量不够,可以提示用户移动一定距离后重试或直接提示用户定位失败或提示采用其他定位功能进行定位。其中N取大于等于1的值,且其具体取值可以根据具体应用场景灵活设定。When the first terminal determines that the received positioning request response is less than three, or if the received valid location information is less than three, the positioning request may be re-initiated, and then the above process is repeated. However, when the three times of re-initiating the N positioning request does not receive the three valid location information, the number of the second terminals that can obtain the valid location information is insufficient. The user may be prompted to move a certain distance and then retry or directly prompt the user to locate the failure. Or suggest using other targeting features for targeting. The value of N is greater than or equal to 1, and the specific value can be flexibly set according to the specific application scenario.
当第一终端接收到的有效的位置信息超过三个时,可以按照一定的选择原则(例如选择三个位置差异最大的位置信息等)从接收到的位置信息中选择三个,或者按照一定的选择原则从接收到的位置信息中选择多组的三个位置信息,然后计算得到第一终端的多组位置信息,取多组位置信息的平均值作为第一终端最终的位置信息。下面以计算一组三个位置信息的过程为示例进行说明。When the valid location information received by the first terminal exceeds three, three of the received location information may be selected according to a certain selection principle (for example, selecting the location information with the largest difference of the three locations, etc.), or according to a certain The selection principle selects three sets of three pieces of position information from the received position information, and then calculates a plurality of sets of position information of the first terminal, and takes an average of the plurality of sets of position information as the final position information of the first terminal. The process of calculating a set of three pieces of position information is described below as an example.
第一终端结合选择的三个目标位置信息和对应的三个相对距离计算自身当前的位置信息包括:The first terminal calculates its current location information by combining the selected three target location information and the corresponding three relative distances, including:
第一终端分别以所述三个位置信息的经度和纬度确定的坐标为圆心,并分别以对应的三个相对距离为半径确定三个圆;The first terminal respectively uses the coordinates determined by the longitude and latitude of the three position information as a center, and respectively determines three circles by using the corresponding three relative distances as a radius;
第一终端计算三个圆之交点的坐标为作为自身当前的位置信息。The first terminal calculates the coordinates of the intersection of the three circles as the current position information of itself.
参见图3所示,第一终端分别以三个位置信息包含的经度和纬度确定的坐标(x1,y1)、(x2,y2)、(x3,y3),并分别以对应的三个相对距离d1、d2、d3为半径确定三个圆,三个圆的交点的坐标(x0,y0)为第一终端自身的位 置信息。Referring to FIG. 3, the first terminal respectively determines coordinates (x1, y1), (x2, y2), (x3, y3) of longitude and latitude included in three pieces of position information, and respectively has corresponding three relative distances. D1, d2, and d3 determine three circles for the radius, and the coordinates (x0, y0) of the intersection of the three circles are the bits of the first terminal itself. Set the information.
具体的,本实施例可以采用Trilateration(三边测量)定位算法进行示例说明。如上分析:Specifically, the embodiment can be illustrated by using a Trilateration positioning algorithm. Analysis as above:
已知三点位置(x1,y1),(x2,y2),(x3,y3)。Three-point positions (x1, y1), (x2, y2), (x3, y3) are known.
已知未知点(x0,y0)到三点距离d1,d2,d3。The unknown point (x0, y0) is known to the three-point distance d1, d2, d3.
以d1,d2,d3为半径作三个圆,根据毕达哥拉斯定理,得出交点即未知点的位置计算公式:Taking d1, d2, and d3 as the radius, three circles are obtained. According to Pythagorean theorem, the position calculation formula of the intersection point, that is, the unknown point is obtained:
(x1-x0)2+(y1-y0)2=d12……………………(1)(x1-x0)2+(y1-y0)2=d12........................(1)
(x2-x0)2+(y2-y0)2=d22……………………(2)(x2-x0)2+(y2-y0)2=d22........................(2)
(x3-x0)2+(y3-y0)2=d32……………………(3)(x3-x0)2+(y3-y0)2=d32........................(3)
本实施例中,选择Trilateration(三边测量)定位算法时,所选择的三个目标位置信息不在同一直线上。也即横坐标x或纵坐标y不能相同。In this embodiment, when the Trilateration positioning algorithm is selected, the selected three target position information are not on the same straight line. That is, the abscissa x or the ordinate y cannot be the same.
本实施例中的上述计算过程适用于直角坐标系,而经纬度属于球面坐标系,因此可以先将经度和纬度转换到直角坐标系中的坐标,然后代入公式进行计算。计算得到的位置信息也是直接坐标系中的坐标,如果需要经纬度位置信息,只需要进行对应的逆转换就可以得到对应的经纬度。The above calculation process in this embodiment is applicable to the Cartesian coordinate system, and the latitude and longitude belongs to the spherical coordinate system, so the longitude and latitude can be converted to the coordinates in the Cartesian coordinate system first, and then substituted into the formula for calculation. The calculated position information is also the coordinate in the direct coordinate system. If the latitude and longitude position information is needed, only the corresponding inverse conversion is needed to obtain the corresponding latitude and longitude.
结合方向角的定位算法示例如下。An example of a positioning algorithm combined with a direction angle is as follows.
示例一:Example 1:
第一终端还通过接收天线确定反馈定位请求响应的各第二终端的方向角;The first terminal further determines, by using the receiving antenna, a direction angle of each second terminal that responds to the positioning request response;
然后第一终端选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度和相对距离,以及反馈该定位请求响应的第二终端的方向角,确定自身当前的位置信息。下面以选择两个第二终端反馈的定位请求响应进行示例说明,但应当理解的是本实施例中此时选择的第二终端反馈的定位请求响应的个数可以灵活改变。 Then, the first terminal selects a positioning request response fed back by the at least one second terminal, and determines the current position of the second terminal in response to the longitude, latitude and relative distance in the selected positioning request response, and the direction angle of the second terminal that feeds back the positioning request response. information. The following is an example of selecting a positioning request response that is fed back by two second terminals, but it should be understood that the number of positioning request responses fed back by the second terminal selected in this embodiment may be flexibly changed.
第一终端选择两个第二终端反馈的定位请求响应时,以选择的定位请求响应中的经度和纬度确定的坐标为圆心,并分别以对应的两个相对距离为半径确定两个圆,然后计算所述两圆之交点的坐标,并从得到的各交点中,选择出所述两个圆心相对该交点的第二方向角与所述两个第二终端相对于自身的第二方向角一致的交点,作为自身当前的位置信息。下面结合附图对上述算法进行示例说明。When the first terminal selects the positioning request response fed back by the two second terminals, the coordinates determined by the longitude and latitude in the selected positioning request response are the center of the circle, and the two circles are respectively determined by using the corresponding two relative distances as a radius, and then Calculating coordinates of intersections of the two circles, and selecting, from each of the obtained intersections, a second direction angle of the two centers with respect to the intersection point and a second direction angle of the two second terminals with respect to itself The intersection point, as its current location information. The above algorithm is exemplified below with reference to the accompanying drawings.
对于第一终端通过接收天线确定反馈定位请求响应的各第二终端的第二方向角,下面以第一终端为4×4天线的MIMO终端为例进行示例说明。参见图4所示,For a second direction angle of each second terminal that determines a feedback positioning request response by the first terminal, the MIMO terminal with the first terminal being a 4×4 antenna is taken as an example for illustration. See Figure 4,
第一终端UE_0有4根接收天线,如图所示分别为ANT1、ANT2、ANT3和ANT4;θ1、θ2、θ3、θ4分别为ANT1与ANT2天线的夹角、ANT2与ANT3天线的夹角、ANT3与ANT4天线的夹角、ANT4与ANT1天线的夹角,这些夹角可事先保存的UE_0中。假设UE_0收到UE_i发送到的信息,并且可当得知这四根接收天线接收到的信息强度。以下图为例,当ANT2接收到的信号强时,则可判断UE_i处于第二象限,再比较相邻两个接收天线的信号,若ATNT1>ANT3则,UE_i在UE_0θ1的方向范围内;若ATNT1<ANT3则,UE_i在UE_0θ2的方向范围内。再结合东南西北方向,就可以确定出各第二终端的第二方向角,例如是在东南方向,还是东北方向等,从而降低所需待定位终端的数量和提高定位精度。The first terminal UE_0 has four receiving antennas, which are respectively ANT1, ANT2, ANT3 and ANT4 as shown in the figure; θ1, θ2, θ3, θ4 are the angles of the ANT1 and ANT2 antennas, the angle between the ANT2 and the ANT3 antenna, and the ANT3. The angle between the ANT4 antenna and the angle between the ANT4 and the ANT1 antenna can be saved in UE_0 beforehand. It is assumed that UE_0 receives the information transmitted by UE_i, and can know the information strength received by the four receiving antennas. The following figure is an example. When the signal received by ANT2 is strong, it can be judged that UE_i is in the second quadrant, and then compare the signals of two adjacent receiving antennas. If ATNT1>ANT3, UE_i is in the direction range of UE_0θ1; if ATNT1 <ANT3, UE_i is in the direction range of UE_0θ2. Combined with the southeast-southwest direction, the second direction angle of each second terminal can be determined, for example, in the southeast direction or the northeast direction, thereby reducing the number of terminals to be positioned and improving the positioning accuracy.
参见图5所示,下面假设两个反馈定位请求响应的第二终端UE_1和UE_2相对UE_0的第二方向角分别为西北方向和东北方向。UE_1和UE_2与UE_0的相对距离分别为d1、d2,UE_1和UE_2的经纬度信息分别表征为(x1,y1),(x2,y2),则可以得到以下公式:Referring to FIG. 5, it is assumed that the second direction angles of the second terminal UE_1 and UE_2 relative to UE_0 of the two feedback positioning request responses are the northwest direction and the northeast direction, respectively. The relative distances of UE_1 and UE_2 and UE_0 are respectively d 1 and d 2 , and the latitude and longitude information of UE_1 and UE_2 are respectively represented as (x1, y1), (x2, y2), and the following formula can be obtained:
(x1-x0)2+(y1-y0)2=d12……………………(4)(x1-x0)2+(y1-y0)2=d12........................(4)
(x2-x0)2+(y2-y0)2=d22……………………(5) (x2-x0)2+(y2-y0)2=d22........................(5)
联合上述两个公式(4)和(5)得到述二元二次方程组,进行计算就可以得到两个圆的所有交点。假设得到图5中的交点A和交点B。其中交点A相对(x1,y1)为西南方向,相对(x2,y2)为东南方向,与上述通过接收天线确定的第二方向角不一致,被剔除。交点B相对(x1,y1)为西北方向,相对(x2,y2)为东北方向,与上述通过接收天线确定的第二方向角一致,因此确定交点B为第一终端当前的位置。Combining the above two formulas (4) and (5) to obtain the binary quadratic equations, all the intersections of the two circles can be obtained by calculation. Assume that the intersection A and the intersection B in Fig. 5 are obtained. The intersection A is relatively (x1, y1) in the southwest direction, and the relative (x2, y2) is in the southeast direction, and is inconsistent with the second direction angle determined by the receiving antenna described above, and is eliminated. The intersection B is opposite (x1, y1) to the northwest direction, and the relative (x2, y2) is the northeast direction, which coincides with the second direction angle determined by the receiving antenna described above, and thus the intersection B is determined to be the current position of the first terminal.
示例二:Example two:
方向角的确定也可以由第二终端来确定,具体的,第二终端可以根据自身的接收天线按照上述方式确定出第一终端相对自身的第一方向角,并将第一方向角携带在位置信息中。然后第一终端从接收到的定位请求响应中选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度、相对距离以及第一方向角,确定自身当前的位置信息,类似的,确定过程如下:The determining of the direction angle may also be determined by the second terminal. Specifically, the second terminal may determine the first direction angle of the first terminal relative to itself according to the receiving antenna of the second terminal, and carry the first direction angle in the position. Information. Then, the first terminal selects a positioning request response fed back by the at least one second terminal from the received positioning request response, and determines the current location information according to the longitude, the latitude, the relative distance, and the first direction angle in the selected positioning request response. , similarly, the determination process is as follows:
第一终端以选择的两个定位请求响应中的经度、纬度确定的坐标为圆心,并分别以对应的两个相对距离为半径确定两个圆;The first terminal uses the coordinates determined by the longitude and latitude in the selected two positioning request responses as the center of the circle, and determines two circles by using the corresponding two relative distances as the radius respectively;
第一终端计算所述两圆之交点的坐标,并从得到的各交点中,选择出两个圆心相对该交点的方向角与两个定位请求响应中的第一方向角匹配的交点,作为自身当前的位置信息。此处与第一方向角匹配是指该交点分别相对两个圆心的方向角与第一方向角相同。The first terminal calculates the coordinates of the intersection of the two circles, and selects, from each of the obtained intersection points, an intersection point of the direction angle of the two centers with respect to the intersection point and the first direction angle of the two positioning request responses as the self Current location information. Here, the matching with the first direction angle means that the intersection angle of the intersection point with respect to the two centers is the same as the first direction angle.
如上所述,本实施例中的第一终端向第二终端发送定位请求之前,还可以先通过自身的其他定位功能先进行定位,例如启动卫星定位功能对自身位置进行定位,在卫星定位失败时向第二终端发送定位请求。第一终端在启动卫星定位功能后可以开始计时,如果在设置时间内未获取到定位卫星信息,则判定卫星定位失败,启动本实施例提供的定位方式。As described above, before the first terminal sends a positioning request to the second terminal, the first terminal may first perform positioning by using other positioning functions of the first terminal, for example, starting the satellite positioning function to locate the position thereof, and when the satellite positioning fails. Sending a location request to the second terminal. The first terminal can start timing after starting the satellite positioning function. If the positioning satellite information is not acquired within the set time, it is determined that the satellite positioning fails, and the positioning mode provided in this embodiment is started.
本实施例中,第一终端向第二终端发送定位请求时,还包括生成该定 位请求的方式。应当理解的是,根据不同的应用场景,生成定位请求的方式也可以不同。例如,本实施例可以在传输控制协议/互联网络协议数据包之包头的可选字段中设置定位请求信息生成定位请求,然后按照一定的规律发送给第二终端,发送时可以按照一定的时间间隔或其他发送原则进行发送。In this embodiment, when the first terminal sends the location request to the second terminal, the method further includes generating the The way the bit is requested. It should be understood that the manner in which the location request is generated may also be different according to different application scenarios. For example, in this embodiment, the positioning request information may be set in the optional field of the packet header of the transmission control protocol/internet protocol packet to generate a positioning request, and then sent to the second terminal according to a certain rule, and may be sent at a certain time interval according to a certain rule. Or other sending principles to send.
第一终端基于第二终端的位置信息确定自身当前的位置信息后,还包括停止向第二终端广播定位请求。After the first terminal determines its current location information based on the location information of the second terminal, the method further includes stopping the broadcast of the location request to the second terminal.
下面以第一终端应用于LTE(Long Term Evolution,长期演进),采用LTE FDD(Frequency Division Duplexing,频分双工)类型的无线帧为示例进行说明。该无线帧的帧长为10ms,每帧含10个子帧、20个时隙,本实施例可以设置在第6个时隙上发送定位请求,在一定时间段内(例如每隔10ms)第一终端通过时隙#6向周围第二终端(也即辅助终端)发送定位请求信息,第二终端可在第8个时隙返回定位请求响应。In the following, the first terminal is applied to LTE (Long Term Evolution), and the LTE FDD (Frequency Division Duplexing) type radio frame is taken as an example for description. The frame length of the radio frame is 10 ms, and each frame includes 10 subframes and 20 slots. In this embodiment, the positioning request may be sent on the sixth time slot, and the first time is within a certain period of time (for example, every 10 ms). The terminal transmits the positioning request information to the surrounding second terminal (that is, the auxiliary terminal) through the slot #6, and the second terminal can return the positioning request response in the eighth time slot.
本实施例中定位请求的数据格式可以采取传输控制协议/互联网络协议数据包之包头结构,如表1所示:The data format of the positioning request in this embodiment may adopt a packet header structure of a transmission control protocol/internet protocol packet, as shown in Table 1:
表1Table 1
Figure PCTCN2016105800-appb-000001
Figure PCTCN2016105800-appb-000001
表1中: in FIG. 1:
(1)版本号占4位,指IP协议的版本。通信双方使用的IP协议版本必须一致。(1) The version number is 4 digits, which refers to the version of the IP protocol. The version of the IP protocol used by both parties must be the same.
(2)首部长度占4位,可表示的最大十进制数值是15。(2) The length of the header is 4 digits, and the maximum decimal value that can be represented is 15.
(3)服务类型占8位,用来获得更好的服务。这个字段在旧标准中叫做服务类型,但实际上一直没有被使用过。1998年IETF把这个字段改名为区分服务DS(Differentiated Services)。只有在使用区分服务时,这个字段才起作用。(3) The service type is 8 digits for better service. This field is called the service type in the old standard, but it has never been used. In 1998, the IETF renamed this field to differentiated services (DS). This field only works when using DiffServ.
(4)总长度占16位,总长度指首部和数据之和的长度,单位为字节。总长度字段为16位,因此数据报的最大长度为216-1=65535字节。(4) The total length is 16 bits, and the total length refers to the length of the sum of the header and the data, and the unit is byte. The total length field is 16 bits, so the maximum length of the datagram is 216-1 = 65535 bytes.
(5)标识符(identification)占16位。IP软件在存储器中维持一个计数器,每产生一个数据报,计数器就加1,并将此值赋给标识字段。(5) The identifier (16 digits). The IP software maintains a counter in memory. Each time a datagram is generated, the counter is incremented by one and the value is assigned to the identification field.
(6)标志(flag)占3位,但目前只有2位有意义。(6) The flag (flag) occupies 3 digits, but currently only 2 digits make sense.
●标志字段中的最低位记为MF(More Fragment)。MF=1即表示后面“还有分片”的数据报。MF=0表示这已是若干数据报片中的最后一个。● The lowest bit in the flag field is MF (More Fragment). MF=1 means that there is a datagram followed by "segmentation". MF=0 means that this is the last of several datagrams.
●标志字段中间的一位记为DF(Don’t Fragment),意思是“不能分片”。只有当DF=0时才允许分片。● A bit in the middle of the flag field is marked as DF (Don't Fragment), meaning "cannot be fragmented." Fragmentation is only allowed when DF=0.
(7)片偏移占13位。片偏移指出:较长的分组在分片后,某片在原分组中的相对位置。(7) The slice offset accounts for 13 bits. The slice offset indicates the relative position of a slice in the original packet after the slice is sliced.
(8)生存时间占8位,生存时间字段常用的的英文缩写是TTL(Time To Live),表明是数据报在网络中的寿命。(8) The survival time is 8 digits. The English abbreviation commonly used in the survival time field is TTL (Time To Live), indicating the lifetime of the datagram in the network.
(9)协议占8位,协议字段指出此数据报携带的数据是使用何种协议,以便使目的主机的IP层知道应将数据部分上交给哪个处理过程。(9) The protocol occupies 8 bits. The protocol field indicates which protocol is used for the data carried in the datagram, so that the IP layer of the destination host knows which process the data part should be handed over to.
(10)首部检验和占16位。这个字段只检验数据报的首部,但不包括数据部分。(10) The first inspection and 16 digits. This field only checks the header of the datagram, but does not include the data portion.
(11)源IP地址占32位。 (11) The source IP address is 32 bits.
(12)目的IP地址占32位。(12) The destination IP address is 32 bits.
(13)可选字段占32位,本实施例可以添加定位请求信息。(13) The optional field occupies 32 bits. In this embodiment, the positioning request information may be added.
本实施例通过第一终端和可以获取自身位置信息的第二终端之间通过D2D进行定位信息的交互获取第二终端的位置信息,并基于定位算法计算的得到第一终端的自身的位置信息,尤其适合于第一终端的卫星定位功能不能正常应用的场景。In this embodiment, the location information of the second terminal is obtained by performing the interaction between the first terminal and the second terminal that can obtain the location information by using the D2D, and the location information of the first terminal is obtained by using the location algorithm. It is especially suitable for scenarios in which the satellite positioning function of the first terminal cannot be applied normally.
实施例二:Embodiment 2:
本实施例提供了一种终端,该终端作为第一终端,参见图6所示,包括:This embodiment provides a terminal, as the first terminal, as shown in FIG. 6, the method includes:
定位发起模块41,配置为向第二终端发送定位请求;The location initiating module 41 is configured to send a location request to the second terminal.
信息获取模块42,配置为接收第二终端反馈的定位请求响应,定位请求响应包含第二终端自身的位置信息;The information obtaining module 42 is configured to receive a positioning request response fed back by the second terminal, where the positioning request response includes location information of the second terminal itself;
计算模块43,配置为基于第二终端的位置信息确定终端的位置信息。The calculating module 43 is configured to determine location information of the terminal based on the location information of the second terminal.
本实施例中第一终端与第二终端之间可以通过各种无线通信方式实现通信,第一终端中设置有第一无线通讯收发模块44,其可以采用广播或单播的方式发送定位请求。例如第一无线通讯收发模块44的通信方式包括但不限于RTP(Real-time Transport Protocol,实时传输协议)协议、蓝牙、红外、NFC(Near Field Communication,近距离无线通信技术)、WIFI(WIreless-FIdelity)中的任意一种。In this embodiment, the first terminal and the second terminal can communicate through various wireless communication modes. The first terminal is provided with a first wireless communication transceiver module 44, which can send a positioning request by using a broadcast or a unicast manner. For example, the communication mode of the first wireless communication transceiver module 44 includes but is not limited to RTP (Real-time Transport Protocol) protocol, Bluetooth, infrared, NFC (Near Field Communication), WIFI (WIreless- Any of FIdelity).
通过RTP协议发送定位请求时,第一终端具体可以通过在发送的下行序列中定义一个发送位置请求信息的帧,该帧第二终端接收到之后可以识别出为定位请求帧,且该帧中还可以携带发送时间T1。假设第一终端为图1所示的终端UE0,终端UE0可以通过广播的方式向室外的各第二终端发送定位请求。When the positioning request is sent by using the RTP protocol, the first terminal may specifically define a frame for sending the location request information in the downlink sequence that is sent, and the second terminal may identify the frame as the positioning request after receiving the frame, and the frame is further It can carry the transmission time T1. It is assumed that the first terminal is the terminal UE0 shown in FIG. 1, and the terminal UE0 can send a positioning request to each second terminal in the outdoor manner by means of broadcast.
参见图7所示,第二终端包括第二无线通讯收发模块54、信息调度模 块53、控制模块52和第二定位模块51。Referring to FIG. 7, the second terminal includes a second wireless communication transceiver module 54 and an information scheduling module. Block 53, control module 52 and second positioning module 51.
第二无线通讯收发模块54接收到定位请求后,可以根据定位请求中包含的发送时间T1和接收到该定位请求的接收时间T2,以及接收该定位请求时采用的通信方式的传输速率C,计算得到第一终端和第二终端之间的相对距离d:具体计算公式为:d=(T2-T1)×C。然后将该定位请求和相对距离d发给信息调度模块53。After receiving the location request, the second wireless communication transceiver module 54 may calculate according to the transmission time T1 included in the location request, the reception time T2 of receiving the location request, and the transmission rate C of the communication mode used when receiving the location request. Obtaining a relative distance d between the first terminal and the second terminal: a specific calculation formula is: d=(T2-T1)×C. The positioning request and the relative distance d are then sent to the information scheduling module 53.
信息调度模块53可以根据预先设置好的规则识别出收到的该消息为定位请求,缓存第二无线通讯收发模块54发送的相对距离d,并向控制模块52发送定位信息请求。The information scheduling module 53 can identify the received message as a positioning request according to a preset rule, cache the relative distance d sent by the second wireless communication transceiver module 54, and send a positioning information request to the control module 52.
控制模块52收到定位信息请求后,向第二定位模块51发送位置信息请求。After receiving the positioning information request, the control module 52 sends a location information request to the second positioning module 51.
第二定位模块51判断自身是否获取到位置信息(可以采用卫星定位、基站定位或其他任意能获取到自身位置信息的定位方式),如是,向控制模块52反馈包含位置信息的正确响应,否则返回拒绝或定位失败响应。The second positioning module 51 determines whether the location information is acquired by itself (the satellite positioning, the base station positioning, or any other positioning method capable of acquiring the local location information may be used), and if so, the correct response including the location information is fed back to the control module 52, otherwise, Reject or locate a failed response.
控制模块52在收到包含位置信息的响应后,将位置信息发给所述信息调度模块53;After receiving the response containing the location information, the control module 52 sends the location information to the information scheduling module 53;
信息调度模块53提取之前缓存的相对距离,并与添加到位置信息中一起生成定位请求响应,通过第二无线通讯收发模块54发送给第一终端。第一终端的第一无线通讯收发模块44收到后反馈给信息获取模块42。The information scheduling module 53 extracts the previously cached relative distance and generates a positioning request response together with the addition to the location information, and sends it to the first terminal through the second wireless communication transceiver module 54. The first wireless communication transceiver module 44 of the first terminal receives the feedback and sends the information to the information acquisition module 42.
本实施例中,第二终端反馈的位置信息中包含经度和纬度。当第二终端采用的不是卫星定位,而是其他定位方式时,可以将获取到的具体定位信息转换成经度和纬度。本实施例中,第一终端基于所述第二终端的位置信息计算自身当前的位置信息包括:In this embodiment, the location information fed back by the second terminal includes longitude and latitude. When the second terminal adopts not satellite positioning but other positioning methods, the obtained specific positioning information may be converted into longitude and latitude. In this embodiment, the first terminal calculates its current location information based on the location information of the second terminal, including:
终端中的计算模块43,配置为从接收到的多个定位请求响应中选择至少三个定位请求响应中的位置信息作为目标位置信息,结合选择的至少三 个定位请求响应中的经度、纬度、以及相对距离计算自身的位置信息。下面以选择三个定位请求响应为示例进行说明。The calculating module 43 in the terminal is configured to select location information in the at least three positioning request responses as the target location information from the received multiple positioning request responses, and combine the selected at least three The position information of the positioning request response is calculated by the longitude, latitude, and relative distance in the response request. The following is an example of selecting three positioning request responses as an example.
当第一终端判断收到的定位请求响应不足三个,或收到的有效的位置信息不足三个时,定位发起模块41可以重新发起定位请求,然后再重复上述过程。但重新发起N次定位请求都未接收到三个有效的位置信息时,表明当前周围可以获取到有效位置信息的第二终端数量不够,可以提示用户移动一定距离后重试或直接提示用户定位失败或提示采用其他定位功能进行定位。其中N取大于等于1的值,且其具体取值可以根据具体应用场景灵活设定。When the first terminal determines that the received positioning request response is less than three, or the received valid location information is less than three, the location initiating module 41 may re-initiate the positioning request, and then repeat the foregoing process. However, when the three times of re-initiating the N positioning request does not receive the three valid location information, the number of the second terminals that can obtain the valid location information is insufficient. The user may be prompted to move a certain distance and then retry or directly prompt the user to locate the failure. Or suggest using other targeting features for targeting. The value of N is greater than or equal to 1, and the specific value can be flexibly set according to the specific application scenario.
当第一终端接收到的有效的位置信息超过三个时,计算模块43可以按照一定的选择原则(例如选择三个位置差异最大的位置信息等)从接收到的位置信息中选择三个,或者按照一定的选择原则从接收到的位置信息中选择多组的三个位置信息,然后计算得到第一终端的多组位置信息,取多组位置信息的平均值作为第一终端最终的位置信息。下面以计算一组三个位置信息的过程为示例进行说明。When the valid location information received by the first terminal exceeds three, the calculation module 43 may select three of the received location information according to a certain selection principle (for example, selecting location information with the largest difference of three locations, etc.), or The plurality of sets of three pieces of position information are selected from the received position information according to a certain selection principle, and then the plurality of sets of position information of the first terminal are calculated, and the average value of the plurality of sets of position information is taken as the final position information of the first terminal. The process of calculating a set of three pieces of position information is described below as an example.
计算模块43结合选择的三个目标位置信息和对应的三个相对距离计算自身的位置信息包括:The calculating module 43 calculates the position information of the third target position information and the corresponding three relative distances, including:
计算模块43分别以所述三个位置信息的经度和纬度确定的坐标为圆心,并分别以对应的三个相对距离为半径确定三个圆;The calculation module 43 respectively determines the coordinates determined by the longitude and latitude of the three position information as a center, and respectively determines three circles by using the corresponding three relative distances as a radius;
计算模块43计算三个圆之交点的坐标为作为自身当前的位置信息。The calculation module 43 calculates the coordinates of the intersection of the three circles as the current position information of itself.
本实施例中,计算模块43选择Trilateration(三边测量)定位算法时,其所选择的三个目标位置信息不在同一直线上,也即横坐标X或纵坐标Y不能相同。In this embodiment, when the calculation module 43 selects the Trilateration positioning algorithm, the selected three target position information are not on the same straight line, that is, the abscissa X or the ordinate Y cannot be the same.
参见图6所示,本实施例中的第一终端还可包括方向角获取模块48,配置为通过接收天线确定反馈定位请求响应的各第二终端的方向角。 As shown in FIG. 6 , the first terminal in this embodiment may further include a direction angle acquiring module 48 configured to determine, by using the receiving antenna, a direction angle of each second terminal that responds to the positioning request response.
所述计算模块43还可选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度和相对距离,以及反馈该定位请求响应的第二终端的方向角,确定自身当前的位置信息。下面以选择两个第二终端反馈的定位请求响应进行示例说明,但应当理解的是本实施例中此时选择的第二终端反馈的定位请求响应的个数可以灵活改变。The calculating module 43 may further select a positioning request response fed back by the at least one second terminal, determine the longitude, the latitude and the relative distance in the selected positioning request response, and the direction angle of the second terminal that feeds back the positioning request response, and determine the self. Current location information. The following is an example of selecting a positioning request response that is fed back by two second terminals, but it should be understood that the number of positioning request responses fed back by the second terminal selected in this embodiment may be flexibly changed.
第一终端选择两个第二终端反馈的定位请求响应时,以选择的定位请求响应中的经度和纬度确定的坐标为圆心,并分别以对应的两个相对距离为半径确定两个圆,然后计算所述两圆之交点的坐标,并从得到的各交点中,选择出所述两个圆心相对该交点的方向角与所述两个第二终端相对于自身的方向角一致的交点,作为第一终端当前的位置信息。When the first terminal selects the positioning request response fed back by the two second terminals, the coordinates determined by the longitude and latitude in the selected positioning request response are the center of the circle, and the two circles are respectively determined by using the corresponding two relative distances as a radius, and then Calculating coordinates of the intersection of the two circles, and selecting, from each of the obtained intersection points, an intersection angle of the two centers with respect to the intersection point and an intersection angle of the two second terminals with respect to the direction angle of the second terminal, as The current location information of the first terminal.
如上所述,本实施例中的第一终端向第二终端发送定位请求之前,还可以先通过自身的其他定位功能先进行定位,例如启动卫星定位功能对自身位置进行定位,在卫星定位失败时向第二终端发送定位请求。第一终端在启动卫星定位功能后可以开始计时,如果在设置时间内未获取到定位卫星信息,则判定卫星定位失败,启动本实施例提供的定位方式。例如,参见图8所示,第一终端还可包括第一控制模块45、第一定位模块46以及计时模块47。初始时,第一控制模块45通过第一定位模块46进行定位,计时模块47启动计时,当计时时间值达到预设值时,第一控制模块45都未收到第一定位模块反馈的有效位置信息时,第一控制模块45将封装定位请求数据包,并发给定位发起模块41发送给第二终端。As described above, before the first terminal sends a positioning request to the second terminal, the first terminal may first perform positioning by using other positioning functions of the first terminal, for example, starting the satellite positioning function to locate the position thereof, and when the satellite positioning fails. Sending a location request to the second terminal. The first terminal can start timing after starting the satellite positioning function. If the positioning satellite information is not acquired within the set time, it is determined that the satellite positioning fails, and the positioning mode provided in this embodiment is started. For example, referring to FIG. 8 , the first terminal may further include a first control module 45 , a first positioning module 46 , and a timing module 47 . Initially, the first control module 45 performs positioning by the first positioning module 46, and the timing module 47 starts timing. When the timing time value reaches a preset value, the first control module 45 does not receive the effective position fed back by the first positioning module. When the information is received, the first control module 45 encapsulates the location request packet and sends it to the location initiation module 41 for transmission to the second terminal.
本实施例通过第一终端和可以获取自身位置信息的第二终端之间通过D2D(Device to Device,终端和终端之间的通信)进行定位信息的交互获取第二终端的位置信息,并基于定位算法计算的得到第一终端的自身的位置信息,尤其适合于第一终端的卫星定位功能不能正常应用的场景。显然,本领域的技术人员应该明白,上述本发明实施例的各模块或各步骤可以用 通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,可选地,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在计算机存储介质(ROM/RAM、磁碟、光盘)中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。所以,本发明不限制于任何特定的硬件和软件结合。In this embodiment, the location information of the second terminal is obtained by performing the interaction between the first terminal and the second terminal that can obtain the location information through the D2D (Device to Device, the communication between the terminal and the terminal), and is based on the location. The algorithm calculates the location information of the first terminal, which is particularly suitable for a scenario in which the satellite positioning function of the first terminal cannot be applied normally. Obviously, those skilled in the art should understand that the modules or steps of the above embodiments of the present invention can be used. Implemented by a general-purpose computing device, which may be centralized on a single computing device or distributed over a network of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that Storing them in a computer storage medium (ROM/RAM, disk, optical disk) is performed by a computing device, and in some cases, the steps shown or described may be performed in an order different than that herein, or They are fabricated as individual integrated circuit modules, or a plurality of modules or steps thereof are fabricated into a single integrated circuit module. Therefore, the invention is not limited to any particular combination of hardware and software.
为了更好的理解本发明,下面以图1所示的应用场景为例,第一终端为UE0,UE1、UE2……UEi为第二终端。UE0先启动卫星定位功能进行定位。该过程参见图9所示,包括:For a better understanding of the present invention, the application scenario shown in FIG. 1 is taken as an example. The first terminal is UE0, and UE1, UE2, ... UEi are second terminals. UE0 first starts the satellite positioning function for positioning. The process is shown in Figure 9, including:
S701:UE0启动卫星定位功能进行定位,并开始计时。S701: UE0 starts the satellite positioning function to perform positioning, and starts timing.
S702:判断在预设时间内是否获取到有效位置信息,如是,转至S709,否则,转至S703。S702: Determine whether the valid location information is acquired within the preset time, and if yes, go to S709, otherwise, go to S703.
S703:UE0通过D2D方式向室外的各第二终端UE1、UE2……UEi发送定位请求。S703: The UE0 sends a positioning request to each of the second terminals UE1, UE2, ..., UEi in the outdoor by using the D2D mode.
S704:UE0接收第二终端反馈的定位请求响应。S704: The UE0 receives the positioning request response fed back by the second terminal.
S705:判断接收到的定位请求响应是否大于等于3个,如是,转至S708,否则,转至S706。S705: Determine whether the received positioning request response is greater than or equal to three, and if yes, go to S708; otherwise, go to S706.
S706:计数值N加1。S706: The count value N is increased by 1.
S707:判断计数值N是否大于等于预设值,如否,转至S703;否则,转至S709。S707: Determine whether the count value N is greater than or equal to a preset value. If no, go to S703; otherwise, go to S709.
S708:UE0基于接收到的定位请求响应中的位置信息和对应的相对距离,计算自身的位置信息。S708: UE0 calculates its own location information based on the location information in the received location request response and the corresponding relative distance.
S709:此次定位结束。S709: The positioning is over.
在本发明所提供的几个实施例中,应该理解到,所揭露的方法及装置, 可以通过其他的方式实现。以上所描述的装置实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,如:多个模块或组件可以结合,或可以集成到另一个系统,或一些特征可以忽略,或不执行。另外,所显示或讨论的各组成部分相互之间的通信连接可以是通过一些接口,设备或模块的间接耦合或通信连接,可以是电性的、机械的或其他形式的。In the several embodiments provided by the present invention, it should be understood that the disclosed method and apparatus, It can be implemented in other ways. The device embodiments described above are merely illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be another division manner, for example, multiple modules or components may be combined, or Can be integrated into another system, or some features can be ignored or not executed. In addition, the communication connections between the various components shown or discussed may be indirect coupling or communication connections through some interfaces, devices or modules, and may be electrical, mechanical or otherwise.
上述作为分离部件说明的模块可以是、或也可以不是物理上分开的,作为模块显示的部件可以是、或也可以不是物理模块,即可以位于一个地方,也可以分布到多个网络模块上;可以根据实际的需要选择其中的部分或全部模块来实现本实施例方案的目的。The modules described above as separate components may or may not be physically separated. The components displayed as modules may or may not be physical modules, that is, may be located in one place or distributed to multiple network modules; Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the embodiment.
另外,在本发明各实施例中的各功能模块可以全部集成在一个处理模块中,也可以是各模块分别单独作为一个模块,也可以两个或两个以上模块集成在一个模块中;上述集成的模块既可以采用硬件的形式实现,也可以采用硬件加软件功能模块的形式实现。In addition, each functional module in each embodiment of the present invention may be integrated into one processing module, or each module may be separately used as one module, or two or more modules may be integrated into one module; The module can be implemented in the form of hardware or in the form of hardware plus software function modules.
本领域普通技术人员可以理解:实现上述方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成,前述的程序可以存储于计算机可读取存储介质中,该程序在执行时,执行包括上述方法实施例的步骤;而前述的存储介质包括:移动存储设备、只读存储器(ROM,Read-Only Memory)、磁碟或者光盘等各种可以存储程序代码的介质。It will be understood by those skilled in the art that all or part of the steps of implementing the foregoing method embodiments may be performed by hardware related to program instructions. The foregoing program may be stored in a computer readable storage medium, and when executed, the program includes The foregoing steps of the method embodiment; and the foregoing storage medium includes: a removable storage device, a read-only memory (ROM), a magnetic disk or an optical disk, and the like, which can store program codes.
或者,本发明实施例上述集成的模块如果以软件功能模块的形式实现并作为独立的产品销售或使用时,也可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机、服务器、或者网络设备等)执行本发明各个实施例所述方法的 全部或部分。而前述的存储介质包括:移动存储设备、ROM、磁碟或者光盘等各种可以存储程序代码的介质。Alternatively, the above-described integrated module of the embodiment of the present invention may be stored in a computer readable storage medium if it is implemented in the form of a software function module and sold or used as a stand-alone product. Based on such understanding, the technical solution of the embodiments of the present invention may be embodied in the form of a software product in essence or in the form of a software product stored in a storage medium, including a plurality of instructions. Enabling a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the various embodiments of the present invention All or part. The foregoing storage medium includes various media that can store program codes, such as a mobile storage device, a ROM, a magnetic disk, or an optical disk.
本发明实施例中记载的存储器切换方法、装置只以上述实施例为例,但不仅限于此,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本发明各实施例技术方案的范围。The memory switching method and apparatus described in the embodiments of the present invention are only exemplified by the foregoing embodiments, but are not limited thereto, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments may still be modified. Equivalent replacement of some or all of the technical features may be made without departing from the scope of the technical solutions of the embodiments of the present invention.
以上所述仅为本发明的较佳实施例而已,并非用于限定本发明的保护范围。The above is only the preferred embodiment of the present invention and is not intended to limit the scope of the present invention.
工业实用性Industrial applicability
本发明实施例的技术方案在第一终端无法获取到定位卫星信息时,也可以直接通过与其他第二终端交互获取这些第二终端的位置信息,进而根据获取到的第二终端的位置信息计算得到自身当前的位置信息。 When the first terminal is unable to obtain the positioning satellite information, the technical solution of the second terminal may directly acquire the location information of the second terminal by interacting with other second terminals, and further calculate the location information of the second terminal according to the obtained location information of the second terminal. Get your current location information.

Claims (16)

  1. 一种终端定位方法,包括:A terminal positioning method includes:
    第一终端向第二终端广播定位请求;The first terminal broadcasts a positioning request to the second terminal;
    所述第一终端接收所述第二终端反馈的定位请求响应,所述定位请求响应包含所述第二终端自身的位置信息;Receiving, by the first terminal, a location request response that is sent by the second terminal, where the location request response includes location information of the second terminal itself;
    所述第一终端基于所述第二终端的位置信息确定自身当前的位置信息。The first terminal determines its current location information based on the location information of the second terminal.
  2. 如权利要求1所述的终端定位方法,其中,所述位置信息包括第二终端所在经度、纬度以及第二终端与第一终端之间的相对距离,所述相对距离等于所述定位请求或为所述定位请求响应在第一终端和第二终端之间的传输时间与传输速率的乘积。The terminal locating method according to claim 1, wherein the location information includes a longitude and a latitude of the second terminal, and a relative distance between the second terminal and the first terminal, where the relative distance is equal to the positioning request or The positioning request is responsive to a product of a transmission time between the first terminal and the second terminal and a transmission rate.
  3. 如权利要求2所述的终端定位方法,其中,所述第一终端基于所述第二终端的位置信息确定自身的位置信息包括:The terminal locating method according to claim 2, wherein the determining, by the first terminal, the location information of the second terminal based on the location information of the second terminal comprises:
    从接收到的多个定位请求响应中选择至少三个定位请求响应中的位置信息作为目标位置信息;Selecting location information in at least three positioning request responses from the received plurality of positioning request responses as the target location information;
    结合所述至少三个目标位置信息中的经度、纬度和相对距离计算自身的位置信息。The position information of the self is calculated in combination with the longitude, latitude and relative distance in the at least three target position information.
  4. 如权利要求3所述的终端定位方法,其中,所述第一终端从接收到的多个定位请求响应中选择三个定位请求响应中的位置信息作为目标位置信息;The terminal locating method according to claim 3, wherein the first terminal selects location information in three positioning request responses as target location information from the received plurality of positioning request responses;
    结合所述三个目标位置信息中的经度、纬度和相对距离,通过三边测量定位算法计算自身当前的位置信息。Combining the longitude, latitude and relative distance in the three target position information, the current position information is calculated by the trilateration positioning algorithm.
  5. 如权利要求2所述的终端定位方法,其中,所述位置信息还包括第二终端根据接收天线确定的第一终端相对自身的第一方向角;The terminal positioning method according to claim 2, wherein the location information further comprises a first direction angle of the first terminal relative to itself determined by the second terminal according to the receiving antenna;
    所述第一终端基于所述第二终端的位置信息确定自身的位置信息包 括:Determining, by the first terminal, a location information packet of the second terminal based on the location information of the second terminal include:
    所述第一终端选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度、相对距离以及第一方向角,确定自身的位置信息。The first terminal selects a positioning request response fed back by the at least one second terminal, and determines the location information of the location according to the longitude, the latitude, the relative distance, and the first direction angle in the selected positioning request response.
  6. 如权利要求5所述的终端定位方法,其中,所述第一终端选择两个第二终端反馈的定位请求响应;The terminal positioning method according to claim 5, wherein the first terminal selects a positioning request response fed back by two second terminals;
    所述第一终端以选择的两个定位请求响应中的经度、纬度确定的坐标为圆心,并分别以对应的两个相对距离为半径确定两个圆;Determining, by the first terminal, a coordinate determined by longitude and latitude in the selected two positioning request responses as a center, and determining two circles by using the corresponding two relative distances as a radius;
    所述第一终端计算所述两圆之交点的坐标,并从得到的各交点中,选择出所述两个圆心相对该交点的方向角与所述两个定位请求响应中的第一方向角匹配的交点,作为自身的位置信息。The first terminal calculates coordinates of intersections of the two circles, and selects, from among the obtained intersection points, a direction angle of the two centers with respect to the intersection point and a first direction angle of the two positioning request responses The matching intersection is used as its own location information.
  7. 如权利要求1-6任一项所述的终端定位方法,其中,所述第一终端通过实时传输协议、蓝牙、红外、NFC或WIFI向所述第二终端发送定位请求。The terminal locating method according to any one of claims 1-6, wherein the first terminal sends a positioning request to the second terminal by using a real-time transmission protocol, Bluetooth, infrared, NFC or WIFI.
  8. 如权利要求1-6任一项所述的终端定位方法,其中,第一终端向第二终端发送定位请求之前,还包括:The terminal locating method according to any one of claims 1-6, wherein before the first terminal sends the location request to the second terminal, the method further includes:
    启动卫星定位功能对自身位置进行定位,在卫星定位失败时向所述第二终端发送定位请求。The satellite positioning function is activated to locate its own position, and a positioning request is sent to the second terminal when the satellite positioning fails.
  9. 如权利要求1-6任一项所述的终端定位方法,其中,第一终端向第二终端发送定位请求之前,还包括生成定位请求,包括:The terminal locating method according to any one of claims 1-6, wherein before the first terminal sends the location request to the second terminal, the method further includes: generating a location request, including:
    在传输控制协议/互联网络协议数据包之包头的可选字段中设置定位请求信息生成定位请求;Setting a positioning request information to generate a positioning request in an optional field of a packet header of a Transmission Control Protocol/Internet Protocol packet;
    所述第一终端基于所述第二终端的位置信息确定自身当前的位置信息后,还包括:After the first terminal determines its current location information based on the location information of the second terminal, the method further includes:
    停止向所述第二终端广播定位请求。 Stop broadcasting a positioning request to the second terminal.
  10. 一种终端定位方法,包括:A terminal positioning method includes:
    第一终端向第二终端广播定位请求;The first terminal broadcasts a positioning request to the second terminal;
    所述第一终端接收所述第二终端反馈的定位请求响应,所述定位请求响应包含所述第二终端自身的位置信息,并根据接收天线确定第二终端与自身相对的第二方向角;Receiving, by the first terminal, a positioning request response that is sent by the second terminal, where the positioning request response includes location information of the second terminal itself, and determining, according to the receiving antenna, a second direction angle of the second terminal opposite to the second terminal;
    所述第一终端选择至少一个第二终端反馈的定位请求响应,结合选择的定位请求响应中的经度、纬度、相对距离以及第二方向角,确定自身当前的位置信息。The first terminal selects a positioning request response fed back by the at least one second terminal, and determines the current location information of the location according to the longitude, latitude, relative distance, and the second direction angle in the selected positioning request response.
  11. 一种终端,包括:A terminal comprising:
    定位发起模块,配置为向第二终端广播定位请求;a positioning initiation module configured to broadcast a positioning request to the second terminal;
    信息获取模块,配置为接收所述第二终端反馈的定位请求响应,所述定位请求响应包含所述第二终端自身的位置信息;An information acquiring module, configured to receive a positioning request response that is sent by the second terminal, where the positioning request response includes location information of the second terminal itself;
    计算模块,配置为基于所述第二终端的位置信息确定终端自身的位置信息。And a calculating module, configured to determine location information of the terminal itself based on the location information of the second terminal.
  12. 如权利要求11所述的终端,其中,所述位置信息包括第二终端所在经度、纬度以及第二终端与终端之间的相对距离,所述相对距离等于所述定位请求或为所述定位请求响应在终端和第二终端之间的传输时间与传输速率的乘积。The terminal according to claim 11, wherein the location information includes a longitude, a latitude of the second terminal, and a relative distance between the second terminal and the terminal, the relative distance being equal to the positioning request or the positioning request. Responding to the product of the transmission time between the terminal and the second terminal and the transmission rate.
  13. 如权利要求12所述的终端,其中,所述计算模块配置为从接收到的多个定位请求响应中选择至少三个定位请求响应中的位置信息作为目标位置信息,结合所述至少三个目标位置信息中的经度、纬度和相对距离计算终端自身的位置信息。The terminal according to claim 12, wherein the calculation module is configured to select location information in at least three location request responses from the received plurality of location request responses as target location information, in combination with the at least three targets The longitude, latitude, and relative distance in the location information calculate the location information of the terminal itself.
  14. 如权利要求12所述的终端,其中,还包括方向角获取模块,配置为通过接收天线确定反馈定位请求响应的各第二终端的方向角;The terminal according to claim 12, further comprising a direction angle acquiring module configured to determine, by the receiving antenna, a direction angle of each second terminal that feeds back the positioning request response;
    所述计算模块配置为选择至少一个第二终端反馈的定位请求响应,结 合选择的定位请求响应中的经度、纬度和相对距离,以及反馈该定位请求响应的第二终端的方向角,确定自身的位置信息。The calculating module is configured to select a positioning request response fed back by at least one second terminal, and The longitude, latitude and relative distance in the selected positioning request response, and the direction angle of the second terminal that feeds back the positioning request response, determine its own position information.
  15. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求1至9任一项所述的终端定位方法。A computer storage medium having stored therein computer executable instructions for performing the terminal positioning method of any one of claims 1 to 9.
  16. 一种计算机存储介质,所述计算机存储介质中存储有计算机可执行指令,所述计算机可执行指令用于执行权利要求10所述的终端定位方法。 A computer storage medium having stored therein computer executable instructions for performing the terminal positioning method of claim 10.
PCT/CN2016/105800 2016-08-09 2016-11-14 Terminal positioning method, terminal and computer storage medium WO2018028073A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610648145.1A CN107743311B (en) 2016-08-09 2016-08-09 Method of locating terminal and terminal
CN201610648145.1 2016-08-09

Publications (1)

Publication Number Publication Date
WO2018028073A1 true WO2018028073A1 (en) 2018-02-15

Family

ID=61162721

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2016/105800 WO2018028073A1 (en) 2016-08-09 2016-11-14 Terminal positioning method, terminal and computer storage medium

Country Status (2)

Country Link
CN (1) CN107743311B (en)
WO (1) WO2018028073A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115366946A (en) * 2022-08-04 2022-11-22 王学浩 Rail vehicle positioning method, device, equipment and storage medium

Families Citing this family (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111142138A (en) * 2018-11-06 2020-05-12 Oppo广东移动通信有限公司 Electronic device, electronic device ranging method, and computer-readable storage medium
CN111354172A (en) * 2018-12-24 2020-06-30 阿里巴巴集团控股有限公司 Method for positioning anti-lost device terminal, server and anti-lost control system
CN111148016B (en) * 2019-03-15 2022-05-27 广东小天才科技有限公司 Mobile equipment positioning method and system in indoor environment and mobile equipment
CN111093215A (en) * 2019-12-20 2020-05-01 成都川美新技术股份有限公司 Method for actively acquiring GPS information of THURAYA terminal
CN114902700A (en) * 2020-01-21 2022-08-12 联想(北京)有限公司 Method and apparatus for wireless communication
WO2021168811A1 (en) * 2020-02-28 2021-09-02 北京小米移动软件有限公司 Wireless positioning method and apparatus, and storage medium
CN111372187B (en) * 2020-03-06 2021-05-28 北京锐安科技有限公司 Method, device and equipment for determining position of base station and storage medium
CN111491369A (en) * 2020-04-21 2020-08-04 上海依图网络科技有限公司 Terminal positioning method and device based on security front-end equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799530A (en) * 2009-12-29 2010-08-11 广东广联电子科技有限公司 Wireless indoor location method and system thereof
CN103124396A (en) * 2013-01-24 2013-05-29 河南科技大学 Method for positioning mobile node of wireless sensor network based on crossed particle swarm
JP2013211806A (en) * 2012-03-30 2013-10-10 Ntt Docomo Inc Communication terminal, information service device, information service method and information service system
CN103415069A (en) * 2012-11-01 2013-11-27 上海物联网有限公司 Mobile node positioning algorithm based on integration of sensor network and cellular network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799530A (en) * 2009-12-29 2010-08-11 广东广联电子科技有限公司 Wireless indoor location method and system thereof
JP2013211806A (en) * 2012-03-30 2013-10-10 Ntt Docomo Inc Communication terminal, information service device, information service method and information service system
CN103415069A (en) * 2012-11-01 2013-11-27 上海物联网有限公司 Mobile node positioning algorithm based on integration of sensor network and cellular network
CN103124396A (en) * 2013-01-24 2013-05-29 河南科技大学 Method for positioning mobile node of wireless sensor network based on crossed particle swarm

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115366946A (en) * 2022-08-04 2022-11-22 王学浩 Rail vehicle positioning method, device, equipment and storage medium

Also Published As

Publication number Publication date
CN107743311B (en) 2019-12-03
CN107743311A (en) 2018-02-27

Similar Documents

Publication Publication Date Title
WO2018028073A1 (en) Terminal positioning method, terminal and computer storage medium
US11988778B2 (en) Determining a location of a transmitter device
KR101842565B1 (en) Access point location discovery in unmanaged networks
US9609582B2 (en) Handling packet data units
CN108700641A (en) Unicast and Radio Broadcasting Agreements for WLAN ranging and direction finding
US10075934B2 (en) Positioning method and apparatus
CN108351422A (en) Localization method, base station in mobile network and mobile terminal
JP2006527542A (en) MAC protocol for accurately calculating the location of a wireless device in a building
US20150264530A1 (en) Access point initiated time-of-flight positioning
WO2020073644A1 (en) Method and device for user equipment positioning
WO2021032267A1 (en) Non-line-of-sight path detection for user equipment positioning in wireless networks
US20180310127A1 (en) System and Method for Collaborative Position Determination
CN101965050A (en) Use multi-beam to launch the method and apparatus of the position of estimating wireless station
WO2021208856A1 (en) Method for receiving positioning reference signal and user equipment
US11178591B2 (en) Ranging-specific MAC service and PIB attributes for IEEE 802.15.4Z
WO2021249410A1 (en) Positioning method, relay device, internet of things device, and network device
WO2019080132A1 (en) Data transmission method, terminal device and network device
CN114731521A (en) Communication method and communication device
US20180160394A1 (en) Data packet preparation
KR20160045809A (en) Apparatus, system and method of estimating a location of a mobile device
WO2022027504A1 (en) Information transmission method and related device
CN104486720B (en) A kind of localization method and device
WO2020042942A1 (en) Method and apparatus for changing frequency point
WO2022206777A1 (en) Communication method and apparatus
WO2023124753A1 (en) Resource allocation method and apparatus for d2d communication, and medium and program product

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 16912527

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 16912527

Country of ref document: EP

Kind code of ref document: A1