CN109961575A - A kind of Internet of Things water fountain system and its control method with APP authentication encryption function - Google Patents

A kind of Internet of Things water fountain system and its control method with APP authentication encryption function Download PDF

Info

Publication number
CN109961575A
CN109961575A CN201910191285.4A CN201910191285A CN109961575A CN 109961575 A CN109961575 A CN 109961575A CN 201910191285 A CN201910191285 A CN 201910191285A CN 109961575 A CN109961575 A CN 109961575A
Authority
CN
China
Prior art keywords
water
card
module
app
internet
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
Application number
CN201910191285.4A
Other languages
Chinese (zh)
Inventor
黄一平
农丽萍
黄坤
张柯翔
周闰昌
梁梓辰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangxi Normal University
Original Assignee
Guangxi Normal University
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangxi Normal University filed Critical Guangxi Normal University
Priority to CN201910191285.4A priority Critical patent/CN109961575A/en
Publication of CN109961575A publication Critical patent/CN109961575A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/44Program or device authentication
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • G06F21/45Structures or tools for the administration of authentication
    • G06F21/46Structures or tools for the administration of authentication by designing passwords or checking the strength of passwords
    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F13/00Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs
    • G07F13/02Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs by volume
    • G07F13/025Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs by volume wherein the volume is determined during delivery

Abstract

The invention discloses a kind of Internet of Things water fountain systems with APP authentication encryption function, it is characterized in that, including controller and clock module connected to the controller, LCD12832 display module, reseting module, module of swiping the card, power rectifier module, buzzer module, flow meter modules, light-coupled isolation control module and WIFI module, wherein, WIFI module is connect by network with data management apparatus and mobile device, that is, mobile phone, and mobile phone connects encrypted card.This high system safety, management is convenient, at low cost, practicability is good, complete machine stand-by power consumption is low, achievable supervising and management in real time, the stability and reliability that can improve water fountain system.The present invention also discloses the control methods of the Internet of Things water fountain system with APP authentication encryption function.

Description

A kind of Internet of Things water fountain system and its control with APP authentication encryption function Method processed
Technical field
It is specifically a kind of that there is APP authentication encryption function the present invention relates to ciphering type Internet of Things automation field Internet of Things water fountain system and control method.
Background technique
Currently, increasingly mature for technology of Internet of things, Internet of Things is also being stepped up in the application of field of water fountain.With The increase of different water dispenser types, the management mode of water dispenser, operation and maintenance mode, charge mode, water yield be how many and stream The problem of amount calculates and APP data safety management all have a certain difference, it is contemplated that the real data management of water dispenser is pacified Entirely with operation and maintenance situation, so as to cause occur in practice it is various management with O&M problem.Therefore, it is necessary to develop A kind of Internet of Things water fountain system with APP authentication encryption function.The charge of water dispenser can be debugged by cell phone application Mode, starting water dispenser sanitization and save disinfection record, detection water dispenser working condition with, flowmeter whether damage and Whether solenoid valve damages, can real-time monitoring water dispenser data, can be realized by APP one-to-manyly to water dispenser operational process Pulse data carry out tracking and positioning, so that the characteristics of whether vortex-shedding meter damages quickly detected, with solve water dispenser reality Accounting management and operation and maintenance problem in the use process of border improve water fountain system with management, O&M by monitoring Stability and reliability offer convenience for drinking water supply quotient.
Summary of the invention
The purpose of the present invention is in view of the deficiencies of the prior art, and provide a kind of with APP authentication encryption function Internet of Things water fountain system and control method.This high system safety, management is convenient, at low cost, practicability is good, complete machine is standby Stability and reliability low in energy consumption, that supervising and management in real time can be achieved, water fountain system can be improved.This method has encryption Card encryption function can make the APP of system have the function of to encrypt and decrypt, provide a safely and effectively APP for administrator, keep away Exempt from management system by people's malicious attack, the interests of manager caused to lose, administrator use it is safer, more trust, and The system has APP charging function, has safety and convenience.
Realizing the technical solution of the object of the invention is:
A kind of Internet of Things water fountain system with APP authentication encryption function, including controller and connected to the controller Clock module, LCD12832 display module, reseting module, module of swiping the card, power rectifier module, buzzer module, flowmeter mould Block, light-coupled isolation control module and WIFI module, wherein WIFI module is by network and data management apparatus and mobile device Mobile phone connection.
The WIFI module is ESP8266MOD module, WIFI module and external data management equipment and mobile device, that is, hand Machine is in communication with each other as the APP software program realization built in them.
The data management apparatus is equipped with data storage unit, input unit and display unit, and data storage unit is by interior The APP process control set, input unit and display unit are connect with data storage unit.
The management equipment is computer.
The flow meter modules are vortex-shedding meter, and the water outlet of water dispenser is arranged in vortex-shedding meter test side.
The controller module is the microcontroller of STM32F103RET6 series.
The module of swiping the card is PN5321 wireless near-field communication chip module.
The encrypted card is using encrypted card or Publication No. described in Publication No. CN107038572A patent Encrypted card described in CN107016541A patent.
The APP is the entitled water card APP special-purpose software that Eclipse+ADT+SDK exploitation is used by Guangxi Normal University.
Using the control method of above-mentioned Internet of Things control system of drinking machine, include the following steps:
1) control installation drinking machine apparatus, system carefully connect the wire according to wiring instruction correspondence first, check whether wiring is correct, wiring Correct then connect with the mains, by power rectifier module to system power supply, system starts work after energization, shows on display module The time and date of DS1302 clock module, system are in standby;Water card APP is installed for mobile terminal, and by encrypted card Be bonded with the SIM card of mobile device, together be inserted into mobile device card slot, mobile device be encrypted card power, encrypted card into Machine state, the encrypted card shape and size as the shape of mobile device SIM card and size and the power supply port of encrypted card with The connection of SIM card power supply port;
2) secondly, the process of control water dispenser APP decryption: by the machine control system of mobile device connection Internet of Things water dispenser WIFI module after successful connection, opens APP program, when administrative staff will log into APP, needs the key using administrator It logs in, the confirmation signal of key includes the preset PIN code of administrative staff, hand signal, voice signal, and administrative staff's input is close When key, when further including having personal recognition code in the user information operational order that safety chip receives, for example (,) PIN code, peace Full chip verifies the legitimacy of the personal recognition code in the user information operational order, such as according to personal recognition code is prestored It is consistent with PIN code is prestored that fruit safety chip verifies the PIN code obtained in user information operational order, then illustrates the PIN code to close The PIN code of method, then safety chip according to user information operational order, generates random goal verification signal, user according to The goal verification signal that machine generates completes corresponding instruction operation, then administrator successfully logs in APP;If safety chip is verified To in user information operational order PIN code and prestore PIN code will not, then illustrate the PIN code be illegal PIN code, then Safety chip without generating random goal verification signal, can directly return personal recognition code authentication failed as a result, similar Hand signal, when administrative staff input hand signal, then safety chip compares the user gesture that detects of sensor Whether behavior signal and target gesture behavior signal generated are consistent;When administrative staff's input speech signal, then safe Chip compares the user voice signal that sensor detects using speech recognition technology It is no consistent, if to verify to obtain user information operational order consistent with what is prestored for safety chip, illustrate the operation be it is legal, So safety chip generates random goal verification signal according to user information operational order;If safety chip is verified to obtain User information operational order with prestore inconsistent, then illustrate that the operation is illegal, then safety chip is without generating random mesh Mark confirmation signal, can directly return personal recognition code authentication failed as a result, this authentication function plays the encryption function of APP Can, increase safety for data management system;
3) secondly, the use of control water dispenser and the setting for changing water dispenser on APP: being when user needs to drink water, drinking-water Card is placed on module region of swiping the card, and successfully buzzer of swiping the card has prompt tone, and the remaining sum in drinking-water card can be shown on display module;Such as When pressing cold water switch, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to cold water electromagnetism Valve power supply, cold water solenoid valve are opened, and cold water is flowed out, and flowmeter measures the water yield of cold water, deducted fees according to water yield;Such as press heat When taps, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to hot water electromagnetic valve's confession Electricity, cold water solenoid valve are opened, and hot water outflow, hot water charging mode is calculated according to turn-on time, and the mode of deducting fees can be silent according to system To recognize the mode of deducting fees to deduct fees, the amount of money of deducting fees can be finished in display module real-time display, water receiving, spending amount is shown on display module, And water card remaining sum;It when needing to change the parameter of water dispenser, is verified, is successfully entered APP, administrative staff, which can control, have been connected The water dispenser connect, administrator can control water dispenser change charging mode, starting water dispenser sanitization and save disinfection record, detection The working condition of water dispenser with, flowmeter whether damage and solenoid valve damage, if there is exception, administrative staff can To turn off water dispenser by APP, it is made to stop working, can also be supplemented with money in APP for the drinking-water card of user, when administrator want for When water card is supplemented with money, the NFC function of mobile phone can use, it is ensured that mobile phone has NFC function and opens NFC, and water card is placed on hand The NFC induction zone of machine behind reads the data of water card, and administrator can manage the data of water card, be when wanting to supplement with money for water card, Click, which supplements with money and inputs the amount of money, can be completed supplementing with money for water card, can not only supplement with money, can also inquire water card remaining sum, application is moved back Money supplements query function with money;
4) control APP encryption: administrative staff, which work, to complete, and when exiting APP, can encrypt to APP, work as user information When operational order is user information encrypted instruction, safety chip compares to obtain real-time user's confirmation letter that sensor detects After number consistent with the goal verification signal generated at random, then using the key and algorithm being stored in safety chip to user information Cryptographic operation is carried out, such APP is at encipherment protection state, and needing to be implemented decryption oprerations when logging in next time could log in APP。
APP management system in the technical program, has used encryption card encryption, has had the function of encipherment protection, made it possible to The Trojan attack in process of exchange is prevented, the safety of transactional operation is further increased;
The management system of the technical program has and uses mobile phone NFC charging function, and water card is supplemented and handled only need one with money and is with this Unite the mobile phone of APP, in conjunction with mobile phone NFC function can the operation such as to supplement with money for water card, but also supplement with money personnel be not necessarily to computer, It layouts and can easily be supplemented with money for the water card of user without drawing in the net line, there is great safety and convenience;
The technical program has WIFI module, has the characteristics that manage by Internet of Things, can be adjusted by the APP of external equipment The charge mode of water dispenser prevents drinking water supply quotient from losing to reach accurate charging mode;
The technical program have design simply can conveniently, accurately metrical pulse and self-service charging.
This high system safety, management is convenient, at low cost, practicability is good, complete machine stand-by power consumption is low, prison in real time can be achieved Survey and management, stability and reliability that water fountain system can be improved.This method has encrypted card encryption function, can make system APP have the function of encrypt and decrypt, provide a safely and effectively APP for administrator, avoid management system by people maliciously Attack, causes the interests of manager lose, administrator use it is safer, more trust, and the system supplements function with money with APP Can, there is safety and convenience.
Detailed description of the invention
Fig. 1 is the system structure diagram of embodiment;
Fig. 2 is the control method flow chart of embodiment;
Fig. 3 is the method flow schematic diagram for encrypting or decrypting in embodiment;
Fig. 4 is that administrator controls APP recharge method schematic diagram in embodiment;
Fig. 5 is that administrator controls APP modification rate method schematic diagram in embodiment.
Specific embodiment
The content of present invention is further elaborated with reference to the accompanying drawings and examples, but is not limitation of the invention.
Embodiment:
Referring to Fig.1, a kind of Internet of Things water fountain system with APP authentication encryption function, including controller and with control Device connection clock module, LCD12832 display module, reseting module, module of swiping the card, power rectifier module, buzzer module, Flow meter modules, light-coupled isolation control module and WIFI module, wherein WIFI module passes through network and data management apparatus and shifting Dynamic equipment, that is, mobile phone connection, mobile device, that is, mobile phone connect encrypted card.
The WIFI module is ESP8266MOD module, WIFI module and external management equipment and mobile device, that is, mobile phone It is in communication with each other as the APP software program realization built in them.
The data management apparatus is equipped with data storage unit, input unit and display unit, and data storage unit is by interior The APP process control set, input unit and display unit are connect with data storage unit.
The data management apparatus is computer.
The flow meter modules are vortex-shedding meter, and the water outlet of water dispenser is arranged in vortex-shedding meter test side.
The controller module is the microcontroller of STM32F103RET6 series, in this example, controller module use STM32 microcontroller, the model integrated circuit STM32F103RET6 of use, in application circuit, module of swiping the card uses soft arranging wire The main reset MFRST for realizing controller module and module of swiping the card, connection type data SDA, clock SCK, inputs MISI, is defeated The connection of the interfaces such as MIS0 out.
The module of swiping the card is PN5321 wireless near-field communication chip module.
The reseting module be integrated circuit STM32F103RET6 7 feet connect by capacitor, resistor and key group At.
The clock module is DS1302 clock chip module.
The solenoid valve module is DC 12V inlet water solenoid valve.
The buzzer module is TMB12A05.
In this example, the power module for the model integrated circuit AMS1117-3.3 that power rectifier module uses, power input The output end of circuit is connect with the power input of microcontroller STM32F103RET6, and power supply is supplied using 15V AC or DC Electricity, power supply are indicated using LED light emitting diode.
In this example, display module is LCD12832 display module, 45 foot LCD_RS46 of display module and controller module LCD_data37 the and LCD12832 third of LCD_data0-2,39-43 foot of foot LCD_EN47 foot LCD_R/W, 18-20 foot The adjustable resistance RP of foot, which is connected, constitutes the circuit of display portion, and flow meter modules are vortex-shedding meter module, vortex-shedding meter 3 feet of module meet 3.3V, and 1 foot meets GND, and 2 feet are then connected to 10 feet of controller module.
The encrypted card is using encrypted card or Publication No. described in Publication No. CN107038572A patent Encrypted card described in CN107016541A patent, this example select encrypted card described in Publication No. CN107038572A patent.
The APP is the entitled water card APP special-purpose software that Eclipse+ADT+SDK exploitation is used by Guangxi Normal University.
Included the following steps: referring to Fig. 2 using the control method of above-mentioned Internet of Things control system of drinking machine
1) control installation drinking machine apparatus, system carefully connect the wire according to wiring instruction correspondence first, check whether wiring is correct, wiring Correct then connect with the mains, by power rectifier module to system power supply, system starts work after energization, shows on display module The time and date of DS1302 clock module, system are in standby;Water card APP is installed for mobile terminal, and by encrypted card Be bonded with the SIM card of mobile device, together be inserted into mobile device card slot, mobile device be encrypted card power, encrypted card into Machine state, the encrypted card shape and size as the shape of mobile device SIM card and size and the power supply port of encrypted card with The connection of SIM card power supply port;
2) secondly, the process of control water dispenser APP decryption: by the machine control system of mobile device connection Internet of Things water dispenser WIFI module after successful connection, opens APP program, when administrative staff will log into APP, needs the key using administrator It logs in, the confirmation signal of key includes the preset PIN code of administrative staff, hand signal, voice signal, and administrative staff's input is close When key, when further including having personal recognition code in the user information operational order that safety chip receives, for example (,) PIN code, peace Full chip verifies the legitimacy of the personal recognition code in the user information operational order, such as according to personal recognition code is prestored It is consistent with PIN code is prestored that fruit safety chip verifies the PIN code obtained in user information operational order, then illustrates the PIN code to close The PIN code of method, then safety chip according to user information operational order, generates random goal verification signal, user according to The goal verification signal that machine generates completes corresponding instruction operation, then administrator successfully logs in APP;If safety chip is verified To in user information operational order PIN code and prestore PIN code will not, then illustrate the PIN code be illegal PIN code, then Safety chip without generating random goal verification signal, can directly return personal recognition code authentication failed as a result, similar Hand signal, when administrative staff input hand signal, then safety chip compares the user gesture that detects of sensor Whether behavior signal and target gesture behavior signal generated are consistent;When administrative staff's input speech signal, then safe Chip compares the user voice signal that sensor detects using speech recognition technology It is no consistent, if to verify to obtain user information operational order consistent with what is prestored for safety chip, illustrate the operation be it is legal, So safety chip generates random goal verification signal according to user information operational order;If safety chip is verified to obtain User information operational order with prestore inconsistent, then illustrate that the operation is illegal, then safety chip is without generating random mesh Mark confirmation signal, can directly return personal recognition code authentication failed as a result, this authentication function plays the encryption function of APP Can, increase safety for data management system;
3) secondly, the use of control water dispenser and the setting for changing water dispenser on APP: being when user needs to drink water, drinking-water Card is placed on module region of swiping the card, and successfully buzzer of swiping the card has prompt tone, and the remaining sum in drinking-water card can be shown on display module;Such as When pressing cold water switch, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to cold water electromagnetism Valve power supply, cold water solenoid valve are opened, and cold water is flowed out, and flowmeter measures the water yield of cold water, deducted fees according to water yield;Such as press heat When taps, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to hot water electromagnetic valve's confession Electricity, cold water solenoid valve are opened, and hot water outflow, hot water charging mode is calculated according to turn-on time, and the mode of deducting fees can be silent according to system To recognize the mode of deducting fees to deduct fees, the amount of money of deducting fees can be finished in display module real-time display, water receiving, spending amount is shown on display module, And water card remaining sum;It when needing to change the parameter of water dispenser, is verified, is successfully entered APP, administrative staff, which can control, have been connected The water dispenser connect, administrator can control water dispenser change charging mode, starting water dispenser sanitization and save disinfection record, detection The working condition of water dispenser with, flowmeter whether damage and solenoid valve damage, if there is exception, administrative staff can To turn off water dispenser by APP, it is made to stop working, can also be supplemented with money in APP for the drinking-water card of user, when administrator want for When water card is supplemented with money, the NFC function of mobile phone can use, it is ensured that mobile phone has NFC function and opens NFC, and water card is placed on hand The NFC induction zone of machine behind reads the data of water card, and administrator can manage the data of water card, be when wanting to supplement with money for water card, Click, which supplements with money and inputs the amount of money, can be completed supplementing with money for water card, can not only supplement with money, can also inquire water card remaining sum, application is moved back Money supplements query function with money;
4) control APP encryption: administrative staff, which work, to complete, and when exiting APP, can encrypt to APP, work as user information When operational order is user information encrypted instruction, safety chip compares to obtain real-time user's confirmation letter that sensor detects After number consistent with the goal verification signal generated at random, then using the key and algorithm being stored in safety chip to user information Cryptographic operation is carried out, such APP is at encipherment protection state, and needing to be implemented decryption oprerations when logging in next time could log in APP。
Using under the encrypted card encryption and decryption processes of this example system:
Referring to Fig. 3, by the wireless communication module in encrypted card, it is logical that communication is established between the encrypted card and mobile terminal Road;The user information operational order that the mobile terminal is sent is received to be generated random according to the user information operational order Goal verification signal passes through user's confirmation signal of the sensor senses user in the encrypted card.Described according to the use Family information operational order, before generating random goal verification signal, the method also includes: when the use that safety chip receives It further include, such as PIN code that safety chip is close according to personal identification is prestored in the information operational order of family when having personal recognition code Code, verifies the legitimacy of the personal recognition code in the user information operational order, if safety chip is verified to obtain user's letter PIN code in breath operational order with prestore that PIN code is consistent, then illustrate the PIN code for legal PIN code, then safety chip root According to user information operational order, random goal verification signal is generated, user completes according to the goal verification signal generated at random Corresponding instruction operation, then administrator successfully logs in APP;If safety chip is verified to obtain in user information operational order PIN code and prestore PIN code will not, then illustrate that the PIN code is illegal PIN code, then safety chip is random without generating Goal verification signal can directly return to the result of personal recognition code authentication failed.Similar hand signal, when administrative staff are defeated When entering hand signal, then safety chip compares the user gesture behavior signal and target hand generated that sensor detects Whether gesture behavior signal is consistent;When administrative staff's input speech signal, then safety chip is compared using speech recognition technology Whether the user voice signal that sensor detects is consistent with targeted voice signal generated, if safety chip is verified It is consistent with what is prestored to user information operational order, then illustrate the operation be it is legal, then safety chip is according to user information Operational order generates random goal verification signal;If safety chip is verified to obtain user information operational order and be prestored not Unanimously, then illustrate that the operation is illegal, then safety chip can directly return to individual without generating random goal verification signal The result of recognition code authentication failed.
The APP of this example system is used for water card to supplement control process with money as follows:
Referring to Fig. 4, recharge procedure are as follows: open water card supplement with money -> water card be put in after cell phone back read remaining sum -> input recharge amount -> -> type is supplemented in selection with money -> supplements completion with money after water card is put in cell phone back;
In this example, mobile phone has NFC function and opens NFC, before button is supplemented in click with money, please ensure water card being put in cell phone back Afterwards, in order to avoid water card is supplemented with money unsuccessfully, if water card is detached from mobile phone back induction zone during supplementing with money, occur after supplementing mistake with money, it should be again Secondary reading water card, checks and supplements situation with money,
Supplement type selection function with money:
(1) supplement water card with money: fund is transferred to user's water card to that need to pay corresponding recharge amount, the person of supplementing with money to the person of supplementing with money by user;
(2) supplement account with money: fund is transferred to user network account to that need to pay corresponding recharge amount, the person of supplementing with money to the person of supplementing with money by user Family;
(3) account charging card: for user to without paying corresponding recharge amount to the person of supplementing with money, the person of supplementing with money need to only use user network account Fund is transferred to user's water card by family;
It is as follows using the APP modification water dispenser rate control process of this example system:
Referring to Fig. 5, rate process is modified for water dispenser and allows water dispenser to connect by APP unlatching WIFI hot spot,
Click water dispenser -- > APP automatically turns on the water dispenser that hot spot obtains in connection and numbers with list display -- > can point It hits setting and enters water dispenser administration interface, water dispenser parameter setting is clicked, into water dispenser set interface, the meter of hot water or cold water Expense mode has timing mode and meter pulse mode, can be set when modifying rate and deducts fees pulse or setting deducts fees and the time and withholds gold Volume, to have the function that modify rate.Modification is completed to click later and be saved, and is then clicked and is synchronized, and APP will be set by WIFI The parameter synchronization set is into water dispenser.

