CN101232492B - Information transmission method and information compression negotiating request as well as processing unit - Google Patents

Information transmission method and information compression negotiating request as well as processing unit Download PDF

Info

Publication number
CN101232492B
CN101232492B CN2007100029211A CN200710002921A CN101232492B CN 101232492 B CN101232492 B CN 101232492B CN 2007100029211 A CN2007100029211 A CN 2007100029211A CN 200710002921 A CN200710002921 A CN 200710002921A CN 101232492 B CN101232492 B CN 101232492B
Authority
CN
China
Prior art keywords
signaling
request
compression
unit
response
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
Application number
CN2007100029211A
Other languages
Chinese (zh)
Other versions
CN101232492A (en
Inventor
王奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
XFusion Digital Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN2007100029211A priority Critical patent/CN101232492B/en
Publication of CN101232492A publication Critical patent/CN101232492A/en
Application granted granted Critical
Publication of CN101232492B publication Critical patent/CN101232492B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Telephonic Communication Services (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a message transmission method and a device for negotiating and requesting message compression and processing, which supports the negotiation of whether to transmit MRCP-based messages in a compressed manner by extending the MRCP media line so as to determine whether to reduce the bandwidth of MRCP message transmission. The method can reduce the bandwidth of MRCP-based message transmission and improve network utilization.

Description

A kind of method for message transmission and message compression are consulted request and processing unit
Technical field
The present invention relates to communication technical field, relate in particular to a kind of method for message transmission and message compression and consult request and processing unit.
Background technology
Media resource control protocol (Media Resource Control Protocol, MRCP) be an emerging standard, be used for the voice resource server on the managing distributing type system framework, the general mechanism of a kind of control such as server resources such as phonetic synthesis and speech recognition mainly is provided to client.Stand alone software merchant and application developers only need to write program towards the MRCP interface, and need not to take into account the difference of speech recognition and its phone application aspect, and application program is only write on the speech engine that once just can be deployed in any this standard of support.This agreement is adopted by the mainstream supplier in voice communication field.MRCP is not an independently agreement, must rely on session management protocol to set up media resource control protocol MRCP control session between client and server.For mutual convenience, MRCP selects Session initiation Protocol (Session InitiationProtocol, SIP) as basic session management protocol, mutual by the sip message between client and server, negotiate the needed link information of MRCP transmission of messages, wherein, MRCP session parameter Session Description Protocol (Session Description Protocol, SDP) description of sip message body portion.Between the server and client side, can be cable network, also can be wireless network.
But in the prior art, when utilizing wireless network that data are transmitted, to carrying out former state transmission based on the message of MRCP, and because the wireless network poor stability, message transmission time delay is bigger, and if data quantity transmitted is too much, will reduce the utilance of network.
Summary of the invention
The technical problem that the embodiment of the invention will solve provides a kind of method for message transmission and message compression is consulted request and processing unit, can reduce the transmission of messages bandwidth based on MRCP, improves the utilance of network.
For solving the problems of the technologies described above, the purpose of the embodiment of the invention is achieved through the following technical solutions:
The embodiment of the invention provides a kind of method for message transmission, comprising:
Server receives the session description negotiation request that client sends, in the medium at media resource control protocol MRCP place in the described request are capable, added support signaling compression function sign, judge that obtaining server supports the signaling compression function, then client session is being described in the response of protocol negotiation request, the sign of supporting the signaling compression function is being set;
Client receives to be responded, and find the sign of supporting the signaling compression function in response after, the message based on the media resource control protocol that transmission is connected is compressed the back transmission.
The embodiment of the invention also provides a kind of message compression to consult the request processing unit, and this device comprises: Data Receiving unit, data parsing unit, data transmission unit;
The Data Receiving unit is used to receive the conversation description protocol negotiation request that client is initiated, and sends it to the data parsing unit;
The data parsing unit, be used for after the sign of supporting the signaling compression is added in the negotiation request that judgement obtains being received, judge whether described message compression negotiation request processing unit supports the signaling compression function, and whether the sign of supporting the signaling compression is set in the response of request, and this response is sent to data transmission unit according to judged result decision;
Data transmission unit, the request that is used for being received is responded and is sent to client.
The embodiment of the invention also provides a kind of message compression to consult request unit, and this device comprises: consult request transmitting unit, Data Receiving unit, data parsing unit;
Consult request transmitting unit, be used for initiation session and describe the protocol negotiation request, and in the conversation description protocol negotiation request the capable sign of supporting the signaling compression function of adding of the medium at MRCP place, this request is sent to server;
The Data Receiving unit is used for the response of reception server end to consulting to ask, and this response is sent to the data parsing unit;
The data parsing unit, be used for when the response of judging the server end that obtains receiving, when being provided with the sign of supporting the signaling compression function, to transmitting after the message compression based on MRCP, when judgement obtains in the response of server end, be provided with the sign of not supporting the signaling compression function, perhaps judge when in the response that obtains server end the signaling compressing mark not being set, to message former state transmission based on MRCP.
Above technical scheme as can be seen, compare carry out the former state transmission based on the message of medium control protocol with prior art, in the method that the embodiment of the invention provided based on the transmission of messages of MRCP, the conversation description protocol negotiation request that server end sends from client is judged client and is supported the signaling compression function, support equally at server end under the situation of signaling compression function, in to the response of client, add the sign of supporting the signaling compression function, take compress mode to transmit to support negotiation based on the message of MRCP, thereby decision is to reduce media resource control protocol transmission of messages bandwidth, make when the data volume of client transmissions is too much, negotiation by client and server end, the message based on MRCP that will transmit is compressed the back transmission, and then reduce the bandwidth that media resource control protocol transmission of messages takies, improve the utilance of network.
Description of drawings
Fig. 1 is the method flow diagram in the embodiment of the invention;
Fig. 2 is that message compression is consulted request processing unit structure chart in the embodiment of the invention;
Fig. 3 is the structure chart that message compression is consulted request unit in the embodiment of the invention.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the invention is clearer, the present invention is done detailed elaboration below in conjunction with specific embodiment and with reference to accompanying drawing.
Referring to Fig. 1, a kind of method for message transmission that the embodiment of the invention provided, idiographic flow comprises:
Step 101: server end receives the conversation description protocol negotiation request SDP offer that client sends, and the capable sign of supporting the signaling compression function of whether adding of the medium of judging MRCP place in this request, if then enter step 102, if not, then enter step 103;
Wherein, whether client supports the signaling compression function, uses the operating personnel of equipment to determine according to actual conditions by client, for example, when operating personnel think that the size of message of transmission is little, can not take how many bandwidth, then he can determine client not support the signaling compression function;
Wherein, support in the conversation description protocol negotiation request that described client sends that the sign of signaling compression function can be that property value is the signaling compressing mark of true, wherein, described signaling compressing mark and attribute can be the a=sigcomp attributes; It does not support that the sign of signaling compression function can be that property value is the signaling compressing mark of false, wherein, described signaling compressing mark and attribute can be the a=sigcomp attributes, perhaps, do not add the signaling compressing mark in the Session Description Protocol request by the client transmission and do not support the signaling compression function with the expression client;
Wherein, usually in transmitted over wireless networks during based on the message of medium control protocol, wireless network bandwidth is little, requires the message of transmission as far as possible little, with conserve bandwidth;
Step 102: server judges whether server end supports the signaling compression function, if, then enter step 104, if not, then enter step 103;
Wherein, server does not support that the signaling compression function is by the decision of the strategy of server end, and for example, when server can not be used in a large amount of time above the decompress(ion) message, in the case, server end just can not supported the signaling compression function;
Step 103: server end is being described client-side session in the response of protocol negotiation request, and the capable expression server end that adds of the medium at the MRCP place is not supported the sign that signaling is compressed; Perhaps in response, do not add the signaling compressing mark, directly response is sent to client, and enters step 106;
Wherein, describedly do not support that the sign of signaling compression function can be that property value is the signaling compressing mark of false, wherein, described signaling compressing mark and attribute can be the a=sigcomp attributes;
Step 104: server end is being described client-side session in the response of protocol negotiation request, and the capable setting of the medium at MRCP place expresses support for the sign of signaling compression function;
Wherein, server end capable setting of medium at MRCP place in the response of client-side session being described the protocol negotiation request expresses support for the sign of signaling compression function, can be the signaling compressing mark of true for property value, this signaling sign and attribute can be the a=sigcomp attributes;
Step 105: what transmission connected transmits termination routine based on MRCP message after by compression;
Step 106: the message based on MRCP on transmission connects is not compressed, in statu quo transmission.
From present embodiment as can be seen, compare carry out the former state transmission based on the message of medium control protocol with prior art, in the method that is provided in the embodiment of the invention based on the transmission of messages of MRCP, the conversation description protocol negotiation request that server end sends from client is judged client and is supported the signaling compression function, support equally at server end under the situation of signaling compression function, in to the response of client, add the sign of supporting the signaling compression function, to support consulting whether to take compress mode to transmit based on the message of MRCP, thereby whether decision reduces media resource control protocol transmission of messages bandwidth, make when the data volume of client transmissions is too much, negotiation by client and server end, the message based on MRCP that will transmit is compressed the back transmission, and then reduce media resource control protocol transmission of messages bandwidth, improve the utilance of network.
The embodiment of the invention also provides a kind of message compression to consult the request processing unit, and this device comprises: Data Receiving unit, data parsing unit, data transmission unit;
Wherein, Data Receiving unit 201 is used to receive the conversation description protocol negotiation request SDP Offer that client is initiated, and sends it to the data parsing unit;
Data parsing unit 202, be used for judging the negotiation request that is received, whether the sign that signaling is compressed is supported in interpolation, judge whether described message compression negotiation request processing unit supports the signaling compression function, and whether the sign of supporting the signaling compression is set in the response of request, and this response is sent to data transmission unit according to judged result decision;
Wherein, the data parsing unit comprises judging unit 2021, responds generation unit 2022;
Wherein, judging unit 2021, be used for having added the sign of supporting the signaling compression function, when judging that obtaining this message compression consults request processing unit support signaling compression function, this compression negotiation successful result be sent to the response generation unit in the negotiation request that judgement obtains being received; When judgement obtains having added the sign of supporting the signaling compression function in this negotiation request, judge that obtain this message compression consults to add the sign of supporting the signaling compression in the negotiation request that the request processing unit do not support signaling compression function or judgement to obtain being received, is sent to the response generation unit with this compression negotiation failure result;
Wherein, message compression is consulted the request processing unit and client is all supported the signaling compression function when judgement obtains, and then consults successfully; Do not support the signaling compression function when judgement obtains in message compression device and the client arbitrary end, then consult failure;
Respond generation unit 2022, be used for, in the request of this client is responded, the sign of supporting the signaling compression function is set, and sends it to data transmission unit when the compression negotiation success; When the compression negotiation failure, in the request of client is responded, the sign of not supporting the signaling compression function is set, perhaps in response, do not add the signaling compressing mark, response is sent to data transmission unit;
Wherein, the sign of described support signaling compression function can be arranged at the medium at MRCP place capable in;
Wherein, this message compression is consulted the request processing unit and whether is supported that the signaling compression set is the service strategy decision by this device;
Wherein, the sign of described support signaling compression function can be that property value is the signaling compressing mark of true, and wherein said signaling compressing mark and attribute can be the a=sigcomp attributes;
Wherein, describedly do not support that the sign of signaling compression function can be that property value is the signaling compressing mark of false, wherein said signaling compressing mark and attribute can be the a=sigcomp attributes;
Data transmission unit 203, the request that is used for being received is responded and is sent to client.
The present invention also provides a kind of message compression to consult request unit, and this device comprises: consult request transmitting unit, Data Receiving unit, data parsing unit;
Wherein, consult request transmitting unit 301, be used for the capable sign of adding support signaling compression function of medium, and this request is sent to server at conversation description protocol negotiation request MRCP place;
Data Receiving unit 302 is used for the response of reception server end to consulting to ask, and this response is sent to resolution unit;
Data parsing unit 303, be used for when the response of judging the server end that obtains receiving, when being provided with the sign of supporting the signaling compression function, to transmitting after the message compression based on MRCP, when judgement obtains in the response of server end, be provided with the sign of not supporting the signaling compression function, perhaps judge when in the response that obtains server end the signaling compressing mark not being set, to message former state transmission based on MRCP.
Wherein, the sign of described support signaling compression function can be that property value is the signaling compressing mark of true, and wherein said signaling compressing mark and attribute can be the a=sigcomp attributes;
Wherein, describedly do not support that the sign of signaling compression function can be that property value is the signaling compressing mark of false, wherein said signaling compressing mark and attribute can be the a=sigcomp attributes.
Above technical scheme as can be seen, compare carry out the former state transmission based on the message of medium control protocol with prior art, in the method that the embodiment of the invention provided based on the transmission of messages of MRCP, the conversation description protocol negotiation request that server end sends from client is judged client and is supported the signaling compression function, support equally at server end under the situation of signaling compression function, in to the response of client, add the sign of supporting the signaling compression function, to support consulting whether to take compress mode to transmit based on the message of MRCP, thereby whether decision reduces media resource control protocol transmission of messages bandwidth, make when the data volume of client transmissions is too much, negotiation by client and server end, the message based on MRCP that will transmit is compressed the back transmission, and then reduce the bandwidth that media resource control protocol transmission of messages takies, improve the utilance of network.
More than a kind of method for message transmission provided by the present invention and message compression are consulted request and processing unit is described in detail, used specific case herein principle of the present invention and execution mode are set forth, the explanation of above embodiment just is used for helping to understand method of the present invention and core concept thereof; Simultaneously, for one of ordinary skill in the art, according to thought of the present invention, the part that all can change in specific embodiments and applications, therefore, this description should not be construed as limitation of the present invention.

Claims (9)

1. a method for message transmission is characterized in that, comprising:
Server receives the session description negotiation request that client sends, in the medium at media resource control protocol MRCP place in the described request are capable, added support signaling compression function sign, judge that obtaining server supports the signaling compression function, then client session is being described in the response of protocol negotiation request, the sign of supporting the signaling compression function is being set;
Client receives to be responded, and find the sign of supporting the signaling compression function in response after, the message based on the media resource control protocol that transmission is connected is compressed the back transmission.
2. method for message transmission according to claim 1 is characterized in that, this method further comprises:
When server receives the conversation description protocol negotiation request that client sends, and the medium at media resource control protocol place are capable in this request when not adding the sign of supporting the signaling compression, then in to the response of this request, add the sign of not supporting the signaling compression function, or the response of not adding the signaling compressing mark is sent to client;
After client receives response, on connecting, transmission in statu quo transmits based on the message of MRCP.
3. method for message transmission according to claim 1 is characterized in that, this method further comprises:
When server judges that obtaining server does not support the signaling compression function, then in the response of the conversation description protocol negotiation request that client is sent, add the sign of not supporting the signaling compression function, or the response of not adding the signaling compressing mark is sent to client;
After client received response, the message based on MRCP on transmission connects was in statu quo transmitted.
4. method for message transmission according to claim 2 is characterized in that, in this method:
The compression of described support signaling be designated the signaling compressing mark that property value is true;
The described signaling compressing mark that property value is false that is designated of not supporting the signaling compression function.
5. a message compression is consulted the request processing unit, it is characterized in that this device comprises: Data Receiving unit, data parsing unit, data transmission unit;
The Data Receiving unit is used to receive the conversation description protocol negotiation request that client is initiated, and sends it to the data parsing unit;
The data parsing unit, be used for after the sign of supporting the signaling compression is added in the negotiation request that judgement obtains being received, judge whether described message compression negotiation request processing unit supports the signaling compression function, and whether the sign of supporting the signaling compression is set in the response of request, and this response is sent to data transmission unit according to judged result decision;
Data transmission unit, the request that is used for being received is responded and is sent to client.
6. message compression according to claim 5 is consulted the request processing unit, it is characterized in that described data parsing unit comprises: judging unit, respond generation unit;
Judging unit, be used for having added the sign of supporting the signaling compression function in the negotiation request that judgement obtains being received, and judge when obtaining this message compression negotiation request processing unit support signaling compression function, this compression negotiation successful result is sent to the response generation unit; When judgement obtains having added the sign of supporting the signaling compression function in this negotiation request, and judge that obtain this message compression consults to add the sign of supporting the signaling compression in the negotiation request that the request processing unit do not support signaling compression function or judgement to obtain being received, is sent to the response generation unit with this compression negotiation failure result;
Respond generation unit, be used for, in the request of this client is responded, the sign of supporting the signaling compression function is set, and sends it to data transmission unit when the compression negotiation success; When the compression negotiation failure, in the request of client is responded, the sign of not supporting the signaling compression function is set, perhaps in response, do not add the signaling compressing mark, response is sent to data transmission unit.
7. message compression according to claim 6 is consulted the request processing unit, it is characterized in that:
The compression of described support signaling be designated the signaling compressing mark that property value is true;
The described signaling compressing mark that property value is false that is designated of not supporting the signaling compression function.
8. a message compression is consulted request unit, it is characterized in that this device comprises: consult request transmitting unit, Data Receiving unit, data parsing unit;
Consult request transmitting unit, be used for initiation session and describe the protocol negotiation request, and in the conversation description protocol negotiation request the capable sign of supporting the signaling compression function of adding of the medium at MRCP place, this request is sent to server;
The Data Receiving unit is used for the response of reception server end to consulting to ask, and this response is sent to the data parsing unit;
The data parsing unit, be used for when the response of judging the server end that obtains receiving, when being provided with the sign of supporting the signaling compression function, to transmitting after the message compression based on MRCP, when judgement obtains in the response of server end, be provided with the sign of not supporting the signaling compression function, perhaps judge when in the response that obtains server end the signaling compressing mark not being set, to message former state transmission based on MRCP.
9. message compression according to claim 8 is consulted request unit, it is characterized in that:
The identity property value of described support signaling compression function is the signaling compressing mark of true;
Describedly do not support that the identity property value of signaling compression function is the signaling compressing mark of false.
CN2007100029211A 2007-01-26 2007-01-26 Information transmission method and information compression negotiating request as well as processing unit Active CN101232492B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007100029211A CN101232492B (en) 2007-01-26 2007-01-26 Information transmission method and information compression negotiating request as well as processing unit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007100029211A CN101232492B (en) 2007-01-26 2007-01-26 Information transmission method and information compression negotiating request as well as processing unit

Publications (2)

Publication Number Publication Date
CN101232492A CN101232492A (en) 2008-07-30
CN101232492B true CN101232492B (en) 2011-02-09

Family

ID=39898668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007100029211A Active CN101232492B (en) 2007-01-26 2007-01-26 Information transmission method and information compression negotiating request as well as processing unit

Country Status (1)

Country Link
CN (1) CN101232492B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650584A (en) * 2002-03-20 2005-08-03 英特尔公司 Method and apparatus for header compression in a wireless LAN
CN1870638A (en) * 2005-12-13 2006-11-29 华为技术有限公司 Method and system for implementing call making service

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1650584A (en) * 2002-03-20 2005-08-03 英特尔公司 Method and apparatus for header compression in a wireless LAN
CN1870638A (en) * 2005-12-13 2006-11-29 华为技术有限公司 Method and system for implementing call making service

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
S. Shanmugham Cisco Systems,Inc.P.Monaco,NuanceCommunications B. EbermanSpeechworksInc..A Media Resource Control Protocol(MRCP)DevelopedbyCisco, Nuance, and Speechworks.A Media Resource Control Protocol(MRCP) Developed by Cisco, Nuance, and Speechworksrequest for comments:4463.2006,request for comments:44631-22. *
S.ShanmughamCiscoSystems Inc.P.Monaco

Also Published As

Publication number Publication date
CN101232492A (en) 2008-07-30

Similar Documents

Publication Publication Date Title
US9602553B2 (en) Method, apparatus, and system for implementing VOIP call in cloud computing environment
AU2013207642B2 (en) Wireless communication system for offline participation in a display session
US9906603B2 (en) System and method for transferring a session between multiple clients
CN104253742A (en) Virtual web real-time communications (WEBRTC) gateways, and related methods and systems
CN106817341B (en) A kind of Session Initiation Protocol throttling Transmission system and method towards mobile Internet
US11800337B2 (en) Method and apparatus for establishing Bluetooth data channel
CN106301969B (en) The management method and system of HTTP long link
CN103107983B (en) Data management method of network system and related system thereof
WO2015000356A1 (en) Webrtc communication method, related device and system
CN101179480B (en) Method for forwarding stream media
CN104821909A (en) Peer-to-peer data transmission method and system
CN101150592A (en) Session control system
CN102137140A (en) Method, device and system for processing streaming services
CN101232492B (en) Information transmission method and information compression negotiating request as well as processing unit
CN113726968B (en) Terminal communication method, device, server and storage medium
CN102469038B (en) Folder transmission method and device
CN101925021B (en) Method/system for processing messages and convergence service system
US7778180B2 (en) Dynamic multi-hop negotiations
CN113938469A (en) non-SIP protocol terminal and SIP protocol terminal conversation method, gateway and SIP server
US9398254B2 (en) Method for implementing telepresence technology and telepresence device
CN109120578B (en) Method and device for realizing link connection processing
EP2640029A1 (en) System and method for transmitting multipage multimedia messages, session initiation protocol terminal and multimedia message proxy server
CN101188605A (en) A system for forwarding stream media
CN112995569B (en) Conference creation method, terminal, server side and storage medium
WO2016050154A1 (en) Service negotiation method, service negotiation system and communication terminal

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20211221

Address after: 450046 Floor 9, building 1, Zhengshang Boya Plaza, Longzihu wisdom Island, Zhengdong New Area, Zhengzhou City, Henan Province

Patentee after: Super fusion Digital Technology Co.,Ltd.

Address before: 518129 Bantian HUAWEI headquarters office building, Longgang District, Guangdong, Shenzhen

Patentee before: HUAWEI TECHNOLOGIES Co.,Ltd.