WO2013078614A1 - 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统 - Google Patents

一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统 Download PDF

Info

Publication number
WO2013078614A1
WO2013078614A1 PCT/CN2011/083143 CN2011083143W WO2013078614A1 WO 2013078614 A1 WO2013078614 A1 WO 2013078614A1 CN 2011083143 W CN2011083143 W CN 2011083143W WO 2013078614 A1 WO2013078614 A1 WO 2013078614A1
Authority
WO
WIPO (PCT)
Prior art keywords
algorithm
compression algorithm
audio
audio compression
name
Prior art date
Application number
PCT/CN2011/083143
Other languages
English (en)
French (fr)
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 PCT/CN2011/083143 priority Critical patent/WO2013078614A1/zh
Priority to CN201180002603XA priority patent/CN103348655A/zh
Publication of WO2013078614A1 publication Critical patent/WO2013078614A1/zh

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/60Network streaming of media packets
    • H04L65/75Media network packet handling
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L19/00Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis
    • G10L19/04Speech or audio signals analysis-synthesis techniques for redundancy reduction, e.g. in vocoders; Coding or decoding of speech or audio signals, using source filter models or psychoacoustic analysis using predictive techniques
    • G10L19/16Vocoder architecture
    • G10L19/18Vocoders using multiple modes

Definitions

  • Audio compression algorithm selection method selection method, device and communication system in virtual desktop scene
  • the embodiments of the present invention relate to the field of communications technologies, and in particular, to a method, a device, and a communication system for selecting an audio compression algorithm in a virtual desktop architecture scenario.
  • Background technique
  • Remote desktop is a popular technology in the current corporate office environment. It is often used to transfer the content displayed on one computer screen to another. Most remote desktop systems today rely on IP networks to deliver remote desktops. Remote Desktop does not only refer to remote screen displays, but also includes technologies for remote sound transfer, pluggable hardware mapping, and more. Remote Desktop is also known as Virtual Desktop Infrastructure (VDI).
  • VDI Virtual Desktop Infrastructure
  • audio compression algorithms which can be divided into two categories.
  • One type is high sound quality after compression but takes up high resources and long compression time. It is suitable for scenes with high sound quality and low latency requirements, such as using vorbis compression algorithm.
  • the other type is the poor sound quality after compression, but the compression time is short, the resource occupation is small, and it is suitable for scenes with high delay requirements and low sound quality requirements. For example, use the speex compression algorithm.
  • audio transmission in a VDI scenario is usually obtained by a server to obtain an audio format and an audio data stream, directly compressed by a default and fixed audio compression algorithm, and the compressed data stream is sent to the client.
  • This approach can result in poorer sound quality for users who use the speex compression algorithm when they want to experience high-quality sound, or poor delay when users who use the vorbis compression algorithm want to experience high latency.
  • This approach is less flexible, the user body The test is reduced. Summary of the invention
  • the embodiment of the invention provides a method and a device for dynamically selecting an audio compression algorithm in a virtual desktop architecture scenario, which solves the problem that the server can only use a fixed audio compression algorithm in the prior art, and the target user cannot be satisfactorily satisfied.
  • the embodiment of the invention provides a method for dynamically selecting an audio compression algorithm in a virtual desktop infrastructure scenario, including:
  • the server configuration algorithm selects parameter information and a mapping list corresponding to the name of the audio compression algorithm; acquires algorithm selection parameter information, and selects an audio compression algorithm according to the parameter information and the mapping list;
  • the embodiment of the invention further provides a server, including:
  • a configuration unit configured to configure algorithm selection parameter information and a mapping list corresponding to the name of the audio compression algorithm
  • An obtaining unit configured to acquire algorithm selection parameter information
  • a selecting unit configured to select an audio compression algorithm according to the parameter information and the mapping list
  • a sending unit configured to send the audio compression algorithm name to the client, so that the client selects a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation.
  • An embodiment of the present invention further provides a system for selecting an audio compression algorithm, including: a server, configured to acquire algorithm selection parameter information, according to the parameter information and the configured parameter a mapping list corresponding to the name of the audio compression algorithm, selecting an audio compression algorithm for compression, and transmitting the algorithm name to the client, so that the client selects a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation;
  • the client is configured to receive an audio compression algorithm sent by the server, and select a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation.
  • the server can dynamically select an audio compression algorithm and send the name of the audio compression algorithm to the client.
  • the server uses a fixed audio compression algorithm for compression, which causes a problem that cannot meet the user experience in a targeted manner. Increased server flexibility in processing audio applications and improved user experience.
  • Embodiment 1 is a flowchart of a method according to Embodiment 1 of the present invention.
  • Embodiment 3 is a flowchart of a method according to Embodiment 3 of the present invention.
  • FIG. 4 is a structural diagram of a server according to Embodiment 4 of the present invention.
  • FIG. 5 is a structural diagram of a system according to Embodiment 5 of the present invention. detailed description
  • Embodiment 1 of the present invention is a diagrammatic representation of Embodiment 1 of the present invention.
  • FIG. 1 is a flowchart of a method for dynamically selecting an audio compression algorithm in a VDI scenario according to the present invention. As shown in FIG. 1, the method may include:
  • a server mapping algorithm selects parameter information and a mapping list corresponding to the name of the audio compression algorithm
  • the algorithm selection parameter information indicates a process name, or an audio format, or a process name and an audio format.
  • the server searches for a mapping list. If the parameter information is a process name or an audio format, and the mapping list includes the process name or the audio format, the process name or the audio format corresponding to the audio compression algorithm name on the mapping list is obtained.
  • the mapping list is searched according to the process name, and the name of the audio compression algorithm corresponding to the process name on the mapping list is obtained; Include the process name, and then look up the image according to the audio format Shooting the list, obtaining the audio compression algorithm name corresponding to the audio format on the mapping list.
  • the client first receives the selected audio compression algorithm name, and selects a decompression algorithm corresponding to the audio compression algorithm to decompress the audio data according to the compressed audio data received later. operating.
  • the information sent to the client may not be limited to the audio compression algorithm name, or may be an audio compression algorithm information such as an algorithm index or an algorithm number.
  • the server can dynamically select an audio compression algorithm for audio compression and send the audio compression algorithm name to the client.
  • the server uses a fixed audio compression algorithm for compression, which causes a problem that cannot be targeted to satisfy the user experience. Improves the flexibility of the server to handle audio applications and improves the user experience.
  • Embodiment 2 of the present invention :
  • the process of dynamically selecting an audio compression algorithm by the server according to the process name and the audio format is as follows:
  • the server configuration algorithm selects parameter information and a mapping list corresponding to the name of the audio compression algorithm
  • the algorithm selection parameter information may be an application process name or an audio format information.
  • the process name or audio format is the corresponding relationship with the audio compression algorithm.
  • the server sends the stored application list to the client.
  • the client selects an application, and sends an application request message to the server; wherein the application must satisfy a condition for performing an audio-related operation.
  • S204 The server obtains a process name and audio format information.
  • the server After receiving the request message, the server starts the application selected by the client and obtains the process name information and audio format information of the selected application.
  • the parameter information can determine whether the application is of a type with high sound quality requirements, low delay requirements, or low sound quality requirements and high delay requirements. For example, if the process name of the application is skype.exe, the application is considered to have low sound quality requirements but high latency requirements. If the application process name is mp3player.exe, then the application is considered to have high sound quality requirements and low latency requirements.
  • the server selects an audio compression algorithm according to the selected application process name and audio format information.
  • the priority of the process name is higher than the priority of the audio format, and the server first selects the audio compression algorithm according to the application process name.
  • the default fixed compression algorithm is pre-configured by the server.
  • the server selects the audio compression algorithm, send the compression algorithm name to the client.
  • the server sends the name of the compression algorithm to the client, so that the client prepares to decompress using the decompression algorithm corresponding to the compression algorithm.
  • the server selects the compression algorithm to compress the audio data, and sends the compressed audio data to the client.
  • the client decompresses and plays the compressed audio data stream.
  • the client After receiving the compression algorithm name sent in step S206 and the compressed audio data sent in step S207, the client selects a decompression algorithm corresponding to the compression algorithm, decompresses the compressed audio data, and performs audio decoding after the decompression is completed. Play.
  • the method for dynamically selecting an audio compression algorithm searches for a mapping list according to a process name and an audio format of the selected application and selects an audio compression algorithm. It solves the problem of not being able to dynamically select an audio compression algorithm, improves the flexibility of the server to handle audio applications, and improves the user experience.
  • Embodiment 3 of the present invention is a diagrammatic representation of Embodiment 3 of the present invention.
  • the process of the server dynamically selecting the audio compression algorithm according to the audio format is as follows:
  • S301-S303 are the same as steps S201-S203;
  • the server obtains audio format information.
  • the server After the server receives the request message, it starts the application selected by the client and obtains the audio format information of the selected application.
  • the server can also obtain the process name information of the application, and send the parameter to the compression algorithm selection module. For both the process name and the audio format, the server only needs to obtain one of them. S305.
  • the server selects the parameter information and the mapping list according to the algorithm, and selects an audio compression algorithm.
  • the server searches for a corresponding audio compression algorithm according to the audio format, and the audio format and the audio compression algorithm are in the mapping list, and the mapping relationship is if the mapping list is found in the mapping list. If the audio format is not available, the default fixed audio compression algorithm is selected. Among them, the default fixed audio compression algorithm is pre-configured by the server.
  • S306-S308 is the same as S206-208.
  • the method for dynamically selecting an audio compression algorithm searches for a mapping list according to an audio format of a selected application and selects an audio compression algorithm. It solves the problem of not being able to dynamically select the audio compression algorithm, improves the flexibility of the server to process audio applications, and improves the user experience.
  • Embodiment 4 of the present invention is a diagrammatic representation of Embodiment 4 of the present invention.
  • An embodiment of the present invention provides a server, as shown in FIG. 4, including:
  • a configuration unit 401 configured to configure algorithm selection parameter information and a mapping list corresponding to the name of the audio compression algorithm
  • the algorithm selection parameter information indicates a process name, or an audio format, or a process name and an audio format.
  • the obtaining unit 402 is configured to acquire algorithm selection parameter information.
  • the selecting unit 403 is configured to select an audio compression algorithm according to the parameter information acquired by the acquiring unit 402 and the mapping list configured by the configuration unit 401;
  • the selecting unit 403 is configured to search the mapping list configured by the configuration unit 401. If the parameter information is a process name or an audio format, and the mapping list includes the process name or the audio format, the process name or audio format on the mapping list is obtained. Corresponding to the audio compression algorithm name; if the mapping column The table does not contain the process name or the audio format, and obtains a default audio compression algorithm name.
  • the mapping list is searched according to the process name, and the name of the audio compression algorithm corresponding to the process name on the mapping list is obtained;
  • the process name is included, and the mapping list is searched according to the audio format, and the audio compression algorithm name corresponding to the audio format on the mapping list is obtained. If the mapping list does not include the audio format, the default audio compression algorithm name is obtained.
  • the sending unit 404 is configured to send the name of the audio compression algorithm selected by the selecting unit 403 to the client, so that the client selects a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation.
  • the client first receives the selected audio compression algorithm name, and selects a decompression algorithm corresponding to the audio compression algorithm to decompress the audio data according to the compressed audio data received later. operating.
  • the selecting unit selects an audio compression algorithm by searching a mapping list configured by the configuration unit by the algorithm selection parameter of the application obtained by the obtaining unit. It solves the problem that the audio compression algorithm cannot be dynamically selected, improves the flexibility of the server to process the audio application, and improves the user experience.
  • Embodiment 5 of the present invention is a diagrammatic representation of Embodiment 5 of the present invention.
  • the embodiment of the present invention further provides a system for selecting an audio algorithm.
  • the method includes: a server 501, configured to acquire algorithm selection parameter information, and corresponding to a mapping list of audio compression algorithm names according to the parameter information and the configured parameter. And selecting an audio compression algorithm for performing compression, and sending the algorithm name to the client, so that the client selects a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation;
  • the server 501 receives the application sent by the client, obtains the algorithm selection parameter information according to the application, searches for the mapping list, obtains the algorithm name corresponding to the algorithm selection parameter information, and selects the algorithm to compress the audio data, and compresses the data.
  • the data and algorithm names are sent to the client, so that the client selects a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation.
  • the client 502 is configured to receive an audio compression algorithm sent by the server 501, and select a decompression algorithm corresponding to the audio compression algorithm to perform a decompression operation.
  • the client 502 receives the audio compression algorithm and the compressed audio data, and selects a corresponding decompression algorithm to decompress and play the audio data.
  • the system for selecting an audio algorithm provided by the embodiment of the present invention selects a mapping list by using an algorithm selection parameter of the obtained application, and selects an audio compression algorithm. At the same time, the client selects the corresponding decompression algorithm for decompression. It solves the problem that the audio compression algorithm cannot be dynamically selected, improves the flexibility of the server to process the audio application, and improves the user experience.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • 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 Go to another system, or some features can be ignored, or not executed.
  • the mutual 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 electrical, mechanical or otherwise.
  • 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 purpose 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 a hardware plus software functional unit.
  • 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 steps for causing a computer device (which may be a personal computer, server, or network device, etc.) to perform the methods of the 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)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)
  • Telephonic Communication Services (AREA)

