# Patent

## Title
Data update authorization

## Abstract

A method is described for controlling customer installations of software or data by providing to the customer an encrypted list of authorized installation targets, whereby the installation program reads and decrypts the list, and only allows installation to proceed if the customer's installation target has a serial number that matches one of the vendor-provided serial numbers in the authorization list. Provision is also made for allowing customers to add serial numbers to the list, within constraints predetermined by the software vendor. Also provided is a method for a customer to perform a predetermined number of installations, whereby the software maintains and decrements a counter in an encrypted file on a storage medium, keeping track of how many remaining installations a customer may perform.

## Background
CROSS REFERENCE
This is a continuation of U.S. Non-Provisional Utility patent application Ser. No. 10/627,489, filed on Jul. 25, 2003, titled “Method For Controlling Customer-Implemented Data Updates”, now U.S. Pat. No. 7,213,268, which is incorporated herein by reference.


FIELD OF INVENTION
The present invention relates generally to methods for customer-based data and software distribution, and more particularly, to customer-installation of data or software in avionics equipment.
BACKGROUND
With today's crowded airspace and demanding timelines, the safe and efficient operation of aircraft presents many challenges. To address those challenges, manufacturers have designed modern aircraft to rely on an increasingly sophisticated collection of embedded electronics assemblies to assist in flight management, aircraft operation, and navigation. However, to ensure accuracy of terrain data and quality of software, many of these embedded electronics assemblies, often referred to as Line Replaceable Units (or LRUs), must undergo periodic maintenance through data upload or software upgrade.
Originally, airline maintenance personnel upgraded flight management computers by using an ARINC standard 603 portable tape upload device, but such tape loaders were clumsy and slow. Manufacturers then progressed to data loading computers that were based on ARINC standard 615 (Data Loader standard), which is in essence a software protocol layered onto an ARINC standard 429 data bus. ARINC 615 data loaders abandoned the tape format of ARINC 603 in favor of a 3.5-inch floppy diskette medium for transferring data and software.
Many airlines today provide data or software updates to their aircraft by connecting an ARINC Standard 615-compliant portable data loader to the LRUs in their aircraft, or by feeding floppy diskettes to an ARINC 615-compliant airborne data loader built into the aircraft. The software or data for these updates has grown increasingly more complex as the systems in aircraft provide more functionality to the cockpit crew and traffic control.
The high cost of creating software is a well-established fact. Likewise, it is well known that the ease of copying software presents a significant risk factor in software vendors' ability to recover their investments in the development of sophisticated software applications and databases. Further complicating the matter, since special-purpose software has a smaller consumer base than general-purpose software, the development costs must be amortized over fewer products. As a result, the price for special purpose software is often much higher per installation than general purpose software such as a personal computer operating system, and in some cases may be more than an order of magnitude more expensive. However, the higher price of the software also increases the likelihood of unauthorized copying or distribution. With the high opportunity cost of losing sales to piracy, software vendors face a difficult challenge in recovering their investment and continuing to remain profitable.
One shortcoming in prior art techniques for aviation software upgrades is the inability to specify a specific piece of flight hardware that the aircraft customer is authorized to upgrade. Another shortcoming in prior art techniques is the inability to limit the customer-performed software or data upgrades to a finite number of installations. Yet another shortcoming in prior art techniques is the ability for the customer to specify a limited number of software installation targets based on a pre-authorized number of installations. What is needed then, is a method for software vendors to prevent piracy of their products while allowing customers the flexibility to continue to perform installations of software or databases in the desired target platforms.
SUMMARY
It is an object of the present invention to improve various problems associated with the prior art.
It is yet another object of the invention to provide a method for allowing customers to install software products only to authorized target platforms.
It is yet another object of the invention to provide a method for allowing customers to add their own serial numbers to an authorization list, constrained by limits imposed by the software vendor
It is yet another object of the invention to allow customers to perform a predetermined number of installations without vendor intervention.
Briefly, the present invention provides a method for controlling customer installations of software or data by providing to the customer an encrypted list of authorized installation targets, whereby the installation program reads and decrypts the list, and only allows installation to proceed if the customer's installation target has a serial number that matches one of the vendor-provided serial numbers in the authorization list. Provision is also made for allowing customers to add serial numbers to the list, within constraints predetermined by the software vendor. Also provided is a method for a customer to perform a predetermined number of installations, whereby the software maintains and decrements a counter in an encrypted file on a storage medium, keeping track of how many remaining installations a customer may perform.
Additional objects and advantages of the invention will be set forth in part in the description that follows, and in part will be obvious from the description, or may be learned by practice of the invention. The objects and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the appended claims. It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention, as claimed. Thus, the present invention comprises a combination of features, steps, and advantages that enable it to overcome various deficiencies of the prior art. The various characteristics described above, as well as other features, will be readily apparent to those skilled in the art upon reading the following detailed description of the preferred embodiments of the invention, and by referring to the accompanying drawings.



