Audio capture method and device
A technology of audio interception and audio files, which is applied in the field of communication, can solve problems such as the inability to intercept sound clips, and the inability to intercept and save sound clips, and achieve the effects of convenient operation, prevention of deterioration of sound quality, and wide application
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0035] refer to figure 1 , which shows an audio interception method provided by an embodiment of the present invention, the method includes the following steps:
[0036] S1. Modify the sound device driver and application programming interface to obtain an encapsulation layer;
[0037] Specifically, in this embodiment and subsequent embodiments, unless otherwise specified, audio interception on a mobile phone is taken as an example. Encapsulate the original sound device driver to obtain an encapsulation layer. The encapsulation hides the attributes and implementation details of the object, only exposes the interface to the outside world, and controls the access level of reading and modifying the attributes in the program; the abstracted The combination of data and behavior (or function) forms an organic whole, that is, the organic combination of data and source code for operating data forms a "class", in which both data and functions are members of the class.
[0038] S2. Cal...
Embodiment 2
[0049] Embodiment 2 of the present invention is specifically based on Embodiment 1.
[0050] In the embodiment of the present invention, the encapsulation layer in this embodiment will directly call the original device driver to play the audio file, so as to obtain the played audio file, and can also obtain information such as the playing position.
[0051] In the embodiment of the present invention, a step of presetting a specific storage space is also included, for temporarily writing the audio file information of the encapsulation layer into the specific storage space.
[0052] In the embodiment of the present invention, when the user uses the software to play the sound, the mobile phone operating system will call the encapsulation layer first, and then the encapsulation layer will call the original sound drive device to play the sound. The information will be temporarily written into the preset specific storage space.
[0053] In the embodiment of the present invention, f...
Embodiment 3
[0058] refer to figure 2 , the figure shows an audio interception device provided by an embodiment of the present invention, wherein the device includes an encapsulation module 1, an interception processing module 2, and a storage module 3;
[0059] The encapsulation module 1 is used to modify the original sound device driver and application programming interface to obtain an encapsulation layer; the encapsulation module 1 is arranged on the kernel layer of the mobile phone operating system, and the original sound device driver and application The program programming interface is modified to obtain an encapsulation layer. This encapsulation layer can directly call the original device driver to play the sound, and can also obtain information such as the audio file and the playback position, and temporarily write the information such as the audio file and the playback position into the storage module 3 .
[0060] The interception processing module 2 is used for intercepting, l...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com