CN103401833A - Media cipher/decipher switching method and device - Google Patents

Media cipher/decipher switching method and device Download PDF

Info

Publication number
CN103401833A
CN103401833A CN2013102595784A CN201310259578A CN103401833A CN 103401833 A CN103401833 A CN 103401833A CN 2013102595784 A CN2013102595784 A CN 2013102595784A CN 201310259578 A CN201310259578 A CN 201310259578A CN 103401833 A CN103401833 A CN 103401833A
Authority
CN
China
Prior art keywords
media
decoding
terminal equipment
encoding
media encoding
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
Application number
CN2013102595784A
Other languages
Chinese (zh)
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.)
Huawei 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 CN2013102595784A priority Critical patent/CN103401833A/en
Publication of CN103401833A publication Critical patent/CN103401833A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Mobile Radio Communication Systems (AREA)

Abstract

The invention provides a media cipher/decipher switching method and a media cipher/decipher switching device. The method comprises that first terminal equipment loads cipher/decipher programs in correspondence with all media ciphers and deciphers in a media cipher/decipher intersection, wherein, the media ciphers and deciphers contained in the media cipher/decipher intersection are supported by both the first terminal equipment and second terminal equipment; the first terminal equipment determines media ciphers and deciphers required to be switched during the session process of the second terminal equipment; the first terminal equipment employs first media ciphers contained in the media cipher/decipher intersection to code to-be-transmitted media information; and the first terminal equipment sends a media message which is obtained by coding the first media ciphers to the second terminal equipment, wherein the media message includes identification information of the first media ciphers. According to the invention, media ciphers and deciphers can be timely switched.

Description

Media encoding and decoding switching method and apparatus
Technical field
The embodiment of the present invention relates to the communication technology, relates in particular to a kind of media encoding and decoding switching method and apparatus.
Background technology
Along with the development of 3GPP packet-switch technology and multimedia network communication, the multimedia network communication of dialogue-based initiation protocol (Session Initiation Protocol is called for short SIP) becomes a development trend of 3GPP packet-switch technology.
Calling subscriber equipment ((User Equipment, being called for short UE) the real-time multimedia network communication service of using the Internet to provide with called UE carries out in the process of session, due to the Internet provide " doing one's best " but not the transmission service that ensures, in order to obtain better real-time multimedia communication, experience the media encoding and decoding of consulting before may needing to change.In prior art, if during the media encoding and decoding of consulting when calling UE and called UE need to change for a certain reason in conversation procedure before, need by SIP signaling such as reInvite, the requests such as Update complete Session Description Protocol (Session Description Protocol, abbreviation SDP) heavily negotiation, just start to switch the media encoding and decoding of attaching most importance to and consulting after heavily consulting successfully.Owing in the process heavily consulting the media encoding and decoding, also will passing through a large amount of Signalling exchange between base station equipment and equipment of the core network, long period can be consumed, therefore, this first signaling is consulted, rear switching media encoding and decoding meeting causes that elapsed time is long and signaling consumption is many, can't ensure in problem timely and effectively, the especially calling UE of switching and called UE negotiations process that while needing through numerous communication equipment, this problem is just more serious.
Summary of the invention
The embodiment of the present invention provides a kind of media encoding and decoding switching method and apparatus, having solved first signaling consults, rear switching media encoding and decoding cause the problem that elapsed time is long and signaling consumption is many, realized in the process of switching media coding, can directly from occuring simultaneously, the media encoding and decoding need determine the media encoding and decoding of switching, in time switching media encoding and decoding.
First aspect, the embodiment of the present invention provide a kind of media encoding and decoding changing method, comprising:
Encoding and decoding program corresponding to total medium encoding and decoding in first terminal device loads media encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported;
Described first terminal equipment is determined the media encoding and decoding that need switching to adopt in the second terminal equipment, carrying out the process of session;
Described first terminal equipment adopts the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported;
Described first terminal equipment sends the media message that adopts the first media coding coding to obtain to described the second terminal equipment, in described media message, comprise the identification information of described the first media coding, so that described the second terminal equipment is determined first media decodes corresponding with described the first media coding and adopts described the first media decodes to decode to described media message according to described identification information.
In the possible implementation of the first of first aspect, described first terminal equipment also comprises before need in the second terminal equipment, carrying out the process of session, determining media encoding and decoding that switching adopts:
Adopt the highest media encoding and decoding and described the second terminal equipment of described media encoding and decoding common factor medium priority to set up session.
The implementation possible according to the first of first aspect or first aspect, in the possible implementation of the second, before need at described first terminal equipment, in the second terminal equipment, carrying out the process of session, determining media encoding and decoding that switching adopts, also comprise:
Described first terminal equipment and the second terminal equipment consult to determine described media encoding and decoding common factor.
The implementation possible according to the second of first aspect, in the third possible implementation,
Described first terminal equipment and the second terminal equipment consult to determine described media encoding and decoding common factor, comprising:
Described first terminal equipment sends the session establishment request message to described the second terminal equipment, and described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Described first terminal equipment receives the session establishment response message that described the second terminal equipment sends, and described session establishment response message comprises described media encoding and decoding common factor.
Second aspect, the embodiment of the present invention provide a kind of media encoding and decoding changing method, comprising:
Encoding and decoding program corresponding to total medium encoding and decoding in the second terminal equipment loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and described the second terminal equipment are all supported;
Described the second terminal equipment receives the media message that the first media coding coding that employing media encoding and decoding that described first terminal equipment sends comprise in occuring simultaneously obtains, and in described media message, comprises the identification information of described the first media coding;
Described the second terminal equipment is determined first media decodes corresponding with described the first media coding from described media encoding and decoding are occured simultaneously according to described identification information;
Described the second terminal equipment adopts described the first media decodes to decode to described media message.
In the possible implementation of the first of second aspect, before described the second terminal equipment loads encoding and decoding program corresponding to the total medium encoding and decoding of described media encoding and decoding in occuring simultaneously, also comprise:
Described the second terminal equipment receives the session establishment request message that described first terminal equipment sends, and described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Described the second terminal equipment sends the session establishment response message to described first terminal equipment, and described session establishment response message comprises described media encoding and decoding common factor.
The third aspect, the embodiment of the present invention provide a kind of media encoding and decoding switching device shifter, comprising:
The first encoding and decoding program load-on module, encoding and decoding program corresponding to total medium encoding and decoding for loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported;
Media encoding and decoding determination module, carrying out with the second terminal equipment the media encoding and decoding that the process of session determine to need switching to adopt for first terminal equipment;
The media information coding module, encode to media information to be sent for the first media coding that described first terminal equipment adopts media encoding and decoding common factor to comprise;
The media message sending module, for described first terminal equipment, to described the second terminal equipment, send the media message that adopts the first media coding coding to obtain, in described media message, comprise the identification information of described the first media coding, so that described the second terminal equipment is determined first media decodes corresponding with described the first media coding and adopts described the first media decodes to decode to described media message according to described identification information.
In the possible implementation of the first of the third aspect, also comprise:
The session establishment module, for at described first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, described first terminal equipment adopts the highest media encoding and decoding and described the second terminal equipment of described media encoding and decoding common factor medium priority to set up session.
The implementation possible according to the first of the third aspect or the third aspect, in the possible implementation of the second, also comprises:
Media encoding and decoding common factor negotiation module, at described first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, with the second terminal equipment, consult to determine that described media encoding and decoding occur simultaneously.
The implementation possible according to the second of the third aspect, in the third possible implementation, described media encoding and decoding common factor negotiation module, specifically for to described the second terminal equipment, sending the session establishment request message, described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Receive the session establishment response message that described the second terminal equipment sends, described session establishment response message comprises described media encoding and decoding common factor.
Fourth aspect, the embodiment of the present invention provide a kind of media encoding and decoding switching device shifter, comprising:
The second encoding and decoding program load-on module, encoding and decoding program corresponding to total medium encoding and decoding for loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported;
The media message receiver module, the media message that the first media coding coding that comprises for the employing media encoding and decoding common factor that receives described first terminal equipment transmission obtains, wherein, the media encoding and decoding that described media encoding and decoding comprise in occuring simultaneously are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported, in described media message, comprise the identification information of described the first media coding;
The first media decodes determination module, for occuring simultaneously and determine first media decodes corresponding with described the first media coding from described media encoding and decoding according to described identification information;
The media message decoder module, decode to described media message be used to adopting described the first media decodes.
In the possible implementation of the first of fourth aspect, also comprise:
Media encoding and decoding common factor negotiation module, before encoding and decoding program corresponding to the total medium encoding and decoding that load described media encoding and decoding common factor at described the second terminal equipment, receive the session establishment request message that described first terminal equipment sends, described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
To described first terminal equipment, send the session establishment response message, described session establishment response message comprises described media encoding and decoding common factor.
Embodiment of the present invention media encoding and decoding switching method and apparatus, by first terminal equipment, adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, obtain media message, media message is sent to the second terminal equipment, thereby realize in the process of switching media encoding and decoding, do not need again with the second terminal equipment, to carry out the signaling negotiation therefore switching media encoding and decoding timely.
The accompanying drawing explanation
In order to be illustrated more clearly in the embodiment of the present invention or technical scheme of the prior art, below will the accompanying drawing of required use in embodiment or description of the Prior Art be briefly described, apparently, accompanying drawing in the following describes is some embodiments of the present invention, for those of ordinary skills, under the prerequisite of not paying creative work, can also obtain according to these accompanying drawings other accompanying drawing.
The flow chart of the media encoding and decoding changing method that Fig. 1 provides for the embodiment of the present invention one;
The flow chart of the media encoding and decoding changing method that Fig. 2 provides for the embodiment of the present invention two;
The signaling process figure of the media encoding and decoding changing method that Fig. 3 provides for the embodiment of the present invention three;
The structural representation of the media encoding and decoding switching device shifter 400 that Fig. 4 provides for the embodiment of the present invention four;
The structural representation of the media encoding and decoding switching device shifter 500 that Fig. 5 provides for the embodiment of the present invention five;
The structural representation of the media encoding and decoding switching device shifter 600 that Fig. 6 provides for the embodiment of the present invention six;
The structural representation of the media encoding and decoding switching device shifter 700 that Fig. 7 provides for the embodiment of the present invention seven.
Embodiment
For the purpose, technical scheme and the advantage that make the embodiment of the present invention clearer, below in conjunction with the accompanying drawing in the embodiment of the present invention, technical scheme in the embodiment of the present invention is clearly and completely described, obviously, described embodiment is the present invention's part embodiment, rather than whole embodiment.Based on the embodiment in the present invention, those of ordinary skills, not making under the creative work prerequisite the every other embodiment that obtains, belong to the scope of protection of the invention.
To facilitate understanding of the present embodiment of the invention, at first at this, introduce the representative communication scene that the embodiment of the present invention relates to: first terminal equipment is connected with bearer network by signaling network with the second terminal equipment, wherein, signaling network, for the call transmission signaling, completes call setup, release etc. and controls function; Bearer network is for media information.And the embodiment of the present invention is applicable to the part of the Internet as bearer network or bearer network, the scene while providing the real-time media communication service for the user.
The flow chart of the media encoding and decoding changing method that Fig. 1 provides for the embodiment of the present invention one.The method of the present embodiment is applicable to first terminal equipment in the second terminal equipment, carrying out the process of session, can be according to the real-time session situation, and the situation of in time switching media encoding and decoding.The method is carried out by the media encoding and decoding switching device shifter that is configured in terminal, and this device is realized in the mode of hardware and/or software usually.The method of the present embodiment comprises the steps:
Encoding and decoding program corresponding to total medium encoding and decoding in step 110, first terminal device loads media encoding and decoding common factor, wherein, the media encoding and decoding that comprise in media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported.
Step 120, first terminal equipment are carrying out determining the media encoding and decoding that need switching to adopt in the process of session with the second terminal equipment.
First terminal equipment with the second terminal equipment in the conversation procedure in a relatively long session cycle, when the characteristic of doing one's best due to the Internet has determined to transmit real-time media on the internet, the problems such as packet loss, time delay, shake that can produce cause the poor phenomenon of speech quality, in order to improve speech quality, in conversation procedure, may need to adopt different media encoding and decoding.Therefore, while in conversation procedure, needing the switching media encoding and decoding, determine the media encoding and decoding that need switching to adopt.
Step 130, first terminal equipment adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent.
First terminal equipment adopts the first media coding to encode to media information to be sent, to obtain media message.Wherein, the first media coding is the media coding that first terminal equipment and the second terminal equipment are all supported.
Step 140, first terminal equipment send the media message that adopts the first media coding coding to obtain to the second terminal equipment, the identification information that comprises the first media coding in media message, so that the second terminal equipment is determined the first media decodes and is adopted the first media decodes to decode to media message according to identification information.
Concrete, first terminal equipment is determined the media encoding and decoding that need switching to adopt in the second terminal equipment, carrying out the process of session, adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, the media message that obtains after coding is sent to the second terminal equipment.
The media encoding and decoding changing method that the present embodiment provides, by first terminal equipment, adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, obtain media message, media message is sent to the second terminal equipment, thereby realize in the process of switching media encoding and decoding, do not need again with the second terminal equipment, to carry out the signaling negotiation therefore switching media encoding and decoding timely.
The flow chart of the media encoding and decoding changing method that Fig. 2 provides for the embodiment of the present invention two.The method of the present embodiment comprises the steps:
Encoding and decoding program corresponding to total medium encoding and decoding in step 210, the second terminal equipment loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported.
Step 220, the second terminal equipment receive the media message that the first media coding coding that employing media encoding and decoding that first terminal equipment sends comprise in occuring simultaneously obtains, and in media message, comprise the identification information of the first media coding.
Step 230, the second terminal equipment are determined first media decodes corresponding with the first media coding from the media encoding and decoding are occured simultaneously according to identification information.
Step 240, the second terminal equipment adopt the first media decodes to decode to media message.
Concrete, the media message that the first media coding coding that the employing media encoding and decoding that the second terminal equipment reception first terminal equipment sends comprise in occuring simultaneously obtains, according to the identification information of the first media coding that comprises in media message, from the media encoding and decoding are occured simultaneously, determine the first media decodes, adopt the first media decodes to decode to media message.
The media encoding and decoding changing method that the present embodiment provides, by the second terminal equipment, receive the media message that first terminal equipment sends, according to the identification information of the first media coding that comprises in media message, from occuring simultaneously, the media encoding and decoding determine the first media decodes, adopt the first media decodes to decode to media message, thereby realize in the process of switching media encoding and decoding, can directly from occuring simultaneously, the media encoding and decoding determine the first media decodes, switching media encoding and decoding timely.
The signaling process figure of the media encoding and decoding changing method that Fig. 3 provides for the embodiment of the present invention three.The enforcement scene that the present embodiment provides is: the second terminal equipment is determined media encoding and decoding common factor, and the media encoding and decoding are occured simultaneously and sent to first terminal equipment.With reference to Fig. 3, the method for the present embodiment can comprise:
Step 310, first terminal equipment send the session establishment request message to the second terminal equipment, and the session establishment request message comprises the media encoding and decoding that first terminal equipment is supported.
Step 320, the second terminal equipment send the session establishment response message to first terminal equipment, and the session establishment response message comprises media encoding and decoding common factor.
Step 310 and step 320 are in the session establishment process, to consult at first terminal equipment and the second terminal equipment the process of determining that the media encoding and decoding are occured simultaneously.First terminal equipment sends the session establishment request message to the second terminal equipment, so that the own media encoding and decoding of being supported are sent to the second terminal equipment, after the second terminal equipment receives the session establishment request message, determine to occur simultaneously with the media encoding and decoding of first terminal equipment, and these media encoding and decoding are occured simultaneously and sent to first terminal equipment by the session establishment response message.
Encoding and decoding program corresponding to total medium encoding and decoding in step 330, first terminal device loads media encoding and decoding common factor.
Encoding and decoding program corresponding to total medium encoding and decoding in step 340, the second terminal equipment loading medium encoding and decoding common factor.
Encoding and decoding program corresponding to total medium encoding and decoding in first terminal equipment and the second terminal equipment difference loading medium encoding and decoding common factor, by pre-loaded media encoding and decoding program before switching occurs, realization in the process of switching media encoding and decoding, switching media encoding and decoding timely.
Step 350, first terminal equipment adopt the highest media encoding and decoding and the second terminal equipment of media encoding and decoding common factor medium priority to set up session.
Step 360, first terminal equipment are carrying out determining the media encoding and decoding that need switching to adopt in the process of session with the second terminal equipment.
Step 370, first terminal equipment adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, wherein, the media encoding and decoding that comprise in media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported.
Step 380, first terminal equipment send the media message that adopts the first media coding coding to obtain to the second terminal equipment, the identification information that comprises the first media coding in media message, so that the second terminal equipment is determined the first media decodes and is adopted the first media decodes to decode to media message according to identification information.
Step 390, the second terminal equipment adopt the first media decodes to decode to media message.
In step 390, the second terminal equipment, according to the identification information of the first media coding that comprises in media message, is determined the first media decodes from the media encoding and decoding are occured simultaneously, adopt the first media decodes to decode to media message.
The media encoding and decoding changing method that the present embodiment provides, by the second terminal equipment, determine to occur simultaneously with the media encoding and decoding of first terminal equipment, and both sides' encoding and decoding program corresponding to total medium encoding and decoding of loading medium encoding and decoding in occuring simultaneously all before switching, guarantee in handoff procedure, first terminal equipment can directly adopt the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent, obtain media message, media message is sent to the second terminal equipment; The second terminal equipment is according to the identification information of the first media coding that comprises in media message, from occuring simultaneously, the media encoding and decoding determine the first media decodes, adopt the first media decodes to decode to media message, thereby realize in the process of switching media encoding and decoding switching media encoding and decoding timely.
The structural representation of the media encoding and decoding switching device shifter 400 that Fig. 4 provides for the embodiment of the present invention four.The device of the present embodiment is applicable to can be according to the real-time session situation, the situation of in time switching media encoding and decoding.This device is realized in the mode of hardware and/or software usually.With reference to Fig. 4, this media encoding and decoding switching device shifter comprises as lower module: the first encoding and decoding program load-on module 410, media encoding and decoding determination module 420, media information coding module 430 and media message sending module 440.
Encoding and decoding program corresponding to total medium encoding and decoding that the first encoding and decoding program load-on module 410 occurs simultaneously for the loading medium encoding and decoding, wherein, the media encoding and decoding that comprise in media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported; Media encoding and decoding determination module 420 is carrying out with the second terminal equipment the media encoding and decoding that the process of session determine to need switching to adopt for first terminal equipment; Media information coding module 430 is encoded to media information to be sent for the first media coding that first terminal equipment adopts media encoding and decoding common factor to comprise; Media message sending module 440 sends the media message that adopts the first media coding coding to obtain to the second terminal equipment for first terminal equipment, the identification information that comprises the first media coding in media message, so that the second terminal equipment is determined the first media decodes and is adopted the first media decodes to decode to media message according to identification information.
Further, also comprise:
The session establishment module, for at first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, adopt the highest media encoding and decoding and the second terminal equipment of media encoding and decoding common factor medium priority to set up session.
Further, also comprise:
Media encoding and decoding common factor negotiation module, at first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, with the second terminal equipment, consult to determine that the media encoding and decoding occur simultaneously.
Further, media encoding and decoding common factor negotiation module is specifically for sending the session establishment request message to the second terminal equipment, and the session establishment request message comprises the media encoding and decoding that first terminal equipment is supported; Receive the session establishment response message that the second terminal equipment sends, the session establishment response message comprises media encoding and decoding common factor.
The media encoding and decoding switching device shifter that the present embodiment provides, by adopting the first media coding that comprises in media encoding and decoding common factor, media information to be sent is encoded, obtain media message, media message is sent to the second terminal equipment, thereby realize in the process of switching media encoding and decoding, do not need again with the second terminal equipment, to carry out the signaling negotiation therefore switching media encoding and decoding timely.
The structural representation of the media encoding and decoding switching device shifter 500 that Fig. 5 provides for the embodiment of the present invention five.The device of the present embodiment is applicable to can be according to the real-time session situation, the situation of in time switching media encoding and decoding.This device is realized in the mode of hardware and/or software usually.With reference to Fig. 5, this media encoding and decoding switching device shifter comprises as lower module: the second encoding and decoding program load-on module 510, media message receiver module 520, the first media decodes determination module 530 and media message decoder module 540.
Encoding and decoding program corresponding to total medium encoding and decoding that the second encoding and decoding program load-on module 510 occurs simultaneously for the loading medium encoding and decoding, wherein, the media encoding and decoding that comprise in media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported; The media message that the first media coding coding that media message receiver module 520 comprises for the employing media encoding and decoding common factor that receives the transmission of first terminal equipment obtains, wherein, comprise the identification information of the first media coding in media message; The first media decodes determination module 530 is for occuring simultaneously and determine first media decodes corresponding with the first media coding from the media encoding and decoding according to identification information; Media message decoder module 540 is be used to adopting the first media decodes to decode to media message.
Further, also comprise:
Media encoding and decoding common factor negotiation module, before encoding and decoding program corresponding to the total medium encoding and decoding of occuring simultaneously in the second terminal equipment loading medium encoding and decoding, receive the session establishment request message that first terminal equipment sends, the session establishment request message comprises the media encoding and decoding that first terminal equipment is supported; To first terminal equipment, send the session establishment response message, the session establishment response message comprises media encoding and decoding common factor.
The media encoding and decoding switching device shifter that the present embodiment provides, the media message that sends by receiving first terminal equipment, according to the identification information of the first media coding that comprises in media message, from occuring simultaneously, the media encoding and decoding determine the first media decodes, adopt the first media decodes to decode to media message, thereby realize in the process of switching media encoding and decoding, can directly from occuring simultaneously, the media encoding and decoding determine the first media decodes, switching media encoding and decoding timely.
The structural representation of the media encoding and decoding switching device shifter 600 that Fig. 6 provides for the embodiment of the present invention six.The device of the present embodiment is applicable to can be according to the real-time session situation, the situation of in time switching media encoding and decoding.With reference to Fig. 6, this media encoding and decoding switching device shifter comprises: processor 610, encoder 620 and transmitter 630.
Encoding and decoding program corresponding to total medium encoding and decoding that processor 610 occurs simultaneously for the loading medium encoding and decoding, wherein, the media encoding and decoding that the media encoding and decoding comprise in occuring simultaneously are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported; In with the second terminal equipment, carrying out the process of session, determine the media encoding and decoding that need switching to adopt; Encoder 620 is encoded to media information to be sent for the first media coding that adopts media encoding and decoding common factor to comprise; Transmitter 630 is for sending the media message that adopts the first media coding coding to obtain to the second terminal equipment, the identification information that comprises the first media coding in media message, so that the second terminal equipment is determined the first media decodes and is adopted the first media decodes to decode to media message according to identification information.
Further, processor 610 also, for before determining to switch the media encoding and decoding of adopting, adopts the highest media encoding and decoding and the second terminal equipment of media encoding and decoding common factor medium priority to set up session.
Further, processor 610 also, for before determining to switch the media encoding and decoding of adopting, is consulted definite media encoding and decoding with the second terminal equipment and is occured simultaneously.
Further, processor 610 is also specifically for sending the session establishment request message to the second terminal equipment, and the session establishment request message comprises the media encoding and decoding that first terminal equipment is supported; Receive the session establishment response message that the second terminal equipment sends, the session establishment response message comprises media encoding and decoding common factor.
The media encoding and decoding switching device shifter that the present embodiment provides, by adopting the first media coding that comprises in media encoding and decoding common factor, media information to be sent is encoded, obtain media message, media message is sent to the second terminal equipment, thereby realize in the process of switching media encoding and decoding, do not need again with the second terminal equipment, to carry out the signaling negotiation therefore switching media encoding and decoding timely.
The structural representation of the media encoding and decoding switching device shifter 700 that Fig. 7 provides for the embodiment of the present invention seven.The device of the present embodiment is applicable to can be according to the real-time session situation, the situation of in time switching media encoding and decoding.This device is realized in the mode of hardware and/or software usually.With reference to Fig. 7, this media encoding and decoding switching device shifter comprises: processor 710, receiver 720 and decoder 730.
Encoding and decoding program corresponding to total medium encoding and decoding that processor 710 occurs simultaneously for the loading medium encoding and decoding, wherein, the media encoding and decoding that the media encoding and decoding comprise in occuring simultaneously are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported; The media message that the first media coding coding that receiver 720 comprises for the employing media encoding and decoding common factor that receives the transmission of first terminal equipment obtains, wherein, comprise the identification information of the first media coding in media message; Decoder 730 is for occuring simultaneously and determine first media decodes corresponding with the first media coding from the media encoding and decoding according to identification information; Adopt the first media decodes to decode to media message.
Further, processor 710 is also for before encoding and decoding program corresponding to the total medium encoding and decoding of occuring simultaneously in the second terminal equipment loading medium encoding and decoding, receive the session establishment request message that first terminal equipment sends, the session establishment request message comprises the media encoding and decoding that first terminal equipment is supported; To first terminal equipment, send the session establishment response message, the session establishment response message comprises media encoding and decoding common factor.
The media encoding and decoding switching device shifter that the present embodiment provides, the media message that sends by receiving first terminal equipment, according to the identification information of the first media coding that comprises in media message, from occuring simultaneously, the media encoding and decoding determine the first media decodes, adopt the first media decodes to decode to media message, thereby realize in the process of switching media encoding and decoding, can directly from occuring simultaneously, the media encoding and decoding determine the first media decodes, switching media encoding and decoding timely.
One of ordinary skill in the art will appreciate that: all or part of step that realizes above-mentioned each embodiment of the method can complete by the hardware that program command is correlated with.Aforesaid program can be stored in a computer read/write memory medium.This program, when carrying out, is carried out the step that comprises above-mentioned each embodiment of the method; And aforesaid storage medium comprises: the various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Finally it should be noted that: above each embodiment, only in order to technical scheme of the present invention to be described, is not intended to limit; Although with reference to aforementioned each embodiment, the present invention is had been described in detail, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme that aforementioned each embodiment puts down in writing, or some or all of technical characterictic wherein is equal to replacement; And these modifications or replacement do not make the essence of appropriate technical solution break away from the scope of various embodiments of the present invention technical scheme.

Claims (12)

1. a media encoding and decoding changing method, is characterized in that, comprising:
Encoding and decoding program corresponding to total medium encoding and decoding in first terminal device loads media encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported;
Described first terminal equipment is determined the media encoding and decoding that need switching to adopt in the second terminal equipment, carrying out the process of session;
Described first terminal equipment adopts the first media coding that comprises in media encoding and decoding common factor to encode to media information to be sent;
Described first terminal equipment sends the media message that adopts the first media coding coding to obtain to described the second terminal equipment, in described media message, comprise the identification information of described the first media coding, so that described the second terminal equipment is determined first media decodes corresponding with described the first media coding and adopts described the first media decodes to decode to described media message according to described identification information.
2. method according to claim 1, is characterized in that, before need at described first terminal equipment, in the second terminal equipment, carrying out the process of session, determining media encoding and decoding that switching adopts, also comprises:
Described first terminal equipment adopts the highest media encoding and decoding and described the second terminal equipment of described media encoding and decoding common factor medium priority to set up session.
3. method according to claim 1 and 2, is characterized in that, before need at described first terminal equipment, in the second terminal equipment, carrying out the process of session, determining media encoding and decoding that switching adopts, also comprises:
Described first terminal equipment and the second terminal equipment consult to determine described media encoding and decoding common factor.
4. method according to claim 3, is characterized in that, described first terminal equipment and the second terminal equipment consult to determine described media encoding and decoding common factor, comprising:
Described first terminal equipment sends the session establishment request message to described the second terminal equipment, and described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Described first terminal equipment receives the session establishment response message that described the second terminal equipment sends, and described session establishment response message comprises described media encoding and decoding common factor.
5. a media encoding and decoding changing method, is characterized in that, comprising:
Encoding and decoding program corresponding to total medium encoding and decoding in the second terminal equipment loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and described the second terminal equipment are all supported;
Described the second terminal equipment receives the media message that the first media coding coding that employing media encoding and decoding that described first terminal equipment sends comprise in occuring simultaneously obtains, and in described media message, comprises the identification information of described the first media coding;
Described the second terminal equipment is determined first media decodes corresponding with described the first media coding from described media encoding and decoding are occured simultaneously according to described identification information;
Described the second terminal equipment adopts described the first media decodes to decode to described media message.
6. method according to claim 5, is characterized in that, before described the second terminal equipment loads encoding and decoding program corresponding to the total medium encoding and decoding of described media encoding and decoding in occuring simultaneously, also comprises:
Described the second terminal equipment receives the session establishment request message that described first terminal equipment sends, and described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Described the second terminal equipment sends the session establishment response message to described first terminal equipment, and described session establishment response message comprises described media encoding and decoding common factor.
7. a media encoding and decoding switching device shifter, is characterized in that, comprising:
The first encoding and decoding program load-on module, encoding and decoding program corresponding to total medium encoding and decoding for loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that described first terminal equipment and the second terminal equipment are all supported;
Media encoding and decoding determination module, carrying out with the second terminal equipment the media encoding and decoding that the process of session determine to need switching to adopt for first terminal equipment;
The media information coding module, encode to media information to be sent for the first media coding that described first terminal equipment adopts media encoding and decoding common factor to comprise;
The media message sending module, for described first terminal equipment, to described the second terminal equipment, send the media message that adopts the first media coding coding to obtain, in described media message, comprise the identification information of described the first media coding, so that described the second terminal equipment is determined first media decodes corresponding with described the first media coding and adopts described the first media decodes to decode to described media message according to described identification information.
8. device according to claim 7, is characterized in that, also comprises:
The session establishment module, for at described first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, adopt the highest media encoding and decoding and described the second terminal equipment of described media encoding and decoding common factor medium priority to set up session.
9. according to claim 7 or 8 described devices, is characterized in that, also comprises:
Media encoding and decoding common factor negotiation module, at described first terminal equipment before the process of carrying out session with the second terminal equipment determine to need media encoding and decoding that switching adopts, with the second terminal equipment, consult to determine that described media encoding and decoding occur simultaneously.
10. device according to claim 9, it is characterized in that, described media encoding and decoding common factor negotiation module, specifically for to described the second terminal equipment, sending the session establishment request message, described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
Receive the session establishment response message that described the second terminal equipment sends, described session establishment response message comprises described media encoding and decoding common factor.
11. a media encoding and decoding switching device shifter, is characterized in that, comprising:
The second encoding and decoding program load-on module, encoding and decoding program corresponding to total medium encoding and decoding for loading medium encoding and decoding common factor, wherein, the media encoding and decoding that comprise in described media encoding and decoding common factor are the media encoding and decoding that first terminal equipment and the second terminal equipment are all supported;
The media message receiver module, the media message that the first media coding coding that comprises for the employing media encoding and decoding common factor that receives described first terminal equipment transmission obtains, wherein, comprise the identification information of described the first media coding in described media message;
The first media decodes determination module, for occuring simultaneously and determine first media decodes corresponding with described the first media coding from described media encoding and decoding according to described identification information;
The media message decoder module, decode to described media message be used to adopting described the first media decodes.
12. device according to claim 11, is characterized in that, also comprises:
Media encoding and decoding common factor negotiation module, before encoding and decoding program corresponding to the total medium encoding and decoding of occuring simultaneously in the loading medium encoding and decoding, receive the session establishment request message that described first terminal equipment sends, described session establishment request message comprises the media encoding and decoding that described first terminal equipment is supported;
To described first terminal equipment, send the session establishment response message, described session establishment response message comprises described media encoding and decoding common factor.
CN2013102595784A 2013-06-26 2013-06-26 Media cipher/decipher switching method and device Pending CN103401833A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2013102595784A CN103401833A (en) 2013-06-26 2013-06-26 Media cipher/decipher switching method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2013102595784A CN103401833A (en) 2013-06-26 2013-06-26 Media cipher/decipher switching method and device

Publications (1)

Publication Number Publication Date
CN103401833A true CN103401833A (en) 2013-11-20

Family

ID=49565359

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2013102595784A Pending CN103401833A (en) 2013-06-26 2013-06-26 Media cipher/decipher switching method and device

Country Status (1)

Country Link
CN (1) CN103401833A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181723A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of media coding/decoding negotiation method and terminal device
CN109104295A (en) * 2017-06-21 2018-12-28 中国移动通信有限公司研究院 A kind of coding and decoding processing method, terminal, the network equipment and computer storage medium
CN110740478A (en) * 2018-07-18 2020-01-31 成都鼎桥通信技术有限公司 Video resolution negotiation method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921478A (en) * 2005-08-26 2007-02-28 华为技术有限公司 Business signal transmitting method based on network agreement
US20070140293A1 (en) * 2005-12-16 2007-06-21 Anjana Agarwal RFCI mapping to support backward-compatible transcoder-free operation for UMTS
CN101141807A (en) * 2007-08-25 2008-03-12 中兴通讯股份有限公司 Coding/decoding negotiation method
CN102448135A (en) * 2011-11-17 2012-05-09 中兴通讯股份有限公司 Method and system for continuously switching single wireless voice

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1921478A (en) * 2005-08-26 2007-02-28 华为技术有限公司 Business signal transmitting method based on network agreement
US20070140293A1 (en) * 2005-12-16 2007-06-21 Anjana Agarwal RFCI mapping to support backward-compatible transcoder-free operation for UMTS
CN101141807A (en) * 2007-08-25 2008-03-12 中兴通讯股份有限公司 Coding/decoding negotiation method
CN102448135A (en) * 2011-11-17 2012-05-09 中兴通讯股份有限公司 Method and system for continuously switching single wireless voice

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107181723A (en) * 2016-03-11 2017-09-19 中兴通讯股份有限公司 A kind of media coding/decoding negotiation method and terminal device
CN109104295A (en) * 2017-06-21 2018-12-28 中国移动通信有限公司研究院 A kind of coding and decoding processing method, terminal, the network equipment and computer storage medium
CN109104295B (en) * 2017-06-21 2021-07-20 中国移动通信有限公司研究院 Encoding and decoding processing method, terminal, network equipment and computer storage medium
CN110740478A (en) * 2018-07-18 2020-01-31 成都鼎桥通信技术有限公司 Video resolution negotiation method and device

Similar Documents

Publication Publication Date Title
CN103781182A (en) Service establishing method and core network equipment
US8588211B2 (en) Method for changing session media, method for establishing a call, and equipment thereof
EP2254370B1 (en) Method of handling Single Radio Voice Call Continuity (SRVCC) handover in wireless communication system
CN102223201B (en) Negotiation method of codec capability and terminal
JP5956348B2 (en) Method for improving voice over IP capacity for user equipment utilizing variable rate vocoders
CN102308560B (en) Transmission method and device of media stream data in cloud calculative system
TW201121344A (en) Radio access network control of multimedia application data rates
US20180048748A1 (en) Systems and Methods For Dynamic Switching of Codec Modes of Operation Used by a Terminal
WO2012059051A1 (en) Method, device, and system for controlling speech encoding rate
WO2017166973A1 (en) Coding scheme configuration method and device
CN101998491A (en) Service data transmission method, equipment and communication system
US8411597B2 (en) Method, system and apparatus for setting up multimedia call
CN103401833A (en) Media cipher/decipher switching method and device
CN106856472A (en) Video call method, device and mobile terminal based on VoLTE
CN110662186B (en) Media negotiation method, media gateway control apparatus, and computer-readable storage medium
CN103139142A (en) Method, device and system for processing streaming media business data
EP2421211B1 (en) Session transfer method and user equipment
CN107404363B (en) Method, system, terminal and network side equipment for adjusting voice code rate
CN102547921A (en) Communication control method, device and system and multi-mode terminal
CN101803451B (en) Method and system for implementing codec transition for voice service
CN108124243A (en) A kind of multi-path terminal multiside calling method and device
JP4970466B2 (en) Method for supporting high bit rate service in a mobile communication system
CN101370310B (en) User terminal, application server and call establishment method
CN103079242B (en) Call handover method, device and system
CN104811579A (en) Facsimile service processing system, method and apparatus

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20131120

RJ01 Rejection of invention patent application after publication