Real-time position secure transmission system based on ECIES post-quantum enhancement and geofence

By using the ECIES post-quantum enhancement and geofencing real-time location security transmission system, the geographical location parameters and lattice cryptographic parameters are dynamically bound, solving the spatial dimension parameter binding and static verification problems of traditional quantum-resistant encryption schemes. This achieves real-time dynamic mapping of the key system and enhances its anti-cracking capabilities, while reducing communication interruption time.

CN120857110AInactive Publication Date: 2025-10-28CHINA THREE GORGES UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202511060656.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-07-30
Publication Date
2025-10-28
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN120857110A_ABST
    Figure CN120857110A_ABST
Patent Text Reader

Abstract

The invention, which relates to the technical field of data encryption, discloses a real-time position security transmission system based on ECIES post-quantum enhancement and geofence, comprising a coordinate conversion module, a parameter generation module, a key adjustment module, a verification execution module, and a fragment storage module. According to the method, through dynamic binding of the real-time geographic position and the lattice-based password parameter, an encryption system has spatial constraint, and real-time mapping of the secret key and the device position is achieved. The longitude and latitude integer part is subjected to XOR to generate a reference parameter, and the decimal part constructs a lattice basis matrix dimension. The singular value retention number is adjusted according to the moving speed standard deviation, and the cracking resistance of a high-speed scene is improved. In combination with space-time double-factor verification, key space validity is constrained, and key fragments are operated by means of a vertex coordinate model and are only activated in a specific sub-region.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data encryption technology, specifically to a real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing. Background Technology

[0002] The field of data encryption technology encompasses methods for ensuring the confidentiality, integrity, and authentication of transmitted data within an information protection system. Its core content involves constructing mathematical one-way functions at the cryptographic algorithm design level to achieve plaintext-ciphertext conversion; establishing a full-lifecycle security mechanism for key generation, storage, distribution, and updating at the key management level; and defining rules for identity authentication and data exchange between communicating parties at the security protocol level. The technical system employs a hybrid encryption architecture, combining the efficiency advantages of symmetric encryption with the key management advantages of asymmetric encryption to form a secure communication framework, encompassing technical components such as digital signatures, certificate authorities, and key negotiation protocols. Post-quantum encryption technology, as a cryptographic system addressing the threat of quantum computing, reconstructs the underlying mathematical problems of traditional public key infrastructure.

[0003] The real-time location security transmission system based on ECIES post-quantum enhancement and geofencing refers to a system that replaces the discrete logarithmic parameters of the elliptic curve cryptography scheme with parameters from a lattice basis learning error-laden hard problem, constructing an encryption structure resistant to quantum computing attacks, while simultaneously integrating a geofencing spatial constraint mechanism. This method employs a lattice basis mathematical problem-generating key exchange protocol to achieve quantum resistance in the encryption process, and uses geofencing technology to verify device coordinate information in real time. When the mobile terminal's location deviates from the preset geofencing polygon area, a communication link interruption protection mechanism is triggered. Specific technical means include the lattice basis parameterization transformation process of the elliptic curve cryptography system, the rasterized coordinate mapping method in the geofencing dynamic boundary generation algorithm, and the hash time-lock binding verification process between location coordinates and encryption keys.

[0004] Traditional quantum-resistant encryption schemes lack spatial dimension parameter binding mechanisms, and the key generation process does not incorporate physical location characteristics, leading to a risk of universal key system compatibility. Geofencing verification mechanisms often employ static boundary checks, failing to establish a dynamic correlation between encryption parameters and movement patterns, making them prone to verification lags when device movement states change abruptly. Existing key distribution strategies do not consider location distribution density factors; encryption strength in static areas is equivalent to that in dynamic areas, resulting in wasted computational resources. Fragmented storage methods are typically based on fixed node allocation, failing to establish a mapping relationship with the geofence topology, creating a single point of failure vulnerability for cross-regional key recovery. Lattice cryptography parameter updates rely on fixed time periods and do not introduce spatiotemporal decay factors, making historical keys susceptible to reverse engineering. For example, when a device briefly leaves the geofence, traditional methods require a complete reconstruction of the key system, increasing communication interruption time by 37%, while dynamic parameter binding mechanisms can achieve seamless switching. Summary of the Invention

[0005] The purpose of this invention is to provide a real-time location security transmission system based on ECIES post-quantum enhancement and geofencing, in order to solve the problems of traditional quantum-resistant encryption schemes, such as lack of spatial dimension parameter binding, static geofencing verification mechanism, failure to consider location distribution density in key distribution, fragmented storage being disconnected from geofencing topology, rigid lattice cryptography parameter update mechanism, and increased communication interruption time caused by key system reconstruction when the device is briefly removed from the geofencing.

[0006] To achieve the above objectives, the present invention provides the following technical solution: a real-time location security transmission system based on ECIES post-quantum enhancement and geofencing, comprising a coordinate transformation module, a parameter generation module, a key adjustment module, a verification execution module, and a fragment storage module connected in sequence.

[0007] The coordinate transformation module is used to obtain latitude and longitude coordinates. The longitude integer is XORed with the latitude integer, and the last three digits are converted to decimal. The third to sixth decimal digits of the latitude are added to the fifth to eighth decimal digits of the longitude. The modulo 256 operation is used to generate the lattice base mapping reference value. The parameter generation module includes a matrix of row and column dimensions to generate quantum-resistant key parameters based on the lattice basis mapping benchmark value, the number of rows selected by the parity of the last digit of longitude, the modulus obtained by hashing the first four decimal digits of latitude, the degree of the polynomial determined by multiplying the number of rows and the modulus and taking the last two digits. The key adjustment module is used to call the quantum-resistant key parameters, count the number of singular values ​​by XORing the last digit of the minute with the last digit of the longitude when the standard deviation of the position coordinates exceeds the threshold, and retain the first N values ​​to generate dynamic entropy value constraints. Verification Execution Module: Based on the dynamic entropy value constraint, when the minimum distance between the coordinates and the fence vertex exceeds the radius limit, the last three digits of latitude are XORed with the last three digits of longitude to generate a spatial binding verification factor. The fragmented storage module includes a storage node that generates a geofence key topology based on a spatially bound verification factor, splits the key into vertex fragments, and uses the last four bits of the binary data to modulate the vertex coordinates.

[0008] Preferably, the lattice base mapping reference value includes integer XOR values ​​of longitude and latitude and combined modulus values ​​of fractional parts; the quantum-resistant key parameters include row number factor, modulus reference, and polynomial degree; the dynamic entropy value constraint conditions include standard deviation threshold and number of singular values; the spatial binding verification factor specifically refers to distance ratio threshold and XOR verification code; and the geofence key topology includes vertex number fragments and node number mapping.

[0009] Preferably, the coordinate transformation module includes a coordinate preprocessing submodule, a parameter fusion submodule, and a datum generation submodule: The coordinate preprocessing submodule is used to obtain the real-time latitude and longitude coordinates of the device, extract the integer part of the longitude and the integer part of the latitude, perform an XOR operation on the result, convert the result into a binary number and truncate the last three digits, convert it into a decimal value, and generate the XOR reference value. The parameter fusion submodule includes collecting the third to sixth digits of the latitude decimal part and the fifth to eighth digits of the longitude decimal part based on the XOR reference value, performing an addition operation on the two sets of number sequences, performing a modulo 256 operation on the summation result, and generating fused parameter values. The baseline generation submodule is used to call the XOR baseline value and the fusion parameter value, use the XOR baseline value as the row number factor and the fusion parameter value as the column number factor, construct a two-dimensional matrix and perform row and column dimension multiplication to generate the lattice basis mapping baseline value.

[0010] Preferably, the parameter generation module includes a row number factor submodule, a modulus generation submodule, and a parameter synthesis submodule: The row number factor submodule includes extracting the last longitude value based on the lattice base mapping baseline value and determining its parity. When the value is odd, the baseline row number is added by 3, and when it is even, the baseline row number is subtracted by 1 to generate a dynamic row number factor. The modulus generation submodule is used to call the dynamic row number factor, collect the first four digits of the decimal part of the latitude, convert each number into an ASCII code value and accumulate them, perform a modulo 1024 operation on the accumulated result, and generate the lattice base modulus. The parameter synthesis submodule includes a matrix based on the dynamic row factor and the lattice basis modulus benchmark. The row factor is squared and multiplied by the modulus benchmark. The last two decimal digits of the product result are taken as the polynomial degree. The matrix is ​​constructed with the row factor as the row dimension and the modulus benchmark as the column dimension, and the quantum-resistant key parameters are generated.

[0011] Preferably, the key adjustment module includes a motion analysis submodule, a singular value operator submodule, and a constraint generation submodule: Motion Analysis Submodule: Calls the quantum-resistant key parameters, calculates the lateral and longitudinal movement speeds of the device's position coordinates within the last 60 seconds, calculates the speed standard deviation, and generates a motion intensity identifier when the standard deviation exceeds 2 meters per second; Singular value operator submodule: Based on the motion intensity identifier, extract the last digit of the current minute value and the last digit of the integer part of the longitude, perform an XOR operation on the result, convert the result into a binary number, truncate the first four digits, convert it into a decimal number, and generate the singular value retention number. Constraint Generation Submodule: Based on the singular value retention number, perform singular value decomposition on the lattice basis matrix, retain the first N singular values ​​to reconstruct the matrix, and use the product of the trace and determinant of the reconstructed matrix as constraint coefficients to generate dynamic entropy constraint conditions.

[0012] Preferably, the verification execution module includes a distance calculation submodule, an out-of-bounds judgment submodule, and a verification generation submodule: Distance calculation submodule: Based on dynamic entropy constraints, obtain the planar projection coordinates of the current device coordinates and each vertex of the geofence, calculate the Euclidean distance from each vertex to the device coordinates, and take the minimum value to generate the minimum distance value of the geofence; Boundary crossing detection submodule: Calls the minimum distance value of the fence, calculates the ratio between the minimum distance value and the radius of the geographic fence, and when the ratio exceeds 1.2, extracts the last digit of the current timestamp and performs an XOR operation with the last digit of the fence number to generate a boundary crossing identifier code; Verification generation submodule: Based on the out-of-bounds identifier code, collect the last three digits of the decimal part of latitude and the last three digits of the decimal part of longitude, perform an XOR operation on the two sets of numbers, take the last six binary digits, convert them into hexadecimal values, and generate spatial binding verification factors.

[0013] Preferably, the fragment storage module includes a key splitting submodule, a node mapping submodule, and a topology generation submodule: Key splitting submodule: Calls the spatial binding verification factor, splits the master key into equal fragments according to the number of geofence vertices, and adds the last two digits of the verification factor to each fragment to generate a key fragment set; Node mapping submodule: Based on the key fragment set, extract the last four binary bits of each fragment, perform a modulo-8 operation on the integer part of the corresponding vertex coordinates, and use the result as an index value to generate a node number sequence; Topology generation submodule: Based on the node number sequence, establish a bidirectional mapping relationship between each fragment and vertex coordinates, construct a circular linked list structure in number order, integrate all storage nodes associated with vertices, and generate geofence key topology.

[0014] The beneficial effects of this invention are as follows: By dynamically binding real-time geographic location parameters with lattice-based cryptographic parameters, a strong correlation between key generation and physical space is established, giving the encryption system spatial dimensional constraints. A base parameter is generated using an XOR operation on the integer parts of latitude and longitude coordinates, and combined with a combination operation on the fractional parts to construct the lattice matrix dimension, achieving real-time dynamic mapping between key parameters and device location. Singular value retention is adjusted based on the standard deviation of movement speed, allowing key complexity to adaptively change with the movement state, automatically improving anti-cracking strength in high-speed movement scenarios. By calculating the distance ratio between device coordinates and geofence vertices, combined with a spatiotemporal two-factor authentication mechanism, the validity of the key is ensured to be strictly constrained by spatial boundaries. Key fragment storage employs a vertex coordinate modulo operation mapping strategy, ensuring that each fragment can only be activated in a specific geographic sub-region. Attached Figure Description

[0015] Figure 1 This is a flowchart of the system of the present invention. Detailed Implementation

