Third-party audio player oriented data interception method

A technology of data interception and audio data, applied in the direction of execution example, program control device, etc., can solve the problem of inability to intercept audio data of third-party audio players, etc., and achieve good portability and backward compatibility

Active Publication Date: 2016-04-06
NANJING UNIV OF POSTS & TELECOMM
View PDF4 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Since the upper-layer application of the Android system runs in a closed environment, it is impossible to directly intercept the audio data being played by a third-party audio player at the application layer

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
  • Third-party audio player oriented data interception method
  • Third-party audio player oriented data interception method
  • Third-party audio player oriented data interception method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0032] In order to describe in more detail a method of data interception for a third-party audio player proposed by the present invention, in conjunction with the accompanying drawings, the examples are as follows:

[0033] figure 1 A method of data interception for a third-party audio player provided by Embodiment 1 of the present invention is shown. The method is based on the Android audio system, and for a third-party audio player, adopts data interception from the HAL layer, and mainly includes the following steps:

[0034] Step S101, creating a master control class object ProcessMaster;

[0035] Step S102, audio data interception initialization: the main control class object ProcessMaster obtains the playback thread of the third-party audio player in the Native layer according to the audio playback configuration parameters; open up the shared memory SharedBuffer1 of the Native layer, the shared memory SharedBuffer2 and the ring of the main control class object ProcessMast...

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 proposes a third-party audio player oriented data interception method. Starting from an audio core AudioFlinger of a Native layer of an Android system, a complete data interception closed loop is formed through interactive cooperation of a newly created cooperative working sub-thread and a standard Android audio system thread, so that the transparency to a third-party audio player can be kept while audio data of any third-party audio player are accurately intercepted. The third-party audio player oriented data interception method proposed by the invention is implemented with a software method and has good portability and backward compatibility.

Description

technical field [0001] The invention relates to the technical field of digital audio processing, in particular to a data interception method for third-party audio players. Background technique [0002] In the future ubiquitous communication environment, collaboration thinking has become the mainstream of network convergence. Through intelligent collaboration between terminals, the effect of 1+1>2 is realized, and various new smart services are provided for users, thereby greatly improving the user's business experience. In the audio playback scenario, there are related applications that play multiple channels of the same music through multiple terminals to achieve stereo effects, but such applications can only achieve the effect of coordinated playback through specific software, and cannot achieve the same effect. Any third-party audio playback software is transparent, thus affecting the user's actual experience. In order to achieve the effect of being transparent to th...

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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F9/44
CPCG06F9/449
Inventor 张晖刘宝
Owner NANJING UNIV OF POSTS & TELECOMM
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