CN104936199A - Resource notification management method and public service entity - Google Patents

Resource notification management method and public service entity Download PDF

Info

Publication number
CN104936199A
CN104936199A CN201410105600.4A CN201410105600A CN104936199A CN 104936199 A CN104936199 A CN 104936199A CN 201410105600 A CN201410105600 A CN 201410105600A CN 104936199 A CN104936199 A CN 104936199A
Authority
CN
China
Prior art keywords
attribute
request message
advertisement resource
resource request
common service
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.)
Pending
Application number
CN201410105600.4A
Other languages
Chinese (zh)
Inventor
吴昊
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410105600.4A priority Critical patent/CN104936199A/en
Priority to PCT/CN2014/077876 priority patent/WO2015139364A1/en
Publication of CN104936199A publication Critical patent/CN104936199A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a resource notification management method and a public service entity. The method includes: a local public service entity receives a resource updating request message sent by an application entity, the resource updating request message contains attributes to be updated; a notification resource updating request message is built according to information in the resource updating request message; and the notification resource updating request message is sent to a remote public service entity. Through a mode of synchronous updating, the method provided by the invention can enable notification resources to be kept consistent with original resources, thereby solving the problem that query of notification resources causes acquisition of original resources different from expectations.

Description

A kind of resource notices method and the common service entity of management
Technical field
The present invention relates to terminal communication field, a kind of resource being related specifically to machine type communication (Machine TypeCommunication is called for short MTC) terminal notices method and the common service entity of management.
Background technology
M2M(machine to machine) communication network is made up of each M2M node and bearer network.M2M node realizes communication mutually by bearer network, and a M2M node at least comprises an application entity or a common service entity.Application entity is the logical block performing actual M2M application, and common service entity is the logical block of application being carried out to management and service.
In actual applications, application entity (AE) on application node is only registered in local common service entity (local CSE), namely on the CSE on application node, application entity conveniently on intermediate node can find the resource on application node, the mode that special envoy notices by resource, CSE(and long-range CSE at intermediate node) above create the advertisement resource corresponding to the source material on application node, advertisement resource has with the identical search label of source material, and have the link of source material, make the application on intermediate node can search the resource of needs easily, and according to links and accesses source material.Thus, source material comprises an attribute and " is communicated to ", and this attribute indicates the address of the advertisement resource that successfully have advertised, and also comprises an attribute simultaneously and " can notice attribute ", and being used to indicate which attribute needs to create in advertisement resource.Advertisement resource comprises attribute " search label " and " source material address ".The attribute of usual resource is made up of Property Name and the value of giving it.Advertisement resource comprises two attribute, essential attribute and optional attribute, essential attribute must to create when advertisement resource creates and value can not for empty attribute, and optional attribute can not create when advertisement resource creates, or value can be set to the attribute of sky during establishment.The essential attribute of advertisement resource and optional attribute are specified in advance in technical specification.
The attribute of source material " can notice attribute " and only comprise the optional attribute of advertisement resource.
In the prior art, advertisement resource is the entrance inquiring source material, but in existing system, the owner of source material only has permission source material and operates, once the relevant information of source material changes, such as search string is changed, and the possibility of result so inquired by advertisement resource is not required for other clients.
Summary of the invention
The technical problem to be solved in the present invention is to provide method and the common service entity that a kind of resource notices management, is consistent to make advertisement resource and source material.
In order to solve the problems of the technologies described above, the invention provides a kind of method that resource notices management, comprising:
Local common service entity receives the renewal resource request message that application entity sends, and comprises attribute to be updated in described renewal resource request message;
Described local common service entity upgrades advertisement resource request message according to the information architecture in described renewal resource request message;
Described renewal advertisement resource request message is sent to long-range common service entity by described local common service entity.
Further, said method also has feature below:
Local common service entity described above upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
Described local common service entity is that search label maybe can notice the attribute comprised in attribute as attribute to be updated as described in checking, then described attribute kit to be updated be contained in described renewal advertisement resource request message.
Further, said method also has feature below:
Described local common service entity upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
Described local common service entity is if attribute to be updated as described in checking is for can notice attribute, then the attribute noticed of described attribute to be updated and local resource is compared, to comprise in described attribute to be updated but the attribute kit do not comprised in the attribute noticed of local resource is contained in described renewal advertisement resource request message, will not comprise in described attribute to be updated but the value of the attribute comprised in the attribute noticed of local resource is included in described renewal advertisement resource request message after being set to sky.
Further, said method also has feature below: described local common service entity upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
The attribute kit that described attribute kit to be updated contains if attribute to be updated as described in checking is for can notice attribute, is then contained in described renewal advertisement resource request message by described local common service entity.
Further, said method also has feature below: described local common service entity also comprises after receiving the renewal resource request message of application entity transmission:
Described local common service entity, according to the information in described renewal advertisement resource request message, upgrades the attribute of local resource application.
In order to solve the problem, present invention also offers a kind of method that resource notices management, comprising:
Long-range common service entity receives the renewal advertisement resource request message that local common service entity sends;
Described long-range common service entity, according to the information in described renewal advertisement resource request message, upgrades the attribute of the advertisement resource on this common service entity.
Further, said method also has feature below: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
The value of the attribute of described advertisement resource is set to the value of corresponding attribute in described renewal advertisement resource request message by described long-range common service entity.
Further, said method also has feature below: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
As described in comprise in renewal advertisement resource request message as described in the attribute that do not create in advertisement resource, described long-range common service entity then creates this attribute, and the value of this attribute is set to the value of corresponding attribute in described renewal advertisement resource request message.
Further, said method also has feature below:
Described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
As described in comprise value in renewal advertisement resource request message and be set to empty attribute, described long-range common service entity then checks in described advertisement resource whether comprise this attribute, if comprised, then deletes this attribute.
Further, said method also has feature below:
Described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
If the attribute in described advertisement resource is not included in described renewal advertisement resource request message, described long-range common service entity then deletes this attribute in described advertisement resource.
Further, said method also has feature below: described long-range common service entity also comprises before receiving the renewal advertisement resource request message of local common service entity transmission:
Described long-range common service entity receives the establishment advertisement resource request message that local common service entity sends;
Described long-range common service entity, according to the information in described establishment advertisement resource request message, creates advertisement resource and arranges advertisement resource attribute.
Further, said method also has feature below: described establishment advertisement resource request message comprises:
The optional attribute that the attribute noticed of described local common service entity local resource does not comprise, and the value of this optional attribute is empty.
Further, said method also has feature below: described long-range common service entity set-up advertisement resource also arranges advertisement resource attribute and comprises:
That described long-range common service entity set-up is specified but be not included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
In order to solve the problem, present invention also offers a kind of common service entity, wherein, comprising:
Receiver module, for receiving the renewal resource request message that application entity sends, comprises attribute to be updated in described renewal resource request message;
Build module, for upgrading advertisement resource request message according to the information architecture in described renewal resource request message;
Sending module, for sending to long-range common service entity by described renewal advertisement resource request message.
Further, above-mentioned common service entity also has feature below:
Described structure module, specifically for being that search label maybe can notice the attribute comprised in attribute as attribute to be updated as described in checking, is then contained in described attribute kit to be updated in described renewal advertisement resource request message.
Further, above-mentioned common service entity also has feature below:
Described structure module, specifically for if attribute to be updated as described in checking is for can notice attribute, then the attribute noticed that described attribute to be updated and local resource are applied is compared, to comprise in described attribute to be updated but in the attribute noticed of local resource application, the attribute kit that do not comprise is contained in described renewal advertisement resource request message, will not comprise in described attribute to be updated but the value of the attribute comprised in the attribute noticed of local resource application is included in described renewal advertisement resource request message after being set to sky; Or the attribute kit that described attribute kit to be updated contains is contained in described renewal advertisement resource request message.
Further, above-mentioned common service entity also has feature below: also comprise:
Update module, for entity according to the information in described renewal advertisement resource request message, upgrades the attribute of local resource application.
In order to solve the problem, present invention also offers a kind of common service entity, wherein, comprising:
Receiver module, for receiving the renewal advertisement resource request message of specifying common service entity to send;
Update module, for according to the information in described renewal advertisement resource request message, upgrades the attribute of the advertisement resource on this common service entity.
Further, above-mentioned common service entity also has feature below:
Described update module, the value specifically for the attribute by described advertisement resource is set to the value of corresponding attribute in described renewal advertisement resource request message.
Further, above-mentioned common service entity also has feature below:
Described update module, specifically for as described in comprise in renewal advertisement resource request message as described in the attribute that do not create in advertisement resource, then create this attribute, and the value of this attribute be set to the value of corresponding attribute in described renewal advertisement resource request message.
Further, above-mentioned common service entity also has feature below:
Described update module, specifically for as described in comprise value in renewal advertisement resource request message and be set to empty attribute, then check in described advertisement resource whether comprise this attribute, if comprised, then delete this attribute.
Further, above-mentioned common service entity also has feature below:
Described update module, if be not included in described renewal advertisement resource request message specifically for the attribute in described advertisement resource, then deletes this attribute in described advertisement resource.
Further, above-mentioned common service entity also has feature below: also comprise creation module,
Described receiver module, also for receiving the establishment advertisement resource request message that local common service entity sends;
Described creation module, for according to the information in described establishment advertisement resource request message, creates advertisement resource and arranges advertisement resource attribute.
Further, above-mentioned common service entity also has feature below:
Described establishment advertisement resource request message comprises: the optional attribute that the attribute noticed of described local common service entity local resource does not comprise, and the value of this optional attribute is empty.
Further, above-mentioned common service entity also has feature below:
Described creation module, specifically for create specify but be not included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
To sum up, the invention provides method and common service entity that a kind of resource notices management, by the mode of synchronized update, advertisement resource and source material can be made to be consistent, solve the problem that can not cause obtaining the source material different from expection to the inquiry of advertisement resource, by parameter, the attribution notices that allows to specify is set in advertisement resource, and can, to the attribute modification allowing to notice, makes source material owner can configure advertisement resource more flexibly.
Accompanying drawing explanation
Fig. 1 is existing M2M system architecture diagram;
Fig. 2 is the flow chart of the method for the resource notice management of one embodiment of the invention;
Fig. 3 is the schematic diagram of the CSE of one embodiment of the invention;
Fig. 4 is the flow chart of the method for a kind of resource notice management of another embodiment of the present invention;
Fig. 5 is the flow chart of the long-range CSE establishment association attributes of the embodiment of the present invention;
Fig. 6 is the schematic diagram of the CSE of another embodiment of the present invention.
Embodiment
For making the object, technical solutions and advantages of the present invention clearly understand, hereinafter will be described in detail to embodiments of the invention by reference to the accompanying drawings.It should be noted that, when not conflicting, the embodiment in the application and the feature in embodiment can combination in any mutually.
Fig. 2 is the flow chart of the method for the resource notice management of one embodiment of the invention, and as shown in Figure 2, the method for the present embodiment comprises the following steps:
S11, local CSE receive the renewal resource request message that application entity sends, and comprise attribute to be updated in described renewal resource request message;
S12, described local CSE upgrade advertisement resource request message according to the information architecture upgrading resource request message;
In a preferred embodiment, local CSE checks the attribute (attribute generally comprises the title of attribute and the value of attribute) needing the attribute upgraded whether to be " search label " or to comprise in " can notice attribute ", if so, then this attribute kit is contained in the request of renewal advertisement resource;
In a preferred embodiment, local CSE checks and needs whether the attribute upgraded is " can notice attribute ", if, then compare the attribute of resource " application " on " can attribute be noticed " in the renewal resource request message that AE sends and local CSE and " can attribute be noticed ", if comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute do not comprised during the attribute of resource " application " " can notice attribute " on local CSE, be then included in the value of these attributes and upgrade in advertisement resource request message; If do not comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute comprised during the attribute of resource " application " " can notice attribute " on local CSE, then the value of these attributes is set to sky, is included in and upgrades in advertisement resource request message; Or, the attribute kit comprised is contained in upgrades in advertisement resource request message in " can notice attribute " parameter upgraded in resource request.
Described renewal advertisement resource request message is sent to long-range CSE by S13, described local CSE.
Local CSE " can be communicated to " according to the attribute of resource " application ", sends and upgrades advertisement resource request message to long-range CSE.
In a preferred embodiment, local CSE according to the information in described renewal advertisement resource request message, can also upgrade the attribute of local resource application.
Fig. 3 is the schematic diagram of the CSE of one embodiment of the invention, and as shown in Figure 3, the CSE of the present embodiment, as local CSE, can comprise:
Receiver module, for receiving the renewal resource request message that application entity sends, comprises attribute to be updated in described renewal resource request message;
Build module, for upgrading advertisement resource request message according to the information architecture upgrading resource request message;
Sending module, for sending to long-range common service entity by described renewal advertisement resource request message.
Wherein, described structure module, specifically may be used for if attribute to be updated as described in checking is that search label maybe can notice the attribute comprised in attribute, then builds and upgrading advertisement resource request message, attribute kit to be updated is contained in described renewal advertisement resource request message.
Wherein, described structure module, specifically may be used for if attribute to be updated as described in checking is for can notice attribute, then build and upgrade advertisement resource request message, the attribute noticed that described attribute to be updated and local resource are applied is compared, to comprise in described attribute to be updated but in the attribute noticed of local resource application, the attribute kit that do not comprise is contained in described renewal advertisement resource request message, to not comprise in described attribute to be updated but the value of attribute comprised in the attribute noticed of local resource application is included in described renewal advertisement resource request message after being set to sky, or the attribute kit that described attribute kit to be updated contains is contained in described renewal advertisement resource request message.
In a preferred embodiment, the CSE of the present embodiment can also comprise:
Update module, may be used for entity according to the information in described renewal advertisement resource request message, upgrades the attribute of local resource application.
Fig. 4 is the flow chart of the method for a kind of resource notice management of another embodiment of the present invention, and as shown in Figure 4, the method for the present embodiment comprises the following steps:
S21, long-range CSE receive the renewal advertisement resource request message that local CSE sends;
S22, described long-range CSE, according to the information in described renewal advertisement resource request message, upgrade the attribute of the advertisement resource on this CSE.
In a preferred embodiment, the value of attribute in advertisement resource is set to the value upgrading corresponding attribute in advertisement resource request by long-range CSE.
In a preferred embodiment, comprise if upgraded in advertisement resource request the attribute do not created in advertisement resource, long-range CSE then creates this attribute, and value is set to the value upgrading this attribute of advertisement resource request;
Comprise if upgraded in advertisement resource request the attribute that value is set to sky, long-range CSE then checks in advertisement resource whether comprise this attribute, if comprised, then deletes this attribute.
In a preferred embodiment, upgrade in advertisement resource request if the attribute of advertisement resource is not included in, long-range CSE then deletes this attribute in advertisement resource.
In step S21, before long-range CSE receives the renewal advertisement resource request message of local CSE transmission, long-range CSE needs to create relevant attribute in advance, and the embodiment of the present invention also provides a kind of flow process of long-range CSE establishment association attributes, as shown in Figure 5, the method for the present embodiment comprises the following steps:
S201, long-range CSE receive the establishment advertisement resource request message that local CSE sends;
S202, described long-range CSE, according to the information in described establishment advertisement resource request message, create advertisement resource and arrange advertisement resource attribute.
Wherein, described establishment advertisement resource request message comprises: the optional attribute that the attribute noticed of described local CSE local resource does not comprise, and the value of this optional attribute is empty.
In a preferred embodiment, described long-range CSE can create preassigned but not be included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
Fig. 6 is the schematic diagram of the CSE of another embodiment of the present invention, and as shown in Figure 6, the CSE of the present embodiment, as long-range CSE, can comprise:
Receiver module, for receiving the renewal advertisement resource request message of specifying common service entity to send;
Update module, for according to the information in described renewal advertisement resource request message, upgrades the attribute of the advertisement resource on this common service entity.
Wherein, described update module, specifically may be used for the value value of the attribute of described advertisement resource being set to corresponding attribute in described renewal advertisement resource request message.
Wherein, described update module, specifically may be used for as described in comprise in renewal advertisement resource request message as described in the attribute that do not create in advertisement resource, then create this attribute, and the value of this attribute be set to the value of corresponding attribute in described renewal advertisement resource request message.
Wherein, described update module, specifically may be used for as described in comprise value in renewal advertisement resource request message and be set to empty attribute, then check in described advertisement resource whether comprise this attribute, if comprised, then delete this attribute.
Wherein, described update module, if the attribute that specifically may be used in described advertisement resource is not included in described renewal advertisement resource request message, then deletes this attribute in described advertisement resource.
In a preferred embodiment, the long-range CSE of the present embodiment can also comprise, creation module,
Described receiver module, also for receiving the establishment advertisement resource request message that local common service entity sends;
Described creation module, for according to the information in described establishment advertisement resource request message, creates advertisement resource and arranges advertisement resource attribute.
Wherein, described establishment advertisement resource request message comprises: the optional attribute that the attribute noticed of described local common service entity local resource does not comprise, and the value of this optional attribute is empty.
In a preferred embodiment, described creation module, specifically may be used for creating specify but be not included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
With several specific embodiment, the method that resource of the present invention notices management is described in detail below.
Embodiment is supposed: local CSE and long-range CSE registers mutually.In the embodiment of the present invention, attribute comprises essential attribute and optional attribute, and such as " search label " is essential attribute, refers to the attribute that must comprise in advertisement resource; " Apply Names " and " application identities " is optional attribute, refers to can to comprise in advertisement resource, the attribute that also can not comprise.
Embodiment one::
Step 101, application entity AE send establishing resource request to local CSE, comprise in establishing resource request:
1) label is searched for: the keyword can searching for this resource, such as, be set to " TV ";
2) target is noticed: need the target CS E be communicated to, such as, be set to " address of long-range CSE ";
3) attribute can be noticed: in advertisement resource, need the attribute arranged, such as, be set to " Apply Names ";
4) Apply Names: be such as set to " Smart Home ".
Step 102, local CSE are application entity AE establishing resource " application ", and resource " application " comprises with properties:
1) label is searched for: " TV ";
2) be communicated to;
3) attribute can be noticed: " Apply Names ";
4) Apply Names: " Smart Home ";
5) application identities: distributed when establishing resource by local CSE in the present embodiment, such as, be set to " 0001 ".
Step 103, local CSE, according to " notice target " parameter, send and create advertisement resource request to long-range CSE, create in advertisement resource request and comprise:
1) label is searched for: " TV ";
2) Apply Names: " Smart Home ";
3) resource address: the address of resource " application ";
Can also comprise (also can not comprise):
4) application identities: be set to sky.
After step 104, long-range CSE receive and create advertisement resource request, create advertisement resource " application is noticed ", arrange as properties:
1) label is searched for: " TV ";
2) source material address: the address of resource " application " on local resource;
3) Apply Names: " Smart Home ";
4) application identities: be set to sky.
Step 105, long-range CSE send response message to local CSE, comprise the address of advertisement resource " application is noticed " in response message;
The address of " application is noticed " comprises address and the relative address of this resource in long-range CSE inside of long-range CSE.
During the attribute that the address of the advertisement resource " application notice " in the response message received is saved in resource " application " by step 106, local CSE " is communicated to ".
Step 107, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) label is searched for: " TV, Haier ".
Step 108, local CSE check the attribute needing the attribute upgraded whether to be " search label " or to comprise in " can notice attribute ", if so, then this attribute kit are contained in and upgrade in advertisement resource request.
Step 109, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 110, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, according to the information in request message, upgrade the attribute of long-range CSE advertisement resource, the attribute " search label " of advertisement resource " application is noticed " is set to " TV, Haier ".
Step 111, local CSE also need the attribute of the renewal resource request message that sends according to AE more new resources " application " simultaneously.
Step 112, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) Apply Names: " intelligent television ".
Step 113, local CSE check and need whether the attribute upgraded is the attribute comprised in " can notice attribute ", if so, then this attribute kit are contained in and upgrade in advertisement resource request.
Step 114, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 115, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, according to the information in request message, upgrade the attribute of long-range CSE advertisement resource, the attribute " Apply Names " of advertisement resource " application is noticed " is set to " intelligent television ".
Step 116, local CSE also need the attribute of the renewal resource request message that sends according to AE more new resources " application " simultaneously.
Step 117, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) can advertisement resource: " application identities ".
Step 118, local CSE check and need whether the attribute upgraded is " can notice attribute ", if so, then compare the attribute of resource " application " on " can notice attribute " in the renewal resource request message that AE sends and local CSE and " can notice attribute ",
If comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute do not comprised during the attribute of resource " application " " can notice attribute " on local CSE, then the value of these attributes is included in and upgrades in advertisement resource request message;
If do not comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute comprised during the attribute of resource " application " " can notice attribute " on local CSE, then the value of these attributes is set to sky, is included in and upgrades in advertisement resource request message.
Such as, comprising parameter in the present embodiment request message is:
1) application identities: 00001;
2) Apply Names: empty.
Step 119, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 120, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, according to the information in request message, upgrade the attribute of long-range CSE advertisement resource, the attribute " application identities " of advertisement resource " application is noticed " is set to 00001, and attribute " Apply Names " is set to sky.
After step 121, long-range CSE successfully upgrade, send response message to local CSE, comprise in response message:
1) instruction be updated successfully; Or
1) instruction be updated successfully;
2) attribute noticed: be included in that advertisement resource is worth not is empty attribute, but do not comprise " search label " and " source material address ".
After step 122, local CSE receive the response message of long-range CSE,
If only comprise the instruction be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " can notice attribute " in the renewal resource request that sends of AE;
If comprise the instruction be updated successfully and the attribute be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " attribute of notice " in response message.
Embodiment two:
Step 201, application entity AE send establishing resource request to local CSE, comprise in establishing resource request:
1) label is searched for: the keyword can searching for this resource, such as, be set to " TV ";
2) target is noticed: need the target CS E be communicated to, such as, be set to " address of long-range CSE ";
3) attribute can be noticed: in advertisement resource, need the attribute arranged, such as, be set to " Apply Names ";
4) Apply Names: be such as set to " Smart Home ".
Step 202, local CSE are application entity AE establishing resource " application ", and resource " application " comprises with properties:
1) label is searched for: " TV ";
2) be communicated to;
3) attribute can be noticed: " Apply Names ";
4) Apply Names: " Smart Home ";
5) application identities: distributed when establishing resource by local CSE in the present embodiment, such as, be set to " 0001 ".
Step 203, local CSE, according to " notice target " parameter, send and create advertisement resource request to long-range CSE, create in advertisement resource request and comprise:
1) label is searched for: " TV ";
2) Apply Names: " Smart Home ";
3) resource address: the address of resource " application ".
After step 204, long-range CSE receive and create advertisement resource request, create advertisement resource " application is noticed ", arrange as properties:
1) label is searched for: " TV ";
2) source material address: the address of resource " application " on local resource;
3) Apply Names: " Smart Home ".
Step 205, long-range CSE send response message to local CSE, comprise the address of advertisement resource " application is noticed " in response message;
The address of " application is noticed " comprises address and the relative address of this resource in long-range CSE inside of long-range CSE.
During the attribute that the address of the advertisement resource " application notice " in the response message received is saved in resource " application " by step 206, local CSE " is communicated to ".
Step 207, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) label is searched for: " TV, Haier ".
Step 208, local CSE check the attribute needing the attribute upgraded whether to be " search label " or to comprise in " can notice attribute ", if so, then this attribute kit are contained in and upgrade in advertisement resource request.
Step 209, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 210, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, according to the information in request message, upgrade the attribute of long-range CSE advertisement resource, the attribute " search label " of advertisement resource " application is noticed " is set to " TV, Haier ".
Step 211, local CSE also need the attribute of the renewal resource request message that sends according to AE more new resources " application " simultaneously.
Step 212, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) Apply Names: " intelligent television "
Step 213, local CSE check and need whether the attribute upgraded is the attribute comprised in " can notice attribute ", if so, then this attribute kit are contained in and upgrade in advertisement resource request.
Step 214, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 215, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, according to the information in request message, upgrade the attribute of long-range CSE advertisement resource, the attribute " Apply Names " of advertisement resource " application is noticed " is set to " intelligent television ".
Step 216, local CSE also need the attribute of the renewal resource request message that sends according to AE more new resources " application " simultaneously.
Step 217, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) can advertisement resource: " application identities ".
Step 218, local CSE check and need whether the attribute upgraded is " can notice attribute ", if so, then compare the attribute of resource " application " on " can notice attribute " in the renewal resource request message that AE sends and local CSE and " can notice attribute ":
If comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute do not comprised during the attribute of resource " application " " can notice attribute " on local CSE, then the value of these attributes is included in and upgrades in advertisement resource request message;
If do not comprised in " can attribute be noticed " in the renewal resource request message that AE sends, but the attribute comprised during the attribute of resource " application " " can notice attribute " on local CSE, then the value of these attributes is set to sky, is included in and upgrades in advertisement resource request message.
Such as, comprising parameter in the present embodiment request message is:
1) application identities: 00001;
2) Apply Names: empty.
Step 219, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 220, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, check in the attribute of advertisement resource " application is noticed " and whether comprise " application identities " and Apply Names, if there is the attribute do not comprised in advertisement resource " application is noticed ", such as " application identities ", then long-range CSE creates attribute " application identities " in advertisement resource " application is noticed ", and its value is set to upgrade the value in advertisement resource request message, i.e. " 0001 ";
Long-range CSE also checks in advertisement resource " application is noticed " whether comprise " Apply Names ", if comprised, and " Apply Names " upgraded in advertisement resource request is set to sky, then delete this attribute.
After step 221, long-range CSE successfully upgrade, send response message to local CSE, comprise in response message:
1) instruction be updated successfully; Or
1) instruction be updated successfully;
2) attribute noticed: be included in that advertisement resource is worth not is empty attribute, but do not comprise " search label " and " source material address ", such as the present embodiment is " application identities ";
After step 222, local CSE receive the response message of long-range CSE,
If only comprise the instruction be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " can notice attribute " in the renewal resource request that sends of AE;
If comprise the instruction be updated successfully and the attribute be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " attribute of notice " in response message.
Embodiment three
Step 301, application entity AE send establishing resource request to local CSE, comprise in establishing resource request:
1) label is searched for: the keyword can searching for this resource, such as, be set to " TV ";
2) target is noticed: need the target CS E be communicated to, such as, be set to " address of long-range CSE ";
3) attribute can be noticed: in advertisement resource, need the attribute arranged, such as, be set to " Apply Names ";
4) Apply Names: be such as set to " Smart Home ".
Step 302, local CSE are application entity AE establishing resource " application ", and resource " application " comprises with properties:
1) label is searched for: " TV ";
2) be communicated to;
3) attribute can be noticed: " Apply Names ";
With properties be optional attribute:
4) Apply Names: " Smart Home ";
5) application identities: distributed when establishing resource by local CSE in the present embodiment, such as, be set to " 0001 ".
Step 303, local CSE, according to " notice target " parameter, send and create advertisement resource request to long-range CSE, create in advertisement resource request and comprise:
1) label is searched for: " TV ";
2) Apply Names: " Smart Home ";
3) resource address: the address of resource " application ";
After step 304, long-range CSE receive and create advertisement resource request, create advertisement resource " application is noticed ", arrange as properties:
1) label is searched for: " TV ";
2) source material address: the address of resource " application " on local resource;
3) Apply Names: " Smart Home ".
Step 305, long-range CSE send response message to local CSE, comprise the address of advertisement resource " application is noticed " in response message;
The address of " application is noticed " comprises address and the relative address of this resource in long-range CSE inside of long-range CSE.
During the attribute that the address of the advertisement resource " application notice " in the response message received is saved in resource " application " by step 306, local CSE " is communicated to ".
Step 317, AE send and upgrade resource request message to local CSE, upgrade in resource request message the attribute comprising needs and upgrade:
1) can advertisement resource: " application identities ".
Step 318, local CSE check and need whether the attribute upgraded is " can notice attribute ", and if so, then the attribute kit comprised in " can notice attribute " parameter upgraded in resource request be contained in and upgrade in advertisement resource request message, such as the present embodiment is:
1) can advertisement resource: " application identities ".
Step 319, local CSE " are communicated to " according to the attribute of resource " application ", send and upgrade advertisement resource request message to long-range CSE.
After step 320, long-range CSE receive the renewal advertisement resource request message of local CSE transmission, check in the attribute of advertisement resource " application is noticed " and whether comprise " application identities ", if there is the attribute do not comprised in advertisement resource " application is noticed ", such as " application identities ", then long-range CSE creates attribute " application identities " in advertisement resource " application is noticed ", and its value is set to upgrade the value in advertisement resource request message, i.e. " 0001 ";
Long-range CSE also checks whether " Apply Names " in advertisement resource " application is noticed " is included in and upgrades in advertisement resource request, if do not comprised, and, then this attribute is deleted.
After step 321, long-range CSE successfully upgrade, send response message to local CSE, comprise in response message:
1) instruction be updated successfully; Or
1) instruction be updated successfully;
2) attribute noticed: be included in that advertisement resource is worth not is empty attribute, but do not comprise " search label " and " source material address ", such as the present embodiment is " application identities ";
After step 322, local CSE receive the response message of long-range CSE,
If only comprise the instruction be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " can notice attribute " in the renewal resource request that sends of AE;
If comprise the instruction be updated successfully and the attribute be updated successfully in response message, then the value of Update attribute " can advertisement resource " is the value of " attribute of notice " in response message.
The all or part of step that one of ordinary skill in the art will appreciate that in said method is carried out instruction related hardware by program and is completed, and described program can be stored in computer-readable recording medium, as read-only memory, disk or CD etc.Alternatively, all or part of step of above-described embodiment also can use one or more integrated circuit to realize.Correspondingly, each module/unit in above-described embodiment can adopt the form of hardware to realize, and the form of software function module also can be adopted to realize.The present invention is not restricted to the combination of the hardware and software of any particular form.
These are only the preferred embodiments of the present invention; certainly; the present invention also can have other various embodiments; when not deviating from the present invention's spirit and essence thereof; those of ordinary skill in the art are when making various corresponding change and distortion according to the present invention, but these change accordingly and are out of shape the protection range that all should belong to the claim appended by the present invention.

Claims (25)

1. resource notices a method for management, comprising:
Local common service entity receives the renewal resource request message that application entity sends, and comprises attribute to be updated in described renewal resource request message;
Described local common service entity upgrades advertisement resource request message according to the information architecture in described renewal resource request message;
Described renewal advertisement resource request message is sent to long-range common service entity by described local common service entity.
2. the method for claim 1, is characterized in that: described local common service entity upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
Described local common service entity is that search label maybe can notice the attribute comprised in attribute as attribute to be updated as described in checking, then described attribute kit to be updated be contained in described renewal advertisement resource request message.
3. the method for claim 1, is characterized in that: described local common service entity upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
Described local common service entity is if attribute to be updated as described in checking is for can notice attribute, then the attribute noticed of described attribute to be updated and local resource is compared, to comprise in described attribute to be updated but the attribute kit do not comprised in the attribute noticed of local resource is contained in described renewal advertisement resource request message, will not comprise in described attribute to be updated but the value of the attribute comprised in the attribute noticed of local resource is included in described renewal advertisement resource request message after being set to sky.
4. the method for claim 1, is characterized in that: described local common service entity upgrades advertisement resource request message according to the information architecture upgraded in resource request message, comprising:
The attribute kit that described attribute kit to be updated contains if attribute to be updated as described in checking is for can notice attribute, is then contained in described renewal advertisement resource request message by described local common service entity.
5. the method as described in any one of claim 1-4, is characterized in that: described local common service entity also comprises after receiving the renewal resource request message of application entity transmission:
Described local common service entity, according to the information in described renewal advertisement resource request message, upgrades the attribute of local resource application.
6. resource notices a method for management, comprising:
Long-range common service entity receives the renewal advertisement resource request message that local common service entity sends;
Described long-range common service entity, according to the information in described renewal advertisement resource request message, upgrades the attribute of the advertisement resource on this common service entity.
7. method as claimed in claim 6, is characterized in that: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
The value of the attribute of described advertisement resource is set to the value of corresponding attribute in described renewal advertisement resource request message by described long-range common service entity.
8. method as claimed in claim 6, is characterized in that: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
As described in comprise in renewal advertisement resource request message as described in the attribute that do not create in advertisement resource, described long-range common service entity then creates this attribute, and the value of this attribute is set to the value of corresponding attribute in described renewal advertisement resource request message.
9. method as claimed in claim 6, is characterized in that: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
As described in comprise value in renewal advertisement resource request message and be set to empty attribute, described long-range common service entity then checks in described advertisement resource whether comprise this attribute, if comprised, then deletes this attribute.
10. method as claimed in claim 6, is characterized in that: described long-range common service entity upgrades the attribute of the advertisement resource on this common service entity, comprising:
If the attribute in described advertisement resource is not included in described renewal advertisement resource request message, described long-range common service entity then deletes this attribute in described advertisement resource.
11. methods as described in any one of claim 6-10, is characterized in that: described long-range common service entity also comprises before receiving the renewal advertisement resource request message that local common service entity sends:
Described long-range common service entity receives the establishment advertisement resource request message that local common service entity sends;
Described long-range common service entity, according to the information in described establishment advertisement resource request message, creates advertisement resource and arranges advertisement resource attribute.
12. methods as claimed in claim 11, is characterized in that: described establishment advertisement resource request message comprises:
The optional attribute that the attribute noticed of described local common service entity local resource does not comprise, and the value of this optional attribute is empty.
13. methods as claimed in claim 11, is characterized in that: described long-range common service entity set-up advertisement resource also arranges advertisement resource attribute and comprises:
That described long-range common service entity set-up is specified but be not included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
14. 1 kinds of common service entities, is characterized in that, comprising:
Receiver module, for receiving the renewal resource request message that application entity sends, comprises attribute to be updated in described renewal resource request message;
Build module, for upgrading advertisement resource request message according to the information architecture in described renewal resource request message;
Sending module, for sending to long-range common service entity by described renewal advertisement resource request message.
15. common service entities as claimed in claim 14, is characterized in that:
Described structure module, specifically for being that search label maybe can notice the attribute comprised in attribute as attribute to be updated as described in checking, is then contained in described attribute kit to be updated in described renewal advertisement resource request message.
16. common service entities as claimed in claim 14, is characterized in that:
Described structure module, specifically for if attribute to be updated as described in checking is for can notice attribute, then the attribute noticed that described attribute to be updated and local resource are applied is compared, to comprise in described attribute to be updated but in the attribute noticed of local resource application, the attribute kit that do not comprise is contained in described renewal advertisement resource request message, will not comprise in described attribute to be updated but the value of the attribute comprised in the attribute noticed of local resource application is included in described renewal advertisement resource request message after being set to sky; Or the attribute kit that described attribute kit to be updated contains is contained in described renewal advertisement resource request message.
17. common service entities as described in any one of claim 14-16, is characterized in that: also comprise:
Update module, for entity according to the information in described renewal advertisement resource request message, upgrades the attribute of local resource application.
18. 1 kinds of common service entities, is characterized in that, comprising:
Receiver module, for receiving the renewal advertisement resource request message of specifying common service entity to send;
Update module, for according to the information in described renewal advertisement resource request message, upgrades the attribute of the advertisement resource on this common service entity.
19. common service entities as claimed in claim 18, is characterized in that:
Described update module, the value specifically for the attribute by described advertisement resource is set to the value of corresponding attribute in described renewal advertisement resource request message.
20. common service entities as claimed in claim 18, is characterized in that:
Described update module, specifically for as described in comprise in renewal advertisement resource request message as described in the attribute that do not create in advertisement resource, then create this attribute, and the value of this attribute be set to the value of corresponding attribute in described renewal advertisement resource request message.
21. common service entities as claimed in claim 18, is characterized in that:
Described update module, specifically for as described in comprise value in renewal advertisement resource request message and be set to empty attribute, then check in described advertisement resource whether comprise this attribute, if comprised, then delete this attribute.
22. common service entities as claimed in claim 18, is characterized in that:
Described update module, if be not included in described renewal advertisement resource request message specifically for the attribute in described advertisement resource, then deletes this attribute in described advertisement resource.
23. common service entities as described in any one of claim 18-22, is characterized in that: also comprise creation module,
Described receiver module, also for receiving the establishment advertisement resource request message that local common service entity sends;
Described creation module, for according to the information in described establishment advertisement resource request message, creates advertisement resource and arranges advertisement resource attribute.
24. common service entities as claimed in claim 23, is characterized in that:
Described establishment advertisement resource request message comprises: the optional attribute that the attribute noticed of described local common service entity local resource does not comprise, and the value of this optional attribute is empty.
25. common service entities as claimed in claim 23, is characterized in that:
Described creation module, specifically for create specify but be not included in the optional attribute created in advertisement resource request message, and this optional attribute value is set to sky.
CN201410105600.4A 2014-03-20 2014-03-20 Resource notification management method and public service entity Pending CN104936199A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410105600.4A CN104936199A (en) 2014-03-20 2014-03-20 Resource notification management method and public service entity
PCT/CN2014/077876 WO2015139364A1 (en) 2014-03-20 2014-05-20 Resource notification management method and common service entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410105600.4A CN104936199A (en) 2014-03-20 2014-03-20 Resource notification management method and public service entity