BRIEF DESCRIPTION OF THE DRAWINGS
For a more detailed description of a preferred embodiment of the present invention, reference will now be made to the accompanying drawings, which form a part of the specification, and wherein:
FIG. 1 is a characterization of a typical hardware configuration in an aircraft avionics environment that implements the methods of the present invention;
FIG. 2 illustrates one implementation of an authorization list and its relation to a data loader;
FIG. 3 illustrates a flow chart describing a first embodiment of the method of the present invention;
FIG. 4 illustrates an additional aspect of the present invention, whereby a vendor or a customer may add additional authorized serial numbers to an authorization list, based on a predetermined countdown datum established by the software vendor;
FIG. 5 illustrates a flowchart describing another embodiment of the method of the present invention;
FIG. 6 is a continuation of the flowchart illustrated in FIG. 5.



DETAILED DESCRIPTION
Reference will now be made in detail to exemplary embodiments of the invention, examples of which are illustrated in the accompanying drawings. Wherever possible, the same reference numbers will be used throughout the drawings to refer to the same or like parts.
Referring initially to FIG. 1 there is shown a typical system where the present invention may be implemented. Vehicle 100 comprises a collection of electronic and computer assemblies 110, 120, and 130 that are electrically interconnected. Vehicle 100 is shown as an aircraft, but may represent any number of vehicles such as helicopters, spacecraft, watercraft, busses, taxis, or the like. In the illustrative embodiment, user-upgradeable electronics assemblies, or installation targets 110 are implemented in an avionics environment through ARINC-compatible line replaceable units (LRUs); the term “LRU” is used interchangeably herein with the term “installation targets.” Some illustrative examples of LRUs include aircraft condition monitoring systems (ACMS), terrain awareness warning systems (TAWS), digital flight data acquisition units (TFDAU) or traffic alert and collision avoidance systems (TCAS). LRUs 110 electrically connect to other components through a collection of busses 140 such as those described in ARINC Standard 429. In FIG. 1, the busses 140 connect the LRUs 110 to a switch panel 120 that can be used to electrically connect buses 140 to an airborne data loader 130 or through a temporary connection 150 to an ARINC 615-compliant portable data loader 160. Those of skill in the art would recognize that connection 150 could be established in a wireless environment, where wireless transceivers such as those utilized in the 802.11b WiFi standard are connected to switch panel 120 and data loader 160. Alternatively, the electrical connections between airborne the data loader 130 and the switch panel 120 as well as the electrical connection 150 may be implemented through an ARINC 429 bus, or through an Ethernet interface as defined in ARINC specification 615A-1 or 615A-2. By mechanically or electronically selecting a switch position in switch panel 130, data loader 160 may be connected to any one of several LRU's 110 in the vehicle 100. Once a connection is established, software or data may be downloaded from the data loader 160 to an LRU 110 or from an LRU to the data loader 160. In an alternate embodiment, the switch panel 120 is configured to connect the airborne data loader 130 to an LRU 110, whereby software upload or download may be accomplished.
Turning to FIG. 2, the data loader 160 is typically a portable computer-based device. Data loaders as utilized in one embodiment of the present invention are defined in more depth in ARINC specifications 615-3, 615-4, 615-A1, and 615-A2, all incorporated herein by reference. For example, a data loader may be created by configuring a personal computer or laptop with an ARINC standard 429-compatible bus card (such as through an ISA, PCMCIA, or PCI interface in the computer), and installing appropriate software to allow the computer to interact with an LRU through the bus card. Alternatively, pre-configured data loaders may be obtained from manufacturers such as Condor Engineering, or Tech S.A.T. Data loader 160 accommodates removable digital storage media such as 3.5 inch diskettes, CD-ROMs, DVDs, DVD-ROMs, DVD-Rs, DVD-RWs, DVD+RWs, bernoulli-type disks such as ZIP Disks or semiconductor-based memory devices such as Flash-based memory cards, Secure Digital memory cards, SanDisks, Smart Media cards, Memory Sticks, or the like. In one embodiment of the present invention, software or data that is to be uploaded to LRUs 110 is stored on such removable storage media, and an installation program operating in data loader 160 prompts a user to insert removable media until an entire installation or load set has been entered. In one embodiment of the invention, the authorization medium 200 is one of such removable storage media, but as appreciated by those of skill in the art, may comprise other types of removable storage media, or may be downloaded onto the hard drive of data loader 160. The authorization medium 200 comprises an authorization list 210 that in one embodiment, is encrypted in a manner that only software provided by the vendor of a set of installation disks may decrypt. Those of skill in the art appreciate that the encryption algorithms referred to in regards to this specification may be implemented through any one of a number of commonly used algorithms, such as DES, PGP, RSA, Rabin, elliptic curve encryption, El Gamal, or bitwise XOR techniques. The authorization list 210 is stored on the authorization medium 200, and is comprised of either a list of alphanumeric serial numbers 220, a countdown datum 230, or both. In one embodiment, countdown datum 230 is an integer value that is pre-set by the software vendor. In another embodiment, serial numbers 220 are also pre-set by the software vendor. In yet another embodiment, serial numbers 220 may be supplied, in whole or part, by the software customer, in a manner (as described below) that limits the number of authorized serial numbers that can be added to the authorization list.
FIG. 3 illustrates in flow chart form, one of the embodiments of the present invention. To summarize the process illustrated in FIG. 3, an authorization list of serial numbers is transmitted by a data loader to an LRU, and if the LRU recognizes a serial as matching its own serial number or a “master” serial number, then the LRU indicates that software installation or upload is authorized, and then the user may proceed with the installation. More specifically, as shown in FIG. 3, a data loader 160 is electrically or wirelessly connected 300 to an LRU or installation target 110. The flow diagrams depict steps executed in the data loader 160 on the left side of the drawing, and steps executed in the LRU 110 on the right side. In this embodiment, a customer desires to install or download data to an LRU 110 from a set of one or more software installation media, for instance, a set of five 3.5-inch diskettes. The installation media may be comprised of any type of removable storage medium as described in the detailed description regarding FIG. 2 above. The procedure begins with an optional decryption 305 of an authorization list (FIG. 2, 210) stored on an authorization medium (FIG. 2, 200). The decryption key used in optional step 305 is supplied by the software vendor and is encoded within the data loader 160. If decrypted at this point 305, the authorization list 210 is stored as plaintext in a temporary memory in the data loader 160; otherwise, an encrypted version is stored in temporary memory of the data loader 160. Next, in step 310, software protocols in the data loader 160 establish a connection to the LRU 110, which may confirm the connection by sending connection confirmation indicia 315 back to the data loader 160. In response, the data loader 160 transmits 320 the authorization list to the LRU 110. The transmitted authorization list 210 may be in encrypted or plaintext form. Once received at the LRU 110, the authorization list 210 is optionally decrypted 325 with a decryption key encoded by the software vendor into the installation software in the LRU 110. The LRU 110 then compares 330 with a serial number stored within the LRU 11O to the serial numbers present in the decrypted or plaintext authorization list. Those skilled in the art appreciate that serial numbers stored in an LRU 110 could be stored by being burned into hardware in the LRU (such as with a programmable read only memory) or could be previously stored within the software of the LRU 110. If a match is found 335, indicia are sent by the LRU 110 to the data loader 160, instructing the data loader to prompt the user to begin the software or data installation/upload process 340. Otherwise 345, the software in the LRU 110 may optionally attempt to determine whether a master serial number, which is encoded into memory of the LRU 110, matches a number in the decrypted or plaintext authorization list. If a match is found between the master serial number and a serial number in the decrypted/plaintext authorization list, indicia are sent by the LRU 110 to the data loader 160, instructing the data loader to prompt the user to begin the installation process 340. If a match is not found between the plaintext authorization list and either a serial number of the LRU or a master serial number, indicia of authorization failure are transmitted 350 to the data loader 160, and the data loader then indicates an authorization failure, and terminates the installation or upload procedure 355.
In one embodiment of the present invention, the authorization list (FIG. 2, 210) is comprised of serial numbers that the software vendor encodes before providing the authorization medium to the customer. However, in an alternate embodiment, illustrated in flowchart form in FIG. 4, customers may add a limited number of serial numbers to the authorization list. The customer-updated authorization medium can then be used to install software or data in an LRU that corresponds either to a previously authorized LRU, or to a newly-specified LRU whose serial number was added by the customer to the authorization list. The software vendor still maintains control of the number of installations in this scenario, since the vendor encodes a countdown number (or datum) into the authorization list, specifying the number of remaining serial numbers that a customer is entitled to add, and upon each entry of a serial number, the countdown datum is decremented, and then re-encoded into the list on the medium. The computer used to execute this embodiment may be a data loader (FIG. 2, 160) or a general-purpose personal computer or laptop computer configured with software designed to execute the present invention.
More specifically, in FIG. 4, a computer-based method begins by reading and decrypting 400 an authorization list (FIG. 2, 210) from an authorization medium (FIG. 2, 200). As described above, the encryption and decryption keys for the authorization list are encoded into the program that is executing the present embodiment. The resulting decrypted plaintext authorization list is comprised of a countdown datum (FIG. 2, 230) and an optional number of serial numbers (FIG. 2, 220) that had previously been added to the authorization list 210. Such serial numbers could have been pre-encoded by the software vendor, or added by the customer on a previous occasion. Next, the countdown datum 230 is read 410 from the plaintext authorization list, stored in temporary memory, and checked to see if its value is greater than zero 420. If not, indication is provided to the person executing the process that no more serial numbers may be added, and the process is terminated 430. Otherwise, the method proceeds by prompting the user, receiving a serial number 440, and then adding 450 the received serial number to the plaintext authorization list. The countdown datum stored in temporary memory is decremented 460 by the value one, reflecting the fact that one of the available serial numbers has been used. If the decremented countdown datum is still greater than zero, the user is prompted whether more serial numbers are desired to be entered into the list 470. If so, the method proceeds with step 440 to receive another serial number, otherwise, the plaintext authorization list stored in memory is encrypted into an updated second authorization list, and then the updated second authorization list is used to overwrite 480 the previous authorization list 210 stored on the authorization medium 200. After step 480, the updated authorization list is ready to be used with other embodiments of the present invention to authorize a user to install software in a targeted device.
Turning to FIG. 1 and FIG. 2 for a moment, in an alternate embodiment of the present invention, a customer utilizes a data loader to install software or upload data to an LRU, and once all the software media have been entered as directed by the prompting installation software in the LRU and data loader, the customer is then prompted to insert an authorization medium 200. A countdown value or datum that was previously encoded by the software vendor is read from the authorization medium, and if it is less than or equal to zero, the load is aborted, and the customer is informed that the software installation was not authorized. Otherwise, the data load is validated, the countdown datum decremented, and then the updated countdown datum is stored on the authorization medium. In this manner, a customer may perform a fixed number of installations/uploads, regardless of serial numbers. To explain this embodiment in more detail, a flowchart illustrates the present method in FIG. 5 continuing to FIG. 6; and similarly to the structure of FIG. 3, functional blocks shown in the left side of the diagram are executed by the data loader 160, and those functions shown on the right by the LRU 110.
In FIG. 5, an embodiment of the present invention begins with the establishment 500 of a connection 300 between a data loader 160 and an LRU or installation target 110. The connection 300 may be accomplished by a direct electrical connection, such as by an ARINC 429 bus protocol, or through a wireless standard such as 802.11b WiFi. The LRU 110, in response to the connection request, may optionally provide indicia confirming connection 505 to the data loader 160. The data loader 160 then prompts the customer to insert a software installation medium, such as a 3.5 inch diskette, into the data loader, whereupon the medium is read 510 by the data loader and stored in temporary memory, such as RAM memory, in the data loader 160. Those of skill in the art also recognize that the installation medium may be comprised of many different types, including those discussed above in regards to FIG. 2. Alternatively, the installation medium may be a hard drive in the data loader 160, and if this is the case, the installation software does not prompt a user to enter an installation medium, but instead prompts the user whether installation should begin from the desired source data. The data loader 160 then transmits 515 the installation data read from the installation medium and stored in temporary memory to the LRU 110, where it is stored for further processing 520. The installation program running on the data loader 160 and/or LRU 110 determines whether another installation medium in an installation set is required 525. If so, the customer is prompted to enter a new installation medium in the correct sequence, and the process continues with step 510 to read the next installation medium. Otherwise, the software installation or upload is completed and the customer is then prompted to insert an authorization medium 200, whereupon it is read 530 by the data loader 160 and decrypted into temporary memory. As with other embodiments of the present invention, the decryption and encryption keys necessary to access the authorization medium are encoded in the program stored in the data loader 160. The data loader 160 then determines whether a countdown datum that was decrypted from the authorization medium is greater than zero 535. Continuing now to FIG. 6, if the countdown datum value was greater than zero, indicia is transmitted 540 by the data loader 160 to the LRU 110 indicating that the software load should be validated in the LRU 110. In response, the LRU 110 validates the data load 545. The data loader 160 then decrements 550 the countdown value by one, encrypts the countdown value 560 with an encryption key previously encoded into the software by the software vendor, and overwrites the previous countdown datum stored on the authorization medium 200, and then exits the software installation process. If the countdown value had not been greater than zero in step 535, then the data loader 160 transmits indicia 575 to the LRU 110, notifying the LRU that authentication was not successful. The LRU 110 then invalidates the data load 580. Optionally, upon receiving the indicia that authorization was unsuccessful, the LRU 110 may revert to a state created by a previous software installation 585.
While preferred embodiments of this invention have been shown and described, modifications thereof can be made by one skilled in the art without departing from the spirit or teaching of this invention. The embodiments described herein are exemplary only and are not limiting. Many variations and modifications of the system and apparatus are possible and are within the scope of the invention. One of ordinary skill in the art will recognize that the process just described may easily have steps added, taken away, or modified without departing from the principles of the present invention. Accordingly, the scope of protection is not limited to the embodiments described herein, but is only limited by the claims that follow, the scope of which shall include all equivalents of the subject matter of the claims.

