CN201114289Y - Computer device for acquiring or controlling telephone line operating status by sound card - Google Patents

Computer device for acquiring or controlling telephone line operating status by sound card Download PDF

Info

Publication number
CN201114289Y
CN201114289Y CNU2007200263055U CN200720026305U CN201114289Y CN 201114289 Y CN201114289 Y CN 201114289Y CN U2007200263055 U CNU2007200263055 U CN U2007200263055U CN 200720026305 U CN200720026305 U CN 200720026305U CN 201114289 Y CN201114289 Y CN 201114289Y
Authority
CN
China
Prior art keywords
signal
computer
sound card
telephone wire
telephone line
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
CNU2007200263055U
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNU2007200263055U priority Critical patent/CN201114289Y/en
Application granted granted Critical
Publication of CN201114289Y publication Critical patent/CN201114289Y/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)

Abstract

The utility model discloses a device in which a computer obtains or controls the working state of a telephone line through a sound card. The device solves the problems that an extra integrated circuit board which needs to be designed transmits signals to the computer when the computer controls telephone line signals at present, causing the inadequacy of computer interior interfaces, influencing the expansibility and increasing the cost. The device has the advantages that the structure is simple, the operation is convenient, the prior sound card can be used to control the telephone line signals without designing the integrated circuit board once again and an additional computer interface can not be occupied. The structure is as follows: the device comprises the computer which is provided with the sound card, the input end of which is connected with the output end of a telephone line audio signal processor, the input end of the processor is connected with the telephone line, wherein, the telephone line audio signal processor comprises a preposing signal process circuit, a signal isolation transformer, an impedance matching and an anti-sidetone circuit.

Description

