Embodiment
In order more at large to understand feature and the technology contents of the embodiment of the present invention, below in conjunction with accompanying drawing, the realization of the embodiment of the present invention is described in detail, the use of appended accompanying drawing explanation only for reference, is not used for limiting the embodiment of the present invention.
Fig. 1 is the schematic flow sheet of the information processing method of the embodiment of the present invention one, and the information processing method in this example is applied in the electronic equipment with touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 1, described information processing method comprises the following steps:
Step 101: the number K that detects the application of described electronic equipment operation.
Here, K is that positive integer and K are less than or equal to N.
In the present embodiment, the application of electronic equipment operation can be the application carrying in electronic apparatus system, and for example, clock application, camera applications etc., can be also that the third party who is arranged by user applies, for example, and micro-letter application, game application etc.
Usually, whole application is shown in by the form of icon list on the desktop of electronic equipment, a corresponding icon of application, can start corresponding application by touch-control icon, in the time that application is activated by the way, described application will be shown on the display screen of electronic equipment by the mode of full screen window.
In the embodiment of the present invention, application is the application of supporting that wicket shows, and in the time starting described application through but not limited to following mode, described application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket;
Wherein, the mode that starts described application can be: in advance application is added in multi-window managing interface, so that described application supports wicket to show; Multi-window managing interface can be applied corresponding icon with multi-window managing by startup and be shown; While starting application by multi-window managing interface, application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket.
Based on this, when user starts multiple application by multiple wickets, owing to being subject to the restriction of system resource, electronic equipment can not guarantee that the application of all startups all can normally move, first the embodiment of the present invention detects the number of the application of described electronic equipment operation, the number that obtains the application of electronic equipment operation is K, particularly, and can be by the number of the application of the application manager detected electrons equipment operation in electronic equipment.
In the present embodiment, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets; For example, the first parameter can realize by the first matrix, utilizes described the first matrix to convert the full screen window of described application, can pass through formula (1a) and realize:
Wherein,Represent the coordinate vector of wicket, x2for the horizontal ordinate of wicket, y2for the ordinate of wicket, z2general default setting is 1;
M represents the first matrix, the matrix that the first matrix is 3 × 3, Mijthe element that represents the capable j row of i in the first matrix, i value is 1,2,3; J value is 1,2,3;
Represent the coordinate vector of full screen window, x1for the horizontal ordinate of full screen window, y1for the ordinate of full screen window, z1general default setting is 1;
While full screen window being carried out to scale transformation by formula (1a), can be by Mijin 4 elements arrange as follows: M11=α, M12=0, M21=0, M22=β, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1a), draw formula (2a):
x2=α×x1 (2a)
y2=β×y1
Wherein, α is horizontal ordinate zooming parameter, and β is ordinate zooming parameter.
While full screen window being rotated to conversion by formula (1a), can be by Mijin 4 elements arrange as follows: M11=cos θ, M12=sin θ, M21=-sin θ, M22=cos θ, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1a), draw formula (3a):
x2=cosθ×x1+sinθ×y1 (3a)
y2=-sinθ×x1+cosθ×y1
Wherein, θ is the anglec of rotation.
Utilize described the first matrix to carry out translation transformation to the full screen window of described application, can pass through formula (4a) and realize:
While full screen window being carried out to translation transformation by formula (4a), can be by Mijin 3 elements arrange as follows: M11=a, M21=b, M31=0, so, can, by the above-mentioned parameter of setting is brought in formula (4a), draw formula (5a):
x2=a+x1 (5a)
y2=b+y1
Wherein, a is horizontal ordinate translation parameters, and b is ordinate translation parameters.
Step 102: whether the number K that judges described application is more than or equal to the first predetermined threshold value, obtains the first judged result.
Here, the first predetermined threshold value is the maximum number of the described electronic equipment application that can normally move, can, by user according to the actual conditions of electronic equipment, as software and hardware configuration arranges, also can in the time that dispatching from the factory, electronic equipment be arranged by the production firm of electronic equipment.
Whether the number K applying by judgement is more than or equal to the first predetermined threshold value, and whether the number of determining the application of current operation exceedes the maximum number of the application that described electronic equipment can normally move.When the maximum number that outnumbers the application that described electronic equipment can normally move of the application of current operation, the K of a current operation application normally operation simultaneously, carries out following steps 103.
Step 103: in the time that described the first judged result shows that the number K of described application is more than or equal to the first predetermined threshold value, select L application according to default priority policy from K application of described electronic equipment operation.
Here, L is that positive integer and L are less than K.
In the embodiment of the present invention, the number K based on described the first predetermined threshold value and described application, determines described L value.For example, when the first predetermined threshold value is 10, also the maximum number that is the electronic equipment application that can normally move is 10 o'clock, the number K of application is 14, L gets 4, certainly also can get as required 5, to ensure that the number of L of selection other application outside application is less than or equal to the maximum number of the application that electronic equipment can normally move.
In this example, user can set in advance priority policy in described electronic equipment, and priority policy is divided K application according to the height of priority level, and L that from K application, selects is applied as the application that priority is lower.
Step 104: the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
Particularly, detect described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.So, can discharge the operation resource of L application, all can normally move with all application that ensure current operation, ensure the normal operation of the operating system of described electronic equipment simultaneously.
Fig. 2 is the schematic flow sheet of the information processing method of the embodiment of the present invention two, and the information processing method in this example is applied in the electronic equipment with touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 2, described information processing method comprises the following steps:
Step 201: the number K that detects the application of described electronic equipment operation.
Here, K is that positive integer and K are less than or equal to N.
In the present embodiment, the application of electronic equipment operation can be the application carrying in electronic apparatus system, and for example, clock application, camera applications etc., can be also that the third party who is arranged by user applies, for example, and micro-letter application, game application etc.
Usually, whole application is shown in by the form of icon list on the desktop of electronic equipment, a corresponding icon of application, can start corresponding application by touch-control icon, in the time that application is activated by the way, described application will be shown on the display screen of electronic equipment by the mode of full screen window.
In the embodiment of the present invention, application is the application of supporting that wicket shows, and in the time starting described application through but not limited to following mode, described application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket;
Wherein, the mode that starts described application can be: in advance application is added in multi-window managing interface, so that described application supports wicket to show; Multi-window managing interface can be applied corresponding icon with multi-window managing by startup and be shown; While starting application by multi-window managing interface, application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket.
Based on this, when user starts multiple application by multiple wickets, owing to being subject to the restriction of system resource, electronic equipment can not guarantee that the application of all startups all can normally move, first the embodiment of the present invention detects the number of the application of described electronic equipment operation, the number that obtains the application of electronic equipment operation is K, particularly, and can be by the number of the application of the application manager detected electrons equipment operation in electronic equipment.
In the present embodiment, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets; For example, the first parameter can realize by the first matrix, utilizes described the first matrix to convert the full screen window of described application, can pass through formula (1b) and realize:
Wherein,Represent the coordinate vector of wicket, x2for the horizontal ordinate of wicket, y2for the ordinate of wicket, z2general default setting is 1;
M represents the first matrix, the matrix that the first matrix is 3 × 3, Mijthe element that represents the capable j row of i in the first matrix, i value is 1,2,3; J value is 1,2,3;Represent the coordinate vector of full screen window, x1for the horizontal ordinate of full screen window, y1for the ordinate of full screen window, z1general default setting is 1;
While full screen window being carried out to scale transformation by formula (1b), can be by Mijin 4 elements arrange as follows: M11=α, M12=0, M21=0, M22=β, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1b), draw formula (2b):
x2=α×x1 (2b)
y2=β×y1
Wherein, α is horizontal ordinate zooming parameter, and β is ordinate zooming parameter.
While full screen window being rotated to conversion by formula (1b), can be by Mijin 4 elements arrange as follows: M11=cos θ, M12=sin θ, M21=-sin θ, M22=cos θ, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1b), draw formula (3b):
x2=cosθ×x1+sinθ×y1 (3b)
y2=-sinθ×x1+cosθ×y1
Wherein, θ is the anglec of rotation.
Utilize described the first matrix to carry out translation transformation to the full screen window of described application, can pass through formula (4b) and realize:
While full screen window being carried out to translation transformation by formula (4b), can be by Mijin 3 elements arrange as follows: M11=a, M21=b, M31=0, so, can, by the above-mentioned parameter of setting is brought in formula (4b), draw formula (5b):
x2=a+x1 (5b)
y2=b+y1
Wherein, a is horizontal ordinate translation parameters, and b is ordinate translation parameters.
Step 202: whether the number K that judges described application is more than or equal to the first predetermined threshold value, obtains the first judged result.
Here, the first predetermined threshold value is the maximum number of the described electronic equipment application that can normally move, can, by user according to the actual conditions of electronic equipment, as software and hardware configuration arranges, also can in the time that dispatching from the factory, electronic equipment be arranged by the production firm of electronic equipment.
Whether the number K applying by judgement is more than or equal to the first predetermined threshold value, and whether the number of determining the application of current operation exceedes the maximum number of the application that described electronic equipment can normally move.When the maximum number that outnumbers the application that described electronic equipment can normally move of the application of current operation, the K of a current operation application normally operation simultaneously, carries out following steps 203.
Step 203: for each application of described K application, judge the type of described application, obtain the second judged result.
Here, the type of described application is used for characterizing described application and whether moves video data and/or voice data.
For example, apply current just in the time of playing video data and/or voice data, although user for a long time not this application carry out alternately, but user wishes to keep the normal operation of this class application, therefore, the priority of this type of application is higher, when select L application from K application time, need to get rid of the application that this type of priority is higher.
Step 204: in the time that described the second judged result shows that the type of described application is the first kind, be applied as low priority applications described in determining.
Here, the first kind yet i.e. application is not moved video data and/or voice data, and this type of is applied as low priority applications.
Here, the number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K.
Step 205: select L application according to default priority policy from described M application.
Here, L is that positive integer and L are less than K.Preferably, L is less than M.
In the embodiment of the present invention, the number K based on described the first predetermined threshold value and described application, determines described L value.For example, when the first predetermined threshold value is 20, also the maximum number that is the electronic equipment application that can normally move is 20 o'clock, the number K of application is 14, L gets 4, certainly also can get as required 5, to ensure that the number of L of selection other application outside application is less than or equal to the maximum number of the application that electronic equipment can normally move.
In this example, user can set in advance priority policy in described electronic equipment, and priority policy is divided M application according to the height of priority level, and L that from M application, selects is applied as the application that priority is lower.
Step 206: the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
Particularly, detect described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.So, can discharge the operation resource of L application, all can normally move with all application that ensure current operation, ensure the normal operation of the operating system of described electronic equipment simultaneously.
Fig. 3 is the schematic flow sheet of the information processing method of the embodiment of the present invention three, and the information processing method in this example is applied in the electronic equipment with touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 3, described information processing method comprises the following steps:
Step 301: the number K that detects the application of described electronic equipment operation.
Here, K is that positive integer and K are less than or equal to N.
In the present embodiment, the application of electronic equipment operation can be the application carrying in electronic apparatus system, and for example, clock application, camera applications etc., can be also that the third party who is arranged by user applies, for example, and micro-letter application, game application etc.
Usually, whole application is shown in by the form of icon list on the desktop of electronic equipment, a corresponding icon of application, can start corresponding application by touch-control icon, in the time that application is activated by the way, described application will be shown on the display screen of electronic equipment by the mode of full screen window.
In the embodiment of the present invention, application is the application of supporting that wicket shows, and in the time starting described application through but not limited to following mode, described application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket;
Wherein, the mode that starts described application can be: in advance application is added in multi-window managing interface, so that described application supports wicket to show; Multi-window managing interface can be applied corresponding icon with multi-window managing by startup and be shown; While starting application by multi-window managing interface, application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket.
Based on this, when user starts multiple application by multiple wickets, owing to being subject to the restriction of system resource, electronic equipment can not guarantee that the application of all startups all can normally move, first the embodiment of the present invention detects the number of the application of described electronic equipment operation, the number that obtains the application of electronic equipment operation is K, particularly, and can be by the number of the application of the application manager detected electrons equipment operation in electronic equipment.
In the present embodiment, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets; For example, the first parameter can realize by the first matrix, utilizes described the first matrix to convert the full screen window of described application, can pass through formula (1c) and realize:
Wherein,Represent the coordinate vector of wicket, x2for the horizontal ordinate of wicket, y2for the ordinate of wicket, z2general default setting is 1;
M represents the first matrix, the matrix that the first matrix is 3 × 3, Mijthe element that represents the capable j row of i in the first matrix, i value is 1,2,3; J value is 1,2,3;
Represent the coordinate vector of full screen window, x1for the horizontal ordinate of full screen window, y1for the ordinate of full screen window, z1general default setting is 1;
While full screen window being carried out to scale transformation by formula (1c), can be by Mijin 4 elements arrange as follows: M11=α, M12=0, M21=0, M22=β, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1c), draw formula (2c):
x2=α×x1 (2c)
y2=β×y1
Wherein, α is horizontal ordinate zooming parameter, and β is ordinate zooming parameter.
While full screen window being rotated to conversion by formula (1c), can be by Mijin 4 elements arrange as follows: M11=cos θ, M12=sin θ, M21=-sin θ, M22=cos θ, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1c), draw formula (3c):
x2=cosθ×x1+sinθ×y1 (3c)
y2=-sinθ×x1+cosθ×y1
Wherein, θ is the anglec of rotation.
Utilize described the first matrix to carry out translation transformation to the full screen window of described application, can pass through formula (4c) and realize:
While full screen window being carried out to translation transformation by formula (4c), can be by Mijin 3 elements arrange as follows: M11=a, M21=b, M31=0, so, can, by the above-mentioned parameter of setting is brought in formula (4c), draw formula (5c):
x2=a+x1 (5c)
y2=b+y1
Wherein, a is horizontal ordinate translation parameters, and b is ordinate translation parameters.
Step 302: whether the number K that judges described application is more than or equal to the first predetermined threshold value, obtains the first judged result.
Here, the first predetermined threshold value is the maximum number of the described electronic equipment application that can normally move, can, by user according to the actual conditions of electronic equipment, as software and hardware configuration arranges, also can in the time that dispatching from the factory, electronic equipment be arranged by the production firm of electronic equipment.
Whether the number K applying by judgement is more than or equal to the first predetermined threshold value, and whether the number of determining the application of current operation exceedes the maximum number of the application that described electronic equipment can normally move.When the maximum number that outnumbers the application that described electronic equipment can normally move of the application of current operation, the K of a current operation application normally operation simultaneously, carries out followingsteps 303.
Step 303: for each application of described K application, judge the type of described application, obtain the second judged result.
Here, the type of described application is used for characterizing described application and whether moves video data and/or voice data.
For example, apply current just in the time of playing video data and/or voice data, although user for a long time not this application carry out alternately, but user wishes to keep the normal operation of this class application, therefore, the priority of this type of application is higher, when select L application from K application time, need to get rid of the application that this type of priority is higher.
Step 304: in the time that described the second judged result shows that the type of described application is the first kind, be applied as low priority applications described in determining.
Here, the first kind yet i.e. application is not moved video data and/or voice data, and this type of is applied as low priority applications.
Here, the number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K.
Step 305: M that adds up described electronic equipment operation is applied in the mutual frequency that receives interactive operation in predetermined period, obtains M frequency of interaction.
Particularly, all corresponding frequency of interaction of each application, within the T period, user is mutual n time with application A, and applying the frequency of interaction of A within the T period is n/T.
Step 306: M frequency of interaction of described M application carried out to size sequence, and determine L frequency of interaction from a described M frequency of interaction.
Here, a described L frequency of interaction is all less than or equal to other frequency of interaction except a described L frequency of interaction in a described M frequency of interaction.
For example, M is that 5, L is 2 o'clock, and 5 frequency of interaction of 5 application are respectively 8(A), 9(B), 10(C), 6(D), 2(E), 5 frequency of interaction are carried out to size sequence, obtain 2(E), 6(D), 8(A), 9(B), 10(C); In these 5 frequency of interaction, 2 lower frequency of interaction are 2(E), 6(D); 2 application that these 2 frequency of interaction are corresponding are respectively application E and application D.
Step 307: determine L the application corresponding with a described L frequency of interaction.
Here, L is that positive integer and L are less than K.Preferably, L is less than M.
In the embodiment of the present invention, the number K based on described the first predetermined threshold value and described application, determines described L value.For example, when the first predetermined threshold value is 30, also the maximum number that is the electronic equipment application that can normally move is 30 o'clock, the number K of application is 14, L gets 4, certainly also can get as required 5, to ensure that the number of L of selection other application outside application is less than or equal to the maximum number of the application that electronic equipment can normally move.
In this example, user can set in advance priority policy in described electronic equipment, and priority policy is divided M application according to the height of priority level, and L that from M application, selects is applied as the application that priority is lower.
Step 308: the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
Particularly, detect described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.So, can discharge the operation resource of L application, all can normally move with all application that ensure current operation, ensure the normal operation of the operating system of described electronic equipment simultaneously.
Fig. 4 is the schematic flow sheet of the information processing method of the embodiment of the present invention four, and the information processing method in this example is applied in the electronic equipment with touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 4, described information processing method comprises the following steps:
Step 401: the number K that detects the application of described electronic equipment operation.
Here, K is that positive integer and K are less than or equal to N.
In the present embodiment, the application of electronic equipment operation can be the application carrying in electronic apparatus system, and for example, clock application, camera applications etc., can be also that the third party who is arranged by user applies, for example, and micro-letter application, game application etc.
Usually, whole application is shown in by the form of icon list on the desktop of electronic equipment, a corresponding icon of application, can start corresponding application by touch-control icon, in the time that application is activated by the way, described application will be shown on the display screen of electronic equipment by the mode of full screen window.
In the embodiment of the present invention, application is the application of supporting that wicket shows, and in the time starting described application through but not limited to following mode, described application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket;
Wherein, the mode that starts described application can be: in advance application is added in multi-window managing interface, so that described application supports wicket to show; Multi-window managing interface can be applied corresponding icon with multi-window managing by startup and be shown; While starting application by multi-window managing interface, application will be shown on the demonstration touch control unit of electronic equipment by the mode of wicket.
Based on this, when user starts multiple application by multiple wickets, owing to being subject to the restriction of system resource, electronic equipment can not guarantee that the application of all startups all can normally move, first the embodiment of the present invention detects the number of the application of described electronic equipment operation, the number that obtains the application of electronic equipment operation is K, particularly, and can be by the number of the application of the application manager detected electrons equipment operation in electronic equipment.
In the present embodiment, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets; For example, the first parameter can realize by the first matrix, utilizes described the first matrix to convert the full screen window of described application, can pass through formula (1d) and realize:
Wherein,Represent the coordinate vector of wicket, x2for the horizontal ordinate of wicket, y2for the ordinate of wicket, z2general default setting is 1;
M represents the first matrix, the matrix that the first matrix is 3 × 3, Mijthe element that represents the capable j row of i in the first matrix, i value is 1,2,3; J value is 1,2,3;
Represent the coordinate vector of full screen window, x1for the horizontal ordinate of full screen window, y1for the ordinate of full screen window, z1general default setting is 1;
While full screen window being carried out to scale transformation by formula (1d), can be by Mijin 4 elements arrange as follows: M11=α, M12=0, M21=0, M22=β, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1d), draw formula (2d):
x2=α×x1 (2d)
y2=β×y1
Wherein, α is horizontal ordinate zooming parameter, and β is ordinate zooming parameter.
While full screen window being rotated to conversion by formula (1d), can be by Mijin 4 elements arrange as follows: M11=cos θ, M12=sin θ, M21=-sin θ, M22=cos θ, other 5 elements can arrange arbitrarily, so, can, by the above-mentioned parameter of setting is brought in formula (1d), draw formula (3d):
x2=cosθ×x1+sinθ×y1 (3d)
y2=-sinθ×x1+cosθ×y1
Wherein, θ is the anglec of rotation.
Utilize described the first matrix to carry out translation transformation to the full screen window of described application, can pass through formula (4d) and realize:
While full screen window being carried out to translation transformation by formula (4d), can be by Mijin 3 elements arrange as follows: M11=a, M21=b, M31=0, so, can, by the above-mentioned parameter of setting is brought in formula (4d), draw formula (5d):
x2=a+x1 (5d)
y2=b+y1
Wherein, a is horizontal ordinate translation parameters, and b is ordinate translation parameters.
Step 402: whether the number K that judges described application is more than or equal to the first predetermined threshold value, obtains the first judged result.
Here, the first predetermined threshold value is the maximum number of the described electronic equipment application that can normally move, can, by user according to the actual conditions of electronic equipment, as software and hardware configuration arranges, also can in the time that dispatching from the factory, electronic equipment be arranged by the production firm of electronic equipment.
Whether the number K applying by judgement is more than or equal to the first predetermined threshold value, and whether the number of determining the application of current operation exceedes the maximum number of the application that described electronic equipment can normally move.When the maximum number that outnumbers the application that described electronic equipment can normally move of the application of current operation, the K of a current operation application normally operation simultaneously, carries out followingsteps 403.
Step 403: for each application of described K application, judge the type of described application, obtain the second judged result.
Here, the type of described application is used for characterizing described application and whether moves video data and/or voice data.
For example, apply current just in the time of playing video data and/or voice data, although user for a long time not this application carry out alternately, but user wishes to keep the normal operation of this class application, therefore, the priority of this type of application is higher, when select L application from K application time, need to get rid of the application that this type of priority is higher.
Step 404: in the time that described the second judged result shows that the type of described application is the first kind, be applied as low priority applications described in determining.
Here, the first kind yet i.e. application is not moved video data and/or voice data, and this type of is applied as low priority applications.
Here, the number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K.
Step 405: for each application of described M application, obtain the mutual moment apart from current time the last time.
Particularly, in an all corresponding mutual moment apart from current time the last time of each application, the mutual moment of for example applying distance current time the last time of A is T1, and the mutual moment of distance current time the last time of application B is T2.
Step 406: the mutual moment of the M of described M application is sorted in chronological order, and determine L mutual moment from described M mutual moment.
Here, described L mutual moment is all early than other mutual moment except described L mutual moment in described M mutual moment.
For example, M is that 5, L is 2 o'clock, and 5 mutual moment of 5 application are respectively T3(A), T7(B), T2(D), T22(D), T5(E), 5 frequency of interaction are carried out to size sequence, obtain T22(D), T7(B), T5(E), T3(A), T2(D); In these 5 frequency of interaction, 2 mutual moment are the earliest T22(D), T7(B); 2 application that these 2 frequency of interaction are corresponding are respectively application D and application B.
Step 407: determine L the application corresponding with a described L frequency of interaction.
Here, L is that positive integer and L are less than K.Preferably, L is less than M.
In the embodiment of the present invention, the number K based on described the first predetermined threshold value and described application, determines described L value.For example, when the first predetermined threshold value is 40, also the maximum number that is the electronic equipment application that can normally move is 40 o'clock, the number K of application is 14, L gets 4, certainly also can get as required 5, to ensure that the number of L of selection other application outside application is less than or equal to the maximum number of the application that electronic equipment can normally move.
In this example, user can set in advance priority policy in described electronic equipment, and priority policy is divided M application according to the height of priority level, and L that from M application, selects is applied as the application that priority is lower.
Step 408: the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
Particularly, described L the thread that application is shared will be detected; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.So, can discharge the operation resource of L application, all can normally move with all application that ensure current operation, ensure the normal operation of the operating system of described electronic equipment simultaneously.
Fig. 5 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention one, and this electronic equipment has touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 5, described electronic equipment comprises: detecting unit 51, the first judging unit 52, selected cell 53, switch unit 54; Wherein,
Described detecting unit 51, the number K of the application moving for detection of described electronic equipment, K is that positive integer and K are less than or equal to N;
Whether described the first judging unit 52, be more than or equal to the first predetermined threshold value for the number K that judges described application, obtains the first judged result;
Described selected cell 53, for in the time that described the first judged result shows that the number K of described application is more than or equal to the first predetermined threshold value, from K application of described electronic equipment operation, select L application according to default priority policy, L is that positive integer and L are less than K;
Described switch unit 54, for the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
In such scheme, described switch unit 54, also for detection of described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.
In such scheme, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets.
The practical function that it will be appreciated by those skilled in the art that the each unit in the electronic equipment shown in Fig. 5 can be understood with reference to the associated description of aforementioned information disposal route.
Fig. 6 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention two, and this electronic equipment has touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 6, described electronic equipment comprises: detecting unit 61, the first judging unit 62, selected cell 63, switch unit 64; Wherein,
Described detecting unit 61, the number K of the application moving for detection of described electronic equipment, K is that positive integer and K are less than or equal to N;
Whether described the first judging unit 62, be more than or equal to the first predetermined threshold value for the number K that judges described application, obtains the first judged result;
Described selected cell 63, for in the time that described the first judged result shows that the number K of described application is more than or equal to the first predetermined threshold value, from K application of described electronic equipment operation, select L application according to default priority policy, L is that positive integer and L are less than K;
Described switch unit 64, for the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
In such scheme, described switch unit 64, also for detection of described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.
In such scheme, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets.
Preferably, described selected cell 63 comprises: judgment sub-unit 631, determine subelement 632, chooser unit 633; Wherein,
Described judgment sub-unit 631, for each application for described K application, judges the type of described application, obtains the second judged result;
Described definite subelement 632, in the time that described the second judged result shows that the type of described application is the first kind, is applied as low priority applications described in determining; The number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K;
Described chooser unit 633, for selecting L application according to default priority policy from described M application, so that the running status of described L application is switched to the second state by the first state.
It will be appreciated by those skilled in the art that each unit in the electronic equipment shown in Fig. 6 and the practical function of subelement thereof can understand with reference to the associated description of aforementioned information disposal route.
Fig. 7 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention three, and this electronic equipment has touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 7, described electronic equipment comprises: detecting unit 71, the first judging unit 72, selected cell 73, switch unit 74; Wherein,
Described detecting unit 71, the number K of the application moving for detection of described electronic equipment, K is that positive integer and K are less than or equal to N;
Whether described the first judging unit 72, be more than or equal to the first predetermined threshold value for the number K that judges described application, obtains the first judged result;
Described selected cell 73, for in the time that described the first judged result shows that the number K of described application is more than or equal to the first predetermined threshold value, from K application of described electronic equipment operation, select L application according to default priority policy, L is that positive integer and L are less than K;
Described switch unit 74, for the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
In such scheme, described switch unit 74, also for detection of described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.
In such scheme, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets.
Preferably, described selected cell 73 comprises: judgment sub-unit 731, determine subelement 732, chooser unit 733; Wherein,
Described judgment sub-unit 731, for each application for described K application, judges the type of described application, obtains the second judged result;
Described definite subelement 732, in the time that described the second judged result shows that the type of described application is the first kind, is applied as low priority applications described in determining; The number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K;
Described chooser unit 733, for selecting L application according to default priority policy from described M application, so that the running status of described L application is switched to the second state by the first state.
Preferably, described chooser unit 733 comprises: statistical module 7341, the first order module 7342, the first determination module 7343, the second determination module 7344; Wherein,
Described statistical module 7341, is applied in for M of adding up described electronic equipment operation the mutual frequency that receives interactive operation in predetermined period, obtains M frequency of interaction;
Described the first order module 7342, for carrying out size sequence to M frequency of interaction of described M application;
Described the first determination module 7343, for determining L frequency of interaction from a described M frequency of interaction, a described L frequency of interaction is all less than or equal to other frequency of interaction except a described L frequency of interaction in a described M frequency of interaction;
Described the second determination module 7344, for determining L the application corresponding with a described L frequency of interaction.
It will be appreciated by those skilled in the art that each unit in the electronic equipment shown in Fig. 7 and the practical function of subelement thereof can understand with reference to the associated description of aforementioned information disposal route.
Fig. 8 is the structure composition schematic diagram of the electronic equipment of the embodiment of the present invention four, and this electronic equipment has touch-display unit, and described electronic equipment can move N application, and N is positive integer; While starting described application by destination object corresponding to described application, the described application starting can be shown in described touch-display unit by wicket; The viewing area of described wicket is less than the viewing area of the full screen window of described application, and described wicket is converted and obtains described full screen window by the first conversion parameter; As shown in Figure 8, described electronic equipment comprises: detecting unit 81, the first judging unit 82, selected cell 83, switch unit 84; Wherein,
Described detecting unit 81, the number K of the application moving for detection of described electronic equipment, K is that positive integer and K are less than or equal to N;
Whether described the first judging unit 82, be more than or equal to the first predetermined threshold value for the number K that judges described application, obtains the first judged result;
Described selected cell 83, for in the time that described the first judged result shows that the number K of described application is more than or equal to the first predetermined threshold value, from K application of described electronic equipment operation, select L application according to default priority policy, L is that positive integer and L are less than K;
Described switch unit 84, for the running status of described L application is switched to the second state by the first state, so that described electronic equipment discharges operation resource.
In such scheme, described switch unit 84, also for detection of described L the thread that application is shared; Close described L the thread that application is shared, so that described electronic equipment discharges described L the operation resource that application is shared.
In such scheme, described the first conversion parameter be at least following one of them: parameter, matrix, parameter group, parameter sets.
Preferably, described selected cell 83 comprises: judgment sub-unit 831, determine subelement 832, chooser unit 833; Wherein,
Described judgment sub-unit 831, for each application for described K application, judges the type of described application, obtains the second judged result;
Described definite subelement 832, in the time that described the second judged result shows that the type of described application is the first kind, is applied as low priority applications described in determining; The number of the described low priority applications in described K application is M, and M is that positive integer and M are less than or equal to K;
Described chooser unit 833, for selecting L application according to default priority policy from described M application, so that the running status of described L application is switched to the second state by the first state.
Preferably, described chooser unit 833 comprises: acquisition module 8331, the second order module 8332, the 3rd determination module 8333, the 4th determination module 8334; Wherein,
Described acquisition module 8331, for each application for described M application, obtains the mutual moment apart from current time the last time;
Described the second order module 8332, for sorting in chronological order to the M of described M application mutual moment;
Described the 3rd determination module 8333, for determining L mutual moment from described M mutual moment, described L mutual moment is all early than other mutual moment except described L mutual moment in described M mutual moment;
Described the 4th determination module 8334, for determining L the application corresponding with the individual mutual moment of described L.
It will be appreciated by those skilled in the art that each unit in the electronic equipment shown in Fig. 8 and the practical function of subelement thereof can understand with reference to the associated description of aforementioned information disposal route.
In the several embodiment that provide in the application, should be understood that disclosed equipment and method can realize by another way.Apparatus embodiments described above is only schematic, for example, the division of described unit, be only that a kind of logic function is divided, when actual realization, can there is other dividing mode, as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features can ignore, or do not carry out.In addition, the coupling each other of shown or discussed each ingredient or direct-coupling or communication connection can be by some interfaces, and the indirect coupling of equipment or unit or communication connection can be electrical, machinery or other form.
The above-mentioned unit as separating component explanation can or can not be also physically to separate, and the parts that show as unit can be or can not be also physical locations, can be positioned at a place, also can be distributed in multiple network element; Can select according to the actual needs part or all of unit wherein to realize the object of the present embodiment scheme.
In addition, the each functional unit in various embodiments of the present invention can all be integrated in a processing unit, can be also that each unit is distinguished separately as a unit, also can be integrated in a unit two or more unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, and the form that also can adopt hardware to add SFU software functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can complete by the relevant hardware of programmed instruction, aforesaid program can be stored in a computer read/write memory medium, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, ROM (read-only memory) (ROM, Read Only Memory), magnetic disc or CDs.
Or, if the above-mentioned integrated unit of the present invention is realized and during as production marketing independently or use, also can be stored in a computer read/write memory medium using the form of software function module.Based on such understanding, the part that the technical scheme of the embodiment of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in a storage medium, comprises that some instructions are in order to make a computer equipment (can be personal computer, server or the network equipment etc.) carry out all or part of of method described in the present invention each embodiment.And aforesaid storage medium comprises: various media that can be program code stored such as movable storage device, ROM (read-only memory) (ROM, Read Only Memory), magnetic disc or CDs.
The above; be only the specific embodiment of the present invention, but protection scope of the present invention is not limited to this, any be familiar with those skilled in the art the present invention disclose technical scope in; can expect easily changing or replacing, within all should being encompassed in protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection domain of described claim.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.