Summary of the invention
The embodiment of the invention provides a kind of methods, devices and systems of local exchange, has solved prior art and can't treat different business with a certain discrimination, and then taked the problem of different processing modes.For achieving the above object, the embodiment of the invention is by the following technical solutions:
A kind of method of setting up local exchange of the embodiment of the invention comprises:
When in the signal cover of user at same base station controller of communicating pair, determine the present type of service of communicating pair;
Judge whether present type of service supports the local exchange of base station controller;
If present type of service is supported the local exchange of base station controller, send local loopback to described base station controller and set up Indication message, this message carries the loopback sign.
A kind of method of setting up local exchange of the embodiment of the invention comprises:
The local loopback that receives the core net transmission is set up Indication message, and wherein said local loopback is set up Indication message and carried the loopback sign;
Be designated the local switch mode of current business configuration that communicating pair uses according to described loopback.
A kind of method of removing local exchange of the embodiment of the invention comprises:
When wanting cross base station controller to switch, when perhaps receiving the message of the local exchange of releasing that core net sends, remove this locality exchange that winding identifies indicated business;
Set up user's face transmission bearer with core net;
Recover the operation exchange pattern of core network domain.
A kind of device that can realize local exchange of the embodiment of the invention comprises:
The type of service determination module is used for when in the signal cover of user at same base station controller of communicating pair, determines the present type of service of communicating pair;
Professional judge module is used for after the type of service determination module is determined the present type of service of communicating pair, judges whether present type of service supports local exchange;
Message transmission module is used for setting up Indication message to sending local loopback when described professional judge module judges that present type of service is supported local exchange, and described local loopback is set up Indication message and carried the loopback sign.
A kind of device that can realize local exchange of the embodiment of the invention comprises:
The message sink module is used to receive the local loopback that core net sends and sets up Indication message, and wherein said local loopback is set up Indication message and carried the loopback sign;
The pattern configurations module is used for according to described loopback sign, is the local switch mode of the current business configuration of communicating pair use.
A kind of system that can realize local exchange of the embodiment of the invention comprises:
Equipment of the core network is used for determining that the present type of service of communicating pair is when supporting the exchange of base station controller this locality, sends to described base station controller and sets up local loopback message, and this message is carried Locate Loopback ID;
Base station controller, be used to receive described loopback message after, be the described local switch mode of using for communicating pair of current business configuration according to described Locate Loopback ID.
The embodiment of the invention is by before setting up local the connection for communicating pair, type of service to communicating pair is judged, and then be its selection corresponding business bearing mode, thus local linkage function has been refine to service layer, be more suitable for network to locally-attached control and management.
Embodiment
Can't treat different business with a certain discrimination in order to solve the prior art scheme, and then take the problem of different processing modes, the embodiment of the invention that a kind of locally-attached methods, devices and systems are provided.Below in conjunction with accompanying drawing the embodiment of the invention is described in detail.
As shown in Figure 1, locally-attached method that the embodiment of the invention provides comprises:
101, when in the signal cover of user at same base station controller of communicating pair, determine the present type of service of communicating pair;
102, judge whether present type of service supports the local exchange of base station controller;
If 103 present type of service are supported the local exchange of base station controller, send local loopback to described base station controller and set up Indication message, this message carries the loopback sign.
The embodiment of the invention judges that by core net current communicating pair is whether in the signal cover of same base station controller, if, so the type of service of current communicating pair is judged, judge whether it supports or be worth setting up this locality to connect, if, core net then sends local loopback to base station controller and sets up Indication message, and this message carries the loopback sign; By this loopback sign, base station controller can be known the business information of communicating pair, and then selects corresponding bearing mode for different types of service.
When core net is the CS territory, the loopback sign comprises: the wireless access bearing sign of local loopback business and the combination of user ID, the combination of the wireless access bearing sign of local loopback business and Iu interface signaling connection identifier, the perhaps combination of the wireless access bearing sign of local loopback business, user ID and Iu interface signaling connection identifier; Be that local loopback is set up and carried in above-mentioned three kinds of combinations any one in the Indication message and get final product;
When core net was the PS territory, loopback sign also comprised TEID (Tunnel Identifier), DTI (directly Tunnel Identifier) or wireless access bearing sign except comprising in above-mentioned three kinds of combinations any one; Promptly local loopback was set up and not only can be carried in above-mentioned three kinds of combinations any one in the Indication message this moment, also can only carry TEID (Tunnel Identifier), DTI (directly Tunnel Identifier) or wireless access bearing sign that can globally unique identifier's business information in base station controller.
In twice judgement in step 101, step 102, carrying out,, then withdraw from the flow process of local exchange, provide communication service for the user by core net if there is arbitrary situation not that is judged as.Is known technology by core net for the user provides communication service, in this few repetition.
For core net is the situation in PS territory, whether the user that before also need judge communicating pair belongs to same SGSN, if belong to same SGSN, then then communicate both sides' the whether judgement in the signal cover of same base station controller of user, if do not belong to same SGSN, then withdraw from the flow process of local exchange, provide communication service for the user by core net.Is known technology by core net for the user provides communication service, in this few repetition.
When core net judges that the type of service of communicating pair is supported the local exchange of base station controller, also need elder generation to be adjusted into the speech encoding rate of communicating pair identical;
If promptly the speech encoding rate of communicating pair is identical, then core net can directly send local loopback to base station controller and set up Indication message;
If the speech encoding rate difference of communicating pair, then core net can be by adjusting a communicating pair or a side's speech encoding rate, make its both sides' speech encoding rate adjust identical, send local loopback to base station controller afterwards and set up Indication message, and local loopback is set up and carried adjusted speech encoding rate in the Indication message.If base station controller is supported codec functions, so when core net indication base station controller is set up local loopback, also can not adjust terminal both sides' speech encoding rate, set up at local loopback and to carry professional speech encoding rate in the Indication message, the code rate of supporting by the base station controller converting users.
As shown in Figure 2, the embodiment of the invention is a kind of sets up locally-attached method and comprises:
201, the local loopback that receives the core net transmission is set up Indication message,, wherein said local loopback is set up Indication message and is carried the loopback sign;
202, be designated the local switch mode of current business configuration that communicating pair uses according to described loopback.
Base station controller receives after local loopback that core net sends sets up Indication message, setting up the loopback that carries in the Indication message according to described local loopback is designated communicating pair and disposes local switch mode, the type of service that is communicating pair is selected the corresponding business bearing mode, and the business datum by base station controller control communicating pair exchanges afterwards.
The embodiment of the invention is analyzed by local loopback being set up the loopback sign of carrying in the Indication message, thereby obtain the type of service of communicating pair, and then be that communicating pair selects the corresponding business bearing mode, this has just refine to service layer with local function of exchange, has expanded the application scenarios of local function of exchange.
After step 202, the embodiment of the invention can take two kinds of technical schemes to carry out following flow process, will be described respectively below:
First kind: after base station controller disposed local switch mode success, directly the deletion master exhaled user's face transmission bearer of foundation, user's face transmission bearer of promptly setting up between base station controller and the core net;
Afterwards, set up local loopback by base station controller to the core net transmission and receive the response, the local exchange of this message indication configuration successful.
Second kind: base station controller is set up local loopback to the core net transmission and is receiveed the response after disposing local switch mode success, the local exchange of this message indication configuration successful;
After core net is received response message, send user's face transmission bearer that the deletion of message indication base station controller is set up for caller;
Base station controller is according to the message deletion user face transmission bearer of core net.
The method that the foundation this locality that provides for the embodiment of the invention exchanges, can be applicable in the multiple concrete scene and pattern, as the calling subscriber in the scene that the called subscriber calls out, in the scene that the caller called subscriber is switched in communication process or the like, the technical scheme of using in each scene and pattern is all identical with the embodiment of the invention, only simply is described the method for setting up local exchange under the handoff scenario as follows at this:
Before switching, communicating pair belongs within the signal cover of different base station controllers, describe for convenient, suppose that the calling party belongs within the signal cover of base station controller 1, the callee belongs within the signal cover of base station controller 2, the callee will switch to the signal cover of base station controller 1 now, and then base station controller 2 can send Relocation Required (reorientation demand) message to core net;
After core net is received described Relocation Required message, judge whether the communicating pair after switching belongs to base station controller, and whether the type of service of communicating pair supports the local exchange of base station controller;
If above-mentioned judged result is and is, core net sends Relocation Request (re-positioning request) message indication RNC to base station controller 1 and sets up local exchange, carries the loopback sign in described Relocation Request message; Otherwise, withdraw from local exchange flow process;
After base station controller 1 is received described Relocation Request message, be the local exchange of the business configuration of communicating pair;
After the configuration successful, base station controller 1 sends Relocation Required ACK (re-positioning request is replied) message to core net, and the local exchange configuration of indication is finished, and the business datum by base station controller 1 control communicating pair exchanges in this locality afterwards;
If configuration failure, base station controller 1 sends Relocation Required ACK (re-positioning request is replied) message to core net, and the indication configuration failure recovers existing core net switch mode and continues communication.
As shown in Figure 3, the embodiment of the invention provides a kind of method of removing local exchange, comprising:
301, when wanting cross base station controller to switch, when perhaps receiving the message of the local exchange of releasing that core net sends, remove this locality exchange that winding identifies indicated business;
302 and core net set up user's face transmission bearer;
303, recover the operation exchange pattern of core network domain.
According to step 302, the concrete difference of implementing of step 303, the method for the local exchange of the releasing that the embodiment of the invention provides can comprise following four kinds of technical schemes, will be described one by one below:
First kind: the step of setting up user's face transmission bearer with core net comprises:
Base station controller is judged has a side to want cross base station controller to switch;
Base station controller and core net are finished the foundation of user's face transmission bearer.
The step of the operation exchange pattern of described recovery core network domain comprises:
Base station controller sends message request to core net and removes local exchange, and portability has the loopback sign in the message;
Core net sends and receives the response, and local exchange is removed in indication, recovers the core-network side data exchange mode;
Base station controller is received receiveing the response of core net, and the configure user data are the core net switch mode, sends to core net and receives the response.
Second kind: the step of setting up user's face transmission bearer with core net comprises:
After the cross base station controller handoff request of core net As-received station control, send the local exchange indication of releasing to base station controller; Perhaps base station controller asks to remove local exchange simultaneously when core net sends switching message, and portability has the loopback sign in the message;
Core net sends and receives the response, and local exchange is removed in indication;
After base station controller is received and core net finish the foundation of user's face transmission bearer;
The step of the operation exchange pattern of described recovery core network domain comprises:
After base station controller and core net were finished the foundation of user's face transmission bearer, the configure user data were the core net switch mode, sent to core net and receiveed the response;
After core net is received message, recover the core-network side data exchange mode.
The third: the step of setting up user's face transmission bearer with core net comprises:
Base station controller is judged has a side to want cross base station controller to switch;
Base station controller and core net are finished the foundation of user's face transmission bearer;
The step of the operation exchange pattern of described recovery core network domain comprises:
Base station controller configure user business is the core net switch mode, sends message request to core net and removes local exchange, carries the loopback sign in the message;
Core net sends and receives the response, and local exchange is removed in indication, recovers the core-network side data exchange mode.
The 4th kind: the step of setting up user's face transmission bearer with core net comprises:
When core net need be initiated monitoring to side's local loopback user, core net sent the message of removing local exchange, and the indication base station controller is removed local exchange, comprises the loopback sign in the message;
After base station controller is received, the user's face transmission bearer between foundation and the core net;
The step of the operation exchange pattern of described recovery core network domain comprises:
Base station controller configure user data are the core net switch mode, send message to core net, the indication configuration successful;
After core net is received message, recover the core-network side data exchange mode.
In the method for the local exchange of releasing that the embodiment of the invention provides, if remove the situation of local loopback failure, base station controller sends Indication message to core net, and the indication local loopback is removed failure;
After core net was received message, the indication base station controller discharged the user and connects, and perhaps indicates base station controller to recover to set up local loopback.
The method of the local exchange of the releasing that the embodiment of the invention provides, can realize the releasing of the local switch mode of communicating pair, switch back core net control model or call release, the releasing of local switch mode has been refine to service layer, can be more careful and supervising the network flexibly, and expanded the application scenarios of local function of exchange.
As shown in Figure 4, a kind of device 400 that can realize local exchange of the embodiment of the invention comprises:
Type of service determination module 401 is used for when in the signal cover of user at same base station controller of communicating pair, determines the present type of service of communicating pair;
Professional judge module 402 is used for after the type of service determination module is determined the present type of service of communicating pair, judges whether present type of service supports local exchange;
Message transmission module 403 is used for setting up Indication message to sending local loopback when described professional judge module judges that present type of service is supported local exchange, and described local loopback is set up Indication message and carried the loopback sign.
A kind of device that can realize local exchange of the embodiment of the invention also comprises:
Speed adjusting module 404 is used for speech encoding rate with communicating pair and is adjusted into identically, sends local loopback by message transmission module to base station controller afterwards and sets up Indication message;
Judge module 2 405 is used to judge whether the user of communicating pair belongs to a SGSN.
As shown in Figure 5, a kind of device 500 that can realize local exchange of the embodiment of the invention comprises:
Message sink module 501 is used to receive the local loopback that core net sends and sets up Indication message, and wherein said local loopback is set up Indication message and carried the loopback sign;
Pattern configurations module 502 is used for according to described loopback sign, is the local switch mode of the current business configuration of communicating pair use.
A kind of device that can realize local exchange of the embodiment of the invention also comprises:
Removing module 503, be used for local exchange configuration successful after, the main user's face transmission bearer of exhaling foundation of deletion;
As shown in Figure 6, the embodiment of the invention provides a kind of system that can realize local exchange, comprise: equipment of the core network 1, described equipment of the core network are connected with at least one base station controller 2, and the signal cover of described base station controller is built-in with the user terminal 3 that needs communication;
Equipment of the core network is used for determining the present type of service of communicating pair, judges afterwards whether present type of service supports the local exchange of base station controller; If present type of service is supported the local exchange of base station controller, send to described base station controller and set up local loopback message, this message portability loopback service identification;
Base station controller, be used to receive described loopback message after, be that described user terminal sets up local exchange.
The system that can realize local exchange that the embodiment of the invention provides, also comprise: equipment of the core network 1, described equipment of the core network are connected with at least one base station controller 2, and the signal cover of described base station controller is built-in with the user terminal 3 that needs communication;
Base station controller is used in the time will removing local exchange and core net is set up data communication channel; Restore data is exchanged for the core net switch mode;
Equipment of the core network is used for recovering the data exchange mode of core-network side in the time will removing local exchange.
The methods, devices and systems of this locality exchange that the embodiment of the invention provided, by before setting up local the connection for communicating pair, type of service to communicating pair is judged, and then be that it selects the corresponding business bearing mode, thereby local linkage function has been refine to service layer, be more suitable for network locally-attached control and management.
The embodiment of the invention is for the situation in CS territory, and equipment of the core network can be MSC, and for the situation in PS territory, equipment of the core network can be SGSN; In addition, the base station controller mentioned of the embodiment of the invention also can be flattening base station or Home eNodeB or the like.
One of ordinary skill in the art will appreciate that: all or part of step in realization the foregoing description method can instruct relevant hardware to finish by program, described program can be stored in the computer-readable recording medium, as ROM/RAM, magnetic disc or CD etc.
The above; only be the specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the described protection range of claim.