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

Active Publication Date: 2021-01-01
GREE ELECTRIC APPLIANCES INC OF ZHUHAI
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The invention provides a method for keeping alive music playing applications under the Android platform, which solves the technical problem that the system cannot accurately determine which backgroun

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

Examples

Experimental program
Comparison scheme
Effect test

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

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 discloses a music playing application keep-alive processing method and system under an Android platform, a storage medium and electronic equipment. The method comprises the following steps: obtaining a first identification identifier of an application program; acquiring audio focus stack information; analyzing the audio focus stack information, and obtaining stack top request information of the audio focus stack information; acquiring an audio request type stored in the stack top request information; detecting whether the audio request type is music or not; when the audio requesttype is music, obtaining a second identification identifier of the application corresponding to the stack top request information; detecting whether the first identification mark and the second identification mark are the same or not; and when the first identification identifier and the second identification identifier are the same, returning to the first judgment value, and when the first identification identifier and the second identification identifier are different, returning to the second judgment value. According to the method, the keep-alive effect on the music playing application process is better, applications not needed by a user can be selected and paused more easily, and power consumption is reduced.

Description

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

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
Owner GREE ELECTRIC APPLIANCES INC OF ZHUHAI
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