CN103095512A - Testing method and device applied to internet telephony system - Google Patents

Testing method and device applied to internet telephony system Download PDF

Info

Publication number
CN103095512A
CN103095512A CN2011103399274A CN201110339927A CN103095512A CN 103095512 A CN103095512 A CN 103095512A CN 2011103399274 A CN2011103399274 A CN 2011103399274A CN 201110339927 A CN201110339927 A CN 201110339927A CN 103095512 A CN103095512 A CN 103095512A
Authority
CN
China
Prior art keywords
electronic installation
electric energy
signal line
energy instruction
numerical value
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.)
Pending
Application number
CN2011103399274A
Other languages
Chinese (zh)
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 CN2011103399274A priority Critical patent/CN103095512A/en
Publication of CN103095512A publication Critical patent/CN103095512A/en
Pending legal-status Critical Current

Links

Images

Abstract

Provided is a testing method and device applied to an internet telephony system. The testing method and device applied to the internet telephony system is used for testing an electric device. The electric device is provided with a truth table and a plurality of signal ports. The testing method applied to the internet telephony system comprises the following steps: utilizing a cable wire to connect the electric device with a power supply generating tool and an internet telephony imitator; utilizing the power supply generating tool to supply the power supply to the electric device; utilizing the internet telephony imitator to provide a first numerical value electric energy instruction to the electric device; judging whether the electric device correctly controls the signal ports according to the first numerical value electric energy instruction and the truth table; utilizing the internet telephony imitator to supply a second numerical value electric energy instruction to the electric device; judging whether the electric device correctly controls the signal ports according to the second numerical value electric energy instruction and the truth table; and when the two judging steps are all met, confirming that the electric device passes the test.

Description

Apply to method of testing and the device of network phone system
Technical field
The present invention relates to a kind of network phone system (IP phone system), and be particularly related to method of testing and the device that applies to network phone system in a kind of.
Background technology
Due to popularizing of network technology, can realize novel telephonic communication technology by network.And the networking telephone (IP phone) is namely to utilize network to transmit data and audio-visual service, and it has low, the low advantage of setting up cost, easily expanding of conversation cost, is therefore adopted by international business gradually.
Please refer to Figure 1A and Figure 1B, its illustrate is existing network telephone system schematic diagram.Networking telephone host computer system 100 comprises a networking telephone main frame 110 and an electronic installation (electronic device) 120.Basically, electronic installation 120 is for choosing outfit, and it optionally is connected to networking telephone main frame 110, makes networking telephone main frame 120 possess more I/O ports and Presentation Function.
Basically, networking telephone main frame 100 itself has expansion port 112 and can be connected other peripheral unit with 114.And electronic installation 120 can also be connected to networking telephone main frame 110, and electronic installation 120 still has more signal ports, and for example DVI image port one 21,122 and USB port 123,124,125,126, can insert more peripheral unit.
Please refer to Fig. 2, its illustrate is the power supply supply schematic diagram of network phone system.In network phone system 100, it is first that the plug 132 of power supply unit (power adapter) 130 inserts alternating current, and provide direct voltage (for example 48V) to networking telephone main frame 110, and networking telephone main frame 110 is connected to electronic installation 120 via cable (spine cable) 116.Wherein, eight signal line are arranged in cable 116, comprising: 5V holding wire (SP_Vbus_5V), two nothings are used holding wire (none), ground signalling line (GND), signal lines (SP_Vbus_Det), single-wire signal line (1-wire), 48V holding wire (SP_48V) and 48V inverse signal line (SP_48V_Ret).
Basically, electronic installation 120 is the power supply unit of oneself not, so the supply of its power supply all relies on networking telephone main frame 110 and provides the 48V direct voltage to electronic installation 120 via the binary signal line in cable 116 (SP_48V and SP_48V_Ret).
Moreover electronic installation 120 inside also comprise a microcontroller 128 and direct current transducer 127.Direct current transducer 127 receives 48V holding wires (SP_48V) and 48V inverse signal lines (SP_48V_Ret), and be converted to multiple direct voltage (for example+5V ,+3.3V ,+1.8V) other circuit element (not illustrating) in supplies electrons device 120 uses.Moreover microcontroller 128 receives 5V holding wire (SP_Vbus_5V), signal lines (SP_Vbus_Det), single-wire signal line (1-wire) and controls.Wherein, microcontroller 128 is that the 5V that utilizes 5V holding wire (SP_Vbus_5V) to provide is used as its power supply, and utilizes the voltage level on signal lines (SP_Vbus_Det) to judge that whether networking telephone main frame 110 inserts.
Because 130 electric energy that can supply of power supply unit are limited, and networking telephone main frame 110 and electronic installation 120 all can connect a plurality of peripheral cells, so networking telephone main frame 110 must carry out power management effectively.
For instance, power supply unit 130 provides the electric energy of 25W to networking telephone main frame 110, and the expansion port 112 of networking telephone main frame 110 connects first peripheral unit (not illustrating) that consumes electric energy 5W, and expansion port 114 connects second peripheral unit (not illustrating) that consumes electric energy 8W.So the multipotency of networking telephone main frame 100 provides 12W (25W-5W-8W=12W) to electronic installation 120, so networking telephone main frame 110 can utilize electric energy instruction that single-wire signal line (1-wire) the transmits 12W microcontroller 128 to the electronic installation 120.
Perhaps, the expansion port 112 of networking telephone main frame 110 connects first peripheral unit (not illustrating) that consumes electric energy 8W, and expansion port 114 does not connect peripheral unit.So the multipotency of networking telephone main frame 100 is carried 17W (25W-8W=17W) to electronic installation 120, so networking telephone main frame 110 can utilize single-wire signal line (1-wire) to transmit the microcontroller 128 of 17W electric energy instruction to the electronic installation 120.
Perhaps, the expansion port 112,114 of networking telephone main frame 110 does not all connect peripheral unit.So the multipotency of networking telephone main frame 100 is carried 25W to electronic installation 120, so networking telephone main frame 110 can utilize single-wire signal line (1-wire) to transmit the microcontroller 128 of 25W electric energy instruction to the electronic installation 120.
When the microcontroller 128 of electronic installation 120 received different electric energy instructions via single-wire signal line (1-wire), microcontroller 128 must carry out suitable adjustment, otherwise can cause the electronic installation 120 can't normal operation.For instance, when microcontroller 128 receives the instruction of 25W electric energy, can with all DVI port ones 21,122 and USB port 123,124,125,126 all start.When microcontroller 128 receives the instruction of 17W electric energy, the DVI port one 21 of opening section, 122 and USB port 123,124,125,126 only.
By above-mentioned explanation as can be known, because the power supply of electronic installation 120 is controlled by networking telephone main frame 110, therefore, the microcontroller 128 of electronic installation 120 need to be controlled DVI port one 21,122 and USB port 123,124,125,126 according to the electric energy instruction that networking telephone main frame 110 sends.
By above explanation as can be known, electronic installation 120 in the process of production test, the networking telephone main frame 110 of must will arranging in pairs or groups.And, need many extra peripheral units, plug the expansion port 112,114 in networking telephone main frame 110 in the process of test, the electric energy instruction that makes networking telephone main frame 110 produce various numerical value.And the tester namely judges according to the electric energy instruction of different numerical value whether electronic installation 120 correctly controls DVI port one 21,122 and USB port 123,124,125,126.
Yet above-mentioned test process is very complicated and expend time in, and the tester need to constantly plug peripheral unit in the expansion port 112,114 of networking telephone main frame 110 just can carry out the test of electronic installation 120.Therefore, the how more efficient test of carrying out electronic installation 120 is the purpose that the present invention wants to reach.
Summary of the invention
The object of the invention is to propose a kind of method of testing and testing apparatus of network computer system, to test an electronic installation.
The present invention proposes a kind of method of testing of network computer system, and electronic installation has a truth table and a plurality of signal port, comprises the following steps: to utilize a cable, and this electronic installation is connected to a power generation instrument and a networking telephone simulator; Utilize this power generation instrument to provide a power supply to this electronic installation; Utilize a networking telephone simulator to provide one first numerical value electric energy instruction to this electronic installation; Judge whether this electronic installation correctly controls those signal ports according to this first numerical value electric energy instruction and this truth table; Utilize this networking telephone simulator to provide a second value electric energy instruction to this electronic installation; Judge whether this electronic installation correctly controls those signal ports according to this second value electric energy instruction and this truth table; And when this two determining step is all successful, confirm that this electronic installation is by test.
The present invention proposes a kind of testing apparatus that applies to network phone system, be connected in an electronic installation of this network phone system, and this electronic installation comprises a plurality of signal ports, this testing apparatus comprises: a power supply unit, have a plug and receive an AC power, and be converted to a direct current power supply; The power generation instrument be connected to this power supply unit receiving this DC power supply and to produce one first voltage, and this power generation instrument includes one first voltage signal line and one first voltage inverse signal line; And a networking telephone simulator, have a single-wire signal line, and can be by the electric energy instruction of a plurality of different numerical value of this single-wire signal line output; Wherein, this electronic installation be connected in this first voltage signal line, this first voltage inverse signal line, with this single-wire signal line, make this electronic installation control according to the electric energy instruction of those different numerical value the number that those signal ports open and close and judge according to this whether normal operation of this electronic installation.
Describe the present invention below in conjunction with the drawings and specific embodiments, but not as a limitation of the invention.
Description of drawings
Figure 1A and Figure 1B illustrate are existing network telephone system schematic diagram;
Fig. 2 illustrate is the power supply supply schematic diagram of network phone system;
Fig. 3 illustrate is the testing apparatus of network computer system of the present invention;
The truth table schematic diagram of Fig. 4 illustrate for storing in microcontroller;
Fig. 5 illustrate is the test flow chart of network computer system of the present invention.
Wherein, Reference numeral
100: networking telephone host computer system
110: networking telephone main frame
112,114: expansion port
116: cable
120: electronic installation
121,122:DVI port
123,124,125,126:USB port
127: direct current transducer
128: microcontroller
130: power supply unit
132: plug
310: the power generation instrument
320: electronic installation
321,322:DVI port
323,324,325,326:USB port
327: direct current transducer
328: microcontroller
329: truth table
350: networking telephone simulator
352: processor
354: control button
Embodiment
Below in conjunction with accompanying drawing, structural principle of the present invention and operation principle are done concrete description:
Please refer to Fig. 3, its illustrate is the testing apparatus of network computer system of the present invention.This testing apparatus is the test that applies to electronic installation 320.As shown in the figure, electronic installation 320 comprises a microcontroller 328, direct current transducer 327, DVI port 321,322, USB port 323,324,325,326.Direct current transducer 127 is connected to 48V holding wire (SP_48V) and 48V inverse signal line (SP_48V_Ret), and is converted to multiple direct voltage, and+5V can provide USB port 323,324,325,326 to use.Moreover microcontroller 128 receives 5V holding wire (SP_Vbus_5V), signal lines (SP_Vbus_Det), single-wire signal line (1-wire) and controls.Wherein, microcontroller 128 is that the 5V that utilizes 5V holding wire (SP_Vbus_5V) to provide is used as its power supply, and utilizes the voltage level on signal lines (SP_Vbus_Det) to judge that whether networking telephone main frame 110 inserts.And truth table 329 makes microcontroller 329 can control according to this DVI port 321,322, USB port 323,324,325,326.
According to embodiments of the invention, the testing apparatus of network computer system comprises a power supply unit 330, power generation instrument 310, networking telephone simulator (IP phone simulator) 350.The plug 332 of power supply unit 330 inserts AC power, and provides DC power supply to power generation instrument 310.And power supply transfer instrument 310 is converted to the direct voltage that power supply unit 330 provides+5V and+48V, wherein+5V is exported by 5V holding wire (SP_Vbus_5V), + 48V is by 48V holding wire (SP_48V) and 48V inverse signal line (SP_48V_Ret) output, and earthed voltage is exported by ground signalling line (GND).
Moreover networking telephone simulator 350 comprises that a processor 352 (for example 8051 single-chip processors) and a control button 354 are connected to processor 352.Wherein, processor 352 provides voltage level to judge by electronic installation 320 via signal lines (SP_Vbus_Det).And pressure that utilize to control button 354 is pressed, can be so that processor 352 have a plurality of states, and a plurality of state can correspond to the electric energy instruction of a plurality of numerical value and is passed to electronic installation 320 via single-wire signal line (1-wire).
That is to say, the present invention utilizes networking telephone simulator 350 to produce different electric energy instructions, makes electronic installation 320 control according to this DVI port one 21,122 and USB port 123,124,125,126.
Please refer to Fig. 4, truth table (true table) schematic diagram of its illustrate for storing in microcontroller.And when recording different energy states in truth table, the DVI port 321,322 of required control, USB port 323,324,325,326.For instance, when the numerical value of supposing the electric energy instruction is 25W, represent full energy state (fully power), DVI2 port 322, USB port 323,324,325,326 are all opened at this moment, and USB port can provide maximum electric current (for example 500mA).
Perhaps, when supposing the little 10W of numerical value of electric energy instruction, represent minimum energy state (minimum power), this moment DVI2 port 322 be closed, USB1 port 323 opens, USB port 324,325,326 Close Alls, and the USB1 port only can provide minimum limit electric current (for example 100mA).The control of other energy state repeats no more.
By above explanation as can be known, the present invention utilizes electric energy instruction that networking telephone simulator 350 produces different numerical value to electronic installation 320, makes electronic installation 320 can carry out DVI port 321,322, USB port 323,324,325,326 control.And the tester only needs according to DVI port 321,322, USB port 323,324,325,326 unlatching or closes to judge that electronic installation 320 could be by test.
Please refer to Fig. 5, its illustrate is the test flow chart of network computer system of the present invention.This testing process is the test that applies to electronic installation 320.As shown in the figure, electronic installation 320 is utilized cable be connected to power generation instrument 310 and networking telephone simulator 350.Then, utilize power generation instrument 310 to provide 48V and 5V power supply to electronic installation 320 (step S510).Then, utilize networking telephone simulator 350 that one first numerical value electric energy instruction (step S512) is provided.At this moment, the tester can judge whether correct control DVI port 321,322, USB port 323,324,325 of electronic installation 320 according to truth table, and determines that whether electronic installation is by test (step S514).When the correct control DVI port 321,322 of electronic installation 320, USB port 323,324,325 the time, namely by test; Otherwise, be test crash (step S516).
In by after step S514, utilize networking telephone simulator 350 that a second value electric energy instruction (step S518) is provided again.At this moment, the tester judges whether correct control DVI port 321,322, USB port 323,324,325 of electronic installation 320 according to truth table, and determines that whether electronic installation is by test (step S520).When the correct control DVI port 321,322 of electronic installation 320, USB port 323,324,325 the time, namely by test; Otherwise, be test crash (step S516).
After passing through step S520, namely definite electronic installation 320 is tested successfully (step S522), and finishes testing process.The tester can take another electronic installation 320 testing process of execution graph 5 again.And according to embodiments of the invention, the electric energy instruction of the first numerical value is the electric energy instruction of 25W, and the electric energy instruction of second value is the electric energy instruction of 10W.Certainly, the present invention does not limit two electric energy instructions only is provided, and the electric energy instruction of most values also can be provided and judge the personnel of this technical field.
Therefore, the invention has the advantages that to propose a kind of method of testing and device that applies to network phone system, not needing to utilize networking telephone main frame is testable electronic device, and the test of carrying out electronic installation more convenient and efficiently.
Certainly; the present invention also can have other various embodiments; in the situation that do not deviate from spirit of the present invention and essence thereof; those of ordinary skill in the art work as can make according to the present invention various corresponding changes and distortion, but these corresponding changes and distortion all should belong to the protection range of the appended claim of the present invention.

