Positioning related information interaction method and equipment
By using ciphertext blocks encrypted with different encryption keys in the positioning assistance information and decrypting them according to the contracting accuracy of the terminal, the problem of being unable to provide differentiated positioning services in the existing technology is solved, and positioning accuracy management of terminals and regions is realized. Security and user experience needs are met.
Patent Information
- Application Number
- CN202410593669.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-14
- Publication Date
- 2024-10-18
AI Technical Summary
Existing technology is difficult to provide differentiated high-precision positioning services in different terminals and regions, resulting in an inability to meet the security and user experience needs of specific regions and a lack of flexibility.
By using ciphertext blocks encrypted with different encryption keys in the positioning assistance information and decrypted according to the terminal's contract accuracy, differentiated positioning accuracy services are provided, allowing different terminals to enjoy positioning with different accuracy in different areas.
It realizes differentiated management of positioning accuracy for different terminals and areas, guarantees the security and user experience of special areas, and at the same time improves the economic benefits of operators.
Smart Images

Figure CN118804295A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a positioning related information interaction method and device. Background Art
[0002] At present, the high-precision positioning broadcast mode uses real-time kinematic (RTK) data collection and reporting technology, which is sent down through the 5G core network and wireless network. First, the Continuously Operating Reference Stations (CORS) base station periodically reports the Radio Technical Commission For Maritime Services (RTCM) message to the CORS base station platform. The platform rasterizes the RTCM message geographic grid area and forwards it to the Location Management Function (LMF). The LMF side is responsible for decoding and splitting the RTCM message, encapsulating it into the positioning system information block posSIB cell, and transparently transmitting it to the access network device side through the Assistance Information Control message (encrypted by the encryption key CipheringKey value). The access network device side periodically sends down the RTCM message segment according to the setting of the cell side location scheduling information list (posSchedulingInfoList). The UE side receives the RTK data broadcast based on the Radio Resource Control (RRC) protocol according to the instruction of posSchedulingInfoList, completes the RTK data decryption through the CipheringKey value received in the early stage, and obtains the actual distance of the terminal relative to multiple satellites to achieve high-precision positioning function. The entire business processing flow adopts a 5G site broadcast mode and is triggered by the upper layer. Terminals under the coverage of 5G cells (that have signed up for broadcast positioning services) can accept broadcast messages posSIBs in both RRC idle and connected states to complete high-precision positioning. For those skilled in the art, for the above scenarios, it is urgent to implement a differentiated positioning service for different terminals or positioning services. Summary of the invention
[0003] In view of the problems in the prior art, the embodiments of the present application provide a method and device for interacting with positioning-related information.
[0004] In a first aspect, an embodiment of the present application provides a method for interacting with positioning related information, which is applied to a terminal, including:
[0005] Receive positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each of the ciphertext blocks is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions;
[0006] The positioning assistance information is decrypted according to the encryption key corresponding to the terminal.
[0007] In a second aspect, an embodiment of the present application provides a method for interacting with positioning related information, which is applied to a first network device, including:
[0008] Sending positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0009] In a third aspect, an embodiment of the present application provides a method for interacting with positioning related information, which is applied to a second network device, including:
[0010] An encryption key corresponding to the terminal is sent to the terminal, and the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and the different encryption keys correspond to different signing accuracies.
[0011] In a fourth aspect, an embodiment of the present application provides a method for interacting with positioning related information, which is applied to a third network device, including:
[0012] receiving a first request sent by a second network device, where the first request is used to query positioning subscription information of a terminal;
[0013] The positioning contract information of the terminal is sent to the second network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0014] In a fifth aspect, an embodiment of the present application provides a method for interacting with positioning related information, which is applied to a fourth network device, including:
[0015] receiving a second request sent by a second network device, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: a contract accuracy of the terminal;
[0016] Send the encryption key corresponding to the terminal to the second network device.
[0017] In a sixth aspect, an embodiment of the present application provides a positioning-related information interaction device, which is applied to a terminal, including:
[0018] A receiving module, configured to receive positioning assistance information sent by a first network device; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions;
[0019] The processing module is used to decrypt the positioning auxiliary information according to the encryption key corresponding to the terminal.
[0020] In a seventh aspect, an embodiment of the present application provides a positioning-related information interaction device, which is applied to a first network device, including:
[0021] The sending module is used to send positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions.
[0022] In an eighth aspect, an embodiment of the present application provides a positioning-related information interaction device, which is applied to a second network device, including:
[0023] A sending module is used to send an encryption key corresponding to the terminal to a terminal, wherein the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and the different encryption keys correspond to different signing accuracies.
[0024] In a ninth aspect, an embodiment of the present application provides a positioning-related information interaction device, which is applied to a third network device, including:
[0025] A receiving module, configured to receive a first request sent by a second network device, wherein the first request is used to query the positioning subscription information of the terminal;
[0026] A sending module is used to send the positioning contract information of the terminal to the second network device, and the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0027] In a tenth aspect, an embodiment of the present application provides a positioning-related information interaction device, which is applied to a fourth network device, including:
[0028] A receiving module, configured to receive a second request sent by a second network device, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: a contract accuracy of the terminal;
[0029] A sending module is used to send the encryption key corresponding to the terminal to the second network device.
[0030] In an eleventh aspect, an embodiment of the present application provides a terminal, including a memory, a transceiver, and a processor;
[0031] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0032] Receive positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each of the ciphertext blocks is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions;
[0033] The positioning assistance information is decrypted according to the encryption key corresponding to the terminal.
[0034] In a twelfth aspect, an embodiment of the present application provides a first network device, including a memory, a transceiver, and a processor;
[0035] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0036] Sending positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0037] In a thirteenth aspect, an embodiment of the present application provides a second network device, including a memory, a transceiver, and a processor;
[0038] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0039] An encryption key corresponding to the terminal is sent to the terminal, and the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and the different encryption keys correspond to different signing accuracies.
[0040] In a fourteenth aspect, an embodiment of the present application provides a third network device, including a memory, a transceiver, and a processor;
[0041] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0042] receiving a first request sent by a second network device, where the first request is used to query positioning subscription information of a terminal;
[0043] The positioning contract information of the terminal is sent to the second network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0044] In a fifteenth aspect, an embodiment of the present application provides a fourth network device, including a memory, a transceiver, and a processor;
[0045] A memory for storing a computer program; a transceiver for transmitting and receiving data under the control of the processor; and a processor for reading the computer program in the memory and performing the following operations:
[0046] receiving a second request sent by a second network device, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: a contract accuracy of the terminal;
[0047] Send the encryption key corresponding to the terminal to the second network device.
[0048] In a sixteenth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the positioning-related information interaction method described in any one of the first to fifth aspects are implemented.
[0049] In a seventeenth aspect, an embodiment of the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of the positioning-related information interaction method described in any one of the first to fifth aspects.
[0050] The positioning-related information interaction method and device provided in the embodiment of the present application receive positioning assistance information sent by a first network device; the positioning assistance information includes: at least two ciphertext blocks, each ciphertext block is encrypted according to a different encryption key; different encryption keys correspond to different signing accuracies; the positioning assistance information is decrypted according to the encryption key corresponding to the terminal. In the above scheme, since different encryption keys correspond to different signing accuracies, differentiated services of positioning accuracy can be provided, which has greater flexibility and higher user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the present application or the prior art, a brief introduction will be given below to the drawings required for use in the embodiments or the description of the prior art. Obviously, the drawings described below are some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0052] Figure 1 This is one of the flow charts of the method for interacting with positioning related information provided in an embodiment of the present application;
[0053] Figure 2 This is one of the decryption process schematic diagrams of the positioning related information interaction method provided in the embodiment of the present application;
[0054] Figure 3 This is the second schematic diagram of the decryption process of the positioning related information interaction method provided in the embodiment of the present application;
[0055] Figure 4 This is the third schematic diagram of the decryption process of the positioning related information interaction method provided in the embodiment of the present application;
[0056] Figure 5 This is one of the interactive flow diagrams of the method for interacting with positioning related information provided in an embodiment of the present application;
[0057] Figure 6 This is the second flow chart of the method for interacting with positioning related information provided in an embodiment of the present application;
[0058] Figure 7 This is one of the encryption process diagrams of the method for interacting with positioning related information provided in an embodiment of the present application;
[0059] Figure 8 This is a third flow chart of the method for interacting with positioning related information provided in an embodiment of the present application;
[0060] Fig. 9 This is the second interactive flow diagram of the method for interacting with positioning related information provided in an embodiment of the present application;
[0061] Fig.10 This is the third interactive flow diagram of the method for interacting with positioning related information provided in an embodiment of the present application;
[0062] Fig.11 This is the fourth interactive flow diagram of the method for interacting with positioning related information provided in an embodiment of the present application;
[0063] Fig.12a This is the fifth interactive flow diagram of the method for interacting with positioning related information provided in the embodiment of the present application;
[0064] Figure 12b It is a schematic diagram of the principle of the method for interacting with positioning related information provided by an embodiment of the present application;
[0065] Fig.13 This is a fourth flow chart of the method for interacting with positioning related information provided in an embodiment of the present application;
[0066] Fig.14This is a fifth flow chart of the method for interacting with positioning related information provided in an embodiment of the present application;
[0067] Fig.15 This is one of the structural schematic diagrams of the positioning related information interaction device provided in the embodiment of the present application;
[0068] Fig.16 This is the second structural diagram of the positioning related information interaction device provided in the embodiment of the present application;
[0069] Fig.17 This is the third structural diagram of the positioning related information interaction device provided in the embodiment of the present application;
[0070] Fig.18 This is the fourth structural diagram of the positioning related information interaction device provided in the embodiment of the present application;
[0071] Fig.19 This is a fifth structural diagram of the positioning related information interaction device provided in an embodiment of the present application;
[0072] Fig. 20 is a schematic diagram of the structure of a terminal provided in an embodiment of the present application;
[0073] Fig.21 is a structural diagram of a first network device provided in an embodiment of the present application;
[0074] Fig. 22 is a schematic diagram of the structure of a second network device provided in an embodiment of the present application;
[0075] Fig.23 is a schematic diagram of the structure of a third network device provided in an embodiment of the present application;
[0076] Fig.24 It is a structural diagram of the fourth network device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be clearly and completely described below in conjunction with the drawings in the embodiments of this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0078] The technical solution provided in the embodiment of the present application can be applicable to a variety of systems, such as 5G system or 6G system. For example, the applicable system can be a global system of mobile communication (GSM) system, a code division multiple access (CDMA) system, a wideband code division multiple access (WCDMA) general packet radio service (GPRS) system, a long term evolution (LTE) system, a LTE frequency division duplex (FDD) system, a LTE time division duplex (TDD) system, an advanced long term evolution (LTE-A) system, a universal mobile telecommunication system (UMTS), a world-wide interoperability for microwave access (WiMAX) system, a 5G new air interface (NR) system, etc. These various systems include terminal equipment and network equipment. The system may also include a core network part, such as an evolved packet system (EPS), a 5G system (5GS), etc.
[0079] The terminal device involved in the embodiment of the present application may be a device that provides voice and / or data connectivity to a user, a handheld device with a wireless connection function, or other processing devices connected to a wireless modem. In different systems, the name of the terminal device may also be different. For example, in a 5G system, the terminal device may be called a user equipment (UE). A wireless terminal device can communicate with one or more core networks (CN) via a radio access network (RAN). The wireless terminal device may be a mobile terminal device, such as a mobile phone (or a "cellular" phone) and a computer with a mobile terminal device. For example, it may be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device that exchanges language and / or data with a wireless access network. For example, personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs) and other devices. The wireless terminal device may also be referred to as a system, a subscriber unit, a subscriber station, a mobile station, a mobile station, a remote station, an access point, a remote terminal device, an access terminal device, a user terminal device, a user agent, and a user device, but is not limited in the embodiments of the present application.
[0080] The network device involved in the embodiments of the present application may be a base station or a core network device, and the base station may include multiple cells providing services for the terminal. Depending on the specific application scenario, the base station may also be called an access point, or may be a device in the access network that communicates with the wireless terminal device through one or more sectors on the air interface, or other names. The network device may be used to interchange received air frames with Internet Protocol (IP) packets, and serve as a router between the wireless terminal device and the rest of the access network, wherein the rest of the access network may include an Internet Protocol (IP) communication network. The network device may also coordinate the attribute management of the air interface. For example, the network device involved in the embodiments of the present application may be a network device (Base TransceiverStation, BTS) in the Global System for Mobile communications (Global System for Mobile communications, GSM) or Code Division Multiple Access (Code Division Multiple Access, CDMA), or a network device (NodeB) in Wide-band Code Division Multiple Access (WCDMA), or an evolutionary network device (evolutional Node B, eNB or e-NodeB) in the long term evolution (long term evolution, LTE) system, a 5G base station (gNB) in the 5G network architecture (next generation system), or a home evolved Node B (Home evolved Node B, HeNB), a relay node, a home base station (femto), a pico base station (pico), etc., which is not limited in the embodiments of the present application. In some network structures, the network device may include a centralized unit (CU) node and a distributed unit (DU) node, and the centralized unit and the distributed unit may also be arranged geographically separately.In some embodiments, the core network device may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data repository (Unified Data Repository, UDR), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), application function (Application Function, AF), sensing request function (Sensing Requirement Function, SRF), location management function (Location Management Function, LMF), etc.
[0081] During the research process of realizing the present application, the inventor discovered that: in the prior art, after the terminal signs the contract, it can receive RTK data within the entire scope of the contract, and decrypt the RTK data according to the encryption key obtained in the previous registration to complete high-precision positioning. However, in the above scheme, there are no differentiated services for different terminals, different regional ranges, and different services. For example, some special institutions and military areas do not allow high-precision positioning for ordinary users, while high-precision positioning services must be opened to some internal users. Another example is that the user only signs a contract for high-precision positioning needs in the home area, and provides low-precision positioning services outside the home area. Another example is that the experimental plant of a car company only allows users to enjoy high-precision positioning services within a certain geographical range, and such users are not allowed to enjoy broadcast high-precision positioning services outside the geographical range.
[0082] The method of the embodiment of the present application can differentiate the accuracy of providing broadcast positioning services, and ensure that different terminals in different areas enjoy positioning with different accuracy based on the terminal contract information. This can not only ensure the security of special areas, but also ensure the user's optimal positioning perception, while ensuring the economic benefits of operators, and is more in line with the way broadcast positioning services are carried out.
[0083] Figure 1 This is one of the flow charts of the method for interacting with positioning related information provided in the embodiment of the present application. Figure 1 The embodiment of the present application provides a method for interacting with positioning related information. The method in this embodiment can be applied to a terminal. The method may include:
[0084] Step 101: receiving positioning assistance information sent by a first network device; the positioning assistance information includes: at least two ciphertext blocks, each ciphertext block is encrypted according to a different encryption key; different encryption keys correspond to different signing precisions;
[0085] Specifically, the first network device may be an access network device, such as a base station. The positioning assistance information is carried by, for example, a positioning system information block posSIB.
[0086] In the embodiment of the present application, different contract accuracies are divided. For example, different terminals, positioning services or geographical areas may correspond to different contract accuracies, that is, different positioning accuracies may be achieved.
[0087] The positioning auxiliary information includes at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0088] Step 102: Decrypt the positioning assistance information according to the encryption key corresponding to the terminal.
[0089] Specifically, the terminal decrypts the received positioning assistance information according to the corresponding encryption key, that is, the positioning assistance information with the contract accuracy corresponding to the terminal can be obtained.
[0090] The method of this embodiment receives positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each ciphertext block is encrypted according to a different encryption key; different encryption keys correspond to different signing precisions; the positioning assistance information is decrypted according to the encryption key corresponding to the terminal. In the above scheme, since different encryption keys correspond to different signing precisions, differentiated services for positioning precision can be provided, which has greater flexibility and higher user experience.
[0091] Optionally, for the broadcast positioning service, the method of the embodiment of the present application introduces a new field, such as adding a contract accuracy field. Optionally, the contract accuracy can be represented by an accuracy level, such as a high accuracy level, a low accuracy level, etc., or a first accuracy level, a second accuracy level, ..., an nth accuracy level, etc.
[0092] Optionally, step 102 may be implemented in the following manner:
[0093] Parsing the positioning assistance information to obtain a ciphertext block corresponding to the terminal and an initialization vector;
[0094] Encrypting the initialization vector according to the encryption key corresponding to the terminal to obtain the decrypted data block;
[0095] The ciphertext block corresponding to the terminal is decrypted according to the decrypted data block to obtain decrypted positioning auxiliary information.
[0096] Specifically, the received positioning assistance information is parsed, that is, split, to obtain a ciphertext block corresponding to the terminal and an initialization vector;
[0097] Encrypting the initialization vector according to the encryption key corresponding to the terminal to obtain the decrypted data block;
[0098] The ciphertext block corresponding to the terminal is decrypted according to the decrypted data block to obtain decrypted positioning auxiliary information.
[0099] Optionally, there is a first identifier between each of the ciphertext blocks.
[0100] For example, the first identifier is an identifier such as an underscore, which is used to mark the end of one ciphertext block and the beginning of another ciphertext block. When the positioning auxiliary information is parsed, the corresponding ciphertext blocks can be quickly split out.
[0101] Optionally, the at least two encryption keys are two, and the encryption keys include a first key and a second key, such as Figure 2 As shown, the positioning assistance information includes a ciphertext C. After receiving the ciphertext C sent by the base station, the terminal disassembles the ciphertext C to obtain an initialization vector IV, a first ciphertext block C1 and a second ciphertext block C2.
[0102] The encryption key corresponding to the first ciphertext block is the first key CK1, and the encryption key corresponding to the second ciphertext block is the first key CK2; if the signing accuracy corresponding to the first key CK1 is a high-precision level, the signing accuracy corresponding to the second key CK2 is a low-precision level.
[0103] Assuming that the contract accuracy corresponding to the TA currently located by the terminal is high-precision, the terminal decrypts the first ciphertext block C1 based on the initialization vector IV. The specific decryption process is as follows:
[0104] Divide the first ciphertext block C1 into blocks to obtain at least one ciphertext group;
[0105] For each of the ciphertext groups, a first decrypted data block and the ciphertext group are operated using a first operation method to obtain a plaintext group corresponding to the ciphertext group; the first decrypted data block is obtained by repeatedly encrypting based on the initialization vector, and the number of repeated encryptions is related to the position of the ciphertext group in the first ciphertext block;
[0106] The plaintext groups corresponding to the ciphertext groups are concatenated to obtain the decrypted positioning auxiliary information.
[0107] Optionally, the method further comprises:
[0108] An encryption key corresponding to the terminal and sent by a second network device is received; the encryption key includes a second identifier, and the second identifier is used to indicate a signing accuracy corresponding to the encryption key.
[0109] Specifically, for example, in the registration process, an encryption key corresponding to the terminal is received and sent by a second network device (such as AMF), and the encryption key includes a second identifier, and the second identifier is used to indicate the signing accuracy corresponding to the encryption key.
[0110] For example, the second identifier Q is represented by a number, such as number 1 corresponds to a high precision level, and number 2 corresponds to a low precision level.
[0111] Different second identifiers may indicate ciphertext blocks corresponding to the encryption keys.
[0112] Exemplarily, in one embodiment, the decryption process is as follows:
[0113] 1. If Figure 3 As shown, the second identifier (such as the number Q) is separated from CK to obtain the key CK1 and the key indication 1 (or the key CK2 and the key indication 2), and the value of Q (1 or 2) is used to determine which part of the ciphertext in the positioning auxiliary information should be decrypted.
[0114] 2. For the ciphertext C, first obtain the initialization vector IV from the header, and then split it according to the first identifier (such as underscore) to obtain the ciphertexts C1 and C2.
[0115] 3. Obtain the corresponding key and ciphertext (key CK1 and ciphertext C1 or key CK2 and ciphertext C2) through steps 1 and 2. For example, to decrypt C1, follow the following process:
[0116] 4. Counter block encryption: Use CK1 to encrypt the initial counter vector, such as AES encryption, to generate a counter block E1 for decryption.
[0117] 5. Decryption operation: Decrypt each ciphertext block, use the counter block E1 used for decryption to perform an XOR operation with the ciphertext block to obtain the decrypted data block (i.e., the plaintext block).
[0118] Specifically, such as Figure 4 As shown, for each ciphertext block, the counter value is incremented (usually only the low bit is incremented, for example, the initial value is 0), CK1 is used to encrypt the counter block E1 corresponding to the previous ciphertext block to obtain a new counter block E1, and the new counter block E1 is used to perform XOR with the current ciphertext block to obtain the corresponding decrypted plaintext block.
[0119] 6. Concatenate plaintext groups: Concatenate all decrypted plaintext groups in order to obtain the decrypted positioning auxiliary information.
[0120] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0121] Optionally, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first N1 bits of data of the fine pseudorange; or, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first N2 bits of data of the fine pseudorange, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and N2 is greater than N1.
[0122] When the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first M1 bit data of the carrier phase; or, when the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first M2 bit data of the carrier phase, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and the M2 is greater than the M1.
[0123] Specifically, the greater the signing accuracy, the higher the accuracy of the corresponding positioning assistance information, that is, it includes positioning assistance information with more bits.
[0124] Optionally, a contract accuracy field may be added to the positioning service broadcast assistance data, as shown in Table 1:
[0125] Table 1
[0126]
[0127] Optionally, the contract accuracy field includes, for example, at least one of the following: accuracy level, effective range corresponding to the accuracy level, which is used to define that the terminal can enjoy services of different contract accuracy levels in different geographical areas. Optionally, the effective range refers to the geographical area where the accuracy level is valid or applicable. As shown in Table 2:
[0128] Table 2
[0129]
[0130] Optionally, the method further comprises:
[0131] If the terminal moves into the contract area, the terminal sends a registration request to the first network device;
[0132] The receiving an encryption key corresponding to the terminal and sent by the second network device includes:
[0133] The terminal receives a registration acceptance message sent by the second network device, where the registration acceptance message includes: an encryption key corresponding to the terminal.
[0134] Specifically, the second network device (such as AMF) determines whether the current geographical location of the terminal belongs to the valid area of the contracted broadcast positioning service (such as whether the TA currently located by the terminal corresponds to the TAI list corresponding to high accuracy or low accuracy). If it does not belong (the contracted accuracy level of the current terminal is Other, or the TAI list corresponding to high accuracy or low accuracy does not contain the identifier of the TA currently located by the terminal), the CipheringKey value application process or reaffirmation process is not initiated; if it belongs, the CipheringKey value application process or reaffirmation process is initiated with the contracted accuracy corresponding to the TA currently located by the terminal (such as accuracy level: high accuracy or low accuracy).
[0135] In the embodiment of the present application, the AMF adds the signing accuracy information of the broadcast positioning to the process of requesting the CipheringKey value from the fourth network device (such as LMF), as shown in Table 3:
[0136] Table 3
[0137]
[0138] Optionally, the fourth network device (such as LMF) feeds back the encryption key corresponding to the contract accuracy of the current geographical area of the terminal to AMF.
[0139] Optionally, different encryption keys, such as CipheringKey values, are fed back according to different contracting precisions of the geographical area of the terminal. An example is as follows:
[0140] 1. If the contract accuracy corresponding to the current TA to which the terminal belongs is high accuracy, the CipheringKey value corresponding to the high accuracy level is fed back;
[0141] 2. If the contract accuracy corresponding to the current TA to which the user belongs is low accuracy, the CipheringKey value corresponding to the low accuracy level is fed back.
[0142] Optionally, the second network device feeds back an encryption key corresponding to the terminal in a registration acceptance message.
[0143] Table 4 Encrypted dataset information
[0144]
[0145] For example, the RTK code stream parsing process is as follows:
[0146] The terminal decodes the received RTK code stream to obtain the corresponding pseudorange and phase data. The specific data parsing steps are as follows (the actual process is implemented by the terminal program side, and there is no need to transcode and decode according to the steps):
[0147] The specific RTCM1074 message received by the terminal is as follows: 432CXXXXXXXXXXXXXXXXXXXXXXXXXXXX.
[0148] 432 (hexadecimal) converted to 1074 (decimal) indicates that the data is GPS corresponding data. Optionally, the RTCM1074 message format includes at least one of the following fields:
[0149] GNSS satellite mask (64 bits), indicating the satellite identification;
[0150] GNSS signal mask (32 bits), indicating the signal frequency band.
[0151] According to the corresponding field of the RTCM1074 message format, find the corresponding 64-bit satellite mask (GNSS SatelliteMask, GNSS satellite mask (Nsat)), 64 bits correspond to satellites numbered 1-64, for example, if the satellite number is 1-64, the bit value is 1, indicating that this message contains the corresponding satellite information, and the bit value is 0, indicating that this message does not contain the corresponding satellite information; and the corresponding 32-bit signal mask (GNSS signal mask (Nsig)), 32 bits correspond to different signal frequency band signals, for example, the bit value is 1, indicating that this message contains the corresponding frequency band information, and the bit value is 0, indicating that this message does not contain the corresponding frequency band information.
[0152] For example, according to the satellite mask, the GPS satellite IDs are 10, 12, 22, 23, 25, 31, 32, a total of 7 GPS satellites; the corresponding frequency band signal IDs are 2, 10, 17, 23. According to the GPS signal ID mapping, the specific frequency bands are 1C, 2W, 2X, 5Q, a total of 4 frequency bands. Therefore, the specific source of the RTK code stream obtained this time is 7 satellites and 4 frequencies, a total of 28 groups of data.
[0153] Optionally, the RTCM1074 message format further includes at least one of the following fields:
[0154] GNSS satellite rough distance (8 bits, whole milliseconds);
[0155] GNSS satellite rough distance (10 bits, within milliseconds);
[0156] GNSS signal pseudorange (15bit);
[0157] GNSS signal carrier phase (22bit);
[0158] GNSS carrier phase lock time flag (4 bits);
[0159] Semi-periodic ambiguity flag (1 bit);
[0160] Carrier-to-noise ratio (CNR) (6 bits).
[0161] The integer part (in milliseconds) of the pseudo-range approximate value corresponding to a single satellite occupies 8 bits, and the decimal part (in milliseconds) of the pseudo-range approximate value occupies 10 bits. All frequency bands of a single satellite are trained once, and the values of this part are consistent for all frequency bands. Some fields are shown in Table 5:
[0162] Table 5
[0163]
[0164]
[0165] Among them, the single satellite frequency band signal pseudorange (15bit) fine pseudorange fine_Pseudorange, signal carrier phase (22bit) fine_Phaserange, carrier phase half-cycle ambiguity flag (1bit), lock time flag (4bit), signal carrier-to-noise ratio (6bit), as shown in Table 6 below.
[0166] Table 6
[0167]
[0168] Optionally, for the signal signal(i), the pseudorange can be calculated by the following method (1):
[0169] (1)Pseudorange(i)=c / 1000×(integer-ms+rough_range / 1024+2 –29 ×fine_Pseudorange(i))(unit: meter), where fine_Pseudorange represents the fine pseudorange, integer-ms represents the rough distance of GNSS satellites (in whole milliseconds), and rough_range represents the rough distance of GNSS satellites (in milliseconds);
[0170] Alternatively, the phase can be calculated as follows (2):
[0171] (2)Phaserange(i)=c / 1000×(integer-ms+rough_range / 1024+2 –31 ×fine_Phaserange(i))(unit: meter), where fine_Phaserange represents the fine phase;
[0172] Optionally, the phase change rate (m / s) can be calculated as follows (3):
[0173] (3) PhaseRangeRate(i)=rough-phase-range-rate+0.0001*fine-PhaseRangeRate(i), where rough-phase-range-rate represents the rough phase change rate, and fine-PhaseRangeRate represents the fine phase change rate.
[0174] Optionally, the positioning assistance information in the embodiment of the present application includes at least one field as shown in the following Table 7:
[0175] Table 7
[0176]
[0177]
[0178] According to the above, the pseudo-range observation can be obtained, as shown in Table 8 below:
[0179] Pseudorange(i)=c / 1000×(Nms+Rough_range / 1024+2 – 24 ×
[0180] Fine_Pseudorange(i)); where Nms is DF397, Rough_range is DF398, and Fine_Pseudorange value is DF400;
[0181] PhaseRange(i)=c / 1000×(Nms+Rough_range / 1024+2 – 29 ×
[0182] Fine_PhaseRange(i)); where Nms is DF397, Rough_range is DF398, and Fine_PhaseRange value is DF401.
[0183] Table 8
[0184]
[0185]
[0186] Among them, integer-ms, rough_range, fine_Pseudorange(i) determine the pseudorange; integer-ms, rough_range, fine_Phaserange(i) determine the phase.
[0187] Optionally, different encryption keys (CK) parse integer-ms, rough_range, integer-ms, and rough_range in the same way, but parse fine_Pseudorange(i) and fine_Phaserange(i) with different precision. For example, a terminal that has signed a contract for a high accuracy level can parse all 15 bits of fine_Pseudorange(i) and all 22 bits of fine_Phaserange(i). A terminal that has signed a contract for a low accuracy level can parse the first n1 bits of fine_Pseudorange(i) and the first n1 bits of fine_Phaserange(i). The precision of fine_Pseudorange and fine_Phaserange(i) parsed by the encryption key CK is different, thereby controlling the positioning accuracy of the contracted terminal within the current geographical range.
[0188] Optionally, the terminal initially registers in the effective range of the contract:
[0189] The terminal signs up for the broadcast positioning service and initiates initial registration in the effective range of the contract. The second network device (such as AMF) receives the registration request of the terminal through the first network device (such as access network device), and the second network device queries the third network device (such as UDM) for the terminal's positioning subscription information (such as Subscription Permanent Identifier, SUPI) based on the user's subscription. Figure 5 As shown), for example, the Nudm_SubscriberDataManagement_Get process can be used to obtain the location subscription information of the broadcast location service. And whether to initiate the subsequent encryption key application process is determined based on whether the current geographical area (such as the TA where the terminal is located) belongs to the effective range of the contract. Optionally, Figure 5 Error indication information (such as 404 Not Found) can also be returned.
[0190] Optionally, the positioning contract information includes at least one of the following: contract accuracy, and a valid range corresponding to the contract accuracy.
[0191] Optionally, the terminal initially registers in a non-effective range:
[0192] The terminal initially registers in an area outside the Effective range. The preliminary process is the same as the process for registration in the contracted valid area. For details, please refer to the above embodiment. During the initial registration process, AMF obtains the contracted accuracy of the contracted broadcast positioning through the Nudm_SubscriberDataManagement_Get process (optionally, it can also include the effective area Effective range corresponding to the contracted accuracy). AMF compares whether the current geographical location of the terminal (for example, the TA where the terminal is located) belongs to the Effective range of the user's contracted broadcast positioning. If it is found that the current location of the terminal does not belong to the Effective range, AMF does not initiate a request for encryption key (Request Ciphering Key Information) process to LMF, and there is no subsequent registration acceptance (Registration Accept) process to issue the encryption key (CipheringKey value). The terminal cannot decrypt the broadcast RTK message in the current TA range (that is, it can receive posSIB, but cannot decrypt it), and thus cannot enjoy the broadcast positioning service.
[0193] Optionally, the terminal moves into the effective range of the subscription and registers:
[0194] When a terminal enters a contracted effective range during mobility, it initiates cross-TA registration, which can be divided into entering another contracted TA from a contracted TA or entering a contracted TA from a non-contracted TA. The AMF judgment and reaffirmation of the CipheringKey process in the later stages of the two methods are consistent.
[0195] When the terminal enters the effective area of the contract during the movement, it initiates cross-TA registration. The AMF obtains the contract accuracy of the contracted broadcast positioning through the Nudm_SubscriberDataManagement_Get process (optionally, it can also include the effective area corresponding to the contract accuracy). The AMF compares whether the TA corresponding to the new geographical location currently entered by the terminal belongs to the Effective range of the contracted broadcast positioning. If the TA currently located by the terminal belongs to the TAI list corresponding to the contracted broadcast positioning service (that is, the Effective range of the contracted broadcast positioning includes the current TA), the AMF initiates the Request Ciphering Key Information process to the LMF (and carries the contract accuracy corresponding to the current TA). The LMF sends the encryption key (CipheringKey value) corresponding to the contract accuracy of the terminal. The AMF sends the CipheringKey value corresponding to the contract accuracy in the later registration Registration Accept process (such as the high-accuracy level corresponds to the feedback of the high-accuracy CipheringKey value, and the low-accuracy level corresponds to the feedback of the low-accuracy CipheringKey value). The terminal uses the newly obtained CipheringKey value to decrypt the broadcast RTK message in the current new TA range (receive posSIB and decrypt), and enjoys the broadcast positioning service with the contracted accuracy corresponding to the terminal.
[0196] Optionally, the terminal moves into a non-valid area for registration:
[0197] When the terminal enters a non-contracted Effective range during movement, it initiates cross-TA registration (which can be subdivided into a contracted TA moving to a non-contracted TA or a non-contracted TA moving to a non-contracted TA). The AMF obtains the contracted accuracy of the terminal's contracted broadcast positioning through the Nudm_SubscriberDataManagement_Get process (optionally, it can also include the effective area Effective range corresponding to the contracted accuracy). The AMF compares whether the new geographical location (such as TA) currently entered by the terminal belongs to the Effective range of the user's contracted broadcast positioning. If it is found that the new TA where the terminal is currently located has not signed a contract for the broadcast positioning service (such as the current TA does not exist in the contracted Effective range), the AMF does not initiate the encryption key application (Request Ciphering Key Information) process to the LMF, and there is no subsequent registration acceptance (RegistrationAccept) process to send the encryption key CipheringKey value. The terminal cannot decrypt the broadcast RTK message in the current TA range (it can receive posSIB, but cannot decrypt it), and thus cannot enjoy the broadcast positioning service.
[0198] Optionally, the method further comprises:
[0199] When it is determined that the terminal moves from a high-precision area to a low-precision area or a non-contract area, or moves from a low-precision area to a non-contract area, prompt information is output to prompt the terminal to enter the non-contract area.
[0200] Specifically, when the terminal moves from a high-precision effective area of broadcast positioning to a low-precision effective area or a non-contracted area, or from a low-precision effective area to a non-contracted area, a pop-up window will pop up on the terminal side to remind the user that the accuracy of broadcast positioning in this area has degraded or the broadcast positioning service cannot be enjoyed. The user will also be prompted to update and expand the effective range of the broadcast positioning contract or improve the accuracy of the broadcast positioning service.
[0201] Figure 6 This is the second flow chart of the method for interacting with positioning related information provided in the embodiment of the present application. Figure 6 The embodiment of the present application provides a method for interacting with positioning related information. The method in this embodiment can be applied to a first network device. The method may include:
[0202] Step 601: Send positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0203] Specifically, the first network device sends the positioning assistance information by broadcasting.
[0204] Optionally, the first network device is, for example, an access network device, such as a base station.
[0205] Optionally, the encryption process is as follows:
[0206] Obtaining an initialization vector, and encrypting the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks;
[0207] For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained;
[0208] The initialization vector and the ciphertext blocks corresponding to each of the encryption keys are concatenated to obtain the positioning auxiliary information.
[0209] Specifically, an initialization vector is first generated, and each encryption key is used to encrypt the initialization vector to obtain each encrypted data block;
[0210] For each encryption key, encrypt the data portion corresponding to each encryption key in the data to be encrypted using the encryption data block to obtain a ciphertext block corresponding to each encryption key;
[0211] Finally, the initialization vector and the ciphertext blocks corresponding to each encryption key are concatenated to obtain the positioning auxiliary information.
[0212] Optionally, there is a first identifier between each of the ciphertext blocks.
[0213] Optionally, in the case where there are two at least two encryption keys, the encryption keys include a first key and a second key, and the encrypting the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks includes:
[0214] Encrypting the initialization vector using a first key to obtain a first encrypted data block, and encrypting the initialization vector using a second key to obtain a second encrypted data block;
[0215] For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained, including:
[0216] Obtaining a first ciphertext block according to the first encrypted data block and the first part of the data to be encrypted;
[0217] Obtaining a second ciphertext block according to the second encrypted data block and the second part of the data to be encrypted;
[0218] The initialization vector and the ciphertext blocks corresponding to the encryption keys are concatenated to obtain the positioning auxiliary information, including:
[0219] The initialization vector, the first ciphertext block, the first identifier and the second ciphertext block are sequentially concatenated to obtain the positioning auxiliary information.
[0220] Optionally, if the first part is encrypted, the encryption process is as follows (the second part is similar and will not be repeated here):
[0221] Divide the first part into blocks to obtain at least one third data block;
[0222] For each of the third data blocks, the third encrypted data block and the third data block are operated by the first operation mode to obtain a ciphertext block corresponding to the third data block; the third encrypted data block is obtained by repeatedly encrypting the first encrypted data block, and the number of repeated encryptions is related to the position of the third data block in the first part;
[0223] The ciphertext blocks corresponding to the third data blocks are concatenated to obtain the first ciphertext block.
[0224] Exemplarily, the encryption process is as follows:
[0225] 1. Obtain a first key, such as a 128-bit AES key, and ensure the confidentiality of the key.
[0226] 2. Initialization Vector (IV): Generate a random Initialization Vector (IV).
[0227] 3. Counter block encryption: Use the first key to encrypt the initialization vector to generate an encrypted counter block, such as AES encryption.
[0228] 4. Encryption operation: Divide the first part of the data to be encrypted into blocks to obtain at least one plaintext group (for example, the length of the plaintext group is the same as the length of the first key), encrypt each plaintext group, and perform an XOR operation on the encrypted counter block and the current plaintext group to obtain a ciphertext group.
[0229] For example, for each plaintext block, the encrypted counter block used in the XOR operation is obtained by encrypting the counter block used in the previous plaintext block once.
[0230] For example, Figure 7As shown, there are 4 plaintext groups, namely plaintext group 1, plaintext group 2, plaintext group 3 and plaintext group 4. When encrypting plaintext group 1, a counter block is obtained by encrypting the initialization vector. When encrypting plaintext group 2, a counter block is obtained by encrypting the counter block encrypted by plaintext group 1 once again. When encrypting plaintext group 3, a counter block is obtained by encrypting the counter block encrypted by plaintext group 2 once again. When encrypting plaintext group 4, a counter block is obtained by encrypting the counter block encrypted by plaintext group 3 once again.
[0231] 5. Generate ciphertext: Concatenate all generated ciphertext groups in order to obtain the encrypted ciphertext C1.
[0232] 6. Use the method of steps 3-5 above to obtain ciphertext C2, concatenate the initialization vector to the head of ciphertext C1, and then concatenate ciphertext C1 and C2 with an underscore to obtain the final ciphertext C.
[0233] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0234] Optionally, when the data to be encrypted includes fine pseudorange and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first N1 bits of data of the fine pseudorange, and the second part of the data to be encrypted includes: the first N2 bits of data of the fine pseudorange, and N2 is greater than N1.
[0235] When the data to be encrypted includes a carrier phase and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first M1 bits of data of the carrier phase, and the second part of the data to be encrypted includes: the first M2 bits of data of the carrier phase, and M2 is greater than M1.
[0236] The implementation principle and technical effect of the method in this embodiment are similar to those of the terminal side method and will not be repeated here.
[0237] Figure 8 This is the third flow chart of the method for interacting with positioning related information provided in the embodiment of the present application. Figure 8 The embodiment of the present application provides a method for interacting with positioning related information. The method in this embodiment can be applied to a second network device. The method may include:
[0238] Step 801: Send an encryption key corresponding to the terminal to the terminal, wherein the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and different encryption keys correspond to different signing accuracies.
[0239] Optionally, the method further comprises:
[0240] Sending a first request to a third network device, where the first request is used to query the positioning subscription information of the terminal;
[0241] Receive the positioning contract information of the terminal sent by the third network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0242] Specifically, the second network device queries the third network device (such as UDM) for the positioning subscription information of the terminal, for example, during the terminal registration process or other processes.
[0243] Optionally, the first request includes: a field identifier of positioning broadcast assistance data, and the positioning subscription information further includes: positioning broadcast assistance data; or,
[0244] The first request includes: request information of at least one data set, and the request information of at least one data set includes at least: a data set name of the positioning contract information.
[0245] Specifically, the second network device can obtain the positioning subscription information in the following manner:
[0246] Method 1:
[0247] For this terminal, only query the positioning subscription information corresponding to the broadcast positioning service, using {apiRoot} / nudm-sdm / <apiversion> / {supi} / lcs-bca-data directly obtains the LCS Broadcast Assistance Data Types and contract accuracy. The input values of the Get process include the Application Programming Interface (API) root, the terminal's SUPI, the Public Land Mobile Network (PLMN) ID, etc.
[0248] Based on the LCS Broadcast Assistance Data Types and contract accuracy of the terminal, the feedback results of UDM are as follows: mainly including LcsBroadcastAssistanceTypesData (feedback when the user signs a contract for the broadcast positioning service, for example, the feedback value is a bitmap indicating which posSIB types enable encryption mode) and contract accuracy or ProblemDetails (feedback when the user has not signed a contract for the broadcast positioning service).
[0249] Method 2:
[0250] Query at least one type of contracted service information of the terminal, and indicate that the feedback result includes the positioning contract information of the terminal, using {apiRoot} / nudm-sdm / in Nudm_SubscriberDataManagement_Get <apiversion> / {supi} obtains at least one dataset dataset. The dataset to be obtained is specified in the input parameter dataset-names, which can include "AM", "SMF_SEL", "UEC_SMF", "UEC_SMSF", "SMS_SUB", "SM", "TRACE", "SMS_MNG", "LCS_PRIVACY", "LCS_MO", "UEC_AMF", "V2X", "LCS_BCA", "PROSE", "UC", "MBS". For the broadcast positioning service, the input includes SUPI and dataset-names must include "LCS_BCA".
[0251] The feedback results of UDM based on at least one dataset of the terminal are as follows, mainly including the positioning contract information of the dataset ("LCS_BCA") (when the terminal signs up for the broadcast positioning service, the feedback carries LcsBroadcastAssistanceTypesData and contract accuracy).
[0252] Through the above process, AMF can request UDM to feedback the LcsBroadcastAssistanceTypesData and contract accuracy of the terminal. If UDM feedbacks, LcsBroadcastAssistanceTypesData will be used to inform AMF that some posSIB types of the terminal need to be encrypted for transmission, thereby implicitly feeding back whether the terminal is a broadcast positioning contract user. At the same time, the contract accuracy standard corresponding to the terminal in the Effective range area can be obtained through the contract accuracy and the corresponding Effective range. If the LcsBroadcastAssistanceTypesData field is not fed back, it indicates that the user has not signed a contract for the broadcast positioning service.
[0253] Optionally, the method further comprises:
[0254] Determining whether the geographical area range of the terminal matches the valid range corresponding to the contract accuracy;
[0255] If a match is found, a second request is sent to the fourth network device, where the second request is used to request the encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal; or,
[0256] When the contract accuracy of the terminal falls within the target contract accuracy range, sending a second request to the fourth network device, the second request being used to request an encryption key corresponding to the terminal; the second request including: the contract accuracy of the terminal;
[0257] Receive the encryption key corresponding to the terminal sent by the fourth network device.
[0258] Specifically, the AMF obtains the TAI of the TA in which the terminal is currently located, for example, based on the TAI value in the userLocationInformation carried in the registration request message sent by the first network device.
[0259] AMF determines whether the TA area where the terminal initiates registration belongs to the effective area Effective range corresponding to the contract accuracy of the contracted broadcast positioning service. If it belongs to the effective area corresponding to the contract accuracy of the terminal, the encryption key CipheringKey value application process is initiated to LMF. If the current TA does not belong to the effective area Effective range corresponding to the contract accuracy (or belongs to the effective area corresponding to other accuracy levels), the CipheringKey value application process is not initiated. Or, AMF determines whether the contract accuracy of the terminal belongs to the target contract accuracy range. If it belongs to the target contract accuracy range, the CipheringKey value application process is initiated to the fourth network device. For example, the contract accuracy is greater than or equal to the preset accuracy level. If the contract accuracy is a high accuracy level or a low accuracy level, the CK application process can be initiated. If the contract level is other, the CK application process is not initiated.
[0260] like Fig. 9 As shown, AMF applies to LMF for the terminal's encryption key CipheringKey value, which carries the contract accuracy corresponding to the terminal's current TAI value, or returns an error indication message (such as 404 Not Found).
[0261] like Fig.10 As shown, LMF feeds back to AMF the CipheringKey value corresponding to the contract accuracy of the terminal's current area broadcast positioning (high accuracy corresponds to the feedback of high-precision CipheringKey value, low accuracy corresponds to the feedback of low-precision CipheringKey value).
[0262] For example, Fig.11 As shown, the method comprises the following steps:
[0263] Step 1: LMF sends the encryption key to AMF;
[0264] Step 2: AMF stores encryption keys;
[0265] Step 3: UE sends a registration request to RAN;
[0266] Step 4: RAN selects or determines AMF;
[0267] Step 5: RAN sends a registration request for the terminal to the corresponding AMF;
[0268] Step 6: AMF sends a registration acceptance to RAN, carrying the encryption key corresponding to the terminal;
[0269] Step 7: RAN sends a registration acceptance to the UE, carrying the encryption key corresponding to the terminal;
[0270] Step 8: AMF deletes the encryption key of the terminal.
[0271] For example, Fig.12a As shown, the method comprises the following steps:
[0272] Step 0: Add the contract accuracy to the UDM side positioning broadcast auxiliary data lcs-bca-data (the contract accuracy has a corresponding effective range);
[0273] Step 1: AMF requests lcs-bca-data from UDM.
[0274] Step 2: UDM returns the LCS Broadcast Assistance DataTypes to AMF, and carries the contract accuracy and the corresponding valid range;
[0275] 3a. AMF stores the UE's contract accuracy and the corresponding validity range;
[0276] 3b. AMF determines whether to initiate the encryption key CK application process based on whether the UE's current location belongs to the valid range;
[0277] 4. AMF requests the encryption key CK from LMF;
[0278] Specifically, the CK application process is initiated by carrying the contract accuracy corresponding to the current location of the UE.
[0279] 5. LMF returns the corresponding CK to AMF;
[0280] 6. AMF sends a registration acceptance (carrying the corresponding CK) to RAN;
[0281] 7. RAN sends a registration acceptance (carrying the corresponding CK) to the UE;
[0282] 8. Store CK and decrypt RTK;
[0283] The CK decrypted RTK ciphertext corresponding to different contracted accuracies obtains different satellite actual distance accuracies, and ultimately achieves different positioning accuracies.
[0284] 9a. AMF monitors UE location (for mobility monitoring);
[0285] 9b. AMF monitors the validity of CK in UE (location validity, duration validity, whether CK exists);
[0286] 9c. AMF decides whether to initiate the CK reaffirmation process based on the monitoring results.
[0287] For example, Figure 12b As shown, the method comprises the following steps:
[0288] Step 1: UDM adds the contract accuracy and corresponding valid range fields for the broadcast positioning UE;
[0289] Step 2: AMF obtains the UE's positioning subscription information from UDM;
[0290] Step 3: UDM returns the contract accuracy and / or the valid range corresponding to the contract accuracy to AMF;
[0291] Step 4: AMF determines whether the current area where the UE is located is within the valid range corresponding to the contracted accuracy. If so, a CK application is initiated;
[0292] Step 5: AMF requests CK (carrying the subscription accuracy of UE) from LMF;
[0293] Step 6: LMF returns the CK corresponding to the subscription accuracy of the UE to AMF;
[0294] Step 7: AMF sends a registration acceptance to the UE, carrying the CK corresponding to the UE's subscription accuracy;
[0295] Step 8: AMF decides whether to reiterate CK based on the geographical validity and time validity of the UE's location; if CK needs to be reiterated, go to step 9;
[0296] Step 9: AMF requests CK (carrying the subscription accuracy of UE) from LMF;
[0297] Step 10: LMF returns the CK corresponding to the subscription accuracy of the UE to AMF;
[0298] Step 11: AMF sends an RRC reconfiguration message to the UE, carrying the CK corresponding to the UE's subscription accuracy.
[0299] The UE decrypts the RTK ciphertext sent by the base station according to the CK corresponding to the contracted accuracy of the UE, and the RTK ciphertext is included in the PosSIB.
[0300] The implementation principle and technical effect of the method in this embodiment are similar to those of the terminal side method and will not be repeated here.
[0301] Fig.13 This is a fourth flow chart of the method for interacting with positioning related information provided in an embodiment of the present application. Fig.13 The embodiment of the present application provides a method for interacting with positioning related information. The method in this embodiment can be applied to a third network device. The method may include:
[0302] Step 1301: Receive a first request sent by a second network device, where the first request is used to query the positioning subscription information of the terminal;
[0303] Step 1302: Send the positioning contract information of the terminal to the second network device, where the positioning contract information includes at least one of the following: contract accuracy, and a valid range corresponding to the contract accuracy.
[0304] The implementation principle and technical effect of the method in this embodiment are similar to those of the terminal side method and will not be repeated here.
[0305] Fig.14 This is a flowchart of the fifth method for interacting with positioning related information provided in the embodiment of the present application. Fig.14 The embodiment of the present application provides a method for interacting with positioning related information. The method in this embodiment can be applied to a fourth network device. The method may include:
[0306] Step 1401: Receive a second request sent by a second network device, where the second request is used to request an encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal;
[0307] Step 1402: Send the encryption key corresponding to the terminal to the second network device.
[0308] The implementation principle and technical effect of the method in this embodiment are similar to those of the terminal side method and will not be repeated here.
[0309] The following describes a positioning related information interaction device provided in an embodiment of the present application. The positioning related information interaction device described below and the positioning related information interaction method described above can correspond to each other.
[0310] Fig.15 This is one of the structural diagrams of the positioning related information interaction device provided in the embodiment of the present application, and the positioning related information interaction device is applied to the terminal. Fig.15 As shown, the positioning related information interaction device includes:
[0311] The receiving module 1510 is configured to receive positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions;
[0312] The processing module 1520 is used to decrypt the positioning assistance information according to the encryption key corresponding to the terminal.
[0313] Optionally, the processing module 1520 is specifically configured to:
[0314] Parsing the positioning assistance information to obtain a ciphertext block corresponding to the terminal and an initialization vector;
[0315] Encrypting the initialization vector according to the encryption key corresponding to the terminal to obtain the decrypted data block;
[0316] The ciphertext block corresponding to the terminal is decrypted according to the decrypted data block to obtain decrypted positioning auxiliary information.
[0317] Optionally, there is a first identifier between each of the ciphertext blocks.
[0318] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0319] Optionally, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first N1 bits of data of the fine pseudorange; or, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first N2 bits of data of the fine pseudorange, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and N2 is greater than N1.
[0320] When the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first M1 bit data of the carrier phase; or, when the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first M2 bit data of the carrier phase, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and the M2 is greater than the M1.
[0321] Optionally, the receiving module 1510 is further configured to:
[0322] An encryption key corresponding to the terminal and sent by a second network device is received; the encryption key includes a second identifier, and the second identifier is used to indicate a signing accuracy corresponding to the encryption key.
[0323] Optionally, the device further comprises:
[0324] a sending module, configured to send a registration request to the first network device if the terminal moves into a contract area before receiving an encryption key corresponding to the terminal sent by the second network device;
[0325] The receiving module 1510 is specifically used for:
[0326] A registration acceptance message sent by the second network device is received, where the registration acceptance message includes: an encryption key corresponding to the terminal.
[0327] Optionally, the processing module 1520 is further configured to:
[0328] When it is determined that the terminal moves from a high-precision area to a low-precision area or a non-contract area, or moves from a low-precision area to a non-contract area, prompt information is output to prompt the terminal to enter the non-contract area.
[0329] It should be noted that the above-mentioned positioning-related information interaction device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the terminal, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment will not be described in detail here.
[0330] Fig.16 This is a second structural diagram of a positioning related information interaction device provided in an embodiment of the present application, and the positioning related information interaction device is applied to a first network device. Fig.16 As shown, the positioning related information interaction device includes:
[0331] The sending module 1610 is used to send positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions.
[0332] Optionally, the device further comprises:
[0333] A processing module, used to obtain an initialization vector, and encrypt the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks;
[0334] For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained;
[0335] The initialization vector and the ciphertext blocks corresponding to each of the encryption keys are concatenated to obtain the positioning auxiliary information.
[0336] Optionally, there is a first identifier between each of the ciphertext blocks.
[0337] Optionally, in the case where the number of the at least two encryption keys is two, the encryption keys include a first key and a second key, and the processing module is specifically configured to:
[0338] Encrypting the initialization vector using a first key to obtain a first encrypted data block, and encrypting the initialization vector using a second key to obtain a second encrypted data block;
[0339] Obtaining a first ciphertext block according to the first encrypted data block and the first part of the data to be encrypted;
[0340] Obtaining a second ciphertext block according to the second encrypted data block and the second part of the data to be encrypted;
[0341] The initialization vector, the first ciphertext block, the first identifier and the second ciphertext block are sequentially concatenated to obtain the positioning auxiliary information.
[0342] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0343] Optionally, when the data to be encrypted includes fine pseudorange and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first N1 bits of data of the fine pseudorange, and the second part of the data to be encrypted includes: the first N2 bits of data of the fine pseudorange, and N2 is greater than N1.
[0344] When the data to be encrypted includes a carrier phase and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first M1 bits of data of the carrier phase, and the second part of the data to be encrypted includes: the first M2 bits of data of the carrier phase, and M2 is greater than M1.
[0345] It should be noted that the above-mentioned positioning-related information interaction device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the first network device, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be described in detail here.
[0346] Fig.17 This is a third structural diagram of a positioning related information interaction device provided in an embodiment of the present application, and the positioning related information interaction device is applied to a second network device. Fig.17 As shown, the positioning related information interaction device includes:
[0347] The sending module 1710 is used to send the encryption key corresponding to the terminal to the terminal, and the encryption key corresponding to the terminal is used to decrypt the positioning assistance information. The positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0348] Optionally, the sending module 1710 is further configured to:
[0349] Sending a first request to a third network device, where the first request is used to query the positioning subscription information of the terminal;
[0350] Receive the positioning contract information of the terminal sent by the third network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0351] Optionally, the device further comprises:
[0352] A processing module, used to determine whether the geographical area range of the terminal matches the valid range corresponding to the contract accuracy;
[0353] If a match is found, the sending module 1710 is further configured to send a second request to the fourth network device, wherein the second request is configured to request an encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal; or,
[0354] Optionally, the sending module 1710 is further configured to send a second request to a fourth network device when the contract accuracy of the terminal belongs to a target contract accuracy range, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal;
[0355] Receive the encryption key corresponding to the terminal sent by the fourth network device.
[0356] Optionally, the first request includes: a field identifier of positioning broadcast assistance data, and the positioning subscription information further includes: positioning broadcast assistance data; or,
[0357] The first request includes: request information of at least one data set, and the request information of at least one data set includes at least: a data set name of the positioning contract information.
[0358] Optionally, the granularity of the effective range is at least one of the following: tracking area TA, radio access network notification area RNA, and cell.
[0359] It should be noted that the above-mentioned positioning-related information interaction device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the second network device, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be described in detail here.
[0360] Fig.18 This is a fourth structural diagram of a positioning related information interaction device provided in an embodiment of the present application, and the positioning related information interaction device is applied to a third network device. Fig.18 As shown, the positioning related information interaction device includes:
[0361] The receiving module 1810 is configured to receive a first request sent by a second network device, where the first request is used to query the positioning subscription information of the terminal;
[0362] The sending module 1820 is used to send the positioning contract information of the terminal to the second network device, and the positioning contract information includes at least one of the following: contract accuracy and the effective range corresponding to the contract accuracy.
[0363] It should be noted that the above-mentioned positioning-related information interaction device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the third network device, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be described in detail here.
[0364] Fig.19 This is a fifth structural diagram of a positioning related information interaction device provided in an embodiment of the present application, and the positioning related information interaction device is applied to a fourth network device. Fig.19 As shown, the positioning related information interaction device includes:
[0365] The receiving module 1910 is configured to receive a second request sent by a second network device, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: a contract accuracy of the terminal;
[0366] The sending module 1920 is used to send the encryption key corresponding to the terminal to the second network device.
[0367] It should be noted that the above-mentioned positioning-related information interaction device provided in the embodiment of the present application can implement all the method steps implemented by the method embodiment in which the execution subject is the fourth network device, and can achieve the same technical effect. The parts and beneficial effects that are the same as those in the method embodiment in this embodiment will not be described in detail here.
[0368] Fig. 20 is a schematic diagram of the structure of a terminal according to an embodiment of the present application, referring to Fig. 20 , the embodiment of the present application further provides a terminal, which may include: a memory 2010, a transceiver 2020 and a processor 2030;
[0369] The memory 2010 is used to store computer programs; the transceiver 2020 is used to send and receive data under the control of the processor 2030; the processor 2030 is used to read the computer program in the memory 2010 and perform the following operations:
[0370] Receive positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each of the ciphertext blocks is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions;
[0371] The positioning assistance information is decrypted according to the encryption key corresponding to the terminal.
[0372] Among them, Fig. 20 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 2030 and various circuits of memory represented by memory 2010 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 2020 may be a plurality of components, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. For different user devices, the user interface 2040 may also be an interface capable of externally connecting to the required internal devices.
[0373] The processor 2030 is responsible for managing the bus architecture and general processing, and the memory 2010 can store data used by the processor 2030 when performing operations.
[0374] The processor 2030 is used to execute any of the methods provided in the embodiments of the present application according to the obtained executable instructions by calling the computer program stored in the memory 2010. The processor and the memory may also be arranged physically separately.
[0375] Optionally, decrypting the positioning assistance information according to an encryption key corresponding to the terminal includes:
[0376] Parsing the positioning assistance information to obtain a ciphertext block corresponding to the terminal and an initialization vector;
[0377] Encrypting the initialization vector according to the encryption key corresponding to the terminal to obtain the decrypted data block;
[0378] The ciphertext block corresponding to the terminal is decrypted according to the decrypted data block to obtain decrypted positioning auxiliary information.
[0379] Optionally, there is a first identifier between each of the ciphertext blocks.
[0380] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0381] Optionally, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first N1 bits of data of the fine pseudorange; or, when the positioning assistance information includes fine pseudorange and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first N2 bits of data of the fine pseudorange, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and N2 is greater than N1.
[0382] When the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first M1 bit data of the carrier phase; or, when the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first M2 bit data of the carrier phase, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and the M2 is greater than the M1.
[0383] Optionally, the processor 2030 is further configured to perform the following operations:
[0384] An encryption key corresponding to the terminal and sent by a second network device is received; the encryption key includes a second identifier, and the second identifier is used to indicate a signing accuracy corresponding to the encryption key.
[0385] Optionally, the processor 2030 is further configured to perform the following operations:
[0386] Before receiving the encryption key corresponding to the terminal sent by the second network device, if the terminal moves into the subscription area, sending a registration request to the first network device;
[0387] The receiving an encryption key corresponding to the terminal and sent by the second network device includes:
[0388] A registration acceptance message sent by the second network device is received, where the registration acceptance message includes: an encryption key corresponding to the terminal.
[0389] Optionally, the processor 2030 is further configured to perform the following operations:
[0390] When it is determined that the terminal moves from a high-precision area to a low-precision area or a non-contract area, or moves from a low-precision area to a non-contract area, prompt information is output to prompt the terminal to enter the non-contract area.
[0391] Fig.21 is a schematic diagram of the structure of a first network device according to an embodiment of the present application, referring to Fig.21 , the embodiment of the present application further provides a first network device, which may include: a memory 2110, a transceiver 2120 and a processor 2130;
[0392] The memory 2110 is used to store computer programs; the transceiver 2120 is used to send and receive data under the control of the processor 2130; the processor 2130 is used to read the computer program in the memory 2110 and perform the following operations:
[0393] Sending positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
[0394] Among them, Fig.21 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 2130 and various circuits of memory represented by memory 2110 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 2120 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 2130 is responsible for managing the bus architecture and general processing, and the memory 2110 may store data used by the processor 2130 when performing operations.
[0395] Optionally, the processor 2130 is further configured to perform the following operations:
[0396] Obtaining an initialization vector, and encrypting the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks;
[0397] For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained;
[0398] The initialization vector and the ciphertext blocks corresponding to each of the encryption keys are concatenated to obtain the positioning auxiliary information.
[0399] Optionally, there is a first identifier between each of the ciphertext blocks.
[0400] Optionally, in the case where there are two at least two encryption keys, the encryption keys include a first key and a second key, and the encrypting the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks includes:
[0401] Encrypting the initialization vector using a first key to obtain a first encrypted data block, and encrypting the initialization vector using a second key to obtain a second encrypted data block;
[0402] For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained, including:
[0403] Obtaining a first ciphertext block according to the first encrypted data block and the first part of the data to be encrypted;
[0404] Obtaining a second ciphertext block according to the second encrypted data block and the second part of the data to be encrypted;
[0405] The initialization vector and the ciphertext blocks corresponding to the encryption keys are concatenated to obtain the positioning auxiliary information, including:
[0406] The initialization vector, the first ciphertext block, the first identifier and the second ciphertext block are sequentially concatenated to obtain the positioning auxiliary information.
[0407] Optionally, the positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time flag, half-cycle ambiguity flag, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
[0408] Optionally, when the data to be encrypted includes fine pseudorange and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first N1 bits of data of the fine pseudorange, and the second part of the data to be encrypted includes: the first N2 bits of data of the fine pseudorange, and N2 is greater than N1.
[0409] When the data to be encrypted includes a carrier phase and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first M1 bits of data of the carrier phase, and the second part of the data to be encrypted includes: the first M2 bits of data of the carrier phase, and M2 is greater than M1.
[0410] Fig. 22 is a schematic diagram of the structure of the second network device according to an embodiment of the present application, referring to Fig. 22 , the embodiment of the present application further provides a second network device, which may include: a memory 2210, a transceiver 2220 and a processor 2230;
[0411] The memory 2210 is used to store computer programs; the transceiver 2220 is used to send and receive data under the control of the processor 2230; the processor 2230 is used to read the computer program in the memory 2210 and perform the following operations:
[0412] An encryption key corresponding to the terminal is sent to the terminal, and the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and the different encryption keys correspond to different signing accuracies.
[0413] Among them, Fig. 22 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 2230 and various circuits of memory represented by memory 2210 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 2220 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 2230 is responsible for managing the bus architecture and general processing, and the memory 2210 may store data used by the processor 2230 when performing operations.
[0414] Optionally, the processor 2230 is further configured to perform the following operations:
[0415] Sending a first request to a third network device, where the first request is used to query the positioning subscription information of the terminal;
[0416] Receive the positioning contract information of the terminal sent by the third network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0417] Optionally, the processor 2230 is further configured to perform the following operations:
[0418] Determining whether the geographical area range of the terminal matches the valid range corresponding to the contract accuracy;
[0419] If a match is found, a second request is sent to the fourth network device, where the second request is used to request the encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal; or,
[0420] When the contract accuracy of the terminal falls within the target contract accuracy range, sending a second request to the fourth network device, the second request being used to request an encryption key corresponding to the terminal; the second request including: the contract accuracy of the terminal;
[0421] Receive the encryption key corresponding to the terminal sent by the fourth network device.
[0422] Optionally, the first request includes: a field identifier of positioning broadcast assistance data, and the positioning subscription information further includes: positioning broadcast assistance data; or,
[0423] The first request includes: request information of at least one data set, and the request information of at least one data set includes at least: a data set name of the positioning contract information.
[0424] Optionally, the granularity of the effective range is at least one of the following: tracking area TA, radio access network notification area RNA, and cell.
[0425] Fig.23 is a schematic diagram of the structure of a third network device according to an embodiment of the present application, referring to Fig.23 , the embodiment of the present application further provides a third network device, which may include: a memory 2310, a transceiver 2320 and a processor 2330;
[0426] The memory 2310 is used to store computer programs; the transceiver 2320 is used to send and receive data under the control of the processor 2330; the processor 2330 is used to read the computer program in the memory 2310 and perform the following operations:
[0427] receiving a first request sent by a second network device, where the first request is used to query positioning subscription information of a terminal;
[0428] The positioning contract information of the terminal is sent to the second network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
[0429] Among them, Fig.23 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 2330 and various circuits of memory represented by memory 2310 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 2320 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 2330 is responsible for managing the bus architecture and general processing, and the memory 2310 may store data used by the processor 2330 when performing operations.
[0430] Fig.24 is a schematic diagram of the structure of a third network device according to an embodiment of the present application, referring to Fig.24 , the embodiment of the present application further provides a third network device, which may include: a memory 2410, a transceiver 2420 and a processor 2430;
[0431] The memory 2410 is used to store computer programs; the transceiver 2420 is used to send and receive data under the control of the processor 2430; the processor 2430 is used to read the computer program in the memory 2410 and perform the following operations:
[0432] receiving a second request sent by a second network device, wherein the second request is used to request an encryption key corresponding to the terminal; the second request includes: a contract accuracy of the terminal;
[0433] Send the encryption key corresponding to the terminal to the second network device.
[0434] Among them, Fig.24 In the embodiment, the bus architecture may include any number of interconnected buses and bridges, specifically one or more processors represented by processor 2430 and various circuits of memory represented by memory 2410 are linked together. The bus architecture may also link together various other circuits such as peripherals, voltage regulators, and power management circuits, which are well known in the art and are therefore not further described herein. The bus interface provides an interface. The transceiver 2420 may be a plurality of components, i.e., including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium. The processor 2430 is responsible for managing the bus architecture and general processing, and the memory 2410 may store data used by the processor 2430 when performing operations.
[0435] It should be noted here that the terminal and network device provided in the embodiment of the present application can implement all the method steps implemented in the above method embodiment and can achieve the same technical effect. The parts and beneficial effects of this embodiment that are the same as the method embodiment will not be described in detail here.
[0436] On the other hand, an embodiment of the present application further provides a computer program product, which includes a computer program. The computer program can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the steps of the positioning-related information interaction method provided in the above embodiments.
[0437] On the other hand, an embodiment of the present application further provides a processor-readable storage medium, wherein the processor-readable storage medium stores a computer program, and the computer program is used to enable a processor to execute the steps of the methods provided in the above embodiments.
[0438] The processor-readable storage medium can be any available medium or data storage device that can be accessed by the processor, including but not limited to magnetic storage (such as floppy disks, hard disks, magnetic tapes, magneto-optical disks (MO), etc.), optical storage (such as CD, DVD, BD, HVD, etc.), and semiconductor storage (such as ROM, EPROM, EEPROM, non-volatile memory (NANDFLASH), solid-state drive (SSD)), etc.
[0439] The device embodiments described above are merely illustrative, wherein the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative labor.
[0440] Through the description of the above implementation methods, those skilled in the art can clearly understand that each implementation method can be implemented by means of software plus a necessary general hardware platform, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solution is essentially or the part that contributes to the prior art can be embodied in the form of a software product, and the computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or some parts of the embodiments.
[0441] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit it. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.< / apiversion> < / apiversion>
Claims
1. A method for interacting with positioning related information, characterized in that: Applied to a terminal, the method comprises: Receive positioning assistance information sent by the first network device; the positioning assistance information includes: at least two ciphertext blocks, each of the ciphertext blocks is encrypted according to a different encryption key; the different encryption keys correspond to different signing precisions; The positioning assistance information is decrypted according to the encryption key corresponding to the terminal.
2. The method according to claim 1, characterized in that The decrypting the positioning assistance information according to the encryption key corresponding to the terminal includes: Parsing the positioning assistance information to obtain a ciphertext block corresponding to the terminal and an initialization vector; Encrypting the initialization vector according to the encryption key corresponding to the terminal to obtain the decrypted data block; The ciphertext block corresponding to the terminal is decrypted according to the decrypted data block to obtain decrypted positioning auxiliary information.
3. The method according to claim 1, characterized in that There is a first identifier between each of the ciphertext blocks.
4. The method according to any one of claims 1 to 3, characterized in that: The positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time mark, half-cycle ambiguity mark, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
5. The method according to claim 4, characterized in that When the positioning assistance information includes a fine pseudorange, and the contract accuracy corresponding to the encryption key of the terminal belongs to a first accuracy range, the decrypted positioning assistance information includes: first N1 bits of data of the fine pseudorange; or, when the positioning assistance information includes a fine pseudorange, and the contract accuracy corresponding to the encryption key of the terminal belongs to a second accuracy range, the decrypted positioning assistance information includes: first N2 bits of data of the fine pseudorange, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and N2 is greater than N1; When the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the first accuracy range, the decrypted positioning assistance information includes: the first M1 bit data of the carrier phase; or, when the positioning assistance information includes carrier phase and the contract accuracy corresponding to the encryption key of the terminal belongs to the second accuracy range, the decrypted positioning assistance information includes: the first M2 bit data of the carrier phase, the contract accuracy corresponding to the second accuracy range is greater than the contract accuracy corresponding to the first accuracy range, and the M2 is greater than the M1.
6. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: An encryption key corresponding to the terminal and sent by a second network device is received; the encryption key includes a second identifier, and the second identifier is used to indicate a signing accuracy corresponding to the encryption key.
7. The method according to claim 6, characterized in that Before receiving the encryption key corresponding to the terminal sent by the second network device, the method further includes: If the terminal moves into the contract area, sending a registration request to the first network device; The receiving an encryption key corresponding to the terminal and sent by the second network device includes: A registration acceptance message sent by the second network device is received, where the registration acceptance message includes: an encryption key corresponding to the terminal.
8. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When it is determined that the terminal moves from a high-precision area to a low-precision area or a non-contract area, or moves from a low-precision area to a non-contract area, prompt information is output to prompt the terminal to enter the non-contract area.
9. A positioning information interaction method, characterized in that: Applied to a first network device, the method comprises: Sending positioning assistance information to the terminal; the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; the different encryption keys correspond to different signing accuracies.
10. The method according to claim 9, characterized in that Before sending the positioning assistance information to the terminal, the method further includes: Obtaining an initialization vector, and encrypting the initialization vector using each of the encryption keys to obtain each of the encrypted data blocks; For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained; The initialization vector and the ciphertext blocks corresponding to each of the encryption keys are concatenated to obtain the positioning auxiliary information.
11. The method according to claim 10, characterized in that There is a first identifier between each of the ciphertext blocks.
12. The method according to claim 11, characterized in that In the case where there are two at least two encryption keys, the encryption keys include a first key and a second key, and the initialization vector is encrypting using each of the encryption keys to obtain each of the encrypted data blocks, including: Encrypting the initialization vector using a first key to obtain a first encrypted data block, and encrypting the initialization vector using a second key to obtain a second encrypted data block; For each of the encryption keys, according to the encrypted data block and the data portion corresponding to the encryption key in the data to be encrypted, a ciphertext block corresponding to the encryption key is obtained, including: Obtaining a first ciphertext block according to the first encrypted data block and the first part of the data to be encrypted; Obtaining a second ciphertext block according to the second encrypted data block and the second part of the data to be encrypted; The initialization vector and the ciphertext blocks corresponding to the encryption keys are concatenated to obtain the positioning auxiliary information, including: The initialization vector, the first ciphertext block, the first identifier and the second ciphertext block are sequentially concatenated to obtain the positioning auxiliary information.
13. The method according to claim 12, characterized in that The positioning assistance information includes at least one of the following: satellite identification, frequency band information corresponding to the satellite, satellite signal ID, coarse pseudorange, fine pseudorange, fine phase range, lock time mark, half-cycle ambiguity mark, carrier-to-noise ratio, coarse phase change rate, and fine phase change rate.
14. The method according to claim 13, characterized in that In the case where the data to be encrypted includes a fine pseudorange, and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first N1 bits of data of the fine pseudorange, and the second part of the data to be encrypted includes: the first N2 bits of data of the fine pseudorange, where N2 is greater than N1; When the data to be encrypted includes a carrier phase and the signing accuracy corresponding to the first key is less than the signing accuracy corresponding to the second key, the first part of the data to be encrypted includes: the first M1 bits of data of the carrier phase, and the second part of the data to be encrypted includes: the first M2 bits of data of the carrier phase, and M2 is greater than M1.
15. A method for interacting with positioning related information, characterized in that: Applied to the second network device, the method comprises: An encryption key corresponding to the terminal is sent to the terminal, and the encryption key corresponding to the terminal is used to decrypt positioning assistance information, wherein the positioning assistance information includes: at least two ciphertext blocks, each of which is encrypted according to a different encryption key; and the different encryption keys correspond to different signing accuracies.
16. The method according to claim 15, characterized in that The method further comprises: Sending a first request to a third network device, where the first request is used to query the positioning subscription information of the terminal; Receive the positioning contract information of the terminal sent by the third network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
17. The method according to claim 16, characterized in that The method further comprises: Determining whether the geographical area range of the terminal matches the valid range corresponding to the contract accuracy; If a match is found, a second request is sent to the fourth network device, where the second request is used to request the encryption key corresponding to the terminal; the second request includes: the contract accuracy of the terminal; or, When the contract accuracy of the terminal falls within the target contract accuracy range, sending a second request to the fourth network device, the second request being used to request an encryption key corresponding to the terminal; the second request including: the contract accuracy of the terminal; Receive the encryption key corresponding to the terminal sent by the fourth network device.
18. The method according to claim 16 or 17, characterized in that The first request includes: a field identifier of positioning broadcast assistance data, and the positioning subscription information also includes: positioning broadcast assistance data; or, The first request includes: request information of at least one data set, and the request information of at least one data set includes at least: a data set name of the positioning contract information.
19. The method according to claim 16 or 17, characterized in that The granularity of the effective range is at least one of the following: tracking area TA, radio access network notification area RNA, cell.
20. A method for interacting with positioning related information, characterized in that: Applied to a third network device, the method includes: receiving a first request sent by a second network device, where the first request is used to query positioning subscription information of a terminal; The positioning contract information of the terminal is sent to the second network device, where the positioning contract information includes at least one of the following: contract accuracy and a valid range corresponding to the contract accuracy.
21. A method for interacting with positioning related information, characterized in that: Applied to a fourth network device, the method includes: receiving a second request sent by a second network device, the second request being used to request an encryption key corresponding to a terminal; the second request comprising: a contract accuracy of the terminal; Send the encryption key corresponding to the terminal to the second network device.
22. A terminal, characterized in that: Including memory, transceiver, processor; Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor is used to read the computer program in the memory and execute the steps of the positioning related information interaction method as described in any one of claims 1 to 8.
23. A network device, characterized in that: Including memory, transceiver, processor; Memory for storing computer programs; a transceiver, for transmitting and receiving data under the control of the processor; A processor, configured to read the computer program in the memory and execute the steps of the method for interacting with positioning related information as described in any one of claims 9 to 14, or execute the steps of the method for interacting with positioning related information as described in any one of claims 15 to 19, or execute the steps of the method for interacting with positioning related information as described in claim 20, or execute the steps of the method for interacting with positioning related information as described in claim 21.
24. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the positioning related information interaction method described in any one of claims 1 to 8 are implemented, or the steps of the positioning related information interaction method described in any one of claims 9 to 14 are implemented, or the steps of the positioning related information interaction method described in any one of claims 15 to 19 are implemented, or the steps of the positioning related information interaction method described in claim 20 are implemented, or the steps of the positioning related information interaction method described in claim 21 are implemented.
25. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the positioning related information interaction method described in any one of claims 1 to 8 are implemented, or the steps of the positioning related information interaction method described in any one of claims 9 to 14 are implemented, or the steps of the positioning related information interaction method described in any one of claims 15 to 19 are implemented, or the steps of the positioning related information interaction method described in claim 20 are implemented, or the steps of the positioning related information interaction method described in claim 21 are implemented.
