CN115499913A - Positioning method, positioning device, positioning equipment, storage medium and program product - Google Patents

Positioning method, positioning device, positioning equipment, storage medium and program product Download PDF

Info

Publication number
CN115499913A
CN115499913A CN202211148997.6A CN202211148997A CN115499913A CN 115499913 A CN115499913 A CN 115499913A CN 202211148997 A CN202211148997 A CN 202211148997A CN 115499913 A CN115499913 A CN 115499913A
Authority
CN
China
Prior art keywords
terminal device
terminal
determining
positioning
signal strength
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN202211148997.6A
Other languages
Chinese (zh)
Inventor
田永胜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xi'an Ziguang Zhanrui Technology Co ltd
Original Assignee
Xi'an Ziguang Zhanrui Technology Co ltd
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 Xi'an Ziguang Zhanrui Technology Co ltd filed Critical Xi'an Ziguang Zhanrui Technology Co ltd
Priority to CN202211148997.6A priority Critical patent/CN115499913A/en
Publication of CN115499913A publication Critical patent/CN115499913A/en
Pending legal-status Critical Current

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
    • H04W64/006Locating users or terminals or network equipment for network management purposes, e.g. mobility management with additional information processing, e.g. for direction or speed determination
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B17/00Monitoring; Testing
    • H04B17/30Monitoring; Testing of propagation channels
    • H04B17/309Measuring or estimating channel quality parameters
    • H04B17/318Received signal strength
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Position Fixing By Use Of Radio Waves (AREA)

Abstract

According to the positioning method, the positioning device, the positioning equipment, the storage medium and the program product, the first terminal equipment establishes communication connection with at least one second terminal equipment, then obtains the first signal strength and the position of the at least one second terminal equipment, and determines the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment. Even if the satellite positioning of the first terminal equipment is invalid and the network signal is poor, the first terminal equipment can realize positioning through the positions of the terminal equipment nearby the first terminal equipment, and the user experience is improved.

Description

Positioning method, positioning device, positioning equipment, storage medium and program product
Technical Field
The present application relates to the field of communications technologies, and in particular, to a positioning method, apparatus, device, storage medium, and program product.
Background
In current mobile terminal devices, many applications APP (Application) have a positioning function. Such as a navigation APP, a shopping APP, or a social APP, among others.
Currently, the positioning methods of the terminal device are generally divided into two types: satellite positioning and network positioning. In network positioning, taking base station positioning as an example, in a registration state, a Subscriber Identity Module (SIM) of a terminal device may obtain a location of the terminal device through a specific algorithm by combining with a known location of a base station through signal differences between the terminal device and different base stations. In satellite positioning, after a satellite signal captured by terminal equipment, the change rate of a pseudo distance and a distance from the terminal equipment to a satellite can be measured, data such as satellite orbit parameters and the like can be demodulated, according to the data, the terminal equipment can perform positioning calculation according to a positioning calculation method, and information such as longitude and latitude, height, speed, time and the like of the geographic position where the terminal equipment is located can be calculated.
However, in the above positioning method, network positioning depends on the network, and when the network connection fails or the positioning credential is invalid, the positioning may fail. And the satellite positioning needs to be carried out in an open and unobstructed area to be successfully positioned. When the terminal equipment is in an area with invalid satellite positioning and limited network, the terminal equipment cannot be successfully positioned, and the use of a user is influenced.
Disclosure of Invention
The application provides a positioning method, a positioning device, a storage medium and a program product, which are used for solving the problem that in the related art, when a terminal device is in an area with invalid satellite positioning and limited network, the terminal device cannot be successfully positioned, and the use of a user is influenced.
In a first aspect, the present application provides a positioning method, including:
establishing a communication connection with at least one second terminal device;
acquiring a first signal strength and a first signal position of the at least one second terminal device;
and determining the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment.
In a possible implementation, determining the location of the first terminal device according to the first signal strength and the location of the at least one second terminal device includes:
determining a relative distance between the first terminal equipment and each second terminal equipment according to the first signal strength of the at least one second terminal equipment;
and determining the position of the first terminal equipment according to the relative distance between the first terminal equipment and each second terminal equipment and the position of the at least one second terminal equipment.
In one possible embodiment, the method is directed to any one of the second terminal devices; determining a relative distance between the first terminal device and the second terminal device according to the first signal strength of the second terminal device, including:
acquiring a second signal intensity corresponding to the environmental attenuation parameter and a preset distance;
determining a relative distance between the first terminal device and the second terminal device based on the first signal strength, the environmental attenuation parameter, and the second signal strength.
In a possible implementation, the number of the second terminal devices is 1;
determining the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of the at least one second terminal device, including:
and when the relative distance is smaller than or equal to a preset threshold value, taking the position of the second terminal device as the position of the first terminal device.
In a possible implementation manner, the number of the second terminal devices is multiple;
determining the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of the at least one second terminal device, including:
determining a circle corresponding to each second terminal device, wherein the circle center of the circle is the position of the second terminal device, and the radius of the circle is the relative distance between the second terminal device and the first terminal device;
determining an intersection of the plurality of circles;
and determining the position of the first terminal device according to the position of the intersection point of the circles.
In a possible implementation manner, before establishing the communication connection with the at least one second terminal device, the method further includes:
sending broadcast information;
receiving device information corresponding to the broadcast information sent by a plurality of communication devices;
determining the at least one terminal device among the plurality of communication devices according to the device information.
In one possible implementation, the determining the at least one terminal device in the plurality of communication devices according to the device information includes:
determining, among the plurality of communication devices, a communication device for which the device information includes an assisted location identification;
determining the communication device whose device information includes the assisted location identifier as the at least one second terminal device, in a possible implementation, the establishing a communication connection with the at least one second terminal device includes:
and when the satellite positioning and/or network positioning of the first terminal equipment fails, establishing communication connection with the at least one second terminal equipment.
In a second aspect, the present application provides a positioning device comprising:
the communication module is used for establishing communication connection with at least one second terminal device;
an obtaining module, configured to obtain a first signal strength and a first signal location of the at least one second terminal device;
and the determining module is used for determining the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment.
In a possible implementation, the determining module is specifically configured to:
determining a relative distance between the first terminal equipment and each second terminal equipment according to the first signal strength of the at least one second terminal equipment;
and determining the position of the first terminal equipment according to the relative distance between the first terminal equipment and each second terminal equipment and the position of the at least one second terminal equipment.
In one possible embodiment, the method is directed to any one of the second terminal devices; the determination module is further to:
acquiring a second signal intensity corresponding to the environmental attenuation parameter and a preset distance;
determining a relative distance between the first terminal device and the second terminal device based on the first signal strength, the environmental attenuation parameter, and the second signal strength.
In a possible implementation, the number of the second terminal devices is 1; the determination module is further to:
and when the relative distance is smaller than or equal to a preset threshold value, taking the position of the second terminal device as the position of the first terminal device.
In a possible implementation manner, the number of the second terminal devices is multiple; the determination module is further to:
determining a circle corresponding to each second terminal device, wherein the circle center of the circle is the position of the second terminal device, and the radius of the circle is the relative distance between the second terminal device and the first terminal device;
determining an intersection of the plurality of circles;
and determining the position of the first terminal equipment according to the positions of the intersection points of the circles.
In a possible embodiment, the positioning device further comprises: and a detection module.
The detection module is used for:
sending broadcast information;
receiving device information corresponding to the broadcast information sent by a plurality of communication devices;
determining the at least one second terminal device among the plurality of communication devices according to the device information.
In a possible implementation, the detection module is specifically configured to:
determining, among the plurality of communication devices, a communication device for which the device information includes an assisted location identification;
and determining the communication equipment of which the equipment information comprises the auxiliary positioning identification as the at least one second terminal equipment. In a possible implementation, the communication module is specifically configured to:
and when the satellite positioning and/or network positioning of the first terminal equipment fails, establishing communication connection with the at least one second terminal equipment.
In a third aspect, the present application provides a terminal device, including: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the positioning method according to the first aspect.
In a fourth aspect, the present application provides a computer-readable storage medium having stored therein computer-executable instructions for implementing the positioning method according to the first aspect when the computer-executable instructions are executed by a processor.
In a fourth aspect, the present application provides a computer program product comprising a computer program which, when executed by a processor, implements the positioning method of the first aspect.
In a fifth aspect, the present application provides a chip, on which a computer program is stored, and when the computer program is executed by the chip, the positioning method according to the first aspect is implemented. The chip can also be a chip module.
According to the positioning method, the positioning device, the positioning equipment, the storage medium and the program product, the first terminal equipment establishes communication connection with at least one second terminal equipment, then obtains the first signal strength and the position of the at least one second terminal equipment, and determines the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment. Even if the satellite positioning of the first terminal equipment is invalid and the network signal is poor, the first terminal equipment can realize positioning through the positions of the terminal equipment nearby the first terminal equipment, and the user experience is improved.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and, together with the description, serve to explain the principles of the application.
Fig. 1 is a schematic diagram of an application scenario in which the present application is applicable;
fig. 2 is a schematic flowchart of a positioning method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another positioning method according to a second embodiment of the present application;
fig. 4 is a schematic diagram of circles corresponding to two second terminal devices according to an example of the present application;
fig. 5 is a schematic diagram of circles corresponding to three second terminal devices according to an example of the present application;
fig. 6 is a schematic flowchart of another positioning method according to a third embodiment of the present application;
fig. 7 is a schematic structural diagram of a positioning device according to a fourth embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present application.
With the above figures, there are shown specific embodiments of the present application, which will be described in more detail below. The drawings and written description are not intended to limit the scope of the inventive concepts in any manner, but rather to illustrate the concepts of the application by those skilled in the art with reference to specific embodiments.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
At present, in order to satisfy the positioning functions of various APPs in mobile terminal equipment, the terminal equipment can complete positioning through two positioning modes, namely satellite positioning and network positioning.
In network positioning, taking base station positioning as an example, the SIM card of the terminal device may obtain the location of the terminal device through a specific algorithm by combining with the known location of the base station through signal differences between the SIM card and different base stations in a registered state. However, this method depends on the network, and when the network connection fails or the positioning credential is invalid, the positioning may fail.
In the satellite positioning, after a satellite signal captured by terminal equipment, the change rate of a pseudo distance and a distance from the terminal equipment to a satellite can be measured, data such as satellite orbit parameters and the like can be demodulated, according to the data, the terminal equipment can perform positioning calculation according to a positioning calculation method, and the geographic position of the terminal equipment is calculated. However, this method needs to be in an open and unobstructed area for successful positioning, i.e. the method depends on the environment of the area where the terminal device is located.
When satellite positioning and network positioning are invalid, how to acquire positioning information so as to improve user experience is an urgent problem to be solved.
Therefore, the positioning method provided by the application can be used for acquiring the positions and signal strengths of other terminal equipment through communication with other terminal equipment, such as bluetooth communication, and determining the positions according to the positions and the signal strengths to realize positioning, so that the user experience is improved.
In one possible implementation, the Signal Strength may be a Received Signal Strength Indicator (RSSI).
The RSSI is mainly used for measuring the distance between a transmitter and a receiver, and the RSSI ranging is based on the principle that radio waves or sound waves are transmitted in a medium, and the signal power is attenuated along with the propagation distance. According to the transmitting power of the known signal of the beacon node and the signal power received by the node, the distance between the nodes can be calculated through an attenuation model between the signal and the distance.
Because the signal is influenced by distance and obstacles in the process of signal propagation, the power intensity of the signal is attenuated along with the signal, and the precision is indirectly influenced. Good accuracy is required and this is only reflected by short distances.
For ease of understanding, an application scenario to which the embodiment of the present application is applied is described below with reference to fig. 1.
Fig. 1 is a schematic diagram of an application scenario applicable to the present application, and referring to fig. 1, the application scenario includes: terminal device 101, terminal device 102, terminal device 103, and terminal device 104. The terminal device 101, the terminal device 102, the terminal device 103, and the terminal device 104 can communicate by bluetooth.
Taking the terminal device 101 for positioning as an example, the terminal device 101 may establish a communication connection with the terminal device 102, the terminal device 103, and the terminal device 104, and then may determine the position of the terminal device 101 through the acquired signal strength and position of the terminal device 102, the terminal device 103, and the terminal device 104, so as to implement positioning of the terminal device 101.
It is understood that the number of the terminal devices 101, 102, 103 and 104 may be multiple, and is not shown in the figure.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following embodiments may exist independently or in combination, and the same or similar concepts or processes may not be described in detail in some embodiments. Embodiments of the present application will be described below with reference to the accompanying drawings.
Fig. 2 is a schematic flowchart of a positioning method according to an embodiment of the present application, where the method may be executed by a first terminal device, and with reference to fig. 2, the method includes the following steps.
S201, establishing communication connection with at least one second terminal device.
The first terminal device can establish a communication connection with at least one second terminal device to realize communication with the second terminal device.
In a possible implementation manner, the first terminal device may establish a communication connection with at least one second terminal device to acquire the position and the first signal strength of the second terminal device when the satellite positioning and/or the network positioning fails.
It is understood that the first terminal device may also establish a communication connection directly with the at least one second terminal device to achieve positioning. That is to say, the first terminal device does not need to establish a communication connection with the second terminal device when the satellite positioning and/or the network positioning fails, that is, the positioning method of the present application may be used as an optional positioning manner, for example, the first terminal device may preferentially use the positioning manner of the present application when performing the positioning, which is not limited by the present application.
For example, the first terminal device may establish a communication connection with a bluetooth module of at least one second terminal device via the bluetooth module.
S202, obtaining first signal strength and position of at least one second terminal device.
After the first terminal device establishes a communication connection with at least one second terminal device, the first terminal device may obtain a first signal strength and a position of the at least one second terminal device to determine the position of the first terminal device.
For example, the first signal strength may be RSSI, or may be other representations, and the location may be one or more of longitude, latitude, altitude, and other dimensions, which is not limited in this application.
S203, determining the position of the first terminal device according to the first signal strength and the position of at least one second terminal device.
The way in which the first terminal device determines its location from the first signal strength and the location of the at least one second terminal device may be, for example: and the first terminal equipment determines the relative distance between the first terminal equipment and each second terminal equipment according to the first signal strength, and then determines the position of the first terminal equipment according to the relative distance and the positions of the second terminal equipment.
In this embodiment, the first terminal device establishes a communication connection with at least one second terminal device, then obtains the first signal strength and the position of the at least one second terminal device, and determines the position of the first terminal device according to the first signal strength and the position of the at least one second terminal device. Even if the satellite positioning of the first terminal equipment is invalid and the network signal is poor, the first terminal equipment can realize positioning through the positions of the terminal equipment nearby the first terminal equipment, and the user experience is improved.
Next, S203 in the above embodiment is described by an embodiment, that is, the first terminal device determines the location of the first terminal device according to the first signal strength and the location of the at least one second terminal device.
Fig. 3 is a schematic flowchart of another positioning method provided in the second embodiment of the present application, where the method may be executed by a first terminal device, and with reference to fig. 3, the method includes the following steps.
S301, determining a relative distance between the first terminal device and each second terminal device according to the first signal strength of at least one second terminal device.
After the first terminal device obtains the first signal strength and the position of the at least one second terminal device, the first key device may determine a relative distance between the first key device and each second terminal device according to the first signal strength of the at least one second terminal device.
Specifically, the first terminal device may obtain the environment attenuation parameter and a second signal strength corresponding to the preset distance, and then determine the relative distance between the first terminal device and the second terminal device according to the first signal strength, the environment attenuation parameter, and the second signal strength.
Illustratively, the first signal strength is RSSI, and the first terminal device may calculate the relative distance according to the following formula:
Figure BDA0003856074400000081
wherein d is a relative distance between the first terminal device and each second terminal device, RSSI is a first signal strength, and a unit is dBm (decibel-milliwatt), a is a second signal strength corresponding to a preset distance, and the second preset distance may be 1m (meter), and the second signal strength is a signal strength at a distance of 1m between the terminal devices. n is an environmental attenuation parameter and can be between 3.25 and 4.5.
S302, determining the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of at least one second terminal device.
The first terminal device may determine the location of the first terminal device based on the relative distance and the location of the at least one second terminal device.
In a possible implementation manner, when the number of the second terminal devices is 1, the location of the second terminal device may be determined as the location of the first terminal device.
In a possible implementation manner, when the number of the second terminal devices is 1 and the relative distance is less than or equal to the preset threshold, the position of the first terminal device may be determined from the position of the second terminal device, so that the accuracy of the positioning may be further improved.
In a possible implementation manner, when the number of the second terminal devices is multiple, the first terminal device may determine a circle corresponding to each second terminal device, where a center of the circle is a position of the second terminal device, and a radius of the circle is a relative distance between the second terminal device and the first terminal device. And then determining the intersection points of the circles, and determining the position of the first terminal device according to the positions of the intersection points of the circles.
Specifically, the following describes in detail the determination of the position of the first terminal device when the number of the second terminal devices is plural, by taking the number of the second terminal devices as 2 and 3 as examples.
(1) The number of the second terminal devices is 2
Taking the position of the second terminal device as the center of the circle, and taking the relative distance between the second terminal device and the first terminal device as the radius, determining 2 circles corresponding to the second terminal device, where the circles corresponding to the two second terminal devices are as shown in fig. 4, and since the relative distance between the terminal devices is not too large, for convenience of calculation, the centers of the two circles may be regarded as being on a horizontal plane, and it can be understood that fig. 4 is a top view of the circles corresponding to the two second terminal devices.
Then, the position of the first terminal device may be a position at which any one of the two intersections in fig. 4 is located, i.e., point a and point B. The first terminal device may determine the location of the point a or the point B as its location.
(2) The number of the second terminal devices is 3
Similarly, since the relative distance between each terminal device is not too large, for convenience of calculation, the centers of the three circles may be regarded as being on a horizontal plane, and it can be understood that fig. 5 is a top view of the circles corresponding to the three second terminal devices.
The position of the first terminal device may then be the position of the intersection point in fig. 5, i.e. point D. The first terminal device may determine the location of the point D as its location.
Specifically, the intersection point of the two cases may be determined by the expression of each circle through each circle center and radius, then the coordinates of the two intersection points are obtained according to the intersection point calculation method, and the first terminal device may determine the position of the intersection point according to the coordinates of the intersection point.
Therefore, the more the number of the second terminal devices is, the more accurate the positioning is.
In the application, the first terminal device can determine the relative distance between the first terminal device and each second terminal device according to the first signal strength of at least one second terminal device, and then determine the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of at least one second terminal device, so that the positioning is relatively accurate, even if the satellite positioning of the first terminal device fails, and when the network signals are poor, the first terminal device can also pass through the positions of the terminal devices nearby the first terminal device, the positioning is realized, and the user experience is improved.
Next, S201 in the first embodiment is described through a third embodiment, that is, a detailed description is given of establishing a communication connection between the first terminal device and at least one second terminal device.
Fig. 6 is a flowchart of another positioning method provided in the third embodiment of the present application, where the method may be executed by a first terminal device, and with reference to fig. 6, the method includes the following steps.
And S601, sending the broadcast information.
Taking the example that the first terminal device communicates with the second terminal device through the bluetooth module, the first terminal device may send broadcast information through the bluetooth module, where the broadcast information may be a communication signal or other form of information, and the application is not limited to this.
S602, receiving device information corresponding to the broadcast information sent by the plurality of communication devices.
After each communication device in the bluetooth communication range receives the broadcast information, the device information corresponding to the broadcast information is sent to the first terminal device, for example, the device information may be a bluetooth name, so as to notify that each communication device of the refrigerator can perform communication.
S603, determining at least one second terminal device in the plurality of communication devices according to the device information.
In a possible implementation manner, the second terminal device may be provided with an auxiliary positioning identifier, and optionally, the auxiliary positioning identifier may be an attribute identifier of the bluetooth module.
The auxiliary positioning identifier is used for determining that the second terminal device supports an auxiliary positioning function, and the user can turn on or off the auxiliary positioning function, and if the user turns on the function, the device information of the second terminal device includes the auxiliary positioning identifier.
Then, the first terminal device may determine, among the plurality of communication devices, a communication device whose device information includes the auxiliary positioning identifier, and then determine, as the second terminal device, the communication device whose device information includes the auxiliary positioning identifier.
After determining the at least one second terminal device, for example, the first terminal device may establish a communication connection with the at least one second terminal device through the bluetooth module, and the first terminal device may pair with a bluetooth name corresponding to the at least one second terminal device through the bluetooth name of the bluetooth module of the first terminal device to establish the communication connection.
In this embodiment, the first terminal device may transmit the broadcast information and receive device information corresponding to the broadcast information transmitted by the plurality of communication devices, and then the first terminal device determines at least one second terminal device among the plurality of communication devices according to the device information, so that the first terminal device may exclude communication devices other than the non-terminal devices and communicate with the second terminal device to obtain the first signal strength and the position of the second terminal device.
Fig. 7 is a schematic structural diagram of a positioning apparatus according to a fourth embodiment of the present application, and as shown in fig. 7, the apparatus includes: a communication module 701, an acquisition module 702 and a determination module 703.
A communication module 701, configured to establish a communication connection with at least one second terminal device.
An obtaining module 702 is configured to obtain a first signal strength and a location of at least one second terminal device.
A determining module 703 is configured to determine a location of the first terminal device according to the first signal strength and the location of the at least one second terminal device.
In a possible implementation, the determining module 703 is specifically configured to:
and determining the relative distance between the first terminal equipment and each second terminal equipment according to the first signal strength of at least one second terminal equipment.
And determining the position of the first terminal equipment according to the relative distance between the first terminal equipment and each second terminal equipment and the position of at least one second terminal equipment.
In one possible embodiment, the method is directed to any one of the second terminal devices; the determining module 703 is further configured to:
and acquiring a second signal intensity corresponding to the environmental attenuation parameter and the preset distance.
And determining the relative distance between the first terminal equipment and the second terminal equipment according to the first signal strength, the environment attenuation parameter and the second signal strength.
In one possible embodiment, the number of the second terminal devices is 1; the determining module 703 is further configured to:
and when the relative distance is smaller than or equal to a preset threshold value, taking the position of the second terminal device as the position of the first terminal device.
In one possible implementation, the number of the second terminal devices is multiple; the determining module 703 is further configured to:
and determining a circle corresponding to each second terminal device, wherein the center of the circle is the position of the second terminal device, and the radius of the circle is the relative distance between the second terminal device and the first terminal device.
The intersection of the plurality of circles is determined.
And determining the position of the first terminal equipment according to the position of the intersection point of the circles.
In one possible embodiment, the positioning device further comprises: and a detection module.
The detection module is used for:
and transmitting the broadcast information.
And receiving the equipment information corresponding to the broadcast information sent by the plurality of communication equipment.
At least one second terminal device is determined among the plurality of communication devices based on the device information.
In a possible implementation, the detection module is specifically configured to:
determining, among the plurality of communication devices, a communication device for which the device information includes an assisted location identification.
And determining the communication equipment of which the equipment information comprises the auxiliary positioning identification as at least one second terminal equipment.
In a possible implementation, the communication module 701 is specifically configured to:
when the satellite positioning and/or network positioning of the first terminal equipment fails, a communication connection is established with at least one second terminal equipment.
The apparatus of this embodiment may be configured to perform the step of one of the positioning methods in the foregoing method embodiments, and the specific implementation manner and the technical effect are similar, which are not described herein again.
Fig. 8 is a schematic structural diagram of a terminal device according to a fifth embodiment of the present application, and as shown in fig. 8, the terminal device 80 may include: at least one processor 801 and a memory 802.
The memory 802 stores programs. In particular, the program may include program code including computer operating instructions.
The Memory 802 may include a Random Access Memory (RAM) and may further include a Non-Volatile Memory (Non-Volatile Memory), such as at least one disk Memory.
The processor 801 is configured to execute computer-executable instructions stored in the memory 802 to implement the methods described in the foregoing method embodiments. The processor 801 may be a Central Processing Unit (CPU), an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits configured to implement the embodiments of the present Application.
Optionally, the terminal device 80 may further include: a communication interface 803. In a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are implemented independently, the communication interface 803, the memory 802 and the processor 801 may be connected to each other through a bus and perform communication with each other. The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended ISA (EISA) bus, or the like. Buses may be divided into address buses, data buses, control buses, etc., but do not represent only one bus or type of bus.
Alternatively, in a specific implementation, if the communication interface 803, the memory 802 and the processor 801 are integrated into a chip, the communication interface 803, the memory 802 and the processor 801 may complete communication through an internal interface.
The terminal device 80 may be a chip, module, IDE, etc.
The terminal device of this embodiment may be configured to execute the technical scheme of one of the positioning methods in the foregoing method embodiments, and the specific implementation manner and the technical effect are similar and will not be described herein again.
An embodiment of the present application provides a computer-readable storage medium, where the computer-readable storage medium may include: various media capable of storing computer execution instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a RAM, a magnetic disk, or an optical disk, are stored in the computer-readable storage medium, and specifically, the computer execution instructions are stored in the computer-readable storage medium, and when being executed by a processor, the computer execution instructions are used to implement the technical solutions shown in the above method embodiments, and the specific implementation manner and the technical effects are similar, and are not described herein again.
A seventh embodiment of the present application provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the technical solution shown in the foregoing method embodiments is implemented, and a specific implementation manner and a technical effect are similar, and are not described herein again.
An eighth embodiment of the present application provides a chip, where a computer program is stored on the chip, and when the computer program is executed by the chip, the method shown in the foregoing method embodiment is implemented. The chip can also be a chip module.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the application being indicated by the following claims.
It will be understood that the present application is not limited to the precise arrangements that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (12)

1. A positioning method is applied to a first terminal device, and comprises the following steps:
establishing a communication connection with at least one second terminal device;
acquiring a first signal strength and a first signal position of the at least one second terminal device;
and determining the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment.
2. The method of claim 1, wherein determining the location of the first terminal device based on the first signal strength and the location of the at least one second terminal device comprises:
determining a relative distance between the first terminal device and each second terminal device according to the first signal strength of the at least one second terminal device;
and determining the position of the first terminal equipment according to the relative distance between the first terminal equipment and each second terminal equipment and the position of the at least one second terminal equipment.
3. The method of claim 2, wherein for any one second terminal device; determining a relative distance between the first terminal device and the second terminal device according to the first signal strength of the second terminal device, including:
acquiring a second signal intensity corresponding to the environment attenuation parameter and a preset distance;
determining a relative distance between the first terminal device and the second terminal device based on the first signal strength, the environmental attenuation parameter, and the second signal strength.
4. The method according to claim 2 or 3, characterized in that the number of the second terminal devices is 1;
determining the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of the at least one second terminal device, including:
and when the relative distance is smaller than or equal to a preset threshold value, taking the position of the second terminal device as the position of the first terminal device.
5. The method according to claim 2 or 3, characterized in that the number of the second terminal devices is plural;
determining the position of the first terminal device according to the relative distance between the first terminal device and each second terminal device and the position of the at least one second terminal device, including:
determining a circle corresponding to each second terminal device, wherein the circle center of the circle is the position of the second terminal device, and the radius of the circle is the relative distance between the second terminal device and the first terminal device;
determining an intersection of the plurality of circles;
and determining the position of the first terminal equipment according to the positions of the intersection points of the circles.
6. The method of claim 1, wherein before establishing the communication connection with the at least one second terminal device, further comprising:
sending broadcast information;
receiving device information corresponding to the broadcast information sent by a plurality of communication devices;
determining the at least one second terminal device among the plurality of communication devices according to the device information.
7. The method of claim 6, wherein the determining the at least one second terminal device in the plurality of communication devices according to the device information comprises:
determining, among the plurality of communication devices, a communication device for which the device information includes an assisted location identification;
and determining the communication equipment of which the equipment information comprises the auxiliary positioning identification as the at least one second terminal equipment.
8. The method according to any of claims 1-3, wherein said establishing a communication connection with at least one second terminal device comprises:
and when the satellite positioning and/or network positioning of the first terminal equipment fails, establishing communication connection with the at least one second terminal equipment.
9. A positioning device, comprising:
the communication module is used for establishing communication connection with at least one second terminal device;
an obtaining module, configured to obtain a first signal strength and a first signal location of the at least one second terminal device;
and the determining module is used for determining the position of the first terminal equipment according to the first signal strength and the position of the at least one second terminal equipment.
10. A terminal device, comprising: a processor, and a memory communicatively coupled to the processor;
the memory stores computer-executable instructions;
the processor executes computer-executable instructions stored by the memory to implement the positioning method of any one of claims 1-8.
11. A computer-readable storage medium, having stored thereon computer-executable instructions for implementing the positioning method according to any one of claims 1-8 when executed by a processor.
12. A computer program product, characterized in that it comprises a computer program which, when being executed by a processor, carries out the positioning method according to any one of claims 1-8.
CN202211148997.6A 2022-09-21 2022-09-21 Positioning method, positioning device, positioning equipment, storage medium and program product Pending CN115499913A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211148997.6A CN115499913A (en) 2022-09-21 2022-09-21 Positioning method, positioning device, positioning equipment, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211148997.6A CN115499913A (en) 2022-09-21 2022-09-21 Positioning method, positioning device, positioning equipment, storage medium and program product

