CN114650503A - Position positioning method, terminal and storage medium - Google Patents

Position positioning method, terminal and storage medium Download PDF

Info

Publication number
CN114650503A
CN114650503A CN202011507996.7A CN202011507996A CN114650503A CN 114650503 A CN114650503 A CN 114650503A CN 202011507996 A CN202011507996 A CN 202011507996A CN 114650503 A CN114650503 A CN 114650503A
Authority
CN
China
Prior art keywords
terminal
position information
information
weight
location
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
CN202011507996.7A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202011507996.7A priority Critical patent/CN114650503A/en
Priority to PCT/CN2021/135774 priority patent/WO2022127636A1/en
Publication of CN114650503A publication Critical patent/CN114650503A/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
    • 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/029Location-based management or tracking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention provides a position positioning method, a terminal and a storage medium, and belongs to the field of positioning. The method comprises the following steps: receiving position request information sent by a first terminal, and acquiring position information of a second terminal based on the position request information; calculating the sharing weight of the second terminal according to the position information of the second terminal; sending the position information and the sharing weight of the second terminal to the first terminal, and enabling the first terminal to calculate the position information of the first terminal based on the position information and the sharing weight of the second terminal; the first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information. According to the technical scheme of the embodiment of the invention, when the terminal loses the position information, the lost position information can be supplemented by the position information of other terminals, and the accuracy of the obtained position information is improved.

Description

Position positioning method, terminal and storage medium
Technical Field
The present invention relates to the field of drive test positioning, and in particular, to a position positioning method, a terminal, and a storage medium.
Background
In a network optimization test scenario, a terminal is typically used to test the network quality. For single-terminal positioning, when the terminal loses position signals, timely position updating cannot be obtained, and the capability of continuously acquiring position information cannot be effectively guaranteed. In the testing process using multiple terminals, the situation that the position information of one terminal in the multiple terminals is lost and the other terminals normally receive the position information often occurs. In order to solve the problem of missing position information, an inertial navigation device or a triangulation method is usually adopted to perform point compensation on the missing position information, but the accuracy of point compensation in the later period is low.
Therefore, how to obtain the position of the terminal at the time when the position information is lost and improve the accuracy of the obtained position information become problems to be solved urgently.
Disclosure of Invention
Embodiments of the present invention provide a position locating method, a terminal and a storage medium, which aim to obtain a position of the terminal at a time when position information is lost, and improve accuracy of the obtained position information.
In a first aspect, an embodiment of the present invention provides a position location method, including:
receiving position request information sent by a first terminal, and acquiring position information of a second terminal based on the position request information; calculating the sharing weight of the second terminal according to the position information of the second terminal; sending the position information and the sharing weight of the second terminal to the first terminal, so that the first terminal calculates the position information of the first terminal based on the position information and the sharing weight of the second terminal; the first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information.
In a second aspect, an embodiment of the present invention further provides a terminal, where the terminal includes a processor, a memory, a GPS module, a computer program stored on the memory and executable by the processor, and a data bus for implementing connection communication between the processor and the memory, where the computer program, when executed by the processor, implements the steps of any one of the position location methods provided in the present specification.
In a third aspect, an embodiment of the present invention further provides a storage medium for a computer-readable storage, where the storage medium stores one or more programs, and the one or more programs are executable by one or more processors to implement the steps of any one of the position location methods provided in the present specification.
The embodiment of the invention provides a position positioning method, a terminal and a storage medium, and the position positioning method, the terminal and the storage medium realize the position positioning of a first terminal by receiving position request information sent by the first terminal, acquiring position information of a second terminal based on the position request information, then calculating sharing weight of the second terminal according to the position information of the second terminal, and finally retransmitting the position information and the sharing weight of the second terminal to the first terminal, so that the first terminal calculates the position information of the first terminal based on the position information and the sharing weight of the second terminal. The first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information. Through multi-terminal joint positioning, when the first terminal loses the positioning capability, the missing position information of the first terminal can be supplemented according to the position information of the second terminal, so that the first terminal can obtain the missing position information, and the accuracy of the obtained position information is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flow chart of a position location method according to an embodiment of the present invention;
FIG. 2 is a flow chart illustrating sub-steps of a position location method according to an embodiment of the present invention;
fig. 3 is a schematic flow chart of another position location method according to an embodiment of the present invention;
fig. 4 is a schematic block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
It is to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
The embodiment of the invention provides a position positioning method, a terminal and a storage medium. The position positioning method can be applied to a terminal, and the terminal can be an electronic device such as a mobile phone, a tablet computer, a notebook computer, a desktop computer, a personal digital assistant and a wearable device. In addition, the position positioning method can also be applied to a cloud end, and data processing and calculation are carried out on the cloud end.
The position positioning method provided by the embodiment of the invention can be applied to outdoor signals, namely, the environment of performing drive test positioning by using a plurality of terminals, can also be applied to the positioning scene of indoor inertial navigation equipment, and can endow the current inertial navigation indoor positioning information according to the external position information among the equipment, namely, the indoor positioning position can be obtained in real time.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart of a position location method according to an embodiment of the present invention.
As shown in fig. 1, the position locating method includes steps S101 to S103.
Step S101, receiving the position request information sent by the first terminal, and acquiring the position information of the second terminal based on the position request information.
The first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information.
When the terminal fails to collect the position information, the terminal serves as a first terminal to send position request information, and the position information of a second terminal is obtained based on the position request information.
In a specific implementation process, after the first terminal sends the location request information, each second terminal may obtain its own location information based on the location request information, so as to calculate the location information of the first terminal. Or the cloud end can respectively acquire the position information of each second terminal based on the position request information, so as to calculate the position information of the first terminal.
It is understood that the number of the first terminal and the second terminal may be plural. When the number of the first terminals is multiple, each first terminal sends a position request message, and after receiving the position request message, the position information of each second terminal is obtained, so that the position information of the first terminals can be calculated conveniently.
In a specific implementation process, the location information includes a MAC address, an IP address, a collection time of the location information, and location information collected at each collection time of the second terminal, where the location information collected at each collection time of the second terminal is geographical location information including a location longitude and a location latitude.
It is to be understood that, in the present application, when the position information of the first terminal is calculated based on the position information of the second terminal, the calculated position information of the first terminal is also geographical position information. In the calculation process, address information such as the MAC address and the IP address of the second terminal does not participate in data calculation.
In an embodiment, the location request information includes a starting time when the first terminal fails to acquire the location information; acquiring the position information of the second terminal based on the position request information, comprising: and acquiring a plurality of pieces of position information of the second terminal before the starting time based on the starting time.
The location request information includes a starting time when the first terminal fails to acquire the location information, that is, at which time the first terminal starts to acquire the location information abnormally. In a specific implementation process, the location request information may further include information such as a failure reason for failure in acquiring the location information and an IP address of the first terminal. For example, the reason for failure to collect location information may be that the GPS signal is weak.
When the position information of the second terminal is obtained, the position information may be obtained based on a starting time at which the first terminal cannot obtain the position information, that is, a plurality of position information collected by the second terminal before the starting time is obtained.
In one embodiment, the position information includes position information of the start time and a plurality of consecutive position information before the start time. That is, the acquired location information of the second terminal includes location information acquired by the second terminal at a start time when the first terminal cannot normally acquire the location information, and a plurality of continuous location information acquired by the second terminal before the start time.
For example, when the first terminal cannot normally acquire the location information from time T0, the starting time is time T0, and the location information acquired by the second terminal at time T0 and the location information acquired by the second terminal at several consecutive acquisition times before time T0 are acquired.
And step S102, calculating the sharing weight of the second terminal according to the position information of the second terminal.
After the position information of the second terminal is acquired, the sharing weight of the second terminal may be calculated according to the position information of the second terminal. The sharing weight refers to a capability weight of the second terminal contributing its own location information to the first terminal.
Because in the continuous smaller time window, the object is in the state of uniform motion. Whereas, generally speaking, the time interval between two adjacent acquisition instants of the second terminal is the same. For example, the second terminal collects position information at time T0, time T0+1 and time T0+2, respectively, and the time intervals between the three collection times are the same.
Therefore, it can be theoretically assumed that the moving distances of the second terminal between adjacent acquisition instants should be equal. That is, the moving distance D1 of the second terminal from time T0 to time T0+1 should be equal to the moving distance D2 of the second terminal from time T0+1 to time T0+2, i.e., D1 is equal to D2.
In consideration of the time-varying property of the GPS signal and the surrounding environment, the position information from the same terminal acquired at the same geographic position has time-domain fluctuation, that is, the position information of the second terminal has certain fluctuation. Thus, the sharing weight of the second terminal may be determined based on the change in the movement distance of the second terminal between the respective acquisition instants over a period of time.
If the change of the movement distance of the second terminal between the acquisition moments is larger, the accuracy of the position information acquired by the second terminal is considered to be not high, and correspondingly, the sharing weight of the second terminal is lower. On the contrary, if the change of the movement distance of the second terminal between the acquisition moments is smaller, the accuracy of the position information acquired by the second terminal is considered to be higher, and correspondingly, the sharing weight of the second terminal is higher.
In an embodiment, since each second terminal has a plurality of collected position information, the change state of the collected position information is different according to the difference of the motion state of the second terminal.
For example, when the moving speed of the second terminal is fast, the position of the second terminal changes more sharply, and when the moving speed of the second terminal is slow, the position of the second terminal changes more gently.
Therefore, in order to reduce the amount of calculation and improve the accuracy of the result of calculation, different amounts of position information can be selected from the collected position information according to the motion state of the second terminal for calculation, thereby ensuring that the sample point contribution can be more accurately positioned in the high-speed motion state.
For example, if the second terminal collects N pieces of location information, where N is greater than or equal to 1, when the moving speed of the second terminal is slow, the location change of the second terminal is not obvious, and therefore, less sample location information can be selected from the N pieces of location information for calculation. At the time of selection, random selection or other selection methods may be adopted.
When the moving speed of the second terminal is higher, the position change of the second terminal is more obvious, so that more position information can be selected from the N position information for calculation, and the position sharing precision is improved.
In an embodiment, please refer to fig. 2, and fig. 2 is a flowchart illustrating sub-steps of a position location method according to an embodiment of the present invention. Step S102 includes sub-step S1021 and sub-step S1022.
And a substep S1021, calculating a position weight of the second terminal according to the position information of the second terminal.
The position weight refers to the fluctuation of the movement distance of the second terminal between the acquisition moments, and specifically, the position weight may be determined by calculating a standard deviation of a position change of the second terminal.
In one embodiment, calculating the location weight of the second terminal according to the location information of the second terminal includes: determining a position change standard deviation of the second terminal according to the position information of the second terminal; and carrying out normalization processing on the position change standard deviation to obtain the position weight of the second terminal.
In a specific implementation process, a plurality of pieces of location information of the second terminal may be acquired, and then the standard deviation of location change of the second terminal may be determined according to the acquired plurality of pieces of location information. The position variation standard deviation refers to a distance variation standard deviation of a moving distance of the second terminal between the respective acquisition moments.
For example, when the first terminal cannot normally acquire the position information from the time T0, the position information acquired by the second terminal at K sampling times before the time T0 is acquired, and the moving distance of the second terminal between two adjacent acquisition times is calculated based on the K position information to calculate the position change standard deviation according to the moving distance.
In a specific implementation process, the calculation formula of the standard deviation of the position change may be:
Figure BDA0002845472950000041
where σ denotes a standard deviation of a position change, K denotes a sampling time, and d (t)i) The motion distance of the second terminal between the (i-1) th sampling moment and the ith sampling moment is represented, and r represents the mean value of the motion distances of the second terminal between every two adjacent sampling moments in the K sampling moments.
In a specific implementation process, the movement distance of the second terminal between two adjacent sampling moments can be calculated through the position information acquired by the second terminal at each sampling moment, and then the movement distance mean value is calculated according to a plurality of movement distances, so that the position change standard deviation can be calculated.
For example, if the sampling time is K, and the position information acquired by the corresponding second terminal is also K, the second terminal calculates that the movement distance between two adjacent sampling times is K-1. The calculated K-1 motion distances are added and divided by (K-1), and then the motion distance mean value can be obtained.
After the position change standard deviation σ of the second terminal is calculated, the position change standard deviation of the second terminal is normalized, so that the position weight w of the second terminal is obtained.
And a substep S1022 of calculating a sharing weight of the second terminal according to the location weight of the second terminal based on a sharing weight formula.
The smaller the value of the position standard deviation is, the smaller the fluctuation of the position information acquired by the second terminal in the K sampling moments is, the greater the sharing reliability of the position information is, that is, the greater the sharing weight of the position information is. Therefore, a sharing weight formula may be employed to calculate the sharing weight of the second terminal according to the location weight of the second terminal.
In a specific implementation process, the sharing weight formula may be:
Figure BDA0002845472950000051
wherein, ω isjRepresenting the sharing weight, w, of the second terminal jjIndicating the location weight of the second terminal j and N the total number of second terminals.
And step S103, transmitting the position information and the sharing weight of the second terminal to the first terminal, and enabling the first terminal to calculate the position information of the first terminal based on the position information and the sharing weight of the second terminal.
The position information of the second terminal and the sharing weight are transmitted to the first terminal together, so that the first terminal can calculate the position information of itself based on the acquired information, and the calculated position information is used as the position information at the time of the position missing.
In a specific implementation, the first terminal may calculate its location information based on the following formula.
Figure BDA0002845472950000052
Figure BDA0002845472950000053
Wherein x isT0Position information in x-direction, x, indicating absence of the first terminalT0Position information, ω, indicating the y-direction in which the first terminal is missingjRepresenting the sharing weight, x, of the second terminal jjIndicating the position information of the second terminal j in the x-direction, yjIndicating the position information of the second terminal j in the y direction, N indicating the second terminalThe total number of the cells.
In the position location method provided in the foregoing embodiment, the position request information sent by the first terminal is received, the position information of the second terminal is obtained based on the position request information, the sharing weight of the second terminal is calculated according to the position information of the second terminal, and finally the position information and the sharing weight of the second terminal are sent to the first terminal again, so that the first terminal calculates the position information of the first terminal based on the position information and the sharing weight of the second terminal, thereby implementing position location of the first terminal. The first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information. Through multi-terminal joint positioning, when the first terminal loses the positioning capability, the missing position information of the first terminal can be supplemented according to the position information of the second terminal, so that the first terminal can obtain the missing position information, and the accuracy of the obtained position information is improved.
Referring to fig. 3, fig. 3 is a schematic flow chart of another position location method according to an embodiment of the present invention.
As shown in fig. 3, the position locating method includes steps S201 to 204.
Step S201, a plurality of terminals are pre-configured, so that the terminals are in the same ad hoc network.
The method comprises the steps of pre-configuring a plurality of terminals for collecting position information and constructing an ad hoc network, so that the plurality of terminals are in the same ad hoc network, and position information sharing among the plurality of terminals is facilitated.
In the specific implementation process, each terminal in the ad hoc network respectively creates and maintains a position information summary table of itself. The location information summary table includes the MAC address of the terminal, the IP address allocated by the ad hoc network to the terminal, the time of acquiring the location information, the location information acquired at each acquisition time, the number of ad hoc network members, the start time of the positioning failure, and the like.
In one embodiment, the position location method includes: and receiving a joining request message sent by the terminal to be joined, and sending a joining response message to the terminal to be joined based on the joining request message, so that the terminal to be joined joins the ad hoc network based on the joining response message.
When a terminal to be added needs to be added into the ad hoc network, the terminal to be added sends a join request message to the terminal in the ad hoc network to apply for joining the ad hoc network. And after receiving the joining request message sent by the terminal to be joined, the terminal in the ad hoc network sends a joining response message to the terminal to be joined.
If the terminal to be added receives the addition response message, the terminal to be added can be added into the ad hoc network based on the addition response message, the successful addition message is broadcasted to other terminals in the ad hoc network, and meanwhile, a position information summary table of the terminal to be added is created and used for storing the contents such as position information and the like collected after the terminal to be added is added into the ad hoc network; and if the terminal to be joined does not receive the joining response message, the joining request message is retransmitted.
In the specific implementation process, as there may be a plurality of terminals in the ad hoc network, the terminal to be added may join the ad hoc network after receiving the join response message sent by at least one terminal in the ad hoc network.
In addition, when the terminal in the ad hoc network sends the join response message to the terminal to be joined, the join response message needs to be sent before the timer is cut off, that is, the join response message needs to be sent within the preset response time. If the preset response time is exceeded, the join response message may be considered as an invalid message.
In one embodiment, the position location method further comprises: and receiving IP information sent by the terminal to be added, maintaining the member information of the ad hoc network according to the IP information, and sending an IP receiving message to the terminal to be added based on the IP information.
After the terminal to be added joins the ad hoc network, the terminal to be added sends IP information to other terminals in the ad hoc network, wherein the IP information refers to an IP address distributed by the ad hoc network for the terminal to be added. After receiving the IP information, other terminals in the ad hoc network update their own location information summary table, that is, update the number of ad hoc network members in the location information summary table.
After receiving the IP information, other terminals in the ad hoc network send IP receiving information to the terminal to be added, which indicates that the IP information is received.
Step S202, receiving a position request message sent by the first terminal in the ad hoc network, and acquiring the position information of the second terminal based on the position request message.
The first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information. Therefore, it can be understood that when a terminal in the ad hoc network fails to acquire location information at a certain time, the terminal is referred to as a first terminal, and the rest terminals in the ad hoc network that can normally acquire location information are referred to as second terminals.
After failing to acquire the position information, the first terminal sends a position request message to a second terminal in the ad hoc network so as to acquire the position information of the second terminal based on the position request message.
Step S203, calculating the sharing weight of the second terminal according to the position information of the second terminal.
After the position information of the second terminal is acquired, the sharing weight of the second terminal may be calculated according to the position information of the second terminal. The sharing weight refers to a capability weight of the second terminal contributing its own location information to the first terminal.
In a specific implementation process, the position change standard deviation of the second terminal may be calculated according to the position information of the second terminal, and then the position change standard deviation of the second terminal is normalized to obtain the sharing weight of the second terminal.
When the number of the second terminals is multiple, the sharing weight of each second terminal is calculated respectively so as to calculate the position information of the first terminal.
And step S204, transmitting the position information and the sharing weight of the second terminal to the first terminal, and enabling the first terminal to calculate the position information of the first terminal based on the position information and the sharing weight of the second terminal.
And sending the position information of the second terminal and the sharing weight to the first terminal together, so that the first terminal can calculate the position information of the first terminal based on the acquired position information of the second terminal and the sharing weight, and using the calculated position information as the position information of the first terminal at the time of position missing.
In the position location method provided in the foregoing embodiment, an ad hoc network is formed by a plurality of terminals, then the position request information sent by a first terminal in the ad hoc network is received, the position information of a second terminal is obtained based on the position request information, then the sharing weight of the second terminal is calculated according to the position information of the second terminal, and finally the position information and the sharing weight of the second terminal are retransmitted to the first terminal, so that the first terminal calculates the position information of the first terminal based on the position information and the sharing weight of the second terminal, and the position location of the first terminal is realized. The first terminal is a terminal which fails to acquire the position information, and the second terminal is a terminal which can normally acquire the position information. Through multi-terminal joint positioning, when the first terminal loses the positioning capability, the missing position information of the first terminal can be supplemented according to the position information of the second terminal, so that the first terminal can obtain the missing position information, and the accuracy of the obtained position information is improved.
Referring to fig. 4, fig. 4 is a schematic block diagram of a terminal according to an embodiment of the present invention.
As shown in fig. 4, the terminal 300 includes a processor 301, a memory 302 and a GPS module 303, and the processor 301, the memory 302 and the GPS module 303 are connected by a bus 303, such as an I2C (Inter-integrated Circuit) bus.
In particular, the processor 301 is used to provide computing and control capabilities, supporting the operation of the entire terminal. The Processor 301 may be a Central Processing Unit (CPU), and the Processor 301 may also be other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Specifically, the Memory 302 may be a Flash chip, a Read-Only Memory (ROM) magnetic disk, an optical disk, a usb disk, or a removable hard disk.
It will be understood by those skilled in the art that the structure shown in fig. 4 is a block diagram of only a portion of the structure associated with an embodiment of the present invention, and does not constitute a limitation on the terminal to which an embodiment of the present invention is applied, and a particular server may include more or less components than those shown, or combine some components, or have a different arrangement of components.
The processor is configured to run a computer program stored in the memory, and when executing the computer program, implement any one of the position location methods provided by the embodiments of the present invention.
In an embodiment, the processor is configured to execute a computer program stored in the memory and to implement the following steps when executing the computer program:
receiving position request information sent by a first terminal, and acquiring position information of a second terminal based on the position request information; calculating the sharing weight of the second terminal according to the position information of the second terminal; sending the position information and the sharing weight of the second terminal to the first terminal, and enabling the first terminal to calculate the position information of the first terminal based on the position information and the sharing weight of the second terminal; the first terminal is a terminal which fails to collect the position information, and the second terminal is a terminal which can normally collect the position information.
In an embodiment, the location request information includes a starting time at which the first terminal fails to acquire the location information; when the processor is used for acquiring the position information of the second terminal based on the position request information, the processor is used for realizing that: and acquiring a plurality of pieces of position information of the second terminal before the starting time based on the starting time.
In an embodiment, the location information includes location information of the starting time and a plurality of consecutive location information before the starting time.
In an embodiment, the processor, when implementing the calculating of the sharing weight of the second terminal according to the location information of the second terminal, is configured to implement: calculating the position weight of the second terminal according to the position information of the second terminal; and calculating the sharing weight of the second terminal according to the position weight of the second terminal based on a sharing weight formula.
In an embodiment, the processor, when implementing the calculating the location weight of the second terminal according to the location information of the second terminal, is configured to implement: determining a position change standard deviation of the second terminal according to the position information of the second terminal; and carrying out normalization processing on the position change standard deviation to obtain the position weight of the second terminal.
In one embodiment, the processor is configured to: pre-configuring a plurality of terminals to enable the terminals to be in the same ad hoc network; when the processor receives the position request information sent by the first terminal, the processor is configured to implement: and receiving a position request message sent by the first terminal in the ad hoc network.
In one embodiment, the processor is configured to: and receiving a joining request message sent by a terminal to be joined, and sending a joining response message to the terminal to be joined based on the joining request message, so that the terminal to be joined joins the ad hoc network based on the joining response message.
In an embodiment, the processor is further configured to: and receiving the IP information sent by the terminal to be added, maintaining the member information of the ad hoc network according to the IP information, and sending an IP receiving message to the terminal to be added based on the IP information.
It should be noted that, as will be clearly understood by those skilled in the art, for convenience and brevity of description, the specific working process of the terminal described above may refer to the corresponding process in the foregoing embodiment of the position location method, and is not described herein again.
Embodiments of the present invention also provide a storage medium for computer-readable storage, the storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of any of the position location methods provided in the specification of the embodiments of the present invention.
The storage medium may be an internal storage unit of the terminal described in the foregoing embodiment, for example, a hard disk or a memory of the terminal. The storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the terminal.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware embodiment, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
It should be understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items and includes such combinations. It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art without departing from the scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A position location method, comprising:
receiving position request information sent by a first terminal, and acquiring position information of a second terminal based on the position request information;
calculating the sharing weight of the second terminal according to the position information of the second terminal;
sending the position information and the sharing weight of the second terminal to the first terminal, so that the first terminal calculates the position information of the first terminal based on the position information and the sharing weight of the second terminal;
the first terminal is a terminal which fails to acquire the position information, and the second terminal is a terminal which can normally acquire the position information.
2. The position location method according to claim 1, wherein the position request message includes a start time at which the first terminal failed to acquire the position information; the acquiring the location information of the second terminal based on the location request information includes:
and acquiring a plurality of pieces of position information of the second terminal before the starting time based on the starting time.
3. The position location method according to claim 2, wherein the position information includes position information of the start time and a plurality of consecutive position information before the start time.
4. The position location method according to claim 1, wherein the calculating the sharing weight of the second terminal according to the position information of the second terminal comprises:
calculating the position weight of the second terminal according to the position information of the second terminal;
and calculating the sharing weight of the second terminal according to the position weight of the second terminal based on a sharing weight formula.
5. The position location method according to claim 3, wherein the calculating the position weight of the second terminal according to the position information of the second terminal comprises:
determining a position change standard deviation of the second terminal according to the position information of the second terminal;
and carrying out normalization processing on the position change standard deviation to obtain the position weight of the second terminal.
6. The position location method of claim 1, further comprising:
pre-configuring a plurality of terminals to enable the terminals to be in the same ad hoc network;
the receiving the location request information sent by the first terminal includes:
and receiving a position request message sent by the first terminal in the ad hoc network.
7. The position locating method according to claim 5, characterized in that the method comprises:
and receiving a joining request message sent by a terminal to be joined, and sending a joining response message to the terminal to be joined based on the joining request message, so that the terminal to be joined joins the ad hoc network based on the joining response message.
8. The position location method of claim 6, further comprising:
and receiving the IP information sent by the terminal to be added, maintaining the member information of the ad hoc network according to the IP information, and sending an IP receiving message to the terminal to be added based on the IP information.
9. A terminal, characterized in that the terminal comprises a processor, a memory, a GPS module, a computer program stored on the memory and executable by the processor, and a data bus for enabling a connection communication between the processor and the memory, wherein the computer program, when executed by the processor, implements the steps of the position location method according to any of claims 1 to 8.
10. A storage medium for computer readable storage, characterized in that the storage medium stores one or more programs which are executable by one or more processors to implement the steps of the position location method of any of claims 1 to 8.
CN202011507996.7A 2020-12-18 2020-12-18 Position positioning method, terminal and storage medium Pending CN114650503A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202011507996.7A CN114650503A (en) 2020-12-18 2020-12-18 Position positioning method, terminal and storage medium
PCT/CN2021/135774 WO2022127636A1 (en) 2020-12-18 2021-12-06 Location positioning method, terminal, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011507996.7A CN114650503A (en) 2020-12-18 2020-12-18 Position positioning method, terminal and storage medium

Publications (1)

Publication Number Publication Date
CN114650503A true CN114650503A (en) 2022-06-21

Family

ID=81990823

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011507996.7A Pending CN114650503A (en) 2020-12-18 2020-12-18 Position positioning method, terminal and storage medium

Country Status (2)

Country Link
CN (1) CN114650503A (en)
WO (1) WO2022127636A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6885337B2 (en) * 2003-09-10 2005-04-26 Sony Ericsson Mobile Communications Ab Methods and apparatus for determining the position of a mobile terminal using localized source assistance information
CN102654579B (en) * 2012-05-04 2015-09-23 泰斗微电子科技有限公司 A kind of bimodulus based on supplementary or multimode locating terminal method for rapidly positioning and system
CN110139222A (en) * 2019-05-31 2019-08-16 中国联合网络通信集团有限公司 The method, apparatus of target position is obtained in real time
WO2021146847A1 (en) * 2020-01-20 2021-07-29 北京小米移动软件有限公司 Positioning processing method and apparatus, base station, terminal device, and storage medium

Also Published As

Publication number Publication date
WO2022127636A1 (en) 2022-06-23

Similar Documents

Publication Publication Date Title
US11960388B2 (en) System and method for data collection and analysis of information relating to mobile applications
US20140067452A1 (en) Intelligent work management based on satellite navigation system data and network node data
CN111490947B (en) Data packet sending method, data packet receiving method, system, equipment and medium
US20150317230A1 (en) Adjustment of Interrupt Timestamps of Signals from a Sensor Based on an Estimated Sampling Rate of the Sensor
US20160050529A1 (en) Location Information from a Mobile Device
KR20160065115A (en) Location source ranking for determining device location
US20170063985A1 (en) Global Logical Timestamp
CN110855394A (en) Time correction method, device, system, equipment and storage medium
US20210352609A1 (en) Site estimation based on crowd sourced data
US10951707B2 (en) Selection device, device selection method, and program
US11470167B2 (en) Method and apparatus for generating information
CN109699068B (en) Base station synchronization method and device
EP4120754A1 (en) Clock calibration method and apparatus
CN114650503A (en) Position positioning method, terminal and storage medium
US10171314B2 (en) Methods, apparatuses and computer program products to derive quality data from an eventually consistent system
CN110972071A (en) Multi-mode positioning method, positioning server, terminal and storage medium
US9253052B2 (en) Integration network device and service integration method thereof
CN113395319B (en) Method, system, electronic device and storage medium for sensing network fault
JP7100725B1 (en) Location estimation server, location estimation method, program, and communication terminal
CN110474787B (en) Node fault detection method and device
CN112313973B (en) Positioning method and device
CN111131497B (en) File transmission method and device, electronic equipment and storage medium
WO2016131221A1 (en) Method and apparatus for obtaining geographical position information
WO2023065879A1 (en) Destination navigation method and device
CN117675827A (en) Method, device, equipment and storage medium for redirecting edge node for client

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