## Claims

1. A data update authorization method comprising:
matching a first authorization code stored within an upgradeable system with a second authorization code stored within a data loader;
after finding the match, transmitting indicia from the upgradeable system to the data loader indicative that the data stored within the data loader is authorized for installation in the upgradeable system;
decrypting a countdown datum stored within the data loader; and
disabling the transmitting when the value of the decrypted countdown datum is zero.

2. The method as defined in claim 1, further comprising if the match was not found:
determining whether a master serial number stored within the upgradeable system matches a serial number stored within the data loader; and
if the determining finds the match, transmitting indicia from the upgradeable system to the data loader indicative that the data stored within the data loader is authorized for installation in the upgradeable system.

3. The method as defined in claim 1, wherein if the match was not found:
determining whether a master serial number stored within the upgradeable system matches a serial number stored within the data loader; and
if the determining finds the match:
decrypting a countdown datum stored within the data loader; and
when the value of the decrypted countdown datum is greater than zero transmitting indicia from the upgradeable system to the data loader indicative that the data stored within the data loader.

4. The method as defined in claim 3, when the value of the decrypted countdown datum is greater than zero, further comprising transmitting data stored within the data loader for installation in the upgradeable system from the data loader to the upgradeable system.

5. The method as defined in claim 3, further comprising:
transmitting the data for installation in the upgradeable system data from the data loader to the upgradeable system;
installing the data for installation within the upgradeable system;
decrementing the countdown datum to form an updated countdown datum;
encrypting the updated countdown datum; and
overwriting the countdown datum stored within the data loader with the encrypted updated countdown datum.

6. The method as defined in claim 1, wherein the transmitting further comprises transmitting data stored within the data loader for installation in the upgradeable system from the data loader to the upgradeable system.

7. The method as defined in claim 1, further comprising, prior to the match:
storing the second authorization code within the data loader; and
establishing a connection between the data loader and the upgradeable system.

8. The method as defined in claim 7, wherein the storing of the second authorization code within the data loader further comprises reading an authorization medium with the data loader, wherein:
the authorization medium comprises an authorization list; and
the authorization list comprises the second authorization code.

9. The method as defined in claim 8, further comprising transmitting the authorization list to the upgradeable system.

10. The method as defined in claim 1, wherein:
the method further comprises prior to the matching:
transmitting the second authorization code from the data loader to the upgradeable system; and
decrypting, at the upgradeable system, the second authorization code; and

the matching is performed by the upgradeable system by matching the first authorization code stored within the upgradeable system with the decrypted second authorization code.

11. The method as defined in claim 8, wherein:
the authorization list comprises a plurality of data elements; and
the matching further comprises matching at least one data element with the first authorization code stored within the upgradeable system.

12. A digital storage medium having computer-executable instructions stored thereon, wherein said computer-executable instructions are operable to execute the method as defined in claim 1.

13. The method as defined in claim 7, wherein the established connection is selected from the group consisting of:
an electrical connection of the upgradeable system to the data loader through an ARINC standard data bus; and
a wireless connection to the upgradeable system to the data loader through a wireless interface.

