Disclosure of Invention
In order to solve the technical problems in the prior art, the invention realizes the writing state of the key and the work card, and binds the key, the work card and the OA system to realize the intelligent management system of the key. The invention is realized by the following technical scheme:
a key distribution system comprises a key management module, a locker management module, an employee information management module and a work card management module,
the key management module is used for dynamically updating the key database and reflecting the key state in real time;
the storage cabinet management module is used for dynamically updating a storage cabinet database, reflecting the use condition of the storage cabinet in real time, and enabling the storage cabinet to be used for storing personal articles by staff;
the work card management module is used for dynamically updating a work card database and reflecting the use condition of the work card in real time;
the employee information management module is used for dynamically updating an employee information database and reflecting corresponding department information, account information, work card information, locker information and key information of the employee in real time.
Furthermore, the key distribution system is provided with an electromagnetic door lock on the locker, and the key distribution system remotely controls and authorizes the one-to-one matching relationship between the electromagnetic door lock and the work card by inquiring a locker database and a work card database. Attendance information (a record of card swiping in and out of a main entrance and exit), entrance guard card swiping information of each department, and entrance guard card swiping information of a production area or a scientific research experiment area are recorded in the work card database.
Further, the key distribution system further comprises a notification module, and the notification module is used for obtaining a result by querying a locker database and then notifying the specific placement position of the locker allocated to the employee. The storage cabinet database records information such as specific building number, specific floor, specific affiliation use department, electromagnetic door lock, allocated staff and the like of the storage cabinet.
Further, the key distribution system further comprises a remote control module, and the remote control module is used for assisting the staff to complete the operation of picking up, returning or replacing keys. Especially in the case of accidents: the cabinet door of the locker is abnormally closed in the operation process, and a system administrator is required to remotely assist, such as endowing the door opening authority again or dispatching other lockers to the staff.
The invention also provides three methods for distributing keys:
a method of key picking based on a key distribution system, the method steps comprising:
logging in the key distribution system with the identity (account number) of a certain gate employee;
applying for "picking up keys" to the key distribution system;
the key distribution system gives the employee's work card(s) the (one-time) right to open the corresponding locker; a key is put into the locker in advance, the corresponding key in the key database is in a storage state, and an electromagnetic door lock and a mechanical door lock of the Internet of things are arranged on a cabinet door of the locker.
And when the cabinet door of the locker is opened and closed for the first time, the key distribution system informs the key management module to modify the key state in the key database into 'received'.
Further, in the method for obtaining a key, before the key distribution system gives the worker card of the employee a (one-time) right to open the corresponding locker, the key distribution system notifies the employee information management module to query the employee information database, notifies the locker management module to query the locker database and notifies the key management module to query the key database, and determines that the locker corresponding to the department to which the employee belongs (nearby) is allocated to the employee with the key in the "in-store" state.
Further, in the method for getting keys, after the key distribution system gives the worker card of the employee a (one-time) right to open the corresponding locker, the notification module notifies the employee of the specific placement position of the locker allocated by the employee in a manner of short message or mail by querying a locker database.
A method of returning keys based on a key distribution system, the method steps comprising:
logging in the key distribution system with the identity (account number) of a certain gate employee;
applying for a "return key" to the recording key distribution system;
the key distribution system gives the employee's work card(s) the (one-time) right to open the corresponding locker;
and when the cabinet door of the locker is opened and closed by the industrial card, the key distribution system informs the key management module to change the state of the key in the key database into 'in-library'.
A rekeying method of a key distribution system, the method steps comprising:
logging in the key distribution system with the identity (account number) of a certain gate employee;
applying for a "rekeying" to the key distribution system;
the key distribution system acquires information of an original working post and a current working post of the employee;
the key distribution system gives the worker card of the employee a (one-time) right to open the locker which is distributed correspondingly;
when the originally distributed cabinet door of the locker is opened and closed by the industrial card, the key distribution system informs the key management module to modify the key state in the key database into 'in the library';
the key distribution system gives the employee's work card(s) the right to open the locker(s) to which the work card is currently distributed;
when the door of the locker which is distributed at present is opened and closed (for the first time), the key distribution system informs the key management module to modify the key state in the key database into 'received'.
Further, in the method for changing keys, after the worker card of the employee is given with (one-time) authority to open the corresponding locker which is distributed at present by the key distribution system, the notification module notifies the specific placement position of the locker which is distributed at present by the employee in a manner of short message or mail by inquiring a locker database.
The invention has at least one of the following beneficial effects:
1. the invention overcomes the technical problems of large workload, low efficiency and easy error of the original manual management.
2. The invention endows the key distribution system with the ability to intelligently query various databases, distribute corresponding staff and storage cabinets, and intelligently coordinate the actions of returning, getting or changing keys of the staff.
3. The invention greatly improves the working efficiency, improves the user satisfaction of the staff, invisibly provides convenience for the operation of the company and reduces the cost of switching between departments (between work posts).
4. The invention can realize that the front stage can carry out information synchronization, sharing and updating between the staff and the work card, between the staff and the storage cabinet, between the staff and the key, between the work card and the storage cabinet and between the key and the storage cabinet without obstacles, and the back stage is a multi-module multi-database collaborative work which is smooth and unimpeded.
5. The key distribution system provided by the invention has the advantages of high reliability and wide application range, and can realize controllable and visual process.
Detailed Description
In order to more clearly illustrate embodiments of the present invention or technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is apparent that the following description and the drawings are illustrative of the present invention and should not be construed as limiting the present invention. The following description describes numerous specific details to facilitate an understanding of the invention. However, in certain instances, well-known or conventional details are not described in order to meet the requirements of brevity.
In a typical computing hardware configuration of the present application, the client/terminal, the network device, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The client, the mobile terminal or the network equipment comprise a processor which comprises a single-core processor or a multi-core processor. A processor may also be referred to as one or more microprocessors, Central Processing Units (CPUs), and the like. More specifically, the processor may be a Complex Instruction Set Computing (CISC) microprocessor, Reduced Instruction Set Computing (RISC) microprocessor, Very Long Instruction Word (VLIW) microprocessor, processor implementing other instruction sets, or processors implementing a combination of instruction sets. The processor may also be one or more special-purpose processors, such as an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA), a Digital Signal Processor (DSP), a network processor, a graphics processor, a network processor, a communications processor, a cryptographic processor, a coprocessor, an embedded processor, or any other type of logic component capable of processing instructions. The processor is configured to execute the instructions of the operations and steps discussed herein.
The client, mobile terminal or network device of the present invention includes a memory for storing large data, and may include one or more volatile memory devices such as Random Access Memory (RAM), dynamic RAM (dram), synchronous dram (sdram), static RAM (sram), or other types of memory devices. The memory may store information, including sequences of instructions that are executed by the processor or any other device. For example, executable code and/or data for various operating systems, device drivers, firmware (e.g., input output basic system or BIOS), and/or application programs may be loaded into memory and executed by the processor.
The operating system of the client, the mobile terminal or the network device in the present invention may be any type of operating system, such as Windows, Windows Phone, IOS, Android, Linux, Unix operating system, or other real-time or embedded operating systems such as VxWorks.
In order to more clearly illustrate embodiments of the present invention or technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is apparent that the following description and the drawings are illustrative of the present invention and should not be construed as limiting the present invention. The following description describes numerous specific details to facilitate an understanding of the invention. However, in certain instances, well-known or conventional details are not described in order to meet the requirements of brevity. The apparatus and method of the invention are described in the following examples:
first embodiment
As shown in fig. 1, a schematic flow chart of a first embodiment of the present invention:
a key distribution system 1000 comprises a key management module 110, a locker management module 120, an employee information management module 130 and a work card management module 140,
the key management module 110 is configured to dynamically update a key database and reflect a key status in real time;
the locker management module 120 is used for dynamically updating a locker database, reflecting the use condition of the locker in real time, and allowing the locker to be used for personnel to store private articles;
the work card management module 140 is used for dynamically updating a work card database and reflecting the use condition of the work card in real time;
the employee information management module 130 is configured to dynamically update an employee information database, and reflect department information, account information, work card information, locker information, and key information corresponding to the employee in real time.
Preferably, the key distribution system is provided with an electromagnetic door lock 125 on the locker, and the key distribution system remotely controls and authorizes the one-to-one matching relationship between the electromagnetic door lock and the work card by querying a locker database and a work card database. Attendance information (a record of card swiping in and out of a main entrance and exit), entrance guard card swiping information of each department, and entrance guard card swiping information of a production area or a scientific research experiment area are recorded in the work card database.
The embodiment also provides a method for distributing keys, which comprises the following steps:
a method of returning keys based on a key distribution system, the method steps comprising:
g100: logging in the key distribution system with the identity (account number) of a certain gate employee;
g200: applying for a "return key" to the recording key distribution system;
g300: the key distribution system gives the employee's work card(s) the (one-time) right to open the corresponding locker;
g400: and when the cabinet door of the locker is opened and closed by the industrial card, the key distribution system informs the key management module to change the state of the key in the key database into 'in-library'.
Second embodiment
Preferably, the key distribution system further comprises a notification module 150, configured to obtain a result by querying a locker database, and then notify the employee of the specific location of the locker to which the employee is assigned. The storage cabinet database records information such as specific building number, specific floor, specific affiliation use department, electromagnetic door lock, allocated staff and the like of the storage cabinet.
Preferably, the key distribution system further comprises a remote control module 160 for assisting the employee in the operation of picking up, returning or replacing keys. Especially in the case of accidents: the cabinet door of the locker is abnormally closed in the operation process, and a system administrator is required to remotely assist, such as endowing the door opening authority again or dispatching other lockers to the staff.
The present embodiment also provides various methods of assigning keys:
a method of key picking based on a key distribution system, the method steps comprising:
y100: logging in the key distribution system with the identity (account number) of a certain gate employee;
y200: applying for "picking up keys" to the key distribution system;
y400: the key distribution system gives the employee's work card(s) the (one-time) right to open the corresponding locker; a key is put into the locker in advance, the corresponding key in the key database is in a storage state, and an electromagnetic door lock and a mechanical door lock of the Internet of things are arranged on a cabinet door of the locker.
Y600: and when the cabinet door of the locker is opened and closed for the first time, the key distribution system informs the key management module to modify the key state in the key database into 'received'.
Preferably, in the method for obtaining a key, before the key distribution system gives the employee's work card(s) the (one-time) right to open the corresponding locker, Y300: the key distribution system informs the employee information management module to inquire the employee information database, informs the locker management module to inquire the locker database and informs the key management module to inquire the key database, and determines to distribute the locker corresponding to (nearby) the department to which the employee belongs in the state that the key is in the "in-store" state to the employee.
Preferably, in the method for obtaining a key, after the key distribution system gives the employee's work card an (one-time) right to open the corresponding locker, Y500: the notification module notifies the specific placement position of the locker allocated to the employee in a short message or mail mode by inquiring the locker database.
Third embodiment
On the basis of the first and second embodiments, the present embodiment provides a key assignment method:
a rekeying method of a key distribution system, the method steps comprising:
s100: logging in the key distribution system with the identity (account number) of a certain gate employee;
s200: applying for a "rekeying" to the key distribution system;
s300: the key distribution system acquires information of an original working post and a current working post of the employee;
s400: the key distribution system gives the worker card of the employee a (one-time) right to open the locker which is distributed correspondingly;
s500: when the originally distributed cabinet door of the locker is opened and closed by the industrial card, the key distribution system informs the key management module to modify the key state in the key database into 'in the library';
s600: the key distribution system gives the worker card of the employee a one-time authority to open the storage cabinet which is distributed at present;
s700: when the door of the locker which is distributed at present is opened and closed (for the first time), the key distribution system informs the key management module to modify the key state in the key database into 'received'.
Preferably, in the method for changing keys, after the key distribution system gives the employee' S work card a one-time authority to open the locker which is distributed at present, S650: the notification module notifies the employees of the specific placement positions of the lockers distributed at present in a short message or mail mode by inquiring a locker database.
Fourth embodiment
All existing keys of a large-scale company are managed by an administrator, and the method has the following disadvantages:
1. when the staff only receives the key from the staff, the administrative staff needs to search for one key in the sea-like key stack, and the premise is that the key library of the staff is organized orderly without any error, time and labor;
2. staff's station adjustment needs key and lead the key again, and large batch key needs manual receipt and neatly be put in order in the warehouse to staff leads the key. The consequence of large workload is that people can only handle half of the returned keys when going to handle services, and the other half of the services can only be used for getting the keys when waiting for the keys needed by the people to be returned, but the people can not get the keys when getting the keys, and the people can wait for the transaction in a queue once and then get the keys until getting the keys, which is time-consuming and labor-consuming;
3. when the staff only returns the key, the staff needs to put the key into the sorted cabinet according to the previous sorting sequence, however, once the key is not correctly put into the corresponding position in the warehouse for any reason, the key may be lost, and the subsequent work is complicated and unsmooth.
The embodiment provides a conventional work card system, an OA system, a administrative (department) management system, a key management database and the like, and combines the system, the module and the database.
The advantages of this embodiment are mainly embodied in the following aspects:
(1) when a staff gets or returns a cabinet key, the system can self-service, only an OA system sheet is needed to be filled, the system is informed of the key service, the system can inform the staff whether the key is in a key library or not according to the submitted key number, then a worker can swipe a work card at a key management place, a main system can be automatically opened only according to the authority of the work card, and the key cabinet of a corresponding floor of a corresponding building number is directly taken out or put in just like a supermarket storage cabinet without any flow or manual participation of the service of the staff;
(2) when the staff adjusts the station, the department is generally changed greatly, at the moment, key service processors can finish the operation of returning and taking two items, the staff fills in an OA system sheet first, fills in a returning sheet and a getting sheet, the system can inform whether the key to be taken is stored in a warehouse or not, if so, the staff can go to the processing place and swipe the card, and the staff can return the key first, namely, the cabinet which must return the key is opened and returned after swiping the card for the first time; the procedure is the same as the above procedure when the key is received.
(3) After the key is returned or received each time, the key library is changed, because the B card is swiped, the system can rewrite the state of the corresponding number key, the state of the returned key becomes in the library, and after the key is received, the state is changed into the received state. The state of the key can effectively inform a transactor whether the business can be transacted completely, effectively eliminate the white running event and effectively eliminate the key loss event.
The embodiment realizes an intelligent key distribution management system. The technical scheme is that keys are firstly organized into a library, each number key has two states of 'in the library' and 'used', then a key cabinet is created by taking one floor as a unit, and the keys are placed in cabinets of floors corresponding to the floor number. When the staff transacts the key business, firstly, a return list or a pickup list is filled in the OA system, the key number information, the building number and the floor of the location of the cabinet are filled, if the key is picked up after the completion of the filling, the system can inform that the state of the number key is in the warehouse or the key is picked up, and the transactor balances whether to transact the business according to the state. And the system gives the work card a permission according to the floor information of the building number, namely the permission of opening the key cabinet of the corresponding floor of the building number. When the key is taken or returned independently, the service is simple, the card is swiped, the key can be returned or taken from the opened cabinet, the key is returned, the state of the key is changed from being taken to being in the warehouse correspondingly, and the state of the key is changed from being in the warehouse to being taken correspondingly;
the complex is that the card is returned, the system can give the worker the authority of two different cabinets, but the returned authority for opening the cabinet has high priority, namely the card is firstly popped up by swiping the card and is returned to the cabinet with the key, and then the cabinet with the key is used for transacting the key, and then the states of the keys are changed into corresponding states. Therefore, the business of returning or getting keys simply or returning and getting keys complexly can be finished by self, the flow is simple and quick, any manual participation is not needed, the phenomenon that the keys to be got are not in a warehouse for many times or time-consuming and labor-consuming phenomena such as queuing and waiting for many people are effectively eliminated, the keys are regularly placed in corresponding local cabinets, the phenomenon that the keys are lost can not occur any more, and all the keys are reasonably managed.
As shown in fig. 6, which is a block diagram illustrating a fourth embodiment of the present invention, the system for distributing and managing a smart key includes a work card system, an OA system, an administration (department) system, a key management database, and the like.
(1) Work card system
The work card is used for opening the cabinet by swiping the card, and the swiping of the card is effective only when the OA system gives the authority;
(2) OA system
In the filling of the service to be handled, returning or accepting or both, filling in the detailed information of the key number, the floor number and the like, and then giving the authority of opening the corresponding cabinet to the work card, the state of the corresponding key and the like by the system;
(3) administrative management (department) system
All keys of a management company are managed, a key cabinet and the keys are arranged at corresponding transaction sites, and card swiping machines are arranged at the transaction sites and are associated with an OA system. The administrator needs to complete the assistance when the employee handles the business, because the work card authority is only once, the employee needs to use the authority properly, and when an accident occurs in the middle, the administrator has the authority to cancel the bill information which is originally filled by the employee in the OA system, and the employee can handle the business again;
(4) key (management) database
All keys in the library have own codes and also have two states of 'in the library' and 'used', and the key database updates the key state information once after the staff transacts the business each time.
The following describes the whole execution flow completely, as shown in fig. 7, which is a schematic flow diagram of a fourth embodiment of the present invention:
(1) firstly, services are divided into three types, namely returning keys, getting keys, and returning and getting keys;
(2) secondly, filling in an OA system list which is also divided into three lists, corresponding to the number of the key, the existing detailed information such as the building number and the floor, and the like;
(3) the system can inform the state of the key according to the submitted information, and give the worker card the authority to open the cabinet corresponding to the key, only when the return and receiving business is transacted, the worker card has the authority of two cabinets, but the returned authority has high priority, namely, the worker card can only return the key first and then lead the key;
(4) then the user arrives at a corresponding transaction place, the card is swiped, the key is taken or put in a corresponding cabinet, the authority is only required to be once, and the user needs to contact with an administrator if an accident occurs.
Compared with the prior art, the embodiment has the following advantages
(1) When a staff gets or returns a cabinet key, the system can self-service, only an OA system sheet is needed to be filled, the system is informed of the key service, whether the key is in a key library or not according to the submitted key number, then a worker swipes a card in a key management place, the system can be automatically opened only according to the authority of the worker card, and the key cabinet of a corresponding floor corresponding to the building number is directly taken out or put in just like a supermarket storage cabinet without any flow and without manual participation of a worker in the service;
(2) when the staff adjusts the station, the department is generally changed greatly, at the moment, key service processors can finish the operation of returning and taking two items, the staff fills in an OA system sheet first, fills in a returning sheet and a getting sheet, the system can inform whether the key to be taken is stored in a warehouse or not, if so, the staff can go to the processing place and swipe the card, and the staff can only return the key first, namely, the first swiping of the card is that the cabinet for returning the key is opened and the card is returned completely, and then the key is taken, which is the same as the flow;
(3) after the key is returned or received each time, the key library is changed, because the card is swiped, the system can rewrite the state of the corresponding number key, the state of the returned key becomes in the library, and after the key is received, the state is changed into the received state. The state of the key can effectively inform a transactor whether the business can be transacted completely, effectively eliminate the white running event and effectively eliminate the key loss event.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned. Furthermore, it is obvious that the word "comprising" does not exclude other elements or steps, and the singular does not exclude the plural. A plurality of units or means recited in the apparatus claims may also be implemented by one unit or means in software or hardware. The terms first, second, etc. are used to denote names, but not any particular order.