Detailed description of the invention
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is only a part of embodiment of the present invention, rather than whole embodiments. Based on the embodiment in the present invention, the every other embodiment that those of ordinary skill in the art obtain under not making creative work premise, broadly fall into the scope of protection of the invention.
As it is shown in figure 1, be the execution method flow diagram of a kind of deletion action to group membership's resource of the embodiment of the present invention, described method includes:
101, the removal request to described group membership's resource that promoter sends is received;
102, described removal request is distributed to described member the response receiving described member according to the general identifier URI of described group membership's resource;
103, deletion group resource or renewal group resource, and send the response to described promoter.
Preferably, described deletion group resource, and send the response to described promoter, specifically may include that deletion group resource, and be polymerized the response of described member, respond to described promoter described in then sending, and carry the information that instruction group resource is deleted; Or, deletion group resource, and it is polymerized the response of described member, responding to described promoter described in then sending, and send a notification message, it is deleted that described notification message is used for notifying to organize resource described in described promoter; Described renewal group resource, and send the response to described promoter, specifically include: the content in removing members list memberList, and be polymerized the response of described member, then respond to described promoter described in sending, and carry the instruction memberList information being deleted; Or, empty the content in memberList, and be polymerized the response of described member, respond to described promoter described in then sending, and carry the instruction memberList information being cleared; Or, when receiving the response of few members, only the URI of the member of feedback response is deleted from memberList, and be polymerized the response of described member, respond to described promoter described in then sending, and carry the information of memberList.
Preferably, the described general identifier URI according to described group membership's resource distributes described removal request to after described member, can also include, existing members list memberList is labeled as old members list memberList, and creates a new members list memberList.
Preferably, after the response of the described member of described reception, described renewal group resource, specifically may include that the URI of the member resource by feedback response extracts from old members list memberList, update described URI, and be stored in new members list memberList, and using described new members list memberList as currently used memberList.
Preferably, before described deletion group resource or renewal group resource, it is also possible to including: the response concurrent being polymerized described member gives described promoter; Receive the deletion group resource of described promoter transmission or the request of renewal group resource; Described send the response to described promoter, specifically include: the response being directed to the request of deletion group resource that described promoter sends or renewal group resource is sent to described promoter.
Corresponding to said method embodiment, as in figure 2 it is shown, be the execution apparatus structure schematic diagram of a kind of deletion action to group membership's resource of the embodiment of the present invention, described device includes:
First receives unit 21, for receiving the removal request to described group membership's resource that promoter sends;
First communication unit 22, distributes described removal request to described member the response receiving described member for the general identifier URI according to described group membership's resource;
First processing unit 23, is used for deleting group resource or renewal group resource, and sends the response to described promoter.
Preferably, as shown in Figure 3, for the embodiment of the present invention the first processing unit structural representation, described first processing unit 23 may include that the first processing module 231, for deleting group resource, and it is polymerized the response of described member, respond to described promoter described in then sending, and carry the information that instruction group resource is deleted; Or, the second processing module 232, it is used for deleting group resource, and is polymerized the response of described member, respond to described promoter described in then sending, and send a notification message, it is deleted that described notification message is used for notifying to organize resource described in described promoter; Or, the 3rd processing module 233, for the content in removing members list memberList, and it is polymerized the response of described member, responds to described promoter described in then sending, and carry the instruction memberList information being deleted; Or, fourth processing module 234, for emptying the content in memberList, and it is polymerized the response of described member, responds to described promoter described in then sending, and carry the instruction memberList information being cleared; Or, the 5th processing module 235, for when receiving the response of few members, only the URI of the member of feedback response is deleted from memberList, and it is polymerized the response of described member, respond to described promoter described in then sending, and carry the information of memberList.
Preferably, described device can also include: the first creating unit 24, described removal request is distributed to after described member according to the general identifier URI of described group membership's resource at described first communication unit 22, for existing members list memberList being labeled as old members list memberList, and create a new members list memberList.
Preferably, described first processing unit 23 can be also used for after the response of the described member of described reception, renewal group resource specifically includes: extracted from old members list memberList by the URI of group membership's resource of feedback response, update described URI, and be stored in new members list memberList, and using described new members list memberList as currently used memberList.
Preferably, described first communication unit 22, it is also possible to for before described deletion group resource or renewal group resource, the response concurrent being additionally operable to be polymerized described member gives described promoter; Receive the deletion group resource of described promoter transmission or the request of renewal group resource; Described send the response to described promoter, specifically include: the response being directed to the request of deletion group resource that described promoter sends or renewal group resource is sent to described promoter.
As shown in Figure 4, for the execution method flow diagram of the another kind of deletion action to group membership's resource of the embodiment of the present invention, described method includes:
401, the removal request to described group membership's resource that promoter sends is received;
402, described removal request is changed;
403, the removal request of change is distributed to member the response receiving described member according to the general identifier URI of described group membership's resource;
404, the response concurrent being polymerized described member gives described promoter.
Preferably, the described removal request of described change, specifically may include that the described removal request of change is for more newly requested, described more newly requested for empty the content of described group membership's resource or to delete all child resources of described group membership's resource; Or, to change described removal request, described removal request increases instruction, described instruction empties the content of group membership's resource in order to indicate member or deletes all child resources of described group membership's resource.
Corresponding to said method embodiment, as it is shown in figure 5, be the embodiment of the present invention another kind execution apparatus structure schematic diagram to the deletion action of group membership's resource, described device includes:
Second receives unit 51, for receiving the removal request to described group membership's resource that promoter sends;
Second processing unit 52, is used for changing described removal request;
Second communication unit 53, distributes the removal request of change to member the response receiving described member for the general identifier URI according to described group membership's resource; The response concurrent being polymerized described member gives described promoter.
Preferably, described second processing unit 52 specifically may be used for: changes described removal request for more newly requested, described more newly requested for empty the content of described group membership's resource or to delete all child resources of described group membership's resource; Or, to change described removal request, described removal request increases instruction, described instruction empties the content of group membership's resource in order to indicate member or deletes all child resources of described group membership's resource.
As shown in Figure 6, for another execution method flow diagram to the deletion action of group membership's resource of the embodiment of the present invention, described method includes:
601, control UNIVERSAL BUSINESS ENTITIES to group and send the removal request to group membership's resource;
602, the described group of aggregate response controlling UNIVERSAL BUSINESS ENTITIES feedback is received;
603, the request to described group sending deletion group resource or renewal group resource controls UNIVERSAL BUSINESS ENTITIES.
Corresponding to said method embodiment, as it is shown in fig. 7, be embodiment of the present invention one promoter's apparatus structure schematic diagram, described promoter's device includes:
3rd transmitting element 71, sends the removal request to group membership's resource for controlling UNIVERSAL BUSINESS ENTITIES to group;
3rd receives unit 72, for receiving the described group of aggregate response controlling UNIVERSAL BUSINESS ENTITIES feedback;
Described 3rd transmitting element 71, the request to described group being additionally operable to send deletion group resource or renewal group resource controls UNIVERSAL BUSINESS ENTITIES.
After technique scheme has the advantages that deletion group resource, update the member URI in memberList or deletion group; Or the operation of deletion group resource is updated operation, it is possible to avoid the invalid operation of the group resource to removing members, save Internet resources.
Below in conjunction with application example, embodiment of the present invention technique scheme is described in detail:
When application example of the present invention mainly solves the GroupHostingCSE deletion action receiving the URI that address is<fanOutPoint>, how to perform this operation, do not existed with the resource avoided the occurrence of pointed by the URI in memberList.
As shown in Figure 8, for the present invention the first application example execution method flow diagram to the deletion action of group membership's resource, including:
801, promoter sends removal request to the URI that GroupHostingCSE, to attribute is virtual resource<fanOutPoint>.
802, GroupHostingCSE distribution request.
803, GroupHostingCSE receives the response of member.
804, when receiving the response of whole member, delete or empty the content in memberList, otherwise only the URI receiving the member of response is deleted from memberList; Or deletion group resource.
805, aggregate response feeds back to promoter, and carries corresponding information, as deleted memberList or the information of memberList or memberList emptied or deletion group resource.
It should be noted that, the above-mentioned promoter of application example of the present invention can be certain company, GroupHostingCSE is a functional entity in the cloud platform of the said firm, and MemberHostingCSE can be the functional entity on gateway or the said firm's household electrical appliances, and application example of the present invention is not limited thereto.
As it is shown in figure 9, be the present invention the second application example execution method flow diagram to the deletion action of group membership's resource, including:
901, promoter sends removal request to the URI that GroupHostingCSE, to attribute is virtual resource<fanOutPoint>.
902, GroupHostingCSE distribution request.
903, GroupHostingCSE receives the response of member.
904, the content in memberList is deleted or emptied to a, (a step is optional step), when receiving the response of whole member, otherwise only deleted from memberList by the URI receiving the member of response; Aggregate response is to promoter, if performing a step, then comprises the information of memberList in response.
905, promoter initiates the operation of deletion group; If performing a step, promoter can initiate the operation of memberList in deletion group or renewal group according to the information of memberList.
906, deletion or renewal group.
907, the response after deleting or update.
As shown in Figure 10, for the present invention the 3rd application example execution method flow diagram to the deletion action of group membership's resource, including:
1001, promoter sends removal request to the URI that GroupHostingCSE, to attribute is virtual resource<fanOutPoint>.
1002, GroupHostingCSE distributes the request to each member.
1003, existing memberList is labeled as old memberList by GroupHostingCSE, re-establishes a new memberList.
1004, the response of member is received.
1005, the URI of the member of feedback response is extracted from old memberList, update URI, and be stored in new memberList. Update URI: member resource mark deleted from old URI, as: old URI:baseCSE/remoteCSEID/AEID, that new is baseCSE/remoteCSEID.
1006, aggregate response feeds back to promoter, wherein carries new memberList.
As shown in figure 11, for the present invention the 4th application example execution method flow diagram to the deletion action of group membership's resource, including:
1101, promoter sends removal request to the URI that GroupHostingCSE, to attribute is virtual resource<fanOutPoint>.
1102, GroupHostingCSE is before distribution request, increases an instruction in each request, indicates all child resources under delete target resource or empties the content of resource.
1103, distribution request is to each member, and carries above-mentioned instruction.
1104, the response of member is received.
1105, aggregate response feeds back to promoter.
As shown in figure 12, for the present invention the 5th application example execution method flow diagram to the deletion action of group membership's resource, including:
1201, promoter sends removal request to the URI that GroupHostingCSE, to attribute is virtual resource<fanOutPoint>. This request represents the content emptying member resource.
1202, removal request is changed to more newly requested by GroupHostingCSE, and the content updating member resource is empty.
1203, distribution is more newly requested to each member, empties the content of target members.
1204, the response of member is received.
1205, aggregate response feeds back to promoter.
After the present invention above-mentioned application example deletion group resource, update the member URI in memberList or deletion group; Or the operation of deletion group resource is updated operation, it is possible to avoid the invalid operation of the group resource to removing members, save Internet resources.
Those skilled in the art are it will also be appreciated that the various illustrative components, blocks (illustrativelogicalblock) listed of the embodiment of the present invention, unit, and step can pass through electronic hardware, computer software, or both combinations realize. For clearly showing that the replaceability (interchangeability) of hardware and software, above-mentioned various illustrative components (illustrativecomponents), unit and step have universally described their function. Such function is to realize depending on the designing requirement of specific application and whole system by hardware or software. Those skilled in the art can for every kind of specific application, it is possible to use various methods realize described function, but this realization is understood not to exceed the scope of embodiment of the present invention protection.
Various illustrative logical block described in the embodiment of the present invention, or unit is such as through general processor, digital signal processor, special IC (ASIC), field programmable gate array or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or the design of any of the above described combination realize or operate described function. General processor can be microprocessor, and alternatively, this general processor can also be any traditional processor, controller, microcontroller or state machine. Processor can also be realized by the combination of calculation element, for instance digital signal processor and microprocessor, multi-microprocessor, one or more microprocessors one Digital Signal Processor Core of associating, or any other like configuration realizes.
Method described in the embodiment of the present invention or the step of algorithm can be directly embedded into hardware, processor performs software module or the combination of both. Software module can be stored in RAM memory, flash memory, ROM memory, eprom memory, eeprom memory, depositor, hard disk, moveable magnetic disc, CD-ROM or this area in other any form of storage medium. Exemplarily, storage medium can be connected with processor, so that processor can read information from storage medium, it is possible to deposit write information to storage medium. Alternatively, storage medium can also be integrated in processor. Processor and storage medium can be arranged in ASIC, and ASIC can be arranged in user terminal. Alternatively, processor and storage medium can also be arranged in the different parts in user terminal.
In one or more exemplary designs, the above-mentioned functions described by the embodiment of the present invention can realize in the combination in any of hardware, software, firmware or this three. If realized in software, these functions can store and on the medium of computer-readable, or be transmitted on the medium of computer-readable with one or more instructions or code form. Computer readable medium includes computer storage medium and is easy to so that allowing computer program transfer to the telecommunication media in other place from a place. Storage medium can be that any general or special computer can the useable medium of access. Such as, such computer readable media can include but not limited to RAM, ROM, EEPROM, CD-ROM or other optical disc storage, disk storage or other magnetic storage device, or other any may be used for carrying or storage with instruction or data structure and other can be read the medium of program code of form by general or special computer or general or special processor. In addition, any connection can be properly termed computer readable medium, such as, if software is by a coaxial cable, fiber optic cables, twisted-pair feeder, Digital Subscriber Line (DSL) or being also contained in defined computer readable medium with wireless way for transmittings such as such as infrared, wireless and microwaves from a web-site, server or other remote resource. Described video disc (disk) and disk (disc) include Zip disk, radium-shine dish, CD, DVD, floppy disk and Blu-ray Disc, and disk is generally with magnetic duplication data, and video disc generally carries out optical reproduction data with laser. Combinations of the above can also be included in computer readable medium.
Above-described detailed description of the invention; the purpose of the present invention, technical scheme and beneficial effect have been further described; it is it should be understood that; the foregoing is only the specific embodiment of the present invention; the protection domain being not intended to limit the present invention; all within the spirit and principles in the present invention, any amendment of making, equivalent replacement, improvement etc., should be included within protection scope of the present invention.