Background technology
Under diversified day by day social demand promotes, mobile communication technology is from analog communication system, develop into the second generation mobile communication system and the 2.5 third-generation mobile communication systems of present extensive use, until be about to the 3-G (Generation Three mobile communication system) of large-scale application, the demand of people for voice service not only satisfied in the development of mobile communication technology, more more and more effectively satisfy the demand of appreciation type business such as comprising image, audio frequency, real-time multimedia service interaction, thereby making mobile communication system in people's live and work, bring into play more and more important effect.In all appreciation type business, trunking communication has become an indispensable business tine day by day, early stage special-purpose trunking mobile communication mainly is to be finished by the wireless tranceiver of point-to-point half-duplex operation, the beginning of the eighties dedicated mobile communications subsystem develop into the analog communication system that constitutes by single channel, single base station.Hereafter, dedicated mobile communications subsystem constantly develops, and has formed the communication system of multichannel, single base station gradually, after introducing multichannel and enabling to share, just produce the notion of trunking communication, promptly adopted the shared single base station of multichannel or the communication system of many base stations.In order to promote the sizable application of digital cluster system, further improve the frequency utilization rate simultaneously, trunked communication system a new application trend occurred on using, the unification that exactly a plurality of digital cluster systems combined is used and is managed, thereby be able to share channel and channel, share the overlay area, communication service, carry on a shoulder pole the purpose of expense altogether, this way develops from the application towards indivedual professional users cluster application gradually towards the direction of using towards a plurality of group users, the notion of cluster common network operation just.
No matter be the operation of cluster common network, or resource-sharing, only when requiring to serve, group could obtain resource requirement.So when requiring service call, at first must apply for resource in group; After service finishes, discharge resource again, this process is a calling procedure.From the angle of user experience, from initiating a call to the important performance indexes that the time span (call set-up time) that can speak is a cluster service, this duration is decided by the response speed of each terminal to system's call signaling.In existing technical scheme, calling terminal and terminal called are put on an equal footing, and generally speaking, the response of calling terminal is faster than terminal called, cause the response of present calling terminal identical with the terminal called response speed, make that Whole Response speed is too slow, call set-up time is long, can not satisfy the requirement of group system for call set-up time.
Summary of the invention
Technical problem to be solved by this invention be prior art exist can't satisfy requirement, the Whole Response speed excessively slow shortcoming of group system for call set-up time, in the hope of proposing the red control method that can shorten the digital cluster system calling procedure of group call settling time of roe.
The control method of digital cluster system calling procedure of the present invention is characterized in that, may further comprise the steps:
(1) terminal sends call setup request message, requires to activate group;
(2) system handles the setup requests of terminal;
(3) group enters talking state, and promptly group activates, and perhaps access success is set up, and the terminal of successful paging this moment just can be applied for right to speak;
(4) demanding terminal finishes conversation, sends the end of conversation request, requires system to discharge all resources of this calling, and putting group is non-activation;
(5) system handles the end of conversation request.
System further may further comprise the steps the setup requests processing procedure of terminal described in the step (2):
Steps A: receive the calling terminal call request, if should call out illegally, then refusal is called out, and flow process finishes;
Step B: if group has been in talking state, then add calling terminal in group call, flow process finishes;
Step C: give each terminal transmission beep-page message in the group, group enters paging state; Terminal is received beep-page message, loopback paging success message or paging failure message; If the calling terminal paging failure, perhaps all non-calling terminal paging failures, group call is set up failure, and flow process finishes;
Step D: receive the paging success message of calling terminal, if non-calling terminal paging success is not also arranged this moment, then calling terminal obtains right to speak, and its speech data is by system cache, and group enters pre-established state; If non-calling terminal success paging has been arranged this moment, then calling terminal obtains right to speak, and speech data directly is transmitted to the success of paging terminal, and group enters talking state;
Step e: receive the paging success message of non-calling terminal, if group is in pre-established state, then the buffer memory speech data is to this terminal for system forwards, and group enters talking state; If group is in paging state, perhaps entered talking state, this paging terminal success of system log (SYSLOG).
System further may further comprise the steps end of conversation request processing procedure described in the step (5):
Step a: check whether this terminal has the authority of terminated call, if not then refusal request this time, flow process finishes;
Step b: all-calls success terminal in group and the terminal of calling out send end of calling message, require each terminal to discharge the resource of being occupied; Terminal is received end of calling message, and the loopback end of calling is replied after the release resource;
Step c: reply if receive the end of calling of all terminals among the step b, then access success finishes, and unactivated state is got back to by group.
Method described in the present invention can each group call process of simple and effective control, with other realization technology relatively, in call establishment, by the differentiating and processing calling terminal page reply, terminal called pages reply, by the buffer memory speech data, can significantly shorten call set-up time.
Embodiment
Of the present inventionly to the effect that manage group call process under the trunking communication environment.The terminal that makes a call in the calling is a calling terminal, and other terminal is a terminal called.From calling out, arrive communication service in group, terminated call then, there is following several state in group:
Idle condition: group does not occupy any communication resource;
Paging state: after authentication was passed through, Trunked Radio System was by each terminal of cluster service ICQ, and at this moment, group is waiting for the response answer of each terminal to beep-page message;
Pre-established state: calling terminal paging success, other terminal be not paging success also, and calling terminal can be spoken, and its voice messaging will be by system cache
Talking state: group call is successfully set up, and each terminal in the group is carried out trunking communication;
Release condition: begin to discharge group, system's each terminal in group sends end of calling message, and at this moment, group is waiting for the release response of each terminal.After release finished, idle condition was got back to by group.
In calling procedure, group's state can change because of the various message of terminal.Terminal has five kinds of message:
Setup requests: send on when calling terminal requires trunking communication;
Paging success:, represent that this terminal can participate in this trunking communication to replying of the beep-page message of system;
Paging failure:, represent that this terminal can not participate in this trunking communication to replying of the beep-page message of system;
Call end request: require to send on the terminal of terminated call;
End of calling is replied: to replying of the end of calling message of system, represent that this terminal has discharged related resource.
To different message, different group's states has different handling processes, and these all handling processes have constituted specific implementation of the present invention.Specify below in conjunction with legend.
Accompanying drawing 2 is depicted as the call setup request message handling process, specifically may further comprise the steps:
201 check whether calling is legal.Do not call out if conform to the rule refusal, flow process finishes.
202 check call group whether in conversation, and next step handles 203 "Yes", and then next step handles 204 to "No".
203 directly join calling terminal in the talk group and get final product, and flow process finishes.
204 systems will all terminals send beep-page message in group.
205 are provided with group's state becomes " paging ", group's this moment the paging reply of paged terminal in waiting for group.Paging reply of each terminal, success or failure will determine the flow process that group call is later.
Accompanying drawing 3 is depicted as paging success message handling process, specifically may further comprise the steps:
301 check whether be calling terminal paging success, then next step handles 302 to "Yes", then next step handles 305 to "No".
302 check whether terminal called paging success has been arranged, and then next step handles 304 to "Yes", and then next step handles 303 to "No".General, because calling terminal in the process that makes a call, has obtained necessary network side resource, so the calling terminal paging is faster than called paging success.
303 groups enter pre-established state, and calling terminal obtains right to speak, and flow process finishes.Calling terminal speech utterance information will be by system cache, when treating that group sets up successfully, to other called forwarding.
304 groups enter talking state, and access success is set up, and flow process finishes.
305 check that whether group whether at pre-established state, also is calling terminal access success, and then next step handles 306 to "Yes", and then next step handles 307 to "No".
306 groups enter talking state, and access success is set up, and flow process finishes.
This terminal call success of 307 records, flow process finishes.
Accompanying drawing 4 is depicted as paging failure Message Processing flow process, specifically may further comprise the steps:
401 check whether be calling terminal, and then next step handles 403 to "Yes", and next step handles 402 "No".
402 check successful call terminal number completely to deny sufficient trunking communication requirement, if can, then flow process finishes.
403 discharge group, and access success terminal in group and the terminal of calling out send end of calling message, require it to discharge related resource, loopback end of calling response message is provided with group's state and is " release " then, waits for the end of calling response message of each terminal in the group.
In the process of call terminal, system will be provided with timer, if do not receive page-response message in the time that timer is set, then think call failure, handle with receiving paging failure message.
After call setup, for the terminal of call failure, number of times is not limit in the paging that will regularly circulate, and discharges until calling out.
Accompanying drawing 5 is depicted as call end request Message Processing flow process, specifically may further comprise the steps:
501 check whether this terminal has the authority that finishes group call, if do not have, then refuses this request, and flow process finishes.
502 the access success terminal and terminals of calling out in group send end of calling message, require it to discharge related resource, loopback end of calling response message then.
503 are provided with group's state is " release ", represents the end of calling response message that it is waiting for each terminal in the group.
Accompanying drawing 6 is depicted as end of calling response message handling process, specifically may further comprise the steps:
Whether 601 check whether loopback end of calling response message all of all terminals that are sent out end of calling message, if not, then flow process finishes.
602 discharge all resources that calling is this time occupied, and group's state is set is " free time ".
In discharging terminal procedures, system will be provided with timer, if do not receive the end of calling response message of terminal in the time that timer is set, think that then terminal discharges successfully, handle with receiving the end of calling response message.