CA2869505C - Method and system for group communication, group server, and group member device - Google Patents

Method and system for group communication, group server, and group member device Download PDF

Info

Publication number
CA2869505C
CA2869505C CA2869505A CA2869505A CA2869505C CA 2869505 C CA2869505 C CA 2869505C CA 2869505 A CA2869505 A CA 2869505A CA 2869505 A CA2869505 A CA 2869505A CA 2869505 C CA2869505 C CA 2869505C
Authority
CA
Canada
Prior art keywords
subscription
group
address
subresource
subscription device
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
CA2869505A
Other languages
French (fr)
Other versions
CA2869505A1 (en
Inventor
Fangying XIAO
Yongjing Zhang
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.)
Huawei Cloud Computing Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Publication of CA2869505A1 publication Critical patent/CA2869505A1/en
Application granted granted Critical
Publication of CA2869505C publication Critical patent/CA2869505C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/22Traffic shaping
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/567Integrating service provisioning from a plurality of service providers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/06Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
    • H04W4/08User group management
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/12Messaging; Mailboxes; Announcements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/18Information format or content conversion, e.g. adaptation by the network of the transmitted or received information for the purpose of wireless delivery to users or terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/70Services for machine-to-machine communication [M2M] or machine type communication [MTC]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/186Processing of subscriber group data

Abstract

Embodiments of the present invention provide a group communication method, system, group server, and group member device. A group server receives notification messages sent by a group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.

Description

METHOD AND SYSTEM FOR GROUP COMMUNICATION, GROUP SERVER, AND GROUP MEMBER DEVICE
TECHNICAL FIELD
The present invention relates to the field of communication technology, and in particular, to a method and a system for group communication, a group server, and a group member device.
BACKGROUND
With the development of communication technology, Machine-to-Machine Communication (M2M) is widely applied. The M2M communication is a network-based application and service centering on intelligent machine interaction. By embedding a wireless or wired communication module and application logic module, the M2M
communication implements data communication without manual intervention, so as to meet informatization requirements of users for monitoring, scheduling, data collection, measurement, and so on.
FIG. 1 shows a typical M2M system architecture. The system architecture includes M2M terminals, an M2M gateway, an M2M service platform, and an M2M
application.
An M2M terminal, such as a sensor and a microcontroller, is configured to receive a service instruction sent by the M2M application, and perform a service operation according to the received service instruction; the M2M gateway, as a proxy server between the M2M
terminal and a transport network, is configured to provide a proxy service for an M2M
terminal connected to the gateway; the M2M service platform is configured to provide a shared M2M function for the M2M application; the M2M application, such as power meter reading or intelligent transportation, is configured to use a service capability, provided by the M2M service platfaim, to acquire data collected by the M2M terminal or perform remote control and management on the M2M terminal.
In the M2M system, an M2M terminal accesses the M2M service platform directly, or remotely through the M2M gateway. By using the service capability provided by the M2M
service platform, various M2M applications acquire data collected by the M2M
terminal or perform remote control and management on the M2M terminal.
In the M2M system, a group communication capability is particularly important.

Currently, the M2M technical specification (TS) 102 690 and TS 102 921 formulated by the European Telecommunications Standards Institute (ETSI) describe a resource-oriented group communication method. In this method, resources such as an M2M application, an service platform, an M2M terminal, and an M2M gateway, including all local applications and data objects running on the M2M terminal and M2M gateway, are all considered as a kind of Representational State Transfer (RESTful) group resource. The RESTful group resource is uniquely identified by a Universal Resource Identifier (URI). A group-based operation can be performed on multiple resources by including the preceding resources as a member of the group resource. That is, the M2M application can operate the group resource at a time through a subscription device, to obtain information of group member resources on all group member devices, thereby reducing the communication payload.
However, the preceding method is only suitable for a subscription device to send an operation request to group member devices. When the group member devices send notification messages to the subscription device, too many messages are exchanged between the group member device and the subscription devices, which results in heavy communication traffic.
SUMMARY
Embodiments of the present invention provide a group communication method, system, group server, and group member device, for solving a problem of heavy
2 communication traffic caused by too many messages exchanged between a group member device and a subscription device when the group member device sends notification messages to the subscription device.
An embodiment of the present invention provides a group communication method, including: receiving notification messages sent by group member devices, wherein the notification messages are sent to a group server after a resource of a group member device meets a subscription condition set by a subscription device, and the number of notification messages is at least two, wherein the notification messages comprise an address of the subscription device; aggregating, according to the address of the subscription device included in the notification messages, the notification messages destined for the same subscription device; and sending, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
An embodiment of the present invention further provides a group communication method, including: determining, by a group member device, whether a resource of the group member device meets a set subscription condition; and sending, by the group member device, notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device.
An embodiment of the present invention further provides a group server, including: a first receiving module, configured to receive notification messages sent by group member devices, wherein the notification messages are sent to the group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is at least two, wherein the notification messages comprise an address of the subscription device; an aggregating module, configured to aggregate, according to the address of the subscription device included in the notification messages, the notification messages destined for the same subscription device; and a first sending module, configured to send, according to the address of the subscription device, a notification message
3 obtained after aggregation to the subscription device.
An embodiment of the present invention further provides a group member device, including: a determining module, configured to determine whether a resource of the group member device meets a set subscription condition; and a second sending module, configured to send notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device.
An embodiment of the present invention further provides a group communication system, including: a group member device, configured to send notification messages to a group server, where the notification messages are sent to the group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least; and the group server, configured to receive the notification messages sent by the group member device, aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device, and send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
Another aspect of the present disclosure relates to a group communication method, comprising: receiving, by a group server, a plurality of notification messages each sent by a group member device, wherein each of the notification messages is sent after a resource of the group member device meets a subscription condition set by a subscription device, and wherein each of the notification messages comprise an address of the subscription device;
selecting, by the group server, a plurality of the notification messages that each carries a same forwarding identifier, wherein the forwarding identifier is used to instruct the group server to aggregate notification messages sent by group member devices; aggregating, by the group server, the selected messages into one or more single notification messages according to the address of the subscription device in the selected messages; and sending, by the group server,
4 , each of the single notification messages to the address of the subscription device associated with the single notification message.
Another aspect of the present disclosure relates to a group server, comprising: a first receiving module, configured to receive a plurality of notification messages each sent by a group member device, wherein each of the notification messages is sent after a resource of the group member device meets a subscription condition set by a subscription device, and wherein each of the notification messages comprise an address of the subscription device; an aggregating module, configured to select a plurality of the notification messages that each carries a same forwarding identifier, wherein the forwarding identifier is used to instruct the group server to aggregate notification messages sent by group member devices;
the aggregating module, further configured to aggregate the selected messages into one or more single notification messages according to the address of the subscription device in the selected messages; and a first sending module, configured to send each of the single notification messages to the address of the subscription device associated with the single notification message.
In the embodiments of the present invention, a group server receives the notification messages sent by a group member device, aggregates, according to an address of a subscription device, notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
4a =

