# Patent

## Title
Methods and systems for service discovery management in peer-to-peer networks

## Abstract

Certain embodiments of the present disclosure relate to a method and an apparatus for managing and optimizing service discovery in a peer-to-peer (P2P) wireless network. Nodes of the P2P network advertise their capabilities to their peers in the form of services. Efficient propagation and management of node's services to other nodes is proposed in the present disclosure.

## Background
TECHNICAL FIELD
Certain embodiments of the present disclosure generally relate to wireless communications and, more particularly to managing service discovery in peer-to-peer networks.
BACKGROUND
Nodes of a peer-to-peer (P2P) wireless network typically advertise capabilities to their peers in the form of services. Such services can, for example, provide connectivity between nodes and/or access to other nodes' content. Thus, an important element in designing a P2P network is efficient propagation of a node's services to other nodes that may be interested in those services.
Significant gain in usability of a P2P network may be achieved if a node can advertise its services, not only to direct neighbors of the node (one hop away), but also to nodes that are more than one hop away. Unfortunately, in the case of conventional multi-hop architectures, management of service advertisements and consumed bandwidth for discovery purposes may be prohibitive.
SUMMARY
Certain embodiments of the present disclosure provide a method for wireless communications by a wireless node in a peer-to-peer (P2P) network. The method generally includes receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network, generating a prioritized list of services, based on one or more services offered by the wireless node and services listed in the received advertisements of services, and distributing the prioritized list of services to other wireless nodes in the P2P network.
Certain embodiments of the present disclosure provide a method for wireless communications by a wireless node of a peer-to-peer (P2P) network. The method generally includes receiving an advertisement including a list of one or more services offered by wireless nodes of the P2P network, identifying a service of interest from the list, and identifying at least one of the wireless nodes in the P2P network that offers the service of interest.
Certain embodiments of the present disclosure provide an apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network. The apparatus generally includes logic for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network, logic for generating a prioritized list of services, based on one or more services offered by the wireless node and services listed in the received advertisements of services, and logic for distributing the prioritized list of services to other wireless nodes in the P2P network.
Certain embodiments of the present disclosure provide an apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network. The apparatus generally includes logic for receiving an advertisement including a list of one or more services offered by wireless nodes of the P2P network, logic for identifying a service of interest from the list, and logic for identifying at least one of the wireless nodes in the P2P network that offers the service of interest.
Certain embodiments of the present disclosure provide an apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network. The apparatus generally includes means for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network, means for generating a prioritized list of services, based on one or more services offered by the wireless node and services listed in the received advertisements of services, and means for distributing the prioritized list of services to other wireless nodes in the P2P network.
Certain embodiments of the present disclosure provide an apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network. The apparatus generally includes means for receiving an advertisement including a list of one or more services offered by wireless nodes of the P2P network, means for identifying a service of interest from the list, and means for identifying at least one of the wireless nodes in the P2P network that offers the service of interest.
Certain embodiments of the present disclosure provide a computer-program product for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising a computer-readable medium having instructions stored thereon, the instructions being executable by one or more processors. The instructions generally include instructions for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network, instructions for generating a prioritized list of services, based on one or more services offered by the wireless node and services listed in the received advertisements of services, and instructions for distributing the prioritized list of services to other wireless nodes in the P2P network.
Certain embodiments of the present disclosure provide a computer-program product for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising a computer-readable medium having instructions stored thereon, the instructions being executable by one or more processors. The instructions generally include instructions for receiving an advertisement including a list of one or more services offered by wireless nodes of the P2P network, instructions for identifying a service of interest from the list, and instructions for identifying at least one of the wireless nodes in the P2P network that offers the service of interest.



BRIEF DESCRIPTION OF THE DRAWINGS
So that the manner in which the above-recited features of the present disclosure can be understood in detail, a more particular description, briefly summarized above, may be had by reference to embodiments, some of which are illustrated in the appended drawings. It is to be noted, however, that the appended drawings illustrate only certain typical embodiments of this disclosure and are therefore not to be considered limiting of its scope, for the description may admit to other equally effective embodiments.
FIG. 1 illustrates an example wireless communication system in accordance with certain embodiments of the present disclosure.
FIG. 2 illustrates a system that allows two nodes to communicate in accordance with certain embodiments of the present disclosure.
FIG. 3 illustrates an example of a communication device in accordance with certain embodiments of the present disclosure.
FIG. 4 illustrates example operations for managing services in a peer-to-peer network in accordance with certain embodiments of the present disclosure.
FIG. 4A illustrates example components capable of performing the operations illustrated in FIG. 4.
FIG. 5 illustrates a service advertisement layout in the peer-to-peer network in accordance with certain embodiments of the present disclosure.
FIG. 6 illustrates example operations for identifying nodes of the peer-to-peer network that offer a particular service in accordance with certain embodiments of the present disclosure.
FIG. 6A illustrates example components capable of performing the operations illustrated in FIG. 6.



DETAILED DESCRIPTION
The word “exemplary” is used herein to mean “serving as an example, instance, or illustration.” Any embodiment described herein as “exemplary” is not necessarily to be construed as preferred or advantageous over other embodiments.
Exemplary Wireless Communication System
The techniques described herein may be used for various broadband wireless communication systems, including communication systems that are based on an orthogonal multiplexing scheme. Examples of such communication systems include Orthogonal Frequency Division Multiple Access (OFDMA) systems, Single-Carrier Frequency Division Multiple Access (SC-FDMA) systems, and so forth. An OFDMA system utilizes orthogonal frequency division multiplexing (OFDM), which is a modulation technique that partitions the overall system bandwidth into multiple orthogonal sub-carriers. These sub-carriers may also be called tones, bins, etc. With OFDM, each sub-carrier may be independently modulated with data. An SC-FDMA system may utilize interleaved FDMA (IFDMA) to transmit on sub-carriers that are distributed across the system bandwidth, localized FDMA (LFDMA) to transmit on a block of adjacent sub-carriers, or enhanced FDMA (EFDMA) to transmit on multiple blocks of adjacent sub-carriers. In general, modulation symbols are sent in the frequency domain with OFDM and in the time domain with SC-FDMA.
One specific example of a communication system based on an orthogonal multiplexing scheme is a WiMAX system. WiMAX, which stands for the Worldwide Interoperability for Microwave Access, is a standards-based broadband wireless technology that provides high-throughput broadband connections over long distances. There are two main applications of WiMAX today: fixed WiMAX and mobile WiMAX. Fixed WiMAX applications are point-to-multipoint, enabling broadband access to homes and businesses, for example. Mobile WiMAX offers the full mobility of cellular networks at broadband speeds.
IEEE 802.16x is an emerging standard organization to define an air interface for fixed and mobile broadband wireless access (BWA) systems. These standards define at least four different physical layers (PHYs) and one medium access control (MAC) layer. The OFDM and OFDMA physical layer of the four physical layers are the most popular in the fixed and mobile BWA areas respectively. It should be understood that many other standard and non-standard wireless networks exist, all of which are meant to be included within the capabilities of this application.
Referring now to FIG. 1, illustrated is a wireless communication system 100 in accordance with various embodiments of the present disclosure. System 100 comprises a base station 102 that can include multiple antenna groups. For example, one antenna group can include antennas 104 and 106, another group can comprise antennas 108 and 110, and an additional group can include antennas 112 and 114. Two antennas are illustrated for each antenna group; however, more or fewer antennas can be utilized for each group. Base station 102 can additionally include a transmitter chain and a receiver chain, each of which can in turn comprise a plurality of components associated with signal transmission and reception (e.g., processors, modulators, multiplexers, demodulators, demultiplexers, antennas, and so forth), as will be appreciated by one skilled in the art. Additionally, base station 102 can be a home base station, a Femto base station, and/or the like.
Base station 102 can communicate with one or more devices such as device 116; however, it is to be appreciated that base station 102 can communicate with substantially any number of devices similar to device 116. As depicted, device 116 is in communication with antennas 104 and 106, where antennas 104 and 106 transmit information to device 116 over a forward link 118 and receive information from device 116 over a reverse link 120. In a frequency division duplex (FDD) system, forward link 118 can utilize a different frequency band than that used by reverse link 120, for example. Further, in a time division duplex (TDD) system, forward link 118 and reverse link 120 can utilize a common frequency band.
In addition, devices 122 and 124 can be communicating with one another, such as in a peer-to-peer configuration. Moreover, device 122 is in communication with device 124 using links 126 and 128. In a peer-to-peer ad hoc network, devices within range of each other, such as devices 122 and 124, communicate directly with each other without a base station 102 and/or a wired infrastructure to relay their communication. Additionally, peer devices or nodes can relay traffic. The devices within the network communicating in a peer-to-peer manner can function similar to base stations and relay traffic or communications to other devices, functioning similar to base stations, until the traffic reaches its ultimate destination. The devices can also transmit control channels, which carry information that can be utilized to manage the data transmission between peer nodes.
A communication network can include any number of devices or nodes that are in wireless (or wired) communication. Each node can be within range of one or more other nodes and can communicate with the other nodes or through utilization of the other nodes, such as in a multi-hop topography (e.g., communications can hop from node to node until reaching a final destination). For example, a sender node may wish to communicate with a receiver node. To enable packet transfer between sender node and receiver node, one or more intermediate nodes can be utilized. It should be understood that any node can be a sender node and/or a receiver node and can perform functions of either sending and/or receiving information at substantially the same time (e.g., can broadcast or communicate information at about the same time as receiving information) or at different times.
System 100 can be configured to allow nodes that have initiated a communication session over a network to move the session to a direct connection. Nodes that are directly connected can exchange packets natively without any encapsulation. In accordance with some embodiments, a “homeless” node can switch to a wireless network without losing its ongoing sessions. By “homeless” it is meant a node that does not have any home agent entity to provide assistance for keeping ongoing sessions alive while switching to foreign networks nor to forward any new incoming request(s) to establish new sessions to the node's current location. In accordance with some embodiments, nodes can be mobile (e.g., wireless), static (e.g., wired), or combinations thereof (e.g., one node static and a second node mobile, both nodes mobile, and so forth).
FIG. 2 illustrates a system 200 that allows two nodes to communicate over a Wide Area Network interface and/or a Device to Device interface, according to various embodiments. Included in system 200 are a first node (Node1) 202 and a second node (Node2) 204. Each node 202, 204 includes at least two interfaces. A first interface can be connected to a network 206 that provides Internet Protocol (IP) addresses. For example, the network can be a Wide Area Network (WAN), a Local Area Network (LAN), a home network, Digital Subscriber Line (DSL), cable, 3GPP based, 3GPP2 based, or any other technology providing interconnectivity and routing to a network of interest (e.g., the Internet).
Interfaces of nodes 202 and 204 can be wired (e.g., Device to Device), wireless (e.g., WAN), or combinations thereof. For example, Node1 interface can be wireless and Node2 interface can be wired, or Node2 interface can be wireless and Node1 interface can be wired, both interfaces of nodes 202 and 204 can be wireless, or both interfaces of nodes 202 and 204 can be wired.
For illustration purposes, the first interface of each node 202, 204 is a WAN interface, 208 and 210. WAN interfaces 208, 210 provide a connection over network 206, illustrated by links 212 and 214. Further, each node 202, 204 includes at least a second interface that is connected to a local network with directly connected peers or a multi-hop mesh network. For example, the local network can be a Wireless Local Area Network (WLAN) or some other type of other device to device (e.g., peer to peer) technology. For illustration purposes, the second interface of each node 202, 204 is illustrated as a Device to Device (D2D) interface 216, 218. The D2D interfaces 216, 218 allow nodes 202, 204 to perform direct communications, illustrated by direct link 220.
A procedure according to various embodiments for starting a session over network 206 and moving to a direct session (e.g., over direct link 220) will now be described. For example purposes, it is assumed that Node1 202 utilizes Mobile Internet Protocol. Communications are performed by Node1 202 utilizing its Mobile IP home address as a source address. A home address is a unicast routable address assigned to a node and is used as the permanent address of the node. Node1 202 communicates with Node2 204 over network 206 (e.g., WAN) by sending and receiving packets over respective first interfaces (e.g., WAN interfaces 208, 210). The packets can be encapsulated in a MIPv6 tunnel to a home agent, which can be included in network 206 according to various embodiments, or a route optimization tunnel directly to Node2 204.
FIG. 3 illustrates an exemplary first communications device 300, in accordance with an exemplary embodiment. Exemplary first communications device 300 is, e.g., one of the wireless communications devices (102, 116, 122, 124) of FIG. 1 or one of the wireless communications devices (202, 204) of FIG. 2.
First communications device 300 includes a processor 302 and memory 304 coupled together via a bus 309 over which the various elements may interchange data and information. Communications device 300 further includes an input module 306 and an output module 308 which may be coupled to processor 302 as shown. However, in some embodiments, the input module 306 and output module 308 are located internal to the processor 302. Input module 306 can receive input signals. Input module 306 can, and in some embodiments does, include a wireless receiver and/or a wired or optical input interface for receiving input. Output module 308 may include, and in some embodiments does include, a wireless transmitter and/or a wired or optical output interface for transmitting output.
Processor 302 is configured to: receive a first signal from a second communications device; generate a first application alert if said first signal satisfies an application alert criteria; and receive a second signal from an access point said second signal carrying second communications device information based on a previous signal from the second communications device. The access point may be, and sometimes is, a base station. In some embodiments, the second communications device information is location information. In various embodiments, processor 302 is configured to receive said first signal via a wireless peer to peer interface as part of being configured to receive a first signal. In some embodiments, processor 302 is configured to receive the second signal via a wireless wide area network interface as part of being configured to receive the second signal.
Processor 302 is further configured to determine an operation to take based on the second communications device information included in the second signal and information included in said first signal. In one exemplary embodiment, said second communications device information included in the second signal is information on a previous location of said second communications device, said information included in the first signal is current location information, and said operation is one of a location based traffic update operation and a location based advertisement update operation. Processor 302, in some embodiments, is further configured to send an information request signal to the access point requesting information corresponding to the second communications device, in response to the generated first application alert.
Wireless nodes in a peer-to-peer (P2P) network, such as nodes 202 and 204 in the P2P network 206 may need to discover available services from one or more peer nodes in order to enable different functions beyond a pure connectivity. Services may be identified by a specific name space, numeral identifiers, and the like. Each node may maintain a list of services it is configured to provide based on chosen service identification (ID) representation in the P2P network. In one embodiment of the present disclosure, the list of services may be distributed from the serving node to its peers based on an advertisement algorithm when the serving node may send out the list based on internal triggers (e.g. based on time intervals). In another embodiment of the present disclosure, the list of services may be distributed based on a query algorithm, whereby other nodes may trigger the serving node to reply with the list of its services.
As noted above, significant gain in performance of P2P networks may be achieved if not only direct neighbors of a node can be discovered, but nodes that are multiple hops away. Thus, usage of multi-hop discovery protocols may be desirable for the P2P networks. In conventional multi-hop architectures, management of service advertisements and consumed bandwidth for discovery purposes can be significant. However, certain embodiments of the present disclosure provide a mechanism to efficiently manage a size of such service advertisements, thus reducing the discovery overhead in the P2P networks.
Exemplary Management of Services in P2P Networks
Certain embodiments of the present disclosure may help achieve efficient management of services between a plurality of wireless nodes in a peer-to-peer (P2P) network. FIG. 4 illustrates example operations 400 for efficient managing of services offered by P2P nodes, in accordance with certain embodiments of the present disclosure. The example operations 400 may be performed, for example, by a node in a multi-hop P2P network.
At 410, the node receives an advertisement of services offered by one or more other wireless nodes in the P2P network. The wireless node may, for example, receive advertisements with prioritized lists of services from other nodes in the P2P network performing these same operations.
At 420, the wireless node generates a list of services offered, based at least in part on one or more services it offers, services listed in the received advertisements of services, and possibly on an assigned priority of each service. As will be described in greater detail below, a node may add its own services to the list, but drop other services (e.g., from nodes that are farther away), which may help conserve bandwidth. By applying a priority of each service (e.g., by its order in the list), services other wireless nodes are more likely to be interested may be kept in a list and propagated on, even if a node offering those services is multiple hops away.
At 430, the generated list of services is advertised to other wireless nodes of the P2P network. Thus, prioritized lists of services may be propagated across multiple hops, providing for increased coverage to the P2P network, allowing more nodes to discover more services in which they might be interested.
FIG. 5 illustrates how the services in a prioritized list may change as the list is propagated across multiple hops between wireless nodes of a P2P network 500. In the illustrated example, nodes in each group A, B, and C may have direct visibility of each other. Some nodes in group B may see some nodes in group A, but nodes in group C can not see nodes in group A. A propagation path in this exemplary case is assumed to be from nodes A to nodes B to nodes C to nodes D only.
Nodes A1 and A2 illustrated in FIG. 5 may each distribute a list of services they offer: [a|g] and [j], respectively. The list of services may be represented as the list of service identifiers (IDs). Adjacent nodes B1 and B2 may see the consolidated availability of services [a|g|j] from peer nodes A1 and A2. Then, nodes B1 and B2 may concatenate their own services [m] and [x] with the list representing A1 and A2 services, and may transmit the concatenated advertisements [m|a|g|j|x] and [x|a|g|j|m], respectively.
The local cache of service IDs at a node of group B may contain group B's own services and group A's aggregate service IDs. Each cache entry may comprise a service ID and a list of node IDs that offer that particular service. It can be observed from FIG. 5 that only difference between the list of services offered by the node B1 and the list of services offered by the node B2 may be the position of services [m] and [x] in the prioritized list, as a node's own service may have a higher priority than the service of another node.
Node C1 adjacent to nodes of group B may receive the concatenated list of services of nodes A1, A2, B1, and B2. Nodes in group C may see service IDs of nodes from group B and may also know about service IDs of nodes from group A. As illustrated in FIG. 5, the node C1 may generate the same list of services as nodes of group B, but C1's own service [a] may be listed first, while services of nodes in group B may be listed after that. Depending on the network congestion, the list of services at the node C1 may also contain service IDs of nodes from group A as a third priority.
Therefore, nodes of the P2P network 500 may prioritize the service entries in their advertisement by a distance: nodes' own services may be listed first, then services that are one hop away, and so on. A distance of each service may be measured as a number of hops between a wireless node with a list of offered services comprising said service and another wireless node that initiated advertisement of the service. Furthermore, nodes may completely drop services of a specific distance from the list of offered services. In this exemplary case, services of the distance three or more may be dropped from the list. This is illustrated in FIG. 5 as the node D1 of group D drops from the list those services that are originally announced at the nodes A1 and A2 since they are three hops away from the node D1. It can be also noted that the node's own services can be also referred to services with a distance of zero.
Prioritization of offered services may be achieved by three key aspects. First, there may be a global prioritization established across all known services in order to enable quick discovery of fundamental services over value-add services, e.g. connectivity enablement over a specific application that utilizes the enabled connectivity. Such global prioritization may be typically established for all nodes by a governing entity of the P2P network. Second, each node may be configured by its associated user with a user's preferred order of announced services. Combination of global and user priorities may establish the node's own order of services. Third, service entries may be prioritized by a distance, e.g. entries with the distance zero may precede entries of neighbors (i.e. the distance equal or greater than one). Certain embodiments of the present disclosure also support combining of various priorities into a consolidated order announced by a node of the P2P network.
The present disclosure supports two key aspects for the lifetime management of service entries. First, the distance of a service entry (i.e., a location of a wireless node offering the service) may determine whether a node may drop the service from its advertisement or forward it. The distance limit may be a predetermined static value, it may vary based on the service (e.g. a service with a high global priority may have a larger distance limit), or it may vary dynamically based on a network loading and a node density. Second, nodes may be configured with a maximum advertisement size limiting an overhead of densely populated areas. The size limit may be a predetermined static limit, may be applicable only to a subset of services (e.g. services with a high global priority may be exempt), or the size limit may vary dynamically based on the network loading and node density.
Certain embodiments of the present disclosure support different methods for identifying nodes that offer a particular service whose advertisement entry is available at a wireless node of the P2P network. FIG. 6 illustrates example operations 600 for identifying serving nodes in accordance with certain embodiments of the present disclosure. At 610, the advertisement entry of the service may be received at the wireless node. At 620, one or more wireless nodes of the P2P network offering the service may be identified based on a content of the received advertisement entry of the service.
The present disclosure support two methods for a wireless node to identify one or more other wireless nodes that offer a particular service of interest based on the received advertisement entry. In one embodiment, the service advertisement entry may contain the service identifier (ID) and a list of serving node IDs offering that service. Based on this information, the wireless node may associate the service ID with each serving node. In another embodiment, the service advertisement entry may contain the service ID, but no serving node IDs. In this case, the wireless node receiving such entry may be prompted to send out a “serving node query” message for this service ID in order to request serving node IDs. This is illustrated in FIG. 5 where the node D1 sends the query back to the node C1 requesting a list of providers for a specific service ID.
The policy used to form service entries may be configured at the network level, e.g. a pure advertisement discovery process may be utilized versus a pure query based where all service announcements may contain only service IDs and no serving node IDs. Furthermore, the policy by which service entries are formed may depend on different dynamic factors such as network congestion and node density, as well as a service's global priority. In this case, a mixed announcement may be formed where some service entries may include serving node IDs, while others do not.
The various operations of methods described above may be performed by various hardware and/or software component(s) and/or module(s) corresponding to means-plus-function blocks illustrated in the Figures. For example, blocks 410-430 illustrated in FIG. 4 correspond to means-plus-function blocks 410A-430A illustrated in FIG. 4A. Similarly, blocks 610-620 illustrated in FIG. 6 correspond to means-plus-function blocks 610A-620A illustrated in FIG. 6A. More generally, where there are methods illustrated in Figures having corresponding counterpart means-plus-function Figures, the operation blocks correspond to means-plus-function blocks with similar numbering.
The various illustrative logical blocks, modules and circuits described in connection with the present disclosure may be implemented or performed with a general purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array signal (FPGA) or other programmable logic device (PLD), discrete gate or transistor logic, discrete hardware components or any combination thereof designed to perform the functions described herein. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any commercially available processor, controller, microcontroller or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP core, or any other such configuration.
The steps of a method or algorithm described in connection with the present disclosure may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in any form of storage medium that is known in the art. Some examples of storage media that may be used include random access memory (RAM), read only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, a hard disk, a removable disk, a CD-ROM and so forth. A software module may comprise a single instruction, or many instructions, and may be distributed over several different code segments, among different programs, and across multiple storage media. A storage medium may be coupled to a processor such that the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor.
The methods disclosed herein comprise one or more steps or actions for achieving the described method. The method steps and/or actions may be interchanged with one another without departing from the scope of the claims. In other words, unless a specific order of steps or actions is specified, the order and/or use of specific steps and/or actions may be modified without departing from the scope of the claims.
The functions described may be implemented in hardware, software, firmware or any combination thereof. If implemented in software, the functions may be stored as one or more instructions on a computer-readable medium. A storage media may be any available media that can be accessed by a computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Disk and disc, as used herein, include compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disk, and Blu-ray® disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers.
Software or instructions may also be transmitted over a transmission medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital subscriber line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of transmission medium.
Further, it should be appreciated that modules and/or other appropriate means for performing the methods and techniques described herein can be downloaded and/or otherwise obtained by a user terminal and/or base station as applicable. For example, such a device can be coupled to a server to facilitate the transfer of means for performing the methods described herein. Alternatively, various methods described herein can be provided via storage means (e.g., RAM, ROM, a physical storage medium such as a compact disc (CD) or floppy disk, etc.), such that a user terminal and/or base station can obtain the various methods upon coupling or providing the storage means to the device. Moreover, any other suitable technique for providing the methods and techniques described herein to a device can be utilized.
It is to be understood that the claims are not limited to the precise configuration and components illustrated above. Various modifications, changes and variations may be made in the arrangement, operation and details of the methods and apparatus described above without departing from the scope of the claims.

