IBM® is a registered trademark of International Business Machines Corporation, Armonk, N.Y., U.S.A. Other names used herein may be registered trademarks, trademarks or product names of International Business Machines Corporation or other companies.
1. Field of the Invention
This invention relates generally to software that manages information transfer and interaction, and more particularly to providing a method, article, and system for utilizing “Forms” in a User2User (U2U) environment, such as instant messaging (IM). A “Container Aware Form” (CAF) is provided and embedded within the U2U mode, where the “Form” is aware of the endpoint container in which the user views them.
2. Description of the Related Art
“Forms” are a common and efficient method of automatically performing organized actions and efficiently transferring structured information. Up to now they have been used in a client/server environment, with a user interacting with an application, workflow, manager, or other non-human automation.
Common software currently available for the client/server environment include the Xforms standard, Adobe® LiveCycle™ Forms, Microsoft® InfoPath 2003™, and Lotus Notes™ with Lotus Script™ automated documents
However none of these software solutions provide a “User2User” (U2U) means of orchestrating action and transferring structured information. One of the growing U2U paradigms today is that of “Instant Messaging” (IM) and hence a need for “Forms” which can operate in this U2U mode that is to say they are aware of the endpoint container in which a user views them.
The present invention is directed to addressing, or at least reducing, the effects of, one or more of the problems set forth above, by providing a method, article, and system for utilizing “Forms” in a User2User (U2U) environment, such as instant messaging (IM). A “Container Aware Form” (CAF) is provided and embedded within the U2U mode, where the “Form” is aware of the endpoint container in which the user views them.
Embodiments of the present invention comprise a method for managing information transfer and interaction in a system utilizing Container Aware Forms (CAF) in a User2User (U2U) environment, where the system comprises: software; user interfaces; and at least one network. The users within the system are both senders and receivers of the information. The CAF is implemented in software, with the CAF embedded in the U2U environment. The CAF is aware of the endpoint container used in the user interface in which the user views and interacts with the CAF, and based on the endpoint container the form view format, action, and security will be determined and conveyed to the user. The U2U environment comprises application modes, wherein the application modes further comprise instant messaging (IM). The CAF comprise fields, which determine actions required by the users and the system, wherein the fields vary depending on if it is received in a receiver or a sender's container. The CAF may also comprise fields with an action link. The action link can pre-populated the fields with information from the system; and depending on if the CAF is received in the receiver or the sender's container, the pre-populated fields may or may not be visible to the user. The security based on the container involves the user assigning a signature to the CAF for two-way verification of the CAF flow, which also provides for an audit trail. The CAF can be implemented in software such as Asynchronous JavaScript, XML, and XHTML. The software provides graphical user interfaces (GUIs) that interact with the CAF.
A system for implementing the method of the present invention, as well as, an article comprising one or more machine-readable storage media containing instructions that when executed enable a processor to carry out the method, are also provided.
Additional features and advantages are realized through the techniques of the present invention. Other embodiments and aspects of the invention are described in detail herein and are considered a part of the claimed invention. For a better understanding of the invention with advantages and features, refer to the description and to the drawings.
The subject matter that is regarded as the invention is particularly pointed out and distinctly claimed in the claims at the conclusion of the specification. The foregoing and other objects, features, and advantages of the invention are apparent from the following detailed description taken in conjunction with the accompanying drawings in which:
The detailed description explains the preferred embodiments of the invention, together with advantages and features, by way of example with reference to the drawings.
Embodiments of the present invention provide a method and system for utilizing “Forms” in a User2User (U2U) environment, such as instant messaging (IM). A “Container Aware Form” (CAF) is provided and embedded within the U2U mode, where the “Form” is aware of the endpoint container in which the user views them. In an IM application, the IM can differentiate form view format, action, and security when the same form is displayed in different IM containers. The present invention combines the benefits of U2U instant communication with information automation for all parties involved in an interaction.
The CAF of the present invention allows both the form sender and receiver(s) to see essentially the same form, however if it is desired different fields can be displayed and different actions can be taken within a specific container. For example, pressing the submit button inside the form by the form receiver will submit the data back to the form sender but (after examining the data from the form receiver) clicking the same submit button by the form sender will submit the collected data to a backend application system to process the information.
The present invention allows a form developer to include an action link in the form that is only displayed in the sender's container. What the action link does is to pre-populate some form fields by retrieving those values from a backend application system. When the form is passed to its receiver, the pre-populate link will become invisible to the form receiver. Similarly the developer can include actions in the form which are only visible to the original sender after the receiver has returned the form which may be used to post-populate fields that where invisible to the receiver (for example the directory group name from the verification action in the above scenario).
Another aspect of container aware IM-based form of the present invention is security. The form developer can embed different security actions in the form based on its container. For example, when the sender sends an empty form to the receiver, the sender will sign the control areas of the form. When the receiver sends the form back, the receiver will sign the data fields and senders signature (representing the form structure). This provides a means of two-way verification of the U2U form flow while also creating a meaningful audit trail.
One possible embodiment of the present invention would be an AJAX (Note: AJAX is shorthand for Asynchronous JavaScriptand XML, is a web development technique for creating interactive web applications. The intent is to male web pages feel more responsive by exchanging small amounts of data with the server behind the scenes, so that the entire web page does not have to be reloaded each time the user makes a change. This is meant to increase the web page's interactivity, speed, and usability.) type application running in an IM senders chat container whose scripting can request of the container that the application be “freeze dried” (serialized), transmitted over the IM channel, and “reconstituted” in the receivers chat container. The CAF of this embodiment would then be described in a markup language that has similarity to the way one would describe a scripted form in XHTML. In additional embodiments of the present invention, the CAF can be facilitated with software utilizing document object friendly scripting languages including, but not limited to, JavaScript and VisualBasic.
An example of a U2U information automation scenario employing the present invention is as follows.
Table 1. Provides an example of the button definition code using CAF markup language to implement the user-author interaction of the previous example. The sample definition code illustrates how to define different actions and display styles associated with a button based on its container, owning form token or not, and the form trip counter.
The container aware form language of Section A of Table 1 determines the display attribute of a style element to configure when the button will be displayed, a value of “block” means the button will be displayed, while a value of “none” indicates the button will be hidden. The action element describes the action to be invoked when the button is clicked. The “send” type of an action means the form will be transmitted to the communication partner. The “submit” type means that the form will be submitted to an URL for processing. The token attribute indicates whether a token representing the signature of the IM user is required for true origin verification. A value of “yes” means the token is required with the form. The container field indicates the container in which the action should be activated and performed. The trip-counter element defines the condition in which the action is valid depending on how many times the form has been exchanged between the sender and the receiver. A button is defined with an id and name of “go”, and a display value of “GO”. The button is only visible when its number of trips between the sender and receiver is less than 2 (the default trip-counter of a form is 0). There are two actions associated with the “go” button. One is defined for the sender when the form is first created (trip-counter is 0). When the button is clicked, the form will be sent to the receiver. Another action is defined for the receiver container with the same type of “send” action when the trip-counter is greater than 0.
The container aware form language of Section B of Table 1 defines a “submit” button that will only be displayed when the sender receives the filled form from the receiver (trip-counter is great than 2) with an action of submit the form to an URL for further processing.
The container aware form language of Section C of Table 1 defines a “verify” button that will only be displayed when the sender receives the filled form from the receiver (trip-counter is great than 2) with an action of submit the form to an URL for further processing.
The flow diagrams depicted herein are just examples. There may be many variations to these diagrams or the steps (or operations) described therein without departing from the spirit of the invention. For instance, the steps may be performed in a differing order, or steps may be added, deleted or modified. All of these variations are considered a part of the claimed invention.
While the preferred embodiments to the invention has been described, it will be understood that those skilled in the art, both now and in the future, may make various improvements and enhancements which fall within the scope of the claims which follow. These claims should be construed to maintain the proper protection for the invention first described.