Specific embodiment
The following description and drawings fully show specific embodiments of the present invention, to enable those skilled in the art to
Practice them.Other embodiments may include structure, logic, it is electrical, process and other change.Embodiment
Only represent possible variation.Unless explicitly requested, otherwise individual components and functionality is optional, and the sequence operated can be with
Variation.The part of some embodiments and feature can be included in or replace part and the feature of other embodiments.This hair
The range of bright embodiment includes equivalent obtained by the entire scope of claims and all of claims
Object.Herein, these embodiments of the invention can individually or generally be indicated that this is only with term " invention "
For convenience, and if in fact disclosing the invention more than one, the range for being not meant to automatically limit the application is to appoint
What single invention or inventive concept.
Fig. 1 shows a kind of flow diagram of the method for signaling high efficiency of transmission of the embodiment of the present invention,
As shown in Figure 1, in some illustrative embodiments, a kind of method of signaling high efficiency of transmission, including it is following
Several steps:
Step S101, the first request to create for being used to create the first polymerization signal resource sent according to the first equipment, wound
Build the first polymerization signal resource;
The destination address of signaling in the first polymerization signal resource corresponds to the first resource of the second equipment;
Step S102 receives arbitrary equipment is sent, destination address and polymerize the signaling in signal resource with described first
What the identical response message of destination address or the other equipment in addition to first equipment were sent carries destination address and institute
State the identical signaling of destination address of the signaling in the first polymerization signal resource for create second polymerize signal resource the
Two requests to create, and the signaling carried in the response message or second request to create is added to first polymerization and is believed
It enables in resource;
The signaling carried in signaling and/or second request to create in the first polymerization signal resource includes: to ask
Ask message and/or response message;
In step s 102, letter is polymerize with described the first of creation due to the destination address of the signaling in the second request to create
Enable the destination address of the signaling in resource identical, there is no need to create corresponding polymerization signal resource again, directly by described the
Signaling in two requests to create polymerize the signaling in signal resource with current first and is polymerize;
All signalings in the first polymerization signal resource are sent to the first polymerization signal resource by step S103
In signaling destination address;
May be implemented the high efficiency of transmission of signaling through the foregoing embodiment, the signaling include: request message (Request) and
Response message (Response);Second equipment is the purpose receiving device of above-mentioned signaling, the first money of second equipment
Source is the destination address of above-mentioned signaling, such as: the transmission of certain equipment disappears for updating the request of certain resource in second equipment
Breath, the then destination address that the request message carries correspond to certain resource in second equipment;In the prior art, creation
The first polymerization signal resource for polymerizeing signaling can only polymerize request message, and can not will have and request message phase
With the response message of destination address polymerize, and in the present embodiment, the first polymerization signal resource of creation not only can be with
Aggregate request mes-sages can also polymerize in other polymerization signal resources that response message and other equipment have created and polymerize
Signaling, and all signalings of polymerization are transmitted to the destination address, avoid increasing because of transmission response message apparatus of load and
Internet resources are wasted, the high efficiency of transmission of signaling is realized;
It in some illustrative embodiments, included the first transmission time limit in the first polymerization signal resource, it is described to answer
It answers message or second request to create included the second transmission time limit;The time is limited to when the first transmission time limit and the second transmission
Point, it is described that the signaling carried in the response message or second request to create is added to the first polymerization signal resource
During, further includes:
The first transmission time limit is compared with the value in the second transmission time limit, if second time limit is less than institute
It stated for the first time limit, then the value in the first transmission time limit is revised as the value for sending the time limit with described second;Conversely, not executing then
Any operation;It sends time limit (lifespan) and is used to limit the effective time that the signaling stored in polymerization signal resource is transmitted,
It prescribes a time limit when reaching this, if the polymerization signal resource does not yet transmit the signaling having polymerize successfully, no longer executes and transmit these
These signalings of the operation of signaling, i.e. cancel transmission;When sending message (such as response message or the second request to create), in message
In can all carry the absolute time point for sending the message, the transmission time limit can be time point and be also possible to period (i.e. phase
To the time), citing is illustrated below:
If the transmission time limit is time point, once system time is identical as the transmission time limit, then explanation reaches the hair
Send the time limit;One polymerization signal resource can only have a transmission time limit, due to having stored the in the first polymerization signal resource
One sends time limit (9:00am), if the signaling carried in the response message or the second request to create that receive is the first polymerization signaling
Resource needs the signaling polymerizeing, and is carried in the response message or request message different from current first polymerization signaling money
In source when stored the second transmission time limit (8:30am) for sending the time limit (i.e. first sends the time limit), then the first polymerization signaling provides
Source needs to select the first transmission time limit and the second transmission time limit, and usually (second sends the smaller value in selection the two
Time limit, 8:30am) as the current transmission time limit;
If the transmission time limit is relative time, i.e. period, such as 3min;Assuming that recorded in the first polymerization signal resource
First is limited to 10min when sending, which is (8:56min), response message to be polymerized
Middle carrying absolute time point (9:00am) and second sends time limit (3min), then this equipment, which calculates separately out, corresponds to the first transmission
The absolute time point of the absolute time point (9:06am) of the transmission signaling in time limit and the transmission signaling for sending the time limit corresponding to second
(9:03am) then selects absolute time point relatively small the transmissions time limit (i.e. second send time limit) for sending signaling as working as
The preceding transmission time limit;
Optionally, if the transmission time limit is the period, and second sends the absolute of transmission signaling corresponding to the time limit
Time point sends the absolute time point of transmission signaling corresponding to the time limit less than first, then after receiving response message, further includes:
Triggering timing device starts timing, and selects described second to send the time limit as the current transmission time limit;Further, if in timing
Before device reaches the second transmission time limit, the signaling in the first polymerization signal resource is successfully sent away, then should
Timer stops timing;Or, the letter if prescribing a time limit when timer reaches the described second transmission, in the first polymerization signal resource
Order is not successfully sent away, then this equipment is no longer attempt to send the signaling;Or, being sent if reaching described second in timer
Before time limit, this equipment receives again carries the signaling (such as request message) that third sends the time limit, and the third sends time limit institute
The corresponding absolute time o'clock for sending signaling sends the absolute time point of transmission signaling corresponding to the time limit less than second, then triggers
Timer restarts timing;
Of course, it is also possible to there are some other situations, such as the first transmission time limit was time point, and the second hair received
The period is limited to when sending;Or, first is limited to the period when sending, and time point is limited to when the second transmission;For these above-mentioned feelings
Condition, the message due to carrying the transmission time limit can all carry absolute time point when sending the message, so for this equipment,
No matter above-mentioned transmission when be limited to time point or period, can accurately know corresponding to the transmission time limit for limiting letter
The absolute time point sent is enabled, and the different transmission time limits is compared according to the absolute time point;
In some illustrative embodiments, all signalings by the first polymerization signal resource are sent to institute
State the destination address of the signaling in the first polymerization signal resource, comprising:
Send the third request to create for creating third polymerization signal resource;
If this equipment can be communicated with second equipment, the third request to create carries first polymerization
All signalings in the destination address of signaling in signal resource and the first polymerization signal resource, indicate second equipment
It creates the third polymerization signal resource and corresponding operation is executed according to the signaling in the third polymerization signal resource;Or;
If this equipment can not be communicated with second equipment, need to complete corresponding signaling by third equipment to pass
Defeated operation, then the third request to create carries the mark of third equipment, all signalings in the first polymerization signal resource
And its destination address, indicate that the third equipment creates the third polymerization signal resource and by the third polymerization signal resource
The signaling being polymerized is sent to the destination address of the signaling in the first polymerization signal resource;
In some illustrative embodiments, if the response message does not carry destination address, by the response message
It is added to before the first polymerization signal resource, further includes:
According to request message corresponding with the response message, the destination address of the response message is determined;
The destination address that the destination address of the response message is polymerize to the signaling in signal resource with described first carries out
Compare, both such as judge identical, then executes and subsequent the response message is added to the first polymerization signal resource
Step;
In some illustrative embodiments, after the first polymerization of creation signal resource, further includes: according to described
The first transmission time limit in first polymerization signal resource is monitored;The time limit is sent when reaching described first, and is still not carried out
The signaling having polymerize is sent to the operation of the destination address of the signaling in the first polymerization signal resource, then takes
Disappear the operation;
In some illustrative embodiments, it is sent in all signalings polymerizeing in signal resource by described first described
After the destination address of signaling in first polymerization signal resource, further includes:
Delete all signalings in the first polymerization signal resource;
Modify the resource of the state for recording the first polymerization signal resource in the first polymerization signal resource
Attribute;
May include following state in the Resource Properties for recording status:
State 1: creation, for indicate successfully created first polymerization signal resource, and the resource be in it is poly-
In conjunction, the operation that signaling to be polymerized is then polymerize even is received;
State 2: in transmission, for indicating that the first polymerization signal resource is sending the signaling having polymerize;
State 3: it sends successfully, successfully sends the signaling having polymerize for indicating;
State 4: failure is sent, not successfully sends the signaling having polymerize for indicating;
In some illustrative embodiments, the response message carrying received is used to indicate the response message and is permitted
The polymerization instruction that can be polymerize, then it is described that the response message is added in the first polymerization signal resource, comprising:
After identifying the polymerization instruction, the response message is aggregated in the first polymerization signal resource
In signaling.
This programme is illustrated with a specific embodiment below, is related to equipment 1, equipment 2 and equipment in this embodiment
3;As shown in Fig. 2, detailed process is as follows:
Step S201, equipment 1 receive and detect Request1;
Wherein, the destination address of Request1 is the first resource in equipment 3;It is right after equipment 1 receives Request1
Request1 is detected, and finds the polymerization carried in Request1 instruction Da=on, knows that Request1 needs to carry out with poly-
The mode of conjunction is transmitted, and triggers step S202;Furthermore Request1, which is also carried, sends time limit Reqt1;
Step S202, equipment 1 send the request of creation delivery resource to equipment 2;
By sending the request, annunciator 2 creates delivery resource, carried in the request Request1 and
Reqt1;
Step S203, equipment 2 create delivery resource;
Equipment 2 detects after receiving the request of creation delivery resource of the transmission of equipment 1 and does not create phase in this equipment
The delivery resource answered then creates delivery resource according to the request;Include in the delivery resource of creation
AggregatedRequest attribute (polymerization signaling attributes), lifespan attribute (lifetime property) and
DeliveryMetaData attribute (transmission metadata attributes);The aggregatedRequest attribute needs to pass for storing
Defeated signaling (including request message and response message), when the lifespan attribute is used to store the transmission of delivery resource
Limit, the deliveryMetaData attribute is for recording the information such as transmission state, tracked information;Equipment 2 is creating
When delivery resource, Request1 is added in aggregatedRequest attribute, Reqt1 is added to lifespan
In attribute;
Step S204, equipment 2 receive and detect Response1;
Equipment 2 receives Response1, and detects the Da=on carried in the Response1, additionally carries transmission
Time limit Rest1;
Response1 is added in delivery resource by step S205, equipment 2;
Response1 is added in the aggregatedRequest attribute in delivery resource by equipment 2, and will
Rest1 is compared with Reqt1, takes smaller value as the transmission time limit stored in lifespan attribute;
Step S206, equipment 2 send the request of creation delivery resource to equipment 3;
In the request, carry polymerize in delivery resource in equipment 2 all signalings (such as Request1 and
Response1 the transmission time limit) and in lifespan attribute recorded;
Step S207, equipment 2 delete the signaling in delivery resource, modify the state of delivery resource;
Since equipment 2 has been completed the operation of corresponding signalling, delivery resource
The signaling stored in aggregatedRequest attribute does not need then to retain;In addition, equipment 2 can also be modified
Information in deliveryMetaData attribute;
Step S208, equipment 3 create delivery resource;
Equipment 3 can create after receiving the request of creation delivery resource of the transmission of equipment 2 according to the request
Delivery resource;If equipment 3 detects that the destination address of the signaling in the delivery resource created is itself, trigger
Step S209;Conversely, then executing polymerization signaling, and the operation (operation of equipment 2 in such as step S204-207) of signaling is transmitted,
Herein without repeating;
Step S209, equipment 3 execute corresponding operation according to the signaling in the delivery resource created;
Equipment 3 according in the aggregatedRequest attribute of delivery resource signaling (such as Request1 and
Response1 corresponding operation) is executed;
It is noted herein that after step S203, if equipment 2 receives the destination address and wound that other equipment are sent
The identical request message in address (such as Request2, and Da=on) of signaling then, also can be by it in the delivery resource built
It is aggregated in aggregatedRequest attribute;Such as equipment 2 receives asking for the creation delivery resource of certain equipment transmission
It asks, the signaling carried in the request includes: Request2, Request3 and Response2, and destination address has been created with equipment 2
The destination address for the delivery resource built is identical, then can be by Request2, Request3 and Response2 mono- in the request
It is same to be aggregated in aggregatedRequest attribute;If also being carried in the request and sending time limit Reqt2, with step S205
Described in, smaller value storage can be taken into lifespan attribute;
Optionally, in aggregatedRequest attribute, request message and response message can be passed through into addition mark
It distinguishes, such as adds " req " before request message, add " res " before response message;
Optionally, if not carrying destination address (to parameter) in response message, since response message can correspond to a request
Message, therefore can be by checking the source address (from parameter) of request message corresponding with the response message, confirmation is answered
The destination address of message is answered, is then again compared the destination address with the destination address of delivery resource, if they are the same, then
The response message is added in the signaling of delivery resource.
Fig. 3 shows a kind of structural schematic diagram of the device 300 of signaling high efficiency of transmission of the embodiment of the present invention,
In some illustrative embodiments, described device 300, comprising:
Creating unit 301, first for creating the first polymerization signal resource for being sent according to the first equipment create
Request, creation the first polymerization signal resource;The destination address of signaling in the first polymerization signal resource corresponds to second and sets
Standby first resource;
Polymerized unit 302, the destination address for arbitrary equipment transmission polymerize the signaling in signal resource with described first
The identical response message of destination address or other equipment in addition to first equipment send carry destination address with
The identical signaling of destination address of signaling in the first polymerization signal resource polymerize signal resource for creating second
Second request to create, and the signaling carried in the response message or second request to create is added to first polymerization
In signal resource;Described first, which polymerize the signaling carried in signaling and/or second request to create in signal resource, includes:
Request message and/or response message;
Transmission unit 303, for all signalings in the first polymerization signal resource to be sent to first polymerization
The destination address of signaling in signal resource;
It in some illustrative embodiments, included the first transmission time limit in the first polymerization signal resource, it is described to answer
It answers message or the request message included the second transmission time limit, described first is limited to time point when sending time limit and the second transmission;
The polymerized unit 302, comprising:
First polymerization subelement 3021, for comparing the value in the first transmission time limit and the second transmission time limit
Compared with if the value in the first transmission time limit less than first time limit, is revised as described second and sent by second time limit
The value in time limit;Conversely, not executing any operation then;
In some illustrative embodiments, the transmission unit 303, comprising:
Subelement 3031 is transmitted, for sending the third request to create for creating third polymerization signal resource;
The third request to create carries the destination address and described first of the signaling in the first polymerization signal resource
All signalings polymerizeing in signal resource indicate that second equipment creates the third polymerization signal resource and according to described the
Signaling in trimerization signal resource executes corresponding operation;Or;
The third request to create carries all signalings in the mark and the first polymerization signal resource of third equipment,
Indicate the letter that the third equipment creates the third polymerization signal resource and is polymerized by the third polymerization signal resource
Enable the destination address for the signaling being sent in the first polymerization signal resource;
In some illustrative embodiments, described device 300, further includes:
The response message is added to the first polymerization signaling money for the polymerized unit 302 by determination unit 304
Before source, according to request message corresponding with the response message, the destination address of the response message is determined;
Judging unit 305, the letter for polymerizeing the destination address of the response message with described first in signal resource
The destination address of order is compared;
The polymerized unit 302, comprising:
Second polymerization subelement 3022, if judging destination address and the institute of the response message for the judging unit
The destination address for stating the signaling in the first polymerization signal resource is identical, then the response message is added to first polymerization and believed
Enable resource;
In some illustrative embodiments, described device 300, further includes:
Monitoring unit 306, after the creating unit 301 creation the first polymerization signal resource, according to described first
The first transmission time limit in polymerization signal resource is monitored;Time limit, and the transmission unit are sent when reaching described first
Still it is not carried out the destination address for the signaling that the signaling having polymerize is sent in the first polymerization signal resource
Operation, then the transmission unit cancels the operation;
In some illustrative embodiments, described device 300, further includes:
Unit 307 is deleted, transmits all signalings in the first polymerization signal resource for the transmission unit 303
After the destination address of signaling into the first polymerization signal resource, delete all in the first polymerization signal resource
Signaling;
Unit 308 is modified, polymerize signaling for recording described first for modifying in the first polymerization signal resource
The Resource Properties of the state of resource;
In some illustrative embodiments, the response message carrying received is used to indicate the response message and is permitted
The polymerization instruction that can be polymerize, the then polymerized unit 302, comprising:
Third polymerization subelement 3023, for after identifying the polymerization instruction, the response message to be aggregated to
In signaling in the first polymerization signal resource.
Using above-described embodiment, following effect can reach:
Request message and response message can be condensed together and be sent to destination address, realize the high efficiency of transmission of signaling,
Apparatus of load is reduced, Internet resources are saved.
It should also be appreciated by one skilled in the art that various illustrative logical boxs, mould in conjunction with the embodiments herein description
Electronic hardware, computer software or combinations thereof may be implemented into block, circuit and algorithm steps.In order to clearly demonstrate hardware and
Interchangeability between software surrounds its function to various illustrative components, frame, module, circuit and step above and carries out
It is generally described.Hardware is implemented as this function and is also implemented as software, depends on specific application and to entire
The design constraint that system is applied.Those skilled in the art can be directed to each specific application, be realized in a manner of flexible
Described function, still, this realization decision should not be construed as a departure from the scope of protection of this disclosure.
The foregoing is only a preferred embodiment of the present invention, is not intended to restrict the invention, for the skill of this field
For art personnel, the invention may be variously modified and varied.All within the spirits and principles of the present invention, made any to repair
Change, equivalent replacement, improvement etc., should all be included in the protection scope of the present invention.