Summary of the invention
The technical problem to be solved in the present invention provides a kind of method of ongoing calling being adjusted call priority in trunked communication system, can't promote the problem that reduces call priority to ongoing trunked call to solve in the existing group system.
For solving the problems of the technologies described above, the invention provides real-time adjusting calling priority method in a kind of group system, it may further comprise the steps:
(a) in certain calling procedure, the claimant sends asking to dispatch server of the call priority of adjusting this calling;
(b) after dispatch server received that the claimant asks, if navigate to this calling, the information and sending that then processes lifting or reduction call priority was given authentication server;
(c) message of authentication server resolution scheduling server transmission is also calculated the call priority that makes new advances, and sends response message to dispatch server then, carries this new call priority;
(d) dispatch server is replaced the former call priority of this calling with new call priority, and sends success message to the claimant.
Further, in the inventive method step (c), after authentication server is received the message that dispatch server sends, judge earlier that the claimant is whether legal and whether have the authority of adjustment call priority, if calculate the call priority that makes new advances again and send response message.
Further, can not navigate to the middle authentication server of this calling or step (c) in the inventive method step (b) and judge that the claimant is illegal or do not have the authority of adjusting call priority that then dispatch server sends failure cause to the claimant.
Further, in the inventive method step (c), after the message that authentication server resolution scheduling server sends,, calculate the call priority value that makes new advances according to the former call priority of calling out in the calling corresponding priorities Configuration Values that will adjust to that from database, inquires and the request message.
Further, in the inventive method step (c), priority value represents that with a plurality of bit several bit wherein are used to represent high-priority call or low priority call.
Further, claimant in the inventive method step (a) is a colony terminal, it sends by base station sub-system and adjusts the call priority request, and in the described step (b), dispatch server is to locate described calling according to terminal iidentification in the request message or group identification.
Further, claimant in the inventive method step (a) is the dispatcher of dispatching desk client, it sends by scheduling proxy server and adjusts the call priority request, and in the described step (b), dispatch server is to locate described calling according to the group identification in the request message.
Further, after the inventive method dispatch server is replaced the former call priority of this calling with new call priority, the charging statistical message of dispatch server before accounting server sends the call priority adjustment, and, begin new charging statistics constantly from adjusting priority with the zero clearing of charging statistics.
Further, after the inventive method accounting server is received the charging statistical message of dispatch server transmission, to corresponding the replying of each charging statistical message transmission of dispatch server.
Further, after the call priority of the described calling of the inventive method was adjusted, dispatch server was given a period of time speaking right of claimant by force.
The present invention proposes the method for real-time adjusting calling priority in a kind of group system, the present invention can be according to request, in calling procedure, adjust the call priority of this calling in real time, overcome existing group system could promote or reduce call priority in calling is carried out shortcoming, on the basis that guarantees operator's income effectively, guaranteed that to heavens user's high-quality is experienced in the group system.
Embodiment
The group system network frame of using the inventive method as shown in Figure 1, it comprises colony terminal, base station sub-system BSS (BASE STATION SUBSYTEM) and dispatching service system DSS logic function modules such as (Dispatching Service System).
Wherein, colony terminal links to each other with base station sub-system BSS by air interface, and the miscellaneous service for the user provides group system also provides traditional plain old telephone service, short message service and data service for the user simultaneously.
Base station sub-system BSS mainly finishes the wireless access function of various group services, data service and plain old telephone service, is made of base station transceiver BTS (Base Transceiver System), base station controller BSC (Base Station Controller) and dispatching client PDC (PTT DispatchingClient).Wherein radio receiving-transmitting unit BTS finishes the function such as modulation and demodulation, radiofrequency signal transmitting-receiving of baseband signal, base station controller BSC is finished all kinds of switchings of wireless resource allocation, call treatment, power control and support terminal, and dispatching client PDC then finishes wireless resource allocation, dispatch call control, power control, supports all kinds of switchings under the different areas of coverage of colony terminal, compiles and distribute the cluster audio data stream.
Dispatching service system DSS mainly finishes colony dispatching service, is made up of dispatch server, authentication server, accounting server, scheduling proxy server.
Wherein dispatch server is the master control point of trunked call, finishes the processing of colony dispatching calling, comprises the discriminating cluster user, sets up various trunked calls such as individual call and group call, judgement cluster PTT request etc.Dispatch server can also receive the cluster speech data of reverse link, is distributed to corresponding forward link again according to the character of calling out.
Authentication server is finished data base administration and configuration feature, for cluster user provides management and group, group member management, group management, and provides the local information of cluster member and the service authority record of cluster member.Authentication server can be handled the various group service authentication request that dispatch server is sent, and carries the various attributes of authenticating result and mandate in response message.
Accounting server receives the charging message of sending from dispatch server, and the charging message of receiving is stored, and produces processing such as Original CDR, and accounting system can be finished charging to user or group or group by accounting server.In actual applications, can be in order to save cost with accounting server and authentication server unification, promptly authentication server also possesses the function of accounting server.
Scheduling proxy server is an entity of finishing the dispatching desk function in the group system, and the dispatching desk client at dispatcher place can be carried out various scheduling actions by it, such as dispatcher's call group etc.Scheduling proxy server and dispatch server have the Signalling exchange passage, and scheduling proxy server can also directly carry out some operation to the database in the authentication server.
In the group system as shown in Figure 1, dispatch server has that all ongoing trunked calls (contain individual calling in the group system, group calling) information, the static information that comprises the all-calls participant is (such as IMSI, information such as MDN) and multidate information (such as in obedient or information such as speaking), also comprise a lot of other call informations such as call priority.
In present group system, when the user made a call, authentication server can calculate the call priority of this calling, sent to dispatch server then, and dispatch server can select to set up or do not set up this calling according to the situation of priority and resource.If the user rises when exhaling, call priority is very low, if resource is not enough and do not have the more calling of low priority can remove to discharge resource, then dispatch server can be refused to implement current calling, thus call failure; If system resource is abundant, then current calling can be set up smoothly, but the resource on dispatch server is not enough, or base station notice dispatch server resource is when not enough, in the middle of calling was carried out, dispatch server can discharge the calling of this low priority by force, can carry out smoothly with the calling that guarantees high priority.If the lower user of call priority thinks and this time call out extremely importantly that the user can be by in time promoting call priority so after exhaling rising, the risk that release may be discharged by force guarantees to call out and carries out smoothly.Certainly because the expense of the calling (as urgent call) of high priority is higher relatively, the user thinks and can in time calling be reduced to ordinary call behind the important thing finishing.
First embodiment
The method that first embodiment of the invention is adjusted (promoting or reduction) call priority in real time mainly realizes that by terminal use's request of sending as shown in Figure 2, it may further comprise the steps:
Step 201: when the terminal use thinks that needs change the priority of the calling that is participating in, cross the call priority of operating terminal and adjust menu, after operation is finished, if terminal judges oneself is in the trunked call state, then sending and promoting calling is that urgent call or reduction calling are the request of ordinary call, this request process base station sub-system arrival dispatch server;
The call priority of present embodiment mainly contains two kinds of urgent call and ordinary calls, certain described lifting or reduction call priority can be not limited to promote for urgent call and be reduced to two kinds of ordinary calls, the priority that multiple class can be arranged is as dividing different priority by group.
Step 202: the calling that dispatch server is participating in according to the locating terminals such as group's group number of the terminal iidentification in the request message such as international mobile subscriber identity IMSI or trunked call, if can not locate calling, then execution in step 209, otherwise, execution in step 203;
Step 203: dispatch server takes out the attribute of terminal in the above-mentioned request message of receiving, takes out the call priority of the current calling of this terminal simultaneously, and the information and sending that is processed into lifting or reduction call priority is then given authentication server;
Step 204: the content in the message that authentication server receives and the resolution scheduling server is sent, judge then whether terminal is legal, whether the authority of initiating to promote or reduce call priority is arranged, if terminal is illegal or initiate lifting or the authority of reduction call priority, execution in step 209 so; Otherwise execution in step 205;
Step 205: authentication server is according to message that dispatch server sent, judgement is to promote to urgent call or be reduced to ordinary call, and the former call priority that call out at the terminal place in the urgent call of adjusting to according to wanting of inquiring from database or ordinary call corresponding priorities Configuration Values and the request message, the call priority value that calculating makes new advances, the response message that authentication server will carry new call priority sends to dispatch server;
In general, the more little corresponding call priority of priority Configuration Values is high more, the priority Configuration Values can be the integer of a 10bits, wherein the highest 3bits meaning is: 0 represents urgent call, 1 represents ordinary call, 2 represent low priority call, if desired ordinary call is promoted and be urgent call, replace with 0 with these 3 from 1 exactly when calculating so, the value of other remaining bit does not change, and when terminal is initiated to recover once more, can accurately return to original priority like this, wherein low several priority value contains group, the set of isopreference levels such as user or group.Certainly, if the priority of optional priority of user terminal and system divides is consistent, can directly be set at the priority of user's request during calculating.
Step 206: dispatch server receives and resolves the response message of authentication server, and the new call priority of receiving is replaced the former call priority of respective call, and by the message of base station sub-system to terminal transmit operation success;
Step 207: dispatch server is this time operated charging message (wherein write down lifting or reduced the charging that preceding calling produces each member) of all terminals in corresponding the calling to the accounting server transmission, the every charging statistics zero clearing of all members during dispatch server will be called out then begins new charging statistics constantly from promoting or reducing.Here refer to the operation when chargeing,, only need operate just passable the account of group if charge by group by the user;
Owing to successfully promote or reduced the priority of calling, must use new charging policy, therefore the situation of the reflection trunked call that the charging way in operate successfully back execution in step 206 can be promptly and accurately, such as when promoting calling for urgent call, charging meeting after the lifting with promote before ordinary call distinguish to some extent, reduce priority and also have analogue, in time change charging way and can guarantee benefits of operators.
Step 208: calling is urgent call if this time adjustment is the request lifting, can give 30 seconds the speaking right of terminal use of mentioning request by force according to actual conditions, and other people can't rob words during this;
Step 209: dispatch server produces different error messages according to the reason that promotes or reduce the call priority failure, and sends on the terminal of initiating operation by base station sub-system.The operator can know clearly the reason of this operation failure.
Second embodiment
The method that second embodiment of the invention is adjusted (promoting or reduction) call priority in real time mainly realizes that by dispatcher's request of sending it may further comprise the steps:
Steps A, when dispatcher's (according to user's request demand) needs to change the call priority of calling, call priority by scheduling proxy server is adjusted menu, sending and promoting calling is that urgent call or reduction calling are the request of ordinary call, this request process scheduling proxy server arrival dispatch server;
Step B: dispatch server is located described calling according to the group identification in the request message, if can not locate calling, then execution in step I if can locate execution in step C;
Step C: dispatch server takes out the content in the above-mentioned request message of receiving, obtains the call priority of this calling, and the information and sending that is processed into lifting or reduction call priority is then given authentication server;
Step D: the content in the message that authentication server receives and the resolution scheduling server is sent, judge then whether the dispatcher is legal, whether the authority of initiating to promote or reduce call priority is arranged, if the dispatcher is illegal or initiate lifting or the authority of reduction call priority, execution in step I so; Otherwise execution in step E;
Step e: with step 205;
Step F: dispatch server receives and resolves the response message of authentication server, and the new call priority of receiving is replaced the former call priority of respective call, and by the message of scheduling proxy server to dispatcher's transmit operation success;
Step G: dispatch server all members' before accounting server sends this call priority adjustment charging message, and the every charging statistics zero clearing of all members in will calling out begin new charging statistics constantly from promoting or reducing;
Step H: calling is urgent call if this time adjustment is the request lifting, can give 30 seconds the speaking right of dispatcher of mentioning request by force according to actual conditions;
Step I: dispatch server produces different error messages according to the reason that promotes or reduce the call priority failure, and sends to the dispatcher who initiates operation by scheduling proxy server.
According to the embodiment of the invention, in calling procedure, the call priority of this calling can be adjusted in real time, overcome existing group system could promote or reduce call priority in calling is carried out shortcoming, on the basis that guarantees operator's income effectively, guaranteed that to heavens user's high-quality is experienced in the group system.
Fig. 3 describes the schematic diagram of the interacting message of realizing first embodiment of the invention in detail.
Step 301: the adjustment call priority request that the terminal in the calling is initiated by base station sub-system, dispatch server, arrives authentication server;
Step 302: authentication server is told dispatch server by response message after calculating the call priority that makes new advances;
Step 303: dispatch server is adjusted the call priority that call out at the terminal place described in the internal memory;
Step 304: dispatch server will be replied by base station sub-system and be issued the result that terminal indicates adjustment;
Step 305: each user's charge information sent to accounting server during dispatch server will be called out;
Step 304 and 305 can be concurrent, does not have strict sequencing.
Step 306: accounting server is to each request of chargeing of replying to the dispatch server correspondence.
It is how right that step 305 and 306 has, and has how many users what just have right in the general calling.
Interacting message schematic diagram and Fig. 3 when second embodiment of the invention dispatcher adjusts call priority are similar, and difference only is that the dispatching desk client at dispatcher place replaces the terminal among Fig. 3, and scheduling proxy server is replaced the base station sub-system among the figure.
After further specifying real-time adjusting calling priority operation, the variation of call charging situation, Fig. 4 describes in detail to have produced in the calling and repeatedly promotes or reduce sequential chart behind the call priority, is described in detail as follows:
The T1 moment: terminal use A initiates common trunked call, calls out beginning;
The T2 moment: terminal use A finds to have urgent and important thing need be talked in calling, this is called out lifting be urgent call, this moment, dispatch server chargeed to the calling of T2 in during this period of time T1 as a complete calling, and the charging statistical information of all users in the calling in is during this period of time sent to accounting server; And dispatch server begins to carry out a brand-new urgent call charging statistics constantly from T2;
The T3 moment: terminal use A finds that ensuing calling talk is no longer so important, this calling is reduced to ordinary call, the charging statistical information of all users same dispatch server can be called out to T3 T2 during this period of time in sends to accounting server, and dispatch server begins to carry out a brand-new ordinary call charging statistics constantly from T3.
The T4 moment: terminal use A finishes this and calls out, and the charging statistical information of all users dispatch server is called out to T4 T3 during this period of time in sends to accounting server.
Described trunked call can be individual calling or group calling.
Described T1 constantly, terminal use A can be called, called such as individual calling, or the group membership of called group during group calling.
Also comprising in the described charging statistical information is the action which terminal has carried out promoting and reducing call priority.
In sum, the present invention proposes a kind of in trunked communication system the method for real-time adjusting calling priority, effectively guaranteed the income of operator and user's experience.