An NFC smart card
By integrating processors, security modules and sensor modules in health monitoring equipment, and using NFC technology and encryption algorithms, we solve the communication and data security problems of existing health monitoring equipment and achieve efficient and secure data collection and transmission. Improved user experience and emergency response capabilities.
Patent Information
- Application Number
- CN202410586163.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-13
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2044-05-13
AI Technical Summary
Existing health monitoring devices have complex pairing processes, high power consumption, and data security risks in communication. They may also face bandwidth and processing efficiency issues when processing and transmitting large amounts of data, affecting system performance and user experience.
An NFC smart card is designed, which integrates the processor, security module, sensor module and memory. It uses NFC technology for data collection and transmission. It uses elliptic curve cryptography encryption algorithm and challenge-response protocol to ensure data security. Data compression and pre-processing are used to ensure data security. Handles reduced bandwidth requirements and provides instant health reporting and alerts during emergencies.
Through NFC smart cards, the security and efficient transmission of sensitive data are ensured, the risk of unauthorized access is reduced, data transmission efficiency and user experience are improved, key health data can be quickly obtained in medical emergencies, and personalized health reports can be provided and alerts.
Smart Images

Figure CN118194372B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of smart cards, and in particular to an NFC smart card. Background Art
[0002] In the field of medical health monitoring, traditional health monitoring devices usually include a variety of sensors to collect users' physiological data, such as heart rate, body temperature, etc., as well as security modules to protect the privacy and integrity of the data. These devices use wireless communication technologies, such as Bluetooth or Wi-Fi, to exchange data with external devices. In these systems, the processor executes instructions to collect data from sensors, store and analyze the data to provide health feedback to the user. Although these systems are quite advanced in terms of functionality, most of them use more traditional communication methods rather than near field communication (NFC) technology.
[0003] However, existing health monitoring technologies have some significant problems. First, the use of communication technologies such as Bluetooth or Wi-Fi often requires a more complicated pairing process and higher power consumption, which is a disadvantage for wearable devices that need to run for a long time. Secondly, these technologies often have hidden dangers in data security, especially during data transmission, potential security vulnerabilities may lead to unauthorized access to sensitive health information. In addition, traditional devices may face bandwidth and processing efficiency issues when processing and transmitting large amounts of data, thus affecting the overall performance of the system and user experience.
[0004] Therefore, it is necessary to develop a new type of NFC smart card. Summary of the invention
[0005] The present application provides an NFC smart card to improve the efficiency and security of health data collection.
[0006] The present application provides an NFC smart card, comprising:
[0007] A processor, configured to execute a plurality of instructions stored in the memory;
[0008] A security module, connected to the processor for performing encryption operations and security authentication;
[0009] A sensor module, comprising a biometric sensor and a physiological parameter sensor, wherein the biometric sensor is used to quickly respond when the NFC field is activated, collect and record the user's biometric data; the physiological parameter sensor is used to quickly respond when the NFC field is activated, collect and record the user's physiological data; the physiological parameter sensor comprises at least one of a skin conductance sensor, a body temperature sensor and a heart rate photoelectric sensor;
[0010] NFC communication interface for secure data exchange with external medical devices;
[0011] Memory, used to store the following instructions:
[0012] Data transmission instructions, executed by the processor, for data compression and preprocessing of collected physiological data and biometric data to reduce bandwidth required for transmission and improve processing efficiency;
[0013] Health analysis instructions for generating health reports and alerts based on real-time and historical physiological data comparisons.
[0014] Furthermore, the sampling frequency of the physiological parameter sensor Use the following formula 1 for calculation:
[0015] ;
[0016] in, is the minimum sampling frequency of the physiological parameter sensor; is the maximum sampling frequency of the physiological parameter sensor; is the real-time NFC field strength; It is the maximum reference value of the NFC field strength. is a data quality score based on previously acquired physiological data; and is the adjustment factor.
[0017] Furthermore, the memory also stores user medical emergency information for transmission to a nearby medical reading device in an emergency; the user medical emergency information includes user basic identity information, user key medical information, user historical important medical event information, and historical physiological data information stored by the sensor module;
[0018] Among them, the user's basic identity information includes the user's name, date of birth, blood type and emergency contact information; the user's key medical information includes the user's known medical conditions, current medications and their dosages, and allergic drug information; the user's historical important medical event information includes the user's past surgical history and treatment response information.
[0019] Furthermore, the memory is configured with a dynamic data access control mechanism, which adjusts the user's medical emergency information accessible to external devices based on the privacy preferences set by the user.
[0020] Furthermore, the security module performs the encryption operation including the following steps:
[0021] receiving raw data collected from biometric sensors and physiological parameter sensors;
[0022] An encryption algorithm based on elliptic curve cryptography is applied, and the encryption algorithm generates a key using the following formula 2: :
[0023] ;
[0024] in, is a base point on the elliptic curve; is a random number extracted from the biometric data; It is the point converted from the timestamp received from the NFC communication interface, obtained by the elliptic curve hash mapping method; is a cryptographic hash function.
[0025] Furthermore, the base points on the elliptic curve It is calculated by the following formula 3:
[0026] ;
[0027] in, and is a pair of predetermined constant values that satisfy the elliptic curve equation provided by Formula 4 below;
[0028] ;
[0029] in, and are the coefficients of the elliptic curve; is a large prime number that is used to define a curve over a finite field.
[0030] Furthermore, click is converted by applying the following formula 5 to the timestamp received from the NFC communication interface Calculated:
[0031] ;
[0032] in, is an elliptic curve hash function that converts the input value Convert to a point on the elliptic curve; is a constant; The function uses the SHA-256 hash algorithm to The hash is done to get an integer, which is then multiplied by a constant And take the modulus of p and use the Try-and-Increment method to ensure that the result falls on the elliptic curve. The specific steps include the following:
[0033] SHA-256 ) generates a hash value;
[0034] Multiply the resulting hash value by And try one by one until you find a value of x that makes formula 4 have a solution;
[0035] Determine the solution (x, y) of Formula 4 as the point .
[0036] Furthermore, random numbers Obtain it by following the steps below:
[0037] Let D be the raw data collected from the biometric sensor, the raw data including fingerprint data;
[0038] Use the SHA-256 hash function to process the biometric data and generate an initial hash value , as shown in Formula 6:
[0039] ;
[0040] According to the following formula 7, the hash value is obtained :
[0041] ;
[0042] in, Indicates the current timestamp;
[0043] Obtain the hash value according to the following formula 8 :
[0044] ;
[0045] Hash value Convert to an integer and use the converted integer as the random number .
[0046] Furthermore, the security module is configured to perform a security authentication process based on a challenge-response protocol, comprising the following steps:
[0047] The processor receives a random challenge code sent from an external medical device via an NFC communication interface;
[0048] The security module encrypts the challenge code using a private key pre-stored in the smart card to generate a response code;
[0049] The processor sends the encrypted response code back to the external medical device via the NFC communication interface;
[0050] The external medical device verifies the validity of the response code using the corresponding public key to complete the authentication process.
[0051] This application has the following beneficial technical effects:
[0052] (1) By performing encryption operations and secure authentication through an integrated security module, the present invention ensures the security of sensitive biometric and physiological data during exchange with external medical devices. The short-range communication advantage of NFC technology further enhances data security because the physical range of data transmission is limited to an extremely short distance, thereby reducing the potential risk of unauthorized access.
[0053] (2) The biometric sensor and physiological parameter sensor can respond quickly when activated by the NFC field, which means that the user can immediately start collecting and processing data when interacting with the NFC smart card at close range. This makes it possible to quickly obtain key health data in medical emergencies, so that timely responses can be made.
[0054] (3) Through the data transmission instructions pre-stored in the memory, the smart card can compress and pre-process the collected physiological and biometric data, significantly reducing the bandwidth requirements during the data transmission process. This feature makes data transmission more efficient, especially in mobile medical environments where bandwidth may be a limited resource.
[0055] (4) Health analysis commands can automatically generate health reports and alerts based on real-time collected physiological data and historical data. This function enables users and medical professionals to understand the user's health status in a timely manner, respond quickly to changes in the condition, and take preventive or treatment measures. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 It is a schematic diagram of an NFC smart card provided in the first embodiment of the present application. DETAILED DESCRIPTION
[0057] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.
[0058] The first embodiment of the present application provides an NFC smart card for medical health monitoring. Figure 1 , which is a schematic diagram of the first embodiment of the present application. Figure 1 The first embodiment of the present application provides an NFC smart card for medical health monitoring, which is described in detail.
[0059] The NFC smart card for medical health monitoring provided in this embodiment includes a processor 101 , a security module 102 , a sensor module 103 , an NFC communication interface 104 and a memory 105 .
[0060] The processor 101 is configured to execute various instructions stored in the memory.
[0061] The processor 101 is a core component of an NFC smart card for medical health monitoring, and its main function is to execute various instructions stored in the memory 105. These instructions cover the entire process from data acquisition, processing to transmission, ensuring that the smart card can effectively process and analyze the data collected by the sensor module 103, and exchange data securely with external devices through the NFC communication interface 104.
[0062] The detailed implementation of processor 101 includes its hardware structure and software functions. In terms of hardware, processor 101 can be any microprocessor or microcontroller suitable for embedded systems, with sufficient computing power and low power consumption characteristics, suitable for portable devices. These processors usually include one or more CPU cores, built-in RAM and ROM, and possible peripheral interfaces. Processor 101 should also have the ability to process encryption algorithms and execute security authentication protocols to support the requirements of security module 102.
[0063] In terms of software, the processor 101 runs a specific operating system or firmware, which is configured with multiple drivers and libraries to control the sensor module 103 connected to the smart card and the NFC communication interface 104. In addition, the processor 101 also needs to execute a series of algorithms such as data compression and preprocessing, which are implemented in software to optimize the storage and transmission efficiency of data.
[0064] The selection of processor 101 should consider its compatibility with memory 105, security module 102 and sensor module 103. For example, a processor of the ARM Cortex series is selected, which not only provides a rich instruction set to support efficient data processing, but also supports a variety of encryption and security protocols, and can be seamlessly integrated with various types of memories and sensors. In addition, appropriate firmware and applications need to be written or configured to ensure that processor 101 can correctly interpret and execute instructions in memory 105, while ensuring efficient data exchange with NFC communication interface 104.
[0065] The security module 102 is connected to the processor for performing encryption operations and security authentication.
[0066] The security module 102 is a key component for ensuring the security and privacy of NFC smart card data. It is closely connected to the processor 101 and performs necessary encryption operations and security authentication. The design and implementation of this module is to prevent unauthorized access and data leakage during data transmission and storage, which is particularly important in the field of medical health monitoring.
[0067] The main functions of the security module 102 include two parts: data encryption and security authentication. Data encryption ensures that all data sent to the external medical device through the NFC communication interface 104 is encrypted, so that even if the data is intercepted during transmission, it cannot be read by an unauthorized third party. The encryption process usually uses a public key infrastructure (PKI) or a symmetric encryption algorithm, and the specific algorithm selection depends on the required security level and processing power. For example, the Advanced Encryption Standard (AES) can be used for symmetric encryption, or the RSA algorithm can be used for asymmetric encryption.
[0068] The security authentication part is responsible for verifying the identity of the external device interacting with the smart card, ensuring that only authorized medical devices can access sensitive data collected by the sensor module 103. This is usually done through a series of authentication protocols, such as TLS / SSL handshakes, in which the security module 102 may respond with a private key stored in a secure digital certificate to prove its identity.
[0069] To achieve these functions, the security module 102 contains one or more dedicated security coprocessors, which are specially designed to efficiently perform encryption and decryption tasks, as well as other security-related operations, such as key generation and management, digital signatures and signature verification, etc. In addition, the module may also include hardware-level security features, such as tamper-proof packaging and secure boot mechanisms to resist physical and logical attacks.
[0070] In terms of hardware design, the security module 102 should select components that meet international security standards, such as meeting the FIPS140-2 level security rating, to ensure that it is widely accepted and certified worldwide. In terms of software, the latest security protocols and algorithms should be adopted and regularly updated to resist emerging security threats.
[0071] Furthermore, the security module performs the encryption operation including the following steps:
[0072] receiving raw data collected from biometric sensors and physiological parameter sensors;
[0073] An encryption algorithm based on elliptic curve cryptography is applied, and the encryption algorithm generates a key using the following formula 2: :
[0074] ;
[0075] in, is a base point on the elliptic curve; is a random number extracted from the biometric data; It is the point converted from the timestamp received from the NFC communication interface, obtained by the elliptic curve hash mapping method; is a cryptographic hash function.
[0076] The security module of the NFC smart card is designed to ensure the security of user data by performing advanced encryption on the sensitive data received. The following details the workflow of the security module and the elliptic curve cryptography (ECC) encryption method used.
[0077] First of all, one of the main functions of the security module is to receive the raw data collected by the biometric sensor and physiological parameter sensor inside the smart card. These data contain the user's biometric and physiological health information, such as fingerprints, heart rate or body temperature, which are highly sensitive and need to be processed securely.
[0078] After receiving this data, the security module will encrypt the data using an encryption algorithm based on elliptic curve cryptography. Elliptic curve cryptography is a method of encryption and decryption using operations on elliptic curves. It is widely used in modern encryption systems due to its high security and low computing requirements.
[0079] Formula 2 describes how to generate the key used for data encryption :
[0080] ;
[0081] The meaning and acquisition methods of each component are as follows:
[0082] : This is a base point on the elliptic curve, usually predefined in the public parameters of the elliptic curve cryptosystem. The choice of has a significant impact on both security and performance, and it is necessary to ensure that it meets the security requirements of elliptic curve cryptography.
[0083] : This is a random number extracted from the biometric data and used as part of the private key to generate the public key and perform the key exchange process. The process involves extracting sufficient entropy from the biometric data and ensuring its randomness and unpredictability through a cryptographically secure random number generator.
[0084] : This is the converted point of the timestamp received from the NFC communication interface, obtained through the elliptic curve hash mapping method. This process involves converting the timestamp data into a valid point on the elliptic curve through a hash function, ensuring its validity and security in cryptographic operations.
[0085] : This is a cryptographic hash function that compresses the information of a point on an elliptic curve into a fixed-size output as an encryption key. The selected hash function needs to be resistant to collisions and pre-image attacks. Common choices include SHA-256.
[0086] Furthermore, the base points on the elliptic curve It is calculated by the following formula 3:
[0087] ;
[0088] in, and is a pair of predetermined constant values that satisfy the elliptic curve equation provided by Formula 4 below;
[0089] ;
[0090] in, and are the coefficients of the elliptic curve; is a large prime number that is used to define a curve over a finite field.
[0091] Basis Point It is the core element for elliptic curve encryption and key exchange operations, and its selection must ensure mathematical accuracy and cryptographic security.
[0092] Basis Point Coordinates is obtained from the elliptic curve equation, which is shown below:
[0093] ;
[0094] Here, and It must be a number pair that satisfies the above elliptic curve equation, which means that the selected and After substituting into the equation, the equation should be satisfied. To achieve this, here is a detailed explanation of what each parameter means and how to obtain it:
[0095] and :These two parameters are the coefficients of the elliptic curve equation and determine the shape of the elliptic curve. In cryptographic applications, the selection of these coefficients must not only meet mathematical requirements, but also ensure that the elliptic curve has good cryptographic properties, such as sufficient complexity to resist potential cryptographic attacks. Usually, these coefficients are selected from known secure elliptic curve standards, such as the recommended parameters provided by SECG (Standards for Efficient Cryptography Group).
[0096] : This is a large prime number that is used to define the finite field of elliptic curve operations. In elliptic curve cryptography, all operations on the coordinates of points and coefficients are performed on the modulus carried out under the conditions of. The size of directly affects the security of the system and usually needs to be large enough to ensure that the related discrete logarithm problem cannot be solved in practical time using existing computing resources.
[0097] and :These two values are the base points To find such a pair of coordinates, we need to try different x values, calculate the possible y values through the curve equation, and check whether the resulting (x, y) satisfies Equation 4. Once such a pair of coordinates is found, they are set as the base point The coordinates of .
[0098] In a specific implementation, computational tools or software can be used to help verify the selected and Whether it really satisfies the elliptic curve equation, ensure that the base point is selected correctly. Correct base point The selection of is a key step to ensure the security and effectiveness of encryption operations in NFC smart cards.
[0099] Furthermore, click is converted by applying the following formula 5 to the timestamp received from the NFC communication interface Calculated:
[0100] ;
[0101] in, is an elliptic curve hash function that converts the input value Convert to a point on the elliptic curve; is a constant; The function uses the SHA-256 hash algorithm to The hash is done to get an integer, which is then multiplied by a constant And take the modulus of p and use the Try-and-Increment method to ensure that the result falls on the elliptic curve. The specific steps include the following:
[0102] SHA-256 ) generates a hash value;
[0103] Multiply the resulting hash value by And try one by one until you find a value of x that makes formula 4 have a solution;
[0104] Determine the solution (x, y) of Formula 4 as the point .
[0105] The elliptic curve hash function (EllipticCurveHash) is used to convert the timestamp received from the NFC communication interface into a point on the elliptic curve This conversion process is a critical step in generating keys during encryption operations, ensuring the randomness and security of the encryption process.
[0106] First, the timestamp A standard time or date representation received by the NFC communication interface, usually used to record the specific time when a transaction or event occurred. In security applications, timestamps Used as part of generating encryption keys to increase entropy and complexity in the encryption process.
[0107] The function of the EllipticCurveHash function is to convert this timestamp into a point on the elliptic curve. The specific steps are as follows:
[0108] 1. Hashing: First, timestamp A fixed-length hash value is generated through the SHA-256 hash algorithm. SHA-256 is a widely used cryptographic hash function that can convert an input of any length into a 256-bit output. The result of the hashing process is a large integer, and the process is irreversible, thus providing a basic security guarantee for subsequent calculations.
[0109] 2. Multiply by constant C: The obtained hash value is then multiplied by a predefined constant C. This step is to adjust the range and distribution of the hash value to better adapt to the subsequent elliptic curve mapping.
[0110] 3. Modulo p operation: Next, the multiplication result is modulo a large prime number p, which is also the modulus used in the definition of the elliptic curve, ensuring that the operation result is still within the finite field.
[0111] 4. Try-and-Increment method: Finally, the Try-and-Increment method is used to ensure that the value found can be mapped to the elliptic curve. This method involves using the current value as the elliptic curve equation:
[0112] Try the x-coordinates in the example to see if you can find a corresponding y-value that satisfies the equation. If not, gradually increase the x-value until you find a valid point.
[0113] Through the above steps, the timestamp T can be converted into a valid point Q on the elliptic curve, which can then be used for further encryption operations. The whole process needs to be carefully implemented to ensure security and efficiency, and the appropriate parameters C and p should be selected according to the specific application scenario, as well as the correct implementation of the SHA-256 hash function.
[0114] Furthermore, random numbers Obtain it by following the steps below:
[0115] Let D be the raw data collected from the biometric sensor, the raw data including fingerprint data;
[0116] Use the SHA-256 hash function to process the biometric data and generate an initial hash value , as shown in Formula 6:
[0117] ;
[0118] According to the following formula 7, the hash value is obtained :
[0119] ;
[0120] in, Indicates the current timestamp;
[0121] Obtain the hash value according to the following formula 8 :
[0122] ;
[0123] Hash value Convert to an integer and use the converted integer as the random number .
[0124] The following is a detailed process for generating random numbers from biometric data, which is particularly suitable for NFC smart cards, especially in cryptographic operations that require high security.
[0125] Step 1: Collect biometric data:
[0126] First, biometric sensors such as fingerprint scanners collect the user's fingerprint data. This data (denoted as D) is the raw digital representation of the biometric characteristics, which is usually converted into usable digital data by the sensor's hardware and software. The detailed collection method of fingerprint data depends on the sensor's technical specifications, including the image resolution and the sensor's accuracy.
[0127] Step 2: Apply the hash function:
[0128] Use SHA-256, a secure hash algorithm, to process the collected raw fingerprint data D and generate an initial hash value The formula is as follows:
[0129] ;
[0130] This step converts the original data into a hash value of fixed length (256 bits). The purpose of this is to ensure that the generation of random numbers is based on an irreversible and unified format output, increasing the security of data processing.
[0131] Step 3: Combine with timestamp:
[0132] The initial hash value Perform an XOR operation with the current timestamp S to generate . Timestamp Represents the current system time, usually expressed in UNIX timestamp format. The purpose of this step is to introduce a dynamic factor to increase the unpredictability of random numbers:
[0133] ;
[0134] The XOR operation ensures that any small change to the timestamp or the original hash value will significantly change the result. .
[0135] Step 4: Hash again:
[0136] Results Applying the SHA-256 hash function again, we get :
[0137] ;
[0138] This step strengthens the security of random numbers, ensuring the irreversibility of the final result and the quality of entropy.
[0139] Step 5: Convert to integer:
[0140] Finally, Convert to an integer to be used as a random number This usually involves interpreting the hash value as a large integer or converting it through a specific mapping rule. The conversion method should ensure that the randomness and uniform distribution properties of the hash value are maintained.
[0141] Furthermore, the security module is configured to perform a security authentication process based on a challenge-response protocol, comprising the following steps:
[0142] The processor receives a random challenge code sent from an external medical device via an NFC communication interface;
[0143] The security module encrypts the challenge code using a private key pre-stored in the smart card to generate a response code;
[0144] The processor sends the encrypted response code back to the external medical device via the NFC communication interface;
[0145] The external medical device verifies the validity of the response code using the corresponding public key to complete the authentication process.
[0146] This embodiment provides a security authentication process for an NFC smart card, which uses a challenge-response protocol to ensure the security of communication. This protocol is particularly suitable for scenarios where identity verification is required, such as data exchange between medical devices and smart cards, to ensure that only authorized devices can access sensitive medical information. The following are specific implementation methods and steps of the security authentication process:
[0147] First, the smart card processor receives a random challenge code sent from an external medical device through the NFC communication interface. This challenge code is a randomly generated value used for one-time verification of this authentication session. The external device generates this challenge code to ensure that each authentication attempt is unique, thereby preventing replay attacks (i.e., using previously captured data for authentication again).
[0148] After receiving the challenge code, the security module in the smart card will encrypt the challenge code using the private key stored in the card. The private key is pre-stored in the smart card and is not disclosed to the public, ensuring that only the card itself can use it to generate an encrypted response. This step is the key to ensuring security in the entire authentication process, because only the correct private key can generate a valid response.
[0149] The encrypted response code is then sent back to the external medical device via the NFC communication interface. This process uses the near field communication characteristics of NFC to quickly and securely transfer data from the smart card to the medical device.
[0150] After receiving the encrypted response code, the external medical device will use the public key corresponding to the private key in the smart card to verify the validity of the response code. The public key is public and can be securely stored or obtained in real time by the medical device (for example, through a secure public key infrastructure PKI system). Only when the response code decrypted with the public key matches the original challenge code, the authentication process is considered successful, thus confirming the legitimacy of the smart card.
[0151] The sensor module 103 includes a biometric sensor and a physiological parameter sensor, wherein the biometric sensor is used to quickly respond when the NFC field is activated, and collect and record the user's biometric data; the physiological parameter sensor is used to quickly respond when the NFC field is activated, and collect and record the user's physiological data; the physiological parameter sensor includes at least one of a skin conductance sensor, a body temperature sensor, and a heart rate photoelectric sensor.
[0152] The sensor module 103 plays a vital role in the NFC smart card provided in this embodiment. It is designed for medical health monitoring and includes a biometric sensor and a variety of physiological parameter sensors. The module is designed to be highly miniaturized, suitable for installation on a smart card, and responds quickly when activated by the NFC field, thereby collecting and recording the user's key biological and physiological data in real time.
[0153] The sensor module 103 includes one or more biometric sensors, such as a fingerprint sensor, which can quickly activate and collect the user's fingerprint data when the user brings the smart card close to the NFC reading device. This fast response feature is crucial to ensure the speed and security of user identity authentication. Fingerprint sensors usually use capacitive or optical technology, both of which have been adapted to miniaturization technology, making them easily integrated into card-sized devices.
[0154] In addition, the sensor module also includes a variety of physiological parameter sensors, such as skin conductance sensors, body temperature sensors, and heart rate photoelectric sensors. These sensors can monitor the user's basic physiological state, including skin conductivity changes to assess emotions and stress levels, body temperature to monitor health, and heart rate to assess cardiovascular function. Each sensor must be designed to be extremely miniaturized to fit the physical limitations of the smart card while ensuring accuracy and reliability. For example, a heart rate photoelectric sensor may use micro-LEDs and photodiodes to emit and receive light transmitted through the skin to measure blood flow changes and heart rate.
[0155] In order to realize the integration of these sensors on the smart card, each sensor is designed to have extremely low energy consumption to adapt to the power supply limitation of the smart card, usually relying on the energy provided by the NFC interface or a very small built-in battery. In addition, the data processing of the sensor also needs to be efficient to ensure that after the data is collected, it can be quickly analyzed and compressed by the processor 101 and finally transmitted through the NFC communication interface 104.
[0156] Furthermore, the sampling frequency of the physiological parameter sensor Use the following formula 1 for calculation:
[0157] ;
[0158] in, is the minimum sampling frequency of the physiological parameter sensor; is the maximum sampling frequency of the physiological parameter sensor; is the real-time NFC field strength; It is the maximum reference value of the NFC field strength. is a data quality score based on previously acquired physiological data; and is the adjustment factor.
[0159] In this embodiment, the sampling frequency of the physiological parameter sensor The adjustment of is crucial, which ensures that the NFC smart card can flexibly adjust the frequency of its data collection according to environmental changes and sensor data quality. By using Formula 1, the NFC smart card can dynamically adjust the sampling frequency of the physiological parameter sensor to optimize energy consumption and data accuracy.
[0160] Formula 1 is defined as follows:
[0161] ;
[0162] The following is a detailed explanation of the meaning of each parameter in the formula and how to obtain it:
[0163] 1. is the minimum sampling frequency of the physiological parameter sensor. This is the lowest frequency that the sensor can be set to, and is used when the sensor data does not change much or when power needs to be saved. This value is usually determined by the technical specifications of the sensor and can be obtained from the sensor's data sheet.
[0164] 2. is the maximum sampling frequency of the physiological parameter sensor. This is the highest data acquisition frequency that the sensor can achieve in the most active state, suitable for monitoring highly dynamic physiological states. Like the minimum sampling frequency, this value is also set according to the technical specifications of the sensor.
[0165] 3. It is the real-time NFC field strength, indicating the signal strength of the current smart card in the NFC field. This parameter can be obtained through the signal strength detection function of the NFC interface, reflecting the distance and connection quality between the smart card and the NFC reader.
[0166] 4. It is the maximum reference value of the NFC field strength. This is the maximum signal strength that an NFC device can achieve under ideal conditions (such as the closest distance), usually obtained from the technical specifications of the NFC device or experimental measurements.
[0167] 5. A data quality score based on previously collected physiological data. This score reflects the reliability and accuracy of past data and can be calculated using an analysis software algorithm that assesses the completeness, consistency, and margin of error of the data.
[0168] 6. and are adjustment coefficients used to adjust the sensitivity of the sampling frequency according to the NFC field strength and data quality. These coefficients are selected based on experimental optimization or empirical settings to balance response speed, data quality, and system energy consumption.
[0169] Through the precise calculation and adjustment of these parameters, the NFC smart card can dynamically adjust the sampling frequency of its physiological parameter sensor in different usage environments and system states, ensuring the efficiency and accuracy of data collection while optimizing battery usage. This flexible sampling frequency adjustment mechanism is particularly important for medical health monitoring applications because it allows the device to adapt to the user's physiological state and environmental changes without sacrificing data quality.
[0170] The NFC communication interface 104 is used for secure data exchange with external medical devices.
[0171] The NFC communication interface 104 plays a crucial role in enabling data exchange between the NFC smart card and the external medical device. The design of this interface ensures the security and efficiency of data exchange, and is particularly suitable for the high requirements of privacy and response speed in the medical environment.
[0172] The NFC communication interface 104 is based on Near Field Communication (NFC) technology, which is a short-range wireless communication standard that allows devices to interact within a distance of several centimeters. The implementation of this interface on a smart card involves an NFC chip and a corresponding antenna, which are integrated into the small size of the smart card. The NFC chip not only handles the communication protocol, but is also responsible for coordinating with the security module 102 to implement encryption and authentication processes to ensure that all data transmitted through this interface meets security standards.
[0173] From the perspective of technical implementation, the NFC communication interface 104 first needs to be tightly integrated with the processor 101 in order to quickly process the data from the sensor module 103. The processor 101 performs necessary compression and preprocessing on the collected data by executing the instructions in the memory 105, and then sends it to the external device through the NFC interface. This processing method not only optimizes the bandwidth usage during data transmission, but also improves the efficiency of data processing.
[0174] The design of the NFC communication interface needs to take into account compatibility and energy efficiency. The NFC interface should be designed to be compatible with multiple types of medical devices, including but not limited to portable health monitoring devices and central monitoring systems in hospitals. In addition, considering the usage environment of smart cards, the energy efficiency of the NFC interface is particularly important, and its power management strategy should be optimized to minimize the consumption of smart card power.
[0175] The memory 105 is used to store the following instructions:
[0176] Data transmission instructions, executed by the processor, for data compression and preprocessing of collected physiological data and biometric data to reduce bandwidth required for transmission and improve processing efficiency;
[0177] Health analysis instructions for generating health reports and alerts based on real-time and historical physiological data comparisons.
[0178] The memory 105 plays a vital role in the NFC smart card, and is mainly responsible for storing a series of instructions required for data processing and health analysis. The memory 105 needs to have sufficient capacity and reliability, and also needs to support high-speed data access and be compatible with the interaction with the processor 101.
[0179] When designing the memory 105, non-volatile storage technologies such as NAND flash memory or EEPROM are usually selected, which can keep data from being lost after the power is turned off, while providing sufficient read and write speeds to meet the needs of real-time data processing. The capacity of the memory should be determined according to the amount of data to be stored and the size of the program code, ensuring that the raw data from the biometric and physiological parameter sensors, the processed data, and the related operating system and application code can be stored.
[0180] The main contents stored in the memory 105 include data transmission instructions and health analysis instructions. The data transmission instructions are responsible for the necessary compression and preprocessing of the physiological data and biometric data collected from the sensor module 103. This process not only optimizes the bandwidth required when the data is sent wirelessly by the NFC communication interface 104, but also improves the efficiency of data processing. Preprocessing may include steps such as data scaling, filtering and encryption to ensure the security and integrity of the data during transmission.
[0181] Health analysis instructions are another core part of the memory 105. These instructions use real-time and historical physiological data for in-depth analysis to generate personalized health reports and timely alarms. These instructions process data through algorithms, such as running statistical analysis, trend prediction, and anomaly detection, to provide accurate health monitoring and early warning. These personalized health reports and timely alarms can be transmitted to external medical devices via NFC.
[0182] Furthermore, the memory also stores user medical emergency information for transmission to a nearby medical reading device in an emergency; the user medical emergency information includes user basic identity information, user key medical information, user historical important medical event information, and historical physiological data information stored by the sensor module;
[0183] Among them, the user's basic identity information includes the user's name, date of birth, blood type and emergency contact information; the user's key medical information includes the user's known medical conditions, current medications and their dosages, and allergic drug information; the user's historical important medical event information includes the user's past surgical history and treatment response information.
[0184] In NFC smart cards, memory plays a key role, not only for storing programs and data processing instructions, but also specially configured to store critical user medical emergency information. The timely availability of this information is crucial in emergency medical situations and can be used to quickly pass it to a nearby medical reading device, thereby providing the user with immediate and effective medical assistance.
[0185] Specifically, the data organization inside the memory includes several key parts: basic user identity information, key user medical information, important historical medical event information, and historical physiological data collected from the sensor module. The storage of each part of the data follows a strict data structure and format to ensure that the information can be read and understood quickly and accurately.
[0186] First, the user's basic identity information provides basic data for identity identification and emergency contact, including the user's name, date of birth, blood type and emergency contact information. This information is usually entered by the user or medical institution when the NFC smart card is first configured and is encrypted and stored to protect user privacy.
[0187] Secondly, the user key medical information section contains data that is critical to emergency medical response, such as the user's known medical conditions, current medications and their dosages, allergy medication information, etc. This information allows medical responders to quickly understand the patient's basic medical background in an emergency, avoid using medications that may cause allergic reactions, and make quick judgments based on existing conditions and medication use.
[0188] Furthermore, the user's historical important medical events information section records the user's past major medical events, such as surgical history and treatment response information, which is extremely important for understanding the patient's long-term health status and current medical needs. This part of information helps medical staff assess the possible impact of the patient's medical history on the current situation.
[0189] Finally, the historical physiological data information collected from the sensor module provides a detailed record of the patient's health status, which can be used to track the patient's health trends or provide important references in medical analysis.
[0190] During the design and development phase of NFC smart cards, ensure that the memory capacity and access speed can meet the above information storage and fast access requirements. In addition, to protect user privacy and data security, the storage and transmission of all personal medical information should follow the corresponding encryption standards and security protocols.
[0191] Furthermore, the memory is configured with a dynamic data access control mechanism, which adjusts the user's medical emergency information accessible to external devices based on the privacy preferences set by the user.
[0192] The memory of the NFC smart card is specially configured with a dynamic data access control mechanism, which is designed to protect the user's privacy and enable the user to set the accessibility of medical information according to personal preferences. This mechanism allows users to customize which medical information can be accessed by external devices, especially in emergency situations. The implementation of this function is critical to ensure that users control the extent to which their sensitive information is shared, while also increasing user confidence and satisfaction in using smart cards.
[0193] Specifically, the way the dynamic data access control mechanism works is that through a preset interface or application, users can selectively enable or disable access to specific medical information. For example, a user may decide to allow external devices to access their complete medical history only under certain conditions, such as when conducting a medical emergency response. In addition, users can set the level of information allowed to be accessed, such as only allowing access to medication allergy information instead of a complete surgical history.
[0194] Smart cards themselves do not directly contain a user interface because their physical form factor (i.e., a credit card-sized plastic card) limits the possibility of a built-in display or input device. However, smart cards can implement user interface functionality through interaction with other devices. Here are a few ways that smart cards can provide or utilize a user interface:
[0195] 1. Through external devices: Smart cards can interact by connecting to external devices with user interfaces (such as smartphones, tablets, or specialized card readers). For example, in medical applications, smart cards connect to doctors’ smart devices through NFC or other communication technologies, and display interfaces on these devices for users to interact.
[0196] 2. Use an associated application: A smart card can be paired with a mobile phone or computer application that provides a user interface that allows the user to configure the smart card settings or view information read from the smart card. The user inputs through the application interface, and the application sends commands to the smart card.
[0197] In practice, as mentioned earlier, smart cards that provide dynamic data access control often rely on external devices to implement user interface functions, allowing users to set privacy preferences or make other configurations. This design allows smart cards to remain small and portable while still providing complex functions and a high degree of user customization.
[0198] Although the present application is disclosed as above in the form of a preferred embodiment, it is not intended to limit the present application. Any technical personnel in this field may make possible changes and modifications without departing from the spirit and scope of the present application. Therefore, the scope of protection of the present application shall be based on the scope defined by the claims of the present application.
Claims
1. An NFC smart card, characterized in that: include: A processor, configured to execute a plurality of instructions stored in the memory; A security module, connected to the processor for performing encryption operations and security authentication; A sensor module, comprising a biometric sensor and a physiological parameter sensor, wherein the biometric sensor is used to quickly respond when an NFC field is activated, collect and record the user's biometric data; the physiological parameter sensor is used to quickly respond when an NFC field is activated, collect and record the user's physiological data; the physiological parameter sensor comprises at least one of a skin conductance sensor, a body temperature sensor and a heart rate photoelectric sensor; wherein the biometric sensor and the physiological parameter sensor are integrated on an NFC smart card; wherein the heart rate photoelectric sensor uses a micro LED and a photodiode to emit and receive light transmitted through the skin to measure blood flow changes and heart rate; wherein each sensor in the sensor module is designed to have extremely low energy consumption and relies on energy provided by an NFC interface or a small built-in battery; NFC communication interface for secure data exchange with external medical devices; Memory, used to store the following instructions: Data transmission instructions, executed by the processor, for data compression and preprocessing of collected physiological data and biometric data to reduce bandwidth required for transmission and improve processing efficiency; Health analysis instructions for generating health reports and alerts based on real-time and historical physiological data comparisons; Wherein, the sampling frequency F of the physiological parameter sensor sample Use the following formula 1 for calculation: Among them, V min is the minimum sampling frequency of the physiological parameter sensor; V max is the maximum sampling frequency of the physiological parameter sensor; F is the real-time NFC field strength; F max is the maximum reference value of the NFC field strength; Q is the data quality score based on the previously collected physiological data, wherein the data quality score is used to evaluate the integrity, consistency and error range of the data; K and ξ are adjustment coefficients; The NFC interface is designed to be compatible with multiple types of medical devices, including portable health monitoring devices and hospitals' central monitoring systems.
2. The NFC smart card according to claim 1, characterized in that: The memory also stores user medical emergency information for transmission to a nearby medical reading device in an emergency; the user medical emergency information includes user basic identity information, user key medical information, user historical important medical event information, and historical physiological data information stored by the sensor module; Among them, the user's basic identity information includes the user's name, date of birth, blood type and emergency contact information; the user's key medical information includes the user's known medical conditions, current medications and their dosages, and allergic drug information; the user's historical important medical event information includes the user's past surgical history and treatment response information.
3. The NFC smart card according to claim 2, characterized in that: The memory is configured with a dynamic data access control mechanism that adjusts the user's medical emergency information accessible to external devices based on privacy preferences set by the user.
4. The NFC smart card according to claim 1, characterized in that: The security module performs encryption operations including the following steps: receiving raw data collected from biometric sensors and physiological parameter sensors; An encryption algorithm based on elliptic curve cryptography is applied, which generates a key K using the following formula 2: Among them, G is the base point on the elliptic curve; r is the random number extracted from the biometric data; Q is the point converted from the timestamp received from the NFC communication interface, obtained by the elliptic curve hash mapping method; H is the cryptographic hash function.
5. The NFC smart card according to claim 4, characterized in that: The base point G on the elliptic curve is calculated by the following formula 3: G=(x G ,y G )(3) Among them, x G and G is a pair of predetermined constant values that satisfy the elliptic curve equation provided by Formula 4 below; y 2 ≡x 3 +ax+b mod p(4) Here, a and b are the coefficients of the elliptic curve; p is a large prime number that defines the curve over a finite field.
6. The NFC smart card according to claim 4, characterized in that: The point Q is calculated from the timestamp T received from the NFC communication interface by applying the following conversion formula 5: Q=EllipticCurveHash(T,C,p)(5) EllipticCurveHash is an elliptic curve hash function used to convert the input value T into a point on the elliptic curve; C is a constant; the EllipticCurveHash function uses the SHA-256 hash algorithm to hash T to get an integer, and then ensures that the result falls on the elliptic curve by multiplying the constant C and taking the modulus of p and using the Try-and-Increment method, which specifically includes the following steps: SHA-256(T) generates a hash value; Multiply the resulting hash value by C and try each one until a value x is found that solves equation 4. The solution (x, y) of Formula 4 is determined as point Q.
7. The NFC smart card according to claim 4, characterized in that: The random number r is obtained by the following steps: Let D be the raw data collected from the biometric sensor, the raw data including fingerprint data; The biometric data is processed using the SHA-256 hash function to generate an initial hash value H1, as shown in Formula 6: H1=SHA256(D) (6) According to the following formula 7, the hash value H2 is obtained: Among them, S represents the current timestamp; The hash value H3 is obtained according to the following formula 8: H3=SHA256(H2) (8) The hash value H3 is converted into an integer, and the converted integer is used as the random number r.
8. The NFC smart card according to claim 1, characterized in that: The security module is configured to perform a security authentication process based on a challenge-response protocol, comprising the following steps: The processor receives a random challenge code sent from an external medical device via an NFC communication interface; The security module encrypts the challenge code using a private key pre-stored in the smart card to generate a response code; The processor sends the encrypted response code back to the external medical device via the NFC communication interface; The external medical device verifies the validity of the response code using the corresponding public key to complete the authentication process.
