CN1369791A - Method for testing communication equipment of computer - Google Patents

Method for testing communication equipment of computer Download PDF

Info

Publication number
CN1369791A
CN1369791A CN 01103471 CN01103471A CN1369791A CN 1369791 A CN1369791 A CN 1369791A CN 01103471 CN01103471 CN 01103471 CN 01103471 A CN01103471 A CN 01103471A CN 1369791 A CN1369791 A CN 1369791A
Authority
CN
China
Prior art keywords
computing machine
test
end computing
main
infrared facility
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
Application number
CN 01103471
Other languages
Chinese (zh)
Other versions
CN1293471C (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.)
Inventec Corp
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 CNB011034718A priority Critical patent/CN1293471C/en
Publication of CN1369791A publication Critical patent/CN1369791A/en
Application granted granted Critical
Publication of CN1293471C publication Critical patent/CN1293471C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Optical Communication System (AREA)

Abstract

The invention relates to a method for testing computer communication device. The method includes following steps. First, the test program, which allows master-end computer and slave-end computer entering to infrared set, it selected. Then the infrared set of the master-end computer and slave-end computer is set to lowest baud rate. A testing command is sent from the slave-end computer to the master-end computer. When receiving the testing command, the master-end computer enters to testing state. A testing data in sent from the slave-end computer to the master-end computer. When receiving the testing data, the master-end computer carries out calculation, and produces a testing result. Finally, comparing the testing result with the testing data determines whether the infrared set works normally or not.

Description

