NFC base station switching method and system based on secure location data

By obtaining credit location data and switching environment, real-time location data security checks and time series checks are performed, the security and accuracy problems in NFC base station switching are solved, and higher frequency supervision and accurate switching are achieved.

CN118804176BActive Publication Date: 2024-11-26GUANGZHOU ZHANFENG CARD MAKING CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411287690.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-14
Publication Date
2024-11-26
Estimated Expiration
2044-09-14

AI Technical Summary

Technical Problem

The existing NFC base station handover method lacks security considerations for location data, resulting in handover to an unsafe base station and inaccurate handover in complex geographical environments.

Method used

By acquiring credit location data and switching environments, performing security verification of real-time location data, using time series verification to switch environments in real-time, and locking real-time location data at higher acquisition frequency for NFC base station switching, ensuring the security and accuracy of switching sex.

Benefits of technology

It improves the accuracy and security of NFC base station handover, provides a reliable data foundation and supervision, and ensures the rationality and security of the handover process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118804176B_ABST
    Figure CN118804176B_ABST
Patent Text Reader

Abstract

The present application relates to the field of data security technology, and discloses a NFC base station switching method and system based on secure location data, the method comprising obtaining trusted location data and a trusted switching environment, obtaining real-time location data and a real-time switching environment based on a first acquisition frequency, performing a first secure location check and a second secure location check, and locking the real-time location data based on a second acquisition frequency and performing NFC base station switching, wherein the second acquisition frequency is greater than the first acquisition frequency. The system corresponds to the method. The present application provides a reliable data basis and reference for NFC base station switching through trusted location data and a trusted switching environment, provides a reasonable data source for whether NFC base station switching can be performed through real-time location data and a real-time switching environment, and realizes supervision of the entire process of NFC base station switching by increasing the sampling frequency and locking the real-time location data, and finally improves the accuracy and security of NFC base station switching.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data security technology, and in particular to a method and system for switching NFC base stations based on secure location data. Background Art

[0002] With the continuous development of science and technology, NFC technology has been widely used in various fields, followed by the widespread use of NFC base stations, so it is necessary to study NFC base stations.

[0003] However, the existing NFC communication system obviously has the following problems in base station switching:

[0004] 1. Traditional switching methods often lack security considerations for location data, which may result in switching to unsafe base stations, thus posing security risks.

[0005] 2. In complex geographical environments, NFC communication may be affected by multiple factors, resulting in inaccurate switching.

[0006] In summary, the prior art urgently needs a technical solution for NFC base station switching based on secure location data. Summary of the invention

[0007] The purpose of this application is to provide a NFC base station switching method and system based on secure location data to solve the technical problems raised in the above background technology.

[0008] To achieve the above objectives, this application discloses the following technical solutions:

[0009] In a first aspect, the present application discloses a NFC base station switching method based on secure location data, the method comprising:

[0010] S1: Acquire credit location data and credit switching environment; the credit location includes any one or more of a credit geographical location and a credit device location, and the credit switching environment includes a credit switching purpose and corresponding credit switching authorization information;

[0011] S2: acquiring real-time location data based on the first collection frequency, and performing a first security location check on the real-time location data using the trusted location data;

[0012] S3: acquiring a real-time switching environment based on the first acquisition frequency, and performing a second safety position check on the real-time position data based on a time series;

[0013] S4: Based on the second acquisition frequency, the real-time location data is locked and the NFC base station is switched;

[0014] The second acquisition frequency is greater than the first acquisition frequency.

[0015] Preferably, the credit location includes any one or more of a credit geographical location and a credit device location, specifically including:

[0016] The trusted geographical location is specifically a geographical trust area formed by a preset trusted operating location of the NFC device and a corresponding geographical trust radius. The trusted geographical location is represented as:

[0017] ;

[0018] in, is the horizontal coordinate of the trusted operating position of the preset NFC device, is the ordinate of the trusted operating position of the preset NFC device, is the geographical trust radius, is the set of horizontal coordinates that satisfy the geographic trust region, is the set of ordinates that satisfy the geographic trust region, The credit-granting geographical location;

[0019] The trusted device location is specifically a device trust area consisting of a preset geographical location of a device that is allowed to perform NFC communication and a corresponding device trust radius. The trusted device location is represented as:

[0020] ;

[0021] in, is the horizontal coordinate of the geographical location of the preset device that allows NFC communication, is the vertical coordinate of the geographical location of the preset device that allows NFC communication, is the device trust radius, is a set of horizontal coordinates that satisfy the device trust region, A set of ordinates that satisfy the device trust zone, is the location of the credit granting device.

[0022] Preferably, the credit switching environment includes a credit switching purpose and corresponding credit switching authorization information, specifically including:

[0023] The credit switching purpose is specifically a preset credit code set that allows NFC base station switching;

[0024] The credit switching authorization information is specifically the corresponding credit authorization information required to be obtained when performing NFC base station switching;

[0025] An environment correspondence is set between the credit switching purpose and the credit switching authorization information, and the environment correspondence is used to match the credit switching purpose with the credit switching authorization information.

[0026] Preferably, the obtaining of real-time location data specifically includes:

[0027] Obtain any one or more of real-time running geographic location data and real-time device geographic location data;

[0028] The real-time running geographical location data is represented as ,in, is the horizontal coordinate of the real-time running geographical location data, The vertical coordinate of the real-time running geographical location data;

[0029] The real-time device geographic location data is represented as ,in, is the horizontal coordinate of the real-time device geographic location data, is the vertical coordinate of the real-time device geographic location data.

[0030] Preferably, the method of performing a first security location check on the real-time location data using the trusted location data specifically comprises the following steps:

[0031] A1: Determine the real-time location data, and execute step A2 when the real-time location data is the real-time operation location data, and execute step A4 when the real-time location data is the real-time device location data;

[0032] A2: Judgment If yes, then execute step A3; otherwise, determine that the real-time location data is illegal and issue a warning;

[0033] A3: Judgment If so, the real-time location data is determined to be legal and passes the first security location check; otherwise, the real-time location data is determined to be illegal and an alert is issued;

[0034] A4: Judgment If yes, then execute step A5; otherwise, determine that the real-time location data is illegal and issue a warning;

[0035] A5: Judgment If so, the real-time location data is determined to be legal and passes the first security location verification; otherwise, the real-time location data is determined to be illegal and an alert is issued.

[0036] Preferably, the obtaining of the real-time switching environment specifically includes:

[0037] Get the real-time code corresponding to the real-time switching purpose;

[0038] Obtain real-time authorization information corresponding to real-time switching;

[0039] The real-time code and the real-time authorization information are packaged and defined as the real-time switching environment.

[0040] Preferably, the performing a second safety position check on the real-time position data based on the time series specifically comprises the following steps:

[0041] B1: Determine whether the real-time code belongs to the trusted code set, if yes, record the first timestamp of the real-time code and execute step B2, otherwise, determine that the real-time code is illegal and issue a warning;

[0042] B2: Based on the environment correspondence corresponding to the real-time code, the environment correspondence is matched with the corresponding credit authorization information, and the real-time authorization information is verified by the matched credit authorization information. If the verification is passed, the second timestamp of the real-time authorization information is recorded and step B3 is executed. Otherwise, the real-time authorization information is determined to be illegal and an alarm is issued;

[0043] B3: Preset the switching environment time difference threshold, calculate the timestamp difference between the first timestamp and the second timestamp, and determine whether the timestamp difference is less than or equal to the switching environment time difference threshold. If so, the real-time switching environment is determined to be legal and passes the second security position check; otherwise, the real-time switching environment is determined to be illegal and an alert is issued.

