WO2013091243A1 - Media stream data transmission method in cloud computing system and physical server - Google Patents

Media stream data transmission method in cloud computing system and physical server Download PDF

Info

Publication number
WO2013091243A1
WO2013091243A1 PCT/CN2011/084547 CN2011084547W WO2013091243A1 WO 2013091243 A1 WO2013091243 A1 WO 2013091243A1 CN 2011084547 W CN2011084547 W CN 2011084547W WO 2013091243 A1 WO2013091243 A1 WO 2013091243A1
Authority
WO
WIPO (PCT)
Prior art keywords
media stream
soft terminal
media
api
codec information
Prior art date
Application number
PCT/CN2011/084547
Other languages
French (fr)
Chinese (zh)
Inventor
高小宏
耿长东
吴晓明
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Priority to CN201180003130.5A priority Critical patent/CN103503410B/en
Priority to PCT/CN2011/084547 priority patent/WO2013091243A1/en
Publication of WO2013091243A1 publication Critical patent/WO2013091243A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/80Responding to QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/10Architectures or entities
    • H04L65/102Gateways
    • H04L65/1023Media gateways
    • H04L65/103Media gateways in the network

Definitions

  • the present invention relates to communication technologies, and in particular, to a method and a physical server for transmitting media stream data in a cloud computing system. Background technique
  • VMs virtual machines
  • the cloud terminal can log in to a VM and run the VM. Installed soft terminal
  • the software installed on the VM with the function of making and receiving calls performs communication services. For example: The TC logs in to the VM through the Remote Desktop Protocol and runs the soft terminal installed on the VM. In the prior art, the soft terminal decodes the received downlink data packet to obtain media stream data, which is then encoded by the VM and transmitted to the TC. Otherwise, the VM decodes the received uplink data packet to obtain media stream data. And then encoded by the soft terminal and transmitted to the media gateway through the streaming media transmission protocol.
  • the media stream data is transmitted between the TC and the VM. Since the VM and the soft terminal need to encode and decode the received media stream data, the transmission delay is increased and the voice/video quality is degraded. Summary of the invention
  • the present invention provides a method and a physical server for transmitting media stream data in a cloud computing system, which are used to reduce transmission delay and improve voice/video quality.
  • a method for transmitting media stream data in a cloud computing system includes a physical server, where the at least one VM runs, the TC logs in to the VM, and the TC runs the VM.
  • the soft terminal installed on the method includes:
  • the VM obtains media stream codec information supported by the TC;
  • the VM sends the media stream codec information of the current call to the TC;
  • the VM transmits the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is encoded and decoded by the TC by using the media stream of the current call.
  • the media stream codec information encoding process is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
  • a physical server in the cloud computing system, where the physical server runs at least one VM, and the TC logs in to the VM, and the TC runs a soft terminal installed on the VM, where the VM includes:
  • a registration unit configured to obtain media stream codec information supported by the TC
  • a sending unit configured to send media stream codec information of the current call to the TC during a process of establishing a call connection between the soft terminal and the media gateway by the soft terminal;
  • a transmitting unit configured to transmit the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is used by the TC to use the media stream of the current call Obtaining, after the codec information encoding process, or transmitting the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is used by the media gateway
  • the media stream codec information encoding process of the secondary call is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
  • the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is in the VM and the soft.
  • Transparent transmission between terminals reduces transmission delay and improves voice/video quality.
  • the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
  • FIG. 1 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to an embodiment of the present invention
  • FIG. 2 is a logic architecture diagram applicable to the embodiment corresponding to FIG. 1;
  • FIG. 3 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • FIG. 7 is a physical server in a cloud computing system according to another embodiment of the present invention.
  • the technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention.
  • the embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
  • FIG. 1 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to an embodiment of the present invention.
  • a cloud computing system multiple VMs can be run on each physical server, and the TC can log in to the VM and run the VM.
  • the soft terminal installed on the network performs communication services.
  • the TC logs in to the VM through the remote desktop protocol and runs the soft terminal installed on the VM.
  • the method for transmitting media stream data in the cloud computing system of this embodiment may include:
  • the VM obtains media stream codec information supported by the TC.
  • the media stream codec information supported by the TC may include but is not limited to G.723.1. G.71 1. At least one of the speech codec modes of G.729, H.261, H.263, and H.264.
  • the TC can log in to the VM through the remote desktop protocol and register with the VM, so that the VM obtains the media stream codec information supported by the TC sent by the TC.
  • the TC may further obtain the configured media stream codec information supported by the TC.
  • the VM sends the media stream codec information of the current call to the TC, where the media stream codec information of the current call is
  • the soft terminal obtains the media stream codec information supported by the TC obtained from the VM and the media stream decoding information supported by the media gateway obtained from the media gateway, and the media stream codec supported by the TC obtained by using the soft terminal from the VM.
  • VM in this embodiment may include a plurality of application programming interfaces (APIs) for implementing different functions.
  • APIs application programming interfaces
  • the VM may include a third API, where the third API is used to provide the foregoing TC-supported media stream codec information to the soft terminal.
  • the third API for example, a codec acquisition API
  • the VM may send the voice to the soft terminal.
  • the media stream codec information supported by the TC so that the soft terminal selects the media stream of the current call according to the media stream codec information supported by the TC and the media stream codec information supported by the media gateway obtained from the media gateway. Decoding the information, or sending the media stream codec information supported by the TC to the media gateway.
  • the VM when the soft terminal installed on the VM is run by the TC, when the soft terminal invokes the codec acquisition API of the VM where the soft terminal is located, the VM sends the obtained media stream codec information supported by the TC to the soft terminal.
  • the foregoing call may be a call initiated by the soft terminal as the calling terminal, or may be a call accepted by the soft terminal as the called terminal.
  • the soft terminal may send the media stream codec information supported by the TC to the media. Gateway.
  • the media gateway receives the media supported by the TC.
  • the media stream of the current call is selected by using the intersection selection mode. The information is decoded and sent to the soft terminal, and the soft terminal sends the media stream codec information of the current call to the TC through the VM.
  • the soft terminal receives the media stream supported by the media gateway sent by the media gateway in the process of establishing the call connection between the soft terminal and the media gateway. Decode the information.
  • the soft terminal uses the media stream codec information supported by the TC and the media stream codec information supported by the media gateway obtained from the media gateway, and selects the media stream codec information of the current call by using the intersection selection mode, and The media stream codec information of the current call is sent to the TC through the VM.
  • the VM may include a fourth API, where the fourth API is used to provide the foregoing TC with the media stream codec information of the current call.
  • the fourth API for example, a codec selected API
  • the VM may send the message to the TC.
  • the VM may include a fifth API, where the fifth API is used to provide the TC with the media stream codec information of the current call after the update.
  • the fifth API for example, a codec modification API
  • the VM may The TC sends the media stream codec information of the above call after the update.
  • the VM transmits, by using the soft channel, the first media stream data that is sent by the TC to the media gateway, where the first media stream data is obtained by the TC by using the media stream codec information of the current call. Or transmitting the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is obtained by the media gateway by using the media stream codec information encoding process of the current call. And causing the TC to perform decoding processing on the second media stream data by using the media stream codec information of the current call.
  • the TC can use the obtained media of the call.
  • the body stream codec information obtains the first media stream data after encoding the media stream data to be transmitted, and sends the data to the VM.
  • the VM may further include a first API, where the first API is configured to provide the first media stream data to the soft terminal. After the VM receives the first media stream data, when the soft terminal invokes the first API (for example, the media stream input API), the VM may send the first media stream data to the soft terminal, so that the soft terminal is used. Sending the first media stream data to the media gateway.
  • the media gateway may use the media stream codec information of the current call to encode the media stream data to be sent, and then obtain the second media stream data, and send the data to the soft terminal.
  • the VM may further include a second API, where the second API is configured to provide the second media stream data to the TC. After the soft terminal receives the second media stream data, when the soft terminal invokes the second API (for example, the media stream output API), the VM may send the second media stream data to the TC.
  • the foregoing VM may include a sixth API, where the sixth API is used to provide call control information corresponding to the call control operation to the TC, where the call control operation is performed by the user using the TC on the soft terminal by using the TC. trigger.
  • the VM may be sent to the TC.
  • the call control information is sent, so that the TC controls the current call according to the call control information, so that the control of the call is completed on the TC.
  • Audio parameters for example: volume, mute/restore, etc.
  • Adjust at least one of the operation and video parameters for example: local/peer video window size, position, off/on, etc.) adjustment operations.
  • the user can perform the volume adjustment operation on the soft terminal through the TC
  • the soft terminal can call the volume adjustment API
  • the VM can send the volume control information to the TC
  • the TC adjusts the volume according to the volume control information.
  • the user performs the output mute operation on the soft terminal through the TC, and the soft terminal pauses to call the media stream output API, and the VM can pause to send the media stream data to the TC;
  • the user performs the input mute operation on the soft terminal through the TC, and the soft
  • the terminal can call the input mute API, and the VM can send the input mute control information to the TC, and the TC can pause to send the media stream data to the VM.
  • the user performs video window size adjustment operation on the soft terminal through the TC
  • the soft terminal The video window size adjustment API may be invoked, and the VM may send the video window size control information to the TC, and the TC adjusts the video window size according to the video window size control information.
  • the user performs video window position adjustment operation on the soft terminal through the TC
  • the soft terminal can call the video window position adjustment API
  • the VM can send the video window position control information to the TC
  • the TC performs the video window position control information according to the video window position control information.
  • Video window position adjustment For example: the user performs video window position adjustment operation on the soft terminal through the TC
  • the soft terminal can call the video window position adjustment API
  • the VM can send the video window position control information to the TC
  • the TC performs the video window position control information according to the video window position control information.
  • Video window position adjustment Video window position adjustment.
  • the user performs the peer video window closing operation on the soft terminal through the TC, and the soft terminal pauses to call the media stream output API, and the VM can pause to send the media stream data to the TC; the user performs the local end on the soft terminal through the TC.
  • the soft terminal can call the local video window to close the API, and the VM can send the local video window close control information to the TC, and the TC can pause to send the media stream data to the VM.
  • the soft terminal may further transmit the first media sent by the TC, because the media stream data still passes through the VM.
  • the stream data is stored on the VM, or the second media stream data sent by the media gateway may be further stored on the VM, thereby realizing recording of the media stream data (for example, recording or recording).
  • the soft terminal in the process of establishing a call connection between the soft terminal and the media gateway by the soft terminal, the soft terminal can perform control signaling interaction between the TC and the media gateway through the VM; during the call, the TC and the Although the media stream data between the media gateways passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, and the media stream data is transparently transmitted between the VM and the soft terminal.
  • the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , which reduces transmission delay and improves voice/video quality.
  • the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
  • FIG. 3 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • a soft terminal initiates a call as a calling terminal.
  • the method for transmitting media stream data in the cloud computing system of this embodiment may include:
  • the TC obtains the supported media stream codec information of the TC.
  • the TC logs in to the VM through the remote desktop protocol to register, to send the media stream codec information supported by the TC to the VM.
  • the TC runs a soft terminal installed on the VM, and when the soft terminal invokes the codec to obtain the API,
  • the VM sends the media stream codec information supported by the TC to the soft terminal;
  • the user triggers the soft terminal to send an invite (Invite) call message to the media gateway, where the invite call message carries the media stream codec information supported by the TC;
  • the operation instruction of the user's call is sent to the soft terminal, and the soft terminal sends an invitation call message to the media gateway according to the instruction, and the message body of the invitation call message carries the media stream codec information supported by the TC.
  • the media gateway selects the media stream codec information of the current call according to the media stream codec information supported by the media gateway and the obtained media stream codec information supported by the TC, and sends the media stream codec information of the current call to the soft terminal.
  • the answering call message carries the media stream codec information of the current call;
  • the soft terminal acts as the calling terminal to initiate the call connection establishment.
  • the soft terminal invokes the codec selection API, and the VM sends the media stream codec information of the current call to the TC.
  • the media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal.
  • the driver outputs the output
  • the TC decodes the received video data
  • the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
  • the media stream data between the TC and the media gateway passes through the VM, but the VM and the soft terminal do not need to encode and decode the media stream data.
  • the media stream data is transparently transmitted between the VM and the soft terminal, thereby reducing the transmission delay and improving the voice/video quality.
  • the VM since both the VM and the soft terminal do not need to encode and decode the media stream data, the VM The CPU usage is not high, which can further increase the number of VMs that can be operated by the corresponding physical server, thereby improving the resource utilization of the physical server.
  • FIG. 4 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • a soft terminal initiates a call as a called terminal.
  • the method for transmitting media stream data in the cloud computing system of this embodiment may include:
  • the TC obtains the supported media stream codec information of the TC.
  • the TC registers with the VM through the remote desktop protocol to register, to send the media stream codec information supported by the TC to the VM.
  • the TC runs a soft terminal installed on the VM.
  • the soft terminal invokes the codec to obtain the API
  • the VM sends the media stream codec information supported by the TC to the soft terminal.
  • the calling party triggers the media gateway to send an invite (Invite) call message to the soft terminal, where the invite call message carries the media stream codec information supported by the media gateway.
  • invite Invite
  • the soft terminal selects the media stream codec information of the current call according to the obtained media stream codec information supported by the TC and the media stream codec information supported by the media gateway, and selects the media stream codec information of the current call, and sends the media stream codec information to the media gateway.
  • Send a reply message where the answer call message carries the media stream codec information of the current call;
  • the soft terminal as the called terminal accepts the call connection establishment.
  • the soft terminal invokes the codec selection API, and the VM sends the media stream codec information of the current call to the TC.
  • the media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal.
  • the driver outputs the output
  • the TC decodes the received video data
  • the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
  • the media stream data between the TC and the media gateway passes through the VM, but the VM and the soft terminal do not need to encode and decode the media stream data.
  • the media stream data is transparently transmitted between the VM and the soft terminal, thereby reducing the transmission delay and improving the voice/video quality.
  • the VM and the soft terminal do not need to encode and decode the media stream data, so that the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server is further increased, thereby improving the physical server. Resource utilization.
  • FIG. 5 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • the media gateway further initiates codec decoding. Update process.
  • the method for transmitting media stream data in the cloud computing system of this embodiment may include:
  • the media gateway sends a codec modification (Modify) message to the soft terminal, where the codec modification message carries the media stream codec information of the current call after the update;
  • the soft terminal sends a codec modification response message to the media gateway.
  • the soft terminal invokes the codec modification API, and the VM sends the media stream codec information of the current call after the foregoing update to the TC.
  • the media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal.
  • the driver outputs the output
  • the TC decodes the received video data
  • the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
  • the soft terminal sends the media stream codec information of the current call after the update to the TC, so that the TC and the media gateway can use the media stream codec information of the current call after the update, and the media stream data.
  • the codec process is performed.
  • the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , thereby reducing transmission delay and improving voice/video quality.
  • the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
  • FIG. 6 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention.
  • the medium The body gateway further initiates a codec update process.
  • the method for transmitting media stream data in the cloud computing system of this embodiment may include:
  • the soft terminal sends a codec modification (Modify) message to the media gateway, where the codec modification message carries the media stream codec information of the current call after the update;
  • the media gateway sends a codec modification response message to the soft terminal.
  • the soft terminal invokes the codec modification API, and the VM sends the media stream codec information of the current call after the foregoing update to the TC.
  • the media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal.
  • the driver outputs the output
  • the TC decodes the received video data
  • the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
  • the soft terminal sends the media stream codec information of the current call after the update to the TC, so that the TC and the media gateway can use the media stream codec information of the current call after the update, and the media stream data.
  • the codec process is performed.
  • the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , thereby reducing transmission delay and improving voice/video quality.
  • the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
  • the VM involved in the embodiment of the present invention sends any information to the soft terminal (for example, the media stream codec information supported by the TC), and specifically, the operating system or application management software in the VM sends the information to the soft terminal.
  • the embodiment of the present invention does not limit this, as long as the above communication function can be implemented.
  • FIG. 7 is a physical server in a cloud computing system according to another embodiment of the present invention.
  • a plurality of VMs can be run on a physical server.
  • the TC can log in to the VM and run the soft terminal installed on the VM to perform communication services. For example, the TC passes.
  • the Remote Desktop Protocol logs in to the VM and runs the soft terminal installed on the VM.
  • the VM of this embodiment may include a registration unit 71, a transmitting unit 72, and a transmission unit 73.
  • the registration unit 71 is configured to obtain the media stream codec information supported by the TC
  • the sending unit 72 is configured to send the message to the TC in the process of establishing the call connection between the soft terminal and the media gateway by the soft terminal.
  • the media stream codec information of the secondary call, the media stream codec information of the current call is used by the soft terminal according to the media stream codec information supported by the TC obtained from the VM, and the media gateway supported by the media gateway.
  • the stream coding and decoding information and the media stream codec information supported by the TC obtained by the foregoing soft terminal from the VM are selected; the transmission unit 73 is configured to transmit the received first media stream data sent by the TC to the foregoing by using the soft terminal.
  • the media gateway, the first media stream data is obtained by the TC using the media stream codec information encoding process of the current call, or the second media stream data sent by the media gateway received by the soft terminal is transmitted to the TC.
  • the second media stream data is used by the media gateway to use the media of the current call. After obtaining the information stream codec encoding process, so that the above-mentioned TC of the second media stream decoding the data stream using the above media codec information of the current call.
  • the functions of the VMs in the embodiments corresponding to the foregoing FIG. 1, FIG. 3, FIG. 4, FIG. 5 and FIG. 6 can be implemented by the VM running on the physical server in the cloud computing system provided by this embodiment.
  • the TC may use the obtained media stream codec information of the current call to encode the media stream data to be sent, and then obtain the first media stream data, and send the data to the VM.
  • the VM may further include a first API, where the first API is configured to provide the first media stream data to the soft terminal.
  • the transmitting unit 73 in this embodiment may be specifically configured to: when the soft terminal invokes the first API, send the first media stream data to the soft terminal, so that the soft terminal sends the information to the media gateway.
  • the first media stream data is described.
  • the media gateway may use the media stream codec information of the current call to encode the media stream data to be sent, and then obtain the second media stream data, and send the data to the soft terminal.
  • the VM may further include a second API, where the second API is configured to provide the second media stream data to the TC.
  • the transmitting unit 73 in this embodiment may be specifically configured to: when the soft terminal invokes the second API, send the second media stream data to the TC.
  • the VM may include a third API, where the third API is used to provide the foregoing TC-supported media stream codec information to the soft terminal.
  • the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the third API, send the media stream codec information supported by the TC to the soft terminal, so that the soft terminal supports according to the TC.
  • the media stream codec information and the media stream codec information supported by the media gateway obtained from the media gateway select the media stream codec information of the current call, or send the media stream codec information supported by the TC to the media gateway.
  • the VM may include a fourth API, where the fourth API is used to provide the foregoing TC with the media stream codec information of the current call.
  • the sending unit 72 in this embodiment may be specifically configured to: when the soft terminal invokes the fourth API, send the media stream codec information of the current call to the TC.
  • the VM may include a fifth API, where the fifth API is used to provide the TC with the media stream codec information of the current call after the update.
  • the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the fifth API, send the media stream codec information of the current call after the TC sends the update.
  • the foregoing VM may include a sixth API, where the sixth API is used to provide call control information corresponding to the call control operation to the TC, where the call control operation is performed by the user using the TC on the soft terminal by using the TC. trigger.
  • the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the sixth API, send the call control information to the TC, so that the TC performs the current call according to the call control information. control.
  • the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is in the VM.
  • Transparent transmission with soft terminals reduces transmission delay and improves voice/video quality.
  • the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed.
  • the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
  • the above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium.
  • the above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention.
  • the foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

Provided are a media stream data transmission method in a cloud computing system and a physical server. In the present invention, although the media stream data between a TC and a media gateway passes through a VM, the VM and a soft terminal need not perform coding/decoding processing on the media stream data, so that the media stream data is transmitted transparently between the VM and the soft terminal, thus reducing the transmission time delay and improving the voice/video quality. Moreover, since the VM and the soft terminal need not perform coding/decoding processing on the media stream data, the CPU occupation rate in the VM will not be high, and the number of VMs which can be operated by the corresponding physical server can be further increased, increasing the resource utilization rate of the physical server.

Description

云计算系统中的媒体流数据的传输方法及物理服务器 技术领域 本发明实施例涉及通信技术, 尤其涉及一种云计算系统中的媒体流数 据的传输方法及物理服务器。 背景技术  The present invention relates to communication technologies, and in particular, to a method and a physical server for transmitting media stream data in a cloud computing system. Background technique
云计算 (Cloud Computing ) 系统中, 每个物理服务器上可运行多个 虚拟机(Virtual Machine, 简称 VM ) , 云终端即瘦终端 (Thin Client, 简称 TC )可以登录到一个 VM上, 运行 VM上安装的软终端(Soft phone ) In a cloud computing system, multiple virtual machines (VMs) can be run on each physical server. The cloud terminal (Thin Client, TC for short) can log in to a VM and run the VM. Installed soft terminal
(即 VM上安装的具有拨打电话和接听电话功能的软件 )进行通信业务。 例 如: TC通过远程桌面协议登录到 VM上, 运行 VM上安装的软终端。 现 有技术中, 软终端对接收到的下行数据包进行解码, 得到媒体流数据, 然 后再由 VM进行编码, 传输给 TC; 反之, VM对接收到的上行数据包进行 解码, 得到媒体流数据, 然后再由软终端进行编码, 通过流媒体传输协议 传输给媒体网关。 (The software installed on the VM with the function of making and receiving calls) performs communication services. For example: The TC logs in to the VM through the Remote Desktop Protocol and runs the soft terminal installed on the VM. In the prior art, the soft terminal decodes the received downlink data packet to obtain media stream data, which is then encoded by the VM and transmitted to the TC. Otherwise, the VM decodes the received uplink data packet to obtain media stream data. And then encoded by the soft terminal and transmitted to the media gateway through the streaming media transmission protocol.
然而, 媒体流数据在 TC与 VM之间进行传输, 由于 VM和软终端需 要对接收到的媒体流数据进行编解码处理, 所以导致了传输时延的增加和 语音 /视频质量的下降。 发明内容  However, the media stream data is transmitted between the TC and the VM. Since the VM and the soft terminal need to encode and decode the received media stream data, the transmission delay is increased and the voice/video quality is degraded. Summary of the invention
本发明提供一种云计算系统中的媒体流数据的传输方法及物理服务 器, 用以减少传输时延, 提高语音 /视频质量。  The present invention provides a method and a physical server for transmitting media stream data in a cloud computing system, which are used to reduce transmission delay and improve voice/video quality.
一方面提供了一种云计算系统中的媒体流数据的传输方法, 所述云计 算系统包括物理服务器, 该物理服务器上运行至少一个 VM , TC登录到所 述 VM , 所述 TC运行所述 VM上安装的软终端, 所述方法包括:  In one aspect, a method for transmitting media stream data in a cloud computing system is provided, where the cloud computing system includes a physical server, where the at least one VM runs, the TC logs in to the VM, and the TC runs the VM. The soft terminal installed on the method includes:
所述 VM获得所述 TC支持的媒体流编解码信息;  The VM obtains media stream codec information supported by the TC;
在所述软终端建立所述软终端与媒体网关之间的呼叫连接的过程中, 所述 VM向所述 TC发送本次呼叫的媒体流编解码信息; 所述 VM将接收的所述 TC发送的第一媒体流数据通过所述软终端传 输给所述媒体网关, 所述第一媒体流数据由所述 TC利用所述本次呼叫的 媒体流编解码信息编码处理之后获得, 或者将通过所述软终端接收的所述 媒体网关发送的第二媒体流数据传输给所述 TC, 所述第二媒体流数据由 所述媒体网关利用所述本次呼叫的媒体流编解码信息编码处理之后获得, 以使得所述 TC利用所述本次呼叫的媒体流编解码信息对所述第二媒体流 数据进行解码处理。 In the process of establishing a call connection between the soft terminal and the media gateway, the VM sends the media stream codec information of the current call to the TC; The VM transmits the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is encoded and decoded by the TC by using the media stream of the current call. Obtaining, or transmitting, by the information encoding process, the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is used by the media gateway to use the current call The media stream codec information encoding process is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
另一方面提供了一种云计算系统中的物理服务器, 所述物理服务器上 运行至少一个 VM , TC登录到所述 VM , 所述 TC运行所述 VM上安装的 软终端, 所述 VM包括:  In another aspect, a physical server is provided in the cloud computing system, where the physical server runs at least one VM, and the TC logs in to the VM, and the TC runs a soft terminal installed on the VM, where the VM includes:
注册单元, 用于获得所述 TC支持的媒体流编解码信息;  a registration unit, configured to obtain media stream codec information supported by the TC;
发送单元, 用于在所述软终端建立所述软终端与媒体网关之间的呼叫 连接的过程中, 向所述 TC发送本次呼叫的媒体流编解码信息;  a sending unit, configured to send media stream codec information of the current call to the TC during a process of establishing a call connection between the soft terminal and the media gateway by the soft terminal;
传输单元, 用于将接收的所述 TC发送的第一媒体流数据通过所述软 终端传输给所述媒体网关, 所述第一媒体流数据由所述 TC利用所述本次 呼叫的媒体流编解码信息编码处理之后获得, 或者将通过所述软终端接收 的所述媒体网关发送的第二媒体流数据传输给所述 TC, 所述第二媒体流 数据由所述媒体网关利用所述本次呼叫的媒体流编解码信息编码处理之 后获得, 以使得所述 TC利用所述本次呼叫的媒体流编解码信息对所述第 二媒体流数据进行解码处理。  a transmitting unit, configured to transmit the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is used by the TC to use the media stream of the current call Obtaining, after the codec information encoding process, or transmitting the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is used by the media gateway The media stream codec information encoding process of the secondary call is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
由上述技术方案可知,本发明实施例中 TC与媒体网关之间的媒体流数 据虽然经过 VM, 但是 VM和软终端均不需要对媒体流数据进行编解码处 理, 使得媒体流数据在 VM与软终端之间进行透明传输, 从而减少了传输时 延, 提高了语音 /视频质量。 此外, 由于 VM和软终端均不需要对媒体流数 据进行编解码处理, 使得 VM中的 CPU占用率不会较高, 能够使对应的 物理服务器可运行的 VM的数量进一步提高, 从而提高了物理服务器的资 源利用率。 附图说明 实施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见 地, 下面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员 来讲, 在不付出创造性劳动性的前提下, 还可以根据这些附图获得其他的 附图。 According to the foregoing technical solution, in the embodiment of the present invention, although the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is in the VM and the soft. Transparent transmission between terminals reduces transmission delay and improves voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization. DRAWINGS The drawings used in the embodiments or the description of the prior art are briefly described. It is obvious that the drawings in the following description are some embodiments of the present invention, and are not creative to those skilled in the art. Other drawings can also be obtained from these drawings on the premise of labor.
图 1 为本发明一实施例提供的云计算系统中的媒体流数据的传输方法 的流程示意图;  1 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to an embodiment of the present invention;
图 2为图 1对应的实施例适用的逻辑架构图;  2 is a logic architecture diagram applicable to the embodiment corresponding to FIG. 1;
图 3为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图;  3 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention;
图 4为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图;  4 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention;
图 5为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图;  FIG. 5 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention;
图 6为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图;  6 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention;
图 7为本发明另一实施例提供的云计算系统中的物理服务器。 具体实施方式 为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有作出创造性劳动前提 下所获得的所有其他实施例, 都属于本发明保护的范围。  FIG. 7 is a physical server in a cloud computing system according to another embodiment of the present invention. The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. The embodiments are a part of the embodiments of the invention, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
图 1 为本发明一实施例提供的云计算系统中的媒体流数据的传输方法 的流程示意图, 云计算系统中, 每个物理服务器上可运行多个 VM, TC可以 登录到 VM上, 运行 VM上安装的软终端进行通信业务, 例如: TC通过远程 桌面协议登录到 VM上, 运行 VM上安装的软终端。 如图 1所示, 本实施例 的云计算系统中的媒体流数据的传输方法可以包括:  FIG. 1 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to an embodiment of the present invention. In a cloud computing system, multiple VMs can be run on each physical server, and the TC can log in to the VM and run the VM. The soft terminal installed on the network performs communication services. For example, the TC logs in to the VM through the remote desktop protocol and runs the soft terminal installed on the VM. As shown in FIG. 1, the method for transmitting media stream data in the cloud computing system of this embodiment may include:
101、 VM获得上述 TC支持的媒体流编解码信息;  101. The VM obtains media stream codec information supported by the TC.
其中, TC 支持的媒体流编解码信息可以包括但不限于 G.723.1、 G.71 1、 G.729、 H.261、 H.263和 H.264中的至少一种语音编解码方式。 例如: TC可以通过远程桌面协议登录到 VM上, 向 VM进行注册, 使 得 VM获得 TC发送的该 TC支持的媒体流编解码信息。 The media stream codec information supported by the TC may include but is not limited to G.723.1. G.71 1. At least one of the speech codec modes of G.729, H.261, H.263, and H.264. For example, the TC can log in to the VM through the remote desktop protocol and register with the VM, so that the VM obtains the media stream codec information supported by the TC sent by the TC.
可选地, 在 101之前, TC还可以进一步获得配置的该 TC支持的媒 体流编解码信息。  Optionally, before 101, the TC may further obtain the configured media stream codec information supported by the TC.
102、 在上述软终端建立上述软终端与媒体网关之间的呼叫连接的过 程中, 上述 VM向上述 TC发送本次呼叫的媒体流编解码信息, 上述本次 呼叫的媒体流编解码信息由上述软终端根据从上述 VM获得的上述 TC支 持的媒体流编解码信息和从媒体网关获得的上述媒体网关支持的媒体流 解码信息和通过上述软终端从上述 VM获得的上述 TC支持的媒体流编解 码信息选择;  102. In the process of establishing a call connection between the soft terminal and the media gateway, the VM sends the media stream codec information of the current call to the TC, where the media stream codec information of the current call is The soft terminal obtains the media stream codec information supported by the TC obtained from the VM and the media stream decoding information supported by the media gateway obtained from the media gateway, and the media stream codec supported by the TC obtained by using the soft terminal from the VM. Information selection
需要说明的是: 本实施例中的 VM 可以包括很多种应用程序编程接口 ( Application Programming Interface, 简称 API ) , 用以实现不同的功能, 具体说明可以如下。  It should be noted that the VM in this embodiment may include a plurality of application programming interfaces (APIs) for implementing different functions. The specific description may be as follows.
可选地, 上述 VM中可以包括第三 API , 上述第三 API用于向上述软 终端提供上述 TC支持的媒体流编解码信息。 例如: 在上述软终端建立上 述软终端与媒体网关之间的呼叫连接的过程之前, 当上述软终端调用上述 第三 API (例如: 编解码获取 API ) 时, 上述 VM则可以向上述软终端发 送上述 TC支持的媒体流编解码信息, 以使得上述软终端根据上述 TC支 持的媒体流编解码信息和从媒体网关获得的上述媒体网关支持的媒体流 编解码信息选择上述本次呼叫的媒体流编解码信息, 或者向上述媒体网关 发送上述 TC支持的媒体流编解码信息。  Optionally, the VM may include a third API, where the third API is used to provide the foregoing TC-supported media stream codec information to the soft terminal. For example, before the soft terminal establishes a call connection between the soft terminal and the media gateway, when the soft terminal invokes the third API (for example, a codec acquisition API), the VM may send the voice to the soft terminal. The media stream codec information supported by the TC, so that the soft terminal selects the media stream of the current call according to the media stream codec information supported by the TC and the media stream codec information supported by the media gateway obtained from the media gateway. Decoding the information, or sending the media stream codec information supported by the TC to the media gateway.
在本实施例中, 通过 TC运行 VM上安装的软终端时, 当软终端调用上 述软终端所在 VM的编解码获取 API时, VM则将获得的 TC支持的媒体流 编解码信息发送给软终端。 其中, 上述呼叫可以是软终端作为主叫终端所 发起的呼叫, 或者还可以是软终端作为被叫终端所接受的呼叫。  In this embodiment, when the soft terminal installed on the VM is run by the TC, when the soft terminal invokes the codec acquisition API of the VM where the soft terminal is located, the VM sends the obtained media stream codec information supported by the TC to the soft terminal. . The foregoing call may be a call initiated by the soft terminal as the calling terminal, or may be a call accepted by the soft terminal as the called terminal.
例如: 如果软终端作为主叫终端发起呼叫, 在上述软终端在建立上述 软终端与媒体网关之间的呼叫连接的过程中 , 软终端获得 TC支持的媒体 流编解码信息之后, 可以发送给媒体网关。 媒体网关接收到 TC支持的媒 体流编解码信息之后, 根据上述媒体网关支持的媒体流编解码信息和从上 述软终端获得的上述 TC支持的媒体流编解码信息, 利用取交集的选择方 式, 选择本次呼叫的媒体流编解码信息, 并发送给上述软终端, 由软终端 通过 VM将本次呼叫的媒体流编解码信息发送给上述 TC。 For example, if the soft terminal initiates a call as the calling terminal, in the process of establishing the call connection between the soft terminal and the media gateway, the soft terminal may send the media stream codec information supported by the TC to the media. Gateway. The media gateway receives the media supported by the TC. After the body stream codec information, according to the media stream codec information supported by the media gateway and the media stream codec information supported by the TC obtained from the soft terminal, the media stream of the current call is selected by using the intersection selection mode. The information is decoded and sent to the soft terminal, and the soft terminal sends the media stream codec information of the current call to the TC through the VM.
再例如: 如果软终端作为被叫终端接受呼叫, 在上述软终端在建立上 述软终端与媒体网关之间的呼叫连接的过程中, 软终端接收到媒体网关发 送的上述媒体网关支持的媒体流编解码信息。 上述软终端则根据上述 TC 支持的媒体流编解码信息和从媒体网关获得的上述媒体网关支持的媒体 流编解码信息, 利用取交集的选择方式, 选择本次呼叫的媒体流编解码信 息, 并将本次呼叫的媒体流编解码信息通过 VM发送给上述 TC。  For example, if the soft terminal accepts the call as the called terminal, the soft terminal receives the media stream supported by the media gateway sent by the media gateway in the process of establishing the call connection between the soft terminal and the media gateway. Decode the information. The soft terminal uses the media stream codec information supported by the TC and the media stream codec information supported by the media gateway obtained from the media gateway, and selects the media stream codec information of the current call by using the intersection selection mode, and The media stream codec information of the current call is sent to the TC through the VM.
可选地,上述 VM中可以包括第四 API ,上述第四 API用于向上述 TC 提供上述本次呼叫的媒体流编解码信息。 例如: 在上述软终端建立上述软 终端与媒体网关之间的呼叫连接的过程中, 当上述软终端调用上述第四 API (例如: 编解码选定 API ) 时, 上述 VM则可以向上述 TC发送上述本 次呼叫的媒体流编解码信息。  Optionally, the VM may include a fourth API, where the fourth API is used to provide the foregoing TC with the media stream codec information of the current call. For example, in the process of establishing a call connection between the soft terminal and the media gateway by the soft terminal, when the soft terminal invokes the fourth API (for example, a codec selected API), the VM may send the message to the TC. The media stream codec information of the above call.
可选地,上述 VM中可以包括第五 API ,上述第五 API用于向上述 TC 提供更新之后的上述本次呼叫的媒体流编解码信息。 例如: 在上述软终端 建立上述软终端与媒体网关之间的呼叫连接的过程之中或者之后, 当上述 软终端调用上述第五 API (例如: 编解码修改 API ) 时, 上述 VM则可以 向上述 TC发送更新之后的上述本次呼叫的媒体流编解码信息。 导致本次 呼叫的媒体流编解码信息发生变化的更新原因可以有多种, 本实施例对此 不进行限定。  Optionally, the VM may include a fifth API, where the fifth API is used to provide the TC with the media stream codec information of the current call after the update. For example: during or after the above-mentioned soft terminal establishes a call connection between the soft terminal and the media gateway, when the soft terminal invokes the fifth API (for example, a codec modification API), the VM may The TC sends the media stream codec information of the above call after the update. There are many reasons for the change of the media stream codec information of the current call, which is not limited in this embodiment.
103、 上述 VM将接收的上述 TC发送的第一媒体流数据通过上述软 终端传输给上述媒体网关, 上述第一媒体流数据由上述 TC利用上述本次 呼叫的媒体流编解码信息编码处理之后获得, 或者将通过上述软终端接收 的上述媒体网关发送的第二媒体流数据传输给上述 TC, 上述第二媒体流 数据由上述媒体网关利用上述本次呼叫的媒体流编解码信息编码处理之 后获得, 以使得上述 TC利用上述本次呼叫的媒体流编解码信息对上述第 二媒体流数据进行解码处理。  103. The VM transmits, by using the soft channel, the first media stream data that is sent by the TC to the media gateway, where the first media stream data is obtained by the TC by using the media stream codec information of the current call. Or transmitting the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is obtained by the media gateway by using the media stream codec information encoding process of the current call. And causing the TC to perform decoding processing on the second media stream data by using the media stream codec information of the current call.
例如: 对于上行媒体流数据来说, TC 可以利用获得的本次呼叫的媒 体流编解码信息对将要发送的媒体流数据进行编码处理之后获得第一媒 体流数据, 并发送给 VM。 其中, 上述 VM中还可以进一步包括第一 API , 上述第一 API用于向上述软终端提供上述第一媒体流数据。 VM接收到第 一媒体流数据之后, 当上述软终端调用上述第一 API (例如: 媒体流输入 API ) 时, 上述 VM 则可以向上述软终端发送上述第一媒体流数据, 以使 得上述软终端向上述媒体网关发送上述第一媒体流数据。 For example: For the upstream media stream data, the TC can use the obtained media of the call. The body stream codec information obtains the first media stream data after encoding the media stream data to be transmitted, and sends the data to the VM. The VM may further include a first API, where the first API is configured to provide the first media stream data to the soft terminal. After the VM receives the first media stream data, when the soft terminal invokes the first API (for example, the media stream input API), the VM may send the first media stream data to the soft terminal, so that the soft terminal is used. Sending the first media stream data to the media gateway.
例如: 对于下行媒体流数据来说, 媒体网关可以利用本次呼叫的媒体 流编解码信息对将要发送的媒体流数据进行编码处理之后获得第二媒体 流数据, 并发送给软终端。 其中, 上述 VM中还可以进一步包括第二 API , 上述第二 API用于向上述 TC提供上述第二媒体流数据。 软终端接收到第 二媒体流数据之后, 当上述软终端调用上述第二 API (例如: 媒体流输出 API ) 时, 上述 VM则可以向上述 TC发送上述第二媒体流数据。  For example, for the downlink media stream data, the media gateway may use the media stream codec information of the current call to encode the media stream data to be sent, and then obtain the second media stream data, and send the data to the soft terminal. The VM may further include a second API, where the second API is configured to provide the second media stream data to the TC. After the soft terminal receives the second media stream data, when the soft terminal invokes the second API (for example, the media stream output API), the VM may send the second media stream data to the TC.
可选地,上述 VM中可以包括第六 API ,上述第六 API用于向上述 TC 提供呼叫控制操作对应的呼叫控制信息, 上述呼叫控制操作由使用上述 TC 的用户通过上述 TC在上述软终端上触发。 例如: 在上述软终端建立 上述软终端与媒体网关之间的呼叫连接的过程之前或者之中, 当上述软终 端调用上述第六 API (例如: 参数调整 API ) 时, 上述 VM则可以向上述 TC发送上述呼叫控制信息, 以使得上述 TC根据上述呼叫控制信息, 对 本次呼叫进行控制, 从而实现了在 TC上完成对呼叫的控制。 例如: 音频 参数(例如: 音量大小、 静音 /还原等 )调整操作和视频参数(例如: 本端 /对端视频窗口大小、 位置、 关闭 /打开等)调整操作中的至少一项。  Optionally, the foregoing VM may include a sixth API, where the sixth API is used to provide call control information corresponding to the call control operation to the TC, where the call control operation is performed by the user using the TC on the soft terminal by using the TC. trigger. For example: before or during the process of establishing a call connection between the soft terminal and the media gateway by the soft terminal, when the soft terminal invokes the sixth API (for example, a parameter adjustment API), the VM may be sent to the TC. The call control information is sent, so that the TC controls the current call according to the call control information, so that the control of the call is completed on the TC. For example: Audio parameters (for example: volume, mute/restore, etc.) Adjust at least one of the operation and video parameters (for example: local/peer video window size, position, off/on, etc.) adjustment operations.
例如: 用户通过 TC在软终端上进行音量大小调节操作, 软终端则可 以调用音量调整 API , VM则可以将音量控制信息下发给 TC, 由 TC根据 音量控制信息进行音量大小调节。  For example, the user can perform the volume adjustment operation on the soft terminal through the TC, the soft terminal can call the volume adjustment API, and the VM can send the volume control information to the TC, and the TC adjusts the volume according to the volume control information.
例如: 用户通过 TC在软终端上进行输出静音操作, 软终端则暂停调 用媒体流输出 API ,上述 VM则可以暂停向上述 TC发送媒体流数据; 用户 通过 TC在软终端上进行输入静音操作,软终端则可以调用输入静音 API , VM则可以将输入静音控制信息下发给 TC,则 TC可以暂停向 VM发送媒 体流数据。  For example, the user performs the output mute operation on the soft terminal through the TC, and the soft terminal pauses to call the media stream output API, and the VM can pause to send the media stream data to the TC; the user performs the input mute operation on the soft terminal through the TC, and the soft The terminal can call the input mute API, and the VM can send the input mute control information to the TC, and the TC can pause to send the media stream data to the VM.
例如: 用户通过 TC在软终端上进行视频窗口大小调节操作, 软终端 则可以调用视频窗口大小调整 API , VM则可以将视频窗口大小控制信息 下发给 TC, 由 TC根据视频窗口大小控制信息进行视频窗口大小调节。 For example: The user performs video window size adjustment operation on the soft terminal through the TC, the soft terminal The video window size adjustment API may be invoked, and the VM may send the video window size control information to the TC, and the TC adjusts the video window size according to the video window size control information.
例如: 用户通过 TC在软终端上进行视频窗口位置调节操作, 软终端 则可以调用视频窗口位置调整 API , VM则可以将视频窗口位置控制信息 下发给 TC, 由 TC根据视频窗口位置控制信息进行视频窗口位置调节。  For example: the user performs video window position adjustment operation on the soft terminal through the TC, the soft terminal can call the video window position adjustment API, and the VM can send the video window position control information to the TC, and the TC performs the video window position control information according to the video window position control information. Video window position adjustment.
例如: 用户通过 TC在软终端上进行对端视频窗口关闭操作, 软终端 则暂停调用媒体流输出 API ,上述 VM则可以暂停向上述 TC发送媒体流数 据; 用户通过 TC在软终端上进行本端视频窗口关闭操作, 软终端则可以 调用本端视频窗口关闭 API , VM则可以将本端视频窗口关闭控制信息下 发给 TC, 则 TC可以暂停向 VM发送媒体流数据。  For example, the user performs the peer video window closing operation on the soft terminal through the TC, and the soft terminal pauses to call the media stream output API, and the VM can pause to send the media stream data to the TC; the user performs the local end on the soft terminal through the TC. When the video window is closed, the soft terminal can call the local video window to close the API, and the VM can send the local video window close control information to the TC, and the TC can pause to send the media stream data to the VM.
可选地, 本实施例中, 虽然 VM和软终端均不需要对媒体流数据进行 编解码处理, 但是由于媒体流数据仍然经过 VM , 因此上述软终端还可以 进一步将上述 TC发送的第一媒体流数据保存在上述 VM上, 或者还可以 进一步将上述媒体网关发送的第二媒体流数据保存在上述 VM上, 从而实 现了对媒体流数据的录制 (例如: 录音或录像) 。  Optionally, in this embodiment, although the VM and the soft terminal do not need to perform codec processing on the media stream data, the soft terminal may further transmit the first media sent by the TC, because the media stream data still passes through the VM. The stream data is stored on the VM, or the second media stream data sent by the media gateway may be further stored on the VM, thereby realizing recording of the media stream data (for example, recording or recording).
如图 2所示, 在软终端建立软终端与媒体网关之间的呼叫连接的过程 中, 软终端可以通过 VM在 TC与媒体网关之间进行控制信令的交互; 在通 话过程中, TC与媒体网关之间的媒体流数据虽然经过 VM, 但是 VM和软终 端均不需要对媒体流数据进行编解码处理, 媒体流数据在 VM 与软终端之 间进行透明传输。  As shown in FIG. 2, in the process of establishing a call connection between the soft terminal and the media gateway by the soft terminal, the soft terminal can perform control signaling interaction between the TC and the media gateway through the VM; during the call, the TC and the Although the media stream data between the media gateways passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, and the media stream data is transparently transmitted between the VM and the soft terminal.
本实施例中, TC与媒体网关之间的媒体流数据虽然经过 VM, 但是 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得媒体流数据在 VM 与软终端之间进行透明传输,从而减少了传输时延,提高了语音 /视频质量。 此外, 由于 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得 VM中的 CPU占用率不会较高,能够使对应的物理服务器可运行的 VM的 数量进一步提高, 从而提高了物理服务器的资源利用率。  In this embodiment, although the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , which reduces transmission delay and improves voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
为使得本发明实施例提供的方法更加清楚, 下面将以具体实现方案作 为举例。  In order to make the method provided by the embodiment of the present invention clearer, a specific implementation will be exemplified below.
图 3为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图,本实施例中,软终端作为主叫终端发起呼叫。如图 3所示, 本实施例的云计算系统中的媒体流数据的传输方法可以包括:FIG. 3 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention. In this embodiment, a soft terminal initiates a call as a calling terminal. As shown in Figure 3, The method for transmitting media stream data in the cloud computing system of this embodiment may include:
301、 TC获得配置的该 TC的支持的媒体流编解码信息; 301. The TC obtains the supported media stream codec information of the TC.
302、 TC通过远程桌面协议登录到 VM上进行注册, 以向 VM发送 TC 支持的媒体流编解码信息;  302. The TC logs in to the VM through the remote desktop protocol to register, to send the media stream codec information supported by the TC to the VM.
303、 TC运行 VM上安装的软终端, 软终端调用编解码获取 API时, 303. The TC runs a soft terminal installed on the VM, and when the soft terminal invokes the codec to obtain the API,
VM向软终端发送上述 TC支持的媒体流编解码信息; The VM sends the media stream codec information supported by the TC to the soft terminal;
304、 用户触发软终端向媒体网关发送邀请( Invite )呼叫消息, 该邀 请呼叫消息中携带该 TC支持的媒体流编解码信息;  304. The user triggers the soft terminal to send an invite (Invite) call message to the media gateway, where the invite call message carries the media stream codec information supported by the TC;
例如:用户的拨打电话的操作指令发送给软终端,软终端根据该指令, 向媒体网关发送邀请呼叫消息, 该邀请呼叫消息的消息体中携带 TC支持 的媒体流编解码信息。  For example, the operation instruction of the user's call is sent to the soft terminal, and the soft terminal sends an invitation call message to the media gateway according to the instruction, and the message body of the invitation call message carries the media stream codec information supported by the TC.
305、 媒体网关根据媒体网关支持的媒体流编解码信息和获得的上述 TC 支持的媒体流编解码信息, 利用取交集的选择方式, 选择本次呼叫的 媒体流编解码信息, 并向软终端发送应答( Reply ) 呼叫消息, 该应答呼 叫消息中携带本次呼叫的媒体流编解码信息;  305. The media gateway selects the media stream codec information of the current call according to the media stream codec information supported by the media gateway and the obtained media stream codec information supported by the TC, and sends the media stream codec information of the current call to the soft terminal. Replying to a call message, the answering call message carries the media stream codec information of the current call;
至此, 软终端作为主叫终端发起呼叫的呼叫连接建立完成。  At this point, the soft terminal acts as the calling terminal to initiate the call connection establishment.
306、 软终端调用编解码选定 API , VM向 TC发送上述本次呼叫的媒 体流编解码信息;  306. The soft terminal invokes the codec selection API, and the VM sends the media stream codec information of the current call to the TC.
307、 TC与媒体网关之间的媒体流数据在 VM与软终端之间透明传输。 详细描述可以参见图 1对应的实施例中的相关内容, 此处不再赘述。 需要说明的是: 如果媒体流数据为音频数据, TC对接收到的音频数 据进行解码处理之后, 经过驱动输出; 如果媒体流数据为视频数据, TC 对接收到的视频数据进行解码处理之后, 还进一步根据接收到的软终端发 送的视频控制信息, 将解码处理之后的视频图像边缘对应到软终端的视频 框中。  307. The media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal. For details, refer to related content in the embodiment corresponding to FIG. 1, and details are not described herein again. It should be noted that: if the media stream data is audio data, after the TC decodes the received audio data, the driver outputs the output; if the media stream data is video data, the TC decodes the received video data, and then Further, according to the received video control information sent by the soft terminal, the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
本实施例中, 软终端作为主叫终端发起呼叫的呼叫连接建立完成之 后, TC与媒体网关之间的媒体流数据虽然经过 VM, 但是 VM和软终端均 不需要对媒体流数据进行编解码处理, 使得媒体流数据在 VM 与软终端之 间进行透明传输, 从而减少了传输时延, 提高了语音 /视频质量。 此外, 由 于 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得 VM 中的 CPU占用率不会较高,能够使对应的物理服务器可运行的 VM的数量进一 步提高, 从而提高了物理服务器的资源利用率。 In this embodiment, after the soft terminal is established as the calling connection initiated by the calling terminal, the media stream data between the TC and the media gateway passes through the VM, but the VM and the soft terminal do not need to encode and decode the media stream data. , the media stream data is transparently transmitted between the VM and the soft terminal, thereby reducing the transmission delay and improving the voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the VM The CPU usage is not high, which can further increase the number of VMs that can be operated by the corresponding physical server, thereby improving the resource utilization of the physical server.
图 4为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图,本实施例中,软终端作为被叫终端发起呼叫。如图 4所示, 本实施例的云计算系统中的媒体流数据的传输方法可以包括:  FIG. 4 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention. In this embodiment, a soft terminal initiates a call as a called terminal. As shown in FIG. 4, the method for transmitting media stream data in the cloud computing system of this embodiment may include:
401、 TC获得配置的该 TC的支持的媒体流编解码信息;  401. The TC obtains the supported media stream codec information of the TC.
402、 TC通过远程桌面协议登录到 VM上进行注册, 以向 VM发送 TC 支持的媒体流编解码信息;  402. The TC registers with the VM through the remote desktop protocol to register, to send the media stream codec information supported by the TC to the VM.
403、 TC运行 VM上安装的软终端, 软终端调用编解码获取 API时, VM向软终端发送上述 TC支持的媒体流编解码信息;  403. The TC runs a soft terminal installed on the VM. When the soft terminal invokes the codec to obtain the API, the VM sends the media stream codec information supported by the TC to the soft terminal.
404、 主叫方触发媒体网关向软终端发送邀请( Invite )呼叫消息, 该 邀请呼叫消息中携带该媒体网关支持的媒体流编解码信息;  404. The calling party triggers the media gateway to send an invite (Invite) call message to the soft terminal, where the invite call message carries the media stream codec information supported by the media gateway.
405、 软终端根据获得的上述 TC 支持的媒体流编解码信息和上述媒 体网关支持的媒体流编解码信息, 利用取交集的选择方式, 选择本次呼叫 的媒体流编解码信息, 并向媒体网关发送应答( Reply ) 呼叫消息, 该应 答呼叫消息中携带本次呼叫的媒体流编解码信息;  405. The soft terminal selects the media stream codec information of the current call according to the obtained media stream codec information supported by the TC and the media stream codec information supported by the media gateway, and selects the media stream codec information of the current call, and sends the media stream codec information to the media gateway. Send a reply message, where the answer call message carries the media stream codec information of the current call;
至此, 软终端作为被叫终端接受呼叫的呼叫连接建立完成。  So far, the soft terminal as the called terminal accepts the call connection establishment.
406、 软终端调用编解码选定 API , VM向 TC发送上述本次呼叫的媒 体流编解码信息;  406. The soft terminal invokes the codec selection API, and the VM sends the media stream codec information of the current call to the TC.
407、 TC与媒体网关之间的媒体流数据在 VM与软终端之间透明传输。 详细描述可以参见图 1对应的实施例中的相关内容, 此处不再赘述。 需要说明的是: 如果媒体流数据为音频数据, TC对接收到的音频数 据进行解码处理之后, 经过驱动输出; 如果媒体流数据为视频数据, TC 对接收到的视频数据进行解码处理之后, 还进一步根据接收到的软终端发 送的视频控制信息, 将解码处理之后的视频图像边缘对应到软终端的视频 框中。  407. The media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal. For details, refer to related content in the embodiment corresponding to FIG. 1, and details are not described herein again. It should be noted that: if the media stream data is audio data, after the TC decodes the received audio data, the driver outputs the output; if the media stream data is video data, the TC decodes the received video data, and then Further, according to the received video control information sent by the soft terminal, the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
本实施例中, 软终端作为被叫终端接受呼叫的呼叫连接建立完成之 后, TC与媒体网关之间的媒体流数据虽然经过 VM, 但是 VM和软终端均 不需要对媒体流数据进行编解码处理, 使得媒体流数据在 VM 与软终端之 间进行透明传输, 从而减少了传输时延, 提高了语音 /视频质量。 此外, 由 于 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得 VM 中的 CPU占用率不会较高,能够使对应的物理服务器可运行的 VM的数量进一 步提高, 从而提高了物理服务器的资源利用率。 In this embodiment, after the soft terminal is used as the called terminal to complete the call connection establishment, the media stream data between the TC and the media gateway passes through the VM, but the VM and the soft terminal do not need to encode and decode the media stream data. , the media stream data is transparently transmitted between the VM and the soft terminal, thereby reducing the transmission delay and improving the voice/video quality. In addition, by The VM and the soft terminal do not need to encode and decode the media stream data, so that the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server is further increased, thereby improving the physical server. Resource utilization.
图 5为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图, 在图 3和图 4对应的实施例中, 在 307或者 407之后, 媒 体网关进一步发起编解码更新流程。 如图 5所示, 本实施例的云计算系统中 的媒体流数据的传输方法可以包括:  FIG. 5 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention. In the embodiment corresponding to FIG. 3 and FIG. 4, after 307 or 407, the media gateway further initiates codec decoding. Update process. As shown in FIG. 5, the method for transmitting media stream data in the cloud computing system of this embodiment may include:
501、 媒体网关向软终端发送编解码修改( Modify ) 消息, 该编解码 修改消息中携带更新之后的本次呼叫的媒体流编解码信息;  501, the media gateway sends a codec modification (Modify) message to the soft terminal, where the codec modification message carries the media stream codec information of the current call after the update;
502、 软终端向媒体网关发送编解码修改响应消息;  502. The soft terminal sends a codec modification response message to the media gateway.
503、 软终端调用编解码修改 API , VM向 TC发送上述更新之后的本 次呼叫的媒体流编解码信息;  503. The soft terminal invokes the codec modification API, and the VM sends the media stream codec information of the current call after the foregoing update to the TC.
504、 TC与媒体网关之间的媒体流数据在 VM与软终端之间透明传输。 详细描述可以参见图 1对应的实施例中的相关内容, 此处不再赘述。 需要说明的是: 如果媒体流数据为音频数据, TC对接收到的音频数 据进行解码处理之后, 经过驱动输出; 如果媒体流数据为视频数据, TC 对接收到的视频数据进行解码处理之后, 还进一步根据接收到的软终端发 送的视频控制信息, 将解码处理之后的视频图像边缘对应到软终端的视频 框中。  504. The media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal. For details, refer to related content in the embodiment corresponding to FIG. 1, and details are not described herein again. It should be noted that: if the media stream data is audio data, after the TC decodes the received audio data, the driver outputs the output; if the media stream data is video data, the TC decodes the received video data, and then Further, according to the received video control information sent by the soft terminal, the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
本实施例中, 软终端通过 VM将更新之后的本次呼叫的媒体流编解码 信息发送给 TC, 使得 TC和媒体网关能够利用更新之后的本次呼叫的媒 体流编解码信息, 对媒体流数据进行编解码处理, TC与媒体网关之间的媒 体流数据虽然经过 VM,但是 VM和软终端均不需要对媒体流数据进行编解 码处理, 使得媒体流数据在 VM与软终端之间进行透明传输, 从而减少了传 输时延, 提高了语音 /视频质量。 此外, 由于 VM和软终端均不需要对媒体 流数据进行编解码处理, 使得 VM中的 CPU 占用率不会较高, 能够使对 应的物理服务器可运行的 VM的数量进一步提高, 从而提高了物理服务器 的资源利用率。  In this embodiment, the soft terminal sends the media stream codec information of the current call after the update to the TC, so that the TC and the media gateway can use the media stream codec information of the current call after the update, and the media stream data. The codec process is performed. Although the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , thereby reducing transmission delay and improving voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
图 6为本发明另一实施例提供的云计算系统中的媒体流数据的传输方 法的流程示意图, 在图 3和图 4对应的实施例中, 在 307或者 407之后, 媒 体网关进一步发起编解码更新流程。 如图 6所示, 本实施例的云计算系统中 的媒体流数据的传输方法可以包括: FIG. 6 is a schematic flowchart of a method for transmitting media stream data in a cloud computing system according to another embodiment of the present invention. In the embodiment corresponding to FIG. 3 and FIG. 4, after 307 or 407, the medium The body gateway further initiates a codec update process. As shown in FIG. 6, the method for transmitting media stream data in the cloud computing system of this embodiment may include:
601、 软终端向媒体网关发送编解码修改( Modify ) 消息, 该编解码 修改消息中携带更新之后的本次呼叫的媒体流编解码信息;  601. The soft terminal sends a codec modification (Modify) message to the media gateway, where the codec modification message carries the media stream codec information of the current call after the update;
602、 媒体网关向软终端发送编解码修改响应消息;  602. The media gateway sends a codec modification response message to the soft terminal.
603、 软终端调用编解码修改 API , VM向 TC发送上述更新之后的本 次呼叫的媒体流编解码信息;  603. The soft terminal invokes the codec modification API, and the VM sends the media stream codec information of the current call after the foregoing update to the TC.
604、 TC与媒体网关之间的媒体流数据在 VM与软终端之间透明传输。 详细描述可以参见图 1对应的实施例中的相关内容, 此处不再赘述。 需要说明的是: 如果媒体流数据为音频数据, TC对接收到的音频数 据进行解码处理之后, 经过驱动输出; 如果媒体流数据为视频数据, TC 对接收到的视频数据进行解码处理之后, 还进一步根据接收到的软终端发 送的视频控制信息, 将解码处理之后的视频图像边缘对应到软终端的视频 框中。  604. The media stream data between the TC and the media gateway is transparently transmitted between the VM and the soft terminal. For details, refer to related content in the embodiment corresponding to FIG. 1, and details are not described herein again. It should be noted that: if the media stream data is audio data, after the TC decodes the received audio data, the driver outputs the output; if the media stream data is video data, the TC decodes the received video data, and then Further, according to the received video control information sent by the soft terminal, the edge of the video image after the decoding process is corresponding to the video frame of the soft terminal.
本实施例中, 软终端通过 VM将更新之后的本次呼叫的媒体流编解码 信息发送给 TC, 使得 TC和媒体网关能够利用更新之后的本次呼叫的媒 体流编解码信息, 对媒体流数据进行编解码处理, TC与媒体网关之间的媒 体流数据虽然经过 VM,但是 VM和软终端均不需要对媒体流数据进行编解 码处理, 使得媒体流数据在 VM与软终端之间进行透明传输, 从而减少了传 输时延, 提高了语音 /视频质量。 此外, 由于 VM和软终端均不需要对媒体 流数据进行编解码处理, 使得 VM中的 CPU 占用率不会较高, 能够使对 应的物理服务器可运行的 VM的数量进一步提高, 从而提高了物理服务器 的资源利用率。  In this embodiment, the soft terminal sends the media stream codec information of the current call after the update to the TC, so that the TC and the media gateway can use the media stream codec information of the current call after the update, and the media stream data. The codec process is performed. Although the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is transparently transmitted between the VM and the soft terminal. , thereby reducing transmission delay and improving voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
需要说明的是:本发明实施例中涉及的 VM向软终端发送任何信息(例 如: TC支持的媒体流编解码信息) , 具体可以是 VM 中的操作系统或应 用管理软件向软终端发送的, 本发明实施例对此并不加以限定, 只要可以 实现上述通信功能即可。  It should be noted that the VM involved in the embodiment of the present invention sends any information to the soft terminal (for example, the media stream codec information supported by the TC), and specifically, the operating system or application management software in the VM sends the information to the soft terminal. The embodiment of the present invention does not limit this, as long as the above communication function can be implemented.
需要说明的是: 对于前述的各方法实施例, 为了简单描述, 故将其都表 述为一系列的动作组合, 但是本领域技术人员应该知悉, 本发明并不受所描 述的动作顺序的限制, 因为依据本发明, 某些步骤可以采用其他顺序或者同 时进行。 其次, 本领域技术人员也应该知悉, 说明书中所描述的实施例均属 于优选实施例, 所涉及的动作和模块并不一定是本发明所必须的。 It should be noted that, for the foregoing method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the present invention is not limited by the described action sequence. Because in accordance with the present invention, certain steps may be in other orders or Time to proceed. In addition, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present invention.
在上述实施例中, 对各个实施例的描述都各有侧重, 某个实施例中没有 详述的部分, 可以参见其他实施例的相关描述。  In the above embodiments, the descriptions of the various embodiments are different, and the parts that are not detailed in a certain embodiment can be referred to the related descriptions of other embodiments.
图 7为本发明另一实施例提供的云计算系统中的物理服务器,物理服务 器上可运行多个 VM, TC可以登录到 VM上, 运行 VM上安装的软终端进行 通信业务, 例如: TC通过远程桌面协议登录到 VM上, 运行 VM上安装的软 终端。 如图 7所示, 本实施例的 VM可以包括注册单元 71、 发送单元 72 和传输单元 73。 其中, 注册单元 71 , 用于获得上述 TC支持的媒体流编 解码信息; 发送单元 72, 用于在上述软终端建立上述软终端与媒体网关 之间的呼叫连接的过程中,向上述 TC发送本次呼叫的媒体流编解码信息 , 上述本次呼叫的媒体流编解码信息由上述软终端根据从上述 VM获得的上 述 TC支持的媒体流编解码信息和从媒体网关获得的上述媒体网关支持的 体流编解码信息和通过上述软终端从上述 VM获得的上述 TC支持的媒体 流编解码信息选择; 传输单元 73, 用于将接收的上述 TC发送的第一媒体 流数据通过上述软终端传输给上述媒体网关, 上述第一媒体流数据由上述 TC 利用上述本次呼叫的媒体流编解码信息编码处理之后获得, 或者将通 过上述软终端接收的上述媒体网关发送的第二媒体流数据传输给上述 TC,上述第二媒体流数据由上述媒体网关利用上述本次呼叫的媒体流编解 码信息编码处理之后获得, 以使得上述 TC利用上述本次呼叫的媒体流编 解码信息对上述第二媒体流数据进行解码处理。  FIG. 7 is a physical server in a cloud computing system according to another embodiment of the present invention. A plurality of VMs can be run on a physical server. The TC can log in to the VM and run the soft terminal installed on the VM to perform communication services. For example, the TC passes. The Remote Desktop Protocol logs in to the VM and runs the soft terminal installed on the VM. As shown in FIG. 7, the VM of this embodiment may include a registration unit 71, a transmitting unit 72, and a transmission unit 73. The registration unit 71 is configured to obtain the media stream codec information supported by the TC, and the sending unit 72 is configured to send the message to the TC in the process of establishing the call connection between the soft terminal and the media gateway by the soft terminal. The media stream codec information of the secondary call, the media stream codec information of the current call is used by the soft terminal according to the media stream codec information supported by the TC obtained from the VM, and the media gateway supported by the media gateway. The stream coding and decoding information and the media stream codec information supported by the TC obtained by the foregoing soft terminal from the VM are selected; the transmission unit 73 is configured to transmit the received first media stream data sent by the TC to the foregoing by using the soft terminal. The media gateway, the first media stream data is obtained by the TC using the media stream codec information encoding process of the current call, or the second media stream data sent by the media gateway received by the soft terminal is transmitted to the TC. The second media stream data is used by the media gateway to use the media of the current call. After obtaining the information stream codec encoding process, so that the above-mentioned TC of the second media stream decoding the data stream using the above media codec information of the current call.
上述图 1、 图 3、 图 4、 图 5和图 6对应的实施例中 VM的功能均可 以由本实施例提供的云计算系统中的物理服务器上运行的 VM实现。  The functions of the VMs in the embodiments corresponding to the foregoing FIG. 1, FIG. 3, FIG. 4, FIG. 5 and FIG. 6 can be implemented by the VM running on the physical server in the cloud computing system provided by this embodiment.
例如: 对于上行媒体流数据来说, TC 可以利用获得的本次呼叫的媒 体流编解码信息对将要发送的媒体流数据进行编码处理之后获得第一媒 体流数据, 并发送给 VM。 其中, 上述 VM中还可以进一步包括第一 API , 上述第一 API用于向上述软终端提供上述第一媒体流数据。本实施例中的 传输单元 73具体可以用于当上述软终端调用上述第一 API时, 向上述软 终端发送上述第一媒体流数据, 以使得上述软终端向上述媒体网关发送上 述第一媒体流数据。 For example, for the uplink media stream data, the TC may use the obtained media stream codec information of the current call to encode the media stream data to be sent, and then obtain the first media stream data, and send the data to the VM. The VM may further include a first API, where the first API is configured to provide the first media stream data to the soft terminal. The transmitting unit 73 in this embodiment may be specifically configured to: when the soft terminal invokes the first API, send the first media stream data to the soft terminal, so that the soft terminal sends the information to the media gateway. The first media stream data is described.
例如: 对于下行媒体流数据来说, 媒体网关可以利用本次呼叫的媒体 流编解码信息对将要发送的媒体流数据进行编码处理之后获得第二媒体 流数据, 并发送给软终端。 其中, 上述 VM中还可以进一步包括第二 API , 上述第二 API用于向上述 TC提供上述第二媒体流数据。 本实施例中的传 输单元 73具体可以用于当上述软终端调用上述第二 API 时, 向上述 TC 发送上述第二媒体流数据。  For example, for the downlink media stream data, the media gateway may use the media stream codec information of the current call to encode the media stream data to be sent, and then obtain the second media stream data, and send the data to the soft terminal. The VM may further include a second API, where the second API is configured to provide the second media stream data to the TC. The transmitting unit 73 in this embodiment may be specifically configured to: when the soft terminal invokes the second API, send the second media stream data to the TC.
可选地, 上述 VM中可以包括第三 API , 上述第三 API用于向上述软 终端提供上述 TC支持的媒体流编解码信息。 例如: 本实施例中的发送单 元 72还可以进一步用于当上述软终端调用上述第三 API时, 向上述软终 端发送上述 TC支持的媒体流编解码信息,以使得上述软终端根据上述 TC 支持的媒体流编解码信息和从媒体网关获得的上述媒体网关支持的媒体 流编解码信息选择上述本次呼叫的媒体流编解码信息, 或者向上述媒体网 关发送上述 TC支持的媒体流编解码信息。  Optionally, the VM may include a third API, where the third API is used to provide the foregoing TC-supported media stream codec information to the soft terminal. For example, the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the third API, send the media stream codec information supported by the TC to the soft terminal, so that the soft terminal supports according to the TC. The media stream codec information and the media stream codec information supported by the media gateway obtained from the media gateway select the media stream codec information of the current call, or send the media stream codec information supported by the TC to the media gateway.
可选地,上述 VM中可以包括第四 API ,上述第四 API用于向上述 TC 提供上述本次呼叫的媒体流编解码信息。例如: 本实施例中的发送单元 72 具体可以用于当上述软终端调用上述第四 API时, 向上述 TC发送上述本 次呼叫的媒体流编解码信息。  Optionally, the VM may include a fourth API, where the fourth API is used to provide the foregoing TC with the media stream codec information of the current call. For example, the sending unit 72 in this embodiment may be specifically configured to: when the soft terminal invokes the fourth API, send the media stream codec information of the current call to the TC.
可选地,上述 VM中可以包括第五 API ,上述第五 API用于向上述 TC 提供更新之后的上述本次呼叫的媒体流编解码信息。 例如: 本实施例中的 发送单元 72还可以进一步用于当上述软终端调用上述第五 API时, 向上 述 TC发送更新之后的上述本次呼叫的媒体流编解码信息。  Optionally, the VM may include a fifth API, where the fifth API is used to provide the TC with the media stream codec information of the current call after the update. For example, the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the fifth API, send the media stream codec information of the current call after the TC sends the update.
可选地,上述 VM中可以包括第六 API ,上述第六 API用于向上述 TC 提供呼叫控制操作对应的呼叫控制信息, 上述呼叫控制操作由使用上述 TC 的用户通过上述 TC在上述软终端上触发。 例如: 本实施例中的发送 单元 72还可以进一步用于当上述软终端调用上述第六 API时,向上述 TC 发送上述呼叫控制信息, 以使得上述 TC根据上述呼叫控制信息, 对本次 呼叫进行控制。  Optionally, the foregoing VM may include a sixth API, where the sixth API is used to provide call control information corresponding to the call control operation to the TC, where the call control operation is performed by the user using the TC on the soft terminal by using the TC. trigger. For example, the sending unit 72 in this embodiment may be further configured to: when the soft terminal invokes the sixth API, send the call control information to the TC, so that the TC performs the current call according to the call control information. control.
本实施例中, TC与媒体网关之间的媒体流数据虽然经过 VM, 但是 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得媒体流数据在 VM 与软终端之间进行透明传输,从而减少了传输时延,提高了语音 /视频质量。 此外, 由于 VM 和软终端均不需要对媒体流数据进行编解码处理, 使得 VM中的 CPU占用率不会较高,能够使对应的物理服务器可运行的 VM的 数量进一步提高, 从而提高了物理服务器的资源利用率。 In this embodiment, although the media stream data between the TC and the media gateway passes through the VM, the VM and the soft terminal do not need to encode and decode the media stream data, so that the media stream data is in the VM. Transparent transmission with soft terminals reduces transmission delay and improves voice/video quality. In addition, since both the VM and the soft terminal do not need to encode and decode the media stream data, the CPU usage in the VM is not high, and the number of VMs that can be operated by the corresponding physical server can be further increased, thereby improving the physics. Server resource utilization.
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述描 述的系统, 设备和单元的具体工作过程, 可以参考前述方法实施例中的对应 过程, 在此不再赘述。  A person skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can be referred to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 设备和 方法, 可以通过其它的方式实现。 例如, 以上所描述的设备实施例仅仅是示 意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实现时可 以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成到另一个 系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论的相互之间 的耦合或直接耦合或通信连接可以是通过一些接口, 设备或单元的间接耦合 或通信连接, 可以是电性, 机械或其它的形式。  In the several embodiments provided herein, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored, or not executed. Alternatively, the coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的, 作 为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的部分或 者全部单元来实现本实施例方案的目的。  The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the objectives of the solution of the embodiment.
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在一个单 元中。 上述集成的单元既可以采用硬件的形式实现, 也可以采用硬件加软件 功能单元的形式实现。  In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of hardware plus software functional units.
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算机 可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若干指 令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络设备等) 执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质包括: U盘、 移动硬盘、 只读存储器(Read-Only Memory, 简称 ROM ) 、 随机存取存储 器( Random Access Memory, 简称 RAM )、 磁碟或者光盘等各种可以存储 程序代码的介质。  The above-described integrated unit implemented in the form of a software functional unit can be stored in a computer readable storage medium. The above software functional units are stored in a storage medium and include a number of instructions for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform some of the steps of the methods described in various embodiments of the present invention. The foregoing storage medium includes: a USB flash drive, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk, and the like, which can store program codes. Medium.
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。 Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention, and not The invention is described in detail with reference to the foregoing embodiments, and those skilled in the art should understand that the technical solutions described in the foregoing embodiments may be modified, or some of the technical features may be equivalently replaced. These modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

权 利 要 求 书 Claim
1、 一种云计算系统中的媒体流数据的传输方法, 其特征在于, 所述 云计算系统包括物理服务器, 该物理服务器上运行至少一个虚拟机 VM , 瘦终端 TC登录到所述 VM , 所述 TC运行所述 VM上安装的软终端, 所 述方法包括:  A method for transmitting media stream data in a cloud computing system, wherein the cloud computing system comprises a physical server, wherein the physical server runs at least one virtual machine VM, and the thin terminal TC logs in to the VM. The TC runs the soft terminal installed on the VM, and the method includes:
所述 VM获得所述 TC支持的媒体流编解码信息;  The VM obtains media stream codec information supported by the TC;
在所述软终端建立所述软终端与媒体网关之间的呼叫连接的过程中, 所述 VM向所述 TC发送本次呼叫的媒体流编解码信息;  In the process of establishing a call connection between the soft terminal and the media gateway, the VM sends the media stream codec information of the current call to the TC;
所述 VM将接收的所述 TC发送的第一媒体流数据通过所述软终端传 输给所述媒体网关, 所述第一媒体流数据由所述 TC利用所述本次呼叫的 媒体流编解码信息编码处理之后获得, 或者将通过所述软终端接收的所述 媒体网关发送的第二媒体流数据传输给所述 TC, 所述第二媒体流数据由 所述媒体网关利用所述本次呼叫的媒体流编解码信息编码处理之后获得, 以使得所述 TC利用所述本次呼叫的媒体流编解码信息对所述第二媒体流 数据进行解码处理。  The VM transmits the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is encoded and decoded by the TC by using the media stream of the current call. Obtaining, or transmitting, by the information encoding process, the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is used by the media gateway to use the current call The media stream codec information encoding process is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
2、 根据权利要求 1 所述的方法, 其特征在于, 所述本次呼叫的媒体 流编解码信息由所述软终端根据从所述 VM获得的所述 TC支持的媒体流 编解码信息和从媒体网关获得的所述媒体网关支持的媒体流编解码信息 通过所述软终端从所述 VM获得的所述 TC支持的媒体流编解码信息选择 2. The method according to claim 1, wherein the media stream codec information of the current call is coded and decoded by the soft terminal according to the media stream supported by the TC obtained from the VM. The media stream codec information supported by the media gateway obtained by the media gateway is selected by the TC-supported media stream codec information obtained by the soft terminal from the VM
3、 根据权利要求 1或 2所述的方法, 其特征在于, 所述 VM中包括 第一 API , 所述第一 API用于向所述软终端提供所述第一媒体流数据; 所 述 VM将接收的所述 TC发送的第一媒体流数据通过所述软终端传输给所 述媒体网关, 包括: The method according to claim 1 or 2, wherein the VM includes a first API, and the first API is configured to provide the first media stream data to the soft terminal; Transmitting the received first media stream data sent by the TC to the media gateway by using the soft terminal, including:
当所述软终端调用所述第一 API时, 所述 VM向所述软终端发送所述 第一媒体流数据, 以使得所述软终端向所述媒体网关发送所述第一媒体流 数据。  When the soft terminal invokes the first API, the VM sends the first media stream data to the soft terminal, so that the soft terminal sends the first media stream data to the media gateway.
4、 根据权利要求 1或 2所述的方法, 其特征在于, 所述 VM中包括 第二 API , 所述第二 API用于向所述 TC提供所述第二媒体流数据; 所述 VM将通过所述软终端接收的所述媒体网关发送的第二媒体流数据传输给 所述 TC, 包括: The method according to claim 1 or 2, wherein the VM includes a second API, and the second API is configured to provide the second media stream data to the TC; Transmitting, by the media terminal, the second media stream data sent by the media gateway to The TC includes:
当所述软终端调用所述第二 API时, 所述 VM向所述 TC发送所述第 二媒体流数据。  When the soft terminal invokes the second API, the VM sends the second media stream data to the TC.
5、 根据权利要求 1 ~4任一权利要求所述的方法, 其特征在于, 所述 VM中包括第三 API , 所述第三 API用于向所述软终端提供所述 TC支持 的媒体流编解码信息; 在所述软终端建立所述软终端与媒体网关之间的呼 叫连接的过程之前, 所述方法还包括:  The method according to any one of claims 1 to 4, wherein the VM includes a third API, and the third API is configured to provide the TC-supported media stream to the soft terminal. The method further includes: before the process of establishing a call connection between the soft terminal and the media gateway by the soft terminal, the method further includes:
当所述软终端调用所述第三 API时, 所述 VM向所述软终端发送所述 TC支持的媒体流编解码信息;  When the soft terminal invokes the third API, the VM sends the media stream codec information supported by the TC to the soft terminal;
所述软终端根据所述 TC支持的媒体流编解码信息和从媒体网关获得 的所述媒体网关支持的媒体流编解码信息选择所述本次呼叫的媒体流编 解码信息, 或者向所述媒体网关发送所述 TC支持的媒体流编解码信息。  The soft terminal selects the media stream codec information of the current call according to the media stream codec information supported by the TC and the media stream codec information supported by the media gateway obtained by the media gateway, or sends the media stream codec information to the media The gateway sends the media stream codec information supported by the TC.
6、 根据权利要求 1 ~5任一权利要求所述的方法, 其特征在于, 所述 VM中包括第四 API , 所述第四 API用于向所述 TC提供所述本次呼叫的 媒体流编解码信息; 所述 VM向所述 TC发送本次呼叫的媒体流编解码信 息, 包括:  The method according to any one of claims 1 to 5, wherein the VM includes a fourth API, and the fourth API is configured to provide the TC with the media stream of the current call. Codec information; the VM sends the media stream codec information of the current call to the TC, including:
当所述软终端调用所述第四 API时, 所述 VM向所述 TC发送所述本 次呼叫的媒体流编解码信息。  When the soft terminal invokes the fourth API, the VM sends the media stream codec information of the current call to the TC.
7、 根据权利要求 1 ~6任一权利要求所述的方法, 其特征在于, 所述 VM中包括第五 API , 所述第五 API用于向所述 TC提供更新之后的所述 本次呼叫的媒体流编解码信息; 在所述软终端建立所述软终端与媒体网关 之间的呼叫连接的过程之中或者之后, 所述方法还包括:  The method according to any one of claims 1 to 6, wherein the VM includes a fifth API, and the fifth API is used to provide the TC with the current call after the update. The media stream codec information; during or after the soft terminal establishes a call connection between the soft terminal and the media gateway, the method further includes:
当所述软终端调用所述第五 API时, 所述 VM向所述 TC发送更新之 后的所述本次呼叫的媒体流编解码信息。  When the soft terminal invokes the fifth API, the VM sends the updated media stream codec information of the current call to the TC.
8、 根据权利要求 1 ~7任一权利要求所述的方法, 其特征在于, 所述 8. The method according to any one of claims 1 to 7, wherein
VM中包括第六 API , 所述第六 API用于向所述 TC提供呼叫控制操作对 应的呼叫控制信息,所述呼叫控制操作由使用所述 TC的用户通过所述 TC 在所述软终端上触发; 在所述软终端建立所述软终端与媒体网关之间的呼 叫连接的过程之前或者之中, 所述方法还包括: The VM includes a sixth API, where the sixth API is configured to provide call control information corresponding to the call control operation to the TC, where the call control operation is performed by the user using the TC on the soft terminal by using the TC. Before or during the process of establishing a call connection between the soft terminal and the media gateway, the method further includes:
当所述软终端调用所述第六 API时, 所述 VM向所述 TC发送所述呼 叫控制信息, 以使得所述 TC根据所述呼叫控制信息, 对本次呼叫进行控 制。 When the soft terminal invokes the sixth API, the VM sends the call to the TC The control information is called to enable the TC to control the current call according to the call control information.
9、 根据权利要求 1 ~8任一权利要求所述的方法, 其特征在于, 所述 方法还包括:  The method according to any one of claims 1 to 8, wherein the method further comprises:
所述软终端将所述 TC发送的第一媒体流数据保存在所述 VM上, 或 者将所述媒体网关发送的第二媒体流数据保存在所述 VM上。  The soft terminal saves the first media stream data sent by the TC on the VM, or saves the second media stream data sent by the media gateway on the VM.
10、 一种云计算系统中的物理服务器, 其特征在于, 所述物理服务器 上运行至少一个虚拟机 VM , 瘦终端 TC登录到所述 VM , 所述 TC运行所 述 VM上安装的软终端, 所述 VM包括:  A physical server in a cloud computing system, wherein the physical server runs at least one virtual machine VM, the thin terminal TC logs in to the VM, and the TC runs a soft terminal installed on the VM. The VM includes:
注册单元, 用于获得所述 TC支持的媒体流编解码信息;  a registration unit, configured to obtain media stream codec information supported by the TC;
发送单元, 用于在所述软终端建立所述软终端与媒体网关之间的呼叫 连接的过程中, 向所述 TC发送本次呼叫的媒体流编解码信息;  a sending unit, configured to send media stream codec information of the current call to the TC during a process of establishing a call connection between the soft terminal and the media gateway by the soft terminal;
传输单元, 用于将接收的所述 TC发送的第一媒体流数据通过所述软 终端传输给所述媒体网关, 所述第一媒体流数据由所述 TC利用所述本次 呼叫的媒体流编解码信息编码处理之后获得, 或者将通过所述软终端接收 的所述媒体网关发送的第二媒体流数据传输给所述 TC, 所述第二媒体流 数据由所述媒体网关利用所述本次呼叫的媒体流编解码信息编码处理之 后获得, 以使得所述 TC利用所述本次呼叫的媒体流编解码信息对所述第 二媒体流数据进行解码处理。  a transmitting unit, configured to transmit the received first media stream data sent by the TC to the media gateway by using the soft terminal, where the first media stream data is used by the TC to use the media stream of the current call Obtaining, after the codec information encoding process, or transmitting the second media stream data sent by the media gateway received by the soft terminal to the TC, where the second media stream data is used by the media gateway The media stream codec information encoding process of the secondary call is obtained, so that the TC performs decoding processing on the second media stream data by using the media stream codec information of the current call.
1 1、 根据权利要求 10所述的物理服务器, 其特征在于, 所述发送单 元向所述 TC发送的所述本次呼叫的媒体流编解码信息由所述软终端根据 从所述 VM获得的所述 TC支持的媒体流编解码信息和从媒体网关获得的 所述媒体网关支持的媒体流编解码信息选择, 或者由所述媒体网关根据所 述媒体网关支持的媒体流编解码信息和通过所述软终端从所述 VM获得的 所述 TC支持的媒体流编解码信息选择。  The physical server according to claim 10, wherein the media stream codec information of the current call sent by the sending unit to the TC is obtained by the soft terminal according to the obtained from the VM. Media stream codec information supported by the TC and media stream codec information supported by the media gateway obtained from the media gateway, or encoded and decoded by the media gateway according to the media stream supported by the media gateway The media stream codec information supported by the TC obtained by the soft terminal from the VM is selected.
12、 根据权利要求 10或 1 1 所述的物理服务器, 其特征在于, 所述 VM中包括第一 API , 所述第一 API用于向所述软终端提供所述第一媒体 流数据; 所述传输单元具体用于  The physical server according to claim 10 or 11, wherein the VM includes a first API, and the first API is configured to provide the first media stream data to the soft terminal; The transmission unit is specifically used for
当所述软终端调用所述第一 API时, 向所述软终端发送所述第一媒体 流数据, 以使得所述软终端向所述媒体网关发送所述第一媒体流数据。 And when the soft terminal invokes the first API, sending the first media stream data to the soft terminal, so that the soft terminal sends the first media stream data to the media gateway.
13、 根据权利要求 10或 1 1 所述的物理服务器, 其特征在于, 所述 VM中包括第二 API , 所述第二 API用于向所述 TC提供所述第二媒体流 数据; 所述传输单元具体用于 The physical server according to claim 10 or 11, wherein the VM includes a second API, and the second API is configured to provide the second media stream data to the TC; The transmission unit is specifically used for
当所述软终端调用所述第二 API时, 向所述 TC发送所述第二媒体流 数据。  And when the soft terminal invokes the second API, sending the second media stream data to the TC.
14、 根据权利要求 10~13任一权利要求所述的物理服务器, 其特征 在于, 所述 VM中包括第三 API , 所述第三 API用于向所述软终端提供所 述 TC支持的媒体流编解码信息; 所述发送单元还用于  The physical server according to any one of claims 10 to 13, wherein the VM includes a third API, and the third API is configured to provide the TC-supported media to the soft terminal. Stream coding and decoding information; the sending unit is further used for
当所述软终端调用所述第三 API时, 向所述软终端发送所述 TC支持 的媒体流编解码信息, 以使得所述软终端根据所述 TC支持的媒体流编解 码信息和从媒体网关获得的所述媒体网关支持的媒体流编解码信息选择 所述本次呼叫的媒体流编解码信息, 或者向所述媒体网关发送所述 TC支 持的媒体流编解码信息。  Transmitting, by the soft terminal, the media stream codec information supported by the TC to the soft terminal, so that the soft terminal encodes and decodes the information and the slave media according to the media stream supported by the TC. The media stream codec information supported by the media gateway obtained by the gateway selects the media stream codec information of the current call, or sends the media stream codec information supported by the TC to the media gateway.
15、 根据权利要求 10~14任一权利要求所述的物理服务器, 其特征 在于, 所述 VM中包括第四 API , 所述第四 API用于向所述 TC提供所述 本次呼叫的媒体流编解码信息; 所述发送单元具体用于  The physical server according to any one of claims 10 to 14, wherein the VM includes a fourth API, and the fourth API is used to provide the media of the current call to the TC. Stream codec information; the sending unit is specifically configured to
当所述软终端调用所述第四 API时, 向所述 TC发送所述本次呼叫的 媒体流编解码信息。  When the soft terminal invokes the fourth API, the media stream codec information of the current call is sent to the TC.
16、 根据权利要求 10~15任一权利要求所述的物理服务器, 其特征 在于, 所述 VM中包括第五 API , 所述第五 API用于向所述 TC提供更新 之后的所述本次呼叫的媒体流编解码信息; 所述发送单元还用于  The physical server according to any one of claims 10 to 15, wherein the VM includes a fifth API, and the fifth API is used to provide the current after the update to the TC. Media stream codec information of the call; the sending unit is also used to
当所述软终端调用所述第五 API时, 向所述 TC发送更新之后的所述 本次呼叫的媒体流编解码信息。  And when the soft terminal invokes the fifth API, sending, to the TC, the media stream codec information of the current call after the update.
17、 根据权利要求 10~16任一权利要求所述的物理服务器, 其特征 在于, 所述 VM中包括第六 API , 所述第六 API用于向所述 TC提供呼叫 控制操作对应的呼叫控制信息, 所述呼叫控制操作由使用所述 TC的用户 通过所述 TC在所述软终端上触发; 所述发送单元还用于  The physical server according to any one of claims 10 to 16, wherein the VM includes a sixth API, and the sixth API is configured to provide call control corresponding to the call control operation to the TC. Information, the call control operation is triggered by the user using the TC on the soft terminal by using the TC; the sending unit is further used for
当所述软终端调用所述第六 API时, 向所述 TC发送所述呼叫控制信 息, 以使得所述 TC根据所述呼叫控制信息, 对本次呼叫进行控制。  And when the soft terminal invokes the sixth API, sending the call control information to the TC, so that the TC controls the current call according to the call control information.
PCT/CN2011/084547 2011-12-23 2011-12-23 Media stream data transmission method in cloud computing system and physical server WO2013091243A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201180003130.5A CN103503410B (en) 2011-12-23 2011-12-23 The transmission method of the media stream data in cloud computing system and physical server
PCT/CN2011/084547 WO2013091243A1 (en) 2011-12-23 2011-12-23 Media stream data transmission method in cloud computing system and physical server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/084547 WO2013091243A1 (en) 2011-12-23 2011-12-23 Media stream data transmission method in cloud computing system and physical server

Publications (1)

Publication Number Publication Date
WO2013091243A1 true WO2013091243A1 (en) 2013-06-27

Family

ID=48667688

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/084547 WO2013091243A1 (en) 2011-12-23 2011-12-23 Media stream data transmission method in cloud computing system and physical server

Country Status (2)

Country Link
CN (1) CN103503410B (en)
WO (1) WO2013091243A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105262990A (en) * 2015-10-10 2016-01-20 浪潮电子信息产业股份有限公司 Kindergarten video real-time monitoring system based on cloud calculates

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101056466A (en) * 2007-02-12 2007-10-17 华为技术有限公司 A method and device for adjusting the voice encoding and decoding mode in the call process
CN101232546A (en) * 2007-12-29 2008-07-30 华为技术有限公司 Method for establishing load, network element equipment and network system
CN101562667A (en) * 2009-05-19 2009-10-21 中兴通讯股份有限公司 Coding/decoding conversion control method, media gateway and system under soft switch architecture
CN101167374B (en) * 2006-04-18 2011-02-09 华为技术有限公司 Method, system and device for negotiating voice coding/decoding in communication system
US20110093567A1 (en) * 2009-10-15 2011-04-21 Electronics And Telecommunications Research Institute Mobile terminal for providing mobile cloud service and operation method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101167374B (en) * 2006-04-18 2011-02-09 华为技术有限公司 Method, system and device for negotiating voice coding/decoding in communication system
CN101056466A (en) * 2007-02-12 2007-10-17 华为技术有限公司 A method and device for adjusting the voice encoding and decoding mode in the call process
CN101232546A (en) * 2007-12-29 2008-07-30 华为技术有限公司 Method for establishing load, network element equipment and network system
CN101562667A (en) * 2009-05-19 2009-10-21 中兴通讯股份有限公司 Coding/decoding conversion control method, media gateway and system under soft switch architecture
US20110093567A1 (en) * 2009-10-15 2011-04-21 Electronics And Telecommunications Research Institute Mobile terminal for providing mobile cloud service and operation method thereof

Also Published As

Publication number Publication date
CN103503410A (en) 2014-01-08
CN103503410B (en) 2016-10-12

Similar Documents

Publication Publication Date Title
EP2712146B1 (en) Method and device for transmitting media stream data in cloud computing system
CN101313525B (en) Infrastructure for enabling high quality real-time audio
US9602553B2 (en) Method, apparatus, and system for implementing VOIP call in cloud computing environment
KR101479393B1 (en) Codec deployment using in-band signals
JP5528811B2 (en) Receiver operation and implementation for efficient media handling
US20180176266A1 (en) Network core facilitating terminal interoperation
WO2014054325A1 (en) Encoding control device and encoding control method
EP3497949A1 (en) Network-terminal interoperation using compatible payloads
WO2021073155A1 (en) Video conference method, apparatus and device, and storage medium
AU2013262210B2 (en) Transmission method for media data stream and thin client
US20070115949A1 (en) Infrastructure for enabling high quality real-time audio
CN113301025B (en) IMS audio and video transcoding and transmission control system and implementation method
WO2014005488A1 (en) Video data flow transmission method, terminal and system
WO2021017807A1 (en) Call connection establishment method, first terminal, server, and storage medium
CN107689945B (en) Media conversion equipment control method and device and media gateway
WO2018076376A1 (en) Voice data transmission method, user device, and storage medium
WO2013091243A1 (en) Media stream data transmission method in cloud computing system and physical server
TW201424299A (en) Sound information transmission method and packet communication system
Karaagac et al. Viot: voice over internet of things
JP2006510318A (en) Changing the operating mode of the wireless communication device using the voice service option
WO2011012009A1 (en) Method, device and system for error control in wireless video communication system
WO2023124506A1 (en) Network switching processing method and apparatus, and computer-readable medium and electronic device
EP3652738B1 (en) Early transmission in packetized speech
CN117041232A (en) Voice call realization method, device, equipment, system and storage medium
WO2015123941A1 (en) Method for processing volte voice service, terminal and routing device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 11878218

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 11878218

Country of ref document: EP

Kind code of ref document: A1