NFC prepaid Token recharging mechanical metering and ultrasonic metering water meter and recharging method thereof
By using the NFC prepaid Token water meter in the prepaid water meter, combined with the dual encryption method of private and public encryption, the problem of limited flexibility in the use of private encryption algorithms and insufficient confidentiality in the existing technology is solved, and the water meter is realized. Fast and secure recharge and data protection enhance the security of water service providers.
Patent Information
- Application Number
- CN202410868415.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-01
- Publication Date
- 2024-09-06
Smart Images

Figure CN118609263A
Abstract
Description
Technical Field
[0001] The present invention relates to the field of electronic technology, and in particular to a mechanical metering and ultrasonic metering water meter for NFC prepaid Token recharge and a recharging method thereof. Background Art
[0002] Prepaid water meters need to be recharged before they can be used. The current method generally adopted is based on a private encryption algorithm. Private encryption algorithms have problems such as limited flexibility of use, incomplete confidentiality, and the need for manual confidentiality for the staff involved. Summary of the invention
[0003] In view of this, the present invention provides a mechanical metering and ultrasonic metering water meter for NFC prepaid Token recharge and a recharging method thereof, adopting an NFC prepaid Token water meter and a double encryption method combining private and public encryption to achieve fast and safe recharging of the prepaid water meter.
[0004] The present invention discloses a mechanical metering and ultrasonic metering water meter for NFC prepaid Token recharge, which includes an NFC card reading circuit, a crystal oscillator and a processor. The crystal oscillator provides a radio frequency frequency to the processor, and the processor obtains a differential signal output by a differential output signal first-stage circuit and analyzes the differential signal. The NFC card reading circuit includes a differential output signal first-stage circuit, a differential signal feedback circuit, a radio frequency matching circuit and a differential antenna.
[0005] The differential signal feedback circuit is connected to the differential output signal first stage circuit and the radio frequency matching circuit respectively; the radio frequency matching circuit is connected to the differential antenna;
[0006] The first-stage circuit of the differential output signal includes a resistor R51, an inductor L10, an inductor L11, a capacitor C80 and a capacitor C95; one end of the inductor L10 is connected to one end of the inductor L11 through the capacitor C80 and the capacitor C95 in sequence, and the common end of the capacitor C80 and the capacitor C95 is grounded; the other end of the inductor L10 is connected to the corresponding pin of the chip, the other end of the inductor L11 is connected to the corresponding pin of the chip, one end of the resistor R51 is connected to the corresponding pin of the chip, and the other end is grounded;
[0007] The differential signal feedback circuit includes a resistor R50, a capacitor C71, a resistor R35, a capacitor C69, a resistor R53, a capacitor C99 and a resistor R72; one end of the resistor R50 is connected to one end of the resistor R35 through the capacitor C71; the common end of the capacitor C71 and the resistor R35 is connected to the corresponding pin of the chip; the other end of the resistor R35 is grounded through the capacitor C69; the other end of the resistor R35 is connected to the corresponding pin of the chip;
[0008] One end of the resistor R53 is connected to one end of the resistor R72 through the capacitor C99; the other end of the resistor R72 is connected to the corresponding pin of the chip; the common end of the capacitor C99 and the resistor R72 is connected to the corresponding pin of the chip;
[0009] The radio frequency matching circuit includes three parallel branches, a capacitor C74 and a capacitor C97; the three parallel branches include a first parallel branch, a second parallel branch and a third parallel branch; the capacitor C74 and the capacitor C97 are respectively located between the first parallel branch and the second parallel branch.
[0010] Furthermore, the first parallel branch includes capacitor C75 and capacitor C82 connected in series, the second parallel branch includes capacitor C76 and capacitor C88 connected in series, and the third parallel branch includes capacitor C61 and capacitor C96 connected in series; the common end of capacitor C75 and capacitor C82 is connected to the common end of capacitor C76 and capacitor C88 and the common end of capacitor C61 and capacitor C96 in turn.
[0011] Furthermore, capacitor C74 is located between capacitor C75 and capacitor C76; capacitor C97 is located between capacitor C82 and capacitor C88.
[0012] Further, a common end of the capacitor C80 and the capacitor C95 is connected to a common end of the capacitor C75 and the capacitor C82.
[0013] Further, the resistor R50 is connected to the common end of the capacitor C80 and the capacitor C75; the resistor R53 is connected to the common end of the capacitor C95 and the capacitor C97; and the differential antenna is connected to both ends of the third parallel branch.
[0014] Furthermore, the differential antenna adopts an integrated or split PCB coupling antenna.
[0015] The present invention also discloses a recharging method for a mechanical metering and ultrasonic metering water meter for NFC prepaid token recharging, which is applicable to the mechanical metering and ultrasonic metering water meter for NFC prepaid token recharging described in any one of the above items, and comprises:
[0016] The Token is generated using the AES encryption algorithm, and the generated Tonken is stored on a radio frequency IC card. The radio frequency IC card is read through the NFC radio frequency of the water meter to extract the Tonken. The water meter uses the AES decryption algorithm to obtain the information transmitted by the Tonken, and then performs recharge or other corresponding operations.
[0017] Furthermore, the water meter supplier sends a water conservation initialization key request to the production security module. The public trust agency authorizes the key to the production security module. The production security module uses AES encryption and the key authorized by the public trust agency to generate a Tonken of the data on the radio frequency IC card and send it to the water meter supplier. The water meter supplier sends the initialization key to the water meter.
[0018] Furthermore, the water meter user, that is, the customer purchases water through the POS machine through the radio frequency IC card. The water company uses the relevant key of the public trust agency to sell water through the security module / encryption machine, and writes the Tonken on the radio frequency IC card through the POS machine. The customer passes the radio frequency IC card with Tonken to the water meter through NFC for recharging.
[0019] Furthermore, the radio frequency IC card is transmitted to the water meter via NFC, and a private encryption method is adopted in which one water meter corresponds to one card. That is, each different water meter ID has a different password to identify the corresponding radio frequency IC card. When the radio frequency IC card is correctly identified, Tonken analysis is performed. Tonken analysis uses AES encryption and the authorization key of a public trust agency, which is equivalent to double insurance to ensure the safe water sales process of the water company.
[0020] Due to the adoption of the above technical solution, the present invention has the following advantages:
[0021] When the water company sells water to users, the sampling uses NFC to read and write privately encrypted radio frequency IC cards to achieve the first level of private encryption. The data on the IC card is AES encrypted and Tonken produced by the key authorized by the public trust agency to achieve the second level of public trust encryption. The use of private and public trust dual encryption ensures the safety of water sales by water companies. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments recorded in the embodiments of the present invention. For ordinary technicians in this field, other drawings can also be obtained based on these drawings.
[0023] Figure 1 This is a schematic diagram of the structure of an NFC card reading circuit according to an embodiment of the present invention;
[0024] Figure 2 A schematic diagram of a security process for producing a key for a water meter according to an embodiment of the present invention;
[0025] Figure 3 A schematic diagram of a safe water sales process according to an embodiment of the present invention;
[0026] Figure 4A schematic diagram of the FM17660 chip according to an embodiment of the present invention;
[0027] Figure 5 Schematic diagram of a crystal oscillator according to an embodiment of the present invention. DETAILED DESCRIPTION
[0028] The present invention is further described in conjunction with the accompanying drawings and embodiments, and the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by ordinary technicians in this field should fall within the scope of protection of the embodiments of the present invention.
[0029] The existing private encryption algorithms have the problems of limited flexibility, imperfect confidentiality, and the need for manual confidentiality of the staff involved. To solve the above problems, the present invention adopts an NFC prepaid token water meter, and adopts a double encryption method combining private and public encryption to avoid the above problems. Specifically, the present invention provides an embodiment of a mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge, which includes an NFC card reading circuit (see Figure 1 ), a crystal oscillator and a processor, the crystal oscillator provides a radio frequency frequency to the processor, the processor obtains the differential signal output by the first-stage differential output signal circuit, and parses the differential signal; the NFC card reader circuit includes a differential output signal first-stage circuit, a differential signal feedback circuit, a radio frequency matching circuit and a differential antenna; the processor can be a FM17660 chip (see Figure 4 ); Crystal oscillator such as Figure 5 As shown, Y3 is a crystal oscillator;
[0030] The differential signal feedback circuit is connected to the differential output signal first stage circuit and the radio frequency matching circuit respectively; the radio frequency matching circuit is connected to the differential antenna;
[0031] The first-stage circuit of the differential output signal includes a resistor R51, an inductor L10, an inductor L11, a capacitor C80 and a capacitor C95; one end of the inductor L10 is connected to one end of the inductor L11 through the capacitor C80 and the capacitor C95 in sequence, and the common end of the capacitor C80 and the capacitor C95 is grounded; the other end of the inductor L10 is connected to the corresponding pin of the chip, the other end of the inductor L11 is connected to the corresponding pin of the chip, one end of the resistor R51 is connected to the corresponding pin of the chip, and the other end is grounded;
[0032] The differential signal feedback circuit includes a resistor R50, a capacitor C71, a resistor R35, a capacitor C69, a resistor R53, a capacitor C99 and a resistor R72; one end of the resistor R50 is connected to one end of the resistor R35 through the capacitor C71; the common end of the capacitor C71 and the resistor R35 is connected to the corresponding pin of the chip; the other end of the resistor R35 is grounded through the capacitor C69; the other end of the resistor R35 is connected to the corresponding pin of the chip;
[0033] One end of the resistor R53 is connected to one end of the resistor R72 through the capacitor C99; the other end of the resistor R72 is connected to the corresponding pin of the chip; the common end of the capacitor C99 and the resistor R72 is connected to the corresponding pin of the chip;
[0034] The radio frequency matching circuit includes three parallel branches, a capacitor C74 and a capacitor C97; the three parallel branches include a first parallel branch, a second parallel branch and a third parallel branch; the capacitor C74 and the capacitor C97 are respectively located between the first parallel branch and the second parallel branch.
[0035] In one embodiment, the first parallel branch includes capacitor C75 and capacitor C82 connected in series, the second parallel branch includes capacitor C76 and capacitor C88 connected in series, and the third parallel branch includes capacitor C61 and capacitor C96 connected in series; the common end of capacitor C75 and capacitor C82 is connected to the common end of capacitor C76 and capacitor C88 and the common end of capacitor C61 and capacitor C96 in turn.
[0036] In one embodiment, capacitor C74 is located between capacitor C75 and capacitor C76; capacitor C97 is located between capacitor C82 and capacitor C88.
[0037] In one embodiment, a common terminal of capacitor C80 and capacitor C95 is connected to a common terminal of capacitor C75 and capacitor C82.
[0038] In one embodiment, the resistor R50 is connected to the common end of the capacitor C80 and the capacitor C75; the resistor R53 is connected to the common end of the capacitor C95 and the capacitor C97; and the differential antenna is connected to both ends of the third parallel branch.
[0039] In one embodiment, the differential antenna is an integrated or split PCB coupling antenna.
[0040] The present invention also discloses a recharging method for a mechanical metering and ultrasonic metering water meter for NFC prepaid Token recharging, which is applicable to the mechanical metering and ultrasonic metering water meter for NFC prepaid Token recharging described in the above embodiment, and comprises:
[0041] The Token is generated using the AES encryption algorithm, and the generated Tonken is stored on a radio frequency IC card. The radio frequency IC card is read through the NFC radio frequency of the water meter to extract the Tonken. The water meter uses the AES decryption algorithm to obtain the information transmitted by the Tonken, and then performs recharge or other corresponding operations.
[0042] In one embodiment, see Figure 2The water meter supplier sends the water conservation initialization key request to the production security module. The public trust agency authorizes the key to the production security module. The production security module uses AES encryption and the key authorized by the public trust agency to generate the Tonken of the data on the radio frequency IC card and send it to the water meter supplier. The water meter supplier sends the initialization key to the water meter.
[0043] In one embodiment, see Figure 3 The water meter user, that is, the customer purchases water through the POS machine through the radio frequency IC card. The water company uses the relevant key of the public trust agency to sell water through the security module / encryption machine, and writes the Tonken on the radio frequency IC card through the POS machine. The customer passes the radio frequency IC card with Tonken to the water meter through NFC for recharging.
[0044] In one embodiment, the radio frequency IC card is transmitted to the water meter via NFC, and a private encryption method is adopted in which one water meter corresponds to one card, that is, each different water meter ID has a different password to identify the corresponding radio frequency IC card. When the radio frequency IC card is correctly identified, Tonken analysis is performed, and Tonken analysis uses AES encryption and a key authorized by a public trust agency.
[0045] Figure 1 , Figure 4 and Figure 5 The numbers in the diagram (such as VMID_NFC, PXP-NFC, TX1_NFC, TX2_NFC, TVSS_NFC, RXN-NFC) are the network names of the diagram. Networks with the same names are connected together. Figure 2 The production safety module can be produced by computer. Figure 3 The security module in is a hardware encryption machine.
[0046] The water meters used in the present invention include but are not limited to mechanical metering and ultrasonic metering water meters. Mechanical metering and ultrasonic metering water meters are water meters with NFC card reading function. Each water meter has an independent number of more than 13 digits, that is, an ID number. Each meter adopts a private encryption method. Each ID number is encrypted to form a different password. IC cards are used for data transmission. During the transmission, the ID number must be correctly decrypted and identified before the Tonken data in the IC card can be parsed. Tonken parsing is a public encryption method with AES encryption and a key authorized by a public trust agency. The water company is guaranteed to sell water safely through private and public double encryption.
[0047] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge, It is characterized in that It includes an NFC card reader circuit, a crystal oscillator and a processor. The crystal oscillator provides a radio frequency frequency to the processor. The processor obtains the differential signal output by the first-stage differential output signal circuit and analyzes the differential signal. The NFC card reader circuit includes a differential output signal first-stage circuit, a differential signal feedback circuit, a radio frequency matching circuit and a differential antenna. The differential signal feedback circuit is connected to the differential output signal first stage circuit and the radio frequency matching circuit respectively; the radio frequency matching circuit is connected to the differential antenna; The first-stage circuit of the differential output signal includes a resistor R51, an inductor L10, an inductor L11, a capacitor C80 and a capacitor C95; one end of the inductor L10 is connected to one end of the inductor L11 through the capacitor C80 and the capacitor C95 in sequence, and the common end of the capacitor C80 and the capacitor C95 is grounded; the other end of the inductor L10 is connected to the corresponding pin of the chip, the other end of the inductor L11 is connected to the corresponding pin of the chip, one end of the resistor R51 is connected to the corresponding pin of the chip, and the other end is grounded; The differential signal feedback circuit includes a resistor R50, a capacitor C71, a resistor R35, a capacitor C69, a resistor R53, a capacitor C99 and a resistor R72; one end of the resistor R50 is connected to one end of the resistor R35 through the capacitor C71; the common end of the capacitor C71 and the resistor R35 is connected to the corresponding pin of the chip; the other end of the resistor R35 is grounded through the capacitor C69; the other end of the resistor R35 is connected to the corresponding pin of the chip; One end of the resistor R53 is connected to one end of the resistor R72 through the capacitor C99; the other end of the resistor R72 is connected to the corresponding pin of the chip; the common end of the capacitor C99 and the resistor R72 is connected to the corresponding pin of the chip; The radio frequency matching circuit includes three parallel branches, a capacitor C74 and a capacitor C97; the three parallel branches include a first parallel branch, a second parallel branch and a third parallel branch; the capacitor C74 and the capacitor C97 are respectively located between the first parallel branch and the second parallel branch.
2. The mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 1, It is characterized in that The first parallel branch includes capacitor C75 and capacitor C82 connected in series, the second parallel branch includes capacitor C76 and capacitor C88 connected in series, and the third parallel branch includes capacitor C61 and capacitor C96 connected in series; the common end of capacitor C75 and capacitor C82 is connected to the common end of capacitor C76 and capacitor C88 and the common end of capacitor C61 and capacitor C96 in turn.
3. The mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 2, It is characterized in that Capacitor C74 is located between capacitor C75 and capacitor C76; capacitor C97 is located between capacitor C82 and capacitor C88.
4. The mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 2, It is characterized in that A common terminal of capacitor C80 and capacitor C95 is connected to a common terminal of capacitor C75 and capacitor C82.
5. The mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 2 or 3, It is characterized in that The other end of the resistor R50 is connected to the common end of the capacitor C80 and the capacitor C75; the other end of the resistor R53 is connected to the common end of the capacitor C95 and the capacitor C97; the differential antenna is connected to both ends of the third parallel branch.
6. The mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 1, It is characterized in that The differential antenna uses an integrated or split PCB coupled antenna.
7. A recharge method for a mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge, applicable to the mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to any one of claims 1 to 6, It is characterized in that include: The Token is generated using the AES encryption algorithm, and the generated Tonken is stored on a radio frequency IC card. The radio frequency IC card is read through the NFC radio frequency of the water meter to extract the Tonken. The water meter uses the AES decryption algorithm to obtain the information transmitted by the Tonken, and then performs recharge or other corresponding operations.
8. The recharge method of mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 7, It is characterized in that The water meter supplier sends the water conservation initialization key request to the production security module. The public trust agency authorizes the key to the production security module. The production security module uses AES encryption and the key authorized by the public trust agency to generate the Tonken of the data on the radio frequency IC card and send it to the water meter supplier. The water meter supplier sends the initialization key to the water meter.
9. The recharge method of mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 7, It is characterized in that Water meter users, that is, customers purchase water through RFID IC cards on POS machines. The water company uses the relevant keys of public trust institutions to sell water through security modules / encryption machines, and writes Tonken on RFID IC cards through POS machines. Customers pass the RFID IC cards with Tonken to the water meter through NFC for recharging.
10. The recharge method of mechanical metering and ultrasonic metering water meter for NFC prepaid token recharge according to claim 9, It is characterized in that The radio frequency IC card is transmitted to the water meter via NFC, using a private encryption method where one water meter corresponds to one card. That is, each different water meter ID has a different password to identify the corresponding radio frequency IC card. When the radio frequency IC card is correctly identified, Tonken analysis is performed. Tonken analysis uses AES encryption and the authorization key of a public trust agency.
Citation Information
Patent Citations
IC card intelligent water meter provided with information security management module in embedded mode
CN103199993A
Smart card meter based on NB-IoT (Narrow Band Internet of Things) and use method thereof
CN113362529A
Data transmission method and system based on block chain
CN113987530A
A water gauge that is used for radio frequency circuit of non -contact cartoon letter and contains this circuit
CN207198890U
