Positioning method and device, equipment, storage medium and computer program product
By directly interacting data between the user identification card and positioning/solution modules, the method simplifies MCU interactions, reducing complexity and costs in terminal positioning systems.
Patent Information
- Application Number
- CN202411307761.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-19
- Publication Date
- 2024-12-27
AI Technical Summary
The existing terminal positioning methods require multiple interactions between the microcontroller unit (MCU) and positioning and SIM cards, leading to high implementation complexity and increased research and development difficulty.
A positioning method that directly interacts data between the user identification card and the positioning and solution modules, reducing the need for MCU involvement by establishing interfaces for data transmission between these modules, thereby simplifying the MCU's role.
Reduces the number of interactions required for the MCU, lowering implementation complexity and development costs by integrating the positioning function module, solution module, and user identification card, enabling efficient high-precision positioning.
Smart Images

Figure CN119199937A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of positioning technology, and in particular to a positioning method, device, equipment, storage medium and computer program product. Background Art
[0002] In the prior art, the basic process of terminal positioning is that the microcontroller (MCU) obtains the approximate location data from the positioning module and sends it to the subscriber identity module (SIM), the SIM card sends the approximate location data to the positioning platform, the positioning platform feeds back differential data to the SIM card based on the approximate location data, the MCU reads the differential data from the SIM card regularly and forwards it to the positioning module, and the positioning module calculates the precise location data based on the differential data. It can be seen that the MCU needs to interact with the positioning module and the SIM card for multiple times before obtaining the precise location data, the implementation complexity of the MCU is high, and the research and development difficulty is relatively large. Summary of the invention
[0003] Based on this, the present invention provides a positioning method, device, equipment, storage medium and computer program product, which can reduce the number of times the microcontroller unit participates in data interaction by directly interacting data between the user identification card and the target module (positioning function module and / or solution module), avoid the high implementation complexity of the microcontroller unit, and thus reduce the difficulty of research and development.
[0004] To achieve the above object, an embodiment of the present invention provides a positioning method, which is applied to a terminal, wherein the terminal includes a positioning function module, a solution module and a user identification card, and the method includes:
[0005] When the micro control unit initiates a precise positioning request to the positioning function module, the positioning-related data of the terminal is obtained based on the positioning function module;
[0006] Sending initial positioning information to the positioning platform based on the user identification card; wherein the initial positioning information is determined by the positioning function module according to the positioning related data and forwarded to the user identification card, or is determined by the user identification card based on the positioning related information forwarded by the positioning function module;
[0007] Receiving differential data fed back by the positioning platform based on the user identification card;
[0008] Based on the solution module, the data required for precise positioning and the differential data are processed to obtain precise position data, which are fed back to the micro control unit through the positioning function module; wherein the differential data is directly forwarded to the solution module by the user identification card or forwarded to the solution module through the positioning function module; the data required for precise positioning is the data required for calculating the precise position data determined based on the positioning-related data, and is sent to the solution module by the positioning function module.
[0009] As an improvement of the above solution, a first interface is provided between the user identification card and the positioning function module, for realizing data transmission between the user identification card and the positioning function module;
[0010] A second interface is provided between the positioning function module and the solution module, for realizing data transmission between the positioning function module and the solution module;
[0011] A third interface is provided between the micro control unit and the positioning function module, for realizing data transmission between the micro control unit and the positioning function module.
[0012] As an improvement of the above solution, a fourth interface is provided between the solution module and the user identification card for realizing data transmission between the solution module and the user identification card.
[0013] As an improvement of the above solution, the positioning-related data includes the initial positioning information, or the initial positioning information is calculated by the positioning function module or the user identification card according to the positioning-related data.
[0014] As an improvement of the above solution, the differential data is forwarded by the user identification card directly to the solution module or forwarded to the solution module through the positioning function module in response to the differential data acquisition instruction, and the differential data acquisition instruction is sent by the positioning function module to the user identification card.
[0015] As an improvement of the above-mentioned scheme, the terminal also includes a communication module, and an independent bearer protocol channel is pre-established between the communication module and the positioning platform; the initial positioning information is sent to the positioning platform by the user identification card through the communication module and the independent bearer protocol channel, and the differential data is fed back to the user identification card by the positioning platform through the independent bearer protocol channel and the communication module.
[0016] To achieve the above object, an embodiment of the present invention further provides a positioning device, including:
[0017] A positioning function module, configured to obtain positioning-related data and send the positioning-related data or initial positioning data to a user identification card when receiving a precise positioning request initiated by a microcontroller unit; wherein the initial positioning information is data determined based on the positioning-related data;
[0018] The user identification card is used to send initial positioning information determined based on the positioning-related data to the positioning platform, and receive differential data fed back by the positioning platform based on the initial positioning information;
[0019] A solution module, used for receiving the data required for precise positioning and the differential data, calculating the precise location data according to the data required for precise positioning and the differential data, and sending the precise location data to the positioning function module; wherein the data required for precise positioning is the data required for calculating the precise location data determined according to the positioning related data, and is sent by the positioning function module to the solution module, and the differential data is directly forwarded to the solution module by the user identification card or forwarded to the solution module through the positioning function module;
[0020] The positioning function module is also used to receive the precise position data and feed it back to the micro control unit.
[0021] To achieve the above objectives, an embodiment of the present invention further provides a positioning device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the positioning method as described in any of the above embodiments when executing the computer program.
[0022] To achieve the above objectives, an embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored computer program, wherein when the computer program is running, the device where the computer-readable storage medium is located is controlled to execute the positioning method as described in any of the above embodiments.
[0023] To achieve the above objectives, an embodiment of the present invention further provides a computer program product, including a computer program / instructions, which, when executed by a processor, implement the steps of the positioning method as described in any of the above embodiments.
[0024] Compared with the prior art, the positioning method, device, equipment, storage medium and computer program product disclosed in the embodiments of the present invention are applied to a terminal, and the terminal includes a user identification card, a positioning function module and a solution module. After acquiring positioning-related data of the terminal, the positioning function module directly sends the positioning-related data or initial positioning information determined according to the positioning-related data to the user identification card, and sends the data required for accurate positioning determined according to the positioning-related data to the solution module. The user identification card sends the initial positioning information determined according to the positioning-related data to the positioning platform, without the participation of the micro control unit in forwarding the initial positioning information; the user identification card receives the differential data fed back by the positioning platform according to the initial positioning information, and forwards the differential data to the solution module through the positioning function module or directly sends the differential data to the solution module, without the participation of the micro control unit in forwarding the differential data; finally, the solution module calculates the accurate position data of the terminal according to the data required for accurate positioning and the differential data, and feeds the data back to the micro control unit through the positioning function module, so as to realize the positioning of the terminal. It can be seen that the embodiment of the present invention reduces the number of times the microcontroller unit participates in data interaction by directly performing data interaction between the user identification card and the target module (positioning function module and / or solution module), avoids excessive implementation complexity of the microcontroller unit, and thus reduces the difficulty of research and development. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] In order to more clearly illustrate the technical solution of the present invention, the drawings required for use in the implementation mode will be briefly introduced below. Obviously, the drawings described below are only some implementation modes of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0026] Figure 1 is a schematic diagram of the architecture of an existing terminal provided by an embodiment of the present invention;
[0027] Figure 2 is a flow chart of a positioning method provided by an embodiment of the present invention;
[0028] Figure 3 is a flow chart of a positioning method provided by an embodiment of the present invention;
[0029] Figure 4 is a flow chart of a positioning method provided by an embodiment of the present invention;
[0030] Figure 5 is a schematic diagram of the architecture of a terminal provided by an embodiment of the present invention;
[0031] Figure 6 is a schematic diagram of the architecture of a terminal provided by an embodiment of the present invention;
[0032] Figure 7 is a structural schematic diagram of a positioning device provided by an embodiment of the present invention;
[0033] Figure 8 It is a structural schematic diagram of a positioning device provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0034] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0035] See also Figure 1 , Figure 1 It is a schematic diagram of the architecture of an existing terminal. The existing positioning method is applied to the terminal 10. The terminal 10 includes a positioning module 110, a microcontroller 120 (MCU) and a communication module 130. The subscriber identification card 1301 (SIM) is arranged in the communication module 130. The positioning process is as follows: 1. The MCU 120 obtains the approximate location data from the positioning module 110; 2. The MCU 120 sends the approximate location data to the SIM card 1301 in the communication module 130; 3. The MCU 120 obtains differential data from the SIM card 1301 side: The SIM card 1301 sends the approximate location data to the positioning platform 60 through the BIP gateway 50 based on the BIP protocol, such as the One Point platform, One Point. nt platform calculates differential data and returns it to SIM card 1301. MCU120 periodically obtains the differential data from SIM card 1301. 4. MCU120 obtains precise location data: MCU120 forwards differential data to positioning module 110. Positioning module 110 calls the solution algorithm to calculate precise location data based on differential data. It can be seen that MCU120 needs to interact with positioning module 110 and communication module 130 for multiple times before it can obtain precise location data. The complexity of MCU implementation is relatively high, which is difficult for terminal manufacturers to develop and has certain development costs.
[0036] Based on this, an embodiment of the present invention provides a positioning method, see Figure 2 , Figure 2 1 is a flow chart of a positioning method provided by an embodiment of the present invention. Specifically, the positioning method is applied to a terminal, the terminal includes a positioning function module, a solution module and a user identification card, and the positioning method includes steps S11 to S14:
[0037] S11, when the micro control unit initiates a precise positioning request to the positioning function module, obtaining positioning-related data of the terminal based on the positioning function module;
[0038] S12, sending initial positioning information to the positioning platform based on the user identification card; wherein the initial positioning information is determined by the positioning function module according to the positioning related data and forwarded to the user identification card, or is determined by the user identification card based on the positioning related information forwarded by the positioning function module;
[0039] S13, receiving differential data fed back by the positioning platform based on the user identification card;
[0040] S14, based on the solution module, the data required for precise positioning and the differential data are processed to obtain precise position data, which are fed back to the micro control unit through the positioning function module; wherein the differential data is directly forwarded to the solution module by the user identification card or forwarded to the solution module through the positioning function module; the data required for precise positioning is the data required for calculating the precise position data determined based on the positioning-related data, and is sent by the positioning function module to the solution module.
[0041] In one example, see Figure 3 , Figure 3 : is a flow chart of a positioning method provided by an embodiment of the present invention. The terminal includes a positioning function module, a solution module, a SIM card, an MCU and a communication module. The specific flow of the positioning method is as follows:
[0042] 1. The MCU initiates a precise positioning request to the positioning function module, requesting precise location data.
[0043] 2. The positioning function module obtains positioning related data (the positioning related data includes initial positioning information, and the initial positioning information can be GGA data), and generates related APDU instructions; wherein, GGA is a data output format statement of the Global Positioning System (GPS), is the main data of a frame of GPS positioning, and is one of the most widely used data in the unified RTCM standard protocol (National Marine Electron Association, NMEA) format of GPS navigation devices; APDU's full name in English is Application Protocol Data Unit, and in Chinese it is Application Protocol Data Unit. In this embodiment, APDU is a basic information unit used to transmit commands and responses between the positioning function module and the SIM card.
[0044] 3. The positioning function module initiates a positioning data transmission request to the SIM card and sends the APDU command carrying GGA and other data to the SIM card side.
[0045] 4. The SIM card returns a command response and establishes a BIP link with a gateway (BIP gateway) that uses the Bearer Independent Protocol (BIP).
[0046] 5-1. The SIM card sends a differential data request carrying initial positioning information and other data to the BIP gateway based on the BIP protocol; 5-2. The BIP gateway forwards the differential data request to the high-precision positioning platform.
[0047] 6. The high-precision positioning platform calculates the differential data based on the initial positioning information carried in the differential data request.
[0048] 7-1. The high-precision positioning platform responds with differential data and sends the differential data to the BIP gateway; 7-The BIP gateway responds with differential data and feeds the differential data back to the SIM card.
[0049] 8. The SIM card stores differential data for high-precision positioning.
[0050] 9-1. The positioning function module periodically sends a differential data acquisition instruction to the SIM card side in APDU format; 9-2. The SIM card responds to the differential data acquisition instruction and sends the differential data to the positioning function module.
[0051] 10-1. The positioning function module initiates a precise position calculation request to the solution module, and sends the differential data and data required for precise positioning to the solution module for solution; wherein, the data required for precise positioning is the data required for calculating the precise position data determined based on the positioning-related data, such as the original observation data and other data; 10-2. The solution module calculates the precise position data based on the original observation data and the differential data; 10-3. The solution module makes a precise position response and sends the precise position data to the positioning function module.
[0052] 11. After the positioning function module obtains the precise location data, it responds with the precise location data and sends the precise location information to the MCU.
[0053] In another example, see Figure 4 , Figure 4 FIG. 1 is a flow chart of another positioning method provided by an embodiment of the present invention. The specific flow of the positioning method is as follows:
[0054] 1. The MCU initiates a precise positioning request to the positioning function module, requesting precise location data.
[0055] 2. The positioning function module obtains positioning related data (for example, the positioning related data is original observation data).
[0056] 3. The positioning function module calculates GGA data based on the original observation data.
[0057] 4. The positioning function module generates relevant APDU instructions based on GGA data.
[0058] 5. The positioning function module initiates a positioning data transmission request to the SIM card and sends the APDU command carrying GGA and other data to the SIM card side.
[0059] 6-1. The SIM card responds to the command, initiates a differential data request to the high-precision positioning platform, and sends the APDU command to the high-precision positioning platform; 6-2. The high-precision positioning platform calculates the differential data; 6-3. The high-precision positioning platform responds to the differential data and sends the differential data to the SIM card.
[0060] 7. The SIM card stores the differential data.
[0061] 8. The positioning function module sends a differential data acquisition instruction to the SIM card side in APDU format.
[0062] 9. The SIM card responds to the differential data acquisition instruction and sends the differential data to the solution module.
[0063] 10-1. The positioning function module initiates a precise position calculation request to the solution module, and sends the original observation data to the solution module for solution; wherein, the data required for precise positioning is the data required for calculating the precise position data determined based on the positioning-related data, such as the original observation data and other data; 10-2. The solution module calculates the precise position data based on the original observation data and the differential data; 10-3. The solution module makes a precise position response and sends the precise position data to the positioning function module.
[0064] 11. After the positioning function module obtains the precise location data, it responds with the precise location data and sends the precise location information to the MCU.
[0065] It is understandable that in Figure 3 and Figure 4 In the corresponding example, the MCU only needs to interact with the external module once to obtain the precise location data of high-precision positioning, which reduces the difficulty and cost of MCU development. Based on the positioning method, it can provide low-cost terminal manufacturers with an integrated high-precision positioning module. Terminal manufacturers do not need to do too much development work on the MCU to use high-precision positioning services.
[0066] It is understandable that when the positioning-related data does not include the initial positioning information, for example, when the positioning-related data is original observation data, the initial positioning information (such as Figure 4 As shown), the positioning function module may also send the positioning-related data to the SIM card, and the SIM card may calculate the initial positioning information based on the original observation data. That is, when the positioning-related data does not include the initial positioning information, the operation of calculating the initial positioning information based on the positioning-related data may be performed by the positioning function module or by the SIM card, which is not specifically limited herein.
[0067] Compared with the prior art, the embodiments of the present invention reduce the number of times the microcontroller unit participates in data interaction by directly performing data interaction between the user identification card and the target module (positioning function module and / or solution module), avoids excessive implementation complexity of the microcontroller unit, and thus reduces the difficulty of research and development.
[0068] In a preferred embodiment, a first interface is provided between the user identification card and the positioning function module, for realizing data transmission between the user identification card and the positioning function module;
[0069] A second interface is provided between the positioning function module and the solution module, for realizing data transmission between the positioning function module and the solution module;
[0070] A third interface is provided between the micro control unit and the positioning function module, for realizing data transmission between the micro control unit and the positioning function module.
[0071] Specifically, see Figure 5 , Figure 5 2 is a schematic diagram of the architecture of a terminal provided by an embodiment of the present invention. Taking the terminal as an Internet of Things terminal 20 as an example, the Internet of Things terminal 20 includes a positioning function module 211, a solution module 212, a SIM card 213, an MCU 220 and a communication module 230. The positioning function module 211, the solution module 212 and the SIM card 213 can form an integrated high-precision positioning module 210. Figure 3 The method steps shown can be applied to Figure 5In the terminal, a first interface IF1 is newly added between the positioning function module 211 and the SIM card 213, and the first interface IF1 is used to transmit initial positioning information, differential data, etc. A second interface IF2 is provided between the positioning function module 211 and the solution module 212, and the second interface IF2 can be used to transmit differential data, positioning-related data, precise location data, etc. A third interface IF3 is provided between the MCU220 and the positioning function module 211, and the third interface IF3 is used to transmit precise location data, precise positioning request data, etc. A fifth interface IF5 is provided between the SIM card 213 and the communication module 230, and is used to transmit initial positioning information, differential data, etc.
[0072] In this embodiment, the MCU initiates a precise positioning request to the positioning function module through the third interface. The positioning function module responds to the request and sends initial positioning information to the SIM card through the first interface. The SIM card sends the initial positioning information to the positioning platform, receives the differential data fed back by the positioning platform and feeds it back to the positioning function module through the first interface. The positioning function module sends the data required for precise positioning and the differential data to the solution module through the second interface to calculate the precise position data. The solution module feeds back the precise position information to the positioning function module through the second interface, and the positioning function module feeds back the precise position information to the MCU through the third interface. In the above process, the MCU does not need to interact with other modules multiple times, avoiding the high complexity of the implementation of the microcontroller unit, thereby reducing the difficulty of research and development.
[0073] In a preferred implementation, a fourth interface is provided between the solution module and the user identification card for implementing data transmission between the solution module and the user identification card.
[0074] Specifically, see Figure 6 , Figure 6 2 is a schematic diagram of the architecture of another terminal provided by an embodiment of the present invention. Taking the terminal as an Internet of Things terminal 20 as an example, the Internet of Things terminal 20 includes a positioning function module 211, a solution module 212, a SIM card 213, an MCU 220 and a communication module 230. The positioning function module 211, the solution module 212 and the SIM card 213 can form an integrated high-precision positioning module 210. Figure 3 or Figure 4 The method steps shown can be applied to Figure 6 In the terminal, Figure 6 The terminal shown is Figure 5 On the basis of the terminal architecture shown, a fourth interface IF4 is added between the solution module 212 and the SIM card 213. The fourth interface IF4 can be the original 7816 interface of the SIM card 213, which is used to transmit network authentication data, differential data, positioning related data, etc.
[0075] In this embodiment, the MCU initiates a precise positioning request to the positioning function module through the third interface. The positioning function module responds to the request and sends initial positioning information to the SIM card through the first interface. The SIM card sends the initial positioning information to the positioning platform, receives the differential data fed back by the positioning platform and feeds it back to the positioning function module through the fourth interface. The positioning function module sends the data required for precise positioning to the solution module through the second interface so that the solution module calculates the precise position data based on the data required for precise positioning and the differential data. The solution module feeds back the precise position information to the positioning function module through the second interface, and the positioning function module feeds back the precise position information to the MCU through the third interface. In the above process, the MCU does not need to interact with other modules multiple times, which avoids the high complexity of the implementation of the microcontroller unit, thereby reducing the difficulty of research and development.
[0076] In a preferred implementation, the positioning-related data includes the initial positioning information, or the initial positioning information is calculated by the positioning function module or the user identification card according to the positioning-related data.
[0077] Specifically, the positioning-related data may include but are not limited to original observation data, approximate position data and initial positioning information (such as GGA). When the positioning-related data does not include initial position information, the initial positioning information may be calculated based on the positioning-related data, such as calculating GGA based on the original observation data.
[0078] In a preferred embodiment, the differential data is forwarded by the user identification card directly to the solution module or forwarded to the solution module through the positioning function module in response to a differential data acquisition instruction, and the differential data acquisition instruction is sent by the positioning function module to the user identification card.
[0079] For example, in Figure 5 In the terminal architecture shown, after the positioning function module 211 sends a differential data acquisition instruction to the SIM card 213, the SIM card 213 forwards the differential data to the solution module 212 through the first interface IF1, the positioning function module 211 and the second interface IF2 in sequence. Figure 6 In the terminal architecture shown, after the positioning function module 211 sends a differential data acquisition instruction to the SIM card 213, the SIM card 213 forwards the differential data to the solution module 212 through the first interface, the positioning function module 211 and the second interface IF5 in sequence, or the SIM card 213 directly sends the differential data to the solution module 212 through the fourth interface IF4. Both of the above examples do not require the MCU to forward the differential data, which reduces the number of times the MCU participates in data forwarding, thereby reducing the complexity of MCU implementation and reducing research and development costs.
[0080] In a preferred embodiment, the terminal also includes a communication module, and an independent bearer protocol channel is pre-established between the communication module and the positioning platform; the initial positioning information is sent by the user identification card to the positioning platform through the communication module and the independent bearer protocol channel, and the differential data is fed back to the user identification card by the positioning platform through the independent bearer protocol channel and the communication module.
[0081] Specifically, see Figure 5 and Figure 6 The terminal architecture shown takes the Internet of Things terminal 20 as an example. The Internet of Things terminal 20 also includes a communication module 230. The SIM card 213 interacts with the positioning platform through the communication module 230. Specifically, the BIP protocol can be used to establish a BIP gateway between the communication module 230 and the positioning platform. The SIM card 213 sends the initial positioning information to the positioning platform through the communication module 230 and the BIP gateway in sequence, and the positioning platform feeds back the differential data to the SIM card 213 through the BIP gateway and the communication module 230 in sequence.
[0082] Compared with the prior art, the positioning method provided by the embodiment of the present invention, when the micro control unit initiates a precise positioning request to the positioning function module, after the positioning function module obtains the positioning related data of the terminal, the positioning related data or the initial positioning information determined according to the positioning related data is directly sent to the user identification card, and the data required for precise positioning determined according to the positioning related data is sent to the solution module, and the user identification card sends the initial positioning information determined according to the positioning related data to the positioning platform, without the micro control unit participating in the forwarding of the initial positioning information; the user identification card receives the differential data fed back by the positioning platform according to the initial positioning information, and forwards the differential data to the solution module through the positioning function module or directly sends the differential data to the solution module, without the micro control unit participating in the forwarding of the differential data; finally, the solution module calculates the precise location data of the terminal according to the data required for precise positioning and the differential data, and feeds it back to the micro control unit through the positioning function module, so as to realize the positioning of the terminal. It can be seen that the embodiment of the present invention reduces the number of times the micro control unit participates in data interaction by directly performing data interaction between the user identification card and the target module (positioning function module and / or solution module), avoids the high complexity of the implementation of the micro control unit, and thus reduces the difficulty of research and development.
[0083] See also Figure 7 , Figure 7 : is a schematic diagram of the structure of a positioning device provided by an embodiment of the present invention, wherein the positioning device 30 comprises:
[0084] The positioning function module 31 is used to obtain positioning related data and send the positioning related data or initial positioning data to the user identification card 32 when receiving the precise positioning request initiated by the micro control unit; wherein the initial positioning information is data determined according to the positioning related data;
[0085] The user identification card 32 is used to send the initial positioning information determined based on the positioning related data to the positioning platform, and receive the differential data fed back by the positioning platform based on the initial positioning information;
[0086] The solution module 33 is used to receive the data required for precise positioning and the differential data, calculate the precise location data according to the data required for precise positioning and the differential data, and send the precise location data to the positioning function module 31; wherein the data required for precise positioning is the data required for calculating the precise location data determined according to the positioning-related data, and is sent by the positioning function module 31 to the solution module 33, and the differential data is directly forwarded to the solution module 33 by the user identification card 32 or forwarded to the solution module 33 through the positioning function module 31;
[0087] The positioning function module 31 is also used to receive the precise position data and feed it back to the micro control unit.
[0088] In one embodiment, a first interface is provided between the user identification card 32 and the positioning function module 31, for realizing data transmission between the user identification card 32 and the positioning function module 31;
[0089] A second interface is provided between the positioning function module 31 and the solving module 33, for realizing data transmission between the positioning function module 31 and the solving module 33;
[0090] A third interface is provided between the micro control unit and the positioning function module 31 for realizing data transmission between the micro control unit and the positioning function module 31 .
[0091] In one implementation, a fourth interface is provided between the solution module 33 and the subscriber identification card 32 for implementing data transmission between the solution module 33 and the subscriber identification card 32 .
[0092] In one implementation, the positioning-related data includes the initial positioning information, or the initial positioning information is calculated by the positioning function module 31 or the user identification card 32 according to the positioning-related data.
[0093] In one embodiment, the positioning function module 31 is further used to send a differential data acquisition instruction to the user identification card 32 after sending the initial positioning data to the user identification card;
[0094] The user identification card 32 is also used to forward the differential data to the solution module 33 or forward it to the solution module 33 through the positioning function module 31 in response to the differential data acquisition instruction after receiving the differential data fed back by the positioning platform based on the initial positioning information.
[0095] In one embodiment, the positioning device further includes a communication module; the user identification card 32 is used to send the initial positioning information to the positioning platform, and receive the differential data fed back by the positioning platform based on the initial positioning information, including:
[0096] The user identification card 32 is used to send the initial positioning information to the communication module;
[0097] The communication module is used to receive the initial positioning information and send the initial positioning information to the positioning platform through an independent bearer protocol channel; wherein the independent bearer protocol channel is pre-established between the communication module and the positioning platform;
[0098] The communication module is further used to receive the differential data fed back by the positioning platform based on the initial positioning information through the independent bearer protocol channel, and send the differential data to the user identification card 32;
[0099] The user identification card 32 is used to receive the differential data.
[0100] It is worth noting that the specific working process of the positioning device can refer to the working process of the positioning method in any of the above embodiments, which will not be repeated here.
[0101] Compared with the prior art, the positioning device disclosed in the embodiment of the present invention directly performs data interaction between the user identification card and the target module (positioning function module and / or solution module), eliminating the need for the microcontroller unit to participate in forwarding initial positioning information and differential data, thereby reducing the number of times the microcontroller unit participates in data interaction, avoiding excessive implementation complexity of the microcontroller unit, and thus reducing research and development difficulty.
[0102] See also Figure 8 , Figure 8 is a structural diagram of a positioning device provided in an embodiment of the present invention. The positioning device 40 includes a processor 41, a memory 42, and a computer program stored in the memory 42 and configured to be executed by the processor 41. When the processor 41 executes the computer program, the steps in the above positioning method embodiment are implemented, for example Figure 1 or, the processor 41 implements the functions of each module in the above-mentioned device embodiments when executing the computer program.
[0103] Exemplarily, the computer program may be divided into one or more modules, which are stored in the memory 42 and executed by the processor 41 to complete the present invention. The one or more modules may be a series of computer program instruction segments capable of completing specific functions, and the instruction segments are used to describe the execution process of the computer program in the positioning device. For example, the computer program may be divided into multiple modules, and the specific functions of each module are as follows:
[0104] The positioning function module 31 is used to obtain positioning related data and send the positioning related data or initial positioning data to the user identification card 32 when receiving the precise positioning request initiated by the micro control unit; wherein the initial positioning information is data determined according to the positioning related data;
[0105] The user identification card 32 is used to send the initial positioning information determined based on the positioning related data to the positioning platform, and receive the differential data fed back by the positioning platform based on the initial positioning information;
[0106] The solution module 33 is used to receive the data required for precise positioning and the differential data, calculate the precise location data according to the data required for precise positioning and the differential data, and send the precise location data to the positioning function module 31; wherein the data required for precise positioning is the data required for calculating the precise location data determined according to the positioning-related data, and is sent by the positioning function module 31 to the solution module 33, and the differential data is directly forwarded to the solution module 33 by the user identification card 32 or forwarded to the solution module 33 through the positioning function module 31;
[0107] The positioning function module 31 is also used to receive the precise position data and feed it back to the micro control unit.
[0108] The specific working process of each module can refer to the working process of the positioning device described in the above embodiment, which will not be repeated here.
[0109] The positioning device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The positioning device may include, but is not limited to, a processor 41 and a memory 42. Those skilled in the art will appreciate that the positioning device may also include an input / output device, a network access device, a bus, etc.
[0110] The processor 41 may be a central processing unit (CPU), or other general processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. A general processor may be a microprocessor or any conventional processor, etc. The processor 41 is the control center of the positioning device, and various interfaces and lines are used to connect various parts of the entire positioning device.
[0111] The memory 42 can be used to store the computer program and / or module. The processor 41 implements various functions of the positioning device by running or executing the computer program and / or module stored in the memory 42 and calling the data stored in the memory 42. The memory 42 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, at least one application required for a function, etc.; the data storage area can store data created according to the use of the device, etc. In addition, the memory 42 can include a high-speed random access memory, and can also include a non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a smart memory card (Smart Med ia Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
[0112] Wherein, if the module integrated in the positioning device is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on such an understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor 41, the steps of the above-mentioned various method embodiments can be implemented. Wherein, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium can include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0113] An embodiment of the present invention further provides a computer program product, including a computer program / instruction, which, when executed by a processor, implements the steps of the positioning method described in any of the above embodiments, such as steps S11 to S14.
[0114] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.
Claims
1. A positioning method, applied to a terminal, characterized in that: The terminal includes a positioning function module, a solution module and a user identification card, and the method includes: When the micro control unit initiates a precise positioning request to the positioning function module, the positioning-related data of the terminal is obtained based on the positioning function module; Sending initial positioning information to the positioning platform based on the user identification card; wherein the initial positioning information is determined by the positioning function module according to the positioning related data and forwarded to the user identification card, or is determined by the user identification card based on the positioning related information forwarded by the positioning function module; Receiving differential data fed back by the positioning platform based on the user identification card; Based on the solution module, the data required for precise positioning and the differential data are processed to obtain precise position data, which are fed back to the micro control unit through the positioning function module; wherein the differential data is directly forwarded to the solution module by the user identification card or forwarded to the solution module through the positioning function module; the data required for precise positioning is the data required for calculating the precise position data determined based on the positioning-related data, and is sent to the solution module by the positioning function module.
2. The positioning method according to claim 1, characterized in that: A first interface is provided between the user identification card and the positioning function module, for realizing data transmission between the user identification card and the positioning function module; A second interface is provided between the positioning function module and the solution module, for realizing data transmission between the positioning function module and the solution module; A third interface is provided between the micro control unit and the positioning function module, for realizing data transmission between the micro control unit and the positioning function module.
3. The positioning method according to claim 2, characterized in that: A fourth interface is provided between the solution module and the user identification card, for realizing data transmission between the solution module and the user identification card.
4. The positioning method according to claim 1, characterized in that: The positioning related data includes the initial positioning information, or the initial positioning information is calculated by the positioning function module or the user identification card according to the positioning related data.
5. The positioning method according to claim 1, characterized in that: The differential data is directly forwarded to the solution module or forwarded to the solution module through the positioning function module by the user identification card in response to the differential data acquisition instruction, and the differential data acquisition instruction is sent to the user identification card by the positioning function module.
6. The positioning method according to claim 1, characterized in that: The terminal also includes a communication module, and an independent bearer protocol channel is pre-established between the communication module and the positioning platform; the initial positioning information is sent to the positioning platform by the user identification card through the communication module and the independent bearer protocol channel, and the differential data is fed back to the user identification card by the positioning platform through the independent bearer protocol channel and the communication module.
7. A positioning device, characterized in that: include: A positioning function module, configured to obtain positioning-related data and send the positioning-related data or initial positioning data to a user identification card when receiving a precise positioning request initiated by a microcontroller unit; wherein the initial positioning information is data determined based on the positioning-related data; The user identification card is used to send initial positioning information determined based on the positioning-related data to the positioning platform, and receive differential data fed back by the positioning platform based on the initial positioning information; A solution module, used for receiving the data required for precise positioning and the differential data, calculating the precise location data according to the data required for precise positioning and the differential data, and sending the precise location data to the positioning function module; wherein the data required for precise positioning is the data required for calculating the precise location data determined according to the positioning related data, and is sent by the positioning function module to the solution module, and the differential data is directly forwarded to the solution module by the user identification card or forwarded to the solution module through the positioning function module; The positioning function module is also used to receive the precise position data and feed it back to the micro control unit.
8. A positioning device, characterized in that: The method comprises a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor, wherein the processor implements the positioning method according to any one of claims 1 to 6 when executing the computer program.
9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored computer program, wherein when the computer program is executed, the device where the computer-readable storage medium is located is controlled to execute the positioning method according to any one of claims 1 to 6.
10. A computer program product comprising a computer program / instructions, characterized in that When the computer program / instructions are executed by a processor, the positioning method according to any one of claims 1 to 6 is implemented.
