WO2015067052A1 - Method, device, and system for transmitting test command - Google Patents

Method, device, and system for transmitting test command Download PDF

Info

Publication number
WO2015067052A1
WO2015067052A1 PCT/CN2014/080141 CN2014080141W WO2015067052A1 WO 2015067052 A1 WO2015067052 A1 WO 2015067052A1 CN 2014080141 W CN2014080141 W CN 2014080141W WO 2015067052 A1 WO2015067052 A1 WO 2015067052A1
Authority
WO
WIPO (PCT)
Prior art keywords
test
test command
command
interpreter
terminal window
Prior art date
Application number
PCT/CN2014/080141
Other languages
French (fr)
Chinese (zh)
Inventor
刘宗昌
樊志强
Original Assignee
中兴通讯股份有限公司
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 中兴通讯股份有限公司 filed Critical 中兴通讯股份有限公司
Publication of WO2015067052A1 publication Critical patent/WO2015067052A1/en

Links

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

Definitions

  • the present invention relates to the field of communications, and in particular to a test command sending method, apparatus and system.
  • a test method that is connected to a device through a telnet (a protocol of a remote login service) terminal tool is a commonly used test method, in which a user manually inputs a configuration command (ie, a test command), and then views the device. The returned results are tested.
  • a configuration command ie, a test command
  • the returned results are tested.
  • some terminal devices support the recording function of recording user input, and can perform some repeated tests.
  • an interpreter is integrated on the terminal device, and the terminal interacts with the terminal window through a script.
  • the terminal is responsible for communicating with the network device, and the configuration command can be manually input in the terminal window, or Run the interpreter script to automate the input configuration commands to the terminal window, which in turn sends the configuration commands to the device.
  • This method implements complex logic control, repetitive configuration, and large-scale configuration of the test process, but also provides users with manual terminal functions.
  • the scripted configuration command can improve the test efficiency. However, when configuring a large amount of data for multiple devices in the network (for example, each device is configured with 4096 sub-interfaces), this significantly reduces the test efficiency. If multiple terminal tools are used to deliver configuration commands at the same time, it is difficult to coordinate the configuration order of the devices, resulting in complicated configuration schemes and poor feasibility. 3.
  • the test process requires automatic participation at the same time. When the automated test process occasionally requires manual test cooperation. At the time, information acquisition becomes complicated; due to the limitations of such terminal devices, it is difficult to re-administer the functions of an automated test system, often performing manual testing on one device and performing automated testing on another device.
  • the embodiments of the present invention provide a method, an apparatus, and a system for transmitting test commands, so as to at least solve the problem in the related art that a test command is sent by a terminal window to a device under test, resulting in poor system scalability.
  • a test command sending method including: the communication proxy unit receives a first test command and/or a second test command, where the first test command is an interpreter-to-test script The second test command is input by the user through the terminal window; the communication agent unit sends the first test command and/or the second test command to the device under test.
  • the method further includes: the communication proxy unit receiving the device response to be tested And a response message of the first test command and/or a response message of the second test command; the communication proxy unit sends a response message of the first test command to the interpreter, and the second test A response message of the command is sent to the terminal window.
  • the interpreting the test script by the plurality of interpreters comprises: acquiring, by the first buffer created by the first synchronization unit, the plurality of interpreters The test script, wherein the first buffer is set to share data between the plurality of interpreters; and the plurality of interpreters perform the test according to the first signal sent by the first synchronization unit The script interprets, wherein the first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order.
  • the method before the receiving the first test command, the method further includes: the interpreter transmitting the first test command to a second buffer created by the second synchronization unit, where The second buffer is set to share data between the terminal window and the interpreter; the terminal window acquires the first test command by using the second buffer, and the first test command Sended to the communication agent unit.
  • the method before the receiving, by the communication proxy unit, the first test command, the method further comprises: sending, by the terminal window, a test script and/or a control command input by a user to a second buffer created by the second synchronization unit.
  • a test command sending apparatus including: a receiving module, configured to receive a first test command and/or a second test command, where the first test command is an explanation Obtaining the test script, the second test command is input by the user through the terminal window; and the sending module is configured to send the first test command and/or the second test command by the communication proxy unit Give the device under test.
  • a test command sending system including: an interpreter, a terminal window, and a communication proxy unit, wherein: the interpreter is configured to interpret the test script as the first test command And sending the first test command to the communication proxy unit; the terminal window is configured to receive a second test command input by the user, and send the second test command to the communication proxy unit; The communication proxy unit is configured to send the first test command and/or the second test command to the device under test.
  • the communication proxy unit is further configured to receive a response message of the device under test in response to the first test command and/or a response message of a second test command, and respond to the first test command A message is sent to the interpreter, and a response message of the second test command is sent to the terminal window.
  • the system in a case where the system includes a plurality of interpreters, the system further includes: a first synchronization unit, configured to send a first signal to the plurality of interpreters, and create a first buffer, where The first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order, and the first buffer is set to share data between the plurality of interpreters.
  • the system further includes: a second synchronization unit configured to forward the second signal of the terminal window to the interpreter, and/or to forward the third signal of the interpreter to the terminal window, And creating a second buffer, wherein the second signal is used to control the interpreter to interpret the test script, the third signal is used to indicate operation data of the interpreter, and the second buffer is set Data sharing between the terminal window and the interpreter.
  • the running data includes: the first test command, wherein the terminal window is further configured to send the first test command to the communication proxy unit.
  • the first test command and/or the second test command are received by the communication proxy unit, wherein the first test command is obtained by interpreting the test script by the interpreter, and the second test command is input by the user through the terminal window.
  • the communication agent unit sends the first test command and/or the second test command to the device under test, and solves the problem that the system sends the test command to the device under test in the related art, resulting in poor system scalability, and improves the problem. Test system scalability.
  • FIG. 1 is a schematic flow chart of a test command sending method according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a test command transmitting device according to an embodiment of the present invention
  • FIG. 3 is a test command according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram of a preferred structure of a test command transmission system according to an embodiment of the present invention.
  • FIG. 5 is a schematic diagram of a preferred structure of a test command transmission system according to an embodiment of the present invention
  • FIG. 7 is a schematic diagram of a preferred configuration of a test system in accordance with a preferred embodiment of the present invention
  • FIG. 8 is a flow diagram of a test method in accordance with a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments.
  • FIG. 1 is a schematic flowchart of a test command sending method according to an embodiment of the present invention. As shown in FIG.
  • Step S102 A communication proxy unit receives a first a test command and/or a second test command, wherein the first test command is obtained by interpreting the test script by the interpreter, and the second test command is input by the user through the terminal window; in step S104, the communication agent unit will first test the command And/or a second test command is sent to the device under test.
  • the first test command and/or the second test command are sent to the device under test by the communication agent unit, so that the system can be compatible with the manual test and the automatic test mode, and the direct use of the terminal window is no longer required.
  • the test command sent to the device under test leads to a problem of poor system scalability, which improves the scalability of the test system.
  • first and second described in the above first test command, second test command, etc. are only used to identify corresponding nouns; and, for example, in some cases, the first test command The second test command may also be the same test command, which is not limited in this embodiment.
  • the communication proxy unit receives the response of the device under test in response to the first test command and/or the response of the second test command.
  • the response message of the first test command is sent to the interpreter, and the response message of the second test command is sent to the terminal window.
  • the terminal window and the interpreter are connected to the communication proxy unit through the corresponding access point, and the mapping relationship between the access point and the device under test is stored in the communication proxy unit, and the communication proxy unit is scheduled to be connected through the mapping relationship.
  • the information received by the ingress is forwarded to the corresponding device under test, or the response message sent by the device under test to the predetermined access point is forwarded to the corresponding terminal window or interpreter.
  • the plurality of interpreters acquire a test script by using a first buffer created by the first synchronization unit, wherein the first buffer is set to be a plurality of interpreters.
  • Inter-data sharing the plurality of interpreters interpreting the test script according to the first signal sent by the first synchronization unit, wherein the first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order.
  • the first buffer created by the first synchronization unit and the first signal realize the cooperative work between the multiple interpreters, and solve the problem that the configuration command is issued by using multiple interpreters simultaneously, and the configuration order of the device is difficult to coordinate.
  • the configuration scheme is complex and the feasibility is poor.
  • the first test command sent by the interpreter to the device under test may also be forwarded via the terminal window.
  • the interpreter sends the first test command to the first test command.
  • the interpreter can be directly connected to the communication agent unit to directly send the test command to the communication agent unit for processing; on the other hand, in order to realize the combination of the manual test and the automatic test, the user can automatically test the test.
  • the process intervenes to perform collaborative processing between the interpreter and the terminal window.
  • the terminal window sends the test script and/or the control command input by the user to the second buffer created by the second synchronization unit, where the second buffer is set as the terminal window.
  • the present embodiment further provides a test command sending device, which is used to implement the above test command sending method.
  • the function implementation in the device embodiment has been described in detail in the foregoing method embodiment, and will not be described here. Narration. 2 is a schematic structural diagram of a test command sending apparatus according to an embodiment of the present invention. As shown in FIG.
  • the apparatus includes: a receiving module 22 and a sending module 24, wherein the receiving module 22 is configured to receive a first test command and/or Or a second test command, wherein the first test command is obtained by the interpreter interpreting the test script, and the second test command is input by the user through the terminal window; the sending module 24 is coupled to the receiving module 22, and the communication module unit is set as The first test command and/or the second test command are sent to the device under test.
  • the modules and units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware.
  • the described modules and units in this embodiment may also be disposed in a processor. For example, it may be described as follows:
  • a processor includes a receiving module 22 and a transmitting module 24.
  • the setup module may also be described as "a module set to receive the first test command and/or the second test command.”
  • the present embodiment further provides a test command sending system, which is used to implement the above test command sending method.
  • the function implementation in the system embodiment may be described in conjunction with the foregoing method embodiments, and details are not described herein again.
  • 3 is a schematic structural diagram of a test command sending system according to an embodiment of the present invention. As shown in FIG. 3, the system includes: an interpreter 32, a terminal window 34, and a communication proxy unit 36, wherein: the interpreter 32 is coupled to the communication agent unit.
  • the communication proxy unit 36 is further configured to receive a response message of the device under test 38 in response to the first test command and/or a response message of the second test command, and send a response message of the first test command to the interpreter 32. Sending a response message of the second test command to the terminal window 34.
  • FIG. 4 is a first schematic diagram of a preferred structure of a test command sending system according to an embodiment of the present invention.
  • the system further includes: a first synchronization unit 42. Coupled to a plurality of interpreters 32, respectively arranged to transmit a first signal to the plurality of interpreters 32, and to create a first buffer, wherein the first signal is used to control the plurality of interpreters 32 to interpret the test script in a predetermined order, first The buffer is set to share data between multiple interpreters 32.
  • FIG. 5 is a schematic diagram of a preferred structure of a test command sending system according to an embodiment of the present invention. As shown in FIG.
  • the system further includes: a second synchronization unit 52 coupled to one or more interpreters 32 and one, respectively. Or a plurality of terminal windows 34, arranged to forward the second signal of the terminal window 34 to the interpreter 32, and/or to forward the third signal of the interpreter 32 to the terminal window 34, and create a second buffer, wherein The signal is used to control the interpreter 32 to interpret the test script, the third signal is used to indicate the operational data of the interpreter 32, and the second buffer is set to share data between the terminal window 34 and the interpreter 32.
  • the first synchronization unit 42 and the second synchronization unit 52 described above may be separately provided or may be combined into the same synchronization unit.
  • the operational data comprises: a first test command, wherein the terminal window 34 is further arranged to send the first test command to the communication agent unit 36.
  • the preferred embodiment relates to the field of testing, in particular, device testing based on the terminal mode.
  • a terminal-based testing method and system are provided, which can simultaneously meet the requirements of terminal testing and automated testing; Both require an integrated, collaborative test system for the user.
  • 6 is a schematic structural diagram of a test system according to a preferred embodiment of the present invention. As shown in FIG.
  • the test system provided in the preferred embodiment includes the following modules: a terminal communication proxy module (corresponding to the above communication proxy unit), and the functions include : Provides communication functions to network devices for terminal windows or interpreters, including access to network devices, ie access point management (create, log in, release), transfer commands to network devices; access points to devices under test Mapping table management; security control of access rights, operation log; application programming interface (Application Programming Interface, API for short) Interface), terminal window API interface, script interpreter extension interface; communication module, such as telnet communication, serial communication, etc.
  • a terminal communication proxy module corresponding to the above communication proxy unit
  • the functions include : Provides communication functions to network devices for terminal windows or interpreters, including access to network devices, ie access point management (create, log in, release), transfer commands to network devices; access points to devices under test Mapping table management; security control of access rights, operation log; application programming interface (Application Programming Interface, API for short) Interface), terminal window API interface, script interpreter extension interface; communication module, such as
  • Terminal management module functions include: terminal window creation, destruction, terminal window queue; request terminal communication agent to create an access point, and manage terminal window to access point mapping table; provide shared buffer for multi-terminal window, complete terminal Collaborative function of the window; receiving the command to synchronize the controller, completing the synchronization between the terminal window and the interpreter; the interpreter management module, responsible for creating, destroying, and obtaining the script script of the script interpreter (ie, the interpreter) and delivering the script to the explanation Executing; requesting the terminal communication agent to create an access point, and managing the interpreter-to-access point mapping table; receiving the command to synchronize the controller, completing the synchronization between the interpreter and the terminal window; synchronizing the controller module (equivalent to the above The function of a synchronization unit and the second synchronization unit) is responsible for the synchronous management of the interpreter, the synchronization of the parallel operation of the multiple interpreters, the synchronization of the commands to the terminal window, the synchronization function of the commands to the network device
  • FIG. 7 is a schematic diagram of a preferred structure of a test system according to a preferred embodiment of the present invention.
  • the number of script interpreters and terminal windows in the test system may be multiple, and respectively communicate with the terminal communication agent. Connections, multiple script interpreters and multiple terminal windows are connected via a synchronous controller.
  • FIG. 8 is a schematic flowchart of a testing method according to a preferred embodiment of the present invention. As shown in FIG.
  • the testing method provided in the preferred embodiment includes the following steps: Step 1: Initiating a terminal communication proxy, initializing access Point management module, mapping of access point to network device, initializing access authority control; Step 2: The terminal management module creates a terminal window, sends the target network device parameter to the terminal communication agent, requests the terminal communication agent to create an access point, and Perform terminal-to-access point mapping; create a multi-terminal window shared buffer; Step 3. Enter a control command in the terminal window and send it to the target device through the access point of the terminal communication agent; the device received by the access point returns and sends Go to the terminal window and complete the interaction between the terminal window and the network device.
  • Step 4 The interpreter management module creates an interpreter, obtains the script library script and sends it to the interpreter to execute; requests the terminal communication agent to create an access point, and manages the interpretation.
  • Device to access point mapping create interpreter to terminal window Mapping
  • Step 5 Explain the script running, send the control command through the access point to the target device; receive the device's return and print to the log window; if the interpreter is mapped to the terminal window, the script runs the send control command to the mapping terminal window, and then the terminal The window sends a control command to the device; Step 6.
  • the peer controller creates a synchronization control signal, and controls the multiple interpreters to execute in sequence; creating a shared buffer so that the synchronized interpreter can Interactive data; Step 7. If the interpreter and the terminal window are synchronously controlled, the synchronization controller creates a synchronization control signal, controls the operation of the interpreter and the terminal window; creates a shared buffer, and the terminal window can obtain an explanation during the operation of the automation script.
  • the data can be run, the control data can be generated to the interpreter, and the control script runs.
  • the interpreter management module destroys the interpreter, releases the synchronization control signal and the shared buffer, and requests the terminal communication agent to release the corresponding access point.
  • Terminal communication agent Start terminal communication agent, initialize access point management module, map of access point to network device, initialize access authority control
  • terminal communication window terminal management module creates terminal Window, sending the target network device parameter to the terminal communication agent, requesting the terminal communication agent to create an access point, and mapping the terminal window to the access point; creating a multi-terminal window shared buffer
  • terminal interaction operation inputting control in the terminal window The command is sent to the target device through the access point of the terminal communication agent; the device received by the access point returns and then sent to the terminal window to complete the interaction between the terminal window and the network device
  • Creating an interpreter The interpreter management module creates an interpreter , obtain the script library script and send it to the interpreter to execute; request the terminal communication agent to create an access point, and manage the mapping of the
  • the foregoing method, device and system provided by the embodiments of the present invention release the terminal window from the communication control with the device, and provide the terminal communication agent, which enhances the scalability; Control, solve the conflict between manual configuration and script configuration; concurrent interpreter execution, prompting the efficiency of multiple devices to deliver configuration commands synchronously; through synchronization control, between the manual test and the automated test, through the synchronization signal, the shared buffer, Provide users with an integrated, efficient test platform device.
  • Industrial Applicability According to the embodiment of the present invention, the first test command and/or the second test command are received by the communication proxy unit, where the first test command is obtained by interpreting the test script by the interpreter, and the second test command is passed by the user.
  • the communication agent unit Entered by the terminal window; the communication agent unit sends the first test command and/or the second test command to the device under test, and solves the problem that the system sends the test command to the device under test by the terminal window, resulting in poor system scalability. , improved the scalability of the test system.
  • the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices.
  • the invention is not limited to any specific combination of hardware and software.
  • the above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Disclosed are a method, device, and system for transmitting a test command. The method comprises: a communication agent unit receives a first test command and/or a second test command, where the first test command is acquired by an interpreter by interpreting a test script, and the second test command is inputted by a user via a terminal window; and, the communication agent unit transmits the first test command and/or the second command to a device under test. The present invention solves the problem of poor system scalability found in the related art as a result of a test command being transmitted to a device under test by a terminal window, thus increasing the scalability of a test system.

Description

测试命令发送方法、 装置及系统 技术领域 本发明涉及通信领域, 具体而言, 涉及一种测试命令发送方法、 装置及系统。 背景技术 在网络设备测试中, 通过 telnet (—种远程登录服务的协议)终端工具连接到设备 进行测试是常用的测试方法, 具体方式是用户通过手动输入配置命令 (即测试命令), 然后查看设备的返回结果进行测试。 在这种情况下, 当用户进行一些重复性操作比较 多的测试时, 如配置大量的子接口信息、添加大量的静态路由信息时, 效率比较低下。 为了解决类似问题, 有一些终端装置支持录制用户输入的录制功能, 可以进行一 定程度上的重复测试, 但是由于录制的信息缺少逻辑控制能力, 不能对设备参数的变 化进行有效的处理, 容易出现错误的测试结果。 为了增加对输入信息的逻辑控制能力, 在终端装置上集成了解释器, 通过脚本与 终端窗口进行交互, 具体就是由终端负责与网络设备通信, 可以在终端窗口上手动输 入配置命令, 也可以通过运行解释器脚本自动化的输入配置命令到终端窗口, 再由终 端窗口输送配置命令到设备。 这种方式实现了测试过程复杂逻辑控制、 重复配置、 大 批量配置等功能, 但同时也为用户提供了手工终端功能。 但发明人在研究过程中发现 这种方式也存在一些问题:  The present invention relates to the field of communications, and in particular to a test command sending method, apparatus and system. BACKGROUND In a network device test, a test method that is connected to a device through a telnet (a protocol of a remote login service) terminal tool is a commonly used test method, in which a user manually inputs a configuration command (ie, a test command), and then views the device. The returned results are tested. In this case, when the user performs some tests with more repetitive operations, such as configuring a large amount of sub-interface information and adding a large amount of static routing information, the efficiency is relatively low. In order to solve similar problems, some terminal devices support the recording function of recording user input, and can perform some repeated tests. However, due to the lack of logic control capability of the recorded information, it is impossible to effectively process the changes of the device parameters, which is prone to errors. Test results. In order to increase the logic control capability of the input information, an interpreter is integrated on the terminal device, and the terminal interacts with the terminal window through a script. Specifically, the terminal is responsible for communicating with the network device, and the configuration command can be manually input in the terminal window, or Run the interpreter script to automate the input configuration commands to the terminal window, which in turn sends the configuration commands to the device. This method implements complex logic control, repetitive configuration, and large-scale configuration of the test process, but also provides users with manual terminal functions. However, the inventor found some problems in this way during the research process:
1、与设备的通信落在了终端窗口上,脚本化的配置命令也必须通过终端窗口来实 现, 终端扩展性较差; 手工配置命令与脚本化的配置命令也必须通过终端窗口实现, 二者可能产生冲突; 1. The communication with the device falls on the terminal window, and the scripted configuration command must also be implemented through the terminal window, and the terminal has poor scalability; the manual configuration command and the scripted configuration command must also be implemented through the terminal window, May create a conflict;
2、脚本化的配置命令可以提高测试效率,但要对组网中多台设备配置大量数据时 (比如每台设备都配置 4096条子接口), 这明显降低了测试效率。 而如果采用多个终 端工具同时下发配置命令, 又存在难以协调设备的配置顺序的问题, 导致配置方案复 杂, 可行性差; 3、 测试过程同时需要自动化参与, 当自动化测试过程偶尔需要手工测试配合时, 信息获取变得很复杂; 由于这种终端装置局限性, 很难以再承担自动化测试系统的功 能, 往往要在一个装置上进行手工测试, 另外一个装置上进行自动化测试。 针对相关技术中由终端窗口将测试命令发送给被测设备导致系统扩展性差的问 题, 目前尚未提出有效的解决办法。 发明内容 本发明实施例提供了一种测试命令发送方法、 装置及系统, 以至少解决相关技术 中由终端窗口将测试命令发送给被测设备导致系统扩展性差的问题。 根据本发明实施例的一个方面, 提供了一种测试命令发送方法, 包括: 通信代理 单元接收第一测试命令和 /或第二测试命令, 其中, 所述第一测试命令是解释器对测试 脚本进行解释得到的, 所述第二测试命令是用户通过终端窗口输入的; 所述通信代理 单元将所述第一测试命令和 /或所述第二测试命令发送给被测设备。 优选地,在所述通信代理单元将所述第一测试命令和 /或第二测试命令发送给所述 被测设备之后, 所述方法还包括: 所述通信代理单元接收所述被测设备响应于所述第 一测试命令的响应消息和 /或第二测试命令的响应消息; 所述通信代理单元将所述第一 测试命令的响应消息发送给所述解释器, 并将所述第二测试命令的响应消息发送给所 述终端窗口。 优选地, 在所述系统包括多个解释器的情况下, 所述多个解释器对所述测试脚本 进行解释包括: 所述多个解释器通过第一同步单元创建的第一缓冲区, 获取所述测试 脚本, 其中, 所述第一缓冲区设置为所述多个解释器之间的数据共享; 所述多个解释 器根据所述第一同步单元发送的第一信号, 对所述测试脚本进行解释, 其中, 所述第 一信号用于控制所述多个解释器按照预定次序解释所述测试脚本。 优选地, 在所述通信代理单元接收所述第一测试命令之前, 所述方法还包括: 所 述解释器将所述第一测试命令发送到第二同步单元创建的第二缓冲区, 其中, 所述第 二缓冲区设置为所述终端窗口与所述解释器之间的数据共享; 所述终端窗口通过所述 第二缓冲区获取所述第一测试命令,并将所述第一测试命令发送给所述通信代理单元。 优选地, 在所述通信代理单元接收所述第一测试命令之前, 所述方法还包括: 所 述终端窗口将用户输入的测试脚本和 /或控制指令发送到第二同步单元创建的第二缓 冲区, 其中, 所述第二缓冲区设置为所述终端窗口与所述解释器之间的数据共享; 所 述解释器通过所述第二缓冲区获取用户输入的测试脚本和 /或所述控制指令, 并对用户 输入的测试脚本进行解释, 和 /或, 根据所述控制指令对所述测试脚本进行解释。 根据本发明实施例的另一个方面, 还提供了一种测试命令发送装置, 包括: 接收 模块, 设置为接收第一测试命令和 /或第二测试命令, 其中, 所述第一测试命令是解释 器对测试脚本进行解释得到的, 所述第二测试命令是用户通过终端窗口输入的; 发送 模块, 设置为所述通信代理单元将所述第一测试命令和 /或所述第二测试命令发送给被 测设备。 根据本发明实施例的另一个方面, 还提供了一种测试命令发送系统, 包括: 解释 器、 终端窗口和通信代理单元, 其中: 所述解释器, 设置为将测试脚本解释为第一测 试命令, 并将所述第一测试命令发送给所述通信代理单元; 所述终端窗口, 设置为接 收用户输入的第二测试命令, 并将所述第二测试命令发送给所述通信代理单元; 所述 通信代理单元, 设置为将所述第一测试命令和 /或所述第二测试命令发送给所述被测设 备。 优选地, 所述通信代理单元, 还设置为接收所述被测设备响应于所述第一测试命 令的响应消息和 /或第二测试命令的响应消息, 并将所述第一测试命令的响应消息发送 给所述解释器, 将所述第二测试命令的响应消息发送给所述终端窗口。 优选地, 在所述系统包括多个解释器的情况下, 所述系统还包括: 第一同步单元, 设置为向所述多个解释器发送第一信号, 并创建第一缓冲区, 其中, 所述第一信号用 于控制所述多个解释器按照预定次序解释所述测试脚本, 所述第一缓冲区设置为所述 多个解释器之间的数据共享。 优选地, 所述系统还包括: 第二同步单元, 设置为向所述解释器转发所述终端窗 口的第二信号, 和 /或, 向所述终端窗口转发所述解释器的第三信号, 并创建第二缓冲 区, 其中, 所述第二信号用于控制所述解释器解释所述测试脚本, 所述第三信号用于 指示所述解释器的运行数据, 所述第二缓冲区设置为所述终端窗口与所述解释器之间 的数据共享。 优选地, 所述运行数据包括: 所述第一测试命令, 其中, 所述终端窗口还设置为 将所述第一测试命令发送给所述通信代理单元。 通过本发明实施例, 采用通信代理单元接收第一测试命令和 /或第二测试命令, 其 中, 第一测试命令是解释器对测试脚本进行解释得到的, 第二测试命令是用户通过终 端窗口输入的; 通信代理单元将第一测试命令和 /或第二测试命令发送给被测设备的方 式, 解决了相关技术中由终端窗口将测试命令发送给被测设备导致系统扩展性差的问 题, 提高了测试系统的扩展性。 附图说明 此处所说明的附图用来提供对本发明的进一步理解, 构成本申请的一部分, 本发 明的示意性实施例及其说明用于解释本发明, 并不构成对本发明的不当限定。 在附图 中: 图 1是根据本发明实施例的测试命令发送方法的流程示意图; 图 2是根据本发明实施例的测试命令发送装置的结构示意图; 图 3是根据本发明实施例的测试命令发送系统的结构示意图; 图 4是根据本发明实施例的测试命令发送系统的优选结构示意图一; 图 5是根据本发明实施例的测试命令发送系统的优选结构示意图二; 图 6是根据本发明优选实施例的测试系统的结构示意图; 图 7是根据本发明优选实施例的测试系统的优选结构示意图; 图 8是根据本发明优选实施例的测试方法的流程示意图。 具体实施方式 需要说明的是, 在不冲突的情况下, 本申请中的实施例及实施例中的特征可以相 互组合。 下面将参考附图并结合实施例来详细说明本发明。 在附图的流程图示出的步骤可以在诸如一组计算机可执行指令的计算机系统中执 行, 并且, 虽然在流程图中示出了逻辑顺序, 但是在某些情况下, 可以以不同于此处 的顺序执行所示出或描述的步骤。 本实施例提供了一种测试命令发送方法, 图 1是根据本发明实施例的测试命令发 送方法的流程示意图, 如图 1所示, 该流程包括如下步骤: 步骤 S102, 通信代理单元接收第一测试命令和 /或第二测试命令, 其中, 第一测试 命令是解释器对测试脚本进行解释得到的,第二测试命令是用户通过终端窗口输入的; 步骤 S104, 通信代理单元将第一测试命令和 /或第二测试命令发送给被测设备。 通过上述步骤,采用通信代理单元将第一测试命令和 /或第二测试命令发送给被测 设备的方式, 使得系统能够同时兼容手工测试和自动测试的方式, 并且不再需要由终 端窗口来直接将测试命令发送给被测设备; 采用本实施例的方案, 在测试系统需要扩 展的情况下, 只需要在通信代理单元中对新加入的终端进行配置, 因此解决了相关技 术中由终端窗口将测试命令发送给被测设备导致系统扩展性差的问题, 提高了测试系 统的扩展性。 需要说明的是, 上述第一测试命令、 第二测试命令等中描述的"第一"、 "第二 "仅 用于标识相应的名词; 并且, 例如, 在某些情况下, 第一测试命令、 第二测试命令也 有可能是同一个测试命令, 在本实施例中并不做限定。 优选地,在步骤 S104之后,在终端窗口或解释器需要接收测试命令的执行结果的 情况下,通信代理单元接收被测设备响应于第一测试命令的响应消息和 /或第二测试命 令的响应消息之后, 将第一测试命令的响应消息发送给解释器, 并将第二测试命令的 响应消息发送给终端窗口。 优选地, 终端窗口和解释器都通过相应的接入点与通信代理单元连接, 在通信代 理单元中保存有接入点与被测设备的映射关系, 通过该映射关系, 通信代理单元将预 定接入点接收的信息转发给对应的被测设备, 或者将被测设备发给预定接入点的响应 消息转发给对应的终端窗口或解释器。 优选地, 在测试系统中多个解释器协同工作的情况下, 多个解释器通过第一同步 单元创建的第一缓冲区, 获取测试脚本, 其中, 第一缓冲区设置为多个解释器之间的 数据共享; 多个解释器根据第一同步单元发送的第一信号, 对测试脚本进行解释, 其 中, 第一信号用于控制多个解释器按照预定次序解释测试脚本。 通过第一同步单元创 建的第一缓冲区和第一信号, 实现了多个解释器之间的协同工作, 解决了采用多个解 释器同时下发配置命令, 存在的难以协调设备的配置顺序导致配置方案复杂, 可行性 差的问题。 在本实施例中, 解释器发送给被测设备的第一测试命令也可以经由终端窗口进行 转发, 优选地, 在通信代理单元接收第一测试命令之前, 解释器将第一测试命令发送 到第二同步单元创建的第二缓冲区, 其中, 第二缓冲区设置为终端窗口与解释器之间 的数据共享; 终端窗口通过第二缓冲区获取第一测试命令, 并将第一测试命令发送给 通信代理单元。 通过该方式, 用户可以通过终端窗口监控解释器对被测设备的测试过 程。 在上述实施例中, 解释器可以直接与通信代理单元连接, 从而将测试命令直接发 送给通信代理单元处理; 另一方面, 为了实现人工测试与自动测试相结合的方式, 使 得用户能够对自动测试的过程进行干预,可以在解释器与终端窗口之间进行协同处理。 优选地, 在通信代理单元接收第一测试命令之前, 终端窗口将用户输入的测试脚本和 / 或控制指令发送到第二同步单元创建的第二缓冲区, 其中, 第二缓冲区设置为终端窗 口与解释器之间的数据共享; 解释器通过第二缓冲区获取用户输入的测试脚本和 /或控 制指令, 并对用户输入的测试脚本进行解释, 和 /或, 根据控制指令对测试脚本进行解 释。 本实施例还提供了一种测试命令发送装置, 该装置用于实现上述测试命令发送方 法, 该装置实施例中的功能实现在上述方法实施例中已经进行过详细的说明, 在此将 不再赘述。 图 2是根据本发明实施例的测试命令发送装置的结构示意图, 如图 2所示, 该装 置包括: 接收模块 22和发送模块 24, 其中, 接收模块 22, 设置为接收第一测试命令 和 /或第二测试命令, 其中, 第一测试命令是解释器对测试脚本进行解释得到的, 第二 测试命令是用户通过终端窗口输入的; 发送模块 24耦合至接收模块 22, 设置为通信 代理单元将第一测试命令和 /或第二测试命令发送给被测设备。 本发明的实施例中所涉及到的模块、 单元可以通过软件的方式实现, 也可以通过 硬件的方式来实现。本实施例中的所描述的模块、单元也可以设置在处理器中, 例如, 可以描述为: 一种处理器包括接收模块 22和发送模块 24。 其中, 这些模块的名称在 某种情况下并不构成对该模块本身的限定, 例如, 建立模块还可以被描述为 "设置为 接收第一测试命令和 /或第二测试命令的模块"。 本实施例还提供了一种测试命令发送系统, 该系统用于实现上述测试命令发送方 法, 该系统实施例中的功能实现可以结合上述方法实施例进行说明,在此将不再赘述。 图 3是根据本发明实施例的测试命令发送系统的结构示意图, 如图 3所示, 该系 统包括: 解释器 32、 终端窗口 34和通信代理单元 36, 其中: 解释器 32耦合至通信代 理单元 36, 设置为将测试脚本解释为第一测试命令, 并将第一测试命令发送给通信代 理单元 36; 终端窗口 34耦合至通信代理单元 36, 设置为接收用户输入的第二测试命 令, 并将第二测试命令发送给通信代理单元 36; 通信代理单元 36, 设置为将第一测试 命令和 /或第二测试命令发送给被测设备 38。 优选地, 通信代理单元 36, 还设置为接收被测设备 38响应于第一测试命令的响 应消息和 /或第二测试命令的响应消息, 并将第一测试命令的响应消息发送给解释器 32, 将第二测试命令的响应消息发送给终端窗口 34。 图 4是根据本发明实施例的测试命令发送系统的优选结构示意图一,如图 4所示, 优选地, 在系统包括多个解释器 32的情况下, 该系统还包括: 第一同步单元 42分别 耦合至多个解释器 32, 设置为向多个解释器 32发送第一信号, 并创建第一缓冲区, 其中,第一信号用于控制多个解释器 32按照预定次序解释测试脚本,第一缓冲区设置 为多个解释器 32之间的数据共享。 图 5是根据本发明实施例的测试命令发送系统的优选结构示意图二,如图 5所示, 优选地, 该系统还包括: 第二同步单元 52分别耦合至一个或多个解释器 32以及一个 或多个终端窗口 34, 设置为向解释器 32转发终端窗口 34的第二信号, 和 /或, 向终端 窗口 34转发解释器 32的第三信号, 并创建第二缓冲区, 其中, 第二信号用于控制解 释器 32解释测试脚本, 第三信号用于指示解释器 32的运行数据, 第二缓冲区设置为 终端窗口 34与解释器 32之间的数据共享。 需要说明的是上述的第一同步单元 42和第二同步单元 52可以分设, 也可以合设 为同一个同步单元。 优选地, 运行数据包括: 第一测试命令, 其中, 终端窗口 34还设置为将第一测试 命令发送给通信代理单元 36。 下面结合优选实施例进行描述和说明。 本优选实施例涉及测试领域, 尤其基于终端方式进行的设备测试, 在本优选实施 例中, 提供了一种基于终端方式的测试方法及系统, 可以同时满足终端测试和自动化 测试需求; 同时通过协同二者需求, 为用户提供一个集成的、 协同的测试系统。 图 6是根据本发明优选实施例的测试系统的结构示意图, 如图 6所示, 本优选实 施例中提供的测试系统包括如下模块: 终端通信代理模块(相当于上述通信代理单元), 功能包括: 为终端窗口或解释器 提供到网络设备的通信功能, 包括接入到网络设备, 即接入点管理(创建、 登录设备、 释放)、传送命令到网络设备;接入点到被测设备的映射表管理;接入权限的安全控制, 操作日志; 接入点应用程序编程接口 (Application Programming Interface, 简称为 API 接口), 终端窗口 API接口, 脚本解释器扩展接口; 通信模块, 比如 telnet通信、 串口 通信等。 终端管理模块, 功能包括: 终端窗口的创建、 销毁, 终端窗口队列; 请求终端通 信代理创建接入点, 并管理终端窗口到接入点的映射表; 为多终端窗口提供共享缓冲 区, 完成终端窗口的协同功能; 接收来同步控制器的命令, 完成终端窗口与解释器的 同步; 解释器管理模块, 负责脚本解释器 (即解释器) 的创建、 销毁, 获取脚本库脚本 并下发到解释器执行; 请求终端通信代理创建接入点, 并管理解释器到接入点的映射 表; 接收来同步控制器的命令, 完成解释器与终端窗口的同步; 同步控制器模块(相当于上述第一同步单元和第二同步单元的功能), 负责解释器 同步管理, 完成多解释器并行运行过程的同步, 下发命令到终端窗口的同步, 命令到 网络设备的同步功能; 为被同步对象 (比如终端窗口或者解释器) 创建同步信号, 共 享缓冲区, 调度队列(比如下发命令到网络设备的序列); 被同步解释器的沉睡与唤醒 控制。 图 7是根据本发明优选实施例的测试系统的优选结构示意图, 如图 7所示, 优选 地, 在测试系统中脚本解释器、 终端窗口的数目都可以是多个, 并分别与终端通信代 理连接, 多个脚本解释器和多个终端窗口通过同步控制器连接。 基于上述系统, 图 8是根据本发明优选实施例的测试方法的流程示意图, 如图 8 所示, 本优选实施例中提供的测试方法包括如下步骤: 步骤一、启动终端通信代理, 初始化接入点管理模块, 接入点到网络设备的映射, 初始化接入权限控制; 步骤二、终端管理模块创建终端窗口,把目标网络设备参数发送到终端通信代理, 请求终端通信代理创建接入点, 并进行终端窗口到接入点的映射; 创建多终端窗口共 享缓冲区; 步骤三、 在终端窗口输入控制命令, 并通过终端通信代理的接入点发送到目标设 备; 接入点接收的设备返回再送到终端窗口上,完成终端窗口与网络设备的交互操作; 步骤四、 解释器管理模块创建解释器, 获取脚本库脚本并下发到解释器执行; 请 求终端通信代理创建接入点, 并管理解释器到接入点的映射; 创建解释器到终端窗口 的映射; 步骤五、 解释脚本运行, 发送控制命令通过接入点到目标设备; 接收设备的返回 并打印到日志窗口; 如果映射了解释器到终端窗口, 脚本运行发送控制命令到映射终 端窗口, 再由终端窗口发送控制命令到设备; 步骤六、 如果创建多解释器并发运行脚本, 同歩控制器创建同步控制信号, 控制 多解释器按序进行执行; 创建共享缓冲区, 使得被同步解释器之间可以交互数据; 步骤七、 如果解释器和终端窗口进行同步控制, 同步控制器创建同步控制信号, 控制解释器运行和终端窗口的输入; 创建共享缓冲区, 在自动化脚本运行期间, 终端 窗口可以获取解释器运行数据, 也可以发生控制数据到解释器, 控制脚本运行; 步骤八、 脚本运行完成, 解释器管理模块销毁解释器, 释放同步控制信号和共享 缓冲区, 请求终端通信代理释放对应接入点, 释放映射表; 终端窗口关闭, 终端窗口 管理模块释放同步控制信息和共享缓冲区, 请求终端通信代理释放接入点, 释放映射 表。 可见, 上述步骤包括如下几个部分: 终端通信代理: 启动终端通信代理, 初始化接入点管理模块, 接入点到网络设备 的映射, 初始化接入权限控制; 终端通信窗口: 终端管理模块创建终端窗口, 把目标网络设备参数发送到终端通 信代理, 请求终端通信代理创建接入点, 并进行终端窗口到接入点的映射; 创建多终 端窗口共享缓冲区; 终端交互操作: 在终端窗口输入控制命令, 并通过终端通信代理的接入点发送到 目标设备; 接入点接收的设备返回再送到终端窗口上, 完成终端窗口与网络设备的交 互操作; 创建解释器: 解释器管理模块创建解释器,获取脚本库脚本并下发到解释器执行; 请求终端通信代理创建接入点, 并管理解释器到接入点的映射; 创建解释器到终端窗 口的映射; 终端脚本运行: 解释脚本运行, 发送控制命令通过接入点到目标设备; 接收设备 的返回并打印到日志窗口; 如果映射了解释器到终端窗口, 脚本运行发送控制命令到 映射终端窗口, 再由终端窗口发送控制命令到设备; 多解释器同步控制: 如果创建多解释器并发运行脚本, 同步控制器创建同步控制 信号, 控制多解释器按序进行执行; 创建共享缓冲区, 使得被同步解释器之间可以交 互数据; 解释器与终端窗口同步控制: 同步控制器创建同步控制信号, 控制解释器运行和 终端窗口的输入; 创建共享缓冲区, 在自动化脚本运行期间, 终端窗口可以获取解释 器运行数据, 也可以发生控制数据到解释器, 控制脚本运行; 相关资源销毁: 脚本运行完成, 解释器管理模块销毁解释器, 释放同步控制信号 和共享缓冲区, 请求终端通信代理释放对应接入点, 释放映射表; 终端窗口关闭, 终 端窗口管理模块释放同步控制信息和共享缓冲区, 请求终端通信代理释放接入点, 释 放映射表。 通过上述描述可知, 采用本发明实施例提供的上述方法、 装置及系统, 与相关技 术相比, 把终端窗口从与设备的通信控制解脱出来, 提供了终端通信代理, 增强了扩 展性; 通过同步控制, 解决手工配置和脚本配置的冲突问题; 并发的解释器执行, 提 示了多设备同步下发配置命令的效率; 通过同步控制, 在手工测试和自动化测试之间 通过同步信号, 共享缓冲区, 为用户提供一个整合的、 高效的测试平台装置。 工业实用性 通过本发明实施例, 采用通信代理单元接收第一测试命令和 /或第二测试命令, 其 中, 第一测试命令是解释器对测试脚本进行解释得到的, 第二测试命令是用户通过终 端窗口输入的; 通信代理单元将第一测试命令和 /或第二测试命令发送给被测设备的方 式, 解决了相关技术中由终端窗口将测试命令发送给被测设备导致系统扩展性差的问 题, 提高了测试系统的扩展性。 显然, 本领域的技术人员应该明白, 上述的本发明的各模块或各步骤可以用通用 的计算装置来实现, 它们可以集中在单个的计算装置上, 或者分布在多个计算装置所 组成的网络上, 可选地, 它们可以用计算装置可执行的程序代码来实现, 从而, 可以 将它们存储在存储装置中由计算装置来执行, 或者将它们分别制作成各个集成电路模 块, 或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。 这样, 本发明 不限制于任何特定的硬件和软件结合。 以上上述仅为本发明的优选实施例而已, 并不用于限制本发明, 对于本领域的技 术人员来说, 本发明可以有各种更改和变化。 凡在本发明的精神和原则之内, 所作的 任何修改、 等同替换、 改进等, 均应包含在本发明的保护范围之内。 2. The scripted configuration command can improve the test efficiency. However, when configuring a large amount of data for multiple devices in the network (for example, each device is configured with 4096 sub-interfaces), this significantly reduces the test efficiency. If multiple terminal tools are used to deliver configuration commands at the same time, it is difficult to coordinate the configuration order of the devices, resulting in complicated configuration schemes and poor feasibility. 3. The test process requires automatic participation at the same time. When the automated test process occasionally requires manual test cooperation. At the time, information acquisition becomes complicated; due to the limitations of such terminal devices, it is difficult to re-administer the functions of an automated test system, often performing manual testing on one device and performing automated testing on another device. In the related art, the problem that the test command is sent to the device under test by the terminal window causes poor system scalability, and no effective solution has been proposed yet. SUMMARY OF THE INVENTION The embodiments of the present invention provide a method, an apparatus, and a system for transmitting test commands, so as to at least solve the problem in the related art that a test command is sent by a terminal window to a device under test, resulting in poor system scalability. According to an aspect of the embodiments of the present invention, a test command sending method is provided, including: the communication proxy unit receives a first test command and/or a second test command, where the first test command is an interpreter-to-test script The second test command is input by the user through the terminal window; the communication agent unit sends the first test command and/or the second test command to the device under test. Preferably, after the communication proxy unit sends the first test command and/or the second test command to the device under test, the method further includes: the communication proxy unit receiving the device response to be tested And a response message of the first test command and/or a response message of the second test command; the communication proxy unit sends a response message of the first test command to the interpreter, and the second test A response message of the command is sent to the terminal window. Preferably, in a case that the system includes a plurality of interpreters, the interpreting the test script by the plurality of interpreters comprises: acquiring, by the first buffer created by the first synchronization unit, the plurality of interpreters The test script, wherein the first buffer is set to share data between the plurality of interpreters; and the plurality of interpreters perform the test according to the first signal sent by the first synchronization unit The script interprets, wherein the first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order. Preferably, before the receiving the first test command, the method further includes: the interpreter transmitting the first test command to a second buffer created by the second synchronization unit, where The second buffer is set to share data between the terminal window and the interpreter; the terminal window acquires the first test command by using the second buffer, and the first test command Sended to the communication agent unit. Preferably, before the receiving, by the communication proxy unit, the first test command, the method further comprises: sending, by the terminal window, a test script and/or a control command input by a user to a second buffer created by the second synchronization unit. a second buffer, where the second buffer is set to share data between the terminal window and the interpreter; the interpreter obtains a test script input by a user and/or the control by using the second buffer The instruction interprets the test script input by the user, and/or interprets the test script according to the control instruction. According to another aspect of the embodiments of the present invention, a test command sending apparatus is provided, including: a receiving module, configured to receive a first test command and/or a second test command, where the first test command is an explanation Obtaining the test script, the second test command is input by the user through the terminal window; and the sending module is configured to send the first test command and/or the second test command by the communication proxy unit Give the device under test. According to another aspect of the embodiments of the present invention, a test command sending system is provided, including: an interpreter, a terminal window, and a communication proxy unit, wherein: the interpreter is configured to interpret the test script as the first test command And sending the first test command to the communication proxy unit; the terminal window is configured to receive a second test command input by the user, and send the second test command to the communication proxy unit; The communication proxy unit is configured to send the first test command and/or the second test command to the device under test. Preferably, the communication proxy unit is further configured to receive a response message of the device under test in response to the first test command and/or a response message of a second test command, and respond to the first test command A message is sent to the interpreter, and a response message of the second test command is sent to the terminal window. Preferably, in a case where the system includes a plurality of interpreters, the system further includes: a first synchronization unit, configured to send a first signal to the plurality of interpreters, and create a first buffer, where The first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order, and the first buffer is set to share data between the plurality of interpreters. Preferably, the system further includes: a second synchronization unit configured to forward the second signal of the terminal window to the interpreter, and/or to forward the third signal of the interpreter to the terminal window, And creating a second buffer, wherein the second signal is used to control the interpreter to interpret the test script, the third signal is used to indicate operation data of the interpreter, and the second buffer is set Data sharing between the terminal window and the interpreter. Preferably, the running data includes: the first test command, wherein the terminal window is further configured to send the first test command to the communication proxy unit. According to the embodiment of the present invention, the first test command and/or the second test command are received by the communication proxy unit, wherein the first test command is obtained by interpreting the test script by the interpreter, and the second test command is input by the user through the terminal window. The communication agent unit sends the first test command and/or the second test command to the device under test, and solves the problem that the system sends the test command to the device under test in the related art, resulting in poor system scalability, and improves the problem. Test system scalability. BRIEF DESCRIPTION OF THE DRAWINGS The accompanying drawings, which are set to illustrate,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, 1 is a schematic flow chart of a test command sending method according to an embodiment of the present invention; FIG. 2 is a schematic structural diagram of a test command transmitting device according to an embodiment of the present invention; FIG. 3 is a test command according to an embodiment of the present invention. FIG. 4 is a schematic diagram of a preferred structure of a test command transmission system according to an embodiment of the present invention; FIG. 5 is a schematic diagram of a preferred structure of a test command transmission system according to an embodiment of the present invention; FIG. BRIEF DESCRIPTION OF THE DRAWINGS FIG. 7 is a schematic diagram of a preferred configuration of a test system in accordance with a preferred embodiment of the present invention; and FIG. 8 is a flow diagram of a test method in accordance with a preferred embodiment of the present invention. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS It should be noted that the embodiments in the present application and the features in the embodiments may be combined with each other without conflict. The invention will be described in detail below with reference to the drawings in conjunction with the embodiments. The steps illustrated in the flowchart of the figures may be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, may differ from this The steps shown are performed in the order shown or described. The present embodiment provides a test command sending method. FIG. 1 is a schematic flowchart of a test command sending method according to an embodiment of the present invention. As shown in FIG. 1, the process includes the following steps: Step S102: A communication proxy unit receives a first a test command and/or a second test command, wherein the first test command is obtained by interpreting the test script by the interpreter, and the second test command is input by the user through the terminal window; in step S104, the communication agent unit will first test the command And/or a second test command is sent to the device under test. Through the above steps, the first test command and/or the second test command are sent to the device under test by the communication agent unit, so that the system can be compatible with the manual test and the automatic test mode, and the direct use of the terminal window is no longer required. Sending the test command to the device under test; using the solution of the embodiment, in the case that the test system needs to be extended, only the newly added terminal needs to be configured in the communication proxy unit, thus solving the related art by the terminal window The test command sent to the device under test leads to a problem of poor system scalability, which improves the scalability of the test system. It should be noted that the "first" and "second" described in the above first test command, second test command, etc. are only used to identify corresponding nouns; and, for example, in some cases, the first test command The second test command may also be the same test command, which is not limited in this embodiment. Preferably, after step S104, in a case where the terminal window or the interpreter needs to receive the execution result of the test command, the communication proxy unit receives the response of the device under test in response to the first test command and/or the response of the second test command. After the message, the response message of the first test command is sent to the interpreter, and the response message of the second test command is sent to the terminal window. Preferably, the terminal window and the interpreter are connected to the communication proxy unit through the corresponding access point, and the mapping relationship between the access point and the device under test is stored in the communication proxy unit, and the communication proxy unit is scheduled to be connected through the mapping relationship. The information received by the ingress is forwarded to the corresponding device under test, or the response message sent by the device under test to the predetermined access point is forwarded to the corresponding terminal window or interpreter. Preferably, in a case where a plurality of interpreters work in the test system, the plurality of interpreters acquire a test script by using a first buffer created by the first synchronization unit, wherein the first buffer is set to be a plurality of interpreters. Inter-data sharing; the plurality of interpreters interpreting the test script according to the first signal sent by the first synchronization unit, wherein the first signal is used to control the plurality of interpreters to interpret the test script in a predetermined order. The first buffer created by the first synchronization unit and the first signal realize the cooperative work between the multiple interpreters, and solve the problem that the configuration command is issued by using multiple interpreters simultaneously, and the configuration order of the device is difficult to coordinate. The configuration scheme is complex and the feasibility is poor. In this embodiment, the first test command sent by the interpreter to the device under test may also be forwarded via the terminal window. Preferably, before the communication agent unit receives the first test command, the interpreter sends the first test command to the first test command. a second buffer created by the second synchronization unit, wherein the second buffer is set to share data between the terminal window and the interpreter; the terminal window acquires the first test command through the second buffer, and sends the first test command to Communication agent unit. In this way, the user can monitor the test process of the device under test through the terminal window. In the above embodiment, the interpreter can be directly connected to the communication agent unit to directly send the test command to the communication agent unit for processing; on the other hand, in order to realize the combination of the manual test and the automatic test, the user can automatically test the test. The process intervenes to perform collaborative processing between the interpreter and the terminal window. Preferably, before the communication agent unit receives the first test command, the terminal window sends the test script and/or the control command input by the user to the second buffer created by the second synchronization unit, where the second buffer is set as the terminal window. Data sharing with the interpreter; the interpreter obtains user-entered test scripts and/or control instructions through the second buffer, interprets the user-entered test script, and/or interprets the test script according to the control instructions . The present embodiment further provides a test command sending device, which is used to implement the above test command sending method. The function implementation in the device embodiment has been described in detail in the foregoing method embodiment, and will not be described here. Narration. 2 is a schematic structural diagram of a test command sending apparatus according to an embodiment of the present invention. As shown in FIG. 2, the apparatus includes: a receiving module 22 and a sending module 24, wherein the receiving module 22 is configured to receive a first test command and/or Or a second test command, wherein the first test command is obtained by the interpreter interpreting the test script, and the second test command is input by the user through the terminal window; the sending module 24 is coupled to the receiving module 22, and the communication module unit is set as The first test command and/or the second test command are sent to the device under test. The modules and units involved in the embodiments of the present invention may be implemented by software, or may be implemented by hardware. The described modules and units in this embodiment may also be disposed in a processor. For example, it may be described as follows: A processor includes a receiving module 22 and a transmitting module 24. The names of these modules do not constitute a limitation on the module itself under certain circumstances. For example, the setup module may also be described as "a module set to receive the first test command and/or the second test command." The present embodiment further provides a test command sending system, which is used to implement the above test command sending method. The function implementation in the system embodiment may be described in conjunction with the foregoing method embodiments, and details are not described herein again. 3 is a schematic structural diagram of a test command sending system according to an embodiment of the present invention. As shown in FIG. 3, the system includes: an interpreter 32, a terminal window 34, and a communication proxy unit 36, wherein: the interpreter 32 is coupled to the communication agent unit. 36, configured to interpret the test script as a first test command, and send the first test command to the communication agent unit 36; the terminal window 34 is coupled to the communication agent unit 36, configured to receive a second test command input by the user, and The second test command is sent to the communication agent unit 36; the communication agent unit 36 is arranged to send the first test command and/or the second test command to the device under test 38. Preferably, the communication proxy unit 36 is further configured to receive a response message of the device under test 38 in response to the first test command and/or a response message of the second test command, and send a response message of the first test command to the interpreter 32. Sending a response message of the second test command to the terminal window 34. FIG. 4 is a first schematic diagram of a preferred structure of a test command sending system according to an embodiment of the present invention. As shown in FIG. 4, preferably, in a case where the system includes multiple interpreters 32, the system further includes: a first synchronization unit 42. Coupled to a plurality of interpreters 32, respectively arranged to transmit a first signal to the plurality of interpreters 32, and to create a first buffer, wherein the first signal is used to control the plurality of interpreters 32 to interpret the test script in a predetermined order, first The buffer is set to share data between multiple interpreters 32. FIG. 5 is a schematic diagram of a preferred structure of a test command sending system according to an embodiment of the present invention. As shown in FIG. 5, preferably, the system further includes: a second synchronization unit 52 coupled to one or more interpreters 32 and one, respectively. Or a plurality of terminal windows 34, arranged to forward the second signal of the terminal window 34 to the interpreter 32, and/or to forward the third signal of the interpreter 32 to the terminal window 34, and create a second buffer, wherein The signal is used to control the interpreter 32 to interpret the test script, the third signal is used to indicate the operational data of the interpreter 32, and the second buffer is set to share data between the terminal window 34 and the interpreter 32. It should be noted that the first synchronization unit 42 and the second synchronization unit 52 described above may be separately provided or may be combined into the same synchronization unit. Preferably, the operational data comprises: a first test command, wherein the terminal window 34 is further arranged to send the first test command to the communication agent unit 36. Description and description are made below in conjunction with the preferred embodiments. The preferred embodiment relates to the field of testing, in particular, device testing based on the terminal mode. In the preferred embodiment, a terminal-based testing method and system are provided, which can simultaneously meet the requirements of terminal testing and automated testing; Both require an integrated, collaborative test system for the user. 6 is a schematic structural diagram of a test system according to a preferred embodiment of the present invention. As shown in FIG. 6, the test system provided in the preferred embodiment includes the following modules: a terminal communication proxy module (corresponding to the above communication proxy unit), and the functions include : Provides communication functions to network devices for terminal windows or interpreters, including access to network devices, ie access point management (create, log in, release), transfer commands to network devices; access points to devices under test Mapping table management; security control of access rights, operation log; application programming interface (Application Programming Interface, API for short) Interface), terminal window API interface, script interpreter extension interface; communication module, such as telnet communication, serial communication, etc. Terminal management module, functions include: terminal window creation, destruction, terminal window queue; request terminal communication agent to create an access point, and manage terminal window to access point mapping table; provide shared buffer for multi-terminal window, complete terminal Collaborative function of the window; receiving the command to synchronize the controller, completing the synchronization between the terminal window and the interpreter; the interpreter management module, responsible for creating, destroying, and obtaining the script script of the script interpreter (ie, the interpreter) and delivering the script to the explanation Executing; requesting the terminal communication agent to create an access point, and managing the interpreter-to-access point mapping table; receiving the command to synchronize the controller, completing the synchronization between the interpreter and the terminal window; synchronizing the controller module (equivalent to the above The function of a synchronization unit and the second synchronization unit) is responsible for the synchronous management of the interpreter, the synchronization of the parallel operation of the multiple interpreters, the synchronization of the commands to the terminal window, the synchronization function of the commands to the network device, and the synchronization of the objects ( Such as a terminal window or an interpreter) to create a synchronization signal, sharing slow Region, scheduling queue (such as network device delivers a command sequence to a); synchronized interpreter sleeping and wake-up control. FIG. 7 is a schematic diagram of a preferred structure of a test system according to a preferred embodiment of the present invention. As shown in FIG. 7, preferably, the number of script interpreters and terminal windows in the test system may be multiple, and respectively communicate with the terminal communication agent. Connections, multiple script interpreters and multiple terminal windows are connected via a synchronous controller. Based on the foregoing system, FIG. 8 is a schematic flowchart of a testing method according to a preferred embodiment of the present invention. As shown in FIG. 8, the testing method provided in the preferred embodiment includes the following steps: Step 1: Initiating a terminal communication proxy, initializing access Point management module, mapping of access point to network device, initializing access authority control; Step 2: The terminal management module creates a terminal window, sends the target network device parameter to the terminal communication agent, requests the terminal communication agent to create an access point, and Perform terminal-to-access point mapping; create a multi-terminal window shared buffer; Step 3. Enter a control command in the terminal window and send it to the target device through the access point of the terminal communication agent; the device received by the access point returns and sends Go to the terminal window and complete the interaction between the terminal window and the network device. Step 4: The interpreter management module creates an interpreter, obtains the script library script and sends it to the interpreter to execute; requests the terminal communication agent to create an access point, and manages the interpretation. Device to access point mapping; create interpreter to terminal window Mapping; Step 5: Explain the script running, send the control command through the access point to the target device; receive the device's return and print to the log window; if the interpreter is mapped to the terminal window, the script runs the send control command to the mapping terminal window, and then the terminal The window sends a control command to the device; Step 6. If a multiple interpreter is created and the script is run concurrently, the peer controller creates a synchronization control signal, and controls the multiple interpreters to execute in sequence; creating a shared buffer so that the synchronized interpreter can Interactive data; Step 7. If the interpreter and the terminal window are synchronously controlled, the synchronization controller creates a synchronization control signal, controls the operation of the interpreter and the terminal window; creates a shared buffer, and the terminal window can obtain an explanation during the operation of the automation script. The data can be run, the control data can be generated to the interpreter, and the control script runs. Step 8. The script runs, the interpreter management module destroys the interpreter, releases the synchronization control signal and the shared buffer, and requests the terminal communication agent to release the corresponding access point. Release mapping table; a terminal window is closed, a terminal management module to release the window synchronization control information and a shared buffer, the terminal communication agent request to release the access points, the mapping table is released. It can be seen that the above steps include the following parts: Terminal communication agent: Start terminal communication agent, initialize access point management module, map of access point to network device, initialize access authority control; terminal communication window: terminal management module creates terminal Window, sending the target network device parameter to the terminal communication agent, requesting the terminal communication agent to create an access point, and mapping the terminal window to the access point; creating a multi-terminal window shared buffer; terminal interaction operation: inputting control in the terminal window The command is sent to the target device through the access point of the terminal communication agent; the device received by the access point returns and then sent to the terminal window to complete the interaction between the terminal window and the network device; Creating an interpreter: The interpreter management module creates an interpreter , obtain the script library script and send it to the interpreter to execute; request the terminal communication agent to create an access point, and manage the mapping of the interpreter to the access point; create an interpreter to the terminal window mapping; terminal script run: explain the script run, Send control commands through the access point To the target device; the receiving device returns and prints to the log window; if the interpreter is mapped to the terminal window, the script runs a send control command to the mapping terminal window, and then the terminal window sends a control command to the device; Multi-interpreter synchronization control: If multiple interpreters are created to run scripts concurrently, the synchronization controller creates synchronization control signals, controlling multiple interpreters to execute sequentially; creating shared buffers so that data can be exchanged between synchronized interpreters; Synchronization control with the terminal window: The synchronization controller creates a synchronization control signal, controls the operation of the interpreter and the input of the terminal window; creates a shared buffer, and during the operation of the automation script, the terminal window can obtain the data of the interpreter operation, and the control data can also be generated. The interpreter, the control script runs; the related resource is destroyed: the script runs, the interpreter management module destroys the interpreter, releases the synchronization control signal and the shared buffer, requests the terminal communication agent to release the corresponding access point, and releases the mapping table; the terminal window is closed, The terminal window management module releases the synchronization control information and the shared buffer, requests the terminal communication agent to release the access point, and releases the mapping table. It can be seen from the above description that the foregoing method, device and system provided by the embodiments of the present invention release the terminal window from the communication control with the device, and provide the terminal communication agent, which enhances the scalability; Control, solve the conflict between manual configuration and script configuration; concurrent interpreter execution, prompting the efficiency of multiple devices to deliver configuration commands synchronously; through synchronization control, between the manual test and the automated test, through the synchronization signal, the shared buffer, Provide users with an integrated, efficient test platform device. Industrial Applicability According to the embodiment of the present invention, the first test command and/or the second test command are received by the communication proxy unit, where the first test command is obtained by interpreting the test script by the interpreter, and the second test command is passed by the user. Entered by the terminal window; the communication agent unit sends the first test command and/or the second test command to the device under test, and solves the problem that the system sends the test command to the device under test by the terminal window, resulting in poor system scalability. , improved the scalability of the test system. Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general-purpose computing device, which can be concentrated on a single computing device or distributed over a network composed of multiple computing devices. Alternatively, they may be implemented by program code executable by the computing device, such that they may be stored in the storage device by the computing device, or they may be separately fabricated into individual integrated circuit modules, or they may be Multiple modules or steps are made into a single integrated circuit module. Thus, the invention is not limited to any specific combination of hardware and software. The above is only the preferred embodiment of the present invention, and is not intended to limit the present invention, and various modifications and changes can be made to the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the present invention are intended to be included within the scope of the present invention.

Claims

权 利 要 求 书 Claim
1. 一种测试命令发送方法, 包括: 通信代理单元接收第一测试命令和 /或第二测试命令, 其中, 所述第一测试 命令是解释器对测试脚本进行解释得到的, 所述第二测试命令是用户通过终端 窗口输入的; A method for transmitting a test command, comprising: a communication agent unit receiving a first test command and/or a second test command, wherein the first test command is obtained by an interpreter interpreting the test script, the second The test command is entered by the user through the terminal window;
所述通信代理单元将所述第一测试命令和 /或所述第二测试命令发送给被 测设备。  The communication agent unit transmits the first test command and/or the second test command to the device under test.
2. 根据权利要求 1所述的方法, 其中, 在所述通信代理单元将所述第一测试命令 和 /或第二测试命令发送给所述被测设备之后, 所述方法还包括: 所述通信代理单元接收所述被测设备响应于所述第一测试命令的响应消息 和 /或第二测试命令的响应消息; 所述通信代理单元将所述第一测试命令的响应消息发送给所述解释器, 并 将所述第二测试命令的响应消息发送给所述终端窗口。 2. The method according to claim 1, wherein, after the communication agent unit sends the first test command and/or the second test command to the device under test, the method further includes: Receiving, by the communication proxy unit, a response message of the device under test in response to the first test command and/or a response message of a second test command; the communication proxy unit transmitting a response message of the first test command to the An interpreter, and transmitting a response message of the second test command to the terminal window.
3. 根据权利要求 1或 2所述的方法,其中,在所述系统包括多个解释器的情况下, 所述多个解释器对所述测试脚本进行解释包括: 所述多个解释器通过第一同步单元创建的第一缓冲区,获取所述测试脚本, 其中, 所述第一缓冲区设置为所述多个解释器之间的数据共享; 3. The method according to claim 1 or 2, wherein, in the case that the system comprises a plurality of interpreters, the interpreting the test script by the plurality of interpreters comprises: the plurality of interpreters passing The first buffer created by the first synchronization unit acquires the test script, where the first buffer is set to share data between the multiple interpreters;
所述多个解释器根据所述第一同步单元发送的第一信号, 对所述测试脚本 进行解释, 其中, 所述第一信号用于控制所述多个解释器按照预定次序解释所 述测试脚本。  The plurality of interpreters interpreting the test script according to a first signal sent by the first synchronization unit, wherein the first signal is used to control the plurality of interpreters to interpret the test in a predetermined order script.
4. 根据权利要求 3所述的方法, 其中, 在所述通信代理单元接收所述第一测试命 令之前, 所述方法还包括: 所述解释器将所述第一测试命令发送到第二同步单元创建的第二缓冲区, 其中, 所述第二缓冲区用于所述终端窗口与所述解释器之间的数据共享; 4. The method according to claim 3, wherein, before the communication agent unit receives the first test command, the method further comprises: the interpreter transmitting the first test command to a second synchronization a second buffer created by the unit, wherein the second buffer is used for data sharing between the terminal window and the interpreter;
所述终端窗口通过所述第二缓冲区获取所述第一测试命令, 并将所述第一 The terminal window acquires the first test command by using the second buffer, and the first
5. 根据权利要求 3所述的方法, 其中, 在所述通信代理单元接收所述第一测试命 令之前, 所述方法还包括: 所述终端窗口将用户输入的测试脚本和 /或控制指令发送到第二同步单元 创建的第二缓冲区, 其中, 所述第二缓冲区设置为所述终端窗口与所述解释器 之间的数据共享; 所述解释器通过所述第二缓冲区获取用户输入的测试脚本和 /或所述控制 指令, 并对用户输入的测试脚本进行解释, 和 /或, 根据所述控制指令对所述测 试脚本进行解释。 5. The method according to claim 3, wherein, before the communication proxy unit receives the first test command, the method further comprises: sending, by the terminal window, a test script and/or a control command input by a user a second buffer created by the second synchronization unit, wherein the second buffer is set to share data between the terminal window and the interpreter; the interpreter acquires a user by using the second buffer The input test script and/or the control command interpret the test script input by the user, and/or interpret the test script according to the control command.
6. 一种测试命令发送装置, 包括: 接收模块, 设置为接收第一测试命令和 /或第二测试命令, 其中, 所述第一 测试命令是解释器对测试脚本进行解释得到的, 所述第二测试命令是用户通过 终端窗口输入的; A test command sending device, comprising: a receiving module, configured to receive a first test command and/or a second test command, wherein the first test command is obtained by an interpreter interpreting the test script, The second test command is input by the user through the terminal window;
发送模块,设置为所述通信代理单元将所述第一测试命令和 /或所述第二测 试命令发送给被测设备。  And a sending module, configured to send, by the communication proxy unit, the first test command and/or the second test command to the device under test.
7. 一种测试命令发送系统, 包括: 解释器、 终端窗口和通信代理单元, 其中: 所述解释器, 设置为将测试脚本解释为第一测试命令, 并将所述第一测试 命令发送给所述通信代理单元; 所述终端窗口, 设置为接收用户输入的第二测试命令, 并将所述第二测试 命令发送给所述通信代理单元; 所述通信代理单元,设置为将所述第一测试命令和 /或所述第二测试命令发 送给所述被测设备。 A test command transmitting system, comprising: an interpreter, a terminal window, and a communication agent unit, wherein: the interpreter is configured to interpret the test script as a first test command, and send the first test command to The communication proxy unit is configured to receive a second test command input by the user, and send the second test command to the communication proxy unit; the communication proxy unit is configured to set the first A test command and/or the second test command is sent to the device under test.
8. 根据权利要求 7所述的系统, 其中, 所述通信代理单元, 还设置为接收所述被 测设备响应于所述第一测试命令的响应消息和 /或第二测试命令的响应消息,并 将所述第一测试命令的响应消息发送给所述解释器, 将所述第二测试命令的响 应消息发送给所述终端窗口。 The system according to claim 7, wherein the communication proxy unit is further configured to receive a response message of the device under test in response to the first test command and/or a response message of a second test command, And sending a response message of the first test command to the interpreter, and sending a response message of the second test command to the terminal window.
9. 根据权利要求 7或 8所述的系统,其中,在所述系统包括多个解释器的情况下, 所述系统还包括: 第一同步单元, 设置为向所述多个解释器发送第一信号, 并创建第一缓冲 区, 其中, 所述第一信号设置为控制所述多个解释器按照预定次序解释所述测 试脚本, 所述第一缓冲区设置为所述多个解释器之间的数据共享。 9. The system of claim 7 or 8, wherein, in the case where the system comprises a plurality of interpreters, the system further comprises: a first synchronization unit configured to send a first signal to the plurality of interpreters and create a first buffer, wherein the first signal is configured to control the plurality of interpreters to interpret the test script in a predetermined order The first buffer is set to share data between the plurality of interpreters.
10. 根据权利要求 9所述的系统, 其中, 所述系统还包括: 第二同步单元, 设置为向所述解释器转发所述终端窗口的第二信号, 和 / 或, 向所述终端窗口转发所述解释器的第三信号, 并创建第二缓冲区, 其中, 所述第二信号用于控制所述解释器解释所述测试脚本, 所述第三信号用于指示 所述解释器的运行数据, 所述第二缓冲区设置为所述终端窗口与所述解释器之 间的数据共享。 10. The system according to claim 9, wherein the system further comprises: a second synchronization unit configured to forward the second signal of the terminal window to the interpreter, and/or to the terminal window Forwarding a third signal of the interpreter and creating a second buffer, wherein the second signal is used to control the interpreter to interpret the test script, and the third signal is used to indicate the interpreter Running data, the second buffer is set to share data between the terminal window and the interpreter.
11. 根据权利要求 10所述的系统, 其中, 所述运行数据包括: 所述第一测试命令, 其中, 所述终端窗口还设置为将所述第一测试命令发送给所述通信代理单元。 The system according to claim 10, wherein the operation data comprises: the first test command, wherein the terminal window is further configured to send the first test command to the communication proxy unit.
PCT/CN2014/080141 2013-11-11 2014-06-17 Method, device, and system for transmitting test command WO2015067052A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201310556707.6A CN104639384B (en) 2013-11-11 2013-11-11 Test command sending method, apparatus and system
CN201310556707.6 2013-11-11

Publications (1)

Publication Number Publication Date
WO2015067052A1 true WO2015067052A1 (en) 2015-05-14

Family

ID=53040857

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2014/080141 WO2015067052A1 (en) 2013-11-11 2014-06-17 Method, device, and system for transmitting test command

Country Status (2)

Country Link
CN (1) CN104639384B (en)
WO (1) WO2015067052A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106707771A (en) * 2015-11-12 2017-05-24 丰唐物联技术(深圳)有限公司 Test method and system for intelligent appliance
JP7300757B2 (en) * 2020-08-26 2023-06-30 イメージ エーアイ プライベート リミテッド A Proxy Interpreter System for Controlling Legacy Machines and Its Training Method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101000574A (en) * 2007-01-24 2007-07-18 中兴通讯股份有限公司 Information input method and device for computer terminal window
CN100370432C (en) * 2004-08-18 2008-02-20 华为技术有限公司 Automated testing apparatus and method for embedded software
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method
CN101266570A (en) * 2007-03-15 2008-09-17 中兴通讯股份有限公司 Software system test method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2274874B1 (en) * 2008-05-05 2013-07-03 Siemens Aktiengesellschaft Examination of a communication connection between field devices
CN102468993B (en) * 2010-11-17 2014-04-16 大唐移动通信设备有限公司 Terminal test equipment and method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100370432C (en) * 2004-08-18 2008-02-20 华为技术有限公司 Automated testing apparatus and method for embedded software
CN101000574A (en) * 2007-01-24 2007-07-18 中兴通讯股份有限公司 Information input method and device for computer terminal window
CN101266570A (en) * 2007-03-15 2008-09-17 中兴通讯股份有限公司 Software system test method and apparatus
CN101252471A (en) * 2008-03-20 2008-08-27 中兴通讯股份有限公司 Distributed automatization test system and method

Also Published As

Publication number Publication date
CN104639384A (en) 2015-05-20
CN104639384B (en) 2019-03-15

Similar Documents

Publication Publication Date Title
US11075821B2 (en) Method and apparatus for managing field device based on cloud server
US10698717B2 (en) Accelerator virtualization method and apparatus, and centralized resource manager
US10353728B2 (en) Method, system and device for managing virtual machine software in cloud environment
CN107493344B (en) Method and system for Web access to Docker container
CN104967585B (en) A kind of method and apparatus of remote debugging mobile terminal
US11700262B2 (en) System and method to securely execute datacenter management operations remotely
KR20130139897A (en) Debugger launch and attach on compute clusters
WO2015192582A1 (en) Virtual desktop login authentication method and apparatus
CN111625496A (en) Method, device and equipment for deploying distributed file system in virtual machine environment
GB2462160A (en) A distributed server system includes a table indicating communication relationships between various service programs
WO2015067036A1 (en) Remote access configuration method, remote access method, apparatus, and system
WO2014169589A1 (en) Intelligent terminal synchronous operation method and device
WO2016169375A1 (en) Proxy framework service system comprising local assembly, and method
WO2018184594A1 (en) Method for remotely controlling device and remote control system
CN106850554B (en) Method and device for dual-system directional connection
WO2015067052A1 (en) Method, device, and system for transmitting test command
CN101631107A (en) Method for configuring Linux kernel based on Web method
CN105472197B (en) Image processing system, method and apparatus
JP7437409B2 (en) Setting device, communication system, setting method, and program
WO2012139329A1 (en) Upgrade method and device based on task template, batch upgrade system
WO2022121492A1 (en) File transmission method and apparatus, computer device, and storage medium
CN115883572A (en) Peripheral sharing method and device
KR20170052262A (en) Dynamic commands processing apparatus and method thereof
JP2018501572A (en) Data communication method and apparatus
EP3370396A1 (en) Methods and devices for testing applications

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 14860763

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 14860763

Country of ref document: EP

Kind code of ref document: A1