CN1609819A - A test method for computer peripheral equipment interface - Google Patents
A test method for computer peripheral equipment interface Download PDFInfo
- Publication number
- CN1609819A CN1609819A CN 200310102799 CN200310102799A CN1609819A CN 1609819 A CN1609819 A CN 1609819A CN 200310102799 CN200310102799 CN 200310102799 CN 200310102799 A CN200310102799 A CN 200310102799A CN 1609819 A CN1609819 A CN 1609819A
- Authority
- CN
- China
- Prior art keywords
- test
- server
- adapter
- devices
- 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.)
- Granted
Links
- 230000002093 peripheral effect Effects 0.000 title description 7
- 238000010998 test method Methods 0.000 title description 5
- 238000012360 testing method Methods 0.000 claims abstract description 111
- 238000000034 method Methods 0.000 claims abstract description 33
- 230000005540 biological transmission Effects 0.000 claims abstract description 25
- 238000009434 installation Methods 0.000 claims description 3
- 238000012795 verification Methods 0.000 claims description 3
- 230000006854 communication Effects 0.000 description 4
- 238000010586 diagram Methods 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 4
- 238000004891 communication Methods 0.000 description 3
- 238000012546 transfer Methods 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 238000009826 distribution Methods 0.000 description 2
- 238000004519 manufacturing process Methods 0.000 description 2
- 238000005303 weighing Methods 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000003780 insertion Methods 0.000 description 1
- 230000037431 insertion Effects 0.000 description 1
- 238000011031 large-scale manufacturing process Methods 0.000 description 1
- 230000002123 temporal effect Effects 0.000 description 1
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
Technical field
The present invention relates to a kind of method of testing of computer peripheral interface, particularly a kind of method of test 1394 equipment.
Background technology
Along with the constantly bringing forth new ideas and develop of computer peripheral interface, the transmission data improve constantly at capacity and temporal requirement between peripherals and the computing machine, and a kind of new peripheral interface 1394 arises at the historic moment.The 1394th, Apple company just is decided to be the IEEE-1394 standard by IEEE association in nineteen ninety-five.IEEE is for providing a new common interface between computer equipment and the household electronic products, it is very high that it has transfer rate, the characteristics of plug and play.For existing various multi-media image files, the transmission of the high capacity of data such as voice is very suitable.And when 1394 equipment are installed, do not need shutdown in 1394 environment and computing machine, behind insertion equipment, need not restart machine yet, can be immediately by computer Recognition and use.In addition, IEEE1394 has point-to-point transmission mode, also possesses simultaneously at a high speed and characteristics timely.
Because its excellent performance all has been equipped with 1394 interfaces at existing many desk-top computer and notebooks.As everyone knows, computing machine production firm need carry out whole detection to computing machine when product turnout, has just comprised wherein whether test 1394 adapters are working properly.According to the theory of 1394 standard design, need an equipment (such as digital camera or the like) that has 1394 interfaces to link to each other during test at least with test machine, carry out the transmission of data (audio files, image file) again.
Yet, in the test of computing machine production firm, impossible complete design concept according to 1394 interfaces, with a concrete equipment that comprises 1394 interfaces, as digital camera, the quality of 1394 adapters of computing machine is tested, doing so not only to increase testing cost, its testing efficiency can not get guaranteeing more, is not suitable for using in large-scale production.
At this moment, the method that just needs a kind of energy advantages of simplicity and high efficiency to test 1394 equipment solves the problems referred to above.
Summary of the invention
In view of this, the present invention addresses the above problem the method that has proposed a kind of test 1394 equipment, its purpose is to form 1394 networks by setting up a testing server with the Devices to test that comprises 1394 adapters, in these transmission over networks file or data, simulated the data transmission between 1394 interfaces of 1394 adapters of computing machine and peripherals, thereby finished test 1394 adapters.
The present invention proposes a kind of method of test 1394 equipment, this method comprises the steps, at first determine 1394 adapter drivers successful installations of a plurality of Devices to tests, connect Devices to test and testing server by 1394 cables then, for this adapter distributes the address, in a plurality of TCP/IP services of this startup of server, set port and port maximum number of connections, 1394 networks of setting up between this testing server and the Devices to test by this address and port connect, and connect the test transmission that carries out this adapter by this network at last.
Compare with existing method, the method of testing of 1394 adapters provided by the invention, the hardware that does not need to provide extra just can be finished test, and the part of manual operation in the test process seldom, thereby avoided being unfavorable in the existing measuring technology large-scale test, the higher and inefficient shortcoming of cost has improved the efficient and the accuracy of test, reduced testing cost, for large-scale test provides effective assurance.
Relevant detailed content of the present invention and method, existing conjunction with figs. is described as follows.
Description of drawings
Fig. 1 is the overview flow chart of the method for test 1394 equipment of the present invention;
Fig. 2 is the process flow diagram that 1394 networks between this testing server and the Devices to test connect of setting up proposed by the invention; And
Fig. 3 is the process flow diagram that this network connects the test transmission that carries out this adapter that passes through proposed by the invention.
Embodiment
The present invention is described in detail below in conjunction with accompanying drawing:
As shown in Figure 1, this figure is the overview flow chart of the method for test 1394 equipment of the present invention, is described as follows:
At first determine 1394 adapter drivers successful installations (step 110) of a plurality of Devices to tests; Connect Devices to test and testing server (step 120) by 1394 cables then; For this adapter distributes address (step 130); In a plurality of TCP/IP services of this startup of server, set port and port maximum number of connections (step 140); 1394 networks of setting up between this testing server and the Devices to test by this address and port connect (step 150); Connect the test transmission (step 160) that carries out this adapter by this network at last.
Wherein, this address can be 1394 adapter virtual MAC address of client to be measured, or 1394 adapter virtual MAC address of client to be measured and for its IP address allocated.Decide according to concrete test case.
In a plurality of TCP/IP services of this startup of server, each service need take a specific port, so this port is corresponding one by one with a plurality of these TCP/IP services of startup.
See also Fig. 2, this figure is the process flow diagram that 1394 networks between this testing server and the Devices to test connect of setting up proposed by the invention, is described as follows:
At first this Devices to test obtains the port numbers (step 210) that server distributes for its adapter; Create socket (Socket) according to this port numbers then, and the address (step 220) of binding this adapter; Send connection request (step 230) by this socket (Socket) to server; This server is determined the connection request (step 240) of receiving that this adapter sends; Set up this server at last and be connected (step 250) with 1394 networks between the Devices to test adapter.
Wherein, this server is that the port numbers of the adapter distribution of Devices to test is the I/O transmission channel between 1394 adapters.
Opened a plurality of ports on this server, the service that the representative of each port is specific connects with different adapter respectively, so this 1394 network connects being connected between certain port of being actually server and the Devices to test adapter.
This server is distributing the address for the adapter of Devices to test, started after the TCP/IP service, the connection request that is sent in order in time to receive this adapter will be intercepted all of the port that this server is set up by circulation, to receive the information that comes from the Devices to test adapter.
See also Fig. 3 and illustrate, this figure is the process flow diagram that this network connects the test transmission that carries out this adapter that passes through proposed by the invention, is described as follows:
At first server reads this Devices to test and transmits test data (step 310); Then these data are returned to this adapter (step 320); This adapter carries out verification (step 330) to these data of returning at last.
Wherein, it is by server each port to be created a supervisory routine that server reads the test data that this Devices to test transmits, the management corresponding ports is finished, this subroutine is used for the data volume of control transmission and transmission speed, as the parameter index of weighing 1394 interfaces and adapter performance.
In the reality test, to test a computing machine that comprises 1394 interfaces is example, at first need to install the driver of 1394 adapters, be connected with 1394 interfaces of testing server with 1394 interfaces of IEEE1394 cable then this computing machine for this computing machine.The IEEE1394 cable is generally formed (be used for the two pairs of twisted-pair feeders of data transmission and be used for a pair of power lead to outside power devices) by 4 or 6 lines.At this moment should service and 1394 adapters of computing machine will by virtual be the network equipment, and for fictionalizing each 1394 adapters distribution MAC Address.Be two 1394 adapters (Adapter) distributing IP address again, set up network and connect, so just between test computer and testing server, set up one 1394 network.
The process that server is connected with 1394, and IP address assignment is by 1394 ARP (AddressResolution Protocol, AARP, address resolution protocol) and MCAP (MulticastChannel Allocation Protocol, multileaving channel allocation agreement) finishes, utilize IP to carry out the transmission of packet.Minimizing is to 1394 Physical layers, the dependence of the agreement of link layer and system criterion.
Next, just can utilize service and the WinSock technology of this 1394 network, TCP/IP, thereby the transmission data are finished test to 1394 adapters of computing machine to be measured between server and computing machine to be measured.
Start the service of a plurality of TCP/IP on server, each serves corresponding specific port, and the maximum number of connections of port is set.Computing machine to be measured then will obtain by the port numbers of server-assignment to it by 1394 common channel.After obtaining port numbers, create socket (Socket), and the binding IP address allocated.Send connection request to server.Server will constantly be intercepted the information that the port set up is received, determine the request of receiving that computing machine adapter to be measured sends, and beginning is connected with it.After server and the computing machine successful connection to be measured, server will be set up a subroutine that is used for managing the data transmission between them for this connection, and 1394 adapters of computing machine to be measured begin to send to server the data of test then; After server reads this test data, it is sent it back 1394 adapters of computing machine to be measured, this adapter will carry out verification to it after reading the data of returning from server.
So far, finish a data transfer.This process constantly repeats, and just can reach the purpose that 1394 adapters of computing machine to be measured are tested.
Further consider,, certainly will increase the test duration like this if machine of every test just need reconfigure 1394 networks.1394 interfaces are the same with USB1.1 or 2.0 interfaces, it also is a kind of bus control interface, we can utilize the expansion technique of present stage 1394, selected machine is as testing server, 1394 HUB or expansion cascading device are installed in the above, testing server just can provide a plurality of 1394 interfaces like this, connects the communication simultaneously of a plurality of computing machines to be measured with the IEEE1394 cable simultaneously.Because IEEE1394 equipment is supported hot plug, so whenever adding or dismounting equipment of test process to the IEEE1394 network, both without the transmission of concern of data, also do not need to carry out any reconfiguring, system can automatically adjust according to the environment that changes.After setting up virtual network between a plurality of 1394 adapters, we can utilize the service of TCP/IP and this mature technology of WinSock and client/server (Client/Server) framework to carry out data transmission test.Its process is the same with 1394 adapters of a computing machine are tested.
Testing server can be managed tested a plurality of 1394 adapters that are connected with its generation, writes down the test mode of current each 1394 adapter..Each 1394 adapter can send data to server simultaneously; Server can be handled the data of sending from each 1394 adapter, and the validity of checking data.Be responsible for again data are sent it back client (Client) end.In communication process, data volume and transmitting speed that server (server) can control transmission, these can be as the parameter index of weighing 1394 interfaces and adapter performance.
The unified test procedure (script) of each 1394 adapters operation.Be responsible for the IP that configuration management local 1394 connects, send test data (file), accept test data (file), check test data (file) or the like from server to server.
In addition, because 1394 interfaces are supported the procotol that NETBEUI and IPX/SPX etc. are commonly used simultaneously, so in 1394 small-sized LAN (Local Area Network), it is simple and easy to utilize the NETBEUI agreement to have an operation, the advantage of efficient quick also can be tested 1394 ports.Because the NETBEUI agreement lacks route and network layer addressing function, do not need the network address that adds and network layer end to end.Be in two machines of same 1394 networks, because with being in a simple network environment, do not need route control and network identity, application layer can be by their machine name separately as the sign that connects, network layer utilizes data link layer media interviews control (MAC) address to carry out communication by the NETBEUI agreement.Its test process is identical with the test process that utilizes ICP/IP protocol.
Example above-mentioned is to utilize the C/S framework to carry out the example that data transmission is provided with, and also can utilize this framework to carry out the test of transfer files simultaneously.Because 1394 communication speed, performance is better than Ethernet card, and is not subjected to interior other connection of LAN (Local Area Network) to take the influence of resource, improves testing efficiency.
Distributed the plurality of sharing file wrapper for each 1394 adapter during server test.Install on the tested machine of 1394 adapters at each, with certain shared document folder of adapter end network reflection driver as it.1394 connections of each client (to-be-detected machine) by having set up, carry out file system operation to its reflection at the shared region of service end, comprise read-only test (Read Test operation), write test (Write Test operation) and readwrite tests (Read/Write Test operation).
The above is preferred embodiment of the present invention only, is not to be used for limiting practical range of the present invention; All equalizations of doing according to this instructions and claims change and modify, and are claim of the present invention and contain.
Claims (10)
1, a kind of method of test 1394 equipment is characterized in that this method comprises the steps:
Determine 1394 adapter drivers successful installations of a plurality of Devices to tests;
Connect Devices to test and testing server by 1394 cables;
For this adapter distributes the address;
In a plurality of TCP/IP services of this startup of server, set port and port maximum number of connections;
1394 networks of setting up between this testing server and the Devices to test by this address and port connect; And
Connect the test transmission that carries out this adapter by this network.
2, the method for test 1394 equipment as claimed in claim 1 is characterized in that, this address is 1394 adapter virtual MAC address of client to be measured.
3, the method for test 1394 equipment as claimed in claim 1 is characterized in that, this address is 1394 adapter virtual MAC address of client to be measured and is its IP address allocated.
4, the method for test 1394 equipment as claimed in claim 1 is characterized in that, this port is corresponding one by one with a plurality of these TCP/IP services of startup.
5, the method for test 1394 equipment as claimed in claim 1 is characterized in that, the 1394 network step of connecting of setting up between this testing server and the Devices to test by this address and port more comprise the steps:
This Devices to test obtains the port numbers that server distributes for its adapter;
Create socket according to this port numbers, and the address of binding this adapter;
Send connection request by this socket to server;
This server is determined the connection request of receiving that this adapter sends; And
Setting up this server is connected with 1394 networks between the Devices to test adapter.
6, the method for test 1394 equipment as claimed in claim 5 is characterized in that, it is to finish by the common signal channel between 1394 adapters for the port numbers that its adapter distributes that this Devices to test obtains server.
7, the method for test 1394 equipment as claimed in claim 5 is characterized in that, it is being connected between certain port and the Devices to test adapter of server that this 1394 network connects.
8, the method for test 1394 equipment as claimed in claim 5 is characterized in that, this server determines to receive that connection request that this adapter sends is to intercept all of the port that this server sets up by circulation to finish.
9, the method for test 1394 equipment as claimed in claim 1 is characterized in that, the step that connects the test transmission that carries out this adapter by this network more comprises the steps:
Server reads this Devices to test and transmits test data;
These data are returned to this adapter; And
This adapter carries out verification to these data of returning.
10, the method for test 1394 equipment as claimed in claim 9 is characterized in that, it is by server the management of port to be finished that server reads this Devices to test transmission test data.
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 true CN1609819A (en) | 2005-04-27 |
CN1609819B 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) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100517256C (en) * | 2005-10-24 | 2009-07-22 | 鸿富锦精密工业(深圳)有限公司 | IEEE1394 interface function detection device and method |
CN102195823A (en) * | 2010-03-04 | 2011-09-21 | 智易科技股份有限公司 | Operation test method of network communication product |
CN101764794B (en) * | 2008-12-23 | 2012-12-12 | 中国科学院空间科学与应用研究中心 | Programmable IEEE1394 bus monitoring system and monitoring method thereof |
CN104539671A (en) * | 2014-12-16 | 2015-04-22 | 广东侍卫长卫星应用安全股份公司 | Distributed data collecting method based on Beidou satellite positioning system |
CN104572389A (en) * | 2013-10-18 | 2015-04-29 | 神讯电脑(昆山)有限公司 | Automatic testing method of 1394 interface |
CN106201808A (en) * | 2015-05-04 | 2016-12-07 | 北京畅游天下网络技术有限公司 | The automation interface method of testing of a kind of server end and system |
CN110890995A (en) * | 2019-05-14 | 2020-03-17 | 研祥智能科技股份有限公司 | Network port testing method and network port testing device |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
TW514731B (en) * | 2001-05-29 | 2002-12-21 | Via Tech Inc | Method, system and relevant computer readable storage medium for testing 1394 interface card |
TWI268415B (en) * | 2002-04-10 | 2006-12-11 | Via Tech Inc | An interface device for product testing with capable of transferring the communication protocol signal of the first transport interface specification into the communication protocol signal of the respective transport interface of each device under test |
-
2003
- 2003-10-24 CN CN 200310102799 patent/CN1609819B/en not_active Expired - Fee Related
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN100517256C (en) * | 2005-10-24 | 2009-07-22 | 鸿富锦精密工业(深圳)有限公司 | IEEE1394 interface function detection 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 |
CN104539671A (en) * | 2014-12-16 | 2015-04-22 | 广东侍卫长卫星应用安全股份公司 | Distributed data collecting method based on Beidou satellite positioning system |
CN106201808A (en) * | 2015-05-04 | 2016-12-07 | 北京畅游天下网络技术有限公司 | The automation interface method of testing of a kind of server end and system |
CN110890995A (en) * | 2019-05-14 | 2020-03-17 | 研祥智能科技股份有限公司 | Network port testing method and network port testing device |
CN110890995B (en) * | 2019-05-14 | 2021-08-13 | 研祥智能科技股份有限公司 | Network port testing method and network port testing device |
Also Published As
Publication number | Publication date |
---|---|
CN1609819B (en) | 2010-04-14 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US9219644B2 (en) | Automated configuration of new racks and other computing assets in a data center | |
US7440415B2 (en) | Virtual network addresses | |
CN100486200C (en) | USB mapping method | |
CN110532208B (en) | Data processing method, interface conversion structure and data processing equipment | |
CN1268702A (en) | Network based on general series bus and input/output wire collector | |
CN113886153B (en) | A container-based network card stress testing method and device | |
CN102664918A (en) | Blade server control method and console | |
CN1261890C (en) | Network card test method that can balance the load | |
CN1609819A (en) | A test method for computer peripheral equipment interface | |
CN1434382A (en) | Test method and system for IEEE 802.1x network insertion equipment | |
CN101022425B (en) | ISCSI-based storage resource distributing method | |
CN115348126A (en) | Network target range entity equipment access method, device and implementation system | |
EP3360285A1 (en) | System and method to reconcile cabling test results with cabling test configurations | |
US6418479B1 (en) | I/O pass through for a distributed computer system | |
CN118426970A (en) | Data fragment deployment method, device, equipment and storage medium | |
CN112905415B (en) | A serial port log file acquisition method, device and related components | |
CN115454896A (en) | SMBUS-based SSD MCTP control message verification method and device, computer equipment and storage medium | |
CN114430392A (en) | Method and terminal for connecting Intel network card with Switch to expand internet access | |
CN101441661A (en) | System and method for sharing file resource between multiple embedded systems | |
US10599588B1 (en) | Interconnection of peripheral devices on different electronic devices | |
CN106713008B (en) | The method that a kind of pair of EOC local-side device is tested for the property | |
CN115766549B (en) | Antithetical couplet test method, device, electronic equipment and storage medium | |
CN118413583B (en) | IPMI protocol rapid transmission method and related equipment | |
CN114490202B (en) | Password equipment testing method and device, electronic equipment and storage medium | |
CN113472558B (en) | Network deployment method and device |
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 |