CN116521460A - Screen unlocking method and device for test equipment, electronic equipment and storage medium - Google Patents

Screen unlocking method and device for test equipment, electronic equipment and storage medium Download PDF

Info

Publication number
CN116521460A
CN116521460A CN202310390779.1A CN202310390779A CN116521460A CN 116521460 A CN116521460 A CN 116521460A CN 202310390779 A CN202310390779 A CN 202310390779A CN 116521460 A CN116521460 A CN 116521460A
Authority
CN
China
Prior art keywords
target
test equipment
target test
screen
password
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
CN202310390779.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.)
China Securities Co Ltd
Original Assignee
China Securities 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 China Securities Co Ltd filed Critical China Securities Co Ltd
Priority to CN202310390779.1A priority Critical patent/CN116521460A/en
Publication of CN116521460A publication Critical patent/CN116521460A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2205Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested
    • G06F11/2221Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing using arrangements specific to the hardware being tested to test input/output devices or peripheral units
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/2247Verification or detection of system hardware configuration
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/22Detection or location of defective computer hardware by testing during standby operation or during idle time, e.g. start-up testing
    • G06F11/26Functional testing
    • G06F11/263Generation of test inputs, e.g. test vectors, patterns or sequences ; with adaptation of the tested hardware for testability with external testers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/70Protecting specific internal or peripheral components, in which the protection of a component leads to protection of the entire computer
    • G06F21/82Protecting input, output or interconnection devices
    • G06F21/84Protecting input, output or interconnection devices output devices, e.g. displays or monitors
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/50Reducing energy consumption in communication networks in wire-line communication networks, e.g. low power modes or reduced link rate

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the invention provides a screen-removing method and device for test equipment, electronic equipment and a storage medium, and relates to the technical field of computers, wherein the method comprises the following steps: acquiring a target IP of target test equipment; periodically sending a specified instruction for triggering screen state identification to an agent client in target test equipment based on target IP of the target test equipment; receiving an execution result fed back by the proxy client; if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in the password management platform; based on the login account number and the login password of the target test equipment, the screen of the target test equipment is remotely unlocked by utilizing the rdeaktop component. The screen unlocking efficiency of the test equipment can be improved through the scheme.

Description

Screen unlocking method and device for test equipment, electronic equipment and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method and apparatus for screen unlocking of a test device, an electronic device, and a storage medium.
Background
In an automatic test scene, a simulated clicking operation is usually used, a tester needs to manually click to perform the simulated clicking operation, and test tools such as Autoit, selenium solve the problem of manual clicking test and improve the test efficiency of test equipment.
In the related art, if the test device does not detect manual operation for a long time, the screen will be automatically locked, and when the test tool is used for performing the simulated click operation, it is generally required to ensure that the screen of the test device is normally bright, that is, the screen is in an unlocked state, and at this time, the tester can manually unlock the screen to keep the screen normally bright.
However, the manual screen-removing mode of the tester does not have universality, and when the test equipment is too much, the tester can be difficult to operate, and a large amount of manpower resources are consumed, so that the screen-removing efficiency of the test equipment is lower.
Disclosure of Invention
The embodiment of the invention aims to provide a test equipment screen unlocking method, a device, electronic equipment and a storage medium, so as to improve the screen unlocking efficiency of the test equipment. The specific technical scheme is as follows:
in a first aspect, an embodiment of the present invention provides a method for screen unlocking of a test device, which is applied to a proxy server, where the method includes:
Acquiring a target IP of target test equipment;
based on a target IP of target test equipment, periodically sending a specified instruction for triggering screen state identification to a proxy client in the target test equipment, enabling the proxy client to execute a specified script file in response to receiving the specified instruction, and feeding back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
receiving an execution result fed back by the proxy client;
if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in a password management platform;
based on the login account number and the login password of the target test equipment, remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component;
The rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
Optionally, if the executing result characterizes that the screen state of the target test device is a screen locking state, determining the login account number and the login password of the target test device corresponding to the target IP stored in the password management platform includes:
taking the target IP as a transfer parameter, and calling a data access interface of the password management platform to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB; the configuration management database CMDB is arranged on the password management platform and is cached with login account numbers and login passwords of all the test devices.
Optionally, before the step of calling the data access interface of the password management platform by using the target IP as a transfer parameter to determine the login account id and the login password of the target test device corresponding to the target IP from a configuration management database CMDB, the method includes:
sending an interface verification request to the password management platform, so that the password management platform identifies whether a token with use timeliness exists in the interface verification request, and if the identification result is yes, feeding back information allowing interface call to the proxy server;
The step of calling the data access interface of the password management platform by taking the target IP as a transfer parameter to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB, comprises the following steps:
and if the information allowing the interface to be called is received, calling the data access interface of the password management platform by taking the target IP as a transfer parameter so as to determine the login account number and the login password of the target test equipment corresponding to the target IP from a configuration management database CMDB.
Optionally, the remote unlocking of the screen of the target test device by using the rdeaktop component based on the login account number and the login password of the target test device includes:
and calling a rdeaktop component by taking the login account number and the login password of the target test equipment as parameters, and remotely unlocking a screen of the target test equipment.
Optionally, the login account number and the login password of the target test device are encrypted data;
before the screen of the target test device is remotely unlocked by using the rdeaktop component based on the login account number and the login password of the target test device, the method further comprises:
Decrypting the login account and the login password of the target test equipment to obtain the decrypted login account and login password;
the remote unlocking of the screen of the target test equipment by using the rdeaktop component based on the login account number and the login password of the target test equipment comprises the following steps:
and remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component based on the decrypted login account number and login password of the target test equipment.
In a second aspect, an embodiment of the present invention provides a test device screen unlocking apparatus, which is applied to a proxy server, where the method includes:
the acquisition module is used for acquiring the target IP of the target test equipment;
the system comprises a sending module, a proxy client and a proxy server, wherein the sending module is used for periodically sending a specified instruction for triggering screen state identification to the proxy client in target test equipment based on target IP of the target test equipment, so that the proxy client responds to the received specified instruction to execute a specified script file and feeds back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
The receiving module is used for receiving the execution result fed back by the proxy client;
the determining module is used for determining a login account number and a login password of the target test equipment corresponding to the target IP stored in the password management platform if the execution result represents that the screen state of the target test equipment is a screen locking state;
the unlocking module is used for remotely unlocking a screen of the target test equipment by utilizing the rdeaktop component based on the login account number and the login password of the target test equipment;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
In a third aspect, an embodiment of the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus, where the processor, the communication interface, and the memory complete communication with each other through the communication bus;
a memory for storing a computer program;
and the processor is used for realizing any one of the screen-removing methods of the test equipment when executing the program stored in the memory.
In a fourth aspect, embodiments of the present invention provide a computer readable storage medium having a computer program stored therein, which when executed by a processor implements any of the test device screen unlocking methods.
The embodiment of the invention also provides a computer program product containing instructions, which when run on a computer, cause the computer to execute the test equipment screen-removing method.
The embodiment of the invention has the beneficial effects that:
according to the test equipment screen unlocking method provided by the embodiment of the invention, the target IP of the target test equipment is acquired firstly, the appointed instruction for triggering screen state identification can be periodically sent to the proxy client in the target test equipment through the target IP, so that the client responds to the appointed instruction, executes the appointed script file, feeds back the execution result, and the proxy server can receive the execution result; that is, the proxy server may periodically identify the screen state of the target test device through a specified script file in the proxy client based on the target IP; if the execution result represents that the screen state of the target test equipment is a screen locking state, a login account number and a login password corresponding to the target IP in the password management platform can be determined, namely, the login account number and the login password of the target test equipment are determined, and therefore the screen of the target test equipment is remotely unlocked by utilizing the rdeaktop component based on the login account number and the login password. Therefore, the screen unlocking method of the test equipment provided by the embodiment of the invention can periodically identify the screen state of the target test equipment, and when the screen state is the screen locking state, the screen of the target test equipment can be remotely unlocked through the login account number and the login password of the target test equipment without manual screen unlocking, so that the screen unlocking efficiency of the test equipment is improved.
Of course, it is not necessary for any one product or method of practicing the invention to achieve all of the advantages set forth above at the same time.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the invention, and other embodiments may be obtained according to these drawings to those skilled in the art.
FIG. 1 is a schematic flow chart of a method for screen unlocking of test equipment according to an embodiment of the present invention;
FIG. 2 is another flow chart of a method for screen unlocking of a test device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a screen-releasing device of a test device according to an embodiment of the present invention;
fig. 4 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. Based on the embodiments of the present invention, those of ordinary skill in the art will be able to devise all other embodiments that are obtained based on this application and are within the scope of the present invention.
In the scenario of automatic test, the operation of performing simulated clicking on the test equipment is generally required, the simulated clicking operation is generally required to be performed manually by a tester, and the test tools such as Autoit, selenium and the like can perform automatic simulated clicking, so that the test efficiency of the test equipment is improved.
In the related art, if the test device does not detect manual operation for a long time, the screen of the test device is automatically changed into a screen locking state, and manual simulated clicking operation and automatic simulated clicking operation of the test tool are required to ensure that the screen of the test device is in an unlocking state, at this time, a tester can unlock the screen of the test device in a manual screen unlocking mode.
However, the manual screen-removing mode of the tester does not have universality, and when the number of the test devices is too large, the tester can be difficult to operate, a large amount of human resources are required to be consumed for screen-removing, and the screen-removing efficiency of the test devices is low.
In addition, there is a screen unlocking method in the related art, which needs to manually perform some customized configurations in the test equipment in advance, for example: setting a device password, changing a device registry and the like, and for test devices, potential safety hazards such as password leakage or registry information leakage exist.
Based on the above, the embodiment of the invention provides a method and a device for screen unlocking of test equipment, electronic equipment and a storage medium, so as to improve the screen unlocking efficiency of the test equipment.
The following first describes a screen unlocking method for test equipment provided by the embodiment of the invention.
The screen unlocking method of the test equipment provided by the embodiment of the invention can be applied to the electronic equipment running with the proxy server side; the electronic device may be a terminal device or a server, and the terminal device may be: the invention does not limit the specific form of the electronic equipment, such as a smart phone, a tablet computer, a desktop computer or a notebook computer; the method for testing equipment screen release provided by the embodiment of the invention can be applied to any scene with equipment screen release requirements, for example: a scenario in which a test device whose screen state is in a lock state is to be released, etc., the test device may be a device that executes a test component.
It will be appreciated that when the test device is disassembled, the screen state of the test device is typically in a locked state, such as: the screen is not bright due to the long-time non-manual operation, or the screen is automatically locked due to the long-time non-manual operation.
The screen unlocking method of the test equipment provided by the embodiment of the invention can comprise the following steps:
acquiring a target IP of target test equipment;
based on a target IP of target test equipment, periodically sending a specified instruction for triggering screen state identification to a proxy client in the target test equipment, enabling the proxy client to execute a specified script file in response to receiving the specified instruction, and feeding back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
receiving an execution result fed back by the proxy client;
if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in a password management platform;
Based on the login account number and the login password of the target test equipment, remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
According to the test equipment screen unlocking method provided by the embodiment of the invention, the target IP of the target test equipment is acquired firstly, the appointed instruction for triggering screen state identification can be periodically sent to the proxy client in the target test equipment through the target IP, so that the client responds to the appointed instruction, executes the appointed script file, feeds back the execution result, and the proxy server can receive the execution result; that is, the proxy server may periodically identify the screen state of the target test device through a specified script file in the proxy client based on the target IP; if the execution result represents that the screen state of the target test equipment is a screen locking state, a login account number and a login password corresponding to the target IP in the password management platform can be determined, namely, the login account number and the login password of the target test equipment are determined, and therefore the screen of the target test equipment is remotely unlocked by utilizing the rdeaktop component based on the login account number and the login password. Therefore, the screen unlocking method of the test equipment provided by the embodiment of the invention can periodically identify the screen state of the target test equipment, and when the screen state is the screen locking state, the screen of the target test equipment can be remotely unlocked through the login account number and the login password of the target test equipment without manual screen unlocking, so that the screen unlocking efficiency of the test equipment is improved.
An exemplary description of a method for screen-removing of a test device according to the present invention is provided below with reference to the accompanying drawings.
As shown in fig. 1, the method for screen-removing of the test device provided by the invention is applied to a proxy server and can include the following steps:
s101: acquiring a target IP of target test equipment;
the screen unlocking method of the test equipment can realize remote unlocking of the screen of the test equipment; firstly, a target IP (internet protocol ) of the target test device may be acquired first, through which the test device that needs to perform remote screen unlocking may be determined, that is, the target test device may perform subsequent steps based on the target IP, so as to remotely unlock the screen of the target test device.
It should be noted that, there may be multiple ways of obtaining the target IP, and the present invention is not limited herein; for example, the IP manually input by the staff may be used as the target IP, or the target IP may be automatically obtained by calling an interface, where the called interface may be an interface of a platform for managing the test devices, and the managed IP of each test device may be stored, and an IP may be selected from the interfaces as the target IP.
In addition, the proxy server may be a platform for remotely unlocking a screen of the test device, in which a proxy client may be disposed, and may communicate with the test device through the proxy client.
S102: based on a target IP of target test equipment, periodically sending a specified instruction for triggering screen state identification to a proxy client in the target test equipment, enabling the proxy client to execute a specified script file in response to receiving the specified instruction, and feeding back an execution result of the specified script file to the proxy server;
the proxy client is a client corresponding to the proxy server, the specified script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP).
After the target IP of the target test equipment is obtained, the screen state of the target test equipment can be determined based on the target IP, and if the screen of the target test equipment is in a screen locking state, the target test equipment can be remotely screen-released by executing the subsequent steps; specifically, the proxy server may be connected to the target test device through the control transmission protocol TCP (Transmission Control Protocol), where the connection may be a long connection, and may periodically send, based on the target IP, a specified instruction for triggering screen state identification to the proxy client in the target test device, so that the proxy client executes the specified script file in response to receiving the specified instruction, and feeds back an execution result of the specified script file to the proxy server. That is, the proxy server may be connected to the target test device through a TCP protocol, and call the specified script file in the proxy client by periodically sending a specified instruction to the proxy client in the target test device, so as to identify the screen state of the target test device, where the proxy client may feed back the execution result of the specified script file, that is, the screen state identification result of the target test device, to the proxy server.
The method comprises the steps that a proxy server periodically sends a specified instruction to a proxy client in target test equipment, the screen state of the target test equipment can be periodically detected, the screen state of the target test equipment is in an unlocking state by executing subsequent steps, the test equipment is ensured to smoothly complete execution of a test assembly, and the condition that the screen is changed into a screen locking state again if manual operation is not detected for a long time after the target test equipment is remotely screen-released through the subsequent steps is avoided. In addition, in order to ensure that the screen of the target test device is always in the unlocked state, a period for sending a specified instruction to the target test device may be set to be smaller than a specified duration, and the specified duration may be a duration set by the target test device for switching the screen to the screen locking state without detecting a manual operation.
In addition, when the screen state of the target test equipment is periodically detected, the target test equipment can be periodically connected with the TCP protocol, and after the connection, a mode for triggering a specified instruction for carrying out screen state identification is sent to the proxy client in the target test equipment, so that the proxy client periodically executes the specified script file, and the execution result of the specified script file is fed back to the proxy server. Similarly, the period of connection to the target test device via the TCP protocol may be less than a specified duration, which is not limited herein.
For example, the proxy client may be pre-deployed to the target test device, where the proxy client is a client corresponding to the proxy server, and the proxy server may communicate with the target test device through the proxy client, and pre-issue a specified script file to the proxy client, where the specified script file may be a script file that is used to identify a screen state of the target test device when executed, for example: the specified script file may be a java script file.
It should be noted that the above manner of identifying the screen state of the target test device based on the target IP of the target test device is merely an example, and should not be construed as limiting the present invention. In addition, the invention does not limit the time and the mode of feeding back the execution result from the proxy client to the proxy server. For example: the execution result can be fed back to the proxy server through the TCP immediately after the execution result is obtained.
S103: receiving an execution result fed back by the proxy client;
after sending a specified instruction for triggering screen state identification to the proxy client in the target test equipment, so that the proxy client responds to receiving the specified specification, executes the specified script file, and feeds back an execution result of the execution script file to the proxy server, the proxy server can receive the execution result fed back by the proxy client.
It will be appreciated that the execution results may characterize the screen state of the target test device, for example: a locked state, or an unlocked state. Different processing operations can be performed according to different screen states of the target test equipment represented by the execution result. For example: if the execution result represents that the screen state of the target test equipment is a screen locking state, the subsequent steps can be executed to remotely unlock the screen of the target test equipment; if the execution result represents that the screen state of the target test equipment is in the unlocking state, the processing can be omitted.
S104: if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in a password management platform;
if the execution result represents that the screen state of the target test equipment is the screen locking state, remote screen unlocking operation is needed to be performed on the target test equipment, and further, a login account number and a login password of the target test equipment corresponding to the target IP stored in the password management platform can be determined, so that the remote screen unlocking operation can be performed on the target test equipment based on the login account number and the login password.
It can be understood that the login account and the login password of each test device can be stored in the password management platform, the password management platform can maintain the login account and the login password of each test device, and operations such as updating, adding or deleting the login account and the login password of each test device can be performed.
In addition, by determining the login account number and the login password of the target test device corresponding to the target IP from the password management platform, the risk of information leakage of the login account number, the login password and other information in the network transmission process is reduced, and the safety is improved. Of course, in order to further improve security, the login account and the login password of each test device stored in the password management platform may also be encrypted, and the detailed manner of determining the login account and the login password of the target test device will be described in the following embodiments, which are not described herein.
S105: based on the login account number and the login password of the target test equipment, remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
After the login account number and the login password of the target test equipment are obtained, the rdeaktop component in the proxy server can be called, and the screen of the target test equipment is remotely unlocked. The rdeaktop component is a component of a command using a remote desktop connection, and for convenience of calling, the rdeaktop component can be arranged at a proxy server side. And the proxy server can be connected with the target test equipment through a transmission control protocol TCP, so that the screen of the target test equipment is remotely unlocked.
Illustratively, the remotely unlocking the screen of the target test device by using the rdeaktop component based on the login account number and the login password of the target test device includes:
and calling a rdeaktop component by taking the login account number and the login password of the target test equipment as parameters, and remotely unlocking a screen of the target test equipment.
When the screen of the target test equipment is unlocked remotely by utilizing the rdeaktop component, the login account number and the login password of the target test equipment can be used as parameters, and the screen of the target test equipment is unlocked remotely by calling the rdeaktop component.
It should be noted that, the manner of calling the rdeaktop component may be similar to the prior art, and will not be described herein. When the remote unlocking method is used, the determined login account number and login password of the target test equipment can be used as parameters for input, and therefore the screen of the target test equipment is remotely unlocked.
According to the test equipment screen unlocking method provided by the embodiment of the invention, the target IP of the target test equipment is acquired firstly, the appointed instruction for triggering screen state identification can be periodically sent to the proxy client in the target test equipment through the target IP, so that the client responds to the appointed instruction, executes the appointed script file, feeds back the execution result, and the proxy server can receive the execution result; that is, the proxy server may periodically identify the screen state of the target test device through a specified script file in the proxy client based on the target IP; if the execution result represents that the screen state of the target test equipment is a screen locking state, a login account number and a login password corresponding to the target IP in the password management platform can be determined, namely, the login account number and the login password of the target test equipment are determined, and therefore the screen of the target test equipment is remotely unlocked by utilizing the rdeaktop component based on the login account number and the login password. Therefore, the screen unlocking method of the test equipment provided by the embodiment of the invention can periodically identify the screen state of the target test equipment, and when the screen state is the screen locking state, the screen of the target test equipment can be remotely unlocked through the login account number and the login password of the target test equipment without manual screen unlocking, so that the screen unlocking efficiency of the test equipment is improved.
Optionally, in another embodiment of the present invention, if the executing result characterizes that the screen state of the target test device is a lock screen state, determining a login account number and a login password of the target test device corresponding to the target IP stored in a password management platform includes:
taking the target IP as a transfer parameter, and calling a data access interface of the password management platform to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB; the configuration management database CMDB is arranged on the password management platform and is cached with login account numbers and login passwords of all the test devices.
If the execution result represents that the screen of the target test equipment is in a screen locking state, in order to ensure that the target test equipment can execute the test component, the screen of the target test equipment can be remotely unlocked, and at the moment, a login account number and a login password of the target test equipment corresponding to the target IP stored in the password management platform can be determined first. Specifically, the configuration management database CMDB (Configuration Management Database) in the password management platform stores the login account number and the login password of each test device, and the target IP can be used as a transfer parameter to call the data access interface of the password management platform, so that the login account number and the login password of the target test device corresponding to the target IP are determined from the configuration management database CMDB.
Optionally, before the step of calling the data access interface of the password management platform by using the target IP as a transfer parameter to determine the login account id and the login password of the target test device corresponding to the target IP from a configuration management database CMDB, the method includes:
sending an interface verification request to the password management platform, so that the password management platform identifies whether a token with use timeliness exists in the interface verification request, and if the identification result is yes, feeding back information allowing interface call to the proxy server;
the step of calling the data access interface of the password management platform by taking the target IP as a transfer parameter to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB, comprises the following steps:
and if the information allowing the interface to be called is received, calling the data access interface of the password management platform by taking the target IP as a transfer parameter so as to determine the login account number and the login password of the target test equipment corresponding to the target IP from a configuration management database CMDB.
It can be understood that, before the data access interface of the password management platform is invoked, in order to improve the security of data, the password management platform may further perform token check on the proxy server, the proxy server may send an interface check request to the password management platform, the password management platform may identify whether there is a token with usage timeliness in the interface check request, and if there is a token with usage timeliness, may feed back information that allows the interface invocation to the proxy server. Wherein, for security, the password management platform may issue a token for the proxy server, and the token may have timeliness, for example: the token has timeliness of 30min and use timeliness of 30min, and if the time exceeds 30min, the password management platform is required to issue the token again.
Correspondingly, after receiving the information which is fed back by the password management platform and allows the interface to be called, the target IP can be used as a transfer parameter to call the data access interface of the password management platform, and the login account and the login password corresponding to the target IP are determined from the configuration management database CMDB.
In addition, the interface verification request can also contain a target IP, if the interface verification is successful, the data access interface of the password management platform can be directly called based on the target IP, and the login account number and the login password of the target test equipment can be directly determined from the configuration management database CMDB, which is reasonable.
Optionally, the login account number and the login password of the target test device are encrypted data;
before the screen of the target test device is remotely unlocked by using the rdeaktop component based on the login account number and the login password of the target test device, the method further comprises:
decrypting the login account and the login password of the target test equipment to obtain the decrypted login account and login password;
the remote unlocking of the screen of the target test equipment by using the rdeaktop component based on the login account number and the login password of the target test equipment comprises the following steps:
And remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component based on the decrypted login account number and login password of the target test equipment.
It can be understood that, in order to reduce the risk of data leakage existing during data transmission, the login account and the login password of the target test device may be encrypted data, and correspondingly, the login account and the login password of the target test device may be decrypted to obtain the decrypted login account and login password, so that the screen of the target test device is remotely unlocked by using the rdeaktop component based on the decrypted login account and login password.
The password management platform and the proxy server side can perform password encryption processing and corresponding decryption processing on the login account and the login password of the target test device by using a pre-agreed encryption/decryption mode, for example: the login account and the login password of the target test device may be subjected to a password encryption process and a corresponding decryption process by using an SM4 block password algorithm, which is not limited herein.
In order to facilitate encryption and decryption processing and reduce the risk of data leakage during data transmission, only the login password of the target test device can be encrypted, and only the login password of the target test device needs to be decrypted during decryption, which is reasonable.
In the embodiment provided by the invention, the target IP can be used as a transfer parameter, a data access interface of the password management platform is called, a login account number and a login password of target test equipment corresponding to the target IP are determined from a configuration management database CMDB, in order to ensure the security of interface call, the password management platform can also perform token check on the proxy server, and if the check is successful, the proxy server can call the data access interface of the password management platform; in addition, in order to reduce the risk of data leakage during data transmission, the login account and the login password of the target test device can be encrypted data, and when the proxy server obtains the encrypted data, the login account and the login password of the target test device can be decrypted, so that the decrypted login account and login password are utilized to remotely unlock the screen of the target test device. Therefore, the scheme provided by the invention can accurately and safely determine the login account number and the login password of the target test equipment by calling the interface, so that remote screen unlocking is performed.
In addition, the password management platform, the rdeaktop component and the proxy server are combined, the login account number and the login password of the target test equipment are automatically input through the combination of the password management platform and the rdeaktop component, and the security of sensitive information is improved while the automatic operation is realized; the screen state of the target test equipment is periodically detected through the combination of the rdeaktop component and the appointed script file, so that automatic screen unlocking is performed, and the defect that the rdeaktop component only manually checks the screen state through a window is overcome.
The invention provides a screen unlocking method of test equipment, which is described in the following with reference to another embodiment.
The invention provides an automatic remote screen unlocking method, namely a screen unlocking method of test equipment, which can periodically detect the screen state of target Windows equipment, and can automatically issue an rdeaktop instruction to unlock the screen of the target Windows equipment by reading an account number password stored in a CMDB (code management database) from the source on the basis of not modifying the system configuration of the target Windows equipment if the screen state is a screen locking state. The problem that an automatic testing component fails due to screen locking is solved, and full-process automation is realized without human intervention. The target windows device is the target test device, the CMDB library is the configuration management database, the automated proxy platform is the proxy server, the rdeaktop instruction is the rdeaktop component, and the component is a component using a command of remote desktop connection.
As shown in fig. 2, the method for screen-removing of a test device provided by the invention may include the following steps:
s201: determining the IP of the destination device;
after receiving the request for unlocking the Windows device screen remotely, the proxy server can determine the IP of the destination device. The request for remotely unlocking the Windows device screen may be sent to the proxy server by a manual mode, or may be sent to other devices, such as: and the management equipment of the Windows equipment sends a request for remotely unlocking the Windows equipment screen to the proxy server.
The target equipment is the target test equipment, and the mode that the IP of the target equipment can be automatically acquired through manual input or calling interface is determined, and the step of acquiring the target IP of the target test equipment corresponds to the step of acquiring the target IP of the target test equipment.
S202: invoking a java script file on the proxy client, and periodically inquiring the screen state of the target device, so that the proxy client returns an inquiry result of the screen state to the proxy server;
the proxy server can be connected with the destination device through a TCP protocol, after the IP of the destination device is determined, the proxy server can periodically send a request to the proxy client of the destination device, periodically check whether the screen of the destination device is in an unlocking state, and periodically query the screen state of the destination device by calling a java script file on the proxy client so that the proxy client executes the java script file, and the proxy client can return the execution result of the java script file, namely a screen state query result, to the proxy server. And periodically sending a specified instruction for triggering screen state identification to an agent client in the target test equipment according to the target IP based on the target test equipment, so as to inquire the screen state. The java script file is the specified script file, and the request sent by the proxy server to the proxy client is the specified instruction.
S203: the proxy server side calls a CMDB interface to check the account passwords of the target equipment stored in the database;
after obtaining the screen state query result of the destination device returned by the proxy client, the proxy server can judge the obtained screen state query result, if the query result represents that the screen of the destination device is in a locked state, the proxy server can call the CMDB interface by using the IP of the destination device to check the account number and password of the destination device stored in the database, namely, the proxy server calls the data access interface of the CMDB database platform to check the account number and password of the destination device corresponding to the IP, namely, the account number and password of the Windows device, thereby remotely unlocking the screen of the destination device by using the account number and password of the destination device.
The above steps correspond to the step of calling the data access interface of the password management platform by taking the target IP as a transfer parameter to determine the login account number and the login password of the target test device corresponding to the target IP from a configuration management database CMDB. The CMDB is the configuration management database, and the database may be located on a password management platform, where the account number and password of the target device are the login account number and login password of the target test device.
S204: taking the decrypted account number password as a parameter, and remotely unlocking a screen of the target device through a rdeaktop component;
after the account password of the target device is obtained, the account password can be data encrypted by an SM4 block password algorithm for the safety of data transmission, the account password can be firstly decrypted, the decrypted account password is used as a parameter, and a screen of the target device is remotely unlocked by calling a rdeaktop component. Decrypting the login account and the login password of the target test equipment correspondingly to obtain a decrypted login account and a decrypted login password; and remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component based on the decrypted login account number and login password of the target test equipment.
Also, in order to facilitate encryption/decryption of data, only the password of the destination device may be encrypted/decrypted, while the account number of the destination device is not processed.
According to the invention, remote login of Windows equipment is realized through the call of the automatic proxy platform, the screen is unlocked, and after the screen is unlocked, the Windows equipment, namely the target test equipment, can execute the test assembly and perform automatic test operation.
The password management platform comprises a configuration management database CMDB, staff can submit and maintain documents from a front-end application form through the operation of the flow-process documents, so that information such as account passwords of equipment in the database is timely maintained, encryption processing can be carried out through an SM4 block password algorithm after the information such as the account passwords of the equipment is obtained, and the account password information is stored in the configuration management database CMDB; the proxy server can call the interface to obtain the account password information of the target device by providing the interface to the outside, and can also perform token check in view of security of interface call before the interface call, and the token check mode can be similar to the above interface check mode and will not be repeated here.
The rdeaktop component is an open-source component, and in order to improve the calling efficiency of the proxy server, the component can be arranged in the proxy server, and after the account password of the target device is obtained, the screen of the target device can be remotely unlocked by taking the account password as a parameter.
The proxy server can also be called an automatic proxy platform, and can realize the communication between the proxy server and the target equipment after the proxy client is deployed in the target equipment, and can realize remote screen release without modifying the system parameters of the target equipment. The proxy server may also implement operations to automatically issue and invoke scripts and execute commands based on the proxy client.
In the embodiment provided by the invention, based on the proxy server, the device account password recorded in the database is obtained by calling the CMDB interface, and the rdeaktop component is directly called at the proxy server and is remotely connected to the target device through the TCP protocol. The remote screen unlocking of the destination equipment can be realized by only taking the IP of the destination equipment as a parameter and calling the interface of the proxy server, the operation is simple and convenient, the automation is fully called, the information leakage risk of sensitive information such as account passwords of the destination equipment in the network transmission process is reduced, and the safety is improved.
In addition, the screen unlocking method of the test equipment solves the problem that an automatic test assembly fails due to screen locking, and configuration modification of a target Windows device is not needed during remote screen unlocking; the method comprises the steps that an account password is obtained from a configuration management database CMDB by calling a data access interface of a password management platform, the interfaces can be encrypted and protected through an SM4 block password algorithm, the background is automatically operated, manual operation is avoided, and the method is safe and efficient; in addition, the invention integrates the screen-removing method of the test equipment to the proxy server and provides an interface to the outside, thereby facilitating the direct calling of other systems or platforms and reducing the repeated development of codes.
Based on the above method embodiment, the present invention further provides a test device screen unlocking device, as shown in fig. 3, where the device includes:
an obtaining module 310, configured to obtain a target IP of a target test device;
a sending module 320, configured to periodically send, to a proxy client in a target test device, a specified instruction for triggering screen state identification based on a target IP of the target test device, so that the proxy client executes a specified script file in response to receiving the specified instruction, and feedback an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
a receiving module 330, configured to receive an execution result fed back by the proxy client;
a determining module 340, configured to determine a login account number and a login password of the target test device corresponding to the target IP stored in the password management platform if the execution result indicates that the screen state of the target test device is a screen locking state;
The unlocking module 350 is configured to remotely unlock a screen of the target test device by using the rdeaktop component based on the login account number and the login password of the target test device;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
According to the screen unlocking device for the test equipment, the target IP of the target test equipment is acquired firstly, the appointed instruction for triggering screen state identification can be periodically sent to the proxy client in the target test equipment through the target IP, so that the client responds to the appointed instruction, executes the appointed script file, feeds back the execution result, and the proxy server can receive the execution result; that is, the proxy server may periodically identify the screen state of the target test device through a specified script file in the proxy client based on the target IP; if the execution result represents that the screen state of the target test equipment is a screen locking state, a login account number and a login password corresponding to the target IP in the password management platform can be determined, namely, the login account number and the login password of the target test equipment are determined, and therefore the screen of the target test equipment is remotely unlocked by utilizing the rdeaktop component based on the login account number and the login password. Therefore, the screen unlocking method of the test equipment provided by the embodiment of the invention can periodically identify the screen state of the target test equipment, and when the screen state is the screen locking state, the screen of the target test equipment can be remotely unlocked through the login account number and the login password of the target test equipment without manual screen unlocking, so that the screen unlocking efficiency of the test equipment is improved.
Optionally, the determining module is specifically configured to:
taking the target IP as a transfer parameter, and calling a data access interface of the password management platform to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB; the configuration management database CMDB is arranged on the password management platform and is cached with login account numbers and login passwords of all the test devices.
Optionally, the device further comprises a verification module for:
sending an interface verification request to the password management platform, so that the password management platform identifies whether a token with use timeliness exists in the interface verification request, and if the identification result is yes, feeding back information allowing interface call to the proxy server;
the determining module is further configured to:
and if the information allowing the interface to be called is received, calling the data access interface of the password management platform by taking the target IP as a transfer parameter so as to determine the login account number and the login password of the target test equipment corresponding to the target IP from a configuration management database CMDB.
Optionally, the unlocking module is specifically configured to:
And calling a rdeaktop component by taking the login account number and the login password of the target test equipment as parameters, and remotely unlocking a screen of the target test equipment.
Optionally, the login account number and the login password of the target test device are encrypted data;
the apparatus further comprises a decryption module for:
decrypting the login account and the login password of the target test equipment to obtain the decrypted login account and login password;
the unlocking module is further used for:
and remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component based on the decrypted login account number and login password of the target test equipment.
The embodiment of the invention also provides an electronic device, as shown in fig. 4, which comprises a processor 401, a communication interface 402, a memory 403 and a communication bus 404, wherein the processor 401, the communication interface 402 and the memory 403 complete communication with each other through the communication bus 404,
a memory 403 for storing a computer program;
the processor 401, when executing the program stored in the memory 403, implements the following steps:
acquiring a target IP of target test equipment;
based on a target IP of target test equipment, periodically sending a specified instruction for triggering screen state identification to a proxy client in the target test equipment, enabling the proxy client to execute a specified script file in response to receiving the specified instruction, and feeding back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
Receiving an execution result fed back by the proxy client;
if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in a password management platform;
based on the login account number and the login password of the target test equipment, remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
The communication bus mentioned above for the electronic devices may be a peripheral component interconnect standard (Peripheral Component Interconnect, PCI) bus or an extended industry standard architecture (Extended Industry Standard Architecture, EISA) bus, etc. The communication bus may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, the figures are shown with only one bold line, but not with only one bus or one type of bus.
The communication interface is used for communication between the electronic device and other devices.
The Memory may include random access Memory (Random Access Memory, RAM) or may include Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the aforementioned processor.
The processor may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU), a network processor (Network Processor, NP), etc.; but also digital signal processors (Digital Signal Processor, DSP), application specific integrated circuits (Application Specific Integrated Circuit, ASIC), field programmable gate arrays (Field-Programmable Gate Array, FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.
In yet another embodiment of the present invention, a computer readable storage medium is provided, in which a computer program is stored, which when executed by a processor implements any of the above-mentioned test device screen-release methods.
In yet another embodiment of the present invention, a computer program product containing instructions that, when run on a computer, cause the computer to perform the test equipment screen unlocking method of any of the above embodiments is also provided.
In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, produces a flow or function in accordance with embodiments of the present invention, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a computer network, or other programmable apparatus. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another, for example, by wired (e.g., coaxial cable, optical fiber, digital Subscriber Line (DSL)), or wireless (e.g., infrared, wireless, microwave, etc.). The computer readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server, data center, etc. that contains an integration of one or more available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid State Disk (SSD)), etc.
It is noted that relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
In this specification, each embodiment is described in a related manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for the device embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, and reference is made to the description of the method embodiments in part.
The foregoing description is only of the preferred embodiments of the present invention and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims (8)