Claims (9)

1. the method for testing of a network computer system, to test an electronic installation, this electronic installation has a truth table and a plurality of signal port, it is characterized in that, comprises the following steps:
Utilize a cable, this electronic installation is connected to a power generation instrument and a networking telephone simulator;
Utilize this power generation instrument to provide a power supply to this electronic installation;
Utilize a networking telephone simulator to provide one first numerical value electric energy instruction to this electronic installation;
Judge whether this electronic installation correctly controls those signal ports according to this first numerical value electric energy instruction and this truth table;
Utilize this networking telephone simulator to provide a second value electric energy instruction to this electronic installation;
Judge whether this electronic installation correctly controls those signal ports according to this second value electric energy instruction and this truth table; And
When this two determining step is all successful, confirm that this electronic installation is by test.
2. the method for testing of network computer system according to claim 1, is characterized in that, those signal ports comprise the USB port of DVI port and second number of the first number.
3. the method for testing of network computer system according to claim 1, is characterized in that, this power generation instrument provides 48V and 5V power supply to this electronic installation.
4. the method for testing of network computer system according to claim 1, is characterized in that, this networking telephone simulator utilizes the single-wire signal line in this cable that this first numerical value electric energy instruction and this second value electric energy instruction are provided.
5. testing apparatus that applies to network phone system is connected in an electronic installation of this network phone system, and this electronic installation comprises a plurality of signal ports, it is characterized in that, this testing apparatus comprises:
One power supply unit has a plug and receives an AC power, and is converted to a direct current power supply;
The power generation instrument be connected to this power supply unit receiving this DC power supply and to produce one first voltage, and this power generation instrument includes one first voltage signal line and one first voltage inverse signal line; And
One networking telephone simulator has a single-wire signal line, and is exported the electric energy instruction of a plurality of different numerical value by this single-wire signal line;
Wherein, this electronic installation be connected in this first voltage signal line, this first voltage inverse signal line, with this single-wire signal line, make this electronic installation control according to the electric energy instruction of those different numerical value the number that those signal ports open and close and judge according to this whether normal operation of this electronic installation.
6. the testing apparatus that applies to network phone system according to claim 5, it is characterized in that, this networking telephone simulator comprises that a control button and a processor are connected to this control button, wherein, utilize pressing of this control button to produce a plurality of states, make this processor produce the electric energy instruction of those different numerical value in different states.
7. the testing apparatus that applies to network phone system according to claim 5, it is characterized in that, this electronic installation comprises a microcontroller and a truth table, and this microcontroller receives the electric energy instruction of those different numerical value and the number that decides those signal ports to open and close according to this truth table.
8. the testing apparatus that applies to network phone system according to claim 7, it is characterized in that, this electronic installation comprises that also a direct current transducer is connected to this first voltage signal line and this first voltage inverse signal line, and produces a second voltage in order to supply those signal ports.
9. the testing apparatus that applies to network phone system according to claim 5, is characterized in that, those signal ports of this electronic installation are USB port and DVI port.
CN2011103399274A 2011-11-01 2011-11-01 Testing method and device applied to internet telephony system Pending CN103095512A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011103399274A CN103095512A (en) 2011-11-01 2011-11-01 Testing method and device applied to internet telephony system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011103399274A CN103095512A (en) 2011-11-01 2011-11-01 Testing method and device applied to internet telephony system

