Summary of the invention
Do not provide caller priority at the voice group call service in the current GSM-R system, thereby MSC can't handle when causing the multi-user to apply for simultaneously, and in case of emergency the special user can't seize the problem of up channel, the invention provides a kind of method that realizes caller priority in voice group call service.
Technical scheme of the present invention is that a kind of method that realizes caller priority in voice group call service is characterized in that described method comprises the following steps:
Step 1: serially add by character and to seize the line unit mode, in user terminal, increase the trigger point that high priority is seized up channel;
Step 2: the subscription data of change user in HLR, when the user contracts group-calling service in HLR, write group calling ID with initiation group calling authority, also to write the highest caller priority at each group calling ID;
Step 3: the data in the change user SIM card also will write the highest caller priority at each group calling ID in user's SIM card;
Step 4: an idle bit position in the up idle message that BTS is issued is set at caller priority indication bit position, if this bit is 1, represent that then network supports caller priority at present,, represent that then network do not support caller priority at present if this bit is 0;
Step 5: the up busy message that BTS is issued increases a cell, in order to indicate current speaker's precedence information;
Step 6: when the user applies in the network became the speaker, this application user at first will monitor up idle message and up busy message;
Step 7:,, judge whether network supports caller priority then according to the caller priority indication bit position in the up idle message if listen to up idle message;
Step 8: if the network support caller priority then will be applied for the priority mode access network of user according to the up channel free time;
Step 9:, will apply for that then the user is according to the common mode access network if network is not supported caller priority;
Step 10: if listen to up busy message, the application user uses the trigger point to send up access request to the base station;
Step 11: the application user judges whether network supports caller priority;
Step 12:, then refuse this application user and insert if network is not supported caller priority;
Step 13: if the network support caller priority is then determined the current priority that takies the speaker of up channel according to up busy message;
Step 14: compare with the priority and the current priority that takies the speaker of up channel that write down in the application user SIM card, judge whether application user's priority is lower than current speaker's priority;
Step 15:, then refuse this application user and insert if application user's priority is lower than current speaker's priority;
Step 16: otherwise, after the up access request that the application user sends in the step 10 is received in the base station, send approval to the application user and seize the group call uplink channel massage;
Step 17: the application user sends service request and link setup Indication message to the base station, and request is set up layer two and connected;
Step 18: the base station to application user sends layer two link setup acknowledge message after setting up well to layer two connection, notifies two connections of application client layer to build up;
Step 19:BSC receives after the application user Indication message, will be included in this message in the up access request and send to MSC;
Step 20:MSC receives and will inquire about in VLR according to the travelling carriage identifier that is comprised in this request after the up access request, sees the application user high priority access service of whether having contracted;
Step 21: the high priority access service if the application user has contracted, VLR will return acknowledge message, jump to step 23;
Step 22: if the not signatory high priority access service of application user, VLR will return refusal and insert message;
After step 23:MSC receives the VLR acknowledge message, with discharging the up channel that the speaker is using, send up release command message to the base station, the speaker that order is taking up channel discharges up channel;
Step 24: the up channel release message is sent to the speaker after receiving and discharging up channel message in the base station, and the order speaker discharges up channel;
Step 25:MSC sends up release acknowledge message to the base station, and the indication speaker has discharged up channel;
Step 26: the base station sends to MSC to application user's the up access message that requests for permission, and MSC sends the message that conversation continues to the application user, thereby makes the application user from occupying up-channel and become the speaker.
Described up busy message comprises 4 cells, is respectively agreement difference, saltus step indication, type of message and caller priority.
Described caller priority comprises limit priority, inferior high priority and normal priority, and wherein the source identity of limit priority is encoded to 00000001; The source identity of inferior high priority is encoded to 00000010; The source identity of normal priority is encoded to 00000011.
Described up access request comprises 2 cells, is respectively type of message and speaker's Indication message.
Described speaker's Indication message comprises agreement difference, saltus step indication, type of message, travelling carriage rank, mobile station identification and caller priority.
The priority mode access network of described up channel free time, concrete grammar are, if the application user of access network has only one, then directly with this user access network; If the application user of access network is more than or equal to two, then at first judge all application users' priority, the application user that priority is the highest is access in network, if the highest application user of priority has two or more, then according to the first principle access network that inserts of first to file; If a plurality of application users that priority is the highest apply for access network simultaneously, access network at random then.
Described common mode access network, concrete grammar are, if the application user of access network has only one, then directly with this user access network; If the application user of access network is more than or equal to two, then according to the first principle access network that inserts of first to file; If a plurality of application users apply for access network simultaneously, access network at random then.
Effect of the present invention is, solved a plurality of users please group-calling channel simultaneously the time, and MSC can't determine channel allocation is given which user's problem; Simultaneously, the group-calling channel priority allocation uses for the user of high priority, has guaranteed the timely processing of emergency; At last, network will be defaulted as normal priority not with the network uplink access way of priority at present applied, and actuating logic need not any change, so the caller priority method is to the not influence of application of current group calling.
Embodiment
Below in conjunction with accompanying drawing, preferred embodiment is elaborated.Should be emphasized that following explanation only is exemplary, rather than in order to limit the scope of the invention and to use.
Fig. 1 is the flow chart of the method for realization caller priority in voice group call service provided by the invention.Among Fig. 1, of the present invention is to comprise the following steps:
Step 1: serially add by character and to seize the line unit mode, in user terminal, increase the trigger point that high priority is seized up channel.Can add by a string character " * 000# " and seize line unit and realize the up access of high priority.Realize that the character string that the up access of high priority sets can be set arbitrarily by producer, but must in specification, be indicated, and can not with existing specific character string (being system core character string or reserved character string), as repetitions such as " * #06# ".Up access application need increase the encoded radio of 1 high priority upstream request.
Step 2: the user is at HLR (Home Local Register in change, attaching position register) subscription data in, when the user contracts group-calling service in HLR, write group calling ID, also will write the highest caller priority at each group calling ID with initiation group calling authority.
Step 3: the data in change user SIM (Subscriber Identification Module, the subscriber identification module) card also will write the highest caller priority at each group calling ID in user's SIM card;
Step 4: with BTS (Base Transceiver Station, base station transceiver) an idle bit position in the up idle message that issues is set at caller priority indication bit position, if this bit is 1, represent that then network supports caller priority at present, if this bit is 0, represent that then network do not support caller priority at present.
Step 5: the up busy message that BTS is issued increases a cell, in order to indicate current speaker's precedence information.
Cell |
Type |
Length (byte) |
The agreement difference | M | |
1/2 |
The saltus step indication | M | |
1/2 |
Type of message | M | |
1 |
Caller priority | M | |
2 |
Table 1: up busy message structure
Newly-designed up busy message comprises 4 cells, is respectively agreement difference, saltus step indication, type of message and caller priority, and its structure is as above shown promptly shown in the table 1.
The source identity coding of caller priority is as shown in table 2.In the table 2, the source identity of caller priority comprises limit priority, inferior high priority and normal priority, and wherein the source identity of limit priority is encoded to 00000001; The source identity of inferior high priority is encoded to 00000010; The source identity of normal priority is encoded to 00000011.In actual applications, driver and the signatory limit priority of operation conductor can be set at time high priority, the general user is set at normal priority, when the generation emergency need be used up channel, these special users of driver and operation conductor can use time high priority to seize up channel.Limit priority is left some superusers for and is used.
Table 2: caller priority source identity coding
Step 6: when the user applies in the network became the speaker, this application user at first will monitor up idle message and up busy message.
Step 7:,, judge whether network supports caller priority then according to the caller priority indication bit position in the up idle message if listen to up idle message.
Step 8: according to the setting of the caller priority indication bit position in the up idle message, if caller priority indication bit position is 1, then the network support caller priority will be applied for the priority mode access network of user according to the up channel free time.
Wherein, the priority mode access network of up channel free time, concrete grammar are, if the application user of access network has only one, then directly with this user access network; If the application user of access network is more than or equal to two, then at first judge all application users' priority, the application user that priority is the highest is access in network, if the highest application user of priority has two or more, then according to the first principle access network that inserts of first to file; If a plurality of application users that priority is the highest apply for access network simultaneously, access network at random then.
Step 9: if caller priority indication bit position is 0, then network is not supported caller priority, will apply for that the user is according to the common mode access network.
Wherein, common mode access network, concrete grammar are, if the application user of access network has only one, then directly with this user access network; If the application user of access network is more than or equal to two, then according to the first principle access network that inserts of first to file; If a plurality of application users apply for access network simultaneously, access network at random then.
Step 10: if listen to up busy message, the application user uses the trigger point to send up access request to the base station.
Up access request comprises 2 cells, is respectively type of message and speaker's Indication message, and its structure is as shown in table 3.
Cell |
Type |
Length (byte) |
Type of message | M | |
1 |
Speaker's Indication message |
O |
3-n |
Table 3: up access appealing structure
Speaker's Indication message comprises agreement difference, saltus step indication, type of message, travelling carriage rank, mobile station identification and caller priority, and its structure is as shown in table 4.
The agreement difference | M | |
1/2 |
The saltus step indication | M | |
1/2 |
Type of message | M | |
1 |
The travelling carriage rank |
M |
4 |
Mobile station identification |
M |
2-9 |
Caller priority | O | |
2 |
Table 4: speaker's indication message structure
Step 11: the application user judges whether network supports caller priority.
Step 12:, then refuse this application user and insert if network is not supported caller priority.
Step 13: if the network support caller priority is then determined the current priority that takies the speaker of up channel according to up busy message.
Step 14: compare with the priority and the current priority that takies the speaker of up channel that write down in the application user SIM card, judge whether application user's priority is lower than current speaker's priority.
Step 15:, then refuse this application user and insert if application user's priority is lower than current speaker's priority.
Step 16: otherwise, after the up access request that the application user sends in the step 10 is received in the base station, send approval to the application user and seize the group call uplink channel massage.
Step 17: the application user sends service request and link setup Indication message to the base station, and request is set up layer two and connected.
Step 18: the base station to application user sends layer two link setup acknowledge message after setting up well to layer two connection, notifies two connections of application client layer to build up.
Step 19:BSC (Base Station Controller, base station controller) receives after the application user Indication message, will be included in this message in the up access request and send to MSC.
Step 20:MSC receives and will inquire about in VLR according to the travelling carriage identifier that is comprised in this request after the up access request, sees the application user high priority access service of whether having contracted.Because VLR is the database of management roamer dynamic data, when user terminal roams into a lane place, can be earlier a lot of information such as the IMSI of travelling carriage number, caller priority information be passed to VLR.And the information of VLR comes from the HLR of terminal, and the information in HLR of therefore contracting can reflect in VLR.
Step 21: the high priority access service if the application user has contracted, VLR will return acknowledge message; Jump to step 23.
Step 22: if the not signatory high priority access service of application user, VLR will return refusal and insert message, the user's that refuses an application access.
After step 23:MSC receives the VLR acknowledge message, with discharging the up channel that the speaker is using, send up release command message to the base station, the speaker that order is taking up channel discharges up channel.
Step 24: the up channel release message is sent to the speaker after receiving and discharging up channel message in the base station, and the order speaker discharges up channel.
Step 25:MSC sends up release acknowledge message to the base station, and the indication speaker has discharged up channel.
Step 26: the base station sends to MSC to application user's the up access message that requests for permission, and MSC sends the message that conversation continues to the application user, thereby makes the application user from occupying up-channel and become the speaker.
Fig. 2 is the realization schematic diagram of embodiment provided by the invention.Among Fig. 2, travelling carriage 1 refers to the application user with high priority, and travelling carriage 2 is speakers of normal priority.Normal priority speaker travelling carriage 2 is taking group-calling channel, but the application user travelling carriage of high priority 1 needs to insert in the ongoing group calling, and will be as new speaker.
A: up busy (normal priority) is because the speaker of normal priority takies up channel, so up channel is busy.When high priority application user travelling carriage 1 needed to insert in the ongoing group calling, what sent the monitoring base station was up busy message, and according to up busy message, finds that ongoing group calling is a normal priority.
B: up access (high priority)
High-priority users travelling carriage 1 sends up access (high priority) message to the base station after receiving up busy (normal priority) message.
In the voice group call service agreement, up access message has only 2 kinds of coding values, is respectively:
110xxxxx: follow-up speaker's upstream request;
00100101: respond up access request;
Its residual value keeps to be done to use in the future.
In order to adapt to the caller priority scheme, increase by 1 encoded radio: 100xxxxx: be defined as high priority speaker upstream request, be used for wishing to carry out the high priority speaker and insert to BSC indication active user.BSC receives this message, will postpone the time that sends upstream request message to MSC, continues to wait for follow-up speaker's Indication message.
C: group call uplink approval
After up access (high priority) message that high priority application user travelling carriage 1 sends was received in the base station, according to high priority message, approval high priority speaker travelling carriage 1 was seized the group call uplink channel.
D: up busy (high priority)
Up busy (high priority) message is sent to high priority application user travelling carriage 1 in the base station, and expression has the travelling carriage of high priority to take up channel in application.
E: service request and link setup indication (speaker's indication)
Travelling carriage 1 sends service request and link setup Indication message to the base station, and it is in the middle of the access group calling that layer two connection are set up in request.
Speaker's Indication message is used for when having set up 1 new layer 2 connection on the VGCS channel, and travelling carriage 1 provides application user profile to the base station, comprises travelling carriage rank information and mobile station identification.
What refer to was exactly the connection of data link layer, the message " UA " among the corresponding group calling agreement TS03.68 " layer 2 connects ".Because the speaker of high priority will seize group-calling channel, initiate group calling, connect so will set up new data link layer.
F: layer two link setup are confirmed
The base station sends layer two link setup acknowledge message to travelling carriage 1 after layer two is connected foundation well, notifies 1 layer of two connection of travelling carriage to build up.
G: upstream request (speaker's sign) message
BSC receives after speaker's Indication message, will be included in this message in the up access request and send to MSC.
After H:MSC receives that the speaker indicates, will in VLR (Visited Location Register, Visited Location Registor), inquire about, see user's high priority access service of whether having contracted according to the travelling carriage identifier that is comprised in this message.
I: the high priority access service if the user has contracted, VLR will return acknowledge message; The high priority access service if the user has not contracted, VLR will return refusal and insert message.
After J:MSC receives positive response, with discharging the up channel that is using, send up release command message to the base station, the low priority travelling carriage 2 that order is taking up channel discharges up channel.
K: up release message is sent to travelling carriage 2 in the base station, and order travelling carriage 2 discharges up channel.
L:MSC sends up release acknowledge message to the base station, and indication travelling carriage 2 has discharged up channel.
M: the base station sends to MSC to the upstream request approval message of travelling carriage 1, and MSC sends the message that conversation continues to travelling carriage 1.High priority travelling carriage 1 just successfully is linked in the group-calling channel like this.
The present invention is by introducing caller priority, solved a plurality of users when applying for group-calling channel simultaneously, and MSC can't determine channel allocation is given which user's problem; Simultaneously, when current application user's priority is higher than current speaker's priority, can use to the application user group-calling channel priority allocation, so just can guarantee the timely processing of emergency; At last, network will be defaulted as normal priority not with the network uplink access way of priority at present applied, and actuating logic need not any change, so the caller priority method is to the not influence of application of current group calling.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and 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 protection range of claim.