## Claims

1. A method for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising:
receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network;
assigning to each of one or more services offered by the wireless node a priority that is higher than a priority assigned to each of the services listed in the received advertisements;
generating a prioritized list of services, the list prioritizing the one or more services offered by the wireless node over the services listed in the received advertisements of services; and
distributing the prioritized list of services to other wireless nodes in the P2P network.

2. The method of claim 1, wherein generating the prioritized list comprises including services based, at least in part, on an assigned priority.

3. The method of claim 2, wherein a governing entity of the P2P network assigns priority to services.

4. The method of claim 2, wherein a user associated with the wireless node assigns priority to services.

5. The method of claim 2, wherein a priority assigned to a service is based on a distance of the service, as measured by a number of hops between the wireless node and another wireless node that initiated advertisement of the service.

6. The method of claim 5, further comprising: dropping a service from the prioritized list of services, if the distance of the service is larger than a distance limit.

7. The method of claim 6, wherein the distance limit depends on the priority of the service.

8. The method of claim 1, wherein generating the prioritized list of services comprises: dropping a service from the prioritized list of services, if a size of the list is larger than a size limit.

9. The method of claim 1, wherein the prioritized list of services comprises an identification of one or more wireless nodes offering the services.

10. The method of claim 9, wherein the prioritized list of services further comprises information about locations of the wireless nodes offering the services.

11. An apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising:
logic for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network;
logic for assigning to each of one or more services offered by the wireless node a priority that is higher than a priority assigned to each of the services listed in the received advertisements;
logic for generating a prioritized list of services, the list prioritizing the one or more services offered by the wireless node over the services listed in the received advertisements of services; and
logic for distributing the prioritized list of services to other wireless nodes in the P2P network.

12. The apparatus of claim 11, wherein the logic for generating the prioritized list comprises logic for including services based, at least in part, on an assigned priority.

13. The apparatus of claim 12, wherein a governing entity of the P2P network assigns priority to services.

14. The apparatus of claim 12, wherein a user associated with the wireless node assigns priority to services.

15. The apparatus of claim 12, wherein a priority assigned to a service is based on a distance of the service, as measured by a number of hops between the wireless node and another wireless node that initiated advertisement of the service.

16. The apparatus of claim 15, further comprising: logic for dropping a service from the prioritized list of services, if the distance of the service is larger than a distance limit.

17. The apparatus of claim 16, wherein the distance limit depends on the priority of the service.

18. The apparatus of claim 11, wherein the logic for generating the prioritized list of services comprises: logic for dropping a service from the prioritized list of services, if a size of the list is larger than a size limit.

19. The apparatus of claim 11, wherein the prioritized list of services comprises an identification of one or more wireless nodes offering the services.

20. The apparatus of claim 19, wherein the prioritized list of services further comprises information about locations of the wireless nodes offering the services.

21. An apparatus for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising:
means for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network;
assigning to each of one or more services offered by the wireless node a priority that is higher than a priority assigned to each of the services listed in the received advertisements;
means for generating a prioritized list of services, the list prioritizing the one or more services offered by the wireless node over the services listed in the received advertisements of services; and
means for distributing the prioritized list of services to other wireless nodes in the P2P network.

22. The apparatus of claim 21, wherein the means for generating the prioritized list comprises means for including services based, at least in part, on an assigned priority.

23. The apparatus of claim 22, wherein a governing entity of the P2P network assigns priority to services.

24. The apparatus of claim 22, wherein a user associated with the wireless node assigns priority to services.

25. The apparatus of claim 22, wherein a priority assigned to a service is based on a distance of the service, as measured by a number of hops between the wireless node and another wireless node that initiated advertisement of the service.

26. The apparatus of claim 25, further comprising: means for dropping a service from the prioritized list of services, if the distance of the service is larger than a distance limit.

27. The apparatus of claim 26, wherein the distance limit depends on the priority of the service.

28. The apparatus of claim 21, wherein the means for generating the prioritized list of services comprises: means for dropping a service from the prioritized list of services, if a size of the list is larger than a size limit.