Computer obtains or controls the device of telephone wire operating state by sound card
Technical field
The utility model relates to a kind of communication technique field, relates in particular to a kind of computer obtained or controlled the telephone wire operating state by sound card device, and said here telephone wire is meant normally used simulation two wires telephone wire among China PSTN.
Background technology
The state information of phone is delivered on the computer convenient these information of management; Action such as the dislodging machine by the computer control phone and dialing has simultaneously realized the integrated of computer technology and telecommunication technology, usually said CTI (ComputerTelecommunication Integration) technology that Here it is.The realization of CTI technology generally is to adopt the computer expansion board clamping to add the pattern of computer.Expansion board clamping wherein is exactly the interface circuit of phone.But because this interface circuit need increase the high circuit board of extra cost, need take interface few in number in the computer, other expanded functions of computer are restricted.
Summary of the invention
The purpose of this utility model is exactly need design extra integrated circuit board in order to solve when computerizeing control telephone wires signals at present, its signal is sent into computer, cause the anxiety of computer-internal interface, influence its autgmentability, increase the problem of its cost, provide a kind of have simple in structure, easy to use, do not need from new design integrated circuit board, directly utilize existing sound card, can realize telephone wires signals is controlled, the computer that does not take new advantages such as computer interface obtains or controls the device of telephone wire operating state by sound card.
For achieving the above object, the utility model adopts following technical scheme:
A kind of computer obtains or controls the device of telephone wire operating state by sound card, it comprises computer, and sound card is installed on the computer, and described sound card input is connected with telephone wire audio signal processor output, and the input of this processor is connected with telephone wire; Wherein the telephone wire audio signal processor is made up of preposing signal process circuit, Signal Spacing transformer and impedance matching and anti-side-tone circuit.
Described preposing signal process circuit comprises output plug J1 and input plug J2, and they are connected with Signal Spacing transformer input side respectively, are respectively equipped with capacitor C 1 and capacitor C 2 on input side two inlet wires of isolating transformer; Also be parallel with two electric capacity and a single-pole double-throw switch (SPDT) S1 of series connection between plug J2 two outputs, another output of single-pole double-throw switch (SPDT) S1 is connected with capacitor C 2, the output of plug J2 is connected with bridge rectifier one end of being made up of diode D1-D4 simultaneously, this bridge rectifier other end is connected with capacitor C 2, all the other two ends of bridge rectifier connect by triode Q2 forms every alternating current circuit, light-emitting diode D6 simultaneously connects on the collector electrode of triode Q2.
Described impedance matching and anti-side-tone circuit consist of, isolating transformer output one end ground connection, the other end is connected with the base stage of triode Q1 through capacitor C 3, the resistance R 1 of series connection, should also be connected by end simultaneously with resistance R 5, in base stage and inter-collector series resistor R2 and the resistance R 3 of triode Q1, they both also through capacitor C 4 ground connection; Collector electrode also is connected with plug J4; Serial connection electric capacity R5, R6 between the base stage of triode Q1 and emitter, electric capacity R5, R6 also are connected with plug J3, and emitter is through resistance R 7 ground connection.
Method of work of the present utility model is,
(1) coupling and impedance matching and the anti-side-tone circuit sound card that handle after enter computer of the audio signal on the telephone wire by preposing signal process circuit, signal transformer;
(2) computer utilizes software that this signal is analyzed, and obtains the relevant work state of telephone wire;
(3) computer is handled the audio signal of needs storage, stores this audio signal into hard disk, finishes sound-recording function;
(4) by can realizing the function of modulator-demodulator to the handling procedure of voice, and then realization and traditional mutual fax sending and receiving of facsimile machine;
(5) when needs are externally operated, computer utilizes software to play the DTMF touch-tone signal by sound card, and this signal enters telephone wire by the telephone wire audio signal processor and realizes that the control telephone wire outwards dials.
The signal that sound card receives in the described step (1) comprises the signal of bell signal, FSK frequency shift keying form caller ID display information, the signal of DTMF dual-tone multifrequency form caller ID display information, the signal of dialing tone, the signal of busy tone, the signal of ring-back tone.
In the step (2), computer to the processing procedure of telephone wires signals is, computer is sent the audio-frequency information that sound card receives into buffer memory, adopts the spectrum analysis determination methods to handle to bell signal wherein, the signal of DTMF dual-tone multifrequency form caller ID display information, the signal of dialing tone, the signal of busy tone, the signal of ring-back tone respectively; Signal to wherein FSK frequency shift keying form caller ID display information carries out demodulation process; Signal after above-mentioned two steps of process handle is by computer output and determine the telephone wire state.
The spectrum analysis determination methods is, computer utilizes software to adopt DFT algorithm or fft algorithm or Goertzel algorithm, the energy value of each frequency component is calculated, and these Frequency points comprise that member's frequency of ringing-current, dialing tone, dtmf signal, a dtmf signal be made up of the frequency of a high tone cluster and the frequency of a low tone cluster; Then each signal validity is analyzed:
When the energy of the frequency component of 25Hz had comparative advantage, promptly other all frequency energy value sums of the energy value Dayu of 25Hz promptly had been judged to be ringing signal;
When the energy of the frequency component of 450Hz had comparative advantage, promptly other all frequency energy value sums of the energy value Dayu of 450Hz promptly had been judged to be the dialing tone frequency, and this frequency continues to occur promptly to be judged to be the dialing tone signal when kind was above in 2 seconds;
When the dialing tone frequency occurs by 0.3 rule that had do not have in 0.3 second, promptly be judged to be busy-back signal;
When the dialing tone frequency occurs by the rule that 4 seconds nothings were arranged in 1 second, promptly be judged to be ringing tone signal;
When the energy of two frequencies in member's frequency of dtmf signal has comparative advantage, i.e. the energy value Dayu of any one other all frequency energy value sums except that another frequency in two frequencies; Promptly judging has dtmf signal, surpasses the effective dtmf code information that promptly has been judged to be more than 50 milliseconds when this signal duration; Duration can begin to handle a new dtmf signal above judging promptly more than 50 milliseconds that the dtmf code information processing finishes after dtmf signal disappears.
The demodulation method of fsk signal is, adopts band pass filter that 1200Hz is passed through to the signal between the 2200Hz, and other frequency filters; Time-delay then is with 1/4 cycle of the whole time-delay of signal carrier frequency; To delay time again before with the time-delay after two signal multiplications, obtain the profuse signal of frequency component, wherein just comprise want demodulation export baseband signal; Pass through by baseband signal with low pass filter, other frequency is filtered, obtain baseband signal; Carry out threshold judgement then, thresholding is set adjudicates, what be higher than thresholding is judged to 1, and what be lower than thresholding is judged to 0, and the binary data string was both come out by demodulation like this; Adopt protocal analysis, comprise data type, data length, time parameter, dialing number information, checking data etc. in the binary data that demodulation is come out, it is extracted one by one, for showing that demodulation result uses according to agreement.
In the step (5), when needing externally to send dtmf signal, by the definite content that will send of computer, utilize software to produce single audio signal then, the amplitude of two audio frequency of this signal is adjusted back two single audio frequency combination in the ratio of GB, send into then in the buffer memory, send into computer sound card again, by sound card signal is sent into the telephone wire audio signal processor, the control telephone wires signals.
The utility model enters the sound card of computer with the audio signal sample on the telephone wire, and computer is analyzed this signal, just can obtain some operating state of telephone wire; Computer can be play DTMF (dual-tone multifrequency) signal by sound card, and this signal enters telephone wire can realize that controlling telephone wire outwards dials.Audio signal on the telephone wire can be by the sound card that is coupled into computer of signal transformer, and the telephone wire state that can detect has: the having or not of the having or not of the having or not of have that it's too late content, the dialing tone of have that it's too late content, DTMF (dual-tone multifrequency) the form caller ID display information of ring, FSK (frequency shift keying) form caller ID display information, busy tone, ring-back tone.The audio signal of simultaneous computer on can the storing call line is to realize sound-recording function.
Computer can be play DTMF (dual-tone multifrequency) signal by sound card, and this signal can realize controlling the outwards function of dialing of telephone wire by the transformer coupled telephone wire that enters.Simultaneously also the ordinary audio file can be play, this document can be heard by phone.
Can be implemented in thus on the computer display of calling number information, calling record to computer, the outside function such as dialing of computer control telephone wire; By can realizing the function of modulator-demodulator to the handling procedure of voice, and then realization and traditional mutual fax sending and receiving of facsimile machine; Can realize the function that just has such as call centers such as the ejection of: customer data incoming call, click dialing, calling records in conjunction with CRM software.
Description of drawings
Fig. 1 receives hardware block diagram for the utility model signal;
Fig. 2 is a signal receiving software process chart of the present utility model;
Fig. 3 is that signal of the present utility model sends the software processes flow chart;
Fig. 4 is a telephone wire audio signal processor electrical schematic diagram.
Wherein, 1. computer, 2. sound card, 3. telephone wire audio signal processor, 4. signal coupling transformer, 5. impedance matching and anti-side-tone circuit, 6. telephone wire, 7. preposing signal process circuit.
Embodiment
The utility model is described in further detail below in conjunction with accompanying drawing and embodiment.
Among Fig. 1, the utility model comprises computer 1, and sound card 2 is installed on the computer, and sound card 2 inputs are connected with telephone wire audio signal processor 3 outputs, and the input of this processor is connected with telephone wire 6; Wherein the telephone wire audio signal processor is made up of preposing signal process circuit 7, Signal Spacing transformer 4 and impedance matching and anti-side-tone circuit 5.
Preposing signal process circuit 7 comprises output plug J1 and input plug J2, and they are connected with Signal Spacing transformer 4 input sides respectively, are respectively equipped with capacitor C 1 and capacitor C 2 on input side two inlet wires of isolating transformer 4; Also be parallel with two electric capacity and a single-pole double-throw switch (SPDT) S1 of series connection between plug J2 two outputs, another output of single-pole double-throw switch (SPDT) S1 is connected with capacitor C 2, the output of plug J2 is connected with bridge rectifier one end of being made up of diode D1-D4 simultaneously, this bridge rectifier other end is connected with capacitor C 2, all the other two ends of bridge rectifier connect the amplifying circuit of being made up of triode Q2, simultaneously series connection light-emitting diode D6 on the collector electrode of triode Q2.Preposing signal process circuit, can realize the sound filtering on the telephone wire, make telephone set can only hear the sound that computer sound card sends, and can not hear sound from telephone wire, the sound that the while telephone set sends also can only arrive computer sound card and can not be sent on the telephone wire, and whether the unlatching of this function is by switch S 1 control.Signal and signal coupling transformer with telephone wire separates with electric capacity C1, C2 simultaneously, cuts off the direct current signal on the telephone wire, makes it can not the entering signal coupling transformer.
Signal coupling transformer 4 former secondary coil D.C. resistance sums are 196 ohm.
Impedance matching and anti-side-tone circuit 5 consist of, isolating transformer output one end ground connection, the other end is connected with the base stage of triode Q1 through capacitor C 3, the resistance R 1 of series connection, should also be connected by end simultaneously with resistance R 5, in base stage and inter-collector series resistor R2 and the resistance R 3 of triode Q1, they both also through capacitor C 4 ground connection; Collector electrode also is connected with plug J4; Serial connection electric capacity R5, R6 between the base stage of triode Q1 and emitter, electric capacity R5, R6 also are connected with plug J3, and emitter is through resistance R 7 ground connection.The output of amplifying circuit enters sound card inside, and its resistance value is the matched impedance of sound card input.The signal of sound card output carries out subtraction, the input of the sound card that the sound that makes sound card export is no longer imported by base stage and the emitter-base bandgap grading that C5 R5 in parallel and R6 are input to the amplifying circuit triode respectively.
Method of work of the present utility model is,
(1) coupling and impedance matching and the anti-side-tone circuit sound card that handle after enter computer of the audio signal on the telephone wire by preposing signal process circuit, signal transformer;
(2) computer utilizes software that this signal is analyzed, and obtains the relevant work state of telephone wire;
(3) computer is handled the audio signal of needs storage, stores this audio signal into hard disk, finishes sound-recording function;
(4) by can realizing the function of modulator-demodulator to the handling procedure of voice, and then realization and traditional mutual fax sending and receiving of facsimile machine;
(5) when needs are externally operated, computer utilizes software to play the DTMF touch-tone signal by sound card, and this signal enters telephone wire by the telephone wire audio signal processor and realizes that the control telephone wire outwards dials.
The signal that sound card receives in the described step (1) comprises the signal of bell signal, FSK frequency shift keying form caller ID display information, the signal of DTMF dual-tone multifrequency form caller ID display information, the signal of dialing tone, the signal of busy tone, the signal of ring-back tone.
In the step (2), computer to the processing procedure of telephone wires signals is, computer is sent the audio-frequency information that sound card receives into buffer memory, adopts the spectrum analysis determination methods to handle to bell signal wherein, the signal of DTMF dual-tone multifrequency form caller ID display information, the signal of dialing tone, the signal of busy tone, the signal of ring-back tone respectively; Signal to wherein FSK frequency shift keying form caller ID display information carries out demodulation process; Signal after above-mentioned two steps of process handle is by computer output and determine the telephone wire state.
The spectrum analysis determination methods is, computer utilizes software to adopt DFT algorithm or fft algorithm or Goertzel algorithm, the energy value of each frequency component is calculated, these Frequency points comprise ringing-current (GB is 25Hz), dialing tone (GB is 450Hz), member's frequency of dtmf signal (low tone cluster: 697Hz, 770Hz, 852Hz, 941Hz, high tone cluster: 1209Hz, 1336Hz, 1477Hz, 1633Hz), a dtmf signal is made up of the frequency of a high tone cluster and the frequency of a low tone cluster; Then each signal validity is analyzed:
When the energy of the frequency component of 25Hz had comparative advantage, promptly other all frequency energy value sums of the energy value Dayu of 25Hz promptly had been judged to be ringing signal;
When the energy of the frequency component of 450Hz had comparative advantage, promptly other all frequency energy value sums of the energy value Dayu of 450Hz promptly had been judged to be the dialing tone frequency, and this frequency continues to occur promptly to be judged to be the dialing tone signal when kind was above in 2 seconds;
When the dialing tone frequency occurs by 0.3 rule that had do not have in 0.3 second, promptly be judged to be busy-back signal;
When the dialing tone frequency occurs by the rule that 4 seconds nothings were arranged in 1 second, promptly be judged to be ringing tone signal;
When the energy of two frequencies in member's frequency of dtmf signal has comparative advantage, i.e. the energy value Dayu of any one other all frequency energy value sums except that another frequency in two frequencies; Promptly judging has dtmf signal, surpasses the effective dtmf code information that promptly has been judged to be more than 50 milliseconds when this signal duration; Duration can begin to handle a new dtmf signal above judging promptly more than 50 milliseconds that the dtmf code information processing finishes after dtmf signal disappears.
Because the modulation system of FSK caller ID display information is prolonged the standard V.23 with ITU-T, and 1200Hz represents binary " 1 ", 2200Hz represents binary " 0 ", carrier frequency 1700Hz, data rate 1200 bauds in China.Therefore, the demodulation method of fsk signal is, adopts band pass filter that 1200Hz is passed through to the signal between the 2200Hz, and other frequency filters; Time-delay then is with 1/4 cycle of the whole time-delay of signal carrier frequency; To delay time again before with the time-delay after two signal multiplications, obtain the profuse signal of frequency component, wherein just comprise want demodulation export baseband signal; Pass through by baseband signal with low pass filter, other frequency is filtered, obtain baseband signal; Carry out threshold judgement then, thresholding is set adjudicates, what be higher than thresholding is judged to 1, and what be lower than thresholding is judged to 0, and the binary data string was both come out by demodulation like this; Adopt protocal analysis, comprise data type, data length, time parameter, dialing number information, checking data etc. in the binary data that demodulation is come out, it is extracted one by one, for showing that demodulation result uses according to agreement.
In the step step (5), when needing externally to send dtmf signal, by the definite content that will send of computer, utilize software to produce single audio signal then, the amplitude of two audio frequency of this signal is adjusted back two single audio frequency combination in the ratio of GB, send into then in the buffer memory, send into computer sound card again, by sound card signal is sent into the telephone wire audio signal processor, the control telephone wires signals.