[0044] Preferably, the locking of the real-time location data and the switching of the NFC base station specifically include:

[0045] The legitimacy of the operation lock is determined by using the operation position locking formula for the real-time operation geographic location data, wherein the operation position locking formula is specifically:

[0046] ;

[0047] ;

[0048] in, is the horizontal coordinate of the real-time running geographical location data obtained based on the second collection frequency, is the preset horizontal coordinate difference threshold value of the operation lock, is the ordinate of the real-time running geographical location data obtained based on the second collection frequency, is the preset vertical coordinate difference threshold value of the operation lock, and All are formula numbers;

[0049] The legality determination of the operation lock is specifically as follows:

[0050] Determinant Japanese style If both conditions are met, the operation lock is determined to be legal and the NFC base station switching is allowed; otherwise, the operation lock is determined to be illegal and the NFC base station switching is stopped and an early warning is issued.

[0051] Preferably, the locking of the real-time location data and the switching of the NFC base station further comprises:

[0052] The device location locking formula is used to determine the legitimacy of the device locking of the real-time device geographic location data, wherein the device location locking formula is specifically:

[0053] ;

[0054] ;

[0055] in, is the horizontal coordinate of the real-time device geographic location data obtained based on the second acquisition frequency, is a preset horizontal coordinate difference threshold for locking the device, is the ordinate of the real-time device geographic location data obtained based on the second acquisition frequency, is a preset vertical coordinate difference threshold for locking the device, and All are formula numbers;

[0056] The legality determination of the device locking is specifically as follows:

[0057] Determinant Japanese style If all of them are true, it is determined that the device locking is legal and the NFC base station switching is allowed; otherwise, it is determined that the device locking is illegal and the NFC base station switching is stopped and an early warning is issued.

[0058] In a second aspect, the present application discloses an NFC base station switching system based on secure location data, the system is applicable to the NFC base station switching method based on secure location data as described above, and the system includes:

[0059] A credit data configuration module, wherein the credit data configuration module is configured to: obtain credit location data and a credit switching environment; the credit location includes any one or more of a credit geographical location and a credit device location; and the credit switching environment includes a credit switching purpose and corresponding credit switching authorization information;

[0060] A real-time location acquisition module, wherein the real-time location acquisition module is configured to: acquire real-time location data based on a first acquisition frequency, and perform a first security location check on the real-time location data using the trusted location data;

[0061] A real-time environment acquisition module, wherein the real-time environment acquisition module is configured to: acquire a real-time switching environment based on the first acquisition frequency, and perform a second safety position check on the real-time position data based on a time series;

[0062] A switching execution module, wherein the switching execution module is configured to: based on the second acquisition frequency, lock the real-time location data and perform NFC base station switching;

[0063] The second acquisition frequency is greater than the first acquisition frequency.

[0064] Beneficial effects: The NFC base station switching method and system based on secure location data of the present application provide a reliable data basis and reference for NFC base station switching through trusted location data and a trusted switching environment, provide a reasonable data source for whether NFC base station switching can be performed through real-time location data and a real-time switching environment, and realize supervision of the entire process of NFC base station switching by increasing the sampling frequency and locking the real-time location data, thereby improving the accuracy and security of NFC base station switching. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For those skilled in the art, other drawings can be obtained based on these drawings without paying any creative work.

[0066] Figure 1 A flowchart of an NFC base station switching method based on secure location data provided in an embodiment of the present application;

[0067] Figure 2 This is a structural block diagram of an NFC base station switching system based on secure location data provided in an embodiment of the present application. DETAILED DESCRIPTION

[0068] The technical solutions in the embodiments of the present application are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present application.

[0069] In this article, the term "comprising" is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of more restrictions, the elements defined by the sentence "comprising..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0070] In a first aspect, this embodiment discloses Figure 1 A NFC base station switching method based on secure location data is shown, the method comprising:

[0071] S1: Acquire the credit location data and the credit switching environment. The credit location includes any one or more of the credit geographical location and the credit device location, and the credit switching environment includes the credit switching purpose and the corresponding credit switching authorization information.

[0072] S2: Based on the first collection frequency, real-time location data is acquired, and a first security location check is performed on the real-time location data using the trusted location data.

[0073] S3: Based on the first acquisition frequency, the real-time switching environment is acquired, and a second safety position check is performed on the real-time position data based on the time series.

[0074] S4: Based on the second collection frequency, the real-time location data is locked and the NFC base station is switched.

[0075] The second acquisition frequency is greater than the first acquisition frequency. It should be noted that, in this embodiment, increasing the acquisition frequency in step S4 is intended to improve the degree of supervision over the NFC base station switching process.

[0076] In this embodiment, the trusted location data and the trusted switching environment provide a reliable data basis and reference for NFC base station switching, the real-time location data and the real-time switching environment provide a reasonable data source for whether NFC base station switching can be performed, and the entire process of NFC base station switching is supervised by increasing the sampling frequency and locking the real-time location data, thereby improving the accuracy and security of NFC base station switching.

[0077] Specifically, the credit location includes any one or more of a credit geographical location and a credit device location, including:

[0078] The trusted geographic location is specifically a geographical trust area consisting of a preset trusted operating location of the NFC device and a corresponding geographical trust radius. The trusted geographic location is expressed as:

[0079] ;

[0080] in, is the horizontal coordinate of the trusted operating position of the preset NFC device, The vertical coordinate of the trusted operating position of the preset NFC device, is the geographical trust radius, is the set of horizontal coordinates that satisfy the geographic trust region, is the set of ordinates that satisfy the geographic trust region, The geographical location of the credit.

[0081] The trusted device location is specifically a device trust area consisting of a preset geographical location of a device that is allowed to perform NFC communication and a corresponding device trust radius. The trusted device location is represented as:

[0082] ;

[0083] in, is the horizontal coordinate of the geographical location of the device that allows NFC communication. is the vertical coordinate of the geographical location of the device that allows NFC communication. is the device trust radius, To satisfy the set of horizontal coordinates of the device trust area, To satisfy the set of vertical coordinates of the device trust area, The location of the trusted device.

[0084] It should be noted that in the application of NFC technology, there are two judgment conditions based on geographical location and device to determine whether NFC communication is allowed. Therefore, in this embodiment, the security location data is limited by limiting the trusted geographical location and trusted device location, thereby improving the security of the NFC base station.

[0085] It should be further explained that the positioning technology used in this embodiment is any one of the existing positioning technologies, which aims to determine the operating geographical location and the geographical location of the device, and in this embodiment, the position and the corresponding area are described in the form of horizontal and vertical coordinates. After adaptive modification, it can be matched with any existing method of describing the position and the corresponding area.

[0086] Specifically, the credit switching environment includes the credit switching purpose and the corresponding credit switching authorization information, including:

[0087] The purpose of the authorization switching is specifically a preset authorization code set that allows NFC base station switching.

[0088] The credit switching authorization information is specifically the corresponding credit authorization information required to be obtained when performing NFC base station switching, wherein the credit authorization information may be, but is not limited to, a method for verifying authorization such as an identity identification code, a verification code, etc.

[0089] An environment correspondence is set between the credit switching purpose and the credit switching authorization information. The environment correspondence is used to match the credit switching purpose with the credit switching authorization information. This embodiment improves the accuracy of NFC base station switching through the environment correspondence.

[0090] Specifically, obtaining real-time location data includes:

[0091] Obtain any one or more of real-time running geographic location data and real-time device geographic location data.

[0092] The real-time running geographic location data is represented as ,in, It is the horizontal coordinate of the real-time geographic location data. It is the vertical coordinate of the real-time geographic location data.

