CN107589988A - Control method, device and the computer-readable storage medium of application function - Google Patents
Control method, device and the computer-readable storage medium of application function Download PDFInfo
- Publication number
- CN107589988A CN107589988A CN201710757501.8A CN201710757501A CN107589988A CN 107589988 A CN107589988 A CN 107589988A CN 201710757501 A CN201710757501 A CN 201710757501A CN 107589988 A CN107589988 A CN 107589988A
- Authority
- CN
- China
- Prior art keywords
- function
- application
- music
- music application
- use pattern
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Electrophonic Musical Instruments (AREA)
Abstract
The invention discloses a kind of control method of application function, including:The use pattern of music application is determined, the use pattern is used to represent user's corresponding usage scenario when applying using the music;According to the use pattern of determination, each function of the music application corresponding use state under the use pattern is determined;According to the use state of determination, each function of the music application is controlled to be turned on and off.The present invention further simultaneously discloses the control device and computer-readable storage medium of a kind of application function.
Description
Technical field
The present invention relates to field of terminal technology, more particularly to a kind of control method of application function, device and computer to deposit
Storage media.
Background technology
In order to meet a variety of use demands of user, in addition to providing basic function, many applications can also be user
The additional function of a variety of other sides and a variety of easily operating methods are provided.For example for, existing sound
Happy APP (Application) except it is basic listen song function in addition to, also provided the user the function of a variety of other sides and each
The different easily operating method of kind.For example user by way of " shaking ", can realize the switching of song.But due to existing
With the presence of music APP " shaking " cut the possibility of song maloperation, in correlation technique, user needs the manual-lock function ability
Maloperation is avoided, so as to influence the usage experience of user.
The content of the invention
To solve the problems, such as that prior art is present, a kind of control method of application function of expectation offer of the embodiment of the present invention,
Device and computer-readable storage medium, some functions in applying can be avoided to be opened in the case where not meeting currently used pattern
Situation occur, and then reduce thus caused maloperation.
What the technical scheme of the embodiment of the present invention was realized in:
The embodiments of the invention provide a kind of control method of application function, methods described includes:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music
Using when corresponding usage scenario;
According to the use pattern of determination, determine that each function of the music application is corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
In such scheme, the use pattern for determining music application includes:
Obtain the exercise data of user in the music application running;
By the exercise data got reference motion data progress corresponding with the various use patterns pre-set
Match somebody with somebody, obtain matching result;
The use pattern of the music application is determined according to matching result.
In such scheme, the use pattern for determining music application includes:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association,
Determine the use pattern of first application;
By first use pattern applied, the use pattern as music application.
In such scheme, before the use pattern for determining music application, methods described also includes:
Set each function of the music application is corresponding under the various use patterns pre-set to use shape
State.
In such scheme, each function of setting the music application is in the various use patterns pre-set
Use state corresponding to lower includes:
Record history of each function of the music application under the various use patterns pre-set and use shape
State;
According to the history use state of record, determine that user broadcasts under the various use patterns pre-set to the music
Put the use habit of each function of application;
According to the use habit, each function of the music application is set various to use mould what is pre-set
Corresponding use state under formula.
The embodiment of the present invention additionally provides a kind of control device of application function, and described device includes:Processor, Yi Jiyong
In the memory for the computer program that storage can be run on a processor;Wherein,
The processor, during for running the computer program, perform:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music
Using when corresponding usage scenario;
According to the use pattern of determination, determine that each function of the music application is corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
In such scheme, the processor, during for running the computer program, perform:
Obtain the exercise data of user in the music application running;
By the exercise data got reference motion data progress corresponding with the various use patterns pre-set
Match somebody with somebody, obtain matching result;
The use pattern of the music application is determined according to matching result.
In such scheme, the processor, when being additionally operable to run the computer program, perform:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association,
Determine the use pattern of first application;
By first use pattern applied, the use pattern as music application.
In such scheme, the processor, when being additionally operable to run the computer program, perform:
Before the use pattern for determining music application, each function of the music application is set to be set in advance
Corresponding use state under the various use patterns put.
In such scheme, the processor, during for running the computer program, perform:
Record history of each function of the music application under the various use patterns pre-set and use shape
State;
According to the history use state of record, determine that user broadcasts under the various use patterns pre-set to the music
Put the use habit of each function of application;
According to the use habit, each function of the music application is set various to use mould what is pre-set
Corresponding use state under formula.
The embodiment of the present invention additionally provides a kind of control device of application function, and described device includes:First determining module,
Second determining module and control module;Wherein,
First determining module, for determining the use pattern of music application, the use pattern is used to represent
User's corresponding usage scenario when being applied using the music;
Second determining module, for the use pattern according to determination, determine each work(that the music is applied
Can under the use pattern corresponding use state;
The control module, for the use state according to determination, control each function of the music application
It is turned on and off.
The embodiment of the present invention additionally provides a kind of computer-readable storage medium, and calculating is stored with the computer-readable storage medium
Machine executable instruction, the computer executable instructions computer program realize application function of the present invention when being executed by processor
Control method.
It can be seen that the use pattern that the embodiment of the present invention is applied by determining music;And according to the use pattern of determination,
Each function of music application corresponding use state under the use pattern is determined, so as to according to determination
Use state, control each function of music application to be turned on and off.
The control program of application function provided in an embodiment of the present invention, the use pattern that can be applied according to music,
Automatically each function of the music application is turned off or on.On the one hand, the use mould applied by detecting music
Formula, it can be determined that whether each function of the music application allows to use under the use pattern;When it is determined that the sound
Some functions be present in happy broadcasting application is not allowed in use, closing these work(for not allowing to use under the use pattern
Can, so as to avoid the situation that some functions are opened in the case where not meeting currently used pattern during music is applied
Occur, and then can avoid, because application function and use pattern are not inconsistent and cause the situation of maloperation to occur, being greatly enhanced
The usage experience of user.On the other hand, each function of being applied by turning off or on the music automatically, so as to not
The operation for needing user actively to be turned off or on to each function of music application, reduces operating procedure.
Brief description of the drawings
Fig. 1 is the implementation process schematic diagram of the control method embodiment one of application function of the present invention;
Fig. 2 is one of specific implementation flow chart of use pattern that music application is determined in implementation process shown in Fig. 1;
Fig. 3 is the two of the specific implementation flow chart for the use pattern that music application is determined in implementation process shown in Fig. 1;
Fig. 4 is the composition structural representation of the control device embodiment one of application function of the present invention;
Fig. 5 is the composition structural representation of the control device embodiment two of application function of the present invention;
Fig. 6 is one of composition structural representation of the first determining module in Fig. 5 described devices;
Fig. 7 is two of the composition structural representation of the first determining module in Fig. 5 described devices.
Embodiment
It is can be seen that from the description of background technology in order to meet a variety of use demands of people, APP is realizing operation readiness
While easily there is maloperation.
For example for, for music APP, except provide it is basic listen song function in addition to, additionally it is possible to provide with listening song phase
Other functions of pass and easily operating method.By taking " cutting song " this function as an example, existing music APP is just provided the user
A variety of modes of operation that can be realized, user can be by way of line traffic control, such as passes through the shortcut on earphone, realizes song
Bent switching;Can also be by the control mode of somatosensory operation, such as by way of " shaking ", realize the switching of song.
In this fashion, user only needs to rock terminal, and the sensor of terminal will experience user to end
End is rocked, and carries out cutting song operation so as to trigger music APP.Carry out cutting song, user by the control mode of this somatosensory operation
Can be in the case where not arousing music APP operation interfaces, you can complete the switching of song, it might even be possible to do not waking up Mobile phone screen
In the case of curtain, you can complete the switching of song.
Although the music APP of correlation technique is realized by way of " shaking " cuts song function, one kind has been provided the user
Easily mode of operation;But this mode of operation can have some maloperations.For example, when user is with terminal edge
When song is listened on running side, if " shaking " that user opens music APP cuts song function, because terminal exists always during running
Rock, it is therefore possible to which music APP can be caused to carry out cutting song always, listen song so as to which the normal of user can be influenceed.In this feelings
Under condition, generally require user and suspend running, and manual-lock music APP " shaking " cuts song function.It is clear that this pass
Close " shaking " cut song function mode it is relatively complicated.Also, because in the music APP of correlation technique, " shaking " cuts song work(
The operational control for being turned on and off all relying on user of energy, therefore, when user can not be turned on and off the function in time,
The usage experience of meeting strong influence user.
To avoid user from turning off or on the work(that music APP is not allowed to use under specific use pattern in time
Can, and the operation follow-up to user is made troubles.For example, under music APP " motion " use pattern, user is not allow to make
Song function is cut with " shaking ", if user does not close the function in time in motion, music APP can be caused to exist always
Carry out cutting song, normally listen song under motion state so as to influence user.
Based on this, the embodiments of the invention provide a kind of control method of application function, this method can apply to terminal
In, by determining the use pattern of music application, and according to the use pattern of determination, determine the music application
Whether each function is allowed to use under the use pattern, for example, determine music application according to terminal
Whether the function that the attitudes vibration that attitude transducer detects carries out song switching is allowed to use under the use pattern;When
Attitudes vibration that the attitude transducer according to terminal detects carry out the function of song switching it is determined that use pattern under
Do not allow to close the work(that the attitudes vibration that the attitude transducer according to terminal detects carries out song switching in use, controlling
Energy.The situation of maloperation is caused to occur so as to avoid the function in being applied due to music and use pattern from not being inconsistent,
Drastically increase the usage experience of user.
The realization, functional characteristics and advantage of the object of the invention will be described further referring to the drawings in conjunction with the embodiments.Should
Understand, specific embodiment described herein is used only for explaining the present invention, is not intended to limit the present invention.
Fig. 1 is the implementation process schematic diagram of the control method embodiment one of application function of the present invention, shown in reference picture 1, this
The control method of the application function of embodiment comprises the following steps:
Step 101, the use pattern of music application is determined, the use pattern is used to represent user described in use
Corresponding usage scenario when music is applied;
Here, at least there is the attitudes vibration detected according to the attitude transducer of terminal to carry out for the music application
The function of song switching, the attitudes vibration represent that the inclination angle of terminal or azimuth are changed, when the posture of terminal is sent out
During changing, the attitude transducer is able to detect that the attitudes vibration of terminal, and the attitude transducer can be acceleration sensing
Device, Magnetic Sensor or gyroscope etc., in actual applications, the posture that the attitude transducer according to terminal detects become
The function of changing progress song switching can be that " shaking " cut song function.Certainly, the music also has other functions, example
Such as, the attitudes vibration detected according to the attitude transducer of terminal carries out the functions such as song fast forwarding or rewinding, in following implementation
In example, it " will be shaken " in music application exemplified by cutting song function, the method that this programme provides will be carried out specifically
It is bright.
During practical application, the music application should be currently running, i.e. music application should play song
It is bent.In addition, the use pattern of the music application, refers to:The use pattern that the music application is presently in;Example
Such as, the use pattern can include:The motor pattern used suitable for user motion process, is resting suitable for user
During the sleep pattern that uses etc..
The control method of application function in the present embodiment is mainly used in terminal, for realizing automatic pair with using mould
In the application of music that formula is not inconsistent " shake " cut song function and closed, or the automatic pair of music being consistent with use pattern is broadcast
Put in application " shake " cut song function and opened.
The terminal can be mobile phone, tablet device, notebook computer, guider, wearable device and Intelligent bracelet
Etc. mobile terminal equipment.The terminal includes music application, and the music application can be with music APP, the music
APP not only has basic playback of songs function, but also cuts song function with " shaking ".
Here, the use pattern can refer to use pattern of the user when being applied using music;For example, user
Run, working when user is applied using music and user is broadcast using music when being applied using music
When putting application just on road on and off duty etc..Therefore, user can flexibly set each according to oneself daily use habit
The different use pattern of kind, for example, the use pattern that music can be set to apply is:" work ", " on road on and off duty ",
" motion " and " rest " etc.;Therefore, it is corresponding when being applied using music to can be understood as user for the use pattern
Usage scenario.
Because use pattern of the user when being applied using music can often pass through the current limb motion feelings of user
Condition reflects;For example, user, when running, four limbs are larger with the slosh frequency and amplitude of trunk;User at work, four
The slosh frequency and amplitude of limb and trunk are smaller.And the limb motion situation of user can be gathered with passive movement sensor and obtained
, therefore, the terminal can include motion sensor, and the motion sensor is able to detect that the limb motion situation of user,
So as to enabling the terminals to according to the limb motion situation of user detected, identify user when being applied using music
Use pattern, and then determine the use pattern of music application.
As a kind of embodiment, Fig. 2 is the use pattern that music application is determined in implementation process shown in Fig. 1
One of flow chart is implemented, shown in reference picture 2, step 101 specifically includes following steps:
Step 1011, the exercise data of user in the music application running is obtained;
Here, terminal can gather user's in real time by motion sensor in the music application running
Exercise data, the exercise data can reflect the limb motion situation of user.For example, the exercise data be user in preset time
Vibration number in section, the preset time period can be configured according to being actually needed;In the present embodiment, will be with one hour
Example is described in detail.
In addition, during practical application, the motion sensor can be acceleration transducer or velocity sensor,
It can also be vibrating sensor.Certainly, in order to improve the precision of detection, the limb of multiple detection users can be included in terminal simultaneously
The sensor of body motion conditions;For example, acceleration transducer and vibrating sensor can be included in terminal simultaneously, can detect
Microvibration of the user when being applied using music, acceleration of the user when being applied using music is able to detect that again
Degree.
Step 1012, it is the exercise data collected is corresponding with the various use patterns pre-set with reference to motion number
According to being matched, matching result is obtained;
Here, during practical application, APP background server, can be with by analyzing the exercise data of a large number of users
The reference motion data of user corresponding to the various use patterns pre-set in general is obtained, and by under analysis result
The each APP being sent in terminal, with the analyze data for alloing music application to be issued according to background server, set each
Reference motion data corresponding to kind use pattern;For example, reference motion data corresponding to setting " work " this use pattern is:
Vibration number is less than 15 times per hour, and reference motion data corresponding to setting " motion " this use pattern is:Vibrate per hour
Number is more than 50 times.
Certainly, the music is applied except that can pass through analysis of the background server to the exercise data of a large number of users
Statistics, is obtained outside the exercise data corresponding to various use patterns, can also be received user and be set according to the use habit of oneself
Various use patterns corresponding to reference motion data;For example, use habit of the user according to oneself, statistics obtains various make
With the reference motion data corresponding to pattern, and the reference motion data corresponding to " work " this use pattern is set to be manually:
Vibration number is less than 15 times per hour, and reference motion data corresponding to setting " motion " this use pattern is manually:Per hour
Vibration number is more than 50 times.
If in the music application running, the motion sensor of terminal collects the exercise data of user
For:Vibration number hourly is 5 times, it is known that, the exercise data is less than the exercise data phase of 15 times with vibration number per hour
Matching.
Step 1013, the use pattern of the music application is determined according to matching result.
For example, in the music application running, the motion sensor of terminal collects the motion number of user
According to for:Vibration number hourly is 5 times, and because vibration number hourly is less than 15 times, and vibration number hourly is small
In the use pattern corresponding to 15 times be " work ", hence, it can be determined that the music application use pattern be " work
Make ".
It should be noted that user is directed to some operations of terminal, it can also sometimes reflect next user will enter
Capable activity, so as to reflect use pattern of the user when being applied using music to a certain extent, and then can be with
Reflect the use pattern of music application to a certain extent.Therefore, except can be real-time by the motion sensor of terminal
The exercise data collected, to detect outside the use pattern of music application, it can also be come true by the specific operation of user
Determine the use pattern of music application.
As another embodiment, Fig. 3 is the use pattern that music application is determined in implementation process shown in Fig. 1
The two of flow chart are implemented, shown in reference picture 3, step 101 specifically includes following steps:
Step 1014, detect whether to receive the enabled instruction for the first application;
Here, first application is associated with the use pattern pre-set, can be to read APP, KEEP, Yi Jishan
APP etc. is run, these applications can reflect user's activity to be carried out, so as to reflect the use mould of music application
Formula.For example, user is often in running or the APP of body-building front opening record motor coordination test, such as the genial race APP of KEEP;Cause
And user can be opened to the operation of the APP for recording motor coordination test, the use pattern as determination music application is
The basis for estimation of " motion ".Therefore, terminal, should according to described first when receiving the enabled instruction for the described first application
With the use pattern of association, the use pattern that the music is applied is determined.
Step 1015, when receiving the enabled instruction for the described first application, according to first association
Use pattern, determine the use pattern of first application;
Step 1016, by first use pattern applied, the use pattern as music application.
Here, when terminal receives the enabled instruction for KEEP or kind races APP, closed by KEEP or kind runs APP
The use pattern of connection is " motion ", hence, it can be determined that the KEEP or kind use patterns for running APP are " motion ", so that it is determined that institute
The use pattern for stating music application is " motion ".And user may use when rest or on road on and off duty
APP is read to kill time, it is assumed that user opens generally when rest reads APP, then is subsequently directed to when terminal receives
When reading APP enabled instruction, it may be determined that the use pattern of music application is " rest ".
In actual applications, the mode of above two detection can be used cooperatively.For example, when the motion sensor of terminal is deposited
In failure, the use pattern that another embodiment determines music application can be started;Or as user not actuated
During one application, the motion sensor for starting terminal goes to gather the exercise data of user in music application running, and leads to
The exercise data is crossed, determines the use pattern of the music application.
Step 102, according to the use pattern of determination, determine that each function of the music application uses mould described
Corresponding use state under formula;
Here, according to the use pattern of determination, and each function of music application various makes what is pre-set
With corresponding use state under pattern, it may be determined that each function corresponding use state under the use pattern.
Specifically, for terminal it is determined that before the use pattern of music application, user can be according to the actual need of oneself
Will, set during the music applies " shake " cut song function and only can just be used under specific use pattern, or
Person can also be set during the music applies " shake " cut song function and can not be used under specific use pattern.When "
Shake " cut song function allow under currently used pattern in use, set should " shake " cut that song function is corresponding to use shape
State is opening;Conversely, when should " shake " and cut song function not under currently used pattern in use, set should " shake
One shakes " to cut use state corresponding to song function be closed mode.For example, cut song function, user for " being shaken " in music APP
This can be set " shake " cut song function and can not be used under the use pattern of " motion ", and set should " shake " cut song work(
It is able to can be used under the use pattern of " rest "., then can be true when the use pattern detected is " motion "
It is closed mode " to be shaken " in the happy APP of accordatura and cut use state corresponding to song function;And when the use pattern detected
For " rest " when, then it is opening that can determine in music APP that " shaking " cuts use state corresponding to song function.
It should be noted that what user applied except can actively set music " shake " cut song function and be applicable
Use pattern outside, music application can also based on user under the various use patterns pre-set to described " shake one
Shake " cut the use habit of song function, set by user described in " shake " cut the use pattern that song function is applicable.
Specifically, the music application is recorded " shake " song function is cut in the various use patterns pre-set
Under history use state;According to the history use state of record, determine that user is right under the various use patterns pre-set
Music application " shake " cut the use habit of song function;According to the use habit, the music is set to broadcast
Put application " shake " cut song function corresponding use state under the various use patterns pre-set.For example, music APP
Detect that user can go manual-lock " shaking " to cut song function whenever running (i.e. under the use pattern of " motion "),
Then music APP can determine that user is not intended to use " shaking " to cut song function, therefore, music under the use pattern of " motion "
APP can also voluntarily set " shaking " to cut song function not in being used under the use pattern of " motion ".
Step 103, according to the use state of determination, unlatching or the pass of each function of the music application are controlled
Close.
Here, when described " shake " cut song function it is determined that use pattern corresponding to use state be closed mode
When, that is, determine described in " shake " cut song function and do not allow to use under currently used pattern, described in terminal control closing "
Shake " cut song function, so as to avoid user it is close in time should " shake " and cut song function when, due to using
Pattern and should " shake " cut song function and be not inconsistent, and cause the situation of maloperation to occur.
For example, when user starts to run, and " shaken " in the music APP being currently running and cut song function and be currently at out
State is opened, now, terminal detects that music APP use pattern is " motion ";The various uses pre-set according to user
Pattern with should " shake " cut the corresponding relation of song function, it may be determined that under the use pattern of " motion ", " shaking " cuts song
Function is used under the use pattern not in " motion ", is somebody's turn to do " shaking " and is cut song function under the use pattern of " motion "
Corresponding use state is closed mode;Therefore, terminal can be after user starts running, and automatic close in music APP " shakes one
Shake " cut song function.Song function is cut so as to avoid to close in music APP " to shake " in time because user is no, and is caused
The situation that music APP carries out cutting song always during running occurs, and then can avoid the generation of maloperation.
Specifically, below will with music apply for music APP, " shake " and cut song function be " shaking " cut song work(
Exemplified by energy, the control program of the application function of the embodiment of the present invention is described in detail.
First, automatic/or music APP " shaking " is set manually to cut song function in the use pattern of " motion " be not fair
Perhaps use, and automatically/or music APP " shaking " is set manually to cut song function be permission under the use pattern of " rest "
Use, that is, it is closed mode to set " shaking " to cut song function corresponding use state under the use pattern of " motion ",
Corresponding use state is opening under the use pattern of " rest ";Meanwhile automatic or manual sets " rest " this use
Reference motion data corresponding to pattern is:Per hour vibration number be less than 15 times, and automatic or manual set " motion " this
Reference motion data corresponding to use pattern is:Vibration number is more than 50 times per hour;
Then, in music APP runnings, the motion sensor of terminal can gather the exercise data of user in real time,
The exercise data collected is:Per hour during vibration number 60 times;By the way that the exercise data collected is each with pre-setting
Corresponding reference motion data is matched under kind use pattern, it is known that, the exercise data collected and vibration time hourly
Exercise data of the number more than 50 times matches.Also, due to corresponding to exercise data of the vibration number hourly more than 50
Use pattern is " motion ", hence, it can be determined that the use pattern of music application is " motion ";
Then, it is under the use pattern not in " motion " to cut song function due to " the shaking " in the music APP
Use;Hence, it can be determined that it is closing that " shaking ", which cuts song function corresponding use state under the use pattern of " motion ",
State;
Finally, " the shaking " that terminal control is closed in music APP cuts song function.
To sum up, the use pattern that the present embodiment is applied by determining music, can be realized automatic to making with determination
In the music application not being inconsistent with pattern " shake " cut song function and closed, or automatic pair with the use pattern that detects
In the music application being consistent " shake " cut song function and opened.In avoiding applying due to music "
Shake " cut song function and use pattern and be not inconsistent and cause the situation of maloperation to occur, drastically increase the use body of user
Test.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of control device of application function,
It is arranged in terminal, the detail of the control method for realizing above-mentioned application function, reaches identical effect.
Fig. 4 is the composition structural representation of the control device embodiment one of application function of the present invention, shown in reference picture 4, this
The control device of application function in embodiment includes:Processor 21 and it can be run for storing on processor 21
The memory 22 of computer program;Wherein,
The processor 21, during for running the computer program, perform:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music
Using when corresponding usage scenario;
According to the use pattern of determination, determine that each function of the music application is corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
Alternatively, the processor 21, during for running the computer program, perform:
The exercise data of user is gathered in the music application running in real time;
Obtain the exercise data of user in the music application running;
By the exercise data got reference motion data progress corresponding with the various use patterns pre-set
Match somebody with somebody, obtain matching result;
The use pattern of the music application is determined according to matching result.
Alternatively, the processor 21, when being additionally operable to run the computer program, perform:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association,
Determine the use pattern of first application;
By first use pattern applied, the use pattern as music application.
Alternatively, the processor 21, when being additionally operable to run the computer program, perform:
Before the use pattern for determining music application, each function of the music application is set to be set in advance
Corresponding use state under the various use patterns put.
Alternatively, the processor 21, during for running the computer program, perform:
Record history of each function of the music application under the various use patterns pre-set and use shape
State;
According to the history use state of record, determine that user broadcasts under the various use patterns pre-set to the music
Put the use habit of each function of application;
According to the use habit, each function of the music application is set various to use mould what is pre-set
Corresponding use state under formula.
Certainly, during practical application, as shown in figure 4, each component is coupled by bus system 23.It is it is understood that total
Linear system system 23 is used to realize the connection communication between these components.Bus system 23 is in addition to including data/address bus, in addition to electricity
Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, various buses are all designated as always in Fig. 4
Linear system system 23.
To realize the method for the embodiment of the present invention, the embodiment of the present invention additionally provides a kind of control device of application function,
It is arranged in terminal, the detail of the control method for realizing above-mentioned application function, reaches identical effect.
Fig. 5 is the composition structural representation of the control device embodiment two of application function of the present invention, shown in reference picture 5, this
The control device of application function in embodiment includes:First determining module 31, the second determining module 32 and control module 33;Its
In,
First determining module 31, for determining the use pattern of music application, the use pattern is used for table
Show user's corresponding usage scenario when being applied using the music;
Second determining module 32, for the use pattern according to determination, determine each of the music application
Function corresponding use state under the use pattern;
The control module 33, for the use state according to determination, each function of controlling the music to apply
Be turned on and off.
Alternatively, the control device of the application function also includes:
Setup module 34, for setting each function of the music application in the various use patterns pre-set
Use state corresponding to lower.
Alternatively, the setup module 34, set specifically for each function of recording the music application in advance
History use state under the various use patterns put;According to the history use state of record, determine that user is pre-setting
The use habit for each function of being applied under various use patterns to the music;According to the use habit, institute is set
State music application each function under the various use patterns pre-set corresponding use state.
Fig. 6 is one of composition structural representation of the first determining module in Fig. 5 described devices, shown in reference picture 6, described the
One determining module includes:Acquiring unit 311, the determining unit 313 of matching unit 312 and first;Wherein,
The acquiring unit 311, for obtaining the exercise data of user in the music application running;
The recognition unit 312, for the exercise data got is corresponding with the various use patterns pre-set
Reference motion data matched, obtain matching result;
First determining unit 313, for determining the use pattern of the music application according to matching result.
Fig. 7 is two of the composition structural representation of the first determining module in Fig. 5 described devices, shown in reference picture 7, described the
One determining module includes:The determining unit 315 of detection unit 314 and second;Wherein,
The detection unit 314, for detecting whether receiving the enabled instruction for the first application;
Second determining unit 315, for when receive for described first application enabled instruction when, according to described
The use pattern of first association, determine the use pattern of first application;
The setup unit 316, for by first use pattern applied, as making for music application
Use pattern.
In actual applications, first determining module 31, the second determining module 32, control module 33, setup module 34,
And acquiring unit 311, matching unit 312, the first determining unit 313, detection unit 314, the second determining unit 315 and setting
Unit 316 can be by such as central processing unit (CPU, the Central of the processor in the control device of application function
Processing Unit), microprocessor (MPU, Micro Processor Unit), digital signal processor (DSP,
Digital Signal Processor) or field programmable gate array (FPGA, Field Programmable Gate
) etc. Array realize.
The control device for the application function that above-described embodiment provides is when carrying out the control of application function, only with above-mentioned each journey
The division progress of sequence module as needed can distribute above-mentioned processing by different programs for example, in practical application
Module is completed, i.e., the internal structure of device is divided into different program modules, described above all or part of to complete
Processing.In addition, the control device of application function and the control method embodiment of application function that above-described embodiment provides belong to same
One design, its specific implementation process refer to embodiment of the method, repeated no more here.
Present invention also offers a kind of computer-readable storage medium, the computer-readable storage medium is stored with executable program,
The executable program realizes following steps when being executed by processor:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music
Using when corresponding usage scenario;
According to the use pattern of determination, determine that each function of the music application is corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
Alternatively, when the executable program is executed by processor, the use of music application is determined with specific implementation
The step of pattern:
Obtain the exercise data of user in the music application running;
By the exercise data got reference motion data progress corresponding with the various use patterns pre-set
Match somebody with somebody, obtain matching result;
The use pattern of the music application is determined according to matching result.
Alternatively, when the executable program is executed by processor, the use of music application is determined with specific implementation
The step of pattern:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association,
Determine the use pattern of first application;
By first use pattern applied, the use pattern as music application.
Alternatively, when the executable program is executed by processor, with it is determined that music application use pattern it
Before, realize following steps:
Set each function of the music application is corresponding under the various use patterns pre-set to use shape
State.
Alternatively, when the executable program is executed by processor, the music application is set with specific implementation
Each function is under the various use patterns pre-set the step of corresponding use state:
Record history of each function of the music application under the various use patterns pre-set and use shape
State;
According to the history use state of record, determine that user broadcasts under the various use patterns pre-set to the music
Put the use habit of each function of application;
According to the use habit, each function of the music application is set various to use mould what is pre-set
Corresponding use state under formula.
During practical application, computer-readable storage medium can with readable storage medium storing program for executing, such as be ferroelectric memory (FRAM,
Ferromagnetic Random Access Memory), read-only storage (ROM, Read-Only Memory), it is programmable only
Read memory (PROM, Programmable Read-Only Memory), Erarable Programmable Read only Memory (EPROM,
Erasable Programmable Read-Only Memory), EEPROM (EEPROM,
Electrically Erasable Programmable Read-Only Memory), flash memory (Flash Memory), magnetic table
The memories such as face memory, CD or read-only optical disc (CD-ROM, Compact Disc Read-Only Memory).
The foregoing is only a preferred embodiment of the present invention, is not intended to limit the scope of the present invention.It is all
All any modification, equivalent and improvement made within the spirit and scope of the present invention etc., it is all contained in the protection model of the present invention
Within enclosing.
Claims (12)
1. a kind of control method of application function, it is characterised in that methods described includes:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music application
When corresponding usage scenario;
According to the use pattern of determination, determine each function of the music application makes corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
2. according to the method for claim 1, it is characterised in that the use pattern for determining music application includes:
Obtain the exercise data of user in the music application running;
The exercise data got is matched with corresponding reference motion data under the various use patterns pre-set, obtained
To matching result;
The use pattern of the music application is determined according to matching result.
3. according to the method for claim 1, it is characterised in that the use pattern for determining music application includes:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association, it is determined that
The use pattern of first application;
By first use pattern applied, the use pattern as music application.
4. according to the method described in any one of claims 1 to 3, it is characterised in that the use for determining music application
Before pattern, methods described also includes:
Each function of music application corresponding use state under the various use patterns pre-set is set.
5. according to the method for claim 4, it is characterised in that each function of setting the music application exists
Corresponding use state includes under the various use patterns pre-set:
Record history use state of each function of the music application under the various use patterns pre-set;
According to the history use state of record, determine that user should to the music under the various use patterns pre-set
The use habit of each function;
According to the use habit, each function of the music application is set under the various use patterns pre-set
Corresponding use state.
6. a kind of control device of application function, it is characterised in that described device includes:Processor and for store can
The memory of the computer program run on a processor;Wherein,
The processor, during for running the computer program, perform:
The use pattern of music application is determined, the use pattern is used to represent that user is using the music application
When corresponding usage scenario;
According to the use pattern of determination, determine each function of the music application makes corresponding under the use pattern
Use state;
According to the use state of determination, each function of the music application is controlled to be turned on and off.
7. device according to claim 6, it is characterised in that the processor, during for running the computer program,
Perform:
Obtain the exercise data of user in the music application running;
The exercise data got is matched with corresponding reference motion data under the various use patterns pre-set, obtained
To matching result;
The use pattern of the music application is determined according to matching result.
8. device according to claim 6, the processor, when being additionally operable to run the computer program, perform:
Detect whether to receive the enabled instruction for the first application;
When receiving the enabled instruction for the described first application, according to the use pattern of first association, it is determined that
The use pattern of first application;
By first use pattern applied, the use pattern as music application.
9. according to the device described in any one of claim 6 to 8, it is characterised in that the processor, be additionally operable to run the meter
During calculation machine program, perform:
Before the use pattern for determining music application, each function of music application is set to pre-set
Corresponding use state under various use patterns.
10. device according to claim 9, it is characterised in that the processor, for running the computer program
When, perform:
Record history use state of each function of the music application under the various use patterns pre-set;
According to the history use state of record, determine that user should to the music under the various use patterns pre-set
The use habit of each function;
According to the use habit, each function of the music application is set under the various use patterns pre-set
Corresponding use state.
11. a kind of control device of application function, it is characterised in that described device includes:First determining module, second determine mould
Block and control module;Wherein,
First determining module, for determining the use pattern of music application, the use pattern is used to represent user
The corresponding usage scenario when being applied using the music;
Second determining module, for the use pattern according to determination, determine that each function of the music application exists
Corresponding use state under the use pattern;
The control module, for the use state according to determination, control the unlatching of each function of the music application
Or close.
12. a kind of computer-readable storage medium, it is characterised in that the executable finger of computer is stored with the computer-readable storage medium
Order, the computer executable instructions computer program realize answering described in any one of claim 1 to 5 when being executed by processor
With the control method of function.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757501.8A CN107589988A (en) | 2017-08-29 | 2017-08-29 | Control method, device and the computer-readable storage medium of application function |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710757501.8A CN107589988A (en) | 2017-08-29 | 2017-08-29 | Control method, device and the computer-readable storage medium of application function |
Publications (1)
Publication Number | Publication Date |
---|---|
CN107589988A true CN107589988A (en) | 2018-01-16 |
Family
ID=61050686
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710757501.8A Pending CN107589988A (en) | 2017-08-29 | 2017-08-29 | Control method, device and the computer-readable storage medium of application function |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107589988A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525725A (en) * | 2018-11-21 | 2019-03-26 | 三星电子(中国)研发中心 | A kind of information processing method and device based on emotional state |
CN113928232A (en) * | 2021-10-13 | 2022-01-14 | 广州小鹏自动驾驶科技有限公司 | Vehicle control method and device |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035559A (en) * | 2014-06-04 | 2014-09-10 | 小米科技有限责任公司 | Method and device for controlling mobile terminal |
CN104536569A (en) * | 2014-12-26 | 2015-04-22 | 中科创达软件股份有限公司 | Mobile terminal and method and device for controlling mobile terminal |
CN105549989A (en) * | 2015-12-02 | 2016-05-04 | 广东小天才科技有限公司 | Method and system for dynamically configuring shortcut operation |
CN105709400A (en) * | 2016-01-22 | 2016-06-29 | 安徽华米信息科技有限公司 | Method and device for determining user movement recording duration and electronic device |
CN105868721A (en) * | 2016-04-01 | 2016-08-17 | 乐视控股(北京)有限公司 | Sound file switching method and apparatus |
CN106055241A (en) * | 2016-07-27 | 2016-10-26 | 维沃移动通信有限公司 | Control method for mobile terminal and mobile terminal |
CN106598711A (en) * | 2016-11-16 | 2017-04-26 | 乐视控股(北京)有限公司 | Working mode switching method and system for intelligent terminal |
-
2017
- 2017-08-29 CN CN201710757501.8A patent/CN107589988A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104035559A (en) * | 2014-06-04 | 2014-09-10 | 小米科技有限责任公司 | Method and device for controlling mobile terminal |
CN104536569A (en) * | 2014-12-26 | 2015-04-22 | 中科创达软件股份有限公司 | Mobile terminal and method and device for controlling mobile terminal |
CN105549989A (en) * | 2015-12-02 | 2016-05-04 | 广东小天才科技有限公司 | Method and system for dynamically configuring shortcut operation |
CN105709400A (en) * | 2016-01-22 | 2016-06-29 | 安徽华米信息科技有限公司 | Method and device for determining user movement recording duration and electronic device |
CN105868721A (en) * | 2016-04-01 | 2016-08-17 | 乐视控股(北京)有限公司 | Sound file switching method and apparatus |
CN106055241A (en) * | 2016-07-27 | 2016-10-26 | 维沃移动通信有限公司 | Control method for mobile terminal and mobile terminal |
CN106598711A (en) * | 2016-11-16 | 2017-04-26 | 乐视控股(北京)有限公司 | Working mode switching method and system for intelligent terminal |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109525725A (en) * | 2018-11-21 | 2019-03-26 | 三星电子(中国)研发中心 | A kind of information processing method and device based on emotional state |
CN113928232A (en) * | 2021-10-13 | 2022-01-14 | 广州小鹏自动驾驶科技有限公司 | Vehicle control method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104050035B (en) | The processing method and processing device of application program | |
CN104049721B (en) | Information processing method and electronic equipment | |
CN109493849A (en) | Voice awakening method, device and electronic equipment | |
CN105264456B (en) | Move fence | |
CN107515925A (en) | Method for playing music and device | |
CN104301528B (en) | The method and device of display information | |
CN108919953A (en) | A kind of music method of adjustment, device and storage medium | |
CN104133851A (en) | Audio similarity detecting method, audio similarity detecting device and electronic equipment | |
CN110010125A (en) | A kind of control method of intelligent robot, device, terminal device and medium | |
CN107241506A (en) | The method and device of a kind of alarm clock jingle bell of control intelligent terminal | |
CN109658935A (en) | The generation method and system of multichannel noisy speech | |
CN112423175B (en) | Earphone noise reduction method and device, storage medium and electronic equipment | |
CN104991755A (en) | Information processing method and electronic device | |
CN111124108A (en) | Model training method, gesture control method, device, medium and electronic equipment | |
CN112702633A (en) | Multimedia intelligent playing method and device, playing equipment and storage medium | |
CN107968890A (en) | theme setting method, device, terminal device and storage medium | |
CN110400566A (en) | Recognition methods and electronic equipment | |
CN103955274A (en) | Application control method and device | |
CN109069900A (en) | A kind of method and device of treadmill step counting | |
CN107589988A (en) | Control method, device and the computer-readable storage medium of application function | |
CN110096249A (en) | Methods, devices and systems for prompting fast to wake up word | |
CN108121720A (en) | A kind of resource recommendation method and device | |
CN106951333A (en) | A kind of broadcast controlling method, device and mobile terminal | |
CN109378001A (en) | A kind of voice interactive method, device, electronic equipment and readable storage medium storing program for executing | |
CN106060707A (en) | Reverberation processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180116 |
|
RJ01 | Rejection of invention patent application after publication |