The foregoing aspects and many of the attendant advantages of this invention will become more readily appreciated as the same become better understood by reference to the following detailed description, when taken in conjunction with the accompanying drawings, wherein:
Generally described, the present invention relates to a method and system for processing contextual information according to a set of rules individually defined for a recipient computing device over a VoIP communication channel. More specifically, the present invention relates to a method and system for processing received contextual information based on a set of rules that has been defined for a specific computing device of a VoIP client, a service provider, etc. Contextual information is defined by corresponding “structured hierarchies” to be communicated. “Structured hierarchies,” as used herein, are predefined organizational structures for arranging contextual information to be exchanged between two or more VoIP devices. For example, structured hierarchies may be eXtensible Markup Language (XML) namespaces. Further, a VoIP conversation includes one or more data streams of information related to a conversation, such as contextual information and voice/multimedia information, exchanged over a conversation channel. Although the present invention will be described with relation to illustrative structured hierarchies and an IP telephony environment with an emphasis on voice communication, one skilled in the relevant art will appreciate that the disclosed embodiments are illustrative in nature and should not be construed as limiting.
With reference to
Generally described, the IP telephony environment 100 may include an IP data network 108 such as the Internet, an intranet network, a wide area network (WAN), a local area network (LAN), and the like. The IP telephony environment 100 may further include VoIP service providers 126, 132 providing VoIP services to VoIP clients 124, 125, 134. A VoIP call conversation may be exchanged as a stream of data packets corresponding to voice information, media information, and/or contextual information. As will be discussed in greater detail below, the contextual information includes metadata (information of information) relating to the VoIP conversation, the devices being used in the conversation, the contact point of the connected VoIP clients, and/or individuals that are identified by the contact point (e.g., employees of a company).
The IP telephony environment 100 may also include third party VoIP service providers 140. The VoIP service providers 126, 132, 140 may provide various calling features, such as incoming call-filtering, text data, voice and media data integration, and the integrated data transmission as part of a VoIP call conversation. VoIP clients 104, 124, 125, 134 may create, maintain, and provide information relating to predetermined priorities for incoming calls.
VoIP service providers 132 may be coupled to a private network such as a company LAN 136, providing IP telephone services (e.g., internal calls within the private network, external calls outside of the private network, and the like) and multimedia data services to several VoIP clients 134 communicatively connected to the company LAN 136. Similarly, VoIP service providers, such as VoIP service provider 126, may be coupled to Internet Service Provider (ISP) 122, providing IP telephone services and VoIP services for clients of the ISP 122.
In one embodiment, one or more ISPs 106, 122 may be configured to provide Internet access to VoIP clients 104, 124, 125 so that the VoIP clients 104, 124, 125 can maintain conversation channels established over the Internet. The VoIP clients 104, 124, 125 connected to the ISP 106, 122 may use wired and/or wireless communication lines. Further, each VoIP client 104, 124, 125, 134 can communicate with Plain Old Telephone Service (POTS) 115 via PSTN 112, or Private Branch exchange (PBX) 113. A PSTN interface 114 such as a PSTN gateway may provide access between POTS/PSTN and the IP data network 108. The PSTN interface 114 may translate VoIP data packets into circuit switched voice traffic for PSTN and vice versa. The PSTN 112 may include a land line device 116, a mobile device 117, and the like.
Conventional voice devices, such as land line 116, may request a connection with the VoIP client based on the unique VoIP identifier of that client, and the appropriate VoIP device associated with the VoIP client will be used to establish a connection. In one example, an individual associated with the VoIP client may specify which devices are to be used in connecting a call based on a variety of conditions (e.g., connection based on the calling party, the time of day, etc.).
It is understood that the above-mentioned configuration in the environment 100 is merely exemplary. It will be appreciated by one of ordinary skill in the art that any suitable configurations with various VoIP entities can be part of the environment 100. For example, VoIP clients 134 coupled to LAN 136 may be able to communicate with other VoIP clients 104, 124, 125, 134 with or without VoIP service providers 132 or ISP 106, 122. Further, an ISP 106, 122 can also provide VoIP services to its client.
Referring now to
The unique VoIP identifier may be used similar to a telephone number in PSTN. However, instead of dialing a typical telephone number to ring a specific PSTN device, such as a home phone, the unique VoIP identifier is used to reach a contact point, such as an individual or company, which is associated with the VoIP client. Based on the arrangement of the client, the appropriate device(s) will be connected to reach the contact point. In one embodiment, each VoIP device included in the VoIP client may also have its own physical address in the network or a unique device number. For example, if an individual makes a phone call to a POTS client using a personal computer (VoIP device), the VoIP client identification number in conjunction with an IP address of the personal computer will eventually be converted into a telephone number recognizable in PSTN.
The multimedia input/output component 302 may be configured to input and/or output multimedia data (including audio, video, and the like), user biometrics, text, application file data, etc. The multimedia input/output component 302 may include any suitable user input/output components such as a microphone, a video camera, a display screen, a keyboard, user biometric recognition devices, and the like. The multimedia input/output component 302 may also receive and transmit multimedia data via the network interface component 304. The network interface component 304 may support interfaces such as Ethernet interfaces, frame relay interfaces, cable interfaces, DSL interfaces, token ring interfaces, radio frequency (air interfaces), and the like. The VoIP device 300 may comprise a hardware component 306 including permanent and/or removable storage such as read-only memory devices (ROM), random access memory (RAM), hard drives, optical drives, and the like. The storage may be configured to store program instructions for controlling the operation of an operating system and/or one or more applications and to store contextual information related to individuals (e.g., voice profiles, user biometrics information, etc.) associated with the VoIP client in which the device is included. In one embodiment, the hardware component 306 may include a VoIP interface card which allows a non-VoIP client device to transmit and receive a VoIP conversation.
The device 300 may further include a software application component (software) 310 for the operation of the device 300 and a VoIP Service application component 308 for supporting various VoIP services. The VoIP service application component 308 may include applications such as data packet assembler/disassembler applications, a structured hierarchy parsing application, audio Coder/Decoder (CODEC), video CODEC and other suitable applications for providing VoIP services. The CODEC may use voice profiles to filter and improve incoming audio.
With reference to
There is a variety of protocols that may be selected for use in exchanging information between VoIP clients, VoIP devices, and/or VoIP service providers. For example, when Session Initiation Protocol (SIP) is selected for a signaling protocol, session control information and messages will be exchanged over a SIP signaling path/channel and media streams will be exchanged over Real-Time Transport Protocol (RTP) path/channel. For the purpose of discussion, a communication channel, as used herein, generally refers to any type of data or signal exchange path/channel. Thus, it will be appreciated that, depending on the protocol, a connection set-up phase and a connection termination phase may require additional steps in the conversation flow 400.
For ease of explanation, we will utilize the example in which the first VoIP client 406 and the second VoIP client 408 each include only one VoIP device. Accordingly, the discussion provided herein will refer to connection of the two VoIP devices. The individual using the device of the first VoIP client 406 may select or enter the unique identifier of the client that is to be called. Provider 1402 receives the request from the device of the first VoIP client 408 and determines a terminating service provider (e.g., Provider 2404 of the second VoIP client 408) based on the unique client identifier included in the request. The request is then forwarded to Provider 2404. This call initiation will be forwarded to the device of the second VoIP client. A conversation channel between the device of the first VoIP client 406 and a device of the second VoIP client 408 can then be established.
In an illustrative embodiment, before the devices of the first VoIP client 406 and the second VoIP client 408 begin to exchange data packets, contextual information may be exchanged. As will be discussed in a greater detail below, the contextual information may be packetized in accordance with a predefined structure that is associated with the conversation. Any device associated with the first VoIP client 406, the service provider of the first VoIP client 406, or a different device/service provider may determine the structure based on the content of the contextual information. In one embodiment, the exchanged contextual information may include information relating to the calling VoIP client 406, the device, and the VoIP client 408 being called. For example, the contextual information sent from the called VoIP client 406 may include a priority list of incoming calls from various potential calling VoIP clients, including VoIP client 406.
Available media types, rules of the calling client, the client being called, and the like may also be part of the contextual information that is exchanged during the connection set-up phase. The contextual information may be processed and collected by one of the devices of the first VoIP client 406, one of the devices of the second VoIP client 408, and/or by the VoIP service providers (e.g., Provider 1402 and Provider 2404), depending on the nature of the contextual information. In one embodiment, the VoIP service providers 402, 404 may add/delete some information to/from the client's contextual information before forwarding the contextual information.
In response to a request to initiate a conversation channel, the second VoIP client 408 may accept the request for establishing a conversation channel or execute other appropriate actions such as rejecting the request via Provider 2404. The appropriate actions may be determined based on the obtained contextual information. When a conversation channel is established, a device of the first VoIP client 406 and a device of the second VoIP client 408 start communicating with each other by exchanging data packets. As will be described in greater detail below, the data packets, including conversation data packets and contextual data packets, are communicated over the established conversation channel between the connected devices.
Conversation data packets carry data related to a conversation, for example, a voice data packet or multimedia data packet. Contextual data packets carry information relating to data other than the conversation data. Once the conversation channel is established, either the first VoIP client 406 or the second VoIP client 408 can request to terminate the conversation channel. Some contextual information may be exchanged between the first VoIP client 406 and the second VoIP client 408 after the termination.
Before the device of the first VoIP client 406 and the device of the second VoIP client 408 begin to exchange voice data packets, contextual information may be exchanged between the first VoIP client 406 and the second VoIP client 408. Contextual information may be exchanged using a structured organization defined by the first VoIP client 406. In one embodiment, Provider 1402 may identify particular contextual information that Provider 1402 desires to obtain from the first VoIP client 406. The first VoIP client 406 may specify the corresponding structure based on the content of the contextual information. The identification of the structure for exchanging information and additional contextual information may be transmitted to the second VoIP client 408 via Provider 2404 and Provider 1402.
The contextual information may be processed and collected at a device of the first VoIP client, a device of the second VoIP client, and/or the VoIP service providers (e.g., Provider 1 and Provider 2), depending on the nature of the contextual information. For example, voice profiles may be collected by the service providers 402, 404 and only temporarily provided to the devices. Further, third party Service Provider(s) (third party SP) 410, 412 can obtain and/or add contextual information exchanged among devices of the first VoIP client 406 and second VoIP client 408, Provider 1402, and Provider 2404. In one embodiment, any of Provider 1402, Provider 2404, and third party SP 410, 412 may add, modify, and/or delete contextual information before forwarding the contextual information to the next VoIP device(s), including other service providers.
In response to a request to initiate a conversation channel, the second VoIP client 408 may accept the request for establishing a conversation channel or reject the request via Provider 2404. When a conversation channel has been established, the devices of the first VoIP client 406 and the second VoIP client 408 start communicating with each other by exchanging data packets as discussed above. In one embodiment, contextual and/or conversation data packets may be forwarded to third party SPs 410, 412 from Provider 1402, Provider 2404, or from either VoIP client 406, 408. Further, the forwarded contextual and/or conversation data packets may be exchanged among various third party SPs 410, 412.
Conversation data packets carry data related to a conversation, for example, a voice data packet, or multimedia data packet. Contextual data packets carry information relating to data other than the conversation data. Once the conversation channel is established, either the first VoIP client 406 or the second VoIP client 408 can request to terminate the conversation channel. Some contextual information may be exchanged between the first VoIP client 406 and the second VoIP client 408 after the termination.
In one embodiment of the present invention, a structured hierarchy may be predefined for communicating contextual information over a VoIP conversation channel. The contextual information may include any information relating to VoIP clients, VoIP devices, conversation channel connections (e.g., call basics), conversation context (e.g., call context), and the like. More specifically, the contextual information may include client preference, client rules, client's location (e.g., user location, device location, etc.), biometrics information, the client's confidential information, VoIP device's functionality, VoIP service provider's information, media type, media parameters, calling number priority, keywords, information relating to application files, and the like. The contextual information may be processed and collected at each VoIP client and/or the VoIP service providers depending on the nature of the contextual data. In one aspect, the VoIP service providers may add, modify and/or delete the VoIP client's contextual data before forwarding the contextual information. For example, client's confidential information will be deleted by the VoIP service provider associated with that client unless the client authorizes such information to be transmitted. In some cases, a minimal amount of contextual information is transmitted outside of an intranet network.
With reference to
In another embodiment, each VoIP client may have a set of predefined structured hierarchies stored in a local storage of any devices or a dedicated local storage which all devices can share. The predefined structured hierarchies may be declared and agreed upon between VoIP clients before contextual information is exchanged. In this manner, the need to provide the structure of the contextual data packets may be eliminated and thus the amount of transmitted data packets corresponding to the contextual data is reduced. Further, by employing the predefined structured hierarchies, data packets can be transmitted in a manner which is independent of hardware and/or software.
Upon retrieving the identified structured hierarchy, VoIP Client 608 is expecting to receive a data stream such that data packets corresponding to the data stream are defined according to the identified structured hierarchies. VoIP Client 606 can begin sending contextual information represented in accordance with the identified structured hierarchies. In one embodiment, VoIP Client 608 starts a data binding process with respect to the contextual information. For example, instances of the identified structured hierarchies may be constructed with the received contextual information.
During a conversation, SP 602 may identify contextual information that will be obtained from VoIP Client 606. VoIP Client 606 collects the identified contextual information and identifies structured hierarchies that will be used to carry the identified contextual information. The collected contextual information is transmitted from VoIP Client 606 to SP 602. SP 602 may store part of the received contextual information. Further, SP 602 may collect more contextual information, if necessary, and update the received contextual information. For example, SP 602 may add information relating to services provided for VoIP Client 608, such as billing information, rates, and the like. In addition, the information regarding the identified structured hierarchies is also transmitted from VoIP Client 606 to SP 602. As will be discussed in greater detail below, the information regarding the identified structured hierarchy may include information about which structured hierarchies are used to carry the corresponding contextual information, how to identify the structured hierarchies, and the like. SP 602 transmits the information regarding the identified structured hierarchies and the corresponding contextual information to VoIP Client 608. VoIP Client 608 may identify a set of rules defining how to process the contextual information upon receipt of the contextual information. In one embodiment, VoIP Client 608 may have a predefined set of contextual information processing rules for each device of VoIP Client 608. Based on the set of rules, VoIP Client 608 may store the received contextual information in local storage 620 of one of devices of VoIP Client 608. In an alternative embodiment, VoIP client 608 may store the received contextual information to a centralized database repository (e.g., a database server, a local storage for VoIP client 608, etc.). In one embodiment, VoIP client 608 may generate a request to process the received contextual information and send the request and the contextual information to a third party 610 (e.g., other VoIP clients, third party providers, etc.). It is to be understood that VoIP client 606 may maintain predefined logic to determine the proper third party 610 for processing the contextual information. VoIP client 606 may receive the result of the process or the processed contextual information from the third party 610. In another embodiment, VoIP client 608 may determine a next destination 612 in a predetermined communication path and forward the contextual information to the determined destination. The next destination 612 may be determined based on the received contextual information.
As discussed above, the information regarding the identified structured hierarchies corresponding to the contextual information may be received by VoIP Client 608. Upon receipt of the information regarding the identified structured hierarchies, VoIP Client 608 may look up predefined structured hierarchies to select the identified structured hierarchies for the contextual information. In one embodiment, the structured hierarchies may be defined by XML. However, it is to be appreciated that the structured hierarchies can be defined by any language suitable for implementing and maintaining extensible structured hierarchies. Generally described, XML is well known as a cross-platform, software and hardware independent tool for transmitting information. Further, XML maintains its data as a hierarchically structured tree of nodes, each node comprising a tag that may contain descriptive attributes. XML is also well known for its ability to allow extendable (i.e., vendor customizable) patterns that may be dictated by the underlying data being described without losing interoperability. Typically, an XML namespace URI is provided to uniquely identify a namespace. In some instances, the namespace may be used as a pointer to a centralized location containing default information (e.g., XML Schema) about the document type the XML is describing.
In an illustrative embodiment, VoIP client 606 may identify a XML namespace for contextual information. When multiple contexts are aggregated, appropriate XML namespaces can be declared as an attribute at the corresponding tags. It is to be understood that XML namespaces, attributes, and classes illustrated herein are provided merely as an example of structured hierarchies used in conjunction with various embodiments of the present invention. After VoIP client 608 receives the XML namespace information, the VoIP client 606 transmits a set of data packets containing contextual information defined in accordance with the identified XML namespace or namespaces to VoIP client 608. When a namespace is present at a tag, its child elements share the same namespace in pursuant to the XML scope rule defined by XML 1.0 specification. As such, VoIP client 608 and VoIP client 606 can transmit contextual information without including prefixes in all the child elements, thereby reducing the amount of data packets transmitted for the contextual information.
With reference to
With reference to
With reference to
With reference to
With reference to
Beginning at block 902, the recipient computing device may obtain contextual information from the sending computing device. It is to be understood that the sending client can be any VoIP entity that is capable of transmitting contextual information as part of a conversation. As described above, based on the content of the contextual information, the sending client identifies at least one structured hierarchy from predefined structured hierarchies, such as XML namespace and the like. The recipient computing device may further obtain the identified structured hierarchies from the device of the sending client. At block 904, upon receipt of the contextual information, the recipient computing device identifies a set of rules corresponding to the obtained contextual information. As discussed above, each recipient computing device may have a different set of rules that define how the contextual information is to be processed on the device. In one embodiment, a recipient client may have several different devices with different capabilities and functionalities and a set of rules may be defined such that each recipient computing device of the recipient client can process contextual information based on its capabilities and functionalities. For example, a simple landline telephone may not have applications or a screen to display media information which includes voice, video, and/or text information. In this example, the recipient client may specify a set of rules for the simple landline telephone (i.e., recipient computing device), indicating any media information will be forwarded to a personal computer of the recipient client or, in case the personal computer is not accessible, the media information will be stored to local storage of another device of the recipient client. In another example, the recipient client may specify a set of rules indicating that a recipient computing device will be operating as a by-passer during a certain time period although the recipient computing device has some capabilities and functionalities to process the received contextual information. In this example, the recipient computing device may not process but just forward all incoming contextual information to a destination specified by the set of rules during such time period. It is contemplated that the set of rules for each recipient computing device may have been predefined by the recipient client, service provider, or other authorized VoIP entity. It is further contemplated that the set of rules can be dynamically defined based on the time of day, geographic location of the recipient client, recipient client's mood, etc.
At decision block 906, a determination is made as to whether additional information needs to be obtained to apply the set of rules. If it is determined that additional information needs to be obtained, a source of the additional information is identified at block 908. For example, if the additional information is locally available, the additional information is retrieved from memory or storage of the recipient computing device. Otherwise, the additional information may be obtained from various sources (e.g., other devices of the recipient client, a service provider, a third party service provider, etc.). The additional information may be obtained from the source at block 910. In an illustrative embodiment, when there are multiple sources available for the additional information, the additional information may be collected and/or obtained from each of the multiple sources. Alternatively, the most appropriate source may be determined and contacted. The recipient computing device or the recipient client may have predefined rules or logic to determine an appropriate source for particular information.
After obtaining the additional information (block 910), or if it is determined that additional information does not need to be obtained (decision block 906), at block 911, the contextual information may be processed according to the set of rules in processing subroutine 1000 (see
It is to be understood that the embodiments explained in conjunction with the routine 900 are provided merely for example purposes. It is contemplated that the routine 900 can also be performed by the device of a sending client, a service provider, or a third party service provider that is capable of receiving contextual information and applying a set of contextual information processing rules. It is further contemplated that the contextual information may be processed according to a set of contextual information processing rules at any time, including before establishing a communication channel (e.g., during a connection set-up phase), during a conversation, or after terminating a communication channel. Moreover, contextual information processing rules can be dynamically updated by an authorized VoIP entity at any time. Further, contextual information processing rules can be periodically updated. It is also contemplated that any authorized VoIP entity in the IP environment 100 can exchange contextual information with the recipient computing device over a communication channel established between the sending computing device and the recipient computing device.
For the purpose of discussion, assume a scenario where a first client using a device with limited functionalities for example a mobile phone, is communicating with a second client. During a conversation, the second client may send contextual information including presentation material related to the conversation to the first client. The mobile phone which the first client is currently using for the communication channel does not have a software application, or other capabilities, to display the presentation material. The first client has specified contextual information processing rules for the mobile phone, indicating that the presentation material will be forwarded to a personal computer when the mobile phone receives such contextual information. Likewise, the first client has specified contextual information processing rules for the personal computer indicating that upon receipt, presentation application PPP will be utilized to display the presentation material.
Upon receipt of the presentation material, the mobile phone forwards the presentation material to the designated personal computer. Subsequently, the personal computer processes the received presentation material and displays the presentation material on its screen. The first client can continue the conversation using the mobile phone while watching the presentation on a different device (i.e., a personal computer). It is to be understood that there is no communication connection established between the personal computer and the second client. Alternatively, the mobile phone may search for a proper device of the first client that is currently available and capable of displaying the instant presentation material. During a search, the mobile phone may temporarily store the presentation material in local storage while the search is in progress. Following a successful search, the presentation material will be forwarded to the located device of the first client.
At decision block 1002, a determination is made as to whether the set of rules indicates that the recipient commuting device should store either subsets, or all of the contextual information. If it is determined that subsets, or all of the contextual information will be stored on the recipient commuting device at decision block 1002, at block 1004, subsets, or all of the contextual information are stored in local storage in accordance with the set of rules. The set of rules can be specified to instruct the recipient computing device where to store incoming contextual information. In one embodiment, the recipient computing device does not have enough local storage to store the contextual information. Instead, the recipient client may have a designated repository for storing contextual information that is received by devices of the recipient client. In this embodiment, the recipient computing device may determine a destination designated repository and store the received contextual information accordingly.
Alternatively, the set of rules may indicate that the recipient computing device generates a request to store the contextual information and forwards the request and the contextual information to other devices of the recipient client. Based on the set of rules, the received contextual information may be stored on other devices of the recipient client. At decision block 1006, a determination is made as to whether the received contextual information may not be processed but forwarded. If it is determined at decision block 1006 that the received contextual information is to be forwarded, at block 1008 a proper destination may be identified. At block 1010, the contextual information may be forwarded to the identified destination. In one embodiment, the identified set of rules may include information relating to a designated destination of the contextual information to be forwarded. In another embodiment, the identified set of rules may indicate that all incoming contextual information received by the recipient computing device is to bypass the recipient computing device. In this embodiment, upon receipt of contextual information, the recipient computing device forwards the contextual information to a next destination in a communication channel path. For example, a third party service provider may not desire to process contextual information received from a group of sending clients associated with a particular service provider. In this example, the third party service provider may have a set of contextual information processing rules indicating that all incoming contextual information from the sending clients associated with the particular service provider will be forwarded, upon receipt of contextual information. At block 1011, the recipient computing device may receive some feedback from the identified destination in response to the forwarded contextual information. In one embodiment, the feedback may be a confirmation of the request. In another embodiment, the feedback may include processed contextual information on which the recipient computing device can apply its resident applications.
If it is determined at decision block 1006 that the received contextual information is not to be forwarded or some feedback has been received at block 1011, at decision block 1012, a determination is made as to whether an appropriate application to execute on the contextual information is locally available. If the appropriate application is not locally available, the recipient computing device may identify a source to obtain the appropriate application as illustrated at block 1014. At block 1016, the recipient computing device may send a request to the source. The recipient computing device may obtain the appropriate application from the source at block 1018. After obtaining the appropriate application from the source (1018), or if it is determined that the appropriate application is locally available (1020), the recipient computing device executes the appropriate application on the contextual information in accordance with the set of processing rules, as illustrated at block 1020. In an illustrative embodiment, the recipient computing device may identify a device of the recipient client which is capable of processing the contextual information. The recipient computing device may request the identified device to process the contextual information and to generate a suitable output that the recipient computing device can further process. After forwarding the contextual information (block 1010) or executing the appropriate application (at decision block 1020), the subroutine 1000 returns back to the routine 900 and ends at block 1022.
While illustrative embodiments have been illustrated and described, it will be appreciated that various changes can be made therein without departing from the spirit and scope of the invention.