[0093] Real-time device geolocation data is represented as ,in, It is the horizontal coordinate of the real-time device geographic location data. It is the vertical coordinate of the real-time device geographic location data.

[0094] Specifically, using the trusted location data to perform a first security location check on the real-time location data specifically includes the following steps:

[0095] A1: Determine the real-time location data. When the real-time location data is real-time operation geographic location data, execute step A2. When the real-time location data is real-time device geographic location data, execute step A4.

[0096] A2: Judgment If yes, execute step A3; otherwise, determine that the real-time location data is illegal and issue a warning.

[0097] A3: Judgment If it is true, the real-time location data is determined to be legal and passes the first safety location check; otherwise, the real-time location data is determined to be illegal and an alert is issued.

[0098] A4: Judgment If yes, execute step A5; otherwise, determine that the real-time location data is illegal and issue a warning.

[0099] A5: Judgment If it is true, the real-time location data is determined to be legal and passes the first safety location check; otherwise, the real-time location data is determined to be illegal and an alert is issued.

[0100] This embodiment implements the verification of the security of the location data through the first security location verification, and improves the applicability of this embodiment in the field of data security of NFC base station switching by dividing the real-time location data into real-time operation geographic location data and real-time device geographic location data.

[0101] Specifically, obtain the real-time switching environment, including:

[0102] Get the real-time code corresponding to the real-time switching purpose.

[0103] Get the real-time authorization information corresponding to the real-time switching.

[0104] The real-time code and real-time authorization information are packaged and defined as a real-time switching environment.

[0105] Specifically, performing a second safety position check on the real-time position data based on the time series specifically includes the following steps:

[0106] B1: Determine whether the real-time code belongs to the trusted code set. If yes, record the first timestamp of the real-time code and execute step B2. Otherwise, determine that the real-time code is illegal and issue a warning.

[0107] B2: Based on the environmental correspondence corresponding to the real-time code match, use the matched environmental correspondence to match the corresponding credit authorization information, and use the matched credit authorization information to verify the real-time authorization information. If the verification passes, record the second timestamp of the real-time authorization information and execute step B3. Otherwise, determine that the real-time authorization information is illegal and issue a warning.

[0108] B3: Preset the switching environment time difference threshold, calculate the timestamp difference between the first timestamp and the second timestamp, and determine whether the timestamp difference is less than or equal to the switching environment time difference threshold. If so, the real-time switching environment is determined to be legal and passes the second safety position check; otherwise, the real-time switching environment is determined to be illegal and an alert is issued.

[0109] This embodiment improves the security of NFC base station switching through the second security position verification, and quantifies the security level of the authorization process in a real-time switching environment through the timestamp difference, providing a data basis for performing the second security position verification.

[0110] Specifically, lock the real-time location data and switch the NFC base station, including:

[0111] The operation position locking formula is used to determine the legitimacy of the operation locking of the real-time operation geographic location data, wherein the operation position locking formula is specifically:

[0112] ;

[0113] ;

[0114] in, is the horizontal coordinate of the real-time running geographical location data obtained based on the second acquisition frequency, is the preset horizontal axis difference threshold for running lock, is the ordinate of the real-time running geographic location data obtained based on the second acquisition frequency, is the preset run lock vertical axis difference threshold, is the absolute value operator, and All are formula numbers.

[0115] It should be noted that the credit geographical location in this embodiment is the center of the circle. And the radius is The circular form of Japanese style They correspond to the movement of the real-time running position data within the circle. and The specific meaning is to restrict the real-time operation position data to move within the range of the circle, restrict it from approaching the circle, and issue an early warning through the legality judgment of the operation lock when it approaches the circle, thereby realizing the supervision of the entire process of NFC base station switching.

[0116] The legitimacy of the operation lock is determined as follows:

[0117] Determinant Japanese style If both conditions are met, the operation lock is determined to be legal and the NFC base station switching is allowed; otherwise, the operation lock is determined to be illegal and the NFC base station switching is stopped and an early warning is issued.

