Embodiment
The following description and drawings illustrate specific embodiment of the invention scheme fully, to enable those skilled in the art to put into practice them.Other embodiments can comprise structure, logic, electric, process and other change.Embodiment only represents possible change.Unless explicitly requested, otherwise independent parts and function are optional, and the order of operation can change.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.The scope of embodiment of the present invention comprises the gamut of claims, and all obtainable equivalent of claims.In this article, these embodiments of the present invention can be represented with term " invention " individually or always, this is only used to conveniently, and if in fact disclose the invention more than, be not the scope that automatically will limit this application is any single invention or inventive concept.
Fig. 1 shows the schematic flow sheet of the method for a kind of signaling high efficiency of transmission of the embodiment of the present invention,
As shown in Figure 1, in some illustrative embodiments, the method for described a kind of signaling high efficiency of transmission, comprises following step:
Step S101, according to the first request to create for creating the first polymerization signal resource that the first equipment sends, creates the first polymerization signal resource;
The destination address of the signaling in described first polymerization signal resource corresponds to the first resource of the second equipment;
Step S102, what receive that arbitrary equipment sends, destination address and described first is polymerized that the identical response message of the destination address of the signaling in signal resource or other equipment except described first equipment send carries destination address is polymerized the identical signaling of the destination address of the signaling in signal resource the second request to create for creating the second polymerization signal resource with described first, and the signaling of carrying in described response message or described second request to create is added to described first and be polymerized in signal resource;
In signaling in described first polymerization signal resource and/or described second request to create, the signaling of carrying comprises: request message and/or response message;
In step s 102, because the destination address of the signaling in the second request to create is identical with the destination address that described first of establishment is polymerized the signaling in signal resource, therefore being polymerized signal resource accordingly without the need to again creating, directly the signaling in described second request to create being carried out being polymerized with the current first signaling of being polymerized in signal resource;
All signalings in described first polymerization signal resource are sent to the destination address of the signaling in described first polymerization signal resource by step S103;
Can be realized the high efficiency of transmission of signaling by above-described embodiment, described signaling comprises: request message (Request) and response message (Response), described second equipment is the object receiving equipment of above-mentioned signaling, the first resource of described second equipment is the destination address of above-mentioned signaling, such as: certain equipment sends the request message for upgrading certain resource on described second equipment, then the destination address that this request message carries corresponds to certain resource on described second equipment, in the prior art, what create can only be polymerized request message for the first polymerization signal resource being polymerized signaling, and the response message with the destination address identical with request message cannot be polymerized, and in the present embodiment, the the first polymerization signal resource created, not only can aggregate request mes-sages, response message can also be polymerized, and the signaling of being polymerized in other polymerization signal resource of having created of miscellaneous equipment, and all signalings of polymerization are sent to described destination address, avoid because transmitting the load of response message increasing device and waste Internet resources, achieve the high efficiency of transmission of signaling,
In some illustrative embodiments, described first polymerization signal resource comprised for the first transmission time limit, and described response message or described second request to create comprised for the second transmission time limit; Described first send the time limit and second send time be limited to time point, described the signaling of carrying in described response message or described second request to create is added to described first polymerization signal resource process in, also comprise:
Described first transmission time limit and the described second value sending the time limit are compared, if described second time limit is less than described first time limit, then the value that described first sends the time limit is revised as the value sending the time limit with described second; Otherwise, then any operation is not performed; Send the time limit (lifespan) for limiting the effective time that in polymerization signal resource, the signaling that stores is transmitted, when arriving this in limited time, if the signaling of being polymerized successfully transmits by this polymerization signal resource not yet, then no longer perform the operation transmitting these signalings, i.e. these signalings of cancel transmission; When sending message (as response message or the second request to create etc.), all can carry the absolute time point sending this message in the message, the described transmission time limit can be time point also can be the time period (i.e. relative time), and citing is below described:
If the described transmission time limit is time point, then once system time is identical with this transmission time limit, then illustrate and reach this transmission time limit, a polymerization signal resource can only have one to send the time limit, owing to storing for the first transmission time limit (9:00am) in the first polymerization signal resource, if the signaling of carrying in the response message received or the second request to create is the signaling that the first polymerization signal resource needs polymerization, and when carrying the second transmission time limit (8:30am) being different from the transmission time limit (namely first sending the time limit) stored in current first polymerization signal resource in described response message or request message, then the first polymerization signal resource needs to select the first transmission time limit and the second transmission time limit, it is generally smaller value (the second transmission time limit in both selections, 8:30am) as the current transmission time limit,
If the described transmission time limit is relative time, i.e. the time period, as 3min, 10min is limited to when supposing first transmission of recording in the first polymerization signal resource, this first zero computing time sending the time limit is (8:56min), carry absolute time point (9:00am) and second in response message to be polymerized and send the time limit (3min), then this equipment calculates respectively and sends the absolute time point (9:06am) of the transmission signaling in time limit corresponding to first and correspond to the absolute time point (9:03am) that second sends the transmission signaling in time limit, then select the absolute time point of the transmission signaling relatively little transmission time limit (namely second sending the time limit) as the current transmission time limit,
Optionally, if the described transmission time limit is the time period, and the absolute time point of the second transmission signaling sent corresponding to the time limit is less than the absolute time point of the transmission signaling corresponding to the first transmission time limit, then after receiving response message, also comprise: triggered timer starts timing, and select described second to send the time limit as the current transmission time limit; Further, if before timer arrives the described second transmission time limit, the signaling in described first polymerization signal resource is successfully sent away, then this timer stops timing; Or if when timer arrives described second transmission in limited time, the signaling in described first polymerization signal resource is not successfully sent away, then this equipment does not reattempt and sends described signaling; Or, if before timer arrives the described second transmission time limit, this equipment receives again and carries the signaling (as request message) that the 3rd sends the time limit, and the absolute time point of the 3rd transmission signaling sent corresponding to the time limit is less than the absolute time point of the transmission signaling corresponding to the second transmission time limit, then triggered timer restarts timing;
Certainly, also may there are some other situations, such as first send the time limit be time point, and receive second send time be limited to the time period; Or, be limited to the time period during the first transmission, and be limited to time point during the second transmission; For these situations above-mentioned, because the message of carrying the transmission time limit all can carry absolute time point when sending this message, so for this equipment, no matter be limited to time point or time period during above-mentioned transmission, the absolute time point sent for limitation signaling corresponding to this transmission time limit can be known accurately, and according to this absolute time point, the different transmission time limits is compared;
In some illustrative embodiments, the described destination address all signalings in described first polymerization signal resource being sent to the signaling in described first polymerization signal resource, comprising:
Send the 3rd request to create for creating trimerization signal resource;
If this equipment can communicate with described second equipment, then described 3rd request to create carries all signalings in the destination address of the signaling in described first polymerization signal resource and described first polymerization signal resource, indicates described second equipment to create described trimerization signal resource and performs corresponding operation according to the signaling in described trimerization signal resource; Or;
If this equipment cannot communicate with described second equipment, then need to complete the operation of corresponding signalling by the 3rd equipment, then described 3rd request to create carries all signalings in the mark of the 3rd equipment, described first polymerization signal resource and destination address thereof, indicates described 3rd equipment to create described trimerization signal resource and is sent to by the signaling that this trimerization signal resource be polymerized the destination address that described first is polymerized the signaling in signal resource;
In some illustrative embodiments, if described response message does not carry destination address, before described response message being added to described first polymerization signal resource, also comprise:
According to the request message corresponding with described response message, determine the destination address of described response message;
The destination address of the destination address of described response message with described first signaling of being polymerized in signal resource is compared, as identical in judged both, then perform the follow-up step of described response message being added to described first polymerization signal resource;
In some illustrative embodiments, after described establishment first is polymerized signal resource, also comprise: monitor according to the first transmission time limit in described first polymerization signal resource; When arrival described first sends the time limit, and do not perform the operation of the destination address of the described signaling described signaling of being polymerized be sent in described first polymerization signal resource yet, then cancel this operation;
In some illustrative embodiments, after the destination address all signalings in described first polymerization signal resource being sent to the signaling in described first polymerization signal resource, also comprise:
Delete all signalings in described first polymerization signal resource;
Revise the Resource Properties of the state for recording described first polymerization signal resource in described first polymerization signal resource;
Can following state be comprised at the described Resource Properties for recording status:
State 1: create, successfully created the first polymerization signal resource, and this resource is in polymerization, even receives the operation that signaling to be polymerized then carries out being polymerized for representing;
State 2: in transmission, for representing that the first polymerization signal resource is sending the signaling of being polymerized;
State 3: send successfully, successfully sends the signaling of being polymerized for representing;
State 4: send unsuccessfully, sends the signaling of being polymerized for representing unsuccessful;
In some illustrative embodiments, the described response message received carry be used to indicate described response message license indicated by the polymerization be polymerized, then described described response message is added to described first polymerization signal resource in, comprising:
After identifying described polymerization instruction, described response message is aggregated in the signaling in described first polymerization signal resource.
With a specific embodiment, this programme is described below, relates to equipment 1, equipment 2 and equipment 3 in this embodiment; As shown in Figure 2, detailed process is as follows:
Step S201, equipment 1 receives and detects Request1;
Wherein, the destination address of Request1 is the first resource on equipment 3; After equipment 1 receives Request1, Request1 is detected, find the polymerization instruction Da=on carried in Request1, know that Request1 needs the mode of carrying out being polymerized to transmit, and triggered step S202; In addition Request1 also carries and sends time limit Reqt1;
Step S202, equipment 1 sends the request creating delivery resource to equipment 2;
By sending this request, annunciator 2 creates delivery resource, in this request, carry Request1 and Reqt1;
Step S203, equipment 2 creates delivery resource;
Equipment 2, after the request receiving the establishment delivery resource that equipment 1 sends, detects and this equipment does not create corresponding delivery resource, then create delivery resource according to this request; AggregatedRequest attribute (polymerization signaling attributes), lifespan attribute (lifetime property) and deliveryMetaData attribute (transmission unit data attribute) is comprised in the delivery resource created; Described aggregatedRequest attribute is used for storage and needs command transmitting (comprising request message and response message), described lifespan attribute is for storing the transmission time limit of delivery resource, and described deliveryMetaData attribute is for recording the information such as transmission state, tracked information; Request1, when creating delivery resource, adds in aggregatedRequest attribute, is added to by Reqt1 in lifespan attribute by equipment 2;
Step S204, equipment 2 receives and detects Response1;
Equipment 2 receives Response1, and detects the Da=on carried in this Response1, carries in addition and sends time limit Rest1;
Step S205, Response1 adds in delivery resource by equipment 2;
Response1 adds in the aggregatedRequest attribute in delivery resource by equipment 2, and is compared by Rest1 and Reqt1, gets smaller value as the transmission time limit stored in lifespan attribute;
Step S206, equipment 2 sends the request creating delivery resource to equipment 3;
In this request, carry the transmission time limit of recording in all signalings (as Request1 and Response1) and lifespan attribute of being polymerized in delivery resource in equipment 2;
Step S207, equipment 2 deletes the signaling in delivery resource, the state of amendment delivery resource;
Because equipment 2 has completed the operation of corresponding signalling, the signaling stored in the aggregatedRequest attribute of therefore delivery resource does not then need to retain; In addition, equipment 2 also can revise the information in deliveryMetaData attribute;
Step S208, equipment 3 creates delivery resource;
Equipment 3, after the request receiving the establishment delivery resource that equipment 2 sends, can create delivery resource according to this request; If equipment 3 detects that the destination address of the signaling in the delivery resource created is for self, then triggered step S209; Otherwise, then perform polymerization signaling, and the operation of command transmitting (operation as equipment in step S204-207 2), do not repeat herein;
Step S209, equipment 3 performs corresponding operation according to the signaling in the delivery resource created;
Equipment 3 performs according to the signaling (as Request1 and Response1) in the aggregatedRequest attribute of delivery resource and operates accordingly;
It is noted herein that, after step S203, if equipment 2 receives the destination address request message identical with the address of signaling in the delivery resource of establishment that miscellaneous equipment sends (as Request2, and Da=on) then, also can be aggregated in aggregatedRequest attribute; Such as equipment 2 receives the request of the establishment delivery resource that certain equipment sends, the signaling of carrying in this request comprises: Request2, Request3 and Response2, destination address is identical with the destination address of the delivery resource that equipment 2 has created, then together can be aggregated in aggregatedRequest attribute by Request2, Request3 and the Response2 in this request; Send time limit Reqt2 if also carry in this request, then with described in step S205, smaller value can be got and be stored in lifespan attribute;
Optionally, in aggregatedRequest attribute, request message and response message can be distinguished by adding mark, such as, add before request message " req ", add before response message " res ";
Optionally, if do not carry destination address (to parameter) in response message, due to the corresponding request message of response message meeting, therefore can by checking the address, source (from parameter) of the request message corresponding with this response message, confirm the destination address of response message, and then the destination address of this destination address and delivery resource is compared, if identical, then this response message is added in the signaling of delivery resource.
Fig. 3 shows the structural representation of the device 300 of a kind of signaling high efficiency of transmission of the embodiment of the present invention,
In some illustrative embodiments, described device 300, comprising:
Creating unit 301, for the first request to create for creating the first polymerization signal resource sent according to the first equipment, creates the first polymerization signal resource; The destination address of the signaling in described first polymerization signal resource corresponds to the first resource of the second equipment;
Polymerized unit 302, second request to create for creating the second polymerization signal resource of the signaling that the destination address of destination address is polymerized with described first signaling in signal resource that what the destination address and described first sent for arbitrary equipment was polymerized that the identical response message of the destination address of the signaling in signal resource or other equipment except described first equipment send carry is identical, and the signaling of carrying in described response message or described second request to create is added to described first and be polymerized in signal resource; In signaling in described first polymerization signal resource and/or described second request to create, the signaling of carrying comprises: request message and/or response message;
Delivery unit 303, for being sent to the destination address of the signaling in described first polymerization signal resource by all signalings in described first polymerization signal resource;
In some illustrative embodiments, described first polymerization signal resource comprised for the first transmission time limit, and described response message or described request message comprised for the second transmission time limit, was limited to time point when the described first transmission time limit and second sends; Described polymerized unit 302, comprising:
First polymerization subelement 3021, for being compared in described first transmission time limit and the described second value sending the time limit, if described second time limit is less than described first time limit, is then revised as the value that described first sends the time limit value that described second sends the time limit; Otherwise, then any operation is not performed;
In some illustrative embodiments, described delivery unit 303, comprising:
Transmit subelement 3031, for sending the 3rd request to create for creating trimerization signal resource;
The destination address and described first of the signaling that described 3rd request to create is carried in described first polymerization signal resource is polymerized all signalings in signal resource, indicates described second equipment to create described trimerization signal resource and performs corresponding operation according to the signaling in described trimerization signal resource; Or;
Described 3rd request to create carries all signalings in the mark of the 3rd equipment and described first polymerization signal resource, indicates described 3rd equipment to create described trimerization signal resource and is sent to by the signaling that this trimerization signal resource be polymerized the destination address that described first is polymerized the signaling in signal resource;
In some illustrative embodiments, described device 300, also comprises:
Determining unit 304, before described response message being added to described first polymerization signal resource, according to the request message corresponding with described response message, determines the destination address of described response message for described polymerized unit 302;
Judging unit 305, for comparing the destination address of the destination address of described response message with described first signaling of being polymerized in signal resource;
Described polymerized unit 302, comprising:
Second polymerization subelement 3022, if it is identical to judge that the destination address of described response message and described first is polymerized the destination address of the signaling in signal resource for described identifying unit, then adds described first to and is polymerized signal resource by described response message;
In some illustrative embodiments, described device 300, also comprises:
Monitoring means 306, after creating the first polymerization signal resource, monitors according to the first transmission time limit in described first polymerization signal resource for described creating unit 301; When arrival described first sends the time limit, and described delivery unit does not perform the operation of the destination address of the described signaling described signaling of being polymerized be sent in described first polymerization signal resource yet, then described delivery unit cancels this operation;
In some illustrative embodiments, described device 300, also comprises:
Delete cells 307, for described delivery unit 303 by described first polymerization signal resource in all signalings be sent to described first polymerization signal resource in signaling destination address after, delete described first polymerization signal resource in all signalings;
Amendment unit 308, for revising the Resource Properties of the state for recording described first polymerization signal resource in described first polymerization signal resource;
In some illustrative embodiments, the described response message received carry be used to indicate described response message license indicated by the polymerization be polymerized, then described polymerized unit 302, comprising:
Trimerization subelement 3023, for after identifying described polymerization instruction, is aggregated to described response message in the signaling in described first polymerization signal resource.
Adopt above-described embodiment, following effect can be reached:
Request message and response message can be condensed together and be sent to destination address, realize the high efficiency of transmission of signaling, reduce apparatus of load, save Internet resources.
Those skilled in the art it is also understood that various illustrative box, module, circuit and the algorithm steps combining embodiment herein and describe all can be embodied as electronic hardware, computer software or its combination.In order to the interchangeability between hardware and software is clearly described, all carry out usually describing around its function to various illustrative parts, frame, module, circuit and step above.Be embodied as hardware as this function or be embodied as software, the design constraint depending on specific application and whole system is applied.Those skilled in the art for each application-specific, can realize described function in the mode of accommodation, but, thisly realize decision-making and should not be construed as and deviate from protection range of the present disclosure.
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for a person skilled in the art, the present invention can have various modifications and variations.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.