Embodiment
Hereinafter will describe the present invention with reference to the accompanying drawings and in conjunction with the embodiments in detail.Need to prove that under the situation of not conflicting, embodiment and the feature among the embodiment among the application can make up mutually.
According to the embodiment of the invention, at first provide a kind of digital packet terminal to support the system of MEID.
Fig. 3 is a structured flowchart of supporting the system of MEID according to the digital packet terminal of the embodiment of the invention.As shown in Figure 3, this system comprises with lower device: digital packet terminal 1 and base station 2.
Digital packet terminal 1, be used for sending the message that carries support MEID indication information to the base station, the extended channel assignment messages ECAM that will come from the base station decodes and obtains unique shared Long Code Mask PLCM field, and calculating is obtained Long Code Mask and this Long Code Mask is set according to the PLCM field;
Base station 2 is used to receive the message of supporting the MEID indication information that carries that comes from terminal, sends ECAM to terminal.
In said system, the ECAM that supports the digital packet terminal of MEID will come from the base station decodes and obtains unique shared Long Code Mask PLCM field, and the length of this PLCM field can guarantee the uniqueness of this field.Thereby in the Digital Clustering communication, can guarantee uniqueness according to the Long Code Mask of ESN generation, make digital packet terminal support MEID.
Preferably, as shown in Figure 4, above-mentioned digital packet terminal one of comprises with lower device at least: first dispensing device 10, be used for sending call message to the base station, and wherein, call message carries the indication information of supporting MEID; Second dispensing device 12 is used for after receiving the group paging, and to base station transmission group page-response message, wherein, the group page-response message carries the indication information of supporting MEID.
Promptly can whether support MEID by sending this digital packet terminal of call message informing base station, also can whether support MEID by this digital packet terminal of transmission group page-response message informing base station at digital packet terminal.
In specific implementation process, for the situation of terminal caller, first dispensing device 10 carries the indicating bit that this terminal is supported MEID in call message, and this call message is sent to the base station.
For example, the call message field can be referring to table 1.
Table 1
????...... |
???...... |
??REV_FCH_GATING_REQ |
??1bit |
??MEID_Support_indicator |
??1bit |
As shown in Table 1, if this terminal is not supported MEID, the value of MEID Support indicator field is 0; If this terminal is supported MEID, the value of MEID Support indicator field is 1.
In specific implementation process,, when terminal receives after group id (Group Identifier the abbreviates GID as) paging answer group page-response message, carry this terminal of sign and whether support the MEID indicating bit for terminal called situation.
For example, group page-response message field can be referring to table 2.
Table 2
??...... |
??...... |
??MEID_Support_indicator |
??1bit |
As shown in Table 2, if this terminal is not supported MEID, then the field of MEID Support indicator is 0; If this terminal is supported MEID, then the field of MEID Support indicator is 1.
Preferably, digital packet terminal may further include with lower device: first determines device 14, is used for determining to exist the PLCM identification field according to the length of ECAM, and whether the value representation of this field exists the PLCM field; Second determines device 16, is used for determining to exist the PLCM field according to the value of PLCM identification field; And decoding device 18, be used for ECAM decoded and obtain the PLCM field.
In specific implementation process, the base station judges according to the value of MEID Supportindicator in the terminal call message whether terminal supports that MEID issues ECAM, if then the base station sends ECAM to digital packet terminal, digital packet terminal receives after the ECAM, and ECAM is decoded.
For example, the ECAM field can be referring to table 3.
Table 3
??...... |
??...... |
??PLCM_TYPE_INCL |
??1bit |
??PLCM_TYPE |
??0?or?4bit |
??...... |
??...... |
??PLCM_32 |
??0?or?32bit |
??PLCM_39_INCL |
??0?or?1bit |
??PLCM_39 |
??0?or?39bit |
??RESERVED |
??0-7bit |
Wherein, the base station can increase field: PLCM_39_INCL (being the PLCM identification field), PLCM_39 (being above-mentioned PLCM field) in ECAM.
In specific implementation process, digital packet terminal receives after the ECAM, mainly comprises following processing:
(1) digital packet terminal has judged whether the PLCM_39_INCL field according to length, if having, and execution in step (2); If do not have, then do not understand this field, jump to (4).
(2) the PLCM_39_INCL field is obtained in decoding, if this field value is 1, carries out (3); If this field value is 0, carry out (4).
(3) the PLCM_39 field is obtained in decoding.
(4) decoding finishes.
Preferably, base station 2 also is used for when current type of call is individual calling, calculates according to user profile and obtains a cover PLCM, and the length of this PLCM field is 39 bits, uses in forward direction and backward channel.
Yet, when terminal uses MEID to stick into row communication, be to generate a pseudo-ESN (can represent) by algorithm in fact, and carry out long code with this puppet ESN and calculate with p_ESN by the MEID number.The PLCM of 39bit can guarantee uniqueness, the promptly different Long Code Mask differences that the user generated.
Preferably, base station 2, also be used for when current type of call is the enhanced group calling, calculate according to group information and obtain a cover PLCM, wherein, the length of this PLCM field is 32 bits, use and is calculated according to user profile and to be obtained another set of PLCM in forward channel, wherein, the length of this PLCM field is 39 bits, uses in backward channel.
In specific implementation process, channel is shared during owing to the digital cluster system group calling, and forward direction uses different Long Code Masks with backward channel, and two cover long codes (being above-mentioned PLCM) must be arranged.For open trunking architecture (Global open Trunking Architechture, abbreviate GoTa as) group system, the enhanced group calling is that forward channel is shared the pattern that backward channel exclusively enjoys, the forward direction long code is based on group information calculating, and 32bit can guarantee the uniqueness of long code; Oppositely long code is based on that user profile calculates, and must use the long code of 39bit could guarantee the uniqueness of Long Code Mask when using MEID as identifying user information.
In addition, when the current type of call of digital cluster system was individual calling, because the channel of individual calling is monopolized, the long code that preceding backward channel uses all is based on user profile and calculates, and was the same with voice under this situation, the same set of long code of preceding reverse use.For MEID user, must use the 39bit long code could guarantee the uniqueness of Long Code Mask.
According to the embodiment of the invention, also provide a kind of digital packet terminal to support the method for MEID.
Fig. 5 is a flow chart of supporting the method for MEID according to the digital packet terminal of the embodiment of the invention.As shown in Figure 5, this method mainly comprises following processing (step S502-step S506):
Step S502: digital packet terminal sends to the base station and carries the message of supporting the MEID indication information;
Step S504: the extended channel assignment messages ECAM that digital packet terminal will come from the base station decodes and obtains unique PLCM field; And
Step S506: digital packet terminal calculates according to the PLCM field and obtains Long Code Mask, and this Long Code Mask is set.
In said method, the ECAM that supports the digital packet terminal of MEID will come from the base station decodes and obtains unique shared Long Code Mask PLCM field, and the length of this PLCM field can guarantee the uniqueness of this field.Thereby in the Digital Clustering communication, can guarantee uniqueness according to the Long Code Mask of ESN generation, make digital packet terminal support MEID.
Preferably, in step S502, digital packet terminal sends by one of following mode and carries the message of whether supporting the MEID indication information:
First kind of mode: digital packet terminal sends call message to the base station, and wherein, call message carries the indication information of supporting MEID; Adopt the implementation process of this mode specifically can be referring to Fig. 6.
Fig. 6 is the flow chart that sends call message according to the terminal of the embodiment of the invention.As shown in Figure 6, this flow process mainly comprises following processing (step S602-step S608):
Step S602: user key-press makes a call, and UI passes to protocol layer with incident;
Step S604: structure call message.
Wherein, in call message, if terminal is supported MEID, the MEID_Support_indicator indicating bit is set to 1, otherwise, be set to 0,
Step S606: this field is packed in the code stream of call message into.
Wherein, above-mentioned call message code stream includes but not limited to binary code stream.
Step S608: terminal sends above-mentioned call message.
The second way: digital packet terminal is after receiving the group paging, and to base station transmission group page-response message, wherein, the group page-response message carries the indication information of supporting MEID.Adopt the implementation process of this mode specifically can be referring to Fig. 7.Fig. 7 is called with the user to be that the page response step is recalled in the example description.
Fig. 7 is the flow chart according to the terminal answer group page response of the embodiment of the invention.As shown in Figure 7, this flow process mainly comprises following processing (step S702-step S708):
Step S702: terminal is at the beep-page message of paging channel receiver address coupling;
Step S704: terminal constructions page-response message;
Wherein,, then whether support that according to terminal MEID is provided with MEID_Support_indicator if above-mentioned beep-page message is the GID beep-page message, if support that then MEID_Support_indicator is set to 1, otherwise, be set to 0,
Step S706: above-mentioned field is packed in the page-response message code stream;
Step S708: terminal transmission group page-response message.
Can get thus, in call message or group page-response message, carry the field of whether supporting MEID, can make the base station determine to support the terminal of MEID, thereby in ECAM, carry unique PLCM field, wherein, the length of this PLCM field can guarantee the uniqueness of this field.
Preferably, above-mentioned steps S504 may further include following processing:
(1) digital packet terminal determines to exist the PLCM identification field according to the length of ECAM;
(2) digital packet terminal determines to exist the PLCM field according to the value of PLCM identification field; And
(3) digital packet terminal is decoded to ECAM and is obtained the PLCM field.
Below in conjunction with Fig. 8 above-mentioned processing procedure is described.
Fig. 8 is the flow chart according to the terminal processes ECAM message of the embodiment of the invention.As shown in Figure 8, this flow process mainly comprises following processing (step S802-step S810):
Step S802: terminal receives ECAM message;
In specific implementation process, system rises according to terminal and exhales or the information of page-response message judges whether terminal supports MEID, issues long code (being ECAM message) to terminal.
Step S804: terminal is decoded after receiving ECAM message, and binary code stream is resolved to each field;
Step S806: terminal is calculated Long Code Mask according to the field that ECAM resolves;
Step S808: terminal is provided with Long Code Mask;
Step S810: terminal receives forward data, oppositely sends previous video frames.
Preferably, when current type of call is individual calling, guarantee that in the following manner the PLCM field is unique: use same set of PLCM in forward direction and the backward channel, wherein, this PLCM is for calculating the long code of obtaining based on user profile, and this long code length is 39 bits.
Preferably, when current type of call is the enhanced group calling, guarantee that in the following manner the PLCM field is unique: use different PLCM in forward direction and the backward channel, wherein, the PLCM that uses in the forward channel is for calculating the long code of obtaining based on group information, this long code length is 32 bits, and the PLCM that uses in the backward channel is for calculating the long code of obtaining based on user profile, and this long code length is 39 bits.
In specific implementation process, step S806 and step S808 mainly comprise following three kinds of processing modes:
(1) if current type of call is an individual calling, if system has issued PLCM_39, then calculate Long Code Mask according to PLCM_39, and be set to forward direction and reverse Long Code Mask (oppositely using with overlapping long code before the individual calling), otherwise, Long Code Mask is set according to original mode (calculating Long Code Mask) according to ESN.
(2) if current type of call is the enhanced group calling, terminal will be calculated the forward direction Long Code Mask according to the PLCM_32 that receives, be set to SRCH; If system has issued PLCM_39, then calculate reverse Long Code Mask according to PLCM_39, be set to backward channel, otherwise, according to original mode (calculating reverse Long Code Mask) reverse Long Code Mask is set according to ESN.
(3) if current type of call is a traditional group call, reverse Long Code Mask before the PLCM_32 that terminal issues according to system calculates and is provided with.
In specific implementation process, in the traditional group call, adopt the prior art processing mode to generate PLCM_32, promptly generate PLCM_32 according to group information.Because this scheme does not generate PLCM_32 according to ESN, thereby the uniqueness of the Long Code Mask that obtains can be guaranteed, thereby the long code collision problem can not be caused.
In sum, by the foregoing description provided by the invention, provide a kind of digital packet terminal to support the scheme of MEID.In digital cluster system, for the channel of monopolizing, long code is based on that user profile calculates, and must use the 39bit long code could guarantee the uniqueness of Long Code Mask.For the channel of sharing, long code is based on that group information calculates, and can use the 32bit long code can guarantee the uniqueness of Long Code Mask.Such scheme has solved and has also lacked a kind of problem that solves the scheme of long code collision in the Digital Clustering communication in the correlation technique, and then can be so that digital packet terminal is supported MEID.
Obviously, those skilled in the art should be understood that, above-mentioned each module of the present invention or each step can realize with the general calculation device, they can concentrate on the single calculation element, perhaps be distributed on the network that a plurality of calculation element forms, alternatively, they can be realized with the executable program code of calculation element, thereby, they can be stored in the storage device and carry out by calculation element, and in some cases, can carry out step shown or that describe with the order that is different from herein, perhaps they are made into each integrated circuit modules respectively, perhaps a plurality of modules in them or step are made into the single integrated circuit module and realize.Like this, the present invention is not restricted to any specific hardware and software combination.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.