Publications (1)

Publication Number Publication Date
CN103095512A true CN103095512A (en) 2013-05-08

Family

ID=48207672

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011103399274A Pending CN103095512A (en) 2011-11-01 2011-11-01 Testing method and device applied to internet telephony system

Country Status (1)

Country Link
CN (1) CN103095512A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI279105B (en) * 2004-03-18 2007-04-11 Accton Technology Corp Network device
TW200737856A (en) * 2006-03-24 2007-10-01 Arcadyan Technology Corp Testing system and method for VoIP network gateway
CN101695071A (en) * 2009-09-30 2010-04-14 杭州华三通信技术有限公司 Registration method of internet protocol telephone terminal and equipment thereof

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWI279105B (en) * 2004-03-18 2007-04-11 Accton Technology Corp Network device
TW200737856A (en) * 2006-03-24 2007-10-01 Arcadyan Technology Corp Testing system and method for VoIP network gateway
CN101695071A (en) * 2009-09-30 2010-04-14 杭州华三通信技术有限公司 Registration method of internet protocol telephone terminal and equipment thereof

Similar Documents

Publication Publication Date Title
CN103117490B (en) The control method of usb hub and usb hub
CN102138134B (en) Intelligent power-enabled communications port
CN103944739B (en) Intelligent POE electric supply systems and its efficient POE method for managing power supply
TW201319601A (en) Testing method and apparatus applied to IP phone system
CN104063348B (en) Realize the device and method of compatible USB communications and voice communication
CN102868820A (en) Mobile terminal, primary data communication device and mobile terminal charging system and method
CN104932962B (en) A kind of USB plugs test system and its method
CN105610586B (en) A kind of serial ports design circuit for the non-isolated power supply system meeting Power over Ethernet
CN103344863A (en) Mobile terminal testing method and mobile terminal testing system
CN106998253A (en) Power supply equipment and power supply method of Ethernet power supply system
CN105071484B (en) A kind of charging method and device of the terminal with data exchanging function
CN107608847A (en) Electronic equipment and its control method and control device
CN109428727A (en) The power-economizing method of power supply unit and Power over Ethernet
CN107577628A (en) A kind of adapter and forwarding method for supporting OCPA standard interfaces
CN108599530A (en) A kind of powering mode converter and powering mode conversion method
CN101573676B (en) Power control for serial bus peripheral device
CN102455965A (en) Electronic device test system and method
CN207319223U (en) Computing switching device based on PCIE X16-MXM
CN103095512A (en) Testing method and device applied to internet telephony system
CN100559761C (en) Network testing device and method
CN106155254B (en) Method, electronic equipment and the system equipment of power management
CN101276305B (en) Automatic test system and method
CN104778144B (en) Intelligent terminal method of controlling operation thereof and device based on OTG
CN102263514A (en) Direct current regulated power supply apparatus
CN207743706U (en) Terminal device and power supply adaptor

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20130508