Abstract:
A method of acquiring telecommunications service is disclosed. The method comprises listening to a wireless signal from a wireless network and decoding a country code from the wireless signal. The method further comprises selecting a subscriber identity based at least in part on the country code of the wireless signal and acquiring wireless service from the wireless network.

Description:
BACKGROUND OF THE INVENTION 
     In a GSM cellular system, a Subscriber Identity Module (SIM) contains the identity of the subscriber. One of the primary functions of the SIM in conjunction with the cellular network system is to authenticate the validity of the wireless terminal (for example, a cell phone) and the wireless terminal&#39;s subscription to the network. The SIM is typically a microchip that is located on a plastic card which is approximately 1 cm square. The SIM card is then placed in a slot of the wireless terminal to establish the unique identity of the subscriber to the network. 
     In the SIM of the wireless terminal, an authentication key (Ki)-International Mobile Subscriber Identity (IMSI) pair is stored. This same Ki for a given IMSI is also stored in the Home Location Register (HLR)/Authentication-Center (AuC) of the network. The wireless terminal and the HLR/AuC independently run an authentication algorithm each using a Ki, and if the Ki&#39;s are the same for the two, then the authentication will pass. 
     In existing cellular systems, a wireless terminal has a Ki associated with only one IMSI. Since one of the fields in the IMSI is country code, a wireless terminal is registered as an international roaming device on the network when it is powered on in a network of a country that is different from the one corresponding to the country code in its IMSI. Wireless terminal vendors and their users could greatly benefit if a wireless terminal can be sold in any country and if it can automatically provision itself with an IMSI specific to that country. The wireless terminal vendors could then sell the same generic device in multiple countries and users could then use this terminal without having to pay international roaming charges. 
     BRIEF SUMMARY OF THE INVENTION 
     Acquiring telecommunications service is disclosed. In some embodiments, subscriber identity is selected based at least in part on a country code of a wireless signal. The country code is decoded from a wireless signal received from a wireless network. Using the selected subscriber identity acquire wireless service from the wireless network. In some embodiments, wireless service from a wireless network is first acquired using a first subscriber identity. Information is transmitted to the wireless network and a second subscriber identity is received. Wireless service is acquired from the wireless network using the second subscriber identity. 
    
    
     
       BRIEF DESCRIPTION OF THE DRAWINGS 
       Various embodiments of the invention are disclosed in the following detailed description and the accompanying drawings. 
         FIG. 1  illustrates an embodiment of a self-provisioning wireless system. 
         FIG. 2  illustrates an example of authentication data structures in one embodiment. 
         FIG. 3  illustrates an embodiment of a process for self-provisioning, or authentication, of a wireless terminal in a network system. 
         FIG. 4  illustrates an embodiment of a process for self-provisioning or authentication, of a wireless terminal in a network system. 
     
    
    
     DETAILED DESCRIPTION 
     The invention can be implemented in numerous ways, including as a process, an apparatus, a system, a composition of matter, a computer readable medium such as a computer readable storage medium or a computer network wherein program instructions are sent over optical, electronic or wireless communication links. In this specification, these implementations, or any other form that the invention may take, may be referred to as techniques. A component such as a processor or a memory described as being configured to perform a task includes both a general component that is temporarily configured to perform the task at a given time or a specific component that is manufactured to perform the task. In general, the order of the steps of disclosed processes may be altered within the scope of the invention. 
     A detailed description of one or more embodiments of the invention is provided below along with accompanying figures that illustrate the principles of the invention. The invention is described in connection with such embodiments, but the invention is not limited to any embodiment. The scope of the invention is limited only by the claims and the invention encompasses numerous alternatives, modifications and equivalents. Numerous specific details are set forth in the following description in order to provide a thorough understanding of the invention. These details are provided for the purpose of example and the invention may be practiced according to the claims without some or all of these specific details. For the purpose of clarity, technical material that is known in the technical fields related to the invention has not been described in detail so that the invention is not unnecessarily obscured. 
     A self-provisioning wireless terminal for a cellular network is disclosed. The wireless terminal identifies the country of the cellular network it is operating in from information broadcasted by the cellular network, then the wireless terminal provisions itself as a local wireless terminal for that country. The wireless terminal can provision itself, or acquire telecommunications service, as a local terminal by using a stored authentication key (Ki)-International Mobile Subscriber Identity (IMSI) pair that is specific to the country it is operating in. In various embodiments, the wireless terminal can provision itself as a local terminal by downloading a specific Ki-IMSI pair or by downloading an IMSI to pair with an existing Ki. 
       FIG. 1  illustrates an embodiment of a self-provisioning wireless system. The wireless system includes wireless terminal  100 , wireless network towers  104 , wireless network center  106 , Home Location Register/Authentication Center (HLR/AuC)  108 , and provisioning server  110  capable of provisioning the wireless terminals. The wireless terminal includes a Subscriber Identity Module (SIM) which is either an attachable hardware card with a memory and a processor or a software object embedded in the wireless terminal. The wireless network center includes a Mobile Switching Center/Visitor Location Register (MSC/VLR) and a Serving GPRS Service Node (SGSN). The wireless terminal communicates with the wireless network towers using cellular signal  102 . 
     In various embodiments, the wireless network system is a GSM/GPRS cellular system, a CDMA or WCDMA cellular system, or a TDMA cellular system, or any other type of wireless network system. 
       FIG. 2  illustrates an example of authentication data structures in one embodiment. Authentication data structure (ADS) for a wireless terminal includes a Ki and one or more IMSI&#39;s. In the example shown, the ADS for wireless terminal  1  includes one Ki and one IMSI. the ADS for wireless terminal  2  includes one Ki and three IMSI&#39;s. The ADS for wireless terminal N includes one Ki and two IMSI&#39;s. The ADS for network includes the Ki-IMSI entries for each of the wireless terminals. Entries for wireless terminal  1 ,  2 , and N are shown. 
       FIG. 3  illustrates an embodiment of a process for self-provisioning, or authentication, of a wireless terminal in a network system. In the example shown, wireless terminal  100  receives information from and transmits information to network center  106 , HLR/AuC  108 , and provisioning server  110  using wireless signals  102 . In  304 , wireless terminal  100  listens to wireless signals  102  transmitted from wireless network base stations and decodes the country code from the transmitted information. For example, the wireless terminal scans for the existing cellular system signals. When it finds a network system broadcast control channel (i.e. BCCH in GSM Systems), it decodes the broadcasted information to decode the Location Area Identifier (LAI). The LAI is composed of a country code, a mobile network code and a location area code. From the LAI, the wireless terminal can determine the country in which it is operating. In  306 , the wireless terminal chooses an IMSI with the same country code from its ADS. For example, the IMSI is composed of a country code, a mobile network code, and mobile subscriber identification number. The codes in the IMSI can be used to match an IMSI to the local country. The rest of the IMSI&#39;s stored in the wireless terminal&#39;s ADS are made inactive for the duration of the session. 
     In  308 , the wireless terminal performs a location update with the cellular network using the chosen IMSI. In  310 , the network center, HLR/AuC, and provisioning server  302  searches for the IMSI in its ADS and retrieves the corresponding Ki. In  312 , a challenge is generated (pseudo-random number RAND) and with the Ki is used to calculate a Signed Response (SRES) using an authentication algorithm (A 3 ). In  314 , the RAND is sent to the wireless terminal and a response is requested. In  316 , the wireless terminal uses the RAND with the Ki from its ADS to independently calculate a SRES using encryption algorithm (A 3 ) stored in its SIM. In  318 , the SRES is sent to the network center, and/or HLR/AuC, and/or provisioning server  302 . In  320 , authentication is passed if the received SRES matches the locally computed SRES, otherwise the authentication fails. 
       FIG. 4  illustrates an embodiment of a process for self-provisioning or authentication, of a wireless terminal in a network system. In some cases, the wireless terminal will not contain an IMSI that matches the country code of the local network system. Self-provisioning can be achieved by connecting using an IMSI with another country code and then downloading a local IMSI (i.e. with a matching country code). In the example shown, wireless terminal  100  receives information from and transmits information to network center  106 , HLR/AuC  108 , and provisioning server  110  using cellular signals  102 . In  404 , wireless terminal  100  listens to cellular signals  102  transmitted from wireless network base stations and decodes the country code from the transmitted information similar to  304  above. In  406 , wireless terminal  100  communicates, after authenticating itself using a process similar to  308 - 320  above, with the provisioning server transmitting information including a country code and a terminal producer. In  408 , the provisioning server chooses a new IMSI with a local country code. In  410 , the new IMSI is added to the ADS of the network corresponding to the wireless terminal (i.e. paired with the wireless terminal&#39;s Ki). In  412 , the provisioning server sends the new IMSI to wireless terminal  100 . In  414 , wireless terminal  100  adds the new IMSI to its ADS. In  416 , wireless terminal  100  reestablishes its connection with the network system with the new IMSI as the active IMSI. In some embodiments, depending on the information transmitted (i.e. IMSI range or type of wireless terminal), communication may be established between the wireless terminal and a specific application server (i.e. a Jasper Systems&#39; Application Server or another company&#39;s Application Server). In some embodiments, this communication with a specific application server is encrypted. 
     Although the foregoing embodiments have been described in some detail for purposes of clarity of understanding, the invention is not limited to the details provided. There are many alternative ways of implementing the invention. The disclosed embodiments are illustrative and not restrictive.