Publications (1)

Publication Number Publication Date
CN115499913A true CN115499913A (en) 2022-12-20

Family

ID=84471055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211148997.6A Pending CN115499913A (en) 2022-09-21 2022-09-21 Positioning method, positioning device, positioning equipment, storage medium and program product

Country Status (1)

Country Link
CN (1) CN115499913A (en)

Similar Documents

Publication Publication Date Title
CN109541655B (en) Differential positioning system and method
CN100534235C (en) Method and system for validating mobile station location fix
US8364166B2 (en) System and method of position location transfer
CN109151818B (en) Terminal verification method, AP (access point) equipment, terminal and system
KR100984688B1 (en) Apparatus and method for determining a position of a compact base station by using user supplied location information in a broadband wireless communication system
CN103582121A (en) Indoor positioning system and method based on virtual Beidou satellite navigation signals
JPWO2005012939A1 (en) Terminal positioning method and system
CN103957594A (en) Method and device for positioning terminal
CN104918323A (en) Terminal location method and device
CN104581931A (en) Positioning method, device and terminal
CN113055949B (en) Positioning method, apparatus, device and medium
CN107771408B (en) Mobile terminal and positioning method thereof
CN105629262A (en) Positioning method, master device, slave device and positioning system
CN113873640B (en) Wireless communication equipment positioning method, system, device and computer storage medium
US20230254807A1 (en) Base station determination method, apparatus and device, and computer storage medium
CN105866729B (en) A kind of indoor orientation method and device based on user behavior characteristics
CN115499913A (en) Positioning method, positioning device, positioning equipment, storage medium and program product
CN106488556B (en) method and device for correcting offset of positioning signal
JP2005181025A (en) Mobile communication device
US10306585B2 (en) Signal determining method and apparatus
JP3458827B2 (en) Position calculation method, position calculation device, and mobile terminal
JP4099408B2 (en) Positioning system
KR101152384B1 (en) System and method for determining location of access point
JP4616539B2 (en) Positioning system, terminal device and terminal position tracking server
CN111277944A (en) Positioning method and positioning equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination