Radio frequency card water controller terminal program upgrading method and system

By using large-capacity contactless CPU cards and RFID RF communication interfaces, the program upgrade of the RF card water controller terminal is solved, and the problems of upgrade flexibility and security in the existing technology are solved, improving customer experience and market competitiveness.

CN119690476APending Publication Date: 2025-03-25NEWCAPEC ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411731154.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-29
Publication Date
2025-03-25

AI Technical Summary

Technical Problem

The existing RF card water controller terminals have limitations in sealing waterproofness and production costs, and cannot flexibly upgrade the program, resulting in poor customer experience and disadvantaged market position.

Method used

The large-capacity contactless CPU card is used for program upgrades. The upgrade program file is divided into multiple data sets through the preset data division strategy, and the data interaction with the CPU card is used to achieve security and uniqueness verification. Finally, the data set is stored in the firmware of the water controller.

Benefits of technology

Without destroying the seal waterproofness and increasing production costs, flexible program upgrades of the RF card water controller terminals are realized, improving overall security and customer experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119690476A_ABST
    Figure CN119690476A_ABST
Patent Text Reader

Abstract

The invention provides a radio frequency card water controller terminal program upgrading method and system, and the method comprises the steps: dividing an upgrading program file into a plurality of data sets through an upgrading program maker, and writing the plurality of data sets into an internal storage space of a high-capacity non-contact CPU card based on a preset sequence, security and uniqueness verification is carried out on the high-capacity non-contact CPU card, after the verification is passed, the radio frequency card water controller carries out cyclic traversal on each file unit on the high-capacity non-contact CPU card, and data of each file unit of the high-capacity non-contact CPU card is collected into an RAM on an MCU chip of the radio frequency card water controller; and after each file unit is read and decrypted, the MCU of the radio frequency card water controller obtains an upgrading program file, the upgrading program file is stored in firmware of the radio frequency card water controller, and program upgrading of the terminal of the radio frequency card water controller is completed. Programs of the water controller can be conveniently and flexibly upgraded.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of radio frequency card water controller terminal program upgrade, and in particular to a radio frequency card water controller terminal program upgrade method and system. Background Art

[0002] Water controllers are mainly used in water boilers, shower rooms and other places. Water controllers must be sealed, so they cannot be disassembled and burned or upgraded at will on site. Some water controllers do not require external network communication for business functions, and if customers need new functions after on-site use, the water controller terminal program cannot be upgraded on site. Some 4G communication terminals cannot be upgraded when they cannot connect to the Internet (no signal, program abnormality). If the above two scenarios are met and other functions are reserved on the water controller, the terminal material cost and production test cost will increase. If the water controller cannot be upgraded according to customer needs during use, the customer experience will be poor. If other communication interfaces are reserved, the cost will increase. This situation puts the water controller terminal at a disadvantage in the fierce market competition. Summary of the invention

[0003] In view of the shortcomings of the above-mentioned prior art, the present application aims to provide a technology for upgrading the RF card water controller terminal program based on a large-capacity CPU card, which can realize the RF card water controller terminal without destroying its sealing and waterproof properties and without increasing additional production and manufacturing costs. The RF card water controller program can be conveniently and flexibly upgraded, and the following technical solutions are adopted:

[0004] In a first aspect, the present application provides a method for upgrading a terminal program of a radio frequency card water controller, comprising:

[0005] Based on the preset data division strategy, the upgrade program file is divided into multiple data sets through the upgrade program maker;

[0006] Writing multiple data sets into the internal storage space of a large-capacity contactless CPU card based on a preset sequence;

[0007] The RFID card water controller exchanges data with the large-capacity contactless CPU card through the RFID radio frequency communication interface, and verifies the security and uniqueness of the large-capacity contactless CPU card;

[0008] When the verification is passed, the RFID card water controller traverses each file unit on the large-capacity contactless CPU card in a loop, and collects the data of each file unit on the large-capacity contactless CPU card into the RFID card water controller MCU on-chip RAM;

[0009] After each file unit is read and decrypted, the MCU of the radio frequency card water controller obtains the upgrade program file, stores the upgrade program file in the firmware of the radio frequency card water controller, and completes the program upgrade of the radio frequency card water controller terminal.

[0010] Furthermore, the preset data partitioning strategy includes performing set optimization processing based on the MCU computing power of the radio frequency card water controller hardware model and the size of the large-capacity contactless CPU card space to complete the partitioning of the preset data.

[0011] Furthermore, after the upgrade program file is divided into a plurality of data sets by the upgrade program maker based on a preset data division strategy, the method further includes:

[0012] After combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed.

[0013] Furthermore, after combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed, including:

[0014] The internal data space of the large-capacity contactless CPU card is initialized by using RFID radio frequency communication media, and the encrypted upgrade program file is written into the internal storage space of the large-capacity contactless CPU card.

[0015] Furthermore, after combining the multiple data sets with the hardware model, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed, which are specifically manifested as follows:

[0016] Obtain the hardware model and spatial distribution information of the radio frequency card water controller; the spatial distribution information includes the division of storage areas, the capacity of each area, the read-write properties and the security level;

[0017] Determine the encryption algorithm for different storage areas of the RFID card water controller based on the hardware model computing capability and the security level of the storage area of ​​the RFID card water controller;

[0018] The encryption algorithm determined for each storage area is combined with the hardware model and data set of the radio frequency card water controller to perform associated encryption processing.

[0019] Furthermore, before writing the plurality of data sets into the internal storage space of the large-capacity contactless CPU card based on a preset order, the method further includes:

[0020] The upgrade program maker divides the internal storage space of the large-capacity contactless CPU card into multiple independent file units by using RFID radio frequency communication media, and each file unit has independent security authentication authority.

[0021] Furthermore, the radio frequency card water controller cyclically traverses each file unit on the large-capacity contactless CPU card, and also includes:

[0022] The MCU of the radio frequency card water controller decrypts data based on the associative encryption combined with the hardware model, spatial distribution, and multiple encryption algorithms to achieve associative decryption processing of different file units.

[0023] In a second aspect, the present application also provides a radio frequency card water controller terminal program upgrade system, comprising:

[0024] A data set division module, used for dividing the upgrade program file into multiple data sets through the upgrade program maker 2 based on a preset data division strategy;

[0025] A data set writing module, used for writing multiple data sets into the internal storage space of the large-capacity contactless CPU card based on a preset order;

[0026] Large-capacity contactless CPU card verification module is used for radio frequency card water controller to exchange data with large-capacity contactless CPU cards through RFID radio frequency communication interface, and to verify the security and uniqueness of large-capacity contactless CPU cards;

[0027] The MCU of the radio frequency card water controller obtains the data collection module, which is used for the radio frequency card water controller to traverse each file unit on the large-capacity contactless CPU card in a loop after the verification is passed, and collect the data of each file unit of the large-capacity contactless CPU card into the on-chip RAM of the MCU of the radio frequency card water controller;

[0028] The program upgrade module is used for the MCU of the radio frequency card water controller to obtain the upgrade program file after each file unit is read and decrypted, and store the upgrade program file in the firmware of the radio frequency card water controller to complete the program upgrade of the radio frequency card water controller terminal.

[0029] In a third aspect, the present application provides an electronic device, including:

[0030] One or more processors; a memory; and one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, cause the device to perform the method as described in the first aspect.

[0031] In a fourth aspect, the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer-readable storage medium is run on a computer, the computer executes the method described in the first aspect.

[0032] In a fifth aspect, the present application provides a computer program, which, when executed by a computer, is used to execute the method described in the first aspect.

[0033] In one possible design, the program in the fifth aspect may be stored in whole or in part on a storage medium packaged together with the processor, or may be stored in whole or in part on a memory not packaged together with the processor.

[0034] This application has the following beneficial effects:

[0035] 1. This application uses a large-capacity contactless CPU card to upgrade the RFID card water controller terminal program, so that the RFID card water controller terminal can conveniently and flexibly upgrade the water controller program without destroying its sealing and waterproof properties and without increasing additional production and manufacturing costs.

[0036] 2. This application builds a multi-layer security protection system by combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, and performing different correlation encryption processing. Different hardware models have different spatial distribution characteristics. Combining data sets, hardware models, spatial distribution, and multiple encryption algorithms, you can customize personalized encryption strategies, which improves the overall security of the RFID card water controller terminal program upgrade.

[0037] 3. The present application provides a water controller terminal program upgrade based on a large-capacity contactless CPU card. It can upgrade the water controller program conveniently and flexibly on the basis of being sealed and waterproof, not increasing manufacturing costs, and not exposing upgrade files. It is not affected by environmental changes such as light, water droplets, surface wear, water stains, oil stains, component consistency, etc., and works stably. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is an exemplary system architecture diagram to which the embodiments of the present application can be applied;

[0039] Figure 2 This is a flow chart of the method for upgrading the terminal program of the radio frequency card water controller according to an embodiment of the present application;

[0040] Figure 3 This is a schematic diagram of the association encryption of an embodiment of the present application;

[0041] Figure 4 This is a schematic diagram of the association encryption of an embodiment of the present application;

[0042] Figure 5 This is a flowchart of the correlation encryption of an embodiment of the present application;

[0043] Figure 6 This is a system flow chart of an embodiment of the present application;

[0044] Figure 7 It is a schematic diagram of a computer device according to an embodiment of the present application.

[0045] Explanation of the accompanying symbols: 1. Large-capacity contactless CPU card; 2. Upgrade program maker; 3. Association encryption processing; 4. RFID radio frequency communication medium; 5. RFID radio frequency communication interface; 6. Uniqueness verification; 7. Association decryption. DETAILED DESCRIPTION

[0046] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by technicians in the technical field of the present application; the terms used in the specification of the application herein are only for the purpose of describing specific embodiments and are not intended to limit the present application; the terms "including" and "having" and any variations thereof in the specification and claims of the present application and the above-mentioned drawings are intended to cover non-exclusive inclusions. The terms "first", "second", etc. in the specification and claims of the present application or the above-mentioned drawings are used to distinguish different objects, not to describe a specific order.

[0047] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0048] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the accompanying drawings.

[0049] like Figure 1 As shown, the system architecture 100 may include terminal devices 101, 102, 103, a network 104 and a server 105. The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105. The network 104 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc.

[0050] Users can use terminal devices 101, 102, 103 to interact with server 105 through network 104 to receive or send messages, etc. Various communication client applications can be installed on terminal devices 101, 102, 103, such as web browser applications, shopping applications, search applications, instant messaging tools, email clients, social platform software, etc.

[0051] Terminal devices 101, 102, 103 can be various electronic devices with display screens and supporting web browsing, including but not limited to smart phones, tablet computers, e-book readers, MP3 players (Moving Picture Experts Group Audio Layer III, Moving Picture Experts Group Audio Layer 3), MP4 (Moving Picture Experts Group Audio Layer IV, Moving Picture Experts Group Audio Layer 4) players, laptop computers and desktop computers, etc.

[0052] The server 105 may be a server that provides various services, such as a background server that provides support for web pages displayed on the terminal devices 101 , 102 , and 103 .

[0053] It should be noted that the RFID card water controller terminal program upgrade method provided in the embodiment of the present application is generally executed by a server / terminal device, and accordingly, the RFID card water controller terminal program upgrade system is generally set in the server / terminal device.

[0054] It should be understood that Figure 1 The number of terminal devices, networks and servers in the embodiment is only for illustration. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

[0055] Continue to refer Figure 2 , the figure shows a flow chart of a method for upgrading a terminal program of a radio frequency card water controller of the present application, the method comprising the following steps:

[0056] Step 201 , based on a preset data partitioning strategy, the upgrade program maker 2 divides the upgrade program file into multiple data sets.

[0057] In a possible implementation, the preset data partitioning strategy includes performing set optimization processing based on the MCU computing power of the radio frequency card water controller hardware model and the size of the large-capacity contactless CPU card space to complete the partitioning of the preset data, and giving priority to ensuring storage efficiency during the set optimization process.

[0058] In a possible implementation manner, after the upgrade program maker 2 divides the upgrade program file into multiple data sets based on a preset data division strategy, the method further includes:

[0059] After combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes 3 are performed. For the correlation encryption process 3, please refer to Figure 3 .

[0060] In a possible implementation, after combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, and performing different correlation encryption processes 3, the following steps are performed:

[0061] The internal data space of the large-capacity contactless CPU card 1 is initialized by using the RFID radio frequency communication medium 4 , and the encrypted upgrade program file is written into the internal storage space of the large-capacity contactless CPU card 1 .

[0062] In a possible implementation, the multiple data sets are combined with hardware models, spatial distribution, and multiple encryption algorithms to perform different correlation encryption processing 3, please refer to Figure 4 , specifically:

[0063] Step 41, obtaining the hardware model and spatial distribution information of the radio frequency card water controller; wherein the spatial distribution information includes the division of storage areas, the capacity of each area, the read-write properties and the security level.

[0064] Step 42, based on the hardware model computing capability of the RFID card water controller and the security level of the storage area, determine the encryption algorithm of different storage areas of the RFID card water controller. For example, by obtaining the hardware model of the RFID card water controller, the computing capability of the RFID card water controller is obtained, and the performance of the RFID card water controller is evaluated; for high-performance hardware models, a computationally complex and highly secure encryption algorithm such as AES-256 can be adopted; for hardware models with limited resources, a software encryption algorithm can be adopted.

[0065] Step 43, for the encryption algorithm determined for each storage area, combined with the hardware model and data set of the radio frequency card water controller, perform correlation encryption processing 3.

[0066] In a possible implementation, after combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processing 3 is performed, which also includes: the encryption permission level of the hardware model of the radio frequency card water controller is prioritized, the encryption permission level of the storage area is second, and the encryption permission level of the capacity size of each area is third.

[0067] In a possible implementation, the encryption algorithm determined for each storage area is combined with the hardware model and data set of the radio frequency card water controller to perform correlation encryption processing 3, which is specifically manifested as follows:

[0068] The identifier of the RFID card water controller hardware model is used to generate a key seed through a hash function, and the key seed and the data set number are used to generate the final associated key through a specific key generation function. In each storage area, the data set is associated and encrypted using a determined encryption algorithm and the generated associated key.

[0069] Step 202 : writing multiple data sets into the internal storage space of the large-capacity contactless CPU card 1 based on a preset sequence.

[0070] In a possible implementation manner, before writing the plurality of data sets into the internal storage space of the large-capacity contactless CPU card 1 based on a preset order, the method further includes:

[0071] The upgrade program maker 2 divides the internal storage space of the large-capacity contactless CPU card 1 into a plurality of independent file units by using the RFID radio frequency communication medium 4, and each file unit has independent security authentication authority.

[0072] For example, security authentication permissions can prevent unauthorized devices or users from accessing specific file units in the large-capacity contactless CPU card 1. For example, in an application scenario involving sensitive information (such as financial transaction data, user privacy data), only a strictly authenticated water controller (through the authentication mechanism between its MCU and the card) can access the file unit that stores the user's account balance information. This is like adding a lock to each file unit, and only devices with the correct "key" (security authentication permissions) can open and read or write data.

[0073] When the upgrade program maker 2 writes multiple data sets to multiple file units of the large-capacity contactless CPU card 1, data can be written to the corresponding file unit only after each file unit is securely authenticated. This can prevent data from being illegally modified during transmission or storage, and ensure the integrity of the data in each file unit. For example, without such security authentication authority, an attacker may tamper with the billing rule file unit of the water controller, resulting in billing confusion.

[0074] In a possible implementation manner, during the process of writing the data set into the large-capacity contactless CPU card 1, the mapping relationship between the file unit and the data set is a one-to-one relationship.

[0075] Step 203 , the radio frequency card water controller exchanges data with the large-capacity contactless CPU card 1 through the RFID radio frequency communication interface 5 , and performs security and uniqueness verification 6 on the large-capacity contactless CPU card 1 .

[0076] Step 204, when the verification is passed, the radio frequency card water controller cyclically traverses each file unit on the large-capacity contactless CPU card 1, and collects the data of each file unit of the large-capacity contactless CPU card 1 into the RAM on the MCU chip of the radio frequency card water controller.

[0077] In a possible implementation, the radio frequency card water controller cyclically traverses each file unit on the large-capacity contactless CPU card 1, and further includes:

[0078] The MCU of the radio frequency card water controller decrypts the data based on the associated encryption combined with the hardware model, spatial distribution, and multiple encryption algorithms to achieve the associated decryption 7 processing of different file units. Please refer to the associated decryption processing 7 process Figure 5 .

[0079] Step 205, after each file unit is read and decrypted, the MCU of the radio frequency card water controller obtains the upgrade program file, stores the upgrade program file in the firmware of the radio frequency card water controller, completes the program upgrade of the radio frequency card water controller terminal, and the radio frequency card water controller can use the new application program.

[0080] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be implemented by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium. When the program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, the aforementioned storage medium can be a non-volatile storage medium such as a disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

[0081] It should be understood that, although the steps in the flowchart of the accompanying drawings are displayed in sequence as indicated by the arrows, these steps are not necessarily executed in sequence in the order indicated by the arrows. Unless otherwise specified herein, there is no strict order restriction on the execution of these steps, and they can be executed in other orders. Moreover, at least a part of the steps in the flowchart of the accompanying drawings may include multiple sub-steps or multiple stages, and these sub-steps or stages are not necessarily executed at the same time, but can be executed at different times, and their execution order is not necessarily sequential, but can be executed in turn or alternately with other steps or at least a part of the sub-steps or stages of other steps.

[0082] Continue to refer Figure 6 The radio frequency card water controller terminal program upgrade system described in this embodiment includes:

[0083] The data set division module 601 is used to divide the upgrade program file into multiple data sets through the upgrade program maker 2 based on a preset data division strategy;

[0084] A data set writing module 602 is used to write multiple data sets into the internal storage space of the large-capacity contactless CPU card based on a preset order;

[0085] The large-capacity contactless CPU card verification module 603 is used for the radio frequency card water controller to exchange data with the large-capacity contactless CPU card through the RFID radio frequency communication interface 5, and to verify the security and uniqueness of the large-capacity contactless CPU card;

[0086] The RFID card water controller MCU obtains data collection module 604, which is used for the RFID card water controller to traverse each file unit on the large-capacity contactless CPU card in a loop after the verification is passed, and collect the data of each file unit of the large-capacity contactless CPU card into the RFID card water controller MCU on-chip RAM;

[0087] The program upgrade module 605 is used for the MCU of the radio frequency card water controller to obtain the upgrade program file after each file unit is read and decrypted, and store the upgrade program file into the firmware of the radio frequency card water controller to complete the program upgrade of the radio frequency card water controller terminal.

[0088] To solve the above technical problems, the present application also provides a computer device. Figure 7 , Figure 7 This is a basic structural block diagram of the computer device in this embodiment.

[0089] The computer device 7 includes a memory 7a, a processor 7b, and a network interface 7c that are interconnected through a system bus. It should be noted that the figure only shows a computer device 7 with components 7a-7c, but it should be understood that it is not required to implement all the components shown, and more or fewer components can be implemented instead. Among them, those skilled in the art can understand that the computer device here is a device that can automatically perform numerical calculations and / or information processing according to pre-set or stored instructions, and its hardware includes but is not limited to microprocessors, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable gate arrays (Field-Programmable Gate Array, FPGA), digital processors (Digital Signal Processor, DSP), embedded devices, etc.

[0090] The computer device may be a computing device such as a desktop computer, a notebook, a PDA, a cloud server, etc. The computer device may interact with a user through a keyboard, a mouse, a remote controller, a touch pad, or a voice control device.

[0091] The memory 7a includes at least one type of readable storage medium, and the readable storage medium includes flash memory, hard disk, multimedia card, card-type memory (for example, SD or DX memory, etc.), random access memory (RAM), static random access memory (SRAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), programmable read-only memory (PROM), magnetic memory, disk, optical disk, etc. In some embodiments, the memory 7a can be an internal storage unit of the computer device 7, such as a hard disk or memory of the computer device 7. In other embodiments, the memory 7a can also be an external storage device of the computer device 7, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (FlashCard), etc. equipped on the computer device 7. Of course, the memory 7a can also include both the internal storage unit of the computer device 7 and its external storage device. In this embodiment, the memory 7a is generally used to store the operating system and various application software installed on the computer device 7, such as the program code of the terminal program upgrade method of the radio frequency card water controller, etc. In addition, the memory 7a can also be used to temporarily store various types of data that have been output or are to be output.

[0092] The processor 7b may be a central processing unit (CPU), a controller, a microcontroller, a microprocessor, or other data processing chips in some embodiments. The processor 7b is generally used to control the overall operation of the computer device 7. In this embodiment, the processor 7b is used to run the program code stored in the memory 7a or process data, such as running the program code of the RFID card water controller terminal program upgrade method.

[0093] The network interface 7c may include a wireless network interface or a wired network interface. The network interface 7c is generally used to establish a communication connection between the computer device 7 and other electronic devices.

[0094] The present application also provides another implementation mode, namely, providing a non-volatile computer-readable storage medium, wherein the non-volatile computer-readable storage medium stores a program of a radio frequency card water controller terminal program upgrade method, and the radio frequency card water controller terminal program upgrade can be executed by at least one processor, so that the at least one processor executes the steps of the radio frequency card water controller terminal program upgrade method as described above.

[0095] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application, or the part that contributes to the prior art, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, air conditioner, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0096] Obviously, the embodiments described above are only some embodiments of the present application, rather than all embodiments. The preferred embodiments of the present application are given in the accompanying drawings, but they do not limit the patent scope of the present application. The present application can be implemented in many different forms. On the contrary, the purpose of providing these embodiments is to make the understanding of the disclosure of the present application more thorough and comprehensive. Although the present application is described in detail with reference to the aforementioned embodiments, for those skilled in the art, it is still possible to modify the technical solutions recorded in the aforementioned specific implementation methods, or to perform equivalent replacement of some of the technical features therein. Any equivalent structure made using the contents of the specification and drawings of this application, directly or indirectly used in other related technical fields, is similarly within the scope of patent protection of this application.

Claims

1. A method for upgrading the terminal program of a radio frequency card water controller, characterized in that: include: Based on the preset data division strategy, the upgrade program file is divided into multiple data sets through the upgrade program maker; Writing multiple data sets into the internal storage space of a large-capacity contactless CPU card based on a preset sequence; The RFID card water controller exchanges data with the large-capacity contactless CPU card through the RFID radio frequency communication interface, and verifies the security and uniqueness of the large-capacity contactless CPU card; When the verification is passed, the RFID card water controller traverses each file unit on the large-capacity contactless CPU card in a loop, and collects the data of each file unit on the large-capacity contactless CPU card into the RFID card water controller MCU on-chip RAM; After each file unit is read and decrypted, the MCU of the radio frequency card water controller obtains the upgrade program file, stores the upgrade program file in the firmware of the radio frequency card water controller, and completes the program upgrade of the radio frequency card water controller terminal.

2. The method for upgrading the terminal program of the radio frequency card water controller according to claim 1, characterized in that: The preset data partitioning strategy includes performing set optimization processing based on the MCU computing power of the radio frequency card water controller hardware model and the size of the large-capacity contactless CPU card space to complete the partitioning of the preset data.

3. The method for upgrading the terminal program of the radio frequency card water controller according to claim 1, characterized in that: After the upgrade program file is divided into multiple data sets by the upgrade program maker based on the preset data division strategy, the following is also included: After combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed.

4. The method for upgrading the terminal program of the radio frequency card water controller according to claim 3, characterized in that: After combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed, including: The internal data space of the large-capacity contactless CPU card is initialized by using RFID radio frequency communication media, and the encrypted upgrade program file is written into the internal storage space of the large-capacity contactless CPU card.

5. The method for upgrading the terminal program of the radio frequency card water controller according to claim 3, characterized in that: After combining multiple data sets with hardware models, spatial distribution, and multiple encryption algorithms, different correlation encryption processes are performed, which are specifically manifested as follows: Obtain the hardware model and spatial distribution information of the radio frequency card water controller; the spatial distribution information includes the division of storage areas, the capacity of each area, the read-write properties and the security level; Determine the encryption algorithm for different storage areas of the RFID card water controller based on the hardware model computing capability and the security level of the storage area of ​​the RFID card water controller; The encryption algorithm determined for each storage area is combined with the hardware model and data set of the radio frequency card water controller to perform associated encryption processing.

6. The method for upgrading the terminal program of the radio frequency card water controller according to claim 1, characterized in that: Before writing the plurality of data sets into the internal storage space of the large-capacity contactless CPU card based on a preset sequence, the method further includes: The upgrade program maker divides the internal storage space of the large-capacity contactless CPU card into multiple independent file units by using RFID radio frequency communication media, and each file unit has independent security authentication authority.

7. The method for upgrading the terminal program of the radio frequency card water controller according to claim 1, characterized in that: The RFID card water controller loops through each file unit on the large-capacity contactless CPU card, and also includes: The MCU of the radio frequency card water controller decrypts data based on the associative encryption combined with the hardware model, spatial distribution, and multiple encryption algorithms to achieve associative decryption processing of different file units.

8. A radio frequency card water controller terminal program upgrade system, used to implement the radio frequency card water controller terminal program upgrade method of claims 1-7, characterized in that: include: A data set partitioning module, used for partitioning the upgrade program file into multiple data sets through the upgrade program maker based on a preset data partitioning strategy; A data set writing module, used for writing multiple data sets into the internal storage space of the large-capacity contactless CPU card based on a preset order; Large-capacity contactless CPU card verification module is used for radio frequency card water controller to exchange data with large-capacity contactless CPU cards through RFID radio frequency communication interface, and to verify the security and uniqueness of large-capacity contactless CPU cards; The MCU of the radio frequency card water controller obtains the data collection module, which is used for the radio frequency card water controller to traverse each file unit on the large-capacity contactless CPU card in a loop after the verification is passed, and collect the data of each file unit of the large-capacity contactless CPU card into the on-chip RAM of the MCU of the radio frequency card water controller; The program upgrade module is used for the MCU of the radio frequency card water controller to obtain the upgrade program file after each file unit is read and decrypted, and to store the upgrade program file in the firmware of the radio frequency card water controller to complete the program upgrade of the radio frequency card water controller terminal.

9. An electronic device, characterized in that: include: one or more processors; Memory; And one or more computer programs, wherein the one or more computer programs are stored in the memory, and the one or more computer programs include instructions, which, when executed by the device, enable the device to perform the steps of the radio frequency card water controller terminal program upgrade method as described in any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, which, when executed on a computer, enables the computer to execute the steps of the method for upgrading the terminal program of the radio frequency card water controller as claimed in any one of claims 1 to 7.