Music playing application keep-alive processing method and system, storage medium and electronic equipment
A technology of music playback and processing method, applied in electrical digital data processing, special data processing applications, digital data processing components and other directions, can solve problems such as inability to accurately judge, achieve good results and reduce power consumption
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Examples
Example
[0052]First embodiment
[0053]figure 1 It is a schematic flow diagram of the keep-alive processing method of the music playing application under the Android platform of this embodiment;
[0054]figure 2 It is a schematic flowchart of the method for judging a music playing application under the Android platform of this embodiment;
[0055]In this embodiment, APP is an application, Uid is the first identification of the application, preferably the user code of the application, mFocusStack is the audio focus stack, and FocusRequester is the top request information of the audio focus stack, preferably the top of the stack In the audio request process, mCallingUid is the second identification of the application, preferably the audio focus request user code, and mContentType is the audio request type.
[0056]The Android system is a multitasking operating system, so many tasks are allowed to work at the same time. But this is a challenge for audio applications, because if multiple audios are played at
Example
[0092]Second embodiment
[0093]figure 2 It is a schematic diagram of the framework of the keep-alive processing system of the music playing application under the Android platform of this embodiment.
[0094]This embodiment provides a keep-alive processing system for music playing applications under the Android platform, and the system includes:
[0095]The data acquisition module is used to obtain the first identification identifier of the application program, used to obtain audio focus stack information, used to parse audio focus stack information, and obtain stack top request information of audio focus stack information, used to obtain stack top request information The type of audio request saved;
[0096]The type detection module is used to detect whether the audio request type is music, and when the audio request type is music, obtain the second identification identifier of the application corresponding to the request information on the top of the stack;
[0097]The identification detection mod
Example
[0101]The third embodiment
[0102]figure 1 It is a schematic flow diagram of the keep-alive processing method of the music playing application under the Android platform of this embodiment;
[0103]This embodiment provides a storage medium on which a computer program is stored,
[0104]When the program is executed by the processor, the steps of the keep-alive processing method of the music playing application on the Android platform described in any of the above contents are realized.
[0105]Those skilled in the art should understand that the embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention can adopt a situation of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may adopt the form of another computer program product implemented on one or more computer-usable storage media (including but not limited to disk stora
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.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap