Summary of the invention
The purpose of this invention is to provide a kind ofly, solving the congested problem of paging channel, thereby make the existing channel can the more mobile phone of paging based on the paging method and the relevant device that strengthen the PSN coding.
The invention provides a kind of method that in the base station of PHS system, sends beep-page message to mobile phone, in described PHS system with PSN code identification mobile phone, described PSN coding comprises flag bit, being used to identify described PSN coding is conventional PSN coding, still strengthen the PSN coding, described base station receives the paging bag that comprises the PSN coding, the method comprising the steps of: produce corresponding beep-page message according to the flag bit field in the PSN coding, wherein, two such paging bags are merged into a compression paging message for having the paging bag that strengthens the PSN coding; And the paging bag for having conventional PSN coding produces non-compression paging message, and described beep-page message comprises the type code that is used to distinguish compression paging message and non-compression paging message; With send beep-page message to mobile phone.
The present invention also provides a kind of method that receives the beep-page message of base station transmission in the mobile phone of PHS system, in described PHS system with PSN code identification mobile phone, described PSN coding comprises flag bit, being used to identify described PSN coding is conventional PSN coding, still strengthen the PSN coding, described beep-page message comprises the type code that is used to distinguish compression paging message and non-compression paging message, described non-compression paging message is the beep-page message that directly comprises the PSN coding, described compression paging message is the beep-page message that two are strengthened the merging of PSN coding and obtain, and the method comprising the steps of: paging receiving message; Reduction BCD running number if wherein type code is indicated non-compression paging message, then directly takes out the BCD running number in the beep-page message, and if type code indication compression paging message then obtains two BCD running numbers by the decompression beep-page message; Relatively Hai Yuan the BCD serial number and the loCal number of mobile phone; If with the result that a comparison is arranged is to mate, then starts called response, otherwise abandon beep-page message.
The present invention also provides a kind of base station that sends beep-page message in the PHS system to mobile phone, in described PHS system with PSN code identification mobile phone, described PSN coding comprises flag bit, being used to identify described PSN coding is conventional PSN coding, still strengthen the PSN coding, comprising: receiving system is used to receive the paging bag that comprises the PSN coding; The message synthesizer, it produces corresponding beep-page message according to the flag bit field in the PSN coding, wherein for having the paging bag that strengthens the PSN coding, two such paging bags is merged into a compression paging message; And the paging bag for having conventional PSN coding produces non-compression paging message, and described beep-page message comprises the type code that is used to distinguish compression paging message and non-compression paging message; And dispensing device, be used for sending beep-page message to mobile phone.
The present invention also provides a kind of mobile phone that receives the beep-page message of base station transmission in the PHS system, in described PHS system with PSN code identification mobile phone, described PSN coding comprises flag bit, being used to identify described PSN coding is conventional PSN coding, still strengthen the PSN coding, described beep-page message comprises the type code that is used to distinguish compression paging message and non-compression paging message, described non-compression paging message is the beep-page message that directly comprises the PSN coding, described compression paging message is the beep-page message that two are strengthened the merging of PSN coding and obtain, comprising: receiving system is used for paging receiving message; Reduction apparatus, be used to reduce the BCD running number,, then directly take out the BCD running number in the beep-page message if wherein type code is indicated non-compression paging message, if and type code indication compression paging message then obtains two BCD running numbers by the decompression beep-page message; Comparison means, the BCD serial number that is used for relatively reducing and the loCal number of mobile phone are if the result that a comparison is wherein arranged then starts called response, otherwise abandons beep-page message for coupling.
According to the present invention, utilize enhancing PSN coding method to come the PS terminal is encoded, adopt simultaneously to discern and adopt described enhancing PSN coding method that beep-page message is carried out compression and decompression, thereby and make that a beep-page message can two base station and mobile phones that adopt above-mentioned enhancing PSN coding rules to encode of while paging.The present invention has adopted flag bit to come the mobile phone of new coding is discerned in mobile phone coding, in the base station mobile phone of new coding is carried out the transmission of message and adopts the algorithm of compressed encoding when receiving, and makes a plurality of mobile phones of same beep-page message paging simultaneously.The present invention can save channel space greatly, has solved the congestion problems of channel massage.
Embodiment
The base station as shown in Figure 9 according to an embodiment of the invention.It will be appreciated by those skilled in the art that, for the purpose of simplifying the description, omitted other parts of base station here, because these parts and purpose of the present invention are irrelevant.
As shown in Figure 9, the PHS system comprises base station 1, CSC (base station controller) 2 and mobile phone 3.Base station 1 comprisesreceiver 11,message synthesizer 12 and transmitter 13.CSC 2 sends the paging bag to base station 1, contains the PSN coding in the paging bag.Thereceiver 11 paging receiving bags of base station 1 convert the paging bag to beep-page message bymessage synthesizer 12, and bytransmitter 13 beep-page message are sent to mobile phone 3.
Describe in the base stations 1 processing in detail below in conjunction with Fig. 6 and 7 to the paging bag.
Fig. 6 illustrates the method that sends beep-page message in the base station according to the paging bag.In calling procedure, TS (task server, Transaction Server) obtains called PSN by user profile (user profile), by SETUP message called PSN is passed to CSC (base station controller).CSC puts called PSN in the SETUP message into and passes to the base station.This method is from step S1, and whereinmessage synthesizer 12 obtains the paging bag of thereceiver 11 of base station 1 fromCSC 2 receptions, and the type of the PSN that comprises in definite paging bag coding.PSN is divided into conventional PSN coding and strengthens the PSN coding.Strengthen the PSN coding as shown in Figure 3.This coding method is different from the method for prior art, and the main distinction is: increase a new field---New PS in new PSN, can distinguish conventional PSN coding and strengthen the PSN coding according to this sign.In a preferred embodiment, the value of New PS is 9.It will be understood by those skilled in the art that can be according to the position and the value that specifically should be used for specifying New PS, as long as can distinguish conventional PSN coding and strengthen the PSN coding.The PSN coding has just extended to as shown in Figure 3 13.
In step S2,message synthesizer 12 determines whether that two contain the paging bag that strengthens the PSN coding.If have, then advance to step S3, wherein these two paging bags are merged into a beep-page message, two mobile phones of this beep-page message paging simultaneously, its form is as shown in Figure 5.In a preferred embodiment, non-compression paging message is represented in call service type=" 001 ", call service type=" 011 " expression compression paging message.Compression method to message in the PHS system is as follows:
7 BCD running numbers are converted to binary number or other form of equal value (4,8,16,64 systems or the like are as long as it has minimum significant bit number).With hexadecimal is example, because the maximum effective length of the hexadecimal number after the conversion is no more than 24 bits, therefore preceding 4 bits in 28 bits after the conversion are 0 certainly.In the method for preferential embodiment, when carrying out paging, filter preceding 4 bits " 0000 ", thereby 7 BCD running numbers among the above-mentioned PSN just can be converted to 6 place value territories be the hexadecimal number of 0~F, take the 4*6=24 bit.For example, for 7 BCD running numbers " 1234567 ", it is " 12D687 " through the hexadecimal code after changing and filtering.Therefore, after having carried out above-mentioned compression expression method, in the beep-page message form as shown in Figure 1, be used for representing that 2 PSN just can be represented in the position of 13 BCD of PSN.
If there are not described two paging bags, then determine at step S4 whether the paging bag contains conventional PSN coding.If not, then turn back to step S1.If then produce beep-page message as shown in Figure 1.
After producing beep-page message,transmitter 13 sends beep-page message in step S5.
According to one embodiment of present invention, base station 1 also comprises flow monitor and flow comparator (not shown).In the process ofreceiver 11 paging receiving bags, flow monitor is measured the paging flow, and the flow comparator is compared the flow of measuring with predetermined flow threshold.If the flow of measuring surpasses flow threshold, then 12 of message synthesizers are according to the incompressible beep-page message of paging packet generation.Fig. 4 shows the form of the non-compression paging message of the mobile phone of encoding at employing enhancing PSN according to an embodiment.For the paging bag that contains conventional PSN coding, then produce beep-page message as shown in Figure 1.Like this, can enable compression method when needed according to the size of flow.In the present embodiment, may have three kinds of beep-page messages, first kind is compression paging message, at adopting the mobile phone that strengthens the PSN coding; Second kind is non-compression paging message, at adopting the mobile phone that strengthens the PSN coding; The third is non-compression paging message, at traditional mobile phone.Wherein can determine according to the call service type code whether message is compressed.The call service type code can cause conventional mobile phone to abandon compression paging message.NewPS sign can cause conventional mobile phone to be abandoned adopting the beep-page message that strengthens the PSN coding, and makes the beep-page message that adopts the mobile phone that strengthens the PSN coding to discard tradition.Yet those skilled in the art can make amendment to previously described call service type and New PS sign, to obtain same effect.So for example, the third beep-page message is only worked to conventional mobile phone, and preceding two kinds of message are only to adopting the mobile phone that strengthens the PSN coding to work.
The parts that it will be understood by those skilled in the art that above-mentioned base station can pass through single-chip, and microprocessor, logical circuit, application-specific integrated circuit (ASIC) or the like are realized, and can be programmable.
Get back to Fig. 6, have to when one contains the paging bag that strengthens the PSN coding whenmessage synthesizer 12 occurring, method is got back to step S1 and is contained the paging bag that strengthens the PSN coding in the hope of obtaining the next one.If yet there is not described next paging bag all the time,message synthesizer 12 can be waited for always.Can cause first paging bag by long-time delayed delivery like this.In one embodiment, avoid this problem by the synthesis window timer.The operation principle of synthesis window timer as shown in Figure 7.
Fig. 7 is the synthetic window timer process figure of message.This process can be and the independently concurrent mutually process of process shown in Figure 6.Process shown in Figure 7 wherein is initialized as 0 with the window timer from step S11.Then in step S12, check themessage synthesizer 12 resulting quantity that contain the paging bag that strengthens the PSN coding.In step S13, determine whether described quantity is 1 then,, then determine at step S14 whether the window timer meets or exceeds T (synthesis window time cycle) if be 1.If no, then turn back to step S12.If meet or exceed T, then do not wait for second paging bag and directly send this paging bag (step S15) according to form for example shown in Figure 4.Get back to step S13,, then turn back to step S11 if quantity is not 1.
Because there are not above-mentioned wait process in the processing of generation compression paging message and generation at the processing of the beep-page message of conventional mobile phone after obtaining the paging bag, therefore can easily the processing time be controlled at cycle stipulated time in (comprising T).With reference to the embodiment of Fig. 7 the method in cycle in control time has been described though should be noted that the front, yet also can have realized by other method.
Mobile phone as shown in figure 10 according to an embodiment of the invention.It will be appreciated by those skilled in the art that, for the purpose of simplifying the description, omitted other parts of mobile phone here, because these parts and purpose of the present invention are irrelevant.
As shown in figure 10, mobile phone 3 comprisesreceiver 31,reductor 32,comparator 33 or the like.Receiver 31 receives the beep-page message that the base station sends.Reductor 32 restores the PSN coding from beep-page message.Andcomparator 33 determines whether respond calling with decision by whether this machine of paging of beep-page messages.
Describe in the mobile phone of the present invention processing in detail below in conjunction with Fig. 8 to beep-page message.
Method shown in Figure 8 is from step S21, and whereinreceiver 31 receptions of mobile phone 3 are from the beep-page message of base station.Then at step S22,reductor 32 is determined whether compressed message of message related to calls according to the call service type.If not, then in step S24, determine according to New PS sign whether beep-page message comprises enhancing PSN coding.If comprise, then take out the PSN coding, and forward step S25 to.Comprise conventional PSN coding if determine beep-page message, then abandon this beep-page message (step S26).If compression paging message, thenreductor 32 goes out two BCD running numbers in step S23 parsing (decompression).When resolving,reductor 32 takes out compressed code, converts compressed code to 7 BCD running numbers from binary system or other form of equal value (4,8,16,64 systems or the like are as long as it has minimum significant bit number).
In step S25,comparator 33 is compared the BCD running number that obtains with loCal number, if a BCD running number and loCal number coupling are arranged, then starts the called operation response (step S27) of mobile phone; Otherwise abandon this beep-page message.
After handling the beep-page message of reception, handle and get back to step S21.
The parts that it will be understood by those skilled in the art that above-mentioned base station can pass through single-chip, and microprocessor, logical circuit, application-specific integrated circuit (ASIC) or the like are realized, and can be programmable.
After PSN adopted new coding, paging efficiency will improve with the increase of new cell-phone, finally improves 50%.
Suppose that the old and new's mobile phone number equates, call distribution equates that CS receives N paging bag from CSC in certain paging zone, then shared aloft paging bag M=(N/2)+(N/4)=0.75N behind the new coding of employing raises the efficiency R=(N-M)/N=25%.Various situations are as shown in the table:
| The new cell-phone ratio | Aerial paging bag | Raise the efficiency |
| ????25% | ????0.875N | ????12.5% |
| ????50% | ????0.75N | ????25% |
| ????75% | ????0.625N | ????37.5% |
| ????100% | ????0.5N | ????50% |
Although above-mentionedly according to preferred embodiment the present invention is set forth, these are described just for purpose of the present invention is described, should not be construed as any limitation of the invention.Those skilled in the art can carry out various possible modifications and improvement to the present invention, but these modifications and improve all are included in the scope and spirit of the present invention defined in the claims of enclosing.