1. The method for testing equipment screen-off is characterized by being applied to a proxy server, and comprises the following steps:
acquiring a target IP of target test equipment;
based on a target IP of target test equipment, periodically sending a specified instruction for triggering screen state identification to a proxy client in the target test equipment, enabling the proxy client to execute a specified script file in response to receiving the specified instruction, and feeding back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
Receiving an execution result fed back by the proxy client;
if the execution result represents that the screen state of the target test equipment is a screen locking state, determining a login account number and a login password of the target test equipment corresponding to the target IP stored in a password management platform;
based on the login account number and the login password of the target test equipment, remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
2. The method according to claim 1, wherein if the execution result indicates that the screen state of the target test device is a lock screen state, determining the login account number and the login password of the target test device corresponding to the target IP stored in the password management platform includes:
taking the target IP as a transfer parameter, and calling a data access interface of the password management platform to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB; the configuration management database CMDB is arranged on the password management platform and is cached with login account numbers and login passwords of all the test devices.
3. The method according to claim 2, wherein before the step of calling the data access interface of the password management platform to determine the login account id and the login password of the target test device corresponding to the target IP from the configuration management database CMDB, using the target IP as a transfer parameter, the method comprises:
sending an interface verification request to the password management platform, so that the password management platform identifies whether a token with use timeliness exists in the interface verification request, and if the identification result is yes, feeding back information allowing interface call to the proxy server;
the step of calling the data access interface of the password management platform by taking the target IP as a transfer parameter to determine a login account number and a login password of the target test equipment corresponding to the target IP from a configuration management database CMDB, comprises the following steps:
and if the information allowing the interface to be called is received, calling the data access interface of the password management platform by taking the target IP as a transfer parameter so as to determine the login account number and the login password of the target test equipment corresponding to the target IP from a configuration management database CMDB.
4. A method according to any one of claims 1-3, wherein said remotely unlocking the screen of the target test device using a rdeaktop component based on the login account number and login password of the target test device comprises:
and calling a rdeaktop component by taking the login account number and the login password of the target test equipment as parameters, and remotely unlocking a screen of the target test equipment.
5. A method according to any of claims 1-3, wherein the login account number and login password of the target test device are cryptographically processed data;
before the screen of the target test device is remotely unlocked by using the rdeaktop component based on the login account number and the login password of the target test device, the method further comprises:
decrypting the login account and the login password of the target test equipment to obtain the decrypted login account and login password;
the remote unlocking of the screen of the target test equipment by using the rdeaktop component based on the login account number and the login password of the target test equipment comprises the following steps:
and remotely unlocking a screen of the target test equipment by utilizing a rdeaktop component based on the decrypted login account number and login password of the target test equipment.
6. The screen unlocking device of the test equipment is characterized by being applied to a proxy server, and the method comprises the following steps:
the acquisition module is used for acquiring the target IP of the target test equipment;
the system comprises a sending module, a proxy client and a proxy server, wherein the sending module is used for periodically sending a specified instruction for triggering screen state identification to the proxy client in target test equipment based on target IP of the target test equipment, so that the proxy client responds to the received specified instruction to execute a specified script file and feeds back an execution result of the specified script file to the proxy server; the proxy client is a client corresponding to the proxy server, the appointed script file is a script file which is issued to the proxy client in advance by the proxy server and is used for identifying the screen state of the target test equipment when being executed, and the proxy server is connected with the target test equipment through a Transmission Control Protocol (TCP);
the receiving module is used for receiving the execution result fed back by the proxy client;
the determining module is used for determining a login account number and a login password of the target test equipment corresponding to the target IP stored in the password management platform if the execution result represents that the screen state of the target test equipment is a screen locking state;
The unlocking module is used for remotely unlocking a screen of the target test equipment by utilizing the rdeaktop component based on the login account number and the login password of the target test equipment;
the rdeaktop component is a component of a command using remote desktop connection and is located at the proxy server.
7. The electronic equipment is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method of any of claims 1-5 when executing a program stored on a memory.
8. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program which, when executed by a processor, implements the method of any of claims 1-5.
CN202310390779.1A 2023-04-13 2023-04-13 Screen unlocking method and device for test equipment, electronic equipment and storage medium Pending CN116521460A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310390779.1A CN116521460A (en) 2023-04-13 2023-04-13 Screen unlocking method and device for test equipment, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310390779.1A CN116521460A (en) 2023-04-13 2023-04-13 Screen unlocking method and device for test equipment, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116521460A true CN116521460A (en) 2023-08-01

