CN109326052B - Authentication method and system of intelligent water boiler based on Internet of things - Google Patents

Authentication method and system of intelligent water boiler based on Internet of things Download PDF

Info

Publication number
CN109326052B
CN109326052B CN201811003285.9A CN201811003285A CN109326052B CN 109326052 B CN109326052 B CN 109326052B CN 201811003285 A CN201811003285 A CN 201811003285A CN 109326052 B CN109326052 B CN 109326052B
Authority
CN
China
Prior art keywords
card number
water boiler
card
server
blacklist
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.)
Active
Application number
CN201811003285.9A
Other languages
Chinese (zh)
Other versions
CN109326052A (en
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.)
Zhejiang Baitu Technology Co ltd
Zhejiang Lover Health Science and Technology Development Co Ltd
Original Assignee
Zhejiang Baitu Technology Co ltd
Zhejiang Lover Health Science and Technology Development Co Ltd
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 Zhejiang Baitu Technology Co ltd, Zhejiang Lover Health Science and Technology Development Co Ltd filed Critical Zhejiang Baitu Technology Co ltd
Priority to CN201811003285.9A priority Critical patent/CN109326052B/en
Publication of CN109326052A publication Critical patent/CN109326052A/en
Application granted granted Critical
Publication of CN109326052B publication Critical patent/CN109326052B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G07CHECKING-DEVICES
    • G07FCOIN-FREED OR LIKE APPARATUS
    • G07F13/00Coin-freed apparatus for controlling dispensing or fluids, semiliquids or granular material from reservoirs
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q20/00Payment architectures, schemes or protocols
    • G06Q20/38Payment protocols; Details thereof
    • G06Q20/40Authorisation, e.g. identification of payer or payee, verification of customer or shop credentials; Review and approval of payers, e.g. check credit lines or negative lists
    • G06Q20/401Transaction verification
    • G06Q20/4014Identity check for transactions

