The method and device of the automatic back delivery operations daily record of Intelligent key
Technical field
The present invention relates to Computer Applied Technology field, and in particular to a kind of side of the automatic back delivery operations daily record of Intelligent key
Method and device.
Background technology
In power system security field, master system is increasingly utilized at present Intelligent key is authorized with reality
Apply the security management and control to electric system.Although master system can authorize Intelligent key, held for Intelligent key
Go after operating and playbacking, operation log can not but obtain automatically in real time, can only obtain operation log by manual method.Manually
There are following defect for operation:1st, troublesome in poeration, operating personnel have performed task in Intelligent key and have given back after key, it is necessary to operate
Software systems could obtain the operation log of Intelligent key;2nd, operating personnel lack a sense of responsibility, and do not perform Intelligent key operation day
The back delivery operations of will, its operation log is capped when causing the Intelligent key to use next time.
The operation log of Intelligent key cannot be obtained in real time, cause master system can not grasp Intelligent key reality in real time
Operating result, causes a hidden trouble to power system security.
The content of the invention
A kind of Intelligent key that Intelligent key operation log can be returned automatically in real time present invention aims at offer returns automatically
The method for passing operation log.
Above-mentioned purpose is achieved through the following technical solutions:
A kind of method of the automatic back delivery operations daily record of Intelligent key, it is characterised in that including:Detection playback step, is used for
Master system detects the playback of Intelligent key;Connection Step is established, is built for master system with the Intelligent key to have playbacked
Vertical connection;Inquiry operation daily record step, the operation log of the Intelligent key to have playbacked for master system inquiry;Back delivery operations
Daily record step, for the operation log of the Intelligent key to have playbacked to be returned to master system.
As specific technical solution, further include and preserve operation log step, operation log is preserved for master system
And delete this operation log on the Intelligent key to have playbacked and generate the task of this operation log.
As specific technical solution, the specific detection mode of the detection playback step is:When Intelligent key is returned to
When on the key holder of adapter, master system reads the RFID clip informations of Intelligent key by com port, with real-time confirmation intelligence
Energy key has playbacked.
As specific technical solution, described to establish the connection that Connection Step is established be bluetooth connection.
It is described to establish the specific of Connection Step and establish mode and be as specific technical solution:Master system passes through reading
The RFID clip informations of Intelligent key are taken, match the Bluetooth address of the Intelligent key to have playbacked, and automatically turn on Bluetooth channels, with
The Intelligent key to have playbacked establishes bluetooth connection.
As specific technical solution, the operation log of the inquiry operation daily record step is that the Intelligent key to have playbacked is opened
Lock the daily record of operation.
As specific technical solution, the inquiry operation daily record step includes:Query task step, has returned for inquiring about
The task of the Intelligent key of position;Executed task step is inquired about, executed in the task for inquiring about the Intelligent key to have playbacked
Task;Unlocking operation daily record step is inquired about, unlocking operation task in the executed task for inquiring about the Intelligent key to have playbacked
Unlocking operation daily record.
As specific technical solution, the back delivery operations daily record step uses Bluetooth transmission.
Another object of the present invention is to provide a kind of Intelligent key that can return Intelligent key operation log automatically in real time certainly
The device of dynamic back delivery operations daily record.
Above-mentioned purpose is achieved through the following technical solutions:
A kind of device of the automatic back delivery operations daily record of Intelligent key, it is characterised in that including:Detection playback module, is used for
Master system detects the playback of Intelligent key;Link block is established, is built for master system with the Intelligent key to have playbacked
Vertical connection;Inquiry operation journal module, the operation log of the Intelligent key to have playbacked for master system inquiry;Back delivery operations
Journal module, for the operation log of the Intelligent key to have playbacked to be returned to master system.
As specific technical solution, further include and preserve operation log module, operation log is preserved for master system
And delete this operation log on the Intelligent key to have playbacked and generate the task of this operation log.
As specific technical solution, the specific detection mode of the detection playback module is:When Intelligent key is returned to
When on the key holder of adapter, master system reads the RFID clip informations of Intelligent key by com port, with real-time confirmation intelligence
Energy key has playbacked.
As specific technical solution, described to establish the connection that link block is established be bluetooth connection.
It is described to establish the specific of link block and establish mode and be as specific technical solution:Master system passes through reading
The RFID clip informations of Intelligent key are taken, match the Bluetooth address of the Intelligent key to have playbacked, and automatically turn on Bluetooth channels, with
The Intelligent key to have playbacked establishes bluetooth connection.
As specific technical solution, the operation log of the inquiry operation journal module is that the Intelligent key to have playbacked is opened
Lock the daily record of operation.
As specific technical solution, the inquiry operation journal module further includes:Query task unit, for inquiring about
The task of the Intelligent key of playback;Executed TU task unit is inquired about, has been held in the task for inquiring about the Intelligent key to have playbacked
Row task;Unlocking operation log unit is inquired about, unlocking operation times in the executed task for inquiring about the Intelligent key to have playbacked
The unlocking operation daily record of business.
As specific technical solution, the back delivery operations log device uses Bluetooth transmission.
The beneficial effect of the method and device of the automatic back delivery operations daily record of Intelligent key provided by the invention is:In real time
Ground, automatically return to master system by the operation log of the Intelligent key to have playbacked, prevents operation log from losing or postponing
Passback, makes master system grasp the practical operation of Intelligent key in real time as a result, providing safeguard for power system security.
Brief description of the drawings
Fig. 1 is the main flow chart of the method for the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention.
Fig. 2 is the inquiry operation daily record in the method for the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention
The flow chart of step.
Fig. 3 is that the main body of the device of the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention forms block diagram.
Fig. 4 is the inquiry operation daily record in the device of the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention
The composition block diagram of device.
Embodiment
As shown in Figure 1, the method for the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention includes:
S1:Detection playback step, the playback for master system detection Intelligent key;
S2:Connection Step is established, establishes and connects for master system and the Intelligent key to have playbacked;
S3:Inquiry operation daily record step, the operation log of the Intelligent key to have playbacked for master system inquiry;
S4:Back delivery operations daily record step, for the operation log of the Intelligent key to have playbacked to be returned to master system.
S5:Operation log step is preserved, operation log is preserved for master system and deletes the Intelligent key to have playbacked
On this operation log and generate the task of this operation log.
Wherein, the specific detection mode of detection playback step is:When Intelligent key is returned on the key holder of adapter,
Master system reads the RFID clip informations of Intelligent key by com port, has been playbacked with real-time confirmation Intelligent key.
It is bluetooth connection to establish the connection that Connection Step is established.It specifically establishes mode:Master system passes through reading
The RFID clip informations of Intelligent key are taken, match the Bluetooth address of the Intelligent key to have playbacked, and automatically turn on Bluetooth channels, with
The Intelligent key to have playbacked establishes bluetooth connection.
The operation log of inquiry operation daily record step is the daily record for the Intelligent key unlocking operation playbacked.As shown in Fig. 2,
Including:
S31:Query task step, for inquiring about the task of the Intelligent key to have playbacked;
S32:Executed task step is inquired about, executed task in the task for inquiring about the Intelligent key to have playbacked;
S33:Unlocking operation daily record step is inquired about, unlock behaviour in the executed task for inquiring about the Intelligent key to have playbacked
Make the unlocking operation daily record of task.
Back delivery operations daily record step uses Bluetooth transmission.
As shown in figure 3, the device of the automatic back delivery operations daily record of Intelligent key provided in an embodiment of the present invention includes:
Detection playback module 1, the playback for master system detection Intelligent key;
Link block 2 is established, establishes and connects for master system and the Intelligent key to have playbacked;
Inquiry operation journal module 3, the operation log of the Intelligent key to have playbacked for master system inquiry;
Back delivery operations journal module 4, for the operation log of the Intelligent key to have playbacked to be returned to master system.
Operation log module 5 is preserved, operation log is preserved for master system and deletes the Intelligent key to have playbacked
This operation log and generate the task of this operation log.
Wherein, the specific detection mode of detection playback module is:When Intelligent key is returned on the key holder of adapter,
Master system reads the RFID clip informations of Intelligent key by com port, has been playbacked with real-time confirmation Intelligent key.
It is bluetooth connection to establish the connection that link block is established.It specifically establishes mode:Master system passes through reading
The RFID clip informations of Intelligent key are taken, match the Bluetooth address of the Intelligent key to have playbacked, and automatically turn on Bluetooth channels, with
The Intelligent key to have playbacked establishes bluetooth connection.
The operation log of inquiry operation journal module is the daily record for the Intelligent key unlocking operation playbacked.As shown in figure 4,
Including:
Query task unit 31, for inquiring about the task of the Intelligent key to have playbacked;
Executed TU task unit 32 is inquired about, executed task in the task for inquiring about the Intelligent key to have playbacked;
Unlocking operation log unit 33 is inquired about, unlocking operation in the executed task for inquiring about the Intelligent key to have playbacked
The unlocking operation daily record of task.
Back delivery operations log device uses Bluetooth transmission.
The present invention is not limited to above-described embodiment, simple replacement based on above-described embodiment, not making creative work,
Should belong to the invention discloses scope.