A kind of system and method for realizing the CDMA Public Long Code Mask
Technical field
The present invention relates to CDMA mobile communication system, relate in particular to a kind of system and method for the CDMA of realization Public Long Code Mask.
Background technology
In CDMA mobile communication system, Public Long Code Mask PLCM is used to distinguish the reverse traffic channel of different user, and the cycle of long code is 2
42-1 chip, and satisfy the linear recurrence formula that following proper polynomial defines: p (x)=x
42+ x
35+ x
33+ x
31+ x
27+ x
26+ x
25+ x
22+ x
21+ x
19+ x
18+ x
17+ x
16+ x
10+ x
7+ x
6+ x
5+ x
3+ x
2+ x+1, the pseudo random sequence PN chip of each 42 bit long code are mould 2 inner products of the sequencer state vector of the mask of 42 bits and 42 bits.When Long Code Mask during based on ESN, for public Long Code Mask, bit M31 to M0 should be rearranging of terminal electronic sequence number ESN bit, and this aligning method is as follows:
ESN=(E31,E30,E29,E28,E27,E26,E25,...,E2,E1,E0)
The ESN bit is rearranged, obtain (E0, E31, E22, E13, E4, E26, E17, E8, E30, E21, E12, E3, E25, E16, E7, E29, E20, E11, E2, E24, E15, E6, E28, E19, E10, E1, E23, E14, E5, E27, E18, E9).
Bit M41 to M32 should be changed to " 1100011000 ".
For base station sub-system is version number less than 11 network, and machine engages a terminal and generates Public Long Code Mask PLCM by Electronic Serial Number ESN; The separation between machine and card terminal generates Public Long Code Mask PLCM by subscriber identification module identification number UIMID.Along with the exhaustion of ESN number resource, the reverse traffic channel of different user can't can't effectively be distinguished based on ESN or UIMID generation Public Long Code Mask PLCM less than 11 system by base station sub-system version number at present, can't realize normal talking.
Machine engages a terminal not during raise-position, adopts ESN to generate PLCM; Can be after the raise-position according to the PLCM mode that terminal rank banner message is provided with and base station sub-system is supported, adopt based on pESN (pseudo-ESN) or based on the PLCM generating mode of non-32 bits.The separation between machine and card terminal during raise-position, does not adopt UIMID to generate PLCM; Can be after the raise-position according to the PLCM mode that terminal rank banner message is provided with and base station sub-system is supported, adopt based on pUIMID (pseudo-UIMID) or based on the PLCM generating mode of non-32 bits.
After the following describes the card number raise-position, in the prior art about two kinds of processing modes of PLCM.
Mode one: the network mode of not upgrading, introduce pUIMID, pESN number
The manner separation between machine and card terminal is introduced the pUIMID number, and promptly ICCID to 24bit, and adds 8 bit prefix and the not exclusive 32bits number pUIMID that forms by the SHA-1 compression algorithm.
The manner machine engages a terminal and introduces the pESN number, and promptly mobile device identification code (MEID) to 24bit, and adds 8 bit prefix and the not exclusive 32bits number pESN that forms by the SHA-1 compression algorithm.
PUIMID and pESN replace UIMID, ESN to participate in the generation of PLCM respectively.
Mode two: network upgrade, avoid the PLCM conflict
The manner is applicable to that before the cdma2000 version d, the network equipment carries out the situation of software upgrading.In the case, network authentication still adopts pESN or pUIMID to replace UIMID to participate in authentication, but the Long Code Mask generation realizes different modes by terminal tenability and base station sub-system tenability through negotiation.
But the network software upgrading has mainly increased by three major functions, be respectively: terminal increases SCM (StationClass Mark, the terminal class emblem) whether the 5th bit identification terminal supports Early MEID, uses StatusRequest/Response (status poll/condition responsive) information reporting MEID information and the use PLCM generating mode based on non-32 bits.
Employing mainly contains three kinds of BS_assigned (base station sub-system distribution), IMSI_based (based on international mobile subscriber identity), MEID_based (based on MEID) based on the PLCM generating mode of non-32 bits, the true BS_assigned of the employing PLCM of most producers generates Long Code Mask, has guaranteed that the PLCM conflict does not take place network.
Existing international standard C.S.0072 and C.S.0073 have made further regulation to Public Long Code Mask PLCM, and when SCM the 5th bit equaled 1, termination number was MEID, and terminal is supported the PLCM generating mode based on non-32 bits simultaneously; When SCM the 5th bit equaled 0, termination number was ESN, and terminal is supported the PLCM generating mode based on 32 bits simultaneously, i.e. termination number raise-position is to MEID, and termination function is upgraded simultaneously and supported PLCM generating mode based on non-32 bits.According to this regulation, the upgrading of network and terminal synchronizes can guarantee that then terminal takes the PLCM generating mode based on non-32 bits.Because the ESN number resource is about to exhaust at present, need enable MEID immediately; And for the protecting network equipment investment, network upgrade needs a period of time, so network and terminal staging can't keep carrying out synchronously.When terminal is upgraded early than base station sub-system, the interoperability problem may appear, and such as the new terminal that upgrade of network not may nonrecognition SCM the 5th bit equals 1, terminal is access network normally; The new terminal of having upgraded has been dispersed in user's hand when network upgrade, and whether it supports upgrade of network smoothly to be difficult to validation test one by one.
Summary of the invention
In order to solve above-mentioned technical problem, the invention provides a kind of system and method for the CDMA of realization Public Long Code Mask, its purpose is, according to the PLCM generating mode that terminal is provided with type and supports with base station sub-system, realize different PLCM generating modes, make user terminal and network keep identical version, be convenient to synchronous upgrading, make cdma system in the termination number escalation process, can generate Public Long Code Mask PLCM smoothly, effectively distinguish the reverse traffic channel of different user, realize normal talking.
The invention provides a kind of method of the CDMA of realization Public Long Code Mask, comprising:
Step 1, portable terminal is provided with flag bit in terminal rank banner message, be used to show the Public Long Code Mask generating mode of self supporting based on 32 bits;
Step 2, when terminal began to call out, base station sub-system was to terminal transmitting channel assignment message, and terminal is selected the Public Long Code Mask generating mode of support according to set flag bit, sets up reverse traffic channel.
Described flag bit transmits in registration message, initial call message, paging corresponding message and end message record.
Described channel assignment message is a mobile device identification code channel assignment message.
Described flag bit is the 5th bit in the terminal rank banner message of 8 bits, described mark position 0.
Described Public Long Code Mask generating mode based on 32 bits comprises based on the Public Long Code Mask generating mode of pseudo-esn or based on the Public Long Code Mask generating mode of user recognition module code or based on the Public Long Code Mask generating mode of false-user recognition module code.
Machine engages the Public Long Code Mask generating mode of terminal use based on pseudo-esn; The Public Long Code Mask generating mode based on user recognition module code is used in separation between machine and card terminal and the not raise-position of UIM card; The Public Long Code Mask generating mode based on false-user recognition module code is used in separation between machine and card terminal and the raise-position of UIM card.
Also comprise: after terminal begins to call out, switch if face the sub-district, then base station sub-system is sent out mobile device identification code switching message to terminal, and terminal is selected the Public Long Code Mask generating mode of supporting according to set flag bit.
The invention provides a kind of system of the CDMA of realization Public Long Code Mask, comprise the portable terminal of base station sub-system and support mobile device identification code,
Portable terminal also is used at terminal rank banner message flag bit being set, and is used to show the Public Long Code Mask generating mode of self supporting based on 32 bits; According to set flag bit, select the Public Long Code Mask generating mode of support, set up reverse traffic channel;
Base station sub-system also is used for to terminal transmitting channel assignment message.
Described flag bit transmits in registration message, initial call message, paging corresponding message and end message record.
Described channel assignment message is a mobile device identification code channel assignment message.
Described flag bit is the 5th bit in the 8 bit terminal rank banner messages, described mark position 0.
Described Public Long Code Mask generating mode based on 32 bits comprises based on the Public Long Code Mask generating mode of pseudo-esn or based on the Public Long Code Mask generating mode of user recognition module code or based on the Public Long Code Mask generating mode of false-user recognition module code.
Machine engages the Public Long Code Mask generating mode of terminal use based on pseudo-esn; The Public Long Code Mask generating mode based on user recognition module code is used in separation between machine and card terminal and the not raise-position of UIM card; The Public Long Code Mask generating mode based on false-user recognition module code is used in separation between machine and card terminal and the raise-position of UIM card.
Base station sub-system also is used for sending the mobile device identification code to terminal and switches message, is used for terminal and carries out the sub-district switching.
The present invention is provided with the PLCM mode of type and base station sub-system support according to terminal, realize different PLCM modes, guarantee that cdma system can generate Public Long Code Mask PLCM smoothly in the termination number escalation process, effectively distinguish the reverse traffic channel of different user, realize normal talking, save the research and development expense of terminal, reduce terminal and research and develop the risk of makeing mistakes.
Description of drawings
Fig. 1 is the flow chart of realization CDMA Public Long Code Mask provided by the invention.
Embodiment
In SCM message, flag bit is set by the portable terminal of supporting MEID among the present invention, reports this flag bit, select the PLCM generating mode of support, generate PLCM for existing network identification.
For the terminal of supporting MEID, by registration message Registration Message, initial call message Origination Message, paging corresponding message Page Response Message and end message record Terminal Information information record report and submit terminal rank banner message SCM, comprise in this message and are put 0 the 5th bit.Terminal is switched the PLCM mode that message MUHDM selects support according to MEID channel assignment message MECAM and MEID, sets up reverse traffic channel smoothly.
In the prior art, calculate for the PLCM Long Code Mask, network judges whether it is MEID terminal or ESN terminal by identification.For the terminal of supporting MEID, SCM is 1, and as previously mentioned, when terminal was upgraded early than base station sub-system, the interoperability problem may not appear in the upgrade of network new terminal that may nonrecognition SCM the 5th bit equals 1, causes terminal normally to insert.Because the upgrading of terminal and network can't be synchronous, the interoperability problem may appear promptly.And among the present invention, the 5th bit that the terminal of support MEID still is provided with SCM is 0, can overcome the problems referred to above.
Realization CDMA Public Long Code Mask flow chart provided by the invention comprises as shown in Figure 1:
Step 101, portable terminal is provided with flag bit in terminal rank banner message, be used to show the Public Long Code Mask generating mode of self supporting based on 32 bits;
Step 102, when terminal began to call out, base station sub-system was to terminal transmitting channel assignment message, and terminal is selected the Public Long Code Mask generating mode of support according to set flag bit, sets up reverse traffic channel.
Described flag bit is the 5th bit in the terminal rank banner message of 8 bits, described mark position 0.SCM transmits in registration message, initial call message, paging corresponding message and end message record.
Described channel assignment message is the MEID channel assignment message.
Comprise based on the Public Long Code Mask generating mode of pseudo-esn or based on the Public Long Code Mask generating mode of user recognition module code or based on the Public Long Code Mask generating mode of false-user recognition module code based on the Public Long Code Mask generating mode of 32 bits.Machine engages the Public Long Code Mask generating mode of MEID terminal use based on pseudo-esn; The Public Long Code Mask generating mode based on user recognition module code is used in separation between machine and card terminal and the not raise-position of UIM card; The Public Long Code Mask generating mode based on false-user recognition module code is used in separation between machine and card terminal and the raise-position of UIM card.
Also comprise: after terminal begins to call out, switch if face the sub-district, then base station sub-system is sent out MEID switching message to terminal, and terminal is selected the PLCM generating mode of supporting according to set flag bit.
The invention provides a kind of system of the CDMA of realization Public Long Code Mask, comprise the portable terminal of base station sub-system and support mobile device identification code,
Portable terminal also is used at terminal rank banner message flag bit being set, and is used to show the Public Long Code Mask generating mode of self supporting based on 32 bits; According to set flag bit, select the Public Long Code Mask generating mode of support, set up reverse traffic channel.
Base station sub-system also is used for to terminal transmitting channel assignment message.
Described flag bit transmits in registration message, initial call message, paging corresponding message and end message record.
Described channel assignment message is the MEID channel assignment message.
Described flag bit is the 5th bit in the 8 bit terminal rank banner messages, described mark position 0.
Comprise based on the Public Long Code Mask generating mode of pseudo-esn or based on the Public Long Code Mask generating mode of user recognition module code or based on the Public Long Code Mask generating mode of false-user recognition module code based on the Public Long Code Mask generating mode of 32 bits.Machine engages the Public Long Code Mask generating mode of MEID terminal use based on pseudo-esn; The Public Long Code Mask generating mode based on user recognition module code is used in separation between machine and card terminal and the not raise-position of UIM card; The Public Long Code Mask generating mode based on false-user recognition module code is used in separation between machine and card terminal and the raise-position of UIM card.
Base station sub-system also is used for sending MEID to terminal and switches message, is used for terminal and carries out the sub-district switching.
Those skilled in the art can also carry out various modifications to above content under the condition that does not break away from the definite the spirit and scope of the present invention of claims.Therefore scope of the present invention is not limited in above explanation, but determine by the scope of claims.