Plaque It!
|
[0001] This application is related to the application titled BYTE-LEVEL FILE DIFFERENCING AND UPDATING ALGORITHMS, application Ser. No. 10/146,545, filed May 13, 2002, the application titled UPDATING ELECTRONIC FILES USING BYTE-LEVEL FILE DIFFERENCING AND UPDATING ALGORITHMS, application Ser. No. 10/261,153, filed Sep. 30, 2002, the application titled UPGRADING OF ELECTRONIC FILES INCLUDING AUTOMATIC RECOVERY FROM FAILURES AND ERRORS OCCURRING DURING THE UPGRADE, Attorney Docket Number DOGO.P005 (Application Number not yet assigned), filed Nov. 12, 2002, the application titled DEVICE MEMORY MANAGEMENT DURING ELECTRONIC FILE UPDATING, Attorney Docket Number DOGO.P003 (Application Number not yet assigned), filed Nov. 18, 2002, the application titled GENERATING DIFFERENCE FILES USING MODULE INFORMATION OF EMBEDDED SOFTWARE COMPONENTS, Attorney Docket Number DOGO.P004 (Application Number not yet assigned), filed Nov. 18, 2002, the application titled CONTROLLING UPDATES OF ELECTRONIC FILES, Attorney Docket Number DOGO.P006 (Application Number not yet assigned), filed Nov. 18, 2002, and the application titled SCHEDULING UPDATES OF ELECTRONIC FILES, Attorney Docket Number DOGO.P007 (Application Number not yet assigned), filed Nov. 18, 2002, all of which are currently pending.
[0002] The disclosed embodiments relate to updating and maintaining electronic files.
[0003] Software running on a processor or central processing unit (CPU) to provide functionality in the host device often changes over time. The changes may result from the need to correct bugs, or errors, in the software files, adapt to evolving technologies, or add new features. In particular, embedded software components hosted on mobile wireless devices often include numerous software bugs that require correction.
[0004] Software includes one or more files in the form of human-readable American Standard Code for Information Interchange (ASCII) plain text files or binary code. Software files can be divided into smaller units that are often referred to as modules or components. A UNIX platform or personal computer (PC) includes multiple software components, and each of the software components is managed and updated independently through a file system supported by a corresponding operating system (OS). Information used to update software files or software components hosted on UNIX platforms or PCs can be transferred through the Internet or loaded from a secondary storage medium such as a floppy disk, a compact disk read-only memory (CD-ROM), or a compact flash card.
[0005] In contrast, in mobile wireless devices, a real-time operating system (RTOS) is typically used in which all software components are linked as a single large file. Further, no file system support is typically provided in these mobile wireless devices. In addition, the single large file needs to be preloaded, or embedded, into the device using a slow communication link like a radio, infrared, or serial link.
[0006] Obstacles to updating the large files of mobile wireless devices via slow communication links include the time, bandwidth, and cost associated with delivering the updated file to the device. Distribution of such large files can take an undesirably long time from the point of view of the customer and can consume a large amount of server resources from the point of view of the file provider. Delivering a large file over an unreliable communication link such as a radio link may also increase the rate of communication failure and require a large working memory within the device, for example random access memory (RAM).
[0007] One solution to the problem of delivering large files to mobile devices for use in updating files of the mobile devices uses difference programs to generate difference files. The difference files include data that describes how a revised file differs from an original file. While use of the various difference programs helps reduce the size of the transferred files, network traffic management issues remain because the service provider or software provider has many subscribers or customers to which they must potentially provide updated files including difference files.
[0008] Generally, the number of subscribers supported by a service provider along with bandwidth limitations of the associated network prohibits timely updates of all files on all subscriber devices each time a new update becomes available. However, the service provider does have to ensure that particular updates (e.g., bug fixes) to particular files are distributed in a timely fashion. Therefore, even when using difference files to reduce the network bandwidth requirements per file transfer, the service provider is faced with managing the delivery of software upgrades to large numbers of supported users.
[0009]
[0010]
[0011]
[0012]
[0013] In the drawings, the same reference numbers identify identical or substantially similar elements or acts. To easily identify the discussion of any particular element or act, the most significant digit or digits in a reference number refer to the Figure number in which that element is first introduced (e.g., element
[0014] Unless described otherwise below, the construction and operation of the various blocks and structures shown in the Figures are of conventional design. As a result, such blocks need not be described in further detail herein, because they will be understood by those skilled in the relevant art. Such further detail is omitted for brevity and so as not to obscure the detailed description of the invention. Any modifications necessary to the Figures can be readily made by one skilled in the relevant art based on the detailed description provided herein.
[0015] An upgrade system and associated methods are provided below for controlling intelligent, trouble-free management of automatic software upgrades on host devices like, for example, mobile devices. The upgrade system includes an upgrade controller that resides on a host or client device. The upgrade controller includes a resource planner, a user configuration profile, and a resource monitor for use in managing the file upgrades on the client device. The resource planner estimates resource requirements of the client device for associated upgrade requests. The user configuration profile allows the user to define “rules” for scheduling and controlling the file upgrades and the user interaction during the upgrade process. The resource monitor controls upgrades on the host device using information of the resource planner and user configuration profile.
[0016] In the following description, numerous specific details are introduced to provide a thorough understanding of, and enabling description for, embodiments of the invention. One skilled in the relevant art, however, will recognize that the invention can be practiced without one or more of the specific details, or with other components, systems, etc. In other instances, well-known structures or operations are not shown, or are not described in detail, to avoid obscuring aspects of the invention.
[0017] In controlling file upgrades on the client device, components of the upgrade controller receive a new electronic file, or new file, that is an upgraded version of an original file hosted on the client device. The upgrade controller estimates the resources that will be used by the client device in upgrading the original electronic file using the new electronic file. Furthermore, the upgrade controller reads upgrade process control parameters from a user profile. The upgrade process control parameters include user preference information relating to the upgrade process, and are selected or defined by the user of the client device. The upgrade controller uses information of the estimated resources and the upgrade process control parameters to reliably control the upgrade of the original file on the client device without interrupting normal operation of the client device and without violating the user preferences.
[0018]
[0019] The first
[0020] At such time as a software provider upgrades the original file
[0021] The electronic files
[0022] Components of the first computer system
[0023] The upgrade file
[0024] Components of the first computer system
[0025] Components of the second computer system
[0026]
[0027] With further reference to
[0028] The service provider infrastructure
[0029] The SCD
[0030] The SCD
[0031] The service provider upgrade components
[0032] The software component certification server
[0033] The upgrade manager
[0034] The upgrade server
[0035] As an example of communications among the upgrade server
[0036] In response to receipt of the confirmation from the handset, the upgrade server
[0037] The service providers of an embodiment, in providing software updates to client devices, use control policies to effectively manage the network capacity and control issues associated with the distribution of upgrade files to large numbers of users. These update control policies control the launch and execution of associated file upgrades, and are determined and assigned by the service provider. While many update control policies and combinations of policies are possible, two particular policies include an automatic update control policy and a user-selected update control policy. The automatic update supports the automatic updating of files on the client device without any action from the device user, while the user-selected update launches an update in response to some action by the device user. Any number/combination of or other update control policies may be used as recognized by one skilled in the art.
[0038] While the update control policies help a service provider control delivery of upgrades, components of the upgrade client
[0039]
[0040] The upgrade controller uses information of the estimated resources and the upgrade process control parameters to determine launch parameters of the file upgrade, at block
[0041]
[0042] The resource planner
[0043] Through the couplings to components of the client device, the resource planner
[0044] The user profile
[0045] The upgrade process control parameters of an embodiment define user-specified conditions under which upgrades of client device files are to be launched, conditions that generally include when and how to perform an upgrade. As an example, a user can specify whether or not to let an incoming call or message to the client device interrupt an upgrade in progress. Likewise, a user can specify whether or not to let an outgoing call or message from the client device interrupt an upgrade in progress.
[0046] A user can also specify time periods during which upgrades can occur. As one example, users can specify specific time periods during which upgrades are to be performed. In another example, users can generally specify upgrades to occur during times when the device is idle. As yet another example, users can specify upgrades to occur after the client device has been idle for more than a specified period of time. Various alternative embodiments can use any number of additional timing constraints or combinations of the timing constraints above, as contemplated by one skilled in the art.
[0047] As still another example of upgrade process control parameters, a user can specify via the user profile performance of automatic upgrades in response to a user confirmation message. Timing constraints can be specified for performing the upgrade in response to a user confirmation, for example, specifying performance of the upgrade immediately upon receipt of the user confirmation message or, alternatively, upon expiration of a pre-specified time period. In the absence of a user confirmation message, the user can program the user profile to either not launch the upgrade, or to launch the upgrade upon expiration of a user-specified timeout period. While these examples are provided, the user profile
[0048] The user profile
[0049] The resource monitor
[0050] Aspects of the invention may be implemented as functionality programmed into any of a variety of circuitry, including programmable logic devices (PLDs), such as field programmable gate arrays (FPGAs), programmable array logic (PAL) devices, electrically programmable logic and memory devices and standard cell-based devices, as well as application specific integrated circuits (ASICs). Some other possibilities for implementing aspects of the invention include: microcontrollers with memory (such as electronically erasable programmable read only memory (EEPROM)), embedded microprocessors, firmware, software, etc. Furthermore, aspects of the invention may be embodied in microprocessors having software-based circuit emulation, discrete logic (sequential and combinatorial), custom devices, fuzzy (neural) logic, quantum devices, and hybrids of any of the above device types. Of course the underlying device technologies may be provided in a variety of component types, e.g., metal-oxide semiconductor field-effect transistor (MOSFET) technologies like complementary metal-oxide semiconductor (CMOS), bipolar technologies like emitter-coupled logic (ECL), polymer technologies (e.g., silicon-conjugated polymer and metal-conjugated polymer-metal structures), mixed analog and digital, etc.
[0051] Unless the context clearly requires otherwise, throughout the description and the claims, the words “comprise,” “comprising,” and the like are to be construed in an inclusive sense as opposed to an exclusive or exhaustive sense; that is to say, in a sense of “including, but not limited to.” Words using the singular or plural number also include the plural or singular number respectively. Additionally, the words “herein,” “hereunder,” and words of similar import, when used in this application, shall refer to this application as a whole and not to any particular portions of this application.
[0052] The above description of illustrated embodiments of the invention is not intended to be exhaustive or to limit the invention to the precise form disclosed. While specific embodiments of, and examples for, the invention are described herein for illustrative purposes, various equivalent modifications are possible within the scope of the invention, as those skilled in the relevant art will recognize. The teachings of the invention provided herein can be applied to other processing systems and communication systems, not only for the file updating described above.
[0053] The elements and acts of the various embodiments described above can be combined to provide further embodiments. These and other changes can be made to the invention in light of the above detailed description.
[0054] All of the above references and United States patents and patent applications are incorporated herein by reference. Aspects of the invention can be modified, if necessary, to employ the systems, functions and concepts of the various patents and applications described above to provide yet further embodiments of the invention.
[0055] In general, in the following claims, the terms used should not be construed to limit the invention to the specific embodiments disclosed in the specification and the claims, but should be construed to include all processing systems that operate under the claims to provide a method for file differencing and updating. Accordingly, the invention is not limited by the disclosure, but instead the scope of the invention is to be determined entirely by the claims.
[0056] While certain aspects of the invention are presented below in certain claim forms, the inventors contemplate the various aspects of the invention in any number of claim forms. For example, while only one aspect of the invention is recited as embodied in a computer-readable medium, other aspects may likewise be embodied in a computer-readable medium. Accordingly, the inventors reserve the right to add additional claims after filing the application to pursue such additional claim forms for other aspects of the invention.