CN112131540A - Safety control method and device for test chamber, electronic equipment and storage medium - Google Patents

Safety control method and device for test chamber, electronic equipment and storage medium Download PDF

Info

Publication number
CN112131540A
CN112131540A CN202011034664.1A CN202011034664A CN112131540A CN 112131540 A CN112131540 A CN 112131540A CN 202011034664 A CN202011034664 A CN 202011034664A CN 112131540 A CN112131540 A CN 112131540A
Authority
CN
China
Prior art keywords
modification operation
emergency
information
time
parameter
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.)
Pending
Application number
CN202011034664.1A
Other languages
Chinese (zh)
Inventor
叶南洋
董明星
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangzhou Youyi Technology Co Ltd
Original Assignee
Guangzhou Youyi Technology Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Guangzhou Youyi Technology Co Ltd filed Critical Guangzhou Youyi Technology Co Ltd
Priority to CN202011034664.1A priority Critical patent/CN112131540A/en
Publication of CN112131540A publication Critical patent/CN112131540A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/30Authentication, i.e. establishing the identity or authorisation of security principals
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2221/00Indexing scheme relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/21Indexing scheme relating to G06F21/00 and subgroups addressing additional information or applications relating to security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F2221/2141Access rights, e.g. capability lists, access control lists, access tables, access matrices

Abstract

The invention provides a safety control method and device of a test chamber, electronic equipment and a storage medium, wherein request information is modified by acquiring parameters; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; if the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold, executing modification operation; therefore, the test parameters adjusted in an emergency can be ensured not to be modified by unknown management personnel within a certain time to cause test errors.

Description

