Service discovery method and apparatus
A service discovery and service technology, applied in the communication field, can solve problems such as inability to discover services, increase equipment power consumption, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0082] This embodiment provides a service discovery method executed on the side of a dormant device. figure 1 is a flow chart of the service discovery method according to the first embodiment of the present invention.
[0083] In step S110, the dormant device discovers the proxy device according to the received service provisioning proxy message before going to sleep.
[0084] The device that initiates the provisioning service proxy message is a proxy device. Therefore, in the received message, search for the service proxy message of the provisioning class whose attribute identifier represents the proxy service and whose type is the provisioning class; since the source device in the provisioning service proxy message The address is the device address of the proxy device, so the device address of the device that initiates the provisioning service proxy message, that is, the device address of the proxy device, can be determined according to the service provisioning proxy message...
Embodiment 2
[0094] This embodiment provides a service discovery method executed on the proxy device side. figure 2 is a flow chart of the service discovery method according to the second embodiment of the present invention.
[0095] Step S210, receiving a request-type service agent message sent by unicast from the dormant device before the dormancy.
[0096] Before receiving the request service proxy message, it also includes: broadcasting the provision service proxy message to all devices in the NANCluster, so that after the dormant device receives the provision service proxy message, it can discover the proxy device according to the provision service proxy message .
[0097] Step S220, storing the proxy information of the dormant device included in the request service proxy message, where the proxy information includes: service information of the dormant device.
[0098] Since the message content of the request service proxy message is the proxy information of the dormant device, the...
Embodiment 3
[0109] This embodiment provides a service discovery method performed on a common device side. image 3 is a flow chart of the service discovery method according to the third embodiment of the present invention.
[0110] Step S310, discovering the proxy device according to the received service provisioning proxy message; wherein, the service provisioning proxy message includes service information of the dormant device.
[0111] Step S320, sending a unicast service proxy message including service information of the dormant device to the proxy device.
[0112] Step S330, receiving a response-type service proxy message including proxy information of a dormant device sent by the proxy device in unicast.
[0113] Proxy information is what a sleepable device stores to a proxy device before it goes into sleep.
[0114] The agent information includes: device information, service information and sleep time of a sleepable device.
[0115] After receiving the response service proxy mes...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 