# Patent

## Title
Data communications over voice channel with mobile consumer communications devices

## Abstract

Mobile consumer communications devices can communicate their program application data over the voice channel of a wireless communications network. Structured by a protocol suitable for the voice channel, the data are encoded into tones which are transmitted over the voice channel. A server receives the tones over the voice channel, which are decoded into program application data structured by the protocol, and passed to an enterprise application. The server can respond accordingly over the voice channel.

## Background
CROSS-REFERENCE TO RELATED APPLICATIONS
This patent application claims priority to U.S. Provisional Patent Application Nos. 60/744,013, filed Mar. 30, 2006 and 60/744,930, filed Apr. 15, 2006, which are incorporated by reference along with all other references cited in this application.


BACKGROUND OF THE INVENTION
This invention generally relates to mobile consumer communications devices and, particularly to, program applications which run on the mobile consumer communications device and communicate over the voice channel of the device.
The convenience of wireless communications has made cellular telephones ubiquitous. To take advantage of the popularity of cellular telephones, other mobile electronic devices, such as personal digital assistants (PDAs) and the like, have incorporated wireless communications capabilities so as to blur the definitions of these devices. As described herein, all such devices are referred to as mobile consumer communications devices to avoid confusion. When a particular type of mobile consumer communications devices is intended, then the specific term is used, e.g., cellular telephone, PDA, etc.
In any case, the convenience and functionality of mobile consumer communications devices have encouraged these devices to run more and more program applications. These applications are either standalone applications which are self-contained and do not communicate externally, or networked applications which require communication to other remote applications in order to work properly. Examples of standalone applications include single player games, such as Solitaire, and examples of networked applications include e-mail applications and multi-player games. Networked applications in one device can communicate to applications in other devices (peer communications) or may communicate to a central “server” application (client/server communications).
Mobile consumer communications devices use a variety of modes in data communication channels for networked applications. Among these modes are: IP/HTTP which allows the mobile device to access any Internet-based service, just as any desktop PC can; SMS which allows the mobile device to send/receive short text messages to/from peer human users, as well as to/from enterprise applications; MMS which allows the mobile device to send/receive multi-media messages, such as pictures, video and audio to/from peer human users, as well as to/from enterprise applications; and so forth. However, these data communication modes are distinct from the voice communications mode (i.e., the telephone), the voice channel over which consumers use to talk to others. In fact, the companies which provide the wireless communications, such as Cingular, T-Mobile, Verizon, etc., charge for the data communication services in addition to the cellular telephone services.
The present invention provides for a way for users to run networked applications on mobile consumer communications devices over the voice channel of the device. This not only allows users the benefits of networked application on mobile consumer communications devices with only voice service, but also gives mobile consumer communications devices with access to a data communications channel another pathway for networked applications.



BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a block diagram representation of the voice channel communication between a mobile consumer communications device and a network server, according to one embodiment of the present invention.



