CN104796417B - A kind of method and device for creating subscribing service - Google Patents
A kind of method and device for creating subscribing service Download PDFInfo
- Publication number
- CN104796417B CN104796417B CN201510164155.3A CN201510164155A CN104796417B CN 104796417 B CN104796417 B CN 104796417B CN 201510164155 A CN201510164155 A CN 201510164155A CN 104796417 B CN104796417 B CN 104796417B
- Authority
- CN
- China
- Prior art keywords
- message
- terminal
- label
- application layer
- sent
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 24
- 230000004044 response Effects 0.000 claims abstract description 79
- 238000003860 storage Methods 0.000 claims description 2
- 238000004321 preservation Methods 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 230000004048 modification Effects 0.000 description 5
- 238000012986 modification Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 230000001419 dependent effect Effects 0.000 description 2
- 230000008901 benefit Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000009826 distribution Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 230000002452 interceptive effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
Landscapes
- Information Transfer Between Computers (AREA)
Abstract
A kind of method and device for creating subscribing service is provided in the embodiment of the present invention:The subscription request to create message that application layer receiving terminal is sent, preserves and subscribes to the dialogue identifier carried in request to create message, local label;Application layer is sent request to create message is subscribed to application server;Application layer receives the first response message corresponding with subscribing to request to create message that application server returns, and preserves the distal end label carried in the first response message;First response message is forwarded to terminal by application layer, completes the establishment of subscribing service.Application layer adds local preservation the above in the subsequent message of subscribing service, this way it is ensured that the message conversation mark, local label, distal end label in same subscribing service are consistent.Subscribing service related news are associated and handled without creating dialogue by dialogue layer, and during by talking with to handle subscribing service message, dialogue layer can take a large amount of memory sources for a long time, and this improves the utilization rate of memory source.
Description
Technical field
The present invention relates to field of communication technology, more particularly to a kind of method and device for creating subscribing service.
Background technology
IMS (Ip Multimedia Subsystem, Ip IP multimedia subsystem, IMS) include AS (Application Server,
Application server), PCSCF (Proxy Call Session Control Function, Proxy Call Session Control Function) it is real
Body, SCSCF (Sever Call Session Control Function, service call conversation control function) entity, in IMS
Presence business in, terminal can have the presence for subscribing to multiple good friends, and other resource status at the same time,
As shown in Figure 1A.And these subscribe to event usually with the whole registration period of user, until user log off.According to
RFC3265 agreements describe, and subscription is an implicit dialogue, and for the PCSCF entities in IMS systems, SCSCF entities and AS are real
For body, in order to realize subscribing service, it is necessary to multiple dialogues are preserved for a long time, manage the state of multiple dialogues, and one
Dialogue is made of multiple affairs again, and each dialogue needs to be associated management to multiple affairs.As shown in Figure 1B.
Subscribing service creates dialogue by subscribing to request to create, and the state for subscribing to cancellation request or subscription event is termination
The notice of state is asked to terminate to talk with, specifically as shown in Figure 1B.
Refering to shown in Fig. 1 C, subscription procedure of the prior art is as follows:
Create dialogue:
Step 1:UE (User Equipment, user equipment) sends to PCSCF entities and subscribes to good friend's presence information
Event subscription request to create;
Step 2:PCSCF entities receive subscription request to create.Forwarding subscribes to request to create to SCSCF entities;
Step 3:SCSCF entities receive subscription request to create.Forwarding subscribes to request to create to AS;
Step 4:AS receives subscription request to create, receives request, and send response message;
Step 5:SCSCF entity transmitted response message is to PCSCF entities;
Step 6:PCSCF entity transmitted response message is to UE.
Affairs in dialogue:
Step 7:The current information content of the UE good friend's presences subscribed to is sent SCSCF entities by AS with notification message;
Step 8:SCSCF entities forwarding notification message gives PCSCF entities;
Step 9:PCSCF entities forward notification message to UE;
Step 10:The notified message of UE, sends response message;
Step 11:The response message of the notified message of PCSCF entities, is transmitted to SCSCF entities;
Step 12:The response message of notification message is given to AS by SCSCF entities.
Step 13:When subscription period will be overtime, UE initiates subscription refresh requests and gives PCSCF entities;
Step 14:The forwarding of PCSCF entities subscribes to refresh requests and gives SCSCF entities;
Step 15:SCSCF entities are transmitted to AS by refresh requests are subscribed to;
Step 16:AS sends response message to received subscription refresh requests to SCSCF entities;
Step 17:The response message for refreshing subscription request is transmitted to PCSCF entities by SCSCF entities;
Step 18:PCSCF entity transmitted response message is to UE;
Step 19:After AS has sent the response message subscribed to and refreshed, notification message is and then initiated, UE is subscribed to online
The up-to-date information of friend state notifies to give SCSCF entities;
Step 20:SCSCF entities forward newest notification message to give PCSCF entities;
Step 21:Received notification message is forwarded to UE by PCSCF entities;
Step 22:After the notified message of UE, send response message and confirm;
Step 23:PCSCF entity transmitted response message gives SCSCF entities;
Step 24:SCSCF entity transmitted response message is to AS;
The end of dialogue:
Step 25:When UE deregistration, initiate subscription and cancel message to PCSCF entities;
Step 26:PCSCF entities receive subscription cancellation request, are forwarded to SCSCF entities;
Step 27:The forwarding subscription of SCSCF entities cancels message to AS;
Step 28:AS, which receives to subscribe to, cancels message, sends response message to SCSCF entities;
Step 29:SCSCF entity transmitted response message gives PCSCF entities;
Step 30:Received response message is transmitted to UE by PCSCF entities;
Step 31:After AS has sent the response message subscribed to and cancelled, send a notification message, included in notification message immediately
The state of subscription event is terminated states;
Step 32:SCSCF entities forwarding notification message gives PCSCF entities;
Step 33:PCSCF entities forward notification message to UE;
Step 34:UE sends response message to received notification message;
Step 35:PCSCF entities forward 2 response messages of notification message;
Step 36:The response message of SCSCF entities forwarding notification message terminates to AS, so far whole subscribing service.
From the above process as can be seen that creating subscribing service to during the entire process of unsubscribing business, PCSCF is real
Body, SCSCF entities, AS entities will pass through dialogue layer, as shown in figure iD, believe for a long time to preserve the dialogue of multiple subscription
Breath, manages the state of multiple dialogues, while each talks with the multiple affairs of association process again.Subscribing service is caused to take for a long time
A large amount of memory sources, especially when the number of users in system and voice and packet data concurrent service amount increase, will necessarily cause new business
It can not normally complete.
The content of the invention
The embodiment of the present invention provides a kind of method and device for creating subscribing service, existing in the prior art to solve
The defects of subscribing service committed memory time is longer, memory source utilization rate is relatively low.
Concrete technical scheme provided in an embodiment of the present invention is as follows:
A kind of method for creating subscribing service, including:
The subscription request to create message that application layer receiving terminal is sent, preserves what is carried in the subscription request to create message
Dialogue identifier, local label;
The application layer sends the subscription request to create message to application server;
The application layer receives the first sound corresponding with the subscription request to create message that the application server returns
Message is answered, preserves the distal end label carried in first response message;
First response message is forwarded to the terminal by the application layer, completes the establishment of subscribing service.
A kind of device for creating subscribing service, including application layer, the application layer include:
Receiving module, the subscription request to create message sent for receiving terminal;
The Service Processing Module, for preserving the dialogue identifier carried in the subscription request to create message, this terrestrial reference
Label;
Sending module, for sending the subscription request to create message to application server;
The receiving module is additionally operable to, and receives the corresponding with the subscription request to create message of the application server return
The first response message, preserve the distal end label carried in first response message;
The sending module is additionally operable to, and first response message is forwarded to the terminal, completes the wound of subscribing service
Build.
The embodiment of the present invention provides a kind of method created in subscribing service:The subscription that application layer receiving terminal is sent creates
Request message, preserves and subscribes to the dialogue identifier carried in request to create message, local label;Application layer disappears request to create is subscribed to
Breath is sent to application server;Application layer receives the first response corresponding with subscribing to request to create message that application server returns
Message, preserves the distal end label carried in the first response message;First response message is forwarded to terminal by application layer, completes to subscribe to
The establishment of business, in this way, after application layer preserves dialogue identifier, local label, distal end label, by being added in follow-up message
Dialogue identifier, local label and distal end label, the message relating in same subscribing service is got up.Without by talking with
Layer is associated processing by related news are subscribed to, and solves the memory for creating dialog process subscribing service by dialogue layer and taking
The problem of resource is bigger, and committed memory resource time is longer.Therefore, the embodiment of the present invention shortens the occupancy to memory source
Duration, reduces the distribution of memory source, improves the utilization rate of memory source.
Brief description of the drawings
Figure 1A is the schematic diagram of terminal subscribing service in the prior art;
Figure 1B is the relation schematic diagram of the dialogue of subscribing service and affairs in the prior art;
Fig. 1 C are the flow chart of subscribing service in the prior art;
Fig. 1 D are the schematic diagram for creating subscribing service in the prior art;
Fig. 2A is a kind of flow chart that subscribing service is created in the embodiment of the present invention;
Fig. 2 B are the schematic diagram that subscribing service is created in the embodiment of the present invention;
Fig. 2 C are another flow chart that subscribing service is created in the embodiment of the present invention;
Fig. 3 is the embodiment that subscribing service is handled in the embodiment of the present invention;
Fig. 4 is the structure chart that the device in subscribing service is created in the embodiment of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In attached drawing, the technical solution in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
Part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art
All other embodiments obtained without creative efforts, belong to the scope of protection of the invention.
The terms "and/or", is only a kind of incidence relation for describing affiliated partner, and expression may have three kinds of passes
System, for example, A and/or B, can represent:Individualism A, while there are A and B, these three situations of individualism B.In addition, herein
Middle letter "/", it is a kind of relation of "or" to typically represent forward-backward correlation object.
The preferred embodiment of the present invention is described in detail with reference to Figure of description, it will be appreciated that this place
The preferred embodiment of description is merely to illustrate and explain the present invention, and is not intended to limit the present invention, and in situation about not conflicting
Under, the feature in embodiment and embodiment in the application can be mutually combined.
The preferred embodiment of the present invention is described in detail below in conjunction with the accompanying drawings.
Refering to shown in Fig. 2A, in the embodiment of the present invention, the flow for creating subscribing service is as follows:
Step 200:The subscription request to create message that application layer receiving terminal is sent, preserves first and subscribes to request to create message
The dialogue identifier of middle carrying, local label;
Step 210:Application layer is sent request to create message is subscribed to application server;
Step 220:Application layer receives the first response corresponding with subscribing to request to create message that application server returns and disappears
Breath, preserves the distal end label carried in the first response message;
Step 230:First response message is forwarded to terminal by application layer, completes the establishment of subscribing service.
Application layer in the embodiment of the present invention described in step 200- steps 230 can be the application layer in PCSCF entities
To perform or application layer in SCSCF entities performs or application layer in AS performs, certainly, also may be used
Performed with being other entities, be no longer described in detail one by one herein.
In the embodiment of the present invention, application layer receiving terminal send subscription request to create message mode have it is a variety of, it is optional
, can in the following way, as shown in Figure 2 B:
The subscription request to create message that transport layer receiving terminal is sent, and sent request to create message is subscribed to affairs
Layer;
Transaction layer sends the subscription request to create message received to application layer.
In the embodiment of the present invention, after transport layer receives the subscription request to create message of terminal transmission, further include as follows
Operation:
Transport layer message call decoding functions are decoded to subscribing to request to create message.
In the embodiment of the present invention, when application layer sends the first response message to terminal, nor application layer is directly by
One response message is sent to terminal, but the first response message is first sent to transaction layer, and transaction layer is again by the first response message
Send to transport layer, then transport layer sends the first response message to terminal, as shown in Figure 2 C.
In the embodiment of the present invention, application server sends the first response message to terminal, actively to be sent to terminal
First notification message, terminal is notified by the relevant information of the subscription created, and still, application server is sent to the of application layer
Dialogue identifier, local label and the distal end label of application layer preservation are not carried in one notification message, in order to which same order will be corresponded to
The each affairs for readding business associate, and application layer is when sending the first notification message, also by the dialogue mark of application layer preservation
Know, local label and distal end label are added in the first notification message, therefore, in the embodiment of the present invention, application layer is by the first sound
Answer message to be forwarded to after terminal, also perform following operation:
Application layer receives the first notification message that application server is sent, and the first notification message is used for the subscription that will be created
Relevant information notice terminal;
Application layer will be carried in the first notification message send after preserved dialogue identifier, local label and distal end label to
Terminal.
It is above-mentioned tell about be create subscribe to when interaction subscribe to request to create message method, in the application when subscription period will
When overtime, also to refresh subscription, realize that process is as follows:
Application layer will be carried in the first notification message send after preserved dialogue identifier, local label and distal end label to
After terminal, further include:
The subscription refresh requests message that application layer receiving terminal is sent, and send to application server;
Application layer receive that application server sends with subscribing to corresponding second response message of refresh requests message, and by the
Two response messages are forwarded to terminal.
Similarly, after the second response message is forwarded to terminal by application layer, following operation is further included:
Application layer receives the second notification message that application server is sent, and second notification message is used to refresh
The relevant information notice terminal of subscription;
Application layer will be carried in second notification message send after preserved dialogue identifier, local label and distal end label to
Terminal.
In this way, after terminal receives second notification message, the content that is notified in the notification message and which are just known
Subscribing service is related.
In the embodiment of the present invention, when application layer sends second notification message to terminal, nor terminal is sent directly to,
But first send to transaction layer, transport layer is then transmitted to by transaction layer, similarly, application layer receives the message of terminal transmission
When, nor directly receive, terminal first sends a message to transport layer, and then, transport layer sends a message to transaction layer, thing
Message is transmitted to application layer by business layer again.
It is above-mentioned tell about be create subscribe to and refresh subscribe to, also to perform unsubscribe in the application, unsubscribe process
It is as follows:
Application layer will be carried in the first notification message send after preserved dialogue identifier, local label and distal end label to
After terminal, further include:
The subscription cancel request message that application layer receiving terminal is sent, and send to application server;
Application layer receive that application server sends with subscribing to corresponding 3rd response message of cancel request message, and by the
Three response messages are forwarded to terminal.
In the embodiment of the present invention, after the 3rd response message is forwarded to terminal by application layer, following operation is further included:
Application layer receives the third notice message that application server is sent, and third notice message is used for the subscription that will be cancelled
Relevant information notice terminal;
Application layer will be carried in third notice message send after preserved dialogue identifier, local label and distal end label to
Terminal.
In the application, in order to which each affairs can be found corresponding subscription, first subscribes to carrying pair in request to create message
Words mark, local label and distal end label, in this way, when being subsequently generated new message, either generating new subscription establishment please
Message is sought, when subscribing to refresh requests message, subscribing to cancel request message or response message, all by dialogue identifier, local label
With distal end label carry in the new message of generation, so, it may be determined that each message in affairs be and which
Subscribe to relevant.
In the embodiment of the present invention, application layer further includes before dialogue identifier, local label and distal end label is preserved:
For the memory space application instance number of dialogue identifier to be stored, local label and distal end label;
Application layer is preserving dialogue identifier, local label and distal end label, specifically includes:
Application layer is in the memory space that dialogue identifier, local label and distal end label are stored in corresponding to instance number.
, can be by dialogue identifier when local label and distal end label in this way, preserving dialogue identifier, local label and remote
End label is stored in the corresponding memory space of instance number.
It is not to receive request message every time to apply for instance number in the embodiment of the present invention, only receives subscription and create
Just it is the memory space application instance number of dialogue identifier to be stored, local label and distal end label during request message, foundation pair
The hash lists of words mark and instance number;When receiving the subsequent message for subscribing to request to create message, pair in subsequent message
Words mark inquiry hash lists obtain instance number, find dialogue identifier in the corresponding memory space of instance number, local label, far
Hold label.
In the embodiment of the present invention, after the response message for having sent third notice message, instance number and memory space are discharged, is deleted
Except Hash list.
In the embodiment of the present invention, specifically when stored, it can be preserved in the form of hash lists, be remembered in hash lists
Instance number, and the corresponding dialogue identifier of each instance number are recorded.
Transport layer receives the interface and application layer and application server for subscribing to request to create message in the embodiment of the present invention
Interactive interface is different, when application layer receives and subscribes to request to create message is not direct forwarding but right therefore
Subscribe to request to create message to modify, then could send amended subscription request to create message to application server.
Similarly, it is not directly to forward when receiving subscription refresh requests message, but after changing subscription refresh requests message
Send to application server;When receiving subscription cancel request message, nor directly forwarding, but change and subscribe to cancellation request
Sent after message to application server.
Similarly, it is not directly to be forwarded to, but the first response message is repaiied when receiving the first response message
Change;The second response message is received, is not directly to forward, but modify;The 3rd response message is received, is not directly to turn
Hair, but modify.
In the embodiment of the present invention, in order to make application server determine with subscribing to relevant request message order of arrival, and then
Each request message is associated, what terminal was sent carries Cseq sequence numbers with subscribing in relevant request message, each with
Subscribe to the Cseq sequence numbers carried in relevant request message and reach the order dependent of application server with the message, as terminal is sent
The Cseq serial numbers 1 carried in request to create message are subscribed to, subscribe to the Cseq serial numbers 2 carried in refresh requests message, are subscribed to
The Cseq serial numbers 3 carried in cancel request message, then it represents that subscribe to request to create message and first reach application server, then,
Subscribe to refresh requests message and reach application server, be finally only and subscribe to cancel request message arrival application server, it is above-mentioned to say
That states is three and is illustrated with subscribing to exemplified by relevant request message in practical applications, can there is the message of more than three,
No longer it is described in detail one by one herein.
Similarly, the notification message that application server is sent will also carry Cseq sequence numbers, be carried in each notification message
Cseq sequence numbers reach the order dependent of terminal with the message, the Cseq that carries in the first notification message sent such as application server
Serial number 1, the Cseq serial numbers 2 carried in second notification message, the Cseq serial numbers 3 carried in third notice message, then table
Show the first notification message elder generation incoming terminal, then, second notification message incoming terminal, is finally only third notice message and reaches eventually
End, above-mentioned tell about illustrated exemplified by three notification messages, and in practical applications, the notice that can have more than three disappears
Breath, is no longer described in detail one by one herein.
If adding Cseq sequence numbers in message, in preservation dialogue identifier, local label, distal end label, also
Cseq sequence numbers are preserved, dialogue identifier, local label, distal end label and Cseq sequence numbers can be stored in the corresponding storage of instance number
In space.After receiving subsequent message, the dialogue identifier in message searches Hash list, corresponding instance number is obtained, with regard to energy
Obtain the dialogue identifier of the preservation of the corresponding memory space of instance number, local label and distal end label and Cseq sequence numbers.
As shown in figure 3, embodiment for a better understanding of the present invention, is given below concrete application scene, is ordered for processing
The process of the affairs in business is read, makes and being described in further detail:
Step 300:The subscription request to create message that the transport layer receiving terminal of PCSCF entities is sent, and send to PCSCF
The transaction layer of entity;
Step 310:The transaction layer of PCSCF entities is sent request to create message is subscribed to the application layer of PCSCF entities;
Step 320:The application layer of PCSCF entities obtains the dialogue identifier subscribed in request to create message, local label;
Step 330:The application layer of PCSCF entities is sent request to create message is subscribed to application server;
Step 340:Application server is returned with subscribing to request to create message corresponding first to the application layer of PCSCF entities
Response message;
Step 350:The application layer of PCSCF entities obtains distal end label from the first response message, and preserves distal end label;
Step 360:The application layer of PCSCF entities sends the first response message to the transaction layer of PCSCF entities, then,
The transaction layer of PCSCF entities is sent to the transport layer of PCSCF entities;
Step 370:Application server sends the first notification message to the application layer of PCSCF entities;
Step 380:Mark, local label and distal end are marked if application server will be preserved to the application layer of PCSCF entities
Label addition is sent to terminal in the first notification message by transaction layer and transport layer.
As shown in figure 4, the embodiment of the present invention provides a kind of device for creating subscribing service, which includes application layer, should
Included with layer:
Receiving module 40, the subscription request to create message sent for receiving terminal;
Service Processing Module 41, the dialogue identifier carried in request to create message, local label are subscribed to for preserving;
Sending module 42, sends to application server for will subscribe to request to create message;
Receiving module 40 is additionally operable to, and receives the first response corresponding with subscribing to request to create message that application server returns
Message, preserves the distal end label carried in the first response message;
Sending module 42 is additionally operable to, and the first response message is forwarded to terminal, completes the establishment of subscribing service.
Further, in the embodiment of the present invention, receiving module 40 is additionally operable to, and receives the first notice that application server is sent
Message, the relevant information that the first notification message is used for the subscription that will be created notify terminal;
Sending module 42 is additionally operable to, and preserved dialogue identifier, local label and distal end will be carried in the first notification message
After label, send to terminal.
Further, receiving module 40 is additionally operable in the embodiment of the present invention, and the subscription refresh requests that receiving terminal is sent disappear
Breath;
Sending module 42 is additionally operable to, and is sent to application server;
Receiving module 40 is additionally operable to, and receives the second response corresponding with subscribing to refresh requests message that application server is sent
Message;
Sending module 42 is additionally operable to, and the second response message is forwarded to terminal.
Further, receiving module 40 is additionally operable in the embodiment of the present invention, receives the second notice that application server is sent
Message, the relevant information that second notification message is used for the subscription that will refresh notify terminal;
Sending module 42 is additionally operable to, and preserved dialogue identifier, local label and distal end will be carried in second notification message
Sent after label to terminal.
Further, receiving module 40 is additionally operable in the embodiment of the present invention, and the subscription cancellation request that receiving terminal is sent disappears
Breath;
Sending module 42 is additionally operable to, and is sent to application server;
Receiving module 40 is additionally operable to, and receives the 3rd response corresponding with subscribing to cancel request message that application server is sent
Message;
Sending module 42 is additionally operable to, and the 3rd response message is forwarded to terminal.
Further, receiving module 40 is additionally operable in the embodiment of the present invention, receives the third notice that application server is sent
Message, the relevant information that third notice message is used for the subscription that will be cancelled notify terminal;
Sending module 42 is additionally operable to, and preserved dialogue identifier, local label and distal end will be carried in third notice message
After label, send to terminal.
Further, application module is further included in the embodiment of the present invention, application module is used for:
For the memory space application instance number of dialogue identifier to be stored, local label and distal end label;
Service Processing Module 41 is specifically used for:
In the memory space that dialogue identifier, local label and distal end label are stored in corresponding to instance number.
The present invention be with reference to according to the method for the embodiment of the present invention, the flow of equipment (system) and computer program product
Figure and/or block diagram describe.It should be understood that it can be realized by computer program instructions every first-class in flowchart and/or the block diagram
The combination of flow and/or square frame in journey and/or square frame and flowchart and/or the block diagram.These computer programs can be provided
The processors of all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing devices is instructed to produce
A raw machine so that the instruction performed by computer or the processor of other programmable data processing devices, which produces, to be used in fact
Present one flow of flow chart or one square frame of multiple flows and/or block diagram or the device of the function in multiple square frames.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing devices with spy
Determine in the computer-readable memory that mode works so that the instruction being stored in the computer-readable memory, which produces, to be included referring to
Make the manufacture of device, the command device realize in one flow of flow chart or multiple flows and/or one square frame of block diagram or
Function in multiple square frames.
These computer program instructions can be also loaded into computer or other programmable data processing devices so that counted
Series of operation steps is performed on calculation machine or other programmable devices to produce computer implemented processing, thus in computer or
The instruction performed on other programmable devices is provided and is used for realization in one flow of flow chart or multiple flows and/or block diagram one
The step of function in a square frame or multiple square frames.
Although preferred embodiments of the present invention have been described, but those skilled in the art once know basic creation
Property concept, then can make these embodiments other change and modification.So appended claims be intended to be construed to include it is excellent
Select embodiment and fall into all change and modification of the scope of the invention.
Obviously, those skilled in the art can carry out the embodiment of the present invention various modification and variations without departing from this hair
The spirit and scope of bright embodiment.In this way, if these modifications and variations of the embodiment of the present invention belong to the claims in the present invention
And its within the scope of equivalent technologies, then the present invention is also intended to comprising including these modification and variations.
Claims (14)
- A kind of 1. method for creating subscribing service, it is characterised in that including:The subscription request to create message that application layer receiving terminal is sent, preserves the dialogue subscribed to and carried in request to create message Mark, local label;The application layer sends the subscription request to create message to application server;The application layer receives the first response corresponding with the subscription request to create message that the application server returns and disappears Breath, preserves the distal end label carried in first response message;First response message is forwarded to the terminal by the application layer, completes the establishment of subscribing service.
- 2. the method as described in claim 1, it is characterised in that first response message is forwarded to described by the application layer After terminal, further include:The application layer receives the first notification message that the application server is sent, and first notification message is used to be created The relevant information for the subscription built notifies the terminal;The application layer will carry the dialogue identifier preserved, the local label and described in first notification message After the label of distal end, send to the terminal.
- 3. method as claimed in claim 2, it is characterised in that the application layer sends first notification message to described After terminal, further include:The application layer receives the subscription refresh requests message that the terminal is sent, and sends to the application server;The application layer receives the second response corresponding with the subscription refresh requests message that the application server is sent and disappears Breath, and second response message is forwarded to the terminal.
- 4. method as claimed in claim 3, it is characterised in that second response message is forwarded to described by the application layer After terminal, further include:The application layer receives the second notification message that the application server is sent, and the second notification message is used to be brushed The relevant information of the subscription newly obtained notifies the terminal;The application layer will carry the dialogue identifier preserved, the local label and described in the second notification message Sent after the label of distal end to the terminal.
- 5. method as claimed in claim 2, it is characterised in that the application layer sends first notification message to described After terminal, further include:The application layer receives the subscription cancel request message that the terminal is sent, and sends to the application server;The application layer receives the 3rd response corresponding with the subscription cancel request message that the application server is sent and disappears Breath, and the 3rd response message is forwarded to the terminal.
- 6. method as claimed in claim 5, it is characterised in that the 3rd response message is forwarded to described by the application layer After terminal, further include:The application layer receives the third notice message that the application server is sent, and the third notice message is used to be taken The relevant information of the subscription to disappear notifies the terminal;The application layer will carry the dialogue identifier preserved, the local label and described in the third notice message After the label of distal end, send to the terminal.
- 7. such as claim 1-6 any one of them methods, it is characterised in that the application layer preserve the dialogue identifier, Before the local label and the distal end label, further include:For the memory space application instance number of the dialogue identifier to be stored, the local label and the distal end label;The application layer is preserving dialogue identifier, the local label and the distal end label, specifically includes:The application layer is that the dialogue identifier, the local label and the distal end label are stored in instance number institute is right In the memory space answered.
- 8. a kind of device for creating subscribing service, it is characterised in that described device is applied to application layer, and described device includes:Receiving module, the subscription request to create message sent for receiving terminal;The Service Processing Module, for preserving the dialogue identifier carried in the subscription request to create message, local label;Sending module, for sending the subscription request to create message to application server;The receiving module is additionally operable to, receive that the application server returns corresponding with the subscription request to create message the One response message, preserves the distal end label carried in first response message;The sending module is additionally operable to, and first response message is forwarded to the terminal, completes the establishment of subscribing service.
- 9. device as claimed in claim 8, it is characterised in that the receiving module is additionally operable to, and receives the application server The first notification message sent, first notification message are used to the relevant information of the subscription created notifying the terminal;The sending module is additionally operable to, and the dialogue identifier preserved, the local will be carried in first notification message After label and the distal end label, send to the terminal.
- 10. device as claimed in claim 9, it is characterised in that the receiving module is additionally operable to, and receives what the terminal was sent Subscribe to refresh requests message;The sending module is additionally operable to, and is sent to the application server;The receiving module is additionally operable to, receive that the application server sends corresponding with the subscription refresh requests message the Two response messages;The sending module is additionally operable to, and second response message is forwarded to the terminal.
- 11. device as claimed in claim 10, it is characterised in that the receiving module is additionally operable to, and receives the application service The second notification message that device is sent, the second notification message are used for described in the relevant information notice for the subscription that will refresh Terminal;The sending module is additionally operable to, and the dialogue identifier preserved, the local will be carried in the second notification message Sent after label and the distal end label to the terminal.
- 12. device as claimed in claim 9, it is characterised in that the receiving module is additionally operable to, and receives what the terminal was sent Subscribe to cancel request message;The sending module is additionally operable to, and is sent to the application server;The receiving module is additionally operable to, receive that the application server sends corresponding with the subscription cancel request message the Three response messages;The sending module is additionally operable to, and the 3rd response message is forwarded to the terminal.
- 13. device as claimed in claim 12, it is characterised in that the receiving module is additionally operable to, and receives the application service The third notice message that device is sent, the third notice message are used to the relevant information for the subscription cancelled notifying the end End;The sending module is additionally operable to, and the dialogue identifier preserved, the local will be carried in the third notice message After label and the distal end label, send to the terminal.
- 14. such as claim 8-13 any one of them devices, it is characterised in that further include application module, the application module For:For the memory space application instance number of the dialogue identifier to be stored, the local label and the distal end label;The Service Processing Module is specifically used for:The dialogue identifier, the local label and the distal end label are being stored in the sky of the storage corresponding to the instance number Between in.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510164155.3A CN104796417B (en) | 2015-04-08 | 2015-04-08 | A kind of method and device for creating subscribing service |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510164155.3A CN104796417B (en) | 2015-04-08 | 2015-04-08 | A kind of method and device for creating subscribing service |
Publications (2)
Publication Number | Publication Date |
---|---|
CN104796417A CN104796417A (en) | 2015-07-22 |
CN104796417B true CN104796417B (en) | 2018-05-01 |
Family
ID=53560929
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510164155.3A Active CN104796417B (en) | 2015-04-08 | 2015-04-08 | A kind of method and device for creating subscribing service |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN104796417B (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107395761B (en) * | 2017-08-29 | 2020-09-18 | 北京大生在线科技有限公司 | Local publishing online education course monitoring system based on subscription |
CN116319985A (en) | 2018-12-13 | 2023-06-23 | Oppo广东移动通信有限公司 | Proxy subscription method, device, computer equipment and storage medium |
CN113271337B (en) * | 2021-04-22 | 2023-08-18 | 深圳蓝蛙网络技术有限公司 | Method and device for subscribing computer message |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794723A (en) * | 2005-10-11 | 2006-06-28 | 华为技术有限公司 | Processing method of off-line message |
CN1949770A (en) * | 2005-10-14 | 2007-04-18 | 华为技术有限公司 | Method for providing push message and push agent device |
CN101047691A (en) * | 2006-04-29 | 2007-10-03 | 华为技术有限公司 | Method for integral controlling subscribe |
-
2015
- 2015-04-08 CN CN201510164155.3A patent/CN104796417B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1794723A (en) * | 2005-10-11 | 2006-06-28 | 华为技术有限公司 | Processing method of off-line message |
CN1949770A (en) * | 2005-10-14 | 2007-04-18 | 华为技术有限公司 | Method for providing push message and push agent device |
CN101047691A (en) * | 2006-04-29 | 2007-10-03 | 华为技术有限公司 | Method for integral controlling subscribe |
Also Published As
Publication number | Publication date |
---|---|
CN104796417A (en) | 2015-07-22 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11050684B2 (en) | Methods and apparatuses for cross platforms conversations through a bot framework | |
JP4829248B2 (en) | Method and apparatus for providing communication group information to a client | |
US8099089B2 (en) | Method, user equipment and software product for media stream transfer between devices | |
US20130179518A1 (en) | Method and system for having a conference across im systems | |
US8499084B2 (en) | System for conducting multi-media communication sessions | |
US20200404031A1 (en) | System and method for providing a media communication conversation service | |
US20090204673A1 (en) | Method, system and apparatus for performing multi-party communications and method for publishing event state | |
US20070127670A1 (en) | Communication control method and computer system | |
US20080270553A1 (en) | Method and System for Instant Notification of Communication Block Information | |
US20110264777A1 (en) | Communications device and method | |
JP2010533906A (en) | Method, system and apparatus for sorting topics within a group | |
CN106537950B (en) | Method, device and system for speech right control of multi-MCPTT system | |
CN104796417B (en) | A kind of method and device for creating subscribing service | |
CN106487641A (en) | A kind of method and apparatus for realizing online customer service | |
CN103024687A (en) | Method and equipment for establishing instant messaging | |
EP2453681A1 (en) | System and method for routing session initiation protocol conversation | |
CN101771549A (en) | Method and device for sending notification message | |
CN103986710A (en) | Method, device and system for message transmission | |
CN102891831A (en) | Implement method of multimedia conferencing service and related equipment | |
CN102209313A (en) | Presence information subscribing method and system, resource list server and presence server | |
WO2019023974A1 (en) | Communication control apparatus and method for multi-topic dialogue, and computer processing device | |
WO2016206477A1 (en) | Interaction method, apparatus, and system for unstructured supplementary services data, and computer readable storage medium | |
EP2187584A1 (en) | A message association method, user terminal and server | |
CN101677302B (en) | Method and apparatus for providing information to users in a multi-device environment | |
CN103701879A (en) | Method and device for automatically realizing business processing |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
EXSB | Decision made by sipo to initiate substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |