CN1641594A - Single-computer infrared self-measuring system and method thereof - Google Patents
Single-computer infrared self-measuring system and method thereof Download PDFInfo
- Publication number
- CN1641594A CN1641594A CN 200410001577 CN200410001577A CN1641594A CN 1641594 A CN1641594 A CN 1641594A CN 200410001577 CN200410001577 CN 200410001577 CN 200410001577 A CN200410001577 A CN 200410001577A CN 1641594 A CN1641594 A CN 1641594A
- Authority
- CN
- China
- Prior art keywords
- infrared
- module
- transmission
- test data
- infrared ray
- 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
Images
Landscapes
- Optical Communication System (AREA)
- Selective Calling Equipment (AREA)
Abstract
The invention relates to a single unit infrared self-testing system and the method. It can only use a host computer and a external infrared module to complete the configuration of infrared transmitting loop. And the executing testing program of loop can be used to confirm whether the infrared module function of the host is normal. The system includes a host computer to supply a testing data; a first infrared module to transfer/receive testing data, a second infrared module that connects to host through universal series interface and form a loop with the first infrared module to receive/transfer testing data; a receiving/transferring monitoring module that is a operation interface set in the host used to configure transferring mode of the infrared transferring loop, showing plural transferring state, generate a triggering instruction and run a testing program; and a display module used to show the content of the monitoring module.
Description
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:
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 (11)
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 is for being arranged at an operation-interface of this main frame, 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; 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 test procedure comprises: impel this first infrared module and this second infrared module to carry out respectively and transmit and receive this test data according to this triggering command, and normal in order to confirm this first infrared module function according to this test data that transmits and receive for unanimity.
3. 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.
4. 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.
5. the system of unit infrared ray selftest as claimed in claim 4, wherein this conversion control circuit also comprises a plurality of light emitting diodes, in order to show this transmission mode.
6. the system of unit infrared ray selftest as claimed in claim 4, 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.
7. 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.
8. the system of unit infrared ray selftest as claimed in claim 1, wherein this transmission mode comprises: FIr and SIr.
9. 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.
10. 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;
11. the method for unit infrared ray selftest as claimed in claim 10, 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.
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 true CN1641594A (en) | 2005-07-20 |
CN100336028C 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) |
Cited By (1)
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 |
Family Cites Families (2)
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 |
CN1293471C (en) * | 2001-02-14 | 2007-01-03 | 英业达股份有限公司 | Method for testing communication equipment of computer |
-
2004
- 2004-01-13 CN CNB2004100015770A patent/CN100336028C/en not_active Expired - Fee Related
Cited By (1)
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 |
Also Published As
Publication number | Publication date |
---|---|
CN100336028C (en) | 2007-09-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101957808B (en) | Communication method among various CPUs (Central Processing Units), system and CPU | |
CN200983158Y (en) | A knife management card for computer knife server | |
CN108388532A (en) | The AI operations that configurable hardware calculates power accelerate board and its processing method, server | |
CN1842778A (en) | Multi-interface data acquisition system and method for use thereof | |
CN103107825A (en) | Bluetooth adapter, system and method of realizing mobile terminal controlling operation terminal | |
CN104112413A (en) | LED display screen dead pixel point inspection system | |
CN101080073A (en) | A between-module communication circuit and method of dual-mode communication terminal | |
CN100336028C (en) | Single-computer infrared self-measuring system and method thereof | |
CN1920848A (en) | Method and device for information interaction between host and smart card | |
CN1838568A (en) | Apparatus, system, and method for detecting a fibre channel miscabling event | |
CN202535382U (en) | Bidirectional data transmission system of industrial controller and human-machine interface | |
CN1583478A (en) | Wireless monitoring and fault diagnostic system and method for vehicle | |
CN1417986A (en) | Business intercommunication test method and device for asynchronous transferring mode exchange | |
CN1812608A (en) | Mobile terminal and starting method thereof | |
CN101377753A (en) | Accessory test device and method | |
CN1190925C (en) | Universal serial bus synthesizer and synthesis method | |
CN101969714A (en) | Remote control interface and remote control method of LED driver | |
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 | |
CN209496370U (en) | Button control system | |
CN1949136A (en) | Computer and control method thereof | |
CN201869223U (en) | Machine to machine terminal, communication module and data sending device | |
CN108734935B (en) | Universal multi-source sensor wireless data transmission platform circuit and data transmission method | |
CN1674575A (en) | Semiconductor device/standard semiconductor device communication protocol converter and switching method | |
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 |