This invention relates generally to mobile stations, including cellular telephones and personal communicators, and more particularly relates to techniques for uniquely identifying a particular mobile station.
In the GSM system a 14 digit International Mobile station Equipment Identity (IMEI) code is defined to be stored in the mobile station. The value of the IMEI is intended to be unique for each mobile station, and is fixed during the manufacturing process. An associated check digit is calculated by a Luhn Algorithm (ISO/IEC 7812).
The IMEI is typically employed by the network operator to insure the validity of the mobile station, and the network operator will refuse service to a mobile station that does not have a valid IMEI. A purpose of the IMEI is to obtain information on the use of Public Land Mobile Network (PLMN) by subscribers for individual charging purposes.
As currently specified, the IMEI includes a six digit binary coded decimal (BCD) serial number (SNR) field, as well as a six digital type approval code (TAC) and a two digit final assembly code (FAC). However, with the explosive growth in mobile station usage, the six digits of the SNR field becomes insufficient for uniquely identifying mobile stations for large production volumes.
It is thus an object and advantage of this invention to provide an improved mobile station IMEI and a corresponding modification to the procedure for calculating the check digit.
It is another object and advantage of this invention to provide an improved mobile station IMEI having at least a six digit hexadecimal SNR representation, in conjunction with a check digit calculation procedure, so as to insure backwards compatibility with the existing installed base of mobile stations having the six digit BCD SNR representation.
The foregoing and other problems are overcome and the objects and advantages are realized by methods and apparatus in accordance with embodiments of this invention.
A method is disclosed to provide an improved mobile station International Mobile Equipment Identity (IMEI) code having at least a six digit hexadecimal SNR representation, in conjunction with modifying a check digit calculation procedure so as to insure backwards compatibility with an existing installed base of mobile stations having six digit BCD SNR representation.
A method is disclosed for operating a mobile station to provide the IMEI with at least a hexadecimal SNR field, and to then modify the check digit calculating procedure so that hexadecimal digits A, B, C, D, E and F are first converted to decimal digits 10, 11, 12, 13, 14 and 15, respectively, and to then compute the check bit using the original check bit calculation algorithm (Luhn Algorithm).
Alternatively, the Luhn Algorithm may be modified to use base 16 for all calculations to derive a base 16 check digit.
In a more preferred embodiment of this invention all 14 digits of the IMEI are stored in a hexadecimal representation, and the calculation of the check digit is performed over all of the 14 hexadecimal digits.
Further in accordance with this aspect of these teachings, a method is disclosed for use with a mobile station of a type that stores a 14 digit International Mobile Equipment Identity (IMEI) code for generating a Check Digit (CD). The method includes executing a preliminary step of encoding the 14 digit (D1, D2, D3, . . . , D14) IMEI in a hexadecimal representation. The method continues by computing the CD by steps of: (A) doubling the values of the odd digits (D1, D3, D5, . . . , D13) of the IMEI using the hexadecimal number base; (B) adding together the individual digits of the seven numbers obtained in Step A, and adding this sum to the sum of all of the even labeled digits (D2, D4, D6, . . . , D14) of the IMEI using the hexadecimal number base; and (C) if the number obtained at the end of Step B ends in zero (0), setting the CD to zero (0), else if the number obtained at the end of Step B does not end in zero (0), setting the CD to be the difference between that number subtracted from the next highest hexadecimal number which does end in zero (0).
This method works indiscriminately with mobile stations using a hexadecimal IMEI representation and with mobile stations using a BCD IMEI representation, thereby ensuring backwards compatibility with an installed base of mobile stations using the BCD IMEI representation.
The above set forth and other features of the invention are made more apparent in the ensuing Detailed Description of the Invention when read in conjunction with the attached Drawings, wherein:
Reference is made to
The mobile station includes a modulator (MOD) 14A, a transmitter 14, a receiver 16, a demodulator (DEMOD) 16A, and a controller 18 that provides signals to and receives signals from the transmitter 14 and receiver 16, respectively. These signals include signaling information in accordance with the air interface standard of the applicable cellular system, and also user speech and/or user generated data. While the teachings of this invention can be readily applied to GSM-type TDMA mobile stations, these teachings could applied as well to code division/multiple access (CDMA) and other type of systems.
It is understood that the controller 18 also includes the circuitry required for implementing the audio (speech path) and logic functions of the mobile station. By example, the controller 18 may be comprised of a digital signal processor device, a microprocessor device, and various analog to digital converters, digital to analog converters, and other support circuits. The control and signal processing functions of the mobile station are allocated between these devices according to their respective capabilities.
A user interface includes a conventional earphone or speaker 17, a conventional microphone 19, a display 20, and a user input device, typically a keypad 22, all of which are coupled to the controller 18. The keypad 22 includes the conventional numeric (0–9) and related keys (#,*) 22a, and other keys 22b used for operating the mobile station 10. These other keys 22b may include, by example, a SEND key, various menu scrolling and soft keys, and a PWR key.
The mobile station 10 also includes a removable battery 26 for powering the various circuits that are required to operate the mobile station.
The mobile station 10 also includes various memories, shown collectively as the memory 24, wherein are stored a plurality of constants and variables that are used by the controller 18 during the operation of the mobile station. For example, the memory 24 stores the values of wireless system parameters and the number assignment module (NAM). An operating program for controlling the operation of controller 18 is also stored in the memory 24 (typically in a ROM device). The operating program in the memory 24 includes routines to present messages and message-related functions to the user on the display 20, typically as various menu items.
The memory 24 is assumed to store the IMEI, and to be capable of transmitting the IMEI to the network, where a unit 35 operates to calculate the Check Digit (CD) in accordance with a method that is explained below and shown by example.
In accordance with the teachings herein the IMEI is modified so as to have at least a six digit hexadecimal (base 16) SNR representation, and the procedure executed by the unit 35 is modified to utilize the Luhn Algorithm so as to insure backwards compatibility with the existing installed base of mobile stations, having the six digit BCD SNR representation.
More particularly, the check digit calculating procedure is modified so that hexadecimal digits A, B, C, D, E and F are first converted to decimal digits 10, 11, 12, 13, 14 and 15, respectively, and the unit 35 then computes the check bit using the original check bit calculation algorithm (Luhn Algorithm).
Alternatively, the Luhn Algorithm may be modified to use base 16 for all calculations to derive a base 16 check digit.
Referring to
The method for computing the Luhn check digit is defined in Annex B of the International Standard “Identification cards-Numbering system and registration procedure for issuer identifiers” (ISO/IEC 7812), incorporated by reference herein in its entirety as shown in
An IMEI digit (D) labeling convention, excluding the SVN, is as follows:
It should be noted that although all digits D1 through D14 are changed to use hexadecimal coding, in accordance with these teachings, this has no effect on the previously assigned values of these fields when the fields were originally assigned values using the conventional BCD coding. That is, the same code values can still be used for the previously assigned codes. The use of hexadecimal coding allows more codes to be used for all of the fields, especially the SNR field, which can now encode a total number of mobile station units, associated with a given TAC and FAC, of 224=16,777,216. With the use of the conventional BCD coding only a maximum of one million units could be represented (106).
Referring now to
Although described in the context of preferred embodiments, it should be realized that a number of modifications to these teachings may occur to one skilled in the art.
Thus, while the invention has been particularly shown and described with respect to preferred embodiments thereof, it will be understood by those skilled in the art that changes in form and details may be made therein without departing from the scope and spirit of the invention.
Priority is herewith claimed under 35 U.S.C. §119(e) from copending Provisional Patent Application No. 60/183,279, filed Feb. 17, 2000. The disclosure of this Provisional Patent Application is incorporated by reference herein in its entirety.
Number | Name | Date | Kind |
---|---|---|---|
4325117 | Parmet et al. | Apr 1982 | A |
4535204 | Hughes et al. | Aug 1985 | A |
5497412 | Lannen et al. | Mar 1996 | A |
5862481 | Kulkarni et al. | Jan 1999 | A |
5873043 | Comer | Feb 1999 | A |
5945932 | Smith et al. | Aug 1999 | A |
5991635 | Dent et al. | Nov 1999 | A |
6076121 | Levine | Jun 2000 | A |
6081534 | Sipila | Jun 2000 | A |
6134309 | Carson | Oct 2000 | A |
6266525 | Peterson | Jul 2001 | B1 |
6338140 | Owens et al. | Jan 2002 | B1 |
20020040389 | Gerba et al. | Apr 2002 | A1 |
Number | Date | Country | |
---|---|---|---|
20010027117 A1 | Oct 2001 | US |
Number | Date | Country | |
---|---|---|---|
60183279 | Feb 2000 | US |