Summary of the invention
Method for early warning and system that the present invention provides a kind of communication quality to change, before can changing at the communication quality of wireless telecommunications system, the user to this wireless telecommunications system sends the early warning event message in advance.
For solving the problems of the technologies described above, the present invention adopts following technical scheme:
The method for early warning that a kind of communication quality changes comprises:
Communication quality when radio network controller (RNC) detection wireless telecommunications system carries out communication traffic, and, when communication quality becomes bad, send the early warning event message to said wireless telecommunications system through core net CN according to testing result.
Said RNC is through RANAP (the Radio Access Network Application Part to the up-link information exchange; Chain of command agreement between RNC and the CN) signaling is expanded and is encapsulated said early warning event message, and the RANAP signaling that will be packaged with the up-link information exchange of said early warning event message again sends to said CN.
Comprise that also more said early warning event message indicates whether consistent through the response signaling that said up-link information exchanges to the information exchange ID and the CN territory of the response message of the said early warning event message of RNC feedback with CN; If it is consistent; Represent that then said early warning event message sends successfully; If inconsistent, represent that said early warning event message sends failure.
RNC is packaged into newly-increased RANAP signaling with said early warning event message and sends to CN.
Also comprise judging whether wireless telecommunications system opens warning function, and open under the prerequisite of warning function, the early warning event message is provided to it at wireless telecommunications system.
If the communication traffic of wireless telecommunications system is speech communication, the step of the communication quality when the detection wireless telecommunications system carries out communication traffic comprises:
The current measured value of block error rate BLER and preset BLER threshold value that compare upstream data;
If the current measured value of said BLER is greater than said BLER threshold value, then relatively wireless telecommunications system belongs to the current measured value of received signal code power RSCP of common signal channel and the RSCP threshold value of presetting;
If the current measured value of RSCP less than said RSCP threshold value, then sends the early warning event message to wireless telecommunications system.
If the communication traffic of wireless telecommunications system is a video communication, the step of the communication quality when the detection wireless telecommunications system carries out communication traffic comprises:
Radio network controller (RNC) issues the measurement control message of communication quality measurement event between open system to wireless telecommunications system;
When the network signal quality variation, wireless telecommunications system is to the RNC reporting measurement reports;
RNC receives said measurement report, sends the early warning event message to wireless telecommunications system.
Said early warning event message comprises the AT event message.
The data content of said AT incident generates in self-defined signal language server CAT Server.
The early warning system that a kind of communication quality changes; Comprise radio network controller (RNC); Said RNC comprises the warning function module; The communication quality that said warning function module is used to detect wireless telecommunications system when carrying out communication traffic, and, when communication quality becomes bad, send the early warning event message to said wireless telecommunications system through core net CN according to testing result.
The present invention adopts above technical scheme; When the wireless telecommunications system communication quality will change, network side sent the early warning event message to wireless telecommunications system in advance, and wireless telecommunications system possibly stop to continue to move after receiving early warning; Avoided the communication quality of wireless telecommunications system to change effectively; Even communication quality changes, also be under the situation of user's prevision, thereby strengthened user experience.
The present invention can reduce the probability that communication quality changes can strengthen user's Experience Degree again, and with respect to other method in the prior art, can effectively reduce technical costs.
Embodiment
Combine accompanying drawing that the present invention is done further explain through embodiment below.
The method for early warning that communication quality changes mainly comprises: the communication quality when the detection wireless telecommunications system carries out communication traffic; According to testing result,, communication quality sends the early warning event message when becoming bad to wireless telecommunications system.
Please refer to Fig. 1, this figure is an embodiment of the invention network element structural representation, UE (wireless telecommunications system), RNC, CN; Wherein CN comprises MSC (Mobile Switching Center; Mobile switching centre), MGW (Media GateWay, WMG), HLR (Home Location Register, attaching position register), CAT Server (Customized Alerting Tone Server; Self-defined signal language server); CAT Server is that the core of the signal language of CN circuit domain is set up, and is used to store CAT service logic and play multimedia resource, like contents such as storaged voice, record language, video, picture, literal; MSC accomplishes to call out to control and move to control and forms, and is responsible for the functions such as call treatment of CS; The MGW major function provides carries control and transfer resource, carries and the medium processing, also has medium processing device (like code pattern converter, rise arrester, conference etc.), carries out the conversion of media conversion and Frame Protocol; HLR is the public establishment in CS territory and packet switching (PS, Packet Switch) territory, is in charge of the user's data storehouse, and the storage user's that administers subscription data and mobile subscriber's positional information can provide routing iinformation; RNC is the control appliance of the Access Network of 3G network, is responsible for the functions such as control of Access Network signaling process, transmission bearer and Radio Resource.
Please refer to Fig. 2, the embodiment of the invention realizes the frame diagram of early warning: the present invention can be different according to the communication traffic type of wireless telecommunications system, adopt different communication quality detection methods.When being speech communication, carry out the speech communication quality testing,, judge whether to produce and send the early warning event message to wireless telecommunications system according to testing result like the communication type; When if the communication type is video communication, carry out the video communication quality testing, according to testing result, judge whether to produce and send the early warning event message to wireless telecommunications system.The early warning incident comprises various ways, can play the form of early warning effect such as AT (Alerting Tone, signal language), note, multimedia message or other.
Embodiment one:
Please refer to Fig. 3, the flow chart for embodiment of the invention realization early warning describes in further detail the embodiment of the invention:
S110, set up and accomplish when the CS of UE is professional, promptly behind the called UE off-hook, RNC starts the warning function module; Different according to communication traffic, produce the AT event message, as; When the communication type is speech communication; The warning function module is carried out the speech communication quality testing, and according to testing result, judges whether to produce the AT event message; When the communication type was video communication, the warning function module was carried out the video communication quality testing, and according to testing result, judged whether to produce the AT event message, finally by the warning function module AT event message was passed to the RANAP module of RNC.
The RANAP module of S120, RNC is received the AT event message, and it is packaged into RANAP message, gives MSC through Iu interface RANAP transmission of messages.This RANAP message is up-link information exchange (Uplink Information Exchange), is suitable for the transmission of AT event message, need not increase RANAP message newly, only need in the up-link information exchange, expand and can transmit the AT event message.The cell of up-link information exchange comprises the RNC ID (Global RNC-ID) of information exchange ID (Information Exchange ID), information exchange type (Information Exchange Type), message transmission type (Information Transfer Type), information request type (Information Request Type), CN territory indication (CN Domain Indicator), the overall situation.The information exchange type field is expanded an information A T type; The information request type has been represented the AT event type; The AT event message is encapsulated in the RANAP signaling of up-link information exchange; Send this signaling to MSC through the Iu interface, buffer memory up-link information exchange message starts the transmission timer Timer1 of AT event message simultaneously.
The RANAP module of S130, MSC is received the signaling of up-link information exchange, according to the method for the encapsulation AT event message among the step S120 AT event message is parsed from the up-link information exchange of signaling.MSC sends A T instruction message to CAT Server, and this AT instruction message defines in the standard interface function of MSC and CAT server.
After S140, CAT Server receive the AT instruction message, give MGW with the AT data of specified type, the AT data are passed to UE through MGW.
S150, MSC reply the response of AT event message to RNC, and RNC just can know whether CN supports the AT Event Function like this.MSC just is encapsulated in the response message of up-link information exchange to the response AT of RNC event message.Response message comprises the response message of response of successful message and failure.
The success response of the AT event message that S151, MSC reply to RNC; RNC receives up-link information exchange response (Uplink Information Exchange Response) signaling; Expression MSC sends the success of AT event message, finishes the transmission timer Timer1 of the AT event message in the S120 step.Comprise information exchange ID and the indication of CN territory in the cell of the up-link information exchange response of MSC encapsulation, information exchange ID is identical with the value that receives the up-link information exchange with the value of CN territory indication, and the success response that receives correct AT event message is described.
S152, MSC reply the failure response of AT event message to RNC; RNC receives up-link information swap fault (Uplink Information Exchange Failure) signaling; Expression MSC sends the failure of AT event message, finishes the transmission response timer Timer1 of AT event message.MSC is encapsulated in the failure response message of AT event message in the up-link information swap fault, and the cell of up-link information swap fault comprises information exchange ID, the indication of CN territory, failure cause.
Above-mentioned S151 and S152 can be further; RNC receives after the up-link information exchange response; No matter be up-link information exchange response or up-link information swap fault, RNC all earlier will be from the response of receiving resolving information exchange id and the indication of CN territory, relatively whether these two cells exchange consistent with buffer memory transmission up-link information; The consistent transmission timer Timer1 that just finishes the AT event message removes buffer memory.For failure AT commanded response, different according to failure cause, can also regularly retransmit AT and instruct repeating step S120-S150 to MSC.
Adopt this execution mode; All users are opened warning function; The Iu interface need not increase new RANAP message; Utilize the AT incident of message encapsulation from RNC to MSC of up-link information exchange, utilize the response message of the response message of up-link information exchange response and up-link information swap fault as the AT event message from MSC to RNC.The AT event message is a kind of affirmation mode message, improves the transmission reliability of AT incident, and RNC can be to the further Subdividing Processing of response results.
When the communication type was speech communication, the implementation method that the warning function module is carried out the speech communication quality testing was following, please refer to Fig. 4, was the quality testing flow chart of embodiment of the invention speech communication:
S011, obtain the BLER (Block Error Rate) of upstream data.The BLER value of capable channel is counted in the transmission channel accounting of RNC user plane in, if the big explanation of BLER value error code is big, UE possibly be in signal edge or the bigger area of signal-to-jamming ratio;
S012, comparison BLER value and preset BLER threshold value 1.If the BLER value is carried out next step S013 greater than preset BLER threshold value 1, otherwise carry out S011, restart to detect;
S013, obtain RSCP (the Receive Signal Code Power) value of the PCPICH (Primary Common Pilot Channel) of UE.UE can periodically send measurement report to RNC, comprising the RSCP value of current service cell common signal channel PCPICH.It is little that UE receives PCPICH power, and it is far away just to explain that UE leaves the base station;
S014, comparison RSCP value and preset RSCP threshold value 2.If the RSCP value is just carried out next step S015, otherwise forwarded S011 to less than preset RSCP threshold value 2, restart to detect;
S015, output AT event message send to the RANAP module with the AT event message, pass to CN.
When the communication type was video communication, the warning function module was carried out before the video communication quality testing further comprising the steps of.Please refer to Fig. 5, be the quality testing flow chart of the video communication of the embodiment of the invention:
S021, UE initiate video call service.
S022, judge whether CN allows 3G to switch to the 2G system.When CN gives the Service Handover cell value Handover to GSM should not be performed in RAB (Radio Access Bearer) the Assignment Request message of RNC, represent that this RAB haves no alternative but just switch to GSM under the situation that UMTS can't carry.Promptly when UMTS network signal quality difference, just switch to the 2G system.Allow just to carry out S023, otherwise carry out S025.
Whether S023, judgement CN allow video calling to fall voice call after rise.When business was set up, the SCUIDF (Service Change and UDI/RDI Fallback) that CN indicates RNC to can be used for carrying out network-triggered through Alternative RAB Configuration cell in RABAssignment Request allowed video to fall operation after rise.After the RAB Assignment Request message that RNC receives; Judge whether Alternative RABConfiguration cell carries voice call information; If Alternative RABConfiguration cell information is arranged, just carry out S024, otherwise carry out S025.
S024, startup video communication quality testing function are carried out S026.
S025, close video communication quality testing function.
S026, behind call setup, RNC issues the measurement control message of 2E incident to this UE, when the network signal quality variation, UE will report the measurement report of 2E incident to RNC, RNC receives the measurement report of 2E incident, carries out S027.
The warning function module of S027, the RNC AT event message that conversation changes with regard to output video sends to the RANAP module with the AT event message, passes to CN.
Above-mentioned 2E incident is a kind of form of communication quality measurement event between open system.
Embodiment two:
Please refer to Fig. 6, this figure is the flow chart that another embodiment of the present invention realizes early warning.
The early warning service function that early warning wireless telecommunications system communication quality changes is decided according to user's needs, and not all user opens this function, has only the user who has customized this early warning service function when conversation, just to open this service.User's AT customized information is kept among the HLR of CN, and when call setup, customization AT service is delivered to RNC from CN, and RNC receives the AT starting command, just starts the warning function module.The performing step of present embodiment is following:
S210, user are to carrier customization AT service function, and the UE information that has customized the AT service function will be kept in the customer data base of HLR.
S220, UE are when making a call, and when MSC read UE information from HLR, if this UE has customized the AT service, MSC just opened the AT function.After the UE call setup was accomplished, MSC sent newly-increased RANAP signaling AT incident control information (AT Event Control Message) to RNC.In the RANAP signaling of AT incident control information, comprise cell type of message and control types are arranged.
After the RANAP module of S230, RNC was received the RANAP signaling of AT incident control information, the RANAP module was passed to the warning function module with this signaling.
If when the communication type of S240 wireless telecommunications system was speech communication, the warning function module was carried out the speech communication quality testing, and, judge whether to produce the AT event message according to testing result; When if the communication type is video communication, the warning function module is carried out the video communication quality testing, and according to testing result, judges whether to produce the AT event message.Finally the AT event message is passed to the RANAP module of RNC by the warning function module.
After S250, the last RANAP module of RNC are received the AT event message, send the AT event message to MSC.The AT event message is encapsulated in the newly-increased RANAP signaling AT event message (AT Event Message).Comprise type of message and reporting event type in the cell of AT event message.
After the RANAP module of S260, MSC is received the AT event message, parse the AT event message, send the AT instruction to the CAT server.
After S270, CAT server were received the AT instruction of MSC, CAT sent the AT data of specified type to MGW.
S280, MGW send UE with the AT data.
Adopt this execution mode,, do not have association between the message because increased the RANAP message of AT Event Control Message and AT Event Message newly; The message transmission is simple; Belong to non-acknowledge message, efficiency of transmission is high, customizes the business of this warning function simultaneously according to user's request; Also can be operator and bring benefit, increased a value-added service content.
Embodiment three:
By Fig. 2; For the frame diagram of embodiment of the invention realization early warning can know that a kind of early warning system comprises RNC; This RNC comprises the warning function module; The communication quality that this warning function module is used to detect wireless telecommunications system when carrying out communication traffic, and, when communication quality becomes bad, send the early warning event message to this wireless telecommunications system through core net CN according to testing result.
Adopt above embodiment, when the wireless telecommunications system communication quality will change, network side sent the early warning event message to wireless telecommunications system in advance; Wireless telecommunications system possibly stop to continue to move after receiving early warning, has avoided the communication quality of wireless telecommunications system to change effectively, even communication quality changes; Also be under the situation of user's prevision; Thereby strengthened user experience, and, can effectively reduce technical costs with respect to other method in the prior art.
Above content is to combine concrete execution mode to the further explain that the present invention did, and can not assert that practical implementation of the present invention is confined to these explanations.For the those of ordinary skill of technical field under the present invention, under the prerequisite that does not break away from the present invention's design, can also make some simple deduction or replace, all should be regarded as belonging to protection scope of the present invention.