CN110049077B - Method and system for examining and approving test file - Google Patents

Method and system for examining and approving test file Download PDF

Info

Publication number
CN110049077B
CN110049077B CN201810039373.8A CN201810039373A CN110049077B CN 110049077 B CN110049077 B CN 110049077B CN 201810039373 A CN201810039373 A CN 201810039373A CN 110049077 B CN110049077 B CN 110049077B
Authority
CN
China
Prior art keywords
file
management system
host
parameter group
account information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810039373.8A
Other languages
Chinese (zh)
Other versions
CN110049077A (en
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 Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Communications Ltd Research Institute
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 Mobile Communications Group Co Ltd, China Mobile Communications Ltd Research Institute filed Critical China Mobile Communications Group Co Ltd
Priority to CN201810039373.8A priority Critical patent/CN110049077B/en
Publication of CN110049077A publication Critical patent/CN110049077A/en
Application granted granted Critical
Publication of CN110049077B publication Critical patent/CN110049077B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Information Transfer Between Computers (AREA)
  • Storage Device Security (AREA)

Abstract

The invention provides a method for approving a test file, which is applied to a file management system and comprises the following steps: a verification step: receiving the transmitted parameter group, and authenticating account information carried by the parameter group; a network connection step: after the account information is authenticated, if the request action information carried by the parameter group is analyzed to access a file management system, network connection is established between the first host corresponding to the account information, and a test configuration file is received through the network connection; and (3) approval step: confirm that the test profile is compliant and approve uploading it to the remote host; uploading: logging in the remote host, copying the test configuration file to the remote host, and completing the uploading of the test configuration file. The method and the device realize the control of the file uploading process, the automatic backup of the uploaded files and the automatic mounting of the file directories during the remote desktop login.

Description

Method and system for examining and approving test file
Technical Field
The invention relates to an equipment testing technology, in particular to a method and a system for approving a test file.
Background
During the process of device testing, a tester needs to edit a complete test script on a first host computer and then upload the test script to a remote host computer, namely, a device under test.
In the current test networking architecture, as shown in fig. 1, a first host and a remote host are in the same subnet, and the first host is connected to the remote host through a remote desktop protocol. When the desktop client of the remote host is started, the disk drive of the first host can be manually configured to be mounted to the remote host, and after the disk drive is mounted, a tester can upload an A document from the first host to the remote host in a mode of copying the A document on a local desktop and then pasting the A document on the remote desktop.
The prior art has the following disadvantages: the remote desktop mounting function is started, manual configuration is needed, and the operation is complicated; the uploading process of the test configuration file does not need to be examined and approved, and the compliance of the content cannot be ensured; uploading the test configuration file cannot be automatically backed up, and if the test configuration file is desired to be backed up on a third-party disk, manual execution is also needed, so that the efficiency is low and omission is easy.
Disclosure of Invention
The technical problem to be solved by the embodiments of the present invention is to provide a method and a system for approving a test file, so as to implement controllable process of uploading a file to a remote terminal and automatic backup of the uploaded file.
In order to solve the above technical problem, an embodiment of the present invention provides a method for approving a test file, which is applied to a file management system, and the method includes:
a verification step: receiving the transmitted parameter group, and authenticating account information carried by the parameter group;
a network connection step: after the account information is authenticated, if the request action information carried by the parameter group is analyzed to access a file management system, network connection is established between the first host corresponding to the account information, and a test configuration file is received through the network connection;
and (3) approval step: confirm that the test profile is compliant and approve uploading it to the remote host;
uploading: logging in the remote host, copying the test configuration file to the remote host, and completing the uploading of the test configuration file.
In the method, receiving the transferred parameter group, and before authenticating the account information carried by the parameter group, the method includes:
after the account management system receives account information and request action information transmitted by a first host computer through an HTTP (hyper text transport protocol), the account management system authenticates the account information and allows to log in the account management system after the account management system passes the authentication;
and the account management system sends account information and request action information as the parameter group to a file control component of the file management system.
In the method, after the account information is authenticated, analyzing that the request action information carried in the parameter group is to access a file management system, and establishing a network connection between the first hosts corresponding to the account information includes:
and authenticating the account information in the parameter group by a file control component of the file management system, analyzing that the request action information is to access the file management system after the account information is authenticated, returning a web page of the file management system to the first host, and establishing HTTP connection with the first host.
In the method, confirming that the test configuration file is in compliance and approving uploading to the remote host comprises:
finding a test configuration file to be uploaded according to the approval application, examining the content of the test configuration file, and approving the uploading after the compliance is confirmed;
and cutting the test configuration file from the cache directory to the uploading directory.
In the method, logging in a remote host, copying the test configuration file to the remote host, and completing uploading of the test configuration file comprises:
after a first host logs in an account management system, a file control component receives a parameter group which is sent by the account management system through an inter-system interface and contains account information and request action information, and the account information in the parameter group is authenticated;
after passing the authentication, if analyzing that the request action information is to access a remote host, transmitting the parameter group to an RDP proxy component in the file management system;
receiving the parameter group by the RDP proxy component, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a working directory on the file control component to the remote host;
and copying the test configuration file from the working directory to a local disk of the remote host by the first host through the RDP session to finish the uploading of the test configuration file.
A system for approving a test file, comprising: the file management system comprises a file control component and an RDP agent component:
the file control component is used for receiving the transmitted parameter group and authenticating account information carried by the parameter group in the verification process;
and in the network connection process, after the account information is authenticated, analyzing that the request action information carried by the parameter group is to access a file management system, establishing network connection between the first hosts corresponding to the account information, and receiving a test configuration file through the network connection;
in the auditing process, confirming that the test configuration file is in compliance and approving uploading to the remote host;
and the RDP proxy component is used for logging in the remote host in the uploading process, copying the test configuration file to the remote host and completing the uploading of the test configuration file.
The system further comprises:
the account management system is used for authenticating the account information after receiving the account information and the request action information transmitted by the first host computer through the HTTP protocol, and allowing login after the account information is authenticated;
and sending the account information and the request action information as the parameter group to a file control component of the file management system.
In the system, the file control component is specifically configured to authenticate the account information in the parameter group, analyze that the request action information is to access the file management system after the authentication is passed, return a web page of the file management system to the first host, and establish an HTTP connection with the first host.
In the system, the file control component is specifically used for finding the uploaded test configuration file in the file approval plate according to the approval application, checking the content of the test configuration file and approving the uploading after the content of the test configuration file is in compliance;
the test configuration file is cut from the cache directory to the upload directory.
In the system, the file control component is specifically used for receiving a parameter group containing account information and request action information sent by the account management system through an inter-system interface after a first host logs in the account management system in an uploading process, and authenticating the account information in the parameter group;
after passing the authentication, if the analysis request action information is to access the remote host, transmitting the parameter group to an RDP proxy component in the file management system;
the RDP proxy component is specifically used for receiving the parameter group, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a user directory on the RDP proxy component to the remote host;
and the first host is used for copying the test configuration file from the mounting disk to a local disk of the remote host through the RDP session to finish uploading of the test configuration file.
Compared with the prior art, the method and the system for approving the test file provided by the embodiment of the invention at least have the following beneficial effects: the method and the device realize the control of the file uploading process, the automatic backup of the uploaded files and the automatic mounting of the file directories during the remote desktop login.
Drawings
FIG. 1 is a schematic diagram of prior art uploading of an implementation A document from a first host to a remote host;
FIG. 2 is a schematic diagram of a document approval mechanism;
FIG. 3 is a schematic flow chart of a method for approving a test document;
fig. 4 is a schematic diagram of a document approval process.
Detailed Description
In order to make the technical problems, technical solutions and advantages of the present invention more apparent, the following detailed description is given with reference to the accompanying drawings and specific embodiments. In the following description, specific details such as specific configurations and components are provided only to help the full understanding of the embodiments of the present invention. Thus, it will be apparent to those skilled in the art that various changes and modifications may be made to the embodiments described herein without departing from the scope and spirit of the invention. In addition, descriptions of well-known functions and constructions are omitted for clarity and conciseness.
As shown in fig. 2, in the actual collection test process, both the project manager (administrator) and the test engineer want a method to manage the file upload process. In the process of uploading the test configuration file by the test engineer, the first host can trigger an approval application and send the application to the manager end where the project manager is located, the project manager checks and confirms the test configuration file after receiving the approval application, the project manager triggers approval to pass after checking and confirming that the content is correct, and the document after approval can be uploaded to the target remote host.
In the embodiment of the invention, a universal Account Management System (AMS) and a universal File Management System (FMS) are developed for the second time, part of functions of the AMS and the FMS are recombined, a new role of an approver is defined, a new file transmission path is designed, a new module interconnection interface is developed based on an open API, and the process of file approval is redesigned.
The embodiment of the invention provides a method for approving a test file, which is applied to a file management system, and as shown in FIG. 3, the method comprises the following steps:
step 301, a verification step: receiving the transmitted parameter group, and authenticating account information carried by the parameter group;
step 302, network connection step: after the account information is authenticated, if the request action information carried by the parameter group is analyzed to access a file management system, network connection is established between the first host corresponding to the account information, and a test configuration file is received through the network connection;
step 303, an approval step: confirm that the test profile is compliant and approve uploading it to the remote host;
step 304, uploading step: logging in the remote host, copying the test configuration file to the remote host, and completing the uploading of the test configuration file.
By applying the technology provided by the embodiment of the invention, the controllability of the file uploading process, the automatic backup of the uploaded files and the automatic mounting of the file directories during the remote desktop login are realized.
In a preferred embodiment, receiving the transferred parameter group, and before authenticating the account information carried in the parameter group, the method includes:
after the account management system receives account information and request action information transmitted by a first host computer through an HTTP (hyper text transport protocol), the account management system authenticates the account information and allows to log in the account management system after the account management system passes the authentication;
and the account management system sends account information and request action information as the parameter group to a file control component of the file management system.
In a preferred embodiment, after the account information is authenticated, if it is analyzed that the request action information carried in the parameter group is to access a file management system, establishing a network connection between the first hosts corresponding to the account information includes:
and authenticating the account information in the parameter group by a file control component of the file management system, analyzing that the request action information is to access the file management system after the account information is authenticated, returning a web page of the file management system to the first host, and establishing HTTP connection with the first host.
And if the file control component receives the parameter group of one account for the first time, automatically creating a working directory/opt/users/account, uploading the directory/opt/users/account/. upload and downloading the directory/opt/users/account/. download.
In a preferred embodiment, confirming that the test configuration file is compliant and approved for upload to the remote host comprises:
finding a test configuration file to be uploaded according to the approval application, examining the content of the test configuration file, and approving the uploading after the compliance is confirmed;
and cutting the test configuration file from the cache directory to the uploading directory. In other words, the test configuration file is cut from/opt/users/account/. buffer to/opt/users/account/. upload, and if the uploading application is rejected due to an irregularity, the file is retained in/opt/users/account/. buffer.
In a preferred embodiment, logging on the remote host, copying the test configuration file to the remote host, and completing uploading the test configuration file comprises:
after a first host logs in an account management system, a file control component receives a parameter group which is sent by the account management system through an inter-system interface and contains account information and request action information, and the account information in the parameter group is authenticated;
after passing the authentication, if analyzing that the request action information is to access a remote host, transmitting the parameter group to an RDP proxy component in the file management system;
receiving the parameter group by the RDP proxy component, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a user directory on the RDP proxy component to the remote host;
and copying the test configuration file from the mounting disc to a local disc of the remote host by the first host through the RDP session to finish the uploading of the test configuration file.
As shown in fig. 4, the process of approving the test configuration file includes:
step 1, uploading a test configuration file to a file management system and applying for uploading approval, wherein:
step 11, a user (test engineer) accesses (connects) an Account Management System (AMS) on a Host A (first Host) by adopting an HTTP protocol, and authenticates and logs in the account management system by a user name password account.
Step 12, a user (test engineer) accesses a File Management System (FMS) through the account management system, a parameter matrix containing information such as account information and request actions is transmitted from the AMS to a file control component of the FMS through an inter-system interface, and the file control component receives the transmitted parameter group and authenticates account information.
After the file control component passes the authentication, the file control component executes script calling to create a transit directory, which comprises the following steps:
(1) working directory/opt/users/account/;
(2) uploading catalog/opt/users/account/. upload;
(3) download directory/opt/users/account/. download;
(4) cache directory/opt/users/account/. buffer.
And the file control component analyzes the request action information to access the file management system, returns a web page of the file management system to the user and establishes HTTP connection with the web page.
Step 13, the user (test engineer) receives the web interface returned by the file control component, uploads the test configuration file to/opt/users/account/. buffer in the personal directory module through the HTTP protocol, and triggers application for uploading and approval.
Step 2, examination and approval, wherein:
step 21, an administrator (project manager) accesses (connects) an Account Management System (AMS) on Host C (second Host) by using an HTTP protocol, authenticates and logs in the account management system by using a username and password.
In step 22, an administrator (project manager) accesses a File Management System (FMS) through an account management system, the AMS transfers a parameter matrix including information such as an administrator account and a request action from the AMS to a file control module of the FMS through an inter-system interface, and the file control module receives the transferred parameter group and authenticates account information.
After the file control component passes the authentication, analyzing the action information to access the file management system, returning a web page of the file management system to an administrator (project manager), and establishing HTTP connection with the web page.
Step 23, the administrator (project manager) receives the web interface returned by the file control component, finds the test configuration file uploaded by the user (test engineer) in the file approval board (or module), and reviews the content, and at this time, the administrator (project manager) has two options:
(1) after compliance is confirmed, click approval uploading is carried out, and the test configuration file is cut from/opt/users/account/. buffer to/opt/users/account/. upload.
(2) After confirming that the file is not compliant, the file is not approved to be uploaded, and the file is saved in the/opt/users/account/. buffer.
Step 3, logging in a remote host, and copying the test configuration document from/opt/users/account/. upload to a local hard disk of the remote host, wherein:
in step 31, a user (test engineer) logs in the account management system and accesses a remote host through the AMS. The AMS transmits a parameter matrix including information such as an administrator account and a request action from the AMS to a file control module of the FMS through an inter-system interface, and the file control module receives the transmitted parameter group and authenticates account information.
And after the file control component passes the authentication, analyzing the action information to access the remote host, and transmitting the parameters to the RDP proxy component.
And the RDP proxy component receives the parameter group, analyzes the action information as that the RDP is remotely sent to the remote host, executes the automation script on the RDP proxy component, initiates an RDP session to the remote host, and transmits the remote desktop picture of the remote host back to the user through the RDP. And simultaneously, mounting the user directory on the RDP proxy component to the remote host.
And copying the test configuration file from the mounting disk to a local disk of the remote host by the user through the returned RDP session to finish the uploading of the test configuration file.
By applying the technology provided by the embodiment of the invention, the controllability of the file uploading process is realized, the automatic backup of the uploaded files is realized, and the automatic mounting of the file directory during the remote desktop login is realized.
The embodiment of the invention provides a system for approving a test file, which comprises: the file management system comprises a file control component and an RDP agent component:
the file control component is used for receiving the transmitted parameter group and authenticating account information carried by the parameter group in the verification process;
and in the network connection process, after the account information is authenticated, analyzing that the request action information carried by the parameter group is to access a file management system, establishing network connection between the first hosts corresponding to the account information, and receiving a test configuration file through the network connection;
in the auditing process, confirming that the test configuration file is in compliance and approving uploading to the remote host;
and the RDP proxy component is used for logging in the remote host in the uploading process, copying the test configuration file to the remote host and completing the uploading of the test configuration file.
In a preferred embodiment, further comprising:
the account management system is used for authenticating the account information after receiving the account information and the request action information transmitted by the first host computer through the HTTP protocol, and allowing login after the account information is authenticated;
and sending the account information and the request action information as the parameter group to a file control component of the file management system.
In a preferred embodiment, the file control component is specifically configured to authenticate the account information in the parameter group, analyze that the request action information is to access the file management system after the authentication is passed, return a web page of the file management system to the first host, and establish an HTTP connection with the first host.
And the file control component is also used for automatically creating a working directory/opt/users/account, uploading the directory/opt/users/account/. upload and downloading the directory/opt/users/account/. download if the parameter set of one account is received for the first time.
In a preferred embodiment, the file control component is specifically configured to find an uploaded test configuration file in the file approval board according to the approval application, review content of the test configuration file and approve the upload after compliance;
and cutting the test configuration file from the cache directory to the upload directory, namely cutting the test configuration file from/opt/users/account/. buffer to/opt/users/account/. upload.
In a preferred embodiment, the file control component is specifically configured to, during an uploading process, receive, after a first host logs in an account management system, a parameter group including account information and request action information sent by the account management system through an intersystem interface, and authenticate the account information in the parameter group;
after passing the authentication, if the analysis request action information is to access the remote host, transmitting the parameter group to an RDP proxy component in the file management system;
the RDP proxy component is specifically used for receiving the parameter group, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a user directory on the RDP proxy component to the remote host;
and the first host is used for copying the test configuration file from the mounting disk to a local disk of the remote host through the RDP session to finish uploading of the test configuration file.
In a preferred embodiment, a customized interface I1 is used between the account management system and the file management system.
The control component in the file management system and the RDP agent component transmit an interface I3 of the parameter group from the account management system.
These interfaces I1, I3, etc. pass some authentication parameters so that the AMS and FMS may use the same authentication parameters. The AMS and FMS have different data structures of internal parameter sets, and the interfaces screen and interface the data structures of the parameter sets when transmitting the parameters, so that the parameters between the systems can be mutually recognized.
Account management system and file management system interface I1: the account management system adopts an authentication process of a main account and a certificate, and the interface I1 is mainly used as an authentication mode when an authentication center single sign-on and a nested page are called. When the AMS calls, a unique certificate is added in the single sign-on URL or the nested page URL, and the application system receives the certificate and calls the Web Services provided by the AMS to verify the validity of the certificate; the method comprises the steps that a requester is required to transmit received 'certificate' parameters, an AMS server checks the validity of the certificate, if the 'certificate' parameters are valid, valid information and a current administrator are returned to an application system from an account (login name), the application system receives the returned parameters, if the 'certificate' parameters are valid, single sign-on is completed to enter a home page or a page needing nesting is displayed, and otherwise, authentication failure is prompted.
By applying the technology provided by the invention, a test engineer uploads a test configuration document to a file transfer station and triggers an approval application, and a manager receives the approval application and then examines the content of the test configuration document temporarily stored in the file transfer station, and the examination and approval is passed after the manager confirms that the content is correct. The approved test configuration document is automatically copied to a transfer station and mounted in a disk directory of a target remote host, and simultaneously, a copy of the A document is automatically created in a backup directory of the transfer station in the file. And the test engineer can copy the test configuration document from the mounting disk of the file transfer station to the disk on the remote host computer after the file is approved.
It should be appreciated that reference throughout this specification to "one embodiment" or "an embodiment" means that a particular feature, structure or characteristic described in connection with the embodiment is included in at least one embodiment of the present invention. Thus, the appearances of the phrases "in one embodiment" or "in an embodiment" in various places throughout this specification are not necessarily all referring to the same embodiment. Furthermore, the particular features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
In various embodiments of the present invention, it should be understood that the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
In addition, the terms "system" and "network" are often used interchangeably herein.
In the embodiments provided herein, it should be understood that "B corresponding to a" means that B is associated with a from which B can be determined. It should also be understood that determining B from a does not mean determining B from a alone, but may be determined from a and/or other information.
While the foregoing is directed to the preferred embodiment of the present invention, it will be understood by those skilled in the art that various changes and modifications may be made without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (8)

1. A method for approving a test file is applied to a file management system, and is characterized by comprising the following steps:
a verification step: receiving the transmitted parameter group, and authenticating account information carried by the parameter group;
a network connection step: after the account information is authenticated, if the request action information carried by the parameter group is analyzed to access a file management system, network connection is established between the first host corresponding to the account information, and a test configuration file is received through the network connection;
and (3) approval step: confirm that the test profile is compliant and approve uploading it to the remote host;
uploading: logging in a remote host, copying the test configuration file to the remote host, and completing uploading of the test configuration file, wherein the method comprises the following steps:
after a first host logs in an account management system, a file control component receives a parameter group which is sent by the account management system through an inter-system interface and contains account information and request action information, and the account information in the parameter group is authenticated;
after passing the authentication, if analyzing that the request action information is to access a remote host, transmitting the parameter group to an RDP proxy component in the file management system;
receiving the parameter group by the RDP proxy component, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a working directory on the file control component to the remote host;
and copying the test configuration file from the working directory to a local disk of the remote host by the first host through the RDP session to finish the uploading of the test configuration file.
2. The method of claim 1, wherein receiving the transferred parameter set, and before authenticating account information carried in the parameter set comprises:
after the account management system receives account information and request action information transmitted by a first host computer through an HTTP (hyper text transport protocol), the account management system authenticates the account information and allows to log in the account management system after the account management system passes the authentication;
and the account management system sends account information and request action information as the parameter group to a file control component of the file management system.
3. The method according to claim 1 or claim 2, wherein after the account information is authenticated, if it is analyzed that the request action information carried in the parameter group is to access a file management system, establishing a network connection between the first hosts corresponding to the account information comprises:
and authenticating the account information in the parameter group by a file control component of the file management system, analyzing that the request action information is to access the file management system after the account information is authenticated, returning a web page of the file management system to the first host, and establishing HTTP connection with the first host.
4. The method of claim 1, wherein confirming test profile compliance and approving upload to a remote host comprises:
finding a test configuration file to be uploaded according to the approval application, examining the content of the test configuration file, and approving the uploading after the compliance is confirmed;
and cutting the test configuration file from the cache directory to the uploading directory.
5. A system for approving a test document, comprising: the file management system comprises a file control component and an RDP agent component:
the file control component is used for receiving the transmitted parameter group and authenticating account information carried by the parameter group in the verification process;
and in the network connection process, after the account information is authenticated, analyzing that the request action information carried by the parameter group is to access a file management system, establishing network connection between the first hosts corresponding to the account information, and receiving a test configuration file through the network connection;
in the auditing process, confirming that the test configuration file is in compliance and approving uploading to the remote host;
the RDP proxy component is used for logging in a remote host computer in the uploading process, copying the test configuration file to the remote host computer and completing the uploading of the test configuration file;
the file control component is specifically used for receiving a parameter group which is sent by the account management system through an interface between systems and contains account information and request action information after a first host logs in the account management system in the uploading process, and authenticating the account information in the parameter group;
after passing the authentication, if the analysis request action information is to access the remote host, transmitting the parameter group to an RDP proxy component in the file management system;
the RDP proxy component is specifically used for receiving the parameter group, analyzing the request action information as that the RDP is remotely sent to the remote host, executing an automation script on the RDP proxy component, initiating an RDP session to the remote host, transmitting a remote desktop picture of the remote host back to the first host, and mounting a user directory on the RDP proxy component to the remote host;
and the first host is used for copying the test configuration file from the mounting disk to a local disk of the remote host through the RDP session to finish uploading of the test configuration file.
6. The system of claim 5, further comprising:
the account management system is used for authenticating the account information after receiving the account information and the request action information transmitted by the first host computer through the HTTP protocol, and allowing login after the account information is authenticated;
and sending the account information and the request action information as the parameter group to a file control component of the file management system.
7. The system of claim 5,
and the file control component is specifically used for authenticating the account information in the parameter group, analyzing that the request action information is to access the file management system after the account information is authenticated, returning a web page of the file management system to the first host, and establishing HTTP connection with the first host.
8. The system of claim 7,
the file control component is specifically used for finding the uploaded test configuration file in the file approval plate according to the approval application, checking the content of the test configuration file and approving the uploading after the content of the test configuration file is in compliance;
the test configuration file is cut from the cache directory to the upload directory.
CN201810039373.8A 2018-01-16 2018-01-16 Method and system for examining and approving test file Active CN110049077B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810039373.8A CN110049077B (en) 2018-01-16 2018-01-16 Method and system for examining and approving test file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810039373.8A CN110049077B (en) 2018-01-16 2018-01-16 Method and system for examining and approving test file

Publications (2)

Publication Number Publication Date
CN110049077A CN110049077A (en) 2019-07-23
CN110049077B true CN110049077B (en) 2021-11-19

Family

ID=67272913

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810039373.8A Active CN110049077B (en) 2018-01-16 2018-01-16 Method and system for examining and approving test file

Country Status (1)

Country Link
CN (1) CN110049077B (en)

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104580085B (en) * 2013-10-17 2019-12-13 腾讯科技(深圳)有限公司 service data updating method, system, client and server
CN104917715B (en) * 2014-03-10 2019-03-29 联想(北京)有限公司 Information processing method, information processing unit, server and electronic equipment
US9491161B2 (en) * 2014-09-30 2016-11-08 Citrix Systems, Inc. Systems and methods for performing single sign-on by an intermediary device for a remote desktop session of a client
CN104850396A (en) * 2015-04-27 2015-08-19 柳州市一呼百应科技有限公司 Development method of client software
US20170078880A1 (en) * 2015-09-16 2017-03-16 CloudMondo, Inc. Cloud-based friend onboarding for wi-fi network communication authentication
CN105391791A (en) * 2015-11-26 2016-03-09 努比亚技术有限公司 Upgrade system and upgrade method thereof
CN105959311A (en) * 2016-07-04 2016-09-21 天闻数媒科技(湖南)有限公司 Single sign-on method and device for application system
CN106842985B (en) * 2017-01-23 2020-09-22 浙江运达风电股份有限公司 Software testing method and device for wind turbine generator control system based on software and hardware-in-the-loop
CN107133175A (en) * 2017-05-04 2017-09-05 郑州云海信息技术有限公司 A kind of software test platform based on cloud computing

Also Published As

Publication number Publication date
CN110049077A (en) 2019-07-23

Similar Documents

Publication Publication Date Title
CN109768965B (en) Login method, equipment and storage medium of server
CN110442524B (en) Method and device for testing web service interface with authentication authorization
TWI543000B (en) Third party initiation of communications between remote parties
CN106209726B (en) Mobile application single sign-on method and device
US9923906B2 (en) System, method and computer program product for access authentication
EP2550791B1 (en) System and method for secure multi-client communication service
EP3788742B1 (en) Emulation of cloud computing service regions
KR20080053298A (en) Creating secure interactive connections with remote resources
US8191122B2 (en) Provisioning a network appliance
US20120246226A1 (en) System and method for sharing data from a local network to a remote device
CN105306433B (en) A kind of method and apparatus accessing virtual machine server
JP2006526843A (en) Method and system for providing secure access to private network by client redirection
CN105827658A (en) Method and device for multi-application synchronization login
CN112838951B (en) Operation and maintenance method, device and system of terminal equipment and storage medium
CN108111486B (en) Method and device for avoiding repeated login
US11729334B2 (en) Communication system, device, and recording medium for remote access to electronic device through relaying device and converter
CN113761509A (en) iframe verification login method and device
CN110049077B (en) Method and system for examining and approving test file
KR101395830B1 (en) Session checking system via proxy and checkhing method thereof
CN111245791A (en) Single sign-on method for realizing management and IT service through reverse proxy
CN110048902B (en) Method and system for backing up test configuration document
CN114803750A (en) UDP (user Datagram protocol) and FTP (File transfer protocol) based offline updating method and medium for elevator car display screen resources
CN113177195A (en) Client access method, login service module, client and system
CN115834252B (en) Service access method and system
JP6100376B2 (en) Relay processing device, relay processing method, and program

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant