[go: up one dir, main page]

CN1609819B - Test method for computer peripheral equipment interface - Google Patents

Test method for computer peripheral equipment interface Download PDF

Info

Publication number
CN1609819B
CN1609819B CN 200310102799 CN200310102799A CN1609819B CN 1609819 B CN1609819 B CN 1609819B CN 200310102799 CN200310102799 CN 200310102799 CN 200310102799 A CN200310102799 A CN 200310102799A CN 1609819 B CN1609819 B CN 1609819B
Authority
CN
China
Prior art keywords
adapter
server
test
testing
port
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.)
Expired - Fee Related
Application number
CN 200310102799
Other languages
Chinese (zh)
Other versions
CN1609819A (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.)
Zouzhou Ruoqing Ginkgo Seedling Planting Specialized Cooperative
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CN 200310102799 priority Critical patent/CN1609819B/en
Publication of CN1609819A publication Critical patent/CN1609819A/en
Application granted granted Critical
Publication of CN1609819B publication Critical patent/CN1609819B/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

A method for testing 1394 device includes confirming that 1394 adapter drivers of multiple devices to be tested are installed successfully, connecting the devices to be tested with test server through 1394 cable, distributing address for adapter, starting multiple TCP/IP services on server, setting up port and maximum connection number, setting up 1394 connection between test server and devices to be tested through address and port, and finally carrying out transmission test of adapter on network.

Description

一种计算机外围设备接口的测试方法A test method for computer peripheral equipment interface

技术领域technical field

本发明涉及一种计算机外围设备接口的测试方法,特别是一种测试1394设备的方法。The invention relates to a method for testing computer peripheral equipment interfaces, in particular to a method for testing 1394 equipment.

背景技术Background technique

随着计算机外围设备接口的不断创新和发展,外围设备与计算机之间传输数据在容量和时间上的要求不断提高,一种新的外围设备接口1394应运而生。1394是Apple公司在1995年才被IEEE协会定为IEEE-1394标准。IEEE为计算机设备及家用电器产品之间提供了一个新的共同接口,其具有传输速率很高,即插即用的特点。对于现有的各种多媒体图像文件,语音等数据的大容量传输非常适合。而且在1394环境及计算机中安装1394设备时,不需要关机,在插入设备后也不需重新启动机器,可立即被计算机识别并使用。另外,IEEE1394具有点对点的传输模式,同时还具备高速与及时的特点。With the continuous innovation and development of computer peripheral equipment interfaces, the capacity and time requirements for data transmission between peripheral equipment and computers continue to increase, and a new peripheral equipment interface 1394 has emerged as the times require. 1394 was established by Apple as the IEEE-1394 standard in 1995 by the IEEE Association. IEEE provides a new common interface between computer equipment and household electrical appliances, which has the characteristics of high transmission rate and plug-and-play. It is very suitable for large-capacity transmission of various existing multimedia image files, voice and other data. Moreover, when installing 1394 equipment in a 1394 environment and a computer, there is no need to shut down the machine, and there is no need to restart the machine after inserting the equipment, and it can be recognized and used by the computer immediately. In addition, IEEE1394 has a point-to-point transmission mode, and also has the characteristics of high speed and timeliness.

由于其优异的性能,在现有许多的台式计算机和笔记本计算机都配备了1394接口。众所周知,计算机生产厂商在产品出货时需要对计算机进行整体检测,其中就包括了测试1394适配器是否工作正常。依照1394标准设计的理念,测试时至少需要一个带有1394接口的设备(比如数字相机等等)与测试机器相连,再进行数据(声音文件,影像文件)的传输。Due to its excellent performance, many existing desktop computers and notebook computers are equipped with 1394 interfaces. As we all know, computer manufacturers need to conduct an overall test on the computer when the product is shipped, which includes testing whether the 1394 adapter is working properly. According to the concept of the 1394 standard design, at least one device with a 1394 interface (such as a digital camera, etc.) needs to be connected to the test machine for testing, and then data (sound files, video files) are transmitted.

然而,在计算机生产厂商的测试中,不可能完全依照1394接口的设计理念,用一个包含1394接口的具体设备,如数字相机,对计算机的1394适配器的优劣进行测试,这样做不仅会增加测试成本,其测试效率更加得不到保证,不适合在大规模的生产中应用。However, in the test of the computer manufacturer, it is impossible to completely follow the design concept of the 1394 interface, and use a specific device including a 1394 interface, such as a digital camera, to test the pros and cons of the 1394 adapter of the computer. Cost, and its test efficiency cannot be guaranteed, so it is not suitable for large-scale production.

此时,就需要一种能简单高效的测试1394设备的方法来解决上述问题。At this time, a simple and efficient method for testing 1394 devices is needed to solve the above problems.

发明内容Contents of the invention

有鉴于此,本发明为解决上述问题而提出了一种测试1394设备的方法,其目的在于通过建立一个测试服务器与包含1394适配器的待测设备组成1394网络,在该网络上传输文件或数据,模拟了计算机的1394适配器与外围设备的1394接口之间的数据传输,从而完成对1394适配器的测试。In view of this, the present invention proposes a kind of method of testing 1394 equipment in order to solve the above problem, and its purpose is to form 1394 network by setting up a test server and the equipment under test that comprises 1394 adapter, transmit file or data on this network, The data transmission between the 1394 adapter of the computer and the 1394 interface of the peripheral equipment is simulated, so as to complete the test of the 1394 adapter.

本发明提出了一种测试1394设备的方法,该方法包括如下步骤,首先确定多个待测设备的1394适配器驱动程序安装成功,然后通过1394线缆连接待测设备与测试服务器,为该适配器分配地址,在该服务器启动多个TCP/IP服务,设定端口及端口最大连接数,通过该地址及端口建立该测试服务器及待测设备之间的1394网络连接,其中该1394网络连接的步骤还包括如下步骤:该待测设备获取服务器为其适配器分配的端口号;根据该端口号创建套接字,并绑定该适配器的地址;通过该套接字向服务器发送连接请求;该服务器确定收到该适配器所发出的连接请求;和建立该服务器与待测设备适配器之间的1394网络连接,最后通过该网络连接进行该适配器的传输测试,其中该传输测试的步骤还包括如下步骤:服务器读取该待测设备传送测试数据;将该数据回传给该适配器;和该适配器对返回的该数据进行校验。The present invention proposes a method for testing 1394 equipment. The method includes the following steps. First, it is determined that the 1394 adapter drivers of a plurality of equipment to be tested are installed successfully, and then the equipment to be tested is connected to the test server through a 1394 cable, and the adapter is allocated address, start a plurality of TCP/IP services at the server, set the port and the maximum number of connections on the port, and establish 1394 network connections between the test server and the device under test through the address and port, wherein the 1394 network connection steps also include: The method comprises the following steps: the device under test obtains the port number assigned by the server to its adapter; creates a socket according to the port number and binds the address of the adapter; sends a connection request to the server through the socket; to the connection request sent by the adapter; and establish a 1394 network connection between the server and the device under test adapter, and finally carry out the transmission test of the adapter through the network connection, wherein the steps of the transmission test also include the following steps: the server reads The device under test is taken to transmit test data; the data is sent back to the adapter; and the adapter checks the returned data.

与现有的方法相比,本发明提供的1394适配器的测试方法,不需要提供额外的硬件就能完成测试,而且测试过程中人为操作的部分很少,从而避免了现有测试技术中不利于大规模的测试,成本较高以及效率低的缺点,提高了测试的效率和准确性,降低了测试成本,为大规模的测试提供了有效保证。Compared with the existing method, the test method of the 1394 adapter provided by the present invention can complete the test without providing additional hardware, and there are few human-operated parts in the test process, thereby avoiding the disadvantages of the existing test technology. Large-scale testing has the shortcomings of high cost and low efficiency, which improves the efficiency and accuracy of testing, reduces testing costs, and provides an effective guarantee for large-scale testing.

有关本发明的详细内容及方法,现配合附图说明如下。The detailed content and method of the present invention are described as follows in conjunction with the accompanying drawings.

附图说明Description of drawings

图1是本发明的测试1394设备的方法的总体流程图;Fig. 1 is the overall flowchart of the method for testing 1394 equipment of the present invention;

图2是本发明所提出的建立该测试服务器及待测设备之间的1394网络连接的流程图;及Fig. 2 is the flow chart of establishing the 1394 network connection between the test server and the device under test proposed by the present invention; and

图3是本发明所提出的通过该网络连接进行该适配器的传输测试的流程图。FIG. 3 is a flow chart of the transmission test of the adapter through the network connection proposed by the present invention.

具体实施方式Detailed ways

下面结合附图对本发明进行详细说明:The present invention is described in detail below in conjunction with accompanying drawing:

如图1所示,该图是本发明的测试1394设备的方法的总体流程图,说明如下:As shown in Figure 1, this figure is the overall flow chart of the method for testing 1394 equipment of the present invention, described as follows:

首先确定多个待测设备的1394适配器驱动程序安装成功(步骤110);然后通过1394线缆连接待测设备与测试服务器(步骤120);为该适配器分配地址(步骤130);在该服务器启动多个TCP/IP服务,设定端口及端口最大连接数(步骤140);通过该地址及端口建立该测试服务器及待测设备之间的1394网络连接(步骤150);最后通过该网络连接进行该适配器的传输测试(步骤160)。First determine that the 1394 adapter drivers of a plurality of devices under test are successfully installed (step 110); then connect the device under test and the test server (step 120) by 1394 cables; assign addresses for this adapter (step 130); A plurality of TCP/IP services, setting port and port maximum number of connections (step 140); Set up 1394 network connections (step 150) between this test server and the device under test by this address and port; Finally carry out by this network connection Transmission test of the adapter (step 160).

其中,该地址可以是待测客户端的1394适配器虚拟的MAC地址,或者是待测客户端的1394适配器虚拟的MAC地址及为其分配的IP地址。根据具体的测试情况来决定。Wherein, the address may be the virtual MAC address of the 1394 adapter of the client to be tested, or the virtual MAC address of the 1394 adapter of the client to be tested and its assigned IP address. According to the specific test situation to decide.

在该服务器启动多个TCP/IP服务,每个服务需要占用一个特定的端口,所以该端口与启动的多个该TCP/IP服务一一对应。Multiple TCP/IP services are started on the server, and each service needs to occupy a specific port, so the port is in one-to-one correspondence with the multiple started TCP/IP services.

请参见图2,该图是本发明所提出的建立该测试服务器及待测设备之间的1394网络连接的流程图,说明如下:Please refer to Fig. 2, this figure is the flow chart that the present invention proposes to set up the 1394 network connection between this test server and the device under test, and description is as follows:

首先该待测设备获取服务器为其适配器分配的端口号(步骤210);然后根据该端口号创建套接字(Socket),并绑定该适配器的地址(步骤220);通过该套接字(Socket)向服务器发送连接请求(步骤230);该服务器确定收到该适配器所发出的连接请求(步骤240);最后建立该服务器与待测设备适配器之间的1394网络连接(步骤250)。First this equipment under test obtains the port number (step 210) that server distributes for its adapter; Then according to this port number, create socket (Socket), and bind the address (step 220) of this adapter; Through this socket ( Socket) sends a connection request to the server (step 230); the server determines to receive the connection request sent by the adapter (step 240); finally establishes a 1394 network connection between the server and the device under test adapter (step 250).

其中,该服务器为待测设备的适配器分配的端口号是1394适配器之间的I/O传输信道。Wherein, the port number assigned by the server to the adapter of the device under test is an I/O transmission channel between 1394 adapters.

该服务器上开启了多个端口,每个端口代表特定的服务,分别与不同的适配器连接,所以该1394网络连接实际上是服务器的某个端口与待测设备适配器之间的连接。Multiple ports are opened on the server, and each port represents a specific service and is connected to a different adapter, so the 1394 network connection is actually a connection between a certain port of the server and the adapter of the device under test.

该服务器在为待测设备的适配器分配了地址,启动了TCP/IP服务之后,为了能及时收到该适配器所发出的连接请求,将通过循环侦听该服务器所建立的所有端口,以收到来自于待测设备适配器的信息。After the server assigns an address to the adapter of the device under test and starts the TCP/IP service, in order to receive the connection request sent by the adapter in time, it will listen to all the ports established by the server in a loop to receive Information from the DUT adapter.

请参见图3来说明,该图是本发明所提出的通过该网络连接进行该适配器的传输测试的流程图,说明如下:Please refer to Fig. 3 to illustrate, this figure is the flow chart that the present invention proposes to carry out the transmission test of this adapter by this network connection, description is as follows:

首先服务器读取该待测设备传送测试数据(步骤310);然后将该数据回传给该适配器(步骤320);最后该适配器对返回的该数据进行校验(步骤330)。First, the server reads the test data from the device under test (step 310); then sends the data back to the adapter (step 320); finally, the adapter checks the returned data (step 330).

其中,服务器读取该待测设备所传送的测试数据是通过服务器对每个端口创建一个管理子程序,并管理相应的端口而完成的,该子程序用于控制传输的数据量及传输速度的,作为衡量1394接口和适配器性能的参数指标。Among them, the server reads the test data transmitted by the device under test by creating a management subroutine for each port on the server and managing the corresponding ports. This subroutine is used to control the amount of data transmitted and the speed of transmission. , as a parameter index to measure the performance of 1394 interfaces and adapters.

在实际测试中,以测试一台包含1394接口的计算机为例,首先需要为该计算机安装1394适配器的驱动程序,然后用IEEE1394线缆将该计算机的1394接口与测试服务器的1394接口进行连接。IEEE1394线缆一般由4或6根线组成(用于数据传输的两对双绞线和用来向外部设备供电的一对电源线)。这时该服务及计算机的1394适配器将会被虚拟为网络设备,并且为虚拟出的每个1394适配器分配MAC地址。再为两个1394适配器(Adapter)分配IP地址,建立网络连接,这样就在测试计算机与测试服务器之间建立一个1394网络。In the actual test, take testing a computer with 1394 interface as an example, you first need to install the driver of the 1394 adapter for the computer, and then use the IEEE1394 cable to connect the 1394 interface of the computer to the 1394 interface of the test server. IEEE1394 cables generally consist of 4 or 6 wires (two pairs of twisted-pair wires for data transmission and a pair of power wires for powering external devices). At this time, the 1394 adapter of the service and the computer will be virtualized as a network device, and a MAC address will be assigned to each virtualized 1394 adapter. Then assign IP addresses to two 1394 adapters (Adapter), and establish a network connection, so that a 1394 network is established between the test computer and the test server.

服务器与1394连接的过程,以及IP地址分配由1394 ARP(AddressResolution Protocol,地址转换协议,地址解析协议)以及MCAP(MulticastChannel Allocation Protocol,多点传送信道分配协议)来完成,利用IP进行数据包的传输。减少对1394物理层,链路层的协议以及体系准则的依赖。The process of connecting the server to 1394, and IP address assignment is completed by 1394 ARP (Address Resolution Protocol, Address Translation Protocol, Address Resolution Protocol) and MCAP (MulticastChannel Allocation Protocol, Multicast Channel Allocation Protocol), using IP for data packet transmission . Reduce the dependence on 1394 physical layer, link layer protocols and system guidelines.

接下来,就可以利用这个1394网络、TCP/IP的服务及WinSock技术,在服务器与待测计算机之间传输数据从而完成对待测计算机的1394适配器的测试。Next, you can use the 1394 network, TCP/IP service and WinSock technology to transmit data between the server and the computer to be tested so as to complete the test of the 1394 adapter of the computer to be tested.

在服务器上启动多个TCP/IP的服务,每个服务对应一个特定的端口,并设置端口的最大连接数。然后待测计算机将通过1394的通用信道获得由服务器分配给它的端口号。获得端口号后,创建套接字(Socket),并绑定分配的IP地址。向服务器发送连接请求。服务器将不断侦听所建立的端口所收到的信息,确定收到待测计算机适配器发送的请求,开始与它进行连接。服务器与待测计算机连接成功后,服务器将为这个连接建立一个用来管理它们之间的数据传输的子程序,然后待测计算机的1394适配器开始向服务器发送测试的数据;服务器读取到该测试数据后,将其发送回待测计算机的1394适配器,该适配器读到从服务器返回的数据后将对其进行校验。Start multiple TCP/IP services on the server, each service corresponds to a specific port, and set the maximum number of connections on the port. Then the computer to be tested will obtain the port number assigned to it by the server through the general channel of 1394. After obtaining the port number, create a socket (Socket) and bind the assigned IP address. Send a connection request to the server. The server will constantly listen to the information received by the established port, confirm that it has received the request sent by the computer adapter to be tested, and start to connect with it. After the server is successfully connected to the computer to be tested, the server will establish a subroutine for the connection to manage the data transmission between them, and then the 1394 adapter of the computer to be tested starts to send test data to the server; the server reads the test After the data is sent back to the 1394 adapter of the computer to be tested, the adapter will verify it after reading the data returned from the server.

至此,完成一次数据传输。这个过程不断重复,就能够达到对待测计算机的1394适配器进行测试的目的。At this point, a data transmission is completed. This process is repeated continuously, and the purpose of testing the 1394 adapter of the computer to be tested can be achieved.

进一步考虑,如果每测试一台机器,就需要重新配置1394网络,这样势必增加了测试时间。1394接口与USB1.1或者2.0接口一样,也是一种总线控制接口,我们可以利用现阶段1394的扩展技术,选定一台机器作为测试服务器,在其上面安装1394HUB或者扩展级联装置,这样测试服务器就可以提供多个1394接口,同时用IEEE 1394线缆连接多个待测计算机同时通讯。因为IEEE1394设备支持热插拔,所以在测试过程的任何时候向IEEE1394网络添加或拆除设备,既不用担心数据的传输,也不需要进行任何重新配置,系统可以根据变化的环境进行自动调节。当多个1394适配器之间建立虚拟网络后,我们可以利用TCP/IP的服务及WinSock这种成熟技术及客户端/服务器(Client/Server)架构来进行数据传输测试。其过程与对一台计算机的1394适配器进行测试是一样的。Further consideration, if each machine is tested, the 1394 network needs to be reconfigured, which will inevitably increase the test time. The 1394 interface is the same as the USB1.1 or 2.0 interface, and it is also a bus control interface. We can use the current 1394 expansion technology to select a machine as a test server, install 1394HUB or expansion cascading devices on it, and test in this way The server can provide multiple 1394 interfaces, and connect multiple computers under test with IEEE 1394 cables for simultaneous communication. Because IEEE1394 devices support hot plugging, adding or removing devices to the IEEE1394 network at any time during the test process, there is no need to worry about data transmission or any reconfiguration, and the system can automatically adjust according to the changing environment. When a virtual network is established between multiple 1394 adapters, we can use TCP/IP services, WinSock, a mature technology, and client/server (Client/Server) architecture for data transmission testing. The process is the same as testing a computer's 1394 adapter.

测试服务器能够管理与其产生连接的被测试的多个1394适配器,记录当前每一个1394适配器的测试状态。每一个1394适配器可以同时向服务器发送数据;服务器能够处理自各个1394适配器的发送来的数据,并且校验数据的有效性。再负责把数据发送回客户(Client)端。在通讯过程中,服务器(server)可以控制传输的数据量以及传输的速度,这些都可以作为衡量1394接口和适配器性能的参数指标。The test server can manage multiple tested 1394 adapters connected to it, and record the current test status of each 1394 adapter. Each 1394 adapter can send data to the server at the same time; the server can process the data sent from each 1394 adapter and check the validity of the data. It is then responsible for sending the data back to the client (Client). During the communication process, the server (server) can control the amount of data transmitted and the speed of transmission, which can be used as parameters to measure the performance of the 1394 interface and adapter.

每一个1394适配器运行统一的测试程序(脚本)。负责配置管理本地1394连接的IP,向服务器发送测试数据(文件),接受发自服务器的测试数据(文件),校验测试数据(文件)等等。Each 1394 adapter runs a unified test program (script). Responsible for configuring and managing the IP of the local 1394 connection, sending test data (files) to the server, receiving test data (files) from the server, verifying test data (files) and so on.

另外,由于1394接口同时支持NETBEUI以及IPX/SPX等常用的网络协议,所以在小型的1394局域网中,可以利用NETBEUI协议具有操作简易,高效快捷的优点也能对1394端口进行测试。因为NETBEUI协议缺乏路由和网络层寻址功能,不需要附加的网络地址和网络层头尾。处于同一1394网络的两台机器,因为同处在一个简单的网络环境,不需要路由控制和网络标识,应用层可以通过它们各自的机器名作为连接的标识,网络层通过NETBEUI协议,利用数据链路层媒体访问控制(MAC)地址进行通讯。其测试过程与利用TCP/IP协议的测试过程相同。In addition, since the 1394 interface supports common network protocols such as NETBEUI and IPX/SPX at the same time, in a small 1394 LAN, the NETBEUI protocol can be used to test the 1394 port due to its advantages of simple operation, high efficiency and quickness. Because the NETBEUI protocol lacks routing and network layer addressing functions, it does not need additional network addresses and network layer headers and tails. Two machines in the same 1394 network, because they are in a simple network environment, do not need routing control and network identification. The application layer can use their respective machine names as the identification of the connection, and the network layer uses the data link through the NETBEUI protocol. Layer layer Media Access Control (MAC) address for communication. Its test process is the same as that using the TCP/IP protocol.

上面提到的实例是利用C/S架构进行数据传输设置的例子,同时也可以利用该架构进行传输文件的测试。因为1394的通讯速度,性能强于以太网卡,而且不受局域网内其它连接占用资源的影响,提高测试效率。The example mentioned above is an example of using the C/S architecture for data transmission settings, and this architecture can also be used for the test of transferring files. Because of the communication speed of 1394, the performance is stronger than that of the Ethernet card, and it is not affected by the resources occupied by other connections in the LAN, which improves the test efficiency.

服务器测试时为各个1394适配器分配了若干共享文档夹。在各个安装1394适配器的被测机器上,将适配器端的某个共享文档夹作为它的网络映像驱动器。每个客户端(待测机器)通过已建立的1394连接,向其映像在服务端的共享区域进行文件系统操作,包括只读测试(Read Test操作),写测试(Write Test操作)及读写测试(Read/Write Test操作)。Several shared folders were assigned to each 1394 adapter during the server test. On each tested machine where the 1394 adapter is installed, use a shared file folder on the adapter side as its network image drive. Each client (machine to be tested) performs file system operations on the shared area of the server through the established 1394 connection, including read-only test (Read Test operation), write test (Write Test operation) and read-write test (Read/Write Test operation).

以上所述,仅为本发明的较佳实施例而已,并非用来限定本发明的实施范围;所有依本说明书和权利要求书所作的均等变化与修饰,均为本发明专利范围所涵盖。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the implementation scope of the present invention; all equivalent changes and modifications made in accordance with the specification and claims are covered by the patent scope of the present invention.

Claims (8)

1.一种测试1394设备的方法,其特征在于,该方法包括如下步骤:1. a method for testing 1394 equipment, is characterized in that, the method comprises the steps: 确定多个待测设备的1394适配器驱动程序安装成功;Determine that the 1394 adapter drivers of multiple devices under test are installed successfully; 通过1394线缆连接待测设备与测试服务器;Connect the device under test and the test server through a 1394 cable; 为该适配器分配地址;Assign an address to the adapter; 在该服务器启动多个TCP/IP服务,设定端口及端口最大连接数;Start multiple TCP/IP services on the server, set the port and the maximum number of connections on the port; 通过该地址及端口建立该测试服务器及待测设备之间的1394网络连接,其中该1394网络连接的步骤还包括如下步骤:Establish the 1394 network connection between the test server and the device under test through the address and the port, wherein the step of the 1394 network connection also includes the following steps: 该待测设备获取服务器为其适配器分配的端口号;The device under test obtains the port number assigned by the server to its adapter; 根据该端口号创建套接字,并绑定该适配器的地址;Create a socket based on the port number and bind the adapter's address; 通过该套接字向服务器发送连接请求;Send a connection request to the server through this socket; 该服务器确定收到该适配器所发出的连接请求;和the server confirms receipt of the connection request from the adapter; and 建立该服务器与待测设备适配器之间的1394网络连接;及Establish a 1394 network connection between the server and the DUT adapter; and 通过该网络连接进行该适配器的传输测试,其中该传输测试的步骤还包括如下步骤:The transmission test of the adapter is carried out through the network connection, wherein the step of the transmission test also includes the following steps: 服务器读取该待测设备传送测试数据;The server reads the test data transmitted by the device under test; 将该数据回传给该适配器;和pass the data back to the adapter; and 该适配器对返回的该数据进行校验。The adapter checks the returned data. 2.如权利要求1所述的测试1394设备的方法,其特征在于,该地址为待测客户端的1394适配器虚拟的MAC地址。2. The method for testing a 1394 device according to claim 1, wherein the address is a virtual MAC address of the 1394 adapter of the client to be tested. 3.如权利要求1所述的测试1394设备的方法,其特征在于,该地址为待测客户端的1394适配器虚拟的MAC地址以及为其分配的IP地址。3. The method for testing 1394 equipment according to claim 1, wherein the address is the virtual MAC address of the 1394 adapter of the client to be tested and the IP address assigned thereto. 4.如权利要求1所述的测试1394设备的方法,其特征在于,该端口与启动的多个该TCP/IP服务一一对应。4. The method for testing a 1394 device according to claim 1, wherein the port corresponds to a plurality of activated TCP/IP services one by one. 5.如权利要求1所述的测试1394设备的方法,其特征在于,该待测设备获取服务器为其适配器分配的端口号是通过1394适配器之间的通用信道来完成的。5. The method for testing 1394 devices as claimed in claim 1, wherein the device under test obtains the port number assigned by the server to its adapter through a common channel between 1394 adapters. 6.如权利要求1所述的测试1394设备的方法,其特征在于,该1394网络连接是服务器的某个端口与待测设备适配器之间的连接。6. The method for testing a 1394 device according to claim 1, wherein the 1394 network connection is a connection between a certain port of the server and an adapter of the device under test. 7.如权利要求1所述的测试1394设备的方法,其特征在于,该服务器确定收到该适配器所发出的连接请求是通过循环侦听该服务器所建立的所有端口来完成的。7. The method for testing 1394 devices as claimed in claim 1, wherein the server determines that the connection request sent by the adapter is received by cyclically listening to all ports established by the server. 8.如权利要求1所述的测试1394设备的方法,其特征在于,服务器读取该待测设备传送测试数据是通过服务器对端口的管理来完成的。8. The method for testing 1394 devices according to claim 1, wherein the server reads the device under test and transmits the test data through the management of the port by the server.
CN 200310102799 2003-10-24 2003-10-24 Test method for computer peripheral equipment interface Expired - Fee Related CN1609819B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN 200310102799 CN1609819B (en) 2003-10-24 2003-10-24 Test method for computer peripheral equipment interface

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN 200310102799 CN1609819B (en) 2003-10-24 2003-10-24 Test method for computer peripheral equipment interface

Publications (2)

Publication Number Publication Date
CN1609819A CN1609819A (en) 2005-04-27
CN1609819B true CN1609819B (en) 2010-04-14

Family

ID=34756458

Family Applications (1)

Application Number Title Priority Date Filing Date
CN 200310102799 Expired - Fee Related CN1609819B (en) 2003-10-24 2003-10-24 Test method for computer peripheral equipment interface

Country Status (1)

Country Link
CN (1) CN1609819B (en)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100517256C (en) * 2005-10-24 2009-07-22 鸿富锦精密工业(深圳)有限公司 IEEE1394 interface function test device and method
CN101764794B (en) * 2008-12-23 2012-12-12 中国科学院空间科学与应用研究中心 Programmable IEEE1394 bus monitoring system and monitoring method thereof
CN102195823A (en) * 2010-03-04 2011-09-21 智易科技股份有限公司 Operation test method of network communication product
CN104572389A (en) * 2013-10-18 2015-04-29 神讯电脑(昆山)有限公司 Automatic testing method of 1394 interface
CN104539671B (en) * 2014-12-16 2018-05-18 广东侍卫长卫星应用安全股份公司 A kind of distributed data collection method based on big-dipper satellite alignment system
CN106201808A (en) * 2015-05-04 2016-12-07 北京畅游天下网络技术有限公司 The automation interface method of testing of a kind of server end and system
CN110890995B (en) * 2019-05-14 2021-08-13 研祥智能科技股份有限公司 Network port testing method and network port testing device

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186022A1 (en) * 2001-05-29 2002-12-12 Chien-Yi Shih Method, system, and recording medium of testing a 1394 interface card
US20030195716A1 (en) * 2002-04-10 2003-10-16 Chien-Hsu Chen Interface device for product testing

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020186022A1 (en) * 2001-05-29 2002-12-12 Chien-Yi Shih Method, system, and recording medium of testing a 1394 interface card
US20030195716A1 (en) * 2002-04-10 2003-10-16 Chien-Hsu Chen Interface device for product testing

Also Published As

Publication number Publication date
CN1609819A (en) 2005-04-27

Similar Documents

Publication Publication Date Title
US7724747B2 (en) Methods and apparatus for creating addresses
EP2597842B1 (en) Providing network capability over a converged interconnect fabric
US8892723B2 (en) Method and apparatus for enabling communication between iSCSI devices and SAS devices
EP1753190B1 (en) Method and system for USB re-direct over a network
CN106933753B (en) Control method and device for intelligent interface card
CN102790777B (en) Network interface adapter register method and driving equipment, server
CN102273179B (en) Method and device for terminal batch upgrading
CN101796485A (en) Electrical equipment configuration system and method
CN108737275A (en) One kind being based on the spaceborne network management of SpaceFibre plug and play
US10372633B1 (en) Interconnection of peripheral devices on different electronic devices
CN1609819B (en) Test method for computer peripheral equipment interface
CN115550377B (en) NVMF (network video and frequency) storage cluster node interconnection method, device, equipment and medium
CN105786732A (en) Data access method and device
CN104038550B (en) Data communications method and its device, storage system
CN120428987A (en) Firmware upgrade method, field programmable gate array, and server
JP2000253024A (en) Communication system and communication device
CN100384187C (en) Physical layer circuit and interface circuit
CN118503174A (en) Hard disk connection topology identification method, main board, hard disk backboard and readable storage medium
CN113472558B (en) Network deployment method and device
US8170415B2 (en) Physical wiring control device, physical wiring control method, and computer product
CN101441661A (en) System and method for sharing file resource between multiple embedded systems
CN107168909A (en) Interconnecting device, telecommunication system, data transmission method and device
US10599588B1 (en) Interconnection of peripheral devices on different electronic devices
CN115766549A (en) Couplet testing method, device, electronic equipment and storage medium
CN120491907B (en) A heterogeneous method for logic units, electronic equipment, storage medium and product

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20181207

Address after: Xinhua Village, Guanhu Town, Pizhou City, Jiangsu Province

Patentee after: Zouzhou Ruoqing Ginkgo Seedling Planting Specialized Cooperative

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

TR01 Transfer of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100414

Termination date: 20181024

CF01 Termination of patent right due to non-payment of annual fee