[0118] Specifically, locking the real-time location data and switching the NFC base station also includes:

[0119] The device location locking formula is used to determine the legitimacy of device locking based on the real-time device geographic location data. The device location locking formula is specifically:

[0120] ;

[0121] ;

[0122] in, is the horizontal coordinate of the real-time device geographic location data obtained based on the second acquisition frequency, The horizontal axis difference threshold for the preset device lock. is the ordinate of the real-time device geographic location data obtained based on the second acquisition frequency, The vertical axis difference threshold for the preset device lock. is the absolute value operator, and All are formula numbers.

[0123] It should be noted that the location of the credit granting device in this embodiment is based on the center of the circle. And the radius is The circular form of Japanese style They correspond to the movement of the real-time device location data within the circle. and The specific meaning is to restrict the real-time device location data to move within a range close to the center of the circle, restrict it from moving away from the center of the circle, and issue an early warning through the legality judgment of the device lock when it moves away from the center of the circle, thereby realizing the supervision of the entire process of NFC base station switching.

[0124] The legitimacy of device locking is determined as follows:

[0125] Determinant Japanese style If both conditions are met, the device locking is determined to be legal and the NFC base station switching is allowed; otherwise, the device locking is determined to be illegal and the NFC base station switching is stopped and an alert is issued.

[0126] In a second aspect, this embodiment discloses Figure 2 A NFC base station switching system based on secure location data is shown, the system is applicable to the NFC base station switching method based on secure location data as described above, and the system includes:

[0127] The credit data configuration module is configured to: obtain the credit location data and the credit switching environment. The credit location includes any one or more of the credit geographic location and the credit device location, and the credit switching environment includes the credit switching purpose and the corresponding credit switching authorization information.

[0128] The real-time location acquisition module is configured to: acquire real-time location data based on a first acquisition frequency, and perform a first security location check on the real-time location data using the trusted location data.

[0129] The real-time environment acquisition module is configured to: acquire the real-time switching environment based on the first acquisition frequency, and perform a second safety position check on the real-time position data based on the time series.

[0130] The switching execution module is configured to: lock the real-time location data based on the second acquisition frequency and perform NFC base station switching.

[0131] The second acquisition frequency is greater than the first acquisition frequency.

[0132] In summary, the NFC base station switching method and system based on secure location data of this embodiment provide a reliable data basis and reference for NFC base station switching through trusted location data and a trusted switching environment, provide a reasonable data source for whether NFC base station switching can be performed through real-time location data and a real-time switching environment, and realize supervision of the entire process of NFC base station switching by increasing the sampling frequency and locking the real-time location data, thereby improving the accuracy and security of NFC base station switching.

[0133] In the embodiments provided in the present application, it should be understood that the embodiments described herein can be implemented in hardware, software, firmware, middleware, code, or any appropriate combination thereof. For hardware implementation, the processor can be implemented in one or more of the following units: an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a processor, a controller, a microcontroller, a microprocessor, other electronic units designed to implement the functions described herein, or a combination thereof. For software implementation, part or all of the processes of the embodiment can be completed by instructing the relevant hardware through a computer program. When implemented, the above program can be stored in a computer-readable storage medium or transmitted as one or more instructions or codes on a computer-readable storage medium. Computer-readable storage media include computer storage media and communication media, wherein the communication medium includes any medium that facilitates the transmission of a computer program from one place to another. The storage medium can be any available medium that can be accessed by a computer. Computer-readable storage media can include, but are not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, disk storage media or other magnetic storage devices, or any other medium that can be used to carry or store the desired program code in the form of an instruction or data structure and can be accessed by a computer.

[0134] Finally, it should be noted that the above is only a preferred embodiment of the present application and is not intended to limit the present application. Although the present application has been described in detail with reference to the aforementioned embodiments, it is still possible for those skilled in the art to modify the technical solutions described in the aforementioned embodiments or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present application shall be included in the protection scope of the present application.

