CN106161196A - A kind of obtain the method for HTTP message state, equipment and system - Google Patents
A kind of obtain the method for HTTP message state, equipment and system Download PDFInfo
- Publication number
- CN106161196A CN106161196A CN201510185510.5A CN201510185510A CN106161196A CN 106161196 A CN106161196 A CN 106161196A CN 201510185510 A CN201510185510 A CN 201510185510A CN 106161196 A CN106161196 A CN 106161196A
- Authority
- CN
- China
- Prior art keywords
- message
- equipment
- subscription
- session
- status
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/146—Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer And Data Communications (AREA)
- Information Transfer Between Computers (AREA)
Abstract
It is an object of the invention to provide a kind of for obtaining the method for HTTP message state, equipment and system.First equipment is to one or more second equipment sending message state subscription notices, and obtain the subscription response information that described second equipment is sent, then, based on the resource identification in described subscription response information, send to described second equipment and perform message, finally when described message status notice matches with described subscription message status, obtain the message status notice that described second equipment is sent.Compared with prior art, the present invention obtains the message status of the second equipment in real time by achieving the first equipment, it is to avoid the delay of message status, improves information processing efficiency, reduces the wasting of resources, improves Consumer's Experience.
Description
Technical field
The present invention relates to Internet technical field, particularly relate to a kind of acquisition HTTP message state
Technology.
Background technology
In http protocol, POST and GET is to carry out between a client and a server asking
When asking-respond, two kinds of most common methods.Specifically, POST is to submit to the resource specified
Data to be processed, GET is from the resource request data specified.
In current HTTP, session API (Conversation API) is used for as IMS
Service and capacity provide simple and access.RESTful voice-over-net such as OMA calls API
(OMA RESTful Network Audio Call API) is defined, application server energy
Enough to opposite end transmission POST message, thus be that participant played voice message (includes in opposite end
Audio/video/text/VXML).In order to obtain message status, as this message is suspended, broadcasts
In putting, playing, terminate or mistake, application server needs periodically to send with resource
The GET message of ID, described resource ID creates and corresponding with this message in order to message plays.
The shortcoming of this method clearly application server cannot obtain up-to-date in real time
Message status.
Needs are performed to the scene operated further, application service based on hot information state
Device cannot realize obtaining up-to-date message status in real time based on Current specifications.
Such as, application server wishes to play message for calling participant, and is broadcast in this message
After putting, route the call to another participant.Application server send POST message with
Play this message.In order to know whether this message is played, application server needs frequently to send
GET message is to obtain message status.Application server cannot know that message plays lasting time
Between.Such as, as shown in Figure 1, it is assumed that this message continues 2.5 minutes, and application server is every
GET message is sent every 1 minute.Then, application server is after third time sends (i.e. the
Three minutes) obtain the state that this message is played, and this is delayed 0.5 minute than finishing playing.
Application server cannot carry out any behaviour to calling participant within this persistent period of 0.5 minute
Make.
Thus, application server wants the change obtaining message status to be in real time impossible,
Which results in a certain degree of delay under some scene, and these scenes need at message status
Perform operation further (as play) after change at once.This is for terminal use unfriendly.
Summary of the invention
It is an object of the invention to provide a kind of for obtaining the method for HTTP message state, equipment
With system.
According to an aspect of the invention, it is provided one is used for obtaining HTTP at the first equipment
The method of message status, wherein, the method includes:
-message status subscribing notification is sent to one or more second equipment, wherein, described
Message status subscribing notification includes the meeting of notice mark, described first equipment and described second equipment
The session identification of words and one or more subscription message status;
-obtain the subscription response information that described second equipment is sent, wherein, described subscription is rung
Information is answered to include one or more resource identification, described resource identification and described session identification phase
Corresponding;
Wherein, the method also includes:
-send execution message extremely described second equipment, wherein, described execution message and described money
Source mark is corresponding;
-obtain the message status notice that described second equipment is sent, wherein, described message shape
State notice matches with described subscription message status.
In accordance with a further aspect of the present invention, one is additionally provided at the second equipment for obtaining
The method of HTTP message state, wherein, the method includes:
The message status subscribing notification that-first equipment that obtains is sent, wherein, described message shape
State subscribing notification includes the meeting of notice mark, described first equipment and the session of described second equipment
Words mark and one or more subscription message status;
-send subscription response information to described first equipment, wherein, described subscription response information
Including one or more resource identification, described resource identification is corresponding with described session identification;
Wherein, the method also includes:
-obtain the execution message that described second equipment is sent, wherein, described execution message with
Described resource identification is corresponding;
Whether-detection current message state matches with described subscription message status;
-when described message status matches with described subscription message status, message status is notified
Send to described first equipment.
According to another aspect of the invention, one is additionally provided for obtaining HTTP message state
The first equipment, wherein, this equipment includes:
Subscribe to dispensing device, for sending message status subscribing notification to one or more second
Equipment, wherein, described message status subscribing notification include notice mark, described first equipment with
The session identification of the session of described second equipment and one or more subscription message status;
Response acquisition device, for obtaining the subscription response information that described second equipment is sent,
Wherein, described subscription response information includes one or more resource identification, described resource identification
Corresponding with described session identification;
Wherein, this equipment also includes:
Perform dispensing device, be used for sending execution message extremely described second equipment, wherein, described
Perform message corresponding with described resource identification;
State acquisition device, for obtaining the message status notice that described second equipment is sent,
Wherein, described message status notice matches with described subscription message status.
According to a further aspect in the invention, one is additionally provided for obtaining HTTP message state
The second equipment, wherein, this equipment includes:
Subscribe to acquisition device, for obtaining the message status subscribing notification that the first equipment is sent,
Wherein, described message status subscribing notification includes notice mark, described first equipment and described the
The session identification of the session of two equipment and one or more subscription message status;
Response dispensing device, is used for sending subscription response information to described first equipment, wherein,
Described subscription response information includes one or more resource identification, and described resource identification is with described
Session identification is corresponding;
Wherein, this equipment also includes:
Perform acquisition device, for obtaining the execution message that described second equipment is sent, wherein,
Described execution message is corresponding with described resource identification;
Whether detection device, be used for detecting current message state with described subscription message status mutually
Join;
State dispensing device, for when described message status and described subscription message status phase
Join, message status notice is sent to described first equipment.
According to a further aspect in the invention, one is additionally provided for obtaining HTTP message state
System, including the first equipment as described above and the second equipment as described above.
Compared with prior art, the present invention is sent out to one or more second equipment by the first equipment
Send message status subscribing notification, and obtain the subscription response information that described second equipment is sent,
Then, based on the resource identification in described subscription response information, send to described second equipment and hold
Row message, finally when described message status notice matches with described subscription message status, obtains
Take the message status notice that described second equipment is sent;It is achieved thereby that the first equipment obtains in real time
Take the message status of the second equipment, it is to avoid the delay of message status, improve information processing effect
Rate, reduces the wasting of resources, improves Consumer's Experience.
And, the present invention can also be sent by described first equipment and subscribe to detection message to the most described the
Two equipment, thus detect whether to have had subscribed to message status, it is ensured that after message status is subscribed to
Continuous process.
And, the present invention can also be sent subscription deletion message by the first equipment and set to described second
Standby, thus delete message status and subscribe to, it is achieved complete handling process.
Accompanying drawing explanation
The detailed description that non-limiting example is made made with reference to the following drawings by reading,
The other features, objects and advantages of the present invention will become more apparent upon:
Fig. 1 illustrates and plays HTTP audio message and the stream of detection message status in prior art
Cheng Tu;
It is a kind of for obtaining HTTP message state that Fig. 2 illustrates according to one aspect of the invention
First equipment and the second equipment schematic diagram;
Fig. 3 illustrates that one according to a further aspect of the present invention is by the first equipment and the second equipment phase
Coordinate, for the method flow diagram obtaining HTTP message state;
Fig. 4 illustrates a kind of broadcasting HTTP audio message in accordance with a preferred embodiment of the present invention
And the flow chart of detection message status.
In accompanying drawing, same or analogous reference represents same or analogous parts.
Detailed description of the invention
It should be mentioned that, some are exemplary before being discussed in greater detail exemplary embodiment
Embodiment is described as process or the method described as flow chart.Although flow chart is by every behaviour
Be described into order process, but many of which operation can by concurrently, concomitantly or
Person implements simultaneously.Additionally, the order of operations can be rearranged.When it has operated
Shi Suoshu process can be terminated, it is also possible to have the extra step being not included in accompanying drawing
Suddenly.Described process can correspond to method, function, code, subroutine, subprogram etc..
Alleged " the first equipment " or " the second equipment ", including being arbitrarily able to carry out letter within a context
The computer equipment of breath transmission.Here, described " computer equipment ", also referred to as " computer ", it is
It is pre-that finger can perform numerical computations and/or logical calculated etc. by operation preset program or instruction
Determining the intelligent electronic device of processing procedure, it can include processor and memorizer, by processor
The survival instruction performing to prestore in memory performs predetermined process process, or by ASIC,
The hardware such as FPGA, DSP performs predetermined process process, or is combined by said two devices and realize.
Computer equipment include but not limited to server, PC, notebook computer, panel computer,
Smart mobile phone etc..
Described computer equipment includes subscriber equipment and the network equipment.That is, of the present invention
One equipment or the second equipment include such as application server or subscriber equipment.Wherein, described user sets
For including but not limited to computer, smart mobile phone, PDA etc.;The described network equipment includes but does not limits
In single network server, multiple webserver composition server group or based on cloud computing
The cloud being made up of a large amount of computers or the webserver of (Cloud Computing), wherein,
Cloud computing is the one of Distributed Calculation, be made up of a group loosely-coupled computer collection
Super virtual machine.Wherein, described computer equipment isolated operation can realize the present invention,
Also can be accessed by network and by realizing with the interactive operation of other computer equipments in network
The present invention.Wherein, the network residing for described computer equipment includes but not limited to the Internet, wide
Territory net, Metropolitan Area Network (MAN), LAN, VPN etc..
It should be noted that described subscriber equipment, the network equipment and network etc. are only for example, its
He is such as applicable to the present invention, also at existing or that be likely to occur from now on computer equipment or network
Within should being included in scope, and it is incorporated herein with way of reference.
Concrete structure disclosed herein and function detail are the most representational, and be for
The purpose of the exemplary embodiment of the present invention is described.But the present invention can replace shape by many
Formula implements, and is not interpreted as being limited only by enforcement set forth herein
Example.
It should further be mentioned that in some replace implementation, the function/action being previously mentioned can
With according to being different from accompanying drawing the order generation indicated.For example, involved merit is depended on
Energy/action, the two width figures in succession illustrated can essentially substantially simultaneously perform or the most permissible
Perform in a reverse order.
Below in conjunction with the accompanying drawings the present invention is described in further detail.
It is a kind of for obtaining HTTP message state that Fig. 2 illustrates according to one aspect of the invention
First equipment and the second equipment schematic diagram;Wherein, described first equipment 1 includes subscribing to transmission dress
Put 11, respond acquisition device 12, execution dispensing device 13, state acquisition device 14, described
Second equipment 2 includes subscribing to acquisition device 21, response dispensing device 22, performing acquisition device
23, detection device 24, state dispensing device 25.
Specifically, message status is ordered by the described subscription dispensing device 11 of described first equipment 1
Read notice to send to one or more second equipment, wherein, described message status subscribing notification bag
Include the session identification and of the session of notice mark, described first equipment and described second equipment
Individual or multiple subscription message status;Correspondingly, the described subscription of described second equipment 2 obtains dress
Put the message status subscribing notification that 21 acquisition the first equipment are sent, wherein, described message shape
State subscribing notification includes the meeting of notice mark, described first equipment and the session of described second equipment
Words mark and one or more subscription message status;Then, described response dispensing device 22
Sending subscription response information extremely described first equipment, wherein, described subscription response information includes
One or more resource identifications, described resource identification is corresponding with described session identification;Correspondingly,
The described response acquisition device 12 of described first equipment 1 obtains what described second equipment was sent
Subscription response information, wherein, described subscription response information includes one or more resource identification,
Described resource identification is corresponding with described session identification;Described execution dispensing device 13 sends and holds
Row message is to described second equipment, and wherein, described execution message is corresponding with described resource identification;
Correspondingly, described execution acquisition device 23 obtains the execution message that described second equipment is sent,
Wherein, described execution message is corresponding with described resource identification;Described detection device 24 detects
Whether current message state matches with described subscription message status;When described message status and institute
Stating subscription message status to match, message status notice is sent by described state dispensing device 25
To described first equipment 1;Correspondingly, the described state acquisition device 14 of described first equipment 1
Obtaining the message status notice that described second equipment is sent, wherein, described message status notifies
Match with described subscription message status.
Here, the message status acquired in the present invention is HTTP message state;Here, it is described
HTTP message includes but not limited to any one is transmitted, needs based on http protocol
Certain HTTP message performing the time, such as speech message, video messaging, image information, literary composition
This message, VXML message etc..Such as, it is speech message/video when described HTTP message
During message, opposite end can play this speech message/video messaging, thus needs certain reproduction time;
When described HTTP message is text message, opposite end can be converted into the audio frequency needing to play
Message etc. play out;When described HTTP message is image information, opposite end can by one or
Plurality of pictures is circulated displaying, thus needs certain displaying time etc..
Preferably, described HTTP message is RESTful internet message;It is highly preferred that it is described
HTTP message is RESTful voice-over-net message.
Message status subscribing notification is sent out by the described subscription dispensing device 11 of described first equipment 1
Delivering to one or more second equipment, correspondingly, the described subscription of described second equipment 2 obtains
Device 21 obtains the message status subscribing notification that the first equipment is sent, wherein, described message
State subscription notice includes the session with described second equipment of notice mark, described first equipment
Session identification and one or more subscription message status.
Specifically, described subscription dispensing device 11 is based on the side sending message in http protocol
Method, such as POST method, before sending execution message, elder generation is to described second equipment sending message
State subscription notifies, thus in described first equipment and described second equipment room completion message state
Subscribe to.Wherein, described message status subscribing notification includes notice mark, described first equipment
The session identification of the session with described second equipment and one or more subscription message status.
Here, described notice mark is i.e. used for unique mark identifying this notice, such as Notification URL.
Described session identification is i.e. used for the mark of unique session identifying two or more equipment rooms,
This, described session can be between one or more first equipment and one or more second equipment
Session, described session identification can be defined or according to resource by such as call session identifier
Mark (such as resource URL) defines.
Here, described subscription message status includes but not limited to that described first equipment wishes to obtain
One or more message status, as in hanging up, performing, executed, mistake, termination etc..
Preferably, as a example by played voice message, the most described subscription message status include but not limited to
Under at least any one: hang up (pending), play in (playing), executed (played),
Mistake (error), termination (terminated).If not specified described subscription message status, then
Can using default message status (such as above-mentioned all message status) all as described in subscription message shape
State.
Lift here, those skilled in the art will be understood that above-mentioned message status subscribing notification is only
Example, not limitation of the present invention, other notice mark, session identification or subscription message shape
State such as can be suitably used for the present invention, is also contained in protection scope of the present invention.
Preferably, described message status subscribing notification also includes following at least any one:
-ordered type of message, such as text, audio frequency, video, picture, VXML etc..
If not specified ordered type of message, then default type of message (all can be disappeared as above-mentioned
Cease time) all as ordered type of message.
The session address of-described session, as participated in a side or SIP URI, TEL in many ways of session
URI, ACR URI etc., if not specified session address, then provide the message transmitted to meeting
All participants in words.
The resource recovery mark of-described resource, here, described resource includes but not limited to arbitrarily
Voice, video, text, picture, VXML etc., described resource recovery mark can allow for using
Family is replied during asset creation from communication failure, therefore avoids such as communication failure situation
Under twice identical subscription.
-self reference resources identifies, such as self Referral URL (Self Referring URL).
Identify according to self reference resources described, complete money can be returned based on any HTTP method
Source.
Then, described response dispensing device 22 sends subscription response information extremely described first equipment,
Correspondingly, the described response acquisition device 12 of described first equipment 1 obtains described second equipment
The subscription response information sent, wherein, described subscription response information includes one or more
Resource identification, described resource identification is corresponding with described session identification.
Specifically, described response dispensing device 22 is based on corresponding http protocol, to described
The response acquisition device 12 of the first equipment sends subscription response information, and this response represents that first sets
The request of standby 1 is implemented, and has new resource according to described message status subscribing notification
And set up, as 201Created responds.Wherein, described subscription response information includes one
Or multiple resource identification, such as resource URL, described resource identification and described first equipment are with described
The session identification of the second equipment is corresponding, represents that this resource identification is a money in described session
Source.
Described execution dispensing device 13 transmission execution message is to described second equipment, correspondingly,
Described execution acquisition device 23 obtains the execution message that described second equipment is sent, wherein,
Described execution message is corresponding with described resource identification.
Specifically, described execution dispensing device 13 is based on corresponding http protocol, by described
Perform message and send the execution acquisition device 23 to described second equipment, here, described execution disappears
Breath includes but not limited to what the resource corresponding to described resource identification was performed by any one
Operation, such as, when described message is speech message, then described " execution " is play operation;When
Described message is non-voice message, then described " execution " is that other start the broadcasting/operation of this message
Deng operation.Sent here, described resource identification is in described response dispensing device 22
Resource identification.
After described execution acquisition device 23 gets described execution message, then can be based on described
The information such as the execution operation sent in execution message and/or execution time, to described resource identification
The resource identified performs, such as, and played voice message.
Described detection device 24 detect current message state whether with described subscription message status phase
Coupling;When described message status matches with described subscription message status, described state sends dress
Put 25 to send message status notice to described first equipment 1;Correspondingly, described first equipment
The described state acquisition device 14 of 1 obtains the message status notice that described second equipment is sent.
Specifically, described detection device 24 detects described money according to described subscription message status
The message status of the resource corresponding to source-representation, the most described message status and described subscription message
State matches, and as play from suspending to, finishes playing from being played to, and the most described state sends
This device 25 will be according to described subscription message status, based on corresponding http protocol, by right
The message status notice answered sends the state acquisition device to described first equipment.Wherein, described
Message status notice comprises the current message state of this message, thus, described first equipment energy
The message status notice that enough instant acquisitions are up-to-date.
Preferably, described message status notice also includes following at least any one:
-trigger described message status notice state, when as described in message by " in broadcasting " become
During for " playing ", the state in described message status notice is " playing ", triggers institute
The state stating message status notice is " in broadcasting ".
-described message status notice corresponding to type of message, as text, audio frequency, video,
Picture, VXML etc..
The session identification of the session of-described first equipment and described second equipment, as by such as
Call session identifier defines or defines according to resource identification (such as resource URL).
-other correlated resources of being associated with described resource identification, as being associated with Current resource
Other resources (as association subscribe to, associated call session).
-session the address that is associated with described message status, as participated in the side or in many ways of session
SIP URI, TEL URI, ACR URI etc., if not specified session address, then will be transmitted
Message provide to all participants in session.
-call back data, i.e. when creating a message status subscribing notification, then this call back data can
Transmitted by application.
Preferably, described first equipment also include detect dispensing device (not shown), correspondingly,
Described second equipment also includes that detecting acquisition device (not shown) (does not shows with subscription detection device
Go out);Specifically, described detection dispensing device sends subscribes to detection message extremely described second equipment,
Wherein, described detection message of subscribing to includes described resource identification;Correspondingly, described detection obtains
Device obtains the subscription detection message that described first equipment is sent, and wherein, described subscription is detected
Message includes described resource identification;Described detection device of subscribing to subscribes to detection message according to described,
Detect the resource corresponding to described resource identification the most subscribed.
Specifically, described detection dispensing device can be based on corresponding http protocol, as passed through
GET method, sends to described second equipment and subscribes to detection message, in described subscription detection message
Comprise the described resource identification that described response dispensing device 22 is sent;Thus described detection obtains
Fetching is put after getting described subscription detection message, detects the money corresponding to described resource identification
Source is the most subscribed, thus can send corresponding notice to described first equipment, and described first sets
For subsequent operation can be carried out, as do not subscribed to, resend subscribing notification etc..
Preferably, described first equipment also include delete dispensing device (not shown), correspondingly,
Described second equipment also includes deleting acquisition device (not shown) and deleting device (not shown);
Specifically, described deletion dispensing device transmission subscription deletion message is to described second equipment, wherein,
Described deletion message of subscribing to includes described resource identification and/or described session identification;Correspondingly, institute
State and delete the subscription deletion message that acquisition device described first equipment of acquisition is sent, wherein, institute
State subscription deletion message and include described resource identification and/or described session identification;Described deletion device
Delete message according to described subscription, delete the described described resource mark subscribed to and delete corresponding to message
Message status subscribing notification corresponding to knowledge and/or described session identification.
Specifically, described deletion dispensing device can be based on corresponding http protocol, as passed through
DELETE method, sends to subscribe to described second equipment and deletes message;If here, described
One equipment wishes to cancel the subscription to a certain resource, then this resource identification is included in described subscription
Deleting in message, after described deletion acquisition device obtains this subscription deletion message, described deletion fills
Put and cancel the subscription of the message status to this resource;If described first equipment wishes to cancel to certain for a moment
The subscription of words, then be included in this session identification described subscription and delete in message, and described deletion obtains
After fetching puts acquisition this subscription deletion message, described deletion device cancels the message shape to this session
State is subscribed to.
Here, those skilled in the art will be understood that a session can comprise one or more
Resource, subscribes to if deleting the message status to a certain session, then no longer performs to disappear to whole session
Breath state subscription;If deleting the subscription to a certain resource, then other resources of this session continue to hold
Row message status is subscribed to, and the first equipment remains able to obtain the message shape of other resources in this session
State notifies.
Fig. 3 illustrates that one according to a further aspect of the present invention is by the first equipment and the second equipment phase
Coordinate, for the method flow diagram obtaining HTTP message state;Specifically, in step S1
In, message status subscribing notification is sent to one or more second equipment by described first equipment 1,
Wherein, described message status subscribing notification includes notice mark, described first equipment and described the
The session identification of the session of two equipment and one or more subscription message status;Correspondingly, exist
In step S1, described second equipment 2 obtains the message status that the first equipment sent and subscribes to logical
Knowing, wherein, described message status subscribing notification includes notice mark, described first equipment and institute
State the session identification of the session of the second equipment and one or more subscription message status;Then,
In step s 2, described second equipment 2 sends subscription response information extremely described first equipment,
Wherein, described subscription response information includes one or more resource identification, described resource identification
Corresponding with described session identification;Correspondingly, in step s 2, described first equipment 1 obtains
Take the subscription response information that described second equipment is sent, wherein, in described subscription response information
Including one or more resource identifications, described resource identification is corresponding with described session identification;?
In step S3, described first equipment 1 transmission execution message is to described second equipment, wherein,
Described execution message is corresponding with described resource identification;Correspondingly, in step s3, described
Second equipment 2 obtains the execution message that described second equipment is sent, and wherein, described execution disappears
Cease corresponding with described resource identification;In step s 4, described second equipment 2 detects currently
Whether message status matches with described subscription message status;When described message status is ordered with described
Readding message status to match, in step s 5, message status is notified by described second equipment 2
Send to described first equipment 1;Correspondingly, in step s 5, described first equipment 1 obtains
Take the message status notice that described second equipment sent, wherein, described message status notice with
Described subscription message status matches.
Here, the message status acquired in the present invention is HTTP message state;Here, it is described
HTTP message includes but not limited to any one is transmitted, needs based on http protocol
Certain HTTP message performing the time, such as speech message, video messaging, image information, literary composition
This message, VXML message etc..Such as, it is speech message/video when described HTTP message
During message, opposite end can play this speech message/video messaging, thus needs certain reproduction time;
When described HTTP message is text message, opposite end can be converted into the audio frequency needing to play
Message etc. play out;When described HTTP message is image information, opposite end can by one or
Plurality of pictures is circulated displaying, thus needs certain displaying time etc..
Preferably, described HTTP message is RESTful internet message;It is highly preferred that it is described
HTTP message is RESTful voice-over-net message.
In step sl, message status subscribing notification is sent to one by described first equipment 1
Or multiple second equipment, correspondingly, in step sl, described second equipment 2 obtains first
The message status subscribing notification that equipment is sent, wherein, described message status subscribing notification includes
Notice mark, the session identification of session of described first equipment and described second equipment and one
Or multiple subscription message status.
Specifically, in step sl, described first equipment 1 sends based in http protocol
The method of message, such as POST method, before sending execution message, elder generation is to described second equipment
Send message status subscribing notification, thus complete with described second equipment room at described first equipment
Message status is subscribed to.Wherein, described message status subscribing notification include notice mark, described
First equipment disappears with session identification and one or more subscription of the session of described second equipment
Breath state.
Here, described notice mark is i.e. used for unique mark identifying this notice, such as Notification URL.
Described session identification is i.e. used for the mark of unique session identifying two or more equipment rooms,
This, described session can be between one or more first equipment and one or more second equipment
Session, described session identification can be defined or according to resource by such as call session identifier
Mark (such as resource URL) defines.
Here, described subscription message status includes but not limited to that described first equipment wishes to obtain
One or more message status, as in hanging up, performing, executed, mistake, termination etc..
Preferably, as a example by played voice message, the most described subscription message status include but not limited to
Under at least any one: hang up (pending), play in (playing), executed (played),
Mistake (error), termination (terminated).If not specified described subscription message status, then
Can using default message status (such as above-mentioned all message status) all as described in subscription message shape
State.
Lift here, those skilled in the art will be understood that above-mentioned message status subscribing notification is only
Example, not limitation of the present invention, other notice mark, session identification or subscription message shape
State such as can be suitably used for the present invention, is also contained in protection scope of the present invention.
Preferably, described message status subscribing notification also includes following at least any one:
-ordered type of message, such as text, audio frequency, video, picture, VXML etc..
If not specified ordered type of message, then default type of message (all can be disappeared as above-mentioned
Cease time) all as ordered type of message.
The session address of-described session, as participated in a side or SIP URI, TEL in many ways of session
URI, ACR URI etc., if not specified session address, then provide the message transmitted to meeting
All participants in words.
The resource recovery mark of-described resource, here, described resource includes but not limited to arbitrarily
Voice, video, text, picture, VXML etc., described resource recovery mark can allow for using
Family is replied during asset creation from communication failure, therefore avoids such as communication failure situation
Under twice identical subscription.
-self reference resources identifies, such as self Referral URL (Self Referring URL).
Identify according to self reference resources described, complete money can be returned based on any HTTP method
Source.
Then, in step s 2, described second equipment 2 sends subscription response information to described
First equipment, correspondingly, in step s 2, described first equipment obtains described second equipment
The subscription response information sent, wherein, described subscription response information includes one or more
Resource identification, described resource identification is corresponding with described session identification.
Specifically, in step s 2, described second equipment 2 http protocol based on correspondence,
Sending subscription response information to described first equipment, this response has represented the request of the first equipment 1
It is implemented, and has new resource to set up, such as 201 according to described message status subscribing notification
Created responds.Wherein, described subscription response information includes one or more resource identification,
Such as resource URL, described resource identification and described first equipment and the session mark of described second equipment
Sensible correspondence, represents that this resource identification is a resource in described session.
In step s3, described first equipment 1 sends and performs message extremely described second equipment,
Correspondingly, in step s3, described second equipment 2 obtains what described second equipment was sent
Performing message, wherein, described execution message is corresponding with described resource identification.
Specifically, in step s3, described first equipment 1 http protocol based on correspondence,
Described execution message is sent to described second equipment, here, described execution message include but not
It is limited to any one operation that resource corresponding to described resource identification is performed, such as,
When described message is speech message, then described " execution " is play operation;When described message is non-
Speech message, then described " execution " is that other start the operation of broadcasting/operation etc. of this message.?
This, described resource identification is in described step S2 the resource identification sent.
After described second equipment 2 gets described execution message, then can disappear based on described execution
The information such as the execution operation sent in breath and/or execution time, are identified described resource identification
Resource perform, such as, played voice message.
In step s 4, described second equipment 2 detects whether current message state is ordered with described
Read message status to match;When described message status matches with described subscription message status,
In step S5, message status notice is sent to described first equipment 1 by described second equipment 2;
Correspondingly, in step s 5, described first equipment 1 obtains what described second equipment was sent
Message status notifies.
Specifically, in step s 4, described second equipment 2 is according to described subscription message status
Detect the message status of resource corresponding to described resource representation, the most described message status with
Described subscription message status matches, and as play from suspending to, finishes playing, then from being played to
In step s 5, described second equipment 2 will be according to described subscription message status, based on accordingly
Http protocol, the state corresponding message status notice sent to described first equipment obtains
Fetching is put.Wherein, described message status notice comprises the current message state of this message, from
And, described first equipment can obtain up-to-date message status notice immediately.
Preferably, described message status notice also includes following at least any one:
-trigger described message status notice state, when as described in message by " in broadcasting " become
During for " playing ", the state in described message status notice is " playing ", triggers institute
The state stating message status notice is " in broadcasting ".
-described message status notice corresponding to type of message, as text, audio frequency, video,
Picture, VXML etc..
The session identification of the session of-described first equipment and described second equipment, as by such as
Call session identifier defines or defines according to resource identification (such as resource URL).
-other correlated resources of being associated with described resource identification, as being associated with Current resource
Other resources (as association subscribe to, associated call session).
-session the address that is associated with described message status, as participated in the side or in many ways of session
SIP URI, TEL URI, ACR URI etc., if not specified session address, then will be transmitted
Message provide to all participants in session.
-call back data, i.e. when creating a message status subscribing notification, then this call back data can
Transmitted by application.
Preferably, described method also includes step S6 (not shown) and step S7 (not shown);
Specifically, in step s 6, described first equipment 1 is sent subscription detection message to described
Second equipment, wherein, described detection message of subscribing to includes described resource identification;Correspondingly, exist
In step S6, described second equipment 2 obtains the subscription detection that described first equipment sent and disappears
Breath, wherein, described detection message of subscribing to includes described resource identification;In the step s 7, institute
Second equipment 2 of stating subscribes to detection message according to described, detects the money corresponding to described resource identification
Source is the most subscribed.
Specifically, described first equipment 1 can be based on corresponding http protocol, as passed through
GET method, sends to described second equipment and subscribes to detection message, in described subscription detection message
Comprise the described resource identification sent in described step S2;Thus described second equipment 2 exists
Get described subscribe to detection message after, detect the resource corresponding to described resource identification whether by
Subscribing to, thus can send corresponding notice to described first equipment, described first equipment can be carried out
Subsequent operation, as do not subscribed to, resends subscribing notification etc..
Preferably, described method also includes step S8 (not shown) and step S9 (not shown);
Specifically, in step s 8, described first equipment 1 sends to subscribe to and deletes message to the most described the
Two equipment, wherein, described deletion message of subscribing to includes described resource identification and/or described session mark
Know;Correspondingly, in step s 8, described second equipment 2 obtains described first equipment and is sent out
Message is deleted in the subscription sent, wherein, described subscribe to delete message include described resource identification and/
Or described session identification;In step s 9, described second equipment disappears according to described subscription deletion
Breath, deletes described subscription and deletes the described resource identification corresponding to message and/or described session identification
Corresponding message status subscribing notification.
Specifically, in step s 8, described first equipment 1 can be based on corresponding HTTP
Agreement, as by DELETE method, sends to subscribe to described second equipment and deletes message;?
This, if described first equipment wishes to cancel the subscription to a certain resource, then by this resource identification bag
It is contained in described subscription and deletes in message, after described second equipment 2 obtains this subscription deletion message,
Cancel the message status to this resource to subscribe to;If described first equipment wishes to cancel a certain session
Subscription, then this session identification is included in described subscription and deletes in message, described second equipment
After 2 obtain this subscription deletion message, cancel the message status to this session and subscribe to.
Here, those skilled in the art will be understood that a session can comprise one or more
Resource, subscribes to if deleting the message status to a certain session, then no longer performs to disappear to whole session
Breath state subscription;If deleting the subscription to a certain resource, then other resources of this session continue to hold
Row message status is subscribed to, and the first equipment remains able to obtain the message shape of other resources in this session
State notifies.
Fig. 4 illustrates a kind of broadcasting HTTP audio message in accordance with a preferred embodiment of the present invention
And the flow chart of detection message status.
Here, Fig. 4 is based on http protocol, it is preferable that can be based on RESTful network audio
Calling API (RESTful Network Audio Call API) performs.Described first sets
Standby can be application server or other equipment, and described second equipment can be to participate in this session
Other equipment.For ease of describing, it is audio message at this HTTP message transmitted.Ability
Field technique personnel will be understood that other HTTP message is equally applicable to the present invention, at this not
Repeat again, and be incorporated herein by reference.
In step S41, described first equipment is to described second equipment sending message state subscription
Notice;Here, described sending method can be POST method, the message status sent is ordered
The form readding notice can be as follows:
POST/{serverRoot}/callnotificaiton/{apiVersion}/subscriptions/mes
sageStatus HTTP/{version}
I.e. " POST/ server root directory/call notification/API version/subscription/HTTP message state
Subscribe to type/content "
Header file (header) and subject matter is comprised at described message status subscribing notification
(body), described subject matter comprises notice mark (such as Notification URL), as described in first set
Standby with the session identification of the session of described second equipment and one or more subscription message status;
Preferably, described subject matter can also comprise ordered type of message, described session
Session address, described resource resource recovery mark, self reference resources mark in one or
Multinomial.
Here, foregoing is same or similar with the corresponding contents in Fig. 2 or Fig. 3, therefore at this
Repeat no more.
In step S42, described second equipment is carried out according to the resource (i.e. audio frequency) created
Response;Such as, can send 201Created response, this response is created money with corresponding
Origin url, described first equipment may utilize this URL and subscribes to management message status, such as profit
Send by GET method and subscribe to detection message, utilize DELETE transmission subscription to delete message.
The response format sent can be as follows:
/{serverRoot}/callnotificaiton/{apiVersion}/subscriptions/messageSt
atus/ms01)
I.e. "/server root directory/call notification/API version/subscription/message status/resource identification "
In step S43, described first equipment sends POST message to play out this audio frequency
Message.Correspondingly, in step S44, described second equipment is carried out according to the resource created
Response, i.e. plays message.
In step S45, described second equipment, according to current message state, sets to described first
Notify for sending message status by POST method, the most play;Correspondingly, in step
In rapid S46, described first equipment, is i.e. accused without content response to described second equipment transmission 204
Knowing described second equipment, current request is the most successful.
Here, the POST message form for message status notice can be as follows:
POST{MessageStatusNotificationURL}
I.e. " POST{ message status Notification URL } "
At described message status notification package containing header file (header) and subject matter (body),
Described subject matter comprises message status to be notified, such as " playing ";Preferably,
Described subject matter can also comprise the session with described second equipment of described first equipment
Other correlated resources that session identification is associated with described resource identification and described message status
One or more in the session address that is associated, call back data.
Here, foregoing is same or similar with the corresponding contents in Fig. 2 or Fig. 3, therefore at this
Repeat no more.
In step S47, owing to this audio message has finished playing, described second equipment root
According to current message state, send message status to described first equipment by POST method and lead to
Know, i.e. finish playing;Correspondingly, in step S48, described first equipment is to described second
Equipment transmission 204, without content response, i.e. informs described second equipment, and current request is the most successful.
Therefore, described first equipment can obtain up-to-date message status notice immediately.
Here, those skilled in the art will be understood that above-mentioned message transformat is only for example,
Not limitation of the present invention, other message transformats being capable of above-mentioned functions are the most applicable
In the present invention, and it is incorporated herein by reference.
It should be noted that the present invention can be by reality in the assembly of software and/or software and hardware
Execute, such as, can use special IC (ASIC), general purpose computer or any other
Similar hardware device realizes.In one embodiment, the software program of the present invention can be by place
Reason device performs to realize steps described above or function.Similarly, the software program (bag of the present invention
Include relevant data structure) can be stored in computer readable recording medium storing program for performing, such as, RAM
Memorizer, magnetically or optically driver or floppy disc and similar devices.It addition, some steps of the present invention
Or function can employ hardware to realize, such as, perform each step as coordinating with processor
Or the circuit of function.
It addition, the part of the present invention can be applied to computer program, such as computer
Programmed instruction, when it is computer-executed, by the operation of this computer, can call or
The method according to the invention and/or technical scheme are provided.And the program calling the method for the present invention refers to
Order, is possibly stored in fixing or movably in record medium, and/or by broadcast or its
Data stream in his signal bearing media and be transmitted, and/or be stored in and refer to according to described program
In the working storage of the computer equipment that order runs.Here, according to an enforcement of the present invention
Example includes a device, and this device includes the memorizer for storing computer program instructions and use
In the processor of execution programmed instruction, wherein, when this computer program instructions is held by this processor
During row, trigger this plant running method based on aforementioned multiple embodiments according to the present invention and/
Or technical scheme.
It is obvious to a person skilled in the art that the invention is not restricted to above-mentioned one exemplary embodiment
Details, and without departing from the spirit or essential characteristics of the present invention, it is possible to it
His concrete form realizes the present invention.Therefore, no matter from the point of view of which point, all should be by embodiment
Regarding exemplary as, and be nonrestrictive, the scope of the present invention is by claims
Rather than described above limit, it is intended that by fall claim equivalency implication and
In the range of all changes be included in the present invention.Should be by any accompanying drawing mark in claim
Note is considered as limiting involved claim.Furthermore, it is to be understood that " an including " word is not excluded for other lists
Unit or step, odd number is not excluded for plural number.The multiple unit stated in device claim or device
Can also be realized by software or hardware by a unit or device.The first, the second word such as grade
Pragmatic represents title, and is not offered as any specific order.
Although the most specifically shown and describe exemplary embodiment, but people in the art
Member will be understood that in the case of without departing substantially from the spirit and scope of claims, at it
Form and details aspect can be varied from.Protection sought herein is at appended claims
In illustrate.These and other sides of each embodiment are defined in following numbering clause
Face:
1. at the first equipment for the method obtaining HTTP message state, wherein, the party
Method includes:
-message status subscribing notification is sent to one or more second equipment, wherein, described
Message status subscribing notification includes the meeting of notice mark, described first equipment and described second equipment
The session identification of words and one or more subscription message status;
-obtain the subscription response information that described second equipment is sent, wherein, described subscription is rung
Information is answered to include one or more resource identification, described resource identification and described session identification phase
Corresponding;
Wherein, the method also includes:
-send execution message extremely described second equipment, wherein, described execution message and described money
Source mark is corresponding;
-obtain the message status notice that described second equipment is sent, wherein, described message shape
State notice matches with described subscription message status.
2., according to the method described in clause 1, wherein, the method also includes:
-send detection message extremely described second equipment of subscribing to, wherein, described subscription detection message
Including described resource identification.
3. according to the method described in clause 1 or 2, wherein, the method also includes:
-send and subscribe to message extremely described second equipment of deleting, wherein, described subscription deletes message
Including described resource identification and/or described session identification.
4. according to the method according to any one of clause 1 to 3, wherein, described message status is ordered
Read and notify also to include following at least any one:
-ordered type of message;
The session address of-described session;
The resource recovery mark of-described resource;
-self reference resources identifies.
5. according to the method according to any one of clause 1 to 4, wherein, described HTTP message
For speech message.
6. according to the method described in clause 5, wherein, described HTTP message is RESTful
Voice-over-net message.
7. at the second equipment for the method obtaining HTTP message state, wherein, the party
Method includes:
The message status subscribing notification that-first equipment that obtains is sent, wherein, described message shape
State subscribing notification includes the meeting of notice mark, described first equipment and the session of described second equipment
Words mark and one or more subscription message status;
-send subscription response information to described first equipment, wherein, described subscription response information
Including one or more resource identification, described resource identification is corresponding with described session identification;
Wherein, the method also includes:
-obtain the execution message that described second equipment is sent, wherein, described execution message with
Described resource identification is corresponding;
Whether-detection current message state matches with described subscription message status;
-when described message status matches with described subscription message status, message status is notified
Send to described first equipment.
8., according to the method described in clause 7, wherein, the method also includes:
-obtain the subscription detection message that described first equipment is sent, wherein, described subscription is examined
Survey message and include described resource identification;
-subscribe to detection message according to described, whether detect the resource corresponding to described resource identification
Subscribed.
9. according to the method described in clause 7 or 8, wherein, the method also includes:
-obtain the subscription deletion message that described first equipment is sent, wherein, described subscription is deleted
Except message includes described resource identification and/or described session identification;
-delete message according to described subscription, delete and described subscribe to delete corresponding to message described
Message status subscribing notification corresponding to resource identification and/or described session identification.
10. according to the method according to any one of clause 7 to 9, wherein, described message status
Notice also includes following at least any one:
The session identification of the session of-described first equipment and described second equipment;
-other correlated resources of being associated with described resource identification;
-session the address that is associated with described message status;
-call back data.
11. according to the method according to any one of clause 7 to 10, wherein, and described HTTP
Message is speech message.
12. according to the method described in clause 11, and wherein, described HTTP message is RESTful
Voice-over-net message.
13. 1 kinds for obtaining the first equipment of HTTP message state, wherein, this equipment bag
Include:
Subscribe to dispensing device, for sending message status subscribing notification to one or more second
Equipment, wherein, described message status subscribing notification include notice mark, described first equipment with
The session identification of the session of described second equipment and one or more subscription message status;
Response acquisition device, for obtaining the subscription response information that described second equipment is sent,
Wherein, described subscription response information includes one or more resource identification, described resource identification
Corresponding with described session identification;
Wherein, this equipment also includes:
Perform dispensing device, be used for sending execution message extremely described second equipment, wherein, described
Perform message corresponding with described resource identification;
State acquisition device, for obtaining the message status notice that described second equipment is sent,
Wherein, described message status notice matches with described subscription message status.
14. according to the first equipment described in clause 13, and wherein, this equipment also includes:
Detection dispensing device, is used for sending subscription detection message to described second equipment, wherein,
Described detection message of subscribing to includes described resource identification.
15. according to the first equipment described in clause 13 or 14, and wherein, this equipment also includes:
Delete dispensing device, be used for sending subscription and delete message to described second equipment, wherein,
Described deletion message of subscribing to includes described resource identification and/or described session identification.
16. according to the first equipment according to any one of clause 13 to 15, wherein, described in disappear
Breath state subscription notice also includes following at least any one:
-ordered type of message;
The session address of-described session;
The resource recovery mark of-described resource;
-self reference resources identifies.
17. according to the first equipment according to any one of clause 13 to 16, wherein, described
HTTP message is speech message.
18. according to the first equipment described in clause 17, and wherein, described HTTP message is
RESTful voice-over-net message.
19. 1 kinds for obtaining the second equipment of HTTP message state, wherein, this equipment bag
Include:
Subscribe to acquisition device, for obtaining the message status subscribing notification that the first equipment is sent,
Wherein, described message status subscribing notification includes notice mark, described first equipment and described the
The session identification of the session of two equipment and one or more subscription message status;
Response dispensing device, is used for sending subscription response information to described first equipment, wherein,
Described subscription response information includes one or more resource identification, and described resource identification is with described
Session identification is corresponding;
Wherein, this equipment also includes:
Perform acquisition device, for obtaining the execution message that described second equipment is sent, wherein,
Described execution message is corresponding with described resource identification;
Whether detection device, be used for detecting current message state with described subscription message status mutually
Join;
State dispensing device, for when described message status and described subscription message status phase
Join, message status notice is sent to described first equipment.
20. according to the second equipment described in clause 19, and wherein, this equipment also includes:
Detection acquisition device, for obtaining the subscription detection message that described first equipment is sent,
Wherein, described detection message of subscribing to includes described resource identification;
Subscribe to detection device, for subscribing to detection message according to described, detect described resource identification
Corresponding resource is the most subscribed.
21. according to the second equipment described in clause 19 or 20, and wherein, this equipment also includes:
Deleting acquisition device, message is deleted in the subscription sent for obtaining described first equipment,
Wherein, described deletion message of subscribing to includes described resource identification and/or described session identification;
Delete device, for deleting message according to described subscription, delete described subscription and delete message
Message status corresponding to corresponding described resource identification and/or described session identification is subscribed to logical
Know.
22. according to the second equipment according to any one of clause 19 to 21, wherein, described in disappear
Breath state notifying also includes following at least any one:
The session identification of the session of-described first equipment and described second equipment;
-other correlated resources of being associated with described resource identification;
-session the address that is associated with described message status;
-call back data.
23. according to the second equipment according to any one of clause 19 to 22, wherein, described
HTTP message is speech message.
24. according to the second equipment described in clause 23, and wherein, described HTTP message is
RESTful voice-over-net message.
25. 1 kinds of systems being used for obtaining HTTP message state, including such as clause 13 to 18
According to any one of the first equipment and second setting as according to any one of clause 19 to 24
Standby.
Abbreviation subordinate list in description and accompanying drawing:
| HTTP | HTML (Hypertext Markup Language) | HyperText Transfer Protocol |
| OMA | Open Mobile Alliance (tissue) | Open Mobile Alliance |
| RESTful | Declarative state shifts | Representational State Transfer |
| VXML | Voice Extensible Markup language | Voice eXtensible Markup Language |
| IMS | IP Multimedia System | IP Multimedia Subsystem |
| API | Application programming interface | Application Programming Interface |
| URL | URL | Uniform Resoure Locator |
| URI | Uniform Resource Identifier | Uniform Resource Identifier |
| SIP | Session initiation protocol | Session Initiation Protocol |
| TEL | Phone | Telephone |
| ACR | Anonymous is quoted | Anonymous Customer Reference |
Claims (15)
1. at the first equipment for the method obtaining HTTP message state, wherein, the party
Method includes:
-message status subscribing notification is sent to one or more second equipment, wherein, described
Message status subscribing notification includes the meeting of notice mark, described first equipment and described second equipment
The session identification of words and one or more subscription message status;
-obtain the subscription response information that described second equipment is sent, wherein, described subscription is rung
Information is answered to include one or more resource identification, described resource identification and described session identification phase
Corresponding;
Wherein, the method also includes:
-send execution message extremely described second equipment, wherein, described execution message and described money
Source mark is corresponding;
-obtain the message status notice that described second equipment is sent, wherein, described message shape
State notice matches with described subscription message status.
Method the most according to claim 1, wherein, the method also includes:
-send detection message extremely described second equipment of subscribing to, wherein, described subscription detection message
Including described resource identification.
Method the most according to claim 1 and 2, wherein, the method also includes:
-send and subscribe to message extremely described second equipment of deleting, wherein, described subscription deletes message
Including described resource identification and/or described session identification.
4. at the second equipment for the method obtaining HTTP message state, wherein, the party
Method includes:
The message status subscribing notification that-first equipment that obtains is sent, wherein, described message shape
State subscribing notification includes the meeting of notice mark, described first equipment and the session of described second equipment
Words mark and one or more subscription message status;
-send subscription response information to described first equipment, wherein, described subscription response information
Including one or more resource identification, described resource identification is corresponding with described session identification;
Wherein, the method also includes:
-obtain the execution message that described second equipment is sent, wherein, described execution message with
Described resource identification is corresponding;
Whether-detection current message state matches with described subscription message status;
-when described message status matches with described subscription message status, message status is notified
Send to described first equipment.
Method the most according to claim 4, wherein, the method also includes:
-obtain the subscription detection message that described first equipment is sent, wherein, described subscription is examined
Survey message and include described resource identification;
-subscribe to detection message according to described, whether detect the resource corresponding to described resource identification
Subscribed.
6. according to the method described in claim 4 or 5, wherein, the method also includes:
-obtain the subscription deletion message that described first equipment is sent, wherein, described subscription is deleted
Except message includes described resource identification and/or described session identification;
-delete message according to described subscription, delete and described subscribe to delete corresponding to message described
Message status subscribing notification corresponding to resource identification and/or described session identification.
7., for obtaining first equipment of HTTP message state, wherein, this equipment includes:
Subscribe to dispensing device, for sending message status subscribing notification to one or more second
Equipment, wherein, described message status subscribing notification include notice mark, described first equipment with
The session identification of the session of described second equipment and one or more subscription message status;
Response acquisition device, for obtaining the subscription response information that described second equipment is sent,
Wherein, described subscription response information includes one or more resource identification, described resource identification
Corresponding with described session identification;
Wherein, this equipment also includes:
Perform dispensing device, be used for sending execution message extremely described second equipment, wherein, described
Perform message corresponding with described resource identification;
State acquisition device, for obtaining the message status notice that described second equipment is sent,
Wherein, described message status notice matches with described subscription message status.
First equipment the most according to claim 7, wherein, this equipment also includes:
Detection dispensing device, is used for sending subscription detection message to described second equipment, wherein,
Described detection message of subscribing to includes described resource identification.
9. according to the first equipment described in claim 7 or 8, wherein, this equipment also includes:
Delete dispensing device, be used for sending subscription and delete message to described second equipment, wherein,
Described deletion message of subscribing to includes described resource identification and/or described session identification.
10. according to the first equipment according to any one of claim 7 to 9, wherein, described
Message status subscribing notification also includes following at least any one:
-ordered type of message;
The session address of-described session;
The resource recovery mark of-described resource;
-self reference resources identifies.
11. 1 kinds for obtaining the second equipment of HTTP message state, wherein, this equipment bag
Include:
Subscribe to acquisition device, for obtaining the message status subscribing notification that the first equipment is sent,
Wherein, described message status subscribing notification includes notice mark, described first equipment and described the
The session identification of the session of two equipment and one or more subscription message status;
Response dispensing device, is used for sending subscription response information to described first equipment, wherein,
Described subscription response information includes one or more resource identification, and described resource identification is with described
Session identification is corresponding;
Wherein, this equipment also includes:
Perform acquisition device, for obtaining the execution message that described second equipment is sent, wherein,
Described execution message is corresponding with described resource identification;
Whether detection device, be used for detecting current message state with described subscription message status mutually
Join;
State dispensing device, for when described message status and described subscription message status phase
Join, message status notice is sent to described first equipment.
12. second equipment according to claim 11, wherein, this equipment also includes:
Detection acquisition device, for obtaining the subscription detection message that described first equipment is sent,
Wherein, described detection message of subscribing to includes described resource identification;
Subscribe to detection device, for subscribing to detection message according to described, detect described resource identification
Corresponding resource is the most subscribed.
13. according to the second equipment described in claim 11 or 12, and wherein, this equipment also wraps
Include:
Deleting acquisition device, message is deleted in the subscription sent for obtaining described first equipment,
Wherein, described deletion message of subscribing to includes described resource identification and/or described session identification;
Delete device, for deleting message according to described subscription, delete described subscription and delete message
Message status corresponding to corresponding described resource identification and/or described session identification is subscribed to logical
Know.
14. according to the second equipment according to any one of claim 11 to 13, wherein, institute
State message status notice and also include following at least any one:
The session identification of the session of-described first equipment and described second equipment;
-other correlated resources of being associated with described resource identification;
-session the address that is associated with described message status;
-call back data.
15. 1 kinds for obtaining the systems of HTTP message state, including as claim 7 to
The first equipment according to any one of 10 and as according to any one of claim 11 to 14
Second equipment.
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510185510.5A CN106161196A (en) | 2015-04-17 | 2015-04-17 | A kind of obtain the method for HTTP message state, equipment and system |
| EP16722360.1A EP3284243A1 (en) | 2015-04-17 | 2016-04-01 | Methods, devices and system for obtaining http message statuses |
| PCT/IB2016/000604 WO2016166605A1 (en) | 2015-04-17 | 2016-04-01 | Methods, devices and system for obtaining http message statuses |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510185510.5A CN106161196A (en) | 2015-04-17 | 2015-04-17 | A kind of obtain the method for HTTP message state, equipment and system |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN106161196A true CN106161196A (en) | 2016-11-23 |
Family
ID=55967334
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201510185510.5A Pending CN106161196A (en) | 2015-04-17 | 2015-04-17 | A kind of obtain the method for HTTP message state, equipment and system |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP3284243A1 (en) |
| CN (1) | CN106161196A (en) |
| WO (1) | WO2016166605A1 (en) |
Cited By (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105376325A (en) * | 2015-12-07 | 2016-03-02 | 青岛农业大学 | Methods, devices and system for obtaining HTTP message status |
| CN109005240A (en) * | 2018-08-21 | 2018-12-14 | 浙江浙大中控信息技术有限公司 | Real time data method for subscribing based on http protocol |
| CN111130951A (en) * | 2019-12-31 | 2020-05-08 | 中消云(北京)物联网科技研究院有限公司 | Equipment state detection method, device and storage medium |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7069309B1 (en) * | 2000-10-19 | 2006-06-27 | Cisco Technology, Inc. | Apparatus and methods for requesting an event notification over a network |
| US20100138545A1 (en) * | 2002-12-30 | 2010-06-03 | Martti Mela | Streaming media |
| CN102594718A (en) * | 2011-01-12 | 2012-07-18 | 阿尔卡特朗讯 | Method and device for processing presentation information |
| CN103618800A (en) * | 2013-12-05 | 2014-03-05 | 华为技术有限公司 | Implementation method and device for subscription notification |
-
2015
- 2015-04-17 CN CN201510185510.5A patent/CN106161196A/en active Pending
-
2016
- 2016-04-01 WO PCT/IB2016/000604 patent/WO2016166605A1/en not_active Ceased
- 2016-04-01 EP EP16722360.1A patent/EP3284243A1/en not_active Withdrawn
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7069309B1 (en) * | 2000-10-19 | 2006-06-27 | Cisco Technology, Inc. | Apparatus and methods for requesting an event notification over a network |
| US20100138545A1 (en) * | 2002-12-30 | 2010-06-03 | Martti Mela | Streaming media |
| CN102594718A (en) * | 2011-01-12 | 2012-07-18 | 阿尔卡特朗讯 | Method and device for processing presentation information |
| CN103618800A (en) * | 2013-12-05 | 2014-03-05 | 华为技术有限公司 | Implementation method and device for subscription notification |
Non-Patent Citations (1)
| Title |
|---|
| OPENMOBILEALLIANCE: "RESTful bindings for Parlay X Web Services-Call Notification;Approved Version 1.0-24 Jul 2012", 《OMA-TS-PARLAYREST_CALLNOTIFICATION-V1_0-20120724-A》 * |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105376325A (en) * | 2015-12-07 | 2016-03-02 | 青岛农业大学 | Methods, devices and system for obtaining HTTP message status |
| CN109005240A (en) * | 2018-08-21 | 2018-12-14 | 浙江浙大中控信息技术有限公司 | Real time data method for subscribing based on http protocol |
| CN109005240B (en) * | 2018-08-21 | 2021-05-18 | 浙江浙大中控信息技术有限公司 | Real-time data subscription method based on HTTP (hyper text transport protocol) |
| CN111130951A (en) * | 2019-12-31 | 2020-05-08 | 中消云(北京)物联网科技研究院有限公司 | Equipment state detection method, device and storage medium |
| CN111130951B (en) * | 2019-12-31 | 2022-08-23 | 中消云(北京)物联网科技研究院有限公司 | Equipment state detection method, device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| EP3284243A1 (en) | 2018-02-21 |
| WO2016166605A1 (en) | 2016-10-20 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US8751572B1 (en) | Multi-user chat search and access to chat archive | |
| US11061970B2 (en) | Encapsulating virtual area based communicant assemblies | |
| US8930472B2 (en) | Promoting communicant interactions in a network communications environment | |
| TWI337715B (en) | Method and system for complex event processing | |
| US7973786B2 (en) | System and method for managing interaction in a virtual environment | |
| US9925465B2 (en) | Game accessing method and processing method, server, terminal, and system | |
| JP2019165451A (en) | Video communication method and system in instant communication | |
| US9621958B2 (en) | Deferred, on-demand loading of user presence within a real-time collaborative service | |
| US9531768B2 (en) | Detection of shared content viewed by attendees in online meetings | |
| WO2009012117A1 (en) | Method, system and apparatus for sorting topics within a group | |
| CA3062580A1 (en) | An enterprise group establishing method and computer device in an instant messaging system | |
| CN104022945A (en) | Method and device for realizing instant communication in client end | |
| CN108712359A (en) | A kind of virtual reality social contact method and system | |
| CN106161196A (en) | A kind of obtain the method for HTTP message state, equipment and system | |
| CN106487533A (en) | A kind of method and device set up circle of friends and communicated based on circle of friends | |
| US9961120B2 (en) | System and method for managing concurrent communications in a contact center | |
| CN113836405A (en) | Information query method, device and computer readable storage medium | |
| CN106910055A (en) | A kind of payment data treating method and apparatus based on mobile terminal | |
| US20140287787A1 (en) | Connection System and Method to Dynamically Create and Collect a Group of Contextual Contacts | |
| CN114896006B (en) | Method and device for creating page menu, storage medium and electronic device | |
| CN112162961B (en) | Message processing method, device, computer equipment and storage medium | |
| US20180070194A1 (en) | Systems and methods for providing an interactive community through device communication | |
| CN107911725A (en) | Double-screen interaction method and two-screen Interactive system | |
| CN112104755A (en) | Interactive control method, device and equipment | |
| CN106407238A (en) | Media content interaction-based method and system |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| WD01 | Invention patent application deemed withdrawn after publication |
Application publication date: 20161123 |
|
| WD01 | Invention patent application deemed withdrawn after publication |