Abstract

本发明实施例提供一种虚拟桌面场景下动态选择音频压缩算法的方法,包括:服务器配置算法选择参数信息及对应音频压缩算法名称的映射列表;获取算法选择参数信息,根据所述参数信息以及所述映射列表选择音频压缩算法;发送所述音频压缩算法名称至客户端,以使客户端选择与所述音频压缩算法对应的解压缩算法进行解压缩操作。相应地,本发明实施例还提供一种服务器,解决了解决现有技术中服务器采用固定音频压缩算法进行压缩的,而造成不能有针对性满足用户体验的问题。

Description

一种虚拟桌面场景下音频压缩算法选择方法、 装置及通信系统 技术领域
本发明实施例涉及通信技术领域, 尤其涉及一种虚拟桌面架构场景下 音频压缩算法选择方法、 装置及通信系统。 背景技术
远程桌面是目前企业办公环境的一种流行技术, 常用来将一台计算机 屏幕显示的内容传送到另外一处的显示屏显示。 目前大多数的远程桌面系 统都是基于 IP网络来传送远程桌面的。 远程桌面并不仅指远程的屏幕显 示, 还可以包含远程声音传送、 可插拔硬件映射等技术。 远程桌面又称为 虚以桌面架构 ( Virtual Desktop Infrastructure , VDI ) 。
VDI 中需要对音频数据进行压缩来降低带宽。 音频压缩算法有很多 种, 具体可分为两类。 一类是压缩后音质高但占用资源高, 压缩时间长, 适用于对音质要求高, 对延时要求不高的场景, 如使用 vorbis压缩算法。 另一类是压缩后音质差, 但压缩时间短, 资源占用小, 适用于对延时要求 很高, 对音质要求不是很高的场景。 如使用 speex压缩算法。
在现有技术中, VDI场景下音频传输通常由服务器获取音频格式和音 频数据流, 直接釆用默认的且是固定的音频压缩算法进行压缩, 并将压缩 后的数据流发送给客户端。 这样做法会导致使用 speex压缩算法的用户想 进行高音质体验时得到比较差的音质, 或者使用 vorbis压缩算法的用户想 进行高时延性体验时得到比较差的时延性。 这样的做法灵活性差, 用户体 验降低。 发明内容
本发明实施例提供一种虚拟桌面架构场景下动态选择音频压缩算法 的方法及装置, 解决现有技术中服务器只能釆用固定的音频压缩算法, 而 造成不能有针对性满足用户体验的问题。
本发明实施例提供一种虚拟桌面基础架构场景下动态选择音频压缩 算法的方法, 包括:
服务器配置算法选择参数信息及对应音频压缩算法名称的映射列表; 获取算法选择参数信息, 根据所述参数信息以及所述映射列表选择音 频压缩算法;
发送所述音频压缩算法名称至客户端。
本发明实施例还提供一种服务器, 包括:
配置单元, 用于配置算法选择参数信息及对应音频压缩算法名称的映 射列表;
获取单元, 用于获取算法选择参数信息;
选择单元, 用于根据所述参数信息以及所述映射列表选择音频压缩算 法;
发送单元, 用于发送所述音频压缩算法名称至客户端, 以使客户端选 择与所述音频压缩算法对应的解压缩算法进行解压缩操作。
本发明实施例还提供一种音频压缩算法选择的系统, 包括: 服务器, 用于获取算法选择参数信息, 根据所述参数信息和配置的参 数对应音频压缩算法名称的映射列表, 选择音频压缩算法进行压缩, 并发 送所述算法名称至客户端, 以使客户端选择与所述音频压缩算法对应的解 压缩算法进行解压缩操作;
客户端, 用于接收服务器发送的音频压缩算法, 选择与所述音频压缩 算法对应的解压缩算法进行解压缩操作。
通过本发明实施例提供的方法、装置及通信系统, 在 VDI场景下服务 器可以动态选择音频压缩算法并发送音频压缩算法名称给客户端。 解决了 现有技术中服务器釆用固定音频压缩算法进行压缩的, 而造成不能有针对 性满足用户体验的问题。 提高了服务器处理音频应用程序的灵活性, 提高 了用户体验。 附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案, 下面将对实 施例或现有技术描述中所需要使用的附图作一简单地介绍, 显而易见地, 下 面描述中的附图是本发明的一些实施例, 对于本领域普通技术人员来讲, 在 不付出创造性劳动的前提下, 还可以根据这些附图获得其他的附图。
图 1为本发明实施例一的方法流程图;
图 2为本发明实施例二的方法流程图;
图 3为本发明实施例三的方法流程图;
图 4为本发明实施例四的服务器结构图;
图 5为本发明实施例五的系统结构图。 具体实施方式
为使本发明实施例的目的、 技术方案和优点更加清楚, 下面将结合本 发明实施例中的附图, 对本发明实施例中的技术方案进行清楚、 完整地描 述, 显然, 所描述的实施例是本发明一部分实施例, 而不是全部的实施例。 基于本发明中的实施例, 本领域普通技术人员在没有做出创造性劳动的前 提下所获得的所有其他实施例, 都属于本发明保护的范围。
本发明实施例一:
图 1为本发明 VDI场景下动态选择音频压缩算法的一个方法实施例的 流程图, 如图 1所示, 该方法可以包括:
5101、 服务器配置算法选择参数信息及对应音频压缩算法名称的映射 列表;
需要说明的是, 算法选择参数信息表示的是进程名, 或音频格式, 或 进程名和音频格式。
5102、 获取算法选择参数信息, 根据参数信息以及映射列表选择音频 压缩算法进行压缩;
服务器查找映射列表, 若参数信息是进程名或音频格式, 且映射列表 包含所述进程名或所述音频格式, 则获取所述映射列表上所述进程名或音 频格式对应音频压缩算法名称。
若参数信息是进程名和音频格式, 且映射列表包含所述进程名, 则根 据所述进程名查找所述映射列表, 获取所述映射列表上进程名对应音频压 缩算法名称; 若所述映射列表不包含所述进程名, 则根据音频格式查找映 射列表, 获取映射列表上所述音频格式对应音频压缩算法名称。
S103、 发送所述选择的音频压缩算法名称至客户端, 以使客户端选择 与所述音频压缩算法对应的解压缩算法进行解压缩操作。
需要说明的是, 客户端先接收到所选择的音频压缩算法名称, 并根据 之后接收到的压缩之后的音频数据, 选择与所述音频压缩算法对应的解压 缩算法对所述音频数据进行解压缩操作。 这里, 发送给客户端的也可以不 限于音频压缩算法名称, 也可以是算法索引, 算法序号等音频压缩算法信 息。
通过本实施例提供的方法,在 VDI场景下服务器可以动态选择音频压 缩算法进行音频压缩并发送音频压缩算法名称给客户端。 解决现有技术中 服务器釆用固定音频压缩算法进行压缩的, 而造成不能有针对性满足用户 体验的问题。提高了服务器处理音频应用程序的灵活性,提高了用户体验。 本发明实施例二:
在本实施例中,在 VDI场景下,服务器根据进程名和音频格式动态选 择音频压缩算法的流程如下:
S201、服务器配置算法选择参数信息及对应音频压缩算法名称的映射 列表;
需要说明的是, 算法选择参数信息可以是应用程序的进程名, 也可以 是音频格式信息。 映射列表中, 进程名或音频格式与音频压缩算法是—— 对应关系。 其中, 对应的音频压缩算法有两类: 第一类是高音质且延时性 差, 包括但不限于 speex算法; 第二类是低音质且延时性好, 包括但不限 于 vorbis算法。 5202、 服务器将存储的应用程序列表发送至客户端;
5203、 客户端选择应用程序, 并发送应用程序请求消息至服务器; 其中, 该应用程序必须满足执行与音频相关操作的条件。
5204、 服务器获取进程名和音频格式信息;
服务器收到请求消息后, 启动客户端所选的应用程序, 并获取所选应 用程序的进程名信息和音频格式信息。
所述参数信息可以确定应用程序是音质要求高、对延时要求不高的一 类还是音质要求不高、 对延时要求高的一类。 比如, 应用程序的进程名为 skype.exe , 则认为该应用程序是对音质要求不高但是对延时要求高。 如果 应用程序进程名为 mp3player.exe , 则认为该应用程序对音质要求高对延时 要求不高。
5205、 服务器根据所选应用程序进程名和音频格式信息, 选择音频压 缩算法;
由于应用程序进程名和音频格式是两种参数信息, 因此需要确定优先 级的高低来选择对应的压缩算法。 在本实施例中, 进程名的优先级高于音 频格式的优先级, 服务器先根据应用程序进程名来选择音频压缩算法, 具 体步骤如下:
根据应用程序进程名信息查找映射列表, 找到对应的压缩算法; 如果 查找不到该进程名信息, 则根据音频格式信息查找映射列表, 找到对应的 压缩算法; 如果进程名和音频格式均不在映射列表里面, 则选择默认的固 定压缩算法。 其中, 默认的固定压缩算法是服务器预先配置的。
5206、服务器选择好音频压缩算法之后,发送压缩算法名称至客户端; 服务器发送压缩算法名称至客户端, 目的是让客户端做好使用该压缩 算法对应的解压缩算法进行解压的准备。
S207、 服务器选择所述压缩算法对音频数据进行压缩, 并发送压缩后 的音频数据至客户端。
S208、 客户端对压缩后的音频数据流进行解压缩并播放。
客户端收到步骤 S206发送的压缩算法名称和步骤 S207发送的压缩后 的音频数据之后, 选择该压缩算法对应的解压缩算法, 对压缩后的音频数 据进行解压缩, 解压缩完成后对音频进行播放。
本实施例提供的动态选择音频压缩算法的方法, 根据所选应用程序的 进程名和音频格式查找映射列表并选择音频压缩算法。 解决了无法动态选 择音频压缩算法的问题, 提高了服务器处理音频应用程序的灵活性, 提高 了用户体验。
本发明实施例三:
在本实施例中,在 VDI场景下,服务器根据音频格式动态选择音频压 缩算法的流程如下:
S301— S303同步骤 S201— S203 ;
S304、 服务器获取音频格式信息;
服务器收到请求消息后, 启动客户端所选的应用程序, 并获取所选应 用程序的音频格式信息。
此外, 服务器也可以获取应用程序的进程名信息, 发送该参数至压缩 算法选择模块。 对于进程名和音频格式这两类信息, 服务器只需获取其中 一种即可。 S305、服务器根据算法选择参数信息和映射列表,选择音频压缩算法; 服务器根据音频格式查找对应的音频压缩算法, 音频格式和音频压缩 算法在映射列表里面是——映射关系, 如果在映射列表里面找不到该音频 格式, 则选择默认的固定音频压缩算法。 其中, 默认的固定音频压缩算法 是服务器预先配置的。
S306— S308同 S206— 208。
本实施例提供的动态选择音频压缩算法的方法, 根据所选应用程序的 音频格式查找映射列表并选择音频压缩算法。 解决了无法动态选择音频压 缩算法的问题, 提高了服务器处理音频应用程序的灵活性, 提高了用户体 验。
本发明实施例四:
本发明实施例提供一种服务器, 如图 4所示, 包括:
配置单元 401 , 用于配置算法选择参数信息及对应音频压缩算法名称 的映射列表;
需要说明的是, 算法选择参数信息表示的是进程名, 或音频格式, 或 进程名和音频格式。
获取单元 402 , 用于获取算法选择参数信息;
选择单元 403 , 用于根据所述获取单元 402获取的参数信息以及配置 单元 401配置的映射列表选择音频压缩算法;
选择单元 403查找配置单元 401配置的映射列表, 若参数信息是进程 名或音频格式, 且映射列表包含所述进程名或所述音频格式, 则获取所述 映射列表上所述进程名或音频格式对应音频压缩算法名称; 若所述映射列 表不包含所述进程名或所述音频格式, 获取默认音频压缩算法名称。
若参数信息是进程名和音频格式, 且映射列表包含所述进程名, 则根 据所述进程名查找所述映射列表, 获取所述映射列表上进程名对应音频压 缩算法名称; 若所述映射列表不包含所述进程名, 则根据音频格式查找映 射列表, 获取映射列表上所述音频格式对应音频压缩算法名称; 若所述映 射列表不包含所述音频格式, 获取默认音频压缩算法名称。
发送单元 404 , 用于发送选择单元 403选择的音频压缩算法名称至客 户端, 以使客户端选择与所述音频压缩算法对应的解压缩算法进行解压缩 操作。
需要说明的是, 客户端先接收到所选择的音频压缩算法名称, 并根据 之后接收到的压缩之后的音频数据, 选择与所述音频压缩算法对应的解压 缩算法对所述音频数据进行解压缩操作。
本实施例提供的服务器, 选择单元通过获取单元获取的应用程序的算 法选择参数查找配置单元配置的映射列表选择音频压缩算法。 解决了无法 动态选择音频压缩算法的问题, 提高了服务器处理音频应用程序的灵活 性, 提高了用户体验。
本发明实施例五:
本发明实施例还提供一种音频算法选择的系统, 如图 5所示, 包括: 服务器 501 , 用于获取算法选择参数信息, 根据所述参数信息和配置 的参数对应音频压缩算法名称的映射列表, 选择音频压缩算法进行压缩, 并发送所述算法名称至客户端, 以使客户端选择与所述音频压缩算法对应 的解压缩算法进行解压缩操作; 服务器 501接收到客户端发送的应用程序, 根据该应用程序获取算法 选择参数信息, 并查找映射列表, 获取到算法选择参数信息对应的算法名 称, 并选择该算法对音频数据进行压缩, 将压缩后的数据和算法名称发送 给客户端, 以使客户端选择与所述音频压缩算法对应的解压缩算法进行解 压缩操作。
客户端 502 , 用于接收服务器 501发送的音频压缩算法, 选择与所述 音频压缩算法对应的解压缩算法进行解压缩操作。
客户端 502接收音频压缩算法以及压缩后的音频数据, 选择对应的解 压缩算法对音频数据进行解压缩并播放。
本发明实施例提供的音频算法选择的系统, 通过获取到的应用程序的 算法选择参数查找映射列表, 选择音频压缩算法。 同时, 客户端选择对应 的解压缩算法进行解压操作。 解决了无法动态选择音频压缩算法的问题, 提高了服务器处理音频应用程序的灵活性, 提高了用户体验。
所属领域的技术人员可以清楚地了解到, 为描述的方便和简洁, 上述 描述的系统, 设备和单元的具体工作过程, 可以参考前述方法实施例中的 对应过程, 在此不再赘述。
本领域普通技术人员可以理解: 附图只是一个实施例的示意图, 附图 中的单元或流程并不一定是实施本发明所必须的。
在本申请所提供的几个实施例中, 应该理解到, 所揭露的系统, 设备 和方法, 可以通过其它的方式实现。 例如, 以上所描述的设备实施例仅仅 是示意性的, 例如, 所述单元的划分, 仅仅为一种逻辑功能划分, 实际实 现时可以有另外的划分方式, 例如多个单元或组件可以结合或者可以集成 到另一个系统, 或一些特征可以忽略, 或不执行。 另一点, 所显示或讨论 的相互之间的耦合或直接耦合或通信连接可以是通过一些接口, 设备或单 元的间接耦合或通信连接, 可以是电性, 机械或其它的形式。 作为单元显示的部件可以是或者也可以不是物理单元, 即可以位于一个地 方, 或者也可以分布到多个网络单元上。 可以根据实际的需要选择其中的 部分或者全部单元来实现本实施例方案的目的。
另外,在本发明各个实施例中的各功能单元可以集成在一个处理单元 中, 也可以是各个单元单独物理存在, 也可以两个或两个以上单元集成在 一个单元中。 上述集成的单元既可以釆用硬件的形式实现, 也可以釆用硬 件加软件功能单元的形式实现。
上述以软件功能单元的形式实现的集成的单元, 可以存储在一个计算 机可读取存储介质中。 上述软件功能单元存储在一个存储介质中, 包括若 干指令用以使得一台计算机设备(可以是个人计算机, 服务器, 或者网络 设备等)执行本发明各个实施例所述方法的部分步骤。 而前述的存储介质 包括: U盘、 移动硬盘、 只读存储器 (Read-Only Memory, 简称 ROM ) 、 随机存取存储器 (Random Access Memory, 简称 RAM ) 、 磁碟或者光盘 等各种可以存储程序代码的介质。
最后应说明的是: 以上实施例仅用以说明本发明的技术方案, 而非对 其限制; 尽管参照前述实施例对本发明进行了详细的说明, 本领域的普通 技术人员应当理解: 其依然可以对前述各实施例所记载的技术方案进行修 改, 或者对其中部分技术特征进行等同替换; 而这些修改或者替换, 并不 使相应技术方案的本质脱离本发明各实施例技术方案的精神和范围。

Claims

权利要求
1、 一种虚拟桌面架构 VDI场景下动态选择音频压缩算法的方法, 其 特征在于, 包括:
服务器配置算法选择参数信息及对应音频压缩算法名称的映射列表; 获取算法选择参数信息, 根据所述算法选择参数信息以及所述映射列 表选择音频压缩算法进行压缩;
发送所述选择的音频压缩算法名称至客户端, 以使客户端选择与所述 音频压缩算法对应的解压缩算法进行解压缩操作。
2、 根据权利要求 1 所述的方法, 其特征在于, 所述算法选择参数信 息包括:
进程名, 或音频格式, 或进程名和音频格式。
3、 根据权利要求 2 所述的方法, 其特征在于, 根据所述算法选择参 数信息以及所述映射列表选择音频压缩算法进行压缩算法, 包括:
所述服务器获取进程名和音频格式, 根据所述进程名查找所述映射列 表, 获取所述映射列表上进程名对应音频压缩算法名称;
若所述映射列表不包含所述进程名, 根据所述音频格式查找所述映射 列表, 获取所述映射列表上所述音频格式对应音频压缩算法名称。
4、 根据权利要求 2 所述的方法, 其特征在于, 根据所述参数信息以 及所述映射列表选择音频压缩算法, 包括:
所述服务器获取音频格式, 根据所述音频格式查找所述映射列表, 获 取所述映射列表音频格式对应音频压缩算法名称。
5、 一种服务器, 其特征在于, 包括: 配置单元, 用于配置算法选择参数信息及对应音频压缩算法名称的映 射列表;
获取单元, 用于获取算法选择参数信息;
选择单元, 用于根据所述参数信息以及所述映射列表选择音频压缩算 法进行压缩;
发送单元, 用于发送所述音频压缩算法名称至客户端, 以使客户端选 择与所述音频压缩算法对应的解压缩算法进行解压缩操作。
6、 根据权利要求 5 所述的服务器, 其特征在于, 所述获取单元获取 算法选择参数信息, 包括:
所述获取单元获取进程名, 或音频格式, 或进程名和音频格式。
7、 根据权利要求 6 所述的服务器, 其特征在于, 所述选择单元根据 所述参数信息以及所述映射列表选择音频压缩算法, 包括:
所述选择单元根据所述进程名查找所述映射列表, 获取所述映射列表 上进程名对应的音频压缩算法名称;
若所述映射列表不包含所述进程名, 根据所述音频格式查找所述映射 列表, 获取所述映射列表上所述音频格式对应的音频压缩算法名称。
8、 一种音频压缩算法选择的系统, 其特征在于, 包括:
服务器, 用于获取算法选择参数信息, 根据所述参数信息和配置的参 数对应音频压缩算法名称的映射列表, 选择音频压缩算法进行压缩, 并发 送所述算法名称至客户端, 以使客户端选择与所述音频压缩算法对应的解 压缩算法进行解压缩操作;
客户端, 用于接收服务器发送的音频压缩算法, 选择与所述音频压缩 算法对应的解压缩算法进行解压缩操作。
PCT/CN2011/083143 2011-11-29 2011-11-29 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统 WO2013078614A1 (zh)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2011/083143 WO2013078614A1 (zh) 2011-11-29 2011-11-29 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统
CN201180002603XA CN103348655A (zh) 2011-11-29 2011-11-29 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2011/083143 WO2013078614A1 (zh) 2011-11-29 2011-11-29 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统

Publications (1)

Publication Number Publication Date
WO2013078614A1 true WO2013078614A1 (zh) 2013-06-06

Family

ID=48534600

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2011/083143 WO2013078614A1 (zh) 2011-11-29 2011-11-29 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统

Country Status (2)

Country Link
CN (1) CN103348655A (zh)
WO (1) WO2013078614A1 (zh)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812439A (zh) * 2014-12-31 2016-07-27 华为技术有限公司 一种音频传输方法及装置
US10777217B2 (en) 2018-02-27 2020-09-15 At&T Intellectual Property I, L.P. Performance sensitive audio signal selection

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105282194A (zh) * 2014-06-27 2016-01-27 中兴通讯股份有限公司 虚拟桌面的配置、获取方法及装置
CN106936936B (zh) * 2017-05-10 2019-12-03 浙江云巢科技有限公司 一种虚拟桌面远程通信系统
CN117202259B (zh) * 2023-11-07 2024-02-06 深圳市丰禾原电子科技有限公司 一种蓝牙耳机的数据处理方法和系统

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093568A1 (en) * 2001-11-14 2003-05-15 Sharp Laboratories Of America, Inc. Remote desktop protocol compression system
CN1822563A (zh) * 2005-02-17 2006-08-23 陈力 网络终端的方法和装置
CN201821460U (zh) * 2010-09-29 2011-05-04 长沙行成信息科技有限公司 一种编码装置
CN102148842A (zh) * 2010-02-08 2011-08-10 联想(北京)有限公司 一种远程桌面体系的音频处理方法和设备

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6557001B1 (en) * 1998-11-23 2003-04-29 Moonlight Cordless Ltd. Method for enhancing video compression through automatic data analysis and profile selection
CN202535376U (zh) * 2010-02-10 2012-11-14 北京视博云科技有限公司 一种用于远程访问的采集编码装置、解码装置和系统

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20030093568A1 (en) * 2001-11-14 2003-05-15 Sharp Laboratories Of America, Inc. Remote desktop protocol compression system
CN1822563A (zh) * 2005-02-17 2006-08-23 陈力 网络终端的方法和装置
CN102148842A (zh) * 2010-02-08 2011-08-10 联想(北京)有限公司 一种远程桌面体系的音频处理方法和设备
CN201821460U (zh) * 2010-09-29 2011-05-04 长沙行成信息科技有限公司 一种编码装置

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105812439A (zh) * 2014-12-31 2016-07-27 华为技术有限公司 一种音频传输方法及装置
CN105812439B (zh) * 2014-12-31 2019-10-25 华为技术有限公司 一种音频传输方法及装置
US10777217B2 (en) 2018-02-27 2020-09-15 At&T Intellectual Property I, L.P. Performance sensitive audio signal selection

Also Published As

Publication number Publication date
CN103348655A (zh) 2013-10-09

Similar Documents

Publication Publication Date Title
CN107911437B (zh) 屏幕共享的方法、装置、电子设备及存储介质
US9332039B2 (en) Method, apparatus, and system for establishing voice communication
CN101582926B (zh) 实现远程媒体播放重定向的方法和系统
CN111954051B (zh) 传输视频音频数据的方法、系统、云端服务器和存储介质
WO2022111027A1 (zh) 视频获取方法、电子设备及存储介质
CN111405042B (zh) 一种电子设备的发现方法、装置、存储介质和电子装置
CN103856374A (zh) 一种数据传输方法、终端及家庭互联系统
CN114697879B (zh) 蓝牙配对方法、电子设备、芯片和存储介质
CN112291366A (zh) 数据传输方法、装置、存储介质及电子设备
WO2013078614A1 (zh) 一种虚拟桌面场景下音频压缩算法选择方法、装置及通信系统
US11196868B2 (en) Audio data processing method, server, client and server, and storage medium
CN104919863B (zh) 用于无线数据通信的子信道检测
CN112153457A (zh) 无线投屏连接方法、装置、计算机存储介质及电子设备
JP6116240B2 (ja) 送信装置、送信方法、及びプログラム
CN106921634B (zh) 多媒体流组播方法和装置
CN113038192A (zh) 视频处理方法、装置、电子设备和存储介质
CN114302202A (zh) 音视频投屏方法、装置、设备、系统及存储介质
JP6549261B2 (ja) アプリケーション実装方法およびサービスコントローラ
CN104639501B (zh) 一种数据流传输的方法、设备及系统
WO2012163059A1 (zh) 设备重定向的数据传输的方法、装置及系统
US11489817B2 (en) Computing system with gateway data transfer based upon device data flow characteristics and related methods
WO2015196586A1 (zh) 虚拟桌面的配置、获取方法及装置
US10104422B2 (en) Multimedia playing control method, apparatus for the same and system
JP5961860B2 (ja) メディアストリーム再生方法及びセットトップボックス
WO2022007140A1 (zh) 用户设备路由选择方法及相关产品

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: 11876815

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: 11876815

Country of ref document: EP

Kind code of ref document: A1