CN100336028C - Single-computer infrared self-measuring system and method thereof - Google Patents

Single-computer infrared self-measuring system and method thereof Download PDF

Info

Publication number
CN100336028C
CN100336028C CNB2004100015770A CN200410001577A CN100336028C CN 100336028 C CN100336028 C CN 100336028C CN B2004100015770 A CNB2004100015770 A CN B2004100015770A CN 200410001577 A CN200410001577 A CN 200410001577A CN 100336028 C CN100336028 C CN 100336028C
Authority
CN
China
Prior art keywords
infrared
module
infrared ray
transmission
test data
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
CNB2004100015770A
Other languages
Chinese (zh)
Other versions
CN1641594A (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 CNB2004100015770A priority Critical patent/CN100336028C/en
Publication of CN1641594A publication Critical patent/CN1641594A/en
Application granted granted Critical
Publication of CN100336028C publication Critical patent/CN100336028C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Selective Calling Equipment (AREA)
  • Optical Communication System (AREA)

Abstract

The present invention relates to a single-computer infrared ray self-testing system and a method thereof. The arrangement of infrared ray transmitting loop is completed only by a method that a host computer is matched with an external infrared ray, another tester is not needed, and execution testing programs of the infrared ray transmitting loop is used for confirming that infrared ray module functions of the host computer are normal. The system comprises a host computer for providing testing data, a first infrared ray module used for transmitting/receiving the testing data, a second infrared ray module, a receiving/sending monitoring module and a displaying module, wherein the second infrared ray module is connected with the host computer through the universal serial port, the second infrared ray module forms an infrared ray transmitting loop with the first infrared ray module, and the infrared ray transmitting loop is used for receiving/transmitting the testing data; the receiving/sending monitoring module is arranged at an operation interface of the host computer, and is used for setting a transmitting mode of the infrared ray transmitting loop, displaying a plurality of transmitting states and generating a triggering instruction to execute a testing program; the displaying module is used for displaying the content of the receiving/sending module.

Description

The system and the method thereof of unit infrared ray selftest
Technical field
The present invention relates to a kind of test macro and method of transmission interface, especially a kind of system and method thereof relevant for unit infrared ray selftest.
Background technology
Infrared transmission is to apply to one of the most general wireless transmission method of short range wireless transmission on the present computing machine executable platform, because infrared transmission has the characteristic of low power consumption, low cost, transfer rate height, point-to-point communication, be particularly suitable for being used in Portable, the available battery-operated product.The field of infrared transmission application at present is quite extensive, for example: digital camera (Digital Camera, DC), digital camera (Digital Video, DV), personal digital assistant (Personal Digital Assistant, PDA), infrared ray multifunctional paper feeding machine, infrared ray printer, flat computer (Tablet PC), mobile computer, desktop PC etc.Therefore since the infrared transmission development, attracted attention by each side, and in the market of short range wireless transmission the upper throne that occupy no crown king.
The infrared module that occupies a large amount of market at present in the trace checking at research and development of products initial stage or mass-produced batch testing be provided with carry out the required setting of test procedure the infrared transmission loop mostly because ultrared numerous characteristics, for example: infrared ray need be confined to the transmission of certain angle straight line, infrared ray transmit in the time of can't passing entity object, infrared data transmission with the infrared module that receives must be static and infrared ray can not multicast communication or the like, and be subjected to many restrictions.
The test procedure that applies to the infrared module functional test at present has two main steps (1) the infrared transmission loop is set; And (2) utilize the infrared transmission loop to carry out test procedure, and normal in order to the function of the infrared module of confirming to treat test, above testing procedure will cooperate Fig. 1 known technology as follows in order to the attended operation schematic view illustrating of testing infrared ray module:
(1) the infrared transmission loop is set, according to the infrared transmission standard, the transmission coverage of infrared ray maximum is one meter, and therefore need have main frame 20 and test machine 30 the regulation setting of one meter parallel distance according to need; External infrared module 32 activations that first infrared module 22 that main frame 20 is had and test machine 30 are had; Carry out relevant network settings respectively at main frame 20 and test machine 30, for example: network communication protocol, network are shared, and the transmission mode of passing through application setting infrared transmission loop.The step purpose that the infrared transmission loop is set recognizes each other by the infrared transmission loop for impelling first infrared module 22 and external infrared module.
(2) carry out test procedure and confirm that the function of infrared module to be measured is normal, the test data that is provided by main frame 20 is provided first infrared module 22 that is had by main frame 20, and the external infrared module 32 that is had through test machine 30 receives above-mentioned test data, and utilizes above-mentioned application program to confirm that the test data file of transmission and reception is identical and confirm that promptly the transmitting function of first infrared module 22 that main frame 20 is had is normal; Transmit the test data that is provided by test machine 30 by external infrared module 32, and through the above-mentioned test data of first infrared module, 22 receptions, and identical by above-mentioned application program affirmation transmission with the test data file that receives, confirm that promptly the receiving function of first infrared module 22 that main frame 20 is had is normal.
Yet having a plurality of problems according to the setting in the above-mentioned known infrared transmission loop of carrying and method of testing can be improved, and will be respectively described below:
First, it is higher that the cost of infrared transmission loop is set, know that on business the infrared transmission loop is set needs main frame and test machine, if main frame and test machine are mobile computer, the cost that the infrared transmission loop then is set needs tens thousand of units at least, if again because infrared ray can not multicast communication characteristic infrared transmission loop be arranged at the production unit of volume production, required for cooperating speed of production that many test machines may be set simultaneously for test, the needed cost in infrared transmission loop then is set more reaches hundreds thousand of.
Second, wasting space is provided with the environment in infrared transmission loop, has the characteristic that can't pass entity object because of infrared ray, so needed space, infrared transmission loop is set veil can not be arranged, therefore need the special waste that the test space also forms the space that keeps.
The 3rd, lose time, because use two machines to carry out test procedure, therefore the infrared transmission loop is set need spends double time execution related setting, above-mentioned required setting-up time also is another waste.And, the transmission coverage of infrared ray maximum is that 1 meter and infrared ray transmit the characteristic that must keep stationary state with the infrared module that receives when having data transmission, but need in the known testing process to send test data from main frame and test machine respectively, so need be on two main frames executable operations, so the user need hurry back and forth between two main frames.
The 4th, the speed of the debug of slowing down (debug) is because use the test of two machines therefore if therefore the variable that situation occurred or test crash need be analyzed the problem that may take place when test procedure also increases.
Therefore, if a kind of system and method thereof of unit infrared ray selftest can be provided, production cost will be reduced greatly and increase spatiotemporal utilization.
Summary of the invention
In view of this, therefore the present invention provides a kind of system and method thereof of unit infrared ray selftest in order to solve over time, space and expense that the testing infrared ray module wasted.
For achieving the above object, in the system of unit infrared ray selftest provided by the present invention, include following modules: main frame, display module, first infrared module, second infrared module, transmitting-receiving monitoring module.
Its system's operating mode is to utilize on the main frame first infrared module that originally has and second infrared module that is connected with main frame by universal serial port is provided with generation infrared transmission loop by main frame, utilize display module to carry out relevant setting, and utilize the transmitting-receiving monitoring module to produce triggering command and carry out test procedure by receiving and dispatching monitoring module; And judge to treat whether the first infrared module function of test normal according to the result that test procedure produces, and when the transmitting-receiving monitoring module shows that above-mentioned test procedure is carried out a plurality of transmission states and the transmission mode in infrared transmission loop.
In addition, the method for unit infrared ray selftest provided by the present invention includes the following step: at first, second infrared module is connected upward main frame by universal serial port, impel main frame to receive the connection signal; Then, main frame can be according to above-mentioned connection signal activation first infrared module and second infrared module with generation infrared transmission loop; Then, according to the related setting of on the transmitting-receiving monitoring module, importing and the triggering command of generation, carry out transmission and receive the test data that main frame provided by above-mentioned infrared transmission loop; At last, if the test data that contrast transmits and receives is consistent, confirms that then the first infrared module function is normal and show test results.
The feasible embodiment of relevant the present invention now is described as follows with regard to conjunction with figs.:
Description of drawings
Fig. 1 is the attended operation synoptic diagram of known technology in order to the testing infrared ray module;
Fig. 2 is the connection diagram of the system of unit infrared ray selftest provided by the present invention;
Fig. 3 is the running synoptic diagram of the system of unit infrared ray selftest provided by the present invention; And
Fig. 4 is the method flow diagram of the method for unit infrared ray selftest provided by the present invention.
Wherein, description of reference numerals is as follows:
20 main frames
22 first infrared modules
24 transmitting-receiving monitoring modules
30 test machines
32 external infrared modules
40 second infrared modules
50 display modules
Step 100 receives and connects signal
Step 110 produces the infrared transmission loop
Step 120 is carried out by the infrared ray loop and is transmitted and receive the test data that main frame provided
Whether the test data that step 130 contrast transmits and receives consistent?
Step 140 shows the normally functioning information of first infrared module
Embodiment
A kind of system and method thereof of unit infrared ray selftest, only utilize a main frame external infrared module of arranging in pairs or groups promptly to finish the setting in infrared transmission loop in the cooperation that does not need another test machine, and the execution test procedure by above-mentioned infrared transmission loop is normal in order to the infrared module function of confirming main frame and having.
Fig. 2 is the connection diagram of the system of disclosed unit infrared ray selftest, will be illustrated by Fig. 3 as for its main System Operation synoptic diagram; Its main method operation steps flow process will be illustrated by Fig. 4.
Please refer to shown in Figure 2, connection diagram for the system of disclosed unit infrared ray selftest, be described as follows: second infrared module 40 connect to be gone up main frame 20 by universal serial port, and first infrared module 22 that is had with main frame 20 produces the infrared transmission loop in order to carry out test procedure by main frame 20 set network settings.
Please refer to shown in Figure 3ly, be the System Operation synoptic diagram of disclosed unit infrared ray selftest, main system function module comprises: (1) main frame 20; (2) first infrared modules 22; (3) second infrared modules 40; (4) transmitting-receiving monitoring module 24; And (5) display module 50, be respectively described below:
(1) main frame 20, and main frame 20 has first infrared module 22 of brake to be tested, and the test data (n and n1) in order to transmit and to receive in the test procedure is provided, and main frame 20 has a universal serial port at least.
(2) first infrared modules 22, the first infrared modules 22 are whether normally test procedure institute desire confirms function infrared module; First infrared module 22 will be carried out transmission according to triggering command and give second infrared module 40 by the test data (n) that main frame 20 is provided; And reception is sent to the test data (n1) of main frame 20 by second infrared module 40.
The universal serial port that (3) second infrared modules 40, the second infrared modules 40 have by main frame 20 connects goes up main frame 20; Second infrared module 40 can receive the test data (n) that is transmitted by first infrared module 22; And transmit the test data (n1) that is provided by main frame 20 according to trigger pip and give first infrared module 22.
Wherein, second infrared module 40 has: (a) transceiver; (b) conversion control circuit; (c) connect lead; Reach (d) general-purpose series of terminals, be respectively described below: (a) transceiver, in order to the infrared transmitted signal of reception/transmission as test data; (b) conversion control circuit, be connected in infrared transmitted signal and universal serial bus (the Universal Serial Bus of transceiver as reception/transmission, USB) media of electronic signal conversion, conversion control circuit has a plurality of light emitting diodes (Light Emitting Diode, LED), in order to show the transmission mode in infrared transmission loop; (c) connect lead, be connected in above-mentioned conversion control circuit, the length that connects lead need make first infrared module 22 and second infrared module 40 keep the maximum transmitted coverage that is limited in the infrared transmission standard at least, and is normal to confirm first infrared module 22 function in the maximum transmitted coverage.(d) general-purpose series of terminals is connected in above-mentioned connection lead, and the general-purpose series of terminals is second infrared module 40 in order to the connector of the universal serial port that is connected to main frame 20 and has.
When second infrared module 40 is connected to main frame 20 by universal serial port, can produce one connect signal in order to offer main frame as an enable signal in order to activation first infrared module 22 and second infrared module 40 to produce the infrared transmission loop.
(4) transmitting-receiving monitoring module 24 is user's operation-interface that is arranged on the main frame 20, and the user can pass through the information that monitoring module is provided with associated transport state when carrying out the required related setting of test with the execution of acquisition test procedure of receiving and dispatching.
The above-mentioned related setting of carrying comprises: the transmission mode of (a) setting the infrared transmission loop is FIr (FastIr) or Sir; (b) set the required network settings in infrared transmission loop, for example: network communication protocol and network are shared; And (c) set the generation trigger pip and impel test procedure to carry out.
The information of the above-mentioned associated transport state of carrying, content comprises: (a) the present transmission mode in infrared transmission loop; (b) finished the test data file capacity of transmission; (c) do not finish the test data file capacity of transmission; (d) estimate to finish transmission test data required time; (e) transmitted test data institute spended time; And (f) transmit whether consistent with the test data of reception.Wherein, (f) whether the shown result of field can normal in order to first infrared module, 22 functions that affirmation main frame 20 is had.
Whether consistent transmitting-receiving monitoring module 24 also comprise contrast and transmit and test data (n and the n1) archives that receive function, when contrast receive and dispatch when to transmit with the test data (n and n1) that receives all be consistent monitoring module 24 just the information of meeting video data unanimity in order to as affirmation first infrared module 22 normally functioning affirmation data.
(5) display module 50, are executed in the content of user's operation-interface that the transmitting-receiving monitoring module 24 of main frame 20 provided in order to demonstration.
Please refer to shown in Figure 4ly, be the method flow diagram of the method for the unit infrared ray selftest that the present invention carried, the main step of this method is described and thes contents are as follows:
Main frame 20 receives second infrared module 40 and goes up the connection signal (step 100) that main frame 20 is produced by the universal serial port connection.Above-mentioned connection signal will impel first infrared module 22 that main frame 20 has and connect second infrared module, 40 activations of going up main frame 20 by universal serial port, in order to produce infrared transmission loop (step 110).According at the set related setting of transmitting-receiving monitoring module 24, and utilize transmitting-receiving monitoring module 24 that test data (n) that triggering command impel first infrared module 22 to transmit to be provided by main frame 20 is provided and receive above-mentioned test data (n) by second infrared module 40; Then, transmit the test data (n1) that is provided by main frame 20 by second infrared module 40 and pass through the above-mentioned test data (n1) (step 120) of first infrared module, 22 receptions.Transmitting-receiving monitoring module 24 can carry out respectively the above-mentioned transmission of contrast and reception the capacity of test data (n and n1) whether consistent, carry out the following step (step 130) again:
Inconsistent, then finish all test procedures;
Unanimity, the information of then passing through transmitting-receiving monitoring module 24 video data unanimities offers the user as reference information (step 140) as confirming first infrared module, 22 normally functioning confirmations to be verified.
The above only is the present invention's preferred embodiment wherein, is not to be used for limiting practical range of the present invention; All equalizations of being done without departing from the spirit and scope of the present invention according to the present patent application patent change and modify, and all should belong in the patent claims of the present invention scope required for protection.

Claims (10)

1. the system of a unit infrared ray selftest, wherein this system comprises:
One main frame provides a test data;
One first infrared module is in order to this test data of transmission/reception;
One second infrared module connects upward this main frame by this universal serial port, forms an infrared transmission loop in order to this test data of reception/transmission with this first infrared module;
One transmitting-receiving monitoring module, for being arranged at an operation-interface of this main frame, this transmitting-receiving monitoring module in order to a transmission mode of setting this infrared transmission loop, show a plurality of transmission states and produce a triggering command to carry out a test procedure, this test procedure impels this first infrared module and this second infrared module to carry out transmission respectively and receive this test data according to this triggering command, and normal in order to confirm this first infrared module function for unanimity according to this test data that transmits and receive; And
One display module is in order to show the content of this transmitting-receiving monitoring module.
2. the system of unit infrared ray selftest as claimed in claim 1, wherein this main frame is selected from: optional wherein a kind of in the combination of digital camera, digital camera, personal digital assistant, infrared ray multifunctional paper feeding machine, infrared ray printer, flat computer, mobile computer, desktop PC.
3. the system of unit infrared ray selftest as claimed in claim 1, wherein this second infrared module has: a transceiver, a conversion control circuit, connect a lead and a universal serial port terminal.
4. the system of unit infrared ray selftest as claimed in claim 3, wherein this conversion control circuit also comprises a plurality of light emitting diodes, in order to show this transmission mode.
5. the system of unit infrared ray selftest as claimed in claim 3, the length that wherein should connect lead is handy at least so that this first infrared module and this second infrared module keep maximum transmission coverage.
6. the system of unit infrared ray selftest as claimed in claim 1, execution is triggered when wherein this transmitting-receiving monitoring module is connected to this main frame according to this second infrared module.
7. the system of unit infrared ray selftest as claimed in claim 1, wherein this transmission mode comprises: FIr and SIr.
8. the system of unit infrared ray selftest as claimed in claim 1, wherein this transmission state comprises: the present transmission mode in this infrared transmission loop, finish transmission this test data file capacity, do not finish transmission this test data file capacity, estimate to finish and transmit this test data required time, finish this test data institute's spended time of transmission and transmit whether consistent with this test data of reception.
9. the method for a unit infrared ray selftest, be to utilize one first infrared module of a main frame and connect one second infrared module of going up this main frame by universal serial port to set up an infrared transmission loop in order to test, wherein this method comprises the following step:
Receive this second infrared module and be electrically connected a connection signal that is produced;
Produce this infrared transmission loop;
According to the generation of a triggering command, carry out transmission and receive a test data by this infrared ray loop; And
According to this test data unanimity that transmits and receive, confirm that this first infrared module function is normally also shown.
10. the method for unit infrared ray selftest as claimed in claim 9, wherein this main frame is selected from: optional wherein a kind of in the combination of digital camera, digital camera, personal digital assistant, infrared ray multifunctional paper feeding machine, infrared ray printer, flat computer, mobile computer, desktop PC.
CNB2004100015770A 2004-01-13 2004-01-13 Single-computer infrared self-measuring system and method thereof Expired - Fee Related CN100336028C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100015770A CN100336028C (en) 2004-01-13 2004-01-13 Single-computer infrared self-measuring system and method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100015770A CN100336028C (en) 2004-01-13 2004-01-13 Single-computer infrared self-measuring system and method thereof

Publications (2)

Publication Number Publication Date
CN1641594A CN1641594A (en) 2005-07-20
CN100336028C true CN100336028C (en) 2007-09-05

Family

ID=34867135

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100015770A Expired - Fee Related CN100336028C (en) 2004-01-13 2004-01-13 Single-computer infrared self-measuring system and method thereof

Country Status (1)

Country Link
CN (1) CN100336028C (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453480A (en) * 2016-08-01 2017-02-22 惠州华阳通用电子有限公司 Module level function test and fault diagnosis method for vehicle information system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000020106A (en) * 1998-09-17 2000-04-15 윤종용 System for transmitting/receiving data performing self-test function when transferring infrared data
CN1369791A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for testing communication equipment of computer

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20000020106A (en) * 1998-09-17 2000-04-15 윤종용 System for transmitting/receiving data performing self-test function when transferring infrared data
CN1369791A (en) * 2001-02-14 2002-09-18 英业达股份有限公司 Method for testing communication equipment of computer

Also Published As

Publication number Publication date
CN1641594A (en) 2005-07-20

Similar Documents

Publication Publication Date Title
CN200983158Y (en) A knife management card for computer knife server
CN1506821A (en) Detection and display method and device for computer self-test information
CN1960297A (en) System and method for monitoring device unit on network
CN1842778A (en) Multi-interface data acquisition system and method for use thereof
CN104112413A (en) LED display screen dead pixel point inspection system
CN103107825A (en) Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal
CN102479141A (en) Processing system for monitoring power-on self-test information
CN100336028C (en) Single-computer infrared self-measuring system and method thereof
CN1920848A (en) Method and device for information interaction between host and smart card
CN202535382U (en) Bidirectional data transmission system of industrial controller and human-machine interface
CN101046782A (en) Management device, output device, output method and computer readable medium
CN1583478A (en) Wireless monitoring and fault diagnostic system and method for vehicle
CN1812608A (en) Mobile terminal and starting method thereof
CN201805437U (en) Detection device of baseplate management controller
CN201757856U (en) Automobile blue tooth diagnosis system
CN101377753A (en) Accessory test device and method
CN1190925C (en) Universal serial bus synthesizer and synthesis method
CN202473174U (en) LED display screen test controller
CN102799849A (en) One-dimensional and two-dimensional bar code scanning compatible circuit and conversion method for handheld terminal of Internet of things
CN105718231A (en) KVM (Keyboard Video Mouse) redundancy management system and management method of blade server
CN112540702A (en) Wireless transmission touch coordinate system
CN1949136A (en) Computer and control method thereof
CN201869223U (en) Machine to machine terminal, communication module and data sending device
CN205210873U (en) Extend device
CN2699181Y (en) remote monitoring air conditioner with image transmission function

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

Granted publication date: 20070905

Termination date: 20160113