CN114363030A - Financial security metering device, system, method, storage medium and electronic equipment - Google Patents
Financial security metering device, system, method, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN114363030A CN114363030A CN202111627974.9A CN202111627974A CN114363030A CN 114363030 A CN114363030 A CN 114363030A CN 202111627974 A CN202111627974 A CN 202111627974A CN 114363030 A CN114363030 A CN 114363030A
- Authority
- CN
- China
- Prior art keywords
- security
- financial
- metering
- usage information
- financial security
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 29
- 238000004891 communication Methods 0.000 claims abstract description 78
- 238000012545 processing Methods 0.000 claims description 20
- 238000004590 computer program Methods 0.000 claims description 11
- 238000005259 measurement Methods 0.000 abstract description 11
- 230000006870 function Effects 0.000 description 9
- 230000008569 process Effects 0.000 description 9
- 230000005540 biological transmission Effects 0.000 description 8
- 238000011161 development Methods 0.000 description 8
- 238000013461 design Methods 0.000 description 6
- VNWKTOKETHGBQD-UHFFFAOYSA-N methane Chemical compound C VNWKTOKETHGBQD-UHFFFAOYSA-N 0.000 description 6
- 238000011084 recovery Methods 0.000 description 6
- 230000007306 turnover Effects 0.000 description 6
- 230000009471 action Effects 0.000 description 3
- 230000007246 mechanism Effects 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 239000003345 natural gas Substances 0.000 description 3
- 230000003068 static effect Effects 0.000 description 3
- 239000000126 substance Substances 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 230000002411 adverse Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
Images
Abstract
The application relates to a financial security metering device, system, method, storage medium and electronic equipment relates to the technical field of the internet of things, and the financial security metering device comprises: the financial security communication module is used for carrying out data communication based on preset security middleware, and the security middleware is used for carrying out data authentication based on a secret key; the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed; the metering controller is used for recording the usage information when the usage information passes the authentication; the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of the user wallet, and update the user wallet balance based on the usage information, the corresponding usage deduction rate, and the user wallet balance. Financial measurement is carried out based on internet of things, corresponding financial deduction work is carried out, and service safety is improved.
Description
Technical Field
The application relates to the technical field of Internet of things, in particular to a financial security metering device, a system, a method, a storage medium and electronic equipment.
Background
With the successive development of new infrastructure of the internet of things, the forms of financial transactions of the internet of things are more and more abundant, and the internet of things terminal products based on the hardware wallet attract the wide attention of industries and consumers.
In order to realize the safety and financial transaction business of the internet of things, the conventional metering terminal not only needs to rebuild hardware again, but also needs to upgrade a software program to ensure that the related business can be realized, but also brings adverse factors of relatively long reconstruction cost and period, and is not beneficial to current relatively intense market competition; moreover, the most urgent issue of currency in terms of transaction security is also an important obstacle to the development of financial and citizen-benefitting business.
Therefore, there is a need to implement a financial security metering technique to solve the above problems.
Disclosure of Invention
The application provides a financial security metering device, system, method, storage medium and electronic equipment, carries out financial measurement based on internet of things, carries out corresponding financial deduction work, improves the business security, also reduces the design and development cost of corresponding software simultaneously, effectively improves measurement expense recovery and fund turnover efficiency.
In a first aspect, the present application provides a financial security metering device, the device comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, a corresponding usage deduction rate, and the user wallet balance.
Further, the financial security communication module is further configured to receive a wallet recharging instruction, and recharge the user wallet based on a recharging amount in the wallet recharging instruction after the security middleware authenticates the wallet recharging instruction.
Further, the metering controller is also used for counting the times of generating the deduction permission instruction by the valve controller, deduction transaction records, hourly usage information, daily usage information and monthly usage information.
Further, the apparatus further comprises:
and the safe AT processing module is used for receiving the usage information and controlling a preset authentication interface to authenticate the usage information through the safe middleware.
In a second aspect, the present application provides a financial security metering system, the system comprising:
the safety metering cloud platform is used for counting and obtaining the usage information of the user and storing the corresponding usage fee deduction rate;
a financial security metering device, the financial security metering comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, the usage deduction rate, and the user wallet balance.
Further, the secure metering cloud platform is further configured to issue the secret key, and is further configured to manage the financial secure metering device and the account information.
In a third aspect, the present application provides a financial security metering method, comprising the steps of:
receiving the usage information, and obtaining a usage deduction rate corresponding to the usage information;
authenticating the usage information based on a preset secret key;
and identifying the user wallet balance of the user wallet, updating the user wallet balance based on the usage information, the usage deduction rate and the user wallet balance, and recording the usage information.
Further, the method comprises the following steps:
and receiving a wallet recharging instruction, and recharging the user wallet based on the recharging amount in the wallet recharging instruction after the wallet recharging instruction is authenticated.
In a fourth aspect, the present application provides a storage medium having a computer program stored thereon, which when executed by a processor implements the financial security metering device of the first aspect.
In a fifth aspect, the present application provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program running on the processor, and the processor implements the financial security metering device of the first aspect when executing the computer program.
The beneficial effect that technical scheme that this application provided brought includes:
this application carries out financial measurement based on internet of things, carries out the financial work of deducting fee that corresponds, improves the business security, also reduces the design development cost that corresponds software simultaneously, effectively improves measurement expense recovery and fund turnover efficiency.
Drawings
Interpretation of terms:
ID: identity Document, Identity identification number;
MAC address: media Access Control Address, also known as a local area network Address;
NFC: near Field Communication, Near Field Communication;
PC: personal Computer, Personal Computer.
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
FIG. 1 is a block diagram of a schematic structure of a financial security metering device provided in an embodiment of the present application;
FIG. 2 is a block diagram of a schematic configuration of a financial security metering system provided in an embodiment of the present application;
FIG. 3 is a schematic flow chart of a financial security metering system provided in an embodiment of the present application;
fig. 4 is a flowchart illustrating steps of a financial security metering method provided in an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
The embodiment of the application provides a financial security metering device, system, method, storage medium and electronic equipment, carries out financial metering based on the internet of things technology, carries out corresponding financial deduction work, improves service security, also reduces the design and development cost of corresponding software simultaneously, and effectively improves metering expense recovery and fund turnover efficiency.
In order to achieve the technical effects, the general idea of the application is as follows:
a financial security metering device, the device comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, a corresponding usage deduction rate, and the user wallet balance.
Embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
In a first aspect, referring to fig. 1, an embodiment of the present application provides a financial security metering device, including:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, a corresponding usage deduction rate, and the user wallet balance.
The financial security metering device is used in cooperation with a security metering cloud platform, and the security metering cloud platform is used for counting and obtaining the usage information of the user, storing the corresponding usage fee deduction rate, and sending the usage information and the corresponding usage fee deduction rate to the financial security metering device; wherein the content of the first and second substances,
the usage information specifically refers to the quantity of certain energy or other products, such as power, water, natural gas and other energy products, used by the user.
The specific operation is that the following workflow can be included:
the security metering cloud platform is in communication connection with the financial security metering device, and acquires various information of the financial security metering device, including but not limited to meter unique identification number, meter state information, voltage information, current information, valve opening and closing times, rate information, wallet balance, wallet account number, transaction record information, hourly consumption information, daily consumption information, monthly consumption information and the like;
when the usage is operated, the balance of the user wallet is obtained, if the balance exists, a valve controller of the financial security metering device opens a usage switch valve, the usage is recorded through the metering controller, and the usage data is written in;
and deducting the corresponding amount of money of the usage data according to the usage deduction rate and the usage information stored in the financial security metering device and issued by the security metering cloud platform, storing the amount of money and uploading the amount of money to the security metering cloud platform.
The embodiment of the application carries out financial measurement based on internet of things, carries out corresponding financial deduction work, improves business security, also reduces the design and development cost of corresponding software simultaneously, effectively improves measurement expense recovery and fund turnover efficiency.
Further, the financial security communication module is further configured to receive a wallet recharging instruction, and recharge the user wallet based on a recharging amount in the wallet recharging instruction after the security middleware authenticates the wallet recharging instruction.
During specific operation, related data operation needs to be authenticated with the security metering cloud platform through security middleware, and the authentication process comprises the following steps:
the security metering cloud platform uses the encryption root key to obtain a static key based on the unique identification number of the metering terminal or the security communication module in a dispersed manner;
the security metering cloud platform sends an INITIALIZE UPDATE instruction to the security middleware and receives a corresponding return;
the security metering cloud platform receives the returned data, and analyzes the returned data to obtain a terminal data ciphertext A0;
the security metering cloud platform calculates a process KEY ENC SESSION KEY according to the returned information;
the security metering cloud platform calculates a terminal data ciphertext A1 by using the ENC SESSION KEY, the terminal data ciphertext A0 is compared, and if the terminal data ciphertext A0 is the same, the terminal authentication is passed;
the security metering cloud platform calculates a host ciphertext by using the ENC SESSION KEY;
computing an EXTERNAL AUTHENTICATE instruction MAC address by a security metering cloud platform;
the security metering cloud platform sends the assembled EXTERNAL AUTHENTICATE instruction to the security middleware;
the security middleware returns to the execution success state to confirm the platform authentication success;
the security metering cloud platform manages a security service key issuing strategy and a wallet account of the financial security metering device; the terminal may be a financial security metering device, or a terminal device configured with a financial security metering device.
Further, the metering controller is also used for counting the times of generating the deduction permission instruction by the valve controller, deduction transaction records, hourly usage information, daily usage information and monthly usage information.
Further, the financial security metering device further comprises:
and the safe AT processing module is used for receiving the usage information and controlling a preset authentication interface to authenticate the usage information through the safe middleware.
Further, the financial security metering device further comprises:
and the display screen is used for displaying data and at least displaying the usage information and the balance of the user wallet.
Here, the technical solution of the embodiment of the present application is specifically described with reference to a security metering cloud platform:
the financial security metering device comprises a central memory, a valve controller, a metering sensor, a financial security communication module and a display screen, wherein the financial security communication module is a financial security communication module and comprises a security middleware, a wallet module and a security AT processing module;
the security middleware is used for authentication and related business processing of the financial wallet;
the financial wallet module is mainly used for storing business keys in the metering industry and providing algorithm capacity required by the keys, and storing wallet ID, account information, users and other information for the financial wallet;
the safe AT processing module is used for processing safe AT instructions related to the safety function of the communication module, and specifically comprises the following steps: when a safe AT instruction is received, calling an authentication interface of a safety module through a safety middleware to perform operation authentication, and performing corresponding function processing after the authentication is passed;
the AT command is a command applied to connection and communication between the terminal equipment and the PC application, namely AT, wherein each AT command line only contains one AT command;
for the transmission of the AT command, a length of 1056 characters (including the last null character) can be received AT the maximum, except for two characters of the AT;
when the metering operation is related, the financial security metering device accesses the financial security communication module through the security middleware to acquire the balance of the user wallet, and returns to the normal state if the balance exists; the central controller controls the valve to be opened, records the usage through the metering sensor and writes the usage data into the financial security communication module, and the usage is called circularly.
Further, the financial security communication module stores the real-time usage information, the daily usage information and the accumulated usage information, and reports the usage information and the balance information of the synchronous wallet at regular time according to the security metering cloud platform strategy.
Further, when the balance of the user wallet is insufficient, the financial wallet meter can be subjected to hardware wallet recharging through terminal equipment such as NFC/Bluetooth/infrared equipment.
In addition, the security metering cloud platform is used for issuing security service keys of the financial security metering device and managing the financial security metering device and a wallet account;
the issuing of the security service key of the financial security metering device is mainly based on a customized issuing strategy and combined with the personalized requirements of terminal security management to provide personalized issuing data for the financial security module for the first issuing;
meanwhile, a management interface for the issuing key, the issuing batch and the issuing node is provided.
The business key issuance is based on a hybrid system, the confidentiality of the message is ensured by using a symmetric preset key, and the integrity and non-repudiation of the message are ensured by the signature of the asymmetric key digital certificates of both communication parties.
For example: the sender encrypts the message plaintext by using the SM4 preset key to generate a ciphertext and sends the ciphertext to the receiver; and after receiving the information, the receiver decrypts the information by using the corresponding preset key to obtain the message.
If integrity and non-repudiation are required, the implementation of a signature protection mechanism based on an asymmetric digital certificate such as SM2 can be supported.
For example: the sender signs the message (plaintext, ciphertext, plaintext + ciphertext) by using a private key of the sender, and puts the signature and the message to the receiver together; after the receiver receives the information, the integrity and non-repudiation of the information can be verified by using the public key certificate of the sender to verify the validity of the signature.
If the verification is successful, the received information is considered to be complete and is not modified in the transmission process, otherwise, the information is modified.
From the perspective of security protection, the requirements of data transmission privacy, integrity, non-repudiation and non-forgery are met.
The management work of the financial security metering device and the wallet account number mainly comprises functions of legality authentication, on/off-line state and abnormity monitoring, control instruction issuing, metering data reporting, financial currency transaction reconciliation and the like.
In a second aspect, referring to fig. 2 to 3, an embodiment of the present application provides a financial security metering system, including:
the safety metering cloud platform is used for counting and obtaining the usage information of the user and storing the corresponding usage fee deduction rate;
a financial security metering device, the financial security metering comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, the usage deduction rate, and the user wallet balance.
The financial security metering device is used in cooperation with a security metering cloud platform, and the security metering cloud platform is used for counting and obtaining the usage information of the user, storing the corresponding usage fee deduction rate, and sending the usage information and the corresponding usage fee deduction rate to the financial security metering device; wherein the content of the first and second substances,
the usage information specifically refers to the quantity of certain energy or other products, such as power, water, natural gas and other energy products, used by the user.
The specific operation is that the following workflow can be included:
the security metering cloud platform is in communication connection with the financial security metering device, and acquires various information of the financial security metering device, including but not limited to meter unique identification number, meter state information, voltage information, current information, valve opening and closing times, rate information, wallet balance, wallet account number, transaction record information, hourly consumption information, daily consumption information, monthly consumption information and the like;
when the usage is operated, the balance of the user wallet is obtained, if the balance exists, a valve controller of the financial security metering device opens a usage switch valve, the usage is recorded through the metering controller, and the usage data is written in;
and deducting the corresponding amount of money of the usage data according to the usage deduction rate and the usage information stored in the financial security metering device and issued by the security metering cloud platform, storing the amount of money and uploading the amount of money to the security metering cloud platform.
The embodiment of the application carries out financial measurement based on internet of things, carries out corresponding financial deduction work, improves business security, also reduces the design and development cost of corresponding software simultaneously, effectively improves measurement expense recovery and fund turnover efficiency.
Further, the financial security communication module is further configured to receive a wallet recharging instruction, and recharge the user wallet based on a recharging amount in the wallet recharging instruction after the security middleware authenticates the wallet recharging instruction.
During specific operation, related data operation needs to be authenticated with the security metering cloud platform through security middleware, and the authentication process comprises the following steps:
the security metering cloud platform uses the encryption root key to obtain a static key based on the unique identification number of the metering terminal or the security communication module in a dispersed manner;
the security metering cloud platform sends an INITIALIZE UPDATE instruction to the security middleware and receives a corresponding return;
the security metering cloud platform receives the returned data, and analyzes the returned data to obtain a terminal data ciphertext A0;
the security metering cloud platform calculates a process KEY ENC SESSION KEY according to the returned information;
the security metering cloud platform calculates a terminal data ciphertext A1 by using the ENC SESSION KEY, the terminal data ciphertext A0 is compared, and if the terminal data ciphertext A0 is the same, the terminal authentication is passed;
the security metering cloud platform calculates a host ciphertext by using the ENC SESSION KEY;
computing an EXTERNAL AUTHENTICATE instruction MAC address by a security metering cloud platform;
the security metering cloud platform sends the assembled EXTERNAL AUTHENTICATE instruction to the security middleware;
the security middleware returns to the execution success state to confirm the platform authentication success;
the security metering cloud platform manages a security service key issuing strategy and a wallet account of the financial security metering device; the terminal may be a financial security metering device, or a terminal device configured with a financial security metering device.
Further, the metering controller is also used for counting the times of generating the deduction permission instruction by the valve controller, deduction transaction records, hourly usage information, daily usage information and monthly usage information.
Further, the financial security metering device further comprises:
and the safe AT processing module is used for receiving the usage information and controlling a preset authentication interface to authenticate the usage information through the safe middleware.
Further, the financial security metering device further comprises:
and the display screen is used for displaying data and at least displaying the usage information and the balance of the user wallet.
Here, the technical solution of the embodiment of the present application is specifically described with reference to a security metering cloud platform:
the financial security metering device comprises a central memory, a valve controller, a metering sensor, a financial security communication module and a display screen, wherein the financial security communication module is a financial security communication module and comprises a security middleware, a wallet module and a security AT processing module;
the security middleware is used for authentication and related business processing of the financial wallet;
the financial wallet module is mainly used for storing business keys in the metering industry and providing algorithm capacity required by the keys, and storing wallet ID, account information, users and other information for the financial wallet;
the safe AT processing module is used for processing safe AT instructions related to the safety function of the communication module, and specifically comprises the following steps: when a safe AT instruction is received, calling an authentication interface of a safety module through a safety middleware to perform operation authentication, and performing corresponding function processing after the authentication is passed;
the AT command is a command applied to connection and communication between the terminal equipment and the PC application, namely AT, wherein each AT command line only contains one AT command;
for the transmission of the AT command, a length of 1056 characters (including the last null character) can be received AT the maximum, except for two characters of the AT;
when the metering operation is related, the financial security metering device accesses the financial security communication module through the security middleware to acquire the balance of the user wallet, and returns to the normal state if the balance exists; the central controller controls the valve to be opened, records the usage through the metering sensor and writes the usage data into the financial security communication module, and the usage is called circularly.
Further, the financial security communication module stores the real-time usage information, the daily usage information and the accumulated usage information, and reports the usage information and the balance information of the synchronous wallet at regular time according to the security metering cloud platform strategy.
Further, when the balance of the user wallet is insufficient, the financial wallet meter can be subjected to hardware wallet recharging through terminal equipment such as NFC/Bluetooth/infrared equipment.
In addition, the security metering cloud platform is used for issuing security service keys of the financial security metering device and managing the financial security metering device and a wallet account;
the issuing of the security service key of the financial security metering device is mainly based on a customized issuing strategy and combined with the personalized requirements of terminal security management to provide personalized issuing data for the financial security module for the first issuing;
meanwhile, a management interface for the issuing key, the issuing batch and the issuing node is provided.
The business key issuance is based on a hybrid system, the confidentiality of the message is ensured by using a symmetric preset key, and the integrity and non-repudiation of the message are ensured by the signature of the asymmetric key digital certificates of both communication parties.
For example: the sender encrypts the message plaintext by using the SM4 preset key to generate a ciphertext and sends the ciphertext to the receiver; and after receiving the information, the receiver decrypts the information by using the corresponding preset key to obtain the message.
If integrity and non-repudiation are required, the implementation of a signature protection mechanism based on an asymmetric digital certificate such as SM2 can be supported.
For example: the sender signs the message (plaintext, ciphertext, plaintext + ciphertext) by using a private key of the sender, and puts the signature and the message to the receiver together; after the receiver receives the information, the integrity and non-repudiation of the information can be verified by using the public key certificate of the sender to verify the validity of the signature.
If the verification is successful, the received information is considered to be complete and is not modified in the transmission process, otherwise, the information is modified.
From the perspective of security protection, the requirements of data transmission privacy, integrity, non-repudiation and non-forgery are met.
The management work of the financial security metering device and the wallet account number mainly comprises functions of legality authentication, on/off-line state and abnormity monitoring, control instruction issuing, metering data reporting, financial currency transaction reconciliation and the like.
In a third aspect, referring to fig. 4, an embodiment of the present application provides a financial security metering method, including the following steps:
s1, receiving the usage information, and obtaining usage deduction rates corresponding to the usage information;
s2, authenticating the usage information based on a preset secret key;
and S3, identifying the user wallet balance of the user wallet, updating the user wallet balance based on the usage information, the usage deduction rate and the user wallet balance, and recording the usage information.
Further, the financial security metering method further comprises the following steps:
and receiving a wallet recharging instruction, and recharging the user wallet based on the recharging amount in the wallet recharging instruction after the wallet recharging instruction is authenticated.
The financial security metering device is used in cooperation with a security metering cloud platform, and the security metering cloud platform is used for counting and obtaining the usage information of the user, storing the corresponding usage fee deduction rate, and sending the usage information and the corresponding usage fee deduction rate to the financial security metering device; wherein the content of the first and second substances,
the usage information specifically refers to the quantity of certain energy or other products, such as power, water, natural gas and other energy products, used by the user.
The specific operation is that the following workflow can be included:
the security metering cloud platform is in communication connection with the financial security metering device, and acquires various information of the financial security metering device, including but not limited to meter unique identification number, meter state information, voltage information, current information, valve opening and closing times, rate information, wallet balance, wallet account number, transaction record information, hourly consumption information, daily consumption information, monthly consumption information and the like;
when the usage is operated, the balance of the user wallet is obtained, if the balance exists, a valve controller of the financial security metering device opens a usage switch valve, the usage is recorded through the metering controller, and the usage data is written in;
and deducting the corresponding amount of money of the usage data according to the usage deduction rate and the usage information stored in the financial security metering device and issued by the security metering cloud platform, storing the amount of money and uploading the amount of money to the security metering cloud platform.
The embodiment of the application carries out financial measurement based on internet of things, carries out corresponding financial deduction work, improves business security, also reduces the design and development cost of corresponding software simultaneously, effectively improves measurement expense recovery and fund turnover efficiency.
Further, the financial security communication module is further configured to receive a wallet recharging instruction, and recharge the user wallet based on a recharging amount in the wallet recharging instruction after the security middleware authenticates the wallet recharging instruction.
During specific operation, related data operation needs to be authenticated with the security metering cloud platform through security middleware, and the authentication process comprises the following steps:
the security metering cloud platform uses the encryption root key to obtain a static key based on the unique identification number of the metering terminal or the security communication module in a dispersed manner;
the security metering cloud platform sends an INITIALIZE UPDATE instruction to the security middleware and receives a corresponding return;
the security metering cloud platform receives the returned data, and analyzes the returned data to obtain a terminal data ciphertext A0;
the security metering cloud platform calculates a process KEY ENC SESSION KEY according to the returned information;
the security metering cloud platform calculates a terminal data ciphertext A1 by using the ENC SESSION KEY, the terminal data ciphertext A0 is compared, and if the terminal data ciphertext A0 is the same, the terminal authentication is passed;
the security metering cloud platform calculates a host ciphertext by using the ENC SESSION KEY;
computing an EXTERNAL AUTHENTICATE instruction MAC address by a security metering cloud platform;
the security metering cloud platform sends the assembled EXTERNAL AUTHENTICATE instruction to the security middleware;
the security middleware returns to the execution success state to confirm the platform authentication success;
the security metering cloud platform manages a security service key issuing strategy and a wallet account of the financial security metering device; the terminal may be a financial security metering device, or a terminal device configured with a financial security metering device.
Further, the metering controller is also used for counting the times of generating the deduction permission instruction by the valve controller, deduction transaction records, hourly usage information, daily usage information and monthly usage information.
Further, the financial security metering device further comprises:
and the safe AT processing module is used for receiving the usage information and controlling a preset authentication interface to authenticate the usage information through the safe middleware.
Further, the financial security metering device further comprises:
and the display screen is used for displaying data and at least displaying the usage information and the balance of the user wallet.
Here, the technical solution of the embodiment of the present application is specifically described with reference to a security metering cloud platform:
the financial security metering device comprises a central memory, a valve controller, a metering sensor, a financial security communication module and a display screen, wherein the financial security communication module is a financial security communication module and comprises a security middleware, a wallet module and a security AT processing module;
the security middleware is used for authentication and related business processing of the financial wallet;
the financial wallet module is mainly used for storing business keys in the metering industry and providing algorithm capacity required by the keys, and storing wallet ID, account information, users and other information for the financial wallet;
the safe AT processing module is used for processing safe AT instructions related to the safety function of the communication module, and specifically comprises the following steps: when a safe AT instruction is received, calling an authentication interface of a safety module through a safety middleware to perform operation authentication, and performing corresponding function processing after the authentication is passed;
when the metering operation is related, the financial security metering device accesses the financial security communication module through the security middleware to acquire the balance of the user wallet, and returns to the normal state if the balance exists; the central controller controls the valve to be opened, records the usage through the metering sensor and writes the usage data into the financial security communication module, and the usage is called circularly.
Further, the financial security communication module stores the real-time usage information, the daily usage information and the accumulated usage information, and reports the usage information and the balance information of the synchronous wallet at regular time according to the security metering cloud platform strategy.
Further, when the balance of the user wallet is insufficient, the financial wallet meter can be subjected to hardware wallet recharging through terminal equipment such as NFC/Bluetooth/infrared equipment.
In addition, the security metering cloud platform is used for issuing security service keys of the financial security metering device and managing the financial security metering device and a wallet account;
the issuing of the security service key of the financial security metering device is mainly based on a customized issuing strategy and combined with the personalized requirements of terminal security management to provide personalized issuing data for the financial security module for the first issuing;
meanwhile, a management interface for the issuing key, the issuing batch and the issuing node is provided.
The business key issuance is based on a hybrid system, the confidentiality of the message is ensured by using a symmetric preset key, and the integrity and non-repudiation of the message are ensured by the signature of the asymmetric key digital certificates of both communication parties.
For example: the sender encrypts the message plaintext by using the SM4 preset key to generate a ciphertext and sends the ciphertext to the receiver; and after receiving the information, the receiver decrypts the information by using the corresponding preset key to obtain the message.
If integrity and non-repudiation are required, the implementation of a signature protection mechanism based on an asymmetric digital certificate such as SM2 can be supported.
For example: the sender signs the message (plaintext, ciphertext, plaintext + ciphertext) by using a private key of the sender, and puts the signature and the message to the receiver together; after the receiver receives the information, the integrity and non-repudiation of the information can be verified by using the public key certificate of the sender to verify the validity of the signature.
If the verification is successful, the received information is considered to be complete and is not modified in the transmission process, otherwise, the information is modified.
From the perspective of security protection, the requirements of data transmission privacy, integrity, non-repudiation and non-forgery are met.
The management work of the financial security metering device and the wallet account number mainly comprises functions of legality authentication, on/off-line state and abnormity monitoring, control instruction issuing, metering data reporting, financial currency transaction reconciliation and the like.
In a fourth aspect, the present application provides a storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement the financial security metering apparatus of the first aspect or the financial security metering method of the third aspect.
In a fifth aspect, an embodiment of the present application provides an electronic device, including a memory and a processor, where the memory stores a computer program running on the processor, and the processor implements the financial security metering apparatus of the first aspect or the financial security metering method of the third aspect when executing the computer program.
It is noted that, in the present application, relational terms such as "first" and "second", and the like, are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The foregoing are merely exemplary embodiments of the present application and are presented to enable those skilled in the art to understand and practice the present application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the application. Thus, the present application is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.
Claims (10)
1. A financial security metering device, the device comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, a corresponding usage deduction rate, and the user wallet balance.
2. The financial security metering device of claim 1, wherein:
the financial security communication module is also used for receiving a wallet recharging instruction, and recharging the user wallet based on the recharging amount in the wallet recharging instruction after the security middleware authenticates the wallet recharging instruction.
3. The financial security metering device of claim 1, wherein:
the metering controller is also used for counting the times of generating the deduction permission instruction by the valve controller, deduction transaction records, hourly usage information, daily usage information and monthly usage information.
4. The financial security metering device of claim 1, wherein the device further comprises:
and the safe AT processing module is used for receiving the usage information and controlling a preset authentication interface to authenticate the usage information through the safe middleware.
5. A financial security metering system, the system comprising:
the safety metering cloud platform is used for counting and obtaining the usage information of the user and storing the corresponding usage fee deduction rate;
a financial security metering device, the financial security metering comprising:
the financial security communication module is internally provided with a preset secret key, user wallet information, account information and user information, and is used for carrying out data communication based on a preset security middleware, and the security middleware is used for carrying out data authentication based on the secret key;
the valve controller is used for authenticating the usage information received by the financial security communication module when the security middleware passes the authentication and generating a fee deduction permission instruction after the authentication is passed;
the metering controller is used for recording the usage information when the security middleware authenticates and passes the usage information received by the financial security communication module;
the financial security communication module is further configured to respond to the deduction permission instruction, identify a user wallet balance of a user wallet, and update the user wallet balance based on the usage information, the usage deduction rate, and the user wallet balance.
6. The financial security metering system of claim 5, wherein:
the security metering cloud platform is further used for issuing the secret key and managing the financial security metering device and the account information.
7. A financial security metering method, comprising the steps of:
receiving the usage information, and obtaining a usage deduction rate corresponding to the usage information;
authenticating the usage information based on a preset secret key;
and identifying the user wallet balance of the user wallet, updating the user wallet balance based on the usage information, the usage deduction rate and the user wallet balance, and recording the usage information.
8. The financial security metering method of claim 7, wherein the method further comprises the steps of:
and receiving a wallet recharging instruction, and recharging the user wallet based on the recharging amount in the wallet recharging instruction after the wallet recharging instruction is authenticated.
9. A storage medium having a computer program stored thereon, characterized in that: the computer program, when executed by a processor, implements the apparatus of any of claims 1 to 4.
10. An electronic device comprising a memory and a processor, the memory having stored thereon a computer program that runs on the processor, characterized in that: the processor, when executing the computer program, implements the apparatus of any of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111627974.9A CN114363030A (en) | 2021-12-28 | 2021-12-28 | Financial security metering device, system, method, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111627974.9A CN114363030A (en) | 2021-12-28 | 2021-12-28 | Financial security metering device, system, method, storage medium and electronic equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114363030A true CN114363030A (en) | 2022-04-15 |
Family
ID=81103788
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111627974.9A Pending CN114363030A (en) | 2021-12-28 | 2021-12-28 | Financial security metering device, system, method, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114363030A (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909410A (en) * | 2017-12-04 | 2018-04-13 | 广州众威能信息科技有限公司 | Electronic accounting method, device, storage medium and computer equipment |
CN109345236A (en) * | 2018-09-06 | 2019-02-15 | 海南新软软件有限公司 | A kind of code key access method being remotely isolated, apparatus and system |
CN109685659A (en) * | 2018-12-27 | 2019-04-26 | 江苏恒宝智能系统技术有限公司 | A kind of block chain hard money packet supports the method traded under chain and hard money packet |
CN109727008A (en) * | 2018-12-25 | 2019-05-07 | 深圳市元征科技股份有限公司 | A kind of data processing method and relevant device based on block chain |
KR20200080637A (en) * | 2018-12-27 | 2020-07-07 | 주식회사 칸델라체인 | Hardware wallet-based trading system |
CN112561533A (en) * | 2021-02-26 | 2021-03-26 | 捷德(中国)科技有限公司 | Electronic resource transfer method, internet of things terminal device, electronic device and medium |
CN112633864A (en) * | 2020-12-15 | 2021-04-09 | 北京握奇数据股份有限公司 | Payment system and method based on TEE and Bluetooth type digital currency hardware wallet |
-
2021
- 2021-12-28 CN CN202111627974.9A patent/CN114363030A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107909410A (en) * | 2017-12-04 | 2018-04-13 | 广州众威能信息科技有限公司 | Electronic accounting method, device, storage medium and computer equipment |
CN109345236A (en) * | 2018-09-06 | 2019-02-15 | 海南新软软件有限公司 | A kind of code key access method being remotely isolated, apparatus and system |
CN109727008A (en) * | 2018-12-25 | 2019-05-07 | 深圳市元征科技股份有限公司 | A kind of data processing method and relevant device based on block chain |
CN109685659A (en) * | 2018-12-27 | 2019-04-26 | 江苏恒宝智能系统技术有限公司 | A kind of block chain hard money packet supports the method traded under chain and hard money packet |
KR20200080637A (en) * | 2018-12-27 | 2020-07-07 | 주식회사 칸델라체인 | Hardware wallet-based trading system |
CN112633864A (en) * | 2020-12-15 | 2021-04-09 | 北京握奇数据股份有限公司 | Payment system and method based on TEE and Bluetooth type digital currency hardware wallet |
CN112561533A (en) * | 2021-02-26 | 2021-03-26 | 捷德(中国)科技有限公司 | Electronic resource transfer method, internet of things terminal device, electronic device and medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11574312B2 (en) | Secure authentication system and method | |
CN106339939B (en) | Non-tamper-able distributed bill system based on secure hardware and transaction processing method | |
US20140258132A1 (en) | System and method for secure electronic transaction | |
CN201910100U (en) | Bus one-card business system, bus one-card business platform and POS (point-of-sale) machine | |
JP2018522353A (en) | Authentication system and method for server-based payment | |
CA2914956C (en) | System and method for encryption | |
CN101576983A (en) | Electronic payment method and system based on mobile terminal | |
CN106529938A (en) | Virtual card issuing method, device and terminal | |
CN104268746A (en) | Card-free payment method | |
CN110188550A (en) | A kind of data verification method and device of block chain | |
CN105117963A (en) | Device and method based on digital signature | |
CN113347008B (en) | Loan information storage method adopting addition homomorphic encryption | |
CN101223729B (en) | Updating a mobile payment device | |
CN108460597A (en) | A kind of key management system and method | |
CN106251145A (en) | Electronic fare payment system, electronic payment devices and electric paying method | |
CN104680364A (en) | Dynamic signature password device, network transaction system and network transaction method | |
JP7174977B2 (en) | Payment device, method, computer program | |
US20090060185A1 (en) | Method and system for providing for security in communication | |
CN109741050A (en) | Extend method of financial IC card service life and associated method and device | |
CN114363030A (en) | Financial security metering device, system, method, storage medium and electronic equipment | |
KR100854339B1 (en) | System and Method for Operating Prepaid Card | |
KR102140708B1 (en) | Method and server for providing financial service | |
CN105225104A (en) | A kind of method of payment and system | |
KR100738207B1 (en) | System for processing cash payment, financial automatic devices and program recording medium | |
CN115222399A (en) | Digital currency payment method, device and system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |