1. Technical Field
The disclosure relates to an application recognition technology and, more particularly, to an application recognition system and an application recognition method adapted for an electronic device.
2. Description of Related Art
Many applications can be installed in an electronic device, but when multiple applications are running simultaneously, only one running application can be operated by a user, so the other running applications are often forgotten.
Therefore, what is needed is an application recognition system to overcome the described shortcomings
The input unit 10 generates input signals in response to user input. For example, the electronic device 1 runs an application or performs an operation for the application in response to user input from the input unit 10. The screen 20 displays information, for example, a running interface of the application. The sound output unit 30 outputs sound. The sound output unit 30 may be a speaker or an earphone. The control unit 40 controls the electronic device 1 and performs the application recognition system 400.
The storage unit 50 stores a number of applications and relationships between the applications and their sound control instructions. For example, the storage unit 50 stores a number of game applications, an electronic map, and a number of study applications. Each sound control instruction is associated with a preset sound in the storage unit 50. For example, a first sound control instruction is associated with a first song, and a second sound control instruction is associated with a second song.
As shown in
The application determination module 420 determines whether or not at least one application is running in the electronic device 1. In general, when an application is selected and running, a corresponding window is opened. When there are a number of running applications, there are a number of opened windows in a state of activeness or inactiveness, determined by the tasks of the electronic device user. Among the opened windows, an active window is the current window in focus and at the top of all other windows on the screen, and an inactive window is an unfocused window under the active window.
When at least one application is running, the status determination module 430 determines whether or not there are one or more running applications hidden as inactive windows. The current running application in focus is associated with the active window. The hidden running applications are associated with the inactive windows. There is only one active window on the screen 20.
For example, the application determination module 420 determines that three applications are running in the electronic device 1, such as “A” application, “B” application, and “C” application. “A” application corresponds to a first preset song, “B” application corresponds to a second preset song, and “C” application corresponds to a third preset song. The status determination module 430 determines that the “A” running application is associated with the active window on the screen 20 and both the “B” running application and the “C” running application are associated with inactive windows.
If there are one or more hidden applications running while an application is in the active window, the sound acquiring module 440 acquires a sound control instruction associated with each of the hidden running applications from the storage unit 50. The sound control module 450 performs a sound control operation and controls the sound output unit 30 to output a preset sound every preset time period, thereby prompting the user not to forget the hidden running applications.
For example, both the “B” application and the “C” application are the hidden running applications, the sound control module 450 controls the sound output unit 30 to output the second and third preset songs every two preset time periods. When the sound output unit 30 is an earphone, the sound control module 450 controls the left channel of the earphone to output the second preset song every second preset time period and the right channel of the earphone to output the third preset song every third preset time period. The second preset time period is different from the third preset time period.
Furthermore, the status determination module 430 further determines whether or not one of the hidden running applications is the target of user input from the input unit 10 on the screen 20. If one of the hidden running applications is the target of user input from the input unit 10, it is determined that the hidden running application is associated with the current active window on the screen 20. The focused running application is switched from the previously active window to the previously inactive but targeted window and the hidden running application is switched from the inactive window to the active window. If none of the hidden applications is the target of user input from the input unit 10, it is determined that the hidden running applications are not operated by the user.
If one of the hidden running applications is the target of user input from the input unit 10, the sound control module 450 removes the sound control associated with that application, and the output unit 30 does not output a preset sound. If none of the hidden running applications is the target of user input from the input unit 10, it is determined that the current active window has not changed, and the electronic device 1 maintains the current sound controls. Therefore, the application recognition system 400 controls the sound output unit 30 to output different sounds corresponding to different hidden running applications.
For example, when “B” application is the target of user input from the input unit 10, both “A” and “C” applications are hidden, the sound control module 450 does not output the second preset song, and instead outputs the first and third preset songs every two preset time periods.
In step S32, the application determination module 420 determines whether or not at least one application is running.
In step S33, if at least one application is running, the status determination module 430 determines whether or not there are one or more hidden running applications. If there are no applications running, the procedure ends.
In step S34, if there are one or more hidden running applications, the sound acquiring module 440 acquires a sound control instruction associated with each of the hidden running applications from the storage unit 50. If there is none hidden application, it is determined that only one application is running, the procedure ends.
In step S35, the sound control module 450 performs a sound control operation and controls the sound output unit 30 to output a preset sound every preset time period based on the sound control instruction.
In step S36, the status determination module 430 further determines whether or not one of the hidden running applications is the target of user input from the input unit 10.
In step S37, if one of the hidden running applications is the target of user input from the input unit 10, the sound control module 450 removes the sound control operation of that application and performs sound control operations for the remaining hidden running applications and the previous application in the active window. If none of the hidden running applications is the target of user input from the input unit 10, the electronic device 1 maintains the current sound control operations and the procedure ends.
Although the present disclosure has been specifically described on the basis of the exemplary embodiment thereof, the disclosure is not to be construed as being limited thereto. Various changes or modifications may be made to the embodiment without departing from the scope and spirit of the disclosure.
| Number | Date | Country | Kind |
|---|---|---|---|
| 201210307887X | Aug 2012 | CN | national |