Safe box renting system
Technical Field
The invention relates to the technical field of security protection, in particular to a safe box renting system.
Background
As is well known, electronic code safes have been widely used in hotels, and are spreading to homes, schools, and enterprise dormitories. At present, no products and business models for renting strongboxes are available in enterprise dormitories and hospital wards. Generally, the method adopts a purchase mode to be used as a long-term individual or a short-term rented single safe box. Moreover, the passwords adopted by the safe boxes used by individuals are fixed passwords randomly set by the individuals, the fixed passwords set by the individuals can only be used for a single safe box, and cannot interact with other safe boxes or equipment through the product numbers of the safe boxes, so that a low operation cost mode of self-service lease, lease withdrawal at any time and free selection cannot be realized, the operation and management costs of the products are greatly increased, and the use and lease rate of the products is restricted.
Disclosure of Invention
The invention aims to provide a safe box renting system which realizes random password, time control and self-service renting and greatly improves the use efficiency. To solve one or more problems of the prior art.
The technical scheme for realizing the purpose is as follows:
a safe rental system comprising:
a personal terminal lease unit for issuing a lease application;
the system comprises a leasing management unit for accepting a leasing application, wherein the leasing management unit comprises an authorization code generation module and a sending module for feeding back an authorization code to a personal terminal leasing unit;
at least one safe unit with an authorization code input interface, the safe unit comprising: the device comprises a decryption module for reading the encrypted information of the input authorization code, a verification module for verifying the encrypted information, and a control module for password configuration and password verification after the verification of the encrypted information is passed.
In some embodiments, the lease application includes information: rental box number and rental time.
In some embodiments, the authorization code generation module encrypts the rental time using an encryption key corresponding to the rental box number to generate an authorization code;
the decryption module in the safe unit of the rental box number decrypts the authorization code by using the decryption key corresponding to the encryption key, and extracts the rental time;
and the verification module compares the lease time with the current time, and if the current time is within the lease time, outputs an instruction to the control module to release the use permission. Therefore, the safe box leasing controlled by random passwords and time is realized, self-service leasing is provided, and the operation and management cost of products is reduced.
In some embodiments, the safe unit further comprises a password entry unit comprising a password entry interface and a memory;
and after the encrypted information is verified, the control module empties the memory and stores the password from the password input interface and the lease time input from the verification module into the memory.
In some embodiments, the control module subsequently receives the password input from the password input interface, detects whether the current time is within the stored lease time, detects whether the received password is consistent with the password stored in the memory, and opens the safe use permission if the current time is within the stored lease time.
In some embodiments, the personal terminal rental unit includes:
the rental information input module is used for inputting the rental box number and the rental time;
the fee calculation module calculates the leasing fee according to the leasing box number and the leasing time; and
and the payment module is used for paying the rental fee to an external payment platform by a user and instructing the rental information entry module to send the rental box number and the rental time to the rental management unit after successful payment. By means of popularization of networks, smart phones and computers, management and payment efficiency is greatly improved, and the safe box renting has better operability.
In some embodiments, the safe unit further comprises a WIFI module for rental;
the leasing management unit also comprises a password memory connected with the authorization code generation module and used for storing WIFI access passwords of the WIFI modules corresponding to the leasing box numbers;
the lease information input module is also used for inputting lease WIFI information and sending the lease WIFI information to the authorization code generation module;
the authorization code generation module analyzes lease WIFI information, reads a corresponding WIFI access password according to a lease box number when a user leases WIFI, and feeds the WIFI access password back to the personal terminal lease unit through the sending module along with an authorization code;
and the fee calculation module calculates the lease fee according to the lease box number, the lease time and the lease WIFI information. And the user can conveniently rent WIFI and further collect rent.
In some embodiments, the safe unit further comprises: the safe box locking and unlocking device comprises a locking mechanism for opening/closing the safe box and an operation module for controlling the locking mechanism to unlock/lock according to the password verification result of the control module.
In some embodiments, the safe unit further comprises an electronic screen mounted on the exterior of the safe.
Drawings
Fig. 1 is a schematic view showing the construction of a safe rental system according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, the safe renting system of the present invention includes: a personal terminal rental unit 1, a rental management unit 2, and a plurality of safe units 3, wherein:
the personal terminal rental unit 1 is used for issuing a rental application. Namely: the user rents the safe through the personal terminal renting unit 1 and the personal terminal renting unit 1. The personal terminal leasing unit 1 is as follows: the user runs the rental software system through a mobile phone, a tablet computer and the like. Specifically, the personal terminal rental unit 1 includes: a rental information entry module 11, a fee calculation module 12, and a payment module 13, wherein,
the user inputs the rental box number and the rental time through the rental information input module 11; one rental box number corresponds to one encryption key, one decryption key, and one safe unit 3.
The fee calculating module 12 calculates the rental fee according to the rental box number and the rental time filled by the user, generally, the basic price (rental per day) of the safe of the selected box number is multiplied by the number of days, and of course, a more complicated calculating manner is possible according to actual conditions.
The payment module 13 is externally connected with a payment platform (such as a payment bank, a bank payment system and the like), a user pays rental fees through the payment module 13, after the payment succeeds, the payment module 13 receives related information about successful payment of the payment platform, at the moment, the payment module 13 sends an instruction to the rental information entry module 11, and the rental information entry module 11 sends a rental box number and rental time to the rental management unit 2 for next operation.
The rental management unit 2 is used to receive a rental application and is generally provided by a server. The rental management unit 2 includes an authorization code generation module 21 and a transmission module 22;
the authorization code generation module 21 receives the rental box number and the rental time sent by the rental information entry module 11, selects a corresponding encryption key according to the rental box number, encrypts the rental time by using the encryption key, and randomly generates an authorization code, wherein an encryption algorithm is a well-established technology. The sending module 22 sends the authorization code to the personal terminal rental unit 1 via the public network, from which the user knows his authorization code.
Each safe unit 3 has an authorization code input interface, and each safe unit 3 includes: a decryption module 31, an authentication module 32, a control module 33, a password input unit 34, a locking mechanism 35 for opening/closing the safe, and an operation module 36 for controlling the locking/unlocking of the locking mechanism 35. Wherein,
the user selects the corresponding safe unit 3 by the aid of the rental box number selected by the user, inputs the authorization code through the authorization code input interface, and transfers the authorization code to the decryption module 31. The decryption module 31 decrypts the authorization code by using a pre-stored decryption key corresponding to the encryption key, and extracts the lease time to the verification module 32. The verification module 32 compares the rental time with the current time, and if the current time is within the rental time, allows the user to register the use of the safe, i.e., outputs a registration instruction and the rental time to the control module 33. And if the current time is not within the lease time, not acting.
The password input unit 34 includes a password input interface and a memory.
The control module 33 is used for password configuration and password authentication. After receiving the registration instruction, the lease time and the password (generally, a digital password or a fingerprint password) received from the password input interface are stored in a memory to realize the configuration of the user password. Thereafter, the user may open the safe by entering a password during the rental time, as described below. If the other user inputs the authorization code for verification and passes and the control module 33 receives the registration instruction, the control module 33 clears the memory and stores the lease time and the password of the current user into the memory.
After the configuration of the user password is completed, the user inputs the password, the control module 33 checks whether the current time is within the lease time after receiving the password from the password input interface, if so, checks whether the received password is consistent with the password stored in the memory, and if so, outputs an unlocking command to the operation module 36, and the operation module 36 controls the locking mechanism 35 to unlock. Otherwise, none is active, i.e.: beyond the rental time, the user will not be able to use the safe and only re-rent the safe.
Further, in order to increase additional revenue and attract user rentals, WIFI functionality is provided. Specifically, a WIFI unit (not shown) providing a WIFI function is added to the safe unit 3, and the provided WIFI signal is provided with an access password. The lease management unit 2 is additionally provided with a password memory 23 connected with the authorization code generation module 21, and the password memory stores WIFI access passwords of all WIFI units corresponding to lease box numbers. The user fills in lease WIFI information through the lease information input module 11 and sends the lease WIFI information to the authorization code generation module 21; the authorization code generation module 21 analyzes the lease WIFI information, reads the corresponding WIFI access password according to the lease box number when the user leases WIFI, and then sends the WIFI access password to the personal terminal lease unit 1 together with the authorization code through the sending module 22. The user can use the WIFI through the received WIFI access password. Of course, the fee calculating module 12 calculates the rental fee according to the rental box number, the rental time and the rental WIFI information.
Further, the safe unit 3 further comprises an electronic screen arranged outside the safe for renting out the advertisement space.
In conclusion, the safe renting system provided by the invention can realize random password and time control and greatly improve renting use efficiency, compared with the traditional safe renting mode adopting fixed passwords.
The above is only one embodiment of the present invention, and it should be noted that, for those skilled in the art, several similar modifications and improvements can be made without departing from the inventive concept of the present invention, and these should also be considered as within the protection scope of the present invention.