Publications (1)

Publication Number Publication Date
CN104936199A true CN104936199A (en) 2015-09-23

Family

ID=54123102

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410105600.4A Pending CN104936199A (en) 2014-03-20 2014-03-20 Resource notification management method and public service entity

Country Status (2)

Country Link
CN (1) CN104936199A (en)
WO (1) WO2015139364A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426667A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 Update method and device, CSE, oneM2M system of Resource Properties
CN108206985A (en) * 2017-09-04 2018-06-26 中兴通讯股份有限公司 Method, apparatus, equipment and the computer storage media of management attribute notice

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3523990B1 (en) * 2016-10-06 2022-12-07 Convida Wireless, LLC Service layer mobility management of applications

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395602A (en) * 2005-12-29 2009-03-25 亚马逊科技公司 Method and apparatus for a distributed file storage and indexing service
CN102082821A (en) * 2010-12-08 2011-06-01 北京航空航天大学 Method and system for safely accessing cross-resource pool resources based on federal center
CN102377803A (en) * 2010-08-12 2012-03-14 华为技术有限公司 Data processing method, device and system
CN103200209A (en) * 2012-01-06 2013-07-10 华为技术有限公司 Access method of member resources, group server and member devices
CN103299601A (en) * 2010-11-19 2013-09-11 交互数字专利控股公司 Machine-to-machine (M2M) interface procedures for announce and de-announce of resources
CN103618800A (en) * 2013-12-05 2014-03-05 华为技术有限公司 Method and device for achieving subscription informing

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102724112B (en) * 2012-05-31 2015-03-25 华为技术有限公司 Transmission method, receiving terminal equipment and system based on TCP (transmission control protocol)

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101395602A (en) * 2005-12-29 2009-03-25 亚马逊科技公司 Method and apparatus for a distributed file storage and indexing service
CN102377803A (en) * 2010-08-12 2012-03-14 华为技术有限公司 Data processing method, device and system
CN103299601A (en) * 2010-11-19 2013-09-11 交互数字专利控股公司 Machine-to-machine (M2M) interface procedures for announce and de-announce of resources
CN102082821A (en) * 2010-12-08 2011-06-01 北京航空航天大学 Method and system for safely accessing cross-resource pool resources based on federal center
CN103200209A (en) * 2012-01-06 2013-07-10 华为技术有限公司 Access method of member resources, group server and member devices
CN103618800A (en) * 2013-12-05 2014-03-05 华为技术有限公司 Method and device for achieving subscription informing

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107426667A (en) * 2016-05-24 2017-12-01 中兴通讯股份有限公司 Update method and device, CSE, oneM2M system of Resource Properties
CN107426667B (en) * 2016-05-24 2021-08-24 中兴通讯股份有限公司 Resource attribute updating method and device, CSE (common service entity) and oneM2M system
CN108206985A (en) * 2017-09-04 2018-06-26 中兴通讯股份有限公司 Method, apparatus, equipment and the computer storage media of management attribute notice