BRIEF DESCRIPTION OF DRAWINGS
FIG. 1 is a schematic diagram of an M2M system architecture in the prior art;
FIG. 2 is a schematic flowchart of an embodiment of a group communication method according to the present invention;
FIG. 3 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 4 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 5 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 6 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 7 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 8 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 9 is a schematic flowchart of another embodiment of a group communication method according to the present invention;
FIG. 10 is a schematic diagram of an embodiment of a group server according to the present invention;
FIG. 11 is a schematic diagram of an embodiment of a group member device according to the present invention; and FIG. 12 is a schematic diagram of an embodiment of a group communication system according to the present invention.
5 DESCRIPTION OF EMBODIMENTS
To make the objectives, technical solutions, and advantages of the embodiments of the present invention more comprehensible, the following clearly and completely describes the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Apparently, the described embodiments are merely a part rather than all of the embodiments of the present invention. All other embodiments obtained by a person of ordinary skill in the art according to the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
The following describes the overall technical solution of method embodiments of the present invention.
Method Embodiment 1 FIG. 2 is a schematic flowchart of an embodiment of a group communication method according to the present invention. As shown in FIG. 2, the method includes:
Step 101: Receive notification messages sent by a group member device, where the notification messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least.
In this embodiment of the present invention, the group server is a server that can perform a group-based operation on multiple resources. For example, in an M2M
system, resources such as an M2M application, an M2M service platform, an M2M
terminal, and an M2M gateway, including all local applications and data objects running on the M2M terminal and the M2M gateway, are all considered as a kind of RESTful group resource.
The group server can perform a group-based operation on the resources. The group member device is a device where a group resource resides, such as a humidity sensor or a temperature sensor.
It should be noted that in this embodiment of the present invention, the group server
6 may be deployed and run on the M2M service platform, the M2M terminal, or the gateway.
Step 102: Aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device.
Step 103: Send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, the group server can aggregate multiple notification messages according to the address of the subscription device. The number of notification messages obtained after aggregation is smaller than the number of notification messages sent by the group member device. Alternatively, the number of notification messages obtained after aggregation is 1.
In this embodiment of the present invention, a group server receives notification messages sent by a group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by a group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
Method Embodiment 2 FIG. 3 is a schematic flowchart of another embodiment of a group communication method according to the present invention. As shown in FIG. 3, the method includes:
Step 201: A group member device determines whether a resource of the group member device meets a set subscription condition.
Step 202: If the resource of the group member device meets the set subscription condition, the group member device sends notification messages to a group server, so that the
7 group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device.
In this embodiment of the present invention, the group server is a server that can perform a group-based operation on multiple resources. For example, in an M2M
system, resources such as an M2M application, an M2M service platform, an M2M
terminal, and an M2M gateway, including all local applications and data objects running on the terminals and the M2M gateway, are all considered as a kind of RESTful group resource. The group server can perform a group-based operation on the resources. The group member device is a device where a group resource resides, such as a humidity sensor or a temperature sensor.
It should be noted that in this embodiment of the present invention, the group server may be deployed and run on the M2M service platform, the M2M terminal, or the gateway.
In addition, it should further be noted that in this embodiment of the present invention, the number of notification messages obtained after aggregation by the group server is smaller than the number of notification messages sent by the group member device.
Alternatively, the number of notification messages obtained after aggregation by the group server is 1.
In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
8 Method Embodiment 3 FIG. 4 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same service capability layer (SCL). The solution of the present invention is described with an example where a subscription device carries a forwarding identifier and an address of the subscription device in notification messages sent to a group server and the group server aggregates and sends the notification messages to the subscription device. As shown in FIG. 4, the method includes:
Step 301: A subscription device sends a request message for subscribing to a group member resource to a group server, where the request message carries an address of the subscription device.
In this embodiment of the present invention, the subscription device is a device that sends a service request message to the group server. The subscription device may be any electronic product that can perform human-machine interaction with a user through a keyboard, a mouse, a remote control, a touchpad, or a voice-operated device, including but not limited to a computer, a mobile phone, and the like.
Step 302: The group server forwards the request message for subscribing to a group member resource to each group member device, where the request message carries an address of the group server and the address of the subscription device.
In this embodiment of the present invention, the address of the group server is used to prompt a group member device that: if a resource change of the group member device meets a subscription condition preset by the subscription device, a notification message needs to be sent to the group server.
For example, if the group member device is a temperature sensor, the subscription condition set by the subscription device is that: when a temperature sensed by the temperature sensing apparatus reaches 100 C, reporting is needed. When the temperature sensed by the temperature sensing apparatus reaches 100 C, the temperature sensing apparatus encapsulates
9 a temperature parameter into a notification message, and sends the notification message to the group server according to the address of the group server.
It should be noted that in this embodiment of the present invention, an implementation manner of the address of the group server is not limited. For example, a URI
may be used to represent the address of the group server.
Step 303: Each group member device verifies the request message according to the address of the subscription device carried in the request message.
In this embodiment of the present invention, the group member device verifies the request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device.
Step 304: If the verification is passed, each group member device creates a subscription resource and stores the address of the group server and the address of the subscription device carried in the request message.
In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the subscription resource, and sets attributes of the subscription resource, where the attributes of the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like.
It should be noted that in this embodiment of the present invention, when creating the subscription resource, the group member device sets a recipient address of a notification message of the subscription resource to the address of the group server.
It should further be noted that if the subscription device is at the same service capability layer (SCL) as the group member resource, the group member device sets the recipient address of the notification message of the subscription resource to the address of the subscription device when creating the subscription resource, so that when the resource change of the group member device meets the subscription condition set by the subscription device, the notification message is directly sent to the subscription device according to the address of the notification message. It can be determined, according to an identifier of the subscription device and an identifier of the group member resource, whether the subscription device and the group member resource are at the same service capability layer. The identifier may be a Step 305: Each group member device returns a response message to the group server.
Step 306: The group server aggregates all response messages.
Step 307: The group server returns a response message obtained after aggregation to the subscription device.
Step 308: When a resource of a group member device meets the subscription condition set by the subscription device, the group member device sends a notification message to the group server according to the recipient address of the notification message, where the notification message carries the address of the subscription device and a forwarding identifier.
In this embodiment of the present invention, the forwarding identifier is used to trigger the group server to aggregate notification messages sent by group member devices, and forward a notification message obtained after aggregation to the subscription device according to the address of the subscription device.
Step 309: The group server determines whether the notification message carries the forwarding identifier.
Step 310: If the notification message carries the forwarding identifier, the group server aggregates, according to the address of the subscription device carried in the notification message, notification messages destined for the same subscription device.
Specifically, the group server determines, according to the forwarding identifier carried in the notification messages, that the notification messages need to be forwarded to the subscription device. The group server aggregates, according to the address of the subscription device receiving the notification messages which is carried in the notification messages, the notification messages that carry the same address of the subscription device into a single notification message.
For example, subscription device A subscribes to group member device 1, group member device 2, and group member device 3. If the subscription condition set by the subscription device is met within a set time period, group member device 1, group member device 2, and group member device 3 send notification messages to the group server. The notification messages all carry an address of subscription device A. After receiving the notification messages, the group server aggregates, according to the address of subscription device A carried in the notification messages, the notification messages that carry the same address of subscription device A into a single notification message.
Step 311: The group server sends, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, by carrying a forwarding identifier and an address of a subscription device in notification messages sent by group member devices, a group server can aggregate the notification messages sent by the group member devices to the same subscription device and send a message obtained after aggregation to the subscription device. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic.
On the basis of this embodiment of the present invention, the following may be further included: The group server receives a group resource update request, where the group resource update request is used to change the status of the group resource, for example, to change access permission for the group resource. The group server forwards the group resource update request to each group member device. Each group member device determines whether the update request is forwarded by the group server. If the group resource update request is forwarded by the group server, after the updated group resource meets the subscription condition set by the subscription device, notification messages are aggregated by the group server and a notification message obtained after aggregation is sent to the subscription device. Otherwise, the group member devices directly send the notification messages to the subscription device, thereby preventing the group server from aggregating all updated group resources and reducing the resource overhead of the group server.
The group member device determines whether the update request is forwarded by the same group server. A specific manner may be as follows: When forwarding a group resource update request to the group member device, the group server carries an address of the group server in the request. The group member device compares a stored address of the group server for aggregating notification messages with the address of the group server carried in the resource update request. If the address of the group server that is used for aggregating notification messages and is stored on the group member device is the same as the address of the group server carried in the resource update request, it can be determined that the update request is forwarded by a group server used for aggregating notification messages.
Method Embodiment 4 FIG. 5 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. The solution of the present invention is described with an example, where in a group resource <group> defined in the European Telecommunications Standards Institute (ETSI) M2M IS 102 690, a subresource for aggregating notification messages is introduced to aggregate notification messages sent to the subscription device and send a message obtained after aggregation to the subscription device. As shown in FIG. 5, the method includes:
Step 401: A subscription device sends a request message for subscribing to a group member - to a group server, where the request message carries an address of the subscription device.
In this embodiment of the present invention, the subscription device is a device that sends a service request message to the group server. The subscription device may be any electronic product that can perform human-machine interaction with a user through a keyboard, a mouse, a remote control, a touchpad, or a voice-operated device, including but not limited to a computer, a mobile phone, and the like.
Step 402: The group server forwards the request message for subscribing to a group member to each group member device, where the request message carries an address of a subresource of the group server for aggregating notification messages and the address of the subscription device.
In this embodiment of the present invention, the address of the subresource of the group server for aggregating notification messages is used to prompt a group member device that: if a resource change of the group member device meets a subscription condition set by the subscription device, the notification messages need to be sent to the subresource of the group server according to the address of the subresource of the group server for aggregating notification messages.
Specifically, a subresource for aggregating notification messages is introduced in the group resource <group> defined in the ETSI M2M TS 102 690, where, actually the subresource is not used for storing a resource. When a destination of the notification messages sent by the group member device to the group server is the subresource for aggregating notification messages, the group server aggregates the notification messages according to the address of the subscription device and forwards a message obtained after aggregation to the subscription device.
As shown in Table 1, "to subscribers" indicates the subresource introduced in the group resource <group> for aggregating notification messages.

Table 1 <group>
members __________________________________ members content subscriptions to subscribers The <group> is a group resource representation defined in the ETSI M2M IS 102 690.
The <group> mainly includes: a members attribute, members, used for describing the URI of each member resource; a members content subresource, members content, used for indicating all group member resources; a subscription subresource, subscriptions, used for storing information such as a subscriber that subscribes to a group resource.
It should be noted that in this embodiment of the present invention, the members attribute can be added, deleted, modified, or viewed for implementing modification or viewing of a group member list. The members content subresource can be added, deleted, modified, or viewed for implementing modification or viewing of all member resources of a group. The subscriptions subresource can be added, deleted, modified, or viewed for implementing prompt perception of a change of a group resource in time.
It should further be noted that in this embodiment of the present invention, if the subresource that is introduced in <group> and used for aggregating notification messages, is to subscribers shown in Table 1, in step 602, the address of the subresource of the group server that is carried in the request message and used for aggregating notification messages may be: 'URI of group / to Subscribers.
Step 403: Each group member device verifies the request message according to the address of the subscription device carried in the request message.
In this embodiment of the present invention, the group member device verifies the request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device.
Step 404: If the verification is passed, each group member device creates a subscription resource and stores the address of the subresource of the group server for aggregating notification messages and the address of the subscription device carried in the request message.
In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the subscription resource, and sets attributes of the subscription resource, where the attributes of the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like.
It should be noted that in this embodiment of the present invention, when creating the subscription resource, the group member device sets a recipient address of a notification message of the subscription resource to the address of the subresource of the group server for aggregating notification messages.
It should further be noted that if the subscription device and the group member resource are at the same SCL, when creating the subscription resource, the group member device sets the recipient address of the notification message of the subscription resource to the address of the subscription device, so that when the resource change of the group member device meets the subscription condition set by the subscription device, the notification message is directly sent to the subscription device according to the address of the notification message. It can be determined, according to an identifier of the subscription device and an identifier of the group member resource, whether the subscription device and the group member resource are at the same service capability layer. The identifier may be a URI. Step 605: The group member device returns a response message to the group server.
Step 405: The group member device returns a response message to the group server.
Step 406: The group server aggregates all response messages.
Step 407: The group server returns a response message obtained after aggregation to the subscription device.
Step 408: When a resource of the group member device meets the subscription condition set by the subscription device, the group member device sends, according to the recipient address of the notification message, the notification message to the subresource of the group server for aggregating notification messages, where the notification message carries the address of the subscription device.
Step 409: The group server aggregates, according to the address of the subscription device, all notification messages destined for the subresource of the group server for aggregating notification messages.
Specifically, the group server determines, according to the recipient address of the notification messages, that the notification messages need to be forwarded to the subscription device. The group server aggregates, according to the address of the subscription device carried in the notification messages, the notification messages that carry the same address of the subscription device into a single notification message.
Step 410: The group server sends, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, a group member device sends notification messages to an address of a subresource of a group server for aggregating notification messages, so that the group server aggregates all notification messages sent by the group member device to the same subscription device and sends a notification message obtained after aggregation to the subscription device. This reduces the number of notification messages between the subscription device and the group member device, thereby reducing communication traffic.
Method Embodiment 5 FIG. 6 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. A
group server stores an address of a subscription device, so that when the address of the subscription device changes, a group member device does not need to be notified, and only the group server needs to be notified. Then the group server aggregates notification messages and sends a notification message obtained after aggregation to the subscription device with the changed address.
It should be noted that in this embodiment of the present invention, the RESTful resource representation mechanism is used to implement the solution of the present invention.
As shown in FIG. 6, the method includes:
Step 501: A subscription device sends a request message for subscribing to a group member to a group server. The request message carries an address of the subscription device.
Step 502: After receiving the request message for subscribing to a group member, the group server creates a subresource for storing a subscription condition and the address of the subscription device.
In this embodiment of the present invention, after receiving the request message for subscribing to a group member, the group server creates a subresource for storing the subscription condition and the address of the subscription device, in either of the following manners:
Manner 1: after receiving the request message for subscribing to a group member, searching, by the group server, in a group resource, for a subresource that includes the subscription condition set by the subscription device; and if the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device; or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device.
It should be noted that, in manner 1, the used manner of creating a subresource for - storing the address of the subscription device is implemented by using the RESTful resource representation mechanism as a part of the group resource.
Specifically, the <Subscriber Members> subresource is introduced in the group resource <group> defined in the ETSI M2M TS 102 690 to describe related information of the subscription condition and all subscribers that subscribe to a group member through the group server. The <Subscriber Members> subresource is as shown in Table 2.
Table 2 Subscriber Members subscriber member 1 filter criteria subscriber contact 1 subscriber contact n subscriber member n filter criteria subscriber contact 1 subscriber contact n The <Subscriber Members> subresource includes multiple <subscriber member>

=

subresources, and each <subscriber member> subresource includes the addresses of all subscription devices with the same subscription condition. The <subscriber member>
subresource includes the following attributes:
a filter criteria attribute, used for storing a subscription condition that is set during the subscription to a group member; and a subscriber contact attribute, used for storing the addresses of subscription devices that have the same subscription condition as that stored in the filter criteria attribute.
Manner 2: searching for a group resource for storing subscription information of the subscription device, and if the group resource exists, searching, in the group resource, for a subresource that includes the subscription condition set by the subscription device, and if the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device, or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device;
or if the group resource for storing the subscription information of the subscription device does not exist, creating a group resource for storing the subscription information of the subscription device, and creating, in the group resource according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device; or if the group for storing the subscription information does not exist, creating a new group, and first creating, according to the subscription condition, a subresource for storing the subscription condition, and then creating, in the new subresource, a subresource for storing the address of the subscription device.
It should be noted that, if a group resource for storing the subscription information of the subscription device is created, a subresource created in the new group resource is as shown in Table 3:
Table 3 Subscriber Members Group attribute subscriber member 1 filter criteria subscriber contact 1 subscriber contact n subscriber member n filter criteria subscriber contact 1 subscriber contact n In Table 3, <Subscriber Members Group> is the new group; attribute is a description of attributes of the group, such as the group creation time and last modification time; the group includes multiple <subscriber member> subresources and each <subscriber member>
subresource includes the addresses of all subscription devices with the same subscription condition. The <subscriber member> subresource includes the following attributes:
a filter criteria attribute, used for storing a subscription condition that is set during the subscription to a group member; and a subscriber contact attribute, used for storing the addresses of subscription devices that have the same subscription condition as that stored in the filter criteria attribute.
Step 503: The group server forwards the request message for subscribing to a group member to each group member device, where the request message carries the address of the subresource of the group server for aggregating notification messages and the address of the subscription device.
In this embodiment of the present invention, the address of the subresource of the group server for aggregating notification messages is used to prompt a group member device that: if a resource change of the group member device meets the subscription condition set by the subscription device, notification messages need to be sent to the subresource of the group server according to the address of the subresource of the group server for aggregating notification messages.
It should be noted that in this embodiment of the present invention, the subresource corresponding to the address of the subresource of the group server for aggregating notification messages, is used for storing the subscription condition and the address of the subscription device.
In addition, it should further be noted that, the address of the subresource of the group server for aggregating notification messages varies according to the manner of creating the subresource by the group server.
For example, if the group server creates, according to manner 1 in step 702, a subresource for storing the address of the subscription device, an address of the group server for aggregating notification messages is an address of an existing group as:
/subscribeMembers/subscribeMember/subseriberContact.
If the group server creates, according to manner 2 in step 702, a new group of the subresource for storing the address of the subscription device, the address of the group server for aggregating notification messages is an address of a new group as:
/subscribeMembers/subscribeMember/subscriberContact.
It should be noted that, the address of an existing group or a new group may be represented by using a URI.
Step 504: The group member device verifies the request message according to the address of the subscription device carried in the request message.

In this embodiment of the present invention, the group member device verifies the request message according to the address of the subscription device carried in the request message, in order to identify whether the subscription device has service subscription permission for the group member device.
Step 505: If the verification is passed, each group member device creates a subscription resource and stores the address of the group server for aggregating notification messages which is carried in the request message.
In this embodiment of the present invention, that the group member device creates a subscription resource means that: The group member device creates, in its subresource, the subscription resource, and sets attributes of the subscription resource, where the attributes of the subscription resource include but are not limited to: creation time of the subscription resource, expiry time of the subscription resource, last modification time of the subscription resource, subscription condition of the subscription resource, recipient address of a notification message of the subscription resource, and the like.
It should be noted that in this embodiment of the present invention, the group member device sets the recipient address of the notification message of the subscription resource to the address of the subresource of the group server for aggregating notification messages, that is, the address of the subresource that is set by the group server and used for storing the subscription condition of the subscription device and the address of the subscription device.
Step 506: Each group member device returns a response message to the group server.
Step 507: After receiving response messages, the group server aggregates all response messages.
Step 508: The group server returns a response message obtained after aggregation to the subscription device, where the response message carries the address of the subresource that is created by the group server and used for storing the subscription condition of the subscription device and the address of the subscription device.
Step 509: After receiving the response message, the subscription device parses the response message and stores the address of the subresource that is carried in the response message and used for storing the subscription condition of the subscription device and the address of the subscription device, for example, an address of an existing group as:
/subscribeMembers/subscribervlember/subscrib erContact.
Step 510: When the resource of the group member device changes and meets the subscription condition set by the subscription device, notification messages are sent to the address of the subresource of the group server for aggregating notification messages.
Step 511: The group server aggregates, according to the address of the subscription device stored in the subresource, all notification messages destined for the address of the subresource of the group server for aggregating notification messages.
Specifically, the group server determines, according to the recipient address of the notification messages, that the notification messages need to be forwarded to the subscription device. That is, the group server determines, according to the address of the subresource of the group server for aggregating notification messages, that the notification messages need to be forwarded to the subscription device. The group server acquires, according to the recipient address of the notification messages, from the subresource of the group server corresponding to the recipient address of the notification messages, the address of the subscription device stored in the subresource. The group server aggregates, according to the address of the subscription device, the notification messages with the same recipient address into a single notification message.
Step 512: The group server sends, according to the address of the subscription device stored by the group server, a notification message obtained after aggregation to the subscription device.
Step 513: When the subscription device needs to change an address for receiving notification messages, the subscription device sends an address change request message to the group server according to the address of the subresource that is stored on the subscription device and used for storing the subscription condition of the subscription device and the address of the subscription device, where the address change request message carries a changed address of the subscription device.
Step 514: The group server updates, in the subresource for storing the subscription condition of the subscription device and the address of the subscription device, the address of the subscription device to the changed address of the subscription device carried in the change request message.
Step 515: When the resource of the group member device changes and meets the subscription condition set by the subscription device, notification messages are sent to the address of the subresource of the group server for aggregating notification messages.
Step 516: The group server aggregates, according to the changed address of the subscription device stored in the subresource of the group server, all notification messages destined for the address of the subresource of the group server for aggregating notification.
messages.
Step 517: The group server sends, according to the changed address of the subscription device, a notification message obtained after aggregation to the corresponding subscription device.
In this embodiment of the present invention, a group server stores an address of a subscription device. When the address of the subscription device changes, the subscription device does not need to notify a group member device, and only needs to notify the group server of changing the stored address of the subscription device, and then notification messages sent by the group member device are sent to the subscription device with the new address, thereby reducing communication traffic between the group member device and the subscription device.
Method Embodiment 6 FIG. 7 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, a subscription device and a group member resource are not at the same SCL. The solution of the present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 7, the method includes:
Step 601: A subscription device sends a request message for subscribing to a group member to group server A, where the request message carries an address of the subscription device.
Step 602: Group server A forwards the request message for subscribing to a group member to each group member device that belongs to group server A, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device.
Step 603: Group server A forwards the request message sent by the subscription device for subscribing to a group member to subgroup server B.
Step 604: Subgroup server B forwards the request message for subscribing to a group member to each group member device that belongs to subgroup server B, where the request message carries an address of subgroup server B for aggregating notification messages and the address of the subscription device.
Step 605: Each group member device verifies the request message according to the address of the subscription device carried in the request message.
Step 606: If the verification is passed, each group member device creates a subscription resource and stores an address of the corresponding group server for aggregating notification messages and the address of the subscription device.
In this embodiment of the present invention, group member device 1 and group member device 2 store the address of group server A for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by group server A; group member device 3 and group member device 4 store the address of subgroup server B for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by subgroup server B.
Step 607: When resources of group member device 1 and group member device 2 of group server A meet a subscription condition set by the subscription device, group member device 1 and group member device 2 send notification messages to the address of group server A for aggregating notification messages, where the notification messages carry the address of the subscription device.
Step 608: When resources of group member device 3 and group member device 4 of subgroup server B meet the subscription condition set by the subscription device, group member device 3 and group member device 4 send notification messages to the address of subgroup server B for aggregating notification messages, where the notification messages carry the address of the subscription device.
Step 609: Group server A and subgroup server B respectively aggregate the notification messages and send a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, group server A and subgroup server B
aggregate notification messages sent by their group member devices to the same subscription device, and send a notification message obtained after aggregation to the subscription device.
.. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic.
Method Embodiment 7 FIG. 8 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, the solution of the present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 8, the method includes:
Step 701: A subscription device sends a request message for subscribing to a group member to group server A, where the request message carries an address of the subscription device.
Step 702: Group server A forwards the request message for subscribing to a group member to each group member device that belongs to group server A and to subgroup server B, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device.
Step 703: Subgroup server B forwards the request message for subscribing to a group member to each group member device that belongs to the group server, where the request message carries an address of subgroup server B for aggregating notification messages and the address of the subscription device; and stores a mapping relationship between the address of the subscription device and the address of group server A for aggregating notification messages.
Step 704: Each group member device verifies the request message according to the address of the subscription device carried in the request message.
Step 705: If the verification is passed, each group member device creates a subscription resource, and stores an address of the corresponding group server for aggregating notification messages and the address of the subscription device.
In this embodiment of the present invention, group member device 1 and group member device 2 store the address of group server A for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by group server A; group member device 3 and group member device 4 store the address of subgroup server B for aggregating notification messages and the address of the subscription device, where the addresses are carried in the request message by subgroup server B.

Step 706: When resources of group member device 1 and group member device 2 of group server A meet a subscription condition set by the subscription device, group member device 1 and group member device 2 send notification messages to the address of group server A for aggregating notification messages, where the notification messages carry the address of the subscription device.
Step 707: When resources of group member device 3 and group member device 4 of subgroup server B meet the subscription condition set by the subscription device, group member device 3 and group member device 4 send notification messages to the address of subgroup server B for aggregating notification messages, where the notification messages carry the address of the subscription device.
Step 708: Subgroup server B aggregates the notification messages according to the address of the subscription device.
Step 709: Subgroup server B sends, according to the stored mapping relationship between the address of the subscription device and the address of group server A for aggregating notification messages, a notification message obtained after aggregation to the address of group server A for aggregating notification messages.
Step 710: Group server A aggregates the notification messages sent by group member device 1 and group member device 2, and the notification message that is obtained after aggregation and sent by subgroup server B.
Step 711: Group server A sends a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, subgroup server B aggregates notification messages sent by group member devices that belong to subgroup server B, and sends a notification message obtained after aggregation to group server A. Group server A further aggregates notification messages sent by group member devices that belong to group server A, and the notification message that is obtained after aggregation and sent by subgroup server B.
This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic.
Method Embodiment 8 FIG. 9 is a schematic flowchart of another embodiment of a group communication method according to the present invention. In this embodiment of the present invention, the solution of the present invention is described with an example where a group includes a subgroup. In this embodiment of the present invention, group A includes subgroup B, group member device 1, and group member device 2, and subgroup B includes group member device 3 and group member device 4. As shown in FIG. 9, the method includes:
Step 801: A subscription device sends a request message for subscribing to a group member to group server A, where the request message carries an address of the subscription device.
Step 802: Group server A forwards the request message for subscribing to a group member to each group member device that belongs to group server A and to subgroup server B, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device.
Step 803: Subgroup server B forwards the request message for subscribing to a group member to each group member device that belongs to subgroup server B, where the request message carries an address of group server A for aggregating notification messages and the address of the subscription device.
Step 804: Each group member device verifies the request message according to the address of the subscription device carried in the request message.
Step 805: If the verification is passed, each group member device creates a subscription resource and stores the address of group server A for aggregating notification messages and the address of the subscription device.
Step 806: When resources of group member device 1, group member device 2, group member device 3, and group member device 4 meet a subscription condition set by the subscription device, they respectively send notification messages to group server A according to the address of group server A for aggregating notification messages, where the notification messages carry the address of the subscription device.
Step 807: Group server A aggregates the notification messages according to the address of the subscription device.
Step 808: Group server A sends a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, group server A aggregates notification messages sent to the same subscription device by group member devices that belong to group server A, and notification messages sent to the same subscription device by group member devices that belong to subgroup server B. This reduces the number of notification messages between the subscription device and the group member devices, thereby reducing communication traffic.
The following describes the overall technical solution of an embodiment of a group server of the present invention.
FIG. 10 is a schematic structural diagram of an embodiment of a group server according to the present invention. As shown in FIG. 10, a group server 1100 includes a first receiving module 11001, an aggregating module 11002, and a first sending module 11003.
The first receiving module 11001 is configured to receive notification messages sent by a group member device, where the notification messages are sent to a group server after a resource of the group member device meets a subscription condition set by a subscription device, and the number of notification messages is two at least.
The aggregating module 11002 is configured to aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device.
The first sending module 11003 is configured to send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.

In this embodiment of the present invention, a group server receives notification messages sent by a group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
Alternatively, in this embodiment of the present invention, the aggregating module 11002 may be specifically configured to aggregate, according to a forwarding identifier and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device. In addition, the aggregating module 11002 may be specifically configured to aggregate, according to a recipient address of the notification messages and the address of the subscription device carried in the notification messages, the notification messages destined for the same subscription device.
In addition, the aggregating module 11002 may be specifically configured to aggregate, according to a recipient address of the notification messages and the address of the subscription device stored in a subresouree of the group server, the notification messages destined for the same subscription device.
Alternatively, in this embodiment of the present invention, the first receiving module 11001 may be further configured to receive an address change request message sent by the subscription device, where the address change request message carries the changed address of the subscription device, and update the address of the subscription device stored in the subresource to the changed address.
The following describes the overall technical solution of an embodiment of a group member device of the present invention.
FIG. 11 is a schematic structural diagram of an embodiment of a group member device according to the present invention. As shown in FIG. 11, a group member device 1200 includes a determining module 12001 and a second sending module 12002.
The determining module 12001 is configured to determine whether a resource of the group member device meets a set subscription condition.
The second sending module 12002 is configured to send notification messages to a group server if the resource of the group member device meets the set subscription condition, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to a subscription device.
In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server, so that the group server aggregates the notification messages and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
Alternatively, in this embodiment of the present invention, the second sending module 12002 is specifically configured to: send notification messages to the group server, where the notification messages carry a forwarding identifier and an address of the subscription device, so that the group server aggregates the notification messages according to the forwarding identifier and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device; or send notification messages to the group server, where the notification messages carry an address of the subscription device, and a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server aggregates the notification messages according to the address of the subresource and the address of the subscription device and sends a notification message obtained after aggregation to the subscription device; or send notification messages to the group server, where a recipient address of the notification messages is an address of a subresource of the group server for aggregating notification messages, so that the group server acquires, according to the address of the subresource, an address of the subscription device stored in the subresource, aggregates the notification messages according to the address of the subscription device, and sends a notification message obtained after aggregation to the subscription device.
The following describes the overall technical solution of an embodiment of a group communication system of the present invention.
FIG. 12 is a schematic structural diagram of an embodiment of a group communication system according to the present invention. As shown in FIG. 12, the group communication system includes a group member device 15001 and a group server 15002.
The group member device 15001 is configured to send notification Messages to the group server 15002, where the notification messages are sent to the group server 15002 after a resource of the group member device 15001 meets a subscription condition set by a subscription device, and the number of notification messages is two at least.
The group server 15002 is configured to receive the notification messages sent by the group member device 15001, aggregate, according to an address of the subscription device, the notification messages destined for the same subscription device, and send, according to the address of the subscription device, a notification message obtained after aggregation to the subscription device.
In this embodiment of the present invention, after a resource of a group member device meets a set subscription condition, the group member device sends notification messages to a group server. The group server receives the notification messages sent by the group member device, aggregates, according to an address of a subscription device, the notification messages destined for the same subscription device, and sends a notification message obtained after aggregation to the subscription device. By aggregating multiple messages sent by the group member device to the subscription device, messages exchanged between the group member device and the subscription device are reduced, thereby reducing communication traffic between the group member device and the subscription device.
A person of ordinary skill in the art may be aware that, in combination with the examples described in the embodiments disclosed in this specification, modules, units, and steps may be implemented by electronic hardware, computer software, or a combination thereof. To clearly describe the interchangeability between the hardware and the software, the foregoing has generally described compositions and steps of each example according to functions. Whether the functions are performed by hardware or software depends on particular applications and design constraint conditions of the technical solutions. A person skilled in the art may use different methods to implement the described functions for each particular application, but it should not be considered that the implementation goes beyond the scope of the present invention.
It may be clearly understood by a person skilled in the art that, for the purpose of convenient and brief description, for a detailed working process of the foregoing system, apparatus, module, and unit, reference may be made to a corresponding process in the foregoing method embodiments, and details are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the described apparatus embodiment is merely exemplary.
For example, the module or unit division is merely logical function division and may be other division in actual implementation. For example, a plurality of units or modules may be combined or integrated into another system, or some features may be ignored or not performed. In addition, the displayed or discussed inter-coupling, or direct coupling, or communication connections may be indirect coupling or communication connections through some interfaces, apparatuses, modules, or units, and may be electric, mechanical or other forms of connections.

The modules or units described as separate parts may or may not be physically separate, and parts displayed as modules or units may or may not be physical modules or units, may be located in one position, or may be distributed on a plurality of network modules or units. A part or all of the modules or units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.
In addition, functional modules or units in the embodiments of the present invention may be integrated into one processing module or unit, or each of the modules or units may exist alone physically, or two or more modules or units are integrated into one module or unit.
The integrated modules or units may be implemented in a form of hardware, or may be implemented in a form of a software functional unit.
When the integrated modules or units are implemented in the form of a software functional module or unit and sold or used as an independent product, the integrated modules or units may be stored in a computer-readable storage medium. According to such an understanding, the technical solutions of the present invention essentially, or the part .. contributing to the prior art, or all or a part of the technical solutions may be implemented in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for instructing a computer device (which may be a personal computer, a server, or a network device) to perform all or a part of the steps of the methods described in the embodiments of the present invention. The foregoing storage medium includes: any medium that can store program code, such as a USB flash drive, a removable hard disk, a read-only memory (Read-Only Memory, ROM), a random access memory (Random Access Memory, RAM), a magnetic disc, or an optical disc.
The foregoing descriptions are merely specific embodiments of the present invention, but are not intended to limit the protection scope of the present invention.
Any modification or replacement readily figured out by a person skilled in the art within the technical scope disclosed in the present invention shall fall within the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (16)

CLAIMS:
1. A group communication method, comprising:
receiving, by a group server, a plurality of notification messages each sent by a group member device, wherein each of the notification messages is sent after a resource of the group member device meets a subscription condition set by a subscription device, and wherein each of the notification messages comprise an address of the subscription device;
selecting, by the group server, a plurality of the notification messages that each carries a same forwarding identifier, wherein the forwarding identifier is used to instruct the group server to aggregate notification messages sent by group member devices;
aggregating, by the group server, the selected messages into one or more single notification messages according to the address of the subscription device in the selected messages; and sending, by the group server, each of the single notification messages to the address of the subscription device associated with the single notification message.
2. The method according to claim 1, wherein aggregating the selected messages into one or more single notification messages according to the address of the subscription device in the selected messages comprises:
aggregating the selected messages according to the forwarding identifier of the selected messages and according to the address of the subscription device in the selected messages.
3. The method according to claim 1, wherein the aggregating, the selected messages into one or more single notification message according to the address of the subscription device in the selected messages comprises:

aggregating the selected messages according to recipient addresses of the selected messages and according to the address of the subscription device in the selected messages.
4. The method according to claim 3, wherein each of the recipient addresses of the selected messages is an address of a subresource of the group server for aggregating notification messages.
5. The method according to claim 1, wherein aggregating the selected messages according to the address of the subscription device in the selected messages comprises:
aggregating the selected messages according to recipient addresses of the selected messages and according to the address of the subscription device stored in a subresource of the group server.
6. The method according to claim 5, wherein aggregating the selected messages according to recipient addresses of the selected messages and according to the address of the subscription device stored in a subresource of the group server comprises:
determining that the selected messages need to be forwarded to the subscription device according to the recipient addresses of the selected messages, wherein each of the recipient address of the selected messages is an address of a subresource of the group server for aggregating notification messages;
acquiring the address of the subscription device from the subresource of the group server according to each of the recipient addresses in the selected messages; and aggregating the selected messages according to each of the subscription device address acquired from the subresource of the group server.
7. The method according to claim 6, further comprising:

receiving an address change request message sent by the subscription device, wherein the request message carries a changed address of the subscription device; and updating the address of the subscription device stored in the subresource, to the changed address.
8. The method according to any one of claims 5 to 7, before receiving a plurality of notification messages each sent by a group member device, further comprising:
receiving, by the group server, a request message sent by the subscription device for subscribing to a group member device of the group server, wherein the request message carries the address of the subscription device and a subscription condition; and creating, by the group server, a subresource for storing the subscription condition set by the subscription device and the address of the subscription device.
9. The method according to claim 8, wherein a manner of creating a subresource for storing the subscription condition set by the subscription device and the address of the subscription device comprises either of the following manners:
manner 1: searching, in a group resource, for a subresource that comprises the subscription condition set by the subscription device; and if the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device; or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device; and manner 2: searching for a group resource for storing subscription information of the subscription device, and if the group resource exists, searching, in the group resource, for a subresource that comprises the subscription condition set by the subscription device, and if the subresource exists, creating, in the subresource, a subresource for storing the address of the subscription device, or if the subresource does not exist, first creating, according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and then creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device;
or if the group resource for storing the subscription information of the subscription device does not exist, creating a group resource for storing the subscription information of the subscription device, and creating, in the group resource according to the subscription condition set by the subscription device, a subresource for storing the subscription condition, and creating, in the subresource for storing the subscription condition, a subresource for storing the address of the subscription device.
10. The method according to any one of claims 1 to 9, wherein receiving a plurality of notification messages each sent by a group member device comprises:
receiving, by the group server, an aggregation message which is aggregated by a plurality messages of notification messages each notification messaging sent by a respective group member device from a subgroup server of the group server.
11. The method according to any one of claims 1 to 9, wherein receiving a plurality of notification messages each sent by a group member device comprises:
receiving, by the group server, a plurality of notification messages sent by a group member device of a subgroup server of the group server.
12. A group server, comprising:
a first receiving module, configured to receive a plurality of notification messages each sent by a group member device, wherein each of the notification messages is sent after a resource of the group member device meets a subscription condition set by a subscription device, and wherein each of the notification messages comprise an address of the subscription device;
an aggregating module, configured to select a plurality of the notification messages that each carries a same forwarding identifier, wherein the forwarding identifier is used to instruct the group server to aggregate notification messages sent by group member devices;
the aggregating module, further configured to aggregate the selected messages into one or more single notification messages according to the address of the subscription device in the selected messages; and a first sending module, configured to send each of the single notification messages to the address of the subscription device associated with the single notification message.
13. The group server according to claim 12, wherein the aggregating module is specifically configured to aggregate, according to the forwarding identifier of the selected messages and according to the address of the subscription device carried in the selected messages.
14. The group server according to claim 12, wherein the aggregating module is specifically configured to aggregate, according to recipient addresses of the selected messages and according to the address of the subscription device carried in the selected messages, wherein each of the recipient addresses of the notification messages is an address of a subresource of the group server for aggregating notification messages.
15. The group server according to claim 12, wherein the aggregating module is specifically configured to aggregate, according to recipient addresses of the selected messages and according to the address of the subscription device stored in a subresource of the group server.
16. The group server according to claim 15, wherein the first receiving module is further configured to receive an address change request message sent by the subscription device, and the request message carries a changed address of the subscription device, and update the address of the subscription device stored in the subresource to the changed address.
CA2869505A 2012-05-14 2012-05-14 Method and system for group communication, group server, and group member device Active CA2869505C (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2012/075427 WO2013170410A1 (en) 2012-05-14 2012-05-14 Group communication method and system, group server and group member device

Publications (2)

Publication Number Publication Date
CA2869505A1 CA2869505A1 (en) 2013-11-21
CA2869505C true CA2869505C (en) 2020-09-29

Family

ID=49582959

Family Applications (1)

Application Number Title Priority Date Filing Date
CA2869505A Active CA2869505C (en) 2012-05-14 2012-05-14 Method and system for group communication, group server, and group member device

Country Status (9)

Country Link
US (4) US9924409B2 (en)
EP (3) EP3429242B1 (en)
JP (1) JP6014922B2 (en)
KR (1) KR101599179B1 (en)
CN (2) CN103518350A (en)
AU (1) AU2012380279C1 (en)
CA (1) CA2869505C (en)
ES (2) ES2679794T3 (en)
WO (1) WO2013170410A1 (en)

Families Citing this family (47)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101958902B1 (en) * 2011-09-30 2019-07-03 삼성전자주식회사 Method for group controlling of electronic devices and electronic device management system therefor
CA2869505C (en) 2012-05-14 2020-09-29 Huawei Technologies Co., Ltd. Method and system for group communication, group server, and group member device
WO2013170314A1 (en) 2012-05-18 2013-11-21 Clinical Genomics Pty. Ltd. A method of screening for colorectal cancer
KR101432128B1 (en) * 2013-01-29 2014-08-21 주식회사 케이티 M2M platform for converting resources into abstracted device object on M2M network
WO2014193950A1 (en) * 2013-05-28 2014-12-04 Convida Wireless, Llc Data aggregation
CN104918221B (en) * 2014-03-14 2019-03-15 中兴通讯股份有限公司 Registration, cancellation, standby processing method and the system of terminal peripheral hardware
CN105100002B (en) * 2014-05-05 2019-05-07 中兴通讯股份有限公司 The operating method and device of attribute
CN105101412A (en) * 2014-05-21 2015-11-25 中兴通讯股份有限公司 Notification message sending method and device
US10349248B2 (en) 2014-06-02 2019-07-09 Telefonaktiebolaget Lm Ericsson (Publ) Merging proxy
CN105323186B (en) * 2014-06-20 2020-04-21 中兴通讯股份有限公司 Notification message load control method and device
CN105263163B (en) * 2014-07-18 2019-01-15 中兴通讯股份有限公司 A kind of sending method of notification message, device and system
CN105282118B (en) * 2014-07-21 2019-01-29 中兴通讯股份有限公司 Control resource Notification of Changes message method and device
CN105406953B (en) * 2014-09-15 2019-09-06 青岛海尔智能家电科技有限公司 A kind of method and device polymerizeing notification message
US10194417B2 (en) 2014-10-28 2019-01-29 Lg Electronics Inc. Method for processing notification message in wireless communication system and apparatus therefor
CN105681210A (en) * 2014-11-14 2016-06-15 中兴通讯股份有限公司 Group resource updating processing method, device and system as well as CSE (Common Service Entity)
CN107005571B (en) * 2014-11-14 2020-08-18 康维达无线有限责任公司 Authority-based resource and service discovery
EP3235268B1 (en) * 2014-12-19 2020-02-26 Telefonaktiebolaget LM Ericsson (publ) Method, network node and terminal device in a communication network
CN104954998A (en) * 2015-04-28 2015-09-30 北京海尔广科数字技术有限公司 Group member information updating method and device
KR102059257B1 (en) * 2015-05-20 2019-12-24 콘비다 와이어리스, 엘엘씨 Methods and apparatuses for analyzing and grouping service layer subscriptions and notifications for enhanced efficiency
CN104955153B (en) * 2015-05-29 2022-03-11 青岛海尔智能家电科技有限公司 Method, device and equipment for discovering resources
CN106331041A (en) * 2015-07-01 2017-01-11 中兴通讯股份有限公司 Method and apparatus for refreshing notice
CN105119806B (en) 2015-07-15 2016-11-30 腾讯科技(深圳)有限公司 message updating method and device
US10701009B1 (en) * 2015-08-10 2020-06-30 Amazon Technologies, Inc. Message exchange filtering
CN106790323B (en) * 2015-11-19 2020-02-14 华为软件技术有限公司 Resource discovery method and device
US10630835B2 (en) 2016-03-08 2020-04-21 T-Mobile Usa, Inc. Content sharing between related devices
CN107294739A (en) * 2016-03-31 2017-10-24 展讯通信(上海)有限公司 The network equipment, terminal, group membership's point-to-point communication and the method for obtaining its information
US10642844B2 (en) 2016-04-01 2020-05-05 Arista Networks, Inc. Non-materialized tables with standing queries
US10284673B2 (en) * 2016-04-01 2019-05-07 Arista Networks, Inc. Interface for a client of a network device
US10817512B2 (en) 2016-04-01 2020-10-27 Arista Networks, Inc. Standing queries in memory
US10860568B2 (en) 2016-04-01 2020-12-08 Arista Networks, Inc. External data source linking to queries in memory
US10783144B2 (en) 2016-04-01 2020-09-22 Arista Networks, Inc. Use of null rows to indicate the end of a one-shot query in network switch
US10783147B2 (en) 2016-04-01 2020-09-22 Arista Networks, Inc. Query result flow control in a network switch
US9998810B2 (en) * 2016-05-30 2018-06-12 Jamstack Inc. Portable speaker system for electric string instruments
US10356745B2 (en) * 2016-06-08 2019-07-16 T-Mobile Usa, Inc. Device and/or line event awareness and smart synchronization
US10701310B2 (en) 2017-06-23 2020-06-30 T-Mobile Usa, Inc. Video call continuity between devices via a telecommunications network
CN107426700B (en) * 2017-07-31 2020-12-18 海能达通信股份有限公司 Location subscription method and related device
US11416563B1 (en) 2017-10-20 2022-08-16 Amazon Technologies, Inc. Query language for selecting and addressing resources
CN109756525B (en) * 2017-11-01 2022-08-26 钉钉控股(开曼)有限公司 Information subscription method and device
JP6748054B2 (en) * 2017-11-10 2020-08-26 ファナック株式会社 Control system
KR102434673B1 (en) * 2018-12-13 2022-08-22 광동 오포 모바일 텔레커뮤니케이션즈 코포레이션 리미티드 Subscription message processing method, device, computer device and storage medium
EP3968668A4 (en) * 2019-05-29 2022-05-11 Guangdong Oppo Mobile Telecommunications Corp., Ltd. Resource subscription method, device and server, and computer storage medium
CN112449312B (en) * 2019-08-30 2022-02-18 普天信息技术有限公司 Method and device for acquiring multimedia mass-sending service group members in broadband cluster system
CN112887162B (en) * 2019-11-29 2022-03-29 北京百度网讯科技有限公司 Method and apparatus for detecting anomalies
US11310373B1 (en) * 2021-02-19 2022-04-19 Toshiba Tec Kabushiki Kaisha System and method for monitoring, recommending, updating and supplying multifunction peripheral fleets
CN113612812A (en) * 2021-06-21 2021-11-05 重庆金美通信有限责任公司 Realization of distributed group server and data synchronization method thereof
CN113905002A (en) * 2021-09-30 2022-01-07 北京字跳网络技术有限公司 Message pushing method, device, system and storage medium
WO2024026838A1 (en) * 2022-08-05 2024-02-08 Oppo广东移动通信有限公司 Communication method, apparatus and device, and storage medium, chip, product and program

Family Cites Families (26)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2003094534A2 (en) * 2002-05-06 2003-11-13 Telefonaktiebolaget Lm Ericsson (Publ) Multi-user multimedia messaging services
US20030217142A1 (en) * 2002-05-15 2003-11-20 Microsoft Corporation Method and system for supporting the communication of presence information regarding one or more telephony devices
US20050228895A1 (en) * 2004-03-30 2005-10-13 Rajesh Karunamurthy Method, Web service gateway (WSG) for presence, and presence server for presence information filtering and retrieval
KR100627328B1 (en) * 2004-05-12 2006-09-25 전자부품연구원 Energy Efficient Data Aggregation Method in Wireless Sensor Networks
US7634564B2 (en) * 2004-11-18 2009-12-15 Nokia Corporation Systems and methods for invoking a service from a plurality of event servers in a network
KR100713590B1 (en) * 2005-02-04 2007-05-02 삼성전자주식회사 Method for disseminating data by minimum energy in wireless sensor network
CN101167097A (en) * 2005-04-29 2008-04-23 Ut斯达康通讯有限公司 A method of flexible setting the charging mode in IMS system
US20060274701A1 (en) * 2005-06-03 2006-12-07 Telefonaktiebolaget Lm Ericsson (Publ) Means and method for notification
EP1908262A2 (en) 2005-06-23 2008-04-09 XDS, Inc. Methods and apparatus for network address change for mobile devices
US20070179730A1 (en) * 2006-02-02 2007-08-02 Christof Bornhoevd Preprocessing data on sensor device
US20070211682A1 (en) * 2006-03-09 2007-09-13 Nec Laboratories America, Inc. On Packet Aggregation and Header Compression Mechanisms for Improving VoIP Quality in Mesh Networks
US7864716B1 (en) * 2007-02-15 2011-01-04 Nextel Communications Inc. Talk group management architecture
US9055116B2 (en) * 2007-02-28 2015-06-09 Sony Corporation Presence system, communication terminal, server and computer program product therefor
US8156219B2 (en) * 2007-08-03 2012-04-10 At&T Intellectual Property I, L.P. System and method of health monitoring and fault monitoring in a network system
CN101668031B (en) * 2008-09-02 2013-10-16 阿里巴巴集团控股有限公司 Message processing method and message processing system
CN101677327B (en) * 2008-09-16 2013-11-06 华为技术有限公司 Method, system and device of subscribing position-related information
US20100099389A1 (en) * 2008-10-22 2010-04-22 Telefonaktiebolaget Lm Ericsson (Publ) Methods, Presence Server, User Equipment (UE), and Presence Message for User Identity Update
CN101742477B (en) * 2008-11-24 2012-10-31 中国移动通信集团公司 Information processing system, equipment and method
CN101854338B (en) * 2009-03-31 2014-02-26 国际商业机器公司 Subscriber equipment, subscription management method thereof, and real-time communication method and system
US8180765B2 (en) * 2009-06-15 2012-05-15 Telefonaktiebolaget L M Ericsson (Publ) Device and method for selecting at least one media for recommendation to a user
CN102014144A (en) * 2009-09-04 2011-04-13 华为技术有限公司 Method and device for submitting terminal data
KR101439825B1 (en) 2009-11-03 2014-09-12 알까뗄 루슨트 Method and Device for Aggregating a Plurality of Service Data from Machine Terminal equipment
CN102056140B (en) 2009-11-06 2013-08-07 中兴通讯股份有限公司 Method and system for acquiring machine type communication terminal information
US8750145B2 (en) * 2009-11-23 2014-06-10 Interdigital Patent Holdings, Inc. Method and apparatus for machine-to-machine communication registration
CA2869505C (en) * 2012-05-14 2020-09-29 Huawei Technologies Co., Ltd. Method and system for group communication, group server, and group member device
CN103716822A (en) * 2012-10-09 2014-04-09 中兴通讯股份有限公司 Monitoring method and apparatus

Also Published As

Publication number Publication date
US20150009818A1 (en) 2015-01-08
CN106714082B (en) 2022-12-27
US10638362B2 (en) 2020-04-28
EP3429242A1 (en) 2019-01-16
US11805441B2 (en) 2023-10-31
AU2012380279A1 (en) 2014-10-30
US20180199234A1 (en) 2018-07-12
US11071013B2 (en) 2021-07-20
US20210329493A1 (en) 2021-10-21
WO2013170410A1 (en) 2013-11-21
AU2012380279C1 (en) 2016-11-03
EP2822302A4 (en) 2015-02-18
KR20140138973A (en) 2014-12-04
EP2822302A1 (en) 2015-01-07
CN106714082A (en) 2017-05-24
KR101599179B1 (en) 2016-03-02
JP2015523769A (en) 2015-08-13
EP2822302B1 (en) 2016-07-13
ES2594009T3 (en) 2016-12-15
EP3094116B1 (en) 2018-04-18
CN103518350A (en) 2014-01-15
ES2679794T3 (en) 2018-08-31
US9924409B2 (en) 2018-03-20
JP6014922B2 (en) 2016-10-26
US20200229033A1 (en) 2020-07-16
CA2869505A1 (en) 2013-11-21
EP3429242B1 (en) 2021-03-31
EP3094116A1 (en) 2016-11-16
AU2012380279B2 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
US11805441B2 (en) Method and system for group communication, group server, and group member device
KR102415845B1 (en) Internet of Things Resource Subscription Methods, Devices, and Systems
US10638496B2 (en) Method and apparatus for group management during machine-to-machine communication
EP2908497B1 (en) Method, device and system for remote management of terminal peripheral
US20180176745A1 (en) M2m group and notification resource creation and information exchange methods therefor, and storage medium
JP6621075B2 (en) Resource acquisition method and apparatus
US20180288184A1 (en) Group Resource Updating Processing Methods, Devices and System, and CSEs
KR102394486B1 (en) Method of determining how to provide information to a plurality of devices based on the temporal requirements for the information, and apparatus for said method

Legal Events

Date Code Title Description
EEER Examination request

Effective date: 20141003