Claims (9)

1. a kind of Internet of Things water fountain system with APP authentication encryption function, characterized in that including controller and with Clock module, the LCD12832 display module, reseting module, module of swiping the card, power rectifier module, buzzer mould of controller connection Block, flow meter modules, light-coupled isolation control module and WIFI module, wherein WIFI module passes through network and data management apparatus It is connected with mobile device, that is, mobile phone, mobile phone connects encrypted card.
2. Internet of Things control system of drinking machine according to claim 1, characterized in that the WIFI module is
ESP8266MOD module, WIFI module and external data management equipment and mobile device, that is, mobile phone are as the APP built in them Software program realization is in communication with each other.
3. Internet of Things control system of drinking machine according to claim 1, characterized in that the data management apparatus is equipped with and deposits Data cell, input unit and display unit are stored up, data storage unit is by built-in APP process control, input unit and display Unit is connect with data storage unit.
4. Internet of Things control system of drinking machine according to claim 1, characterized in that the flow meter modules are vortex street stream The water outlet of water dispenser is arranged in meter, vortex-shedding meter test side.
5. Internet of Things control system of drinking machine according to claim 1, characterized in that the controller module is The microcontroller of STM32F103RET6 series.
6. Internet of Things control system of drinking machine according to claim 1, characterized in that it is described swipe the card module be PN5321 without Line near-field communication chip module.
7. Internet of Things control system of drinking machine according to claim 1, characterized in that the encrypted card uses Publication No. Encrypted card described in encrypted card described in CN107038572A patent or Publication No. CN107016541A patent.
8. Internet of Things control system of drinking machine according to claim 1, characterized in that the APP is pedagogical big by Guangxi Learn the entitled water card APP special-purpose software using Eclipse+ADT+SDK exploitation.
9. using the control method of the Internet of Things control system of drinking machine as described in power 1- weighs 8 any one, characterized in that including such as Lower step:
1) control installation drinking machine apparatus, system carefully connect the wire according to wiring instruction correspondence, check whether wiring is correct, and wiring is correct It then connects with the mains, by power rectifier module to system power supply, system starts work after energization, shows DS1302 on display module The time and date of clock module, system are in standby;Water card APP is installed for mobile terminal, and by encrypted card and movement The SIM card of equipment is bonded, and is inserted into mobile device card slot together, and mobile device is encrypted card power supply, and encrypted card enters standby mode, The encrypted card shape and size are as the shape of mobile device SIM card and size and the power supply port of encrypted card and SIM card supply Power port connection;
2) process of control water dispenser APP decryption: by the WIFI mould of the machine control system of mobile device connection Internet of Things water dispenser Block after successful connection, opens APP program, when administrative staff will log into APP, needs to log in using the key of administrator, close The confirmation signal of key includes the preset PIN code of administrative staff, hand signal, voice signal, when administrative staff input key, when It further include that safety chip is according to prestoring individual in the user information operational order that safety chip receives when having personal recognition code Recognition code verifies the legitimacy of the personal recognition code in the user information operational order, if safety chip is verified to obtain PIN code in user information operational order with prestore that PIN code is consistent, then illustrate that the PIN code is legal PIN code, then safe Chip generates random goal verification signal according to user information operational order, and user believes according to the goal verification generated at random Number corresponding instruction operation is completed, then administrator successfully logs in APP;If safety chip is verified to obtain user information operational order In PIN code and prestore PIN code will not, then illustrate the PIN code be illegal PIN code, then safety chip without generate with The goal verification signal of machine, can directly return personal recognition code authentication failed as a result, similar hand signal, works as administrator When member's input hand signal, then safety chip compares the user gesture behavior signal and mesh generated that sensor detects Whether consistent mark gesture behavior signal;When administrative staff's input speech signal, then safety chip utilizes speech recognition technology Whether the user voice signal and targeted voice signal generated that comparison sensor detects are consistent, if safety chip is tested It is consistent with what is prestored that card obtains user information operational order, then illustrate the operation be it is legal, then safety chip is according to user Information operational order generates random goal verification signal;If safety chip verifies to obtain user information operational order and pre- It deposits inconsistent, then illustrates that the operation is illegal, then safety chip can be returned directly without generating random goal verification signal The result of personal recognition code authentication failed;
3) use of water dispenser and the setting for changing water dispenser on APP are controlled: being that drinking-water card is placed on when user needs to drink water It swipes the card module region, successfully buzzer of swiping the card has prompt tone, and the remaining sum in drinking-water card can be shown on display module;Press cold water When switch, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to the power supply of cold water solenoid valve, Cold water solenoid valve is opened, and cold water is flowed out, and flowmeter measures the water yield of cold water, deducted fees according to water yield;When pressing hot-water switch, STM32F103RET6 controller controls light-coupled isolation module, and light-coupled isolation module is driven to hot water electromagnetic valve's power supply, cold water electromagnetism Valve is opened, and hot water outflow, hot water charging mode calculates according to turn-on time, and the mode of deducting fees can deduct fees mode button according to system default Take, the amount of money of deducting fees can be finished in display module real-time display, water receiving, and spending amount and water card remaining sum are shown on display module;When It when needing to change the parameter of water dispenser, is verified, is successfully entered APP, administrative staff can control the water dispenser having connected, pipe Reason person can control water dispenser change charging mode, starting water dispenser sanitization and the work for saving disinfection record, detection water dispenser Situation with, flowmeter whether damage and solenoid valve damage, if there is exception, administrative staff can be closed by APP Fall water dispenser, it is made to stop working, can also be supplemented with money in APP for the drinking-water card of user, when administrator wants to supplement with money for water card, It can use the NFC function of mobile phone, it is ensured that mobile phone has NFC function and opens NFC, the NFC after water card being placed on cell phone back Induction zone reads the data of water card, and administrator can manage the data of water card, be when wanting to supplement with money for water card, and click is supplemented with money simultaneously Supplementing with money for water card can be completed in the input amount of money, can not only supplement with money, can also inquire water card remaining sum, apply for a refund, supplement inquiry with money Function;
4) control APP encryption: administrative staff, which work, to complete, and when exiting APP, can encrypt to APP, work as user information When operational order is user information encrypted instruction, safety chip compares to obtain real-time user's confirmation letter that sensor detects After number consistent with the goal verification signal generated at random, then using the key and algorithm being stored in safety chip to user information Cryptographic operation is carried out, such APP is at encipherment protection state, and needing to be implemented decryption oprerations when logging in next time could log in APP。
CN201910191285.4A 2019-03-14 2019-03-14 A kind of Internet of Things water fountain system and its control method with APP authentication encryption function Pending CN109961575A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910191285.4A CN109961575A (en) 2019-03-14 2019-03-14 A kind of Internet of Things water fountain system and its control method with APP authentication encryption function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910191285.4A CN109961575A (en) 2019-03-14 2019-03-14 A kind of Internet of Things water fountain system and its control method with APP authentication encryption function

Publications (1)

Publication Number Publication Date
CN109961575A true CN109961575A (en) 2019-07-02

Family

ID=67024350

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910191285.4A Pending CN109961575A (en) 2019-03-14 2019-03-14 A kind of Internet of Things water fountain system and its control method with APP authentication encryption function

Country Status (1)

Country Link
CN (1) CN109961575A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428551A (en) * 2019-07-29 2019-11-08 深圳市高猛科技有限公司 Water discharge method, device, server and the storage medium of drinking-water system
CN110443576A (en) * 2019-07-29 2019-11-12 深圳市高猛科技有限公司 Water discharge method, device, server and the storage medium of drinking-water system
CN112491786A (en) * 2020-10-16 2021-03-12 中国铁路信息科技集团有限公司 Safe operation and maintenance method and system based on one-way transmission
CN113312648A (en) * 2021-06-23 2021-08-27 山西科潮科技有限公司 Communication module and communication method based on data encryption

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056776A (en) * 2016-06-08 2016-10-26 杭州金通公共自行车科技股份有限公司 NFC mobile terminal based public bike intelligent management system
CN205992266U (en) * 2016-08-29 2017-03-01 广西师范大学 Self-service charging control system of drinking machine
CN107016541A (en) * 2017-04-14 2017-08-04 温咏 Encrypted card
CN107038572A (en) * 2017-04-14 2017-08-11 温咏 Encrypted card and its method of work
CN107103695A (en) * 2017-04-20 2017-08-29 宁波万泓科技有限公司 A kind of public water fountain system and control method
CN107103694A (en) * 2017-03-17 2017-08-29 崔俊新 Water dispenser management method and device based on internet
CN108415277A (en) * 2018-02-12 2018-08-17 广东水侠科技有限公司 Shared drinking equipment setting option Remote Dynamic control method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106056776A (en) * 2016-06-08 2016-10-26 杭州金通公共自行车科技股份有限公司 NFC mobile terminal based public bike intelligent management system
CN205992266U (en) * 2016-08-29 2017-03-01 广西师范大学 Self-service charging control system of drinking machine
CN107103694A (en) * 2017-03-17 2017-08-29 崔俊新 Water dispenser management method and device based on internet
CN107016541A (en) * 2017-04-14 2017-08-04 温咏 Encrypted card
CN107038572A (en) * 2017-04-14 2017-08-11 温咏 Encrypted card and its method of work
CN107103695A (en) * 2017-04-20 2017-08-29 宁波万泓科技有限公司 A kind of public water fountain system and control method
CN108415277A (en) * 2018-02-12 2018-08-17 广东水侠科技有限公司 Shared drinking equipment setting option Remote Dynamic control method

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110428551A (en) * 2019-07-29 2019-11-08 深圳市高猛科技有限公司 Water discharge method, device, server and the storage medium of drinking-water system
CN110443576A (en) * 2019-07-29 2019-11-12 深圳市高猛科技有限公司 Water discharge method, device, server and the storage medium of drinking-water system
CN112491786A (en) * 2020-10-16 2021-03-12 中国铁路信息科技集团有限公司 Safe operation and maintenance method and system based on one-way transmission
CN113312648A (en) * 2021-06-23 2021-08-27 山西科潮科技有限公司 Communication module and communication method based on data encryption
CN113312648B (en) * 2021-06-23 2023-10-31 国网黑龙江省电力有限公司绥化供电公司 Communication module and communication method based on data encryption

