CN105635930B - Method and device for executing deletion operation of group member resources and initiator device - Google Patents

Method and device for executing deletion operation of group member resources and initiator device Download PDF

Info

Publication number
CN105635930B
CN105635930B CN201410601807.0A CN201410601807A CN105635930B CN 105635930 B CN105635930 B CN 105635930B CN 201410601807 A CN201410601807 A CN 201410601807A CN 105635930 B CN105635930 B CN 105635930B
Authority
CN
China
Prior art keywords
group
resource
initiator
response
memberlist
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201410601807.0A
Other languages
Chinese (zh)
Other versions
CN105635930A (en
Inventor
李娜
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Original Assignee
Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Haier Uplus Intelligent Technology Beijing Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Qingdao Haier Intelligent Home Appliance Technology Co Ltd, Haier Uplus Intelligent Technology Beijing Co Ltd filed Critical Qingdao Haier Intelligent Home Appliance Technology Co Ltd
Priority to CN201410601807.0A priority Critical patent/CN105635930B/en
Publication of CN105635930A publication Critical patent/CN105635930A/en
Application granted granted Critical
Publication of CN105635930B publication Critical patent/CN105635930B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the invention provides an execution method and device for deleting operation of group member resources and an initiator device, and aims to solve the technical problems that after the member resources are deleted, the operation of members of a group fails again, and communication resources are wasted. Wherein the method comprises the following steps: receiving a deletion request for the group member resource sent by an initiator; distributing the deletion request to a member according to the universal identifier URI of the group member resource and receiving the response of the member; deleting the group resource or updating the group resource, and sending a response to the initiator. The technical scheme of the embodiment of the invention has the following beneficial effects: after deleting the group resource, updating the member URI in the memberList or deleting the group; or changing the update operation to the operation of deleting the group resources, so that the invalid operation to the group resources of the deleted members can be avoided, and the network resources are saved.

Description

Method and device for executing deletion operation of group member resources and initiator device
Technical Field
The present invention relates to the field of machine-to-machine technologies, and in particular, to a method and an apparatus for executing a delete operation on a group member resource, and an initiator apparatus.
Background
The machine-to-machine (M2M) communication refers to data communication between machines without human participation, and is suitable for scenes such as traffic control management, remote meter reading, remote monitoring, medical monitoring, intelligent home control and the like. In order to provide a standardized interface between machines and devices of a machine communication system, the unified machine-to-machine communication (OneM2M) standard organization defines the standard specifications of the machine communication system.
In this specification, batch operation on members in a Group home CSE (Member generic service Entity) is realized by creating a Group Resource on a Group home CSE (Common Services Entity, Group control generic service Entity), where the Resource includes an attribute memberList (Member list) including a URI (Uniform Resource Identifier) and a virtual Resource fanOutPoint of a Group Member Resource. An initiator (Originator) sends a deletion request to a virtual resource fanOutPoint in a Group, and after receiving a message, a Group Hosting CSE acquires member URI in a Group attribute memberList, distributes the message to each member, and each member executes deletion operation.
In the prior art, the memberList of the Group Hosting CSE contains the URI of the member resource, and the deletion command deletes the resource of the member resource, and after the deletion is successful, the resource pointed by the URI in the memberList does not exist, so that the operation on the members of the Group fails again, and the communication resource is wasted.
Disclosure of Invention
The embodiment of the invention provides an execution method and device for deleting operation of group member resources and an initiator device, and aims to solve the technical problems that after the member resources are deleted, the operation of members of a group fails again, and communication resources are wasted.
In one aspect, an embodiment of the present invention provides an execution method for a delete operation on a group member resource, where the method includes: receiving a deletion request for the group member resource sent by an initiator; distributing the deletion request to the member according to the universal identifier URI of the group member resource and receiving the response of the member; deleting the group resource or updating the group resource, and sending a response to the initiator.
On the other hand, an embodiment of the present invention provides a schematic structural diagram of an apparatus for executing a delete operation on a group member resource, where the apparatus includes: a first receiving unit, configured to receive a deletion request for the group member resource sent by an initiator; the first communication unit is used for distributing the deletion request to the member according to the universal identifier URI of the group member resource and receiving the response of the member; and the first processing unit is used for deleting the group resource or updating the group resource and sending a response to the initiator.
In another aspect, an embodiment of the present invention provides a method for executing a delete operation on a group member resource, where the method includes: receiving a deletion request for the group member resource sent by an initiator; modifying the delete request; distributing a modified deletion request to a member according to the universal identifier URI of the group member resource and receiving the response of the member; aggregating the responses of the members and sending to the initiator.
In another aspect, an embodiment of the present invention provides an apparatus for executing a delete operation on a group member resource, where the apparatus includes: a second receiving unit, configured to receive a deletion request for the group member resource sent by an initiator; a second processing unit for modifying the deletion request; the second communication unit is used for distributing the modified deletion request to the member according to the universal identifier URI of the group member resource and receiving the response of the member; aggregating the responses of the members and sending to the initiator.
In another aspect, an embodiment of the present invention provides a method for executing a delete operation on a group member resource, where the method includes: sending a request for deleting the group member resources to the group control general service entity; receiving an aggregation response fed back by the group control universal service entity; sending a request for deleting the group resources or updating the group resources to the group control universal service entity.
In another aspect, an embodiment of the present invention provides an initiator apparatus, where the initiator apparatus includes: a third sending unit, configured to send a request for deleting a group member resource to the group control universal service entity; a third receiving unit, configured to receive an aggregation response fed back by the group control universal service entity; the third sending unit is further configured to send a request for deleting the group resource or updating the group resource to the group control universal service entity.
The technical scheme has the following beneficial effects: after deleting the group resource, updating the member URI in the memberList or deleting the group; or changing the update operation to the operation of deleting the group resources, so that the invalid operation to the group resources of the deleted members can be avoided, and the network resources are saved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a flowchart of a method for executing a delete operation on a group member resource according to an embodiment of the present invention;
FIG. 2 is a schematic structural diagram of an apparatus for executing a delete operation on a group member resource according to an embodiment of the present invention;
FIG. 3 is a diagram illustrating a first processing unit according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating another method for performing a delete operation on a group member resource according to an embodiment of the present invention;
FIG. 5 is a schematic structural diagram of another apparatus for executing a delete operation on a group member resource according to an embodiment of the present invention;
FIG. 6 is a flowchart illustrating a method for performing a delete operation on a group member resource according to another embodiment of the present invention;
fig. 7 is a schematic structural diagram of an initiator apparatus according to an embodiment of the present invention;
FIG. 8 is a flowchart of a method for executing a delete operation on a group member resource according to a first application instance of the present invention;
FIG. 9 is a flowchart of a method for executing a delete operation on a group member resource by a second application instance in accordance with the present invention;
FIG. 10 is a flowchart of a method for executing a delete operation on a group member resource according to a third embodiment of the present invention;
FIG. 11 is a flowchart of a method for executing a delete operation on a group member resource according to a fourth embodiment of the present invention;
fig. 12 is a flowchart of a method for executing a delete operation on a group member resource according to a fifth application example of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
As shown in fig. 1, a flowchart of an execution method for deleting a group member resource according to an embodiment of the present invention is shown, where the method includes:
101. receiving a deletion request for the group member resource sent by an initiator;
102. distributing the deletion request to the member according to the universal identifier URI of the group member resource and receiving the response of the member;
103. deleting the group resource or updating the group resource, and sending a response to the initiator.
Preferably, the deleting the group resource and sending a response to the initiator may specifically include: deleting the group resources, aggregating the responses of the members, then sending the responses to the initiator, and carrying information indicating that the group resources are deleted; or deleting the group resources, aggregating the responses of the members, then sending the responses to the initiator, and sending a notification message, wherein the notification message is used for notifying the initiator that the group resources are deleted; the updating the group resource and sending a response to the initiator specifically includes: deleting the content in the member list memberList, aggregating the responses of the members, then sending the responses to the initiator, and carrying the information indicating that the memberList is deleted; or, clearing the content in the memberList, aggregating the responses of the members, and then sending the response to the initiator, and carrying the information indicating that the memberList is cleared; or, when receiving the response of partial members, deleting the URI of the member feeding back the response from the memberList, aggregating the response of the member, and then sending the response to the initiator, wherein the response carries the information of the memberList.
Preferably, after distributing the deletion request to the member according to the universal identifier URI of the group member resource, the method may further include marking an existing member list memberList as an old member list memberList, and creating a new member list memberList.
Preferably, after receiving the response of the member, the updating the group resource may specifically include: and extracting the URI of the member resource with the fed-back response from the old member list membersList, updating the URI, storing the URI into the new member list membersList, and taking the new member list membersList as the currently used membersList.
Preferably, before deleting the group resource or updating the group resource, the method may further include: aggregating the responses of the members and sending to the initiator; receiving a request for deleting the group resources or updating the group resources sent by the initiator; the sending the response to the initiator specifically includes: sending a response to the initiator to the request sent by the initiator to delete a group resource or update a group resource.
Corresponding to the above method embodiment, as shown in fig. 2, a schematic structural diagram of an apparatus for executing a delete operation on a group member resource according to an embodiment of the present invention is shown, where the apparatus includes:
a first receiving unit 21, configured to receive a deletion request for the group member resource sent by an initiator;
a first communication unit 22, configured to distribute the deletion request to the member according to the universal identifier URI of the group member resource and receive a response from the member;
the first processing unit 23 is configured to delete a group resource or update a group resource, and send a response to the initiator.
Preferably, as shown in fig. 3, which is a schematic structural diagram of a first processing unit according to an embodiment of the present invention, the first processing unit 23 may include: a first processing module 231, configured to delete the group resource, aggregate the responses of the members, and then send the response to the initiator, where the response carries information indicating that the group resource is deleted; or, the second processing module 232 is configured to delete a group resource, aggregate responses of the members, send the response to the initiator, and send a notification message, where the notification message is used to notify the initiator that the group resource is deleted; or, the third processing module 233 is configured to delete content in the member list memberList, aggregate responses of the members, and then send the response to the initiator, where the response carries information indicating that the memberList is deleted; or, the fourth processing module 234 is configured to clear the content in the memberList, aggregate the responses of the members, and then send the response to the initiator, and carry information indicating that the memberList is cleared; or, the fifth processing module 235, configured to delete only the URIs of the members feeding back the response from the memberList when receiving the responses of some members, aggregate the responses of the members, and then send the response to the initiator, where the response carries information of the memberList.
Preferably, the apparatus may further include: the first creating unit 24 is configured to mark the existing member list memberships as an old member list and create a new member list memberships after the first communicating unit 22 distributes the deletion request to the members according to the universal identifiers URI of the group member resources.
Preferably, after receiving the response of the member, the first processing unit 23 may be further configured to update the group resource specifically including: and extracting the URI of the group member resource with the fed-back response from the old member list membersList, updating the URI, storing the URI into the new member list membersList, and taking the new member list membersList as the currently used membersList.
Preferably, the first communication unit 22 may be further configured to, before the group resource is deleted or updated, aggregate the responses of the members and send the aggregated responses to the initiator; receiving a request for deleting the group resources or updating the group resources sent by the initiator; the sending the response to the initiator specifically includes: sending a response to the initiator to the request sent by the initiator to delete a group resource or update a group resource.
As shown in fig. 4, a flowchart of another method for executing a delete operation on a group member resource according to an embodiment of the present invention is shown, where the method includes:
401. receiving a deletion request for the group member resource sent by an initiator;
402. modifying the delete request;
403. distributing a modified deletion request to a member according to the universal identifier URI of the group member resource and receiving the response of the member;
404. aggregating the responses of the members and sending to the initiator.
Preferably, the modifying the deletion request may specifically include: changing the deletion request into an update request, wherein the update request is to clear the content of the group member resource or delete all sub-resources of the group member resource; or, changing the deletion request, and adding an indication in the deletion request, where the indication is used to indicate that a member clears the content of a group member resource or deletes all sub-resources of the group member resource.
Corresponding to the above method embodiment, as shown in fig. 5, is a schematic structural diagram of another apparatus for executing a delete operation on a group member resource according to an embodiment of the present invention, where the apparatus includes:
a second receiving unit 51, configured to receive a deletion request for the group member resource sent by an initiator;
a second processing unit 52 for modifying the deletion request;
a second communication unit 53, configured to distribute a modified deletion request to a member according to the universal identifier URI of the group member resource and receive a response from the member; aggregating the responses of the members and sending to the initiator.
Preferably, the second processing unit 52 may be specifically configured to: changing the deletion request into an update request, wherein the update request is to clear the content of the group member resource or delete all sub-resources of the group member resource; or, changing the deletion request, and adding an indication in the deletion request, where the indication is used to indicate that a member clears the content of a group member resource or deletes all sub-resources of the group member resource.
As shown in fig. 6, a flowchart of a method for executing a delete operation on a group member resource according to another embodiment of the present invention is shown, where the method includes:
601. sending a request for deleting the group member resources to the group control general service entity;
602. receiving an aggregation response fed back by the group control universal service entity;
603. sending a request for deleting the group resources or updating the group resources to the group control universal service entity.
Corresponding to the above method embodiment, as shown in fig. 7, is a schematic structural diagram of an initiator apparatus according to an embodiment of the present invention, where the initiator apparatus includes:
a third sending unit 71, configured to send a request for deleting a group member resource to the group control universal service entity;
a third receiving unit 72, configured to receive an aggregation response fed back by the group control universal service entity;
the third sending unit 71 is further configured to send a request for deleting a group resource or updating a group resource to the group control universal service entity.
The technical scheme has the following beneficial effects: after deleting the group resource, updating the member URI in the memberList or deleting the group; or changing the update operation to the operation of deleting the group resources, so that the invalid operation to the group resources of the deleted members can be avoided, and the network resources are saved.
The above technical solutions of the embodiments of the present invention are described in detail below with reference to application examples:
the application example of the invention mainly solves the problem how to execute the operation when the Group Hosting CSE receives the deletion operation of the URI with the address of < fanOutPoint >, so as to avoid the resources pointed by the URI in the memberList from existing any more.
As shown in fig. 8, a flowchart of an execution method for deleting a group member resource by a first application instance of the present invention includes:
801. the initiator sends a delete request to the Group Hosting CSE with the to attribute being the URI of the virtual resource < fanOutPoint >.
802. The Group Hosting CSE distributes requests.
803. The Group Hosting CSE receives the member's response.
804. When the responses of all the members are received, deleting or emptying the content in the memberList, otherwise, only deleting the URI of the member receiving the response from the memberList; or delete a group resource.
805. The aggregation response is fed back to the initiator and carries corresponding information, such as deleted memberList or emptied memberList or information of the memberList or deleted group resources.
It should be noted that, the initiator in the application example of the present invention may be a certain company, the Group home CSE is a functional entity on the cloud platform of the company, and the Member home CSE may be a gateway or a functional entity on a home appliance of the company, which is not limited to this.
As shown in fig. 9, a flowchart of an execution method for a group member resource deletion operation by a second application instance of the present invention includes:
901. the initiator sends a delete request to the Group Hosting CSE with the to attribute being the URI of the virtual resource < fanOutPoint >.
902. The Group Hosting CSE distributes requests.
903. The Group Hosting CSE receives the member's response.
904. a, (a step is an optional step) when the response of all the members is received, deleting or emptying the content in the memberList, otherwise, only deleting the URI of the member receiving the response from the memberList; and aggregating the response to the initiator, wherein if the step a is executed, the response contains the information of the memberList.
905. The initiator initiates the operation of deleting the group; if the step a is performed, the originator can initiate the operation of deleting or updating the memberList in the group according to the memberList information.
906. Deleting or updating groups.
907. Delete or update the response.
As shown in fig. 10, a flowchart of an execution method for a group member resource deletion operation by a third application example of the present invention includes:
1001. the initiator sends a delete request to the Group Hosting CSE with the to attribute being the URI of the virtual resource < fanOutPoint >.
1002. The Group Hosting CSE distributes the request to the various members.
1003. The Group Hosting CSE marks the existing memberList as the old one and re-establishes a new one.
1004. A response is received from the member.
1005. And extracting the URI of the member which has fed back the response from the old memberList, updating the URI, and storing the URI into the new memberList. And updating the URI: remove member resource identification from the old URI, such as: the old URI: baseCSE/remotecCSEID/AEID, and baseCSE/remotecCSEID.
1006. And feeding back the aggregation response to the initiator, wherein the new memberList is carried.
As shown in fig. 11, a flowchart of an execution method for a group member resource deletion operation by a fourth application example of the present invention includes:
1101. the initiator sends a delete request to the Group Hosting CSE with the to attribute being the URI of the virtual resource < fanOutPoint >.
1102. Before distributing the requests, the Group Hosting CSE adds an indication in each request to indicate that all the sub-resources under the target resource are deleted or the content of the resource is emptied.
1103. And distributing the request to each member and carrying the indication.
1104. A response is received from the member.
1105. And feeding back the aggregation response to the initiator.
As shown in fig. 12, a flowchart of an execution method for a group member resource deletion operation by a fifth application example of the present invention includes:
1201. the initiator sends a delete request to the Group Hosting CSE with the to attribute being the URI of the virtual resource < fanOutPoint >. This request represents a clearing of the contents of the member resource.
1202. And the Group Hosting CSE changes the deletion request into an updating request, and the content of the updating member resource is null.
1203. And distributing the update request to each member, and emptying the content of the target member.
1204. A response is received from the member.
1205. And feeding back the aggregation response to the initiator.
After the application example deletes the group resource, updating the member URI in the memberList or deleting the group; or changing the update operation to the operation of deleting the group resources, so that the invalid operation to the group resources of the deleted members can be avoided, and the network resources are saved.
Those of skill in the art will further appreciate that the various illustrative logical blocks, units, and steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate the interchangeability of hardware and software, various illustrative components, elements, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as hardware or software depends upon the particular application and design requirements of the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present embodiments.
The various illustrative logical blocks, or elements, described in connection with the embodiments disclosed herein may be implemented or performed with a general purpose processor, a digital signal processor, an Application Specific Integrated Circuit (ASIC), a field programmable gate array or other programmable logic device, 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 conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a digital signal processor and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a digital signal processor core, or any other similar configuration.
The steps of a method or algorithm described in connection with the embodiments disclosed herein 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 be stored in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. For example, a storage medium may be coupled to the processor such 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 processor and the storage medium may reside in an ASIC, which may be located in a user terminal. In the alternative, the processor and the storage medium may reside in different components in a user terminal.
In one or more exemplary designs, the functions described above in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination of the three. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media that facilitate transfer of a computer program from one place to another. Storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, such computer-readable media can include, but is not limited to, RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to carry or store program code in the form of instructions or data structures and which can be read by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Additionally, any connection is properly termed a computer-readable medium, and, thus, is included if the software is transmitted from a website, server, or other remote source via a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wirelessly, e.g., infrared, radio, and microwave. Such discs (disk) and disks (disc) include compact disks, laser disks, optical disks, DVDs, floppy disks and blu-ray disks where disks usually reproduce data magnetically, while disks usually reproduce data optically with lasers. Combinations of the above may also be included in the computer-readable medium.
The above-mentioned embodiments are intended to illustrate the objects, technical solutions and advantages of the present invention in further detail, and it should be understood that the above-mentioned embodiments are merely exemplary embodiments of the present invention, and are not intended to limit the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made within the spirit and principle of the present invention should be included in the scope of the present invention.

Claims (16)

1. A method for performing a delete operation on a group member resource, the method comprising:
receiving a deletion request for the group member resource sent by an initiator;
distributing the deletion request to a member according to the universal identifier URI of the group member resource and receiving the response of the member;
deleting the group resource or updating the group resource, and sending a response to the initiator;
wherein, the updating the group resource and sending a response to the initiator specifically includes:
deleting the content in the member list memberList, aggregating the responses of the members, then sending the responses to the initiator, and carrying the information indicating that the memberList is deleted;
or, clearing the content in the memberList, aggregating the responses of the members, and then sending the response to the initiator, and carrying the information indicating that the memberList is cleared;
or, when receiving the response of partial members, deleting the URI of the member feeding back the response from the memberList, aggregating the response of the member, and then sending the response to the initiator, wherein the response carries the information of the memberList;
after the deletion request is distributed to the members according to the universal identifier URI of the group member resource, the method also comprises the steps of marking the existing member list memberList as an old member list memberList and creating a new member list memberList;
after said receiving the response of the member, said updating the group resource, comprising: and extracting the URI of the member resource with the fed-back response from the old member list membersList, updating the URI, storing the URI into the new member list membersList, and taking the new member list membersList as the currently used membersList.
2. The method of claim 1, wherein the deleting the group resource and sending a response to the initiator specifically comprises:
deleting the group resources, aggregating the responses of the members, then sending the responses to the initiator, and carrying information indicating that the group resources are deleted;
or deleting the group resources, aggregating the responses of the members, then sending the responses to the initiator, and sending a notification message, wherein the notification message is used for notifying the initiator that the group resources are deleted.
3. The method of claim 1, wherein after said distributing the deletion request to a member based on a universal identifier, URI, of the group member resource, further comprises,
the existing member list membersist is marked as the old member list membersist and a new member list membersist is created.
4. The method of claim 3, wherein said updating the group resource after said receiving the response of the member comprises:
and extracting the URI of the member resource with the fed-back response from the old member list membersList, updating the URI, storing the URI into the new member list membersList, and taking the new member list membersList as the currently used membersList.
5. The method of claim 1, further comprising, prior to said deleting a group resource or updating a group resource:
aggregating the responses of the members and sending to the initiator;
receiving a request for deleting the group resources or updating the group resources sent by the initiator;
the sending the response to the initiator specifically includes:
sending a response to the initiator to the request sent by the initiator to delete a group resource or update a group resource.
6. An apparatus for performing a delete operation on a group member resource, the apparatus comprising:
a first receiving unit, configured to receive a deletion request for the group member resource sent by an initiator;
a first communication unit, configured to distribute the deletion request to members according to the universal identifier URI of the group member resource, receive a response from the members, mark an existing member list memberList as an old member list, and create a new member list memberList;
a first processing unit, configured to delete a group resource or update a group resource, and send a response to the initiator;
wherein the first processing unit comprises:
a third processing module, configured to delete content in a member list memberList, aggregate responses of the members, and then send the response to the initiator, where the response carries information indicating that the memberList is deleted;
or, the fourth processing module is configured to clear the content in the memberList, aggregate the responses of the members, send the response to the initiator, and carry information indicating that the memberList is cleared;
or, the fifth processing module, configured to delete only the URIs of the members feeding back the response from the memberList when receiving the responses of some members, aggregate the responses of the members, and then send the response to the initiator, where the response carries information of the memberList;
and the first processing unit is used for extracting the URI of the member resource fed back with the response from an old member list membersist when the group resource is updated after the response of the member is received, updating the URI, storing the URI into a new member list membersist, and taking the new member list membersist as the currently used membersist.
7. The apparatus of claim 6, wherein the first processing unit comprises:
the first processing module is used for deleting the group resources, aggregating the responses of the members, then sending the responses to the initiator and carrying information indicating that the group resources are deleted;
or, the second processing module is configured to delete a group resource, aggregate responses of the members, send the response to the initiator, and send a notification message, where the notification message is used to notify the initiator that the group resource is deleted.
8. The apparatus of claim 6, wherein the apparatus further comprises:
and the first creating unit is used for marking the existing member list memberList as an old member list memberList and creating a new member list memberList after the first communication unit distributes the deletion request to the members according to the universal identifier URI of the group member resource.
9. The apparatus of claim 8,
the first processing unit is further configured to, after the receiving the response of the member, update the group resource specifically including: and extracting the URI of the member resource with the fed-back response from the old member list membersList, updating the URI, storing the URI into the new member list membersList, and taking the new member list membersList as the currently used membersList.
10. The apparatus of claim 6, wherein the first communication unit is further configured to aggregate the responses of the members and send the aggregated responses to the initiator before the group resource is deleted or updated; receiving a request for deleting the group resources or updating the group resources sent by the initiator; the sending the response to the initiator specifically includes: sending a response to the initiator to the request sent by the initiator to delete a group resource or update a group resource.
11. A method for performing a delete operation on a group member resource, the method comprising:
receiving a deletion request for the group member resource sent by an initiator;
modifying the delete request;
distributing a modified deletion request to a member according to the universal identifier URI of the group member resource and receiving the response of the member;
aggregating the responses of the members and sending to the initiator;
after distributing the deletion request to the member according to the universal identifier URI of the group member resource, the method further includes marking an existing member list memberList as an old member list memberList, and creating a new member list memberList.
12. The method of claim 11, wherein said modifying said delete request specifically comprises:
changing the deletion request into an update request, wherein the update request is to clear the content of the group member resource or delete all sub-resources of the group member resource;
or, changing the deletion request, and adding an indication in the deletion request, where the indication is used to indicate a group member to clear the content of the group member resource or delete all sub-resources of the group member resource.
13. An apparatus for performing a delete operation on a group member resource, the apparatus comprising:
a second receiving unit, configured to receive a deletion request for the group member resource sent by an initiator;
a second processing unit for modifying the deletion request;
the second communication unit is used for distributing the modified deletion request to the member according to the universal identifier URI of the group member resource and receiving the response of the member; marking the existing member list memberList as an old member list memberList, and creating a new member list memberList; aggregating the responses of the members and sending to the initiator.
14. The apparatus of claim 13,
the second processing unit is specifically configured to: changing the deletion request into an update request, wherein the update request is to clear the content of the group member resource or delete all sub-resources of the group member resource; or, changing the deletion request, and adding an indication in the deletion request, where the indication is used to indicate a group member to clear the content of the group member resource or delete all sub-resources of the group member resource.
15. A method for performing a delete operation on a group member resource, the method comprising:
sending a request for deleting the group member resources to the group control general service entity;
receiving an aggregation response fed back by the group control universal service entity;
sending a request for deleting the group resources or updating the group resources to the group control general service entity to indicate the group control general service entity to mark the existing member list memberList as an old member list and create a new member list memberList, or extracting the URI of the member resources with the fed-back response from the old member list memberList, updating the URI, storing the URI in the new member list memberList, and using the new member list memberList as the currently used memberList.
16. An initiator apparatus, the initiator apparatus comprising:
a third sending unit, configured to send a request for deleting a group member resource to the group control universal service entity;
a third receiving unit, configured to receive an aggregation response fed back by the group control universal service entity;
the third sending unit is further configured to send a request for deleting a group resource or updating the group resource to the group control universal service entity, so as to instruct the group control universal service entity to mark an existing member list membersist as an old member list and create a new member list membersist, or extract URIs of member resources with which responses have been fed back from the old member list membersist, update the URIs, store the extracted URIs in the new member list membersist, and use the new member list membersist as a currently used membersist.
CN201410601807.0A 2014-10-31 2014-10-31 Method and device for executing deletion operation of group member resources and initiator device Active CN105635930B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410601807.0A CN105635930B (en) 2014-10-31 2014-10-31 Method and device for executing deletion operation of group member resources and initiator device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410601807.0A CN105635930B (en) 2014-10-31 2014-10-31 Method and device for executing deletion operation of group member resources and initiator device

Publications (2)

Publication Number Publication Date
CN105635930A CN105635930A (en) 2016-06-01
CN105635930B true CN105635930B (en) 2020-04-10

Family

ID=56050342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410601807.0A Active CN105635930B (en) 2014-10-31 2014-10-31 Method and device for executing deletion operation of group member resources and initiator device

Country Status (1)

Country Link
CN (1) CN105635930B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108024232A (en) * 2016-11-01 2018-05-11 中兴通讯股份有限公司 A kind of resource operating methods and device based on Internet of Things oneM2M agreements
CN109905431B (en) 2017-12-08 2021-01-26 京东方科技集团股份有限公司 Message processing method and system, storage medium and electronic equipment

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998277A (en) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 Processing method of group resource allocation signaling
CN102045898A (en) * 2009-10-13 2011-05-04 中兴通讯股份有限公司 Group management method and device for group resource allocation
CN103297468A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Operation method for group resources and group server

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8280417B2 (en) * 2009-12-23 2012-10-02 Intel Corporation Short user messages in system control signaling

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101998277A (en) * 2009-08-25 2011-03-30 中兴通讯股份有限公司 Processing method of group resource allocation signaling
CN102045898A (en) * 2009-10-13 2011-05-04 中兴通讯股份有限公司 Group management method and device for group resource allocation
CN103297468A (en) * 2012-02-29 2013-09-11 华为技术有限公司 Operation method for group resources and group server

Also Published As

Publication number Publication date
CN105635930A (en) 2016-06-01

Similar Documents

Publication Publication Date Title
US10270648B2 (en) Configuration information management method, device, network element management system and storage medium
US20210329493A1 (en) Method and system for group communication, group server, and group member device
US10587544B2 (en) Message processing method, processing server, terminal, and storage medium
CN106793007B (en) Interactive communication method and system of cloud and Bluetooth device and wireless router
JP2018517337A5 (en)
JP2016535895A (en) Software update method, system and device
CN104363247A (en) Flow saving method and device adopting saving-free application
CN105306612A (en) Method for acquiring identifier of terminal in network and management network element
WO2019076282A1 (en) Method and device for managing user
WO2019001224A1 (en) Method and device for recommending social user
CN102752215B (en) Processing method for VDP (vertical data processing) request messages and edge switch
WO2017107473A1 (en) Method for controlling network access of intelligent instrument, master station and data concentration unit
CN105578381A (en) Method and device for creating subscription resources
EP2827621A1 (en) Application program distribution method, terminal and server
CN104507054B (en) Group member information updating method and related equipment
CN105281941B (en) A kind of data transmission method, the first CSE, centre CSE and the 2nd CSE
CN105611484A (en) M2M node management method and M2M node management device
CN105635930B (en) Method and device for executing deletion operation of group member resources and initiator device
CN103812672A (en) Method for discovering newly-added network element device, correlative device, and system
WO2015117362A1 (en) Method and device for sharing personal information on terminal
KR20200135176A (en) Method and apparatus for edge transfer based on movement of user equipment
RU2017103549A (en) METHOD FOR MANAGING USERS OF A JOINT USE OF THE NETWORK corresponding to the DEVICE AND SYSTEM
US20160100021A1 (en) Information processing device, destination information updating method, and record medium
CN107171915B (en) Communication protocol changing method and device
CN104869532B (en) Group member management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C41 Transfer of patent application or patent right or utility model
TA01 Transfer of patent application right

Effective date of registration: 20170112

Address after: 100088 room 601-606, level, Pacific International Building, Zhichun Road, Beijing, 106, China

Applicant after: Haier smart technology (Beijing) Co., Ltd.

Applicant after: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

Address before: 100086 Beijing, Zhichun Road, Zhongguancun, No. 106 crown office building, layer, layer 15

Applicant before: Beijing Haier Guangke Digital Techn Co., Ltd.

Applicant before: Qingdao Haier Intelligent Home Appliances Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant