Disclosure of Invention
In order to overcome the defects in the prior art, the invention aims to provide a method and a device for controlling the inspection operation, which can fundamentally eliminate the possibility of inspection operation exceeding the authority.
In order to solve the technical problem, the inspection operation control method of the invention comprises the following steps:
determining the regional property of the equipment to be inspected in response to the execution of the inspection task;
acquiring inspection operation limits of the equipment to be inspected based on the determined regional properties;
and controlling the inspection terminal not to have the function of violating the inspection operation limit when inspecting the task according to the inspection operation limit.
As an improvement of the method of the invention, the determining of the regional nature of the equipment to be inspected comprises: and determining the regional property of the equipment to be inspected according to the information of the equipment to be inspected.
As another improvement of the method of the invention, the determining of the regional nature of the equipment to be inspected comprises: and inquiring the regional property of the equipment to be inspected corresponding to the inspection task according to the inspection task.
As still another improvement of the method of the present invention, the controlling of the patrol terminal to temporarily not have the function of violating the patrol operation limit based on the patrol operation limit includes: enabling the interactive interface of the inspection terminal not to display the application or the control violating the inspection operation limit; and/or calling a system interface of the inspection terminal to forbid the function of violating the inspection operation limit.
As a further improvement of the method of the present invention, the inspection operation limitation includes: inhibit photographing, inhibit recording video, inhibit networking, or any combination thereof.
In order to solve the above technical problem, the inspection operation control device of the present invention includes:
the regional property determining module is used for responding to the execution of the inspection task and determining the regional property of the equipment to be inspected;
the inspection operation acquisition module is used for acquiring inspection operation limits of the equipment to be inspected based on the determined regional properties;
and the control module is used for controlling the polling terminal not to have the function of violating the polling operation limit when executing the polling task according to the polling operation limit.
As an improvement of the apparatus of the present invention, the regional property determination module includes a location determination submodule configured to determine the regional property of the device to be inspected based on the information of the device to be inspected.
As another improvement of the apparatus of the present invention, the regional property determining module includes an inquiry sub-module, configured to inquire, according to the inspection task, a regional property of the device to be inspected corresponding to the inspection task.
As a further improvement of the apparatus of the present invention, the control module comprises: the display control sub-module is used for enabling the interactive interface of the inspection terminal not to display the application or the control violating the inspection operation limit; and/or the interface control submodule is used for calling the system interface of the inspection terminal to forbid the function of violating the inspection operation limit.
To solve the above technical problem, the tangible computer-readable medium of the present invention includes computer program codes for executing the patrol operation control method of the present invention.
To solve the above technical problem, the present invention provides an apparatus, comprising at least one processor; and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to perform at least some of the steps of the inspection operation control method of the present invention.
According to the invention, before the inspection task is formally executed, the inspection operation limit of the inspection area is obtained by determining the inspection area where the equipment to be inspected is located, and then the function of the inspection terminal is controlled according to the inspection operation limit so that the inspection terminal does not have the function of violating the inspection operation limit temporarily, thereby ensuring that a worker cannot or cannot implement the function of violating the inspection operation limit when performing the inspection task, fundamentally eliminating the possibility of over-authority misoperation, and ensuring the safety of a sensitive area.
Other features and advantages of the present invention will become more apparent from the detailed description of the embodiments of the present invention when taken in conjunction with the accompanying drawings.
Detailed Description
Embodiments and examples of the present invention will be described in detail below with reference to the accompanying drawings.
The scope of applicability of the present invention will become apparent from the detailed description given hereinafter. It should be understood, however, that the detailed description and the specific examples, while indicating preferred embodiments of the invention, are given by way of illustration only.
In order to implement the present invention, the area properties of each patrol area, such as an area name, an area ID, an area patrol operation limit, etc., need to be defined in advance. The regional tour operation restrictions include, for example and without limitation, no photographing, no recording of video, no networking, or any combination thereof. The information of the regional nature is formulated by the system (administrator) and does not allow the user of the inspection terminal to customize the information. The regional properties may also be modified by a system administrator based on the needs of the user and/or the administrative needs of the enterprise and then synchronized to the corresponding inspection terminals.
Fig. 1 shows a flowchart of an embodiment of a patrol operation control method according to the present invention. In this embodiment, when creating the area inspection task, the user first selects an area to be inspected, and then selects a device to be inspected (a device to be inspected) under the area, so as to correspond the inspection task to the inspection area (area property) and the device to be inspected. In other words, knowing the inspection task, the regional nature of the equipment to be inspected corresponding to the inspection task can be known, and the corresponding inspection operation limit can be known. In this case, all the devices to be inspected under the same inspection task have the same inspection operation limit conditions.
In step S102, when the inspection task is to be executed, the regional property of the device to be inspected corresponding to the inspection task is queried according to the inspection task. Regional properties include, for example, but are not limited to, primary sensitive regions, secondary sensitive regions, general regions, and the like. The general area has no limitation on the inspection work (operation) performed in the area, while the sensitive area has a certain limitation on the inspection operation performed therein, such as prohibition of taking a picture, prohibition of recording a sound, prohibition of recording a video, prohibition of networking, or any combination thereof, or any other limitation condition set as needed.
In step S104, the inspection operation limit of the device to be inspected is acquired based on the determined regional property. The determined regional nature is taken as the primary sensitive region as an example. And the inspection operation corresponding to the primary sensitive area is limited to forbidding photographing and forbidding recording of videos. Because the inspection task is already corresponding to the regional property (inspection operation limit) and the equipment to be inspected when the inspection task is created, the inspection operation limit of the equipment to be inspected can be known as photographing prohibition and video recording prohibition.
In step S106, according to the obtained inspection operation limit, taking the inspection operation limit as the shooting prohibition and the video recording prohibition as an example, the inspection terminal does not display the application or the control related to the shooting and the video recording during the inspection task, so that the user of the inspection terminal cannot shoot and record the video, and unnecessary loss of the enterprise due to the fact that the user violates the inspection operation limit due to misoperation is avoided. In other embodiments, the system interface of the inspection terminal may be invoked to disable the functions of taking pictures and recording videos, or any other suitable means may be used for this purpose.
Fig. 2 is a flowchart illustrating another embodiment of a patrol operation control method according to the present invention. In the embodiment, when the user creates the inspection task, the equipment to be inspected and the corresponding regional property are selected firstly, and then the equipment to be inspected and the corresponding regional property are corresponding to the inspection task. In this case, the devices to be inspected of different regional properties may be associated with the same inspection task, so that the devices to be inspected under the same inspection task have their own inspection operation limiting conditions.
In step S202, the regional nature of the device to be inspected is determined based on the information of the device to be inspected. For example, the two-dimensional code on the body of the equipment to be inspected is scanned to determine which equipment is the current equipment, so that the corresponding regional property of the current equipment is obtained.
In step S204, the patrol operation limit of the device to be patrolled is acquired based on the determined regional property.
In step S206, the patrol terminal is controlled not to have a function of violating the patrol operation limit at the time of the patrol task according to the patrol operation limit.
Steps S204 and S206 in the embodiment of fig. 2 are similar to steps S104 and S106 in the embodiment of fig. 1.
Fig. 3 is a schematic configuration diagram showing an embodiment of the inspection operation control apparatus according to the present invention. The apparatus of this embodiment comprises: a regional property determination module 302, configured to determine a regional property of the device to be inspected in response to performing the inspection task; a patrol operation acquiring module 304, configured to acquire a patrol operation limit of the device to be patrolled based on the determined regional property; and the control module 306 is used for controlling the patrol terminal not to have the function of violating the patrol operation limit when executing the patrol task according to the patrol operation limit.
According to an embodiment of the apparatus of the present invention, the regional property determining module in the embodiment of fig. 3 includes a location determining submodule, configured to determine the regional property of the device to be inspected according to the information of the device to be inspected.
According to another embodiment of the apparatus of the present invention, the regional property determining module in the embodiment of fig. 3 includes a query submodule, configured to query, according to the inspection task, the regional property of the device to be inspected, which corresponds to the inspection task.
According to another embodiment of the device of the present invention, the control module in the embodiment of fig. 3 comprises: the display control sub-module is used for enabling the interactive interface of the inspection terminal not to display the application or the control violating the inspection operation limit; and/or the interface control submodule is used for calling the system interface of the inspection terminal to forbid the function of violating the inspection operation limit.
The particular features, structures, or characteristics of the various embodiments described herein may be combined as suitable in one or more embodiments of the invention. Additionally, in some cases, the order of steps depicted in the flowcharts and/or in the pipelined process may be modified, as appropriate, and need not be performed exactly in the order depicted. In addition, various aspects of the invention may be implemented using software, hardware, firmware, or a combination thereof, and/or other computer implemented modules or devices that perform the described functions. Software implementations of the present invention may include executable code stored in a computer readable medium and executed by one or more processors. The computer readable medium may include a computer hard drive, ROM, RAM, flash memory, portable computer storage media such as CD-ROM, DVD-ROM, flash drives, and/or other devices, for example, having a Universal Serial Bus (USB) interface, and/or any other suitable tangible or non-transitory computer readable medium or computer memory on which executable code may be stored and executed by a processor. The present invention may be used in conjunction with any suitable operating system.
As used herein, the singular forms "a", "an" and "the" include plural references (i.e., have the meaning "at least one"), unless the context clearly dictates otherwise. It will be further understood that the terms "has," "includes" and/or "including," when used in this specification, specify the presence of stated features, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, elements, components, and/or groups thereof. The term "and/or" as used herein includes any and all combinations of one or more of the associated listed items.
The foregoing describes some preferred embodiments of the present invention, but it should be emphasized that the invention is not limited to these embodiments, but can be implemented in other ways within the scope of the inventive subject matter. The present invention may be modified and adapted by those skilled in the art without departing from the spirit and scope of the present invention, and these modifications and adaptations still fall within the scope of the present invention.