Similar Documents

Publication Publication Date Title
CN109961575A (en) A kind of Internet of Things water fountain system and its control method with APP authentication encryption function
US11176538B2 (en) Multi-function smart tokenizing electronic payment device
CN104951937B (en) Method for authenticating and right discriminating system between a kind of mobile equipment
AU2005294930B2 (en) Prepayment system for electric power meters using a contactless smart card with an automatic supply cut-off device
CN101266706B (en) On-demand customized payment terminal
US7823766B1 (en) Financial transaction system
US11593782B2 (en) Fueling station transaction system and method
CN104408825B (en) Encrypted card swiping public charging pile and charging method
WO2006100171A1 (en) Secure credit card with near field communications (nfc)
SK500082011A3 (en) Pre-paid system and method of supplying water or gas through a wireless smart card and the meter system for this
CN201387642Y (en) Single-phase electronic type multi-rate prepayment electric energy meter
CN203405877U (en) Water or electricity or gas or heat meter with NFC label
CN101741565A (en) Method and system for transmitting IC (integrated circuit)-card application data
CN101807994A (en) Method and system for application data transmission of IC card
CN207249827U (en) Quick Response Code and IC card water control system
KR20190011620A (en) Authentication System and Device for Unmanned Sales Kiosk
CN207845143U (en) Gas station's automatic oiling control device
US11360448B2 (en) Power supply apparatus and system, and method for using the same
CN108805581B (en) Electronic card safety payment system and method thereof
CN204215484U (en) The public charging pile of a kind of encryption card-scanning type
CA2296208C (en) Cryptographic token and security system
CN203799452U (en) Mobile minitype payment terminal
CN205068489U (en) Portable mobile payment fingerprint identification system
CN108171438A (en) Experimental facilities long-distance management system and method based on IC card and mobile phone mobile terminal
US10657505B2 (en) Dual mode payment and display 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
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20190702

WD01 Invention patent application deemed withdrawn after publication