DETAILED DESCRIPTION OF EMBODIMENTS OF THE INVENTION
Mobile consumer communications devices, such as cellular telephones, ordinarily use a voice channel to transmit and receive voices. The present invention provides a way for program applications to communicate their data over the voice channel of mobile consumer communications devices.
The present invention permits applications which may be created on any number of programming platforms/runtimes for mobile applications to be networked by the voice channel of the host mobile consumer communications device. Example platforms include BREW (Binary Runtime Environment for Wireless) developed by Qualcomm, Inc. of San Diego, Calif. to provide a standard set of application-programming interfaces for developers to easily add new features and applications to Qualcomm-based wireless hardware, i.e., handsets equipped with CDMA chipsets; J2ME (Java 2 Mobile Edition), a Java-based technology for mobile systems from Sun Microsystems, Inc. of Santa Clara, Calif.; .NET from Microsoft, Inc. of Redmond, Wash. to provide a software development platform for the Windows operating system and uses XML (eXtended Markup Language); Symbian, a platform designed for mobile devices from a joint venture of many companies, including L.M. Ericsson of Stockholm Sweden, and Nokia Corp. of Espoo, Finland. Of course, other programming, platforms/runtimes may be used.
FIG. 1 illustrates an arrangement by which data is transmitted over a voice channel of a wireless communications network, according to one embodiment of the present invention. An example mobile consumer communications device 10, e.g., a cellular telephone, PDA and the like, communicates over a voice channel 11 of the wireless communications network. Ordinarily these communications are conversations. An API (Application Program Interface) 23 allows the data from a mobile application, i.e., the host client application 21, implemented in a platform/runtime described above to communicate over the voice channel 11 to a server system 12. The API 23 encodes the data in tones for transmission over the voice channel 11. In this example, the long-standing DTMF (Dual Tone Multi-Frequency) is used, but other encoding suitable for the voice channel can be used.
With DTMF tones being received, the server 12 across the wireless communications network engages IVR (Interactive Voice Response) unit 26 to decode the tones. IVR can send and receive DTMF tones (sometimes called “touch tones”) and is found in many current automatic telephone answering systems. It allows a computer to automatically interact with a human using Voice Recognition, Audio Playback, Text-To-Speech (TTS) and DTMF technologies. An IVR “Plug-in” 24 is an IVR-adapted API to place the data into a proper form for an application 22 in the server 12. This allows the application 21 hosted in the mobile consumer communications device 10 to communicate with the enterprise application 22 hosted in the server 12 over the voice channel 11. Data signals travel in both directions between the two applications 21 and 22. Communications simply between the mobile consumer communications device 10 and the server 12 are examples of client/server communications over the voice channel. On the other hand, the operation of the server application 22 might be to simply relay the data from the mobile consumer communications device 10 to another mobile consumer communications device. This is an example of peer communications over the voice channel.
The API in an embodiment of the present invention, e.g., the APIs 23 and 24 of FIG. 1, is based upon a simple “sendRequest( )”/processRequest( )” model with well-known request/response data structures on both the client and server sides. The APIs 23 and 24 are a paired set of client and server APIs which mobile application and enterprise server developers use to build a complete client/server application. Voice data processing software (i.e. library components) on both the client (mobile consumer communications device) and server sides implement voice data processing algorithms for data communication across the voice channel. These algorithms are, of course, distinct from the particular client/server applications 21 and 23.
An example of an API is as follows:
SendRequest( ) Client Function:
This is the single API interface that a mobile client application uses in order to send a request/data to an enterprise server application.
Input: A Request structure
Output: A Response structure
ProcessRequest( ) Server Function:
This is the single API interface that the enterprise server application implements in order to process a calling mobile client's request. The processing logic is completely the responsibility of the “host” enterprise application and it is also the responsibility of the host enterprise application to assemble the response data that will be returned to the calling mobile client.
Input: A Request structure
Output: A Response structure
Request Structure:
CommandID—A numeric value which uniquely represents a command (and associated parameter data) that is understood by both the host client and server applications.
ServerAddress—A numeric value which represents a “phone number” that will be used in order to “dial” a voice call which will reach the server IVR component which “front ends” the target enterprise service.
ParameterData—An array of ParameterData that is associated to “this” CommandID request.
Response Structure:
ResponseID—A numeric value which uniquely represents a response (and associated parameter data) that is understood by both the host client and server applications.
ParameterData—An array of ParameterData that is associated to “this” ResponseID result.
ParameterData Structure:
ParameterID—A numeric value which uniquely represents a parameter within a given CommandID and is understood by both the host client and server applications.
ParameterType—A numeric value with the following settings:

    
    
        1—numeric
        2—alpha
        . . . other types
    
    


ParameterValue—The actual value of the parameter
Encoding/Decoding
As mentioned above, an API can use different encoding/decoding algorithms, according to the present invention. The following is one example for encoding with DTMF. These rules of DTMF encoding are based on commonly accepted rules of entering numbers and letters using the keypad labeling found on telephones:

    
    
        A. All data elements are ultimately encoded as a number.
        B. Each complete data element ends with a ‘#’ code.
        C. Number data elements use their associated DTMF numbers.
        D. Number data elements are sent as unbroken sequence.
        E. Each complete number data element sequence ends with a ‘#’ code.
        F. Alpha data elements are broken up into individual character elements.
        G. Individual alpha character elements are encoded using the following scheme:
        
            ‘A’=2
            ‘B’=22
            ‘C’=222
            ‘D’=3
            ‘E’=33
            ‘F’=333
            . . . and so on using standard DTMF alpha encoding rules.
        
        
        H. Individual alpha character elements end with ‘#’ code.
        I. Each complete alpha data element ends with a ‘#’ code.
        J. Each complete request/response structure ends with a ‘#’ code.
    
    


