This invention relates to systems and methods for transferring data parcels between two computers. This invention further relates to distributed electronic billing systems that implement parcel managers for handling parcel transfer between billers and a third party billing service center.
Essentially everyone is familiar with receiving bills. Every month, like clockwork, millions of consumers and businesses receive bills for goods and services. For convenience, the term “consumer” is used throughout this document to represent both a typical person who consumes goods and services as well as a business that consumes goods and services.
At the end of each billing cycle, a biller generates a bill or statement for each consumer account having a positive or negative account balance, or having transactions that yielded a zero balance. As used herein, a “biller” is any party that originates billing statements for goods or services rendered to the consumer. Examples of billers are utilities, government, merchants, and intermediate billing services such as banks. The billing statement is typically customized according to the biller's preferences. For example, it is common for billing statements to be printed on colored paper, display the biller's logo, provide a billing summary, and show itemized transactions. This information is organized in a custom format that is unique to and controlled by the biller.
The biller also creates remittance information that associates the consumer account with the bill and any payment toward the bill. The remittance information is typically in the form of a detachable stub or coupon that the consumer detaches from the billing statement and returns along with the payment. This remittance stub is also customized according to the biller's preferences.
With the growing popularity and use of personal finance computer software, it would be beneficial for billers to distribute their billing statements electronically and to receive payments electronically. Unfortunately, most of the finance computer software focuses primarily on bill payment, with some emphasis on electronic bill management, but with little innovation in bill distribution and presentment. Many of these systems still rely on delivery of paper bills through the U.S. mail.
There is a prior art electronic bill payment system, however, that mentions the possibility of electronic bill distribution. This system is described in U.S. Pat. No. 5,465,206, entitled “Electronic Bill Pay System,” which issued Nov. 7, 1995 and is assigned to Visa International. The Visa bill payment system permits bills to be sent to consumers via U.S. mail or email. Unfortunately, the system is limited in that the email message containing the bill must conform to requirements imposed by Visa. The requirements stem from the need to route remittance information back to the biller through the VisaNet® network. The biller has little or no control over the format concerning how the bill is presented to the consumer, but must instead accommodate a format compatible with the VisaNet® network. While it may be possible for the biller and biller bank to agree on some aspects of the billing format, the biller cannot independently control the format.
It would therefore be advantageous to devise an electronic bill distribution system that enables the biller to directly control the format for presenting the bill.
Separate from the bill format matter, there is another problem facing acceptance of electronic bill distribution systems. Billers may not be capable of, or may not wish to engage in, the task of electronically distributing billing statements. From a biller perspective, it would be much more advantageous to contract with a billing service to handle the electronic bill distribution tasks. However, contracting with a third party raises additional concerns. It is in the interest of the billing service to standardize the electronic distribution process to efficiently achieve economies of scale. Yet, the biller prefers that its bills be presented in customized formats, rather than standardized formats. In the Visa system, for example, the biller gives up control and customization to participate in the electronic system. Thus, for an electronic bill distribution system to be successfully adopted, it should accommodate the biller preferences of individuality while simultaneously facilitating the billing service's interests of standardization.
Another design consideration is that many billers already have established sophisticated, expensive accounting systems. It would be beneficial to devise a bill distribution and remittance management system that integrates smoothly with entrenched accounting systems so that companies are not required to change their traditional ways of practice.
This invention concerns a system and method for reliably transferring parcels from one computer to another and tracking the parcels as they are transferred. The system and method are described within the context of a distributed electronic billing system in which billers submit billing data to a service center and the service center generates billing statements from the billing data and electronically distributes the billing statements to consumers on behalf of the biller.
The electronic billing system includes a biller integration system resident at each of the billers. The biller integration system is preferably a set of software tools that integrate with the biller's existing billing and accounting systems. The biller integration system includes a translator component to convert the billing data from the associated biller's existing billing system to an acceptable format. The biller integration system also includes a statement designer that enables the biller to create a billing statement template, a rules manager to establish rules for inclusion of particular data and information in the bill, and a resources manager to assist the biller in creating non-billing resources (e.g., logos, special offers, etc.).
The biller integration system sends the billing data, template, rules, and resources to the billing service center, where they are stored. The service center generates customized billing statements by inserting the data and resources into the template at the appropriate fields and accounting for the rules, and distributes the billing statements electronically to consumers.
The biller integration system and service center are each equipped with a gateway to facilitate the exchange of the statement template, the billing data, resources, and rules. Each gateway has a parcel manager to reliably transfer parcels and track the parcels as they go from one computer at the biller to another computer at the service center. Through this parcel handling and monitoring system, the biller integration system keeps the biller informed as to the location and status of the statement templates, the billing data, any forthcoming payments, and so forth.
The same reference numbers are used throughout the figures to reference like components and features.
This invention concerns a system and method for reliably transferring parcels from one computer to another and tracking the parcels as they are transferred. In general, the parcels can carry any type of data. For purposes of describing an exemplary context, the system and method are described within the context of a distributed electronic billing system in which billers submit billing data to a service center and the service center generates billing statements from the billing data and electronically distributes the billing statements to consumers on behalf of the biller. Within this context, the parcel management system facilitates the exchange of billing-related data. It is noted, however, that the parcel management system and method can be implemented in other contexts.
The electronic billing system 20 facilitates distribution of bills over a data network, such as the Internet. In
The billers 22(1)-22(M) are equipped with biller integration systems 34(1), 34(2), . . . , 34(M) that facilitate the design of templates for electronically renderable billing statements. The template and billing information are sent to the service center system 24 for electronic distribution of the billing statements. Each biller integration system (BIS) 34(1)-34(M) integrates with the billers' existing billing system 36(1), 36(2), . . . , 36(M). These billing systems are assumed to be computerized accounting systems that track consumer accounts and generate periodic billing statements. The billing systems 36 are further assumed to be different from one another, whereby each system is unique or customized to the biller's preferences and needs.
Each biller integration system 34(1)-34(M) is implemented with a translator 38(1), 38(2), . . . , 38(M), respectively, to integrate with the legacy billing systems 36(l)-36(M). Each translator 38(1)-38(M) is preferably a software component that is uniquely configured to translate billing data from a format used by the existing billing systems 36(1)-36(M) to a format compatible with the biller integration systems 34(1)-34(M). Since the billing systems 36(1)-36(M) are specialized to each particular biller, the translators 38(1)-38(M) are uniquely written for the corresponding legacy billing system of the biller.
The biller integration systems 34 enable the associated billers 22 to create a statement template for an electronically renderable customized billing statement. In a preferred implementation, the BIS 34 is a set of software tools that assist the biller in designing the template. The statement template specifies how the statement will present billing information to a consumer. For instance, the statement template includes various fields in which information will be inserted when the electronic billing statement is generated. As an example, one type of field in the template is a data field that holds billing data. As used herein, the term “billing data” generally means the consumer account information, such as the account number, the consumer's name and address, transaction items, amount due, interest amount, minimum payments, due date, and so forth.
Another type of template field is a resource field that holds resources. As used herein, a “resource” generally refers to non-billing data information, such as phone numbers for service information, advertisements, biller logos, regulatory messages, give-aways, and so forth. Since these bills are electronic, resources may be in the form of video clips, sound clips, pictures, and other such content. Yet another template field type is a conditional field, which holds information (data or resource) whose inclusion in the bill is conditional. For instance, the biller might wish to include in the bill some information on a savings plan for any consumer who spends more than a threshold amount each month. When a particular consumer satisfies that threshold, the savings plan information resource is automatically added to the electronic bill.
The template is preferably constructed using as Active Server Pages, a technology introduced by Microsoft Corporation. An active server page, or “ASP”, allows a user to define templates using a combination of a hypertext language (e.g., HTML) and a scripting language, such as Visual Basic Script (or “VBS”) or JScript from Microsoft Corporation, perl, python, REXX, or tcl. The HTML language defines the basic structure of the billing statement and the scripting language defines which data is inserted into the appropriate fields. The scripting instructions are set apart by special delimiters. When an ASP file is read and rendered, the scripting instructions within the delimiters are executed to fill in the billing data. The result is a billing statement in a pure hypertext document. Active Server Pages are described in documentation available from Microsoft's Web site “www.microsoft.com”, under the section Internet Information Services. This text is hereby incorporated by reference.
Through the custom template design process, the biller independently controls the appearance and format of its billing statement. Moreover, with the inclusion of conditional fields, the biller can uniquely present different information to targeted consumer groups depending upon definable conditions.
Each biller integration system 34(1)-34(M) packages the statement template together with other billing information in a standardized file. More particularly, the file contains the statement template, the account data for the consumers whom the biller wants to receive statements, a set of rules defining the conditions for the conditional fields, and non-billing resources such as phone numbers for service information, advertisements, biller logos, regulatory messages, give-aways, and so forth. The file format is standardized in the sense that the service center system 24 expects to receive the same formats from each biller. It is noted that the account data can also be sent in separate batches independently of the template file. The data may be sent to the billing service more frequently than changes to the templates and rules. For instance, the data may be sent as often as daily or twice daily, whereas the template and rules may be changed less frequently like once a month.
The biller integration system 34 is described in more detail in co-pending U.S. patent application Ser. No. 880,125, entitled “System and Method for Designing and Distributing Customized Electronic Billing Statements”. This application was filed Jun. 19, 1997 in the names of Howard Campbell, Warren T. Dent, Eric Jakstadt, Darren B. Remington, Bassam Saliba, Bert Speelpenning, George Webb, and is assigned to Microsoft Corporation. This application is incorporated by reference.
The service center system 24 has an electronic bill distribution system that electronically distributes the billing statements on behalf of the billers 22. The service center 24 receives the standardized files from the billers 22 and unpackages the statement template, rules, and resources. The service center 24 then generates the customized billing statements for each biller 22 from the statement template and the billing information received from that biller. The billing statements are stored in a bills database 40 and electronically distributed to the consumers over the Internet.
The service center delivers the billing statements in one of two ways. One way is to directly distribute the billing statements to the consumers over the network 32 (i.e., Internet), as illustrated by the communication paths to consumers 28(3) and 28(L). The billing statements can be embedded in an email message or a notice. A direct distribution system is described in U.S. patent application Ser. No. 08/734,518, entitled “Electronic Bill Presentment and Payment System”, which was filed Oct. 18, 1996 in the names of Darren Remington and Warren Dent, and is assigned to Microsoft Corporation. This application is incorporated by reference.
A second way is to make the billing statements available at Web sites, such as a Web site 42 provided at the consumer's bank or a Web site 44 provided at the service center 24. The consumers 28(1)-28(L) access the bank's Web server or service center's Web server via universal resource locators (URLs) that are assigned to the respective Web sites.
The consumers render the billing statements on their computer, typically on an electronically-capable screen and preferably through a graphical user interface (UI). The biller controls the exact information and format contained in the bill through the design of the template, and decisions as to what resources, data, and rules to include with the template.
The billing statement 50 is rendered according to the template design. In this example, the billing statement has a banner stripe 52 across the top of the screen to show biller and consumer information. The banner stripe 52 contains various fields, including a resource field for the logo resource and a data field for the consumer's name and address.
The banner strip may also contain a conditional field to hold advertisements, announcements, or other types of resources, as represented by the “Repair Service Information” resource 54. For instance, the biller might wish to display the “Repair Service Information” resource 54 only if the particular consumer has called the repair service twice in the past twelve months. The biller establishes a rule for the conditional field, which stipulates that the resource should only be placed in the field if the consumer records reflect that the consumer has called the repair service at least twice in the past year. If the consumer activates the resource, the consumer's computer dials a consumer services representative over the Internet and the consumer can initiate an online discussion with the representative, or alternatively the biller's consumer service group initiates a call to the consumer in a corresponding and analogous manner.
The billing statement 50 has multiple softkeys or buttons 56 that form tabbed navigation points to facilitate quick movement from one section of the bill to another. In this example, there is a “Summary” tab that references the billing page shown in the figure. Activation of a “Details” tab (via a mouse pointer, for example) changes the screen from the summary page to one or more pages itemizing the billing transactions. A “Consumer Service” tab switches to a page giving instructions on how to access consumer service.
The billing statement 50 has a main body 58 that contains numerous data fields for the billing particulars. On the summary page of the energy bill, the billing data fields in body 58 include an amount due, an amount previously paid, and a payment due date. On the “Details” page, the data fields in the body 58 might include line items detailing a purchase date, purchase order number, invoice number, item number, description of item, quantity, price, total, tax, and amount due.
The billing statement in
The consumer can elect to pay the bill electronically, as well. The payment phase of the billing system, as well as the settlement phase, are not discussed in this document. An entire electronic billing system is described in U.S. patent application Ser. No. 08/734,518, entitled “Electronic Bill Presentment and Payment System”, which was filed Oct. 18, 1996 in the names of Darren Remington and Warren Dent, and is assigned to Microsoft Corporation. This application is incorporated by reference.
Biller Integration System
The BIS 34 also includes a statement designer 62 to create and design the statement template. The statement designer 62 enables the biller to embed and organize data fields, resource fields, and conditional fields within the statement template and to associate the respective billing data, resources, and rules with the fields. The statement designer 62 preferably supports a graphical user interface that presents the statement template to the biller during construction. After the template is finished, it is stored as a template file in a template store 64.
The BIS 34 has a rules manager 66 to establish the rules for inclusion or exclusion of resources in the billing statement. The rules manager 66 associates the particular data or resources with the conditional fields in the statement template and defines the conditions under which the data or resources are inserted into the conditional fields. When the service center generates the electronic billing statements, the statements in which the conditions are met will contain the associated data or resources while the statements in which the conditions are not met will not contain any associated data or resources. The rules set by the rules manager 66 are stored in a rules store 68.
The BIS 34 has a resource manager 70 to assist the biller in creating the resources and a resource store 72 to keep the resources. The resources may be in the form of text files, graphics files, audio files, video files, and the like. The BIS 34 further includes an advertising manager 74 to help create advertisements to be included in billing statements, and an advertisement store 76 to hold the advertisements.
A preview subsystem 78 is incorporated into the biller integration system 34 to allow the biller to preview how a sample billing statement will appear. The preview subsystem 78 retrieves the template from the template store 64 and uses sample data (which is included within the embedded fields of the template) to generate a sample billing statement. The sample is displayed on a computer screen for the biller to review and analyze the statement's appearance.
A BIS gateway 80 facilitates data communication with the service center 24. The BIS gateway includes a statement gateway component 82 and a payment gateway component 84. The statement gateway 82 bundles together and packages the template, data, rules, and resources (including advertisements) and sends the package to the service center 24 for generation and distribution of the electronic billing statements. As noted above, the package is preferably constructed in a data file that is standardized for convenient handling the by service center.
The service center 24 has its own gateway 86 with a statement gateway component 88 and a payment gateway component 90. The statement gateway component 88 unpackages the file received from the biller and stores the data, template, rules, and resources in a database. The service center 24 uses the template, rules, and resources to create customized billing statements on behalf of the biller, and merges the data with the templates to form billing statements for individual consumers. One example of a billing statement is shown in
The consumers review their bills and determine whether to pay all, part, or none of the bill. The consumer may also elect to submit a challenge or comment on a particular billing item, or on the statement as a whole. The consumer returns whatever payment, along any additional information and the automatically created remittance data, electronically over the Internet to the service center 24.
The service center 24 receives the payment and bundles various payments destined for individual billers into batch disbursements for those billers. The service center disburses to each biller a single settlement transaction listing all payments that are funded from the various consumers. The settlement information contains data on each payment contained in the disbursement batch, such as consumer's name, consumer's account number, payment amount, designated payment date, and so forth. The service center also facilitates payment of funds into the billers'accounts.
For each biller, the payment gateway component 90 at the service center packages the settlement transaction and forwards it back to the corresponding payment gateway component 84 at the BIS gateway 80. The settlement information is stored in a payment/remittance database 92. The BIS 34 has an accounts receivable (A/R) translator 94 and a payment translator 96 to convert the payment and remittance data received from the service center 24 back into a format that is compatible with the biller's legacy accounts receivable system and payment system.
A management console 98 allows an operator to manage the flow of data between the biller and the service center 24. The management console 98 is a software program that interfaces with the BIS gateway 80, the advertising manager 74, the A/R translator 94, and the payment translator 96. The management console 98 supports a graphical user interface (UI) that enables the operator to track the flow of the statement file from the biller to the service center, and to track any return payments received from the service center.
At the end of the billing cycle, the biller batches together the billing data for its consumers and sends it across the network to the service center 24. This billing data can be sent separately to the service center, which then creates billing statements from the data and the template, rules, and resources that are already on file at the service center. Entry 106 indicates that the batch of billing data for the period ending Dec. 1, 1997 is located at the biller and is currently being packaged and sent to the service center. A subsequent entry 108 informs the operator that the Dec. 1, 1997 batch has been received at the service center and is being loaded into the database.
At this point, the billing operator may wish to preview the billing statements prior to allowing the service center to disburse them electronically. The statements contain the newest billing data integrated into the template to create the final bills. The billing operator can preview a statistically significant sample of the bills as they will appear to the consumer. Once the billing operator has approved the statements, the operator sends over an activation command authorizing release of the billing statements. Entry 110 reflects that the status of the Dec. 1,1997 batch has been upgraded to “Activate”. Active statements can be disbursed electronically to the consumers or posted to the Web site.
The UI 100 also tracks receipt of payment at the service center and disbursement to the biller. After consumers begin paying their bills, the service center batches the payments into a single settlement transaction. Entry 112 indicates that a settlement transaction for the previous month's batch is presently located at the biller and is being unpackaged for transfer to the biller's legacy A/R system.
Gateway
The BIS gateway 80 transfers and receives bytes of data using a low level transport mechanism 130. The transport mechanism 130 can be implemented, for example, as a file system or as a message queuing service, such as MS Message Queuing (MSMQ) from Microsoft Corporation. The BIS gateway 80 has a transfer service 132 that provides an API (application program interface) wrapper to the transport mechanism. The transfer service 132 abstracts out the underlying transport mechanism 130 so that the data can be suitably transferred over the network using different mechanisms. The transfer service 132 includes APIs that permit the billing data to be saved to a file and copied from the BIS to the service center using conventional file system procedures. The transfer system 132 might also include an API that packets the billing data into individual messages that are sent over the network to the service center.
The BIS gateway 80 has a parcel manager 134 to transfer billing data and other information from the BIS-to the service center. The parcel manager transfers the data in “parcels”. The parcel manager 134 is responsible for reliably transferring parcels from the BIS 34 to the service center and tracking the parcels as they go from computer to computer. It is this tracking function that enables the management console UI 100 to show the location and status of particular parcels. The parcel manager 134 is described below in more detail with reference to
Atop the parcel manager 134 are a set of handlers that collectively form an enterprise interface into the parcel manager. The interface handlers handle requests to create different types of parcels, depending upon the type of information being transferred to the service center. The enterprise interface handlers include a consumer information handler 136, a payment handler 138, a batch handler 140, and a template handler 142. The handlers facilitate creation of particularized parcels for shipment to the service center. For instance, the batch handler 140 facilitates creation of statement batch parcel to be transferred to the service center. The handlers 136-142 are preferably implemented as COM (component object model) objects and are called via a set of enterprise integration APIs.
The BIS 34 has a database 144 to store the billing statement data 60 and the payment/remittance information 92, as well as other billing-related information such as the template versions 64. The database 144 correlates the billing data and payment/remittance information through a set of relational tables with columns for the biller, biller ID, consumer, consumer account, payment amount, amount paid, due date, date paid, any challenges, and so forth. The database 144 is preferably implemented using relational database software, such as SQL Server from Microsoft Corporation.
The service center gateway 86 has essentially the same modules, including a transport mechanism 150, a transfer system 152, a parcel manager 154, a consumer information handler 156, a payment handler 158, a batch handler 160, and a template handler 162. The service center gateway 86 is coupled to a database 164, which stores such data as consumer records 166 (account number, name, address, telephone number, etc.), biller records 168 (biller ID, biller address, biller account, biller bank ID, etc.), statement data 170, payment instructions/remittance information 172, and event information 174.
This latter data category—event information—includes the information used to track progress of individual billing statements and payments thereto as they work their way through the entire bill distribution, presentment, and payment process. Each step along the way is marked as an event. For instance, one event occurs when the biller sends the statement data to the service center. Another event occurs when the data is loaded into the statement database 170. Another event occurs when the biller activates the statement data. Another event occurs when the billing statements are disbursed to consumers. Another event occurs when a payment instruction is received from the consumer. Operators at the service center or biller use the events stored in the events database 174 to track the location and status of particular billing statements or payments.
As an example, the biller computing system 180 is implemented as a conventional personal computer (PC) or workstation, or a cluster of PCs, which are configured to run the Windows NT server operating system from Microsoft Corporation. Alternatively, the biller computing system might be implemented as UNIX-based computers or as mainframe computers.
The BIS 34 is implemented as software modules stored in program memory 192. The modules—billing data translator module 28, statement designer module 62, rules manager module 66, resource manager module 70, and advertising manager module 74, management console module 98, accounts receivable translator module 94, payment translator module, and gateway 80—run on the operating system. In a preferred implementation, the resource manager 70 and advertising manager 74 are implemented as HTML development software, such as Visual InterDev from Microsoft Corporation. The statement designer 62 and the rules manager 66 are implemented as extensions of the Visual InterDev software. The billing data 60, templates 64, rules 68, resources 72, advertising information 76, and payment/remittance information 92 are stored in the data memory 186.
Core Tables
With reference again to
The statement table 200 organizes the billing data and information used to generate individual statements. For example, the statement table 200 contains data fields for a biller ID to uniquely identify the particular biller, a statement ID to uniquely identify a statement for a given biller, a batch ID to identify the batch of billing data, a consumer ID to uniquely identify a consumer, a date on which the billing period begins, a date on which the billing period ends, a due date, a statement date, an amount due, a minimum payment due, a previous balance due, a past due amount, and an account number. Instances of the statement table are resident at the biller integration systems at the billers, as represented by table 200 on the biller database 144.
The batch table 202 organizes batches of billing statement data submitted by the billers for use in generating billing statements. The batch table 202 contains, for example, data fields for a biller ID, a batch ID, a template ID to identify which statement template version is to be used for statement creation, and a template rule ID to identify which rules should be applied for this batch of statement data.
The resource table 204 coordinates the resources that are to be included in the batch of billing statements. The resource table 204 includes such data fields as a biller ID, a batch ID, a resource ID to identify the particular resource (e.g., a “repair” control or discount offering), and resource value that specifies an amount level at which the resource should be offered to a consumer. As an example, the biller might stipulate to include a resource that offers a discounted cruise to any consumer who routinely spends $2000 per month.
Biller-Defined Details Tables
The biller-based BIS maintains its own set of tables that are separate from the tables at the service center. As noted above, the BIS 34 also maintains a copy of the statement table 200, which holds the same summary statement data as found at the service center.
The BIS 34 also enables the biller to define one or more details tables 206 in the relational database 144. In this manner, individual billers can tailor a new table to hold billing items that are particular to the biller's business practices. The biller defines the fields and the contents. For instance, a credit card company may want to devise a line item table that itemizes purchases made by the consumer. The line item table may include fields for purchase date, store name, item number, and cost of item.
The biller designs into the template the appropriate links to the custom details tables. The credit card company, for example, constructs a template that requests line items from the line item table for each individual consumer during statement generation. The biller sends the line item table as part of the statement data through the gateways to the service center for storage on the service center database 164. To construct a single consumer's statement on behalf of a particular biller, the service center runs the template with the designated template ID and uses the biller ID, statement ID, and line item ID as keys to the general statement table and line item table.
Industry Schema Tables
The BIS 34 and service center system 24 also support industry schema tables 208, which are tailored to particular industries. Companies within the same industry are expected to collect billing data and other information in many of the same categories. Each industry table 208 contains predefined industry-specific categories that are common across a particular industry.
For instance, many credit card companies might want to have a table dedicated to the item-by-item information that they typically include in a statement. A credit card industry table might hold such industry-specific fields to support this item-by-item presentation, such as categories for purchase date, store name, item number, and cost of item. As another example, many energy companies might want a special table with special fields for energy consumption data, such as previous meter reading, current meter reading, total number of kilowatts, and price per kilowatt.
The industry table 208 provides a default set of categories that the statement designer can use when creating the template. A credit card company, for example, can select from the predefined categories in the credit card industry table when designing the details section of the bill, rather than developing its own set of categories.
The industry table 208 also holds and organizes the billing data fitting the categories therein. When the statement data translator converts the billing data from the legacy billing system into a format for the BIS, the categories of data particularized to the company may be placed in the industry table 208 apart from, or in addition to, the statement table 200.
If the industry table 208 contains all of the fields used by the biller, the biller need not define its own details table 206. Instead, the biller simply invokes the industry table, which can then be used in place of any specially contrived details table. Alternatively, the biller can start with the industry table 208 and add fields to customize the industry table, resulting in a special details table. For example, an energy company that offers a savings plan to keep payments approximately constant in high consumption winter times and low consumption summer times might begin with the energy industry table and add extra fields showing an overage or underage of amount owed as a result of complying with the savings plan. In this manner, the industry schema tables 208 function like form tables that can be opened as used by the biller, or modified as the biller chooses.
Replicas of the industry table 208 and details 206 are maintained at the service center. The BIS transfers the tables as part of the batch process so that the service center has the necessary data to generate billing statements on behalf of the biller.
The categories employed in the industry tables 208 can be revised from time-to-time by the service center to present more tailored versions for industries or to keep up with changing industry requirements. Updated industry tables are conveniently downloaded to the billers to replace out of date versions.
Parcel Manager
The parcel manager 134 tracks and moves data (such as a batch of statements, a template, or a payment information) between the BIS gateway 80 and the service center gateway 86. Multiple instances of the parcel manager can coexist on the same computer and/or at the same site. The parcel manager 134 tracks both the transfer state of the parcel and the state of the contents within the parcel. In one implementation, the parcel manager 134 tracks ten different transfer states:
With respect to the content state, the parcel manager 134 tracks such events as whether the billing data is loaded on the service center database 144, whether a batch of billing data has been processed by the service center, whether the biller has activated the batch, and so forth. The content state is made available to applications interested in a parcel.
The parcel manager 134 enables the capabilities to move a parcel between the BIS and service center and to persistently track all activities associated with the parcel. The parcel manager 134 is fundamentally a wrapper on the transfer service 132 and transport layer 130. However, the parcel manager 134 does not depend specifically on the underlying transport mechanism (e.g., MSMQ or file system). As a result, the actual transport mechanism is abstracted from the parcel manager, enabling the parcel manager to operate with different types of messaging systems.
A parcel is a collection of objects that are sent together as a logical unit. A parcel may consist of multiple parcel components as defined by the application level. Thus a batch consisting of multiple tables would probably be transmitted as a single parcel where each table would be implemented as a parcel component. Through this abstraction, the parcel manager 134 can support many different parcel types and new parcel types.
The parcel manager 134 generates bulletins to provide information about the status and contents of a parcel. Although a parcel is transmitted only once, there may be many bulletins (in both directions) updating the state of the parcel and its contents. Subsequent actions on the parcel data (e.g., a batch is activated, etc.) result in the generation of new bulletins to inform the sending system of status changes. Bulletin contents are defined at the application level and are transmitted on behalf of the application(s) by the parcel manager.
The parcel manager 134 has a parcel manager interface object 224 that provides an interface into the parcel manager and its subordinate objects. Table 1 lists the methods supported by the parcel manager object 224.
The BIS parcel manager 134 has a database object 226 that provides a wrapper to a parcel database 228. The parcel database 228 holds tables used to identify and track parcels as they are created and moved from one machine to another. Each parcel is assigned a unique parcel number upon creation and the parcel number can be used to index the tables. A parcel only travels in one direction from one computer to another. Once the parcel is received and its contents removed, the parcel is removed from the table.
As an exemplary implementation, the parcel database 228 holds six different types of database tables: a parcel table, a bulletin table, a detail message table, a parcel log table, bulletin log table, and a configuration context table. The “parcel” table contains such fields as parcel ID, parcel type, creation date, transfer state, date of transfer state, transfer address, content state, date of content state, sending computer ID, receiving computer ID, and context ID. The “bulletin” table contains such fields as parcel ID, bulletin ID, bulletin creation date, bulletin type, detail type, bulletin transfer state, and date of bulletin transfer state. The “detail message” table contains such fields as bulletin ID, and the actual textual or binary data.
The “parcel log” table contains such fields as parcel ID, event data, type, and state. The “bulletin log” table contains such fields as parcel ID, bulleting creation date, event date, and bulletin transfer state. The “configuration context” table contains such fields as context ID, parcel type, context type, sending channel, receiving channel, and BIS master channel.
When an application desires to create a parcel, it calls CreateNewParcel at the parcel manager interface 224. A parcel object 230 is created as a result. The parcel object is used for multiple purposes, including:
Tables 2-4 list the properties, methods, and internal methods of the parcel object 230, respectively.
With continuing reference to
The parcel manager 134 has a bulletin object 234, which is the application-level object used to send update information about a parcel. If the update is small, such as a status update or a simple text message (e.g., “The data was successfully processed”), only the bulletin is sent. If more information is required, an extra detail component is created to support arbitrarily large size binary or text messages. The properties, methods, and internal methods of the bulletin object 234 are found in Tables 5, 6, and 7, respectively.
A log entry object 236 that is called to log the activity of the parcel manager 134. Each log entry contains an object ID (e.g., parcel, bulletin), a log sequence number, a date, a type of object, and a state of the object.
The parcel manager also has a notification object 238, which is created in response to an application's request. The notification object 238 supports event notifications. An application implements a notification interface and invokes the StartNotification method at the parcel manager interface 224 (see Table. 1) to pass the interface to the notification object 238, along with a list of which events are to receive notifications. In this implementation, the notification object 238 does not actually seek out information, but instead waits until parcels call its ParcelUpdate method (Table 8 below) and in turn calls the appropriate interface methods of the applications that have asked for events.
The notification object 238 creates a monitor object 240 and calls its AddChannel method (Table 10 below) for each queue that an application has chosen to monitor. In this way, the notification object 238 will get informed of new parcel arrivals.
The methods and notification interface for the notification object 238 are found in Tables 8 and 9 below:
The monitor object 240 checks the transfer services channels for new items in the channel. When the monitor object 240 is running (i.e., StartMonitor has been called) and finds a new parcel, it internally adds that parcel to a list of parcels to watch. When a trailer is found for that parcel, a parcel object is created for it, the trailer information is added to the parcel database, and the watch is terminated. Table 10 lists the methods supported by the monitor object 240.
A configuration context object 242 is created by the parcel manager interface 224 to retrieve and manage configuration context records. These records store information about a specific channel (MSMQ queue or file system directory). The primary index is the context id, and each context id may be partitioned by parcel type, thus allowing separate channels (and potentially separate channel access and security) for different parcels.
Transfer Services
The transfer service 132 facilitates the physical movement of data.
The transfer service 132 has three objects: a transfer services object 244, a send stream object 246, and a receive stream object 248. The transfer services object 244 is the wrapper around the transport mechanism (e.g., MSMQ or file system). Tables 11 and 12 define the properties and methods of the transfer services object 244.
The send stream object 246 is used to send a group of data messages, such as a group of parcel components. The data stream consists of a header message, one or more data messages, and a trailer message. The messages can be created in any order, but the receiver will not recognize the stream until the header message has been sent. The trailer message is preferably sent last. The properties and methods of the send stream object 246 are provided in Tables 13 and 14.
The receive stream object 248 supports retrieving a series of messages from a queue. The object uses transactioning to protect retrieval. If retrieval fails, the entire retrieval is rolled back so that it may be attempted again. Tables 15 and 16 define the properties and methods of the receive stream object 248.
Parcel Flow
In general, a parcel flows from a sending computer (e.g., the biller's BIS) to a receiving computer (e.g., service center). The sending computer creates a parcel of data (such as a template or a batch of payments) and sends it to the receiving computer. The receiving computer receives the parcel and processes it. Upon completion, the receiving application sends a bulletin back to the sender consisting of processing status.
At step 250, an application 220 running on the sending computer creates a parcel. The application instantiates a parcel manager object, and requests a new parcel object 230. For each piece to be transferred, the application asks the parcel is object 230 to create a parcel component 232 and feeds the component the appropriate data. The contents and layout of the parcel are defined by the application. After all components have been created, the application 220 commits the parcel and terminates (or starts work on a new parcel).
At step 252, the parcel manager 134 begins the parcel transfer from the sending computer (e.g., BIS) to the receiving computer (e.g., service center). The parcel manager, with assistance from the transfer services 132, creates a “header” message that contains information to prepare the receiving computer (or instance of the parcel manager running thereon) to receive the parcel. The sending parcel manager converts the parcel components into a series of messages (e.g., MSMQ messages) and then creates a “trailer” message to inform the receiving computer that all of the parcel components have been sent. The parcel manager monitors the MSMQ activity and updates the internal database 228 to reflect that the parcel is being transferred to the receiving computer. The sending parcel manager may also return notifications to the application reflecting the current status.
At step 254, the parcel manager at the receiving computer begins receiving the parcel. The receiving parcel manager creates a new parcel entry in its internal database 228 from the information contained in the parcel “header” message. The receiving parcel manager propagates information about the existence of the parcel by adding a record to the parcel database. When the parcel has completely arrived, the parcel manager updates its database tables and generates a notification 238 to all applications that are monitoring the arrival of that particular parcel type.
At step 256, after the entire parcel is received and stored, a receiving application executing at the receiving site begins processing the parcel. The receiving application instantiates a parcel manager object and continuously or periodically checks for parcels of a certain type and of a certain state. When a parcel that meets the filter requirements is present, the application asks for the parcel and “locks” the parcel via the parcel status in the database so that no other application may retrieve the parcel contents. The application then queries the parcel object for components and retrieves each component. Upon successful retrieval of all components, the parcel manager deletes the series of messages from the transfer message queues. Upon completion, the receiving application asks the parcel manager for notifications whenever a new parcel of the specified type arrives on its queue.
At step 258, the parcel manager at the receiving computer creates one or more bulletins 234 to notify the sending computer that the parcel has been successfully transferred. More particularly, an application asks the parcel manager for the parcel object and creates a bulletin for the parcel. The application provides bulletin information such as a content state to the bulletin object 234. The application optionally generates either a text or binary data message. A textual message can be examined via the operations console. The application commits the bulletin.
At step 260, the parcel manager at the receiving computer (e.g., service center) transmits a bulletin back to the sending computer. The process is very similar to transferring a parcel. The parcel manager chooses a queue to send the bulletin. The parcel manager then generates a header message containing a “processing complete” transfer state. The parcel manager generates a data message containing the specifics of the bulletin, including any text or binary data. The parcel manager commits the data and updates the appropriate internal database tables to reflect that the bulletin has been sent to the sending computer. The parcel manager monitors MSMQ activity about the series of messages through callback functions, updating its internal database and sending out notifications to requesting applications.
At step 262, the sending computer (e.g., BIS) receives the incoming bulletin and routes it to the proper instance of the parcel manager. A parcel table stored in the parcel database 228 at the sending computer track parcels that have originated from that computer. If the parcel does not exist at the system, there is a likelihood that the system has experienced some kind of failure and hence the computer uses the header information to recreate the appropriate parcel table entry. Once selected, the parcel manager updates its internal database tables and loads the data into the details table in the parcel database 228. The parcel manager deletes the queued message and sends out notifications 238 to anyone monitoring bulletins on that particular parcel.
At step 264, the management console presents the bulletin contents through the UI (
When a notification arrives, the management console asks for a parcel object for the changed parcel and updates the UI screen based on the state of the parcel and its contents. More particularly, the management console module adds a new entry to the list (such as entries 104-112 in
Operation of BIS and Service Center Gateways
During a normal billing cycle, the biller sends a batch of billing data to the service center. The biller may also submit a template, rules, and resources if the service center does not already have them on file. The service center creates billing statements from the billing data and templates, and distributes them to consumers. When a consumer authorizes payment, the service center facilitates collection of the funds. The service center then disburses the collected payments to the biller. To illustrate how the gateways operate to transfer billing-related data, two exemplary tasks are described below.
Exemplary Task 1:
If the template contains industry schema, the BIS gateway validates this schema (step 274). The BIS gateway assigns a template ID to the newly created template (step 276). The template ID is recorded in the BIS database 144.
The statement designer application 62 calls via the template handler 142 into the parcel manager interface 224 to create a template parcel (step 276). The template parcel 230 contains the following information: biller ID, template ID, industry schema ID, and template name. The parcel is sent to the service center during the next connection with the service center (step 278). The service center processes the template parcel and adds a record to the template table (step 280). The service center's parcel manager generates and returns a bulletin indicating that the template has been received and installed at the service center (step 282).
Exemplary Task 2:
The BIS gateway assigns a batch ID to the statement batch and a statement ID to each statement in the batch (step 298). The statement data translator 28 calls via the batch handler 140 into the parcel manager interface 224 to create a statement batch parcel (step 300). The batch parcel contains the following information: biller ID, batch ID, template ID, template rule ID, resource table records, statement table records, and industry table records. The batch parcel is sent to the service center during the next connection with the service center (step 302). The service center processes the batch parcel and loads the data into the service center database (step 304). The service center's parcel manager generates and returns a bulletin indicating that the batch has been received and loaded at the service center (step 306).
Other tasks in addition to handling the template and billing data include processing the payment receipt and exchanging consumer information (e.g., new registration, change of address, etc.). These tasks function similarly in that the BIS or service center create parcel objects and use the parcel manager to exchange the information. For each separate task, however, the BIS calls into the parcel manager using a handler for that task, such as the consumer information handler 136 and the payment handler 138.
Although the invention has been described in language specific to structural features and/or methodological steps, it is to be understood that the invention defined in the appended claims is not necessarily limited to the specific features or steps described. Rather, the specific features and steps are disclosed as exemplary forms of implementing the claimed invention.
The present application claims priority under 35 U.S.C. §120 as a divisional of U.S. patent application Ser. No. 09/093,958, filed Jun. 6, 1998, titled “Parcel Manager for Distributed Electronic Billing System”, Attorney Docket Number MS1-230US, which is hereby incorporated by reference in its entirety.
Number | Date | Country | |
---|---|---|---|
Parent | 09093958 | Jun 1998 | US |
Child | 11115470 | Apr 2005 | US |