Summary of the invention
Primary and foremost purpose of the present invention is to overcome above problem, propose a kind of blue teeth wireless voice terminal device in a plurality of adjacent blue tooth voice gateways registration and simultaneously and a plurality of Bluetooth gateways set up multiple path blue-tooth and be connected the method that calling receives calls.Wherein adopt bluetooth standard cordless telephone CTP to use in blue teeth wireless voice terminal device and the blue tooth voice gateway or bluetooth handsfree HF application or bluetooth earphone HS application, or wherein several combination in any.
The blue teeth wireless voice terminal device is at first registered in a plurality of adjacent gateways, the blue teeth wireless voice terminal device is selected M the highest gateway of the connection priority in a plurality of neighboring gateways and is added gateway, M the gateway that current connection priority is the highest is generally the Bluetooth terminal best choice, these gateways are good to Bluetooth terminal Bluetooth RF signal quality, and the gateway load is few.
When the blue teeth wireless voice terminal device when the Bluetooth gateway telephone calling, Bluetooth terminal selects the highest gateway of current connection priority of its connection to carry out call, if this gateway can't be set up calling because of a variety of causes, then Bluetooth terminal can select the current connection priority time high gateway of its connection to carry out call immediately; When avoiding only connecting a gateway like this, if gateway is busy, then Bluetooth terminal can't carry out the problem of call by gateway, in this case, even connect second gateway immediately, whether this gateway is busy, or all not unpredictable in the Bluetooth RF scope, set up bluetooth and connect and may use for a long time, the user can't stand.
In addition, outside line can be got to any one of M neighboring gateway that the blue teeth wireless voice terminal device connected, Bluetooth terminal can receive calls by bluetooth, and Bluetooth terminal is when only connecting a gateway, outside line must be got to this gateway, if this gateway is busy, then outside line can't be connected Bluetooth terminal.
The mobile incoming call that the blue teeth wireless voice terminal device can receive itself is transferred in M the highest blue tooth voice gateway of the connection priority of its current connection; Equally, if Bluetooth terminal only connects a gateway, if this gateway is busy, then Bluetooth terminal can't be called out incoming call and transfer to this gateway.
The bluetooth voice terminal device of wherein said method mainly comprises a bluetooth communication module, a host system, comprise CPU, its display control interface interface with and operating system.If bluetooth voice terminal device has mobile communication function, it also comprises mobile communication module, comprises attached SIM card etc.The Bluetooth gateway of described method mainly comprises a bluetooth communication module, and a host system comprises host CPU, its display control interface interface, operating system and some communication interfaces, as PSTN, ISDN, ADSL, Ethernet etc.
Second purpose of the present invention is that the blue teeth wireless voice terminal device of proposition is registered, and the steps include: in order to realize first purpose in a plurality of adjacent gateways
(a) the blue teeth wireless voice terminal device is set up bluetooth with certain blue tooth voice gateway and is connected, and connection can be initiated also can be initiated by the blue teeth wireless voice terminal device by gateway, carry out bluetooth safety certification and bluetooth mandate; If failure of bluetooth safety certification or refusal are authorized then are finished; Safety certification and authorize and successfully then continue following steps;
(b) this blue teeth wireless voice terminal device of registration in the blue teeth wireless voice terminal device tabulation of blue tooth voice gateway; Registration comprises preserves this blue teeth wireless voice terminal device name, the safe key that Bluetooth address information and safety certification produce, and fair the setting permitted this blue teeth wireless voice terminal device and called out by blue tooth voice gateway or receive calls;
(c) this blue tooth voice gateway of registration in the list of gateways of blue teeth wireless voice terminal device, and to blue tooth voice gateway distribution connection priority; Connection priority can be calculated by the connection priority computational methods, but also the user specifies;
(d) gateway that connection priority is the highest is the primary gateway of this terminal equipment, if select this blue tooth voice gateway to become the primary gateway of this terminal equipment, then blue teeth wireless voice terminal device this gateway of mark in the list of gateways of this equipment is a primary gateway, the blue teeth wireless voice terminal device sends signaling to gateway, it is primary gateway that this blue teeth wireless voice terminal device of notification gateway is selected this gateway, it is primary gateway that gateway this blue teeth wireless voice terminal device of mark in its blue teeth wireless voice terminal device tabulation is selected this gateway, this signaling can be the self-defined AT command string based on the AT command format, or passes through the signaling that the company's custom field " Company Specific " in the message " INFO SUGGEST " of bluetooth TCS is expanded; If it is primary gateway that the blue teeth wireless voice terminal device has been provided with other gateway, then primary gateway before the notice is cancelled terminal equipment primary gateway mark in the terminal equipment tabulation in this gateway;
(e) to blue teeth wireless voice terminal device and adjacent gateway A P1 ... APn repeats above (a) (b) (c) (d) step, so that this blue teeth wireless voice terminal device and adjacent gateway are finished mutual registration.
The 3rd purpose of the present invention is that the blue teeth wireless voice terminal device of proposition is selected gateway and added a plurality of neighboring gateways, the steps include: in order to realize first purpose
(a) blue tooth voice gateway APi, i=1 ... n, regularly the blue teeth wireless voice terminal device around the inquiry; In the blue teeth wireless voice terminal device newly appears at the coverage of gateway, and this terminal equipment registered in this gateway, and then gateway is initiated to set up bluetooth to the blue teeth wireless voice terminal device and connected;
(b) for being connected of gateway, the blue teeth wireless voice terminal device can keep and being connected of M gateway, M is more than or equal to 1; If, then accepting APi less than M, the connection number of current blue teeth wireless voice terminal device connects; If current connection number is more than or equal to M, then judge the connection priority of the gateway of current already present connection, if the connection priority of the gateway of current all connections is greater than the priority of gateway A Pi, then refuse the connection of APi, keep current connection, connect otherwise accept APi, disconnect the minimum gateway of connection priority in the current connection;
(c) if connect blue tooth voice gateway APi success, the blue teeth wireless voice terminal device sends signaling to gateway A Pi, obtain information such as the pairing telephone number of APi, and be kept in its Bluetooth gateway tabulation, signaling wherein can be the self-defined AT command string based on the AT command format, or passes through the signaling that the company's custom field " Company Specific " in the message " INFOSUGGEST " of bluetooth TCS is expanded;
(d) adjacent gateway A P1 ... APn is repeating step (a) (b) (c) successively, finishes a connecting moves up to all neighboring gateways.Generally speaking, the blue teeth wireless voice terminal device finally has been connected to its primary gateway at least, but when primary gateway had fault or reached maximum number of connections, the blue teeth wireless voice terminal device finally can be connected to other available gateways that its connection priority is lower than primary gateway slightly.
The 4th purpose of the present invention is to realizing first purpose, when proposition has connected M blue tooth voice gateway at the blue teeth wireless voice terminal device, when the relative blue tooth voice gateway change in location of blue teeth wireless voice terminal device, or Bluetooth gateway load variations, the blue teeth wireless voice terminal device is dynamically adjusted the connection priority of the blue tooth voice gateway in its list of gateways, and reselect M the highest gateway of connection priority in a plurality of neighboring gateways and add gateway, it is characterized in that, comprise step:
(a) when the user triggers, or the blue teeth wireless voice terminal device Bluetooth RF signal strength signal intensity that detects certain Bluetooth gateway of its current connection is when being reduced to critical value L, and the blue teeth wireless voice terminal begins to adjust the blue tooth voice gateway connection priority in its list of gateways; The Bluetooth RF signal strength signal intensity that also can be set at here when the main Bluetooth gateway that connects is reduced to critical value L, or load rise begins to adjust during to critical value F;
(b) blue tooth voice gateway around the inquiry of blue teeth wireless voice terminal device, inquiry obtains each gateway present load and its Bluetooth RF signal strength signal intensity RSSI (Radio SignalStrength Indication);
(c) the blue teeth wireless voice terminal calculates connection priority to each gateway present load and its Bluetooth RF signal strength signal intensity of gained according to the connection priority computational methods, gateway is carried out the connection priority ordering, and the gateway that priority is the highest is the primary gateway of this blue teeth wireless voice terminal;
(d) when the primary gateway of blue teeth wireless voice terminal becomes new gateway, the blue teeth wireless voice terminal sends signaling, notifying former primary gateway is non-primary gateway, send signaling, notifying new primary gateway is primary gateway, wherein this signaling can be the self-defined AT command string based on the AT command format, or passes through the signaling that the company's custom field " Company Specific " in the message " INFOSUGGEST " of bluetooth TCS is expanded;
(f) M the highest gateway of blue teeth wireless voice terminal connection priority disconnects original M the gateway that connects; If originally part gateway in the M of the Lian Jieing gateway remains one of M the highest gateway of blue teeth wireless voice terminal connection priority, then need not disconnect connection.
In actual applications, the blue teeth wireless voice terminal can change along with moving constantly of blue teeth wireless voice terminal relative to the position of Bluetooth gateway, calculate the method for connection priority and ordering according to this, the blue teeth wireless voice terminal is can service range oneself nearest, radiofrequency signal is best, and present load few gateway of trying one's best carries out call and answers operation.Concerning gateway, also be a method that realizes load balance.
The 5th purpose of the present invention is to realizing first purpose, proposes described blue teeth wireless voice terminal device connection priority order from high to low by gateway when connecting telephone calling by bluetooth, selects gateway to carry out call, the steps include:
(a) the blue teeth wireless voice terminal device keeps bluetooth to be connected with M gateway, and gateway sorts from high to low by connection priority and is AP
1AP
M, M is more than or equal to 1; During telephone calling, the blue teeth wireless voice terminal device is to the gateway A P of current connection
1Send signaling, can inquiry carry out call by this gateway, as carrying out call, then select to carry out call by this gateway, this signaling can be the self-defined AT command string based on the AT command format, or passes through the signaling that the company's custom field " Company Specific " in the message " INFO SUGGEST " of bluetooth TCS is expanded;
(b) busy or fault is arranged as the current gateway of inquiring about, then the blue teeth wireless voice terminal device is inquired about the gateway A P of current connection by connection priority from high to low successively
i, can (i is 1 to M) pass through gateway A P
iCarry out call,, then select to carry out call by this gateway as carrying out call;
(c) busy all or fault arranged as M gateway of current connection, then the blue teeth wireless voice terminal device is searched and whether is had other attachable gateways, if exist, then the blue teeth wireless voice terminal device is got the highest available gateway connection of connection priority in its gateway that does not connect, can disconnect with being connected of current gateway, also can keep; If the gateway that does not connect can not used, then this time call out and to set up;
When the blue teeth wireless voice terminal device is conversed by gateway,, can disconnect and to keep with being connected of other gateways according to the tenability of hardware; If disconnect, after conversation was finished, recovery was connected with the gateway that disconnects.
Bluetooth terminal keeps the method that is connected with a plurality of gateways, help shortening the time of telephone calling, if setting up conversation, the primary gateway that Bluetooth terminal can not pass through to be connected connects, then Bluetooth terminal can use current other gateways that connect to initiate the conversation connection at once, both can successfully initiate conversation and connect for one in a plurality of gateways that the normal conditions Bluetooth terminal passes through to be connected; To the worst situation, the current gateway that connects is all busy or also can be dynamically connected the certainly gateway of other registered mistakes of fault, Bluetooth terminal is arranged, and is also more convenient to the user.
The 6th purpose of the present invention is to propose described blue teeth wireless voice terminal device by the method that the registered therein Bluetooth gateway of any one this terminal equipment receives calls, and the steps include:
(a) the remote subscriber gateway of making a telephone call to, if gateway has existed bluetooth to be connected with this blue teeth wireless voice terminal device, then gateway is set up conversation with this blue teeth wireless voice terminal device and is connected, and receives calls;
(b) if gateway does not exist bluetooth to be connected with this blue teeth wireless voice terminal device, other blue teeth wireless voice terminal devices do not receive calls, gateway is not connected with it respectively but terminal equipment that register in this gateway connects in turn, and keep connection N second, then gateway finally can be connected to specific blue teeth wireless voice terminal device, this terminal equipment is set up conversation and is connected, and receives calls;
The 7th purpose of the present invention is to realizing first purpose, when the blue teeth wireless voice terminal device that proposes connects a plurality of blue tooth voice gateway simultaneously, the blue teeth wireless voice terminal device is transferred to optimum idle blue tooth voice gateway with its incoming call that receives, and the steps include:
(a) remote subscriber is to blue teeth wireless voice terminal device telephone calling;
(b) the blue teeth wireless voice terminal device keeps bluetooth to be connected with M gateway, and gateway sorts from high to low by connection priority and is AP
1AP
M, M is more than or equal to 1; When receiving call, the blue teeth wireless voice terminal device is to the gateway A P of current connection
1Send signaling, can inquiry receive calls by this gateway, as receiving calls, then the blue teeth wireless voice terminal device sends signaling to its telephone network, its incoming call that receives is transferred to AP1, wherein, signaling can be the self-defined AT command string based on the AT command format, or passes through the signaling that the company's custom field " Company Specific " in the message " INFO SUGGEST " of bluetooth TCS is expanded;
(c) busy or fault is arranged as the current gateway of inquiring about, then the blue teeth wireless voice terminal device is inquired about the gateway A P of current connection by connection priority from high to low successively
i, can (i is 1 to M) pass through gateway A P
iReceive calls, as receiving calls, then the blue teeth wireless voice terminal device sends signaling to its telephone network, and its incoming call that receives is transferred to AP
i
(d) if the current whole states of M gateway that connect of blue teeth wireless voice terminal device are busy, then the blue teeth wireless voice terminal device is searched current the connection but gateway in the Bluetooth terminal radio-frequency region in its register list, select the wherein the highest idle gateway of connection priority, if exist, then connect with this gateway, Bluetooth terminal equipment as GSM/CDMA calling transfer signaling, is transferred to this gateway with call to the signaling of its telephone network transmission based on its telephone network standard.If the gateway that does not connect can not used, then can't answer this phone by calling transfer.
When the blue teeth wireless voice terminal device is conversed by gateway,, can disconnect and to keep with being connected of other gateways according to the tenability of hardware; If disconnect, after conversation was finished, recovery was connected with the gateway that disconnects.
The 8th purpose of the present invention is the connection priority computational methods of blue teeth wireless voice terminal device, is specially:
(a) gateway load L=((linking number/maximum is supported linking number) * 100) %; Connection wherein can be current bluetooth linking number of blue tooth voice gateway or the current voice call linking number of conversing; Blue tooth voice gateway its equipment class (Class ofDevice, CoD) in the field, its present load of dynamic marks; According to Bluetooth protocol, there are at present 3 (Bit) can identification load in the equipment class field, for numeral 0 to 7, represent load 0% respectively, (100/7) %, 2* (100/7) %, 3* (100/7) %, 4* (100/7) %, 5* (100/7) %, 6* (100/7) %, 100%; Wherein load is by blue tooth voice gateway current bluetooth linking number or current voice call linking number decision of conversing; Load at present can obtain by the CoD field of bluetooth standard, does not also get rid of Bluetooth terminal and uses the order of expanding to obtain the load of gateway;
(b) when gateway to the Bluetooth signal intensity RSSI of blue teeth wireless voice terminal device less than minimum RSSI, gateway signal intensity Q=0 then; When gateway to the Bluetooth signal intensity RSSI of blue teeth wireless voice terminal device greater than maximum RSSI, gateway signal intensity Q=100% then; When gateway to the Bluetooth signal intensity RSSI of blue teeth wireless voice terminal device greater than minimum RSSI, during less than maximum RSSI, gateway signal intensity Q=(((the minimum RSSI of current RSSI-)/(the minimum RSSI of maximum RSSI-)) * 100) % then; Wherein minimum RSSI and maximum RSSI are set point;
(c) if gateway load L is 100%, its connection priority P=0 then;
(d) if the gateway signal intensity Q equals 0%, its connection priority P=0 then;
(e) if in bluetooth inquiry, can not find gateway, its connection priority P=0 then;
(f) under other situations, gateway connection priority P=((100%-gateway load L) * power 1+ gateway signal intensity Q * power 2)/(power 1+ power 2), wherein weigh 1 and power 2 can set.
The 9th purpose of the present invention is to propose a kind of method of the race problem when reducing a plurality of blue tooth voice gateways and connecting same blue teeth wireless voice terminal device simultaneously, register in a plurality of gateways to avoid Bluetooth terminal, or produce operating collision when adding a plurality of gateway, the steps include:
(a) all gateways are at T1, T2 ... blue teeth wireless voice terminal device around the Tn inquiry, Ti=Tp+Tr wherein, (i=1 ... n), Tp is the cyclic polling time constant of user's setting; The interior random number of random number time range that Tr sets for the user;
(b) gateway is after finding new blue teeth wireless voice terminal device, initiates after the time and being connected of blue teeth wireless voice terminal device at Ts, and Ts is the random number time in the scope of user's setting; Like this, when Bluetooth terminal entered the radio-frequency region of a plurality of gateways, a plurality of gateways found and can be different to the time point of this terminal initiation connection;
(c) after gateway is connected to the blue teeth wireless voice terminal device, the blue teeth wireless voice terminal device oneself is set to bluetooth can not connection mode, its bluetooth discovery mode can be set to not discoverable mode, and gateway is connected initialization procedure with the mobile phone renewal of registration or other.Other gateway then temporarily can't be connected to this blue teeth wireless voice terminal device like this;
(d) after gateway and mobile telephone registration or other are connected initialization procedure and finish, but the blue teeth wireless voice terminal device oneself be provided with revert to the bluetooth connection mode, its bluetooth discovery mode reverts to discoverable mode;
(e) other the gateway that temporarily can't be connected to this blue teeth wireless voice terminal device, repeated attempt connects gateway N time of newfound this blue teeth wireless voice terminal device in the regular hour, and N can set; Like this, other the gateway that temporarily can't be connected to this blue teeth wireless voice terminal device can be proceeded with Bluetooth terminal after the finishing alternately of previous gateway and Bluetooth terminal successively alternately.
The method that the blue teeth wireless voice terminal device that the present invention carries is connected with a plurality of adjacent Bluetooth gateways maintenances, in the time of can avoiding only connecting a gateway, can't carry out phone operation if this gateway is busy or operate very problem such as difficulty, can effectively make full use of a plurality of adjacent Bluetooth gateway resources, and balance the load of gateway, improved and called out the probability of success that receives calls, also improved the quality that bluetooth connects, situation when being particularly useful for the public arena Bluetooth gateway and being a lot of people and using improves the convenience that the user uses.
By describing flow process of the present invention in detail, will help to understand objects and advantages of the present invention by the preferred embodiment accompanying drawing.Wherein:
Specific embodiment
Fig. 1 is that conventional blue teeth wireless voice terminal device adds gateway, by gateway call and the process that receives calls.In the mode of routine, the blue teeth wireless voice terminal device once can only add a blue tooth voice gateway, carries out corresponding operation of making a phone call to receive calls.At first, the blue teeth wireless voice terminal device enters gateway radio-frequency region (U110), blue teeth wireless voice terminal device and gateway carry out registrations (S110) such as bluetooth authentication mandate, terminal adds gateway (S120), the user is from terminal dialing (U120), telephone calling, the blue teeth wireless voice terminal can only be given the current unique gateway that connects by signaling, (S130) dials, dialing can be passed through the signaling that the company's custom field " Company Specific " in the message " INFO SUGGEST " of bluetooth TCS is expanded, also can be by the standard of bluetooth handsfree, use the AT order, or the self-defining signaling of manufacturer, gateway is carried out dialing (W110), after the dial-up success, the blue teeth wireless voice terminal is by gateway and remote subscriber conversation (S140); Gateway (S150), gateway hang up the telephone (W120) are given in user's on-hook (U130), blue teeth wireless voice terminal signaling; When receiving calls, the remote subscriber gateway (W130) of making a telephone call to, gateway sends signaling to the current blue teeth wireless voice terminal (S160) that connects, and the blue teeth wireless voice terminal receives calls (U140), and the blue teeth wireless voice terminal is by gateway and remote subscriber conversation (S170); Gateway (S180), gateway hang up the telephone (W140) are given in user's on-hook (U150), blue teeth wireless voice terminal signaling.
Fig. 2 explains the process that blue teeth wireless voice terminal device is according to a particular embodiment of the invention registered in three neighboring gateways; Main purpose of the present invention is that Bluetooth terminal can connect a plurality of adjacent gateways simultaneously, and make a phone call to receive calls by a plurality of gateways, for this reason, Bluetooth terminal at first need be registered in a plurality of gateways, be specially: Bluetooth terminal enters gateway A P210 radio-frequency region (U210), gateway is initiated bluetooth and is connected to Bluetooth terminal and authenticates (S210), gateway A P210 registers Bluetooth terminal (S220), Bluetooth terminal is registered this Bluetooth gateway (R210), this is first gateway of registering in the Bluetooth terminal, then send signaling to gateway A P210, notify this gateway primary gateway of Bluetooth terminal (S230) for this reason; Bluetooth terminal enters gateway A P220 radio-frequency region (U220), gateway is initiated bluetooth and is connected to Bluetooth terminal and authenticates (S240), gateway A P220 registers Bluetooth terminal (S250), Bluetooth terminal is registered this Bluetooth gateway (R220), this is second gateway registering in the Bluetooth terminal, Bluetooth terminal is selected according to the user or is selected a primary gateway according to specific sort method in gateway A P210 that has registered and AP220, here suppose that AP220 is new primary gateway, then send signaling to gateway A P220, notify this gateway primary gateway of Bluetooth terminal (S260) for this reason, send signaling to gateway A P210, notifying this gateway is the primary gateway (S270) of non-this Bluetooth terminal; Bluetooth terminal enters gateway A P230 radio-frequency region (U230), gateway is initiated bluetooth and is connected to Bluetooth terminal and authenticates (S280), gateway A P230 registers Bluetooth terminal (S290), Bluetooth terminal is registered this Bluetooth gateway (R230), this is the 3rd gateway of registering in the Bluetooth terminal, the gateway A P210 that Bluetooth terminal is selected according to the user or registered according to specific sort method, select a primary gateway among AP220 and the AP230, here suppose that AP220 is still primary gateway, then Bluetooth terminal is not done any action; Here be exemplified as three neighboring gateways, when multiple gateway is arranged more, then according to this method.
Fig. 3 explains the process of three neighboring gateways of blue teeth wireless voice terminal device adding according to a particular embodiment of the invention, blue teeth wireless voice terminal and these three gateways registers mutually, and the blue teeth wireless voice terminal allows being connected of maintenance two-way and gateway for example here.Bluetooth terminal enters gateway A P210 radio-frequency region (U310), what gateway A P210 was initiated to Bluetooth terminal sets up bluetooth connection request (S310), Bluetooth terminal is judged according to the connection priority of current linking number and this gateway, current Bluetooth terminal does not connect, Bluetooth terminal allows two-way to connect, and Bluetooth terminal is accepted this connection request (S320); Bluetooth terminal enters gateway A P220 radio-frequency region (U320), what gateway A P220 was initiated to Bluetooth terminal sets up bluetooth connection request (S330), Bluetooth terminal is judged according to the connection priority of current linking number and this gateway, current Bluetooth terminal has one the tunnel to connect, Bluetooth terminal allows two-way to connect, and Bluetooth terminal is accepted this connection request (S340); Bluetooth terminal enters gateway A P230 radio-frequency region (U330), what gateway A P230 was initiated to Bluetooth terminal sets up bluetooth connection request (S350), Bluetooth terminal is judged according to the connection priority of current linking number and this gateway, current Bluetooth terminal has two-way to connect, Bluetooth terminal allows two-way to connect, a kind of situation is two gateway A P210 and the AP220 of the connection priority of AP230 less than current connection, and then Bluetooth terminal is refused this connection request (S360); Another situation is that the connection priority of AP230 is greater than one among two gateway A P210 of current connection and the AP220, AP210 for example, then Bluetooth terminal is accepted this connection request (S370), and Bluetooth terminal disconnects be connected (S380) with the gateway A P210 of connection priority minimum; Here be exemplified as three neighboring gateways, when multiple gateway is arranged more, then according to this method.
Fig. 4 explanation blue teeth wireless voice terminal device is according to a particular embodiment of the invention selected the process of gateway by the bluetooth telephone calling: Bluetooth terminal adds gateway A P410 and AP420 (S410), and wherein gateway A P410 is a primary gateway; The user is from Bluetooth terminal telephone calling (S420), and whether the state of the primary gateway AP410 that Bluetooth terminal inquiry connection priority is the highest can be set up conversation and connect (S430), if can, then by the AP410 telephone calling, set up conversation and connect; If AP410 is busy, as in conversing with other Bluetooth terminal, or AP410 has fault, the state of the gateway A P420 that Bluetooth terminal inquiry connection priority is time high then, whether can set up conversation and connect (S450), if of course,, set up conversation and connect then by the AP420 telephone calling; If AP420 is busy, as in conversing with other Bluetooth terminal, or AP420 has fault, and then whether the Bluetooth terminal inquiry has other not connect but the gateway A Pi that register, whether can set up the connection (S470) of conversing, if have, then set up bluetooth and be connected, if desired, disconnect and being connected of the minimum gateway A P420 of connection priority with APi, by APi telephone calling (S480), set up conversation and connect; If there are not other gateways to use, then telephone calling failure (S490); If set up the conversation successful connection, after the telephone finished, hang up the telephone (S495), as needs, recovery is connected with original gateway A P420's.
Fig. 5 explains the process that blue teeth wireless voice terminal device according to a particular embodiment of the invention receives calls by the registered therein Bluetooth gateway of any one this terminal equipment; Bluetooth terminal TL510 and TL520 all with gateway registration, TL510 has added gateway (S510), TL520 has added other gateway, do not add current gateway, outside line incoming call (U510), gateway sends signaling ring (S520) to the terminal TL510 that connected, and a kind of situation is terminal TL510 directly receive calls (S530); Another situation is, terminal TL510 does not receive calls, gateway successively in its register list the terminal in the gateway radio-frequency region connect, for example here, gateway is initiated to set up bluetooth to TL520 and is connected (S540), gateway sends signaling ring (S550) to terminal TL520, terminal TL520 directly receive calls (S560).If TL520 does not receive calls within a certain period of time, then gateway disconnects and being connected of TL520, and gateway connects other in its register list and the terminal in the gateway radio-frequency region successively.
The mobile telephone network incoming call of Fig. 6 explanation blue teeth wireless voice terminal device is according to a particular embodiment of the invention transferred to the process of bluetooth landline telephone voice gateways, and Bluetooth terminal connects two AP for example here; The blue teeth wireless voice terminal at first add gateway A P610 and AP620 (S610, S620); Mobile network's incoming call Bluetooth terminal, Bluetooth terminal gateway status (S630, S640) that inquiry connects, Bluetooth terminal is selected optimum gateway (S650) according to the connection priority sort method, here the AP620 call load is minimum for example, AP620 is best to the signal of Bluetooth terminal, Bluetooth terminal sends to the mobile network with the pairing telephone number of AP620, and the concurrent order of delivering letters is transferred to gateway A P620 (U620) with mobile network's incoming call; Gateway A P620 receives and shifts incoming call (S660), gateway A P620 notice Bluetooth terminal incoming call (S670), Bluetooth terminal receive calls (U630).
Fig. 7 explains the process of the race problem when according to a particular embodiment of the invention a plurality of adjacent blue tooth voice gateways of minimizing connect same blue teeth wireless voice terminal device simultaneously; Bluetooth terminal enters a plurality of adjacent Bluetooth gateway radio-frequency regions (U710), the inquiry of T1 and the T2 initiation constantly at random bluetooth equipment (S710 that Bluetooth gateway AP710 and AP720 are setting respectively, S715), here suppose that AP710 at first finds Bluetooth terminal, AP710 initiates to set up bluetooth connection request (S720) to Bluetooth terminal, Bluetooth terminal is accepted connection request, exist side by side and soon oneself be set to bluetooth and do not accept connection, discoverable mode (S725) not, notice AP710 successful connection (S730), like this, other bluetooth equipment just can't connect with Bluetooth terminal; If at this moment AP720 initiates to set up bluetooth connection request (S735) to Bluetooth terminal, the bluetooth connection request can be failed and be returned (S740); When the operation between Bluetooth terminal and the gateway A P710 was finished, Bluetooth terminal recovered to be set to accept connection mode and discoverable mode (S745); AP720 makes repeated attempts within a certain period of time and initiates to set up bluetooth connection request (S750) to Bluetooth terminal, Bluetooth terminal is accepted connection request, exist side by side and soon oneself be set to bluetooth and do not accept connection, discoverable mode (S755) not, notice AP720 successful connection (S760) guarantees that like this other gateways can not be connected to Bluetooth terminal; Here be example only with two gateways, when more heterogeneous adjacent gateway, and the like.
Though the present invention illustrates and describes with reference to its preferred embodiment, but will be understood by those skilled in the art that, under the situation of the spirit and scope of the present invention that do not break away from the appended claims and limited, can carry out the various changes of form and details.