发明名称 Efficient service discovery for peer-to-peer networking devices
摘要 Techniques for discovering and/or advertising services are described herein. A first bitmask is received from a remote device over a wireless network, the first bitmask having one or more bits that have a predetermined logical value. Each bit represents a particular service provided by the remote device. A logical operation is performed between the first bitmask and a second bitmask locally generated within a local device, where the second bitmask represents a service being searched by the local device. It is determined whether the remote device is potentially capable of providing the service being searched by the local device based on a result of the logical operation.
申请公布号 US9344339(B2) 申请公布日期 2016.05.17
申请号 US201314063915 申请日期 2013.10.25
申请人 APPLE INC. 发明人 McGuire Rory L. P.;Van Milligan Michael;Conn Jason;Graessley, Sr. Joshua;Prats Augustin;Tucker Brian
分类号 G06F15/173;H04L12/24;H04L29/12;H04L29/08;H04W4/00;H04W48/16;H04W92/18 主分类号 G06F15/173
代理机构 Park, Vaughan, Fleming & Dowler LLP 代理人 Park, Vaughan, Fleming & Dowler LLP ;Jones Anthony P.
主权项 1. A method for providing information about a service in a first computing device, comprising: in the first computing device, performing operations for: generating a first DNS packet based on the service, wherein the first DNS packet comprises at least one field in which at least one string is represented by a pointer that indicates an instance of the at least one string elsewhere in the first DNS packet;generating a key/value pair that comprises a key and a value, each of the key and the value comprising information based on at least one corresponding field in the first DNS packet, wherein at least one of the key and the value comprise information from a field in which at least one string is represented by a pointer to an instance of the at least one string elsewhere in the first DNS packet;adding, to the key, an identifier for generating a second DNS packet similar to the first DNS packet in the second computing device, the identifier identifying the first DNS packet as an in-memory DNS packet that was used in generating the key/value pair by the first computing device, and the identifier configured to be used by the second computing device to decompress the key back into a full DNS name; andsending the key/value pair to a second computing device.
地址 Cupertino CA US