The encoding example above shows numeric and upper case alphabetic characters specifically. However, encoding for lower case and special characters can be made as well.
Hence the elements of the API described above provide a protocol by which data from program applications can communicate over the voice channel of mobile consumer communications devices.
Examples of Voice Channel Data Applications
One example of an application is simple text messaging through the voice channel, rather than through a data channel as done conventionally. The application 21 hosted by the mobile consumer communications device 10 of FIG. 1, for instance, sends alphanumeric signals with an identification of the recipient, e.g., a telephone number, across the voice channel 11. The enterprise application 22 in the server 12 simply relays the alphanumeric signals to the designated recipient across another voice channel. Of course, it is assumed that the recipient also has the described capabilities of receiving and sending data across a voice channel.
A more complex example of a networked application which more fully utilizes the particular API features described above is a mobile payment functionality for mobile consumers. All required client/server data communications are performed via a voice channel “phone call.” In this application example, the mobile consumers are assumed to have mobile consumer communications devices which are capable of running a mobile payment application and the consumer's mobile service plan allows voice calls only. A “source” consumer wants to send money from his or her mobile account to a friend's (“target” consumer) mobile account. Both the source and target consumers are “signed up” for the service that the enterprise server application provides. The enterprise server application provides a web service API which transfers funds from a source account to a target account.
The commands in this example are payRequest, represented by CommandID 1, and payResponse, represented as CommandID 2. The parameter data structures are defined in the two tables below:







TABLE 1







payRequest Parameter Data Definition:












Data



Parameter Name
Parameter Description
Type
ParameterID





sourceAccountNumber
Account number of the
1 -
1



consumer that is send-
numeric



ing the money


sourcePIN
Authentication data of
1 -
2



the consumer sending
numeric



the money


payAmount
Amount of money the
1 -
3



source consumer wants
numeric



to send to the target



consumer


targetAccountNumber
Account number of the
1 -
4



consumer that the money
numeric



is being sent to


payMessage
A message that the
2 -
5



source consumer wants
alpha



to attach to this



transaction (i.e. a



memo)
















TABLE 2







payResponse Parameter Data Definition:












Data



Parameter Name
Parameter Description
Type
ParameterID





status
Status of the transaction.
1 -
6



0 means success, 1 means
numeric



failure.


transactionNumber
Unique transaction number
1 -
7



associated to this request
numeric