Claims (3)

1, a kind of computer obtains or controls the device of telephone wire operating state by sound card, it comprises computer (1), sound card (2) is installed on the computer, it is characterized in that: described sound card (2) input is connected with telephone wire audio signal processor (3) output, and the input of this processor is connected with telephone wire (6); Wherein the telephone wire audio signal processor is made up of preposing signal process circuit (7), Signal Spacing transformer (4) and impedance matching and anti-side-tone circuit (5).
2, computer according to claim 1 obtains or controls the device of telephone wire operating state by sound card, it is characterized in that: described preposing signal process circuit (7) comprises output plug J1 and input plug J2, they are connected with Signal Spacing transformer (4) input side respectively, are respectively equipped with capacitor C 1 and capacitor C 2 on input side two inlet wires of isolating transformer (4); Also be parallel with two electric capacity and a single-pole double-throw switch (SPDT) S1 of series connection between plug J2 two outputs, another output of single-pole double-throw switch (SPDT) S1 is connected with capacitor C 2, the output of plug J2 is connected with bridge rectifier one end of being made up of diode D1-D4 simultaneously, this bridge rectifier other end is connected with capacitor C 2, all the other two ends of bridge rectifier connect by triode Q2 forms every alternating current circuit, light-emitting diode D6 simultaneously connects on the collector electrode of triode Q2.
3, computer according to claim 1 obtains or controls the device of telephone wire operating state by sound card, it is characterized in that: described impedance matching and anti-side-tone circuit (5) consist of, isolating transformer (4) output one end ground connection, the other end is connected with the base stage of triode Q1 through capacitor C 3, the resistance R 1 of series connection, should also be connected by end simultaneously with resistance R 5, in base stage and inter-collector series resistor R2 and the resistance R 3 of triode Q1, they both also through capacitor C 4 ground connection; Collector electrode also is connected with plug J4; Serial connection electric capacity R5, R6 between the base stage of triode Q1 and emitter, electric capacity R5, R6 also are connected with plug J3, and emitter is through resistance R 7 ground connection.
CNU2007200263055U 2007-08-09 2007-08-09 Computer device for acquiring or controlling telephone line operating status by sound card Expired - Fee Related CN201114289Y (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNU2007200263055U CN201114289Y (en) 2007-08-09 2007-08-09 Computer device for acquiring or controlling telephone line operating status by sound card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNU2007200263055U CN201114289Y (en) 2007-08-09 2007-08-09 Computer device for acquiring or controlling telephone line operating status by sound card

Publications (1)

Publication Number Publication Date
CN201114289Y true CN201114289Y (en) 2008-09-10

Family

ID=39966038

Family Applications (1)

Application Number Title Priority Date Filing Date
CNU2007200263055U Expired - Fee Related CN201114289Y (en) 2007-08-09 2007-08-09 Computer device for acquiring or controlling telephone line operating status by sound card

Country Status (1)

Country Link
CN (1) CN201114289Y (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115100B (en) * 2007-08-09 2012-08-22 衣杰伟 Apparatus and method for computer to obtain or control working condition of phone line through sound card

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101115100B (en) * 2007-08-09 2012-08-22 衣杰伟 Apparatus and method for computer to obtain or control working condition of phone line through sound card

Similar Documents

Publication Publication Date Title
CN104320529A (en) Information receiving processing method and voice communication device
CN101163119B (en) Method of processing user voice dialing in access gateway
CN1984171B (en) System and method for realizing speech apparatus function test
CN101115100B (en) Apparatus and method for computer to obtain or control working condition of phone line through sound card
CN106453927A (en) A number state automatic identification method and apparatus based on a PSTN network
CN201114289Y (en) Computer device for acquiring or controlling telephone line operating status by sound card
US6347134B1 (en) Recording and playing voicemail with improved DTMF detection
CN105430145B (en) Merge the intelligent telephone set and the means of communication of 4G, PSTN and VOIP
CN104735811B (en) A kind of secondary-dialing method and radio reception device based on wireless access system
CN102624585A (en) Analog conversation method based on gateway terminal equipment and voice device detection device
TWI418206B (en) Automatic call transfer system and method allowing online editing
CN201557157U (en) On-line operating state monitoring device for fixed telephone
CN100396067C (en) DTMF (double-tone multifrequency) signal receiving method and apparatus
CN100407739C (en) Method for implementing No-disturbing service based on VOIP gateway
CN201515424U (en) Embedded phone system playing voice according to keystroke
JPS59133761A (en) Subscriber telephone system
CN202231767U (en) Harassing call identifying system
CN201789549U (en) Telephone interface of industrial intercom
CN100456759C (en) Method for realizing dual-tone multifrequency signal silence
CN101873368B (en) Method, the Apparatus and system of PSTN and mobile radio network dialing
CN1093365C (en) Remote subscriber module capable of processing internal call and method for controlling the same
CN2613952Y (en) Apparatus for collecting real communication process and state data of any telephone number
CN1486065A (en) Method for implementing Alarm-call Service based on VOIP gateway
US20010036197A1 (en) Adapter apparatus and network system using the same
CN100461680C (en) Display system and method for incoming telephone number for digital program controlled user exchanger

Legal Events

Date Code Title Description
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: 20080910

Termination date: 20090909