A subscription services management system enables and manages subscriptions between a provider system and a client. For example, in a subscription for a device, such as a personal computer or software object, a subscription system works with an enforcement module on the subscription device to enforce the policies of a subscription, configure the subscription device, customize the subscription device, provide support and the like.
The provider system communicates with the client regarding the subscription account and includes a separate billing system. For example, the provider system receives and monitors payment for the subscription, receives customer support requests from the client, process changes in the account and the like. Each of these require the provider system to communicate with the subscription system, and the provider system takes appropriate action based on the response provided by the subscription system. However, at any one time there may be hundreds or thousands of clients making requests to enable or renew subscriptions, request support, modify the subscription, etc., thereby resulting in thousands or tens of thousands of requests from the provider system to the subscription system. Each of these requests may differ in context, resulting in complex or numerous application program interfaces (APIs). The integration between the provider system and the subscription system has been hampered by the quantity and differences in the requests, in addition to the amount of network traffic caused by the number of requests.
The network interface API between the subscription system and the provider system, along with the batch request and batch response schemas, provides a simplified interface that permits requests to be transmitted and handled asynchronously. Provider systems and subscriptions systems within a subscription network are more fully integrated. Broadly, there are a class of calls for exchanging a group of requests and for exchanging a group of responses. The requests are grouped according to a first extensible markup language schema and the responses are grouped according to a second extensible markup language schema. The use of these calls and schemas is expected to increase the integration between the provider system and the subscription system, while reducing network traffic.
Although the following text sets forth a detailed description of numerous different embodiments, it should be understood that the legal scope of the description is defined by the words of the claims set forth at the end of this disclosure. The detailed description is to be construed as exemplary only and does not describe every possible embodiment since describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims.
It should also be understood that, unless a term is expressly defined in this patent using the sentence “As used herein, the term ‘______’ is hereby defined to mean . . . ” or a similar sentence, there is no intent to limit the meaning of that term, either expressly or by implication, beyond its plain or ordinary meaning, and such term should not be interpreted to be limited in scope based on any statement made in any section of this patent (other than the language of the claims). To the extent that any term recited in the claims at the end of this patent is referred to in this patent in a manner consistent with a single meaning, that is done for sake of clarity only so as to not confuse the reader, and it is not intended that such claim term by limited, by implication or otherwise, to that single meaning. Finally, unless a claim element is defined by reciting the word “means” and a function without the recital of any structure, it is not intended that the scope of any claim element be interpreted based on the application of 35 U.S.C. § 112, sixth paragraph.
Much of the inventive functionality and many of the inventive principles are best implemented with or in software programs or instructions and integrated circuits (ICs) such as application specific ICs. It is expected that one of ordinary skill, notwithstanding possibly significant effort and many design choices motivated by, for example, available time, current technology, and economic considerations, when guided by the concepts and principles disclosed-herein will be readily capable of generating such software instructions and programs and ICs with minimal experimentation. Therefore, in the interest of brevity and minimization of any risk of obscuring the principles and concepts in accordance to the present invention, further discussion of such software and ICs, if any, will be limited to the essentials with respect to the principles and concepts of the preferred embodiments.
Computer 110 typically includes a variety of computer readable media. Computer readable media can be any available media that can be accessed by computer 110 and includes both volatile and nonvolatile media, removable and non-removable media. By way of example, and not limitation, computer readable media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, FLASH memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by computer 110. Communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. The term “modulated data signal” means a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, radio frequency, infrared and other wireless media. Combinations of any of the above should also be included within the scope of computer readable media.
The system memory 130 includes computer storage media in the form of volatile and/or nonvolatile memory such as read only memory (ROM) 131 and random access memory (RAM) 132. A basic input/output system 133 (BIOS), containing the basic routines that help to transfer information between elements within computer 110, such as during start-up, is typically stored in ROM 131. RAM 132 typically contains data and/or program modules that are immediately accessible to and/or presently being operated on by processing unit 120. By way of example, and not limitation,
The computer 110 may also include other removable/non-removable, volatile/nonvolatile computer storage media. By way of example only,
The drives and their associated computer storage media discussed above and illustrated in
The computer 110 may operate in a networked environment using logical connections to one or more remote computers, such as a remote computer 180. The remote computer 180 may be a personal computer, a server, a router, a network PC, a peer device or other common network node, and typically includes many or all of the elements described above relative to the computer 110, although only a memory storage device 181 has been illustrated in
When used in a LAN networking environment, the computer 110 is connected to the LAN 171 through a network interface or adapter 170. When used in a WAN networking environment, the computer 110 typically includes a modem 172 or other means for establishing communications over the WAN 173, such as the Internet. The modem 172, which may be internal or external, may be connected to the system bus 121 via the input interface 160, or other appropriate mechanism. In a networked environment, program modules depicted relative to the computer 110, or portions thereof, may be stored in the remote memory storage device. By way of example, and not limitation,
The communications connections 170172 allow the device to communicate with other devices. The communications connections 170172 are an example of communication media. The communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media. A “modulated data signal” may be a signal that has one or more of its characteristics set or changed in such a manner as to encode information in the signal. By way of example, and not limitation, communication media includes wired media such as a wired network or direct-wired connection, and wireless media such as acoustic, RF, infrared and other wireless media. Computer readable media may include both storage media and communication media.
Generally, the subscription system 202 is a device-centric system that enables and manages subscriptions between the provider system 206 and subscription devices 216 of the client system 204. For example, the subscription system 202 may enable and manage a subscription for a personal computer used by the client. The subscription system 204 handles subscription business logic to enable the client system 204 to subscribe to the service, renew subscriptions, cancel subscriptions, manage the subscription device 216, configure the subscription device 216, limit client access to the subscription device 216, etc. The subscription system 202 may also provide support and diagnostics to the subscription device 216. Further, the subscription system 202 handles requests from the provider system 206 regarding the subscription, including requests for enforcement of the subscription terms, requests to register the subscription device, requests to enable/disable a subscription for the subscription device, requests to configure the subscription device, etc.
The client system 204 includes an enforcement module that allows the subscription system 202 to enforce the terms of the subscription policy, thereby allowing the subscription system to enable, disable or limit a client's access to the subscription device 216. The client system 204 communicates with the subscription system 202 to verify that the subscription account is in good standing from the subscription system 202. The client system 204 further communicates with the provider system 206 regarding the subscription account, billing issues, payments, customer support requests, request changes to the subscription, etc.
The provider system 206 is an account-centric system that manages the billing and accounting for the subscriptions. The provider system 206 communicates with the client system 204 regarding payments, billing issues, responses to customer service requests, etc. The provider system 206 further communicates with the subscription system 202 to request management of the subscription, including the requests for enforcement, the register requests, the requests to enable/disable a subscription for the subscription device, the configuration requests, etc. In many cases, the request items generated by the provider system 206 are prompted based on communications, or lack thereof, with the client system 204, including, but not limited to, delayed payment, lack of payment, support requests, new subscriptions, renewed subscriptions, etc. For each request item, the subscription system 202 generates a response item as a result of the request and provides the response to the provider system 206.
Using the above systems 202, 204, 206, the system 200 enables a client to engage in a subscription account with the provider to use a subscription device. The client provides payment to the provider for the subscription, and uses the subscription device over the course of the subscription according to the terms of the subscription. Based on the client's account with the provider, the provider may initiate a request item for execution by the subscription service management system. In turn, the subscription service management system handles the request items to manage the subscription on behalf of the provider. For example, when the provider wishes to register, re-register or de-register a subscription device, the provider may use the RegisterDeviceRequest described further below. Similarly, when the provider wishes to begin or end a subscription, the provider may use the SubscribeDeviceRequest described further below. When enforcement of the subscription policy is desired, the provider may use the EnforcementLevelType request. The ConfigureDeviceRequest may be used to request configuration of the subscription device, whereas the ConfigureDefaultRequest may be used to configure the default setting for handling subscription devices. The PerpetuateDeviceRequest may be used to perpetuate the subscription of the subscription device, thereby allowing the client to use the subscription device without a subscription. CreateSubscriptionPacketRequest may be used to create a one time subscription packet with a specified end date.
Each request item generated by the provider may be grouped with other request items into a batch request according to a particular schema. The provider system 206 uses an extensible markup language, such as, for example, XML, to enable the communication of the batch request to the subscription system 202. For example, a subscription system schema, such as the BatchRequest call discussed further below, defines how the provider system 206 should create and send the batch request to the subscription system 202. Each request item generated by the provider system 206 is contained in a batch request to provide simplicity to the interface with the subscription system and to define the message context. Because each batch request may contain multiple request items, the request items are organized according to priority. For example, a RegisterDeviceRequest to register a new subscription device 216 should be handled before a SubscribeDeviceRequest to initiate a subscription for the same subscription device 216 because a subscription cannot be initiated before the subscription device 216 is registered. Accordingly, a RegisterDeviceRequest may be listed before the SubscribeDeviceRequest for the subscription device 216 thereby providing handling priority to the RegisterDeviceRequest. In one example, all request items for a subscription device 216 are listed together and organized according to a logical order for handling. In another example, all request items of a particular type for all subscription devices may be organized according to a logical order for handling (e.g., all RegisterDeviceRequest items are listed before all SubscribeDeviceRequest items).
In response to a request item, the subscription service management system handles each request item and generates a corresponding result. For example, in response to the RegisterDeviceRequest, the subscription system 202 registers, re-registers or de-registers the subscription device 216. In response to the SubscribeDeviceRequest, the subscription system 202 periodically generates a subscription packet for the client system 204 detailing the start and/or end of the subscription. In response to the EnforcementLevelType, the subscription service 202 establishes an enforcement level that the enforcement module of the subscription device 216 uses to enforce the subscription policy. In response to the ConfigureDeviceRequest, the subscription system 202 configures the subscription device 216. In response to the ConfigureDefaultRequest, the subscription system 202 configures the subscription device 216 to default settings. In response to the PerpetuateDeviceRequest, the subscription system 202 generates a perpetual provisioning packet for the client system 204 which causes the subscription device 216 to become a perpetual device. In response to the CreateSubscriptionPacketRequest, the subscription system 202 creates a one-time subscription packet for the client system 204 which causes the subscription device 216 to enter a one-time subscription.
For each request item from the batch request, the subscription system 202 generates a response for the provider. The responses are grouped into a batch response according to a particular schema. As with the provider system 206, the subscription system 202 uses an extensible markup language schema, such as XML, to enable communication of the batch response to the provider system 206. For example, a provider batch reply schema, such as the BatchResponse call discussed further below, defines how the partner should establish its batch reply system and receive the batch response from the subscription service. Generally, the subscription system 202 defines the schemas for both the batch request and the batch response. The interface between the subscription system 202 and the provider system 206 is thus provided as a simple interface design thereby avoiding multiple implementations for accomplishing the same task and simplifying the requester (provider system 206) and the handler (subscription system 202).
Generally speaking, XML enables virtually any type of data or information (including transactional data) to be wrapped or encapsulated with a schema that defines and provides structure (i.e., format) to the information or data. XML is a self-describing language in which the various elements of any given schema describe the encapsulated or wrapped data. XML developed from the same standard that resulted in the development of the now familiar hypertext markup language (HTML), which has become a standard means of conveying graphic display information via the Internet. Although XML encapsulated or wrapped data may be easily transmitted via the Internet, as can HTML formatted data, XML is fundamentally different from HTML because XML provides definition and structure to transmitted data (as opposed to merely formatting the display of transmitted data, which is the case with HTML).
The application program interface (API), schemas and communication techniques described herein enable request and response information, such as the batch request and the batch response, to be exchanged between the subscriber system 202 and the provider system 206. In particular, the API, schemas and techniques described herein group requests and responses into batches such as, for example, the batch request and batch response, using an XML schema that can be easily conveyed between the subscription system 202 and the provider system 206, regardless of whether the communications use the Internet, a LAN or any other communication media and technology. In this manner, the provider system 206 may be more fully integrated with the subscription system 202, and, in particular, the billing functions of the provider system 206 may be more fully integrated with the subscription functions of the subscription system 202.
The provider system 206 includes a batch request service 312 and a batch reply network service 314. The batch request service 312 initiates request items and sends the batch request to the subscription network service 302. The batch request service 312 conforms to the subscription system schema implemented by the subscription network service 302. Thus, the batch request service 312 includes a network service, such as a web service, according to the subscription system schema. The batch reply service 314 is the callback interface provided by the provider system 206 to receive the batch response provided by the subscription service 304. Similar to the batch request service 312, the batch reply network service 314 conforms to the provided batch reply schema dictated by the subscription service 304. Accordingly, the batch reply network service 31 includes a network service, such as a web service, defined according to the provider batch reply schema. The request channel and the response channel between the subscription system 204 and the provider system 206 are point-to-point.
Referring to
The subscription network service 302 receives the batch request and validates 404 the batch request according to the batch identification, the provider identification and the input parameters. If validated, the subscription network service 302 generates a message for the core service 306 for handling the request items and sends 406 the message to the message queue of the core service 306. The subscription network service 302 further acknowledges 408 receipt of the batch request, or provides notice to the provider system 206 that the batch request is invalid if any part of the validation fails.
The core service 306 attends to the message according to the order of the message in the queue. The core service 306 creates 410 the request items by breaking out the request items from the batch request. The core service 306 may then handle 412 each request item within the batch and updates 414 the core database as appropriate. Handling results are generated 416 for each request item according to an internal schema. Examples of handling results may include acknowledgements, error messages, warnings, etc. The handling results are sent 418 to the subscription service 304.
The subscription service 304 validates 420 the results to determine if the number of results correspond with the number of request items, validate the batch identification and validate the provider identification. Although the subscription service 304 does not necessarily know the substance of the individual request items, and thus does not validate the substance of the results, the subscription service 304 may validate the syntax of the results (e.g., validate that each result contains information). Accordingly, one batch response maps to exactly one batch request. Once validated, the subscription service 304 generates the batch response and sends 422 the batch response to the batch reply network service 314 according to the batch reply network schema. If the results are not validated, the subscription service 304 may generate an error message. The results are organized in the batch response according to the organization of the corresponding request items.
The batch reply network service 314 receives the batch response and forwards 424 the batch response to the batch request service 312. The batch request service 312 then handles 426 the batch response.
The following provides examples of the schemas used for the network service interface between subscription system 202 and the provider system 206, which may be a web service interface. As mentioned, the schemas may be implemented using extensible markup language, such as XML, and all schemas may be defined by the subscription system 202 to simplify and provide a common interface for different request items. Although C# style notation is used to described the schemas, the schemas are not limited thereto.
SendBatchRequest—This method is used as the network service interface. The interface is provided by the subscription network service 302 and invoked by the batch request service 312 to send batch requests. In the event the batch request is invalid, a Simple Object Access Protocol (SOAP) exception is generated by the subscription network service 302 containing specific information about the error. A batch response is generated by the subscription system 202 from the batch request. The batch response is sent to the batch reply network service according to the Uniform Resource Locator (URL) specified in the batch request.
Syntax
Arguments
QueryBatchResponse—This method is used by the batch request service 312 to query the status of a response for a specific batch request. If the batchID of the partnerCode is invalid, a SOAP exception is generated by the subscription network service 302 containing specific information about the error. A batch response is generated by the subscription system 202 for the specific batchID and PartnerCode. The batch response is sent to the batch reply network service 314 with the URL specified by the callbackUrl. If there is no batch request with the specific batchID in the database, a batch response will be generated with the error that the batch request does not exist, and sent to the batch reply network service with the specified URL.
Syntax
Arguments
SendBatchReponse—This method is used by the subscription service 304 to send batch responses.
Syntax
Arguments
The following provides examples of schemas used to control the data structure (e.g., naming and layout) of the request items. As mentioned, the schemas may be implemented using extensible markup language, such as XML, and all schemas may be defined by the subscription system 202. The BatchRequest and BatchResponse used in the network service interface may contain multiple Request and Response. Although C# classes are generated from the schema, the schemas are not limited thereto.
EnforcementLevelType—This method defines different enforcement levels that the client system 204 uses to enforce the subscription policy (e.g. download a packet every month). This request item may be invoked based payment for the subscription, resulting in a corresponding enforcement level (e.g., limited function mode, disable mode, etc.)
Syntax
Request is the base class for other request sub-classes. It contains a DeviceName to specify the subscription device 216 to which the request is applied. The DeviceName may be a (Unicode) string, and is 40 characters or less in length.
Syntax
RegisterDeviceRequest asks the subscription network service 302 to register, re-register, and de-register a specific subscription device 216. It basically binds/unbinds the DeviceName and the InitKey or other password associated with the subscription device 216. The main reason to re-register a device is to start a new bootstrap job at the core service side in the case that a legitimate user failed to bootstrap after multiple tries up to the maximum certificate download count. If the InitKey is bound incorrectly to a DeviceName, the re-register can also unbind the InitKey from the DeviceName. However, after a successful client bootstrap, a subscription device is bound to the HWID already and cannot be re-registered anymore. Any device level requests must be issued on the registered subscription devices. A registered subscription device can be de-registered at any time. No device level request can be performed on the de-registered subscription device, which is in the “retired” mode and only used for history.
Syntax
SubscribeDeviceRequest asks the subscription network service 302 to turn on (begin) or turn off (end) a subscription. Based on this information, the subscription packet is generated periodically for the subscription device 216. If the Mode is “Start”, the BeginDate is the date to start the subscription for the specific subscription device 216. The EndDate is optional and indicates when the subscription will stop. If the Mode is “Stop”, the BeginDate is the date to stop the subscription for the specific subscription device 216 and the EndDate is not used.
Syntax
PerpetuateDeviceRequest asks the subscription network service 302 to perpetuate the specific subscription device 216. If the subscription device 216 is under subscription at the time, the subscription will be stopped and a perpetual provisioning packet is created for the client. The next time the client downloads the provisioning packet, it will also download the perpetual packet and consume it thus make the subscription device 216 a perpetual device, thereby no longer requiring a subscription.
Syntax
ConfigureDeviceRequest asks the subscription network service 302 to configure the specific subscription device 216. For example, the subscription system 202 may configure the use of the subscription device 216 according to a specified grace period, configure the terms of use (e.g., amount of use, access to features, access to routines), etc. There are two settings at the device level: GracePeriodInMinutes and EnforcementLevel, where EnforcementLevel is described above.
Syntax
ConfigureDefaultRequest asks the subscription network service 302 to configure the default setting for handling all subscription devices.
Syntax
CreateSubscriptionPacketRequest asks the subscription network service 302 to create a one time subscription packet. The subscription system 202 will generate a subscription packet immediately with the specified EndDate. The client will consume the packet as normal subscription packets.
Syntax
BatchRequest is the aggregation of the request items. At least one request item is contained in a batch request, and request items are not sent unless contained in a batch request. A batch request is uniquely identified by batchId, which is a GUID in string format or other universal unique identification. The PartnerCode is created and assigned to the provider by the subscription services management system and embedded in the hardware of the subscription device 216. It conforms to the UPID specification. The callbackUrl is the URL of the batch reply network service 314, which starts with “HTTPS” or uses an otherwise secure channel, and is reachable from the subscription service 304.
Syntax
Response is the result of a specific request. Reponses are aggregated into the batch response and sent to the batch reply network service 314. The “Pending” status means the request items have been handled successfully but it is a lengthy job and not completed yet. An example is the SubscribeDeviceRequest job with Mode is “Start”. The core service 306 will create a scheduler job for the request, but the job won't be completed until a stop subscription request is received or it reaches the EndDate in the original SubscribeDeviceRequest. As long as the scheduler job is created, subscription system 202 considers the request item is handled successfully and sets the response status to pending.
Syntax
BatchResponse is the aggregation of the response items. It contains a status to indicate whether all request items in the batch request are handled successfully. The PartnerCode, and callbackUrl can be used as a verification check. The BatchId is used to match the corresponding BatchRequest.
Syntax
Although the forgoing text sets forth a detailed description of numerous different embodiments of the invention, it should be understood that the scope of the invention is defined by the words of the claims set forth at the end of this patent. The detailed description is to be construed as exemplary only and does not describe every possibly embodiment of the invention because describing every possible embodiment would be impractical, if not impossible. Numerous alternative embodiments could be implemented, using either current technology or technology developed after the filing date of this patent, which would still fall within the scope of the claims defining the invention.
Thus, many modifications and variations may be made in the techniques and structures described and illustrated herein without departing from the spirit and scope of the present invention. Accordingly, it should be understood that the methods and apparatus described herein are illustrative only and are not limiting upon the scope of the invention.
This patent claims priority from U.S. Provisional Application Ser. No. 60/733,226 which was filed on Nov. 3, 2005 and is expressly incorporated by reference herein.
Number | Date | Country | |
---|---|---|---|
60733226 | Nov 2005 | US |