The method of testing of computer communication complex
The present invention relates to a kind of method of testing of computer communication complex, particularly a kind of communication facilities that carries out signal transmission with infrared facility is realized the method for automatic testing infrared ray device by means of cooperatively interacting of two computing machines.
Continuous development along with electronics technology and internet, computing machine no longer has been the individuality of a sealing, the present stage people can be easily computing machine or peripherals by a computer and network other end carry out the transmission of data, and computing machine usually need working in coordination by means of electronic equipment corresponding with it when carrying out data transmission.And infrared facility is a kind of instrument that often is used to carry out the short-range signal transmission, the notebook computer of being sold on the market at present is equipped with infrared facility usually, as long as have infrared facility too at the computing machine of receiving end or peripherals (for example printer etc.), then this computing machine just can drive the computing machine of receiving end or the action of printer execution command by means of the command signal that infrared ray sent.
Because infrared facility mainly is as the computing machine of a computing machine and the other end or the device that peripherals is communicated with each other, therefore the quality of communication quality be directly connected to the command signal that this computing machine sends can be performed by the computing machine of the other end, and can obtain available rate preferably for the communication quality that makes computing machine, computing machine must carry out quality management and detection to the infrared facility on it before dispatching from the factory, gone out by sale with the product of avoiding having flaw.
But because the communication facilities of computing machine is as the instrument of linking up with extraneous computing machine, therefore for a computing machine, communication facilities on it is to test under the state of unit, and it must be by means of the auxiliary operation that can carry out test of another computing machine.Therefore the computing machine of known technology is when carrying out the test of infrared facility, must test with two computing machines, accept the computing machine of test and worked as the end computing machine of deciding, and the computing machine that will carry out test is as from the end computing machine, and the ditch by infrared facility between two computing machines passes to guarantees the good data delivery quality.
See also shown in Figure 1ly, it is the method for testing process flow diagram of the computer communication complex of known technology.At first, set main end computing machine and the test procedure (step 102) that enters infrared facility from the end computing machine, subsequently test data is held computing machine (step 104) by being sent to the master from the end computing machine, when main end computing machine is receiving after the end test data that computing machine transmitted, a test result (step 106) will be handled and produce to this master's end computing machine at once, again test result is passed back subsequently from end computing machine (step 108), next, from end computing machine compare test data and test result with definite infrared facility operate as normal (step 110) whether.
Because the infrared facility of computing machine is when detecting, usually the transfer rate that must select a plurality of different baud rates is carried out duplicate detection to this infrared facility, therefore in step 104, test data is sent to the main employed baud rate of end computing machine and inequality from the end computing machine at every turn.Again in step 106, main end computing machine can utilize a specific algorithm that test data is handled to produce test result, for example, the test data that is received can be carried out cyclic redundancy check (CRC) from the end computing machine, and main end computing machine also can carry out the data that received identical processing and subsequently the assay that is produced is transmitted back to from the end computing machine, therefore need only from the end computing machine test data and test result are compared, can judge the infrared facility operate as normal whether of accepting test, so when test result and test data are complementary, can determine that promptly the infrared facility of computing machine can operate as normal.
But the method for testing of known technology must be tested in manually-operated mode, comprise and make the setting that enters test procedure from end computing machine and main end computing machine, and infrared facility will be tested the transfer rate of ten kinds of baud rates usually at least, these all need the tester once and again to test, and select different transfer rates to reach the effect of test, yet test with manual type, not only the trouble and also in test process, also be easy to make mistakes.
Therefore relevant at present industry being is all is being researched and developed a kind of method of testing energetically, be applied to the test of infrared facility between two computing machines, this method of testing can be tested automatically to the infrared facility of computing machine, therefore can improve known technology because manually testing puzzlement and the mistake that is caused, and then save the time of test and reduce the probability of test crash.
Fundamental purpose of the present invention is to provide a kind of method of testing of computer communication complex, and this method of testing can automatically be tested infrared facility, with the time of saving test and the error that reduces the manual testing.
Secondary objective of the present invention is to provide a kind of method of testing of computer communication complex, and this method of testing can be guaranteed the integrality when carrying out data transmission between two computing machines, makes the probability of test crash reduce to minimum.
The method of testing of computer communication complex of the present invention is used for carrying out with infrared facility the communication facilities of data transmission, its step comprises: at first set main end computing machine and the test procedure that enters infrared facility from the end computing machine, to lead the end computing machine again and be located at minimum baud rate from the infrared facility of end computing machine, by sending a test command from the end computing machine to main end computing machine, main end computing machine enters test mode when receiving test command, again by sending a test data from the end computing machine to main end computing machine, main end computing machine carries out computing and produces a test result after receiving test data, test result and test data are compared at last to judge whether operate as normal of this infrared facility again.
Because the present invention is the test that communicates equipment with automated manner, to test with manual type than known technology, the generation that the present invention can avoid the manual testing to slip up also can be saved the time of test; Again since of the present invention be test command to be sent to main end computing machine from the end computing machine with minimum baud rate, and infrared facility is under the low more situation of transfer rate, its integrality that obtains data transmission is good more, therefore the present invention can guarantee when the end computing machine is sent to test command in main end computing machine, the integrality of data transmission, thus make the probability of test crash reduce to minimum.
Understand for purpose of the present invention, feature and effect being had further, existing conjunction with figs. describes in detail as the back:
Fig. 1 is the method for testing process flow diagram of the computer communication complex of known technology;
Fig. 2 is a main end computing machine of the present invention and communication facilities modular structure calcspar from the end computing machine;
Fig. 3 is the method for testing process flow diagram of computer communication complex of the present invention;
Fig. 4 is the operational flowchart from the end computing machine of the present invention;
Fig. 5 is the operational flowchart of main end computing machine of the present invention.
See also shown in Figure 2ly, it is a main end computing machine of the present invention and communication facilities modular structure calcspar from the end computing machine.Have 306,310 and test modules 308,312 of an infrared facility respectively from end computing machine 302 and main end computing machine 304 among the figure, and having more a test command sending module 314 and a confirmation receiver module 316 from the infrared facility 306 of end computing machine 302, the infrared facility 310 of main end computing machine 304 then has a test command receiver module 322 and an affirmation order sending module 324.In addition, the test module 308 from end computing machine 302 has a test data sending module 318, a test result receiver module 320 and a comparison module 340; The test module 312 of main end computing machine 304 then has a test data receiver module 326, a test result sending module 328 and a computing module 338.When test begins, will produce a test command from end computing machine 302, and be sent to main end computing machine 304 via the path of label 330 by test command sending module 314, received by the main test command receiver module 322 of computing machine 304 of holding again afterwards; And main end computing machine 304 is after the content of foundation test command is set at test mode with oneself, really being accepted one's fate by main end computing machine 304 makes sending module 324 send the affirmation order again, and via the path shown in the label 332 be sent to from the end computing machine 302, and by from the end computing machine 302 affirmation information receiving module 316 received.Next, to transmit a test data to main end computing machine 304 via path 334 from the test data sending module 318 of end computing machine 302, and is received by the test data receiver module 326 of main end computing machine 304, handle to produce a test result at the computing module 338 of main end computing machine 304 subsequently.This test result is transmitted back to from end computing machine 302 via path 336 by the test result sending module 328 of main end computing machine 304 again, and by being received from the test result receiver module 320 of holding computing machine 302, carry out the comparison of test data and test result by comparison module 340 more subsequently, so that learn whether the element of the acceptance test of main end computing machine 304 can operate as normal from end computing machine 302.Wherein, employed algorithm can be CRC or other algorithms in the comparison module 340 of the present invention, in fact so long as main end computing machine with can carry out and can produce test result from the end computing machine simultaneously and all can be applicable among the present invention with the algorithm that compares.
See also shown in Figure 3ly, it is the process flow diagram of the method for testing of computer communication complex of the present invention.Communication facilities used in the present invention is an infrared facility, the method of its test comprises the following steps: at first to set main end computing machine and the test procedure (step 202) that enters infrared facility from the end computing machine, be located at minimum baud rate (step 204) with main end computing machine and from the infrared facility of end computing machine, by sending a test command from the end computing machine to main end computing machine (step 206), main end computing machine is after receiving test command, to return a confirmation extremely from the end computing machine, and set and oneself enter test mode (step 208), again by sending a test data from the end computing machine to main end computing machine (step 210), then carry out computing and produce a test result (step 212) after main end computing machine receives this test data, main at last end computing machine is sent to test result from end computing machine (step 214) again., after receiving test result, test result and test data are compared to judge whether operate as normal (step 216) of this infrared facility from the end computing machine.
The explanation of doing via above-mentioned process flow diagram as can be known, the present invention is in whole test process, operating personnel all do not need to carry out manually-operated to main end computing machine or from the end computing machine, must test by means of manual type than known technology, the present invention can avoid the generation that the manual testing slips up and save the time of test; Again since the present invention in step 204, be to lead the end computing machine earlier and be located at minimum baud rate from the infrared facility of end computing machine, therefore in step 206, the test command that is sent to main end computing machine from the end computing machine is to send with minimum baud rate, because the characteristic of infrared facility is that transfer rate is low more, the integrality of data transmission will be good more, therefore the present invention can guarantee to be sent to from the end computing machine test command complete of main end computing machine, and then makes the probability of whole test process failure reduce to minimum.
See also shown in Figure 4, it be of the present invention from the end computing machine operational flowchart.At first, infrared facility is located at minimum baud rate (step 402), sends a test command (step 404) to main end computing machine more afterwards, and wait the response (step 406) of main end computing machine.When main end computing machine is passed the affirmation information that receives test command back, to wait for that from the end computing machine one section master of chien shih when sufficiently long holds computing machine to finish conversion according to test command, and enter test mode (step 408), afterwards again by sending a test data (step 410) to main end computing machine from the end computing machine, next just wait and receive main end computing machine and send the test result (step 412) that produces according to this test data back to, again test result and test data are compared afterwards, and the infrared facility of judging main end computing machine according to comparative result operate as normal (step 414) whether, when showing that infrared facility is operate as normal, comparative result should will get back to step 402 from the end computing machine; When comparative result shows that infrared facility is malfunction, then inform operating personnel's (step 416).
See also shown in Figure 5ly, it is the operational flowchart of main end computing machine of the present invention.At first, infrared facility is located at minimum baud rate (step 502), judge whether test command (step 504) since the end computing machine, when test command transmits, this test command (step 506) of decipher then, and judge whether this test command is correct order (step 508), when this test command is then confirmed order (step 510) to sending from the end computing machine when being correct, and will lead and hold computing machine to place the specified baud rate (step 512) of this test command, otherwise main end computing machine will transmit the order of " carrying out test " extremely from end computing machine (step 514), main end computing machine will enter test mode this moment, and wait for that reception is from the end test data (step 516) that computing machine sent, when test data by from the end computing machine when being sent to, main end computing machine will utilize testing algorithm that test data is handled, and produce a test result and also this test result will be back to from end computing machine (518).
Method of testing of the present invention can be applied to the main frame that any needs carry out the infrared facility test, for example workstation, personal computer, notebook computer, palmtop computer or PDA.In addition, method of testing of the present invention can be incorporated the part that factory's quality management detects into after storage, so just can reach the purpose of the infrared facility of automatic test computer in factory.
Certainly; the above only is a preferred embodiment of the method for testing of computer communication complex of the present invention; it is not to be in order to limit practical range of the present invention; the modification that any personnel that are familiar with this technology are made under the prerequisite that does not break away from spirit of the present invention all should belong to scope of the present invention, so protection scope of the present invention should be with following described claim as foundation.

Claims (11)

1. the method for testing of a computer communication complex, its step comprises:
(a) set the main test procedure of holding, entering infrared facility from the end computing machine;
(b) will lead end, from the end computing machine infrared facility be located at minimum baud rate;
(c) by sending a test command from the end computing machine to main end computing machine;
(d) main end computing machine receives test command and then enters test mode;
(e) by sending a test data from the end computing machine to main end computing machine;
(f) main end computing machine carries out computing and produces a test result according to test data; And
(g) compare test result and test data are to judge whether operate as normal of this infrared facility.
2. the method for testing of computer communication complex as claimed in claim 1 is characterized in that, wherein step (c) is sent to main end computing machine with minimum baud rate with test command from the end computing machine.
3. the method for testing of computer communication complex as claimed in claim 1 is characterized in that, wherein step (e) sends test data according to the specified baud rate of test command.
4. the method for testing of computer communication complex as claimed in claim 1 is characterized in that, wherein step (f) utilization cyclic redundancy check operational method produces test result.
5. a utilization is from the working in coordination to judge the whether device of operate as normal of infrared facility of end computing machine and main end computing machine, and it comprises:
One this device is set among the end computing machine, and is used to send a test command from the end infrared facility, and the reception master holds one that computing machine sent to confirm order;
A main end infrared facility, this device is set at main the end among the computing machine, and is used to make main end computing machine enter test mode according to this test command, and sends out the affirmation order when main end computing machine enters test mode;
One from the end test module, this module is set among the end computing machine, when after the end computing machine receives the confirmation order, sending a test data to main end computing machine, and receive by the main end test result that computing machine sent, and compare subsequently, to judge whether operate as normal of infrared facility; And
A main end test module, this module is set among the main end computing machine, and is used to receive from the row operation of going forward side by side of the end test data that computing machine sent, to produce test result and this test result is sent to from the end computing machine.
6. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that wherein main end test module utilizes cyclic redundancy check to carry out computing, with the generation test result.
7. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that, wherein should comprise a test command sending module from the end infrared facility, in order to send test command, and comprise that is also confirmed an order receiver module, in order to receive this affirmation order.
8. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that, wherein this master's end infrared facility comprises a test command receiver module, in order to the acceptance test order and produce one and confirm order, and comprise that is also confirmed an order sending module, in order to send this affirmation order.
9. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that, wherein should comprise a comparison module from the end test module, in order to compare test data and test result, and then produce a comparative result.
10. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that, wherein should comprise a test data sending module from the end test module, make from the end computing machine and after receiving the confirmation order, send test data, and also comprise a test result receiver module, in order to receive this test result.
11. utilization as claimed in claim 5 is worked in coordination to judge the whether device of operate as normal of infrared facility from end computing machine and main end computing machine, it is characterized in that, wherein this master's end test module comprises a computing module, makes main end computing machine produce test result after receiving test data.
CNB011034718A 2001-02-14 2001-02-14 Method for testing communication equipment of computer Expired - Fee Related CN1293471C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB011034718A CN1293471C (en) 2001-02-14 2001-02-14 Method for testing communication equipment of computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB011034718A CN1293471C (en) 2001-02-14 2001-02-14 Method for testing communication equipment of computer

Publications (2)

Publication Number Publication Date
CN1369791A true CN1369791A (en) 2002-09-18
CN1293471C CN1293471C (en) 2007-01-03

Family

ID=4653257

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB011034718A Expired - Fee Related CN1293471C (en) 2001-02-14 2001-02-14 Method for testing communication equipment of computer

Country Status (1)

Country Link
CN (1) CN1293471C (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191099B2 (en) 2003-07-04 2007-03-13 Hong Fu Jin Precision IND (Shenzhen) Co., Ltd. System for testing network devices
CN100336028C (en) * 2004-01-13 2007-09-05 英业达股份有限公司 Single-computer infrared self-measuring system and method thereof
CN100592691C (en) * 2007-01-10 2010-02-24 中国电信股份有限公司 Automatic comparison method and system for the consistency test of the network management interface information model
CN101471820B (en) * 2007-12-28 2011-06-15 英业达股份有限公司 Test method for substrate management controller

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5033015A (en) * 1988-08-12 1991-07-16 Hughes Aircraft Company Automated system for testing an imaging sensor
CN2312479Y (en) * 1997-08-08 1999-03-31 英业达股份有限公司 Notebook like computer having infrared transmission modular piece
US5969835A (en) * 1997-09-15 1999-10-19 General Instrument Corporation Automated infrared test signal generator

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7191099B2 (en) 2003-07-04 2007-03-13 Hong Fu Jin Precision IND (Shenzhen) Co., Ltd. System for testing network devices
CN100336028C (en) * 2004-01-13 2007-09-05 英业达股份有限公司 Single-computer infrared self-measuring system and method thereof
CN100592691C (en) * 2007-01-10 2010-02-24 中国电信股份有限公司 Automatic comparison method and system for the consistency test of the network management interface information model
CN101471820B (en) * 2007-12-28 2011-06-15 英业达股份有限公司 Test method for substrate management controller

Also Published As

Publication number Publication date
CN1293471C (en) 2007-01-03

Similar Documents

Publication Publication Date Title
EP1892872B1 (en) Error check for master-slave data transfer
CN110825768B (en) Remote television exception handling method and system based on cloud analysis
CA2524772A1 (en) Method and device for the maintenance of a lift or escalator installation
CN102361810A (en) Signal transmission device
CN1293471C (en) Method for testing communication equipment of computer
US6907542B2 (en) System, device and method for determining the reliability of data carriers in a failsafe system network
US20110154120A1 (en) Apparatus and system for integratedly managing static analysis tools
CN110597198B (en) Quality control device, quality control system and quality control method for TFT substrate glass
CN106612215A (en) Integrated remote detection device and method based on Ethernet
CN104793609A (en) Adaptive optical electronic control system self-inspection and fault diagnosis expert system
CN1143215C (en) Component test equipment and method between two computers
US4115856A (en) Interfaces for connecting a data-processing unit to a working station
KR100279721B1 (en) Cama interface processor maintannence method of pcx system
JP3480886B2 (en) Controller failure analyzer
KR100270719B1 (en) Apparatus and method for management of atm interface
CN1282152A (en) Portable network card test method and equipment
CN113157532B (en) Instrument fault warning method and device based on terminal linkage
CN113805476B (en) High-reliability network early warning method and system
JP2871920B2 (en) Abnormality detection device for elevator control device
CN113867285B (en) Edge cloud platform-based edge side equipment fault diagnosis method and system
US20050088526A1 (en) Remote audio controlling system and method
CN101393452A (en) System and method for data communication between application software and distributed control system
JP2001007816A (en) Distributed monitor controller
JPS61199133A (en) System for diagnosing remotely computer
CN117930085A (en) Automatic error detection method, device and correction system for detecting wiring of power distribution equipment

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20070103

Termination date: 20110214