Family

ID=87393278

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310390779.1A Pending CN116521460A (en) 2023-04-13 2023-04-13 Screen unlocking method and device for test equipment, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116521460A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117675805A (en) * 2024-01-30 2024-03-08 荣耀终端有限公司 Remote control method and electronic equipment

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117675805A (en) * 2024-01-30 2024-03-08 荣耀终端有限公司 Remote control method and electronic equipment
CN117675805B (en) * 2024-01-30 2024-06-11 荣耀终端有限公司 Remote control method and electronic equipment

Similar Documents

Publication Publication Date Title
CN108762803B (en) Configuration management method, device, terminal equipment and storage medium
US9092230B2 (en) Configuration of componentized software applications
US9253265B2 (en) Hot pluggable extensions for access management system
CN111695156A (en) Service platform access method, device, equipment and storage medium
CN100492300C (en) System and method for executing a process on a microprocessor-enabled device
CN111416811A (en) Unauthorized vulnerability detection method, system, equipment and storage medium
CN110247927B (en) Method and device for managing authority of cloud computing resources
US8904359B2 (en) On-demand monitoring of memory usage
CN116521460A (en) Screen unlocking method and device for test equipment, electronic equipment and storage medium
CN111641610B (en) Remote response and remote control method, device, equipment and storage medium
CN109977644B (en) Hierarchical authority management method under Android platform
CN112698820A (en) Unified monitoring and management method and device for memory and switch and computer equipment
CN111371889A (en) Message processing method and device, Internet of things system and storage medium
US9027155B2 (en) System for governing the disclosure of restricted data
CN112445549A (en) Operation and maintenance method, operation and maintenance device, electronic equipment and medium
CN116232571A (en) Vehicle encryption method, device, equipment, storage medium and vehicle
CN112464176B (en) Authority management method and device, electronic equipment and storage medium
CN104360856A (en) Cloud application delivery device
CN114327981A (en) Safety verification system, method and device of function safety mechanism
CN114238021A (en) SDK interface positioning method, device, equipment and computer storage medium
CN114116448A (en) Pressure testing method and device of application program, storage medium and computer equipment
CN109254855B (en) Registration method and device of parameter transmission protocol and electronic equipment
CN115484174B (en) Intelligent recognition-based nano tube method, device, equipment and storage medium
CN105518663A (en) Automatic blocking of bad actors
CN113176913B (en) Processing method and device of JAVA agent, terminal 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