Equipment positioning method and device, storage medium and electronic equipment
By generating radio positioning signals similar to GPS signals in edge servers and using multiple edge servers for device positioning, the problem of low positioning accuracy of existing navigation systems in interference environments is solved, and high-precision and high-reliability positioning is achieved. Effect.
Patent Information
- Application Number
- CN202411046556.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-10-11
AI Technical Summary
Existing navigation system equipment has low positioning accuracy when affected by multipath signals, radio interference, buildings, mountains, extreme weather and other environments. Satellite navigation and positioning requires receiving multiple satellite signals, resulting in reduced accuracy or failure, and GPS cannot be used in non-local locations. When active, it takes a long time to download satellite data to correct positioning.
By adding a positioning signal generation module to the edge server, radio positioning signals similar to GPS signals are sent, and multiple edge servers are used for device positioning, reducing signal transmission distance and interference, and improving positioning accuracy.
It achieves high-precision positioning in an interference environment, avoids positioning inaccuracies caused by long-distance transmission of satellite signals, and improves the accuracy and reliability of equipment positioning.
Smart Images

Figure CN118764953A_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of navigation, and more specifically, to a method and apparatus for positioning a device, a storage medium, and an electronic device. Background Art
[0002] Currently, devices using navigation systems (such as GPS (Global Positioning System)) directly receive radio positioning signals from multiple system satellites, and then the receiver analyzes the positioning signals to determine the position of the receiver.
[0003] However, directly receiving satellite signals has the following disadvantages: 1. Multipath signals and radio interference cause interference to the received positioning signals, for example, the positioning is suddenly wrong or the accuracy is suddenly reduced; 2. Buildings, walls, mountains, extreme weather, and harsh atmospheric environments have strong interference to positioning signals. For example, in some buildings, basements, and extreme weather, mobile phone positioning services are often very inaccurate or even fail; 3. Generally, the higher the accuracy requirement for satellite navigation positioning, the more positioning signals from different satellites need to be received. Sometimes the positioning accuracy becomes low because the place cannot receive enough satellite positioning signals; 4. When GPS is turned on or GPS is inactive in the background for too long, GPS needs to download data from the satellite describing the position and timing of all satellites in the system. This may take five minutes or more to correct and may cause incorrect GPS tracking.
[0004] It can be seen that the positioning method of the device in the related art has the problem of low positioning accuracy. Summary of the invention
[0005] The embodiments of the present application provide a device positioning method and apparatus, a storage medium, and an electronic device to at least solve the problem of low positioning accuracy in the device positioning method in the related art.
[0006] According to an embodiment of the present application, a device positioning method is provided, comprising: receiving a radio positioning signal sent by each edge server of a plurality of edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server position of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server; when the number of edge servers among the plurality of edge servers is greater than or equal to a first number, positioning a receiving device according to the radio positioning signals sent by a group of first edge servers to obtain a first device position of the receiving device, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the plurality of edge servers.
[0007] According to another embodiment of the present application, a positioning device for a device is provided, comprising: a first receiving unit, configured to receive a radio positioning signal sent by each edge server of a plurality of edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generating module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server position of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server; a first positioning unit, configured to locate a receiving device according to the radio positioning signals sent by a group of first edge servers to obtain a first device position of the receiving device when the number of edge servers among the plurality of edge servers is greater than or equal to a first number, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the plurality of edge servers.
[0008] According to another embodiment of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when run.
[0009] According to another embodiment of the present application, an electronic device is provided, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0010] According to another embodiment of the present application, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0011] Through this application, a method of using an edge server to simulate a satellite navigation system is adopted. Since the edge server is deployed near a data source or a user-end device (i.e., a receiving device), a positioning signal generation module is added to the edge server to send a radio positioning signal similar to a GPS signal, so that the receiving device can capture more and better quality positioning signals more quickly, thereby obtaining high-precision positioning. Since the problems of inaccurate positioning and low accuracy caused by long-distance transmission of satellite positioning signals and interference in the transmission path are avoided, the problem of low positioning accuracy in the positioning method of the device in the related technology can be solved, thereby improving the accuracy of device positioning. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 is a schematic diagram of a hardware environment of a positioning method for a device according to an embodiment of the present application;
[0013] Figure 2 is a flow chart of a method for positioning a device according to an embodiment of the present application;
[0014] Figure 3 is a schematic diagram of a positioning method for a device according to an embodiment of the present application;
[0015] Figure 4 is a schematic diagram of another device positioning method according to an embodiment of the present application;
[0016] Figure 5 is a schematic diagram of a positioning method of another device according to an embodiment of the present application;
[0017] Figure 6 It is a structural block diagram of a positioning device of an optional device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0019] It should be noted that the terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0020] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0021] In this embodiment, a method for positioning a device is provided. Figure 1 is a schematic diagram of a hardware environment of a positioning method for a device according to an embodiment of the present application, such as Figure 1 As shown, a device positioning method according to an embodiment of the present application can be applied to a scenario in which device positioning is performed based on multiple edge servers. Optionally, a positioning signal generating module can be configured on the edge server.
[0022] Here, ECS (Edge Computing Server) is a server located at the edge of the network. The main purpose of edge servers is to reduce the transmission distance of data in the network, improve the response speed of data processing, and optimize the distribution of content. Edge servers are usually located at the edge of the user access network, such as at 5G network base stations, Internet service providers (ISP) aggregation points, or micro data centers in cities. Since edge servers are close to users, the delay of data transmission can be significantly reduced.
[0023] Figure 2 is a flow chart of a method for positioning a device according to an embodiment of the present application, such as Figure 2 As shown, the process includes the following steps:
[0024] Step S202: receiving a radio positioning signal sent by each edge server among the plurality of edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server location of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server;
[0025] With the development of global satellite navigation system technology, navigation and positioning has been widely used in the fields of resources and environment, disaster prevention and mitigation, surveying and mapping, power and telecommunications, etc. However, the vulnerability and limitations of satellite navigation systems at this stage have resulted in clear capacity deficiencies and gaps in satellite navigation system services, which are susceptible to various interferences in the environment, making it impossible for satellite navigation users to use satellite navigation systems at any time, in any place, and in any environment. This poses a serious threat to the safe, efficient, and stable operation of technologies and national infrastructure that rely on satellite navigation services.
[0026] With the popularization of the Internet and the rapid development of information technology, the amount of global data is growing at an alarming rate. In order to cope with this challenge, data processing has begun to sink, and edge computing has become increasingly important. Edge computing reduces the load on the computing center, optimizes network bandwidth storage resource consumption, improves latency, reduces loading time, and reduces the load on the source server. The implementation of edge computing requires the deployment of a large number of edge servers at the data source to support data processing. This large number of hardware resources deployed near the user terminal can be used to provide users with more services.
[0027] Currently, devices using the Global Positioning System directly receive radio positioning signals from multiple system satellites, and then the receiver analyzes the positioning signals to determine the location of the receiving device.
[0028] This direct reception of satellite signals has the following disadvantages: 1. Multipath signals and radio interference cause interference to the received positioning signals, and you can often see sudden positioning errors or sudden reductions in accuracy; 2. Buildings, walls, mountains, extreme weather, and harsh atmospheric environments have strong interference with positioning signals. For example, in some buildings, basements, and extreme weather, mobile phone positioning services are often very inaccurate or even ineffective; 3. The higher the accuracy requirements for satellite navigation positioning, the more positioning signals from different satellites need to be received. Sometimes the positioning accuracy becomes low because the place does not receive enough satellite positioning signals; 4. When GPS is turned on or GPS is inactive in the background for too long, GPS needs to download data from the satellite describing the position and timing of all satellites in the system. This may take five minutes or more to correct and may cause incorrect GPS tracking.
[0029] Here, a satellite description system is a system used to collect, manage, store and analyze satellite data information. It is commonly used in the aerospace field to support the design, manufacture, launch, operation and monitoring of satellites. The satellite description system contains a variety of data information. The following are some of the main data types:
[0030] 1. Basic satellite information: including the satellite’s name, model, manufacturer, launch time, launch location, expected lifespan, etc.
[0031] 2. Orbital parameters: describe the motion characteristics of the satellite in orbit, such as orbital altitude, orbital inclination, orbital period, orbital eccentricity, etc.
[0032] 3. Attitude control: describes how the satellite maintains its correct attitude in orbit, including the type of attitude control system, control algorithms, attitude stabilizers, etc.
[0033] 4. Navigation and communication systems: including satellite navigation systems (such as GPS, GLONASS, BeiDou, etc.) and communication systems (such as satellite phones, data transmission systems, etc.).
[0034] 5. Sensors and Payloads: Describe the instruments and equipment on board the satellite, such as imaging sensors, scientific experimental equipment, communication antennas, etc.
[0035] 6. Power system: including the satellite's solar panels, batteries, power management system, etc. These systems provide the satellite with the required electrical energy.
[0036] 7. Thermal Control Systems: Describes how satellites regulate internal temperature to protect sensitive equipment and systems, including radiators, insulation, heat pipes, etc.
[0037] 8. Propulsion system: includes the satellite's thrusters and fuel, used to adjust the orbital position or make attitude adjustments.
[0038] 9. Data processing and storage system: The data collected by the satellite needs to be processed and stored in the ground control center, so it is necessary to describe the methods and equipment for data transmission, processing and storage.
[0039] 10. Safety and protection measures: including the satellite's radiation resistance, measures to avoid impact with space debris, data encryption and security protocols, etc.
[0040] 11. Ground support facilities: Describe the ground facilities that support satellite operations, such as control centers, data receiving stations, maintenance facilities, etc.
[0041] 12. Mission and objectives: Describe the satellite’s main mission and objectives, such as Earth observation, communication, navigation, scientific research, etc.
[0042] These data are usually jointly managed and maintained by satellite manufacturers, launch service providers and ground control centers. The purpose of the satellite description system is to ensure that the satellite can operate smoothly according to the scheduled mission and to make adjustments and maintenance when necessary.
[0043] It can be seen that the positioning method of the device in the related art has the problem of low positioning accuracy.
[0044] In order to at least partially solve the above problems, in this embodiment, by utilizing the solution of simulating the satellite navigation system by using the edge server, the edge server is deployed near the data source or the user terminal device, and by adding a GPS signal generation module to the edge server, the edge server is turned into a positioning satellite, which transmits a positioning signal similar to the GPS signal, so that the terminal device can capture more and better quality positioning signals faster, thereby obtaining high-precision positioning, avoiding the problems of inaccurate positioning and low precision caused by long-distance transmission of satellite positioning signals and interference in the transmission path.
[0045] The basic principle of GPS positioning is as follows Figure 3 As shown in the figure, satellite navigation positioning is to determine the desired position based on the known position and the relative position by measuring the distance to the known position. In satellite navigation positioning, the motion state parameters of the navigation satellite are known, so the navigation satellite is the reference in this motion system. Therefore, the known position is the position of each satellite in the navigation system. The receiver position can be calculated by only calculating the relative position between the receiver and the visible satellite. When receiving signals, the receiver generally receives multiple satellite signals at the same time. By calculating the distance between the satellite and the receiver, the position of the receiver in the coordinate system can be calculated by simultaneous equations.
[0046] Among them, SV (Satellite Vehicle): SV is the abbreviation of satellite vehicle, which refers to the GPS satellites in orbit. Each GPS satellite is called an SV. These satellites help receivers determine their own positions by transmitting signals. The GPS system consists of about 30 active SVs, which are distributed in different orbits to provide global coverage.
[0047] P (Pseudorange): Pseudorange is an estimate of the distance from a GPS receiver (i.e., receiving device) to a specific GPS satellite. This distance is calculated by the difference between the timestamp when the receiver receives the satellite signal and the timestamp when the satellite transmits the signal. However, this pseudorange does not directly represent the true distance because it does not take into account the time delay when the signal propagates in the Earth's atmosphere. Therefore, the pseudorange needs to be corrected before it can be used for accurate positioning calculations.
[0048] In the GPS positioning process, the receiver needs to receive signals from at least four SVs at the same time and calculate their respective pseudoranges. Then, by solving a system of four equations, the position of the receiving device can be calculated.
[0049] In this embodiment, edge servers distributed throughout the city are used to build a ground GPS navigation and positioning system to shorten the distance between the GPS signal source and the terminal. The edge server is used to replace the navigation satellite in the above navigation system, and a satellite navigation signal transmission module is added to the edge server to build a ground GPS navigation system. The terminal receiver can receive navigation signals from navigation satellites and edge servers, so that when the satellite navigation signal is interfered, the terminal receiver can resolve the positioning by receiving the navigation signal sent by the edge server.
[0050] In this embodiment, the radio positioning signal sent by each edge server has its corresponding coverage range. When the receiving device is at the edge or dead spot covered by the radio positioning signal sent by a certain edge server, the receiving device may not receive the radio positioning signal sent by the edge server.
[0051] Optionally, the receiving device may receive radio positioning signals sent by multiple edge servers, that is, the receiving device is located within the coverage of the radio positioning signals sent by the multiple edge servers.
[0052] Here, the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of the server location of each edge server and indication information of the sending time of the radio positioning signal sent by each edge server.
[0053] Optionally, the indication information of the server location of the edge server may be determined based on, but not limited to, the following methods:
[0054] Configuration files: Edge servers are usually deployed with pre-configured location information, which may include the geographic coordinates of the server, the physical location it belongs to, etc. This configuration information can be loaded when the server is started, or updated through a network configuration management system when needed.
[0055] Network address information (IP address): Although the IP address itself does not directly provide location information, the physical location of the server can be inferred from the IP address. For example, the IP address of the server can point to a specific geographic location, or the physical location of the server can be queried through the DNS record.
[0056] Hardware positioning: Some edge servers may integrate hardware positioning functions, such as GPS modules, which can directly obtain their geographic location, that is, positioning based on navigation satellites.
[0057] Environmental awareness: Edge servers can use sensors or other environmental awareness devices to determine their location. For example, they can determine their location by detecting specific signals in the surrounding environment (such as Wi-Fi signals, Bluetooth signals, etc.).
[0058] Service Requests: In some cases, the location of an edge server can be inferred from information collected when processing a service request. For example, if an edge server processes data related to geolocation, it can infer its own location by analyzing that data.
[0059] Co-location: Multiple edge servers can communicate with each other and determine their respective locations through co-location algorithms. This approach usually requires complex communication protocols and algorithm support.
[0060] Optionally, the edge server can be synchronized with a time source to ensure that the timestamps of all operations are accurate. For example, this can be achieved through the Network Time Protocol (NTP) or a more advanced time synchronization protocol (such as PTP). These protocols allow the edge server to communicate with one or more time servers (referred to as timestamp servers) to obtain accurate timestamps. When the edge server is synchronized with the time source, the edge server can record the sending time of the signal on its internal clock, and when the radio positioning signal is sent, the edge server can attach the indication information of the sending time of the sending radio positioning signal to the radio positioning signal. Here, the time indicated by the indication information of the sending time of the sending radio positioning signal can correspond to the time displayed by the internal clock of the edge server when the radio positioning signal is sent.
[0061] Based on the indication information of the server locations of the plurality of edge servers and the indication information of the transmission time of the radio positioning signals transmitted by the corresponding edge servers, the location information of the receiving device, such as the longitude, latitude and altitude, may be determined.
[0062] Step S204: When the number of edge servers in the multiple edge servers is greater than or equal to the first number, positioning the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain a first device position of the receiving device, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers in the multiple edge servers.
[0063] Optionally, in order to simplify calculation, device positioning may be performed based on only the received radio positioning signals sent by some edge servers.
[0064] Taking the first number of 3 as an example, ideally, at least three GPS satellite signals are usually required to locate the device. This is because a three-dimensional position (longitude, latitude and altitude) can be determined using the signals of three satellites. This position can be calculated by solving a system of three equations.
[0065] However, in practical applications, more satellite signals are usually used to improve positioning accuracy. This is mainly because:
[0066] Multipath effect: Using multiple satellite signals can reduce the impact of multipath effect, which refers to the signal reaching the receiver through reflection or refraction of the ground, resulting in positioning errors.
[0067] Anti-interference capability: The combination of multiple satellite signals can enhance the anti-interference capability and improve the positioning accuracy in weak signal or interference environments.
[0068] Enhanced reliability: In certain situations, if one or more satellite signals are lost, other satellite signals can still be used to obtain a position fix.
[0069] Therefore, although three satellite signals are the minimum number required for basic positioning, using more satellite signals (usually at least four) can provide higher positioning accuracy and reliability. In some applications, five or more satellite signals may be required to achieve the required positioning accuracy.
[0070] That is, in this embodiment, the first number can be 3 or 4 or 5, etc., and this embodiment does not limit this.
[0071] Through the above steps, a radio positioning signal sent by each edge server among the multiple edge servers is received, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of the server position of each edge server and indication information of the sending time of the radio positioning signal sent by each edge server; when the number of edge servers among the multiple edge servers is greater than or equal to the first number, the receiving device is positioned according to the radio positioning signals sent by a group of first edge servers to obtain a first device position of the receiving device, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the multiple edge servers, thereby solving the problem of low positioning accuracy in the positioning method of the device in the related art.
[0072] In an exemplary embodiment, the method further comprises:
[0073] S11, receiving a satellite positioning signal sent by each first navigation satellite among a plurality of first navigation satellites, wherein the satellite positioning signal sent by each first navigation satellite carries indication information of the satellite position of each first navigation satellite and indication information of a sending time of the satellite positioning signal sent by each first navigation satellite;
[0074] S12, when the number of first navigation satellites in the plurality of first navigation satellites is greater than or equal to the second number, positioning the receiving device according to satellite positioning signals sent by a group of first target navigation satellites to obtain a second device position of the receiving device, wherein the group of first target navigation satellites includes at least the second number of first navigation satellites in the plurality of first navigation satellites;
[0075] S13, performing device position fusion on the first device position and the second device position to obtain a fused device position of the receiving device.
[0076] In order to improve positioning accuracy, in this embodiment, the device location determined by the edge server can be fused with the device location determined by the navigation satellite. The fusion method includes but is not limited to weighted summation of the first device location and the second device location.
[0077] Taking the second number being 4 as an example, implementing device positioning based on satellite positioning signals sent by navigation satellites may include the following steps:
[0078] Signal reception: A GPS receiver (i.e., a receiving device) can receive signals from at least four navigation satellites (e.g., GPS satellites). These signals contain the satellite's location information and a transmission time stamp.
[0079] Pseudorange measurement: Each satellite signal measured by the receiver has a pseudorange, which is the time required for the signal to be transmitted from the satellite to the receiver multiplied by the speed of light. Since the receiver's clock cannot be as accurate as the atomic clock on the satellite, this distance is called a pseudorange.
[0080] Satellite selection: The receiver selects the best satellite for positioning calculation based on signal strength and satellite geometric distribution.
[0081] Doppler Effect Correction: If a receiver can measure the Doppler shift of a signal, it can determine the signal's arrival time more accurately.
[0082] Atmospheric delay correction: Satellite positioning signals are delayed when passing through the atmosphere, and the receiver needs to correct for this delay. This usually involves calculating ionospheric and tropospheric delay models.
[0083] Navigation message decoding: The receiver decodes the navigation message received from the satellite to obtain the satellite's orbit information and other correction parameters.
[0084] Positioning algorithm: Using the received pseudoranges and satellite position information, the receiver runs a positioning algorithm to calculate its position on the earth. Optionally, a least squares method can be used.
[0085] Time Correction: The receiver uses the time information received from the satellite to correct its own clock.
[0086] Position calculation: By solving four equations (three spatial coordinates and a time correction), the receiver can determine its precise position (latitude, longitude and altitude).
[0087] Output positioning results: Finally, the receiver outputs the positioning results, including the latitude and longitude, altitude, time and possible positioning accuracy of the location.
[0088] Auxiliary technology: In order to improve positioning speed and accuracy, auxiliary technologies such as differential GPS (DGPS) and assisted GPS (A-GPS) can be used.
[0089] It should be noted that the second number may be the same as or different from the aforementioned first number, and this is not limited in this embodiment. Determining the device location based on the satellite positioning signal sent by the navigation satellite and the radio positioning signal sent by the edge server can be performed when the navigation satellite signal is normal, or when the number of satellite positioning signals sent by the received navigation satellite, which carry the indication information of the satellite position of the navigation satellite and the indication information of the sending time of the satellite positioning signal sent by the navigation satellite, is greater than or equal to 1, and less than or equal to the second number or the first number. At this time, the number of satellite positioning signals sent by the received navigation satellite, which carry the indication information of the satellite position of the navigation satellite and the indication information of the sending time of the satellite positioning signal sent by the navigation satellite, and the number of radio positioning signals sent by the received edge server, which carry the indication information of the server position of the edge server and the indication information of the sending time of the radio positioning signal sent by the edge server, should be greater than or equal to the first number or the second number.
[0090] Through this embodiment, by fusing the device location determined based on the edge server with the device location determined based on the navigation satellite, the precision and accuracy of device positioning can be improved.
[0091] In an exemplary embodiment, positioning a receiving device according to a radio positioning signal sent by a group of first edge servers to obtain a first device position of the receiving device includes:
[0092] S21, according to the radio positioning signal sent by each first edge server in a group of first edge servers, determining the server position of each first edge server and the transmission time of the radio positioning signal sent by each first edge server, wherein the transmission time of the radio positioning signal sent by each first edge server is the time taken for the radio positioning signal sent by each first edge server to be sent by each first edge server and received by a receiving device;
[0093] S22, adjusting the transmission time of the radio positioning signal sent by each first edge server according to the estimated value of the clock error corresponding to each first edge server, to obtain the adjusted transmission time of the radio positioning signal sent by each first edge server;
[0094] S23, determining a straight-line distance between each first edge server and the terminal device according to the adjusted transmission time of the radio positioning signal sent by each first edge server;
[0095] S24: Position the receiving device according to the server location of each first edge server and the straight-line distance between each first edge server and the terminal device to obtain a first device location of the receiving device.
[0096] Optionally, in this embodiment, performing device positioning based on radio positioning signals sent by three edge servers may include the following steps:
[0097] Step 1, receiving a radio positioning signal sent by an edge server;
[0098] The receiving device receives radio positioning signals sent by at least three edge servers, and the radio positioning signal sent by each edge server carries indication information of the server position of the edge server and indication information of the sending time of the radio positioning signal sent by the edge server.
[0099] Step 2, measuring pseudorange;
[0100] The receiving device measures the time delay from the edge server sending the radio positioning signal to the receiving device receiving the radio positioning signal. This time delay multiplied by the signal propagation speed (speed of light) is the distance from the receiving device to the edge server, that is, the pseudorange.
[0101] Step 3, establish the equation;
[0102] For each edge server, establish an equation of the form (xx i ) 2 +(yy i ) 2 +(zz i ) 2 =(c*δt i ) 2 .
[0103] Where (x, y, z) is the location coordinates of the receiving device; (x i ,y i , z i ) is the coordinate of the ith edge server; c is the speed of light; δt i is the time delay of the radio positioning signal sent by the edge server from edge server i to the receiving device.
[0104] Step 4, solve the system of equations;
[0105] Since there are 3 unknowns (the x, y, and z coordinates of the receiving device), at least 3 equations are needed to solve this problem. By solving this system of equations, the position of the receiving device can be obtained.
[0106] Optionally, the least square method or other numerical methods may be used to solve the equations to obtain the position of the receiving device, and various error corrections may be performed on the solved position to obtain more accurate position information.
[0107] This process can be completed automatically by the receiving device, and the user ultimately obtains location information such as the latitude, longitude and altitude of the receiving device.
[0108] Adjusting the transmission time of the radio positioning signal sent by the edge server according to the estimated value of the clock error corresponding to the edge server means correcting the pseudorange calculated by the receiving device by estimating the difference between the internal clock of the edge server and the earth reference time, such as the coordinated universal time UTC (i.e., the time error).
[0109] Optionally, the navigation message may include an estimate of the clock error corresponding to the edge server. Once the receiving device extracts the clock error estimate from the radio positioning signal sent by the edge server, it can be applied to the pseudorange calculation. By adding the clock error estimate to the pseudorange, the receiving device can calculate the difference between the internal clock of the edge server and the receiving device clock, thereby obtaining a more accurate pseudorange; by applying the clock error estimate, the receiving device can reduce the positioning error caused by the clock difference, thereby improving the accuracy of the device positioning.
[0110] Through this embodiment, the difference between the internal clock of the edge server and the clock of the receiving device is compensated based on the clock error estimate value, which can improve the positioning accuracy and help overcome the positioning error caused by the clock difference.
[0111] In an exemplary embodiment, the radio positioning signal sent by each edge server is formed by modulating a pseudo-random noise sequence, a data code sequence, and a carrier signal, and the data code sequence of the radio positioning signal sent by each edge server carries the indication information of the server location of each edge server and the indication information of the sending time of the radio positioning signal sent by each edge server;
[0112] Before positioning the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain the first device position of the receiving device, the method further includes:
[0113] S31, extracting, from a data code sequence of a radio positioning signal sent by each first edge server, indication information of a server location of each first edge server and indication information of a sending time of a radio positioning signal sent by each edge server, wherein the transmission time of the radio positioning signal sent by each first edge server is determined according to the sending time of the radio positioning signal sent by each edge server and the receiving time of the radio positioning signal sent by each edge server.
[0114] The data code, also known as the navigation message, includes the server location of the edge server. The data is encoded in binary form and encoded through an encoder (such as a convolutional encoder) to improve the signal's anti-interference ability and reliability. The encoded data code sequence is modulated onto a carrier signal together with a pseudo-random noise sequence (also known as a PRN code). The carrier signal is a high-frequency sine wave, whose frequency is much higher than the data code sequence and PRN code to be transmitted.
[0115] Optionally, in this embodiment, when the edge server sends a radio positioning signal, a current timestamp is embedded in the signal. This timestamp can be the reading of the internal clock of the edge server at the moment of signal transmission.
[0116] After receiving the radio positioning signal sent by the edge server, the receiving device extracts the timestamp from the navigation message. This timestamp represents the time when the signal was transmitted on the edge server.
[0117] Based on this, the receiving device can record the local time of arrival of the radio positioning signal sent by the edge server and compare it with the transmission time of the edge server. The receiving device can calculate the transmission time of the signal from the edge server to the receiving device.
[0118] In an exemplary embodiment, before receiving the radio positioning signal sent by each edge server in the plurality of edge servers, the method further includes:
[0119] S4 1, receiving a satellite positioning signal sent by each second navigation satellite among a plurality of second navigation satellites, wherein the satellite positioning signal sent by each second navigation satellite carries indication information of the satellite position of each second navigation satellite and indication information of a sending time of the satellite positioning signal sent by each second navigation satellite;
[0120] S42, when the number of second navigation satellites among the multiple second navigation satellites is greater than or equal to the third number, the second edge server is positioned according to the satellite positioning signals sent by a group of second target navigation satellites to obtain the server position of the second edge server, wherein the second edge server is an edge server among the multiple edge servers that receives the satellite positioning signal sent by each second navigation satellite.
[0121] Optionally, in this embodiment, the location information of the edge server may be determined based on a satellite positioning signal sent by a navigation satellite, that is, in this embodiment, the edge server may serve as a receiving device to receive a satellite positioning signal sent by a navigation satellite to perform device positioning.
[0122] It should be noted that the step of the edge server performing device positioning based on the satellite positioning signal sent by the navigation satellite may be similar to the aforementioned embodiment and will not be described in detail here.
[0123] In an exemplary embodiment, the positioning signal generation module of the second edge server includes a preset encoder, a preset pseudo-random noise sequence generator, a preset spread spectrum modulator, a preset carrier generator, and a preset modulator;
[0124] Before positioning the second edge server according to the satellite positioning signals sent by a group of second target navigation satellites to obtain the server location of the second edge server, the method further includes:
[0125] S51, encoding the navigation message into a binary data stream by a preset encoder, and adding an error detection code and an error correction code to obtain an encoded data code, wherein the navigation message includes indication information of a server location of the second edge server;
[0126] S52, generating a pseudo-random noise sequence by a preset pseudo-random noise sequence generator to obtain a target pseudo-random noise sequence, wherein the target pseudo-random noise sequence is used to modulate the signal, and the target pseudo-random noise sequence includes a coarse acquisition code and a fine code;
[0127] S53, performing a logical exclusive OR operation on the coded data code and the coarse acquisition code through a preset spread spectrum modulator to obtain a first spread spectrum signal, and performing a logical exclusive OR operation on the coded data code and the fine code through a preset spread spectrum modulator to obtain a second spread spectrum signal, so as to expand the bandwidth of the coded data code to be the same as the bandwidth of the target pseudo-random noise sequence;
[0128] S54, generating a group of carrier signals by a preset carrier generator, wherein a frequency band of a first carrier signal in the group of carrier signals is a first frequency band, and a frequency band of a second carrier signal in the group of carrier signals is a second frequency band;
[0129] S55, using a preset modulator to modulate the first spread spectrum signal using a first carrier signal to obtain a first modulated signal, and using a second carrier signal to modulate the second spread spectrum signal to obtain a second modulated signal;
[0130] S56, combining the first modulated signal and the second modulated signal, and amplifying the combined carrier signal to obtain a target positioning signal, wherein the target positioning signal is a radio positioning signal sent by the second edge server.
[0131] Optionally, in this embodiment, the positioning signal generating module may include a preset encoder, a preset pseudo-random noise sequence generator, a preset spread spectrum modulator, a preset carrier generator and a preset modulator.
[0132] Among them, the preset encoder is used to encode the navigation message into a binary data stream and add error detection and correction codes to improve the reliability of data transmission.
[0133] The preset pseudo-random noise sequence generator is used to generate a specific pseudo-random noise sequence (ranging code), usually a coarse acquisition code C / A code and a fine code P code. These codes can be implemented by a linear feedback shift register (LFSR).
[0134] Among them, C / A code: used for civilian purposes, it is a publicly available code that allows any GPS receiver to use it. The C / A code has a low code rate, is easy to capture, and is suitable for general positioning needs. P code: used for high-precision applications, it is an encrypted code that is not easily captured by unauthorized users. The P code has a higher code rate and provides higher accuracy.
[0135] The preset spread spectrum modulator is used to perform a logical exclusive OR (XOR) operation on the data code and the ranging code to realize spread spectrum modulation, and expand the bandwidth of the data code to the same bandwidth as the ranging code.
[0136] The preset carrier generator is used to generate a stable carrier signal, usually a sine wave. For example, the frequency of the first carrier signal may be the first frequency band L1 (1575.42 MHz), and the frequency of the second carrier signal may be the second frequency band L2 (1227.60 MHz).
[0137] The preset modulator is used to modulate the spread spectrum signal onto a carrier, usually using a binary phase shift keying (BPSK) technique.
[0138] Here, BPSK is a digital modulation technique that uses the phase change of a carrier signal to represent binary data. In BPSK, there are usually two phase states, corresponding to binary information "0" and "1".
[0139] Modulation process:
[0140] 1. Information signal (i.e., a first spread spectrum signal is obtained by performing a logical exclusive OR operation on the coded data code and the coarse acquisition code through a preset spread spectrum modulator, and a second spread spectrum signal is obtained by performing a logical exclusive OR operation on the coded data code and the fine code through a preset spread spectrum modulator).
[0141] The information signal is a binary sequence consisting of a series of 0s and 1s.
[0142] 2.Carrier signal.
[0143] The carrier signal is a high-frequency sine wave, which can be expressed as: A c cos(2πf c t+φ), where: A c is the carrier amplitude; f c is the carrier frequency; t is the time; φ is the carrier phase;
[0144] 3. Phase mapping.
[0145] In BPSK, each binary bit in the information signal is mapped to the phase of the carrier signal:
[0146] For a binary "0", the carrier phase is unchanged or set to 0 degrees.
[0147] For a binary "1", the carrier phase is shifted by 180 degrees (π radians).
[0148] 4. Modulation.
[0149] The modulation process involves the following steps:
[0150] Step 401: Generate an information signal; generate a binary information signal m(t) that varies with time, wherein the value of m(t) is either +1 (corresponding to binary "1") or -1 (corresponding to binary "0").
[0151] Step 402: Generate a carrier signal; Generate a high frequency carrier signal A c cos(2πf c t).
[0152] Step 403: multiplication process: multiply the information signal m(t) and the carrier signal to generate a modulated signal.
[0153] This process can be expressed by formula (1):
[0154] s(t)=m(t)*A c cos(2πf c t) (1)
[0155] When m(t) = +1 (corresponding to binary "1"), the modulated signal is A c cos(2πf c t).
[0156] When m(t) = -1 (corresponding to binary "0"), the modulation signal is -A ccos(2πf c t).
[0157] Step 404: The modulated signal s(t) is the product of the information signal and the carrier signal. When the information bit is "1", the modulated signal maintains the original phase of the carrier; when the information bit is "0", the phase of the modulated signal shifts by 180 degrees.
[0158] For example, in this embodiment, combined with Figure 4 The first level of modulation is to spread spectrum modulate the ranging code with the data code. Because the data code transmission rate is too slow, its transmission speed must be increased. The frequency of the ranging code (for example, C / A code) is 1.023MHz. The C / A code is used to expand the data code with a code rate of 50Hz to 1.023MHz. After the combination code (i.e., spread spectrum signal) is generated by modulation, it is modulated onto the carrier using BPSK to form a radio positioning signal transmitted to the receiving device. That is, the C / A code and the data code are XORed to obtain the first spread spectrum signal, the P code and the data code are XORed to obtain the second spread spectrum signal, the first spread spectrum signal is multiplied by the L1 carrier to obtain the first modulated signal, the second spread spectrum signal is multiplied by the L2 carrier to obtain the second modulated signal, and the first modulated signal and the second modulated signal are combined (weighted summation).
[0159] In an exemplary embodiment, before encoding the navigation message into a binary data stream by a preset encoder and adding an error detection code and an error correction code to obtain an encoded data code, the method further includes:
[0160] S6 1. Generate a navigation message according to a preset format, wherein the navigation message is a data code sequence carrying indication information of the server location of the second edge server and indication information of the sending time of the radio positioning signal sent by the second edge server, and each frame of the navigation message includes five subframes, the first subframe of the five subframes is used to record the indication information of the sending time of the radio positioning signal sent by the second edge server; the second subframe and the third subframe of the five subframes are used to record the indication information of the server location of the second edge server.
[0161] The navigation message has a specific structure, which is organized into a series of data blocks called "frames", each frame contains multiple subframes. Specifically, the navigation message is divided into multiple frames, for example, one frame every 30 seconds, each frame consists of 5 subframes, numbered 1 to 5.
[0162] Optionally, each subframe can last for 6 seconds, and each subframe can contain 300 words (30 bits per word), for a total of 9000 bits; Subframes 1, 2, and 3: These three subframes together constitute a complete page, each page contains 25 words, for a total of 75 words; Subframes 4 and 5: Each subframe contains the same information to improve data redundancy and reliability.
[0163] Optionally, subframe 1 may include clock correction parameters and UTC time correction data, ie, information indicating the transmission time of the radio positioning signal transmitted by the edge server. Subframes 2 and 3 may include information indicating the server location of the edge server.
[0164] For example, combined with Figure 5 In this embodiment, each subframe may consist of 300 words, each word is 30 bits, each word includes a 5-bit synchronization header (for frame synchronization), and finally 16 bits of data or parity bits.
[0165] The last word of each subframe usually contains a parity word to detect transmission errors.
[0166] The beginning of each subframe contains a cyclic redundancy check (CRC) code to detect and correct data errors.
[0167] The structural design of the navigation message enables the receiving device to effectively parse and utilize this information for positioning and navigation.
[0168] Alternatively, take GPS as an example. Since GPS navigation transmits signals via radio, it has all the disadvantages of radio. It is affected by many signals, such as radio waves, tall buildings, etc. GPS is blocked and reflected by walls, so it cannot be directly positioned indoors. GPS navigation has many errors: signal propagation caused by: ionospheric propagation delay, tropospheric propagation delay, multipath effect error, earth rotation, and system error.
[0169] In this application, by utilizing a large number of edge servers distributed in the city, GPS signals are transmitted at close range, the signal quality is guaranteed, and the interference received during signal propagation is reduced. By adding a GPS signal generation module to the edge server, a positioning signal similar to the GPS signal is transmitted, so that the receiving device can capture more and better positioning signals faster, thereby obtaining high-precision positioning, avoiding the problem of inaccurate positioning and low precision caused by long-distance transmission of satellite positioning signals and interference in the transmission path.
[0170] In order for the simulated GPS system built using edge servers to be more compatible with the original GPS system, it is necessary to generate and transmit a radio signal with the same structure as the GPS signal. The GPS signal sent by the GPS satellite is mainly composed of pseudo-random noise sequence, original data sequence and carrier signal modulation phase modulation. It consists of three parts, namely:
[0171] (1) Ranging code
[0172] There are two main types of GPS navigation ranging codes (PRN codes):
[0173] C / A code, coarse ranging code, mainly used for civil use, with public structure;
[0174] P code, precise positioning and ranging code, is mainly used in military applications, and its structure is not disclosed to the public. Both codes are pseudo-random noise codes.
[0175] (2)Data code:
[0176] The data code, also known as the navigation message, is a bipolar pulse string that includes detailed information such as the satellite's motion status and health status, with a code rate of 50b / s.
[0177] (3) Carrier.
[0178] GPS signals usually use carrier waves in the L1 and L2 frequency bands, with frequencies of 1575.42MHz and 1227.6MHz respectively. This is because the L band has three advantages: first, the L band has a low occupancy rate and has fewer conflicts with other bands; second, the low occupancy rate of the L band is suitable for transmitting spread spectrum data codes; third, the L band signal is less affected by ionospheric delay because of its relatively small attenuation, which also reduces the precision requirements for the receiving equipment.
[0179] In GPS signals, navigation messages refer to data code sequences that carry satellite motion state parameters and navigation data. These data include auxiliary information such as broadcast ephemeris, satellite health status, and operating cycle. Ephemeris mainly stores parameters related to satellite motion. Based on these parameters, the position and motion state of each satellite can be calculated, while almanac mainly stores parameters of satellite motion orbits. The receiver uses these parameters to help shorten the time to capture GPS signals. Navigation messages are equivalent to the identity card of each GPS signal. The terminal receiver determines which satellite the signal comes from and the information of the satellite by parsing the navigation message in the GPS signal. In order to be compatible with the GPS navigation system, in this application, each edge server generates its own exclusive navigation message by imitating the format of GPS satellite navigation messages.
[0180] The main frame of the navigation message contains 5 subframes, each subframe is 300 bits long, so the main frame length is 1500 bits. The first three frames of each satellite navigation message mainly record the satellite's almanac and clock correction. The fourth and fifth subframes record the almanac of all satellites in orbit. The transmission rate of the navigation message is 50b / s, and it takes 12.5 minutes to transmit all the navigation message data.
[0181] The three components of the GPS signal are all generated from the same common reference frequency f0 (f0 = 10.23MHz) and modulated into signals in the L band through spread spectrum technology. Spread spectrum technology can make low-code rate navigation messages more efficiently transmitted to GPS users.
[0182] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods of each embodiment of the present application.
[0183] According to another aspect of the embodiment of the present application, a positioning device for a device is also provided, and the device is used to implement the positioning method of the device provided in the above-mentioned embodiment, which has been described and will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the device described in the following embodiments is preferably implemented in software, the implementation of hardware, or a combination of software and hardware is also possible and conceived.
[0184] Figure 6 is a structural block diagram of a positioning device of a device provided in an embodiment of the present application, such as Figure 6 As shown, the device comprises:
[0185] The first receiving unit 602 is configured to receive a radio positioning signal sent by each edge server among the multiple edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generating module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server location of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server;
[0186] The first positioning unit 604 is used to locate the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain a first device position of the receiving device when the number of edge servers among the multiple edge servers is greater than or equal to the first number, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the multiple edge servers.
[0187] It should be noted that the first receiving unit 602 in this embodiment can be used to execute the above step S202, and the first positioning unit 604 in this embodiment can be used to execute the above step S204.
[0188] Through the embodiment of the present application, a radio positioning signal sent by each edge server among multiple edge servers is received, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of the server location of each edge server and indication information of the sending time of the radio positioning signal sent by each edge server;
[0189] When the number of edge servers among the multiple edge servers is greater than or equal to the first number, a receiving device is positioned according to a radio positioning signal sent by a group of first edge servers to obtain a first device position of the receiving device, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the multiple edge servers, thereby solving the problem of low positioning accuracy in the positioning method of the device in the related art.
[0190] In an exemplary embodiment, the above device further comprises:
[0191] a second receiving unit, configured to receive a satellite positioning signal sent by each of the plurality of first navigation satellites, wherein the satellite positioning signal sent by each of the first navigation satellites carries indication information of the satellite position of each of the first navigation satellites and indication information of a sending time of the satellite positioning signal sent by each of the first navigation satellites;
[0192] a second positioning unit, configured to, when the number of first navigation satellites in the plurality of first navigation satellites is greater than or equal to the second number, locate the receiving device according to satellite positioning signals sent by a group of first target navigation satellites to obtain a second device position of the receiving device, wherein the group of first target navigation satellites includes at least the second number of first navigation satellites in the plurality of first navigation satellites;
[0193] The fusion unit is used to fuse the first device position and the second device position to obtain a fused device position of the receiving device.
[0194] In an exemplary embodiment, the second positioning unit comprises:
[0195] A first determination module is configured to determine, according to the radio positioning signal sent by each first edge server in a group of first edge servers, the server position of each first edge server and the transmission time of the radio positioning signal sent by each first edge server, wherein the transmission time of the radio positioning signal sent by each first edge server is the time elapsed from the radio positioning signal sent by each first edge server to the radio positioning signal being received by the receiving device;
[0196] An adjustment module, configured to adjust the transmission time of the radio positioning signal sent by each first edge server according to the estimated value of the clock error corresponding to each first edge server, so as to obtain the adjusted transmission time of the radio positioning signal sent by each first edge server;
[0197] A second determination module is used to determine the straight-line distance between each first edge server and the terminal device according to the adjusted transmission time of the radio positioning signal sent by each first edge server;
[0198] The positioning module is used to locate the receiving device according to the server position of each first edge server and the straight-line distance between each first edge server and the terminal device to obtain the first device position of the receiving device.
[0199] In an exemplary embodiment, the radio positioning signal sent by each edge server is formed by modulating a pseudo-random noise sequence, a data code sequence, and a carrier signal, and the data code sequence of the radio positioning signal sent by each edge server carries the indication information of the server location of each edge server and the indication information of the sending time of the radio positioning signal sent by each edge server;
[0200] The above device also includes:
[0201] The extraction unit is used to extract the indication information of the server position of each first edge server and the indication information of the sending time of the radio positioning signal sent by each edge server from the data code sequence of the radio positioning signal sent by each first edge server before locating the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain the first device position of the receiving device, wherein the transmission time of the radio positioning signal sent by each first edge server is determined according to the sending time of the radio positioning signal sent by each edge server and the receiving time of the radio positioning signal sent by each edge server.
[0202] In an exemplary embodiment, the above device further comprises:
[0203] a third receiving unit, configured to receive a satellite positioning signal sent by each second navigation satellite among a plurality of second navigation satellites before receiving the radio positioning signal sent by each edge server among the plurality of edge servers, wherein the satellite positioning signal sent by each second navigation satellite carries indication information of the satellite position of each second navigation satellite and indication information of a sending time of the satellite positioning signal sent by each second navigation satellite;
[0204] A third positioning unit is used to locate the second edge server according to the satellite positioning signals sent by a group of second target navigation satellites to obtain the server position of the second edge server when the number of second navigation satellites among the multiple second navigation satellites is greater than or equal to the third number, wherein the second edge server is an edge server among the multiple edge servers that receives the satellite positioning signal sent by each second navigation satellite.
[0205] In an exemplary embodiment, the positioning signal generation module of the second edge server includes a preset encoder, a preset pseudo-random noise sequence generator, a preset spread spectrum modulator, a preset carrier generator, and a preset modulator;
[0206] The above device also includes:
[0207] A first execution unit is used to encode the navigation message into a binary data stream by a preset encoder and add an error detection code and an error correction code to obtain an encoded data code before locating the second edge server according to the satellite positioning signal sent by a group of second target navigation satellites to obtain the server position of the second edge server, wherein the navigation message includes indication information of the server position of the second edge server;
[0208] A second execution unit is used to generate a pseudo-random noise sequence by using a preset pseudo-random noise sequence generator to obtain a target pseudo-random noise sequence, wherein the target pseudo-random noise sequence is used to modulate the signal, and the target pseudo-random noise sequence includes a coarse acquisition code and a fine code;
[0209] a third execution unit, configured to perform a logical exclusive OR operation on the coded data code and the coarse acquisition code through a preset spread spectrum modulator to obtain a first spread spectrum signal, and perform a logical exclusive OR operation on the coded data code and the fine code through a preset spread spectrum modulator to obtain a second spread spectrum signal, so as to expand the bandwidth of the coded data code to be the same as the bandwidth of the target pseudo-random noise sequence;
[0210] A fourth execution unit, configured to generate a group of carrier signals by a preset carrier generator, wherein a frequency band of a first carrier signal in the group of carrier signals is a first frequency band, and a frequency band of a second carrier signal in the group of carrier signals is a second frequency band;
[0211] a fifth execution unit, configured to use a first carrier signal to perform signal modulation on the first spread spectrum signal through a preset modulator to obtain a first modulated signal, and use a second carrier signal to perform signal modulation on the second spread spectrum signal to obtain a second modulated signal;
[0212] The sixth execution unit is used to combine the first modulated signal and the second modulated signal, and amplify the combined carrier signal to obtain a target positioning signal, wherein the target positioning signal is a radio positioning signal sent by the second edge server.
[0213] In an exemplary embodiment, the above device further comprises:
[0214] A generating unit is used to generate a navigation message according to a preset format before encoding the navigation message into a binary data stream through a preset encoder and adding an error detection code and an error correction code to obtain an encoded data code, wherein the navigation message is a data code sequence carrying indication information of a server location of a second edge server and indication information of a sending time of a radio positioning signal sent by the second edge server, and each frame of the navigation message includes five subframes, a first subframe of the five subframes is used to record indication information of the sending time of the radio positioning signal sent by the second edge server; and a second subframe and a third subframe of the five subframes are used to record indication information of the server location of the second edge server.
[0215] An embodiment of the present application further provides a computer program product, which includes a computer program. When the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0216] An embodiment of the present application further provides another computer program product, including a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in any of the above method embodiments are implemented.
[0217] The embodiments of the present application also provide a computer program, which includes computer instructions, which are stored in a computer-readable storage medium; a processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the steps in any one of the above method embodiments.
[0218] An embodiment of the present application further provides a computer-readable storage medium, in which a computer program is stored, wherein the computer program is configured to execute the steps of any of the above method embodiments when running.
[0219] In an exemplary embodiment, the computer-readable storage medium may include, but is not limited to, various media that can store computer programs, such as a USB flash drive, a ROM (Read-Only Memory), a RAM (Random Access Memory), a mobile hard disk, a magnetic disk or an optical disk.
[0220] An embodiment of the present application further provides an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to execute the steps in any one of the above method embodiments.
[0221] In an exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor, and the input / output device is connected to the processor.
[0222] For specific examples in this embodiment, reference may be made to the examples described in the above embodiments and exemplary implementation modes, and this embodiment will not be described in detail herein.
[0223] Obviously, those skilled in the art should understand that the above modules or steps of the present application can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order from that herein, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present application is not limited to any specific combination of hardware and software.
[0224] The above are only preferred embodiments of the present application and are not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the principles of the present application shall be included in the protection scope of the present application.
Claims
1. A method for positioning a device, characterized in that: include: Receiving a radio positioning signal sent by each edge server among a plurality of edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generation module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server location of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server; When the number of edge servers among the multiple edge servers is greater than or equal to a first number, a receiving device is positioned according to a radio positioning signal sent by a group of first edge servers to obtain a first device position of the receiving device, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the multiple edge servers.
2. The method according to claim 1, characterized in that The method further comprises: Receiving a satellite positioning signal sent by each first navigation satellite among a plurality of first navigation satellites, wherein the satellite positioning signal sent by each first navigation satellite carries indication information of the satellite position of each first navigation satellite and indication information of a sending time of the satellite positioning signal sent by each first navigation satellite; In a case where the number of first navigation satellites in the plurality of first navigation satellites is greater than or equal to the second number, positioning the receiving device according to satellite positioning signals sent by a group of first target navigation satellites to obtain a second device position of the receiving device, wherein the group of first target navigation satellites includes at least the second number of first navigation satellites in the plurality of first navigation satellites; The first device position and the second device position are fused to obtain a fused device position of the receiving device.
3. The method according to claim 1, characterized in that The method of positioning the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain the first device position of the receiving device includes: Determine, according to the radio positioning signal sent by each first edge server in the group of first edge servers, the server position of each first edge server and the transmission time of the radio positioning signal sent by each first edge server, wherein the transmission time of the radio positioning signal sent by each first edge server is the time elapsed from when the radio positioning signal sent by each first edge server is sent by each first edge server to when it is received by the receiving device; Adjusting the transmission time of the radio positioning signal sent by each first edge server according to the estimated value of the clock error corresponding to each first edge server to obtain the adjusted transmission time of the radio positioning signal sent by each first edge server; Determining a straight-line distance between each first edge server and the terminal device according to the adjusted transmission time of the radio positioning signal sent by each first edge server; The receiving device is positioned according to the server location of each first edge server and the straight-line distance between each first edge server and the terminal device to obtain the first device location of the receiving device.
4. The method according to claim 3, characterized in that The radio positioning signal sent by each edge server is formed by modulating the phase of a pseudo-random noise sequence, a data code sequence and a carrier signal, and the data code sequence of the radio positioning signal sent by each edge server carries the indication information of the server position of each edge server and the indication information of the sending time of the radio positioning signal sent by each edge server; Before positioning the receiving device according to the radio positioning signals sent by a group of first edge servers to obtain the first device position of the receiving device, the method further includes: Extracting the indication information of the server location of each first edge server and the indication information of the sending time of the radio positioning signal sent by each edge server from the data code sequence of the radio positioning signal sent by each first edge server, wherein the transmission time of the radio positioning signal sent by each first edge server is determined according to the sending time of the radio positioning signal sent by each edge server and the receiving time of the radio positioning signal sent by each edge server.
5. The method according to any one of claims 1 to 4, characterized in that Before receiving the radio positioning signal sent by each edge server in the plurality of edge servers, the method further includes: Receiving a satellite positioning signal sent by each second navigation satellite among a plurality of second navigation satellites, wherein the satellite positioning signal sent by each second navigation satellite carries indication information of the satellite position of each second navigation satellite and indication information of a sending time of the satellite positioning signal sent by each second navigation satellite; When the number of second navigation satellites among the multiple second navigation satellites is greater than or equal to the third number, the second edge server is positioned according to the satellite positioning signals sent by a group of second target navigation satellites to obtain the server position of the second edge server, wherein the second edge server is an edge server among the multiple edge servers that receives the satellite positioning signal sent by each second navigation satellite.
6. The method according to claim 5, characterized in that The positioning signal generating module of the second edge server includes a preset encoder, a preset pseudo-random noise sequence generator, a preset spread spectrum modulator, a preset carrier generator and a preset modulator; Before positioning the second edge server according to the satellite positioning signals sent by a group of second target navigation satellites to obtain the server location of the second edge server, the method further includes: encoding the navigation message into a binary data stream by the preset encoder, and adding an error detection code and an error correction code to obtain an encoded data code, wherein the navigation message includes indication information of the server location of the second edge server; Generate a pseudo-random noise sequence by using the preset pseudo-random noise sequence generator to obtain a target pseudo-random noise sequence, wherein the target pseudo-random noise sequence is used to modulate a signal, and the target pseudo-random noise sequence includes a coarse acquisition code and a fine code; Performing a logical exclusive OR operation on the coded data code and the coarse acquisition code through the preset spread spectrum modulator to obtain a first spread spectrum signal, and performing a logical exclusive OR operation on the coded data code and the fine code through the preset spread spectrum modulator to obtain a second spread spectrum signal, so as to expand the bandwidth of the coded data code to be the same as the bandwidth of the target pseudo-random noise sequence; Generate a group of carrier signals by the preset carrier generator, wherein the frequency band of a first carrier signal in the group of carrier signals is a first frequency band, and the frequency band of a second carrier signal in the group of carrier signals is a second frequency band; Using the first carrier signal to modulate the first spread spectrum signal through the preset modulator to obtain a first modulated signal, and using the second carrier signal to modulate the second spread spectrum signal to obtain a second modulated signal; The first modulated signal and the second modulated signal are combined, and the combined carrier signal is amplified to obtain a target positioning signal, wherein the target positioning signal is a radio positioning signal sent by the second edge server.
7. The method according to claim 6, characterized in that Before encoding the navigation message into a binary data stream by the preset encoder and adding an error detection code and an error correction code to obtain an encoded data code, the method further includes: A navigation message is generated according to a preset format, wherein the navigation message is a data code sequence carrying indication information of the server location of the second edge server and indication information of the sending time of the radio positioning signal sent by the second edge server, and each frame of the navigation message includes five subframes, the first subframe of the five subframes is used to record the indication information of the sending time of the radio positioning signal sent by the second edge server; the second subframe and the third subframe of the five subframes are used to record the indication information of the server location of the second edge server.
8. A positioning device for an equipment, characterized in that: include: a first receiving unit, configured to receive a radio positioning signal sent by each edge server among a plurality of edge servers, wherein the radio positioning signal sent by each edge server is generated by a positioning signal generating module of each edge server, and the radio positioning signal sent by each edge server carries indication information of a server location of each edge server and indication information of a sending time of the radio positioning signal sent by each edge server; A first positioning unit is used to locate a receiving device according to a radio positioning signal sent by a group of first edge servers to obtain a first device position of the receiving device when the number of edge servers among the multiple edge servers is greater than or equal to a first number, wherein the receiving device is a terminal device that receives the radio positioning signal sent by each edge server, and the group of first edge servers includes at least the first number of edge servers among the multiple edge servers.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method according to any one of claims 1 to 7 when executed by a processor.
10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 7 are implemented.
Citation Information
Cited By
Server equipment positioning method and electronic equipment
CN121432327A
