A kind of networking telephone based on instant messaging
[affiliated technical field]
The present invention relates to a kind of network telephone and its implementation, especially relate to the networking telephone and its implementation of utilizing broadband network and instant communication software to carry out communication.
[background technology]
Rise and computer network communication technology high speed development along with the Internet, the fusion of internet and traditional telephone network has become natural trend, and being extensive use of of at present numerous free instant messaging (IM) softwares based on Internet makes people exchange the gesture that the black phone of breaking away from is arranged gradually each other at a distance.Present most instant communication software can both realize carrying out the function of voice and video communication from PC to PC, some in addition can also realize the function of the speech exchange from PC to the black phone or from the black phone to PC.Compare with traditional phone, utilize the Internet to carry out telecommunication impayable price advantage is arranged: carrying out voice between the PC or video calling need not paid any extra-pay except will paying expenses of surfing Internet, and utilizing broadband access network mostly to adopt the mode of monthly payment at present, it is minimum that expenses of surfing Internet is dropped to; Even the conversation between from PC to the black phone utilizes network communication also only to need the payment local call to take and need not pay the long-distance telephone expenses of costliness.
But utilize the Internet to carry out speech exchange at present and also exist the shortcoming of self by instant communication software: utilize instant communication software to carry out voice or video communication must just can be carried out by computer, if the other side's computer of calling out not start then conversation can not carry out; And allow common household PC all start shooting in one day 24 hours is impossible; Use instant communication software to carry out voice communication and generally all use the earphone of computer and microphone to converse, communication effect is undesirable and do not meet the custom that people make a phone call.Because making, above shortcoming is located in the amusement aspect but not the substitute appearance of black phone based on the voice and video communication of instant communication software at present.
[summary of the invention]
The present invention is directed to the deficiency of above-mentioned existence, propose a kind of not only can compatible black phone but also can carry out the implementation method of the networking telephone and the corresponding network phone of voice, video and written communication by the Internet.
In order to realize above-mentioned purpose, the present invention proposes a kind of network telephone based on instant messaging, comprises modules compositions such as microprocessor, memory cell, ethernet module, audio processing modules, PSTN module, LCD display module, extension storage interface, keyboard, camera, power interface.Wherein microprocessor adopts 32 embedded microprocessors of compatible ARM series; Memory cell is divided into FlashROM and RAM two parts, the temporary file when being used for stored program file and program running respectively; Ethernet module is used for connecting local area network (LAN) or ADSLMODEN, observes IEEE 802 international standards, supports the transmission rate of 10/100M; The PSTN module is used for handling the dialing of black phone and answering, and its function is identical with black phone.
The present invention also proposes a kind of implementation method based on the above-mentioned networking telephone, and the method for its realization is as follows:
When 1, dialing black phone, utilize above-mentioned network telephone software control PSTN module to call, its principle is identical with plain old telephone;
When 2, dialing network telephone, interface routine and the corresponding communications protocol of utilizing more present instant communication softwares (as Skype, Google Talk etc.) to provide, the function of instant messaging (IM) software is integrated in the above-mentioned networking telephone, makes the above-mentioned networking telephone have the function of voice, video and text communication.
When 3, dialling plain old telephone by the networking telephone, the PcToPhone function of utilizing IM service provider to provide, the voice gateways by IM realize the function conversed by the networking telephone and plain old telephone;
4, when phone is dialled in, if black phone, system controlling software is transferred to the PSTN resume module with signal; If the networking telephone, relevant software processes is given with signal by system.
In above-mentioned implementation method, when the user will dial black phone, the user only needed to click switching push button and imports the other side's telephone number then and get final product on above-mentioned network telephone; When the user uses the networking telephone, the user at first should arrive first account number of instant communication software service provider place application, store in then that the input of account number and password is the above-mentioned network telephone, later on as long as one start of above-mentioned network telephone, system will be with this account number and the automatic access of instant communicating server of password, the user is just can 24 hours online like this, easily realizes carrying out exchanging of voice, video even literal with IM user.When the user need carry out written communication, above-mentioned network telephone also was integrated with input methods such as the phonetic, stroke of similar mobile phone, makes things convenient for the user in the typing of the enterprising style of writing word of limited keyboard; If the user need be when the networking telephone dials in to plain old telephone, above-mentioned network telephone links to each other with the IM server by the instant communication software interface, and the voice gateways of utilizing IM service provider to provide are transferred to phone the purpose that realizes in the PSTN network with the ordinary telephone set conversation.
Compared with prior art, beneficial effect of the present invention has:
1, the present invention not only has the function that dials network telephone but also have the function of dialing black phone;
2, owing to use existing instant communication software interface, utilize software to realize the VOIP function, reduce the complexity and the manufacturing cost of the networking telephone greatly.
3, need not use PC to carry out the voice and video chat with the pc user.
4, can realize the networking telephone to the networking telephone, the networking telephone to computer, the networking telephone to black phone and black phone to communicating between the black phone.
5, it is almost nil that the user uses the cost of the phone call of network telephone call.
6, can realize not only that the function of conversing also has receives Email, checks other functions such as weather.
7, be convenient to system is upgraded and changes.
Also the invention will be further described in conjunction with the accompanying drawings below by embodiment.
[description of drawings]
Fig. 1 is a networking telephone theory diagram of the present invention
Fig. 2 is a networking telephone embodiment workflow schematic diagram of the present invention
Fig. 3 is a network telephone connection diagram of the present invention
[embodiment]
The networking telephone theory diagram based on instant messaging as shown in Figure 1, the present invention is made up of circuit such as microprocessor 1, memory cell 2, ethernet module 3, audio processing modules 4, PSTN module 5, LCD module 6, keyboard 7, camera circuit 8 and power supplys.In the present embodiment, microprocessor 1 uses Intel Xscale series processors; Memory cell 2 is made up of FLASH ROM9, SDRAM10 and extension storage interface 11, and wherein FLASHROM9 is used for storage system file and user profile; SDRAM10 is equivalent to the internal memory of PC, is used for the swap file of deposit operation system and Control Software; Extension storage interface 11 is user storage telephonograph data or realize other function and the standard interface that provides for convenience, can be that USB interface also can be micro hard disk interface or other interface according to concrete needs interface; Ethernet module 3 uses general 10/100M full duplex network interface card, is used for connecting local area network (LAN) or directly is connected with ADSL Moden.Audio processing modules 4 is equivalent to the sound card through special optimization, is used for realizing, digitized Code And Decode real-time to voice signal; PSTN module 5 is used for handling the plain old telephone signal, is subjected to the control of system controlling software and provides the RJ11 interface to link to each other with telephone wire.LCD module 6 is used 5 inches LCDs, is used for display video image and out of Memory.Keyboard 7 by 12 operation keyss (0-9, *, #) and a plurality of function keys form, be used for realizing control to the networking telephone.Camera circuit 8 is made up of camera and interlock circuit, is used for realizing visual function.
The networking telephone of the embodiment of the invention uses Microsoft Windows CE as its embedded OS; Communications protocol is used agreements such as Jabber/XMPP and SIP in the Control Software, to realize the purpose of compatible different instant messagings.
The basic function of the embodiment of the invention comprises:
1, network settings: the parameters such as IP address, gateway, DNS of the networking telephone are set, support DHCP and PPPOE dialing;
2, communications setting: communication protocol and information such as instant messaging account number, password that the networking telephone uses are set, so that phone can be logined the IM server automatically;
3, phone setup: language that phone uses is set, checks functions such as message registration, calling transfer;
4, video setting: the image parameter that video is set;
5, Email setting: the relevant information of Email is set, so that can receive Email;
6, telephone directory: the telephone number that the storage user uses always;
7, common function: provide function commonly used such as real-time weather inquiry, schedule, alarm clock;
8, dial, receive calls: dial, answer the networking telephone and plain old telephone;
Embodiment of the invention workflow is shown in accompanying drawing 2 and accompanying drawing 3:
1, call:
Click switching push button when (1) dialing plain old telephone earlier, system will switch to common call mode, dial the other side's telephone number then, system will control PSTN module 6 and be connected with traditional telephone network, switching network by telephone office is connected with the other side's phone, realizes the purpose of plain old telephone conversation;
Earlier choose the other side that will call out in screen when (2) dialing network telephone, press push-to-talk button then, system will be connected with corresponding IM server automatically, be finished the connection of both call sides then by the IM server negotiate.Owing to adopt the interface of corresponding instant communication software, so the present networks phone can be realized the function of most of instant communication software;
(3) when the networking telephone is dialled plain old telephone,, utilize the purpose of the voice gateways realization of IM server by the networking telephone and plain old telephone conversation by the PcToPhone function that IM service provider provides;
2, receive calls
As when incoming call, system will show incoming call mode (network/common) and caller ID, and drive audio processing modules 4 and send bell signal, if the ring unanswered, system starts message according to being provided with of user and records.If someone answers, the side hangs on or can converse by talk key.
3, send SMS message
The function that provides according to IM, the present networks phone also has the function that sends Word message, the Shi Xianying that sends SMS message chooses the object of transmission, in the literal input field, import the content that will send then, because the input tool of similar PC keyboard is not provided in the networking telephone, adopt phonetic and stroke input method commonly used on the mobile phone in the present embodiment, user-friendly.