29. The apparatus of claim 21, wherein the prioritized list of services comprises an identification of one or more wireless nodes offering the services.

30. The apparatus of claim 29, wherein the prioritized list of services further comprises information about locations of the wireless nodes offering the services.

31. A computer-program product for wireless communications by a wireless node in a peer-to-peer (P2P) network, comprising a non-transitory computer-readable medium having instructions stored thereon, the instructions being executable by one or more processors and the instructions comprising:
instructions for receiving one or more advertisements of services offered by one or more other wireless nodes in the P2P network;
instructions for assigning to each of one or more services offered by the wireless node a priority that is higher than a priority assigned to each of the services listed in the received advertisements;
instructions for generating a prioritized list of services, the list prioritizing the one or more services offered by the wireless node over the services listed in the received advertisements of services; and
instructions for distributing the prioritized list of services to other wireless nodes in the P2P network.

32. The computer-program product of claim 31, wherein the instructions for generating the prioritized list comprise instructions for including services based, at least in part, on an assigned priority.

33. The computer-program product of claim 32, wherein a governing entity of the P2P network assigns priority to services.

34. The computer-program product of claim 32, wherein a user associated with the wireless node assigns priority to services.

35. The computer-program product of claim 32, wherein a priority assigned to a service is based on a distance of the service, as measured by a number of hops between the wireless node and another wireless node that initiated advertisement of the service.

36. The computer-program product of claim 35, wherein the instructions further comprise: instructions for dropping a service from the prioritized list of services, if the distance of the service is larger than a distance limit.

37. The computer-program product of claim 36, wherein the distance limit depends on the priority of the service.

38. The computer-program product of claim 31, wherein the instructions for generating the prioritized list of services comprise: instructions for dropping a service from the prioritized list of services, if a size of the list is larger than a size limit.

39. The computer-program product of claim 31, wherein the prioritized list of services comprises an identification of one or more wireless nodes offering the services.

40. The computer-program product of claim 39, wherein the prioritized list of services further comprises information about locations of the wireless nodes offering the services.

41. In a wireless communication network comprising a plurality of nodes in which the nodes are configured to wirelessly communicate with at least on other node in a peer-to-peer fashion (P2P), a wireless node comprising:
a receiver configured to receive one or more advertisements of services offered by one or more other wireless nodes in the P2P network;
a processor configured to assign to each of one or more services offered by the wireless node a priority that is higher than a priority assigned to each of the services listed in the received advertisements and generate a prioritized list of services, the list prioritizing the one or more services offered by the wireless node over the services listed in the received advertisements of services; and
a transmitter configured to distribute the prioritized list of services to at least one of the other wireless nodes in the P2P network.

42. The wireless node of claim 41, wherein the processor is configured to dynamically manage the prioritized list of services.

43. The wireless node of claim 41, further comprising a network interface enabling the wireless node to communicate with multiple types of networks.

44. The wireless node of claim 41, the processor being further configured to concatenate services from other nodes with services of the wireless node for transmission to other nodes.