Method and device for sound effect processing
AssigneeGuangdong Oppo Mobile Telecommunications Corp., Ltd.
InventorsYajun Li, Gaoting Gan, Guang Tu, Hai Yang
Life of this patent
Estimating the term…
Abstract
A method and device for sound effect processing, and a non-transitory storage medium. The method includes the following actions. A task manager is traversed to determine whether a sound effect service process for a sound effect service exists. Responsive to determining that the sound effect service process exists, whether the sound effect service process is a system process of a system, is determined. When the sound effect service process is not a system process of the system, the sound effect service process is set to be a system process of the system.
Claims18
A method for sound effect processing, comprising:
- traversing a task manager to determine whether a sound effect service process for a sound effect service exists;
- responsive to determining that the sound effect service process exists, determining whether the sound effect service process is a system process of a system, wherein a priority of the system process of the system is high, and when a terminal is started, the system process of the system is created directly, wherein the priority indicates a degree of right to obtain a resource of the system and a process with a higher priority can obtain the resource more preferably;
- when the sound effect service process is not a system process of the system, setting the sound effect service process to be a system process of the system;
- detecting, at an interval of a preset time period, whether the sound effect service process exists;
- responsive to determining that the sound effect service process does not exist, calling an automatic recovery mechanism to detect whether a running environment is abnormal, and
- when the running environment is normal, recovering the sound effect service process, and improving a priority of the sound effect service process.
A terminal, comprising:
- a memory storing an executable program code;
- and
- a processor coupled to the memory, wherein
- the processor calls the executable program code stored in the memory to execute a method, comprising:
- traversing a task manager to determine whether a sound effect service process for a sound effect service exists;
- responsive to determining that the sound effect service process exists, determining whether the sound effect service process is a system process of a system, wherein a priority of the system process of the system is high, and when the terminal is started, the system process of the system is created directly, wherein the priority indicates a degree of right to obtain a resource of the system and a process with a higher priority can obtain the resource more preferably;
- when the sound effect service process is not a system process of the system, setting the sound effect service process to be a system process of the system;
- detecting, at an interval of a preset time period, whether the sound effect service process exists;
- responsive to determining that the sound effect service process does not exist, calling an automatic recovery mechanism to detect whether a running environment is abnormal, and
- when the running environment is normal, recovering the sound effect service process, and improving a priority of the sound effect service process.
A non-transitory storage medium, in which a program code is stored, wherein, when the program code is run, a processor may execute the following operations:
- traversing a task manager to determine whether a sound effect service process for a sound effect service exists;
- responsive to determining that the sound effect service process exists, determining whether the sound effect service process is a system process of a system, wherein a priority of the system process of the system is high, and when a terminal is started, the system process of the system is created directly, wherein the priority indicates a degree of right to obtain a resource of the system and a process with a higher priority can obtain the resource more preferably;
- when the sound effect service process is not a system process of the system, setting the sound effect service process to be a system process of the system;
- detecting, at an interval of a preset time period, whether the sound effect service process exists;
- responsive to determining that the sound effect service process does not exist, calling an automatic recovery mechanism to detect whether a running environment is abnormal, and
- when the running environment is normal, recovering the sound effect service process, and improving a priority of the sound effect service process.
Dependencies are inferred from the claim text.