CN114863593B - Control method and device for operation authority of coal mine equipment, computer key and server - Google Patents
Control method and device for operation authority of coal mine equipment, computer key and server Download PDFInfo
- Publication number
- CN114863593B CN114863593B CN202210473073.7A CN202210473073A CN114863593B CN 114863593 B CN114863593 B CN 114863593B CN 202210473073 A CN202210473073 A CN 202210473073A CN 114863593 B CN114863593 B CN 114863593B
- Authority
- CN
- China
- Prior art keywords
- equipment
- target
- state
- determining
- computer key
- 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
Links
Images
Classifications
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00571—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys operated by interacting with a central unit
-
- G—PHYSICS
- G07—CHECKING-DEVICES
- G07C—TIME OR ATTENDANCE REGISTERS; REGISTERING OR INDICATING THE WORKING OF MACHINES; GENERATING RANDOM NUMBERS; VOTING OR LOTTERY APPARATUS; ARRANGEMENTS, SYSTEMS OR APPARATUS FOR CHECKING NOT PROVIDED FOR ELSEWHERE
- G07C9/00—Individual registration on entry or exit
- G07C9/00174—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys
- G07C9/00896—Electronically operated locks; Circuits therefor; Nonmechanical keys therefor, e.g. passive or active electrical keys or other data carriers without mechanical keys specially adapted for particular uses
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/12—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
- H04L67/125—Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks involving control of end-device applications over a network
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Health & Medical Sciences (AREA)
- Computing Systems (AREA)
- General Health & Medical Sciences (AREA)
- Medical Informatics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Lock And Its Accessories (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention provides a method and a device for controlling the operation authority of coal mine equipment, a computer key and a server, which relate to the technical field of equipment control, and the method comprises the following steps: reading the lock code through a computer key; determining a function code corresponding to the lock code based on the corresponding relation between the lock code and the function code; generating an unlocking request based on the lock code and the function code and sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment through the server, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to a computer key based on the equipment state of the target switch equipment; the equipment state comprises a switching-on/off state and an authority releasing/limiting state; and receiving an unlocking authorization instruction sent by the server, and controlling the target wiring equipment to unlock. The mode realizes the unlocking mode from bottom to top, the complicated flow of firstly opening the operation ticket and then unlocking in the traditional mode is not needed, the flow is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
Description
Technical Field
The invention relates to the technical field of equipment control, in particular to a method and a device for controlling operation authority of coal mine equipment, a computer key and a server.
Background
In the field of coal mine safety operation, operations such as power cut and transmission, maintenance and the like need to be carried out on electrical equipment. In the related technology, a management mode of ' people's air defense + system ' is mainly adopted to ensure the safety of electrical equipment and operators. Specifically, the ticket-drawing personnel manually draw a drawing ticket, the accuracy of the drawing ticket depends on the technical level, experience and responsibility of the ticket-drawing personnel, the judgment of the misoperation-preventing rule is lacked, the possibility of misoperation is high, the process is complicated, and the efficiency is low; in an emergency, an operator controls the electrical equipment by relying on the master key, the operation randomness is high, the possibility of misoperation is further increased, and the safety of the electrical equipment and the operator is difficult to effectively guarantee.
Disclosure of Invention
In view of the above, the present invention provides a method and an apparatus for controlling operation permission of a coal mine device, a computer key and a server, so as to avoid a complicated process of opening an operation ticket before unlocking in a conventional manner, make the process simple and efficient, accurately and reasonably control unlocking of the device, and ensure safety of the device and operators.
In a first aspect, an embodiment of the present invention provides a method for controlling an operation authority of a coal mine equipment, where the method is applied to a computer key; the method comprises the following steps: reading the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment and determining the equipment state of the target switch equipment through the server, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the equipment states of the target switch equipment comprise an on-off state and an authority release/limit state; and receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device.
Before the step of reading the lock code by the computer key, the method further comprises: receiving an unlocking instruction through a function selection interface of a computer key; or, receiving an unlocking instruction issued by the server; the server generates an unlocking instruction based on preset equipment scheduling information.
After the step of receiving an unlocking authorization instruction sent by the server, controlling the target device to unlock and open the operation authority for the target device, the method further includes: acquiring an operation record aiming at target wiring equipment; and sending the operation record to the server so as to update the equipment state of the target wiring equipment based on the operation record through the server.
Before the step of reading the lock code by the computer key, the method further comprises: reading a plurality of lock codes through a computer key, and acquiring a function code of equipment corresponding to each lock code; and setting the lock code and the function code of the same equipment to have a corresponding relation, and obtaining the corresponding relation of the pre-stored lock code and the function code.
In a second aspect, the embodiment of the invention provides a method for controlling the operation authority of coal mine equipment, which is applied to a server; the method comprises the following steps: receiving an unlocking request from a computer key; wherein, the unlocking request is generated by the computer key through the following modes: reading the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code; determining target wiring equipment and target switch equipment in the target equipment, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to a computer key based on the equipment state of the target switch equipment so as to control the target wiring equipment to be unlocked and open the operation authority aiming at the target wiring equipment through the computer key; the device state of the target switch device comprises an on-off state and an authority releasing/limiting state.
Before the step of receiving an unlocking request from a computer key, the method further includes: generating an unlocking instruction based on preset equipment scheduling information; sending an unlocking instruction to a computer key; the unlock instruction is to: controlling the computer key to read the lock code.
The step of determining a target wiring device and a target switching device in the target device, and determining a device state of the target switching device includes: extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as the target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining a device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determines the device status of the target switching device.
The equipment state real-time library in the server records the equipment state of the target switch equipment; the step of determining the device state of the target switching device includes: and inquiring the on-off state of the target switch equipment from the equipment state real-time library.
The step of sending the unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment comprises the following steps: judging whether the on-off state of the target switch device is an off-position state; if the unlocking authorization instruction is in the position division state, after the permission release/restriction state of the target switch equipment is set to be the permission restriction state, an unlocking authorization instruction is sent to the computer key; wherein, the unlocking authorization instruction comprises: the method comprises the steps of command number, locking code of target wiring equipment, unlocking time range, current state and post-operation state of the target wiring equipment.
If the computer key is in the split state, before the step of sending the unlocking authorization instruction to the computer key, the method further comprises the following steps: setting the permission release/restriction state of the target switch device as a permission restriction state; wherein, in the permission restriction state, the server rejects the operation task request for the target switching device.
The method further comprises the following steps: if the on-off state of the target switch device is the on-position state, generating alarm information; sending the alarm information to a computer key so as to display and/or play the alarm information through the computer key; wherein the alarm information is used for: indicating that the target wiring device is not allowed to be unlocked.
After the step of sending the unlocking authorization instruction to the computer key based on the device state of the target switch device, the method further includes: receiving an operation record aiming at the target wiring equipment sent by a computer key; and updating the equipment state of the target wiring equipment based on the operation record.
After the step of receiving the operation record aiming at the target wiring device sent by the computer key, the method further comprises the following steps: the authority release/restriction state of the target switching device is set to the authority release state.
In a third aspect, an embodiment of the present invention provides a control device for operation permission of coal mine equipment, where the control device is arranged on a computer key; the device comprises: the lock code reading module is used for reading the lock code through a computer key; the function code determining module is used for determining a function code corresponding to the lock code based on the corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the equipment type of the target equipment corresponding to the locking code; the unlocking request module is used for generating an unlocking request based on the lock code and the function code, sending the unlocking request to the server, determining target wiring equipment and target switch equipment in the target equipment through the server, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises an on-off state and an authority release/limit state; and the unlocking module is used for receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device.
In a fourth aspect, an embodiment of the present invention provides a control device for operation permission of coal mine equipment, where the control device is disposed in a server; the device comprises: the request receiving module is used for receiving an unlocking request from a computer key; the unlocking request is generated by a computer key through the following modes: reading the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code; the instruction sending module is used for determining target wiring equipment and target switch equipment in the target equipment, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment so as to control the target wiring equipment to be unlocked and open the operation authority aiming at the target wiring equipment through the computer key; the device state of the target switch device comprises an on-off state and an authority releasing/limiting state.
In a fifth aspect, an embodiment of the present invention provides a computer key, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the method for controlling the operation authority of the coal mine equipment.
In a sixth aspect, an embodiment of the present invention provides a server, which includes a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the method for controlling the operation authority of the coal mine equipment.
In a seventh aspect, an embodiment of the present invention provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the method for controlling the operation authority of the coal mine equipment or the method for controlling the operation authority of the coal mine equipment.
The embodiment of the invention has the following beneficial effects:
according to the control method and device for the operation authority of the coal mine equipment, the computer key and the server, the lock code is read through the computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment and determining the equipment state of the target switch equipment through the server, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises an on-off state and an authority release/limit state; and receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device. In the method, the lock code and the function code are read by the computer key, the unlocking request of the equipment is sent to the server, and the server returns an unlocking authorization instruction to the computer key according to the equipment state of the target switch equipment so as to unlock the target wiring equipment. The bottom-up unlocking mode does not need a complicated process of firstly opening an operation order and then unlocking in the traditional mode, the process is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objectives and other advantages of the invention will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the embodiments or the prior art descriptions will be briefly described below, it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a method for controlling operation authority of coal mine equipment according to an embodiment of the present invention;
fig. 2 is a flowchart of another method for controlling the operation authority of coal mine equipment according to an embodiment of the present invention;
fig. 3 is a schematic diagram illustrating a multi-party interaction of a method for controlling operation authority of coal mine equipment according to an embodiment of the present invention;
fig. 4 is a flowchart of a specific example of a method for controlling operation authority of coal mine equipment according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of a control device for controlling operation authority of coal mine equipment according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of another coal mine equipment operation authority control device according to an embodiment of the invention;
fig. 7 is a schematic diagram of a computer key or a server according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some, but not all embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The existing electrical operation in the coal mine industry, including power cut and transmission, maintenance operation and the like, mostly depends on a paper handwritten operation ticket, an operator operates at a corresponding explosion-proof switch or a cable junction box according to personal experience and naked eye identification, the misoperation possibility is high, the safety cannot be guaranteed, and particularly, safety guarantee measures are hardly provided for the misoperation-preventive locking and operation of an underground cable junction box. Specifically, the following problems mainly exist:
(1) The operation ticket adopts a manual simulation mode, the accuracy of the operation ticket completely depends on the technical level, experience and responsibility of ticket simulating personnel, and the judgment of error-preventing rules is lacked.
(2) In the mode, switching operation needs to be simulated and approved on the graph and transferred to a computer key, and an operator can operate on the site, so that the process is complicated and the efficiency is low.
(3) Aiming at emergency operation in emergency repair under disaster conditions or in the case that the switching operation ticket cannot be opened at present, the unlocking operation executed by operating personnel mostly depends on a master key, the randomness is relatively high, the possibility of misoperation is increased sharply under the conditions of tension and confusion, and the safety cannot be guaranteed.
(4) The on-off state of the power point switch associated with the junction box or the number of all the junction boxes under the same power point switch depends on personal experience or conventional point counting, and the conditions of error and leakage often exist.
To sum up, in the electrical operation of the coal mine, the traditional management mode of people's air defense + system has complex flow and low efficiency, and the safety of electrical equipment and operating personnel is difficult to be effectively ensured, so that the safety guarantee requirement of the current intelligent coal mine construction can not be met. Based on this, the embodiment of the invention provides a method and a device for controlling the operation authority of coal mine equipment, a computer key and a server.
Firstly, referring to a flow chart of a control method of coal mine equipment operation authority shown in fig. 1, the method is applied to a computer key; the computer key can comprise a shell, an unlocking module and a control unit; the control unit is arranged in the shell, the unlocking module is arranged at the top end part of the shell and extends out of the shell, the unlocking module comprises a driving element and a magnetic component, the driving element is connected with the control unit, and the magnetic component is in driving connection with the driving element; during unlocking, the control unit identifies the lock cylinder, after identification is completed, the control unit sends an action instruction to the driving element, the magnetic part pushes out the magnetic marble which is close to the magnetic part in the lock cylinder under the driving of the driving element, and the magnetic marble of the lock cylinder releases the rotation limit of the lock cylinder through magnetic acting force. The lock core is located in a lock matched with a computer key, and the lock can be installed on the target device in the embodiment.
The control method of the coal mine equipment operation authority comprises the following steps:
step S101, reading a lock code through a computer key;
the operator inserts the computer key into a piece of equipment in a handheld manner, and before the computer key usually receives an unlocking instruction, the unlocking instruction can be sent out by the operator through a function selection interface in the computer key or can be sent out remotely by a server. After a computer key is inserted into a lockset arranged on one device, the lock code of the device can be read. In practical implementation, the devices and the locking codes may correspond to each other, that is, each device has a unique locking code, so that the devices are uniquely identified by the locking codes.
Step S102, determining a function code corresponding to the lock code based on the corresponding relationship between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code;
before the electronic key is applied, the lock code and the function code of the equipment in a certain range need to be input and stored in the electronic key, and the corresponding relation between the lock code and the function code is obtained; the function code is used for indicating the equipment type of the equipment; the function codes of a plurality of devices of the same type are the same. After the electronic key reads the lock code of one device, the function code of the device can be inquired from the corresponding relation based on the lock code of the device.
Step S103, an unlocking request is generated based on the lock code and the function code, the unlocking request is sent to a server, so that target wiring equipment and target switch equipment in the target equipment are determined through the server, the equipment state of the target switch equipment is determined, and an unlocking authorization instruction is sent to a computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises an on-off state and an authority release/limit state;
specifically, format conversion may be performed on the lock code and the function code to obtain the unlocking request, where the unlocking request carries the lock code and the function code, and the unlocking request is used to request the server to unlock the target device corresponding to the lock code, so that an operator may perform certain operations on the target device, such as maintaining and changing the device state. After receiving the unlocking request, the server needs to determine target wiring equipment and target switch equipment in the target equipment; generally, the lock code and the device have a one-to-one correspondence relationship, and the target device currently operated by the computer key can be determined through the lock code. The target devices include target wiring devices and target switch devices, and generally one target wiring device can be connected with one or more target switch devices. And obtaining the connection relation between the target wiring equipment and the target switch equipment through the line topological relation. The device status of the target switching device is then queried. In actual implementation, the server stores the equipment state of each switching device, wherein the on-off state is used for indicating whether the target switching device is in the on-off state or the on-off state currently; the authority release/restriction state is used to indicate whether the target switching device can be operated, and includes an authority release state in which the target switching device is allowed to be operated, and an authority restriction state in which the target switching device is not allowed to be operated. After the server inquires the equipment state of the target switch equipment, whether an unlocking authorization instruction is sent to the computer key or not can be determined according to the equipment state.
And step S104, receiving an unlocking authorization instruction sent by the server, controlling the target wiring equipment to unlock and starting the operation authority aiming at the target wiring equipment.
If the equipment state of the target switch equipment allows the target wiring equipment to be unlocked and perform related operations, the server sends an unlocking authorization instruction to the computer key, and the computer key can control the target wiring equipment to be unlocked after receiving the unlocking authorization instruction. Specifically, the unlocking authorization instruction not only includes information for unlocking the target wiring device, but also includes related information for operating the target wiring device, for example, information for allowing the target wiring device to be operated, and information such as a time range for unlocking the target wiring device, a current device state, a device state after operation, and the like, so as to guide an operator to correctly operate the target device, and ensure the safety of the operator and the target device.
The control method of the operation authority of the coal mine equipment reads the lock code through the computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment and determining the equipment state of the target switch equipment through the server, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the equipment states of the target switch equipment comprise an on-off state and an authority release/limit state; and receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device. In the method, the lock code and the function code are read by the computer key, the unlocking request of the equipment is sent to the server, and the server returns an unlocking authorization instruction to the computer key according to the equipment state of the target switch equipment so as to unlock the target wiring equipment. The bottom-up unlocking mode does not need a complicated process of firstly opening an operation order and then unlocking in the traditional mode, the process is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
Further, in the control mode of the operation authority of the coal mine equipment in the embodiment, the computer key can also realize the following functions. Firstly, the computer key can receive an unlocking instruction in the following two ways: receiving an unlocking instruction through a function selection interface of a computer key; or, receiving an unlocking instruction issued by the server; the server generates an unlocking instruction based on preset equipment scheduling information.
The computer key can be provided with a display screen, and a function selection interface of the computer key is displayed through the display screen, wherein the function selection interface comprises multiple functions which can be realized by the computer key. The operator can select the unlocking function from the function selection interface, and at the moment, an unlocking instruction can be sent to the computer key. In another mode, the server can have an intelligent ticket forming function, and intelligently analyzes according to the equipment scheduling information to obtain which equipment needs to be operated, so that an unlocking instruction is generated, and then the unlocking instruction is sent to the computer key.
After receiving the unlocking authorization instruction, the computer key can control the target equipment to be unlocked, after unlocking, an operator can operate the target wiring equipment, after the operation is finished, the operator can input an operation record aiming at the target wiring equipment into the computer key, and at the moment, the computer key obtains the operation record aiming at the target wiring equipment; and sending the operation record to the server so as to update the equipment state of the target wiring equipment based on the operation record through the server.
It can be known from the above embodiments that the computer key needs to store the corresponding relationship between the lock code and the function code, and therefore, the computer key needs to learn about the devices within a certain range. Specifically, a plurality of lock codes are read through a computer key, and a function code of equipment corresponding to each lock code is obtained; and setting the lock code and the function code of the same equipment to have a corresponding relation, and obtaining the corresponding relation between the pre-stored lock code and the function code.
The computer key needs to acquire the lock code of each device within a certain range, and then acquires the function code of the device corresponding to each lock code. Meanwhile, the computer key can also learn other equipment information of the equipment. The function code of the equipment can be obtained from the server or input by staff. In the computer key, the lock codes and the function codes of the same equipment are in one-to-one correspondence to obtain the corresponding relation between the lock codes and the function codes of each equipment.
The following embodiment will continue to describe the control method of the operation authority of the coal mine equipment in the embodiment from the perspective of the server. As shown in fig. 2, the control method for the operation authority of the coal mine equipment is applied to a server; the method comprises the following steps:
step S201, receiving an unlocking request from a computer key; wherein, the unlocking request is generated by a computer key through the following modes: reading the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the equipment type of the target equipment corresponding to the locking code; generating an unlocking request based on the lock code and the function code;
step S202, determining target wiring equipment and target switch equipment in the target equipment, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to a computer key based on the equipment state of the target switch equipment so as to control the target wiring equipment to be unlocked and open the operation authority aiming at the target wiring equipment through the computer key; the device state of the target switch device comprises an on-off state and an authority releasing/limiting state.
In practical implementation, the computer key may establish a communication connection with the server through a Wireless communication manner such as WiFi (Wireless Fidelity), and send an unlocking request to the server, so as to receive an unlocking authorization instruction of the server.
According to the control method of the operation authority of the coal mine equipment, the lock code and the function code are read through the computer key, the unlocking request of the equipment is sent to the server, and the server returns the unlocking authorization instruction to the computer key according to the equipment state of the target switch equipment so as to unlock the target wiring equipment. The bottom-up unlocking mode does not need a complicated process of firstly opening an operation order and then unlocking in the traditional mode, the process is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
As described in the previous embodiments, the server may send an unlock command to the computer key. Specifically, an unlocking instruction is generated based on preset equipment scheduling information; sending an unlocking instruction to a computer key; the unlock instruction is to: controlling the computer key to read the lock code.
In actual implementation, the server can intelligently analyze and obtain which device needs to be operated according to the operation relation, the operation state and the like of each device in the electrical device system, obtain the device scheduling information, further generate an unlocking instruction for the device needing to be operated, and send the unlocking instruction to the computer key.
The server determines a target wiring device and a target switch device in the target device, and determines a device state of the target switch device, which may be specifically implemented by: extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as the target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining the device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determines the device status of the target switching device.
In one example, if the function code is 0x01, the device type may be determined to be a switching device, and if the function code is 0x02, the device type may be determined to be a wiring device. For a switching device, the switching device is a target switching device in a target device, and a wiring device connected with the switching device is a target wiring device in the target device, and the on-off state of the target switching device is acquired; for the wiring device, the wiring device is a target wiring device in the target device, and the switching device connected with the wiring device is a target switching device in the target device, so as to acquire the on-off state of the target switching device.
In a specific implementation manner, the device state of the target switch device is recorded in a device state real-time library in the server; and inquiring the on-off state of the target switch device from the device state real-time library to obtain the device state of the target switch device. The device status real-time library records the current device status of each device, for example, for each switching device, the real-time library records whether each switching device is in an on-position status or an off-position status.
When an unlocking authorization instruction is sent to a computer key based on the equipment state of the target switch equipment, firstly, whether the on-off state of the target switch equipment is in a split state or not is judged; if the unlocking authorization instruction is in the position division state, after the permission release/restriction state of the target switch equipment is set to be the permission restriction state, an unlocking authorization instruction is sent to the computer key; wherein, the unlocking authorization instruction comprises: the method comprises the steps of command number, locking code of target wiring equipment, unlocking time range, current state and post-operation state of the target wiring equipment.
If the on-off state of the target switch device is the off-position state, the target wiring device can be understood to be in the power-off state, and at the moment, an unlocking authorization instruction is sent to the computer key; if the computer key is in the on-position state, the target wiring device can be understood to be in the power-on state, and the target wiring device cannot be operated at the moment, a related instruction of refusing unlocking is sent to the computer key, and an alarm prompt is carried out.
The unlocking authorization instruction comprises the following steps: the method comprises the steps of command number, locking code of target wiring equipment, unlocking time range, current state and post-operation state of the target wiring equipment. The instruction numbers correspond to the unlocking authorization instructions one by one, namely the unique numbers of the unlocking authorization instructions. The unlocking time range may be a specified time duration, such as 20 minutes and 30 minutes, or may be a time interval, such as 12. When the unlocking time range is exceeded, the server or the computer key can generate alarm information to prompt relevant personnel that the unlocking operation of the current target wiring equipment is overtime and abnormal. The current state of the target wiring device can be used for checking whether the actual state of the target wiring device before operation is matched with the current state in the unlocking authorization instruction by an operator, if the actual state of the target wiring device before operation is not matched with the current state in the unlocking authorization instruction, the state of the target wiring device is abnormal, and the operator can temporarily not operate the target wiring device so as to avoid harm to an operator or the target wiring device. The post-operation state can be used for indicating a specific operation mode of an operator on the target wiring device, and for checking whether the real state of the target wiring device is matched with the post-operation state in the unlocking authorization instruction or not after the operation is finished by the operator, and if the real state is not matched with the post-operation state in the unlocking authorization instruction, the operator can continue to operate the target wiring device until the target wiring device reaches the post-operation state in the unlocking authorization instruction.
Furthermore, after the target switch device is determined to be in the off-position state, before an unlocking authorization instruction is sent to the computer key, the permission release/restriction state of the target switch device is required to be set to be in the permission restriction state; wherein, in the permission restriction state, the server rejects the operation task request for the target switching device. Before the server sends an unlocking authorization instruction to the current computer key, the target switch device is set to be in an authority limit state, and then if the server receives an unlocking request for the target wiring device again, the server refuses the unlocking request and does not allow other workers to operate the target switch device any more.
Further, if the equipment state of the target switch equipment is in a closed position state, generating alarm information; sending the alarm information to a computer key so as to display and/or play the alarm information through the computer key; wherein the alarm information is used for: indicating that the target wiring device is not allowed to be unlocked. The equipment state of the target switch equipment is in a closed position state, if the target wiring equipment is operated at the moment, the damage to an operator is possibly caused, at the moment, alarm information is sent to a computer key, the alarm information can comprise the equipment state so as to prompt the operator that an unlocking request is refused by a server, and the target wiring equipment is not allowed to be unlocked at present. The alarm information can be displayed on a display screen of a computer key and also can be played through voice to prompt operating personnel in multiple aspects.
After the server sends an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment, an operator can send an operation record aiming at the target wiring equipment through the computer key, and at the moment, the server receives the operation record aiming at the target wiring equipment sent by the computer key; and updating the equipment state of the target wiring equipment based on the operation record. The operation record may include the latest device status of the target device operated by the operator, and at this time, the server extracts the device status from the operation record and stores the device status in the device status real-time library.
After receiving the operation record aiming at the target wiring equipment and sent by the computer key, the server can think that the operation aiming at the target wiring equipment is finished, and at the moment, the authority release/limit state of the target switching equipment is set to be an authority release state; in the authority release state, the target switching device may be operated.
Fig. 3 is a schematic diagram illustrating a multi-party interaction of a method for controlling operation permission of coal mine equipment according to the embodiment, where the method for controlling operation permission of coal mine equipment is implemented by interacting a computer key and a server, and specifically includes the following steps:
step S301, receiving an unlocking instruction through a function selection interface of a computer key;
step S302, reading a lock code through a computer key;
step S303, determining a function code corresponding to the lock code based on the corresponding relation between the pre-stored lock code and the function code;
step S304, generating an unlocking request based on the lock code and the function code, and sending the unlocking request to a server;
step S305, the server extracts the function code of the target equipment from the unlocking request and determines the equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as the target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining the device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determines the device status of the target switching device.
Step S306, judging whether the on-off state of the target switch device is an off-position state; if the state is the position division state, setting the permission release/restriction state of the target switch equipment as the permission restriction state, and sending an unlocking authorization instruction to the computer key; wherein, the unlocking authorization instruction comprises: the method comprises the steps of command number, locking code of target wiring equipment, unlocking time range, current state and post-operation state of the target wiring equipment.
Step S307, if the on-off state of the target switch device is the on-position state, the server sends alarm information to the computer key; ending the flow;
step S308, the computer key receives an unlocking authorization instruction sent by the server, controls the target wiring device to unlock and starts the operation authority aiming at the target wiring device;
step S309, the computer key acquires an operation record aiming at the target wiring equipment and sends the operation wiring record to a server;
step S310, a server receives an operation record aiming at the target wiring equipment and sent by a computer key; updating the equipment state of the target wiring equipment based on the operation record; and setting the authority release/limit state of the target switch device as an authority release state.
In the interaction process of the computer key and the server, the computer key and the server perform data interaction based on a wireless network, so that the operation flows of simulating invoicing, summons and the like are simplified; the computer key requests the server to perform error check prevention in real time according to the equipment state, so that the operation safety is ensured; the server locks the operation authority of the automatic associated switch of the operation of the junction box without manually searching the on-off state of the switch equipment; the server automatically calculates the topology, determines the switching equipment associated with the junction box equipment, and does not need to manually write a logic formula; the computer key and the server can automatically generate an authorization task without performing simulated invoicing operation, so that the control method for the operation authority of the coal mine equipment provided by the embodiment has simple and efficient operation flow, and simultaneously ensures the safety of operators and equipment.
For further understanding of the embodiment, the following provides a specific implementation manner of the control method for the operation authority of the coal mine equipment.
The computer key in the embodiment is a handheld device, can be used for handheld error-prevention terminal equipment, is a universal computer key, and is used for transmitting information of electrical equipment and the like in an operation station or in a certain range to the computer key by using the self-learning function of the computer key before use. If the information of equipment and the like of one operation station is not changed, the computer key can be permanently used only by self-learning once. When the misoperation prevention is carried out, the five-prevention system is communicated and interacted, and various on-site locksets are operated strictly according to the misoperation prevention rule.
The computer key in the embodiment has the following functional characteristics: the lock has a code collecting function, and can unlock and detect various locks; the task and the operation record information can be recorded and browsed; the ticket issuing machine has the functions of self-learning, memorizing, lock code checking, ticket issuing, ticket clearing, current ticket stopping and the like; there are a variety of advanced data transfer modules, such as: the computer key comprises a high-speed InfRared Data Association (IRDA) module, a wireless communication module, low-function Bluetooth, wireless mobile communication and the like, wherein the modules contained in the computer key can be specifically selected and matched as required; having a mandarin voice prompt; friendly man-machine interaction interface.
As shown in fig. 4, the method for controlling the operation authority of the coal mine equipment of the embodiment includes the following steps:
step 401, entering and displaying a function selection interface by a computer key; specifically, after the computer key is started, the computer key enters an unlocking function interface, and the computer key waits for the next operation.
Step 402, inserting a computer key into the equipment, and reading the lock code of the equipment; specifically, a computer key is inserted into a code slice hole of the equipment, the computer key reads a code locking value of the equipment and judges whether the equipment type of the equipment is junction box equipment or switch equipment; the locking code value here corresponds to the locking code in the previous embodiment;
step 403, the computer key sends an unlocking request containing the lock code and the function code to a server corresponding to the PC system;
this PC system can be understood as operating system, and the computer key passes through the WIFI communication mode, connects the PC system, will read and send to the PC system on equipment's the lock code value and the function code. The function code is a type value for defining a currently operating device, and for example, a switching device may be represented by 0x01 and a junction box device may be represented by 0x 02. After the computer key reads the lock code of the equipment, the function code corresponding to the equipment is matched in the self-learning data model, and the lock code value and the function code are uploaded to the server.
Step 404, the server responds to the unlocking request; specifically, the PC system running in the server responds to an unlocking request issued by a computer key. This unlocking request corresponds to the unlocking request in the foregoing embodiment.
In step 405, the server determines the function code.
The server judges the function code in the requested data, if the function code is 0x01, the function code indicates that the current computer key is operated by the switch device, and if the function code is 0x02, the function code indicates that the current computer key is operated by the junction box device. The junction box apparatus is the wiring apparatus in the foregoing embodiment.
Step 406, if the function code indicating device is a junction box device, analyzing all the switch devices associated with the junction box according to a topology logic rule defined by the type of the junction box device, and then executing step 408 to judge the switching-on and switching-off states of all the switch devices.
Step 407, if the function code indicating device is a switch device, executing step 408, and judging the on-off state of the device;
step 408, the server judges the state of the switch device corresponding to the step 406 or the step 407 in the system real-time library, and if the on-off state of the switch device is on, the server gives an alarm, and pushes the alarm information to the key to give a text prompt and a voice prompt, and at this time, the operation flow is ended. If the device status of the switching device is in the on-bit, step 409 is performed.
Step 409, if the equipment state of the switch equipment is a quantile state, locking the authorized switch operation right, namely, marking the switch equipment as used in a system of the server, temporarily closing the switch operation right, prohibiting any worker from performing computer key related operation on the switch equipment, and prompting that the switch equipment is locked and prohibited to operate when other workers operate the switch equipment by using the computer key unless the switch operation right is released again;
step 410, after the operation right of the locking authorization switch is completed, the server sends a terminal box unlocking authorization instruction related to the currently operated terminal box or the currently operated switch device;
in step 412, the computer key receives an unlocking authorization instruction sent by the server, where the unlocking authorization instruction includes: the terminal box unlocking method comprises key information such as an instruction unique number, terminal box locking code information capable of unlocking, an unlocking time range, a current state of the terminal box and an operated state.
Step 413, an operator holds the computer key to unlock the junction box on site, and after the operation is finished, operation records are returned through the computer key;
step 414, the server receives the returned information and updates the equipment status; the system in the server releases the operation right of the switch device associated with the junction box device, namely, the associated switch is cleared by the use mark in the system, and other workers can operate the switch device by using a computer key. And finishing the whole operation flow.
In the field of coal mine electrical operation safety, in particular to scenes such as switching operation, overhauling, rush-repair operation and the like of coal mine underground electrical equipment, ground equipment and underground equipment are involved; the ground equipment comprises an industrial computer, a laser printer, system software, an industrial transmission adapter, a coal safety computer key and the like; the underground equipment comprises an intrinsic safety type transmission controller, an intrinsic safety type computer key, a mining lockset and the like, and is used for connecting an Ethernet switch on the ground and underground, a mining intrinsic safety type wireless base station and the like. The method for controlling the operation authority of the coal mine equipment provided by the embodiment can be applied to any equipment of the ground equipment and the underground equipment, and can also be applied to sub-equipment or auxiliary equipment of one of the ground equipment and the underground equipment, for example, the target equipment of the embodiment is switch equipment installed on an industrial computer and the like.
In the embodiment, the high-efficiency and quick topology analysis searching method is adopted, the conditions of the power point switch and the associated lower-level equipment are accurately positioned, the unlocking authorization task is quickly generated through program automatic processing, and the unlocking authorization task is transmitted to the computer key through the wireless network to be unlocked on site, so that the aim of safe and high-efficiency electrical operation is fulfilled.
In the control method for the operation authority of the coal mine equipment provided by the embodiment, an intelligent and standardized safety guarantee system is established by adopting technologies such as intelligent lock control, topological anti-misoperation and wireless communication, and is matched with safety management measures, and man-machine joint control is carried out, so that the safety control of operating personnel in coal mine electrical operation is realized; the current situation that the coal mine electrical operation process at the present stage excessively depends on regulations and systems and is low in efficiency in manual guarantee is changed, and the safety guarantee level of operators is comprehensively improved.
The control method for the operation authority of the coal mine equipment provided by the embodiment realizes the following technical key points: an unlocking request is initiated from bottom to top, and after a computer key reads a lock code, the lock code is submitted to a background server through a wireless network for verification, so that the complicated process that the traditional anti-misoperation system relies on simulating invoicing firstly and then unlocking is simplified; when the lock is unlocked, the computer key sends a request to the background server, so that the problem that whether the unlocking equipment is electrified or not cannot be judged by a traditional universal key during emergency unlocking is solved, and the operation safety is ensured; the system background server locks the operation authority of the associated explosion-proof switch, namely forbids the operation, and the operation authority of the explosion-proof switch can be reopened after the key returns the operation result; and the system automatically topologically calculates all the associated junction boxes under the explosion-proof switch and generates an authorization task to issue keys.
In the field of coal mine safety operation, the embodiment starts from topology analysis and lock control authorization management, and effectively monitors and protects the related operation flow and operation scene, so that the safety guarantee level of operators is improved while the operation efficiency is not influenced.
Corresponding to the above method embodiment, refer to fig. 5, which is a schematic structural diagram of a control device for controlling operation authority of coal mine equipment, the device is arranged on a computer key; the device comprises:
a lock code reading module 51 for reading the lock code by a computer key;
a function code determining module 52, configured to determine a function code corresponding to the lock code based on a correspondence between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code;
the unlocking request module 53 is used for generating an unlocking request based on the lock code and the function code, sending the unlocking request to the server, determining target wiring equipment and target switch equipment in the target equipment and determining the equipment state of the target switch equipment through the server, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the equipment states of the target switch equipment comprise an on-off state and an authority release/limit state;
and the unlocking module 54 is used for receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device.
The control device for the operation authority of the coal mine equipment reads the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the equipment type of the target equipment corresponding to the locking code; generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment and determining the equipment state of the target switch equipment through the server, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises an on-off state and an authority release/limit state; and receiving an unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device. In the method, the lock code and the function code are read through the computer key, the unlocking request of the equipment is sent to the server, and the server returns an unlocking authorization instruction to the computer key according to the equipment state of the target switch equipment so as to unlock the target wiring equipment. The bottom-up unlocking mode does not need the complex process of firstly opening the operation ticket and then unlocking in the traditional mode, the process is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
The device further comprises an instruction receiving module, configured to: receiving an unlocking instruction through a function selection interface of a computer key; or, receiving an unlocking instruction issued by the server; the server generates an unlocking instruction based on preset equipment scheduling information.
The device further comprises a record sending module, configured to: acquiring an operation record aiming at target wiring equipment; and sending the operation record to the server so as to update the equipment state of the target wiring equipment based on the operation record through the server.
The apparatus further includes a correspondence generating module configured to: reading a plurality of lock codes through a computer key, and acquiring a function code of equipment corresponding to each lock code; and setting the lock code and the function code of the same equipment to have a corresponding relation, and obtaining the corresponding relation of the pre-stored lock code and the function code.
Referring to fig. 6, a schematic structural diagram of another apparatus for controlling the operation authority of a coal mine equipment is shown, the apparatus is provided in a server; the device includes:
a request receiving module 61, configured to receive an unlocking request from a computer key; wherein, the unlocking request is generated by the computer key through the following modes: reading the lock code through a computer key; determining a function code corresponding to the lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code;
the instruction sending module 62 is configured to determine a target wiring device and a target switch device in the target device, determine a device state of the target switch device, and send an unlocking authorization instruction to the computer key based on the device state of the target switch device, so as to control the target wiring device to be unlocked and start an operation permission for the target wiring device through the computer key; the device states of the target switch device include an on-off state and an authority release/restriction state.
In the method, the lock code and the function code are read by the computer key, the unlocking request of the equipment is sent to the server, and the server returns an unlocking authorization instruction to the computer key according to the equipment state so as to unlock the target equipment. The bottom-up unlocking mode does not need a complicated process of firstly opening an operation order and then unlocking in the traditional mode, the process is simple and efficient, the unlocking of the equipment can be accurately and reasonably controlled, and the safety of the equipment and operators is ensured.
The above-mentioned device still includes: an unlock instruction generation module to: generating an unlocking instruction based on preset equipment scheduling information; sending an unlocking instruction to a computer key; the unlock instruction is to: controlling the computer key to read the lock code.
The instruction sending module is further configured to: extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as the target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining the device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determines the device status of the target switching device.
The equipment state real-time library in the server records the equipment state of the target switch equipment; the instruction sending module is further configured to: and inquiring the on-off state of the target switch equipment from the equipment state real-time library.
The instruction sending module is further configured to: judging whether the on-off state of the target switch device is an off-position state; if the state is the separated state, after the permission release/restriction state of the target switch equipment is set to be the permission restriction state, an unlocking authorization instruction is sent to the computer key; wherein, the unlocking authorization instruction comprises: the method comprises the steps of command number, locking code of target wiring equipment, unlocking time range, current state and post-operation state of the target wiring equipment.
The above-mentioned device still includes: a permission state setting module for: setting the permission release/restriction state of the target switch device as a permission restriction state; wherein, in the permission restriction state, the server rejects the operation task request for the target switching device.
The above-mentioned device still includes: an alarm module to: if the on-off state of the target switch equipment is the on-position state, generating alarm information; sending the alarm information to a computer key so as to display and/or play the alarm information through the computer key; wherein the alarm information is used for: indicating that the target wiring device is not allowed to be unlocked.
The above-mentioned device still includes: an update module to: receiving an operation record aiming at the target wiring equipment sent by a computer key; and updating the equipment state of the target wiring equipment based on the operation record.
The above-mentioned device still includes: a permission release module to: the authority release/restriction state of the target switching device is set to the authority release state.
The embodiment also provides a computer key which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the control method of the operation authority of the coal mine equipment.
The embodiment also provides a server which comprises a processor and a memory, wherein the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to realize the control method of the operation authority of the coal mine equipment.
Referring to fig. 7, the computer key or the server includes a processor 100 and a memory 101, the memory 101 stores machine executable instructions capable of being executed by the processor 100, and the processor 100 executes the machine executable instructions to implement the method for controlling the operation authority of the coal mine equipment.
Further, the computer key or the server shown in fig. 7 further includes a bus 102 and a communication interface 103, and the processor 100, the communication interface 103 and the memory 101 are connected through the bus 102.
The Memory 101 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 103 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like may be used. The bus 102 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 7, but this does not indicate only one bus or one type of bus.
The embodiment also provides a machine-readable storage medium, wherein the machine-readable storage medium stores machine executable instructions, and when the machine executable instructions are called and executed by the processor, the machine executable instructions cause the processor to realize the control method of the operation authority of the coal mine equipment.
The method, the device, the computer key and the computer program product for controlling the operation authority of the coal mine equipment provided by the embodiment of the invention comprise a computer readable storage medium storing program codes, instructions included in the program codes can be used for executing the method in the previous method embodiment, and specific implementation can be referred to the method embodiment and is not repeated herein.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the system and the apparatus described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In addition, in the description of the embodiments of the present invention, unless otherwise explicitly specified or limited, the terms "mounted," "connected," and "connected" are to be construed broadly, e.g., as meaning either a fixed connection, a removable connection, or an integral connection; can be mechanically or electrically connected; they may be connected directly or indirectly through intervening media, or they may be interconnected between two elements. The specific meanings of the above terms in the present invention can be understood in a specific case to those skilled in the art.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, an operation and maintenance management device, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
In the description of the present invention, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicate orientations or positional relationships based on the orientations or positional relationships shown in the drawings, and are only for convenience of description and simplicity of description, but do not indicate or imply that the device or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be construed as limiting the present invention. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art will understand that the following embodiments are merely illustrative of the present invention, and not restrictive, and the scope of the present invention is not limited thereto: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.
Claims (17)
1. A method for controlling the operation authority of coal mine equipment is characterized by comprising the following steps:
reading the lock code through a computer key; the computer key establishes communication connection with the server in a wireless communication mode;
determining a function code corresponding to a lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the equipment type of the target equipment corresponding to the lock code, and the equipment type comprises wiring equipment and switch equipment;
generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment through the server, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises a switching-on state and a permission release/limit state, and the server controls permission release and permission limit of the target switch device; determining, by the server, a target wiring device and a target switching device in the target device, and determining a device state of the target switching device, includes: extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining a device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determining a device state of the target switching device;
and receiving the unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device.
2. The method of claim 1, wherein prior to the step of reading the lock code with the computer key, the method further comprises:
receiving an unlocking instruction through a function selection interface of the computer key;
or, receiving an unlocking instruction issued by the server; the server generates the unlocking instruction based on preset equipment scheduling information.
3. The method according to claim 1, wherein after the steps of receiving the unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and open the operation authority for the target wiring device, the method further comprises:
acquiring an operation record aiming at the target wiring device;
and sending the operation record to the server so as to update the equipment state of the target wiring equipment based on the operation record through the server.
4. The method of claim 1, wherein prior to the step of reading the lock code with the computer key, the method further comprises:
reading a plurality of lock codes through a computer key, and acquiring a function code of equipment corresponding to each lock code;
and setting the lock code and the function code of the same equipment to have a corresponding relation, and obtaining the corresponding relation between the pre-stored lock code and the function code.
5. A method for controlling the operation authority of coal mine equipment is characterized by comprising the following steps:
receiving an unlocking request from a computer key; wherein the unlocking request is generated by the computer key in the following way: reading the lock code through a computer key; determining a function code corresponding to a lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code; the computer key is in communication connection with a server in a wireless communication mode, and the equipment types comprise wiring equipment and switch equipment;
determining target wiring equipment and target switch equipment in the target equipment, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment so as to control the target wiring equipment to be unlocked and open the operation authority aiming at the target wiring equipment through the computer key; the device state of the target switch device comprises a switching-on state and a permission release/limit state, and the server controls permission release and permission limit of the target switch device;
the steps of determining a target wiring device and a target switching device in the target device, and determining a device state of the target switching device, include:
extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code;
if the equipment type is the switch equipment, determining the switch equipment as target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining a device state of the target switching device;
if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determining a device state of the target switching device.
6. The method of claim 5, wherein prior to the step of receiving an unlock request from a computer key, the method further comprises:
generating an unlocking instruction based on preset equipment scheduling information;
sending the unlocking instruction to the computer key; the unlocking instruction is used for: and controlling the computer key to read the lock code.
7. The method of claim 5, wherein the device status of the target switching device is recorded in a device status real-time library in a server;
the step of determining the device state of the target switching device comprises: and inquiring the on-off state of the target switch equipment from the equipment state real-time library.
8. The method of claim 5, wherein the step of sending an unlock authorization command to the computer key based on the device status of the target switch device comprises:
judging whether the on-off state of the target switch equipment is an off-position state or not;
if the unlocking authorization instruction is the position division state, after the permission release/restriction state of the target switch equipment is set to be the permission restriction state, an unlocking authorization instruction is sent to the computer key; wherein the unlocking authorization instruction comprises: the method comprises the steps of command number, locking code of the target wiring device, unlocking time range, current state of the target wiring device and post-operation state.
9. The method of claim 8, wherein if the computer key is in the quantile state, the method further comprises, before the step of sending an unlock authorization command to the computer key:
setting the permission release/restriction state of the target switch device as a permission restriction state; wherein, in the permission restriction state, the server denies an operation task request for the target switching device.
10. The method of claim 8, further comprising:
if the on-off state of the target switch device is the on-position state, generating alarm information;
sending the alarm information to the computer key so as to display and/or play the alarm information through the computer key; wherein the alarm information is used for: indicating that the target wiring device is not allowed to be unlocked.
11. The method of claim 5, wherein after the step of sending an unlock authorization command to the computer key based on the device status of the target switch device, the method further comprises:
receiving an operation record aiming at the target wiring device sent by the computer key;
and updating the equipment state of the target wiring equipment based on the operation record.
12. The method of claim 11, wherein after the step of receiving the operation record for the target wiring device sent by the computer key, the method further comprises:
and setting the authority release/limit state of the target switch device as an authority release state.
13. A control device for controlling the operational authority of a coal mine equipment, the device comprising:
the lock code reading module is used for reading the lock code through a computer key; the computer key establishes communication connection with the server in a wireless communication mode;
the function code determining module is used for determining a function code corresponding to a lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the equipment type of the target equipment corresponding to the lock code, and the equipment type comprises wiring equipment and switch equipment;
the unlocking request module is used for generating an unlocking request based on the lock code and the function code, sending the unlocking request to a server, determining target wiring equipment and target switch equipment in the target equipment through the server, determining the equipment state of the target switch equipment, and sending an unlocking authorization instruction to the computer key based on the equipment state of the target switch equipment; the device state of the target switch device comprises a switching-on state and a permission release/limit state, and the server controls permission release and permission limit of the target switch device; determining, by the server, a target wiring device and a target switching device in the target device, and determining a device state of the target switching device, includes: extracting a function code of the target equipment from the unlocking request, and determining an equipment type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining a device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determining a device state of the target switching device;
and the unlocking module is used for receiving the unlocking authorization instruction sent by the server, controlling the target wiring device to unlock and starting the operation authority aiming at the target wiring device.
14. A control apparatus for controlling operation authority of a coal mine equipment, the apparatus comprising:
the request receiving module is used for receiving an unlocking request from a computer key; wherein the unlocking request is generated by the computer key by: reading the lock code through a computer key; determining a function code corresponding to a lock code based on a corresponding relation between the pre-stored lock code and the function code; the function code is used for indicating the device type of the target device corresponding to the lock code; generating an unlocking request based on the lock code and the function code; the computer key is in communication connection with a server in a wireless communication mode, and the equipment types comprise wiring equipment and switch equipment;
the instruction sending module is used for determining a target wiring device and a target switch device in the target device, determining the device state of the target switch device, and sending an unlocking authorization instruction to the computer key based on the device state of the target switch device so as to control the target wiring device to be unlocked through the computer key and start the operation authority aiming at the target wiring device; the device state of the target switch device comprises a switching-on state and a permission release/limit state, and the server controls permission release and permission limit of the target switch device;
the instruction sending module is further configured to extract a function code of the target device from the unlocking request, and determine a device type corresponding to the function code; if the equipment type is the switch equipment, determining the switch equipment as target switch equipment; determining the wiring equipment connected with the target switch equipment as target wiring equipment; and determining a device state of the target switching device; if the equipment type is wiring equipment, determining the wiring equipment as target wiring equipment, and determining the switch equipment connected with the target wiring equipment as target switch equipment; and determining a device state of the target switching device.
15. A computer key comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of controlling the operational authority of a coal mine facility as claimed in any one of claims 1 to 4.
16. A server comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of controlling the operational authority of a coal mine equipment according to any one of claims 5 to 12.
17. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of controlling the operational authority of a coal mine installation of any of claims 1 to 4 or the method of controlling the operational authority of a coal mine installation of any of claims 5 to 12.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210473073.7A CN114863593B (en) | 2022-04-29 | 2022-04-29 | Control method and device for operation authority of coal mine equipment, computer key and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210473073.7A CN114863593B (en) | 2022-04-29 | 2022-04-29 | Control method and device for operation authority of coal mine equipment, computer key and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114863593A CN114863593A (en) | 2022-08-05 |
CN114863593B true CN114863593B (en) | 2023-01-31 |
Family
ID=82634448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210473073.7A Active CN114863593B (en) | 2022-04-29 | 2022-04-29 | Control method and device for operation authority of coal mine equipment, computer key and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114863593B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484925A (en) * | 2014-12-08 | 2015-04-01 | 重庆桦哲科技有限公司 | Intelligent lock control system |
CN105303657A (en) * | 2015-09-30 | 2016-02-03 | 长园共创电力安全技术股份有限公司 | Management method for lock control system of work site |
CN108512313A (en) * | 2018-05-17 | 2018-09-07 | 长园共创电力安全技术股份有限公司 | A kind of power distribution network temporary grounding wire management system and control method |
CN109461235A (en) * | 2018-10-25 | 2019-03-12 | 长园共创电力安全技术股份有限公司 | A kind of electrical verification method for unlocking |
CN110474429A (en) * | 2019-09-11 | 2019-11-19 | 珠海优特电力科技股份有限公司 | Power distribution network power transmission Interlocking Methods and system |
RU2740880C1 (en) * | 2019-10-07 | 2021-01-21 | Вадим Павлович Цывьян | Locking system operation method and locking system for electromechanical lock devices |
CN112435881A (en) * | 2020-11-11 | 2021-03-02 | 珠海优特电力科技股份有限公司 | Method and system for preventing power transmission misoperation of power distribution network |
CN112837451A (en) * | 2021-01-06 | 2021-05-25 | 许继集团有限公司 | Transformer substation maintenance isolation management and control method |
CN113034734A (en) * | 2019-12-06 | 2021-06-25 | 中国石油天然气股份有限公司 | Authorization method of electronic key, storage medium and computer device |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US4283710A (en) * | 1978-10-25 | 1981-08-11 | J.S. Lock Company | Security system |
CN201126962Y (en) * | 2007-11-30 | 2008-10-01 | 上海市电力公司超高压输变电公司 | Five-prevention intelligent unlocking and uninterrupted maintenance apparatus for distribution system |
CN109191637A (en) * | 2018-08-28 | 2019-01-11 | 江苏电力信息技术有限公司 | A kind of transformer substation key intelligent management case |
-
2022
- 2022-04-29 CN CN202210473073.7A patent/CN114863593B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104484925A (en) * | 2014-12-08 | 2015-04-01 | 重庆桦哲科技有限公司 | Intelligent lock control system |
CN105303657A (en) * | 2015-09-30 | 2016-02-03 | 长园共创电力安全技术股份有限公司 | Management method for lock control system of work site |
CN108512313A (en) * | 2018-05-17 | 2018-09-07 | 长园共创电力安全技术股份有限公司 | A kind of power distribution network temporary grounding wire management system and control method |
CN109461235A (en) * | 2018-10-25 | 2019-03-12 | 长园共创电力安全技术股份有限公司 | A kind of electrical verification method for unlocking |
CN110474429A (en) * | 2019-09-11 | 2019-11-19 | 珠海优特电力科技股份有限公司 | Power distribution network power transmission Interlocking Methods and system |
RU2740880C1 (en) * | 2019-10-07 | 2021-01-21 | Вадим Павлович Цывьян | Locking system operation method and locking system for electromechanical lock devices |
CN113034734A (en) * | 2019-12-06 | 2021-06-25 | 中国石油天然气股份有限公司 | Authorization method of electronic key, storage medium and computer device |
CN112435881A (en) * | 2020-11-11 | 2021-03-02 | 珠海优特电力科技股份有限公司 | Method and system for preventing power transmission misoperation of power distribution network |
CN112837451A (en) * | 2021-01-06 | 2021-05-25 | 许继集团有限公司 | Transformer substation maintenance isolation management and control method |
Also Published As
Publication number | Publication date |
---|---|
CN114863593A (en) | 2022-08-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107181319B (en) | Intelligent inspection method for state of hard pressing plate of transformer substation | |
CN105741126A (en) | Management method and management apparatus of air conditioner, server, terminal and communication module | |
CN106470929B (en) | Maintenance system for lift facility | |
CN106155023B (en) | A kind of anti-misoperation system and its method of universal scattered control system | |
CN107704739A (en) | Microcomputer anti-error operating system and method, anti-error main frame with listed function, Intelligent key, intelligent lock | |
CN114863593B (en) | Control method and device for operation authority of coal mine equipment, computer key and server | |
CN110738748A (en) | patrol method based on forbidden system | |
CN202771508U (en) | Data processing equipment, server and system based on filing cabinet control | |
CN113159712A (en) | Method and system for automatically checking and accepting signals of auxiliary control system of transformer substation based on multiple checks and readable storage medium | |
CN112381435A (en) | Gridding directional pushing management method for dynamic risk in hydropower station operation process | |
CN106603489A (en) | Network security management and control apparatus for transformer substation | |
CN117395141B (en) | Method for simplifying station room intelligent auxiliary and artificial intelligent visual gateway configuration | |
CN112381972B (en) | Method and device for confirming work position, storage medium, and electronic device | |
CN106451788A (en) | Method for remotely controlling and operating dispatching automation systems by aid of remote-control safety strategy module | |
CN111476330B (en) | Remote monitoring and installation guidance system and method for manufacturing of electrical equipment of transformer substation | |
CN116310521A (en) | Abnormality detection method, abnormality detection device, abnormality detection storage medium, abnormality detection electronic device, abnormality detection system, abnormality detection program, and recording medium | |
CN104333956B (en) | Control method and system for lighting equipment in relay protection machine room | |
CN116259117A (en) | Method and system for monitoring whole process of inspection and maintenance operation | |
CN103324181B (en) | Screen cabinet cabinet door monitoring early-warning system | |
CN104794812A (en) | Card swiping system and managing method thereof | |
CN214670762U (en) | Energy isolation locking tag hanging system | |
CN111741089B (en) | Intelligent safety operation management and control system and method based on industrial Internet of things | |
CN113991854A (en) | Power anti-misoperation maintenance management method, system, equipment and storage medium | |
CN115146942A (en) | Electronic operation ticket system of hydraulic power plant and operation method | |
KR100864086B1 (en) | Real time monitoring system for multimedia game device |
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 |