Summary of the invention
Weak point at the prior art existence, the object of the present invention is to provide a kind of IP access code automatic dial system, used for mobile terminal IP access code automatic dial system particularly, when user's desire is used IP telephone service, can dial the IP access code that the user needs automatically, make things convenient for the consumer to use.
The present invention also aims to provide a kind of mobile phone that uses above-mentioned IP access code automatic dial system.
For realizing above-mentioned first purpose, the technical solution used in the present invention is: a kind of IP access code automatic dial system is provided, has comprised:
One baseband processor, the original number and the IP that are used to receive the keyboard input send instruction, and extract a default IP access code from a data storage, this IP access code is added in described original number automatically before, generate a new IP number, and with its transmission;
One data storage is used to store default IP access code.
Furthermore, wherein said baseband processor comprises:
One IP access code deposits device in, is used for IP access code that receiving control device sends and deposit instruction in, and deposits this IP access code in described data storage;
One IP access code extraction element is used for the access code that receiving control device sends to extract instruction, extracts default IP access code from described data storage, and sends it to described control device;
One temporary storage is used for interim storage keyboard input data;
The IP access code that one IP number generating apparatus, receiving control device send takes out original number from described temporary storage, and before described IP access code is added in this original number, generates a new IP number;
One dispensing device is used for the IP number that receiving control device sends, and this number is sent to the radio circuit of mobile phone;
One control device is used for
Receive the IP access code and the instruction of keyboard input, this IP access code is sent to described IP access code deposit device in;
Receive the original number of keyboard input, send it to described temporary storage;
Receive the IP operation signal of keyboard input, send access code and extract and instruct described IP access code extraction element, and extract default IP access code by this IP access code extraction element; Then described IP access code is sent to described IP number generating apparatus, and extract the IP number that generates from IP number generating apparatus; Then this IP number is sent to described dispensing device;
Receive the ordinary send operations instruction of keyboard input, from described temporary storage, extract original number, and send it to described dispensing device.
This baseband processor can comprise that also an original number deposits device in, be used for the IP number that receiving control device sends, the IP access code of this IP number front is removed, obtain described original number, and depositing this original number in described data storage, described data storage also is used for storing this original number.
Perhaps, this baseband processor comprises:
One IP access code deposits device in, is used for IP access code that receiving control device sends and deposit instruction in, and deposits this IP access code in described data storage;
One IP access code extraction element is used for the access code that receiving control device sends to extract instruction, extracts default IP access code from described data storage, and sends it to described control device;
One temporary storage is used for interim storage keyboard input data;
One long-distance judgment means, the decision instruction that receiving control device sends, from described temporary storage, take out the first numeral in the original number, from described data storage, take out default long-distance code, and the two is judged to this, and send judging result signal to control device, when the two is identical, send signal A, when the two not simultaneously, send signal B;
The IP access code that one IP number generating apparatus, receiving control device send takes out original number from described temporary storage, and before described IP access code is added in this original number, generates a new IP number;
One dispensing device is used for the IP number that receiving control device sends, and this number is sent to the radio circuit of mobile phone;
One control device is used for
Receive the IP access code and the instruction of keyboard input, this IP access code is sent to described IP access code deposit device in;
Receive the original number of keyboard input, send it to described temporary storage;
Receive the IP operation signal of keyboard input, send long-distance decision instruction, and receive the judging result signal that judgment means sends to described judgment means;
If judging result signal is A, then sends access code and extract and to instruct described IP access code extraction element, and extract default IP access code by this IP access code extraction element; Then described IP access code is sent to described IP number generating apparatus, and extract the IP number that generates from IP number generating apparatus; Then this IP number is sent to described dispensing device;
If judging result signal is B, then directly from described temporary storage, takes out described original number, and send it to described dispensing device;
Described data storage also is used to store default long-distance code.
Described baseband processor comprises that also an original number deposits device in, be used for the IP number that receiving control device sends, the IP access code of this IP number front is removed, obtain described original number, and should originally deposit described data storage in, described data storage also is used to store the long-distance code of this original number and setting.
This IP access code automatic dial system also can further have following feature:
Described data storage also has the data of the expression IP functional status of user's setting;
Described baseband processor also comprises an IP judgment means, the expression IP functional status data that are used for the judgment data memory, and send an IP functional status signal to control device, when the IP functional status is " opening ", send a signal C, when the IP functional status is " closing ", send a signal D;
After described judgment means receives the transmit operation instruction of keyboard input, at first send an IP functional status request signal to described IP judgment means, and receive the IP functional status signal that this IP judgment means is sent, when receiving signal C, send long-distance decision instruction to described long-distance judgment means, when receiving signal D, from described temporary storage, take out original number, and send it to described dispensing device.
For realizing above-mentioned second purpose, the technical solution used in the present invention is: a kind of mobile phone is provided, and it has general transmission key, and uses above-mentioned IP access code automatic dial system, have on its keyboard one with described IP operate corresponding IP key, during use, as press this IP key, mobile phone is carried out IP and is added and dial, send the IP number, as press general transmission key, mobile phone is carried out common dialing, sends original number.
The present invention has following beneficial effect:
One, various IP access codes can be prestored into described data storage, do not need user oneself to remember these numbers;
Two, the baseband processor of mobile phone can generate and transfer to the IP number that has required IP access code automatically, thereby can insert the IP service system of selected IP operation operator automatically, this has made things convenient for people's use to a great extent, and then has also promoted the development of IP telephone service;
Three, the present invention only needs software program of the present invention is fixed in the random access memory ram of mobile phone baseband processor, and voice signal and voice digital signal be fixed in the speech memory, can make regular handset possess various device of the present invention and function, realize purpose of the present invention;
Four, whether the present invention can or select need add and dial the IP access code by user oneself judgement, also can realize judgement automatically and dialing by the arbitration functions of system;
Five, a kind of mobile phone of this system that uses provided by the present invention also only need increase by an IP key, compare hardware cost does not have substantially to change with regular handset, and, the present invention also can use common not with the mobile phone of special IP key, hardware is just just the same with regular handset like this, therefore, the invention process is convenient, is easy to promote.
Embodiment
With reference to figure 1.IP Number for access automatic dial system of the present invention has a baseband processor, be used to receive the original number and the IP transmission instruction of keyboard input, and the IP access code that extraction one is preset from a data storage, before this IP access code is added in described original number automatically, generate a new IP number, and with its transmission; And a data storage, be used to store default IP access code.
Described baseband processor can be mobile phone CPU; Described data storage can be to be used for the number that need dial when the described IP access code of a flash memory (Flash Memory) in the mobile phone is the IP service system that enters each IP operation operator, as 17909,17931 etc., to dial this number earlier when beating IP phone, could use this IP operation after entering corresponding IP service system, this IP access code can default in the described mobile phone flash memory by baseband processor.
As seen from Figure 1, as first embodiment of the present invention, described baseband processor comprises: an IP access code deposits device in, one IP access code extraction element, original number deposits device in one by one, a temporary storage, one IP number generating apparatus, and a dispensing device.
At first, the user can confirm that then control device will be sent to the IP access code to this IP access code and deposit device in, send one simultaneously and deposit instruction in by cell phone keyboard input IP access code commonly used;
After the IP access code deposits device in and receives the IP access code that control device sends and deposit instruction in, this IP access code is deposited in an ad-hoc location of described data storage;
When the user desires calling IP phone, only need the input original number, as " 05824562875 ", press the IP operation keys on the lower keyboard then;
Control device sends to described temporary storage with this original number, sends an access code to IP access code extraction element simultaneously and extracts instruction;
IP access code extraction element receives that this access code that control device sends extracts instruction, from described data storage, extract default IP access code, as " 17931 ", and send it back to described control device, this default IP access code is the IP access code of user by the setting acquiescence;
Control device receives this IP access code, sends it to described IP number generating apparatus;
IP number generating apparatus is received the IP access code that control device sends, take out original number " 05824562875 " from described temporary storage, and before described IP access code " 17931 " is added in this original number, generate a new IP number " 1793105824562875 ";
Control device extracts the IP number that generates from IP number generating apparatus; Then this IP number is sent to described original number respectively and deposit device and dispensing device in;
Original number deposits the IP number " 1793105824562875 " that the device receiving control device sends in, the IP access code " 17931 " of this IP number front is removed, obtain described original number, i.e. " 05824562875 ", and deposit this original number in described data storage;
Dispensing device is used for the IP number that receiving control device sends, and this number is sent to the radio circuit of mobile phone, and whole flow process is finished.
Figure 2 shows that second embodiment of the present invention, be with the difference of first embodiment:
Described baseband processor also comprises an IP judgment means and a long-distance judgment means, and described data storage also has the data of the expression IP functional status that the user sets and the long-distance code of user preset.
Described judgment means at first sends an IP functional status request signal to described IP judgment means after receiving the transmit operation instruction of keyboard input;
Described IP judgment means is extracted the data of expression IP functional status from data storage, and send an IP functional status signal to control device, when the IP functional status is " opening ", be that the user is when opening the IP automatic dialing of mobile phone, this IP judgment means sends a signal C, when the IP functional status is " closing ", send a signal D;
Control device receives the IP functional status signal that this IP judgment means is sent, and when receiving signal D, this control device directly takes out original number from described temporary storage, and sends it to described dispensing device;
When if this IP functional status signal of receiving is C, this control device then sends long-distance decision instruction to described long-distance judgment means;
The long-distance decision instruction that long-distance judgment means receiving control device sends, from described temporary storage, take out the first numeral in the original number, from described data storage, take out default long-distance code, and to this two is judged, and send judging result signal to control device, when the two is identical, send signal A, when the two not simultaneously, send signal B.Said long-distance code is meant described long-distance access code usually, and the long-distance access code of China's use now is domestic to be " 0 ", abroad is that long-distance code default in " 00 " data storage should be consistent with existing long-distance access code.Still the described original number of first embodiment " 05824562875 " with the front is an example, and suppose that long-distance code default in the described data storage is " 0 ", this long-distance judgment means can send signal A to described control device after judging;
Control device receives this described long-distance judging result signal, if this long-distance judging result signal is A, then send access code and extract and to instruct described IP access code extraction element, and extract default IP access code, as " 17931 " by this IP access code extraction element; Then described IP access code is sent to described IP number generating apparatus, and extract the IP number that generates, i.e. " 1793105824562875 " from IP number generating apparatus; Then this IP number is sent to described dispensing device;
If this long-distance judging result signal is B, then directly from described temporary storage, takes out described original number " 05824562875 ", and send it to described dispensing device;
Fig. 3 shows the structural representation that adopts a kind of mobile phone of the present invention, and it uses above-mentioned IP access code automatic dial system.In its keyboard region, not only have general transmission key 1 and other general key, and have one with described IP operate corresponding IP key, during use, as long as press this IP key, mobile phone is just carried out the IP operation, automatically before original number, add the IP access code of dialling acquiescence, generate and send a new IP number, as press general transmission key, mobile phone is carried out common dialing, sends original number.
Below only enumerated a kind of embodiment of the present invention, this execution mode only is for the present invention will be described, is not to be used to limit the present invention.Those of ordinary skill in the field utilize technical scheme disclosed in this invention, all can do certain modification and accommodation to the specific embodiment of the present invention, and all these change, all within the protection range of claims that the present invention carried.