Method and system for securely incorporating electronic information into an online purchasing application6073124Abstract A method and system for facilitating digital commerce using a secure digital commerce system is provided. The secure digital commerce system is arranged according to a client/server architecture and includes a modularized DCS client and DCS server. The DCS client and the DCS server are incorporated into an online purchasing system, such as a virtual store, to perform the purchase and online delivery of electronic content. The DCS client includes a set of components which include a secured copy of the merchandise and various components needed to license and purchase the merchandise and to unsecure and process (e.g., execute) the licensed merchandise. The DCS client communicates with the DCS server to download the components onto a customer's computer system and to license and purchase a requested item of merchandise. The DCS server, which includes a content supplier server, a licensing and purchasing broker, and a payment processing function, supplies merchandise-specific components and licenses the requested item of merchandise by generating an electronic certificate. The electronic certificate contains license parameters that are specific to the requested merchandise and an indicated purchasing option. Once a valid electronic license certificate for the requested merchandise is received by the DCS client, the merchandise is made available to the customer for use in accordance with the licensing parameters contained in the electronic license certificate. Claims What is claimed is: Description TECHNICAL FIELD
TABLE 1
______________________________________
Field Name: Type:
______________________________________
CommerceServer String
ProductSkuId String
ProductUUID String
UILibName String
EntryPoint Integer
ImageBase Integer
Ekey String
Ecode BinaryObject
DataSize Integer
NumberRelocations Integer
Relocations String
ContactCompany String
ContactAddress String
ContactSupportPhone String
ContactSupportFax String
ContactSupportEmail String
ContactOrderPhone String
ContactOrderFax String
ContactOrderEmail String
ProductName String
LicenseFilename String
LicenseAdminDir String
DeveloperId String
SecretKey BinaryObject
ActiveAssistants Integer
FeatureName String
FeatureNumber Integer
HostIdTypeList String
IntegrationType Integer
______________________________________
Table 1 is an example list of fields that may be included in an encrypted DCS security information file. For each encrypted content file (or set of files), the supplier provides fields that are used by a virtual store to download, license, and purchase the associated electronic content. The data in the encrypted DCS security information file is encrypted separately from the content file to enable multiple items of merchandise to share purchasing, licensing, and decryption information. This capability is especially useful when the items are provided by the same content supplier server. Thus, a single encrypted DCS security information file may be associated with more than one encrypted content file. In addition, each field in the DCS security information file is encrypted separately. By separately encrypting each field, purchasing or licensing information can be changed without having to re-encrypt the content file or the rest of the DCS security information file. Specifically, in Table 1 the CommerceServer field indicates the location of the licensing and purchasing broker (e.g., the network address of licensing and purchasing broker 307 in FIG. 3) to be used to license and purchase the merchandise. (In embodiments of the secure digital commerce system, one or more content suppliers, licensing and purchasing brokers, or payment processing functions, may be utilized.) The ProductSKUId field is a specific identifier associated with a version (each executable) of a product for a specific reseller (virtual store). For the purposes of example, exemplary embodiments assume that a product may have multiple versions and that each version may be packaged differently depending upon the purchasing option (for example, trial use versus full purchase). In addition, more than one reseller may offer a version of a product. The ProductSKUId field is used to identify a password configuration table to be used to generate an electronic license certificate and is discussed further below. The ProductUUID field is a specific identifier associated with each version of a product regardless of the reseller. By using an identifier that is specific to the product version and not to the reseller, the digital commerce system can ensure that a customer who licenses a version of a product for (one time) trial use may not utilize multiple resellers to obtain more than one ELC for the same version. In addition, this identifier is used by the licensing code to locate the associated DCS security information file and is associated with various licensing-specific information. For example, clock data can be stored in a system registry indexed by ProductUUID to ensure that "time-bomb" protected content is not defeated by resetting the clock to illegitimately process the content. The UILibName indicates the location of a user interface library to be used for purchasing the merchandise. The EntryPoint, ImageBase, EKey, ECode, DataSize, NumberRelocations, and Relocations fields are used to support the decryption of the encrypted content file(s) and to determine the relocation information when the content file is secured using the technology of related U.S. patent application Ser. No. 08/792,719. If an alternative licensing and encryption scheme is used, then these fields would be modified accordingly. The ContactCompany, ContactAddress, ContactSupportPhone, ContactSupportFax, ContactSupportEmail, ContactOrderPhone, ContactOrderFax, and ContactOrderEmail fields reflect supplier dependent information that can be displayed in dialogs presented by the virtual store depending on the user interface being employed. The DeveloperID and SecretKey fields are used to create a symmetric key to decode the electronic license certificate generated by the licensing and purchasing broker. The other fields are used for other similar licensing and purchasing functions.
TABLE 2
__________________________________________________________________________
<Execute
TRIGGER = "<ProgramFilesDir>.backslash.winzip.backslash.winzip32.exe"
URI = "http://devserver/products/winzip32/winzipsetup.exe"
MSGDIG = "NDLsrKcS36YbugITP4yUjv8PSfk="
ProductUUID
= "WINZIP-demo-0000"
NAME = "WinZip 6.2"
DESCRIPTION
= "WinZip 6.2"
LOCAL = "<ProgramFilesDir>.backslash.winzip.backslash.setup.exe">
__________________________________________________________________________
Table 2 is an example of the contents of a single entry in a component list file. In an exemplary embodiment, each icon in the virtual store that corresponds to an item that can be purchased and distributed online is associated with a component list file (an .ssc file). Within each component list file there is an entry similar to that shown in Table 2 for each component that is to be downloaded when the associated item is requested. For example, if there is an item-specific encrypted DCS security information file and an item-specific user interface library that are to be downloaded to purchase the requested item, then there are entries for each such component. Each entry contains a tag that specifies how to process the component when it is downloaded and sufficient information to download a component if the file indicated by the TRIGGER field is not already present on the customer computer system. Specifically, the tag (in this example "Execute") specifies what to do with the component referred to by the LOCAL field once it is downloaded. An "Execute" tag specifies that the component referred to by the LOCAL field (e.g., "setup.exe") will always be executed. A "Component" tag specifies that the component referred to by the LOCAL field is to be downloaded with no further processing. An "ExecuteOnce" tag specifies that the component referred to by the LOCAL field is to be executed only if the file referred to by the TRIGGER field does not already exist. The TRIGGER field of each entry indicates the location of a file that is present when the component does not need to be downloaded. Thus, the TRIGGER field is used to determine whether to download a component. The URI field indicates the location of a content supplier server that can provide the component. In addition, the MSGDIG field contains a message digest, which is used to determine whether the component has been successfully loaded. Use of the message digest is described in further detail below with respect to FIG. 8. The ProductUUID, NAME, and DESCRIPTION fields indicate identifying information used by the licensing code. When present, these fields are typically stored in a system registry and used by the licensing code to determine which DCS security information file to use for a particular content file. In addition, the NAME field may be displayed by the boot program executable to give user feedback regarding the component currently being downloaded. The LOCAL field indicates a target location for the downloaded component on the customer computer system. FIGS. 7-13 describe in further detail the steps performed by the secure digital commerce system to perform the licensing and purchasing process presented in FIG. 4. One skilled in the art will recognize that these steps can be performed in other orders and by different components than those presented herein. As a preliminary matter, the customer first navigates to a virtual store WEB page in order to request an item for purchase. FIG. 7 is an example WEB page of a virtual store used to purchase electronic data, which is executing on a customer computer system. (Display of this WEB page corresponds to step 401 in FIG. 4.) WEB page 701 contains an icon 702, which, when selected, causes the "WinZip 6.2" product to be licensed and optionally purchased. Text area 703 contains descriptive text to aid a customer in making a decision to license or buy the WinZip 6.2 product. Pushbuttons 704 enable the user to explore other merchandise available for license and purchasing. When the customer requests an item of merchandise to be licensed or purchased (for example, when the user selects icon 702 in FIG. 7), then the virtual store downloads and potentially initiates the execution of a boot program associated with the requested merchandise (see step 403 in FIG. 4). Specifically, each merchandise icon is linked (anchored) to a merchandise-specific download file, which is a file stored on (or generated by) the virtual store. In one embodiment, the download file is a self-extracting file that contains: extraction code, a header that indicates the size of the boot program which follows, the boot program (preferably compressed), and the appropriate component list file. The download file can be generated statically using the SAFEmaker utility described above or can be generated dynamically by the virtual store when it downloads a WEB page that includes the icon that is anchored to the download file. When the customer selects a merchandise icon, the customer is queried whether to download and store or download and execute the anchor file (indicated by the link). When the user indicates that the download file is to be executed, the extraction code of the download file is executed, which causes the component list (the ".ssc" file) to be extracted and the boot program executable to be (potentially decompressed,) extracted and executed. One skilled in the art will recognize that any mechanism for associating an icon with a boot program and for causing the boot program to be downloaded and executed is operable with the secure digital commerce system. FIG. 8 is an example flow diagram of the steps performed by a boot program executed on a customer computer system to download client components when licensing a selected item of merchandise. (These steps correspond to steps 404-405 in FIG. 4.) The boot program is implemented such that it downloads only the components that are necessary to license (and optionally purchase) the selected item. For example, if the user interface library to be used to purchase the selected item is the same library as one already downloaded, then it is not downloaded again. In addition, the boot program can recover from a failure during the load process and can resume downloading where it left off. The boot program accomplishes these objectives by using a message digest algorithm to determine whether a component has been successfully downloaded onto a customer computer system. Specifically, in step 801, the boot program reads the component list (the ".ssc" file) associated with the selected item of merchandise to determine what components to download from a specified content supplier server. In steps 802-808, the boot program executes a loop to process each remaining component in the component list that has not already been successfully downloaded. Specifically, in step 802, the boot program selects the next component from the component list that appears following the last successfully read component. In step 803, the boot program determines whether all of the remaining components of the list have been processed, and if so, returns, else continues in step 804. In step 804, the boot program determines whether the file indicated by the TRIGGER field is already present. If not, the boot program obtains the component indicated by the URI value from the content supplier server and stores the obtained component as indicated by the LOCAL value (see Table 2). In step 805, the boot program calculates a message digest (the value of a one-way hash function) for the downloaded component. In step 806, the determined message digest for the newly downloaded component is compared with a previously stored message digest in the component list (see the MSGDIG value in Table 2). In an exemplary embodiment, an MD5 algorithm is used to calculate a message digest. However, one skilled in the art will recognize that any message digest algorithm or any function capable of determining a predictable value for the downloaded component for comparison to an already stored value may be used. The MD4 and MD5 algorithms are described in Bruce Schneier, Applied Cryptography, John Wiley & Sons, Inc., 1994, which is hereby incorporated by reference. In step 807, if the calculated message digest is identical to the stored message digest, then the boot program continues in step 808, else continues back to the beginning of the loop in step 802, because a failure has occurred in downloading the component. In step 808, the boot program sets an indicator of the last successfully read component to indicate the component most recently loaded. In step 809, the boot program processes the component according to the tag (e.g., "Execute"), and continues back to step 802 to select the next component to download. Note that the tag associated with each component entry will automatically cause the secured content file (or the content player, depending on the situation) to begin executing. One skilled in the art will recognize that different behaviors will occur when the content file (or content player) begins executing depending upon the technique used to incorporate the licensing code and decryption (security) code and depending upon the encryption/decryption technique used. For example, as described in further detail in related U.S. patent application Ser. No. 08/792,719, when using the injection techniques described therein, the execution of the encrypted content file will automatically cause the licensing code and (eventually) the security code to be executed as a result of injecting a licensing DLL into the content file. Specifically, a "DLLMain" routine is automatically invoked when the licensing code library is loaded, which in turn executes the actual licensing code. After the licensing code executes, the security code stored in the encrypted content automatically executes because it is inserted into the content file immediately following (a reference to) the licensing code. Thus, the licensing code and the decryption code are automatically executed before any supplier-specific content is executed. The security code in an exemplary embodiment decrypts the encrypted content incrementally in order to prevent a fully decrypted version of the content to be present in its entirety at any one time. A similar procedure is used when the content player invokes the licensing and security code with an exception that the licensing and security code is explicitly invoked and knows how to locate the content file and to decrypt it incrementally. FIG. 9 is an example flow diagram of licensing code that has been incorporated into an encrypted content file. Similar code is incorporated in a content player by calling appropriate routines. The licensing code will be discussed for purposes of example relative to an encrypted content file. In one exemplary embodiment, the licensing code is provided in a dynamic link library, such as SAFE.dll 511 in FIG. 5. (The steps of FIG. 9 correspond to steps 406-408 and 412 in FIG. 4.) Each time the encrypted content file is executed by the customer computer system, the licensing code is preferably automatically executed. The licensing code is responsible for determining whether a valid electronic license certificate is available and, if so, allowing execution of the content, otherwise forcing the customer to license the item from the supplier. Specifically, in step 901, the licensing code determines whether a valid electronic license certificate ("ELC") is available. The steps used to make this determination are discussed further below with reference to FIG. 11. If a valid ELC is available, then the licensing code continues in step 909 and skips the licensing and purchasing process, else continues in step 902. In step 902, the licensing code loads the user interface library associated with the component and obtains a purchase option from the customer, such as "rent-to-buy," "buy," or "try." The purchase options assist in determining the parameters of a valid license. An example interface for obtaining this information is described below with reference to FIG. 10. The licensing code obtains the user interface library name by retrieving the UILibName field from the DCS security information file associated with the product. The associated DCS security information file can be determined from the ProductUUID, which was previously stored in the system registry by the boot program during the component download process. In step 903, the licensing code determines whether the customer has indicated that a trial purchasing option is requested and, if so, continues in step 904, else continues in step 905. In step 904, the licensing code sends an HTTP request message to the licensing and purchasing broker (e.g., the licensing and purchasing broker 307 in FIG. 3) to provide an appropriate license for trial use of the product, and continues in step 908. In step 905, the licensing code determines whether the customer has indicated a purchasing option to purchase the content and, if so, continues in step 906, else continues in step 907. In step 906, the licensing code sends an HTTP request message to the licensing and purchasing broker to purchase the content, and continues in step 908. In step 907, the licensing code determines whether any other type of licensing or purchasing request has been indicated by the customer and sends an appropriate HTTP request message to the licensing and purchasing broker. For example, other requests associated with rental use or other types of purchasing options may be supported. The processing of these HTTP request messages by the licensing and purchasing broker is discussed further below with respect to FIG. 12. In step 908, the licensing code receives a valid ELC from the licensing and purchasing broker, stores it, and continues in step 909. The ELC may be stored in any area that is accessible to processes executing on the customer computer system, such as in a system registry. In step 909, the licensing code causes the decryption and execution of the licensed content, and returns. In an exemplary embodiment, the licensing code uses an intermediary library function (stored in, for example, the SAFEBuy.dll 509 in FIG. 5) to send the purchasing request of step 906 to the licensing and purchasing broker. A separate library is useful in scenarios where other types of programs (other than virtual stores) desire to utilize the purchasing capabilities of the licensing and purchasing broker. The library function provides a unique transaction identifier that can be used to identify the particular purchase transaction at a further time. Such capability is useful, for example, to later cancel the purchase. One skilled in the art will recognize that other organizations of the licensing and purchasing support code are also possible. FIG. 10 is an example display screen presented by a virtual store to determine whether a customer desires to license a product for trial use or for purchase. This display screen 1001 may be used to implement step 902 in FIG. 9. When the customer selects the "Try" pushbutton 1002 in FIG. 10, then the customer has indicated that trial use of the product is desired. Alternatively, when the customer selects the "Buy" pushbutton 1003 in FIG. 10, then the customer has indicated the desire to purchase the product. FIG. 11 is an example flow diagram of the steps performed by licensing code to determine whether a valid electronic licensing certificate is available. In step 1101, the code retrieves, decrypts, and decodes the electronic licensing certificate (ELC) to obtain the parameters of the license (e.g., the license terms). The license parameters that are obtained in step 1101 indicate, for example, how many uses of a particular license can be executed or, for example, how many different user passwords are able to use the same electronic license. In addition, license parameters that reflect an authorized time period for use may be specified. In step 1102, the code tests various attributes of the customer computer system to determine whether the conditions indicated by the retrieved license parameters have been met. In step 1103, if all of the conditions have been met (for example, the license use period has not expired), then the code returns indicating that a valid license is in effect. Otherwise, the code returns indicating that the current license is invalid. In an exemplary embodiment, the ELC is encrypted and decrypted using a symmetric key algorithm. A symmetric algorithm implies that the same key is used to encrypt a plaintext message and to decrypt a ciphertext message. Any symmetric key algorithm could be used. Symmetric and public key cryptography, both of which are utilized by exemplary embodiments of the present invention, are described in detail in Bruce Schneier, Applied Cryptography, John Wiley & Sons, Inc., 1994, which is herein incorporated by reference. According to one technique, the DeveloperID and SecretKey fields (stored in the encrypted information file) are used to formulate a symmetric key, which is client and product specific. These fields are provided by the supplier when the SAFEmaker utility is executed to produce the components of the DCS client (see FIG. 6). Because the encryption of the ELC is provided by the licensing and purchasing broker and the corresponding decryption of the ELC is provided by the licensing code, the encryption and decryption code are preferably synchronized to correspond to one another. For this reason, a separate dynamic link library (e.g., passgen.dll) is used by the licensing and purchasing broker to allow the encryption algorithm to be replaced at any time to correspond to different licensing code. FIG. 12 is an example flow diagram of the steps performed by a licensing and purchasing broker of the secure digital commerce system. These steps are executed in response to receiving an HTTP request message sent by the licensing code in step 904 or 906 in FIG. 9. As described earlier, the licensing and purchasing broker interacts with a password generation system (e.g., passgen.dll and the data repository) and payment processing functions to license and purchase an indicated item of merchandise. In summary, when the licensing and purchasing broker receives a request to buy an item, it performs appropriate payment processing to perform a purchase. When the licensing and purchasing broker receives either a request to try or a request to buy the item, the broker uses the password generation system to generate an ELC to return to the licensing code. Specifically, in step 1201, the broker determines whether a buy request has been received and, if so, continues in step 1202, else continues in step 1206. In step 1202, the broker causes the licensing code (specifically, the user interface library routines) executing on the customer computer system to obtain credit card or purchase order information if such information was not already sent with the request. A sample user interface for obtaining method of payment information and for verifying the purchase transaction are described below with reference to FIGS. 14-17. Once the credit card or purchase order information has been obtained by the licensing and purchasing broker, then in step 1203 the broker obtains payment authorization from a payment processor such as the payment processing function 309 in FIG. 3 and informs the licensing code accordingly. One skilled in the art will recognize that any mechanism for is authorizing use of a credit card could be used. In step 1204, the customer's credit card account is charged, and the supplier system is automatically credited. One skilled in the art will recognize that the licensing and purchasing broker can either credit the supplier directly at this time by sending the appropriate information to the credit card company, or can have the credit card company pay the licensing and purchasing broker, which in turn is responsible for payment to the supplier. In step 1205, the broker informs the licensing code of payment authorization and continues in step 1207. An example user interface for reporting the transaction identification information to the customer is described below with reference to FIG. 18. If payment has not been authorized, then the broker returns such information to the licensing code, discontinues execution of the steps in FIG. 12, and fails to generate a valid ELC. In step 1206, the broker determines whether it has received an HTTP request message that indicates trial use is desired and, if so, continues in step 1207, else continues in step 1209. In step 1207, in order for the broker to generate an ELC specific to the user and to the indicated product, certain information is typically sent by the licensing code in the HTTP request message. Specifically, information that uniquely identifies the user and the product version is provided. The broker uses the received product version identifier (the ProductSKUld) to retrieve from a version table a corresponding password configuration identifier (pass-config-id). Once the pass-config-id is retrieved from the version password generation data repository table, this identifier is used as an index into a password configuration table to determine a set of fields to be used to generate the license parameters of the ELC. (One will recall that the fields stored in the password generation tables were specified by the supplier of the content in conjunction with the SAFEmaker utility.) An example password configuration table is shown below as Table 3. A table with potentially different fields exists for each unique pass-config-id. Because multiple versions of products and multiple products may use the same pass-config-id, they may share a single password configuration table. This attribute may be useful, for example, if all the products from a particular supplier have similar electronic licensing capabilities. In step 1208, an ELC is generated based upon the fields of the determined password configuration table using a symmetric key formulated from the SecretKey and DeveloperID fields of the encrypted information file and an appropriate encryption algorithm, as discussed earlier. For the purposes of this specification, the ELC may be viewed as a very long number which encrypts the license parameters indicated by the fields in the password configuration table. In an exemplary embodiment, the code used to perform steps 1207-1208 is provided in a separate code module (e.g., passgen.dll) so that the password generation code, including the encryption and decryption algorithms, can be easily replaced in a licensing and purchasing broker. In step 1209, the broker processes any other type of purchasing option, for example, a renting option, and generates an appropriate ELC in a similar fashion to steps 1207-1209. In step 1210, the broker sends the generated ELC back to the licensing code executing on the customer computer system, and then returns. Once the licensing and purchasing broker has completed its generation and return of a valid electronic license certificate, the requested merchandise is then processed as described in step 412 of FIG. 4. FIG. 13 is an example display screen of the WinZip 6.2 program, which was selected for purchase in FIG. 7, when it executes after completing the licensing procedures. FIGS. 14-17 provide sample user interface display screens that are displayed by the licensing code (via the user interface library) to retrieve method of payment information. These display screens may be presented in response to requests from the licensing and purchasing broker for more information. The particular display screens presented are determined by the user interface library that is associated with the downloaded content file or by a default user interface available for the virtual store (see e.g., SAFEUI.dll 508 in FIG. 5). As mentioned, the appropriate user interface library is determined by the licensing code from the UILibName field of the DCS security information file. FIG. 14 is an example display screen for selecting a particular credit card. FIG. 15 is an example display screen for entering a password for a selected credit card. The credit card data is sent to the licensing and purchasing broker in encrypted form. In an exemplary embodiment, the credit card information is stored on the customer computer system using a secure technique. One such technique is known as "wallet technology." Wallet technology is an ActiveX control supplied by Microsoft Corp., which encrypts credit card information on a client's hard disk and keeps track of all credit cards. FIG. 16 is an example display screen for adding a new credit card. FIG. 17 is an example display screen for allowing a customer to verify an intent to purchase after supplying a method of payment. The display screen includes pricing information, which is supplied to the licensing code by the licensing and purchasing broker using the password generation data repository. Once the user has selected the Buy pushbutton 1702 in FIG. 17 indicating agreement to purchase the merchandise at the displayed price, the credit card (or purchase order) information is forwarded to the licensing and purchasing broker. FIG. 18 is an example display screen for indicating that a purchasing transaction has been authorized by the licensing and purchasing broker and the particular transaction identifier. Communications between the DCS client components and the licensing and purchasing broker are preferably performed using a secure communication methodology. FIG. 19 is an example block diagram that illustrates one technique for ensuring secure communication between a DCS client component and a licensing and purchasing broker. Although FIG. 3 may imply that the downloaded components communicate with the licensing and purchasing broker to request licensing and purchasing and to receive the generated ELC, one skilled in the art will recognize that it is also possible for these components to communicate via a server associated with the virtual store. In FIG. 19, communication between the client components (clients) 1901 and 1902 and the licensing and purchasing broker 1903 depends upon secure key exchange. Secure key exchange is accomplished by sending a client-specific symmetric key using a public/private key algorithm. The client-specific symmetric key is used solely for communication between that client and the licensing and purchasing broker. Specifically, a separate communication session-specific symmetric key is provided by each client for each communication session and is sent to the licensing and purchasing broker 1903 in a session initiation message using the broker's public key. One technique for distributing and obtaining the broker's public key is to use a commercially available digital signature service, such as Verisign. Because the broker 1903 is the only process that knows its own private key, the broker 1903 decrypts the session initiation message using its private key and retrieves the client's session-specific symmetric key. Thereafter, all messages from the broker 1903 to the client 1901 are encrypted by the broker 1903 using the client 1901's symmetric key. Client 1901 is then able to decrypt a received message using the symmetric key that it initially generated and sent to the broker 1903. Client 1901 encrypts messages to send to the broker 1903 also using client 1901's symmetric key. Similarly, the client 1902 sends its own encrypted symmetric key to broker 1903 using the broker's public key. The broker 1903 in turn communicates with the client 1902 using the client-specific symmetric key that corresponds to client 1902. One skilled in the art will recognize that any algorithm for generating a symmetric key may be utilized. One skilled in the art will also recognize that any symmetric cryptographic algorithm that utilizes a symmetric key may be used to encrypt and decrypt the messages. For example, the DES algorithm, which is described in detail in the Schneier reference, could be utilized. In an exemplary embodiment, the RC5 algorithm, which is a proprietary symmetric key algorithm available from RSA Data Security, Inc., is utilized. In addition, any cryptographic algorithm that uses public/private pairs of keys may be utilized to implement the technique described with reference to FIG. 19. In an exemplary embodiment, the public/private key pairs are generating according to the RSA public-key algorithm. This algorithm is described in further detail in the Schneier reference. FIG. 20 is an example encrypted message data structure for sending encrypted messages between a DCS client component and a licensing and purchasing broker. Plaintext message 2001 is encrypted as specified in FIG. 19 and stored according to the layout of ciphertext message 2002. Ciphertext message 2002 contains a message digest 2003 and an encrypted symmetric key 2004, which has been encrypted using the licensing and purchasing broker's public key. In addition, field 2005 contains the message content, which has been encrypted using the symmetric key that is sent in encrypted form in field 2004. Tables 3-5 are example password generation tables stored in the password generation data repository, which is used by the licensing and purchasing broker to generate electronic license certificates.
TABLE 3
______________________________________
Password-Configuration Table
Field Type
______________________________________
pass-config-id Varchar
password-version Int
secret-key Varchar
developer-id Varchar
expire-password-in Varchar
start-date Varchar
password-output-scheme Int
developer-info Varchar
concurrent-code Int
Licenses Int
soft-licenses Int
program-executions Int
flex-nodelock-machines Int
maximum-usernames Int
release-number Int
minor-release-number Int
hostid-type Int
misc-info Int
min-hostids Int
max-hostids Int
instances Int
emergency-id Varchar
feature-type Int
feature-list Varchar
______________________________________
Table 3 is an example password configuration table. As described earlier, a separate password configuration table is provided for each password configuration identifier (pass-config-id). There is a version table in the data repository for translating between a retailer specific product version identifier (the ProductSKUld) and a corresponding password configuration identifier. The fields are used to generate the license parameters for an ELC that corresponds to the determined password configuration identifier. One skilled in the art will recognize that any fields could be stored in the password configuration table. Further, any algorithm for combining the fields in a determinable fashion to encrypt them into a single code that can be decrypted without losing information could be utilized to generate the ELC.
TABLE 4
______________________________________
Generated-Passwords Table
Field Type
______________________________________
pass-config-id Varchar
user-id Varchar
generation-type Int
date-generated datetime
password Varchar
______________________________________
Table 4 is an example table of the actual passwords generated for a particular password configuration identifier (pass-config-id). One of these tables exists for each password configuration identifier. Further, both normal passwords and emergency passwords (discussed below) are stored in this table. User identification information is also included for each generated password.
TABLE 5
______________________________________
Emergency-Password Table
Field Type
______________________________________
emergency-id Varchar
user-id Varchar
pass-config-id Varchar
start-hour Int
end-hour Int
start-minute Int
end-minute Int
start-day-number Int
end-day-number Int
start-date Int
end-date Int
start-month Int
end-month Int
start-year Int
end-year Int
start-week-number Int
end-week number Int
______________________________________
Table 5 is an example emergency password table. An emergency password table is used by the licensing and purchasing broker to generate an emergency password when a customer has for some reason lost a valid ELC (and potentially the merchandise), but has been previously authorized to use the merchandise. Emergency passwords are particularly useful in a scenario where the customer is unable to reach the supplier of the merchandise using available contact information. For example, if the customer's hard disk is destroyed during a weekend, it is useful to be able to re-generate a valid ELC and potentially re-download the merchandise to allow the customer to continue to utilize an already purchased product. More specifically, the virtual store supports the creation of software on a removable medium, such as a floppy disk, which can be used to recreate the merchandise. When the customer's system hard disk fails, as part of recreating the system, the customer runs a merchandise recovery program from the removable disk. The recovery program has previously stored the boot programs and the component lists associated with the merchandise already purchased so that the relevant files can be resurrected. In addition, the recovery program attempts to create a new ELC using the normal password configuration table (e.g., Table 1). However, if the fields stored in the normal password configuration table do not allow for the creation of a new ELC for that user (for example, the number of uses remaining=0), then an emergency, temporary password is generated. The fields shown in Table 5 are used to generate the emergency ELC when the normal password generation table will not allow for the generation of an additional ELC. In that case, an ELC is generated that expires within a certain amount of time, for example 24 hours, to ensure that the customer calls the supplier's customer service number as soon as possible. The fields of the emergency password table are combined to generate an (encrypted) ELC in the same manner described with reference to Table 3. Emergency passwords once generated are also stored in entries in the generated password table, Table 4. The description thus far has primarily referred to use of the components of the client portion of the secure digital commerce system by a virtual store. One skilled in the art will recognize that many alternative configurations are possible. For example, a standalone online purchasing application can be used to execute the components of the DCS client to communicate directly to a licensing and purchasing broker to request and receive electronic licensing certificates. In addition, one skilled in the art will recognize that the separate components of the DCS client and the DCS server enable each component to be separately replaceable and separately customized. For example, to generate a customized virtual store, a specialized user interface for licensing and purchasing merchandise can be generated and stored as the user interface component (e.g., SAFEUI.dll 508 in FIG. 5) on the customer computer system. Further, one skilled in the art will recognize that the licensing code incorporated into the encrypted content (or content player) can be replaced in its entirety and can be made supplier specific. In addition, the code used to generate ELCs from the password generation data repository can be optimized to be supplier specific. Further, all of the functions of the DCS server can be provided as licensing and purchasing administrative functions (for example, via an applications programming interface) to enable content suppliers to furnish their own licensing and purchasing brokers. The secure digital commerce system can also be utilized to support a combination of transactions pertaining to the online delivery of goods with transactions pertaining to physically deliverable goods and services. For example, along with the purchase of the WinZip 6.2 computer program, the virtual store may offer merchandise, such as mugs, T-shirts, travel bags, and even support service packages that cannot be delivered online. In these instances, the licensing and purchasing broker is additionally responsible for classifying received requests into online deliverables (ESD items) and into physical deliverables (non-ESD items) and is responsible for ordering and purchasing the non-ESD items. FIG. 21 is an example flow diagram of the additional steps performed by a licensing and purchasing broker of the secure digital commerce system to support non-ESD transactions. In step 2102, the licensing and purchasing broker selects the next item of merchandise requested starting with the first. FIG. 21 assumes that each HTTP request may request more than one item of merchandise. For example, a user interface library may offer additional non-ESD merchandise, which can be purchased at the same time that a customer purchases an ESD item. The user interface library generates and sends to the licensing and purchasing broker an HTTP request, which requests the purchase of multiple items of merchandise. For each item in the purchase request, in steps 2103-2110, the broker processes the item in accordance with an indicated purchasing option for the item. Specifically, in step 2102, the broker determines whether there are more items remaining to be processed for the request and, if so, continues in step 2103, else finishes processing. In step 2103, the licensing and purchasing broker determines whether the item is an ESD item or a non-ESD item. One mechanism used to determine whether the item is an ESD or a non-ESD item is to store a flag in the version table in the password generation data repository. For each purchasable item (ProductSkuld), the version table stores either a password configuration identifier or a distributor information identifier. In step 2104, if the item is an ESD item, then the broker continues in step 2105, else continues in step 2106. In step 2105, the broker executes the steps previously discussed with reference to FIG. 12 for items that are deliverable online. In step 2106, the broker determines distributor contact information for the non-ESD item from a distributor information table stored within a data repository. The distributor information table for non-ESD transactions can be stored along with the password generation tables in the password generation data repository or in its own data repository. The distributor information stored in the table includes sufficient location information for contacting a distributor from whom the item can be purchased using an electronic request. In step 2107, the broker obtains preauthorization information for a method of payment specified by the customer. It is assumed in this step that such information has been already obtained. If necessary, however, the broker sends appropriate requests to the code that initiated the purchase request (for example, the user interface library) to obtain method of payment information from the user and to continue accordingly. Preauthorization is necessitated by non-ESD purchases, which require a shipment date before the broker is able to charge the purchase to a customer's credit card. The preauthorization is performed by the payment processing function (e.g., the payment processing function 309 in FIG. 3). In step 2108, if the purchase is preauthorized, then the broker continues in step 2109, else continues in step 2110. In step 2109, the broker sends a purchase order to the located distributor for the merchandise using a well-known Electronic Data Interchange ("EDI") format and commercial EDI products, such as those provided by Digital Corporation. One skilled in the art will recognize that any mechanism that allows information for electronically providing a purchase order would be operable with the licensing and purchasing broker. In step 2110, the broker returns the results of the preauthorization attempt to the requesting routine, and then returns to the beginning of the loop in step 2101. To complete the purchasing transaction for a non-ESD item, the licensing and purchasing broker waits until it is informed by the distributor that the distributor will fulfill the requested purchase order (ship the merchandise) on a particular date. At that time, the licensing and purchasing broker contacts the payment processing function to charge the purchasing transaction to the customer and to credit the distributor. One skilled in the art will recognize that other variations for processing ESD and non-ESD transactions would also operate with the licensing and purchasing broker. For example, instead of the user interface library offering related non-ESD merchandise, the WEB pages of the virtual store may offer both ESD and non-ESD items for purchase. In this scenario, a graphical icon (or similar object) associated with each non-ESD item available for purchase is displayed in addition to icons for ESD items. However, unlike the icons associated with ESD items, these icons are not linked to a download file that causes components to be downloaded, because online delivery is not possible. Instead, other virtual store code is linked to the non-ESD icons, which uses the purchasing library routines to send purchasing requests for non-ESD items to the licensing and purchasing broker. Although specific embodiments of, and examples for, the present invention are described herein for illustrative purposes, it is not intended that the invention be limited to these embodiments. Equivalent methods, structures, processes, steps, and other modifications within the spirit of the invention fall within the scope of the invention. For example, the teachings provided herein of the present invention can be applied to other client/server architectures, not necessarily the exemplary Internet based, HTTP model described above. These and other changes may be made to the invention in light of the above detailed description. Accordingly, the invention is not limited by the disclosure, but instead the scope of the present invention is to be determined by the following claims.
|
Same subclass Same class Consider this |
||||||||||
