WO2011143947A1 - M2m终端基于群组实现应用的方法和系统 - Google Patents
M2m终端基于群组实现应用的方法和系统 Download PDFInfo
- Publication number
- WO2011143947A1 WO2011143947A1 PCT/CN2011/070605 CN2011070605W WO2011143947A1 WO 2011143947 A1 WO2011143947 A1 WO 2011143947A1 CN 2011070605 W CN2011070605 W CN 2011070605W WO 2011143947 A1 WO2011143947 A1 WO 2011143947A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- platform
- group
- terminal
- application
- module
- Prior art date
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/06—Selective distribution of broadcast services, e.g. multimedia broadcast multicast service [MBMS]; Services to user groups; One-way selective calling services
- H04W4/08—User group management
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W4/00—Services specially adapted for wireless communication networks; Facilities therefor
- H04W4/70—Services for machine-to-machine communication [M2M] or machine type communication [MTC]
Definitions
- the present invention relates to M2M (Machine-to-Machine/Man) technology, and in particular to a method and system for implementing an application based on a group by an M2M terminal.
- M2M Machine-to-Machine/Man
- M2M is a networked application and service centered on intelligent interaction of machine terminals. By embedding a wireless communication module inside the machine and using wireless communication as an access means, it provides customers with a comprehensive information solution to meet customers' information needs for monitoring, command and dispatch, data collection and measurement.
- M2M terminals will continue to increase.
- the application platform launches an application to the M2M terminal in the M2M platform
- a large number of communication messages are transmitted between the application platform and the M2M platform for the relatively independent M2M terminal, and the application platform or the M2M platform is processed by processing a large number of communication messages.
- the main object of the present invention is to provide a method and system for implementing an application based on a group by an M2M terminal, thereby improving processing efficiency for an application.
- An M2M terminal is configured to implement an application based on a group, and a group including a group terminal is set in the M2M platform and the application platform, and a correspondence relationship exists between the M2M platform and the group in the application platform;
- the application platform and the terminal of the M2M platform perform message interaction in units of groups.
- the groups set in the M2M platform and the application platform are formed by newly creating groups and joining group terminals.
- the process of creating a new group on the M2M platform includes:
- the process of joining a group terminal on the M2M platform includes:
- the M2M platform determines the group to which the group terminal to join belongs, and joins the group terminal operation for the group terminal to join, and then synchronizes the operation result to the application platform.
- the joining process includes: after the terminal successfully registers with the M2M platform, the terminal adds the terminal to the corresponding dynamic group according to the application to which the terminal belongs and the rules established by the M2M platform.
- the process of creating a new group on the application platform includes:
- the application platform initiates an audit request to the M2M platform. After the audit is passed, the M2M platform creates a new group according to the request of the application platform, and allows the application platform to create a new group.
- the process of joining the group terminal on the application platform includes :
- the application platform initiates an audit request to the M2M platform, and the M2M platform joins the group terminal according to the request of the application platform after the audit is passed, and allows the application platform to join the group terminal.
- the process of the message exchange between the application platform and the terminal of the M2M platform in units of groups includes:
- the application platform sends an application message request to the M2M platform, and the M2M platform sends an application message to the terminal in the group corresponding to the request, and sends the application processing result fed back by the terminal to the application platform.
- a system for implementing an application based on a group of an M2M terminal comprising an M2M terminal screening module, an M2M platform group module, a synchronization module, and an application platform group module; It is set in both the M2M platform and the application platform;
- the M2M platform group module is configured to maintain a group of the group terminal of the M2M platform;
- the application platform group module is configured to maintain a group of the group terminal of the application platform; Synchronizing the groups of the M2M platform and the application platform in the maintenance process;
- the M2M terminal screening module is configured to perform message interaction between the application platform and the terminal of the M2M platform in units of groups according to the correspondence between the M2M platform and the group in the application platform generated by the synchronization module during synchronization.
- the maintenance functions of the M2M platform group module and the application platform group module are implemented by creating a group and joining a group terminal.
- the M2M platform group module is configured to divide different groups for different terminals and perform a new group operation
- the synchronization module is configured to synchronize the new group operation result of the M2M platform group module to the application platform;
- the M2M platform group module is configured to determine a group to which the group terminal to be joined belongs, and perform a group terminal operation for the group terminal to be joined;
- the synchronization module is configured to synchronize the operation result of joining the group terminal of the M2M platform group module to the application platform.
- the M2M platform group module is configured to: after the terminal successfully registers with the M2M platform, add the terminal to the corresponding dynamic group according to the application to which the terminal belongs and the rule established by the M2M platform. in.
- the application platform group module is configured to initiate an audit to the M2M platform for the group to be newly created. Request, and create a new group after the M2M platform is approved;
- the application platform group module is configured to initiate an audit request to the M2M platform for the group terminal to be joined, and join the group terminal after the M2M platform passes the audit.
- the application platform and the terminal of the M2M platform perform message interaction in units of groups,
- the application platform group module is configured to send an application message request to the M2M platform group module
- the M2M platform group module is configured to request, from the application message, a group module in a corresponding group.
- the present invention uses a packet screening method, so that the application platform only needs to send a message carrying the group id to the M2M platform, and the M2M platform can forward the received message to the corresponding terminal according to the group id correspondence.
- This ensures that a large number of communication messages are not transmitted between the application platform and the M2M platform for relatively independent M2M terminals, but a relatively small number of communication messages are transmitted under the premise of group division, thereby effectively improving the application platform and the M2M platform. Processing efficiency of applications and other operations.
- the dynamic group and the static group provided by the M2M platform realize the flexible management of the group by the M2M platform; and the application platform can actively supplement the group, and the application platform is more flexible to use the group to implement the application. . DRAWINGS
- FIG. 1 is a system diagram of an M2M terminal implementing an application based on a group according to an embodiment of the present invention
- FIG. 2 is a flowchart of a M2M platform change group according to an embodiment of the present invention
- FIG. 3 is a flowchart of an M2M platform change group terminal according to an embodiment of the present invention.
- FIG. 4 is a flowchart of adding a dynamic group terminal to an M2M platform according to an embodiment of the present invention
- FIG. 5 is a flowchart of an application platform change group according to an embodiment of the present invention
- FIG. 6 is a flowchart of an application platform change group terminal according to an embodiment of the present invention
- FIG. 7 is a flowchart of an M2M terminal implementing an application based on a group according to an embodiment of the present invention
- FIG. 8 is a group implementation of an M2M terminal according to the present invention
- a static group is a group that can be maintained on the interface.
- the terminal of the group needs manual maintenance.
- the terminal included in the group can also be automatically generated according to the conditions.
- a dynamic group refers to a group that is pre-generated by the system according to certain rules. The terminals of the group are automatically added to the group according to certain rules, and are usually dynamically changed.
- FIG. 1 is a system diagram of an M2M terminal implementing an application based on a group according to an embodiment of the present invention, where the system includes a connected M2M terminal screening module, an M2M platform group module, a synchronization module, and an application platform group module;
- the M2M terminal screening module and the M2M platform group module are set in the M2M platform, the synchronization module is set in the M2M platform and the application platform, and the application platform group module is set in the application platform.
- the M2M terminal screening module is mainly used to add the successfully registered terminal to the dynamic group of the M2M platform according to the screening condition; and filter the message in the group according to the message that the application platform sends to the M2M platform carrying the group.
- the terminal that needs to forward the message is mainly used to add the successfully registered terminal to the dynamic group of the M2M platform according to the screening condition; and filter the message in the group according to the message that the application platform sends to the M2M platform carrying the group. The terminal that needs to forward the message.
- the M2M platform group module mainly maintains groups in the M2M platform and terminals in the group, such as: group changes, group terminal changes, and the like.
- the synchronization module is mainly used to synchronize the groups of the M2M platform and the application platform.
- the application platform group module is mainly used to maintain groups of application platforms, such as: group changes, group terminal changes, and the like.
- M2M platform new group In practical applications, the main ideas for implementing an application based on a group of M2M terminals include the following M2M platform new group:
- the administrator adds a static group on the interface of the M2M platform, and the other is that the M2M platform generates a dynamic group according to certain rules. Then, the M2M platform initiates the application to the application platform. The group message request is changed to synchronize the group of the application platform with the M2M platform.
- the new static group also supports two methods: one is that the administrator directly adds the group name (the group does not need to select the condition), and the other is when the administrator adds the group. This group sets certain rule conditions.
- the administrator can add a group terminal to the interface of the M2M platform.
- the system can automatically add the terminal that satisfies the condition to the group according to the conditions set by the group after the group terminal is successfully registered; After the success, the M2M platform can initiate a request for the new group terminal to the application platform.
- the M2M platform adds the terminal to the corresponding dynamic group according to a certain rule, and then synchronizes the change of the dynamic group terminal to Application platform.
- M2M platform change group and group terminal All of the above are the case of M2M platform change group and group terminal. Next, the application platform change group and group terminal will be described. Since the M2M platform already has the function of dynamic group, it has already realized synchronization to the application platform.
- the application platform For the group created by itself, the application platform only supports static groups, and the newly created group of the application platform needs to be approved by the M2M platform to take effect.
- the application platform administrator needs to add it manually;
- the group of conditions when the M2M platform synchronizes the group terminal, the application platform determines whether the group terminal satisfies the condition, and adds the group terminal to the group when the condition is met.
- the group terminal newly created by the application platform needs to be approved by the M2M platform to take effect.
- the correspondence relationship may be represented by the group correspondence table.
- the table includes three dimensions: Application id, M2M Platform group id, application platform group id.
- the application platform group module can send an application message request to the M2M platform group module during the message interaction between the application platform and the terminal of the M2M platform in the group unit; the M2M platform group module can send the application message to the application message.
- the terminal in the group corresponding to the request initiates an application message, and sends the application processing result fed back by the terminal to the application platform group module.
- FIG. 2 is a flowchart of a M2M platform change group according to an embodiment of the present invention, where the process includes the following steps:
- Step 201 The M2M platform determines an application to which the terminal belongs.
- Step 202 The M2M platform divides different groups according to different application types and performs change group operations.
- the specific change group operation may involve adding, modifying, or deleting groups.
- Step 203 The M2M platform sends a change group message request to the application platform.
- Step 204 The application platform performs a corresponding change group operation according to the change group message request from the M2M platform.
- Step 205 The application platform returns a change group message request response message to the M2M platform, where the message includes the group id of the application platform.
- Step 206 The M2M platform saves itself and the group id of the application platform.
- the operation described in FIG. 2 relates to operations performed by the M2M platform group module on a static group, including adding, modifying, or deleting, and the like, and may be applied to the application by the synchronization module in the M2M platform. Static group after the station is synchronized.
- the M2M platform may send a change group message request to the application platform, and the operation type carried in the message request is a newly added operation code, and the carried group id is the M2M platform.
- Group id The application platform requests a newly added group according to the received message, and returns a change group message request response message to the M2M platform after the success, and the group id carried in the response message is the new group id of the application platform.
- the M2M platform can write the group id of the new one and the group id of the corresponding application platform into the group correspondence table according to the response message from the application platform.
- the M2M platform and the application platform may modify the corresponding group id correspondence in the group correspondence table; if the change operation is to modify the group, the M2M platform may not be in the group correspondence table.
- the group id correspondence operation is performed; if the change operation is to delete the group, the M2M platform and the application platform need to delete the corresponding group id correspondence in the group correspondence table.
- FIG. 3 is a flowchart of a group change terminal of an M2M platform according to an embodiment of the present invention, where the process includes the following steps:
- Step 301 The M2M platform determines to change the group terminal.
- Step 302 The M2M platform determines an application to which the group terminal to be changed belongs.
- Step 303 The M2M platform determines, according to the application to which the group terminal to be changed belongs, the group to which the terminal belongs, and performs corresponding operations such as adding, modifying, or deleting for the group terminal to be changed.
- Step 304 The M2M platform searches for the group id correspondence of the changed group terminal, and obtains the application platform group id corresponding to the changed group terminal.
- Step 305 The M2M platform sends a change group terminal message request to the application platform, where the message request includes the obtained application platform group id.
- Step 306 The application platform performs a corresponding change group terminal operation according to the change group terminal message request from the M2M platform.
- Step 307 The application platform returns a change group terminal message request response message to the M2M platform.
- the operations described in FIG. 3 relate to operations performed by the M2M platform group module on the group terminal, including adding, modifying, or deleting.
- the M2M platform group module may initiate a change group terminal message request to the application platform, where the group id carried in the message request is the M2M platform in the group relationship correspondence table.
- FIG. 4 is a flowchart of adding a dynamic group terminal to an M2M platform according to an embodiment of the present invention, where the process includes the following steps:
- Step 401 The M2M terminal registers with the M2M platform.
- Step 402 Determine whether the M2M terminal is successfully registered. If the registration is successful, proceed to step 403; otherwise, the process ends.
- Step 403 Determine the application to which the M2M terminal belongs, such as the subscription relationship.
- Step 404 Add the M2M terminal to the corresponding dynamic group according to the rules established by the M2M platform.
- Step 405 Synchronize the changes of the dynamic group terminal to the application platform.
- the M2M terminal screening module in the M2M platform can add the registered terminal to the corresponding dynamic group according to certain rules, and the synchronization module of the M2M platform can synchronize the group terminal to the application platform.
- FIG. 5 is a flowchart of an application platform change group according to an embodiment of the present invention, where the process includes the following steps:
- Step 501 The application platform determines that the group is to be changed.
- Step 502 The application platform sends a change group message request to the M2M platform.
- Step 503 The M2M platform reviews the request of the application platform change group.
- Step 504 After the review is passed, the M2M platform changes the group according to the request of the application platform.
- Step 505 The M2M platform returns a change group message request response message to the application platform. After receiving the message, the application platform determines that the request to change the group has been approved and changes the group.
- the change group message request sent by the application platform to the M2M platform carries the application platform group id and the operation code. If the change operation is to add a group, the M2M platform group module adds a group on the M2M platform, and after the newly added group succeeds, the new group id and the corresponding application platform group id are added.
- FIG. 6 is a flowchart of an application platform change group terminal according to an embodiment of the present invention, where the process includes the following steps:
- Step 601 The application platform determines that the group terminal is to be changed.
- Step 602 The application platform sends a change group terminal message request to the M2M platform, where the message request carries the application platform group id.
- Step 603 The M2M platform searches for the M2M platform group id corresponding to the received application platform group id according to the group id correspondence, and determines the group to be changed according to the M2M platform group id.
- Step 604 The M2M platform audits the request of the application platform to change the group terminal.
- Step 605 After the audit is passed, the M2M platform changes the group terminal according to the request of the application platform.
- the change group terminal message request sent by the application platform to the M2M platform carries the application platform group id, and the operation code and the corresponding terminal information.
- the group-based application is initiated by the application platform for the group terminal in the M2M platform, and the specific operation process is as shown in FIG. 7.
- FIG. 7 is a flow chart of implementing an application based on a group by an M2M terminal according to an embodiment of the present invention, where the process includes the following steps:
- Step 701 The application platform sends an application message request to the M2M platform, where the request carries the application platform group id.
- Step 702 The M2M platform searches for the group in the M2M platform corresponding to the received application platform group id according to the group id correspondence.
- Step 703 The M2M platform initiates an application message to the terminal in the found group.
- Step 704 The M2M terminal in the M2M platform receives the application message from the M2M platform, and performs corresponding processing.
- Step 705 The M2M terminal sends an application message response to the M2M platform, and feeds back the application processing result, for example, the system data reported according to the requirements of the application platform.
- Step 706 The M2M platform sends the received application message response to the application platform, and feeds back the application processing result of the M2M terminal.
- FIG. 8 The operation of the M2M terminal based on the group implementation application of the present invention can be represented as shown in FIG. 8.
- the process shown in FIG. 8 includes the following steps:
- Step 810 The M2M platform creates a new group and joins the group terminal.
- Step 820 The application platform creates a new group and joins the group terminal.
- Step 830 The application platform and the terminal of the M2M platform perform message interaction in units of groups. It should be noted that, in the group maintenance operation, the M2M platform and the application platform may have a corresponding relationship between the M2M platform and the group in the application platform due to the process such as group synchronization; therefore, step 830 may be implemented based on the corresponding relationship. .
- the present invention uses a packet screening method, so that the application platform only needs to send a message carrying the group id to the M2M platform, and the M2M platform can forward the received message to the corresponding group according to the group id correspondence. Terminal.
- This ensures that a large number of communication messages are not transmitted between the application platform and the M2M platform for relatively independent M2M terminals, but a relatively small number of communication messages are transmitted under the premise of group division, thereby effectively improving the application platform and the M2M platform. Processing efficiency of applications and other operations.
- the dynamic group and the static group provided by the M2M platform realize the flexible management of the group by the M2M platform; and the application platform can actively supplement the group, and the application platform is more flexible to use the group to implement the application. .
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Mobile Radio Communication Systems (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明公开了一种M2M终端基于群组实现应用的方法和系统,在M2M平台和应用平台中均设置了包含群组终端的群组,M2M平台和应用平台中的群组存在对应关系;基于所述对应关系,应用平台与M2M平台的终端以群组为单位进行消息交互。本发明方法和系统,可以保证应用平台和M2M平台之间不会针对相对独立的M2M终端传输大量的通信消息,而是在划分群组的前提下传输相对少量的通信消息,因此可以有效提高应用平台与M2M平台针对应用等操作的处理效率。并且,M2M平台所提供的动态群组和静态群组的方式,实现了M2M平台对群组的灵活管理;再加上应用平台可以主动补充群组,也便于应用平台更加灵活使用群组实现应用。
Description
M2M终端基于群组实现应用的方法和系统 技术领域
本发明涉及 M2M ( Machine-to-Machine/Man )技术, 具体涉及 M2M终 端基于群组实现应用的方法和系统。 背景技术
M2M是一种以机器终端智能交互为核心的、 网络化的应用与服务。 它 通过在机器内部嵌入无线通信模块, 以无线通信等为接入手段, 为客户提 供综合的信息化解决方案, 以满足客户对监控、 指挥调度、 数据釆集和测 量等方面的信息化需求。
随着 M2M的发展, M2M终端会不断增多。 这样, 当应用平台向 M2M 平台中的 M2M终端发起应用时, 应用平台和 M2M平台之间会针对相对独 立的 M2M终端传输大量的通信消息, 无论应用平台还是 M2M平台都会因 处理大量通信消息而被占用过多系统资源, 因而导致针对应用的处理效率 降低。 发明内容
有鉴于此,本发明的主要目的在于提供一种 M2M终端基于群组实现应 用的方法和系统, 提高针对应用的处理效率。
为达到上述目的, 本发明的技术方案是这样实现的:
一种 M2M终端基于群组实现应用的方法,在 M2M平台和应用平台中 均设置了包含群组终端的群组,并且 M2M平台和应用平台中的群组存在对 应关系; 基于所述对应关系,应用平台与 M2M平台的终端以群组为单位进 行消息交互。
M2M平台和应用平台中所设置的群组 , 是通过新建群组以及加入群组 终端的方式形成的。
在 M2M平台新建群组的过程包括:
在 M2M平台为不同终端划分不同群组, 并进行新建群组操作,再将操 作结果同步到应用平台;
在 M2M平台加入群组终端的过程包括:
在 M2M平台为要加入的群组终端确定所属的群组,并针对要加入的群 组终端进行加入群组终端操作, 再将操作结果同步到应用平台。
在 M2M平台加入的群组终端是动态群组终端时, 所述加入过程包括: 终端在 M2M平台注册成功后,根据终端所属的应用以及 M2M平台所 建立的规则将终端加入相应动态群组中。
在应用平台新建群组的过程包括:
针对要新建的群组, 由应用平台向 M2M平台发起审核请求, M2M平 台在审核通过后根据应用平台的请求新建群组, 并允许应用平台新建群组; 在应用平台加入群组终端的过程包括:
针对要加入的群组终端,由应用平台向 M2M平台发起审核请求 , M2M 平台在审核通过后根据应用平台的请求加入群组终端, 并允许应用平台加 入群组终端。
所述应用平台与 M2M 平台的终端以群组为单位进行消息交互的过程 包括:
应用平台向 M2M平台发送应用消息请求, M2M平台向该请求所对应 的群组中的终端发起应用消息, 并将终端所反馈的应用处理结果发送给应 用平台。
一种 M2M终端基于群组实现应用的系统 , 该系统包括 M2M终端筛选 模块、 M2M平台群组模块、 同步模块、 应用平台群组模块; 所述同步模块
在 M2M平台和应用平台中均有设置; 其中,
所述 M2M平台群组模块,用于维护 M2M平台的包含群组终端的群组; 所述应用平台群组模块, 用于维护应用平台的包含群组终端的群组; 所述同步模块,用于在所述维护过程中将 M2M平台和应用平台的群组 进行同步;
所述 M2M 终端筛选模块, 用于根据所述同步模块在同步时所产生的 M2M平台和应用平台中的群组的对应关系, 实现应用平台与 M2M平台的 终端以群组为单位进行消息交互。
所述 M2M平台群组模块和应用平台群组模块的维护功能,是通过新建 群组以及加入群组终端的方式实现的。
在 M2M平台中新建群组的过程中,
所述 M2M平台群组模块,用于为不同终端划分不同群组, 并进行新建 群组操作;
所述同步模块,用于将 M2M平台群组模块的新建群组操作结果同步到 应用平台;
在 M2M平台中加入群组终端的过程中,
所述 M2M平台群组模块, 用于为要加入的群组终端确定所属的群组, 并针对要加入的群组终端进行加入群组终端操作;
所述同步模块,用于将 M2M平台群组模块的加入群组终端操作结果同 步到应用平台。
加入的群组终端是动态群组终端时, 所述 M2M平台群组模块用于: 当终端在 M2M平台注册成功后,根据终端所属的应用以及 M2M平台 所建立的规则将终端加入相应动态群组中。
在应用平台中新建群组的过程中,
所述应用平台群组模块,用于针对要新建的群组向 M2M平台发起审核
请求, 并在 M2M平台审核通过后新建群组;
在应用平台中加入群组终端的过程中,
所述应用平台群组模块,用于针对要加入的群组终端向 M2M平台发起 审核请求, 并在 M2M平台审核通过后加入群组终端。
所述应用平台与 M2M 平台的终端以群组为单位进行消息交互的过程 中,
所述应用平台群组模块, 用于向 M2M 平台群组模块发送应用消息请 求;
所述 M2M平台群组模块,用于向所述应用消息请求所对应的群组中的 群组模块。
本发明釆用了分组筛选的方法,使应用平台只需要向 M2M平台发送携 带群组 id的消息, 并且 M2M平台可以根据群组 id对应关系将收到的消息 转发给相应的终端。这样可以保证应用平台和 M2M平台之间不会针对相对 独立的 M2M终端传输大量的通信消息,而是在划分群组的前提下传输相对 少量的通信消息,因此可以有效提高应用平台与 M2M平台针对应用等操作 的处理效率。 并且, M2M平台所提供的动态群组和静态群组的方式, 实现 了 M2M平台对群组的灵活管理; 再加上应用平台可以主动补充群组, 也便 于应用平台更加灵活使用群组实现应用。 附图说明
图 1为本发明一实施例的 M2M终端基于群组实现应用的系统图; 图 2为本发明一实施例的 M2M平台变更群组流程图;
图 3为本发明一实施例的 M2M平台变更群组终端流程图;
图 4为本发明一实施例的 M2M平台添加动态群组终端流程图; 图 5为本发明一实施例的应用平台变更群组流程图;
图 6为本发明一实施例的应用平台变更群组终端流程图; 图 7为本发明一实施例的 M2M终端基于群组实现应用的流程图; 图 8为本发明的 M2M终端基于群组实现应用的流程简图。 具体实施方式
本发明釆用了群组分组技术, 具体的群组分组涉及静态群组和动态群 组。 静态群组是指可以在界面上进行维护的群组, 该群组的终端需要人工 维护; 当然, 对于设定了群组条件的静态群组, 其中所包含的终端也可以 根据条件自动生成。 动态群组是指系统按照一定的规则预先生成的群组, 该群组的终端是根据一定的规则自动添加到群组中的, 并且通常是动态变 化的。
参见图 1 , 图 1为本发明一实施例的 M2M终端基于群组实现应用的系 统图, 该系统包括相连的 M2M终端筛选模块、 M2M平台群组模块、 同步 模块、 应用平台群组模块; 其中, M2M终端筛选模块和 M2M平台群组模 块设置于 M2M平台中, 同步模块在 M2M平台和应用平台中均有设置, 应 用平台群组模块设置于应用平台中。
具体而言, M2M终端筛选模块主要用于将注册成功的终端根据筛选的 条件添加到 M2M平台的动态群组中; 以及根据应用平台发送到 M2M平台 的携带群组的消息, 筛选出群组中需要转发所述消息的终端。
M2M平台群组模块主要对 M2M平台中的群组以及群组中的终端进行 维护, 如: 群组的变更、 群组终端的变更等。
同步模块主要用于将 M2M平台和应用平台的群组进行同步。
应用平台群组模块主要用于对应用平台的群组进行维护, 如: 群组的 变更、 群组终端的变更等。
在实际应用中, M2M 终端基于群组实现应用的主要思路包括以下内
M2M平台新建群组:
上述的新建群组有两种方式,一种是管理员在 M2M平台的界面上新增 静态群组, 另一种是 M2M平台根据一定的规则生成动态群组,之后, M2M 平台向应用平台发起变更群组消息请求,以实现应用平台与 M2M平台的群 组同步。 需要说明的是, 新增静态群组也支持两种方式: 一种是管理员直 接新增群组名称(该群组不需要选择条件), 另一种是管理员在新增群组时 为该群组设定一定的规则条件。
在群组中加入群组终端:
分为为静态群组添加群组终端以及为动态群组添加群组终端。 对于为 没有设定条件的静态群组添加群组终端的情况,管理员可以在 M2M平台的 界面上新增群组的终端。 对于为设定条件的静态群组添加群组终端的情况, 则可以在群组终端注册成功之后由系统自动根据该群组设定的条件, 将满 足条件的终端新增到群组中; 新增成功之后, M2M平台可以向应用平台发 起变新群组终端的请求。
另外, 针对为动态群组添加群组终端的情况, 可以在终端注册成功之 后, 由 M2M平台根据一定的规则将该终端添加到相应的动态群组中, 再将 动态群组终端的变更同步到应用平台。
以上描述的都是 M2M平台变更群组和群组终端的情况。接下来描述应 用平台变更群组和群组终端的情况。由于 M2M平台已经具有动态群组的功 能, 并已经实现了向应用平台同步。
应用平台新建群组:
针对由自身新建的群组而言, 应用平台只支持静态群组, 并且应用平 台新建的群组需要由 M2M平台审核通过才能生效。
应用平台新建群组终端:
对于没有设定条件的群组, 应用平台管理员需要手动添加; 对于设定
了条件的群组,在 M2M平台同步群组终端时,应用平台会判断该群组终端 是否满足条件, 并在满足条件时将所述群组终端添加到群组中。 并且应用 平台新建的群组终端需要由 M2M平台审核通过才能生效。
当群组和群组终端都已经存在的情况下, 就能够应用于具体的应用。 在具体应用中,需要维护 M2M平台中群组与应用平台中群组之间的群 组 id对应关系, 该对应关系可以由群组对应关系表体现, 该表包括三个维 度: 应用 id, M2M平台群组 id, 应用平台群组 id。 并且, 应用平台与 M2M 平台的终端以群组为单位进行消息交互的过程中, 应用平台群组模块能够 向 M2M平台群组模块发送应用消息请求; M2M平台群组模块则能够向所 述应用消息请求所对应的群组中的终端发起应用消息, 并将终端所反馈的 应用处理结果发送给应用平台群组模块。
M2M平台变更群组和群组终端的流程分别如图 2、 图 3、 图 4所示。 参见图 2, 图 2为本发明一实施例的 M2M平台变更群组流程图, 该流 程包括以下步骤:
步骤 201: M2M平台确定终端所属的应用。
步骤 202: M2M平台根据不同应用类型等划分不同的群组, 并进行变 更群组操作, 具体的变更群组操作可能涉及对群组的新增、 修改或删除。
步骤 203: M2M平台向应用平台发送变更群组消息请求。
步骤 204: 应用平台根据来自 M2M平台的变更群组消息请求, 进行相 应的变更群组操作。
步骤 205: 应用平台向 M2M平台返回变更群组消息请求应答消息, 该 消息中包含应用平台的群组 id。
步骤 206: M2M平台将自身和应用平台的群组 id对应保存。
图 2中所描述的操作,涉及 M2M平台群组模块对静态群组进行的操作, 包括新增、 修改或删除等; 并且, 可以由 M2M平台中的同步模块向应用平
台同步变更后的静态群组。
具体而言, 如果变更操作是新增群组, M2M平台可以向应用平台发送 变更群组消息请求, 该消息请求中携带的操作类型为新增的操作码, 携带 的群组 id为 M2M平台的群组 id。 应用平台根据接收到的消息请求新增群 组, 并在成功之后向 M2M平台返回变更群组消息请求应答消息, 该应答消 息中携带的群组 id为应用平台新曾的群组 id。 M2M平台可以根据来自应用 平台的应答消息将自身新曾的所述群组 id和对应的应用平台的群组 id写入 群组对应关系表中。
如果变更操作是新增群组, M2M平台和应用平台可以对群组对应关系 表中的相应群组 id对应关系进行修改; 如果变更操作是修改群组, M2M平 台可以不对群组对应关系表中的群组 id对应关系进行操作; 如果变更操作 是删除群组, M2M平台和应用平台则需要将群组对应关系表中的相应群组 id对应关系删除。
参见图 3 , 图 3为本发明一实施例的 M2M平台变更群组终端流程图, 该流程包括以下步骤:
步骤 301: M2M平台确定要变更群组终端。
步骤 302: M2M平台确定要变更的群组终端所属的应用。
步骤 303: M2M平台根据要变更的群组终端所属的应用, 判断终端所 属的群组, 并针对要变更的群组终端进行相应的新增、 修改或删除等操作。
步骤 304: M2M平台查找变更的群组终端的群组 id对应关系, 从中获 取变更的群组终端所对应的应用平台群组 id。
步骤 305: M2M平台向应用平台发送变更群组终端消息请求, 该消息 请求中包含获取到的应用平台群组 id。
步骤 306: 应用平台根据来自 M2M平台的变更群组终端消息请求, 进 行相应的变更群组终端操作。
步骤 307:应用平台向 M2M平台返回变更群组终端消息请求应答消息。 图 3中所描述的操作,涉及 M2M平台群组模块对群组终端进行的操作, 包括新增、 修改或删除等。
具体而言, M2M平台群组模块对群组终端进行完变更操作后, 可以向 应用平台发起变更群组终端消息请求,该消息请求中携带的群组 id是 M2M 平台在群组关系对应表中查找到的变更的群组对应的应用平台的群组 id。
参见图 4, 图 4为本发明一实施例的 M2M平台添加动态群组终端流程 图, 该流程包括以下步骤:
步骤 401 : M2M终端在 M2M平台注册。
步骤 402:判断 M2M终端是否注册成功,如果注册成功,进入步骤 403; 否则, 结束本流程。
步骤 403: 居订购关系等判断 M2M终端所属的应用。
步骤 404: 根据 M2M平台所建立的规则将 M2M终端加入相应动态群 组中。
步骤 405: 将动态群组终端的变更同步到应用平台。
本步骤的操作过程与步骤 304至 307的操作原理类似。
由图 4可见, M2M平台中的 M2M终端筛选模块可以根据一定的规则 将注册的终端添加到相应的动态群组中, M2M平台的同步模块则可以向应 用平台同步群组终端。
另一方面, 应用平台可以主动对静态群组进行变更操作, 包括新增、 修改或删除等; 对于静态群组而言, 应用平台只能对自身新建的群组进行 维护; 对于动态群组而言, 应用平台只能查看和使用, 不能维护。 再有, 应用平台可以对静态群组终端进行变更操作, 包括新增、 修改或删除等。 应用平台只能维护自身新增的群组终端。 上述的应用平台进行变更操作的 过程可以分别表示如图 5、 图 6所示。
参见图 5 , 图 5为本发明一实施例的应用平台变更群组流程图, 该流程 包括以下步骤:
步骤 501 : 应用平台确定要变更群组。
步骤 502: 应用平台向 M2M平台发送变更群组消息请求。
步骤 503: M2M平台对应用平台变更群组的请求进行审核。
步骤 504: 审核通过, M2M平台根据应用平台的请求变更群组。
步骤 505: M2M平台向应用平台返回变更群组消息请求应答消息。 应 用平台在收到该消息后确定变更群组的请求已审核通过, 进而变更群组。
图 5中,应用平台向 M2M平台发送的变更群组消息请求中携带有应用 平台群组 id以及操作码。 如果变更操作是新增群组, 则 M2M平台群组模 块在 M2M平台新增群组,并在新增群组成功之后将自身新曾的所述群组 id 和对应的应用平台的群组 id写入群组对应关系表中; 如果变更操作是修改 群组, M2M平台可以不对群组对应关系表中的群组 id对应关系进行操作; 如果变更操作是删除群组, M2M平台和应用平台则需要将群组对应关系表 中的相应群组 id对应关系删除。
参见图 6, 图 6为本发明一实施例的应用平台变更群组终端流程图, 该 流程包括以下步骤:
步骤 601 : 应用平台确定要变更群组终端。
步骤 602: 应用平台向 M2M平台发送变更群组终端消息请求, 该消息 请求中携带有应用平台群组 id。
步骤 603: M2M平台根据群组 id对应关系查找收到的应用平台群组 id 所对应的 M2M平台群组 id,根据该 M2M平台群组 id确定需要变更的群组。
步骤 604: M2M平台对应用平台变更群组终端的请求进行审核。
步骤 605: 审核通过, M2M平台根据应用平台的请求变更群组终端。 步骤 606: M2M平台向应用平台返回变更群组终端消息请求应答消息。
应用平台在收到该消息后确定变更群组终端的请求已审核通过, 进而变更 群组终端。
需要说明的是, 应用平台向 M2M 平台发送的变更群组终端消息请求 中, 携带有应用平台群组 id, 以及操作码和对应的终端信息。 以由应用平台针对 M2M平台中的群组终端发起基于群组的应用,具体的操 作过程如图 7所示。
参见图 7, 图 7为本发明一实施例的 M2M终端基于群组实现应用的流 程图, 该流程包括以下步骤:
步骤 701 : 应用平台向 M2M平台发送应用消息请求, 该请求中携带有 应用平台群组 id。
步骤 702: M2M平台根据群组 id对应关系, 查找收到的应用平台群组 id所对应的 M2M平台中的群组。
步骤 703: M2M平台向查找到的群组中的终端发起应用消息。
步骤 704: M2M平台中的 M2M终端接收来自 M2M平台的应用消息, 进行相应的处理。
步骤 705: M2M终端向 M2M平台发送应用消息响应, 反馈应用处理 结果, 如: 根据应用平台的要求所上报的系统数据。
步骤 706: M2M 平台将收到的应用消息响应发送给应用平台, 反馈 M2M终端的应用处理结果。
结合图 1中的系统所能实现的以上各流程可知,本发明的 M2M终端基 于群组实现应用的操作思路可以表示如图 8所示, 图 8所示流程包括以下 步骤:
步骤 810: M2M平台新建群组并加入群组终端。
步骤 820: 应用平台新建群组并加入群组终端。
步骤 830: 应用平台与 M2M平台的终端以群组为单位进行消息交互。 需要说明的是, M2M平台与应用平台会在新建等群组维护操作中, 因 群组同步等处理过程使 M2M平台和应用平台中的群组存在对应关系;因而 步骤 830可以基于该对应关系实现。
综上所述可见, 本发明釆用了分组筛选的方法, 使应用平台只需要向 M2M平台发送携带群组 id的消息 ,并且 M2M平台可以根据群组 id对应关 系将收到的消息转发给相应的终端。这样可以保证应用平台和 M2M平台之 间不会针对相对独立的 M2M终端传输大量的通信消息,而是在划分群组的 前提下传输相对少量的通信消息,因此可以有效提高应用平台与 M2M平台 针对应用等操作的处理效率。 并且, M2M平台所提供的动态群组和静态群 组的方式, 实现了 M2M平台对群组的灵活管理; 再加上应用平台可以主动 补充群组, 也便于应用平台更加灵活使用群组实现应用。
以上所述, 仅为本发明的较佳实施例而已, 并非用于限定本发明的保 护范围, 凡在本发明的精神和原则之内所作的任何修改、 等同替换和改进 等, 均应包含在本发明的保护范围之内。
Claims
1、 一种 M2M终端基于群组实现应用的方法, 其特征在于, 在 M2M 平台和应用平台中均设置了包含群组终端的群组,并且 M2M平台和应用平 台中的群组存在对应关系; 基于所述对应关系,应用平台与 M2M平台的终 端以群组为单位进行消息交互。
2、 根据权利要求 1所述的方法, 其特征在于, M2M平台和应用平台 中所设置的群组, 是通过新建群组以及加入群组终端的方式形成的。
3、 根据权利要求 2所述的方法, 其特征在于,
在 M2M平台新建群组的过程包括:
在 M2M平台为不同终端划分不同群组, 并进行新建群组操作,再将操 作结果同步到应用平台;
在 M2M平台加入群组终端的过程包括:
在 M2M平台为要加入的群组终端确定所属的群组,并针对要加入的群 组终端进行加入群组终端操作, 再将操作结果同步到应用平台。
4、 根据权利要求 3所述的方法, 其特征在于, 在 M2M平台加入的群 组终端是动态群组终端时, 所述加入过程包括:
终端在 M2M平台注册成功后,根据终端所属的应用以及 M2M平台所 建立的规则将终端加入相应动态群组中。
5、 根据权利要求 2所述的方法, 其特征在于,
在应用平台新建群组的过程包括:
针对要新建的群组, 由应用平台向 M2M平台发起审核请求, M2M平 台在审核通过后根据应用平台的请求新建群组, 并允许应用平台新建群组; 在应用平台加入群组终端的过程包括:
针对要加入的群组终端,由应用平台向 M2M平台发起审核请求 , M2M 平台在审核通过后根据应用平台的请求加入群组终端, 并允许应用平台加 入群组终端。
6、 根据权利要求 1至 5任一项所述的方法, 其特征在于, 所述应用平 台与 M2M平台的终端以群组为单位进行消息交互的过程包括:
应用平台向 M2M平台发送应用消息请求, M2M平台向该请求所对应 的群组中的终端发起应用消息, 并将终端所反馈的应用处理结果发送给应 用平台。
7、 一种 M2M终端基于群组实现应用的系统, 其特征在于, 该系统包 括 M2M终端筛选模块、 M2M平台群组模块、 同步模块、 应用平台群组模 块; 所述同步模块在 M2M平台和应用平台中均有设置; 其中,
所述 M2M平台群组模块,用于维护 M2M平台的包含群组终端的群组; 所述应用平台群组模块, 用于维护应用平台的包含群组终端的群组; 所述同步模块,用于在所述维护过程中将 M2M平台和应用平台的群组 进行同步;
所述 M2M 终端筛选模块, 用于根据所述同步模块在同步时所产生的 M2M平台和应用平台中的群组的对应关系, 实现应用平台与 M2M平台的 终端以群组为单位进行消息交互。
8、 根据权利要求 7所述的系统, 其特征在于,
所述 M2M平台群组模块和应用平台群组模块的维护功能,是通过新建 群组以及加入群组终端的方式实现的。
9、 根据权利要求 8所述的系统, 其特征在于,
在 M2M平台中新建群组的过程中,
所述 M2M平台群组模块,用于为不同终端划分不同群组, 并进行新建 群组操作;
所述同步模块,用于将 M2M平台群组模块的新建群组操作结果同步到 应用平台; 在 M2M平台中加入群组终端的过程中,
所述 M2M平台群组模块, 用于为要加入的群组终端确定所属的群组, 并针对要加入的群组终端进行加入群组终端操作;
所述同步模块,用于将 M2M平台群组模块的加入群组终端操作结果同 步到应用平台。
10、 根据权利要求 9所述的系统, 其特征在于, 加入的群组终端是动 态群组终端时, 所述 M2M平台群组模块用于:
当终端在 M2M平台注册成功后,根据终端所属的应用以及 M2M平台 所建立的规则将终端加入相应动态群组中。
11、 根据权利要求 8所述的系统, 其特征在于,
在应用平台中新建群组的过程中,
所述应用平台群组模块,用于针对要新建的群组向 M2M平台发起审核 请求, 并在 M2M平台审核通过后新建群组;
在应用平台中加入群组终端的过程中,
所述应用平台群组模块,用于针对要加入的群组终端向 M2M平台发起 审核请求, 并在 M2M平台审核通过后加入群组终端。
12、 根据权利要求 7至 11任一项所述的系统, 其特征在于, 所述应用 平台与 M2M平台的终端以群组为单位进行消息交互的过程中,
所述应用平台群组模块, 用于向 M2M 平台群组模块发送应用消息请 求;
所述 M2M平台群组模块,用于向所述应用消息请求所对应的群组中的 群组模块。
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
EP11782864.0A EP2480013B1 (en) | 2010-05-19 | 2011-01-25 | Method and system for realizing application of machine-to-machine/man terminal based on groups |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010179788.9A CN102256211B (zh) | 2010-05-19 | 2010-05-19 | M2m终端基于群组实现应用的方法和系统 |
CN201010179788.9 | 2010-05-19 |
Publications (1)
Publication Number | Publication Date |
---|---|
WO2011143947A1 true WO2011143947A1 (zh) | 2011-11-24 |
Family
ID=44983143
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
PCT/CN2011/070605 WO2011143947A1 (zh) | 2010-05-19 | 2011-01-25 | M2m终端基于群组实现应用的方法和系统 |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP2480013B1 (zh) |
CN (1) | CN102256211B (zh) |
WO (1) | WO2011143947A1 (zh) |
Families Citing this family (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2014113011A1 (en) | 2013-01-18 | 2014-07-24 | Nokia Siemens Networks Oy | Dynamic group provisioning |
CN106034281B (zh) | 2015-03-17 | 2018-08-14 | 中兴通讯股份有限公司 | 一种基于m2m网关的末梢网络建立方法、装置和系统 |
CN104955153B (zh) * | 2015-05-29 | 2022-03-11 | 青岛海尔智能家电科技有限公司 | 一种发现资源的方法、装置及设备 |
CN111294740B (zh) * | 2015-06-05 | 2021-07-09 | 华为技术有限公司 | 一种组通信方法、装置及设备 |
CN106790323B (zh) * | 2015-11-19 | 2020-02-14 | 华为软件技术有限公司 | 一种资源发现的方法及装置 |
WO2017098309A1 (en) * | 2015-12-10 | 2017-06-15 | Telefonaktiebolaget Lm Ericsson (Publ) | Group management in an m2m network using temporary identifiers |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101180852A (zh) * | 2005-05-23 | 2008-05-14 | 西门子股份有限公司 | 经由ip多媒体子系统ims的ip链路远程管理机器的方法和系统 |
WO2009092115A2 (en) * | 2008-01-18 | 2009-07-23 | Interdigital Patent Holdings, Inc. | Method and apparatus for enabling machine to machine communication |
CN101558664A (zh) * | 2006-12-13 | 2009-10-14 | 高通股份有限公司 | 用于在群组通信系统中分配网络资源的方法及设备 |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050108504A1 (en) * | 2003-10-20 | 2005-05-19 | Cowin Gregory L. | Behavior agent based system and process for machine to machine applications and services |
CN100421477C (zh) * | 2005-08-26 | 2008-09-24 | 华为技术有限公司 | 一种实现群组呼叫合并的方法 |
US20070094507A1 (en) * | 2005-10-21 | 2007-04-26 | Rush Frederick A | Method and system for securing a wireless communication apparatus |
CN201319608Y (zh) * | 2008-09-26 | 2009-09-30 | 广州市聚晖电子科技有限公司 | 一种支持不同数据采集业务的管理系统 |
-
2010
- 2010-05-19 CN CN201010179788.9A patent/CN102256211B/zh not_active Expired - Fee Related
-
2011
- 2011-01-25 WO PCT/CN2011/070605 patent/WO2011143947A1/zh active Application Filing
- 2011-01-25 EP EP11782864.0A patent/EP2480013B1/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101180852A (zh) * | 2005-05-23 | 2008-05-14 | 西门子股份有限公司 | 经由ip多媒体子系统ims的ip链路远程管理机器的方法和系统 |
CN101558664A (zh) * | 2006-12-13 | 2009-10-14 | 高通股份有限公司 | 用于在群组通信系统中分配网络资源的方法及设备 |
WO2009092115A2 (en) * | 2008-01-18 | 2009-07-23 | Interdigital Patent Holdings, Inc. | Method and apparatus for enabling machine to machine communication |
Non-Patent Citations (1)
Title |
---|
See also references of EP2480013A4 * |
Also Published As
Publication number | Publication date |
---|---|
EP2480013A1 (en) | 2012-07-25 |
EP2480013A4 (en) | 2017-06-21 |
CN102256211A (zh) | 2011-11-23 |
CN102256211B (zh) | 2014-04-30 |
EP2480013B1 (en) | 2019-07-10 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP2894934B1 (en) | Group area management method, device and system | |
WO2011143947A1 (zh) | M2m终端基于群组实现应用的方法和系统 | |
CN102984660B (zh) | 一种集群通信的寻呼方法和相关设备 | |
WO2015043470A1 (zh) | 一种组通信方法、设备及系统 | |
CN104144098A (zh) | 消息推送方法、系统及推送服务器设备 | |
CN105142219A (zh) | 移动通信系统、核心网络节点、控制站、基站和通信方法 | |
CN104521181B (zh) | 故障处理方法、装置和系统 | |
CN103916936B (zh) | 实现数据长连接的方法、系统及移动终端、服务器 | |
WO2020199422A1 (zh) | 一种灵活以太网链路管理方法及系统 | |
CN104753756B (zh) | 一种群组创建与群组共享的方法、设备及系统 | |
WO2017088508A1 (zh) | 一种多媒体广播多播业务处理方法、网元及系统 | |
WO2014086180A1 (zh) | 一种集群接入网、终端设备和加入集群组的方法 | |
CN111327448A (zh) | 物联网业务异常定位和异常报警方法、装置和存储介质 | |
WO2023093039A1 (zh) | 一种进程间通讯方法及系统 | |
CN106227490A (zh) | 云桌面系统、云终端、及申请加入组播组的方法 | |
CN105812079A (zh) | 一种应急广播状态上报、接收方法及装置 | |
CN108833167B (zh) | 一种基于边缘计算的通信优化系统及方法 | |
CN105530593A (zh) | 一种用户设备间的状态同步方法及装置 | |
CN110830295B (zh) | 一种设备管理方法及系统 | |
CN103634365A (zh) | 一种无线接入网中的第三方应用平台及其通讯方法 | |
CN106961687B (zh) | 一种信息交互方法及系统 | |
CN102752740B (zh) | 基于基站分簇架构的数据交互处理方法、设备和系统 | |
CN104852789B (zh) | 一种载波迁移方法、数字前端、基带池及载波迁移系统 | |
CN109639850A (zh) | 一种基于vrrp实现主备dhcp server的方法及系统 | |
CN105049344B (zh) | 一种行业网关系统 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 11782864 Country of ref document: EP Kind code of ref document: A1 |
|
WWE | Wipo information: entry into national phase |
Ref document number: 2011782864 Country of ref document: EP |
|
NENP | Non-entry into the national phase |
Ref country code: DE |