# Patent

## Title
Method and system for distributing and updating software in wireless devices

## Abstract

A method is disclosed. The method includes receiving an update package from a wireless service provider that includes information indicating that multiple language versions of an update are included in the update package. Based on the information, the method further specifies an update associated with a language from the update package, and transmits the update associated with the language to a wireless device.

## Background
The present patent application is a Continuation application claiming priority from application Ser. No. 11/363,582, filed Feb. 27, 2006 now U.S. Pat. No. 7,620,392.


FIELD OF THE INVENTION
This invention relates generally to the field of wireless networks. More particularly, the invention relates to distributing and updating software in wireless devices.
BACKGROUND
A variety of wireless data processing devices have been introduced over the past several years. These include wireless personal digital assistants (“PDAs”) such as the Palm® VIIx handheld, cellular phones equipped with data processing capabilities (e.g., those which include wireless application protocol (“WAP”) support), and, more recently, wireless messaging devices such as the BlackberryTM wireless pager developed by Research In Motion (“RIM”).TM
Currently, in order to distribute software to wireless devices, the devices are cradled and/or connected to a computer system for software to be installed to a wireless device. Additionally, some software to be installed on the device may be language specific, or device specific. In this case software running on a computer system controls what version of the software is to be installed on the wireless device, or users may choose from a set of options provided.



BRIEF DESCRIPTION OF THE DRAWINGS
A better understanding of the present invention can be obtained from the following detailed description in conjunction with the following drawings, in which:
FIG. 1 illustrates one embodiment of a network;
FIG. 2 illustrates one embodiment of a flow diagram for a wireless device downloading updates and/or applications from a web-based software server;
FIG. 3 illustrates one embodiment of an update package;
FIG. 4 illustrates one embodiment of a wireless device receiving an update from an update package;
FIG. 5 illustrates one embodiment of restricting where a device is located when it downloads updates; and
FIG. 6 illustrates one embodiment of a computer system.



DETAILED DESCRIPTION
According to one embodiment a method for updating a wireless device is disclosed. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the present invention. It will be apparent, however, to one skilled in the art that the present invention may be practiced without some of these specific details. In other instances, well-known structures and devices are shown in block diagram form to avoid obscuring the underlying principles of the present invention.
Reference in the specification to “one embodiment” or “an embodiment” means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of the phrase “in one embodiment” in various places in the specification are not necessarily all referring to the same embodiment.
FIG. 1 illustrates one embodiment of a network architecture. A “customer site” 120 is illustrated in FIG. 1 and may be any local-area or wide-area network over which a plurality of servers 103 and clients 110 communicate. For example, customer site 120 may include all servers and clients maintained by a single corporation.
Servers 103 may provide a variety of different messaging and groupware services 102 to network users (e.g., e-mail, instant messaging, calendaring, etc). In one embodiment, these services are provided by Microsoft Exchange.TM However, the underlying principles of the invention are not limited to any particular messaging/groupware platform.
In one embodiment, an interface 100 forwards data objects (e.g., e-mail messages, instant messages, calendar data, etc.) maintained by service 102 to a plurality of wireless data processing devices (represented in FIG. 1 by device 130) via an external data network 170 and/or a wireless service provider network 171. For example, if the service 102 includes an e-mail database, the interface 100 transmits any new e-mails, which arrive in a user's mailbox on the service 102 to the user's wireless data processing device 130 (over the network(s) 170 and/or 171).
Alternatively, or in addition, service 102 may provide the e-mail to the user's local computer (e.g., client 110) upon request (e.g., so that the user will receive the e-mail on his/her device 130 when out of the office and on his/her personal computer 110 when in the office). Conversely, e-mail messages transmitted from the user's wireless data processing device 130 are transmitted to the service 102 via the interface 100.
In one embodiment, interface 100 is a software module adapted to work with the particular service 102. It should be noted, however, that interface 100 may be implemented in hardware or any combination of hardware and software while still complying with the underlying principles of the invention.
In one embodiment, the external data network 170 includes a plurality of databases, servers/clients (not shown) and other networking hardware (e.g., routers, hubs, etc) for transmitting data between the interface 100 and the devices 130. In one embodiment, the interface 100 encapsulates data in one or more packets having an address identifying the devices 130 (e.g., such as a 24-bit Mobitex Access Number (“MAN #”)).
The external data network 170 transmits the packets to a wireless service provider network 171, which in turn, transmits the packets (or the data contained therein) over wireless communication link 173 (e.g. cell tower) to the device 130. In one embodiment, the wireless service provider network is a CDMA 2000 network. However, various other network types may be employed (e.g., Mobitex, GPRS, PCS, etc.) while still complying with the underlying principles of the invention.
It should be noted that the network service provider network 171 and the external data network 170 (and associated interface 100) may be owned/operated by the same organization or, alternatively, the owner/operator of the external data network 170 may lease wireless services from the wireless service provider network. The underlying principles of the invention are not limited to any particular service arrangement.
In one embodiment, customer site 120 includes a management console (MC) 150. In a further embodiment, MC 150 is a GoodLinkTM management console (GMC) developed by Good Technology®. Further wireless service provider network 171 is connected to a web-based software server 172. In one embodiment, web-based software server 172 is a web-store, which is used to distribute updates and applications to wireless devices (e.g. device 130).
According to one embodiment, updates and/or applications for device 130 are transmitted to web-based software server 172 from wireless service provider network 171, which are available for download by device 130. In one embodiment, the application to be downloaded is GoodLinkTM client developed by Good Technology®. In another embodiment, notification of the availability of updates and/or applications is transmitted to customer site 120. At customer site 120, MC 150 allows an administrator to assign software policies for device 130. In one embodiment, the software policies determine which update and/or application notifications device 130 will receive.
Based on the software policies, customer site 120 then transmits a message to device 130 notifying device 130 of the updates and/or applications that are available to be downloaded from web-based software server 172.
FIG. 2 illustrates one embodiment of a flow diagram illustrating the process of device 130 downloading updates and/or applications from web-based software server 172. At process block 210, customer site 120 receives a message indicating that there are updates and/or applications available for device 130 to download. At process block 220, an IT administrator assigns software policies to individual users and/or a group of users (e.g. device 130). In one embodiment, a software policy defines a rule, which uniquely identifies the updates and/or applications.
At process block 230, device 130, based on the software policy, receives notification from customer site 120 that updates and/or applications are available for download. At process block 240, device 130 accesses web-based software server 172 to receive information regarding the updates and/or applications. At process block 250, web-based software server 172 transmits a universal resource locator (URL) to device 130 that indicates the location of the updates and/or applications. At process block 260, device 130 downloads the updates and/or applications from web-based software server 172 via the received URL.
Downloading updates and/or applications from a web-based software server reduces the burden on the bandwidth of a data network by spreading out the time when devices will download an update and/or application is described.
In another embodiment of the present invention a mechanism to distribute multi-language applications and updates in a package format is disclosed. FIG. 3 illustrates one embodiment of an update package 300. Update package 300 includes a similar software update provided in five different languages (i.e. English, German, French, Italian and Spanish). However, other languages and a different number of languages may be used.
In one embodiment, web-based software server 172 decides, based on information received from device 130, which one of the software updates in update package 300 that device 130 will receive. Accordingly, the device 130 receives the version of the update that corresponds to its specified language.
In one embodiment, update package 300 has a compatibility matrix included with it. This compatibility matrix is included in meta-data associated with update package 300. The compatibility matrix includes information describing the languages supported by update package 300. An IT administrator may use the information to know the content of update package 300.
The following is an example of one embodiment of a compatibility matrix:















ComparabilityMatrix =



{









[locale=EN|GUID=Guid3_2_1]



[locale=DE|GUID=Guid3_2_2]



[locale=FR|GUID=Guid3_2_3]



[locale=IT|GUID=Guid3_2_4]



[locale=SP|GUID=Guid3_2_5]









}










The locale and GUID tags in the compatibility matrix are to identify rules that are associated with each update in update package 300. For example, ‘locale=DE’ is a rule that identifies that the update is designated for devices with German as the device language.
FIG. 4 illustrates one embodiment of a device 130 receiving an update from update package 300. At process block 410, customer site 120 receives a message indicating that update package 300 is available for device 130. At process block 420, customer site 120 transmits a notification to device 130 indicating that update package 300 is available for device 130 to download.
At process block 430, device 130 requests meta-data associated with update package 300 from web-based software server 172. Device 130 transmits device specific information to web-based software server 172, process block 440. At decision block 450, web-based software server 172 checks the device specific information to determine whether the update associated with the device specific information is included in the compatibility matrix.
If the update associated with the device specific information is not included in the compatibility matrix, web-based software server 172 transmits an error to device 130 indicating that the appropriate update for device 130 is not included in update package 300, process block 460.
If the update associated with the device specific information is included in the compatibility matrix, web-based software server 172 evaluates the rules in the compatibility matrix and transmits information to device 130 specifying to device 130 what file in update package 300 to download, process block 470. At process block 480, device 130 downloads the specified file in update package 300 from web-based software server 172.
Receiving an update from an update package allows an IT administrator to globally deploy an update to all users regardless of their locale or language.
In another embodiment, a mechanism to distribute the load placed on a network is described. For Example, a network (e.g. wireless communication link 173) may only be able to handle a limited number of connections at the same time. In one embodiment, the maximum number of connections that can be supported simultaneously is thirty. However, other values may be used.
In order to minimize the number of devices downloading an update from a specific cell tower, a download restriction is associated with the updates.
FIG. 5 illustrates one embodiment of restricting where device 130 is located when it downloads updates. At process block 510, an update notification that has a download restriction associated with it is transmitted to device 130 at a first location. In one embodiment, the first location is an office. At decision block 520, it is determined whether a user has overridden the download restriction. If a user has overridden the download restriction the update is immediately downloaded to device 130, process block 530.
If a user has not overridden the download restriction, the download restriction initiates scheduling of a download time for the update based on a random time, process block 540. At process block 550, the random time is generated based on a criteria. The criteria attempts to ensure that device 130 will download the update at a second location (e.g. a house). In one embodiment, the criteria restricts the random time to after 8 pm and before 2 am. However, other time restrictions may be used.
The above-mentioned process effectively alters the location of a device when the download occurs. The benefit is to distribute the load of downloading updates over a range of cell towers.
FIG. 6 illustrates one embodiment of a computer system 600 on which device 130 and or server 103 may be implemented. Computer system 600 includes a system bus 620 for communicating information, and a processor 610 coupled to bus 620 for processing information. According to one embodiment, processor 610 is implemented using one of the multitudes of Motorola ARM family of processors of microprocessors. Nevertheless one of ordinary skill in the art will appreciate that other processors may be used.
Computer system 600 further comprises a random access memory (RAM) or other dynamic storage device 625 (referred to herein as main memory), coupled to bus 620 for storing information and instructions to be executed by processor 610, Main memory 625 also may be used for storing temporary variables or other intermediate information during execution of instructions by processor 610. Computer system 600 also may include a read only memory (ROM) and/or other static storage device 626 coupled to bus 620 for storing static information and instructions used by processor 610.
A data storage device 625 such as a magnetic disk or optical disc and its corresponding drive may also be coupled to computer system 600 for storing information and instructions. Computer system 600 can also be coupled to a second I/O bus 650 via an I/O interface 630. A plurality of I/O devices may be coupled to I/O bus 650, including a display device 624; an input device (e.g., an alphanumeric input device 623 and/or a cursor control device 622).
The communication device 621 is for accessing other computers (servers or clients) via network 170. The communication device 621 may comprise a modem, a network interface card, or other well-known interface device, such as those used for coupling to Ethernet, token ring, or other types of networks.
Embodiments of the invention may include various steps as set forth above. The steps may be embodied in machine-executable instructions. The instructions can be used to cause a general-purpose or special-purpose processor to perform certain steps. Alternatively, these steps may be performed by specific hardware components that contain hardwired logic for performing the steps, or by any combination of programmed computer components and custom hardware components.
Elements of the present invention may also be provided as a machine-readable medium for storing the machine-executable instructions. The machine-readable medium may include, but is not limited to, floppy diskettes, optical disks, CD-ROMs, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, magnetic or optical cards, propagation media or other type of media/machine-readable medium suitable for storing electronic instructions. For example, the present invention may be downloaded as a computer program which may be transferred from a remote computer (e.g., a server) to a requesting computer (e.g., a client) by way of data signals embodied in a carrier wave or other propagation medium via a communication link (e.g., a modem or network connection).
Throughout the foregoing description, for the purposes of explanation, numerous specific details were set forth in order to provide a thorough understanding of the invention. It will be apparent, however, to one skilled in the art that the invention may be practiced without some of these specific details. For example, while illustrated as an interface 100 to a service 102 executed on a server 103 (see FIG. 1); it will be appreciated that the underlying principles of the invention may be implemented on a single client in which the client transmits data over a network. Accordingly, the scope and spirit of the invention should be judged in terms of the claims that follow.

## Claims

1. A method of updating a wireless device comprising:
a wireless device receiving a notification indicating that an updated package is available for the wireless device, the update package comprising a plurality of versions of an update;
the wireless device transmitting, in response to receipt of said notification, device-specific information to a server system, the device-specific information comprising compatibility information relating to the wireless device;
the wireless device receiving data specifying a location of a version of the update from the server system, the version having been selected based on the compatibility information; and
the wireless device using the received data to access said selected version of the update.

2. The method of claim 1 further comprising requesting meta-data associated with the update.

3. The method of claim 1 further comprising:
the server system determining whether the compatibility information is included in a compatibility matrix associated with the update; and
the server system transmitting the data specifying a location of a version of the update in response to determining that the compatibility information is included in the compatibility matrix.

4. A non-transitory machine-readable storage medium having stored thereon data representing sets of machine-readable instructions which, when executed by a wireless device, configure the wireless device to:
receive a notification indicating that an update package is available for the wireless device, the update package comprising a plurality of versions of an update;
transmit, in response to receipt of the notification, device-specific information to a server system, the device-specific information comprising compatibility information relating to the wireless device;
receive data specifying a location of a version of the update from the server system, the version having been selected based on the compatibility information; and
use the received data to access said selected version of the update.

5. The machine-readable medium of claim 4 wherein the sets of instructions, when executed by the wireless device, further cause the wireless device to request meta-data associated with the update.

6. A method according to claim 1, wherein the received data comprises a universal resource locator.

7. A method according to claim 1, wherein the plurality of versions relate to a plurality of languages.

8. A method of providing an update to a wireless device, comprising:
sending, to a wireless device, a notification indicating that an update package is available for the wireless device, the update package comprising a plurality of versions of an update;
receiving, from the wireless device, device-specific information comprising compatibility information relating to the wireless device;
selecting, based on the received compatibility information, a version of the update from the plurality of versions; and
sending data for receipt at the wireless device, the data specifying a location of the selected version.

9. A method according to claim 8, further comprising:
determining whether the compatibility information is included in a compatibility matrix associated with the update; and
transmitting the data specifying a location of a version of the update in response to determining that the compatibility information is included in the compatibility matrix.

10. A method according to claim 8, wherein the data specifying a location of the selected version comprises a universal resource locator with which the selected version can be downloaded.

11. A method according to claim 8, wherein the plurality of versions relates to a plurality of languages.

12. A method according to claim 8, further comprising providing updates to a plurality of wireless devices via a network, wherein the method comprises scheduling the timing of provision of updates to the wireless devices so that no more than a predefined number of updates are simultaneously provided via the network.

13. A method according to claim 12, further comprising scheduling the provision of the selected version so that the selected version is provided to the wireless device when the wireless device is in a predetermined location.

14. A server system for providing an update to a wireless device, the server system comprising a processor and one or more communications interfaces for communicating with one or more wireless devices, the server system being configured to:
send, to a wireless device via said one or more communications interfaces, a notification indicating that an update package is available for the wireless device, the update package comprising a plurality of versions of an update;
receive, from the wireless device via said one or more communications interfaces, device-specific information comprising compatibility information relating to the wireless device;
select, by the processor, based on the received compatibility information, a version of the update; and
send data, via said one or more communications interfaces, for receipt at the wireless device specifying a location of the selected version.

15. A system according to claim 14, further comprising a server system storing the plurality of versions.

16. A system according to claim 14, further comprising a management console for configuring rules associated with the update.

17. A non-transitory computer-readable storage medium storing computer readable instructions thereon for execution on a computing system to implement a method of providing an update to a wireless device, the method comprising:
sending, to a wireless device, a notification indicating that an update package is available for the wireless device, the update package comprising a plurality of versions of the update;
receiving, from the wireless device, device-specific information comprising compatibility information relating to the wireless device;
selecting, based on the received compatibility information, a version of the update; and
sending data for receipt at the wireless device specifying a location of the selected version.

18. A wireless device configured to:
receive a notification indicating that an update package is available for the wireless device, the update package comprising having a plurality of versions of an update;
transmit, in response to receiving a said notification, device-specific information comprising compatibility information relating to the wireless device to a server system;
receive data specifying a location of a version of the update from the server system, the version having been selected, based on the compatibility information; and
use the received data to access said selected version of the update.

19. A method of updating a wireless device comprising:
a wireless device receiving a notification indicating that an update package is available for the wireless device, the update package comprising a plurality of versions of an update;
the wireless device transmitting, in response to receipt of said notification, device-specific information to a server system, the device-specific information comprising compatibility information relating to the wireless device;
the wireless device receiving data specifying a location of a version of the update from the server system, the version being associated with the compatibility information; and
the wireless device using the received data to access said selected version of the update.