Method for improving audio playing quality, audio data acquisition method and audio data acquisition system

A technology of audio data and data volume, applied in the field of virtual machine systems, can solve the problems such as the inability to guarantee that the guest operating system occupies the real CPU time, the sound cannot be played completely continuously, affecting the user experience, etc. Continuous, improve user experience, improve the effect of sound playback quality

Active Publication Date: 2010-06-30
LENOVO SOFTWARE
View PDF0 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In the above virtual machine system, due to the scheduling of the service operating system or the host operating system, the running guest operating system cannot completely occupy the real CPU time, and the virtual sound card in the guest operating system still obtains audio every 10ms data, this will cause a problem: the virtual sound card of the guest operating system obtains audio data every 10ms based on the scheduling of the guest operating system, but the virtual machine system cannot guarantee that the guest operating system can occupy real C

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method for improving audio playing quality, audio data acquisition method and audio data acquisition system
  • Method for improving audio playing quality, audio data acquisition method and audio data acquisition system
  • Method for improving audio playing quality, audio data acquisition method and audio data acquisition system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] In this embodiment, a Xen-based virtual machine system is taken as an example for description.

[0069] figure 1 For the virtual machine system described in this embodiment, such as figure 1 As shown, the virtual machine system in this embodiment includes:

[0070] A hardware platform 10, which at least includes a CPU 102 and a physical sound card 101;

[0071] A virtual machine manager 11 running on the hardware platform and connected to the hardware platform; and,

[0072] A service operating system 13 and at least one guest operating system 12 run on the virtual machine manager 11 . figure 1 Only one guest operating system is shown in .

[0073] Such as figure 1 As shown, the guest operating system 12 specifically includes:

[0074] The application program 122 is used to process and obtain the audio data to be played by the guest operating system 12 . Here, the application program may be any existing application program capable of playing audio, for example, a...

Embodiment 2

[0085] In this embodiment, a Vmware-based virtual machine system is taken as an example for description.

[0086] figure 2 It is a schematic structural diagram of the virtual machine system described in this embodiment, and figure 1 The difference is that in this embodiment, the backend driver 131 is set in the host operating system 14 (HOS) instead of in the service operating system (SOS). In addition, the function of each corresponding module in this embodiment is the same as that in Embodiment 1, and details will not be repeated here.

[0087] In addition, due to prefetching audio data, the audio data sent by the front-end driver to the back-end driver is always more than the actual audio data played. When playing continuous sound files, the buffered data in the back-end driver will accumulate more and more. When the amount of cached data exceeds the cache capacity of the backend driver, it will cause a system error. Therefore, this embodiment further adds flow control ...

Embodiment 3

[0110] Such as Figure 4 As shown, this embodiment provides a virtual machine system. The difference from Embodiments 1 and 2 is that in this embodiment, the backend driver 131 is set in the virtual machine manager 11 . Not in the service operating system (SOS) or host operating system (HOS). In addition, the function of each corresponding module in this embodiment is the same as that in Embodiment 1 and Embodiment 2, and will not be repeated here.

[0111] In the above embodiments, the front-end driver prefetches excessive audio data, and the back-end data sends the audio data to the physical sound card for playback, thereby improving the sound playback quality in the virtual machine system and improving user experience.

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a method for improving the audio playing quality, an audio data acquisition method and an audio data acquisition system, wherein the method for improving the audio playing quality comprises the following steps: according to the preset time, acquiring and caching the audio data to be played of the guest operation system, wherein the quantity of the acquired audio data is larger than the quantity demanded of the audio data of the physical audio card; and according to the audio playing parameters of the physical audio card, sending the cached audio data to the physical audio card to play. The invention can improve the sound playing performance of the guest operation system, and improve the user experience.

Description

technical field [0001] The invention relates to the technical field of virtual machines, in particular to a method for improving the audio playback quality of a virtual machine system, an audio data collection method, and a virtual machine system. Background technique [0002] Analog sound is continuous in time, while digital audio is a sequence of data that is intermittent in time. Since it takes a certain amount of time for the human brain to process information, there is time-domain masking in the human auditory characteristics (the phenomenon of masking between adjacent sounds in time), so when the sampling frequency of digital audio reaches a certain frequency, it will It feels like the sound is continuous, and when the digital audio has an obvious discontinuity, and the interval exceeds the time domain mask, the human ear can distinguish the discontinuity. Usually, in a computer system, the sound card acquires data every 10ms to ensure that the human ear can hear the ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/16
Inventor 林洋陆见微陈实
Owner LENOVO SOFTWARE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products