Background technology
For example personal communications terminals such as fixed line telephone set, GSM mobile handset, 3G mobile are quite universal at present, and many people not only are furnished with the fixed line telephone set but also are furnished with mobile phone.The fixed line telephone set is divided into common phone and intelligent telephone again, but the relatively cheap function of the price of common phone is fairly simple, generally only can answer, calls, function such as redialing, demonstration caller ID.And intelligent telephone function complexity, for example have functions such as automatic-answering back device, telephone message, telephonograph, high capacity telephone directory, but this intelligent telephone is relatively more expensive, function ratio is fixing to be difficult for expanding and renewal, the telephone directory of intelligent telephone can only use on a phone usually in addition, can not share between many phones or a plurality of user.Mobile phone does not have senior functions such as automatic-answering back device, telephone message usually.
Along with popularizing of personal computer, personal computer has become the indispensable instrument of routine work as a kind of best electronic reciprocal equipment.The popularity rate of plain old telephone will be higher than computer, but it calculates and interactive capability can not show a candle to computer.Therefore, make full use of mutual, the computing capability of telephonic communication and computer, for the informationization of medium-sized and small enterprises provides support, significant jointly.
Usually, typical working environment and home environment are furnished with fixed line telephone set and/or mobile phone and personal computer, but also do not have at present a kind of fixed line telephone set can be in communication process directly and personal computer to carry out real-time medium mutual.Therefore, can carry out the mutual communication terminal of real-time media with personal computer, then can make full use of the good man-machine interaction interface of personal computer and the function that extensibility enlarges common fixed line telephone set and mobile phone if can provide a kind of.For example, can increase functions such as automatic-answering back device, telephonograph, telephone message by common fixed line telephone set of being developed as of computer software and mobile phone, thereby reduce office cost.Communication terminal of the present utility model can also be applied to hereinafter the value-added telecom services platform of mentioning, and this communication terminal is mapped as the outer online public network of value-added telecom services platform attends a banquet.In addition, mutual by multiple communication terminal such as fixed line telephone set and mobile phone and computer can be carried out and share high capacity telephone directory between the multiple communication terminal, and can carry out the centralized management of message registration and the control of call duration time and expense.This business for and telephonograph evidence obtaining accurately metered as needs such as lawyer's offices has more importantly meaning.
The utility model content
In order to solve common fixed line telephone set and problems such as cell-phone function is single, autgmentability is poor, the telephone directory capacity is little, message registration difficult management, the utility model provides a kind of can carry out the mutual communication terminal of real-time media with personal computer.
The utility model provides a kind of can carry out the mutual communication terminal of real-time media with personal computer, comprising central processing unit, telephony interface, audio process and computer interface and audio frequency input-output equipment, wherein
Telephony interface is used for communication network and is connected;
Computer interface is used for being connected with personal computer;
Audio process is used to handle the audio signal from telephony interface and/or audio frequency input-output equipment and/or computer interface; And
Central processing unit is used to control telephony interface, audio process and computer interface, so that this communication terminal can carry out medium by computer interface and personal computer in real time in when communication is mutual.
After reading the detailed description of the utility model execution mode in conjunction with the accompanying drawings, other characteristics of the present utility model and advantage will become clearer.
Embodiment
Describe the structure and the operation principle of communication terminal of the present utility model with reference to the accompanying drawings in detail.
For the ease of understanding the applied environment of communication terminal of the present utility model on the whole, the system architecture when Fig. 1 illustrates communication terminal of the present utility model and is applied to the value-added telecom services platform.
As shown in the figure, the various communication terminals 101 that comprise landline telephone, Personal Handyphone System, mobile phone and facsimile machine or the like pass through PSTN/PLMN (PSTN/public land mobile network) network 102, call out in wired or wireless mode and are connected to value-added telecom services platform 107.Value-added telecom services platform 107 provides various value-added telecom services, include but not limited to services such as appearance service, amusement, recreation, note, multimedia message, WAP, ring tone downloading, business information and locating information, the some of them service needed comes to provide service or help to the user by operator attendance or automatic voice responding.Value-added telecom services platform 107 generally includes voice gateways, SGW, application server and CTI (computer telecommunication the is integrated) server that is connected to IP network.Wherein voice gateways are similar to common Computer switch, the latter's effect is that Internet resources are exported to multiple computers, the former then is used for connecting telephone set and uses, it can be connected telephone set, facsimile machine or the PBX (PBX) of your family or office the inside with equipment for surfing the net, just public switched telephone network PSTN and IP network are coupled together, thus the function that realization is carried out voice call by the Internet network.The effect of SGW is the mutual conversion of finishing the information that is used to control between two heterogeneous networks, can continue transmission to realize a control information in the network in another network.SGW is the agency who receives and send signaling on the border of two networks, is two internetwork signaling critical points, to signaling message translate, relaying or finalization process.SGW can independently be provided with, and also can comprehensively be provided with other gateways, handles the signaling relevant with line attachment or trunk.Cti server is to be media with the call voice, can be taken over by the interactive voice response of cti server after client's incoming call, can select Self-Service by the button on the telephone set.Also can carry out call treatment by the administration interface of the software of attending a banquet effectively and attend a banquet, comprise functions such as calling transfer, call termination, resident, the intelligent exhalation of calling.
Imagine a kind of application scenarios, user A is by making call service provider's customer phone, at this moment value-added telecom services platform 107 inserts IP network to the audio signal from PSTN by voice gateways, interactive voice response in the cti server requires user A to select the service of needs by the button of local call, and may need user A input ID card No. or password to verify user's identity.If user A requested service can be provided by application server, then provide corresponding service by application server.If the service of user A request operator attendance, then cti server is routed to operator attendance to the calling of user A.Conventional operator attendance is the terminal artificial on duty that is connected to the internal lan of value-added telecom services platform 107, the essential information of user A input or the subscriber data that accesses from database can be transferred to this terminal and show, and provide service targetedly by operator attendance.The attending a banquet of this local area network (LAN) that is connected to value-added telecom services platform 107 inside can be called private network and attend a banquet.In order to connect local area network (LAN), the attendant that private network is attended a banquet need be brought together office usually.This is difficult to for some have thousands of large-scale value-added telecom services platforms of attending a banquet at same place deployment a large amount of operator attendance like this.A solution is by wide area network (WAN) voice messaging and signaling information to be routed to a operator attendance on the public network by switch.But thing followed problem is the present for example such wide area network in internet exists voice latency and interrupted problem, therefore can't support the real-time voice transmission well.Another kind of solution is by calling transfer, user A to the calling of value-added telecom services platform 107 by the PSTN/PLMN network transitions to an ordinary telephone set of outer net, provide service by the attendant of this telephone set on duty.The user data that extracts in the database of the problem of this scheme user basic information that to be previous user A import by phone and value-added telecom services platform 107 can not be by the telephone set of PSTN/PLMN network delivery to this outer net.In order to address the above problem, designer of the present utility model provides a kind of can carry out the mutual communication terminal of real-time media 103 with personal computer.This communication terminal 103 is to increase can carry out the computer interface that real-time media communicates by letter with personal computer 104 and realize on the basis of existing fixed phone or mobile phone.This computer interface can be USB interface, blue tooth interface, 1394 interfaces, Wifi interface, Ethernet interface or the like.Adopt communication terminal of the present utility model guaranteeing that realization attends a banquet the user A for incoming call value-added telecom services platform 107 that manual service is provided with public network under speech quality and the successional situation of service, thereby realize the flexible configuration of operator attendance.The concrete operations flow process is as follows, user A incoming call value-added telecom services platform 107, cti server is by judging that with the preliminary mutual of user A needing certain public network to attend a banquet provides manual service, then value-added telecom services platform 107 is transferred to the communication terminal of the present utility model 103 that public network is attended a banquet with the voice of the calling of user A by PSTN/PLMN network 102, simultaneously by SGW will with the user profile (for example, user account and password etc.) that obtains in the preliminary reciprocal process of user A and the user profile of from the data with existing storehouse, extracting through switch, fire compartment wall 106, wide area network 105 is forwarded to the personal computer 104 that described public network is attended a banquet with the form of channel associated signalling.Described communication terminal 103 machine interface as calculated is connected to described personal computer 104.The duty personnel that this public network is attended a banquet can be in listening user A phone consults user profile from value-added telecom services platform 107 at personal computer 104.And the key information that user A imports in the follow-up service process and the real-time voice of conversation also are transferred to personal computer 104 by the computer interface on this communication terminal and write down and preserve, and and then can wire back these feedback information and believe value-added service platform 107.
Above only be that applied environment with the value-added telecom services platform is the application that example is explained communication terminal of the present utility model.But communication terminal of the present utility model can also have many other application.For example be applied to strengthen with computer in general family and the corporate environment function of general communication terminal.A plurality of communication terminal of the present utility model also can be connected to a personal computer simultaneously, so that share high capacity telephone directory between a plurality of communication terminals.When communication terminal of the present utility model was not connected to personal computer, it can be used as a common communication terminal and receives calls.When it is connected to personal computer, calling party's telephone number can be transferred to relevant information and the historical message registration that shows and access the calling party on the computer from the database of computer by computer interface, also can carry out various management flexibly to message registration on personal computer.Personal computer also can dial to communication terminal by computer interface, and personal computer can phase the other side's playing back music and the recording for conversing in the communication terminal communication process.
Fig. 2 illustrates the structure chart of the internal module of communication terminal of the present utility model.As shown in the figure, communication terminal of the present utility model comprises central processing unit 201, telephony interface 202, audio process 203, computer interface 204 and audio frequency input-output equipment 205.Described audio frequency input-output equipment 205 comprises receiver and microphone or headset.Telephony interface 202 is used to be connected to PSTN/PLMN network 102 to carry out voice communication, and it comprises RJ11 interface, GSM antenna, TD-CDMA antenna or the WCDMA antenna that connects telephone wire, and comprises the circuit of telephone key-press or the like existing communication terminal.Be delivered in the key information that carries out button operation on local communication terminal or the coupled personal computer for the input of received communication phase the other side's button and to the other side, this telephony interface 202 also comprises and is used for extracting and the codec of decoding DTMF (dual-tone multifrequency) signal from speech.Fig. 3 illustrates the RJ11 interface in the telephony interface module of communication terminal of the present utility model when being applied to wired fixed line.Fig. 4 illustrates the circuit diagram of the coding-decoding circuit of the Dual Tone Multifrequency signal in the telephony interface module of communication terminal of the present utility model, wherein adopt MT8870D as decode key information among the speech TONEIN of DTMF format signal decoding chip, use DTMF generator chip HT9200A to carry out dtmf code.Dual tone multi-frequency dtmf (Dual Tone Multi Frequency) signaling is widely used on the touch-tone telephone, because of it provides higher dialing speed, has replaced the dial impulse signaling that traditional rotating disc type telephone set uses rapidly.DTMF also is applied in the Interactive control in recent years, such as language menu, language mail, telephone bank and ATM terminal etc.The DTMF codec converts keystroke or digital information to two-tone signal and transmission when coding, detect the existence of keystroke or digital information during decoding in the dtmf signal of receiving.Each key is determined by line frequency and row are frequently unique on the telephone keyboard.Dtmf signal is made of the audio signal stack of two frequencies.The frequency of these two audio signals is from two groups of preallocated group of frequencies: line frequency group or row are group frequently.Each is to numeral of the unique expression of such audio signal or symbol.Usually dtmf signal is represented the information of 0-9, * and these 12 buttons of #.The key information that decoding is come out is transferred to personal computer by computer interface 204.Audio process 203 is used for handling from the audio signal of the microphone of telephony interface 202, computer interface 204 and audio frequency input-output equipment 205 and receiver, computer interface 204 and telephony interface 202 outputs of the signal after handling by audio frequency input-output equipment 205.The processing of audio process 203 includes but not limited to be used to eliminate the circuit that echo, noise reduction, automatic gain control (AGC) and/or audio mixing are handled.Wherein the audio mixing treatment circuit will be from the voice signal audio mixing of telephony interface 202 and computer interface 204 after the output of the receiver in the audio frequency input-output equipment 205; Will be from the voice signal audio mixing of the computer interface 204 and the microphone of audio frequency input-output equipment 205 after telephony interface 202 outputs to the phase the other side that communicates by letter; Will from the voice signal of the microphone of telephony interface 202, computer interface 204 and audio frequency input-output equipment 205 as calculated machine interface 204 output to personal computer and be used for recording.In an embodiment of the present utility model, mixer circuit is realized by the programmable logic device EPM7032 shown in Fig. 5.
Computer interface 204 is used for communicating with personal computer, with media information in real time with from the key information of dtmf signal decoding.Computer interface 204 can comprise USB port, 1394 ports, bluetooth port, Wifi port, WLAN port and/or ethernet port or the like.If the employing USB port when communication terminal of the present utility model is connected to personal computer, can be each circuit module power supply on this communication terminal from the USB port of personal computer.This computer interface 204 also comprises analog to digital conversion circuit and D/A converting circuit, be used for to be converted to from the digital audio and video signals of personal computer simulated audio signal and offer audio process 203 and handle, and the simulated audio signal from audio process 203 is converted to digital audio and video signals offers personal computer.Fig. 6 illustrates the circuit diagram that computer interface 204 adopts under the USB port situation.Adopt CP2101 to change UART (UART Universal Asynchronous Receiver Transmitter) bridger in the figure and realize communication terminal of the present utility model communicating by letter through USB port and personal computer as USB.UART is a kind of serial line interface, all comprises this Peripheral Interface in many microprocessors and the microcontroller.Asynchronous Serial Interface provides a kind of simple approach, makes two devices need not to share same clock signal and just can communicate.
Fig. 7 illustrates the circuit diagram of PCM codec of the computer interface of communication terminal of the present utility model.Two TP3067 chips of employing are handled voice signal and the control signaling from computer interface 204 respectively among this figure.Comprise PCM coding/decoding module and analog-to-digital conversion module and D/A converter module in the TP3067 chip, be used to realize the audio transmission between computer interface 204 and the audio process 203.
Central processing unit 201 among Fig. 2 is used to control transfer of data and the input-output operation between telephony interface 202, audio process 203, the computer interface 204, and from the operation of telephony interface 202 with from the conflict mutually of computer interface 204 time, coordinate according to predetermined conflict processing rule.Central processing unit 201 of the present utility model adopts 80C52 chip as shown in Figure 8 to realize.80C52 is a basic product in the MCS-51 of the INTEL Corp. series monolithic, 8 single-chip microcomputers of its a kind of high-performance, built-in 8 CPU, 256 byte inner data storage RAM, 32 two-way I/O of 8k sheet internal program memory (ROM) (I/O) mouth, 3 16 bit timings/counters and 5 two-stage interrupt structures, a full duplex serial communication port, sheet internal clock oscillating circuit.By this chip is loaded the function that predetermined application program can realize central processing unit 201 fully.
Fig. 9 illustrates the flow chart of the incoming call flow process on the communication terminal of the present utility model.This flow chart is the operation that example is described in call accepted on the communication terminal to adopt USB port as computer interface 204.At first the USB line is connected phone and personal computer (step 901).This moment, the central processing unit 201 and the personal computer of communication terminal all detected the USB connection event, and operating software enters the interactive communication state.In step 902, telephone wire is connected to phone.The order of this step 902 and step 901 can exchange, and when carrying out above-mentioned two steps, phone all can report its current connection status the application program of personal computer in the mode of incident.When the incoming call incoming call, phone sends bell signal (step 903).At this moment caller ID is decoded and be transferred to personal computer, and the application program of personal computer can be retrieved the user's who uses this number information immediately in local data base or telephone directory based on this caller ID, and be presented on the screen.Then, local receiver off-book, converse (step 904).In communication process, the other side may carry out button input as required, at this moment, and local reception DTMF push button signalling, and decoding and be transferred to personal computer (step 905).As required, local phone is recorded speech transmissions and/or from personal computer playing back music or voice suggestion (step 906) to personal computer in real time.Carry out on-hook (step 907) behind the end of conversation.In above-mentioned each step, each operation that local phone carried out all can be with the application program of offering personal computer of incident in form.
Figure 10 illustrates the flow chart of the exhalation flow process on the communication terminal of the present utility model.Similar with above-mentioned Fig. 9, the exhalation flow process comprises following several steps.At first the USB line is connected phone and personal computer (step 1001).This moment, the central processing unit 201 and the personal computer of communication terminal all detected the USB connection event, and operating software enters the interactive communication state.In step 1002, telephone wire is connected to phone.The order of this step 1002 and step 1001 can exchange, and when carrying out above-mentioned two steps, phone all can report its current connection status the application program of personal computer in the mode of incident.Dial the other side's number, wait for the other side's off-hook (step 1003).This step can be initiated on local phone, also can be initiated by the personal computer that is connected with this phone.Then, the other side's off-hook, converse (step 1004).In communication process, local calling party may be as required carries out the button input on local phone or continuous personal computer, and at this moment, the other side receives DTMF push button signalling (step 1005).As required, local phone is recorded speech transmissions and/or from personal computer playing back music or voice suggestion (step 1006) to personal computer in real time.Carry out on-hook (step 1007) behind the end of conversation.
Though described execution mode of the present utility model in conjunction with the accompanying drawings, those skilled in the art can make various distortion or modification within the scope of the appended claims.