14. The method as defined in claim 1, wherein the data loader is configured to comply with a standard selected from the group consisting of ARINC 615, ARINC 615-3, ARINC 615-4, ARINC 615-A1 and ARINC 615-A2.

15. The method as defined in claim 4, wherein:
the storing of the second authorization code within the data loader further comprises reading an authorization medium with the data loader, wherein:
the authorization medium comprises an authorization list; and
the authorization list comprises the second authorization code and the countdown datum.

16. A data update authorization method comprising:
establishing an electrical communication between upgradeable system having a first authorization code and a data loader having:
a plurality of second authorization codes:
an encrypted countdown datum; and
data for installation in the upgradeable system;

decrypting the countdown datum; and
if the value of the decrypted countdown datum is greater than zero and there is a match between a first authorization code and at least one said second authorization code, transmitting indicia from the upgradeable system to the data loader indicative that the data for installation in the upgradeable system data is authorized for said installation.

17. The method as defined in claim 16, further comprising, if the value of the decrypted countdown datum is greater than zero and there is a match between a first authorization code and at least one said second authorization code:
transmitting the data for installation in the upgradeable system data from the data loader to the upgradeable system;
installing the data for installation within the upgradeable system;
decrementing the countdown datum to form an updated countdown datum;
encrypting the updated countdown datum; and
overwriting the countdown datum stored within the data loader with the encrypted updated countdown datum.

18. The method as defined in claim 17, further comprising, prior to establishing the electrical communication:
reading an authorization medium with the data loader, wherein the authorization mediums contains:
the plurality of second authorization codes;
the encrypted countdown datum; and
the data for installation in the upgradeable system; and

wherein the overwriting further comprises overwriting the countdown datum stored in the authorization medium with the encrypted updated countdown datum.

19. A data upgrade authorization system comprising:
means for establishing an electrical communication between upgradeable system having a first authorization code and a data loader having:
a plurality of second authorization codes;
the encrypted countdown datum; and
data for installation in the upgradeable system;
means for decrypting the countdown datum; and
means, if the value of the decrypted countdown datum is greater than zero and there is a match between a first authorization code and at least one said second authorization code, for:
transmitting indicia from the upgradeable system to the data loader indicative that the data for installation in the upgradeable system data is authorized for said installation;
transmitting the data for installation in the upgradeable system data from the data loader to the upgradeable system;
installing the data for installation within the upgradeable system;
decrementing the countdown datum to form an updated countdown datum;
encrypting the updated countdown datum; and
overwriting the countdown datum stored in the data loader with the encrypted updated countdown datum.

20. The data upgrade authorization system as defined in claim 19, wherein:
the data loader comprises means for reading an authorization medium containing:
the plurality of second authorization codes;
the encrypted countdown datum; and
the data for installation in the upgradeable system; and

the means for overwriting further comprises means for overwriting the countdown datum stored in the authorization medium with the encrypted updated countdown datum.