[ summary of the invention ]
The invention aims to provide an equipment verification calibration management method and related equipment and a storage device thereof, so as to solve the technical problem that the equipment cannot be prevented from being used continuously after exceeding a verification period in the prior art.
The invention provides an equipment verification, calibration and management method, which comprises the following steps:
the server determines equipment meeting a preset power-off condition;
sending a state detection instruction to a power controller of corresponding equipment;
and when the server determines that the equipment is in the non-operation state, sending a power-off instruction to a power controller of the equipment.
Preferably, after the sending of the state detection instruction to the power controller of the corresponding device, the method further includes:
and when the server determines that the equipment is in the running state, sending a state detection instruction according to a preset strategy within first preset time.
Preferably, after the server determines that the device is in the operating state and sends the state detection instruction according to the preset policy within the first preset time, the method further includes:
and the server generates an overdue event record of the equipment, wherein the overdue event record comprises an equipment number and an event time.
Preferably, after the sending of the state detection instruction to the power controller of the corresponding device, the method includes:
receiving state data of the equipment sent by the power controller;
and determining the current state of the equipment according to the state data, wherein the current state comprises a non-running state or a running state.
Preferably, before the server determines the device meeting the preset power-off condition, the method further includes:
the server determines equipment meeting preset reminding conditions;
sending a verification reminding instruction to a power controller of corresponding equipment;
or, before the server determines the device meeting the preset power-off condition, the method includes:
establishing account information of the equipment, wherein the account information comprises an equipment number, verification certificate information, next verification reminding time and verification period expiration time, and the verification period expiration time is obtained according to the verification certificate information of the equipment;
or, after the server sends a power-off instruction to the power controller of the device when determining that the device is in the non-operating state, the method further includes:
and generating an illegal disassembly power supply event record of the equipment according to the received disassembly warning information, wherein the illegal disassembly power supply event record comprises an equipment number and an event time.
The invention also provides an equipment verification, calibration and management method, which comprises the following steps:
the power supply controller receives a state detection instruction;
the method comprises the steps that a power controller obtains state data of equipment and sends the state data to a server;
and the power controller receives a power-off instruction of the server and stops supplying power to the equipment.
Preferably, before the power controller receives the state detection instruction, the method includes:
the power controller receives the verification reminding instruction and displays verification reminding information;
or, the power controller receives a power-off instruction of the server, and after stopping supplying power to the device, the power controller further includes:
and when the acquired pressure value of the pressure sensor is smaller than a preset pressure threshold value, sending disassembly warning information of the corresponding equipment to the server.
The invention also provides a server, which comprises a communication circuit, a memory and a processor, wherein the communication circuit and the memory are respectively coupled with the processor;
the communication circuit is used for communicating with other equipment;
the processor is configured to execute the program instructions stored by the memory to perform the above-described method in conjunction with the communication circuitry.
The invention also provides a power supply controller, which comprises a communication circuit, a memory and a processor, wherein the communication circuit and the memory are respectively coupled with the processor;
the communication circuit is used for communicating with other equipment;
the processor is configured to execute the program instructions stored by the memory to perform the above-described method in conjunction with the communication circuitry.
The invention also provides an equipment verification and calibration management system, which comprises:
the power supply controllers are connected with the equipment and used for controlling the connection or disconnection of the equipment and the power supply;
the power supply controller is connected with the server through a wireless network;
the server executes the method and the power controller executes the method.
The present invention also provides a storage device storing processor-executable program instructions for performing the above-described method.
The invention has the beneficial effects that: according to the equipment verification calibration management method and the relevant equipment and the storage device thereof, the equipment is subjected to state detection when the equipment is determined to meet the preset power-off condition, and the equipment is controlled to be powered off when the equipment is determined to be in a non-running state, so that the equipment is prevented from being used continuously after exceeding the verification period, and the provided data is guaranteed to be fair.
[ detailed description ] embodiments
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. 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 terms "first", "second" and "third" in the present invention are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first," "second," or "third" may explicitly or implicitly include at least one of the feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise. All directional indicators (such as up, down, left, right, front, and rear … …) in the embodiments of the present invention are only used to explain the relative positional relationship between the components, the movement, and the like in a specific posture (as shown in the drawings), and if the specific posture is changed, the directional indicator is changed accordingly. Furthermore, the terms "include" and "have," as well as any variations thereof, are intended to cover non-exclusive inclusions.
Reference herein to "an embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment can be included in at least one embodiment of the invention. The appearances of the phrase in various places in the specification are not necessarily all referring to the same embodiment, nor are separate or alternative embodiments mutually exclusive of other embodiments. It is explicitly and implicitly understood by one skilled in the art that the embodiments described herein can be combined with other embodiments.
To facilitate an understanding of the present invention, the equipment certification calibration management system of the present invention will be illustrated.
[ first embodiment ]
Referring to fig. 1, fig. 1 is a schematic structural diagram of an embodiment of an equipment verification calibration management system according to the present invention. In this embodiment, the system includes aserver 11 and a plurality ofpower controllers 12 respectively connected to theserver 11, where eachpower controller 12 is arranged corresponding to onedevice 10 and is used to control whether to supply power to thedevice 10.
Theserver 11 establishes ledger information for eachdevice 10, including a device number, verification certificate information, next verification reminding time, and verification cycle expiration time. Theserver 11 determines whether the equipment meets a preset power-off condition based on the current time and the verification period expiration time, where the preset power-off condition may include (i) the current time exceeds the verification period expiration time; or, (ii) the current time is less than or equal to the first time threshold from the certification period expiration time. For the device meeting the preset power-off condition, the device is not allowed to be used, and theserver 11 directly enters the power-off process: firstly, a state detection instruction is sent to thecorresponding power controller 12, information fed back by thepower controller 12 is received, and when theequipment 10 is determined to be in a non-running state through the fed-back information, a power-off instruction is directly sent.
In an optional embodiment, the ledger information of eachdevice 10 further includes a device type and a detection index. Theserver 11 is further configured to, when it is determined that the current device meets the preset power-off condition, obtain a substitute device of the current device according to the device type and the detection index of the current device, where the detection index of the substitute device matches the detection index of the current device.
Thepower controller 12 is disposed at a power socket of thedevice 10, and after receiving a state detection instruction of theserver 11, acquires state data of thedevice 10, and feeds the state data back to theserver 11; after receiving the power-off command from theserver 11, the control switch assembly disconnects the power supply from thedevice 10.
In an optional embodiment, theserver 11 determines that the device cannot be directly powered off when the device is in the operating state according to the state data of thedevice 10, and theserver 11 sends a state detection instruction to thepower controller 12 according to a preset policy within a first preset time, for example, theserver 11 may send the state detection instruction to thepower controller 12 at specified time intervals within the first preset time, and after receiving information fed back by thepower controller 12 each time, judge that the device is in the non-operating state or the operating state according to the fed-back information, until determining that the device is in the non-operating state, theserver 11 sends a power off instruction to thepower controller 12 again. When theserver 11 determines that thedevice 10 meets the preset power-off condition, thedevice 10 is being used, and the direct power-off may damage the device, theserver 11 further determines within a first preset time by adopting a delayed power-off mode, and then enters a power-off operation flow when thedevice 10 is not used.
In an optional embodiment, when theserver 11 determines that the device is in the operating state according to the state data of thedevice 10, an overdue event record of thedevice 10 is generated, where the overdue event record includes a device number and an event time. When theserver 11 determines that thedevice 10 meets the preset power-off condition, thedevice 10 is being used, and the current use is likely to involve overdue verification, so that an overdue event record is generated for query.
In an alternative embodiment, referring to fig. 2, thepower controller 12 includes aprocessor 121, awireless communication module 122, acollector 123, aswitch component 124 and adisplay screen 125, wherein theprocessor 121 wirelessly communicates with theserver 11 through thewireless communication module 122, for example, receives instructions of theserver 11 or sends feedback information to theserver 11;processor 121 is used to control the operation ofcollector 123,switch assembly 124 anddisplay 125. Thecollector 123 is configured to collect status data of thedevice 10, where the status data may be current, voltage or power, for example, thecollector 123 may be a power sensor, and the power sensor senses power of thedevice 10 and outputs a power signal representing the sensed power; thecollector 123 may also be a voltage sensor that senses the voltage of thedevice 10 and outputs a voltage signal representative of the magnitude of the sensed voltage. Of course, the status data may be other types of data as long as whether thedevice 10 is powered on or not can be determined by the status data. Aswitch assembly 124 is provided on the power outlet of thedevice 10, theswitch assembly 124 being configured to be able to disconnect or connect the power supply from the power outlet. Thedisplay screen 125 is used for displaying the next certification reminding time and the certification cycle expiration time of the correspondingequipment 10.
In an alternative embodiment, the power socket of thedevice 10 is further provided with a detachment prevention component, which prevents the user from pulling out thepower plug 101 of thedevice 10 from the power socket and continuing to detect another power socket. In this embodiment, the detachment prevention means may be apressure sensor 126 disposed on the power socket and connected to theprocessor 121, thepressure sensor 126 is abutted to or separated from thepower plug 101 of thedevice 10, when the power plug of thedevice 10 is inserted into the power socket, thepower plug 101 applies pressure to the power socket, and thepressure sensor 126 is abutted to thepower plug 101 of thedevice 10 to measure the pressure applied by thepower plug 101; when thepower line plug 101 is pulled out, thepressure sensor 126 is separated from thepower line plug 101 of thedevice 10, the pressure measured by thepressure sensor 126 changes, and theprocessor 121 is further configured to send detachment warning information corresponding to thedevice 10 to theserver 11 when the obtained pressure value of thepressure sensor 126 is smaller than a preset pressure threshold value, theserver 11 receives the detachment warning information, and generates an illegal detachment power event record of thedevice 10, wherein the illegal detachment power event record comprises a device number and an event time. Of course, it will be understood by those skilled in the art that in other embodiments, the anti-removal feature may also be a combination lock provided on the power socket housing that is in a closed state when thepower cord plug 101 of thedevice 10 is plugged into an electrical outlet.
In an optional embodiment, theserver 11 determines whether the equipment meets a preset reminding condition based on the current time and the next verification reminding time, where the preset reminding condition may include (i) the current time exceeds the next verification reminding time; or, (ii) the current time is less than or equal to the second time threshold from the next certification reminder time. For the device meeting the preset reminding condition, theserver 11 directly enters the reminding process: and sending a verification reminding instruction to thepower controller 12 of the corresponding equipment. Further, after receiving the verification reminding instruction, thepower controller 12 displays the verification reminding instruction on thedisplay screen 125.
In an alternative embodiment, theserver 11 is communicatively connected to eachpower controller 12 through a wireless network, and specifically, one ormore power controllers 12 access the network in which theserver 11 is located through a wireless access node. More specifically, a wireless connection based on, for example, a SimpliciT1 protocol is used between thepower controller 12 and the wireless access node, and if there is a packet to be forwarded to theserver 11, the wireless access node directly sends the packet to theserver 11, and if there is a new packet to be forwarded to thepower controller 12 by theserver 11, the wireless access node may directly send the packet to thepower controller 12, or the wireless access node may wake up thepower controller 12 first and then send the packet to thepower controller 12, so as to save the power of thepower controller 12.
The system of the embodiment has the following beneficial effects: (1) have mandatory measures to prevent the device from being used illegally; (2) early warning and forecasting of illegal equipment; (3) the equipment ledger accounting condition and the verification calibration plan execution condition are effectively monitored.
[ second embodiment ]
Referring to fig. 3, fig. 3 is a flowchart illustrating a second embodiment of the apparatus verification and calibration management method according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 3 if the results are substantially the same. In this embodiment, the method is executed by the server, and specifically includes the following steps:
s201, the server determines the equipment meeting the preset power-off condition.
In this embodiment, the server may continuously monitor whether the one or more devices meet the preset power-off condition according to the standing book information of the one or more devices, so as to obtain the devices meeting the preset power-off condition.
Specifically, the server determines whether the equipment meets a preset power-off condition based on the current time and the verification period expiration time, wherein the preset power-off condition may include (i) the current time exceeds the verification period expiration time; or, (ii) the current time is less than or equal to the first time threshold from the certification period expiration time.
S202, sending a state detection instruction to a power controller of the corresponding equipment.
In this embodiment, the server generates a data packet containing a status detection instruction for a device meeting the power-off condition, and sends the data packet to the power controller of the device via the wireless network.
S203, when the server determines that the equipment is in the non-operation state, sending a power-off instruction to a power controller of the equipment.
In this embodiment, the server determines whether the device is in an operating state according to the feedback information of the state detection instruction sent by the power controller, and directly sends a power-off instruction when determining that the device is in a non-operating state according to the feedback information.
In an optional embodiment, after step S203, the following steps are further included:
and S204, when the server determines that the equipment is in the running state, sending a state detection instruction according to a preset strategy within first preset time.
For example, a state detection instruction is sent to the power controller at a specified time interval within a first preset time, after information fed back by the power controller is received each time, the server judges whether the equipment is in a non-operation state or an operation state according to the fed-back information, and the server sends a power-off instruction to the power controller again until the equipment is determined to be in the non-operation state.
S205, the server generates an overdue event record of the equipment, wherein the overdue event record comprises an equipment number and an event time.
When the server judges that the equipment meets the preset power-off condition, the equipment is used, the current use is likely to involve the overdue verification, and therefore an overdue event record is generated for query.
[ third embodiment ]
Referring to fig. 4, fig. 4 is a flowchart illustrating a third embodiment of the apparatus verification and calibration management method according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 4 if the results are substantially the same. In this embodiment, the method is executed by the server, and specifically includes the following steps:
s301, the server determines the equipment meeting the preset reminding condition.
In this embodiment, the server may continuously monitor whether the one or more devices meet the preset reminding condition according to the standing book information of the one or more devices, so as to obtain the devices meeting the preset reminding condition.
Specifically, the server determines whether the equipment meets a preset reminding condition based on the current time and the next verification reminding time, wherein the preset reminding condition may include (i) the current time exceeds the next verification reminding time; or, (ii) the current time is less than or equal to the second time threshold from the next certification reminder time. For the equipment meeting the preset reminding condition, the server is allowed to be used, and directly enters a reminding flow: and sending a verification reminding instruction to a power controller of the corresponding equipment.
And S302, sending a verification reminding instruction to the power controller of the corresponding equipment.
In this embodiment, for a device, the next verification reminding time is earlier than the verification period expiration time, that is, the server first reminds the control flow before entering the power-off control flow for the device.
S303, the server determines the equipment meeting the preset power-off condition.
And S304, sending a state detection instruction to the power supply controller of the corresponding equipment.
S305, when the server determines that the equipment is in the non-operation state, sending a power-off instruction to a power controller of the equipment.
In the present embodiment, steps S303 to S305 are the same as steps S201 to S203 of the second embodiment, specifically referring to the above.
In this embodiment, before step S301, the following steps are further included:
s300, establishing account information of the equipment, wherein the account information comprises an equipment number, verification certificate information, next verification reminding time and verification period expiration time.
In step S300, the expiration time of the verification period is obtained according to the verification certificate information of the device, the next verification reminding time may be preset according to the verification schedule, and a device verification time period is generally reserved between the next verification reminding time and the verification period expiration time.
[ fourth embodiment ]
Referring to fig. 5, fig. 5 is a flowchart illustrating a fourth embodiment of the apparatus verification and calibration management method according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 5 if the results are substantially the same. In this embodiment, the method is executed by the power manager, and specifically includes the following steps:
s401, the power controller receives a state detection instruction.
S402, the power controller acquires the state data of the equipment and sends the state data to the server.
And S403, the power controller receives a power-off instruction of the server and stops supplying power to the equipment.
In this embodiment, after receiving a state detection instruction of a server, acquiring state data of a device, and feeding back the state data to the server; and after receiving a power-off instruction of the server, controlling the switch assembly to disconnect the power supply from the equipment.
[ fifth embodiment ]
Referring to fig. 6, fig. 6 is a flowchart illustrating a fifth embodiment of the apparatus verification and calibration management method according to the present invention. It should be noted that the method of the present invention is not limited to the flow sequence shown in fig. 6 if the results are substantially the same. In this embodiment, the method is executed by the power manager, and specifically includes the following steps:
s501, the power controller receives the verification reminding instruction and displays verification reminding information.
In this embodiment, after receiving a verification reminding instruction of the server, verification reminding information carried by the verification reminding instruction is displayed on a display screen of the power manager, where the verification reminding information may include a reminding identifier and verification period expiration time.
S502, the power controller receives a state detection instruction.
S503, the power controller acquires the state data of the equipment and sends the state data to the server.
And S504, the power controller receives a power-off instruction of the server and stops supplying power to the equipment.
In an optional embodiment, the equipment verification calibration management method further comprises the following steps:
and S505, when the acquired pressure value of the pressure sensor is smaller than a preset pressure threshold value, sending detachment warning information of the corresponding equipment to the server.
Accordingly, the server performs the steps of: and generating an illegal disassembly power supply event record of the equipment according to the received disassembly warning information, wherein the illegal disassembly power supply event record comprises an equipment number and an event time.
[ sixth embodiment ]
Referring to fig. 7, fig. 7 is a schematic structural diagram of a server according to an embodiment of the present invention. In this embodiment, theserver 70 includes amemory 71, aprocessor 72, and acommunication circuit 73. Thecommunication circuit 73 and thememory 71 are respectively coupled to theprocessor 72. Specifically, the various components of theserver 70 may be coupled together by a bus, or the processors of theserver 70 may be connected one-to-one with the other components, respectively.
Thecommunication circuit 73 may communicate with the power manager in the system embodiments described above. Thememory 71 is used for storing program instructions executed by theprocessor 72 and data of theprocessor 72 in the processing process, wherein thememory 71 comprises a nonvolatile storage part for storing the program instructions. Furthermore, thememory 71 may also store sample or person related data.
Theprocessor 72 controls the operation of theserver 70, and theprocessor 72 may also be referred to as a Central Processing Unit (CPU). Theprocessor 72 may be an integrated circuit chip having signal processing capabilities. Theprocessor 72 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, theprocessor 72 is configured to execute the functions or steps executed by any node of the server side in the system according to the second embodiment or the third embodiment or the first embodiment by calling the program instructions stored in thememory 71.
[ seventh embodiment ]
Referring to fig. 8, fig. 8 is a schematic structural diagram of a power manager according to an embodiment of the invention. In this embodiment, thepower manager 80 includes amemory 81, aprocessor 82, and acommunication circuit 83. Thecommunication circuit 83 and thememory 81 are respectively coupled to theprocessor 82. Specifically, the various components ofpower manager 80 may be coupled together by a bus, or the processors ofpower manager 80 may be connected one-to-one with the other components, respectively.
Thecommunication circuit 83 may communicate with the server in the above-described system embodiment. Thememory 81 is used for storing program instructions executed by theprocessor 82 and data of theprocessor 82 in the processing process, wherein thememory 81 comprises a nonvolatile storage part for storing the program instructions. Furthermore, thememory 71 may also store sample or person related data.
Processor 82 controls the operation ofpower manager 80, andprocessor 82 may also be referred to as a Central Processing Unit (CPU). Theprocessor 82 may be an integrated circuit chip having signal processing capabilities. Theprocessor 72 may also be a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
In this embodiment, theprocessor 82 is configured to execute the functions or steps executed by any node on the power manager side in the system according to the fourth embodiment or the fifth embodiment or the first embodiment by calling the program instructions stored in thememory 81.
[ eighth embodiment ]
Referring to fig. 9, the present invention further provides a structural schematic diagram of an embodiment of a memory device. In this embodiment, thememory device 90 stores processor-executable program instructions 91, theprogram instructions 91 being for performing the methods of the embodiments described above.
Thestorage device 90 may be a medium that can store program instructions, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, or may be a server that stores the program instructions, and the server may send the stored program instructions to other devices for operation, or may self-operate the stored program instructions.
In one embodiment, thestorage device 90 may also be a memory as shown in fig. 7 or fig. 8.
In the embodiments provided in the present invention, it should be understood that the disclosed method and apparatus can be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, a division of a module or a unit is merely a logical division, and an actual implementation may have another division, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
Units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit 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 substantially or partially implemented in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, a network device, or the like) or a processor (processor) 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.
While the foregoing is directed to embodiments of the present invention, it will be understood by those skilled in the art that various changes may be made without departing from the spirit and scope of the invention.