Fire hydrant authentication water taking method
By pairing IC cards with smart fire hydrants and cooperating with an IoT platform, the problem of difficult-to-manage fire hydrant billing has been solved, enabling hierarchical water usage management and improving the transparency and efficiency of water usage.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-09-26
- Publication Date
- 2026-03-31
AI Technical Summary
The current billing method for fire hydrants is difficult to effectively control, leading to unreasonable water management.
By pairing IC cards with smart fire hydrants and combining them with an IoT management platform for permission allocation and real-time billing, hierarchical access control can be achieved.
This has enabled the rational management of water usage in fire hydrants, preventing overuse and theft, and improving the transparency and efficiency of water usage.
Smart Images

Figure CN118097849B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of fire hydrant safety, and more particularly to a method for authenticating and extracting water from a fire hydrant. Background Technology
[0002] Fire hydrants are crucial urban infrastructure, primarily providing water to fire, municipal, and sanitation departments from the water supply network. A fire hydrant is a fixed fire-fighting facility whose main function is to control combustibles, isolate oxidizers, and extinguish ignition sources. Fire hydrants are water supply facilities installed on the fire water supply network outside buildings, mainly providing water for fire trucks to draw from the municipal water supply network or outdoor fire water supply network for firefighting. They can also be directly connected to hoses and nozzles for firefighting, making them one of the most important fire-fighting facilities. Some fire hydrants are also used as water intake points for sanitation and municipal sprinkler trucks, but the metering and billing of these types of fire hydrants are difficult to manage.
[0003] Currently, there are also technical solutions for billing water usage in fire hydrants. For example, a "Smart Fire Hydrant with Water Flow Detection" disclosed in Chinese patent literature (publication number CN214833118U) includes an upper hydrant body and a lower hydrant body fixed to the ground. The upper hydrant body has a downward-through first water chamber, and the lower hydrant body has a vertically-through second water chamber. A water flow sensor is installed between the upper and lower hydrant bodies. A central control module is installed on the outside of the upper hydrant body, and the central control module has an NFC module connected to the water flow sensor. A first solenoid valve is installed on the upper hydrant body and connected to the central control module. The water flow sensor monitors the water flow changes in the fire hydrant in real time, and the central control module controls the opening and closing of the first solenoid valve, facilitating billing. However, the billing of fire hydrants using this solution is relatively difficult to manage. Summary of the Invention
[0004] This invention primarily addresses the difficulty in controlling the existing fire hydrant billing and water access methods; it provides a fire hydrant authentication and water access method where IC cards are paired with smart fire hydrants, allowing for tiered access permissions and more rational water management.
[0005] The above-mentioned technical problems of the present invention are mainly solved by the following technical solutions:
[0006] A method for authenticating and extracting water from a fire hydrant includes the following steps:
[0007] S1: Register the information of the smart fire hydrant and the IC card in the Internet of Things management platform;
[0008] S2: The IoT platform authorizes the IC card based on the smart fire hydrant's geographical location and IC card registration information, and sends the authorization information to the corresponding smart fire hydrant;
[0009] S3: Use an IC card to swipe and draw water from the smart fire hydrant. The smart fire hydrant determines the water access permission of the IC card offline, supplies water to the IC card with the right to draw water, and calculates the bill in real time.
[0010] S4: After water withdrawal is completed, the smart fire hydrant uploads the water withdrawal bill to the IoT management platform. The IoT management platform then compiles the water withdrawal payment information for each IC card and reassigns IC card permissions.
[0011] IC cards are paired with smart fire hydrants, allowing for tiered access control and more rational water management. The platform-based authorization and billing system solves the problem of difficult water metering in traditional fire hydrants.
[0012] Preferably, the information of the fire hydrant includes its number, geographical location, construction time, and historical maintenance information; the information of the IC card includes the card number, cardholder, balance, credit value, and specific purpose.
[0013] Registering the information of the smart fire hydrant and the IC card in the IoT management platform makes it easier to match the IC card with the smart fire hydrant.
[0014] Preferred methods for permission allocation include:
[0015] Service areas are divided according to the geographical location of the smart fire hydrants;
[0016] The IC card is assigned the corresponding tiered access permissions for the smart fire hydrant based on its registration information.
[0017] Extract the specific usage data from the IC card registration information, obtain the usual route during use, and determine whether the usual route passes through the service area of the smart fire hydrant; if so, assign the corresponding level of access permission to the smart fire hydrant to the IC card; otherwise, end.
[0018] As a preferred option, a preset radius is set around the smart fire hydrant to obtain the service coverage area;
[0019] Using the road between two forks as a segment of the decision road, obtain all decision roads that intersect with the service coverage area;
[0020] Calculate the proportion of each determined road within the service area to the total length of the determined road; if the proportion is greater than or equal to the set classification proportion, the determined road is included in the service area of the smart fire hydrant; otherwise, the determined road is removed from the service area of the smart fire hydrant.
[0021] After traversing all the judgment roads, determine whether the outermost judgment road in the service range of the smart fire hydrant can form a closed area; if so, the closed area is the service area corresponding to the smart fire hydrant; otherwise, obtain the shortest straight-line distance between adjacent outermost judgment roads; the selection of the outermost judgment road is based on the judgment road with the largest distance from the smart fire hydrant in each direction.
[0022] As a preferred method, extract the specific usage data from the IC card registration information, obtain the regular working time during use, and use the historical maximum value of the regular working time as the usage time period of the IC card for the corresponding smart fire hydrant; estimate the longest single usage time based on the nature of the specific usage and the water output of the smart fire hydrant.
[0023] The maximum water consumption of the smart fire hydrant is determined based on historical maintenance data. The number of IC cards with the same usage time period in the same smart fire hydrant is counted, and the corresponding maximum water consumption is determined according to the specific purpose of the IC card. The maximum water consumption corresponding to the IC cards in the same time period is calculated. If the sum of the maximum water consumption is less than or equal to the water available for card payment, the single water consumption of the IC card is allocated according to the maximum water consumption corresponding to the IC card. If the sum of the maximum water consumption is greater than the water available for card payment, the single water consumption of the IC card is allocated according to the proportion of the maximum water consumption of each IC card.
[0024] As a preferred option, the water overdraft limit is set based on the credit value of the IC card;
[0025] Establish the relationship between credit score and overdraft amount:
[0026] W_f = a·R_c;
[0027] Where W_f is the overdraft amount; R_c is the credit value; and a is the proportional coefficient.
[0028] Preferably, step S3 includes the following process:
[0029] S301: When a user uses an IC card to swipe a card to draw water from a smart fire hydrant, the smart fire hydrant offline checks whether there is IC card authorization information in the smart fire hydrant; if so, proceed to step S302; otherwise, the smart fire hydrant sends confirmation information to the IoT management platform and determines whether water is being drawn based on the IC card authorization information fed back by the IoT management platform.
[0030] S302: The intelligent fire hydrant determines whether the IC card usage time is within the specified time period. If so, it starts water dispensing and billing; otherwise, it prompts that water is not authorized during that time period and ends the process.
[0031] S303: The intelligent fire hydrant supplies water in a limited time and quantity based on the hierarchical permission information of the IC card, and charges in real time, deducting fees at the rated frequency.
[0032] As a preferred method, the intelligent fire hydrant controller determines the validity of the IC card offline. If valid, the hydrant unlocks. After successful unlocking, water begins to flow, the float rises, and the flow meter module begins to measure the water usage for that session.
[0033] Preferably, if the IoT management platform confirms that the IC card has the corresponding smart fire hydrant water access permission, it sends the corresponding permission information to the smart fire hydrant and proceeds to step S302; otherwise, it prompts that the user does not have permission to access water and ends the process.
[0034] As a preferred option, the IoT management platform confirms the correctness of the deduction based on the water bill, checks the IC card balance, and sends the bill and balance information to the user's mobile phone;
[0035] If the balance is negative, the credit timer will start after the balance information is sent. If the user fulfills the obligation in time within the set time and the number of timely fulfillment reaches 3 times, the credit value will be increased by 1. If the user fails to fulfill the obligation within the set time, one credit value will be deducted for every 3 days of delay.
[0036] The overdraft water usage function will be disabled when the credit score is 0.
[0037] If the credit value is less than or equal to -3, the IC card's water usage privileges will be suspended.
[0038] The beneficial effects of this invention are:
[0039] 1. IC cards are paired with smart fire hydrants, allowing for tiered access control and more rational water usage management. The platform-based authorization and billing method solves the problem of difficult water metering in traditional fire hydrants.
[0040] 2. Divide each smart fire hydrant into service areas, allocate IC card usage permissions for different work routes, and rationally distribute water volume to avoid overuse and theft.
[0041] 3. Set a maximum usage time to prevent personnel from leaving while filling the hydrant, which could lead to excessive water filling and waste of water in the hydrant, or affect the use by other personnel. Attached Figure Description
[0042] Figure 1 This is a flowchart of a fire hydrant authentication and water extraction method according to the present invention.
[0043] Figure 2 This is a flowchart of the present invention for dividing service areas based on the geographical location of intelligent fire hydrants. Detailed Implementation
[0044] The technical solution of the present invention will be further described in detail below through embodiments and in conjunction with the accompanying drawings.
[0045] Example:
[0046] This embodiment provides a method for authenticating and extracting water from a fire hydrant, such as... Figure 1 As shown, it includes the following steps:
[0047] S1: Register the information of the smart fire hydrant and the IC card in the IoT management platform.
[0048] The information for intelligent fire hydrants includes their serial number, geographical location, construction date, and historical maintenance history.
[0049] The information on an IC card includes the card number, cardholder (including personal name, or company name if it is a corporate user), balance, credit value, and specific purpose (for example, if it is used for changing water in a sprinkler truck, the general route of the sprinkler truck needs to be specified).
[0050] Registering the information of the smart fire hydrant and the IC card in the IoT management platform makes it easier to match the IC card with the smart fire hydrant.
[0051] S2: The IoT platform authorizes the IC card based on the smart fire hydrant's geographical location and the IC card's registration information, and sends the IC card's permission information to the corresponding smart fire hydrant.
[0052] The permission allocation method includes the following process:
[0053] A1: Service areas are divided according to the geographical location of the smart fire hydrants. For example... Figure 2 As shown:
[0054] Centered on the intelligent fire hydrant, a preset radius is set to obtain the service coverage area; in this embodiment, the preset radius is 2km, which can be modified and set according to actual needs and the distribution density of intelligent fire hydrants.
[0055] Using the road between two forks as a segment of the decision road, obtain all decision roads that intersect with the service coverage area.
[0056] The proportion of each determined road within the service area to its total length is calculated. If the proportion is greater than or equal to a set classification proportion, the determined road is included in the service area of the smart fire hydrant; otherwise, the determined road is excluded from the service area of the smart fire hydrant. In this embodiment, the classification proportion is 75%.
[0057] After traversing all the decision roads, determine whether the outermost decision road within the service area of the smart fire hydrant can form a closed area. If so, the closed area is the service area corresponding to the smart fire hydrant; otherwise, obtain the shortest straight-line distance between adjacent outermost decision roads. The outermost decision road is selected based on the decision road with the largest distance from the smart fire hydrant in each direction.
[0058] Determine whether the shortest straight-line distance between adjacent outermost determination roads is less than the rated minimum distance; if so, extend the corresponding outermost determination roads until they intersect, forming a closed area, which is the service area corresponding to the intelligent fire hydrant.
[0059] If not, then remove the identified road from the service area of the smart fire hydrant and return to reselect the outermost identified road.
[0060] The service area of a smart fire hydrant includes the outermost roads. Service areas are defined for each smart fire hydrant, and IC card access permissions are assigned to different work roads to ensure reasonable water volume distribution and prevent overuse and theft.
[0061] A2: Assign the corresponding smart fire hydrant hierarchical usage permissions to the IC card based on the registration information of the IC card.
[0062] Extract the specific usage data from the IC card registration information, obtain the usual route during use, and determine whether the usual route passes through the service area of the smart fire hydrant; if so, assign the corresponding level of access permission to the smart fire hydrant to the IC card; otherwise, end.
[0063] For example, the specific purpose of the IC card registration information is for road administration sprinkler trucks to replenish water. The system obtains the regular route traveled by the sprinkler truck corresponding to the IC card, determines whether the regular route passes through the service area of a certain smart fire hydrant, and if so, assigns the IC card the hierarchical access permission for the smart fire hydrant.
[0064] The tiered usage permissions of the IC card are determined based on its specific purpose and the historical maintenance status of the smart fire hydrant.
[0065] Tiered usage permissions include usage time and single water withdrawal volume. The specific process for setting tiered permissions is as follows:
[0066] B1: Extract the specific usage data from the IC card registration information, obtain the regular working time during use, and use the historical maximum value of the regular working time as the usage time period of the IC card for the corresponding smart fire hydrant.
[0067] For example, if the earliest time for the service area of a certain smart fire hydrant is 7:00 AM and the latest time is 12:00 PM, then the period from 7:00 AM to 12:00 PM is the time period assigned to the IC card for that smart fire hydrant.
[0068] The maximum single usage time is estimated based on the nature of the specific purpose and the water output of the smart fire hydrant. For example, based on the maximum capacity of the road administration sprinkler truck and the water output speed of the smart fire hydrant, the maximum time to fill the sprinkler truck is estimated. Assuming it takes 45 minutes to fill the truck, then 45 minutes is the maximum single usage time assigned to the IC card for the smart fire hydrant.
[0069] Setting a maximum usage time prevents personnel from leaving while filling the hydrant, which could lead to excessive water filling, wasting water in the hydrant, or affecting the use by other personnel.
[0070] B2: Set the single water usage limit for the IC card based on the historical maintenance data of the smart fire hydrant.
[0071] The maximum water consumption of the smart fire hydrant is determined based on historical maintenance data. For each individual smart fire hydrant, a minimum guaranteed water consumption is set to ensure its use in firefighting. The difference between the maximum water consumption and the minimum guaranteed water consumption is the amount of water available for card-based payment.
[0072] The number of IC cards in the same smart fire hydrant within the same usage period is counted, and the corresponding maximum water consumption is determined according to the specific purpose of the IC card. The maximum water consumption corresponding to the IC cards within the same time period is counted. If the sum of the maximum water consumption is less than or equal to the water available for card payment, the single water consumption of the IC card is allocated according to the maximum water consumption corresponding to the IC card.
[0073] If the maximum water consumption exceeds the available water consumption for card payments, the single water consumption of each IC card will be allocated according to the proportion of the maximum water consumption of each IC card.
[0074] B3: Set the water overdraft limit based on the IC card's credit score.
[0075] Establish the correspondence between credit value and overdraft amount.
[0076] W_f = a·R_c;
[0077] Where W_f is the overdraft amount; R_c is the credit value; and a is the proportional coefficient, which is a constant that can be set as needed. In this embodiment, the proportional coefficient a is 0.25, that is, if the initial credit value of each IC card is 10, the corresponding overdraft amount is 2.5 tons.
[0078] S3: Use an IC card to swipe and draw water from the smart fire hydrant. The smart fire hydrant determines the water access permission of the IC card offline, supplies water to the IC card with the right to draw water, and calculates the bill in real time.
[0079] S301: When a user uses an IC card to swipe at a smart fire hydrant to obtain water, the smart fire hydrant offline checks whether there is IC card authorization information in the smart fire hydrant; if so, proceed to step S302; otherwise, the smart fire hydrant sends confirmation information to the IoT management platform and determines whether water is being obtained based on the IC card authorization information fed back by the IoT management platform.
[0080] If the IoT management platform confirms that the IC card has the corresponding smart fire hydrant water access permission, it will send the corresponding permission information to the smart fire hydrant and proceed to step S302; otherwise, it will prompt that the user does not have permission to access water and end the process.
[0081] S302: The intelligent fire hydrant determines whether the IC card usage time is within the specified time period. If so, it starts water dispensing and billing; otherwise, it prompts that no water is available during that time period and ends the process.
[0082] S303: The intelligent fire hydrant supplies water in a limited time and quantity according to the hierarchical permission information of the IC card, and charges in real time, deducting money at the rated frequency (the refresh frequency in this embodiment is 1 time / second).
[0083] When swiping a card to dispense water, the intelligent fire hydrant controller offline determines whether the IC card is valid. If valid, the hydrant unlocks. After successful unlocking, water begins to flow, the float rises, and the flow meter module begins to measure the water usage for that session.
[0084] S4: After water withdrawal is completed, the smart fire hydrant uploads the water withdrawal bill to the IoT management platform. The IoT management platform then compiles the water withdrawal payment information for each IC card and reassigns IC card permissions.
[0085] The IoT management platform verifies the accuracy of the deduction based on the water bill, checks the IC card balance, and sends the bill and balance information to the user's mobile phone.
[0086] If the balance is negative, the credit timer will start after the balance information is sent. If the user fulfills the obligation in time within the set time and the number of timely fulfillment reaches 3 times, the credit value will be increased by 1 (until the credit value limit is reached); if the user fails to fulfill the obligation within the set time, one credit value will be deducted for every 3 days of delay.
[0087] The overdraft water function is disabled when the credit value is 0; if the credit value is less than or equal to -3, the water use permission of the IC card is disabled.
[0088] The solution in this embodiment solves the problem of difficult water metering in traditional fire hydrants by using a platform-authorized billing method.
[0089] It should be understood that the embodiments are for illustrative purposes only and are not intended to limit the scope of the invention. Furthermore, it should be understood that after reading the teachings of this invention, those skilled in the art can make various alterations or modifications to the invention, and these equivalent forms also fall within the scope defined by the appended claims.
Claims
1. A hydrant authentication water taking method, characterized in that, The method comprises the following steps: S1: registering information of the intelligent fire hydrant and information of the IC card in the Internet of Things management platform; S2: the Internet of Things platform authorizes the IC card according to the geographical position of the intelligent fire hydrant and the registration information of the IC card, and sends the authorization information to the corresponding intelligent fire hydrant; S3: using the IC card to take water from the intelligent fire hydrant, the intelligent fire hydrant offline determines the water taking right of the IC card, supplies water to the IC card with the water taking right, and charges in real time; S4: after the water taking is finished, the intelligent fire hydrant uploads the water taking bill to the Internet of Things management platform, the Internet of Things management platform counts the water taking payment of each IC card, and re-distributes the IC card right; The right distribution method comprises: dividing a service area according to the geographical position of the intelligent fire hydrant; assigning the IC card with the hierarchical use right of the corresponding intelligent fire hydrant according to the registration information of the IC card; extracting the specific use data in the IC card registration information, obtaining the routine path during use, and judging whether the routine path passes through the service area of the intelligent fire hydrant; if yes, the hierarchical use right of the corresponding intelligent fire hydrant is assigned to the IC card; otherwise, the process is ended; setting a preset radius around the intelligent fire hydrant to obtain a service radiation area; taking a road between two forked intersections as a section of road to obtain all the judging roads intersecting the service radiation area; respectively calculating the proportion of the part of each judging road in the service radiation area in the total length of the judging road; if the proportion is greater than or equal to a set classification proportion, the judging road is counted into the service range of the intelligent fire hydrant; otherwise, the judging road is excluded from the service range of the intelligent fire hydrant; after traversing all the judging roads, judging whether the corresponding outermost judging road in the service range of the intelligent fire hydrant can form a closed area; if yes, the closed area is the service area corresponding to the intelligent fire hydrant; otherwise, the shortest straight line distance between the adjacent outermost judging roads is obtained; judging whether the shortest straight line distance between the adjacent outermost judging roads is less than a rated minimum distance; if yes, the corresponding outermost judging road is respectively extended until the roads intersect, a closed area is formed, and the closed area is the service area corresponding to the intelligent fire hydrant; if not, the judging road is excluded from the service range of the intelligent fire hydrant, and the outermost judging road is reselected.
2. The hydrant authentication water retrieval method of claim 1, wherein, The information of the fire hydrant comprises a number, a geographical position, a construction time and a historical maintenance condition; the information of the IC card comprises a card number, a card holder, a balance, a credit value and a specific use.
3. The fire hydrant authentication water taking method according to claim 1, wherein the specific use data in the IC card registration information is extracted, the routine working time during use is obtained, and the historical maximum value of the routine working time is taken as the use time period of the IC card for the corresponding intelligent fire hydrant; the longest use time of a single time is estimated according to the nature of the specific use and the water output condition of the intelligent fire hydrant; the maximum water consumption of the intelligent fire hydrant is determined according to the historical maintenance condition, the number of the IC cards with the same use time period in the same intelligent fire hydrant is counted, and the corresponding maximum water consumption is judged according to the specific use of the IC card; The maximum water consumption sum corresponding to the IC card in the same period is counted, and if the maximum water consumption sum is less than or equal to the water consumption available for card consumption, the single water consumption of the IC card is allocated according to the maximum water consumption corresponding to the IC card; If the maximum water consumption sum is greater than the water consumption available for card consumption, the single water consumption of the IC card is allocated according to the proportion of the maximum water consumption of each IC card.
4. The fire hydrant authentication water taking method according to claim 1 or 3, characterized in that, According to the credit value of the IC card, the water overdraft limit is set; The corresponding relationship between the credit value and the overdraft water amount is set as follows: W_f = a * R_c; Wherein, W_f is the overdraft water amount; R_c is the credit value; a is the proportional coefficient.
5. The hydrant authentication water retrieval method of claim 1 or 3, wherein, The step S3 comprises the following processes: S301: When the user uses the IC card to take water from the intelligent fire hydrant, the intelligent fire hydrant judges whether there is the permission information of the IC card in the intelligent fire hydrant offline; if yes, it goes to step S302, otherwise, the intelligent fire hydrant sends confirmation information to the Internet of Things management platform, and judges whether to take water according to the feedback of the IC card permission information of the Internet of Things management platform; S302: The intelligent fire hydrant judges whether the use time of the IC card is within the specified time period, if yes, it proceeds to water charging; otherwise, it prompts that there is no right to take water in this time period, and ends; S303: The intelligent fire hydrant supplies water in time limit and quantity according to the hierarchical permission information of the IC card, and charges in real time at the rated frequency.
6. The hydrant authentication water retrieval method of claim 5, wherein, When taking water by card, the intelligent fire hydrant controller judges whether the IC card is valid offline, and opens the lock if it is valid. After the lock is successfully opened, the water is discharged, the float ball rises, and the flow meter module starts to measure the water consumption.
7. The hydrant authentication water retrieval method of claim 5, wherein, If the Internet of Things management platform confirms that the IC card has the corresponding intelligent fire hydrant water taking permission, it sends the corresponding permission information to the intelligent fire hydrant, and goes to step S302; otherwise, it prompts that there is no right to take water, and ends.
8. The fire hydrant authentication water taking method according to claim 6 or 7, characterized in that, The Internet of Things management platform confirms whether the deduction is correct according to the water taking bill, queries the balance of the IC card, and sends the bill and balance information to the user's mobile phone; If the balance is negative, it enters credit timing after sending the balance information, if the user performs the contract in time within the set time, and the number of timely performance reaches 3 times, the credit value +1; if the user performs the contract beyond the set time, deducts one credit value every 3 days; When the credit value is 0, the overdraft water function is disabled; If the credit value is less than or equal to -3, the water taking permission of the IC card is disabled.
Citation Information
Patent Citations
A water charging user management system and a management method based on an IC card
CN109409861A
Smart fire hydrant management method and system and storage medium
CN110279970A
Public water intaking system of intelligence municipal administration
CN204631497U