Claims

1. A method for switching NFC base stations based on secure location data, characterized in that: The method includes: S1: Acquire credit location data and credit switching environment; the credit location includes any one or more of a credit geographical location and a credit device location, and the credit switching environment includes a credit switching purpose and corresponding credit switching authorization information; S2: acquiring real-time location data based on the first collection frequency, and performing a first security location check on the real-time location data using the trusted location data; S3: acquiring a real-time switching environment based on the first acquisition frequency, and performing a second safety position check on the real-time position data based on a time series; S4: Based on the second acquisition frequency, the real-time location data is locked and the NFC base station is switched; The second acquisition frequency is greater than the first acquisition frequency; The obtaining of real-time location data specifically includes: obtaining real-time location data specifically includes obtaining any one or more of real-time operation geographic location data and real-time device geographic location data.

2. The NFC base station switching method based on secure location data according to claim 1, characterized in that: The credit location includes any one or more of a credit geographical location and a credit device location, specifically including: The trusted geographical location is specifically a geographical trust area formed by a preset trusted operating location of the NFC device and a corresponding geographical trust radius. The trusted geographical location is represented as: ; in, is the horizontal coordinate of the trusted operating position of the preset NFC device, is the ordinate of the trusted operating position of the preset NFC device, is the geographical trust radius, is the set of horizontal coordinates that satisfy the geographic trust region, is the set of ordinates that satisfy the geographic trust region, The credit-granting geographical location; The trusted device location is specifically a device trust area consisting of a preset geographical location of a device that is allowed to perform NFC communication and a corresponding device trust radius. The trusted device location is represented as: ; in, is the horizontal coordinate of the geographical location of the preset device that allows NFC communication, is the vertical coordinate of the geographical location of the preset device that allows NFC communication, is the device trust radius, is a set of horizontal coordinates that satisfy the device trust region, A set of ordinates that satisfy the device trust zone, is the location of the credit granting device.

3. The NFC base station switching method based on secure location data according to claim 1, characterized in that: The credit switching environment includes the credit switching purpose and the corresponding credit switching authorization information, specifically including: The credit switching purpose is specifically a preset credit code set that allows NFC base station switching; The credit switching authorization information is specifically the corresponding credit authorization information required to be obtained when performing NFC base station switching; An environment correspondence is set between the credit switching purpose and the credit switching authorization information, and the environment correspondence is used to match the credit switching purpose with the credit switching authorization information.

4. The NFC base station switching method based on secure location data according to claim 2, characterized in that: The real-time running geographical location data is represented as ,in, is the horizontal coordinate of the real-time running geographical location data, The vertical coordinate of the real-time running geographical location data; The real-time device geographic location data is represented as ,in, is the horizontal coordinate of the real-time device geographic location data, is the vertical coordinate of the real-time device geographic location data.

5. The NFC base station switching method based on secure location data according to claim 4, characterized in that: The method of performing a first security location check on the real-time location data using the trusted location data specifically includes the following steps: A1: Determine the real-time location data, and execute step A2 when the real-time location data is the real-time operation location data, and execute step A4 when the real-time location data is the real-time device location data; A2: Judgment If yes, then execute step A3; otherwise, determine that the real-time location data is illegal and issue a warning; A3: Judgment If so, the real-time location data is determined to be legal and passes the first security location check; otherwise, the real-time location data is determined to be illegal and an alert is issued; A4: Judgment If yes, then execute step A5; otherwise, determine that the real-time location data is illegal and issue a warning; A5: Judgment If so, the real-time location data is determined to be legal and passes the first security location verification; otherwise, the real-time location data is determined to be illegal and an alert is issued.

6. The NFC base station switching method based on secure location data according to claim 3, characterized in that: The obtaining of the real-time switching environment specifically includes: Get the real-time code corresponding to the real-time switching purpose; Obtain real-time authorization information corresponding to real-time switching; The real-time code and the real-time authorization information are packaged and defined as the real-time switching environment.

7. The NFC base station switching method based on secure location data according to claim 6, characterized in that: The performing of a second safety position check on the real-time position data based on the time series specifically comprises the following steps: B1: Determine whether the real-time code belongs to the trusted code set, if yes, record the first timestamp of the real-time code and execute step B2, otherwise, determine that the real-time code is illegal and issue a warning; B2: Based on the environment correspondence corresponding to the real-time code, the environment correspondence is matched with the corresponding credit authorization information, and the real-time authorization information is verified by the matched credit authorization information. If the verification is passed, the second timestamp of the real-time authorization information is recorded and step B3 is executed. Otherwise, the real-time authorization information is determined to be illegal and an alarm is issued; B3: Preset the switching environment time difference threshold, calculate the timestamp difference between the first timestamp and the second timestamp, and determine whether the timestamp difference is less than or equal to the switching environment time difference threshold. If so, the real-time switching environment is determined to be legal and passes the second security position check; otherwise, the real-time switching environment is determined to be illegal and an alert is issued.

8. The NFC base station switching method based on secure location data according to claim 5 or 7, characterized in that: The locking of the real-time location data and the switching of the NFC base station specifically include: The legitimacy of the operation lock is determined by using the operation position locking formula for the real-time operation geographic location data, wherein the operation position locking formula is specifically: ; ; in, is the horizontal coordinate of the real-time running geographical location data obtained based on the second collection frequency, is the preset horizontal coordinate difference threshold value of the operation lock, is the ordinate of the real-time running geographical location data obtained based on the second collection frequency, is the preset vertical coordinate difference threshold value of the operation lock, and All are formula numbers; The legality determination of the operation lock is specifically as follows: Determinant Japanese style If both conditions are met, the operation lock is determined to be legal and the NFC base station switching is allowed; otherwise, the operation lock is determined to be illegal and the NFC base station switching is stopped and an early warning is issued.

9. The NFC base station switching method based on secure location data according to claim 5 or 7, characterized in that: The locking of the real-time location data and performing NFC base station switching also includes: The device location locking formula is used to determine the legitimacy of the device locking of the real-time device geographic location data, wherein the device location locking formula is specifically: ; ; in, is the horizontal coordinate of the real-time device geographic location data obtained based on the second acquisition frequency, is a preset horizontal coordinate difference threshold for locking the device, is the ordinate of the real-time device geographic location data obtained based on the second acquisition frequency, is a preset vertical coordinate difference threshold for locking the device, and All are formula numbers; The legality determination of the device locking is specifically as follows: Determinant Japanese style If all of them are true, it is determined that the device locking is legal and the NFC base station switching is allowed; otherwise, it is determined that the device locking is illegal and the NFC base station switching is stopped and an early warning is issued.

10. An NFC base station switching system based on secure location data, the system being applicable to the NFC base station switching method based on secure location data as claimed in any one of claims 1 to 9, characterized in that: The system includes: A credit data configuration module, wherein the credit data configuration module is configured to: obtain credit location data and a credit switching environment; the credit location includes any one or more of a credit geographical location and a credit device location; and the credit switching environment includes a credit switching purpose and corresponding credit switching authorization information; A real-time location acquisition module, wherein the real-time location acquisition module is configured to: acquire real-time location data based on a first acquisition frequency, and perform a first security location check on the real-time location data using the trusted location data; A real-time environment acquisition module, wherein the real-time environment acquisition module is configured to: acquire a real-time switching environment based on the first acquisition frequency, and perform a second safety position check on the real-time position data based on a time series; A switching execution module, wherein the switching execution module is configured to: based on the second acquisition frequency, lock the real-time location data and perform NFC base station switching; The second acquisition frequency is greater than the first acquisition frequency.