Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those skilled in the art obtain, belong to the scope of protection of the invention.
Referring to accompanying drawing 2, is the method flow schematic diagram of group's resource interaction message of providing of the embodiment of the present invention.The method of accompanying drawing 2 examples mainly comprises that step S201, to step S205, is described in detail as follows:
S201, the main service ability layer of group management receives the operation requests message that operation requests initiator Issuer sends.
Under the RESTful framework, on network, all things all are conceptualized as resource, and member resource is any one resource in the set that forms of all resources, the corresponding unique resource identification of each member resource.Resource is not the index certificate, but data+specific form of expression (representation).For example, " three best books of this month sales volume " and " your favorite three books " may be overlapping even identical on data, but, due to both specific form of expression difference, are therefore two different resources.As previously mentioned, the object that participates in interaction message in the RESTful framework generally comprises operation requests initiator (Issuer), the main service ability layer of group management (Group Hosting Service Capability Layer, GHSCL) and member resource (Member Resources, MR), wherein, GHSCL forwards the operation requests that Issuer initiates, and member resource is the specific actor of this operation requests operation of asking.
S202, the main service ability layer of group management is given each member resource by the operation requests message distribution, and receives the response message of described operation requests message.
For various reasons, member resource does not guarantee that the operation that each operation requests of all Issuer being initiated is asked can successful execution.In embodiments of the present invention, the response message of the operation requests message that GHSCL receives can be to receive the operation that the operation requests initiator is asked to carry out the response message that failed member resource returns, and can be also to receive the response message that member resource that operation that the operation requests initiator is asked runs succeeded returns.
S203, the main service ability layer of group management generates the record identification of member resource list and operation requests message according to response message, and failed member resource is carried out in the operation that described member resource list records is asked operation requests message.
If it is to receive the operation that the operation requests initiator is asked to carry out the response message that failed member resource returns that the main service ability layer GHSCL of group management receives the response message of operation requests message,, as one embodiment of the invention, the record identification that GHSCL generates member resource list and operation requests message according to response message comprises S2031 to S2033:
S2031 creates subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures.
S2032 creates new group resource or is addressed to new group resource according to group mobilize resources Uniform Resource Identifier under described subgroup resource, wherein, comprises the list of sky member resource under new group resource.
As previously mentioned, the RESTful framework is to take resource as core, and the structure of group (group) resource as shown in Figure 1.From prior art, only according to the structure of the group resource of accompanying drawing 1 example, to manage member resource different, in embodiments of the present invention, the structure of group resource that can be by changing accompanying drawing 1 example is managed member resource, mode one is to have introduced subgroup (subgroups) resource, can under current group of resource structures, create the subgroup resource, then, create new group resource under described subgroup resource.Created new group resource under the subgroup resource after, its group resource structures is as shown in accompanying drawing 3-a, wherein, the member resource list of round rectangle square frame example (memberID list) is empty table when creating new group resource, and failed member resource is carried out in the operation that can ask operation requests message for record afterwards.Another kind of mode is to create new group resource, but this new group resource is not directly to hang under current group of resource structures, but by under current group of resource structures, add a group (groups) attribute organize the mobilize resources Uniform Resource Identifier (groups ' Uniform Resource Identifier, groups ' URI) attribute, can find the groups resource that is responsible for the maintenance service of current group of Resource Supply recorded information by this groups ' URI addressing; Owing to having created new group resource under the groups resource structures, therefore, be equivalent to be addressed to new group resource according to described groups ' URI, as similar as last mode, member resource list (memberID list) under this new group resource is empty table when creating new group resource, and failed member resource is carried out in the operation that can ask operation requests message for record afterwards; Add group resource structures after groups ' URI attribute and corresponding groups resource structures under current group of resource structures as shown in accompanying drawing 3-b.
S2033, the member resource that returns to response message after the operation that will ask the operation requests initiator is carried out unsuccessfully is added into the record identification that the list of sky member resource generates member resource list generating run request message.
The record identification of operation requests message (Record Identity, RI) comprises the batch operation recorded information corresponding to this operation requests for the GHSCL sign.The record identification of an operation requests message can be the sequence number carried in an operation requests, can be also that GHSCL generates according to the sequence number of operation requests and the timestamp of batch operation.
If it is to receive the response message that member resource that operation that the operation requests initiator is asked runs succeeded returns that the main service ability layer GHSCL of group management receives the response message of operation requests message,, as one embodiment of the invention, the record identification that GHSCL generates member resource list and operation requests message according to response message comprises S ' 2031 to S ' 2034:
S ' 2031, create subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures.
S ' 2032, create new group resource or be addressed to new group resource according to described group of mobilize resources Uniform Resource Identifier under described subgroup resource, under described new group resource, comprise the list of sky member resource.
The response message that the detailed protocol of S ' 2031 and S ' 2032 receives operation requests message with the main service ability layer GHSCL of group management respectively is that the detailed protocol of S2031 and S2032 is identical when receiving the operation that the operation requests initiator is asked and carrying out the response message that failed member resource returns, and does not do and repeats.
S ' 2033, the member resource that the operation that statistics is asked the operation requests initiator runs succeeded.
S ' 2034, the member resource run succeeded according to the operation that described operation requests initiator is asked, the operation that will ask described operation requests initiator is carried out failed member resource and is added into the record identification that described empty member resource list generates described member resource list and generates described operation requests message.
Because member resource quantity is certain, therefore, when counting the member resource that operation that the operation requests initiator is asked runs succeeded, just failed member resource is carried out in the known operation that described operation requests initiator is asked.Carry out failed member resource once know the operation that described operation requests initiator is asked, the operation that the operation requests initiator is asked can be carried out to failed member resource and be added into the record identification that the list of sky member resource generates described member resource list and generates described operation requests message, method is as suitable as the S2033 of previous embodiment.
S204, the main service ability layer of group management is preserved the record identification of member resource list and operation requests message.
Record identification and member resource list that the main service ability layer of group management is preserved operation requests message can be GHSCL preserves described operation requests message record identification and described member resource lists in this locality, can be also GHSCL using the record identification of described member resource list and described operation requests message as recorded information by with third-party interface, being uploaded to described third party.
S205, the main service ability layer of group management, according to the record identification of member resource list and operation requests message, re-issues operation requests message.
If it is to receive the operation that the operation requests initiator is asked to carry out the response message that failed member resource returns that the main service ability layer GHSCL of group management receives the response message of operation requests message, and, record identification and member resource list that GHSCL preserves operation requests message are GHSCL preserves described operation requests message record identification and described member resource lists in this locality, as one embodiment of the invention, GHSCL is according to the record identification of described member resource list and operation requests message, re-issue described operation requests message and comprise S12051 to S12053:
S12051, receive the operation requests that the operation requests initiator resends, the record identification that the described operation requests resend comprises operation requests message.
S12052, according to the record identification of operation requests message, find the subgroup resource created under current group of resource structures.
In the present embodiment, the subgroup resource created under current group of resource structures is the subgroup resource created in previous embodiment S2031 or S ' 2031.
S12053, carry out failed member resource to the operation that described operation requests message is asked of recording in the member resource list and issue the operation requests that described operation requests initiator resends.
In the present embodiment, the member resource list is the member resource list that in previous embodiment, S2032 or S ' 2032 describes, and has wherein recorded the operation that operation requests message is asked and has carried out failed member resource.
After the operation of the request initiator being asked at member resource is carried out and is unsuccessfully returned to response message, GHSCL is forwarded to operation requests initiator (Issuer) by this response message, carry the record identification (Record Identity, RI) of operation requests message in response message.The operation that Issuer asks the request initiator according to record identification judgement member resource is carried out unsuccessfully, therefore resends operation requests, wherein comprises the record identification (Record Identity, RI) of operation requests message.
If it is to receive the operation that the operation requests initiator is asked to carry out the response message that failed member resource returns that the main service ability layer GHSCL of group management receives the response message of operation requests message, and, record identification and member resource list that GHSCL preserves operation requests message are GHSCL preserves described operation requests message record identification and described member resource lists in this locality, as another embodiment of the present invention, GHSCL is according to the record identification of described member resource list and operation requests message, re-issue described operation requests message and comprise S22051 to S22053:
S22051 starts the timer timing after the operation requests initiator returns to response message, and described response message carries the record identification of operation requests message.
S22052, after the timer timing is full, according to the record identification of operation requests message, find the subgroup resource created under current group of resource structures.
In the present embodiment, the subgroup resource created under current group of resource structures is the subgroup resource created in previous embodiment S2031 or S ' 2031.
S22053, carry out failed member resource to the operation that described operation requests message is asked of recording in described member resource list and issue the operation requests that described operation requests initiator resends.
In the present embodiment, the member resource list is the member resource list that in previous embodiment, S2032 or S ' 2032 describes, and has wherein recorded the operation that operation requests message is asked and has carried out failed member resource.
The response message that the operation execution failure that if the response message of the main service ability layer GHSCL reception of group management operation requests message is reception asks the operation requests initiator or the member resource run succeeded return, and, GHSCL preserve the record identification of operation requests message and member resource list be GHSCL using the record identification of described member resource list and described operation requests message as recorded information by with third-party interface, being uploaded to described third party, as another embodiment of the present invention, GHSCL is according to the record identification of described member resource list and operation requests message, re-issue described operation requests message and comprise S32051 to S32053:
S32051, receive the operation requests that the operation requests initiator resends, the record identification that the described operation requests resend comprises operation requests message.
S32052, according to the record identification of described operation requests message, read recorded information by described and third-party interface.
In the present embodiment, recorded information is in the S204 of accompanying drawing 2 examples, and GHSCL is by being uploaded to the record identification of described third-party member resource list and operation requests message with third-party interface.
S32053, carry out failed member resource to the operation that operation requests message is asked of recording in described member resource list and issue the operation requests that the operation requests initiator resends.
The response message that the operation execution failure that if the response message of the main service ability layer GHSCL reception of group management operation requests message is reception asks the operation requests initiator or the member resource run succeeded return, and, GHSCL preserve the record identification of operation requests message and member resource list be GHSCL using the record identification of described member resource list and described operation requests message as recorded information by with third-party interface, being uploaded to described third party, as another embodiment of the present invention, GHSCL is according to the record identification of described member resource list and operation requests message, re-issue described operation requests message and comprise S42051 to S42053:
S42051 starts the timer timing after the operation requests initiator returns to response message, and described response message carries the record identification of operation requests message.
S42052, after described timer timing is full, according to the record identification of described operation requests message, by with third-party interface, reading described recorded information.
In the present embodiment, recorded information is in the S204 of accompanying drawing 2 examples, and GHSCL is by being uploaded to the record identification of described third-party member resource list and operation requests message with third-party interface.
S42053, carry out failed member resource to the operation that described operation requests message is asked of recording in described member resource list and issue the operation requests that described operation requests initiator resends.
The method of the related news of the interactive operation for group's resource that provide from the invention described above embodiment, after the operation of the operation requests initiator being asked at member resource is carried out unsuccessfully, the main service ability layer of group management generates the record identification of member resource list and operation requests message according to response message, due to the member resource list records operation that operation requests message is asked carry out failed member resource, in the flow process of subsequent retransmissions operation requests, the main service ability layer of group management only carries out to the operation that the operation requests initiator is asked the request that failed member resource re-issues executable operations.From prior art, to re-issue the request of executable operations to all member resources after to the request initiator operation failure of asking different, the operation requests that the method provided due to the embodiment of the present invention is only initiated the operation requests initiator again is distributed to the operation that the request initiator is asked and carries out failed member resource, therefore, the method that the embodiment of the present invention provides has been optimized the management process that the group content is managed, and has improved the efficiency of group operation
。
Referring to accompanying drawing 4-a, is the method flow schematic diagram of safeguarding member resource attribute in group's resource that the embodiment of the present invention provides, and mainly comprises that step Sa401, to step Sa403, is described in detail as follows:
Sa401, the main service ability layer GHSCL of group management receives the operation requests message that operation requests initiator Issuer sends.
Sa402, GHSCL gives each member resource by the operation requests message distribution, and receives the response message of described operation requests message.
Similar with previous embodiment, the response message of the operation requests message that GHSCL receives can be to receive the operation that the operation requests initiator is asked to carry out the response message that failed member resource returns, and can be also to receive the response message that member resource that operation that the operation requests initiator is asked runs succeeded returns.After the response message that the operation of the request initiator being asked at GHSCL reception member resource is returned after carrying out, also comprise: create subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures, create new group resource or be addressed to new group resource according to group set Uniform Resource Identifier (groups ' URI) under the subgroup resource, the operation that to ask the operation requests initiator is carried out failed member resource and is added into record identification (the Record Identity that the list of sky member resource generates member resource list generating run request message, RI), wherein, comprise the list of sky member resource under new group resource.
Sa403, according to response message, maintenance is carried out failed member resource attribute to described operation requests message, the member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message.
In the present embodiment, if the operation that the part member resource is asked the operation requests message re-issued is carried out unsuccessfully,, according to described response message, safeguard that it can be the record identification of upgrading described member resource list and operation requests message that described operation requests message is carried out to failed member resource attribute.If the operation that the member resource of the operation requests message that reception re-issues is all asked the operation requests message re-issued runs succeeded,, according to response message, safeguard that it can be to delete new group resource that operation requests message is carried out to failed member resource attribute.
GHSCL is according to response message, and safeguard that described operation requests message is carried out to failed member resource attribute also to be comprised afterwards: GHSCL, according to the record identification of member resource list and operation requests message, re-issues operation requests message.Particularly:
Sa4031, receive the operation requests that the operation requests initiator resends, the record identification that the described operation requests resend comprises operation requests message (Record Identity, RI).
As previously mentioned, group management main service ability layer (Group Hosting Service Capability Layer, GHSCL) maintenance record identification information.After the operation of the request initiator being asked at member resource is carried out and is unsuccessfully returned to response message, GHSCL is forwarded to operation requests initiator (Issuer) by this response message, carry the record identification (Record Identity, RI) of operation requests message in response message.The operation that Issuer asks the request initiator according to the record identification judgement member resource of operation requests message is carried out unsuccessfully, therefore resends operation requests, wherein comprises the record identification (Record Identity, RI) of operation requests message.
Sa4032, according to the record identification information of operation requests message, find the subgroup resource created under current group of resource structures.
Sa4033, carry out failed member resource to the operation that the operation requests initiator is asked of the member resource list records of safeguarding under the subgroup resource and issue the operation requests resend.
In the above-described embodiments, it is to trigger when receiving the operation requests that the operation requests initiator resends that request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list).The operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and also can be triggered by other conditions, as another embodiment of the present invention, according to the record identification of operation requests message, carry out to the operation that the operation requests initiator is asked of member resource list records the request that failed member resource re-issues executable operations and comprise:
Sa ' 4031, start the timer timing return to the response message of the record identification of carrying operation requests message to the operation requests initiator after.
Sa ' 4032, after the timer timing is full, according to the record identification of operation requests message, find the subgroup resource created under current group of resource structures.
Sa ' 4033, carry out failed member resource to the operation of the operation requests initiator being asked in the member resource list of safeguarding under described subgroup resource and issue the described operation requests resend.
Refer to accompanying drawing 4-b, it is the method flow schematic diagram of group's resource interaction message of providing of the embodiment of the present invention, mainly comprise step Sb401 and step Sb402, its executive agent can be for group's resource group manage main service ability layer (Group Hosting Service Capability Layer, GHSCL), be described in detail as follows:
Sb401, according to the response message of operation requests message, safeguard operation requests message carried out to failed member resource attribute.
Wherein, the member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message.
Sb402, according to the member resource attribute, carry out failed member resource to described operation and re-issue described operation requests message.
For the method that more clearly illustrates that the embodiment of the present invention provides, below with operation requests initiator (Issuer), the main service ability layer of group management (Group Hosting Service Capability Layer, describing for example alternately GHSCL) and between member resource (Member Resources, MR).Referring to accompanying drawing 4-c, is that GHSCL safeguards that when the association attributes of failed member resource is carried out in the operation that the operation requests initiator is asked, the interaction flow schematic diagram between Issuer, GHSCL and MR is described in detail as follows:
S401, Issuer initiates operation requests to GHSCL.
This operation requests is carried out certain operation for Issuer to the member resource request.
S402, GHSCL determines the target member resource of operation requests.
In embodiments of the present invention, after receiving Issuer initiation operation requests, GHSCL carries out the operations such as access authoritychecking, and read root node<group that current group of (group) resource is the group resource structures of accompanying drawing 3 examples > the members property value of resource, to determine the target member resource of the operation requests that Issuer initiates.
S403, GHSCL is distributed to the target member resource by operation requests.
S404, member resource is according to the operation requests executable operations.
S405, member resource returns to response message to GHSCL.
If the target member resource of operation requests is carried out the operation success that this operation requests initiator asks, to GHSCL, return to successful response message, otherwise, return to the response message of failure.
S406, the association attributes of failed member resource is carried out in the operation that the GHSCL maintenance is asked the operation requests initiator.
Particularly, GHSCL is after receiving operation that member resource asks the operation requests initiator to carry out the response message unsuccessfully returned be failed response message, create new group resource under the subgroup resource of the group resource structures of accompanying drawing 3 examples, new group resource comprises the attributes such as record identification (Record identity) of sky member resource list (memberID list) and operation requests message.The member resource that returns to response message after the operation that GHSCL will ask the operation requests initiator is carried out unsuccessfully is added into the record identification that sky member resource list (memberID list) generates member resource list generating run request message, and the record identification of the operation requests message of generation is the property value of the Record Identity of accompanying drawing 3 examples.
S407, the response message that GHSCL returns to member resource converges.
S408, GHSCL forwards to Issuer the response message that member resource returns.
In embodiments of the present invention, the record identification (Record identity) that the response message that GHSCL forwards to Issuer comprises operation requests message.The effect of the record identification of operation requests message is, the record identification whether response message that Issuer can forward according to GHSCL comprises this operation requests message judges whether the operation that all successful execution operation requests initiator asks of all member resources, even response message does not comprise the record identification of this operation requests message, judge the operation that all successful execution operation requests initiator asks of all member resources, otherwise judgement is not all member resource operations that all successful execution operation requests initiator asks, thereby initiate to resend accordingly the flow process of operation requests.
As previously mentioned, it can be also to be triggered completely afterwards by the timer timing that the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), therefore, alternatively, also comprise S ' 408 after S408, GHSCL starts the timer timing.
Refer to accompanying drawing 5, when to be GHSCL carry out failed member resource and re-issue the request of executable operations to the operation that the operation requests initiator is asked of member resource list records according to the record identification of operation requests message, interaction flow schematic diagram between Issuer, GHSCL and MR is described in detail as follows:
S501, GHSCL, according to the record identification of operation requests message, finds the subgroup resource created under current group of resource structures.
GHSCL is finding according to the record identification of operation requests message root node<group that current group of resource is the group resource structures of accompanying drawing 3 examples > after the subgroup resource that creates under structure, read member resource list (memberID list) property value under group resource new under subgroup (subgroups) resource.
As previously mentioned, the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), may be to trigger when receiving the operation requests that the operation requests initiator resends, therefore, before S501, comprise alternatively step S ' 501, Issuer resends operation requests to GHSCL, wherein carries the record identification (Record identity) of operation requests message.
When the interaction flow of accompanying drawing 4 examples comprises optional step S ' 408, in the present embodiment, the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and can completely be triggered by the timer timing, be GHSCL at the response message that returns to the record identification of carrying operation requests message to Issuer and after started timer timing is full, GHSCL searches the subgroup resource created under current group of resource structures according to the record identification of operation requests message.
S502, GHSCL determines the target member resource of retransmitting the operation requests of sending.
In embodiments of the present invention, receive the operation requests that Issuer initiates again or the timer timing started when Issuer returns to response message full after, GHSCL carries out the operations such as access authoritychecking, and, according to member resource list (memberID list) property value of group resource new under read subgroup (subgroup) resource, determine that Issuer retransmits the operation that the target member resource of the operation requests of sending ask the operation requests initiator and carries out failed member resource.
S503, GHSCL retransmits by Issuer the operation requests of sending and is distributed to the target member resource.
That is failed member resource is carried out in the operation of before the operation requests that, GHSCL send repeating transmission is distributed to, the operation requests initiator being asked.
S504, the operation that target member resource executable operations request initiator asks.
S505, the target member resource returns to response message to GHSCL.
That is, the operation of before the operation requests initiator being asked is carried out failed member resource after executing and retransmitting the operation that the operation requests initiator send asks, and returns to the result of execution to GHSCL, and execution result may be successfully, may be also failure.
S506, GHSCL processes current group of resource structures according to the response message returned.
Particularly, if the operation of before the operation requests initiator being asked carry out failed all member resources all successful execution retransmit the operation that the operation requests initiator that send asks, GHSCL deletes the lower new group resource created of subgroup (subgroups).If the operation of the operation requests initiator being asked has been carried out failed some member resource successful execution and has been retransmitted the operation that the operation requests initiator that send asks before, the still failure of operation that the operation requests initiator that another part execution repeating transmission is sent asks, GHSCL upgrades the lower new group resource created of subgroup (subgroups), comprise and upgrade member's the Resources list (memberID list) property value, for example, by successful execution wherein retransmit the operation that the operation requests initiator that send asks member resource delete, and record identification (Record identity) property value that upgrades operation requests message.
S507, the response message that GHSCL returns to member resource converges.
S508, GHSCL forwards to Issuer the response message that member resource returns.
As previously mentioned, failed member resource is carried out in the operation of before the operation requests initiator being asked, still have the part member resource and carry out to retransmit the operation failure that the operation requests initiator that send asks, therefore, GHSCL forwards to Issuer the response message that member resource returns, and is mainly that the response message that still failed member resource returns is carried out in the operation that operation requests initiator that counterweight sends asks.When to Issuer, forwarding these response messages, the record identification of new operation requests message (Record identity) property value is carried wherein.Issuer judges according to the record identification (Record identity) of new operation requests message the operation that still has the part member resource not have successful execution operation requests initiator to ask, and therefore, can again initiate accordingly operation requests.
In another embodiment of the present invention, the association attributes that failed member resource is carried out in the operation that the operation requests initiator is asked also can be kept at the third party who is independent of GHSCL, by GHSCL, from this third party, read again when needed, another embodiment of the association attributes of failed member resource is carried out in the operation of as the present invention's maintenance, the operation requests initiator being asked, can be: record identification (the Record Identity that failed member resource is added into member resource list generating run request message be carried out in the operation that will ask the operation requests initiator, RI), be uploaded to described third party using the record identification of described member resource list and described operation requests message as recorded information by the interface with third party's maintenance, correspondingly, according to the record identification of operation requests message, the operation that the operation requests initiator is asked of safeguarding to described list (memberID list) is carried out the request that failed member resource re-issues executable operations and is comprised:
S20221, receive the operation requests that Issuer resends, the record identification that the described operation requests resend comprises described operation requests message.
As previously mentioned, the record identification of GHSCL attended operation request message.After the operation of the operation requests initiator being asked at member resource is carried out and is unsuccessfully returned to response message, GHSCL is forwarded to operation requests initiator (Issuer) by this response message, carry the record identification (Record Identity, RI) of operation requests message in response message.The operation that Issuer asks the operation requests initiator according to record identification information judgement member resource is carried out unsuccessfully, therefore resends operation requests, wherein comprises the record identification (Record Identity, RI) of operation requests message.
S20222, according to the record identification of operation requests message, the interface of safeguarding by GHSCL and third party reads recorded information.
By GHSCL, by it, the interface with third party's maintenance is uploaded to the third party and is kept at third-party recorded information recorded information before, it comprises the record identification (Record Identity, RI) of operation requests message and carries out by the operation that the operation requests initiator is asked the member resource list (memberID list) that failed member resource forms.
S20223, carry out failed member resource to the operation of the operation requests initiator being asked in the list of described recorded information and issue the described operation requests resend.
In the above-described embodiments, it is to trigger when receiving the operation requests that the operation requests initiator resends that request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list).The operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and also can be triggered by other conditions, as another embodiment of the present invention, according to the record identification of operation requests message, carry out to the operation that the operation requests initiator is asked of recording in the member resource list request that failed member resource re-issues executable operations and comprise:
S ' 20221, start the timer timing return to the response message of the record identification of carrying operation requests message to Issuer after.
S ' 20222, and after the timer timing is full, according to the record identification of operation requests message, the interface of safeguarding by GHSCL and third party reads recorded information.
S ' 20223, carry out failed member resource to the operation of the operation requests initiator being asked in the member resource list of described recorded information and issue the described operation requests resend.
For the method that more clearly illustrates that the embodiment of the present invention provides, below with operation requests initiator (Issuer), the main service ability layer of group management (Group Hosting Service Capability Layer, describing for example alternately GHSCL) and between member resource (Member Resources, MR).Referring to accompanying drawing 6, is that GHSCL safeguards when the association attributes of failed member resource is carried out in the operation that the operation requests initiator is asked, and Issuer, GHSCL, MR and be independent of the interaction flow schematic diagram between the third party of GHSCL are described in detail as follows:
S601, Issuer initiates operation requests to GHSCL.
This operation requests is carried out certain operation for Issuer to the member resource request.
S602, GHSCL determines the target member resource of operation requests.
In embodiments of the present invention, after receiving Issuer initiation operation requests, GHSCL carries out the operations such as access authoritychecking, and read root node<group that current group of (group) resource is the group resource structures of accompanying drawing 3 examples > the members property value of resource, to determine the target member resource of the operation requests that Issuer initiates.
S603, GHSCL is distributed to the target member resource by operation requests.
S604, member resource is according to the operation requests executable operations.
S605, member resource returns to response message to GHSCL.
If the target member resource of operation requests is carried out the operation success that this operation requests initiator asks, to GHSCL, return to successful response message, otherwise, return to the response message of failure.
S606, GHSCL generates the record identification (Record identity) of member resource list (memberID list) and operation requests message.
; after the response message returned when receiving that operation that member resource is asked the operation requests initiator is carried out unsuccessfully; the record identification (Record Identity, RI) that failed member resource is added into member resource list (memberID list) generating run request message is carried out in the operation that GHSCL will ask the operation requests initiator.
S607, be uploaded to the third party by recorded information.
Be about to the member resource list (memberID list) of S606 generation and the record identification (Record identity) of operation requests message and be uploaded to described third party as recorded information by the interface with third party's maintenance.In embodiments of the present invention, the third party can be the historical data container (History Data Retention) that is independent of GHSCL.
S608, the response message that GHSCL returns to member resource converges.
S609, GHSCL forwards to Issuer the response message that member resource returns.
In embodiments of the present invention, the record identification (Record identity) that the response message that GHSCL forwards to Issuer comprises operation requests message.The effect of the record identification of operation requests message is, the record identification whether response message that Issuer can forward according to GHSCL comprises this operation requests message judges whether the operation that all successful execution operation requests initiator asks of all member resources, even response message does not comprise the record identification of this operation requests message, judge the operation that all successful execution operation requests initiator asks of all member resources, otherwise judgement is not all member resource operations that all successful execution operation requests initiator asks, thereby initiate to resend accordingly the flow process of operation requests.
As previously mentioned, it can be also to be triggered completely afterwards by the timer timing that the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), therefore, alternatively, also comprise S ' 609 after S609, GHSCL starts the timer timing.
Refer to accompanying drawing 7, when to be GHSCL carry out failed member resource and re-issue the request of executable operations to the operation that the operation requests initiator is asked of recording in the member resource list according to the record identification of operation requests message, Issuer, GHSCL, MR and be independent of the interaction flow schematic diagram between the third party of GHSCL are described in detail as follows:
S701, according to the record identification of operation requests message, the interface of safeguarding by GHSCL and third party reads recorded information.
GHSCL is according to the record identification of operation requests message, the interface of safeguarding by itself and third party reads recorded information, the record identification that this recorded information comprises operation requests message and carry out the member resource list (memberID list) that failed member resource forms by the operation that the operation requests initiator is asked.
As previously mentioned, the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), may be to trigger when receiving the operation requests that the operation requests initiator resends, therefore, before S701, comprise alternatively step S ' 701, Issuer resends operation requests to GHSCL, wherein carries the record identification (Record identity) of operation requests message.
When the interaction flow of accompanying drawing 6 examples comprises optional step S ' 609, in the present embodiment, the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and can completely be triggered by the timer timing, be that GHSCL is at the response message that returns to the record identification of carrying operation requests message to Issuer and after started timer timing is full, GHSCL is according to the record identification of operation requests message, and the interface of safeguarding by itself and third party reads recorded information.
S702, GHSCL determines the target member resource of retransmitting the operation requests of sending.
In embodiments of the present invention, failed member resource is carried out in the operation that the operation requests initiator is asked that the list member resource comprised in the recorded information that GHSCL can read according to it (memberID list) is safeguarded, determines that Issuer retransmits the operation that the target member resource of the operation requests send ask the operation requests initiator and carries out failed member resource.
S703, the operation requests that GHSCL send repeating transmission is distributed to the target member resource.
That is failed member resource is carried out in the operation of before the operation requests that, GHSCL send repeating transmission is distributed to, the operation requests initiator being asked.
S704, the operation that the operation requests initiator that target member resource execution Issuer repeating transmission is sent asks.
S705, the target member resource returns to response message to GHSCL.
That is, the operation of before the operation requests initiator being asked is carried out failed member resource after executing and retransmitting the operation that the operation requests initiator send asks, and returns to the result of execution to GHSCL, and execution result may be successfully, may be also failure.If result from execution to GHSCL that return to comprises operation and carries out unsuccessfully, alternatively, comprise S ' 705, generate member resource list (memberID list), for example, failed member resource is carried out in the operation that statistics is asked the operation requests initiator, and these member resources are added into to member resource list (memberID list), and the record identification of generating run request message (Record identity) etc.
S706, GHSCL processes according to the response message returned the recorded information that corresponding third party safeguards.
Particularly, if the operation of before the operation requests initiator being asked carry out failed all member resources all successful execution retransmit the operation that the operation requests initiator that send asks, GHSCL deletes the recorded information that the third party safeguards.If the operation of the operation requests initiator being asked has been carried out failed some member resource successful execution and has been retransmitted the operation that the operation requests initiator that send asks before, the still failure of operation that the operation requests initiator that another part execution repeating transmission is sent asks, GHSCL upgrades the recorded information that the third party safeguards, comprise and upgrade member's the Resources list (memberID list), for example, by successful execution wherein retransmit the operation that the operation requests initiator that send asks member resource delete, and the record identification (Record identity) of upgrading operation requests message.
S707, the response message that GHSCL returns to member resource converges.
S708, GHSCL forwards to Issuer the response message that member resource returns.
As previously mentioned, failed member resource is carried out in the operation of before the operation requests initiator being asked, still have the part member resource and carry out to retransmit the operation failure that the operation requests initiator that send asks, therefore, GHSCL forwards to Issuer the response message that member resource returns, and is mainly that the response message that still failed member resource returns is carried out in the operation that operation requests initiator that counterweight sends asks.When to Issuer, forwarding these response messages, the record identification of new operation requests message (Record identity) is carried wherein.Issuer judges according to the record identification (Record identity) of new operation requests message the operation that still has the part member resource not have successful execution operation requests initiator to ask, and therefore, can again initiate accordingly operation requests.
The operation that the maintenance that has the third party to participate in of above-mentioned accompanying drawing 6 and accompanying drawing 7 examples is asked the operation requests initiator is carried out in the flow process of the association attributes of failed member resource and retransmit operation request, the response message that failed member resource can return to failure is carried out in the operation that the operation requests initiator is asked, yet, under some scene, for example, communication link in network between member resource and GHSCL breaks down, and the response message that failed member resource can't return to failure is carried out in the operation that the operation requests initiator is asked.Under above-mentioned scene, the association attributes that failed member resource is carried out in the operation that the maintenance that the embodiment of the present invention provides is asked the operation requests initiator can be:
S1, the member resource that the operation that statistics is asked the operation requests initiator runs succeeded.
In embodiments of the present invention, the member resource that the operation that acquiescence is asked the operation requests initiator runs succeeded can return to successful response message, therefore, the response message of the success that the member resource that GHSCL can run succeeded according to the operation that the operation requests initiator is asked returns, the member resource that the operation that statistics is asked the operation requests initiator runs succeeded.
S2, the member resource run succeeded according to the operation that the operation requests initiator is asked, the record identification that failed member resource is added into list and generates described operation requests message is carried out in the operation that will ask the operation requests initiator.
Because the target member resource of the operation requests of the each distribution of GHSCL is known, therefore, the member resource that can run succeeded according to the operation that the operation requests initiator is asked, the operation that to ask the operation requests initiator is carried out failed member resource and is added into member resource list (memberID list), and the record identification of generating run request message (Record identity) thus.
S3, be uploaded to described third party using the record identification of list and operation requests message as recorded information by the interface with third party's maintenance.
Correspondingly, according to the record identification of operation requests message, the operation that the operation requests initiator is asked of safeguarding to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and is comprised:
S20231, receive the operation requests that the operation requests initiator resends, the record identification that the described operation requests resend comprises described operation requests message.
As previously mentioned, the record identification of GHSCL attended operation request message.After the operation of the operation requests initiator being asked at member resource is carried out and is unsuccessfully returned to response message, GHSCL is forwarded to operation requests initiator (Issuer) by this response message, carry the record identification (Record Identity, RI) of operation requests message in response message.The operation that Issuer asks the operation requests initiator according to the record identification judgement member resource of operation requests message is carried out unsuccessfully, therefore resends operation requests, wherein comprises the record identification (Record Identity, RI) of operation requests message.
S20232, according to the record identification of described operation requests message, the interface of safeguarding by GHSCL and third party reads described recorded information.
By GHSCL, by it, the interface with third party's maintenance is uploaded to the third party and is kept at third-party recorded information recorded information before, it comprises the record identification (Record Identity, RI) of operation requests message and carries out by the operation that the operation requests initiator is asked the member resource list (memberID list) that failed member resource forms.
S20233, carry out failed member resource to the operation of the operation requests initiator being asked in the list of described recorded information and issue the described operation requests resend.
In the above-described embodiments, it is to trigger when receiving the operation requests that the operation requests initiator resends that request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list).The operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and also can be triggered by other conditions, as another embodiment of the present invention, according to the record identification of operation requests message, carry out to the operation that the operation requests initiator is asked of recording in the member resource list request that failed member resource re-issues executable operations and comprise:
S ' 20221, start the timer timing return to the response message of the record identification of carrying operation requests message to Issuer after.
S ' 20222, and after the timer timing is full, according to the record identification of operation requests message, the interface of safeguarding by GHSCL and third party reads recorded information.
S ' 20223, carry out failed member resource to the operation of the operation requests initiator being asked in the list of described recorded information and issue the described operation requests resend.
For the method that more clearly illustrates that the embodiment of the present invention provides, below with operation requests initiator (Issuer), the main service ability layer of group management (Group Hosting Service Capability Layer, describing for example alternately GHSCL) and between member resource (Member Resources, MR).Referring to accompanying drawing 8, is that GHSCL safeguards when the association attributes of failed member resource is carried out in the operation that the operation requests initiator is asked, and Issuer, GHSCL, MR and be independent of the interaction flow schematic diagram between the third party of GHSCL are described in detail as follows:
S801, Issuer initiates operation requests to GHSCL.
This operation requests is carried out certain operation for Issuer to the member resource request.
S802, GHSCL determines the target member resource of operation requests.
In embodiments of the present invention, after receiving Issuer initiation operation requests, GHSCL carries out the operations such as access authoritychecking, and read root node<group that current group of (group) resource is the group resource structures of accompanying drawing 3 examples > under member (members) property value, to determine the target member resource of the operation requests that Issuer initiates.
S803, GHSCL is distributed to the target member resource by operation requests.
S804, member resource is according to the operation requests executable operations.
S805, member resource returns to the response message run succeeded to GHSCL.
As previously mentioned, in embodiments of the present invention, the target member resource of default action request can return to the response message run succeeded to GHSCL after carrying out the operation success that this operation requests initiator asks.Different from previous embodiment, in the present embodiment, after the target member resource of operation requests is carried out the operation failure that this operation requests initiator asks, suppose to return and carry out failed response message.
S806, GHSCL generates the record identification (Record identity) of member resource list (memberID list) and operation requests message.
As previously mentioned, because the target member resource of the operation requests of the each distribution of GHSCL is known, therefore, the response message that can run succeeded and return according to the operation that the operation requests initiator is asked, the member resource that the operation that statistics is asked the operation requests initiator runs succeeded, afterwards from Group Hosting SCL<group deduct the member resource that the above-mentioned operation that the operation requests initiator is asked runs succeeded in the members property value of resource, generate member resource list (memberID list), and the record identification of generating run request message (Record identity).
S807, be uploaded to the third party by recorded information.
Be about to the member resource list (memberID list) of S806 generation and the record identification (Record identity) of operation requests message and be uploaded to described third party as recorded information by the interface with third party's maintenance.In embodiments of the present invention, the third party can be the historical data container (History Data Retention) that is independent of GHSCL.
S808, the response message that GHSCL returns to member resource converges.
S809, GHSCL issues response message to Issuer.
In embodiments of the present invention, the record identification that the response message that GHSCL issues to Issuer comprises operation requests message (Record identity).The effect of the record identification of operation requests message is, the record identification whether response message that Issuer can issue according to GHSCL comprises this operation requests message judges whether the operation that all successful execution operation requests initiator asks of all member resources, even response message does not comprise the record identification of this operation requests message, judge the operation that all successful execution operation requests initiator asks of all member resources, otherwise judgement is not all member resource operations that all successful execution operation requests initiator asks, thereby initiate to resend accordingly the flow process of operation requests.
As previously mentioned, it can be also to be triggered completely afterwards by the timer timing that the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), therefore, alternatively, also comprise S ' 809 after S809, GHSCL starts the timer timing.
Refer to accompanying drawing 9, when to be GHSCL carry out failed member resource and re-issue the request of executable operations to the operation that the operation requests initiator is asked of member resource list records according to the record identification of operation requests message, Issuer, GHSCL, MR and be independent of the interaction flow schematic diagram between the third party of GHSCL are described in detail as follows:
S901, according to the record identification of operation requests message, the interface of safeguarding by GHSCL and third party reads recorded information.
GHSCL is according to the record identification of operation requests message, the interface of safeguarding by itself and third party reads recorded information, the record identification that this recorded information comprises operation requests message and carry out the list (memberID list) that failed member resource forms by the operation that the operation requests initiator is asked.
As previously mentioned, the request that failed member resource re-issues executable operations is carried out in the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list), may be to trigger when receiving the operation requests that the operation requests initiator resends, therefore, before S901, comprise alternatively step S ' 901, Issuer resends operation requests to GHSCL, wherein carries the record identification (Record identity) of operation requests message.
When the interaction flow of accompanying drawing 8 examples comprises optional step S ' 809, in the present embodiment, the operation that the operation requests initiator is asked that GHSCL safeguards to member resource list (memberID list) is carried out the request that failed member resource re-issues executable operations and can completely be triggered by the timer timing, be that GHSCL is at the response message that returns to the record identification of carrying operation requests message to Issuer and after started timer timing is full, GHSCL is according to the record identification of operation requests message, and the interface of safeguarding by itself and third party reads recorded information.
S902, GHSCL determines that Issuer retransmits the target member resource of the operation requests of sending.
In embodiments of the present invention, failed member resource is carried out in the operation that the operation requests initiator is asked that the member resource list comprised in the recorded information that GHSCL can read according to it (memberID list) is safeguarded, determines that Issuer retransmits the operation that the target member resource of the operation requests send ask the operation requests initiator and carries out failed member resource.
S903, GHSCL retransmits by Issuer the operation requests of sending and is distributed to the target member resource.
That is failed member resource is carried out in the operation of before the operation requests that, GHSCL send repeating transmission is distributed to, the operation requests initiator being asked.
S904, the operation that the operation requests initiator that target member resource execution Issuer repeating transmission is sent asks.
S905, the target member resource returns to the response message run succeeded to GHSCL.
That is, the operation of before the operation requests initiator being asked is carried out failed member resource after executing and retransmitting the operation that the operation requests initiator send asks, and returns to the result of execution to GHSCL, and execution result may be successfully, may be also failure.If success, return to GHSCL the response message run succeeded; If failure, in the present embodiment, think to return and carry out failed response message.When the target member resource returns to GHSCL the response message run succeeded, alternatively, comprise S ' 905, upgrade member's the Resources list (memberID list), for example, the member resource that the operation that statistics is asked the operation requests initiator runs succeeded, deduct the member resource that the above-mentioned operation that the operation requests initiator is asked runs succeeded in member resource list the recorded information read from S901 afterwards (memberID list), generate the member resource list (memberID list) after upgrading, this member resource list is carried out failed member resource by the operation that the operation requests initiator is asked and is formed, and the record identification of generating run request message (Record identity) etc.
S906, GHSCL processes according to the response message run succeeded returned the recorded information that corresponding third party safeguards.
Particularly, if the operation of before the operation requests initiator being asked carry out failed all member resources all successful execution retransmit the operation that the operation requests initiator that send asks, GHSCL deletes the recorded information that the third party safeguards.If the operation of the operation requests initiator being asked has been carried out failed some member resource successful execution and has been retransmitted the operation that the operation requests sent asks the initiator to ask before, the still failure of operation that the operation requests initiator that another part execution repeating transmission is sent asks, GHSCL upgrades the recorded information that the third party safeguards, comprise and upgrade member's the Resources list (memberID list), for example, by successful execution wherein retransmit the operation that the operation requests initiator that send asks member resource delete, and the record identification (Record identity) of upgrading operation requests message.
S907, the response message that GHSCL returns to member resource converges.
S908, GHSCL issues response message to Issuer.
As previously mentioned, failed member resource is carried out in the operation of before the operation requests initiator being asked, still have the part member resource and carry out to retransmit the operation failure that the operation requests initiator that send asks, therefore, GHSCL forwards the member resource response message to Issuer.When to Issuer, forwarding these response messages, the record identification of new operation requests message (Record identity) property value is carried wherein.Issuer judges according to the record identification (Record identity) of new operation requests message the operation that still has the part member resource not have successful execution operation requests initiator to ask, and therefore, can again initiate accordingly operation requests.
Referring to accompanying drawing 10, is the apparatus structure schematic diagram of group's resource interaction message of providing of the embodiment of the present invention.For convenience of explanation, only show the part relevant to the embodiment of the present invention.The device of group's resource interaction message of accompanying drawing 10 examples can be to manage main service ability layer GHSCL or functional unit/module wherein for the group of group's resource, it comprises receiver module 1001, information receiving and transmitting module 1002, generation module 1003, preserves module 1004 and retransmit module 1005, wherein:
Receiver module 1001, the operation requests message sent for receiving operation requests initiator Issuer;
Information receiving and transmitting module 1002, for by described operation requests message distribution, giving each member resource, and receive the response message of described operation requests message;
Generation module 1003, for generate the record identification of member resource list and operation requests message according to described response message, failed member resource is carried out in the operation that described member resource list records is asked described operation requests message;
Preserve module 1004, for preserving the record identification of described member resource list and operation requests message;
Retransmit module 1005, for the record identification according to described member resource list and operation requests message, re-issue described operation requests message.
It should be noted that, in the execution mode of the device of above group resource interaction message, the division of each functional module only illustrates, can be as required in practical application, for example the facility of the realization of the configuration requirement of corresponding hardware or software is considered, and above-mentioned functions is distributed, by different functional modules, completed, the internal structure that is about to the device of described group resource interaction message is divided into different functional modules, to complete all or part of function described above.And, in practical application, corresponding functional module in the present embodiment can be to be realized by corresponding hardware, also can be completed by the corresponding software of corresponding hardware implement, for example, aforesaid receiver module, can be the hardware with operation requests message of carrying out aforementioned reception operation requests initiator Issuer transmission, receiver for example, thus can be also to carry out general processor or other hardware devices that the corresponding computer program completes aforementioned function; Aforesaid information receiving and transmitting module for another example, can be have carry out aforementioned by described operation requests message distribution to each member resource, and receive the hardware of the response message function of described operation requests message, information receiving and transmitting device for example, thus can be also to carry out general processor or other hardware devices (each embodiment that this specification provides can apply the foregoing description principle) that the corresponding computer program completes aforementioned function.
The information receiving and transmitting module 1002 of accompanying drawing 10 examples can comprise the first receiving element 1101 or the second receiving element 1102, preserve module 1004 and can comprise the first storage unit 1103 or the second storage unit 1104, the device of group's resource interaction message that another embodiment of the present invention provides as shown in Figure 11, wherein:
The first receiving element 1101, carry out for receiving the operation that described operation requests initiator is asked the response message that failed member resource returns;
The second receiving element 1102, the response message that the member resource that the operation of described operation requests initiator being asked for reception runs succeeded returns;
The first storage unit 1103, for record identification and the described member resource list of preserving described operation requests message in this locality;
The second storage unit 1104, for the record identification using described member resource list and described operation requests message as recorded information by with third-party interface, being uploaded to described third party.
If the information receiving and transmitting module 1002 of accompanying drawing 11 examples comprises the first receiving element 1101, generation module 1003 comprises group resource structures change unit 1201, newly organizes resource processing unit 1202 and the first generation unit 1203, the device of group's resource interaction message that another embodiment of the present invention provides as shown in Figure 12, wherein:
Group resource structures change unit 1201, for creating subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures;
New group resource processing unit 1202, for creating new group resource or be addressed to new group resource according to described group of mobilize resources Uniform Resource Identifier under described subgroup resource, comprise the list of sky member resource under described new group resource;
The first generation unit 1203, the member resource that returns to response message after carrying out unsuccessfully for the operation that will ask described operation requests initiator is added into the record identification that described empty member resource list generates described member resource list and generates described operation requests message.
If the preservation module 1004 of accompanying drawing 12 examples comprises the first storage unit 1103, retransmit module 1005 comprises that the 3rd receiving element 1301, first searches unit 1302 and first and issue unit 1303, the device of group's resource interaction message that another embodiment of the present invention provides as shown in accompanying drawing 13-a, wherein:
The 3rd receiving element 1301, the operation requests resend for receiving described operation requests initiator, the record identification that the described operation requests resend comprises described operation requests message;
First searches unit 1302, for the record identification according to described operation requests message, finds the subgroup resource created under described current group of resource structures;
First issues unit 1303, carries out failed member resource for the operation that described operation requests message is asked of recording to described member resource list and issues the operation requests that described operation requests initiator resends.
If the preservation module 1004 of accompanying drawing 12 examples comprises the first storage unit 1103, retransmit module 1005 comprises that the first timing start unit 1304, second searches unit 1305 and second and issue unit 1306, the device of group's resource interaction message that another embodiment of the present invention provides as shown in accompanying drawing 13-b, wherein:
The first timing start unit 1304 starts the timer timing for return to response message to described operation requests initiator after, and described response message carries the record identification of described operation requests message;
Second searches unit 1305, for after described timer timing is full, according to the record identification of described operation requests message, finds the subgroup resource created under described current group of resource structures;
Second issues unit 1306, carries out failed member resource for the operation that described operation requests message is asked of recording to described member resource list and issues the operation requests that described operation requests initiator resends.
If the information receiving and transmitting module 1002 of accompanying drawing 11 examples comprises the second receiving element 1102, generation module 1003 comprises group resource structures change unit 1401, newly organizes resource processing unit 1402, statistic unit 1403 and the second generation unit 1404, the device of group's resource interaction message that another embodiment of the present invention provides as shown in Figure 14, wherein:
Group resource structures change unit 1401, for creating subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures;
New group resource processing unit 1402, for creating new group resource or be addressed to new group resource according to described group of mobilize resources Uniform Resource Identifier under described subgroup resource, comprise the list of sky member resource under described new group resource;
Statistic unit 1403, the member resource that the operation of described operation requests initiator being asked for statistics runs succeeded;
The second generation unit 1404, the member resource run succeeded for the operation according to described operation requests initiator is asked, the operation that will ask described operation requests initiator is carried out failed member resource and is added into the record identification that described empty member resource list generates described member resource list and generates described operation requests message.
If the preservation module 1004 of accompanying drawing 12 or accompanying drawing 14 examples comprises the second storage unit 1104, retransmit module 1005 comprises that the 4th receiving element 1501, the first reading unit 1502 and the 3rd issue unit 1503, the device of group's resource interaction message that another embodiment of the present invention provides as shown in accompanying drawing 15-a or accompanying drawing 15-b, wherein:
The 4th receiving element 1501, the operation requests resend for receiving described operation requests initiator, the record identification that the described operation requests resend comprises described operation requests message;
The first reading unit 1502, for the record identification according to described operation requests message, read described recorded information by described and third-party interface;
The 3rd issues unit 1503, carries out failed member resource for the operation that described operation requests message is asked of recording to described member resource list and issues the operation requests that described operation requests initiator resends.
If the preservation module 1004 of accompanying drawing 12 or accompanying drawing 14 examples comprises the second storage unit 1104, retransmit module 1005 comprises that the second timing start unit 1601, the second reading unit 1602 and the 4th issue unit 1603, the device of group's resource interaction message that another embodiment of the present invention provides as shown in accompanying drawing 16-a or accompanying drawing 16-b, wherein:
The second timing start unit 1601 starts the timer timing for return to response message to described operation requests initiator after, and described response message carries the record identification of described operation requests message;
The second reading unit 1602, for after described timer timing is full, according to the record identification of described operation requests message, read described recorded information by described and third-party interface;
The 4th issues unit 1603, carries out failed member resource for the operation that described operation requests message is asked of recording to described member resource list and issues the operation requests that described operation requests initiator resends.
Referring to accompanying drawing 17, is the apparatus structure schematic diagram of safeguarding member resource attribute in group's resource that the embodiment of the present invention provides.For convenience of explanation, only show the part relevant to the embodiment of the present invention.The device of safeguarding member resource attribute in group's resource of accompanying drawing 17 examples can be to manage main service ability layer GHSCL or functional unit/module wherein for the group of group's resource, it comprises message sink module 1701, transceiver module 1702 and attribute maintenance module 1703, wherein:
Message sink module 1701, the operation requests message sent for receiving operation requests initiator Issuer;
Transceiver module 1702, for by the operation requests message distribution, giving each member resource, and receive the response message of described operation requests message;
Attribute maintenance module 1703, be used for according to described response message, maintenance is carried out failed member resource attribute to described operation requests message, described member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message.
The device of accompanying drawing 17 examples can also comprise group resource structures change module 1801, newly organize resource processing module 1802, the first generation module 1803 and retransmit module 1804, the device of safeguarding member resource attribute in group's resource that another embodiment of the present invention provides as shown in Figure 18, wherein:
Group resource structures change module 1801, for creating subgroup resource or interpolation group mobilize resources Uniform Resource Identifier attribute under current group of resource structures;
New group resource processing module 1802, for creating new group resource or be addressed to new group resource according to described group of mobilize resources Uniform Resource Identifier under described subgroup resource, comprise the list of sky member resource under described new group resource;
The first generation module 1803, carry out failed member resource for the operation that will ask described operation requests initiator and be added into the record identification that described empty member resource list generates described member resource list and generates described operation requests message;
Retransmit module 1804, for the record identification according to described member resource list and operation requests message, re-issue described operation requests message.
If the operation that the part member resource is asked the described operation requests message re-issued is carried out unsuccessfully, the attribute maintenance module 1703 of accompanying drawing 18 examples can comprise updating block 1901, the device of safeguarding member resource attribute in group's resource that another embodiment of the present invention provides as shown in Figure 19.Updating block 1901 is for upgrading the record identification of described member resource list and operation requests message.
The operation that the member resource of the described operation requests message re-issued all asks the described operation requests message re-issued if receive runs succeeded, the attribute maintenance module 1703 of accompanying drawing 18 examples can comprise delete cells 2001, the device of safeguarding member resource attribute in group's resource that another embodiment of the present invention provides as shown in Figure 20.Delete cells 2001 is for deleting described new group resource.
Referring to accompanying drawing 21, is the apparatus structure schematic diagram of group's resource interaction message of providing of the embodiment of the present invention.For convenience of explanation, only show the part relevant to the embodiment of the present invention.The device of group's resource interaction message of accompanying drawing 21 examples can be to manage main service ability layer GHSCL or functional unit/module wherein for the group of group's resource, and it comprises attribute maintenance module 2101 and retransmit module 2102, wherein:
Attribute maintenance module 2101, for the response message according to operation requests message, maintenance is carried out failed member resource attribute to operation requests message, described member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message;
Retransmit module 2102, for according to described member resource attribute, carry out failed member resource to described operation and re-issue described operation requests message.
It should be noted that, the contents such as the information interaction between each module/unit of said apparatus, implementation, due to the inventive method embodiment based on same design, its technique effect brought is identical with the inventive method embodiment, particular content can, referring to the narration in the inventive method embodiment, repeat no more herein.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, such as following the whole bag of tricks one or more or all:
Method one: the main service ability layer GHSCL of group management receives the operation requests message that operation requests initiator Issuer sends; Described GHSCL gives each member resource by described operation requests message distribution, and receives the response message of described operation requests message; Described GHSCL generates the record identification of member resource list and operation requests message according to described response message, failed member resource is carried out in the operation that described member resource list records is asked described operation requests message; Described GHSCL preserves the record identification of described member resource list and operation requests message; Described GHSCL, according to the record identification of described member resource list and operation requests message, re-issues described operation requests message.
Method two: the main service ability layer GHSCL of group management receives the operation requests message that operation requests initiator Issuer sends; Described GHSCL gives each member resource by the operation requests message distribution, and receives the response message of described operation requests message; Described GHSCL is according to described response message, maintenance is carried out failed member resource attribute to described operation requests message, described member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message.
Method three: according to the response message of operation requests message, maintenance is carried out failed member resource attribute to operation requests message, described member resource attribute comprises the record identification of member resource list and operation requests message, and failed member resource is carried out in the operation that described member resource list records is asked described operation requests message; According to described member resource attribute, carry out failed member resource to described operation and re-issue described operation requests message.
One of ordinary skill in the art will appreciate that all or part of step in the whole bag of tricks of above-described embodiment is to come the hardware that instruction is relevant to complete by program, this program can be stored in a computer-readable recording medium, storage medium can comprise: read-only memory (ROM, Read Only Memory), random access memory (RAM, Random Access Memory), disk or CD etc.
Method and the device thereof of above group's resource interaction message that the embodiment of the present invention is provided are described in detail, applied specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment is just for helping to understand method of the present invention and core concept thereof; , for one of ordinary skill in the art, according to thought of the present invention, all will change in specific embodiments and applications, in sum, this description should not be construed as limitation of the present invention simultaneously.