Also Published As

Publication number Publication date
WO2015139364A1 (en) 2015-09-24

Similar Documents

Publication Publication Date Title
US11716669B2 (en) Internet of things service routing method
CN108024270B (en) Information sending method, unit and system
CN102355500B (en) Service push method and device
US10270811B2 (en) Security domain management method, apparatus, and system
CN104219127A (en) Creation method and device of virtual network instance
CN104838618A (en) Method and apparatus for authenticating access authorization in wireless communication system
CN111460506A (en) Data access control method and device
US10148739B2 (en) M2M data querying and invoking methods, querying and invoking devices, and system
CN104618312A (en) Remote registration method, device and system for M2M (Machine-to-Machine) application
CN105282682A (en) Method for realizing resource attribute announcement and common service entity
CN104683968A (en) Machine type communication application resource management method, node and system
CN109729183A (en) Request processing method, device, equipment and storage medium
CN112105009A (en) Device discovery and Bluetooth broadcasting method, device, electronic device and storage medium
CN104936199A (en) Resource notification management method and public service entity
CN105491507A (en) Method and registration node for managing application resources in M2M (Machine to Machine) communication
CN108391299B (en) Method for removing isolated node in Mesh network
CN105281941A (en) Data transmission method, first CSE, intermediate CSE, and second CSE
CN114115939A (en) Firmware upgrading method and device, electronic equipment and storage medium
CN105282728A (en) Method for deleting notification resource and common service entity
CN104954462A (en) High-concurrency extensible smart home communication method and high-concurrency extensible smart home communication system
CN113067844B (en) Service discovery method and device and HNRF
CN109962834B (en) Information processing method, system, terminal and computer storage medium
US20230254381A1 (en) Service Request Handling
CN106550349B (en) Management method, server and the service node of subscription data based on group
CN113973294B (en) Signaling processing method, network warehouse function network element and communication 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
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150923