Embodiment
Referring now to accompanying drawing, the specific embodiment of the present invention is made more detailed description, but should be noted that, scope of the present invention should be limited by the claim in claims, do not breaking away under the spirit and scope of the present invention, can make suitable improvement and modification the present invention.
Fig. 1 shows the structure chart of common phone of the prior art.Described phone comprises telephone interface circuit 11, keyboard scan dialing and phone control circuit 12, phone off-hook and power supply circuits 13, voice analog signal two or four line change-over circuits 14, telephone bell polarization circuit 15, hand-free loudspeaker drive circuit 16, handle circuit 17, handfree circuit 18.Described phone provides power supply by telephone network via power supply circuits by telecommunication bureau, and the user can utilize this phone to realize handle conversation and hand-free call function commonly used.
Explain the whole world according to the present invention below with reference to Fig. 2-7 and exhale the structure of phone and the function of each several part thereof.Shown among Fig. 2 that the whole world according to the present invention exhales the block diagram of phone.The whole world exhales phone to comprise telephone interface circuit 21, keyboard scan dialing and phone control circuit 22, phone off-hook and power supply circuits 23, voice analog signal two or four line change-over circuits 24, telephone bell polarization circuit 25, hand-free loudspeaker drive circuit 26, handle circuit 27, handfree circuit 28, and further comprises: power supply commutation circuit 29, voice analog signal multi-mode commutation circuit 30, USB interface and externally fed circuit 31, sound card and control circuit 32 thereof, peripheral circuit 33 and the isolation control circuit 34 of cooperating.Different with common phone of the prior art, the present invention has increased periphery cooperation circuit 13, isolation control circuits 14 such as power supply commutation circuit, voice analog signal multi-mode commutation circuit, USB interface and externally fed circuit, sound card and control circuit thereof, master controller microprocessor and LCD show in phone.Wherein, the input of power supply commutation circuit is connected to the output of phone off-hook and power supply circuits and the output of USB interface and externally fed circuit 11, so that the power supply from these two circuit is switched, and power to other module except that telephone interface circuit and telephone bell polarization circuit by its output.In addition, voice analog signal multi-mode commutation circuit is connected with voice analog signal two or four line change-over circuits, handle circuit, handfree circuit, keyboard scan dialing and phone control circuit, sound card and control circuit thereof respectively, so that cooperate under the control of the main control microprocessor in the circuit 33 in the periphery, the talking mode of selecting according to the user passes to corresponding circuit module with voice signal.The described peripheral circuit that cooperates is connected with keyboard scan dialing and phone control circuit via isolation control circuit, and its structure will be described after a while.
Next will introduce each circuit module that phone is exhaled in the whole world of the present invention in detail.Telephone interface circuit 21 comprises universal telephone interface block, telephone wire terminal protecting circuit, telephone BORSHT functions rectification circuit.This telephone interface circuit 21 is identical with the structure of telephone interface circuit of the prior art, has been the known techniques in this area, therefore its structure and annexation is not described in detail herein.
Keyboard scan dialing and phone control circuit 22 comprise button and dialing control microprocessor, key scan control circuit, dtmf dialing circuit, the detection of dislodging machine switch and dislodging machine control circuit.Described keyboard scan dialing and phone control circuit 22 are used to receive press key message sent by user and finish dtmf dialing, finish detection of dislodging machine switch and the control of dislodging machine simultaneously, and the control of finishing various functions under the situation of externally fed by the serial communication cooperation main control microprocessor of isolating is being arranged.In addition, this control circuit can cooperate circuit 33 to communicate with peripheral by isolation control circuit 34, thereby the control command of finishing and status data is mutual.Control 2 I/O pins that it carries by the phone control microprocessor, adopt the communication mode of synchronous serial, via isolation control circuit, 3 I/O pins that carry according to set communication protocol and main control microprocessor carry out data communication, and its traffic rate is about between the 3K to 8K.What described keyboard scan dialing and control circuit 22 adopted is existing circuit structure, is not described in detail herein.
The structure of phone off-hook and power supply circuits 23 is referring to Fig. 3, and it comprises dislodging machine control triode and control circuit 301, AC signal insulating electron inductive circuit 302, power supply voltage stabilizing and filter circuit 303.Described phone off-hook and power supply circuits 23 are used for finishing off-hook under the control of keyboard scan dialing and phone control circuit 22, and provide power supply to speaking circuit and main control microprocessor under off-hook condition.In addition, the power supply output of phone off-hook and power supply circuits 23 is imported in the power supply commutation circuit 29 for switching.Be linked in the power supply commutation circuit 9 by about 5 volts DC power supply of power supply output output and switch the power supply backflow ground wire that also comprises the output correspondence of powering that participates in simultaneously switching.
The circuit structure of voice analog signal two or four line change-over circuits 24 is referring to Fig. 4, and it comprises that AC signal isolating transformer, discharge circuit LM324, two or four line transfer resistance match circuits, mid-point voltage produce circuit.The mixing voice conversion of signals that described voice analog signal two or four line change-over circuits 24 are used for finishing phone AB line under off-hook condition is convenient to the Audio Processing of follow-up speaking circuit for talking about and telecommunication signal.
Telephone bell polarization circuit 25 is used for the bell signal that reception telephone office sends here under non-off-hook condition and drives sound horn, bell signal is isolated sending the master control microprocessor to simultaneously.It comprises that bell signal isolation rectification circuit, ring special circuit UTC9106, ring forbid control circuit, ring loudspeaker impedances translation circuit.What described telephone bell polarization circuit 25 adopted is structure well known in the prior art.In addition, described telephone bell polarization circuit 25 can be under the control of microprocessor, and (as exempting to disturb) realizes shielding (promptly do not allow hands-free sound horn) to bell signal by buffer circuit as required.Described telephone bell polarization circuit adopts is known technology in this area, is not described in detail at this.
Hand-free loudspeaker drive circuit 26 is used for transferring the audio signal that receives greatly to talk about in hands-free condition, can adjust the volume of power amplifier simultaneously under the control of main control microprocessor, and it comprises that audio power drives special chip MC34119, digital volume control circuit.Handfree circuit 28, be used under hands-free condition, realizing both sides' hand-free call, and can adjust the volume of being talked about and sending words automatically, avoid the sound after hands-free loudspeaker amplify to feed back uttering long and high-pitched sounds of causing, it comprises hands-free special chip MC34018 and peripheral match circuit, hands-free MIC biasing circuit.Handle circuit 27 is used for transferring the receiver that the audio signal that receives greatly to talk about arrives handle in the handle condition, the MIC audio signal is amplified to drive follow-up telecommunication circuit simultaneously, and it comprises audio driven chip LM358, handle MIC biasing circuit.Because what foregoing circuit adopted is circuit structure well known in the prior art, therefore, is not described further herein.
Fig. 5 has demonstrated the module map of power supply commutation circuit 29, and described power supply commutation circuit 29 is used for realizing under the condition of externally fed the power supply of phone conversation and control circuit, and it automaticallyes switch to the power supply of telephone circuit after can realizing powering on.
Under the situation that utilizing this power supply commutation circuit 29 can be implemented in does not have externally fed (comprising no USB power supply), circuit (comprising telephone interface circuit, phone off-hook and power supply circuits, voice analog signal two or four line change-over circuits, telephone bell polarization circuit, handfree circuit, hand-free loudspeaker drive circuit, handle circuit, voice analog signal multi-mode commutation circuit, keyboard control circuit) more than the shielding wire provides working power by the feed of telephone line.Wherein under the control of keyboard scan dialing and phone control circuit 22, being connected by voice analog signal multi-mode commutation circuit 30 according to the condition of handle and button is handle call mode (being realized by handle circuit 27) or hand-free call pattern (being realized by handfree circuit 28), voice analog signal carries out the conversion of two or four lines by voice analog signal two or four line change-over circuits 24, and inserts handle circuit 27 or handfree circuit 28 respectively by this voice analog signal multi-mode commutation circuit 30.In addition, when hands-free, can realize speaker drive and volume adjustment by hand-free loudspeaker drive circuit 26.When telephone line comes ring, drive hand-free loudspeaker prompting incoming ring tone by telephone bell polarization circuit 25.
In addition, having under the externally fed situation of (comprising the USB power supply), except that telephone interface circuit 21 and telephone bell polarization circuit 25, make other circuit provide working power by externally fed or USB interface by power supply commutation circuit 29.Cooperate in the periphery under the control of circuit 33, finish the basic function of phone via isolated controlling 14 supervisory keyboards scanning dialing and phone control circuit 22, and the expanded function of finishing phone, comprise the function of dialing demonstration, caller identification, call voice recording playback, phone automatic-answering back device and leaving message prompt, PC voice playing, Internet phone-calling mode switch.
Voice analog signal multi-mode commutation circuit 30 is used for according to functional requirement audio signal being switched under the control of the master control microprocessor of periphery cooperation circuit 33 and being handled.Comprise some 405X series numerical control analog switch chips and control circuit thereof.This voice analog signal multi-mode commutation circuit to the switching of audio signal and processing procedure referring to Fig. 6 (a)-(e), wherein arrow is represented the audio signal transmission direction, the passage of the audio signal when the line relation table is shown under certain established condition and connects with analog switch.
Utilize phone of the present invention, can record to ongoing conversation in the outside line (being talked about and send the mixing voice signal of words) by sound card Mike input interface, the sound card audio output signal can play back prompt tone (voice or music) by hands-free loudspeaker, and can realize the inquiry and the playback of sound recordings by the control of PC.In addition, phone of the present invention can also realize to hands-free loudspeaker playback, and realizes the prompting of voice or music under the cooperation of PC, further realizes the function of personalized the tinkle of bells.Wherein, Fig. 6 (a) has shown generally speaking, the switching state the when user uses handle and outside line conversation.Fig. 6 (b) has shown the switching state when the user uses hands-free way and outside line conversation.Fig. 6 (c) has shown the switching state when the user uses handle and PC to carry out Internet phone-calling.Fig. 6 (d) has shown the switching state when the user uses hands-free way and PC to carry out Internet phone-calling.And Fig. 6 (e) has shown the switching state of when carrying out the mutual conversation of network and outside line under the control in application software (voice gateways pattern).
USB interface and externally fed circuit 31 are used for the switching and the overvoltage protection of going into usb signal and carrying out the externally fed DC power supply from the PC termination.What it adopted is structure well known in the prior art.No longer describe in detail herein.
Sound card and control circuit 32 thereof are used for the digital signal that PC holds USB to insert is converted to audio analog signals, amplify the back by the audio frequency pre-process circuit and handle for subsequent conditioning circuit.Thereby can finish PC end application software and the control command of main control microprocessor and the exchange of operating state data by sound card and control circuit 32 thereof with the tie line of main control microprocessor in addition, make phone can finish corresponding function.Described sound card and control circuit 32 thereof comprise USB sound card special chip CM108, fit on and control circuit, audio frequency pre-process circuit.What adopt among the present invention is USB sound card control assembly commonly used in this area, therefore, for brevity, does not describe in detail herein.
Fig. 7 has shown that the periphery among the present invention cooperates the structure chart of circuit 33, and the described peripheral circuit 33 that cooperates comprises main control microprocessor, and peripheral cooperation and control circuit, LCD show and drive circuit.Wherein said main control microprocessor can adopt the 89C52 of MCS51 series.Described peripheral cooperate and control circuit comprise sound card data interaction communication interface, with communication interface and other control interfaces of phone controller.Thereby this periphery cooperates circuit 33 to carry out corresponding control programs by the master control microprocessor makes phone finish its function, and realizes that exchanges data and information show.The peripheral in addition dynamic update that cooperates circuit 33 can realize being undertaken by the data interaction between main control microprocessor and the PC when needed firmware program by communication interface guarantees that the user can use more and perfect functions more.
Isolation control circuit 34 is used for finishing the exchange of control command and data under the isolation condition, described circuit comprises photoelectrical coupler and the control circuit thereof that digital signal is isolated.Described isolation comprises the transformer isolation and the drive circuit thereof of analog signal.What adopt in this phone is buffer circuit well known in the prior art, therefore, it is not described in detail herein.
In addition, the present invention exemplarily can adopt and a whole world is set on the phone keyboard exhales button, when the user makes a phone call, whether presses this whole world and exhales button to judge whether the user will carry out the conversation that mode is exhaled in the whole world by detecting.
When outside line had phone to squeeze into, telephone bell polarization circuit 25 detected bell signal and sends incoming call ringing tone sound by isolating transformer driving hand-free loudspeaker.When have the people to pick up handle to answer this moment phone control circuit 22 detect behind the handle off-hook control voice analog signal multi-mode commutation circuit 30 by handle circuit 27 by voice analog signal two or four line change-over circuits 24 with two-way voice transfer to outside line, and then finish both sides' handle and converse.If press Hands-free key after hearing incoming call ring sound, keyboard scan and phone control circuit 22 detect this operation back control voice analog signal multi-mode commutation circuit 30 by handfree circuit 28 by voice analog signal two or four line change-over circuits 24 with two-way voice transfer to outside line, and then finish both sides' hand-free call.The handle on-hook or press Hands-free key once more after, phone recovers the on-hook normality.
When with PC that phone is connected on when calling from the real-time communication software of far-end is arranged, assign instruction by the IP Control Software and provide ringring prompting (in the mode of voice or music) with the control phone, when have the people to pick up handle to answer this moment phone control circuit 22 detect behind the handle off-hook control voice analog signal multi-mode commutation circuit 30 by handle circuit 27 by sound card and control circuit 32 thereof with two-way voice transfer to PC, and then finish both sides' handle Internet phone-calling.If press Hands-free key after hearing incoming call prompting sound, keyboard scan and phone control circuit 22 detect this operation back control voice analog signal multi-mode commutation circuit 30 by handfree circuit 28 by sound card and control circuit 32 thereof with two-way voice transfer to PC, and then finish the hands-free Internet phone-calling of both sides.The handle on-hook or press Hands-free key once more after, phone recovers the on-hook normality.
In the normal state, the user picks up handle, and phone is realized the conversation of both sides' handle according to the method for similar example one, and perhaps the user presses the similar realization of Hands-free key both sides hand-free call.
When calling party and callee converse can by sound card Mike input interface to outside line on ongoing conversation (being talked about and send the mixing voice signal of words) record, the sound card audio output signal can play back prompt tone (voice or music) by hands-free loudspeaker.
Next with reference to Fig. 8 the structure that the control device of phone is exhaled in the whole world according to the present invention is described.The whole world of the present invention exhales the phone control device to comprise that commercial affairs and recording module 801, VOIP software control module 802, the whole world exhales network function module 803, hardware controls module 804, local data base 805 and the whole world to exhale database 806.Wherein, commercial affairs and recording module 801 are used to carry out the calling of each intermodule, collaborative work so that finish the function of appointment, and be used for managing the information of local data base 805, finish telephonograph, and sound recordings is stored in the local data base, and the bullet screen of can realizing sending a telegram here, functions such as prompting regularly.VOIP software control module 802 is used to monitor the VOIP application state, and current state is sent to the whole world exhale network function module 803, and receive the order that network function module 803 is exhaled in the whole world, and operation control VOIP software 808, VOIP software control module 802 is made of a plurality of dynamic base.Network function module 803 is exhaled in the whole world, be used for exhaling server database 806 to search and obtain information from the whole world, send instruction to hardware controls module 804, receive the message that hardware controls module 804 is returned, from local data base 805, search data, and send instruction to VOIP software control module 802.Hardware controls module 804 is used for the monitoring hardware state, state information is sent to commercial affairs and recording module 801 or the whole world exhale network function module 803, receive program command, function in the calling module, operational hardware, change the hardware effort state, hardware controls module 804 is made up of dynamic base and control.Local data base 805 is used to store the configuration information of user to software, record recording data, and organization and administration telephone customer information, this database for example can be the ACCESS database.Database is exhaled in the whole world, stores the relevant information that the user is exhaled in all whole world, comprises user's registration information, IP software setting information etc., and the type of this database for example can be the SQLServer type.In addition, under the control of described control device, described phone can also be realized to hands-free loudspeaker playback, realizes the prompting of voice or music, further realizes the function of personalized the tinkle of bells.
Schematically show the whole world according to the present invention among Fig. 9 (a)-(d) and exhale four kinds of working methods of smart phone.It is pointed out that global calling telephone of the present invention can also adopt other modes except that four kinds of modes mentioned herein to carry out work, mode mentioned herein only is schematic rather than whole.Wherein, in the mode one shown in Fig. 9 (a), the calling and called both sides are the whole world and exhale the user and be connected to global calling telephone.Wail sign indicating number by the caller dials whole world, then Control Software can be obtained the dialed whole world by network and wail the sign indicating number relevant information, calls out by the relevant IP software of software transfer, and the callee receives calling, receives calls.If ring unanswered in the stand-by period of setting, then software can be transferred to calling the phone (mobile phone, landline telephone) that the callee sets in advance automatically.In the mode two shown in Fig. 9 (b), the calling and called both sides are the whole world and exhale the user, but have only the calling party that global calling telephone is arranged.When sign indicating number was wailed in the caller dials whole world, software can obtain the dialed whole world by network and wail the sign indicating number relevant information, calls out by the relevant IP software of software transfer, and the callee receives calling, just can use IP software to converse by headset.In the mode three shown in Fig. 9 (c), the calling party is a normal network users, and the callee exhales the user for the whole world.When the calling party exhales the input whole world, website (wWW.sv800.com) to wail sign indicating number by the whole world, choose callee's IP software and converse.This moment, callee's the mode of answering had two kinds, promptly was respectively the corresponding mode of answering in mode one and the mode two.In the mode four shown in Fig. 9 (d), the caller, called party is the whole world and exhales the user, the calling party does not connect global calling telephone, the calling party can exhale the software input whole world to wail sign indicating number by the whole world, software can obtain the dialed whole world by network and wail the sign indicating number relevant information, calls out by the relevant IP software of software transfer.This moment, callee's the mode of answering also had two kinds, promptly was respectively the corresponding mode of answering in mode one and the mode two.
It is pointed out that global calling telephone of the present invention can also adopt other modes four kinds of modes that provide except that Fig. 9 to carry out work, the mode that Fig. 9 provided only is schematic rather than whole.For example, utilize phone of the present invention, also can adopt following mode to realize the conversation by dialing far-end PC end networking telephone platform based on PC end networking telephone platform by traditional fixed-line phone network PSTN.Wherein the phone Equipment Control flow process on the PC end networking telephone platform is: receive the phone ringing from far-end tradition fixed-line phone network PSTN, be equipped with application software analyzing and processing (containing the authority authentication) as accepting caller ID; Automatic off-hook (as incoming call number or ringing number) under certain condition, the good suggestion voice of played pre-recorded behind the off-hook, carry out purview certification and function control (real as specifying far-end PC end networking telephone platform to connect mark, as to confirm far-end PC end state) as required; Require to call out and connect far-end PC end networking telephone platform according to dialing party; Realize both sides' conversation; Finish conversation according to current talking state (derive from the far-end PC end networking telephone, data are by the two-way transmission of message) or key information (deriving from traditional fixed-line phone network PSTN) control.
And for example can adopt following mode to realize the conversation of dialing far-end tradition fixed-line phone network PSTN by far-end based on PC end networking telephone platform by PC end networking telephone platform.The flow process of described telephone operation is: receive the connection request from far-end PC network telephony platform, application software is carried out data analysis and is handled (containing the authority authentication); PC control appliance automatic off-hook under certain condition broadcasts the telephone number (callings) of target side, the response of wait the other side off-hook behind the off-hook; Behind the far-end tradition fixed line off-hook, as allowing to connect PC end networking telephone platform according to voice suggestion; Realize both sides' conversation; Finish conversation according to current talking state (deriving from the PC end networking telephone) or key information (deriving from far-end tradition fixed-line phone network PSTN) control.
The whole world among the present invention be will describe below in detail and the control flow and the workflow thereof of phone exhaled.It is pointed out that since hereinafter mentioned VOIP software and IP software be and existed in the prior art, therefore for the sake of simplicity purpose herein is not described in greater detail.
Next describe in detail according to of the present invention with reference to Figure 10 and be used to control the flow process that the control method of phone is exhaled in the whole world.At step S1001, global paging system is started working, and waits for user's input.Judge at step S1002 whether the user has operation, if not operation then continue to wait for, if operation arranged then would proceed to step S1003, process user key information in step S1003.Whether be that the whole world exhales key to judge to user key-press then at step S1004, if execution in step S1005 then, otherwise execution in step S1018.At step S1005, exhale this whole world of whois lookup to wail the relevant IP software information of sign indicating number from the whole world.Judge at step S1006 whether the operation of searching the IP software information is successful then, if get nowhere then terminated call, otherwise execution in step S1007.At step S1007, operate this machine IP software call the other side's IP software.Next judge at step S1008 whether calling is successful, if get nowhere then terminated call, otherwise execution in step S1009, by software control the other side phone jingle bell.Then judge at step S1010 whether the other side receives calls, if the callee has answered phone, then carry out step S1011, otherwise carry out step S1013.At step S1011, calling party and callee converse, and if judge talk-through then terminated call at step S1012.If judge that at step S1010 the other side does not receive calls, then judge at step S1013 whether the callee is provided with the IP calls transfer, if do not have then terminated call, if the callee is provided with the IP calls transfer, then send signal to control receiver off-book and to dial forward call by software at step S1014.Next judge at step S1015 and dial whether success, success terminated call then, if success then carry out the local telephone network conversation at step S1016, and when step S1017 judges talk-through terminated call.
In addition, if judge that at step S1004 user key-press is not that key is exhaled in the whole world, then further judge whether to be provided with dialling of acquiescence and be IP software at step S1018.If judged result is a "Yes", then proceeds to step S1019, otherwise proceed to step S1023.At step S1019, control IP software dials.Judge at step S1020 and to dial whether success, if success then converse by VOIP software at step S1021, and when step S1022 judges talk-through terminated call.If judged result is a "No" among the step S1018, then dials in normal way and cry at step S1023.Judge at step S1024 and to dial whether success, unsuccessful then terminated call is dialed success else if, then proceed to step S1025 wait callee and receive calls.Then whether the callee is received calls and judges (step S1026), if the callee has answered phone, then converse in normal way (S1027), and when step S1028 judges talk-through terminated call.If the callee does not receive calls, then judge at step S1029 whether the callee is provided with voice mail.If the callee is not provided with voice mail, terminated call then, the callee is provided with voice mail else if, then begins user's announcement record at step S1030.Judge at step S1031 whether recording finishes, message notification is arrived phone if finish then in step S1032, judge whether to be provided with.If in step S1032, be judged as "No", then terminated call.If in step S1032, be judged as "Yes", then dial set good wait order phone.Judge to dial and to cry whether success (S1034), get nowhere then terminated call if dial to cry, otherwise begin to play announcement record at step S1035.Judge whether on-hook and judge to play whether finish of user at step S1036 then, if user's on-hook or finish, then terminated call at step S1037.
Figure 11 is the workflow diagram that smart phone is exhaled in the whole world according to the present invention.With reference to Figure 11, at this PC network telephony platform end, start the whole world of the present invention and exhale the smart phone Control Software, and load phone driver (S1101).Described then software setting IP software uses phone sound card (S1102), and waits for user's input information (S1103).Judge then whether the user has actuation of keys (S1104).If do not have actuation of keys then return S1103 and continue to wait for, otherwise described software receives (S1105) to press key message sent by user.Then, judge at step S1106 whether the button that the user presses is that button is exhaled in the whole world, if not then carrying out the judgement of other functions and carry out control corresponding (can referring to Figure 10) at step S1107, if button is exhaled in the whole world, sign indicating number (S1108) is wailed in the whole world that then receives user's input.Then, judge whether the user imports # end key (S1109).If judged result is a "Yes", judge further then whether network is in connected state (S1110).If the judged result at step S1110 is a "No", then to the information of user prompt such as " network failure please be checked " and so on.If the judged result at step S1110 is a "Yes", then proceed to step S1112.At step S1112, described software sends whole world catchword sign indicating number and exhales server to the whole world, wails sign indicating number at step S1113 server according to the whole world then and search corresponding IP software information in database.If found the described whole world to wail the relevant information (judged result is a "Yes" among the step S1114) of sign indicating number in database, then in step S1115, server sends it back described software with the IP software information.Carry out following steps then: described software receives IP software information (S1116); Described software is searched this machine IP software as the preferential configuration information (S1117) that uses; Call IP software call network remote IP software (S1118) according to configuration information; Wait for that IP software is communicated with (S1119).(judged result among the S1120 is a "Yes") then handles (S1121) by the phone sound card to voice-over-net when the successful connection of IP software.Meanwhile, in far-end PC network telephony platform, need carry out following processing, promptly in step S1122, start the whole world according to the present invention and exhale the phone Control Software and load the phone driver.Carry out then IP software use phone sound card (S1123) is set; Wait for IP software incoming call (S1124).Judged whether IP software incoming call (S1125),, then turned back to step S1124 and continue to wait for,, then controlled phone jingle bell (S1126) if incoming call is arranged if do not have.Judge whether off-hook (S1127) of user, if user's off-hook is then controlled the incoming call of IP software responses far-end, IP software off-hook (S1128), and voice-over-net is handled (S1129) by the phone sound card.At this moment, can carry out Internet phone-calling (S1130) between calling party and the callee.When end of conversation (S1131), user's on-hook (S1132), calls application interface is controlled IP software on-hook (S1133) then.
Next will describe respectively, and utilize the whole world of the present invention to exhale intelligent telephone and control device thereof to dial and the flow chart when receiving calls.Figure 12 exhales the flow chart that receives calls under the control of smart phone control device in the whole world of the present invention.At first, starting the whole world of the present invention exhales the phone Control Software and loads phone driver (S1201), the sound card (S1202) that IP software uses the phone sound card to use as acquiescence is set then, its objective is that the voice analog signal multi-mode commutation circuit that cooperates phone finishes the conversion of various voice signals.Wait for IP software incoming call (S1203) then, be that described software and phone all enter armed state, this moment, the hardware controls module can detect the phone state in real time, the VOIP software control module can detect the state of VOIP software in real time, when IP calling request is arranged on the network, calling information can be sent to the network function module of software.(judged result among the S1204 is a "Yes") then controls phone jingle bell (S1205) when detecting the incoming call of IP software, and this is finished by network function module notice hardware controls module.And if the user is provided with the incoming call prompting the tinkle of bells, then the hardware controls module can be play voice or the music that the user sets in advance, thereby realizes personalized the tinkle of bells function, and these voice and music are set in advance and are stored in the local data base by the user.Then, judge whether off-hook (S1206) of user, when judged result was "Yes", control IP software responses far-end incoming call also made IP software off-hook (S1207).Promptly when the hardware controls module detects the phone state and is off-hook, send instruction to the voice analog signal multi-mode commutation circuit of hardware, so that finish of the conversion of voice-over-net signal to phone.Network function module notice VOIP software control module sends a command to VOIP software and answers calling.And under the situation of user's off-hook, the hardware control circuit of phone can be finished the function relevant with hardware controls, for example converses accordingly.By the phone sound card voice-over-net is handled (S1208) then, thereby finish conversation (S1209).After the handle on-hook or pressing Hands-free key once more, the hardware controls module arrives network function module with the phone state notifying.Network function module notice VOIP software control module sends a command to VOIP software, makes the on-hook of IP software.
Figure 13 exhales the flow chart of calling under the control of smart phone control device in the whole world of the present invention.At first, start the whole world of the present invention and exhale the smart phone Control Software, and load phone driver (S1301).Described then software setting IP software uses phone sound card (S1302), its objective is that the voice analog signal multi-mode commutation circuit that cooperates phone finishes the conversion of various voice signals.And wait receives press key message sent by user (S1303).Judge then whether the button that the user presses is that button (S1304) is exhaled in the whole world, if not then carrying out the judgement of other functions and carry out control corresponding at step S1305, otherwise, if button is exhaled in the whole world, detect network and whether be in connected state (S1306).When the user supressed the whole world and exhales button, the hardware controls module sent instruction to voice analog signal multi-mode commutation circuit, with the hands-free loudspeaker connection of the output and the phone of phone sound card, for the user plays between dialing.When the user imports whole world catchword sign indicating number, after the hardware controls module detects key information, described key information is sent to network function module.If the judged result at step S1306 is a "No", then to the information (S1307) of user prompt such as " network failure please be checked " and so on.If the judged result at step S1306 is a "Yes", then proceed to step S1307.The network function module of described software sends to the whole world with whole world catchword sign indicating number and exhales server (S1308), and server is wailed sign indicating number according to the whole world and search corresponding IP software information (S1309) in database then.Server sends it back described software (S1310) with the IP software information.Described then software receives IP software information (S1311).Network function module sends to the VOIP software control module with the IP software information of receiving, will control corresponding VOIP software and come dial and to be the other side.Described software is searched this machine IP software as the preferential configuration information (S1312) that uses.Call IP software call network remote IP software (S1313) according to configuration information.By the phone sound card voice-over-net is handled (S1314), thereby carry out Internet phone-calling (S1315).After the VOIP software control module detected IP software off-hook, the user picked up handle.Then, the hardware controls module can detect user's off-hook, and sends instruction to voice analog signal multi-mode commutation circuit, voice-over-net is transformed on the handle of phone, carries out Internet phone-calling.
In addition, the user also can be on phone a self-defined VOIP software quick, and utilize this VOIP software shortcut, directly import the other side's VOIP software number, will call VOIP software control module order VOIP software and call out this moment.Thereby omitted the whole world and exhaled the step of searching the VOIP software information on the webserver.
Provided among Figure 14 and be used to the network configuration of utilizing the whole world of the present invention to exhale intelligent telephone and control device thereof to converse.But this network configuration that is provided is provided those skilled in the art only is schematic.
More than provided illustrative examples according to phone of the present invention and control device and control method, those skilled in the art are to be understood that, under the situation that does not break away from the spirit and scope of the present invention, can make suitable change or improvement to the foregoing description, scope of the present invention should be limited to the appended claims.