CN104955153A - Method, device and appliances for discovering resources - Google Patents
Method, device and appliances for discovering resources Download PDFInfo
- Publication number
- CN104955153A CN104955153A CN201510287107.3A CN201510287107A CN104955153A CN 104955153 A CN104955153 A CN 104955153A CN 201510287107 A CN201510287107 A CN 201510287107A CN 104955153 A CN104955153 A CN 104955153A
- Authority
- CN
- China
- Prior art keywords
- user
- resource
- management group
- query request
- management platform
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 41
- 238000004891 communication Methods 0.000 description 4
- 238000010586 diagram Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 2
- 238000012790 confirmation Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000008520 organization Effects 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W72/00—Local resource management
- H04W72/50—Allocation or scheduling criteria for wireless resources
- H04W72/51—Allocation or scheduling criteria for wireless resources based on terminal or device properties
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/16—Discovering, processing access restriction or access information
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer And Data Communications (AREA)
- Telephonic Communication Services (AREA)
Abstract
本发明提出了一种发现资源的方法、装置及设备。该发现资源的方法,在请求设备侧执行的流程包括:请求发送步骤:发送资源查询请求至用户管理平台,供用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备,以使所述资源设备查找到所述资源查询请求所涉及的资源后,向所述用户管理平台发回所述发现结果;结果接收步骤:接收所述用户管理平台基于所述发现结果返回的查询结果。该方法可以发现不同设备上的资源,方便用户获取所需资源。
The invention provides a method, device and equipment for discovering resources. In the method for discovering resources, the process performed on the requesting device side includes: request sending step: sending a resource query request to the user management platform, so that the user management platform distributes the resource query request to the resource devices included in the user device management group, so that After the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform; result receiving step: receiving the query result returned by the user management platform based on the discovery result. This method can discover resources on different devices, and facilitates users to obtain required resources.
Description
技术领域technical field
本发明涉及通信技术领域,尤其涉及一种发现资源的方法、装置及设备。The present invention relates to the field of communication technology, in particular to a method, device and equipment for discovering resources.
背景技术Background technique
设备之间的数据通信适用于例如交通控制管理、远程抄表、远程监控、医疗监护、智能家居控制等场景。为了实现设备之间的数据通信,业务提供商向用户侧的设备或者设备网关提供一个业务平台,用户侧的设备直接或者通过一个或多个设备网关接入业务平台。该业务平台中的通用业务功能模块与用户侧的设备或者设备网关中的通用业务功能模块通过建立的数据通道进行数据通信。在上述系统中,数据通信是基于注册关系的,也就是只有设备注册到了设备网关或者另一设备时,前者发送消息,会直接发送到后者,而不会发往其他的设备。但是,上述系统中,设备发送的消息会路由到业务平台,后续业务平台向设备/设备网关转送该消息时,无法基于上述注册关系来确定消息的下一跳,因为业务平台是不会注册到其他的设备/设备网关的。Data communication between devices is suitable for scenarios such as traffic control management, remote meter reading, remote monitoring, medical monitoring, and smart home control. In order to realize data communication between devices, the service provider provides a service platform to the device or device gateway on the user side, and the device on the user side accesses the service platform directly or through one or more device gateways. The general service function module in the service platform communicates with the device on the user side or the general service function module in the device gateway through the established data channel. In the above system, data communication is based on the registration relationship, that is, only when the device is registered with the device gateway or another device, the message sent by the former will be sent directly to the latter instead of to other devices. However, in the above system, the message sent by the device will be routed to the service platform. When the subsequent service platform forwards the message to the device/device gateway, the next hop of the message cannot be determined based on the above registration relationship, because the service platform will not register to other devices/device gateways.
在当前的物联网标准化组织OneM2M架构下,资源发现(discovery)只限于单一的设备。即设备A上的应用程序只能在设备A上检索所需的资源,或者向设备B发送请求消息以请求发现设备B上的某一资源,但是,该请求消息可以是基于超文本传输协议http的请求消息,而http需要明确指明一个特定的资源例如具体的照片名称,或者保存特定资源的地址,例如保存该特定资源的互联网协议地址。但是不能实现同时对设备A或者设备B的检索。因此,需要一种发现资源的方法,以解决现有技术中存在的上述技术问题。Under the current OneM2M architecture of the IoT standardization organization, resource discovery (discovery) is limited to a single device. That is, the application on device A can only retrieve the required resources on device A, or send a request message to device B to request to discover a certain resource on device B. However, the request message can be based on the hypertext transfer protocol http The request message, and http needs to clearly indicate a specific resource such as a specific photo name, or save the address of the specific resource, such as the Internet protocol address for saving the specific resource. However, it is not possible to search for device A or device B at the same time. Therefore, a method for discovering resources is needed to solve the above-mentioned technical problems existing in the prior art.
发明内容Contents of the invention
本发明提供一种发现资源的方法、装置及设备,可以发现不同设备上的资源,方便用户获取所需资源。The present invention provides a method, device and equipment for discovering resources, which can discover resources on different equipment and facilitate users to obtain required resources.
本发明采用的技术方案是:The technical scheme adopted in the present invention is:
一种发现资源的方法,其中,在请求设备侧执行的流程包括:请求发送步骤:发送资源查询请求至用户管理平台,供用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备,以使所述资源设备查找到所述资源查询请求所涉及的资源后,向所述用户管理平台发回所述发现结果;结果接收步骤:接收所述用户管理平台基于所述发现结果返回的查询结果。A method for discovering resources, wherein the process executed on the requesting device side includes: request sending step: sending a resource query request to a user management platform, for the user management platform to distribute the resource query request to the resource devices included in the user device management group so that after the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform; the step of receiving the result: receiving the information returned by the user management platform based on the discovery result search result.
优选地,所述请求发送步骤之前,还包括注册步骤:发送请求设备的注册信息至用户管理平台,供所述用户管理平台基于所述注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,用户管理平台将所述请求设备加入所述用户设备管理组;如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将所述请求设备加入新建的用户设备管理组。Preferably, before the step of sending the request, a registration step is also included: sending the registration information of the requesting device to the user management platform for the user management platform to judge whether there is a user associated with the user ID based on the user ID in the registration information Device management group; if there is a user device management group associated with the user ID, the user management platform will add the requested device to the user device management group; if there is no user device management group associated with the user ID, the user management platform will create a new user device management group, and add the requesting device to the newly created user device management group.
优选地,请求发送步骤中,具体包括:发送资源查询请求至用户管理平台,以供用户管理平台基于所述资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备;如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Preferably, the step of sending the request specifically includes: sending a resource query request to the user management platform, so that the user management platform can determine whether there is a user equipment management group associated with the user ID based on the user ID in the resource query request; if there is Associate the user device management group with the user ID, and the user management platform distributes resource query requests to the resource devices included in the user device management group; if there is no user device management group associated with the user ID, the user management platform creates a new user device management group , and add all resource devices associated with the user ID to the newly created user device management group.
优选地,所述资源查询请求包括资源标识和/或资源类型。Preferably, the resource query request includes resource identification and/or resource type.
本发明还提供了一种发现资源的方法,其中,在用户管理平台侧执行的流程包括:资源查找步骤:将请求设备发来的资源查询请求分发至用户设备管理组所包含的资源设备,以使所述资源设备查找到所述资源查询请求所涉及的资源后,向所述用户管理平台发回所述发现结果;结果返回步骤:基于所述发现结果向请求设备返回查询结果。The present invention also provides a method for discovering resources, wherein the process executed on the user management platform side includes: resource search step: distributing the resource query request sent by the requesting device to the resource devices included in the user device management group, to After the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform; the result returning step: returns the query result to the requesting device based on the discovery result.
优选地,资源查找步骤之前,还包括关联步骤:接收请求设备发来的注册信息,基于所述注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将所述请求设备加入所述用户设备管理组;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将所述请求设备加入新建的用户设备管理组。Preferably, before the resource search step, an associating step is also included: receiving the registration information sent by the requesting device, and judging whether there is a user equipment management group associated with the user identification based on the user identification in the registration information; if there is a user equipment management group associated with the user identification Add the requesting device to the user device management group; if there is no user device management group associated with the user ID, create a new user device management group, and add the requesting device to the newly created user device management Group.
优选地,资源查找步骤中,具体包括:接收资源设备发来的资源查询请求,基于所述资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将资源查询请求分发至用户设备管理组所包含的资源设备;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Preferably, the resource search step specifically includes: receiving a resource query request sent by a resource device, and judging whether there is a user device management group associated with the user ID based on the user ID in the resource query request; if there is a user device management group associated with the user ID If there is no user device management group associated with the user ID, create a new user device management group and associate all resources with the user ID The device joins the newly created user device management group.
本发明还提供了一种发现资源的装置,其中,设置于请求设备侧,所述装置包括:请求发送模块,发送资源查询请求至用户管理平台,供用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备,以使所述资源设备查找到所述资源查询请求所涉及的资源后,向所述用户管理平台发回所述发现结果;结果接收模块,接收所述用户管理平台基于所述发现结果返回的查询结果。The present invention also provides a device for discovering resources, wherein it is arranged on the requesting device side, and the device includes: a request sending module that sends a resource query request to a user management platform for the user management platform to distribute the resource query request to the user device managing the resource devices included in the group, so that after the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform; the result receiving module receives the resource device from the user management platform A query result returned based on the discovery result.
优选地,所述发现资源的装置还包括,注册模块,用于:发送请求设备的注册信息至用户管理平台,供所述用户管理平台基于所述注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,用户管理平台将所述请求设备加入所述用户设备管理组;如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将所述请求设备加入新建的用户设备管理组。Preferably, the device for discovering resources further includes a registration module, configured to: send the registration information of the requesting device to the user management platform, so that the user management platform can judge whether there is an association with the user based on the user identifier in the registration information identified user equipment management group; if there is a user equipment management group associated with the user identification, the user management platform will add the requesting device to the user equipment management group; if there is no user equipment management group associated with the user identification, the user management platform will The platform creates a user equipment management group, and adds the requesting device to the newly created user equipment management group.
优选地,所述请求发送模块,还用于:发送资源查询请求至用户管理平台,以供用户管理平台基于所述资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备;如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Preferably, the request sending module is further configured to: send a resource query request to the user management platform, so that the user management platform can determine whether there is a user device management group associated with the user ID based on the user ID in the resource query request; If there is a user device management group associated with the user ID, the user management platform distributes the resource query request to the resource devices included in the user device management group; if there is no user device management group associated with the user ID, the user management platform creates a new user device management group, and add all resource devices associated with the user ID to the newly created user device management group.
本发明还提供了一种发现资源的装置,其中,设置于用户管理平台侧,所述装置包括:资源查找模块:用于将请求设备发来的资源查询请求分发至用户设备管理组所包含的资源设备,以使所述资源设备查找到所述资源查询请求所涉及的资源后,向所述用户管理平台发回所述发现结果;结果返回模块:用于基于所述发现结果向请求设备返回查询结果。The present invention also provides a device for discovering resources, wherein it is set on the user management platform side, and the device includes: a resource search module: used to distribute the resource query request sent by the requesting device to the user device management group A resource device, so that after the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform; a result return module: used to return the resource to the requesting device based on the discovery result search result.
优选地,所述装置还包括,关联模块,用于:接收请求设备发来的注册信息,基于所述注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将所述请求设备加入所述用户设备管理组;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将所述请求设备加入新建的用户设备管理组。Preferably, the apparatus further includes an associating module, configured to: receive registration information sent by the requesting device, and judge whether there is a user equipment management group associated with the user identification based on the user identification in the registration information; if there is a user equipment management group associated with the user identification. The user equipment management group identified by the user, adding the requesting device to the user equipment management group; if there is no user equipment management group associated with the user identification, creating a new user equipment management group, and adding the requesting device to the newly created user equipment management group Device management group.
优选地,所述资源查找模块,还用于,接收资源设备发来的资源查询请求,基于所述资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将资源查询请求分发至用户设备管理组所包含的资源设备;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Preferably, the resource search module is further configured to receive a resource query request sent by a resource device, and judge whether there is a user device management group associated with the user ID based on the user ID in the resource query request; if there is a user device management group associated with the user ID The user device management group identified by the user will distribute resource query requests to the resource devices included in the user device management group; if there is no user device management group associated with the user ID, create a new user device management group and associate the user device management group with the user ID All resource devices are added to the newly created user device management group.
本发明还提供了一种设备,其中,包括根据上文所述的发现资源的装置。The present invention also provides a device, including the device for discovering resources as described above.
采用上述技术方案,本发明至少具有下列优点:通过用户管理平台发现不同资源设备上资源,提高了用户及时获取资源的便利性。By adopting the above technical solution, the present invention has at least the following advantages: resources on different resource devices are discovered through the user management platform, which improves the convenience for users to obtain resources in a timely manner.
附图说明Description of drawings
图1为本发明第一实施例发现资源的方法的流程图;FIG. 1 is a flowchart of a method for discovering resources according to a first embodiment of the present invention;
图2为本发明第二实施例发现资源的方法的流程图;FIG. 2 is a flowchart of a method for discovering resources according to a second embodiment of the present invention;
图3为本发明第三实施例发现资源的方法的流程图;3 is a flowchart of a method for discovering resources according to a third embodiment of the present invention;
图4为本发明第四实施例发现资源的方法的流程图;FIG. 4 is a flowchart of a method for discovering resources according to a fourth embodiment of the present invention;
图5为本发明的第五实施例发现资源的方法的示意图。Fig. 5 is a schematic diagram of a method for discovering resources according to a fifth embodiment of the present invention.
图6为本发明第六实施例发现资源的方法的示意图;6 is a schematic diagram of a method for discovering resources according to a sixth embodiment of the present invention;
图7为本发明的第七实施例和第八实施例发现资源的装置的示意图。Fig. 7 is a schematic diagram of an apparatus for discovering resources according to the seventh embodiment and the eighth embodiment of the present invention.
具体实施方式Detailed ways
为更进一步阐述本发明为达成预定目的所采取的技术手段及功效,以下结合附图及较佳实施例,对本发明进行详细说明如后。In order to further explain the technical means and functions adopted by the present invention to achieve the intended purpose, the present invention will be described in detail below in conjunction with the accompanying drawings and preferred embodiments.
本发明提供的发现资源的方法通过用户管理平台发现不同资源设备上的资源,方便用户查询。下面将详细地描述本发明发现资源的方法及其各个步骤。The method for discovering resources provided by the present invention discovers resources on different resource devices through a user management platform, which is convenient for users to inquire. The method for discovering resources of the present invention and its steps will be described in detail below.
第一实施例first embodiment
如图1所示,本实施例中的发现资源的方法设置在请求设备侧执行的流程包括:请求发送步骤S10:发送资源查询请求至用户管理平台,供用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备,以使资源设备查找到资源查询请求所涉及的资源后,向用户管理平台发回发现结果。由此用户管理平台向用户设备管理组所包含的资源设备转发该资源查询请求,资源设备根据该资源查询请求查找所需的资源,如果查找到后,向用户管理平台发回至发现结果。该发现结果可以是找到资源的资源设备发送的包括该资源的信息包,也可以是没有找到资源的资源设备发送的告知未查找到资源的确认信息。资源查询请求可以是具体的资源标识,也可以是资源的类型,详见第五实施例和第六实施例。As shown in Figure 1, the method for discovering resources in this embodiment is set to be executed on the requesting device side, including: request sending step S10: sending a resource query request to the user management platform for the user management platform to distribute the resource query request to the user The resource device included in the device management group, so that after the resource device finds the resource involved in the resource query request, it sends back the discovery result to the user management platform. Thus, the user management platform forwards the resource query request to the resource devices included in the user device management group, and the resource device searches for the required resource according to the resource query request, and sends back the discovery result to the user management platform if found. The discovery result may be an information packet including the resource sent by the resource device that found the resource, or may be confirmation information notifying that no resource is found sent by the resource device that has not found the resource. The resource query request may be a specific resource identifier or a resource type, see the fifth embodiment and the sixth embodiment for details.
如图1所示,结果接收步骤S20:接收用户管理平台基于发现结果返回的查询结果。用户管理平台整理发现结果形成查询结果后,将该查询结果发回请求设备。查询结果可以是告知请求设备:在该用户设备管理组中包含该资源,该资源所属资源设备的设备名称、网络地址,以及该资源在该资源设备上的位置。当然查询结果中也可以包含返回来的资源,由此用户在请求设备侧可以获取到该资源。As shown in FIG. 1 , result receiving step S20: receiving the query result returned by the user management platform based on the discovery result. After the user management platform sorts out the found results to form a query result, it sends the query result back to the requesting device. The query result may be to inform the requesting device that the resource is included in the user device management group, the device name and network address of the resource device to which the resource belongs, and the location of the resource on the resource device. Of course, the query result may also include the returned resource, so that the user can obtain the resource on the requesting device side.
第二实施例second embodiment
如图2所示,该实施例同样也是在请求设备侧执行的流程,在第一实施例的基础上,请求发送步骤S10之前,还包括注册步骤S30:发送请求设备的注册信息至用户管理平台,供用户管理平台基于注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,用户管理平台将请求设备加入用户设备管理组;如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将请求设备加入新建的用户设备管理组。由此,如果之前已经建立了关联该用户标识的用户设备管理组,则直接将该请求设备加入到该用户设备管理组,实现该请求设备的注册。如果之前没有建立关联该用户标识的用户设备管理组,则根据注册信息中的用户标识建立关联该用户标识的用户设备管理组,然后再将请求设备加入到该户设备管理组,从而实现关联该用户标识的用户设备管理组,并且也完成了请求设备的注册,由此方便后续关联该用户标识的请求设备的注册。As shown in Figure 2, this embodiment is also a process executed on the requesting device side. On the basis of the first embodiment, before the request sending step S10, a registration step S30 is also included: sending the registration information of the requesting device to the user management platform , for the user management platform to judge whether there is a user device management group associated with the user ID based on the user ID in the registration information; if there is a user device management group associated with the user ID, the user management platform will request the device to join the user device management group; if If there is no user device management group associated with the user ID, the user management platform creates a new user device management group, and adds the requested device to the newly created user device management group. Thus, if a user equipment management group associated with the user identifier has been established before, the requesting device is directly added to the user equipment management group to realize the registration of the requesting device. If the user device management group associated with the user ID has not been established before, a user device management group associated with the user ID is established according to the user ID in the registration information, and then the requesting device is added to the user device management group, so as to realize the association of the user device The user device management group identified by the user has also completed the registration of the requesting device, thereby facilitating the subsequent registration of the requesting device associated with the user identification.
注册信息包括请求设备的设备标识和用户标识。将请求设备加入到用户设备管理组是将请求设备的设备标识归入用户设备管理组。由此用户管理平台上可以设置多个不同用户或者同一用户的多个用户设备管理组,用户管理平台需要将属于同一用户的多个用户设备管理组与该用户的不同用户标识关联。The registration information includes the device identification and user identification of the requesting device. Adding the requesting device to the user device management group is to classify the device identifier of the requesting device into the user device management group. Therefore, multiple different users or multiple user equipment management groups of the same user can be set on the user management platform, and the user management platform needs to associate multiple user equipment management groups belonging to the same user with different user identifiers of the user.
第三实施例third embodiment
如图3所示,相对于第一实施例,本实施例发现资源的方法是在用户管理平台侧执行的步骤。具体的步骤包括:资源查找S40:将请求设备发来的资源查询请求分发至用户设备管理组所包含的资源设备,以使资源设备查找到资源查询请求所涉及的资源后,向用户管理平台发回发现结果。用户管理平台接收并且转发至用户设备管理组所包含的资源设备,资源设备基于资源查询请求在其本地执行发现过程,以发现资源查询请求所涉及的资源。As shown in FIG. 3 , compared with the first embodiment, the method for discovering resources in this embodiment is a step executed on the side of the user management platform. The specific steps include: Resource search S40: Distribute the resource query request sent by the requesting device to the resource devices included in the user device management group, so that after the resource device finds the resource involved in the resource query request, it sends a request to the user management platform Return to the found results. The user management platform receives and forwards the information to the resource device included in the user device management group, and the resource device performs a local discovery process based on the resource query request to discover the resources involved in the resource query request.
结果返回步骤S50:基于发现结果向请求设备返回查询结果。资源获取到所需要的资源后或者,如果资源设备在其本地没有查找到所需资源,则向用户管理平台发回发现结果,用户管理平台将相应的查询结果返回请求设备。该步骤的叙述可以参见第一实施例的结果接收步骤S20。Result return step S50: return the query result to the requesting device based on the discovery result. After the resource obtains the required resource or if the resource device does not find the required resource locally, it sends back the discovery result to the user management platform, and the user management platform returns the corresponding query result to the requesting device. The description of this step can refer to the result receiving step S20 of the first embodiment.
第四实施例Fourth embodiment
如图4所示,在第三实施例的基础上,本实施例的发现资源的方法中,资源查找步骤S40之前,还包括关联步骤S60:接收请求设备发来的注册信息,基于注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将请求设备加入用户设备管理组;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将请求设备加入新建的用户设备管理组。用户管理平台接收请求设备发来的请求设备的注册信息,基于注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组,根据判断结果做出相应的执行步骤。用户的标识可以是例如用户的手机号、姓名或者身份证。由此在用户管理平台上将请求设备注册至用户管理平台。As shown in Figure 4, on the basis of the third embodiment, the method for discovering resources in this embodiment, before the resource search step S40, also includes an association step S60: receiving the registration information sent by the requesting device, based on the registration information Determine whether there is a user device management group associated with the user ID; if there is a user device management group associated with the user ID, it will request the device to join the user device management group; if there is no user device management group associated with the user ID, Create a new user device management group, and add the requesting device to the newly created user device management group. The user management platform receives the registration information of the requesting device sent by the requesting device, judges based on the user ID in the registration information whether there is a user device management group associated with the user ID, and makes corresponding execution steps according to the judgment result. The user's identifier may be, for example, the user's mobile phone number, name or ID card. The requesting device is thus registered to the user management platform on the user management platform.
第五实施例fifth embodiment
如图5所示,该实施例是对应第一是实施例的详细流程描述:用户管理平台接收到请求设备发来的资源查询请求,其中资源查询请求可以包括资源类型、资源标识以及用户设备管理组的标识,即用户标识。需要说明的是,该请求设备是预先已经注册在用户设备管理组中的。用户管理平台将资源查询请求转发至该用户设备管理组中的资源设备上,由资源设备在其本地执行发现过程,并且将发现结果返回至用户管理平台。其中用户管理平台将资源查询请求转发给资源设备之外,还将对应资源设备的设备标识相应的发送给资源设备,以确保所有的资源设备收到该资源查询请求,以便执行发现资源的过程,也就是用户管理平台向资源设备分发发现资源请求,该发现资源请求包括资源查询请求和设备标识。后续用户管理平台整理发现结果得到查询结果后发回给请求设备。As shown in Figure 5, this embodiment is a detailed flow description corresponding to the first embodiment: the user management platform receives a resource query request from the requesting device, where the resource query request can include resource type, resource identifier, and user device management The ID of the group, which is the user ID. It should be noted that the requesting device has been pre-registered in the user device management group. The user management platform forwards the resource query request to the resource device in the user device management group, and the resource device executes the discovery process locally, and returns the discovery result to the user management platform. In addition to forwarding the resource query request to the resource device, the user management platform also sends the device identifier of the corresponding resource device to the resource device to ensure that all resource devices receive the resource query request, so as to perform the process of discovering resources. That is, the user management platform distributes a resource discovery request to the resource device, and the resource discovery request includes a resource query request and a device identifier. Subsequent user management platform sorts out the found results and sends them back to the requesting device after obtaining the query results.
第六实施例Sixth embodiment
参见图6,资源查找步骤S40中,具体包括:用户管理平台接收资源设备发来的资源查询请求,基于资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组。其中该资源查询请求中包括资源类型和/或资源标识,用户标识。根据该用户标识,用户管理平台判断是否存在关联该用户标识的用户设备管理组。如果存在关联该用户标识的用户设备管理组,将资源查询请求分发至用户设备管理组所包含的资源设备。如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组,然后再资源查询请求分发至新建的用户设备管理组所包含的资源设备,以使资源设备执行发现资源的过程,后续的流程可以参见第五实施例。Referring to FIG. 6 , the resource search step S40 specifically includes: the user management platform receives the resource query request sent by the resource device, and judges based on the user ID in the resource query request whether there is a user device management group associated with the user ID. The resource query request includes resource type and/or resource identifier, user identifier. According to the user identifier, the user management platform judges whether there is a user equipment management group associated with the user identifier. If there is a user device management group associated with the user identifier, the resource query request is distributed to the resource devices included in the user device management group. If there is no user device management group associated with the user ID, create a new user device management group, and add all resource devices associated with the user ID to the newly created user device management group, and then distribute resource query requests to the newly created user device management group The included resource device enables the resource device to perform a process of discovering resources, and for the subsequent process, refer to the fifth embodiment.
对应地,在请求设备侧执行的流程具体包括:发送资源查询请求至用户管理平台,以供用户管理平台基于资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组。如果存在关联该用户标识的用户设备管理组,用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备。如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。资源标识可以是该资源的具体名称,资源类型可以是该资源属于照片还是视频,用户设备管理组的标识可以是以用户身份信息进行标示的。Correspondingly, the process performed on the requesting device side specifically includes: sending a resource query request to the user management platform, so that the user management platform can determine whether there is a user device management group associated with the user ID based on the user ID in the resource query request. If there is a user device management group associated with the user identifier, the user management platform distributes the resource query request to the resource devices included in the user device management group. If there is no user device management group associated with the user ID, the user management platform creates a user device management group, and adds all resource devices associated with the user ID to the newly created user device management group. The resource identifier may be a specific name of the resource, the resource type may be whether the resource belongs to a photo or a video, and the identifier of the user device management group may be marked with user identity information.
第七实施例Seventh embodiment
如图7所示,本实施例的发现资源的装置是对应于第一实施例的装置类实施例,该发现资源的装置设置于请求设备侧。该装置包括请求发送模块,用于发送资源查询请求至用户管理平台,供用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备,以使资源设备查找到资源查询请求所涉及的资源后,向用户管理平台发回发现结果。结果接收模块,用于接收用户管理平台基于发现结果返回的查询结果。As shown in FIG. 7 , the apparatus for discovering resources in this embodiment is an apparatus-type embodiment corresponding to the first embodiment, and the apparatus for discovering resources is set on the side of the requesting device. The device includes a request sending module, which is used to send a resource query request to the user management platform, so that the user management platform can distribute the resource query request to the resource equipment included in the user equipment management group, so that the resource equipment can find out the resources involved in the resource query request. After resources, the discovery results are sent back to the user management platform. The result receiving module is configured to receive the query result returned by the user management platform based on the discovery result.
作为优选地,发现资源的装置还包括,注册模块,用于:发送请求设备的注册信息至用户管理平台,供用户管理平台基于注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组。如果存在关联该用户标识的用户设备管理组,用户管理平台将请求设备加入用户设备管理组。如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将请求设备加入新建的用户设备管理组。Preferably, the device for discovering resources further includes a registration module, configured to: send the registration information of the requesting device to the user management platform, for the user management platform to judge whether there is a user device associated with the user identification based on the user identification in the registration information. Group. If there is a user equipment management group associated with the user ID, the user management platform will request the device to join the user equipment management group. If there is no user device management group associated with the user ID, the user management platform creates a new user device management group, and requests the device to join the newly created user device management group.
进一步地,请求发送模块,还用于:发送资源查询请求至用户管理平台,以供用户管理平台基于资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组。如果存在关联该用户标识的用户设备管理组,用户管理平台将资源查询请求分发至用户设备管理组所包含的资源设备。如果不存在关联该用户标识的用户设备管理组,用户管理平台新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Further, the request sending module is also used to: send a resource query request to the user management platform, so that the user management platform can determine whether there is a user equipment management group associated with the user ID based on the user ID in the resource query request. If there is a user device management group associated with the user identifier, the user management platform distributes the resource query request to the resource devices included in the user device management group. If there is no user device management group associated with the user ID, the user management platform creates a user device management group, and adds all resource devices associated with the user ID to the newly created user device management group.
第八实施例Eighth embodiment
如图7所示,本实施例的发现资源的装置是对应第三实施例的装置类实施例。该发现资源的装置设置于用户管理平台侧。该装置包括:资源查找模块:用于将请求设备发来的资源查询请求分发至用户设备管理组所包含的资源设备,以使资源设备查找到资源查询请求所涉及的资源后,向用户管理平台发回发现结果。结果返回模块:用于基于发现结果向请求设备返回查询结果。As shown in FIG. 7 , the device for discovering resources in this embodiment is a device-type embodiment corresponding to the third embodiment. The device for discovering resources is set on the side of the user management platform. The device includes: a resource search module: used to distribute the resource query request sent by the requesting device to the resource devices included in the user device management group, so that after the resource device finds the resource involved in the resource query request, it sends the request to the user management platform Send back findings. The result return module: used to return the query result to the requesting device based on the discovery result.
作为优选地,资源查找模块,还用于,接收资源设备发来的资源查询请求,基于资源查询请求中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将资源查询请求分发至用户设备管理组所包含的资源设备;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将关联该用户标识的所有资源设备加入新建的用户设备管理组。Preferably, the resource search module is further configured to receive a resource query request sent by a resource device, and judge whether there is a user equipment management group associated with the user ID based on the user ID in the resource query request; if there is a user device management group associated with the user ID User device management group, distribute resource query requests to the resource devices included in the user device management group; if there is no user device management group associated with the user ID, create a new user device management group, and associate all resource devices with the user ID Join the newly created user device management group.
进一步地,如图7所示,该装置还包括,关联模块,用于:接收请求设备发来的注册信息,基于注册信息中的用户标识判断是否存在关联该用户标识的用户设备管理组;如果存在关联该用户标识的用户设备管理组,将请求设备加入用户设备管理组;如果不存在关联该用户标识的用户设备管理组,新建用户设备管理组,并将请求设备加入新建的用户设备管理组。Further, as shown in FIG. 7 , the apparatus further includes an associating module, configured to: receive registration information sent by the requesting device, and judge whether there is a user device management group associated with the user ID based on the user ID in the registration information; if If there is a user device management group associated with the user ID, the device will be requested to join the user device management group; if there is no user device management group associated with the user ID, a new user device management group will be created, and the requested device will be added to the newly created user device management group .
第九实施例Ninth embodiment
本实施例还提供了一种设备,其包括根据上文所述的设置于请求设备侧的发现资源的装置。This embodiment also provides a device, which includes the device for discovering resources set on the side of the requesting device according to the above.
通过具体实施方式的说明,应当可对本发明为达成预定目的所采取的技术手段及功效得以更加深入且具体的了解,然而所附图示仅是提供参考与说明之用,并非用来对本发明加以限制。Through the description of the specific implementation, it should be possible to gain a deeper and more specific understanding of the technical means and effects of the present invention to achieve the intended purpose. However, the attached drawings are only for reference and description, and are not used to explain the present invention. limit.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510287107.3A CN104955153B (en) | 2015-05-29 | 2015-05-29 | Method, device and equipment for discovering resources |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510287107.3A CN104955153B (en) | 2015-05-29 | 2015-05-29 | Method, device and equipment for discovering resources |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN104955153A true CN104955153A (en) | 2015-09-30 |
| CN104955153B CN104955153B (en) | 2022-03-11 |
Family
ID=54169406
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510287107.3A Active CN104955153B (en) | 2015-05-29 | 2015-05-29 | Method, device and equipment for discovering resources |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN104955153B (en) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106231538A (en) * | 2016-07-29 | 2016-12-14 | 海尔优家智能科技(北京)有限公司 | A kind of method and apparatus of OneM2M framework apparatus bound |
| CN106557030A (en) * | 2015-09-25 | 2017-04-05 | 华为技术有限公司 | Method of instructing operation and device based on entity |
| CN107306247A (en) * | 2016-04-18 | 2017-10-31 | 电信科学技术研究院 | Resource access control method and device |
| WO2019101071A1 (en) * | 2017-11-22 | 2019-05-31 | 京东方科技集团股份有限公司 | Target resource operation method, node device, terminal device and computer-readable storage medium |
Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102256211A (en) * | 2010-05-19 | 2011-11-23 | 中兴通讯股份有限公司 | Group-based method and system for application realization of M2M terminal |
| CN102378302A (en) * | 2010-08-12 | 2012-03-14 | 华为技术有限公司 | Network access method and system |
| CN103200209A (en) * | 2012-01-06 | 2013-07-10 | 华为技术有限公司 | Access method of member resources, group server and member devices |
| CN103518350A (en) * | 2012-05-14 | 2014-01-15 | 华为技术有限公司 | Method and system for group communication, group server and group member device |
| US20140334435A1 (en) * | 2013-05-10 | 2014-11-13 | Futurewei Technologies, Inc. | Systems and Methods for Scalable Device-to-Device Discovery via Device Grouping |
| CN104469951A (en) * | 2013-09-25 | 2015-03-25 | 华为技术有限公司 | Method, device and system for resource allocation |
| CN104620632A (en) * | 2012-09-12 | 2015-05-13 | Lg电子株式会社 | Method and device for requesting acquisition of specific rights with respect to specific resources in a wireless communication system |
-
2015
- 2015-05-29 CN CN201510287107.3A patent/CN104955153B/en active Active
Patent Citations (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102256211A (en) * | 2010-05-19 | 2011-11-23 | 中兴通讯股份有限公司 | Group-based method and system for application realization of M2M terminal |
| CN102378302A (en) * | 2010-08-12 | 2012-03-14 | 华为技术有限公司 | Network access method and system |
| CN103200209A (en) * | 2012-01-06 | 2013-07-10 | 华为技术有限公司 | Access method of member resources, group server and member devices |
| CN103518350A (en) * | 2012-05-14 | 2014-01-15 | 华为技术有限公司 | Method and system for group communication, group server and group member device |
| CN104620632A (en) * | 2012-09-12 | 2015-05-13 | Lg电子株式会社 | Method and device for requesting acquisition of specific rights with respect to specific resources in a wireless communication system |
| US20140334435A1 (en) * | 2013-05-10 | 2014-11-13 | Futurewei Technologies, Inc. | Systems and Methods for Scalable Device-to-Device Discovery via Device Grouping |
| CN104469951A (en) * | 2013-09-25 | 2015-03-25 | 华为技术有限公司 | Method, device and system for resource allocation |
Non-Patent Citations (1)
| Title |
|---|
| SOUMYA KANTI DATTA等: "Smart M2M Gateway Based Architecture for M2M Device and Endpoint Management", 《2014 IEEE INTERNATIONAL CONFERENCE ON INTERNET OF THINGS (ITHINGS), AND IEEE GREEN COMPUTING AND COMMUNICATIONS (GREENCOM) AND IEEE CYBER, PHYSICAL AND SOCIAL COMPUTING (CPSCOM)》 * |
Cited By (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN106557030A (en) * | 2015-09-25 | 2017-04-05 | 华为技术有限公司 | Method of instructing operation and device based on entity |
| CN106557030B (en) * | 2015-09-25 | 2019-08-20 | 华为技术有限公司 | Entity-based operation instruction method and device |
| CN107306247A (en) * | 2016-04-18 | 2017-10-31 | 电信科学技术研究院 | Resource access control method and device |
| CN107306247B (en) * | 2016-04-18 | 2020-09-01 | 电信科学技术研究院 | Resource access control method and device |
| CN106231538A (en) * | 2016-07-29 | 2016-12-14 | 海尔优家智能科技(北京)有限公司 | A kind of method and apparatus of OneM2M framework apparatus bound |
| WO2019101071A1 (en) * | 2017-11-22 | 2019-05-31 | 京东方科技集团股份有限公司 | Target resource operation method, node device, terminal device and computer-readable storage medium |
| US11539640B2 (en) | 2017-11-22 | 2022-12-27 | Beijing Boe Technology Development Co., Ltd. | Target resource operation method, node device, terminal device and computer-readable storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104955153B (en) | 2022-03-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN114902634B (en) | Apparatus and method for providing information of application server in mobile communication system | |
| CN111436160B (en) | A kind of local area network communication method, device and system | |
| CN109314917B (en) | Network slice selection strategy updating method and device | |
| CN102577581B (en) | Set up the apparatus and method for the personal network providing accumulation type personal network to serve | |
| CN102130773B (en) | Group communication method and device | |
| CN103096502B (en) | Apparatus for establishing is to the methods, devices and systems of equipment connection | |
| EP2982084B1 (en) | Method and apparatus for routing proximity-based service message in wireless communication system | |
| CN107580360A (en) | Method, device and network architecture for network slice selection | |
| CN107404512B (en) | Resource subscription method, resource subscription device and resource subscription system | |
| US8665849B2 (en) | Methods and systems for implementing inter-network roam, querying and attaching network | |
| WO2018090677A1 (en) | Processing method, device and system for nf component abnormality | |
| CN106375442B (en) | Method and device for cross-platform management of equipment information | |
| WO2021109134A1 (en) | Mbms informaiton acquisition and transmission method, terminal device and network element device | |
| WO2014183260A1 (en) | Method, device and system for processing data service under roaming scenario | |
| CN112533177A (en) | Method, device, apparatus and medium for providing and discovering moving edge calculation | |
| CN110035040B (en) | Method and device for signaling addressing | |
| CN104955153B (en) | Method, device and equipment for discovering resources | |
| US20160241642A1 (en) | Multimedia sharing method, registration method, server and proxy server | |
| CN104601561B (en) | Register method, registration equipment and the domestic network system of network | |
| WO2015085573A1 (en) | Method and device for communication using white spectrum | |
| WO2020244631A1 (en) | Service call processing method and device | |
| CN102811263A (en) | Communication method and system based on IPv6 for mobile terminal and mobile terminal | |
| CN102572774B (en) | A method for accessing a network in multiple access modes, an access device, and an authentication device | |
| WO2015135278A1 (en) | Authentication method and system, prose functional entity, and ue | |
| CN100488137C (en) | Correlation method, system and apparatus of user relative information in network attached sub-system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| SE01 | Entry into force of request for substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| GR01 | Patent grant | ||
| GR01 | Patent grant |