Now for the source consumer to pay a target consumer, the following operations and interactions occur:

    1. The host mobile client application interacts with the source consumer and gathers the following data:
    
        a. sourceAccountNumber—‘123456789’
        b. sourcePIN—‘4321’
        c. payAmount—‘15’
        d. sourceAccountNumber—‘987654321’
        e. payMessage—‘THANKS’
    
    
    2. The host mobile client application “knows” the following data as a result of context and configuration:
    
        a. commandID—‘1’ (i.e. payRequest)
        b. serverAddress—‘8885551212’ (i.e. the “phone number” of the enterprise application's IVR component)
    
    
    3. The host mobile application assembles the following data structures:
    
        a. ParameterData[1]
        
            i. ParameterID=1
            ii. ParameterType=1
            iii. ParameterValue=‘123456789’
        
        
        b. ParameterData[2]
        
            i. ParameterID=2
            ii. ParameterType=1
            iii. ParameterValue=‘4321’
        
        
        c. ParameterData[3]
        
            i. ParameterID=3
            ii. ParameterType=1
            iii. ParameterValue=‘15’
        
        
        d. ParameterData[4]
        
            i. ParameterID=4
            ii. ParameterType=1
            iii. ParameterValue=‘987654321’
        
        
        e. ParameterData[5]
        
            i. ParameterID=5
            ii. ParameterType=2
            iii. ParameterValue=‘Thanks’
        
        
        f. Request
        
            i. commandID=1
            ii. serverAddress=‘8885551212’
            iii. parameterData=5 element ParameterData array from above
        
        
    
    
    4. The mobile application then calls the SendRequest( ) API using the above Request structure data. Control now passes to the client API.
    5. The client API now performs the encode algorithm and converts the Request structure into the following text string:

1#1#1#123456789#2#1#4321#3#1#15#4#1#987654321#5#2#8#44#2#66#55#7777###

Applying the above rules to the encoded example above, the following is seen:
    
        A. The leading ‘1#’ means ‘CommandID 1’ which is known to be a “payRequest” command
        B. The following ‘1#’ means ‘ParameterID 1’ which is known to be a “sourceAccountNumber” parameter.
        C. The following ‘1#’ means ‘AMD parameter type 1’ which is known to be “numeric”.
        D. The following ‘123456789#’ means that the sourceAccountNumber value is ‘123456789’.
        E. . . . and so on for the numeric parameter types
        F. The trailing ‘8#44#2#66#55#7777##’ is the DTMF alpha encoding for the word “THANKS”. The last ‘#’ indicates a complete alpha data element sequence.
        G. The final ‘#’ indicates the end of the complete request/response data.
    
    


Returning to the operations of the example application,

    6. The API then dials the indicated server “phone number” (i.e. ‘8885551212’) and initiates a voice call.
    7. The server IVR component “picks up” and waits for the encoded DTMF request data.
    8. The client API then transmits the entire above encoded DTMF request.
    9. When the final # is received, the server IVR “plugin” component begins decoding the encoded DTMF request data. To do this, the IVR “plugin” uses the inverse of the encoding rules presented above.
    10. The IVR “plugin” has now assembled an exact duplicate of the client's Request structure, only now on the server side memory space.
    11. The IVR “plugin” now invokes the enterprise server application via the ProcessRequest( ) interface which the enterprise server application has implement.
    12. The enterprise server application processes the request accordingly.
    13. The enterprise server application then assembles an Response structure just as the mobile client application assembled the Request structure.
    14. The enterprise server application returns the Response structure and control to the IVR plugin.
    15. The IVR plugin then encodes the Response structure as described above (i.e., in this case with the status and transactionNumber data elements).
    16. The IVR transmits the encoded DTMF response data to the mobile client application API.
    17. The mobile client application API decodes the encoded DTMF response data into a client side Response structure using the decoding rules described above (i.e. in this case into an Response structure).
    18. The API returns the Response structure and control to the host client mobile application.
    19. The host client mobile application regains control, has access to the server Response structure and continues processing.


Hence the present invention provides for program applications to communicate over the voice channel of mobile consumer communications devices. As mentioned earlier, encoding different from DTMF might be selected to speed the transmission of data across the voice channel. Such encoding might depend upon the particular application on the host mobile consumer communications device and corresponding enterprise server.
U.S. patent application Ser. No. 11/694,747, filed Mar. 30, 2007, is incorporated by reference and discusses a mobile person-to-person payment system. Furthermore, for mobile consumer communications devices which use an IM (Identification Module) for the wireless communications network, U.S. patent Ser. No. 11/694,906, entitled, “Programmable Functionalities For Mobile Consumer Communications Devices With Identification-Modules,” filed on even date by the present inventor and incorporated herein by reference for all purposes, describes a technology by which embodiments of the present invention might be incorporated into such devices. That is, such mobile consumer communications devices could be adapted to communicate program application data across the voice channel, rather than the data channel, of the wireless communications network.
This description of the invention has been presented for the purposes of illustration and description. It is not intended to be exhaustive or to limit the invention to the precise form described, and many modifications and variations are possible in light of the teaching above. The embodiments were chosen and described in order to best explain the principles of the invention and its practical applications. This description will enable others skilled in the art to best utilize and practice the invention in various embodiments and with various modifications as are suited to a particular use. The scope of the invention is defined by the following claims.

## Claims

1. A method of operating a mobile consumer communications device communicating over a wireless communications network, comprising the steps of:
receiving program application data to be transmitted over a wireless communications network, the program application data structured by a protocol;
encoding the program application data into tones for a voice channel of said wireless communications network, the program application data structured by a protocol adapted to be decoded by interactive voice response; and
transmitting said tones over said voice channel.

2. The method of claim 1 wherein the program application data comprises a first group of transaction information provided by a user comprising at least a transaction amount and an additional group of transaction information based on context and the configuration of the mobile device, the encoding step comprises assembling a plurality of data structures representative of the transaction information into a text string, and the transmitting step comprises initiating a voice call and wirelessly transmitting the text string over said voice channel.

3. A method for managing transactions over a wireless communications network comprising the steps of
gathering, via a client application running on a mobile device, a first group of transaction information provided by a user comprising at least transaction amount,
determining, based on context and configuration of the mobile device, an additional group of transaction information,
assembling a plurality of data structures representative of the transaction information,
converting, in accordance with an encoding algorithm, the plurality of data structures into a text string,
initiating a voice call, and
wirelessly transmitting the text string to a remote server.