Wireless (e.g., cellular) service providers and device manufacturers are continually challenged to deliver value and convenience to consumers by, for example, providing compelling network services, applications, and content. One area of development is the use of communication networks and devices to automatically determine information and context about the local environment. However, technical challenges relating to power consumption, signaling overhead, security, and privacy have hindered such development.
Therefore, there is a need for an approach for providing an efficient mechanism for publishing and/or subscribing to information distributed over an ad-hoc mesh network.
According to one embodiment, a method comprises receiving a request to either publish or subscribe to information provided over an ad-hoc mesh network. The method also comprises determining at least one data schema associated with the information, wherein an identification of the information for publication or subscription is based, at least in part, on the at least one data schema
According to another embodiment, an apparatus comprising at least one processor, and at least one memory including computer program code, the at least one memory and the computer program code configured to, with the at least one processor, cause the apparatus to receive a request to either publish or subscribe to information provided over an ad-hoc mesh network. The apparatus is also caused to determine at least one data schema associated with the information, wherein an identification of the information for publication or subscription is based, at least in part, on the at least one data schema.
According to one embodiment, a computer-readable storage medium carrying one or more sequences of one or more instructions which, when executed by one or more processors, cause an apparatus to receive a request to either publish or subscribe to information provided over an ad-hoc mesh network. The apparatus is also caused to determine at least one data schema associated with the information, wherein an identification of the information for publication or subscription is based, at least in part, on the at least one data schema.
According to another embodiment, an apparatus comprises means for receiving a request to either publish or subscribe to information provided over an ad-hoc mesh network. The apparatus also comprises means for determining at least one data schema associated with the information, wherein an identification of the information for publication or subscription is based, at least in part, on the at least one data schema.
In addition, for various example embodiments of the invention, the following is applicable: a method comprising facilitating a processing of and/or processing (1) data and/or (2) information and/or (3) at least one signal, the (1) data and/or (2) information and/or (3) at least one signal based, at least in part, on (or derived at least in part from) any one or any combination of methods (or processes) disclosed in this application as relevant to any embodiment of the invention.
For various example embodiments of the invention, the following is also applicable: a method comprising facilitating access to at least one interface configured to allow access to at least one service, the at least one service configured to perform any one or any combination of network or service provider methods (or processes) disclosed in this application.
For various example embodiments of the invention, the following is also applicable: a method comprising facilitating creating and/or facilitating modifying (1) at least one device user interface element and/or (2) at least one device user interface functionality, the (1) at least one device user interface element and/or (2) at least one device user interface functionality based, at least in part, on data and/or information resulting from one or any combination of methods or processes disclosed in this application as relevant to any embodiment of the invention, and/or at least one signal resulting from one or any combination of methods (or processes) disclosed in this application as relevant to any embodiment of the invention.
For various example embodiments of the invention, the following is also applicable: a method comprising creating and/or modifying (1) at least one device user interface element and/or (2) at least one device user interface functionality, the (1) at least one device user interface element and/or (2) at least one device user interface functionality based at least in part on data and/or information resulting from one or any combination of methods (or processes) disclosed in this application as relevant to any embodiment of the invention, and/or at least one signal resulting from one or any combination of methods (or processes) disclosed in this application as relevant to any embodiment of the invention.
In various example embodiments, the methods (or processes) can be accomplished on the service provider side or on the mobile device side or in any shared way between service provider and mobile device with actions being performed on both sides.
Still other aspects, features, and advantages of the invention are readily apparent from the following detailed description, simply by illustrating a number of particular embodiments and implementations, including the best mode contemplated for carrying out the invention. The invention is also capable of other and different embodiments, and its several details can be modified in various obvious respects, all without departing from the spirit and scope of the invention. Accordingly, the drawings and description are to be regarded as illustrative in nature, and not as restrictive.
The embodiments of the invention are illustrated by way of example, and not by way of limitation, in the figures of the accompanying drawings:
A method and apparatus for providing a publish/subscribe mechanism over an ad-hoc mesh network are disclosed. In the following description, for the purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the invention. It is apparent, however, to one skilled in the art that the embodiments of the invention may be practiced without these specific details or with an equivalent arrangement. In other instances, well-known structures and devices are shown in block diagram form in order to avoid unnecessarily obscuring the embodiments of the invention.
As used herein, the term “awareness information” refers to any information and/or context about a local environment as well as the users and communication devices within the local environment. By way of example, awareness information can be used to support applications for creating social networks, determining presence, determining contexts associated with a device, advertising, searching for information, etc. Although various exemplary embodiments are described with respect to locating communities over an ad-hoc mesh network, it is contemplated that the approach described herein may be used within any type of communication system or network.
One traditional method of information sharing is through a publish/subscribe paradigm whereby information owners (e.g., publishers) provide information without knowing a priori the specific receivers (e.g., subscribers) of the information or when the subscribers intend to access the information. In other words, a publish/subscribe mechanism or paradigm enables the decoupling of space (e.g., parties do not need to know each other) and time (e.g., parties do not need to be actively taking part in the interaction at the same time). Historically, implementing a publish/subscribe mechanism is based on creating or otherwise designating a central message broker for registering publishers and subscribers. The broker can then store the information from publishers and forward them to relevant subscribers. However, in the case of various embodiments of the ad-hoc mesh network described below with respect to a system 100 of
As shown in
In exemplary embodiments, the wireless nodes 101a-101n form an ad-hoc mesh network 109 for sharing awareness information. The ad-hoc mesh network 109 is, for instance, a connectionless and serverless device-to-device network (e.g., a mobile ad-hoc network (MANET)) created using short-range radio technology (e.g., wireless local area network (WLAN) or Bluetooth®). Within the ad-hoc mesh network 109, each wireless node 101 may be mobile and is within communication range of any number of other wireless nodes 101. Accordingly, the set of wireless nodes 101a-101n that is within communication range of any a particular wireless node 101 is transient and can change as the wireless nodes 101a-101n move from location to location. As noted above, the serverless and transient nature of ad-hoc mesh network 109 creates challenges to implementing a publish/subscribe mechanism over the network 109.
As discussed previously, service providers and device manufacturers that are developing communication systems and networks for locating communities face many technical challenges. For example, current ad-hoc radios (e.g., WLAN and Bluetooth®) are designed for connectivity (e.g., connectivity via Internet protocol (IP)). However, in an “always on” environment such as the ad-hoc mesh network 109, it is not practical to have a large number of wireless nodes 101a-101n (e.g., mobile handset devices) “connected” by, for instance, IP to each other for extended periods of time because of power usage and scalability problems. Specifically, a multi-hop connection in a large ad-hoc network typically requires a significant amount of control signaling and power and can quickly deplete a mobile device's battery. Moreover, scalability can be a problem because current ad-hoc radios are typically limited in the number of connections and the related signaling that they can support at any given time. Another shortcoming of current ad-hoc radios is that they do not adequately protect a user's privacy because they expose the user's identity through a fixed network address (e.g., a media access control (MAC) address) associated with the user's device. These problems are also relevant to the implementation of an efficient publish/subscribe mechanism over the ad-hoc mesh network 109.
To address these problems, the system 100 creates the ad-hoc mesh network 109 for sharing awareness information in a connectionless fashion. As used herein, the term “connectionless” refers to the ability of a node (e.g. wireless node 101a) to send and of all surrounding nodes 101a-101n to receive awareness information without the need to send any prior control signaling. For example, sending awareness information using the transmission control protocol/IP (TCP/IP) over a WLAN ad-hoc is not connectionless because of the two-way TCP control signaling between the sending and receiving nodes used to establish the TCP connection. The awareness information is provided, for instance, in small anonymous messages that are exchanged by the wireless nodes 101a-101n automatically without user intervention. As used herein, the term “anonymous” means that it is not possible to infer the true identity of the sender from the message, unless the true identity is intentionally included in the message (e.g., by the user or another entity authorized by the user). The exchange of awareness information occurs as a broadcast message (i.e., a flooding message) from a wireless node 101 to neighboring wireless nodes 101 that are within range of the radio of the broadcasting wireless node 101. As neighboring wireless nodes 101 receive the broadcasted message, each receiving wireless node 101 may in turn rebroadcast the message to other neighboring wireless nodes 101. In this way, the originally broadcasted message propagates throughout the ad-hoc mesh network 109. In exemplary embodiments, the extent of the propagation may be limited by criteria such as distance, location, time, etc.
Unlike traditional systems, such messages are for carrying awareness information and are not for transporting content (e.g., files or media containing voice, video, etc.) between two wireless nodes (e.g., wireless nodes 101a and 101b). Instead, the messages contain only pointers to the content or a small amount of data (e.g. presence or context information) to minimize the data traffic transported over the ad-hoc mesh network 109. Accordingly, the limited capacity of the communication channels associated with such messages, pose additional challenges to providing a publish/subscribe mechanism. For example, to address this problem, the wireless nodes 101a-101n may then access the content using other communication channels (e.g., via IP through the communication network 103). In addition, the system 100 eliminates the problems associated with traditional methods for route establishment and maintenance (e.g., connection based communication protocols), such as maintaining and handing off connections as mobile devices move, and requiring high levels of network resources for maintaining connections in an environment with a high number or density of mobile devices. For example, the event of a wireless node 101 appearing/disappearing to/from the network does not generate any control signaling in the ad-hoc mesh network 109. Similarly, the system 100 creates routing information only when needed to route replies to queries back to the querying node. The routing information is generated by using the query messages alone (e.g., no control signaling is used for creating routing information). After the query and subsequent reply process is completed, the routes are forgotten. In other words, the query/reply process of system 100 provisions routes for a reply to provide awareness information on demand rather than pushing awareness information from one node 101 to another. In exemplary embodiments, both push (e.g., information is published over the ad-hoc mesh network 109) and pull (e.g., information is queried from other nodes 101a-101n of the ad-hoc mesh network 109) modes of disseminating awareness information are possible. In certain embodiments, it is contemplated that the pull mode of operation can be used instead of the push mode to help suppress potential spam messages.
Moreover, the system 100 optimizes the power consumption of wireless nodes 101 communicating over the ad-hoc mesh network 109 to enable always-on operation without seriously affecting the battery life of the wireless nodes 101. For instance, by utilizing only short awareness messages, by eliminating the need for any route maintenance signaling, by employing procedures to minimize transmission and reception of duplicative messages and by enabling an efficient sleep scheme for the short-range device-to-device radio used within each wireless node 101 (allowed by the low latency requirements typical of an awareness information network), the system 100 can potentially provide hundreds of hours (e.g., over 400 hours) of continuous operation of each wireless node 101 between battery charges in a mobile device. The system 100 could be seen as a “nervous system” between the mobile devices, where small messages (“nerve impulses”) are continuously exchanged by the mobile devices (“neurons”) in order to bring awareness to the user of a mobile device about the user's surroundings.
The system 100 also enables the development of new services and applications based on awareness information (e.g., social networking applications, location-based applications, application for determining presence, applications for determining context, advertising applications). In particular, the continuous and immediate nature of the awareness information with respect to local environment enables compelling new services. For instance, awareness information may be combined with the increasingly available storage and computing power in mobile devices (e.g., wireless nodes 101a-101n) to create a local semantic web, whereby local awareness information is created and searched for automatically by wireless nodes 101 within the ad-hoc mesh network 109. As used herein, the term “semantic web” refers to a system in which the information and messages shared with the system is understandable by the nodes 101 within the system. It is noted that establishing such a local semantic web using the system 100 overcomes two major problems blocking the development of a global semantic web: (1) lack of mechanism for providing semantic content on a large scale, and (2) lack of semantically aware search engines to help users find information in a semantic web. The system 100 can also be used for collaborative context calculation, generation of collaborative recommendations based on user profile data of participating nodes 101, publishing pointers to information or content, searching for friends within a defined community, finding out what is going on and what kind of people are around a user, making the environment aware of the user, and other like applications.
To facilitate the creation of the semantic webs and/or for sharing information in general over the ad-hoc mesh network 109, the system 100 introduces the capability to provide a publish/subscribe mechanism including a publish/subscribe interface to applications using distributed valuespaces, efficient query/response mechanisms, and broadcast messages. More specifically, wireless nodes 101a-101n that are participating in the publish/subscribe mechanism have their own respective valuespaces for storing locally published information items and subscribed information items received over the ad-hoc mesh network 109. In one embodiment, there is no explicit synchronization between different wireless nodes 101a-101n, thereby advantageously avoiding the need to implement potentially complex synchronization protocols over the ad-hoc mesh network 109. As a result, the same application executing in different wireless nodes 101a-101n might have different sets of information available to it (e.g., in wireless node 101a, the application knows data items 1 and 2, but in wireless node 101n, the same application knows data items 2, 3, and 4.
In one embodiment, in lieu of a traditional synchronization process, the system 100 enables the applications executing in the wireless nodes 101a-101n to define their own data schema within their respective valuespaces. In one embodiment, the data schema defines the type and format of information that the associated application can send (e.g., publish) and receive (e.g., subscribe) within the valuespace.
Moreover, it is contemplated that an application can define and use multiple data schemas or have multiple instances of the one data schema. For example, to publish information, an application initiates, determines, and/or stores at least one data schema associated with the information along with the information in the valuespace of the corresponding wireless node 101a. Placing the data schema and information in the valuespace, makes the information available to other subscribing wireless nodes 101b-101n. In one embodiment, an application executing on one or more of the subscribing nodes 101b-101n can initiate a query based on any corresponding subscriptions. By way of example, in one embodiment, a subscription from an application is implicitly turned into a query message. The query is then periodically spread to other wireless nodes 101a-101n in the ad-hoc mesh network 109 according to, for instance, the message transmission and relay processes described below.
Upon receiving the query message, a receiving wireless node 101b performs a search of the local valuespace for matching or substantially matching data schemas. If there are published information items based on the same or similar schema, the results are returned as a response message. Upon reception of response messages at the subscribing node 101a, the results are inserted into the local valuespace and the subscribing applications are notified accordingly. In one embodiment, the subscribing applications can also define filters so that only selected information items are queried and received.
In some embodiments, by default, all messages are broadcasted so a wireless node 101a can receive responses to queries which it has not sent. Based on the knowledge that the wireless node 101a receives response messages even though it has not sent a query, the wireless node 101a can delay sending of its own queries (e.g., queries for the same or similar information contained in the received response messages) because it already has up-to-date information. In this way, the process can advantageously reduce potential traffic over the ad-hoc mesh network 109.
In another embodiment, wireless nodes 101a-101n that receive one or more of the responses messages may store the responses in their respective valuespaces even when the nodes 101a-101n have not sent a corresponding query. In this way, the wireless nodes 101a-101n can have a store of information in the valuespace that may be responsive to future queries. In one embodiment, these responses messages may be removed from the valuespace based on available memory in the valuespace, time, expiration period associated with respective messages, and the like.
The following are exemplary use-case scenarios for applications can exchange information over the ad-hoc mesh network 109 using various embodiments of the publish/subscribe mechanism described herein.
In one use-case, an application may subscribe to user profile data publishing by neighboring wireless nodes 101a-101n. By way of example, the user profile data may include information such as usage history, user behavior, user preferences, and the like. The application can then use the published user profile data to generate recommendations (e.g., recommendations for content, applications, services, items, etc.) based on local preferences. In one embodiment, the published user profile data may be limited to a community or group of wireless nodes 101a-101n according to the community processes discussed below. In some cases, the user profile data may be encrypted so that only group or community members may access the information even if the information is received and relayed by non-community members.
In another use-case, the awareness information alerts a user to nearby people or places. For example, a user is visiting a new town when the wireless node 101a alerts the user that “Salvatore, a friend of your friend David is nearby.” The user may then arrange to meet Salvatore to get a recommendation for sites to visit in the new town. In another example, a user is looking for a good restaurant in an unfamiliar neighborhood. An application based on awareness information may present a list of local restaurants ranked by the number of people currently eating in the restaurant that have the same food preferences as the user. Such a list can be collected based on queries and replies that contain anonymous information of people's food preferences.
In another use-case, an application uses the awareness information to discover events near the user. For example, as a user passes a park, the wireless node 101a informs the user, based on messages exchanged between nearby devices, that “There is a Japanese culture festival in the Tea Garden Park; five members of your Kabuki community are there: Zen, Mi, Xia, Talo, and Chris.” The user may then decide to attend the festival.
In another use-case, an application provides location-based or context-based services using awareness information. For example, a wireless node 101a does not have positioning capabilities but nonetheless knows that it is in a grocery store based on anonymous awareness information from other nearby wireless nodes 101. It is contemplated that the grocery store may also place a node 101 in the store to provide such context information, possibly combined with other store specific information such as the address of the store's web page. The wireless node 101a then reminds the user to “Remember to buy dishwasher detergent” based on the user's location in a grocery store. The awareness information can also be the physical position information from a neighboring wireless node 101 that has the positioning capability. Sharing of positioning information with a neighboring node with such a capability can enable nodes 101 without such capability to offer navigational services.
In another example, a group of people are attending a meeting. The meeting invitation includes an identification code for that particular meeting that is stored in the mobile nodes 101 of the meeting attendees (e.g., the identification code may be stored in the calendar data). Using the principles set forth in this invention, the nodes 101 can exchange the meeting identification code over the ad-hoc mesh network 109 while attending the meeting. Comparing the exchanged identification code in a user's wireless device 101 can, for instance, establish whether the users was indeed at the meeting corresponding to the identification code. Such accurate social context knowledge can be used, for instance, to adapt the service or application behavior towards the user.
In another use-case, an application provides for search of local information that changes rapidly and very specific to a local environment. The local information often does not reach traditional Internet search engines. For example, a user bought tickets to a concert, but discovers at the last minute that the user cannot attend. The user stores a string “Ticket to concert X at venue Y is available” into the awareness services module 111 of the user's wireless node 101. As a result, a nearby wireless node 101a, within a few street blocks away, that searches for tickets by sending query messages with a string “Ticket concert X” over the multi-hop ad-hoc mesh network 109, will receive the user's ticket availability message as an automatic reply.
In another use-case, an application enables locally targeted advertising. For example, it is almost closing time for a local fresh fruit market. The merchants decide to publish an advertisement over the ad-hoc mesh network 109 that “Apples are 50% off for the rest of the day.” The advertisement is available to users who live nearby the market. In another example, a user browses an advertisement for a new printer on a wireless node 101a. In the browsing activity, a code attached to the advertisement is stored in the awareness services module 111. Upon searching and finding such a code, a nearby electronics store sends the user an offer to sell the printer with a 10% discount.
In another use-case, an application automatically creates an activity log based on the awareness information associated with a user. For example, the application records the people the user meets along with other awareness information such as when, where, context, etc. The user then meets a person while walking on the street. The person looks familiar but the user does not recall the person's name or how the user knows the person. The wireless node 101a running the application reports that the person's name is David and that the user met him at a soccer match one year ago in London.
In another use—case, an application provides the capability to initiate local discussion threads and group chats over the ad-hoc mesh network 109. For example, the supporters of a football team form a community over the ad-hoc mesh network 109 wherein community members can send short text messages (e.g., of small enough size to be sent directly over the ad-hoc mesh network 109) that can be received and read only by the fan club community members of that particular team.
By way of example, the awareness services module 111 includes three layers: an awareness layer 203, a community layer 205, and a network layer 207. The awareness layer 203 is the highest control layer for sharing awareness information. As shown in
In exemplary embodiments, the control logic 221 enables querying and dissemination of awareness information by initiating the flooding of the query or information to neighboring wireless nodes 101 within the ad-hoc mesh network 109. For example, upon receiving a query, the wireless nodes 101 in the local neighborhood that have the queried information may decide to reply to the querying node automatically. By way of example, a reply message can be sent as a unicast message to the querying node, or as a broadcast message to all nodes 101. Thus the replying node can control how information is delivered among the nodes 101 in the network 109. Also the replying node can estimate whether all the possibly interested nodes 101 in the network 109 have had the opportunity to previously receive the reply and thus omit transmitting a reply message accordingly. In exemplary embodiments, the reply information is also automatically stored in the item storage 223 of each wireless node 101 through which the propagating reply passes. Moreover, the reply to a query may result in return of a pointer to specific content relevant to the query rather than the content itself under certain circumstances (e.g., when the specific content is large in size). It is contemplated that the reply may contain direct content if the content is relatively small (e.g., a few tens of bytes of information). By using a pointer, the system 100 minimizes the data traffic that flows through the ad-hoc mesh network 109. The user may then access the content via the pointer (e.g., a universal resource locator (URL) address, IP address) via a more appropriate communication protocol (e.g., IP) and/or means of communication (e.g. infrastructure networks). The receipt of the pointer (e.g., IP address) may automatically trigger the transfer of the content using, for instance, the communication protocol associated with the pointer. In the case of broadcasting or publishing information, any wireless node 101 through which the published information propagates may store the information in item storage 223 or valuespace of the wireless node 101.
In other exemplary embodiments, awareness information can also be published directly by flooding an awareness message. Such a push mode for the dissemination of awareness information can be used to support some applications (e.g. advertising or group chatting) over the ad-hoc mesh network 109.
It is recognized that privacy and anonymity may be of concern to users of the system 100. Accordingly, the control logic 221 provides mechanisms for ensuring privacy and anonymity. For example, the control logic 221 can prevent the transmission of intimate information when the number of neighboring wireless nodes is small to prevent the possibility of inferring identity. As used herein, the term “intimate information” refers to information directly related to the user, e.g., the user's habits, tastes, or preferences (musical preferences, favorite restaurants, etc.). In one embodiment, the intimate information (e.g., comprising user profile data) may be transmitted using encryption so that only authorized nodes 101a are able to access in the information.
The control logic 221, together in co-operation with the community layer 205, may also periodically broadcast decoy queries and replies to make tracking an individual wireless node 101 more difficult. Since an outside observer does not know the authentication key associated with a community, the observer cannot distinguish a valid message from a fictitious one. Accordingly, by observing decoy messages, the observer is likely to detect presence of a private community when there is not one. Additionally, the control logic 221 enables to user to define filters for incoming information (e.g., filter advertisements) and how these filters would work (e.g., ignore the information completely, relay the information but do not store, etc.). It is also contemplated that the user can direct the control logic 221 to interact with the community layer 205 to control the user's visibility on the ad-hoc mesh network 109 (e.g., no visibility, visible only to a certain community or other user) to maintain privacy. As another mechanism for protecting privacy, the control logic 221 can interact with the community layer 205 to anonymize a specific message and corresponding identifiers as described below with respect to the community layer 205.
Because one of the goals of the system 100 is to provide a mechanism for anonymous spreading of awareness information, it is recognized that undesired or unsolicited messages (e.g., spam messages) may become a problem. To address this problem, the control logic 221 may obtain, for instance, information from the lower system layers of the awareness services module 111 about the traffic load and current average power consumption. If the traffic load is medium or high (meaning that also power consumption related to system 100 is medium or high) restrictions may be set for the frequency at which flooding messages are sent by the control logic 221. It is also contemplated, that the neighboring peer nodes 101 can be configured to not forward any flooding messages originating from a node 101 neglecting such message restrictions.
The awareness layer 203, together with the community layer 205, provide an application programming interface (API) 225 to enable an application 201 to access the functions of the control logic 221 and the item storage 223. In exemplary embodiments, the API 225 enables application developers to have uniform and easy access to functions related to sharing awareness information over the ad-hoc mesh network 109. It is contemplated that the API 225 is extensible to accommodate any application designed to access or use awareness information. The applications in the various nodes 101 do not have to be the same or mutually compatible. It is sufficient that the applications use the API correctly to be able to publish and search awareness information in the surrounding nodes 101 and the applications share the same or matching data schema.
The awareness layer 203 also has connectivity to the community layer 205. The community layer 205 controls the formation and cataloging of communities of wireless nodes 101 within the ad-hoc mesh network 109. By way of example, a user may create any number of communities for sharing awareness information. It is contemplated that a community may be either a peer community (e.g., any wireless node 101 may join), a personal community (e.g., a wireless node 101 may join only if invited), or the open local community that consists of all nodes in the local neighborhood. In one embodiment, one or more communities may be formed to for exchanging information using a publish/subscribe mechanism, wherein the publishers and subscribers are members of the community. In exemplary embodiments, the messages that traverse between the wireless nodes 101 within the ad-hoc mesh network 109 belong to one of these three community types. Communities can either be private (messages are encrypted) or public (no encryption used). In exemplary embodiments, membership and status in a community affect how the wireless node 101 shares awareness information (see the discussion with respect to
Furthermore, a community may be created for any purpose or duration (e.g., a permanent work community, a permanent community of friends, a temporary community of concert goers lasting only the duration of the concert). As shown in
In exemplary embodiments, the community control module 241 assigns a unique community identification number (CID) to each community for use within the ad-hoc mesh network 109. The control module 241 can also generate authentication keys K associated with the CID to, for instance, authenticate users who wish to join the community or authenticate messages directed to the community. For example, a wireless node 101 may invite another wireless node 101 to join a community by transferring the CID and authentication keys associated with the community to the other wireless node 101. It is contemplated that the transfer of the CID and corresponding authentication key may occur using short range radio or using another secure mechanism (e.g., short message service (SMS) or electronic mail). It is noted that both peer and personal communities use a CID and corresponding K, whereas the open local community either can use a predetermined value for CID (e.g., zero) or does not use the CID at all.
To ensure privacy (as discussed above), the community control module 241 interacts an encryption/decryption module 245 to anonymize the CID when including the CID in messages over the ad hoc mesh network 109. For example, a wireless node 101 may direct a query to a specific community using an anonymized CID (e.g., a pseudonym) associated with the community in lieu of the actual CID. In exemplary embodiments, multiple anonymized CIDs may be used to represent a single community. In this way, it is more difficult to identify queries corresponding to a particular community by monitoring traffic within the ad hoc mesh network 109. From the perspective of an outside observer, the anonymized CIDs look random. In addition, the encryption/decryption module 245 may encrypt or decrypt message data using, for instance, a temporary key that is periodically derived from the authentication key K associated with the CID. These measures hinder the discovery of the CID by outsiders that do not have the authentication key. By way of example, the community layer 205 inserts a special header into the messages that it receives from the awareness layer 203. The special header, for instance, contains a list of anonymized community identifiers corresponding to the communities to which the message is relevant.
When the wireless node 101 is in the joined state 253, the wireless node 101 may also be in either an inactive state 257 or an active state 259. To transition between the inactive state 257 and the active state 259, the application 201 may issue a command 261 to either activate or deactivate the joined state 253 via the application programming interface 225. When the wireless node 101 is in the inactive state 257, the community layer 205 abandons the message even though it is a member of the community. In certain embodiments, the wireless node 101 may also be invisible to other members of the community while in the inactive state 257. For example, the wireless node 101 may enter the inactive state 257 when it temporarily does not want to receive or share information with the community. When the wireless node 101 is in the active state 259, the community layer 205 encrypts and decrypts community messages as usual for private communities, and enables all outgoing and incoming community specific messages for public communities (e.g., communities with no restrictions on membership).
Within the active state 259, the wireless node 101 may also be in either an invisible state 263 or a visible state 265. To transition between the invisible state 263 and the visible state 265, the application 201 issues a command 267 to set either the visible or invisible state. When in the invisible state 263, the community-specific identity (e.g., a user alias) associated with the wireless node 101 cannot be queried by other members of the community. For example, in the invisible state 263, the community layer 205 continues to receive and send community messages without its identity known to other community members. When in the visible state 265, the identity of the wireless node 101 can be queried by other members of the community.
In various embodiments, the community directory 243 of the community layer 205 maintains, for instance, information on the communities that the user has joined. Such information contains, at least, the community identification (CID). Additionally, it may contain public and/or private authentication keys (K) of the joined communities and a list of anonymized community identifiers for each community. The community control module 241 may periodically recalculate the list of anonymized CIDs. By way of example, the community layer 205 inserts a header into the message it receives from the awareness layer 203. The header contains, for instance, a list of anonymized community identifiers identifying the communities to which the message is relevant.
It is contemplated that a special personal community can be reserved for tracking new bonds or relationships created between users. Consider, for example, that user A meets user B for the first time and wants to create a radio bond between the mobile devices corresponding to each user. In one embodiment, user A can initiate the creation this bond with user B by transferring to user B (e.g., by using a secure transfer mechanism) the CID and the public K of user A's personal “new bonds” community. Similarly, user B may give user A similar credentials corresponding to user B's “new bonds” community. Once the credentials are exchanged and the bond has been created, user A may find user B over the ad-hoc mesh network 109 by searching for members of user A's “new bonds” community. In other words, with a simple search of a single community, user A can search for all the people in user A's local neighborhood with whom user A has created a bond. This requires that a high number of community CIDs and Ks can be stored in the community directory 243. Also, an effective lookup of the community directory must be provided. There are many existing and good solutions for such efficient lookup.
As the user creates new bonds, the number community CIDs and Ks stored in the user's community directory 243 can grow quite large. Accordingly, to enable effective search of a large number of communities, the community layer 205 may generate a special community search message to initiate the search. For example, the special community search message contains, at least in part, a list of anonymized community identifiers corresponding to the communities to be searched. To protect the privacy, the community layer 205 can generate a new set of anonymized community identifiers for each community search message. If the community layer 205 finds a match to any of the anonymized community identifiers in any of the neighboring nodes 101 that receives the search message, the community layer 205 generates a reply message that may contain the alias of the user in that community or other community specific information. The reply message may be encrypted with the encryption key of the community. In one embodiment, the community search message may relate to queries and responses transmitted over the ad-hoc mesh network 109 in support of various embodiments of the publish/subscribe mechanism described herein.
As shown in
In exemplary embodiments, the network layer 207 may insert a header into messages it receives from the community layer 205 to, for instance, direct flooding and routing of the received messages. The structure of this network layer message header 281 is discussed with respect to
Returning to
The neighbor table 275 contains a list of the neighboring wireless nodes 101 and an estimate of their relative radio distance (see Table 3). It is contemplated that the observed signal strength together with the known transmitting power of a neighboring wireless node 101 is an indicator of the proximity of the wireless node 101 and can be used to calculate the relative radio distance. The relative radio distance of the node from which the message was last received is then used as a criterion for whether or not the wireless node 101 retransmits a received message. For instance, a higher signal strength indicates closer proximity to the wireless node 101. The network control module 271 monitors the signal strengths of neighboring nodes 101 as the module 271 receives messages from nearby devices and uses it to estimate the relative radio distance (e.g., proximity of the transmitting node 101). It is also contemplated that the network control module 271 may use any other mechanism for estimating the relative radio distance of neighboring nodes (e.g., estimating location using global positioning satellite receivers or other positioning techniques).
In certain embodiments, the network control module 271 uses the proximity information to direct the routing and transmission of messages over the ad-hoc mesh network 109. For example, the system 101 can reduce the potential for overloading the ad-hoc mesh network 109 by implementing a smart flooding scheme whereby only a few nodes 101 retransmit a flooding message. Whether a node 101 retransmits a flooding message can be dependent on the relative distance group (e.g., “very near”, “near”, or “far”) to which the node 101 that is the transmitter of the message belongs. More specifically, if the transmitting node 101 is in the “far” or “near” group, the receiving node 101 can retransmit the flooding message. If the transmitting node 101 is in the “very near” group, the receiving node 101 does not retransmit the flooding message. For each broadcast message received from a node in either the “far” or “near” group, the network control module 271 assigns a random delay time for relaying or rebroadcasting. The delay period, for instance, exhibits a distribution function based on the estimated relative radio distance as a way to randomize the delay period before transmission. The distribution should be chosen in such a way that the random delay is larger for those nodes that are “near” than for those that are “far.” This favors, for instance, nodes 101 that are further away to relay the flooding message forward, which results in better flooding efficiency (smaller total number of transmissions). The use of a random delay time also prevents the unintended synchronization of message broadcasts as the message propagates over the ad-hoc mesh network 109. For example, unintended synchronization of the message broadcasts may result in too many nodes 101 sending broadcasting (i.e., flooding) messages over the ad-hoc mesh network 109 at exactly the same time. Additionally, the delay time provides an opportunity for the network control module 271 to monitor and count rebroadcasts of the message by other neighboring wireless nodes 101.
The MID table 277 contains a list of received messages. As the wireless node 101 receives messages from neighboring nodes over the ad hoc mesh network 109, the network control module 271 uses the MID table to check whether the message has been received previously by, for example, comparing the MIDs in the MID table 277 to that of the received message. The MID table 277 also contains a flag indicating whether a message has been or is being transmitted by the node 101 and the time when the entry was last updated. In exemplary embodiments, the MID is the tuple (SRC, MSN), where SRC is the NID of the source node and MSN is a message sequence number assigned by the source node. In this way, the MID is a unique identifier of each message that propagates in the network 109. The network control module 271 makes an entry in the MID table 277 for all new messages that it receives. If the message has been scheduled for transmission, the module 271 increments the message counter in the message table (see Table 4).
The message table 279 contains messages that the network control module 271 has scheduled to transmit. For example, as the node 101 receives a flooding message that the network control module 271 schedules for transmission, the module 271 updates the message table to include the message in the message table 279. Each entry in the message table 279 contains the message itself, the time when the message is scheduled to be sent, and the number of receptions of the same message by the node 101 (see Table 4). In exemplary embodiments, a message is not relayed over the ad-hoc mesh network 109 if the number of times the message has been received exceeds a predefined limit. For example, a message has the initial count of 0. In this example, as a wireless node 101 in the neighborhood is observed to transmit the message, the message count associated with the message is increased. When the maximum message count is reached, the network control module 271 removes the message from the message table 279. The transmitter of each message is also associated with an estimated relative radio distance (D) indicating whether the transmitting node is within close proximity of the wireless node 101 (e.g., transmitting node 101 is in the “very near” relative radio distance group) or far from the wireless node 101 (e.g., transmitting node 101 is in the “far” relative radio distance group). If the relative radio distance associated with the transmitting node indicates that the transmission of the message occurred “very near,” the wireless node 101 would not have to relay the message because it is assumed, for instance, that most of the other neighboring wireless nodes 101 have already received the same message. By taking into account the relative radio distances of neighboring nodes, the described smart flooding functionality leads to, on average, each flooding message being received for a few times by each node 101 independent of the node density. The number of times a message is received by any one node 101 affects the scalability of the network 109.
If the received message, however, is a unicast reply message that was addressed to the receiving node 101, the network control module 271 checks whether the destination node 101 can be found in the routing table 273 (e.g., can be found from the destination field in the reply message, or obtained from the source field of the query by the replying node). If found, the routing table entry will give the NID of the neighboring node to which the reply message will be sent in the next opportunity. If the unicast transmission is not successful, the next entry for the same DST will be used as the next try. If the received message is a unicast reply message that was not addressed to the receiving node, and no acknowledgment from the intended receiver node was heard, the node will store the message in the message table 279 for scheduled retransmission. It is noted that unicast messages or acknowledgement messages that are not addressed to the node 101 are normally received D2D radio layer 209 (see discussion of the D2D radio layer 209 below) but not by the awareness services module 111. However, under certain circumstances, the D2D radio layer 209 can provide such messages to the awareness services module 111 to schedule for retransmission. For example, if no successful unicast or acknowledgement of the same message is observed by the time when the message is scheduled to be transmitted, the node 101 will transmit the unicast message to the intended recipient found from the routing table 273 associated with the message. In this way, the nodes 101 that are not the intended recipients of the reply messages can assist in routing the message forward towards the correct destination.
As shown in
In exemplary embodiments, the low latency requirements also enable saving power in the host processor (e.g., as depicted in
By way of example, the awareness services module 111 can use the CIDs to locate and identify communities that are active (e.g., transmitting or receiving community messages) among one or more neighboring wireless nodes 101 by (1) passively monitoring messages directed towards one or more communities over the ad-hoc mesh network 109 using the process described with respect to
In exemplary embodiments, the awareness services module 111 is continuously updating the list of active communities by, for instance, monitoring for messaging traffic over the ad-hoc mesh network 109 related to one or more of the active communities (step 305). More specifically, the awareness services module 111 tracks whether there are any messages originating from or directed to one or more of the active communities over a predetermined period of time. In one embodiment, the period of time can be dependent on the on the density or stability of neighboring wireless nodes 101. For example, if the composition of the neighboring wireless nodes 101 is changing rapidly, the time period can be shorter. Similarly, if the composition of the neighboring wireless nodes 101 is more stable, the time period can be longer. In either case, the awareness services module 111 observes whether there are any messages related to one or more of the active communities (e.g., by checking the header information of the messages for CIDs corresponding to any of the active communities) (step 307). If no messages are observed over the predetermined period of time for a particular community, the awareness services module 111 designates that community as inactive and updates the list of active communities accordingly (step 309). If a message related to a particular community is observed during the time period, the community is considered to be still active and the awareness services module 111 need not update the list of active communities. It is contemplated that the awareness services module can continuously or periodically perform the monitoring process to update the list of active communities.
After creating the message, the awareness services module 111 initiates broadcast of the message over the ad-hoc mesh network 109 (step 349). In exemplary embodiments, the community search message is equivalent to a query and is transmitted and replied to using the processes described with respect to
After the member search message is generated, the awareness services module 111 initiates broadcast of the member search message over the ad-hoc mesh network 109 (step 369). In exemplary embodiments, the member search message is equivalent to a query and is transmitted and replied to using the processes described with respect to
Moreover, it is contemplated that the state of a community in a wireless node 101 can be used to filter incoming messages. For example, to block all incoming or outgoing messages, a user can set the state of a community to inactive so that all messages from that particular community are disregarded. It is contemplated that a user belonging to multiple communities may independently set the visibility state for each community. By way of example, to block incoming advertisements, the user can set the state to inactive for the community sending the advertisements. It is also contemplated that the user can automatically set the visibility state based on criteria such as time (e.g., to automatically set a visibility state at certain periods of the day), location (e.g., to automatically set a visibility state at certain locations such as work or school), or any other context (e.g., while in a meeting or at dinner).
In step 501, the application 201 within querying node 502 generates a request for searching community information (e.g., wireless nodes 101 having active communities or communities with visible members) over the ad-hoc mesh network 109 and sends the request to the community layer 205 of the querying node 502. The community layer 205 generates a community query message, assigns a community query identification number (CQID) to the query message and prepares the query message for transmission over the ad-hoc mesh network 109 by marking the query with CIDs of the communities from which the user is seeking information. If the user seeks information on members of the communities and the communities are private, the community layer 205 encrypts the community-specific user identity (e.g., alias) using the encryption keys associated with the respective CID and stored in the community directory 243 (
The network layer 207 assigns a message sequence number (MID) to the query message and adds fields to the network layer message header 281 (
The query message is then broadcasted to one or more relaying nodes 506 (step 509). All the nodes that are able to receive the broadcast message are relaying nodes. After processing by the relaying node 506, the query message is rebroadcasted to another relaying node or to the replying node 508 (step 511). The processes of the replying node 508 are described with respect to
At the querying node 502, the D2D radio layer 209 receives and acknowledges the reply message and forwards the reply message to the network layer 207 (step 517). The network layer 207 determines that the querying node 502 is the intended destination of the reply message by checking the DST field 294 in the network layer message header 281 and sends the message to the community layer 205 for processing (step 519). In case of a private community, the community layer 205 decrypts the reply message using the appropriate encryption keys stored in the community directory 243. Based on the information in the reply message, the community layer 205 updates information in the community directory 243 (list of active communities and the lists of visible members in the communities) and finally sends a service response to the query to the application 201 (step 521).
In step 561, the D2D radio layer 209 of the replying node 508 receives the query message and forwards it to the network layer 207 of the replying node 508. The network layer 207 may decide to rebroadcast the query message (step 563). On receipt, the network layer 207 forwards the query message to the community layer 205 (step 565).
If the community layer 205 determines that the query message contains one or more anonymized CIDs of the active communities associated with the replying node 508 and the query message contains encrypted user aliases, the community layer 205 decrypts the message and updates information in its community directory 243 (e.g., containing the list of active communities and the list of visible members of the communities). Next, the community layer 205 generates a reply message that contains the same CQID as the incoming query and has the source NID of the query message set as the destination NID of the reply message. If the query requests visible user aliases and the user alias in the node 508 is set as visible then the community layer 205 encrypts the user alias with the encryption keys associated with the community. The community layer 205 then retrieves a new anonymized CID from the community directory 243 and sends the reply message to the network layer 207 (step 567).
On receipt of the reply message, the network layer 207 assigns a new message sequence number (MSN) to the reply message, attaches the NID of the replying node 508 as the source and transmitter, finds the NID of the relaying node 506 for the next hop from the routing table 263, sets the receive NID of the reply message as the next hop and sends the reply message to the D2D radio layer 209 (step 569). The D2D radio layer 209 sends the reply message as a unicast message addressed to a relaying node 506 over the ad-hoc mesh network 109 (step 571).
Next, the awareness services module 111 determines at least one data schema or an instance of the at least one data schema associated with the information (step 703). As previously discussed, the data schema defines, for instance, the type and format of information that is to be sent or received by the requesting applications. By way of example, the data schema may include field definitions, data types, data structures, and the like associated with the information. In addition or alternatively, the data schema may specify metadata for describing the types or formats of information requested by the application. In one embodiment, the data schema is defined by the one or more applications making the request. It is contemplated that, in one embodiment, the applications may define more than one data schema or define multiple instances of the same schema in connection with publishing and/or subscribing to information.
In yet another embodiment, the subscription may also be associated with one or more filters. By way of example, when an application initiates a subscription for information, the application may provide subscription filters in addition to the data schema. Subscription filters specify further limitations to the subscription including, for instance: (1) values or value sets for files so that responses should contain the specified value constraints; (2) time constraints, e.g., time intervals when new information is provided to subscribing applications; (3) environmental constraints, e.g., information is made available to applications when neighboring nodes 101 and/or other characteristics of the ad-hoc mesh network 109 have changed above a given threshold.
After determining the at least one data schema, the awareness service module 111 initiates at least one instance of the data schema. For example, initiation of the data schema may include determining to store the data schema in the valuespace of at least one corresponding wireless node 101 of the ad-hoc mesh network 109 (step 705). In one embodiment, identification of the information for publication or subscription is based, at least in part, on the at least one data schema. In other words, the data schema serves as criteria for associating published information against subscriptions for the information. The awareness services module 111 then causes, at least in part, the valuespace to be made available for publication, subscription, querying, or a combination thereof by one or more other nodes 101 of the ad-hoc mesh network 109.
For example, to publish information, the awareness services module 111 initiates at least one instance of the data schema by, for instance, storing the data schema and corresponding information item(s) in the valuespace of the publishing wireless node 101a. Then, on the subscription side, the awareness services module 111 of a subscribing wireless node 101b generates a subscription query including, at least in part, a target data schema that defines the information that subject to the description. In one embodiment, the same applications need not be used to define the published data schema and the target or subscribed data schema. In other words, a different application may be used to subscribe to information published by another application.
In some embodiments, the awareness services module 111 can generate a hash value by applying, for instance, a hash function to the data schema to reduce the amount of data that is to be included in the query or response messages transmitted over the ad-hoc mesh network 109. It is also contemplated that any other form of compression may be used to reduce the memory size of the data schema message for transmission. Then the receiving wireless node 101 can apply the same hash function or compression scheme to extract the data schema specified in either the query or response message. The process for subscribing to information over an ad-hoc mesh network is described in more detail with respect to
If another wireless node 101b receives the query message (step 803), the awareness services module 111 of the receiving wireless node 101b determines whether there are any information or data items it its valuespace that at least substantially matches the requested data schema. If there are matching information, the awareness service module 111 filters the matching data items from the valuespace and generates a response message based, at least in part, on the matching items (step 805). It is noted that, in one embodiment, the awareness services module 111 need not match all data types or formats specified in the data schema of the query message. Instead, the awareness services module 111 might match just one or more of the elements of the data schema (e.g., compare only the name filed of a contact data structure, while ignoring matches for the address fields) to find responsive data or information items. The receiving wireless node 101b then broadcasts the response message over the ad-hoc mesh network 109 (step 807). If filtering was performed to generate the response, the response message may also include the corresponding filter and/or filter ID.
If the response message is received by the subscribing wireless node 101a (step 809), the awareness services module 111 determines whether the response message is a duplicate of one or more messages that have already been received (step 811). If it is not a duplicate message, the awareness service module 111 determines whether the response message includes the same filter ID specified by the subscribing application (step 813). If no filter ID is specified or the filter ID does not match, the awareness services module 111 determines to filter the information or data items from the response message (step 815), and then stores the data items in the valuespace of the subscribing wireless node 111 (step 817). If the filter ID matches or substantially matches, the awareness services module 111 stores the information or data items in the response message (or indicated by the response message) in the valuespace without further filtering. On storing the data items, the awareness services module 111 notifies the subscribing application or applications that the subscribed information is available in the valuespace (819) and resets the query timer to determine when next to query for newly available published information (step 821).
If, at step 811, the awareness services module 111 determines that the response message is a duplicate message (e.g., the same message has been relayed or received from another wireless node 101), then the awareness services module 111 disregards the message and resets and then restarts the query timer (steps 823 and 825).
At step 827, the awareness services module 111 determines whether to resend the query based on the query time. If it is time to resend the subscription query to search for newly available published information, the awareness services module can then determine whether to combine the query message with other query messages originating from, for instance, other subscription instances or data schemas (step 829). The query along with any specified filter to select from among responsive data items is then sent or broadcast over the ad-hoc mesh network 109 (step 831). At the same time the query timer is restarted to continue the subscription query process (step 833). In one embodiment, the querying process is continued until a stop request is received (step 835). In other embodiments, the subscription may be associated with a specific duration or effective period. In this case, the subscription querying process continues for the specified duration or until the subscription expires.
As previously described, the wireless nodes (e.g., nodes 901-905) engaged in a publish/subscribe process can optimize the signaling of its messages to reduce message traffic over the ad-hoc mesh network 109. One process, as described with respect to
At step 915, node 901 initiates a query for published information responsive to its data schema instance. In one embodiment, the query acts as a way to convey the subscription to other nodes (e.g., nodes 901 and 905). It is contemplated that more than one query can carry the subscription and that a single query can carry multiple subscriptions. Furthermore, a query message may include multiple nested data items include subscription information, one or more queries, one or more query responses, other data items (e.g., including unrelated data items), and/or other messages or signaling information transmitted over the ad-hoc mesh network 109. In this case, the query is transmitted to both the node 903 and node 905 over the ad-hoc mesh network 109. At step 917, node 905 receives the query but ignores the message because the specified data schema is unknown to it because it has not yet initiated a similar data schema instance. At step 919, the node 903 receives the same query and determines that it's publish item is responsive and transmits a response message received by both the node 901 and node 905. The node 901 receives the response and restarts its query time because it has received responsive information (step 921). The node 905 again ignores the message because it has not initiated an instance of a matching or substantially matching data schema (step 923).
At step 925, the node 903 generates and transmits a query under its data schema instance. The node 901 has responsive information and transmits a response message (step 927). The node 905 again ignores the message because it does not have an instance of a responsive data schema (step 929). Meanwhile, the response 927 from the node 901 is received at the node 903, which also causes the node 903 to restart its query timer because it has received responsive information based on its query 925. The response 927 also reaches the node 905, but is again ignored because the node 905 does not have an instance of a responsive data schema (step 933).
Next, the node 905 initiates data schema instance to subscribe to information related to the data schemas already initiated by nodes 901 and 903 (step 935). The node 905 generates and transmits a query message and starts its query time (step 937). The query 937 from the node 905 is received at both the nodes 901 and 903. Node 901 generates and transmits a response (step 939). At 941, the response 939 is received at node 903. Even though the response was broadcast in response to the query 937 of the node 905, the response 939 nonetheless matches or substantially matches the subscription created the node 903 that is carried in the query 925 that is scheduled for retransmission at step 953. Accordingly, the node 903 restarts its query timer (also at step 941), which effectively delays the schedule retransmission 953 to a later retransmission at 955. In this way, the number of messages is advantageously reduced by delaying querying for additional information when the node 903 already has the latest information based on the query 937 of the node 905.
At step 947, the node 901 delays its scheduled second query because based on the response 945 by the node 903 to the query 937 is responsive to the subscription initiated by the node 901. In this example, the response 945 is also responsive to the query 937 of the node 905. Accordingly, the nodes 901 and 905 both restart their respective query timers (respectively at steps 949 and 951). The restarting of the timer also effectively delays the original resending of the node 905's query (step 957).
As a result, the next query is effectively at step 959 by the node 903 based on, for instance, the ongoing query timers. The process then continues as previously described beginning with a response 961 from the node 901 with is then received at the nodes 903 and 905. On receipt of the response, the query timer's at the nodes 903 and 905 are restarted (respectively at steps 963 and 965). In this way, the different query timers of the nodes 901-905 effectively and advantageously timed to reduce overall messaging traffic arising from the various embodiments of the publish/subscribe mechanism described herein.
At step 1001, the awareness services module 111 of participating wireless nodes 101a-101n, collect and publish user profile data over the ad-hoc mesh network 109 using, for instance, the publishing processes described previously. By way of example, the user profile data include, at least in part, statistics or other information regarding application usage, music/media player history, and like. These statistics are used to generated user profile data that are published over the ad-hoc mesh network 109. In some embodiments, the user profile data is anonymized to protect the identities of participating users and their respective nodes 101a-101n.
Following publication of the data, the awareness services modules 111 of the subscribing nodes 101a-101n may subscribe to the published user profile data from participating nodes 101a-101n (step 1003). As noted previously, in some embodiments, subscribing nodes 101a-101n also publish or other make their user profile data available to other participating nodes 101a-101n. Based on the subscriptions, the awareness services modules 111 of the subscribing nodes 101a-101n receive response messages from the local ad-hoc mesh network 109 containing the user profile data (step 1005).
The awareness services module 111 and/or a local recommendation engine may then generate recommendation information based on the published user profile data. The recommendation engine may, for instance, generate recommendations based, for instance, on most frequently used or accessed content, items, functions, applications, services, etc. In addition, the user profile data may include ratings information for generating recommendations. It is contemplated that the awareness services module 111 and/or the recommendation engine may use any algorithm to generate recommendation information for the published user profile data. The recommendation information may then be used to present one or more recommendations in user interface associated with an application and or process executing on the wireless node 101 (e.g., display suggestions in an application grid (see, e.g., the example of
The example of
At step 1307, the subscriber 1301 subscribes to published user profiled data (e.g., the application lists generated the process of
The recommendation engine evaluates to the user profile data (e.g., applications lists) to determine or aggregate the application count of reach respective engine (step 1315). Based on the application counts, the recommendation engine generates recommendation information based on the top five aggregated applications that are not already installed on the node 101, and adds the icons corresponding to the applications the application grid UI 1305 (step 1317).
The processes described herein for providing a publish/subscribe mechanism over an ad-hoc mesh network may be advantageously implemented via software, hardware, firmware or a combination of software and/or firmware and/or hardware. For example, the processes described herein, may be advantageously implemented via processor(s), Digital Signal Processing (DSP) chip, an Application Specific Integrated Circuit (ASIC), Field Programmable Gate Arrays (FPGAs), etc. Such exemplary hardware for performing the described functions is detailed below.
A bus 1510 includes one or more parallel conductors of information so that information is transferred quickly among devices coupled to the bus 1510. One or more processors 1502 for processing information are coupled with the bus 1510.
A processor (or multiple processors) 1502 performs a set of operations on information as specified by computer program code related to providing a publish/subscribe mechanism over an ad-hoc mesh network. The computer program code is a set of instructions or statements providing instructions for the operation of the processor and/or the computer system to perform specified functions. The code, for example, may be written in a computer programming language that is compiled into a native instruction set of the processor. The code may also be written directly using the native instruction set (e.g., machine language). The set of operations include bringing information in from the bus 1510 and placing information on the bus 1510. The set of operations also typically include comparing two or more units of information, shifting positions of units of information, and combining two or more units of information, such as by addition or multiplication or logical operations like OR, exclusive OR (XOR), and AND. Each operation of the set of operations that can be performed by the processor is represented to the processor by information called instructions, such as an operation code of one or more digits. A sequence of operations to be executed by the processor 1502, such as a sequence of operation codes, constitute processor instructions, also called computer system instructions or, simply, computer instructions. Processors may be implemented as mechanical, electrical, magnetic, optical, chemical or quantum components, among others, alone or in combination.
Computer system 1500 also includes a memory 1504 coupled to bus 1510. The memory 1504, such as a random access memory (RAM) or any other dynamic storage device, stores information including processor instructions for providing a publish/subscribe mechanism over an ad-hoc mesh network. Dynamic memory allows information stored therein to be changed by the computer system 1500. RAM allows a unit of information stored at a location called a memory address to be stored and retrieved independently of information at neighboring addresses. The memory 1504 is also used by the processor 1502 to store temporary values during execution of processor instructions. The computer system 1500 also includes a read only memory (ROM) 1506 or any other static storage device coupled to the bus 1510 for storing static information, including instructions, that is not changed by the computer system 1500. Some memory is composed of volatile storage that loses the information stored thereon when power is lost. Also coupled to bus 1510 is a non-volatile (persistent) storage device 1508, such as a magnetic disk, optical disk or flash card, for storing information, including instructions, that persists even when the computer system 1500 is turned off or otherwise loses power.
Information, including instructions for providing a publish/subscribe mechanism over an ad-hoc mesh network, is provided to the bus 1510 for use by the processor from an external input device 1512, such as a keyboard containing alphanumeric keys operated by a human user, or a sensor. A sensor detects conditions in its vicinity and transforms those detections into physical expression compatible with the measurable phenomenon used to represent information in computer system 1500. Other external devices coupled to bus 1510, used primarily for interacting with humans, include a display device 1514, such as a cathode ray tube (CRT), a liquid crystal display (LCD), a light emitting diode (LED) display, an organic LED (OLED) display, a plasma screen, or a printer for presenting text or images, and a pointing device 1516, such as a mouse, a trackball, cursor direction keys, or a motion sensor, for controlling a position of a small cursor image presented on the display 1514 and issuing commands associated with graphical elements presented on the display 1514. In some embodiments, for example, in embodiments in which the computer system 1500 performs all functions automatically without human input, one or more of external input device 1512, display device 1514 and pointing device 1516 is omitted.
In the illustrated embodiment, special purpose hardware, such as an application specific integrated circuit (ASIC) 1520, is coupled to bus 1510. The special purpose hardware is configured to perform operations not performed by processor 1502 quickly enough for special purposes. Examples of ASICs include graphics accelerator cards for generating images for display 1514, cryptographic boards for encrypting and decrypting messages sent over a network, speech recognition, and interfaces to special external devices, such as robotic arms and medical scanning equipment that repeatedly perform some complex sequence of operations that are more efficiently implemented in hardware.
Computer system 1500 also includes one or more instances of a communications interface 1570 coupled to bus 1510. Communication interface 1570 provides a one-way or two-way communication coupling to a variety of external devices that operate with their own processors, such as printers, scanners and external disks. In general the coupling is with a network link 1578 that is connected to a local network 1580 to which a variety of external devices with their own processors are connected. For example, communication interface 1570 may be a parallel port or a serial port or a universal serial bus (USB) port on a personal computer. In some embodiments, communications interface 1570 is an integrated services digital network (ISDN) card or a digital subscriber line (DSL) card or a telephone modem that provides an information communication connection to a corresponding type of telephone line. In some embodiments, a communication interface 1570 is a cable modem that converts signals on bus 1510 into signals for a communication connection over a coaxial cable or into optical signals for a communication connection over a fiber optic cable. As another example, communications interface 1570 may be a local area network (LAN) card to provide a data communication connection to a compatible LAN, such as Ethernet. Wireless links may also be implemented. For wireless links, the communications interface 1570 sends or receives or both sends and receives electrical, acoustic or electromagnetic signals, including infrared and optical signals, that carry information streams, such as digital data. For example, in wireless handheld devices, such as mobile telephones like cell phones, the communications interface 1570 includes a radio band electromagnetic transmitter and receiver called a radio transceiver. In certain embodiments, the communications interface 1570 enables connection to the communication network 105 for providing a publish/subscribe mechanism over an ad-hoc mesh network to the UE 101.
The term “computer-readable medium” as used herein refers to any medium that participates in providing information to processor 1502, including instructions for execution. Such a medium may take many forms, including, but not limited to computer-readable storage medium (e.g., non-volatile media, volatile media), and transmission media. Non-transitory media, such as non-volatile media, include, for example, optical or magnetic disks, such as storage device 1508. Volatile media include, for example, dynamic memory 1504. Transmission media include, for example, twisted pair cables, coaxial cables, copper wire, fiber optic cables, and carrier waves that travel through space without wires or cables, such as acoustic waves and electromagnetic waves, including radio, optical and infrared waves. Signals include man-made transient variations in amplitude, frequency, phase, polarization or other physical properties transmitted through the transmission media. Common forms of computer-readable media include, for example, a floppy disk, a flexible disk, hard disk, magnetic tape, any other magnetic medium, a CD-ROM, CDRW, DVD, any other optical medium, punch cards, paper tape, optical mark sheets, any other physical medium with patterns of holes or other optically recognizable indicia, a RAM, a PROM, an EPROM, a FLASH-EPROM, an EEPROM, a flash memory, any other memory chip or cartridge, a carrier wave, or any other medium from which a computer can read. The term computer-readable storage medium is used herein to refer to any computer-readable medium except transmission media.
Logic encoded in one or more tangible media includes one or both of processor instructions on a computer-readable storage media and special purpose hardware, such as ASIC 1520.
Network link 1578 typically provides information communication using transmission media through one or more networks to other devices that use or process the information. For example, network link 1578 may provide a connection through local network 1580 to a host computer 1582 or to equipment 1584 operated by an Internet Service Provider (ISP). ISP equipment 1584 in turn provides data communication services through the public, world-wide packet-switching communication network of networks now commonly referred to as the Internet 1590.
A computer called a server host 1592 connected to the Internet hosts a process that provides a service in response to information received over the Internet. For example, server host 1592 hosts a process that provides information representing video data for presentation at display 1514. It is contemplated that the components of system 1500 can be deployed in various configurations within other computer systems, e.g., host 1582 and server 1592.
At least some embodiments of the invention are related to the use of computer system 1500 for implementing some or all of the techniques described herein. According to one embodiment of the invention, those techniques are performed by computer system 1500 in response to processor 1502 executing one or more sequences of one or more processor instructions contained in memory 1504. Such instructions, also called computer instructions, software and program code, may be read into memory 1504 from another computer-readable medium such as storage device 1508 or network link 1578. Execution of the sequences of instructions contained in memory 1504 causes processor 1502 to perform one or more of the method steps described herein. In alternative embodiments, hardware, such as ASIC 1520, may be used in place of or in combination with software to implement the invention. Thus, embodiments of the invention are not limited to any specific combination of hardware and software, unless otherwise explicitly stated herein.
The signals transmitted over network link 1578 and other networks through communications interface 1570, carry information to and from computer system 1500. Computer system 1500 can send and receive information, including program code, through the networks 1580, 1590 among others, through network link 1578 and communications interface 1570. In an example using the Internet 1590, a server host 1592 transmits program code for a particular application, requested by a message sent from computer 1500, through Internet 1590, ISP equipment 1584, local network 1580 and communications interface 1570. The received code may be executed by processor 1502 as it is received, or may be stored in memory 1504 or in storage device 1508 or any other non-volatile storage for later execution, or both. In this manner, computer system 1500 may obtain application program code in the form of signals on a carrier wave.
Various forms of computer readable media may be involved in carrying one or more sequence of instructions or data or both to processor 1502 for execution. For example, instructions and data may initially be carried on a magnetic disk of a remote computer such as host 1582. The remote computer loads the instructions and data into its dynamic memory and sends the instructions and data over a telephone line using a modem. A modem local to the computer system 1500 receives the instructions and data on a telephone line and uses an infra-red transmitter to convert the instructions and data to a signal on an infra-red carrier wave serving as the network link 1578. An infrared detector serving as communications interface 1570 receives the instructions and data carried in the infrared signal and places information representing the instructions and data onto bus 1510. Bus 1510 carries the information to memory 1504 from which processor 1502 retrieves and executes the instructions using some of the data sent with the instructions. The instructions and data received in memory 1504 may optionally be stored on storage device 1508, either before or after execution by the processor 1502.
In one embodiment, the chip set or chip 1600 includes a communication mechanism such as a bus 1601 for passing information among the components of the chip set 1600. A processor 1603 has connectivity to the bus 1601 to execute instructions and process information stored in, for example, a memory 1605. The processor 1603 may include one or more processing cores with each core configured to perform independently. A multi-core processor enables multiprocessing within a single physical package. Examples of a multi-core processor include two, four, eight, or greater numbers of processing cores. Alternatively or in addition, the processor 1603 may include one or more microprocessors configured in tandem via the bus 1601 to enable independent execution of instructions, pipelining, and multithreading. The processor 1603 may also be accompanied with one or more specialized components to perform certain processing functions and tasks such as one or more digital signal processors (DSP) 1607, or one or more application-specific integrated circuits (ASIC) 1609. A DSP 1607 typically is configured to process real-world signals (e.g., sound) in real time independently of the processor 1603. Similarly, an ASIC 1609 can be configured to performed specialized functions not easily performed by a more general purpose processor. Other specialized components to aid in performing the inventive functions described herein may include one or more field programmable gate arrays (FPGA) (not shown), one or more controllers (not shown), or one or more other special-purpose computer chips.
In one embodiment, the chip set or chip 1600 includes merely one or more processors and some software and/or firmware supporting and/or relating to and/or for the one or more processors.
The processor 1603 and accompanying components have connectivity to the memory 1605 via the bus 1601. The memory 1605 includes both dynamic memory (e.g., RAM, magnetic disk, writable optical disk, etc.) and static memory (e.g., ROM, CD-ROM, etc.) for storing executable instructions that when executed perform the inventive steps described herein to provide a publish/subscribe mechanism over an ad-hoc mesh network. The memory 1605 also stores the data associated with or generated by the execution of the inventive steps.
Pertinent internal components of the telephone include a Main Control Unit (MCU) 1703, a Digital Signal Processor (DSP) 1705, and a receiver/transmitter unit including a microphone gain control unit and a speaker gain control unit. A main display unit 1707 provides a display to the user in support of various applications and mobile terminal functions that perform or support the steps of providing a publish/subscribe mechanism over an ad-hoc mesh network. The display 1707 includes display circuitry configured to display at least a portion of a user interface of the mobile terminal (e.g., mobile telephone). Additionally, the display 1707 and display circuitry are configured to facilitate user control of at least some functions of the mobile terminal. An audio function circuitry 1709 includes a microphone 1711 and microphone amplifier that amplifies the speech signal output from the microphone 1711. The amplified speech signal output from the microphone 1711 is fed to a coder/decoder (CODEC) 1713.
A radio section 1715 amplifies power and converts frequency in order to communicate with a base station, which is included in a mobile communication system, via antenna 1717. The power amplifier (PA) 1719 and the transmitter/modulation circuitry are operationally responsive to the MCU 1703, with an output from the PA 1719 coupled to the duplexer 1721 or circulator or antenna switch, as known in the art. The PA 1719 also couples to a battery interface and power control unit 1720.
In use, a user of mobile terminal 1701 speaks into the microphone 1711 and his or her voice along with any detected background noise is converted into an analog voltage. The analog voltage is then converted into a digital signal through the Analog to Digital Converter (ADC) 1723. The control unit 1703 routes the digital signal into the DSP 1705 for processing therein, such as speech encoding, channel encoding, encrypting, and interleaving. In one embodiment, the processed voice signals are encoded, by units not separately shown, using a cellular transmission protocol such as enhanced data rates for global evolution (EDGE), general packet radio service (GPRS), global system for mobile communications (GSM), Internet protocol multimedia subsystem (IMS), universal mobile telecommunications system (UMTS), etc., as well as any other suitable wireless medium, e.g., microwave access (WiMAX), Long Term Evolution (LTE) networks, code division multiple access (CDMA), wideband code division multiple access (WCDMA), wireless fidelity (WiFi), satellite, and the like, or any combination thereof.
The encoded signals are then routed to an equalizer 1725 for compensation of any frequency-dependent impairments that occur during transmission though the air such as phase and amplitude distortion. After equalizing the bit stream, the modulator 1727 combines the signal with a RF signal generated in the RF interface 1729. The modulator 1727 generates a sine wave by way of frequency or phase modulation. In order to prepare the signal for transmission, an up-converter 1731 combines the sine wave output from the modulator 1727 with another sine wave generated by a synthesizer 1733 to achieve the desired frequency of transmission. The signal is then sent through a PA 1719 to increase the signal to an appropriate power level. In practical systems, the PA 1719 acts as a variable gain amplifier whose gain is controlled by the DSP 1705 from information received from a network base station. The signal is then filtered within the duplexer 1721 and optionally sent to an antenna coupler 1735 to match impedances to provide maximum power transfer. Finally, the signal is transmitted via antenna 1717 to a local base station. An automatic gain control (AGC) can be supplied to control the gain of the final stages of the receiver. The signals may be forwarded from there to a remote telephone which may be another cellular telephone, any other mobile phone or a land-line connected to a Public Switched Telephone Network (PSTN), or other telephony networks.
Voice signals transmitted to the mobile terminal 1701 are received via antenna 1717 and immediately amplified by a low noise amplifier (LNA) 1737. A down-converter 1739 lowers the carrier frequency while the demodulator 1741 strips away the RF leaving only a digital bit stream. The signal then goes through the equalizer 1725 and is processed by the DSP 1705. A Digital to Analog Converter (DAC) 1743 converts the signal and the resulting output is transmitted to the user through the speaker 1745, all under control of a Main Control Unit (MCU) 1703 which can be implemented as a Central Processing Unit (CPU) (not shown).
The MCU 1703 receives various signals including input signals from the keyboard 1747. The keyboard 1747 and/or the MCU 1703 in combination with other user input components (e.g., the microphone 1711) comprise a user interface circuitry for managing user input. The MCU 1703 runs a user interface software to facilitate user control of at least some functions of the mobile terminal 1701 to provide a publish/subscribe mechanism over an ad-hoc mesh network. The MCU 1703 also delivers a display command and a switch command to the display 1707 and to the speech output switching controller, respectively. Further, the MCU 1703 exchanges information with the DSP 1705 and can access an optionally incorporated SIM card 1749 and a memory 1751. In addition, the MCU 1703 executes various control functions required of the terminal. The DSP 1705 may, depending upon the implementation, perform any of a variety of conventional digital processing functions on the voice signals. Additionally, DSP 1705 determines the background noise level of the local environment from the signals detected by microphone 1711 and sets the gain of microphone 1711 to a level selected to compensate for the natural tendency of the user of the mobile terminal 1701.
The CODEC 1713 includes the ADC 1723 and DAC 1743. The memory 1751 stores various data including call incoming tone data and is capable of storing other data including music data received via, e.g., the global Internet. The software module could reside in RAM memory, flash memory, registers, or any other form of writable storage medium known in the art. The memory device 1751 may be, but not limited to, a single memory, CD, DVD, ROM, RAM, EEPROM, optical storage, magnetic disk storage, flash memory storage, or any other non-volatile storage medium capable of storing digital data.
An optionally incorporated SIM card 1749 carries, for instance, important information, such as the cellular phone number, the carrier supplying service, subscription details, and security information. The SIM card 1749 serves primarily to identify the mobile terminal 1701 on a radio network. The card 1749 also contains a memory for storing a personal telephone number registry, text messages, and user specific mobile terminal settings.
While the invention has been described in connection with a number of embodiments and implementations, the invention is not so limited but covers various obvious modifications and equivalent arrangements, which fall within the purview of the appended claims. Although features of the invention are expressed in certain combinations among the claims, it is contemplated that these features can be arranged in any combination and order.
Number | Name | Date | Kind |
---|---|---|---|
5873023 | Phillips et al. | Feb 1999 | A |
7873655 | Chang et al. | Jan 2011 | B2 |
20020030699 | Van Ee | Mar 2002 | A1 |
20030191828 | Ramanathan et al. | Oct 2003 | A1 |
20070271234 | Ravikiran | Nov 2007 | A1 |
20090088133 | Orlassino | Apr 2009 | A1 |
20090210495 | Wolfson et al. | Aug 2009 | A1 |
20090271244 | Kalasapur et al. | Oct 2009 | A1 |
20110125887 | Hadas et al. | May 2011 | A1 |
20120329475 | Ribaudo et al. | Dec 2012 | A1 |
Number | Date | Country |
---|---|---|
WO 2007140135 | Dec 2007 | WO |
Entry |
---|
Dong et al., “Secure Group Communication in Wireless Mesh Networks”, World of Wiress, Mobile and Multimedia Networks, 2008, 2008 International Symposium, Jun. 23, 2008, IEEE, Piscataway, NJ, U.S.A. |
International Search Report for related International Patent Application No. PCT/FI2011/050914 dated Jan. 20, 2012, pp. 1-5. |
International Written Opinion for related International Patent Application No. PCT/FI2011/050914 dated Jan. 20, 2012, pp. 1-7. |
U.S. Appl. No. 12/475,356, filed May 29, 2009, Kari J. Leppanen et al. |
U.S. Appl. No. 12/475,359, filed May 29, 2009, Kari Leppanen et al. |
The Many Faces of Publish/Subscribe, Eugster et al., ACM Computing Surveys, vol. 35, No. 2, Jun. 2003, pp. 114-131. |
Number | Date | Country | |
---|---|---|---|
20120135723 A1 | May 2012 | US |