Method, group server, and member device for accessing member resources
AssigneeHuawei Technologies Co., Ltd.
InventorYongjing Zhang
Life of this patent
Estimating the term…
Abstract
The present invention provides a method, a group server, and a member device for accessing member resources. By using an established mapping relationship between a multicast address and a fanout URI in a group resource, a member resource access request may be sent by multicast to member devices having member resources in the group resource, and the fanout URI is included in the member resource access request, so that the member devices having the member resources execute, according to access paths of the member resources on the member devices as indicated by the fanout URI, an operation indicated by the member resource access request. Therefore, the group server does not need to unicast the access request to each member device, and network overheads are saved.
Claims20
A method for accessing member resources, the method comprising:
- receiving a request for accessing member resources, wherein the request for accessing member resources carries a group resource identifier of a group resource to which the member resources belong;
- obtaining, according to the group resource identifier, a fanout universal resource identifier URI corresponding to the member resources in the group resource and a multicast address corresponding to the fanout URI, wherein the fanout URI is used to indicate access paths of the member resources on member devices;
- and
- sending, according to the multicast address, a member resource access request to the member devices having the member resources, wherein a destination URI of the member resource access request comprises the fanout URI corresponding to the member resources, so that the member devices having the member resources execute, according to the access paths of the member resources on the member devices as indicated by the fanout URI, an operation indicated by the member resource access request.
A method for accessing member resources, the method comprising:
- receiving a member resource access request sent by a group server, wherein the member resource access request is a multicast member resource access request, and the member resource access request comprises a fanout URI corresponding to a member resource, wherein the fanout URI is used to indicate an access path of the member resource on a member device;
- and
- determining, according to the fanout URI, the access path of the member resource on the member device, and executing, according to the access path of the member resource on the member device, an operation indicated by the member resource access request.
A group server, comprising:
- a receiving module, configured to receive a request for accessing member resources, wherein the request for accessing member resources carries a group resource identifier of a group resource to which the member resources belong;
- an obtaining module, configured to obtain, according to the group resource identifier, a fanout URI corresponding to the member resources in the group resource and a multicast address corresponding to the fanout URI, wherein the fanout URI is used to indicate access paths of the member resources on member devices;
- and
- a sending module, configured to send, according to the multicast address, a member resource access request to the member devices having the member resources, wherein a destination URI of the member resource access request comprises the fanout URI corresponding to the member resources, so that the member devices having the member resources execute, according to the access paths of the member resources on the member devices as indicated by the fanout URI, an operation indicated by the member resource access request.
A member device, comprising:
- a receiving module, configured to receive a member resource access request sent by a group server, wherein the member resource access request is a multicast member resource access request, the member resource access request comprises a fanout URI corresponding to the member resource, and the fanout URI is used to indicate an access path of the member resource on the member device;
- and
- an operating module, configured to determine, according to the fanout URI, the access path of the member resource on the member device, and execute an access request operation according to the access path of the member resource on the member device.
Dependencies are inferred from the claim text.