Safety control method and device for test chamber, electronic equipment and storage medium
Technical Field
The invention relates to the technical field of environmental tests, in particular to a safety control method and device of a test chamber, electronic equipment and a storage medium.
Background
At present, high-end test boxes for environmental tests in the market have a remote control function, and parameters of the test boxes can be modified through a mobile terminal through a network. Sometimes, the field worker and the remote manager may modify the parameters of the test box at the same time, or different remote managers may modify the parameters of the test box at the same time, and for this case, the general test box is based on the parameters set later (i.e. directly using the parameters set later to directly override the parameters set earlier), and this way easily causes management confusion and cannot adapt to the emergency.
For example, when receiving an emergency notification, the field needs to modify the test parameters, and at this time, the field staff adjust the parameters according to the notification; however, the remote administrator does not know the temporary emergency notification because the remote administrator is not on site, and the remote administrator remotely changes the parameters back to the original values through the mobile terminal after finding that the parameters change, and the site worker does not know the parameters, which may cause the situation of parameter setting errors.
Therefore, a safety control method for a test box is needed to ensure that test parameters adjusted in an emergency situation are not modified by an unknown manager within a certain time to cause test errors.
Disclosure of Invention
In view of the foregoing disadvantages of the prior art, an object of the embodiments of the present application is to provide a method and an apparatus for safety control of a test chamber, an electronic device, and a storage medium, which can ensure that test parameters adjusted in an emergency are not modified by an unknown administrator within a certain time, so as to cause a test error.
In a first aspect, an embodiment of the present application provides a safety control method for a test chamber, which is used for the test chamber, and includes the steps of:
A1. acquiring parameter modification request information;
A2. judging whether the last parameter modification operation is an emergency modification operation;
A3. if the last parameter modification operation is not the emergency modification operation, executing the modification operation;
A4. if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not;
A5. if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification;
A6. and if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold, executing the modification operation.
In the safety control method of the test chamber, the parameter modification request information includes emergency state information; the emergency state information is emergency information or non-emergency information;
step a1 is followed by the steps of:
A7. judging whether the emergency state information is emergency information or not;
A8. and if the emergency state information is the emergency information, marking the parameter modification operation as the emergency modification operation after the modification operation is executed.
Further, step A8 includes:
acquiring input password information;
judging whether the input password information is correct or not;
and if the input password information is correct, marking the parameter modification operation as an emergency modification operation.
In some embodiments, in step A3 and step a6, the method of performing the modify operation includes:
acquiring new parameter information;
and modifying the value of the corresponding parameter according to the new parameter information.
In other embodiments, the method for performing the modifying operation in steps A3 and a6 includes:
acquiring authority level information of an operator;
judging whether the authority level of the operator is smaller than the authority level of the operator with the last parameter modification;
if the authority level of the operator is smaller than the authority level of the operator of the last parameter modification, the modification is refused;
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information.
In a second aspect, an embodiment of the present application provides a safety control device for a test chamber, including:
the first acquisition module is used for acquiring parameter modification request information;
the first judgment module is used for judging whether the last parameter modification operation is an emergency modification operation;
the first execution module is used for executing modification operation when the last parameter modification operation is not the emergency modification operation;
the second judgment module is used for judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value when the last parameter modification operation is an emergency modification operation;
the second execution module is used for refusing modification when the time interval between the current time and the last time when the parameter modification operation is finished is not greater than a preset first time threshold;
and the third execution module is used for executing the modification operation when the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold.
In the safety control device of the test chamber, the parameter modification request information comprises emergency state information; the emergency state information is emergency information or non-emergency information;
the safety control device of the test chamber further comprises:
the third judging module is used for judging whether the emergency state information is emergency information;
and the calibration module is used for marking the parameter modification operation as the emergency modification operation after the modification operation is executed when the emergency state information is the emergency information.
Further, the calibration module, when marking the parameter modification operation as an emergency modification operation,
acquiring input password information;
judging whether the input password information is correct or not;
and if the input password information is correct, marking the parameter modification operation as an emergency modification operation.
In a third aspect, an embodiment of the present application provides an electronic device, which includes a processor and a memory, where the memory stores a computer program, and the processor is configured to execute the steps of the safety control method for a test chamber by calling the computer program stored in the memory.
In a fourth aspect, embodiments of the present application provide a storage medium having a computer program stored thereon, where the computer program is executed by a processor to execute the steps of the safety control method for a test chamber.
Has the advantages that:
according to the safety control method and device for the test chamber, the electronic equipment and the storage medium, the parameter modification request information is acquired; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; if the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold, executing modification operation; therefore, the test parameters adjusted in an emergency can be guaranteed not to be modified by unknown management personnel within a certain time to cause test errors, an operator can inform the unknown management personnel in the period of time, and other management personnel are prevented from modifying the test parameters in a wrong way at the subsequent time.
Drawings
Fig. 1 is a flowchart of a safety control method for a test chamber according to an embodiment of the present application.
Fig. 2 is a block diagram of a safety control device of a test chamber according to an embodiment of the present application.
Fig. 3 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present application without making any creative effort, shall fall within the protection scope of the present application.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present application, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Referring to fig. 1, an embodiment of the present invention further provides a safety control method for a test chamber (including, but not limited to, temperature test chambers, humidity test chambers, temperature and humidity test chambers, salt fog test chambers, dust and sand test chambers, aging test chambers, and other environmental test chambers), including the steps of:
A1. acquiring parameter modification request information;
A2. judging whether the last parameter modification operation is an emergency modification operation;
A3. if the last parameter modification operation is not the emergency modification operation, executing the modification operation;
A4. if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not;
A5. if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification;
A6. and if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold, executing the modification operation.
When a manager (field staff also belongs to one of the managers), receives an emergency notification, needs to modify the test parameters of the test box urgently, and completes the emergency modification of the parameters according to the notification (the manager can directly modify the parameters through a controller of the test box on the field or remotely modify the parameters through a terminal by a remote manager), other managers cannot modify the parameters within a period of time (the duration is the first time threshold t 1), and the modifier can notify other managers of the emergency situation through a telephone or other modes within the period of time, so that the other managers can be prevented from modifying the test parameters mistakenly at the subsequent time, and the correct operation of the test is ensured.
The size of the first time threshold t1 may be set according to actual situations, for example, 10 min.
In fact, after the manager makes an emergency modification, the manager can also directly send the notification information to all managers through the test box (namely, the notification information is sent to all bound terminals and displayed in the controller of the test box); however, in order to prevent the administrator from modifying the notification information without seeing it, it is necessary to leave the first time threshold t1 for the modifier to notify the administrators by other means.
In order for the parameter modification operation to be identified as an emergency modification operation, in some embodiments, the parameter modification request information in step a1 includes emergency status information; the emergency state information is emergency information or non-emergency information;
thereby further comprising the steps after step a1 of:
A7. judging whether the emergency state information is emergency information or not;
A8. if the emergency state information is the emergency information, after the modification operation is executed, the parameter modification operation is marked as the emergency modification operation.
The method comprises the steps that an emergency state switch item can be arranged on an operation interface for sending a parameter modification request, when an operator sends the parameter modification request, the emergency state information can be selected to be emergency information or non-emergency information through the emergency state switch item, generally, the emergency state information is defaulted to be the non-emergency information, and the operator switches the emergency state information to be the emergency information through the emergency state switch item when needed; at this time, in step a7, it is determined whether the emergency information is emergency information according to the switch state of the emergency switch item on the operation interface that transmits the parameter modification request;
an input area of an emergency state value can be set on an operation interface for sending the parameter modification request, when an operator sends the parameter modification request, the corresponding emergency state value can be input in the input area, so that the emergency state information is determined to be the emergency information or the non-emergency information, generally, the emergency state information is defaulted to be the non-emergency information, and the operator switches the emergency state information into the emergency information by modifying the emergency state value when needed; for example, an emergency state value "1" indicates that the emergency state information is emergency information, an emergency state value "0" indicates that the emergency state information is non-emergency information, the emergency state value is default to "0", and an operator may change the emergency state value to "1" when the emergency state information needs to be switched to the emergency information; in this case, in step a7, it is determined whether or not the emergency information is emergency information based on the emergency state value.
In order to prevent the administrator from abusing the affirming function of the emergency modification operation or from setting the emergency state information by mistake, in some preferred embodiments, step A8 includes:
A801. acquiring input password information;
A802. judging whether the input password information is correct or not;
A803. if the input password information is correct, the parameter modification operation is marked as an emergency modification operation.
That is, when an operator sends a parameter modification request, if the emergency state information is set as emergency information, the operator is allowed to authenticate (i.e. an authentication prompt is sent out) first, and if the operator sets the emergency state information as emergency information due to a mistake, and sees that the operator needs to authenticate, the operator finds out the mistake condition and corrects the mistake condition in time; if the operator abuses the affirming function of the emergency amending operation, the password is generally unknown, so that the authentication cannot be passed, generally, when the parameter amending is required to be carried out urgently, the highest responsible person of the project is generally directly notified, the password is set by the highest responsible person, the highest responsible person can pass the authentication if the highest responsible person carries out the amending operation by himself, if the highest responsible person notifies a lower-level manager to carry out the amending, the password is notified to the lower-level manager together, so that the subordinate manager can pass the authentication, and if the highest responsible person cannot pass the authentication, the operator is not authorized, so that the problem of abusing the affirming function of the emergency amending operation is avoided.
In the first embodiment, in steps A3 and a6, the method of performing the modify operation includes:
acquiring new parameter information;
and modifying the value of the corresponding parameter according to the new parameter information.
In the first embodiment, any person can make the modification as long as the last parameter modification operation is not an urgent modification operation, or the last parameter modification operation is an urgent modification operation but has exceeded the first time threshold from the modification operation, and the restriction on the staff is small and the operation is free.
In the second embodiment, in steps A3 and a6, the method for performing the modification operation includes:
acquiring authority level information of an operator;
judging whether the authority level of the operator is smaller than the authority level of the operator of the last parameter modification;
if the authority level of the operator is smaller than the authority level of the operator of the last parameter modification, the modification is refused;
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information.
The method comprises the following steps that a permission level can be pre-allocated to a controller of each terminal and a test box, and a permission level allocation table is established; acquiring an identification number of equipment for sending parameter modification request information, and inquiring in an authority level distribution table according to the identification number so as to acquire authority level information of an operator;
or a permission level can be pre-allocated to each account, and a permission level allocation table is established; an operator can only operate after logging in by using an own account; and acquiring the authority level information of the operator by acquiring the account number for sending the parameter modification request information and inquiring in the authority level distribution table according to the account number.
In the second embodiment, only a manager with high authority can modify the test parameters, so that the manager with low authority can be prevented from modifying the parameters arbitrarily. In order to achieve the authorization, the high-authority manager can modify the operator authority level information of the parameter modification operation after modifying the parameter, so as to enable the low-authority manager to perform the parameter modification operation, at this time, the method for executing the modification operation further includes the steps of:
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring the authority level information input by the operator, and replacing the authority level information of the operator of the parameter modification operation with the input authority level information.
Here, the authority level information input by the operator cannot exceed the authority possessed by the operator, so as to avoid input errors from influencing the operation authority of the same level or the upper level; therefore, after the authority level information input by the operator is obtained, whether the input authority level information is higher than the authority level of the operator can be judged, and if the input authority level information is not higher than the authority level of the operator, the operator authority level information of the parameter modification operation is replaced by the input authority level information.
In the third embodiment, in the step A3 and the step a6, the method of performing the modification operation includes:
judging whether the time interval between the current time and the last time when the parameter modification operation is finished is larger than a preset second time threshold t 2;
if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset second time threshold t2, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information;
if the time interval between the current time and the last time when the parameter modification operation is finished is not greater than a preset second time threshold t2, acquiring authority level information of the operator, then judging whether the authority level of the operator is smaller than the authority level of the operator of the last time when the parameter is modified, if the authority level of the operator is smaller than the authority level of the operator of the last time when the parameter is modified, refusing the modification, and if the authority level of the operator is not smaller than the authority level of the operator of the last time when the parameter is modified, acquiring new parameter information and modifying the value of the corresponding parameter according to the new parameter information.
In the third embodiment, the second time threshold t2 is a value greater than the first time threshold t1, and the administrator with low authority can only modify the parameters after the time interval of the second time threshold t2 passes after the urgent modification, so that the administrator with high authority can maintain the priority control of the test parameters of the test box test in the time interval. For example, when a test box needs to perform some important test in a near time, in order to prevent the low-authority manager from changing data in the time and affecting the test process, the second time threshold t2 may be set as needed while setting the test parameters, so as to effectively prevent the test parameters from being changed by the low-authority manager.
Sometimes, an operator may find out that the parameter modification is wrong after performing the emergency modification operation, and needs to correct the parameter in time, and if the time interval from the end of performing the emergency modification operation is less than the first time threshold t1, the parameter modification cannot be performed in time, so in some embodiments, step a5 is: if the time interval between the current time and the last parameter modification operation ending time is not larger than a preset first time threshold, judging whether the requester is an operator of the last parameter modification operation or not, if not, refusing modification, if so, executing modification operation and recalculating the time interval. When judging whether the requester is the operator of the last parameter modification operation, whether the identifier or the login account of the device sending the parameter modification request information is the same can be judged.
Furthermore, after the modification operation is executed, problems may occur in the test process due to unreasonable modified parameters, for example, setting the sampling frequency of the test data to be too high may cause insufficient storage space, and then part of the test data is lost; or when the temperature and humidity test is carried out, the humidity is set to be too high, and the temperature is set to be too low, so that the condenser is seriously frosted; when a problem is found, the parameters need to be corrected in time, at this time, if the time interval between the current time and the time when the emergency modification operation is finished is not more than a preset first time threshold t1, only an operator of the emergency modification operation can perform correction, so that a warning signal can be sent to a terminal of the operator, and if the operator performs local operation in the test box, the warning signal is directly sent out on the site of the test box; however, the operator may not know the warning signal in time for some reasons (for example, the mobile phone is out of power or has no signal, and a person operating on the site temporarily leaves the site, etc.), so that the operator cannot correct the warning signal in time, and at this time, other people should be allowed to correct the warning signal;
therefore, in some embodiments, the safety control method of the test chamber further comprises the steps of:
A9. if the parameter setting is not reasonable and the last parameter modification operation is not an emergency modification operation, sending a warning signal to all managers (including sending the warning signal on the test box field and sending the warning signal to each terminal);
A10. if the parameter setting is unreasonable and the last parameter modification operation is an emergency modification operation, sending a warning signal to an operator of the emergency modification operation;
A11. if the answer signal of the operator of the emergency modification operation is not received within the preset third time threshold t3, the parameter modification operation is marked as a non-emergency modification operation, and a warning signal is sent to all managers.
In step a10, the pop-up window information may be sent at the same time as the warning signal, the pop-up window information includes the determination option, and the operator responds by clicking the determination option, but is not limited thereto; in step a11, since the operator of the urgent modification operation does not respond in time, indicating that the situation is not known in time, the sub-parameter modification operation is marked as a non-urgent modification operation, so that the modification right is released to all managers, and all managers can perform the modification.
According to the above, the safety control method of the test box modifies the request information by acquiring the parameters; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; if the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold, executing modification operation; therefore, the test parameters adjusted in an emergency can be guaranteed not to be modified by unknown management personnel within a certain time to cause test errors, an operator can inform the unknown management personnel in the period of time, and other management personnel are prevented from modifying the test parameters in a wrong way at the subsequent time.
Referring to fig. 2, an embodiment of the present application further provides a safety control device for a test chamber, which is used for the test chamber and includes a first obtaining module 1, a first determining module 2, a first executing module 3, a second determining module 4, a second executing module 5, and a third executing module 6;
the first obtaining module 1 is configured to obtain parameter modification request information;
the first judging module 2 is configured to judge whether a last parameter modification operation is an emergency modification operation;
the first execution module 3 is configured to execute a modification operation when the last parameter modification operation is not an emergency modification operation;
the second judging module 4 is configured to, when the previous parameter modification operation is an emergency modification operation, judge whether a time interval between a current time and a time when the previous parameter modification operation is ended is greater than a preset first time threshold;
the second execution module 5 is configured to reject modification when a time interval between the current time and a time when the last parameter modification operation is finished is not greater than a preset first time threshold;
the third executing module 6 is configured to execute the modification operation when a time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold.
In some embodiments, the parameter modification request information includes emergency state information; the emergency state information is emergency information or non-emergency information;
the safety control device of the test box further comprises a third judgment module and a calibration module;
the third judging module is used for judging whether the emergency state information is emergency information or not;
and the calibration module is used for marking the parameter modification operation as the emergency modification operation after the modification operation is executed when the emergency state information is the emergency information.
The method comprises the steps that an emergency state switch item can be arranged on an operation interface for sending a parameter modification request, when an operator sends the parameter modification request, the emergency state information can be selected to be emergency information or non-emergency information through the emergency state switch item, generally, the emergency state information is defaulted to be the non-emergency information, and the operator switches the emergency state information to be the emergency information through the emergency state switch item when needed; at the moment, the third judging module judges whether the emergency state information is the emergency information according to the switch state of the emergency state switch item on the operation interface for sending the parameter modification request;
an input area of an emergency state value can be set on an operation interface for sending the parameter modification request, when an operator sends the parameter modification request, the corresponding emergency state value can be input in the input area, so that the emergency state information is determined to be the emergency information or the non-emergency information, generally, the emergency state information is defaulted to be the non-emergency information, and the operator switches the emergency state information into the emergency information by modifying the emergency state value when needed; for example, an emergency state value "1" indicates that the emergency state information is emergency information, an emergency state value "0" indicates that the emergency state information is non-emergency information, the emergency state value is default to "0", and an operator may change the emergency state value to "1" when the emergency state information needs to be switched to the emergency information; at this time, the third judging module judges whether the emergency state information is the emergency information according to the emergency state value.
Further, in order to prevent the administrator from abusing the affirming function of the emergency modification operation or from setting the emergency state information by mistake, in some preferred embodiments, the calibration module, when marking the parameter modification operation as the emergency modification operation,
acquiring input password information;
judging whether the input password information is correct or not;
if the input password information is correct, the parameter modification operation is marked as an emergency modification operation.
In the first embodiment, the first execution module 3 and the third execution module 6, when performing the modification operation,
acquiring new parameter information;
and modifying the value of the corresponding parameter according to the new parameter information.
In the first embodiment, any person can make the modification as long as the last parameter modification operation is not an urgent modification operation, or the last parameter modification operation is an urgent modification operation but has exceeded the first time threshold from the modification operation, and the restriction on the staff is small and the operation is free.
In the second embodiment, the first execution module 3 and the third execution module 6, when performing the modification operation,
acquiring authority level information of an operator;
judging whether the authority level of the operator is smaller than the authority level of the operator of the last parameter modification;
if the authority level of the operator is smaller than the authority level of the operator of the last parameter modification, the modification is refused;
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information.
The method comprises the following steps that a permission level can be pre-allocated to a controller of each terminal and a test box, and a permission level allocation table is established; acquiring an identification number of equipment for sending parameter modification request information, and inquiring in an authority level distribution table according to the identification number so as to acquire authority level information of an operator;
or a permission level can be pre-allocated to each account, and a permission level allocation table is established; an operator can only operate after logging in by using an own account; and acquiring the authority level information of the operator by acquiring the account number for sending the parameter modification request information and inquiring in the authority level distribution table according to the account number.
In the second embodiment, only a manager with high authority can modify the test parameters, so that the manager with low authority can be prevented from modifying the parameters arbitrarily. In order to achieve the right-giving, the administrator with high authority can modify the operator authority level information of the parameter modification operation after modifying the parameter, so as to enable the administrator with low authority to perform the parameter modification operation, at this time, the first execution module 3 and the third execution module 6 perform the following steps when performing the modification operation:
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring the authority level information input by the operator, and replacing the authority level information of the operator of the parameter modification operation with the input authority level information.
Here, the authority level information input by the operator cannot exceed the authority possessed by the operator, so as to avoid input errors from influencing the operation authority of the same level or the upper level; therefore, after the authority level information input by the operator is obtained, whether the input authority level information is higher than the authority level of the operator can be judged, and if the input authority level information is not higher than the authority level of the operator, the operator authority level information of the parameter modification operation is replaced by the input authority level information.
In the third embodiment, when the first execution module 3 and the third execution module 6 execute the modification operation,
judging whether the time interval between the current time and the last time when the parameter modification operation is finished is larger than a preset second time threshold t 2;
if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset second time threshold t2, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information;
if the time interval between the current time and the last time when the parameter modification operation is finished is not greater than a preset second time threshold t2, acquiring authority level information of the operator, then judging whether the authority level of the operator is smaller than the authority level of the operator of the last time when the parameter is modified, if the authority level of the operator is smaller than the authority level of the operator of the last time when the parameter is modified, refusing the modification, and if the authority level of the operator is not smaller than the authority level of the operator of the last time when the parameter is modified, acquiring new parameter information and modifying the value of the corresponding parameter according to the new parameter information.
In the third embodiment, the second time threshold t2 is a value greater than the first time threshold t1, and the administrator with low authority can only modify the parameters after the time interval of the second time threshold t2 passes after the urgent modification, so that the administrator with high authority can maintain the priority control of the test parameters of the test box test in the time interval.
Sometimes, an operator may find that a parameter modification error occurs after performing an emergency modification operation, and needs to correct the parameter in time, and if a time interval from a time when the operator performs the emergency modification operation to an end time of performing the emergency modification operation is smaller than a first time threshold t1, the operator cannot correct the parameter in time. When judging whether the requester is the operator of the last parameter modification operation, whether the identifier or the login account of the device sending the parameter modification request information is the same can be judged.
Furthermore, after the modification operation is executed, problems may occur in the test process due to unreasonable modified parameters, for example, setting the sampling frequency of the test data to be too high may cause insufficient storage space, and then part of the test data is lost; or when the temperature and humidity test is carried out, the humidity is set to be too high, and the temperature is set to be too low, so that the condenser is seriously frosted; when a problem is found, the parameters need to be corrected in time, at this time, if the time interval between the current time and the time when the emergency modification operation is finished is not more than a preset first time threshold t1, only an operator of the emergency modification operation can perform correction, so that a warning signal can be sent to a terminal of the operator, and if the operator performs local operation in the test box, the warning signal is directly sent out on the site of the test box; however, the operator may not know the warning signal in time for some reasons (for example, the mobile phone is out of power or has no signal, and a person operating on the site temporarily leaves the site, etc.), so that the operator cannot correct the warning signal in time, and at this time, other people should be allowed to correct the warning signal;
therefore, in some embodiments, the safety control device of the test chamber further comprises:
the first warning module is used for sending warning signals to all managers (including sending warning signals on the site of the test box and sending warning signals to all terminals) when the parameter setting is unreasonable and the last parameter modification operation is not an emergency modification operation;
the second warning module is used for sending a warning signal to an operator of the emergency modification operation when the parameter setting is unreasonable and the last parameter modification operation is the emergency modification operation;
and the third warning module is used for marking the parameter modification operation as a non-emergency modification operation when the response signal of the operator of the emergency modification operation is not received within a preset third time threshold t3, and sending a warning signal to all managers.
The second warning module may send pop-up window information at the same time as sending the warning signal, the pop-up window information includes a determination option, and the operator responds by clicking the determination option, but is not limited thereto. Since the operator of the urgent modification operation does not respond in time, indicating that the situation is not known in time, the third warning module marks the sub-parameter modification operation as a non-urgent modification operation, thereby releasing the modification authority to all managers, and all managers can perform the modification.
In view of the above, the safety control device of the test chamber modifies the request information by acquiring the parameters; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; if the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold, executing modification operation; therefore, the test parameters adjusted in an emergency can be guaranteed not to be modified by unknown management personnel within a certain time to cause test errors, an operator can inform the unknown management personnel in the period of time, and other management personnel are prevented from modifying the test parameters in a wrong way at the subsequent time.
Referring to fig. 3, an electronic device 100 according to an embodiment of the present application further includes a processor 101 and a memory 102, where the memory 102 stores a computer program, and the processor 101 is configured to execute the steps of the safety control method for a test chamber by calling the computer program stored in the memory 102.
The processor 101 is electrically connected to the memory 102. The processor 101 is a control center of the electronic device 100, connects various parts of the entire electronic device using various interfaces and lines, and performs various functions of the electronic device and processes data by running or calling a computer program stored in the memory 102 and calling data stored in the memory 102, thereby performing overall monitoring of the electronic device.
The memory 102 may be used to store computer programs and data. The memory 102 stores computer programs containing instructions executable in the processor. The computer program may constitute various functional modules. The processor 101 executes various functional applications and data processing by calling a computer program stored in the memory 102.
In this embodiment, the processor 101 in the electronic device 100 loads instructions corresponding to one or more processes of the computer program into the memory 102, and the processor 101 runs the computer program stored in the memory 102 according to the following steps, so as to implement various functions: acquiring parameter modification request information; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; and if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold, executing the modification operation.
As can be seen from the above, the electronic device modifies the request information by obtaining the parameter; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; if the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold, executing modification operation; therefore, the test parameters adjusted in an emergency can be guaranteed not to be modified by unknown management personnel within a certain time to cause test errors, an operator can inform the unknown management personnel in the period of time, and other management personnel are prevented from modifying the test parameters in a wrong way at the subsequent time.
An embodiment of the present application further provides a storage medium, on which a computer program is stored, where the computer program runs the steps of the safety control method for a test chamber described above when being executed by a processor, so as to implement the following functions: acquiring parameter modification request information; judging whether the last parameter modification operation is an emergency modification operation; if the last parameter modification operation is not the emergency modification operation, executing the modification operation; if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not; if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification; and if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold, executing the modification operation.
The storage medium may be implemented by any type of volatile or nonvolatile storage device or combination thereof, such as a Static Random Access Memory (SRAM), an Electrically Erasable Programmable Read-Only Memory (EEPROM), an Erasable Programmable Read-Only Memory (EPROM), a Programmable Read-Only Memory (PROM), a Read-Only Memory (ROM), a magnetic Memory, a flash Memory, a magnetic disk, or an optical disk.
In summary, although the present invention has been described with reference to the preferred embodiments, the above-described preferred embodiments are not intended to limit the present invention, and those skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention, which are substantially the same as the present invention.

Claims (10)

1. A safety control method of a test chamber is used for the test chamber and is characterized by comprising the following steps:
A1. acquiring parameter modification request information;
A2. judging whether the last parameter modification operation is an emergency modification operation;
A3. if the last parameter modification operation is not the emergency modification operation, executing the modification operation;
A4. if the last parameter modification operation is an emergency modification operation, judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value or not;
A5. if the time interval between the current time and the last parameter modification operation ending time is not greater than a preset first time threshold, rejecting modification;
A6. and if the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold, executing the modification operation.
2. A safety control method for a test chamber as claimed in claim 1, wherein the parameter modification request information includes emergency state information; the emergency state information is emergency information or non-emergency information;
step a1 is followed by the steps of:
A7. judging whether the emergency state information is emergency information or not;
A8. and if the emergency state information is the emergency information, marking the parameter modification operation as the emergency modification operation after the modification operation is executed.
3. A method of safety control of a test chamber as claimed in claim 2, wherein step A8 includes:
acquiring input password information;
judging whether the input password information is correct or not;
and if the input password information is correct, marking the parameter modification operation as an emergency modification operation.
4. A safety control method for a test chamber as claimed in claim 1, wherein in the steps A3 and a6, the method of performing the modifying operation includes:
acquiring new parameter information;
and modifying the value of the corresponding parameter according to the new parameter information.
5. A safety control method for a test chamber as claimed in claim 1, wherein in the steps A3 and a6, the method of performing the modifying operation includes:
acquiring authority level information of an operator;
judging whether the authority level of the operator is smaller than the authority level of the operator with the last parameter modification;
if the authority level of the operator is smaller than the authority level of the operator of the last parameter modification, the modification is refused;
and if the authority level of the operator is not less than the authority level of the operator of the last parameter modification, acquiring new parameter information, and modifying the value of the corresponding parameter according to the new parameter information.
6. A safety control device for a test chamber, comprising:
the first acquisition module is used for acquiring parameter modification request information;
the first judgment module is used for judging whether the last parameter modification operation is an emergency modification operation;
the first execution module is used for executing modification operation when the last parameter modification operation is not the emergency modification operation;
the second judgment module is used for judging whether the time interval between the current time and the last parameter modification operation ending time is greater than a preset first time threshold value when the last parameter modification operation is an emergency modification operation;
the second execution module is used for refusing modification when the time interval between the current time and the last time when the parameter modification operation is finished is not greater than a preset first time threshold;
and the third execution module is used for executing the modification operation when the time interval between the current time and the last time when the parameter modification operation is finished is greater than a preset first time threshold.
7. A safety control device for a test chamber as claimed in claim 6, wherein the parameter modification request information includes emergency status information; the emergency state information is emergency information or non-emergency information;
the safety control device of the test chamber further comprises:
the third judging module is used for judging whether the emergency state information is emergency information;
and the calibration module is used for marking the parameter modification operation as the emergency modification operation after the modification operation is executed when the emergency state information is the emergency information.
8. A safety control device for a test chamber as claimed in claim 7, wherein the calibration module, when marking the parameter modification operation as an emergency modification operation,
acquiring input password information;
judging whether the input password information is correct or not;
and if the input password information is correct, marking the parameter modification operation as an emergency modification operation.
9. An electronic device, characterized in that it comprises a processor and a memory, in which a computer program is stored, said processor being adapted to carry out the steps of the safety control method of a test chamber according to any one of claims 1 to 5 by calling said computer program stored in said memory.
10. A storage medium on which a computer program is stored, which computer program, when being executed by a processor, executes the steps of a method for safety control of a test chamber according to any one of claims 1 to 5.
CN202011034664.1A 2020-09-27 2020-09-27 Safety control method and device for test chamber, electronic equipment and storage medium Pending CN112131540A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011034664.1A CN112131540A (en) 2020-09-27 2020-09-27 Safety control method and device for test chamber, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011034664.1A CN112131540A (en) 2020-09-27 2020-09-27 Safety control method and device for test chamber, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN112131540A true CN112131540A (en) 2020-12-25

Family

ID=73840334

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011034664.1A Pending CN112131540A (en) 2020-09-27 2020-09-27 Safety control method and device for test chamber, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN112131540A (en)

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151144A1 (en) * 2003-02-03 2004-08-05 Mathilde Benveniste Emergency call handling in contention-based wireless local-area networks
JP2008242874A (en) * 2007-03-28 2008-10-09 Hitachi Ltd Control device and authentication control system
CN101291463A (en) * 2007-04-19 2008-10-22 特林布尔导航有限公司 Legacy cellular device with upgraded GIS functionality
CN101783737A (en) * 2009-01-21 2010-07-21 华为终端有限公司 Reporting method, acquiring method and device of configuration order application result
CN103563471A (en) * 2012-04-28 2014-02-05 华为技术有限公司 Resource operation method and device
US20150350611A1 (en) * 2013-05-30 2015-12-03 Manything Systems Limited Methods and systems for monitoring environments using smart devices
CN106254128A (en) * 2016-08-24 2016-12-21 北京紫金支点技术有限公司 A kind of ATM configuration parameter management method based on server and system
CN107147557A (en) * 2016-10-25 2017-09-08 北京小米移动软件有限公司 Change the method and device of session information
CN107567406A (en) * 2015-05-01 2018-01-09 德尔福技术有限公司 Automated vehicle parameter modification based on operator's override
CN108255730A (en) * 2018-01-23 2018-07-06 平安普惠企业管理有限公司 Software interface test approach, test equipment, storage medium and device
CN108588666A (en) * 2018-05-31 2018-09-28 北京铂阳顶荣光伏科技有限公司 The parameter amending method and device of filming equipment
CN108696480A (en) * 2017-04-07 2018-10-23 沈机(上海)智能系统研发设计有限公司 Industrial service right management method, device and machine tool
CN111367192A (en) * 2020-03-23 2020-07-03 湖南人文科技学院 Control method based on virtual reality terminal and virtual reality terminal
CN111457345A (en) * 2020-04-13 2020-07-28 重庆城市管理职业学院 Boiler monitoring system and method based on industrial Internet of things
CN111524306A (en) * 2020-04-18 2020-08-11 杭州万联网络科技有限公司 Centralized monitoring system for power environment of machine room

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040151144A1 (en) * 2003-02-03 2004-08-05 Mathilde Benveniste Emergency call handling in contention-based wireless local-area networks
JP2008242874A (en) * 2007-03-28 2008-10-09 Hitachi Ltd Control device and authentication control system
CN101291463A (en) * 2007-04-19 2008-10-22 特林布尔导航有限公司 Legacy cellular device with upgraded GIS functionality
CN101783737A (en) * 2009-01-21 2010-07-21 华为终端有限公司 Reporting method, acquiring method and device of configuration order application result
CN103563471A (en) * 2012-04-28 2014-02-05 华为技术有限公司 Resource operation method and device
US20150350611A1 (en) * 2013-05-30 2015-12-03 Manything Systems Limited Methods and systems for monitoring environments using smart devices
CN107567406A (en) * 2015-05-01 2018-01-09 德尔福技术有限公司 Automated vehicle parameter modification based on operator's override
CN106254128A (en) * 2016-08-24 2016-12-21 北京紫金支点技术有限公司 A kind of ATM configuration parameter management method based on server and system
CN107147557A (en) * 2016-10-25 2017-09-08 北京小米移动软件有限公司 Change the method and device of session information
CN108696480A (en) * 2017-04-07 2018-10-23 沈机(上海)智能系统研发设计有限公司 Industrial service right management method, device and machine tool
CN108255730A (en) * 2018-01-23 2018-07-06 平安普惠企业管理有限公司 Software interface test approach, test equipment, storage medium and device
CN108588666A (en) * 2018-05-31 2018-09-28 北京铂阳顶荣光伏科技有限公司 The parameter amending method and device of filming equipment
CN111367192A (en) * 2020-03-23 2020-07-03 湖南人文科技学院 Control method based on virtual reality terminal and virtual reality terminal
CN111457345A (en) * 2020-04-13 2020-07-28 重庆城市管理职业学院 Boiler monitoring system and method based on industrial Internet of things
CN111524306A (en) * 2020-04-18 2020-08-11 杭州万联网络科技有限公司 Centralized monitoring system for power environment of machine room

Similar Documents

Publication Publication Date Title
CN111885005B (en) Container cloud platform service communication method, device, equipment and medium
CN110956722A (en) Method, equipment and storage medium for alarming abnormity of intelligent lock
CN113873006A (en) Baseline detection method based on priority
CN108537043B (en) Risk control method and system for mobile terminal
CN114363313A (en) Device control method, server, and storage medium
CN107395451B (en) Processing method, device and equipment for internet traffic abnormity and storage medium
CN112104618A (en) Information determination method, information determination device and computer readable storage medium
CN112131540A (en) Safety control method and device for test chamber, electronic equipment and storage medium
CN111949421B (en) SDK calling method, device, electronic equipment and computer readable storage medium
CN103329587B (en) Method and apparatus for controlling to access mobile telecom network
CN108870641B (en) Drive fault detection method and device and air conditioner
US8392755B2 (en) Providing protection switching via failure prediction
CN108846281A (en) Root authority acquisition methods, device, terminal device and storage medium
CN110913416B (en) Terminal, networking method thereof and computer-readable storage medium
US20210014332A1 (en) Method for managing a group of devices, associated server and system
CN107678905B (en) Monitoring method and device
CN110752950A (en) Update detection method and device for cloud resource pool and terminal equipment
CN110750418B (en) Information processing method, electronic equipment and information processing system
CN104794157B (en) A kind of software recommendation method and equipment
EP3772676B1 (en) Alarm management system and alarm management method
CN113891316B (en) Wireless device access control method and device
CN107590582B (en) Firearm management method based on Internet of things and server
CN106940762A (en) A kind of User logs in limitation and behavior record device and method
CN115757127A (en) Detection method and device for vehicle-mounted mobile patrol terminal
CN117081832A (en) Terminal access control method, device, computer equipment and storage medium

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
CB02 Change of applicant information

Country or region after: China

Address after: 518000, Zone D, 3rd Floor, Building 2, No. 6 Xinrui Road, Huangpu District, Guangzhou City, Guangdong Province

Applicant after: Guangzhou Youyi Technology Co.,Ltd.

Address before: 510535 area D, 3rd floor, building 2, No.6 Xinrui Road, Huangpu District, Guangzhou City, Guangdong Province

Applicant before: Guangzhou Youyi Technology Co.,Ltd.

Country or region before: China