Landscapes

  • Business, Economics & Management (AREA)
  • Engineering & Computer Science (AREA)
  • Accounting & Taxation (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Finance (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Theoretical Computer Science (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Heat-Pump Type And Storage Water Heaters (AREA)

Abstract

The invention discloses an authentication method and system of an intelligent water boiler based on the Internet of things, wherein the authentication method comprises the following steps: s1: acquiring a first card number of a card for a user to execute a first card swiping operation in real time; s2: reading a first blacklist stored in the water boiler, and inquiring whether a first card number exists in the first blacklist; if so, controlling a valve of the water boiler to be in a closed state; if not, controlling the valve of the water boiler to be in an opening state. According to the technical scheme, the card number of the card used by the user for performing the card swiping operation is authenticated based on the first blacklist stored in the intelligent water boiler of the Internet of things, so that the problem of resource waste caused by malicious card swiping of the user is effectively avoided, and the experience effect of the user is effectively improved.

Description

Authentication method and system of intelligent water boiler based on Internet of things
Technical Field
The invention relates to the technical field of electrical equipment, in particular to an authentication method and system of an intelligent water boiler based on the Internet of things.
Background
The demand of self-service intelligent water boiler is great for occasions where many people intensively move or live, and the intelligent water boiler is widely applied to the occasions, and the use modes of the intelligent water boiler in the market nowadays mainly include:
1. a user swipes a card (such as a campus card, a special IC or an ID card) to take water and charges automatically, and for example, the invention patent with the application number of CN207585099U provides a water boiler control system based on the Internet of things, which comprises: the water boiler control system comprises a flow measurement module, an input/output interface module, a water boiler control module and a network communication module; the input/output interface module comprises a switching value control interface, a communication interface, a card swiping sensor and a card communication number detection interface;
2. a user operates a special APP of a terminal such as a mobile phone and the like, and scans a two-dimensional code on the water boiler through a terminal camera to clean water, namely, the code is scanned and the water is cleaned; and generating a two-dimensional code on a terminal of a user, and reading the two-dimensional code through a camera on the water boiler to flush, namely reversely scanning the code to flush.
However, the use process of the existing intelligent water boiler based on the internet of things control is generally as follows: the user swipes the card for the first time, the water is discharged from the water boiler, the user swipes the card again, the water boiler stops discharging water, and the water-taking cost is deducted. The mode of controlling the water outlet and the charging of the existing intelligent water boiler cannot limit the user card number which is swiped maliciously, and the user experience effect is poor.
Therefore, the problems to be solved are as follows: how to limit the waste of network resources and storage resources in the water boiler caused by malicious card swiping to carry out card swiping and water fetching so as to achieve the purpose of intelligently controlling the water outlet and charging of the intelligent water boiler.
Disclosure of Invention
Aiming at the problems, the invention discloses an authentication method of an intelligent water boiler based on the Internet of things, which comprises the following steps:
s1: acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
s2: reading a first blacklist stored in the water boiler, and inquiring whether the first blacklist has the first card number or not; if so, controlling a valve of the water boiler to be in a closed state; if not, controlling the valve of the water boiler to be in an opening state.
Further, the step S2 is followed by the step of:
s3: sending the first card number and configuration information of the water boiler to a server so that the server judges whether the first card number exists in a second blacklist stored in the server or not;
s4: judging whether response information sent by a server is received within a preset time period; if yes, go to step S5; if not, go to step S6;
s5: acquiring whether the judgment result about whether the first card number exists in a second blacklist stored in the server or not is yes or not based on the response information; if yes, go to step S7; if not, go to step S8;
s6: inquiring whether the first card number exists in a first white list stored in the water boiler or not; if yes, go to step S8; if not, go to step S7;
s7: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s8: and controlling a valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
Further, the step S8 is followed by the step of:
s9: monitoring whether a user executes a second card swiping operation in real time; if yes, go to step S10; if not, go to step S8;
s10: acquiring a second card number of the card for the user to execute the second card swiping operation, and judging whether the second card number is the same as the first card number; if yes, go to step S11; if not, go to step S9;
s11: controlling a valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
s12: and adjusting the display screen of the water boiler to an idle display state.
Further, when the response message sent by the server is received within the preset time period, the step S7 includes:
s701: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s702: inquiring whether the first card number exists in the first white list; if yes, deleting the first card number in the first white list, and executing step S703; if not, executing step S703;
s703: inquiring whether the first card number exists in the first blacklist, if so, executing step S12; if not, the first card number is written into the first blacklist, and step S12 is executed.
Further, when the response message sent by the server is received within the preset time period, the step S8 includes the following steps:
s801: controlling a valve of the water boiler to be in an opening state, and acquiring and displaying balance information of the first card number;
s802: inquiring whether the first card number exists in a first blacklist, if so, deleting the first card number in the first blacklist, and executing the step S803; if not, go to step S803;
s803: inquiring whether the first card number exists in a first white list or not; if yes, go to step S9; if not, the first card number is written into the first white list, and step S9 is executed.
Correspondingly, the invention also discloses an authentication system based on the intelligent water boiler of the Internet of things, which comprises the following steps:
the first acquisition module is used for acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
the first query module is used for reading a first blacklist stored in the water boiler and querying whether a first card number exists in the first blacklist;
the first control module is used for controlling a valve of the water boiler to be in an opening state;
and the second control module is used for controlling the valve of the water boiler to be in a closed state.
Further, the authentication system further includes:
the first sending module is used for sending the first card number and the configuration information of the water boiler to the server so that the server judges whether the first card number exists in a second blacklist stored in the server or not;
the first judgment module is used for judging whether response information sent by the server is received in a preset time period;
the second obtaining module is used for obtaining whether the judgment result about whether the first card number exists in a second blacklist stored in the server or not according to the response information;
the second query module is used for querying whether the first card number exists in a first white list stored in the water boiler or not;
the third control module is used for controlling a valve of the water boiler to be in a closed state and displaying error code information;
and the fourth control module is used for controlling the valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
Further, the authentication system further comprises;
the real-time monitoring module is used for monitoring whether the user executes the second card swiping operation in real time;
the third acquisition module is used for acquiring a second card number of the card for the user to execute the second card swiping operation;
the second judging module is used for judging whether the second card number is the same as the first card number or not;
the fifth control module is used for controlling the valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
and the display screen adjusting module is used for adjusting the display screen of the water boiler to an idle display state.
Further, the third control module includes:
the sixth control module is used for controlling the valve of the water boiler to be in a closed state and displaying error code information when response information sent by the server is received in a preset time period;
a third query module, configured to query whether the first card number exists in the first white list when receiving response information sent by the server within a preset time period;
the first deleting module is used for deleting the first card number in the first white list;
the fourth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the first writing module is used for writing the first card number into the first blacklist.
Further, the fourth control module includes:
the seventh control module is used for controlling the valve of the water boiler to be in an opening state when the response information sent by the server is received in a preset time period; the card reader is also used for acquiring and displaying the balance information of the first card number;
the fifth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the second deleting module is used for deleting the first card number in the first blacklist;
the sixth query module is used for querying whether the first card number exists in the first white list or not when the response information sent by the server is received in the preset time period;
and the second writing module is used for writing the first card number into the first white list.
The invention has the beneficial effects that:
according to the authentication method and the authentication system based on the Internet of things intelligent water boiler disclosed by the invention, the card number of the card used by the user for performing the card swiping operation can be authenticated based on the first blacklist of the water boiler, and the card number can be authenticated again through the second blacklist in the server connected with the intelligent water boiler, so that the effect of performing double authentication on the card number with the card swiping behavior is achieved, the malicious card swiping behavior can be effectively prevented, and the authentication method and the authentication system have better practicability. In addition, the technical scheme of the invention can effectively reduce the load of the server and improve the experience effect of the user.
Drawings
Fig. 1 is a flowchart of an authentication method of an intelligent water boiler based on the internet of things in the first embodiment;
fig. 2 is a flowchart of a method for performing authentication according to a second blacklist stored by a server according to a first embodiment;
FIG. 3 is a flowchart of a method for monitoring whether a second card swiping operation exists according to the first embodiment;
fig. 4 is a flowchart of a processing method for the first blacklist and the first white list when the first card number is in the second blacklist in the first embodiment;
fig. 5 is a flowchart of a processing method for the first blacklist and the first white list when the first card number is not in the second blacklist in the first embodiment;
fig. 6 is a module composition diagram of an authentication system based on an internet of things intelligent water boiler in the first embodiment;
fig. 7 is a block diagram illustrating a module in the authentication system according to the second blacklist stored in the server according to the first embodiment;
fig. 8 is a block diagram of an authentication system according to a first embodiment, in which whether a second card swiping operation exists is monitored;
FIG. 9 is a block diagram of a third control module according to the first embodiment;
fig. 10 is a block diagram of a fourth control module according to the first embodiment.
Detailed Description
In order to make the objects, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be described below in detail and completely with reference to the accompanying drawings in the embodiments of the present invention. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, belong to the scope of the present invention.
Example one
Referring to fig. 1, the embodiment provides an authentication method for an intelligent water boiler based on the internet of things, and the authentication method includes the following steps:
s1: acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
s2: reading a first blacklist stored in the water boiler, and inquiring whether a first card number exists in the first blacklist; if so, controlling a valve of the water boiler to be in a closed state; if not, controlling the valve of the water boiler to be in an opening state.
It should be noted that, the steps S1 to S2 may be detailed as follows:
when a user performs a first card swiping operation, an authentication system of the water boiler detects the card swiping operation performed by the user; then, the water boiler can perform one-time anti-collision card-protruding operation, namely, only one card is confirmed to exist near the water boiler, and a buzzer on the water boiler can make a sound to prompt a user that the card swiping is successful, at the moment, an authentication system of the water boiler already obtains a first card number of the card used by the user for performing the first card swiping operation; further, reading a first blacklist stored in the water boiler so as to conveniently inquire whether a first card number exists in the first blacklist; if the first card number is in the first blacklist, the authentication system of the water boiler controls a valve of the water boiler to be in a closed state so that the water boiler can not discharge water; if the first card number is not in the first blacklist, the authentication system of the water boiler controls the valve of the water boiler to be in an open state, so that the water boiler discharges water.
It should be noted that, the water boiler in this embodiment is connected to the server through a wireless manner (e.g., a wireless connection manner such as GPRS, NB-IOT, or 4G, WiFi). The card type used by the user for executing the first card swiping operation or the second card swiping operation can be campus card, IC card, ID card and the like. In addition, the server can be wirelessly connected with a plurality of water boilers, and the configuration information of each water boiler connected with the server, the city and the water unit price of the city are stored in the server. In addition, the server also stores the card number of the sold card, the balance in the card, the user name and other information.
Before step S1 is executed, the water boiler is already in a wireless network connection state with the server, and the initial configuration process of the water boiler is completed, and the valve of the water boiler is in a closed state, which achieves the effect of controlling whether the water boiler is discharging water by controlling the opening or closing of the valve.
It should be noted that a first blacklist and a first white list are stored in the water boiler, and the number of card numbers stored in the first blacklist and the first white list has an upper limit, such as 100, 200, etc.; in addition, a second blacklist is stored in a server connected with the water boiler, and the number of the card numbers stored in the second blacklist also has an upper limit.
It should be noted that, in the authentication method provided in this embodiment, the first card number may be authenticated according to a first blacklist inside the water boiler, and the authentication may also be performed according to a second blacklist inside the server, so as to achieve the purpose of performing dual authentication on the first card number. Based on this, referring to fig. 2, the following steps are further included after step S2:
s3: sending the first card number and the configuration information of the water boiler to a server so that the server judges whether the first card number exists in a second blacklist stored in the server or not; wherein: after receiving the first card number and the configuration information sent by the water boiler, the server identifies the water boiler based on the configuration information and further queries whether the first card number exists in a second blacklist; then, the query result is fed back to the water boiler in a response information mode;
s4: judging whether response information sent by a server is received within a preset time period; if yes, go to step S5; if not, go to step S6;
s5: acquiring whether the judgment result about whether the first card number exists in a second blacklist stored inside the server is yes or not based on the response information; if yes, go to step S7; if not, go to step S8;
s6: inquiring whether the first card number exists in a first white list stored in the water boiler or not; if yes, go to step S8; if not, go to step S7;
s7: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s8: and controlling a valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
It should be noted that the server and the water boiler are wirelessly connected through a network, and if the server and the water boiler are connected through GPRS signals, the GPRS signals are easily affected by factors such as weather and environment, which may cause the network connection between the server and the water boiler to be interrupted, and further cause the authentication system of the water boiler to fail to upload information to the server or receive response information fed back by the server. Therefore, a preset time period can be set, if the response information fed back by the server cannot be received in the preset time period, the network connection is interrupted, and at the moment, the water boiler authentication system can identify whether the first card number is in the first white list by reading the first white list stored in the water boiler; if response information fed back by the server is received in a preset time period, whether the first card number is in a second blacklist stored in the server or not can be confirmed through the response information; when the first card number is in the second blacklist or outside the first white list, controlling a valve of the water boiler to be in a closed state so that the water boiler can not discharge water, and displaying error code information; or when the first card number is in the first white list or out of the second black list, controlling the valve of the water boiler to be in an open state to enable the water boiler to discharge water, and acquiring and displaying balance information of the first card number.
Referring to fig. 3, after step S8, the method further includes the following steps:
s9: monitoring whether a user executes a second card swiping operation in real time; if yes, go to step S10; if not, go to step S8;
s10: acquiring a second card number of the card for the user to execute the second card swiping operation, and judging whether the second card number is the same as the first card number; if yes, go to step S11; if not, go to step S9;
s11: controlling a valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
s12: adjusting the display screen of the water boiler to an idle display state.
Namely: when the first card number does not exist in the second blacklist, the water boiler continuously discharges water, and whether the user executes the second card swiping operation or not is monitored in real time; if the card number is the same as the first card number, the authentication system of the water boiler indicates that the same card is used for the two card swiping operations, at the moment, the authentication system closes a valve of the water boiler to stop water outlet, and obtains and displays the water fetching cost required by the user for fetching water at the time; finally, the water boiler authentication system adjusts the display screen of the water boiler to be in an idle display state, and the display value of the water boiler is 0.
It should be noted that, on the premise that the authentication system of the water boiler receives the response information reversely sent by the server, referring to fig. 4, step S7 specifically includes the following steps:
s701: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s702: inquiring whether the first card number exists in a first white list or not; if yes, deleting the first card number in the first white list, and executing the step S703; if not, executing step S703;
s703: inquiring whether the first card number exists in the first blacklist, if so, executing the step S12; if not, the first card number is written into the first blacklist, and step S12 is executed.
Namely: on the premise that the authentication system of the water boiler receives the response information and the first card number is in the second blacklist, the authentication system of the water boiler controls the valve of the water boiler to be in a closed state so that the valve cannot discharge water, and error code information is displayed; then, the authentication system inquires whether a first card number exists in a first white list in the water boiler, if so, the first card number in the first white list is deleted, and whether the first card number exists in a first black list is inquired; if not, directly inquiring whether the first blacklist has the first card number. If the first card number exists in the first blacklist, adjusting a display screen of the water boiler to an idle display state; if the first blacklist does not have the first card number, the first card number needs to be written into the first blacklist, and the display screen of the water boiler is adjusted to be in an idle display state. It should be noted that, if the number of the card numbers in the first blacklist reaches the upper limit, the first card number in the card number linked list in the blacklist is deleted, all the card numbers thereafter are moved forward one position in sequence, and finally, the first card number is written into the end of the linked list.
On the premise that the authentication system of the water boiler receives the response information reversely sent by the server, referring to fig. 5, step S8 specifically includes the following steps:
s801: controlling a valve of the water boiler to be in an opening state, and acquiring and displaying balance information of the first card number;
s802: inquiring whether the first card number exists in the first blacklist, if so, deleting the first card number in the first blacklist, and executing the step S803; if not, go to step S803;
s803: inquiring whether the first card number exists in a first white list or not; if yes, go to step S9; if not, the first card number is written into the first white list, and step S9 is executed.
Namely: on the premise that the authentication system of the water boiler receives the response information and the first card number is out of the second blacklist, the authentication system of the water boiler controls the valve of the water boiler to be in the open state so as to enable the water boiler to discharge water, and balance information of the first card number is obtained and displayed; then, the authentication system inquires and judges whether the first card number exists in a first blacklist or not; if the first card number exists in the first blacklist, the authentication system deletes the first card number in the first blacklist and inquires whether the first card number exists in the first white list; if not, directly inquiring whether the first white list has the first card number. If the first white list has the first card number, directly executing step S9; if the first card number does not exist in the first white list, the first card number is written into the first white list, and step S9 is executed.
Based on the authentication method for the intelligent water boiler based on the internet of things provided by the embodiment, correspondingly, the embodiment also provides an authentication system for the intelligent water boiler based on the internet of things, the authentication system is arranged on the water boiler, and referring to fig. 6, the authentication system comprises:
the first acquisition module is used for acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
the first query module is used for reading a first blacklist stored in the water boiler and querying whether a first card number exists in the first blacklist;
the first control module is used for controlling a valve of the water boiler to be in an opening state so as to enable the water boiler to discharge water;
and the second control module is used for controlling the valve of the water boiler to be in a closed state so that the water boiler can not discharge water.
It should be noted that, the authentication system provided in this embodiment can authenticate the first card number according to the first blacklist stored in the water boiler, and can authenticate the first card number again based on the server connected to the water boiler, so as to achieve the effect of performing double authentication on the first card number. Based on this, referring to fig. 7, the authentication system provided in this embodiment further includes:
the first sending module is used for sending the first card number and the configuration information of the water boiler to the server so that the server judges whether the first card number exists in a second blacklist stored in the server or not;
the first judgment module is used for judging whether response information sent by the server is received in a preset time period;
the second obtaining module is used for obtaining whether the judgment result about whether the first card number exists in a second blacklist stored in the server or not according to the response information;
the second query module is used for querying whether the first card number exists in a first white list stored in the water boiler or not;
the third control module is used for controlling a valve of the water boiler to be in a closed state and displaying error code information;
and the fourth control module is used for controlling the valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
Referring to fig. 8, the authentication system provided in this embodiment further includes:
the real-time monitoring module is used for monitoring whether the user executes the second card swiping operation in real time;
the third acquisition module is used for acquiring a second card number of the card for the user to execute the second card swiping operation;
the second judging module is used for judging whether the second card number is the same as the first card number or not;
the fifth control module is used for controlling the valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
and the display screen adjusting module is used for adjusting the display screen of the water boiler to an idle display state, and the content displayed by the display screen is 0.
Referring to fig. 9, the third control module in this embodiment includes:
the sixth control module is used for controlling the valve of the water boiler to be in a closed state and displaying error code information when response information sent by the server is received in a preset time period;
the third query module is used for querying whether the first card number exists in the first white list or not when the response information sent by the server is received in the preset time period;
the first deleting module is used for deleting the first card number in the first white list;
the fourth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the first writing module is used for writing the first card number into the first blacklist.
Referring to fig. 10, the fourth control module in the present embodiment includes:
the seventh control module is used for controlling the valve of the water boiler to be in an opening state when the response information sent by the server is received in a preset time period; the card reader is also used for acquiring and displaying the balance information of the first card number;
the fifth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the second deleting module is used for deleting the first card number in the first blacklist;
the sixth query module is used for querying whether the first card number exists in the first white list or not when the response information sent by the server is received in the preset time period;
and the second writing module is used for writing the first card number into the first white list.
The authentication method and the authentication system based on the internet of things intelligent water boiler provided by the embodiment can authenticate the card number of the card used by the user for performing the card swiping operation based on the first blacklist of the water boiler, and can authenticate the card number again through the second blacklist inside the server connected with the water boiler in a network, so that the effect of performing double authentication on the card number with the card swiping behavior is achieved, the malicious card swiping behavior can be effectively prevented, and the authentication method and the authentication system have better practicability. In addition, the authentication method and the authentication system of the embodiment can also effectively reduce the load of the server and improve the experience effect of the user.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (8)

1. An authentication method of an intelligent water boiler based on the Internet of things is characterized by comprising the following steps:
s1: acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
s2: reading a first blacklist stored in the water boiler, and inquiring whether the first card number exists in the first blacklist; if so, controlling a valve of the water boiler to be in a closed state; if not, controlling the valve of the water boiler to be in an opening state;
s3: sending the first card number and configuration information of the water boiler to a server so that the server judges whether the first card number exists in a second blacklist stored in the server or not;
s4: judging whether response information sent by a server is received within a preset time period; if yes, go to step S5; if not, go to step S6;
s5: acquiring whether the judgment result about whether the first card number exists in a second blacklist stored inside the server is yes or not based on the response information; if yes, go to step S7; if not, go to step S8;
s6: inquiring whether the first card number exists in a first white list stored in the water boiler or not; if yes, go to step S8; if not, go to step S7;
s7: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s8: and controlling a valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
2. The authentication method for the intelligent water boiler based on the internet of things as claimed in claim 1, wherein the step S8 is followed by the further steps of:
s9: monitoring whether a user executes a second card swiping operation in real time; if yes, go to step S10; if not, go to step S8;
s10: acquiring a second card number of the card for the user to execute the second card swiping operation, and judging whether the second card number is the same as the first card number; if yes, go to step S11; if not, go to step S9;
s11: controlling a valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
s12: and adjusting the display screen of the water boiler to an idle display state.
3. The authentication method for the internet-of-things-based intelligent water boiler as claimed in claim 2, wherein when the response message sent by the server is received within a preset time period, the step S7 comprises:
s701: controlling a valve of the water boiler to be in a closed state, and displaying error code information;
s702: inquiring whether the first card number exists in the first white list; if yes, deleting the first card number in the first white list, and executing the step S703; if not, executing step S703;
s703: inquiring whether the first card number exists in the first blacklist, if so, executing a step S12; if not, the first card number is written into the first blacklist, and step S12 is executed.
4. The authentication method for the internet-of-things-based intelligent water boiler as claimed in claim 3, wherein when the response message sent by the server is received within a preset time period, the step S8 comprises:
s801: controlling a valve of the water boiler to be in an opening state, and acquiring and displaying balance information of the first card number;
s802: inquiring whether the first card number exists in a first blacklist, if so, deleting the first card number in the first blacklist, and executing the step S803; if not, go to step S803;
s803: inquiring whether the first card number exists in a first white list or not; if yes, go to step S9; if not, the first card number is written into the first white list, and step S9 is executed.
5. The utility model provides an authentication system based on thing networking intelligence water dispensers which characterized in that, authentication system includes:
the first acquisition module is used for acquiring a first card number of a card for a user to execute a first card swiping operation in real time;
the first query module is used for reading a first blacklist stored in the water boiler and querying whether a first card number exists in the first blacklist;
the first control module is used for controlling a valve of the water boiler to be in an opening state;
the second control module is used for controlling a valve of the water boiler to be in a closed state;
the first sending module is used for sending the first card number and the configuration information of the water boiler to the server so that the server judges whether the first card number exists in a second blacklist stored in the server or not;
the first judgment module is used for judging whether response information sent by the server is received in a preset time period;
the second obtaining module is used for obtaining whether the judgment result about whether the first card number exists in a second blacklist stored in the server or not according to the response information;
the second query module is used for querying whether the first card number exists in a first white list stored in the water boiler or not;
the third control module is used for controlling a valve of the water boiler to be in a closed state and displaying error code information;
and the fourth control module is used for controlling the valve of the water boiler to be in an opening state, and acquiring and displaying the balance information of the first card number.
6. The authentication system of the intelligent water boiler based on the internet of things as claimed in claim 5, wherein the authentication system comprises:
the real-time monitoring module is used for monitoring whether the user executes the second card swiping operation in real time;
the third acquisition module is used for acquiring a second card number of the card for the user to execute the second card swiping operation;
the second judging module is used for judging whether the second card number is the same as the first card number or not;
the fifth control module is used for controlling the valve of the water boiler to be in a closed state, and acquiring and displaying the water-fetching cost of the first card number;
and the display screen adjusting module is used for adjusting the display screen of the water boiler to an idle display state.
7. The authentication system of the internet of things-based intelligent water boiler as claimed in claim 6, wherein the third control module comprises:
the sixth control module is used for controlling the valve of the water boiler to be in a closed state and displaying error code information when response information sent by the server is received in a preset time period;
the third query module is used for querying whether the first card number exists in the first white list or not when response information sent by the server is received in a preset time period;
the first deleting module is used for deleting the first card number in the first white list;
the fourth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the first writing module is used for writing the first card number into the first blacklist.
8. The authentication system of the internet of things-based intelligent water boiler as claimed in claim 7, wherein the fourth control module comprises:
the seventh control module is used for controlling the valve of the water boiler to be in an opening state when the response information sent by the server is received in a preset time period; the card reader is also used for acquiring and displaying the balance information of the first card number;
the fifth query module is used for querying whether the first card number exists in the first blacklist or not when the response information sent by the server is received in the preset time period;
the second deleting module is used for deleting the first card number in the first blacklist;
the sixth query module is used for querying whether the first card number exists in the first white list or not when the response information sent by the server is received in the preset time period;
and the second writing module is used for writing the first card number into the first white list.
CN201811003285.9A 2018-08-30 2018-08-30 Authentication method and system of intelligent water boiler based on Internet of things Active CN109326052B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811003285.9A CN109326052B (en) 2018-08-30 2018-08-30 Authentication method and system of intelligent water boiler based on Internet of things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811003285.9A CN109326052B (en) 2018-08-30 2018-08-30 Authentication method and system of intelligent water boiler based on Internet of things

Publications (2)

Publication Number Publication Date
CN109326052A CN109326052A (en) 2019-02-12
CN109326052B true CN109326052B (en) 2021-04-02

Family

ID=65263356

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811003285.9A Active CN109326052B (en) 2018-08-30 2018-08-30 Authentication method and system of intelligent water boiler based on Internet of things

Country Status (1)

Country Link
CN (1) CN109326052B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113593122A (en) * 2021-07-21 2021-11-02 广州市铭汉科技股份有限公司 Water control system based on narrowband thing networking

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201145924Y (en) * 2007-12-28 2008-11-05 王景波 Instant electric water heater controlled by IC card intelligently
CN101937593A (en) * 2009-06-30 2011-01-05 曹松伟 Information-inducing self-service multi-control cluster-charge intelligent charge server
CN203311516U (en) * 2012-08-16 2013-11-27 湖南网络工程职业学院 Non-contact ic card water controller
CN104978770A (en) * 2014-04-08 2015-10-14 银联国际有限公司 Automatic parking lot toll collecting system and automatic parking lot toll collecting method
CN107134061A (en) * 2017-06-29 2017-09-05 西安培华学院 A kind of IC-card swipe the card water fetching device energy-saving prevention scald system and method
CN107977777A (en) * 2017-11-16 2018-05-01 杭州好园科技有限公司 Wisdom garden card system
CN207585099U (en) * 2017-11-09 2018-07-06 浙江佰途科技有限公司 A kind of boiler control system based on Internet of Things

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7568617B2 (en) * 2006-12-07 2009-08-04 Specialty Acquirer Llc Learning fare collection system for mass transit
CN102955951A (en) * 2011-08-19 2013-03-06 国民技术股份有限公司 Radio frequency card area configuration method, radio frequency card read-write method, radio frequency card and cross-area utilization system for radio frequency card
CN103123707A (en) * 2011-11-18 2013-05-29 苏州中茵泰格科技有限公司 Credit card safety payment method and system based on Internet Protocol Television (IPTV)
CN102819793B (en) * 2012-08-08 2016-06-29 江苏科技大学 A kind of Intelligent running water based on cloud computing manages system and method
US10387903B2 (en) * 2013-11-08 2019-08-20 Retailmenot, Inc. Providing single-use offers
US20150356791A1 (en) * 2014-06-10 2015-12-10 Lg Cns Co., Ltd. Apparatus and method for processing card information
CN105782715B (en) * 2016-03-01 2018-01-26 无锡乾元智能安全技术研究有限公司 A kind of implementation method of filling machine identification control cylinder filling
CN105763555A (en) * 2016-03-31 2016-07-13 世纪禾光科技发展(北京)有限公司 Website risk control server and method and client
CN107610299A (en) * 2017-09-26 2018-01-19 广州佳都数据服务有限公司 A kind of door access control system and method

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201145924Y (en) * 2007-12-28 2008-11-05 王景波 Instant electric water heater controlled by IC card intelligently
CN101937593A (en) * 2009-06-30 2011-01-05 曹松伟 Information-inducing self-service multi-control cluster-charge intelligent charge server
CN203311516U (en) * 2012-08-16 2013-11-27 湖南网络工程职业学院 Non-contact ic card water controller
CN104978770A (en) * 2014-04-08 2015-10-14 银联国际有限公司 Automatic parking lot toll collecting system and automatic parking lot toll collecting method
CN107134061A (en) * 2017-06-29 2017-09-05 西安培华学院 A kind of IC-card swipe the card water fetching device energy-saving prevention scald system and method
CN207585099U (en) * 2017-11-09 2018-07-06 浙江佰途科技有限公司 A kind of boiler control system based on Internet of Things
CN107977777A (en) * 2017-11-16 2018-05-01 杭州好园科技有限公司 Wisdom garden card system

Also Published As

Publication number Publication date
CN109326052A (en) 2019-02-12

Similar Documents

Publication Publication Date Title
CN105139470A (en) Checking-in method, device and system based on face recognition
CN104572001B (en) Open method and the mobile terminal of split screen
CN105320924A (en) Electronic device and fingerprint identification device control method
WO2018058373A1 (en) Control method and apparatus for electronic device, and electronic device
CN105872685A (en) Intelligent terminal control method and system, and intelligent terminal
CN107454639B (en) Network automatic switching method, mobile terminal and storage medium
RU2637466C2 (en) Method, device and system for obtaining access to network
CN104896868A (en) Method for identifying and managing refrigerator food list according to remote images
CN109618393B (en) Communication control method, communication control device, mobile terminal and storage medium
CN101853535B (en) Door control system and door control management method
CN106740210A (en) Charging electric vehicle method and device based on Quick Response Code
CN105550554A (en) Anti-peep method and mobile terminal
CN107807772A (en) Image processing method, device and mobile terminal
CN109451142B (en) Method and device for starting application program
CN107193458B (en) One kind taking color method, device, equipment and storage medium
CN110378276B (en) Vehicle state acquisition method, device, equipment and storage medium
CN109326052B (en) Authentication method and system of intelligent water boiler based on Internet of things
CN105739868A (en) Method and device for identifying mistaken touch of terminal
CN105204603A (en) Mobile terminal picture taking method and device and mobile picture taking terminal
CN110460700B (en) Display screen control method and device, electronic equipment and storage medium
CN114743239A (en) Control method, device and system of intelligent equipment and electronic equipment
CN106228662A (en) A kind of Intelligent entrance guard control system and control method
CN205068626U (en) Self -service terminal of internet bar's intelligence
CN112395029A (en) Application program interface display method and device, electronic equipment and storage medium
CN107104952B (en) Intelligent household user authentication method, user terminal and central control equipment

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
GR01 Patent grant
GR01 Patent grant