[0016] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0017] See also Figure 1 The present invention provides a technical solution: A real-time location security transmission system based on ECIES post-quantum enhancement and geofencing includes a coordinate transformation module, a parameter generation module, a key adjustment module, a verification execution module, and a fragment storage module connected in sequence. The coordinate transformation module is used to obtain the real-time latitude and longitude coordinates of the device, perform an XOR operation on the integer part of the longitude and the integer part of the latitude, extract the last three binary digits of the result and convert them into decimal numbers, add the third to sixth digits of the decimal part of the latitude and the fifth to eighth digits of the decimal part of the longitude, perform a modulo 256 operation on the summation result, generate the lattice base mapping reference value, and output it to the parameter generation module. The parameter generation module includes extracting the parity of the last digit of longitude as a row number selection factor based on the lattice basis mapping benchmark value, calculating the hash value of the first four digits of the decimal part of latitude as the modulus benchmark, multiplying the row number selection factor and the modulus benchmark and taking the last two digits as the polynomial degree, using the row number factor to determine the row dimension and the modulus benchmark to determine the column dimension when constructing the lattice basis matrix, generating quantum-resistant key parameters, and outputting them to the key adjustment module; The key adjustment module is used to call the quantum-resistant key parameters, calculate the standard deviation of the device position coordinates in the last 60 seconds, and when the standard deviation exceeds 2 m / s, extract the last digit of the current minute value and the last digit of the integer part of the longitude, perform an XOR operation, use the result as the singular value retention number, perform singular value decomposition on the matrix, retain the first N singular values, generate dynamic entropy value constraints, and output them to the verification execution module. The verification execution module includes calculating the Euclidean distance between the current coordinates and each vertex of the geofence based on the dynamic entropy value constraint, taking the minimum distance value and performing a ratio operation with the fence radius. When the ratio exceeds 1.2, the last three decimal places of the latitude are extracted and XORed with the last three decimal places of the longitude to generate a spatial binding verification factor. The fragment storage module is used to split the master key into a number of fragments equal to the number of geofence vertices based on the spatial binding verification factor. For each fragment, the last four bits of the binary number are taken and modulo 8 is performed with the integer part of the vertex coordinates to determine the storage node number and generate the geofence key topology.

[0018] The lattice base mapping benchmark value includes the integer XOR value of longitude and latitude and the combined modulus value of the fractional part. The quantum-resistant key parameters are specifically the row number factor, the modulus benchmark, and the polynomial degree. The dynamic entropy value constraint conditions include the standard deviation threshold and the number of singular values. The spatial binding verification factor specifically refers to the distance ratio threshold and the XOR verification code. The geofence key topology includes the number of vertex fragments and the node number mapping.

[0019] The coordinate transformation module includes a coordinate preprocessing submodule, a parameter fusion submodule, and a datum generation submodule. The coordinate preprocessing submodule acquires the real-time latitude and longitude coordinates of the device, extracts the integer parts of the longitude and latitude, performs an XOR operation, converts the result into a binary number and truncates the last three digits, converts it into a decimal value, and generates an XOR base value. Alternatively, it acquires the real-time latitude and longitude coordinates of the device (taking Beijing coordinates 116.407526°E / 39.904030°N as an example), extracts the integer part of the longitude 116 and the integer part of the latitude 39 and performs an XOR operation (116 XOR 39 = 83), converts the decimal result 83 into the binary number 01010011, truncates the last three digits 011 and converts them into the decimal value 3, and generates an XOR base value. For example, in a certain operation, the XOR of longitude 118°E and latitude 32°N results in 90 (1011010), and the last three digits 010 correspond to decimal 2, so the base value is 2. Parameter fusion submodule: Based on the XOR reference value, it collects the third to sixth digits of the latitude decimal part and the fifth to eighth digits of the longitude decimal part, performs an addition operation on the two sets of number sequences, and performs a modulo 256 operation on the sum to generate the fused parameter value. Based on the XOR reference value (assumed to be 3), it collects the third to sixth digits of the latitude decimal part 0.904030 (4030) and the fifth to eighth digits of the longitude decimal part 0.407526 (7526), ​​and performs an addition operation on 4030 and 7526 to obtain 1. 1556, perform a modulo 256 operation on the summation result (11556%256=11556-45256=11556-11520=36), generating a fusion parameter value. For example, when the latitude decimal is 0.618034, extract the third to sixth digits 8034; when the longitude decimal is 0.299792, extract the fifth to eighth digits 9792. Add them together to get 17826. The modulo 256 operation gives 17826%256=17826-69256=17826-17664=162; The baseline generation submodule: calls the XOR baseline value and the fusion parameter value, uses the XOR baseline value as the row factor and the fusion parameter value as the column factor, constructs a two-dimensional matrix, and performs a row-column dimension product operation to generate the lattice basis mapping baseline value. It then calls the XOR baseline value (assumed to be 3) and the fusion parameter value (assumed to be 36), uses the XOR baseline value as the row factor and the fusion parameter value as the column factor, constructs a 3x36 two-dimensional matrix, calculates the row-column dimension product (3×36=108), and generates the lattice basis mapping baseline value. For example, when the baseline value is 2 and the parameter value is 162, constructing a 2×162 matrix yields a product of 324, so the mapping baseline value is 324. The formula is expressed as:

[0020] in XOR the baseline value, For the fusion parameter values, The product of the dimensions of the two-dimensional matrix generated by the coordinate transformation module.

[0021] The parameter generation module includes a row number factor submodule, a modulus generation submodule, and a parameter synthesis submodule: The row number factor submodule: Based on the lattice base mapping baseline value, it extracts the last longitude value and determines its parity. When the value is odd, it adds 3 to the baseline row number and subtracts 1 from the baseline row number to generate a dynamic row number factor. Based on the lattice base mapping baseline value (assumed to be 972, corresponding to a 6-row × 162-column matrix), it extracts the last longitude value (e.g., the last digit of 118.299792°E is 2), determines its parity (2 is even), and subtracts 1 from the baseline row number 6 to get 5, generating a dynamic row number factor. If the longitude is 117.406°E and the last digit is 7 (odd), then the row number 6 is added by 3 to get 9. For example, if the longitude of a certain device is 121.785°E and the last digit is 1 (odd), then the baseline row number 8 is added by 3 to get 11, and the dynamic row number factor is 11. Modulus generation submodule: Calls the dynamic row factor to collect the first four digits of the latitude decimal part, converts each digit to ASCII code value and accumulates them, performs a modulo 1024 operation on the accumulated result, and generates the lattice base modulus. Calls the dynamic row factor (assumed to be 5) to collect the first four digits of the latitude decimal part (e.g., 6180 in 32.618034°N), converts the digits 6 / 1 / 8 / 0 to ASCII code values ​​54 / 49 / 56 / 48 respectively, accumulates them to get 54+49+56+48=207, performs a modulo 1024 operation on the accumulated result (207%1024=207), and generates the lattice base modulus. If the latitude decimal part is 39.904030°N with the first four digits being 9040, converts 9→57, 0→48, 4→52, 0→48, accumulates 57+48+52+48=205, and modulo 1024 gives 205. The parameter synthesis submodule, based on the dynamic row factor and the lattice base modulus, squares the row factor and multiplies it by the modulus. The last two decimal digits of the product are used as the polynomial degree to construct a matrix with the row factor as the row dimension and the modulus as the column dimension, generating quantum-resistant key parameters. Alternatively, based on the dynamic row factor (assumed to be 5) and the lattice base modulus (assumed to be 207), squares the row factor (5²=25) and multiplies it by the modulus (25×207=5175). The last two digits of the product, 75, are used as the polynomial degree to construct a 5x207 matrix, generating quantum-resistant key parameters. For example, when the row factor is 11 and the modulus is 205, calculating 11²×205=121×205=24805, with the last two digits being 05, results in an 11×205 matrix with a polynomial degree of 5. The formula is expressed as:

[0022] in Dynamic row number factor It serves as the lattice-based modulus benchmark.

[0023] The key adjustment module includes a motion analysis submodule, a singular value operator submodule, and a constraint generation submodule. Motion Analysis Submodule: Calls the anti-quantum key parameters to statistically analyze the lateral and longitudinal movement velocities of the device's position coordinates over the past 60 seconds, calculates the standard deviation of the velocity, and generates a motion intensity identifier when the standard deviation exceeds 2 m / s. It then calls the anti-quantum key parameters (assumed to be a 5×207 matrix) to statistically analyze the device's position coordinates over the past 60 seconds (e.g., latitude and longitude collected per second: [(116.407+i0.001,39.904+i0.002)], i=0-59), calculates the lateral velocity (longitude change Δλ=0.001° / s×111km≈0.111km / s) and the longitudinal velocity (latitude change Δφ=0.002° / s×111km≈0.222km / s), and calculates the 60... The standard deviation of the velocity samples: the standard deviation of lateral velocity σ_x = √[Σ(v_i-μ_x)² / (n-1)]. Assuming μ_x = 0.111 km / s and Σ(v_i-μ_x)² = 0, then σ_x = 0. When the device suddenly accelerates to 0.5 km / s for 10 seconds, μ_x = 0.111×50 + 0.5×10) / 60 ≈ 0.143, Σ(v_i-μ_x)² = 50×(0.111-0.143)² + 10×(0.5-0.143)² ≈ 0.2048 + 1.2769 = 1.4817, σ_x = √(1.4817 / 59) ≈ 0.158 km / s = 158 m / s, which exceeds the 2 m / s threshold, generating a motion intensity indicator. Singular value operator submodule: Based on the motion intensity identifier, extract the last digit of the current minute value and the last digit of the longitude integer part, perform an XOR operation, convert the result into a binary number, truncate the first four bits, convert it into a decimal value, and generate a singular value retention number. Based on the motion intensity identifier (value 1), extract the last digit of the current minute value (e.g., the last digit of 15:23 is 3) and the last digit of the longitude integer part (the last digit of 118°E is 8), perform an XOR operation (3 XOR 8=11), convert the decimal 11 into binary 1011, truncate the first four bits of 1011, convert it into decimal 11, and generate a singular value retention number. If the last digit of the minute is 6 and the last digit of the longitude is 5, the XOR result is 3 (011), and zeros are added to four bits to get 0011, which corresponds to decimal 3. The constraint generation submodule performs singular value decomposition on the lattice basis matrix based on the singular value retention number, reconstructs the matrix by retaining the first N singular values, and uses the product of the trace and determinant of the reconstructed matrix as constraint coefficients to generate dynamic entropy constraint conditions. Based on the singular value retention number (assumed to be 11), it performs singular value decomposition on the 5×207 lattice basis matrix and arranges the singular values ​​in descending order. , ,…, ], retaining the first N = 11% × 5 ≈ 1 singular value ( =350), reconstruct the matrix Σ'=diag(350,0,0,0,0), calculate the trace Tr(Σ')=350, determinant det(Σ')=0, product 350×0=0, when retaining N=3 singular values ​​( =350, =80, =20), Tr=450, det=350×80×20=560000, the product 450×560000=252000000, generating the dynamic entropy constraint (value 252000000). In the formula, Tr represents the matrix trace, det represents the determinant, and the constraint coefficient is calculated as follows:

[0024] in For dynamic entropy value constraints, It is the sum of the diagonal elements. The determinant of a diagonal matrix is ​​the product of its diagonal elements. This is the reconstructed singular value matrix.

[0025] The verification execution module includes a distance calculation submodule, an out-of-bounds judgment submodule, and a verification generation submodule. The distance calculation submodule, based on dynamic entropy constraints, obtains the planar projected coordinates of the current device coordinates and each vertex of the geofence. It calculates the Euclidean distance from each vertex to the device coordinates, takes the minimum value to generate the minimum distance value for the geofence. Based on dynamic entropy constraints (assumed to be 252000000), it obtains the current device coordinates (116.407526°E, 39.904030°N) and the coordinates of the four vertices of the geofence (e.g., vertex A: 116.408000°E / 39.905000°N, vertex B: 116.406000°E / 39.905000°N, vertex C: 116.406000°E / 39.903000°N, vertex D: 116.408000°E / 39.903000°N). (03000°N), convert latitude and longitude to planar projected coordinates (X=longitude×111000, Y=latitude×111000, device coordinates X=12921.835, Y=4429.347, vertex A coordinates X=12922.488, Y=4429.455), calculate the Euclidean distance from each vertex to the device: vertex A distance √[(12922.488-12921.835)²+(4429.455-4429.347)²]=√[(0.653)²+(0.108)²]≈0.659 meters, similarly calculate the distances of vertices B / C / D as 1.802 meters / 2.195 meters / 1.804 meters respectively, take the minimum value of 0.659 meters to generate the minimum distance value of the fence; The boundary crossing detection submodule: It calls the minimum fence distance value and calculates the ratio between this value and the geofence radius. If the ratio exceeds 1.2, it extracts the last digit of the current timestamp and performs an XOR operation with the last digit of the fence number to generate a boundary crossing identifier. The minimum fence distance value (0.659 meters) is used, and the geofence radius is 50 meters. The calculated ratio is 0.659 / 50≈0.013 (far below the 1.2 threshold). When the device moves near vertex C (2.195 meters away), the ratio 2.195 / 50≈0.0439 is still below the threshold. If the device moves 60 meters outside the fence (60 meters away), the ratio 60 / 50=1.2, triggering the boundary crossing condition. It extracts the last digit of the current timestamp (e.g., 1625403 seconds) and the last digit of the fence number (e.g., ID-1005), performing an XOR operation: 3 XOR 5=6, generating a boundary crossing identifier (value 6). If the last digit of the timestamp is 7 and the last digit of the fence number is 2, then 7 XOR 5 = 6. 2 = 5; Verification Generation Submodule: Based on the out-of-bounds identifier, collect the last three digits of the latitude and longitude fractional parts. Perform an XOR operation on these two sets of numbers, extract the last six binary digits, convert them to hexadecimal, and generate a spatial binding verification factor. Based on the out-of-bounds identifier (assumed to be 6), collect the last three digits of the latitude fractional part (39.904030→030) and the last three digits of the longitude fractional part (116.407526→526). Perform an XOR operation on 030 and 526 (030 XOR 526=556). The decimal 556 is converted to binary 1000101100. Extract the last six digits 001100, convert them to hexadecimal 0x0C, and generate a spatial binding verification factor (0x0C). If the last three digits of latitude are 415 and the last three digits of longitude are 728, the XOR operation yields 415 XOR 728 = 343, which is 101010111 in binary. The last six bits, 010111, become 0x17. The XOR operation in the formula is defined as:

[0026] in The latitude is three decimal places. The longitude is three decimal places. To convert the last six binary digits to hexadecimal. This is to extract the last six bits of a binary number.

[0027] The fragmented storage module includes a key splitting submodule, a node mapping submodule, and a topology generation submodule. Key splitting submodule: Calls the spatial binding verification factor, divides the master key into equal fragments according to the number of geofence vertices, appends the last two digits of the verification factor to each fragment, generates a key fragment set, calls the spatial binding verification factor (assumed to be 0x0C), the number of geofence vertices is 4, divides the master key "0xA1B2C3D4E5F6" into 4 equal parts ["A1B2","C3D4","E5F6","pad0"] (padding with zeros if necessary), extracts the last two digits of the verification factor 0xC→12, converts it to decimal check code "12", appends the check code to each fragment, generates a key fragment set ["A1B212","C3D412","E5F612","pad012"]. For example, when the verification factor is 0x19, the last two digits 19→25, then the fragments become ["A1B225","C3D425","E5F625","pad025"]. The node mapping submodule, based on the key fragment set, extracts the last four binary bits of each fragment, performs a modulo-8 operation with the integer part of the corresponding vertex coordinates, and uses the result as an index value to generate a node number sequence. Based on the key fragment set (taking ["A1B212","C3D412","E5F612","pad012"] as an example), it extracts the last four characters of each fragment (e.g., the last four characters of "A1B212" are "B212"), and converts the characters to ASCII codes (B→66, 2→50). , 1→49, 2→50), concatenated into binary 0110001001100100011000010110010, the last four bits 0010 are extracted, corresponding to decimal 2, vertex A coordinates 116°E integer part 116, calculate 116%8=4, perform modulo 8 operation on 2 and 4 (2+4)%8=6, generate node number sequence [6,2,5,1], if vertex B coordinates 114°E, 114%8=2, the last four bits of the fragment operation value is 3, then (3+2)%8=5; Topology Generation Submodule: Based on the node number sequence, a bidirectional mapping relationship is established between each fragment and vertex coordinates. A circular linked list structure is constructed in numerical order, integrating all vertex-associated storage nodes to generate the geofencing key topology. Based on the node number sequence [6,2,5,1], fragment "A1B212" is mapped to node 6. Node 6 stores the coordinates of vertex A (116,39) and fragment index 0. Simultaneously, fragment index 0 is associated with node 6. A circular linked list of 6→2→5→1→6 is constructed in numerical order, integrating all vertex-associated nodes to generate the geofencing key topology. For example, node 2 stores fragment "C3D412" and maps it to vertex B (114,39), node 5 stores "E5F612" and maps it to vertex C (114,37), and node 1 stores "pad012" and maps it to vertex D (116,37). The topology structure verification formula is:

[0028] in The current storage node number, The next-hop storage node number. Modulo-8 arithmetic is used, and all content not described in detail in this specification belongs to the prior art known to those skilled in the art.

[0029] The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely preferred examples and are not intended to limit the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing, characterized in that, It includes, in sequence, a coordinate transformation module, a parameter generation module, a key adjustment module, a verification execution module, and a fragment storage module: The coordinate transformation module is used to obtain latitude and longitude coordinates, generate lattice base mapping reference values ​​through integer XOR and decimal combination modulo operations, and output them to the parameter generation module; The parameter generation module receives the lattice basis mapping reference value, calculates the quantum-resistant key parameters using the row and column dimensions and the polynomial degree, and outputs them to the key adjustment module. The key adjustment module is used to call the quantum-resistant key parameters, generate dynamic entropy value constraints through motion state analysis, and output them to the verification and execution module. The verification execution module includes generating a spatial binding verification factor based on the dynamic entropy value constraint and distance judgment, and outputting it to the fragment storage module; The fragment storage module is used to generate geofence key topology based on spatially bound verification factors, through key splitting and node mapping.

2. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing as described in claim 1, characterized in that: The coordinate transformation module includes a coordinate preprocessing submodule, a parameter fusion submodule, and a benchmark generation submodule. The coordinate preprocessing submodule is used for XOR operation of the integer parts of latitude and longitude, the parameter fusion submodule is used for combination operation of the decimal parts of latitude and longitude, and the benchmark generation submodule is used to generate a lattice base mapping benchmark value by combining the results of the former two.

3. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing as described in claim 2, characterized in that: The coordinate preprocessing submodule is used to obtain the real-time latitude and longitude coordinates of the device, extract the integer part of the longitude and the integer part of the latitude, perform an XOR operation, convert the operation result into a binary number and truncate the last three digits, convert it into a decimal value, and generate an XOR reference value.

4. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing as described in claim 2, characterized in that: The parameter fusion submodule is used to collect the third to sixth digits of the latitude fractional part and the fifth to eighth digits of the longitude fractional part based on the XOR reference value, perform an addition operation on the two sets of number sequences, perform a modulo 256 operation on the summation result, and generate a fused parameter value.

5. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing as described in claim 1, characterized in that: The parameter generation module includes a row number factor submodule, a modulus generation submodule, and a parameter synthesis submodule. The row number factor submodule adjusts the row number based on the parity of the last digit of longitude. The modulus generation submodule generates a modulus reference based on the first four decimal places of latitude. The parameter synthesis submodule combines the former two to generate quantum-resistant key parameters.

6. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing according to claim 5, characterized in that: The row number factor submodule is used to extract the last longitude value based on the lattice base mapping reference value and determine its parity. When the value is odd, the reference value row number is increased by 3, and when it is even, the reference value row number is decreased by 1 to generate a dynamic row number factor.

7. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing according to claim 1, characterized in that: The key adjustment module includes a motion analysis submodule, a singular value operator submodule, and a constraint generation submodule. The motion analysis submodule calculates the standard deviation of position coordinate velocity, the singular value operator submodule calculates the singular value retention number, and the constraint generation submodule generates dynamic entropy constraint conditions based on the singular values.

8. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing according to claim 7, characterized in that: The motion analysis submodule includes calling the quantum-resistant key parameters, statistically analyzing the lateral and longitudinal movement speeds of the device's position coordinates within the last 60 seconds, calculating the speed standard deviation, and generating a motion intensity identifier when the standard deviation exceeds 2 meters per second.

9. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing according to claim 1, characterized in that: The verification execution module includes a distance calculation submodule, an out-of-bounds judgment submodule, and a verification generation submodule. The distance calculation submodule calculates the minimum distance between the device and the fence vertex. The out-of-bounds judgment submodule judges whether the distance ratio exceeds the limit. The verification generation submodule generates a spatial binding verification factor.

10. The real-time location secure transmission system based on ECIES post-quantum enhancement and geofencing according to claim 1, characterized in that: The fragment storage module includes a key splitting submodule, a node mapping submodule, and a topology generation submodule. The key splitting submodule splits the master key into vertex fragments. The node mapping submodule determines the storage nodes through modulo operations. The topology generation submodule constructs a geofence key topology with a circular linked list structure.