Summary of the invention
The embodiment of the present application discloses a kind of voice control function open method and its terminal device, for when determining userStart the voice control function of terminal device when in operation constrained state.
In view of this, the application first aspect provides a kind of voice control function open method, may include:
Terminal device obtains user behavior relevant information;
The terminal device predicts whether user is in operation constrained state according to the user behavior relevant information;
If the terminal device determines that the user is in operation constrained state, start voice control function.
In conjunction with the embodiment of the present application in a first aspect, in the first embodiment of the embodiment of the present application first aspect,The terminal device obtains user behavior relevant information, may include:
The terminal device obtains the current global position system GPS position location of the user.
In conjunction with the first embodiment of the first aspect of the embodiment of the present application, the of the embodiment of the present application first aspectIn two kinds of embodiments, which predicts whether user is in operation constrained state according to the user behavior relevant information,May include:
The terminal device judges whether the current GPS positioning position of the user is gymnasium;
If gymnasium, then the terminal device determines that the user is in operation constrained state.
In conjunction with the embodiment of the present application in a first aspect, in the third embodiment of the embodiment of the present application first aspect,The terminal device obtains user behavior relevant information, may include:
The terminal device opens front camera;
The terminal device acquires the realtime graphic of the user by the front camera.
In conjunction with the third embodiment of the first aspect of the embodiment of the present application, the of the embodiment of the present application first aspectIn four kinds of embodiments, which predicts whether user is in operation constrained state according to the user behavior relevant information,May include:
The terminal device judges whether the user is currently driving a car by the realtime graphic of the user;
If driving a car, which determines that the user is in operation constrained state.
In conjunction with the embodiment of the present application in a first aspect, in the 5th kind of embodiment of the embodiment of the present application first aspect,The terminal device obtains user behavior relevant information, may include:
The terminal device opens microphone;
The terminal device acquires the acoustic information in the user and its presetting range by the microphone.
In conjunction with the 5th kind of embodiment of the first aspect of the embodiment of the present application, the of the embodiment of the present application first aspectIn six kinds of embodiments, which predicts whether user is in operation constrained state according to the user behavior relevant information,May include:
The terminal device judges whether the user is currently purchasing by the acoustic information in the user and its presetting rangeObject;
If doing shopping, which determines that the user is in operation constrained state.
In conjunction with the embodiment of the present application in a first aspect, in the 7th kind of embodiment of the embodiment of the present application first aspect,The terminal device obtains user behavior relevant information, may include:
The terminal device calls the browsing record in storage module.
In conjunction with the 7th kind of embodiment of the first aspect of the embodiment of the present application, the of the embodiment of the present application first aspectIn eight kinds of embodiments, which predicts whether user is in operation constrained state according to the user behavior relevant information,May include:
Whether the terminal device judges the user currently just in diet according to browsing record;
If the terminal device determines that the user is in operation constrained state just in diet.
In conjunction with the first aspect of the embodiment of the present application, first aspect the first any one of to the 8th kind of embodimentEmbodiment, in the 9th kind of embodiment of the embodiment of the present application first aspect, if the terminal device determines that the user is inConstrained state is operated, then can also include: before starting voice control function
The terminal device determine the terminal device receive short message, wechat, phone, in video communication at least one of.
The application second aspect provides a kind of terminal device, may include:
Acquiring unit, for obtaining user behavior relevant information;
Predicting unit, for predicting whether user is in operation constrained state according to the user behavior relevant information;
Start unit starts voice control function if determining that the user is in operation constrained state for the terminal deviceEnergy.
In conjunction with the second aspect of the embodiment of the present application, in the first embodiment of the embodiment of the present application second aspect,The acquiring unit may include:
Module is obtained, for obtaining the current global position system GPS position location of the user.
In conjunction with the first embodiment of the second aspect of the embodiment of the present application, the of the embodiment of the present application second aspectIn two kinds of embodiments, which may include:
First judgment module, for judging whether the current GPS positioning position of the user is gymnasium;
First determining module, for determining at the user when determining the current GPS positioning position of the user is gymnasiumIn operation constrained state.
In conjunction with the second aspect of the embodiment of the present application, in the third embodiment of the embodiment of the present application second aspect,The acquiring unit may include:
First opening module, for opening front camera;
First acquisition module, for acquiring the realtime graphic of the user by the front camera.
In conjunction with the third embodiment of the second aspect of the embodiment of the present application, the of the embodiment of the present application second aspectIn four kinds of embodiments, which may include:
Second judgment module judges whether the user is currently driving a car for the realtime graphic by the user;
Second determining module operates limited shape for when determining that the user is driving a car, determining that the user is inState.
In conjunction with the second aspect of the embodiment of the present application, in the 5th kind of embodiment of the embodiment of the present application second aspect,The acquiring unit may include:
Second opening module, for opening microphone;
Second acquisition module, for acquiring the acoustic information in the user and its presetting range by the microphone.
In conjunction with the 5th kind of embodiment of the second aspect of the embodiment of the present application, the of the embodiment of the present application second aspectIn six kinds of embodiments, which may include:
Third judgment module, for by the acoustic information in the user and its presetting range judge the user currently whetherIt is doing shopping;
Third determining module, for when determining that the user is doing shopping, determining that the user is in operation constrained state.
In conjunction with the second aspect of the embodiment of the present application, in the 7th kind of embodiment of the embodiment of the present application second aspect,The acquiring unit may include:
Calling module, for calling the browsing in storage module to record.
In conjunction with the 7th kind of embodiment of the second aspect of the embodiment of the present application, the of the embodiment of the present application second aspectIn eight kinds of embodiments, which may include:
4th judgment module, for judging the user currently whether just in diet according to browsing record;
4th determining module, for when determining that the user currently just in diet, determines that the user is in and operate limited shapeState.
In conjunction with the second aspect of the embodiment of the present application and the first appointing into the 8th kind of embodiment of second aspectA kind of embodiment, in the 9th kind of embodiment of the embodiment of the present application second aspect, which can also include:
Determination unit, for determine the terminal device receive short message, wechat, phone, in video communication at least one of.
The application third aspect provides a kind of computer installation, which may include processor, the processorIt is realized when for executing the computer program stored in memory if the first of first aspect and first aspect are to the 9th kindThe step of any embodiment in embodiment.
The application fourth aspect provides a kind of computer readable storage medium, is stored thereon with computer program, the calculatingThe appointing into the 9th kind of embodiment such as the first of first aspect and first aspect is realized when machine program is executed by processorA kind of the step of embodiment.
As can be seen from the above technical solutions, the embodiment of the present application has the advantage that terminal device by obtaining userBehavioural information judges whether user is in behavior constrained state, when determining that user is in behavior constrained state, opens voice controlFunction processed.By the above-mentioned means, terminal device, which can use the judgement to user behavior information, opens voice control function, it is not required toIt wants user that setting is manually gone to open voice control function to avoid when active user's inconvenience operates electronic equipmentThe case where operation error, occurs, and the user experience is improved.
Specific embodiment
The embodiment of the present application discloses a kind of voice control function open method and its terminal device, for when determining userStart the voice control function of terminal device when in operation constrained state.
The description and claims of this application and term " first ", " second ", " third " " in above-mentioned attached drawingThe (if present)s such as four " are to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should manageThe data that solution uses in this way are interchangeable under appropriate circumstances, so that embodiments herein described herein for example can be to removeSequence other than those of illustrating or describe herein is implemented.In addition, term " may include " and " having " and theyAny deformation, it is intended that cover it is non-exclusive include, for example, containing the process, method of a series of steps or units, beingSystem, product or equipment those of are not necessarily limited to be clearly listed step or unit, but can may include being not clearly listedOr other step or units intrinsic for these process, methods, product or equipment.Below in conjunction in the embodiment of the present applicationAttached drawing, the technical scheme in the embodiment of the application is clearly and completely described, it is clear that described embodiment is onlyIt is some embodiments of the present application, instead of all the embodiments.Based on the embodiment in the application, those skilled in the art existEvery other embodiment obtained under the premise of creative work is not made, shall fall in the protection scope of this application.
Voice control function open method in the application is described in detail below, referring to Fig. 1, the embodiment of the present applicationThere is provided a kind of voice control function open method embodiment, may include:
101, terminal device obtains user behavior relevant information;
In the present embodiment, terminal device can be mobile phone, computer, or other smart machines, specifically herein notIt limits.
In the present embodiment, user behavior relevant information can be the behavioural information of user, or due to user's rowFor and generate other information, this is not limited here.
In the present embodiment, user behavior information can be the behavioural information under user movement state, or useBehavioural information of the family under relative static conditions, such as sleep, the particular content of user behavior information is not construed as limiting herein.
In the present embodiment, the time that terminal device obtains user behavior relevant information can be by user in terminal deviceIn in the object time of preset fixation, which can be with 5 minute, and terminal device obtains the time of user behavior relevant informationIt can also be controlled by this kind of end equipment dynamic, such as the terminal device for being controlled using touch screen mode, the terminal are setIt is standby can be whether there is touch operation in an every 5 minutes detection secondary screens, if it is not, acquisition user behavior relevant information, if so, waitingIt whether there is touch operation on screen to detect again after five minutes.
102, terminal device predicts whether user is in operation constrained state according to user behavior relevant information;
In the present embodiment, terminal device predicts whether user is in operation constrained state according to user behavior relevant informationMode can be terminal device obtain user behavior relevant information after, which is identified, according toRecognition result determines whether user is in operation constrained state.
If 103, terminal device determines that user is in operation constrained state, start voice control function.
When terminal device determines that user is in operation constrained state, automatically opening voice assistant's function, if terminal is setStandby equipment is not at operation constrained state, then does not execute any operation.
In the present embodiment, terminal device judges whether user is in behavior and is limited shape by obtaining user behavior informationState opens voice control function when determining that user is in behavior constrained state.By the above-mentioned means, terminal device can benefitVoice control function is opened with the judgement to user behavior information, user is not needed and setting is manually gone to open voice control functionCan, when active user's inconvenience operates electronic equipment, the case where avoiding operation error generation improves user's bodyIt tests.
For ease of understanding, voice control function open method in the application will be carried out with five concrete application scenes belowDetailed description, specifically:
Scene one: the location information of terminal device acquisition user.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, voice control function provided by the embodiments of the present application is openedIt opens in first alternative embodiment of method, user behavior relevant information is the current global positioning system (global of userPositioning system, GPS) position location;
Terminal device obtains user behavior relevant information, may include:
Terminal device obtains the current global position system GPS position location of user.
It should be noted that in the present embodiment, terminal device and user are in same place.
Terminal device obtains the position location at user's current time by opening GPS.
In the present embodiment, terminal device can obtain the position location at user's current time by opening GPS and needBright, in practical applications, the mode that terminal device obtains user position location can also pass through base station location, wireless local areaNet (wireless fidelity, Wifi) positioning, Internet protocol (internet protocol, IP) positioning, two dimensional code etc.The modes such as tag recognition positioning, bluetooth positioning, acoustic location, scene Recognition positioning, this is not limited here.
In the present embodiment, by the way that user behavior relevant information to be defined as to the position location of user, i.e., by userPosition location judges whether user behavior is limited.By the above-mentioned means, scheme is applied to judge to use by customer position informationWhether family behavior is limited, and on the one hand provides the use scope of user behavior information, so that the practicability of scheme is increased, it is anotherAspect is set with concrete scene, the feasibility of enhanced scheme in practical applications.
Optionally, on the basis of above-mentioned Fig. 1 corresponding first alternative embodiment, voice provided by the embodiments of the present applicationIn second alternative embodiment of control function open method, terminal device predicts whether user locates according to user behavior relevant informationIn operation constrained state, may include:
Terminal device judges whether the current GPS positioning position of user is gymnasium;
If gymnasium, then terminal device determines that user is in operation constrained state.
In the present embodiment, terminal device may determine that whether the current GPS positioning position of user is gymnasium, if terminalEquipment determines that the current GPS positioning position of user is gymnasium, then terminal device determines that user is in operation constrained state.It can be withUnderstand, in practical applications, terminal device can be by determining that the current GPS positioning position of user is that gymnasium determinesUser is in outside operation constrained state, can also be by determining that the current GPS positioning position of user is that other positions determine useFamily is in operation constrained state, such as restaurant, highway, market etc., and user does not make specifically current GPS positioning position hereinIt limits.
In the present embodiment, by determine user current location be gymnasium be determining user be in operation constrained state,To which terminal device opens voice assistant, user can carry out the control to terminal device by voice assistant, use without being used inBy manual operation terminal device in limited time, the user experience is improved, also improves the practicability and convenience of scheme for family behavior.
Scene two: user behavior information is the realtime graphic of user.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, voice control function provided by the embodiments of the present application is openedIt opens in method third alternative embodiment, terminal device obtains user behavior relevant information, may include:
Terminal device opens front camera;
Terminal device acquires the realtime graphic of user by front camera.
In the present embodiment, the realtime graphic of user is the image information of user in front camera image pickup scope.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be by opening preposition camera shootingThe realtime graphic of head acquisition user, is defined as user behavior relevant information the image information of user, on the one hand provides userOn the other hand the use scope of behavioural information is set with concrete scene to increase the practicability of scheme in practical applications,The feasibility of enhanced scheme.
Optionally, on the basis of above-mentioned Fig. 1 corresponding third alternative embodiment, voice provided by the embodiments of the present applicationIn the 4th alternative embodiment of control function open method, terminal device predicts whether user locates according to user behavior relevant informationIn operation constrained state, may include:
Terminal device judges whether user is currently driving a car by the realtime graphic of user;
If driving a car, terminal device determines that user is in operation constrained state.
In the present embodiment, terminal device can judge whether user is driving a car by the realtime graphic of user,If terminal device determines that user is driving a car, terminal device determines that user is in operation constrained state.Subsequent terminal is setIt is standby to open voice assistant function.It is understood that in practical applications, terminal device can be sentenced by the realtime graphic of userDisconnected user is driving a car and is determining that user is in outside operation constrained state, can also be by determining that user is carrying out otherBehavior and determine that user is in operation constrained state, such as have a meal, go window-shopping, body-building etc., the behavior of user does not limit specifically hereinIt is fixed.
In the present embodiment, terminal device judges what whether user was currently driving a car by the realtime graphic of userMode can be, and after terminal device obtains the realtime graphic of user, the keyword in the realtime graphic be parsed, and if terminal deviceIn preset keyword it is identical to a certain extent, it is determined that user is driving a car.
It is described below in conjunction with concrete application scene.
Terminal device preset keyword library, there is A group keyword in the keywords database: road, transportation team, vehicle, earphone, seat,Facial image.The corresponding driving of A group, B group keyword: fitness equipment, facial image, road, music.B group corresponds to body-building, furthermoreThere are also the even more keyword groups of C group.If it is identical to reach more than half for keyword after image analysis, it is determined that the group is correspondingBehavior be user behavior.
Terminal device obtain realtime graphic after parsing obtain keyword: road, vehicle, seat, facial image, terminal device by thisA little keywords are compared with keywords database, are found identical as A group keyword 66.67%, it is determined that user is driving a car.
In the present embodiment, determine that user is driving a car so that it is determined that user is in behaviour by the realtime graphic of userMake constrained state, increases the exploitativeness of scheme.Subsequent terminal device opens voice assistant, and user can pass through voice assistantThe control to terminal device is carried out, without being used in user behavior by manual operation terminal device in limited time, the user experience is improved,Improve the practicability and convenience of scheme.
Scene three: user behavior information is the acoustic information in presetting range.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, voice control function provided by the embodiments of the present application is openedIt opens in the 5th alternative embodiment of method, terminal device obtains user behavior relevant information, may include:
Terminal device opens microphone;
Terminal device acquires the acoustic information in user and its presetting range by microphone.
In the present embodiment, preset to may range from 1 meter, or 5 meters, this is not limited here.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be to acquire by microphone and useAcoustic information in family and its presetting range is defined as user behavior relevant information the acoustic information of user, on the one hand providesOn the other hand the use scope of user behavior information is set with tool to increase the practicability of scheme in practical applicationsBody scene, the feasibility of enhanced scheme.
Optionally, on the basis of above-mentioned Fig. 1 corresponding 5th alternative embodiment, voice provided by the embodiments of the present applicationIn the 6th alternative embodiment of control function open method, terminal device predicts whether user locates according to user behavior relevant informationIn operation constrained state, may include:
Terminal device judges whether user is currently doing shopping by the acoustic information in user and its presetting range;
If doing shopping, terminal device determines that user is in operation constrained state.
In the present embodiment, terminal device can judge whether user is doing shopping by the acoustic information of user, if eventuallyEnd equipment determines that user is doing shopping, then terminal device determines that user is in operation constrained state.Subsequent terminal device opens languageSound assistant's function, it is to be understood that in practical applications, terminal device can judge user just by the acoustic information of userIt determines that user is in outside operation constrained state in shopping, can also determine that user is carrying out other behaviors by acoustic informationAnd determining that user is in operation constrained state, such as have a meal, drive a car, body-building etc., the behavior of user does not limit specifically hereinIt is fixed.
In the present embodiment, terminal device is in such a way that the acoustic information of user judges whether user is currently doing shoppingIt can be, after terminal device obtains the acoustic information of user, parse the keyword in the acoustic information, if with pre- in terminal deviceIt is identical to a certain extent to set keyword, it is determined that user is doing shopping.
In the present embodiment, by the acoustic information of user determine user doing shopping so that it is determined that user be in operation byLimit state increases the exploitativeness of scheme.Subsequent terminal device opens voice assistant, and user can be carried out by voice assistantControl to terminal device, without being used in user behavior by manual operation terminal device in limited time, the user experience is improved, is also promotedThe practicability and convenience of scheme.
Scene four: user behavior information is browsing record of the user in terminal device.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, voice control function provided by the embodiments of the present application is openedIt opens in the 7th alternative embodiment of method, terminal device obtains user behavior relevant information, may include:
Terminal device calls the browsing record in storage module.
It should be noted that in the present embodiment, storage module is located in terminal device, it is also possible to and terminal device phaseIsolated autonomous device, this is not limited here.
Browsing record can not can also specifically be made herein in storage module on Cloud Server in the present embodimentIt limits.
In the present embodiment, browsing generates record after being recorded as user's using terminal equipment browse webpage or application program.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be by calling storage moduleUser behavior relevant information is defined as the record of the browsing in storage module, on the one hand provides user's row by interior browsing recordIt is on the other hand set with concrete scene in practical applications to increase the practicability of scheme for the use scope of information, increasesThe feasibility of strong scheme.
Optionally, on the basis of above-mentioned Fig. 1 corresponding 7th alternative embodiment, voice provided by the embodiments of the present applicationIn the 8th alternative embodiment of control function open method, terminal device predicts whether user locates according to user behavior relevant informationIn operation constrained state, may include:
Whether terminal device judges user currently just in diet according to browsing record;
If terminal device determines that user is in operation constrained state just in diet.
In the present embodiment, just whether terminal device can be recorded by the browsing of user on the terminal device judges userIn diet, if terminal device determines user just in diet, terminal device determines that user is in operation constrained state.Subsequent terminalOpening of device voice assistant function, it is to be understood that in practical applications, terminal device can be recorded by the browsing of userJudge that user just determines that user is in outside operation constrained state in diet, can also judge that user is holding by browsing recordOther behaviors of row and determine that user is in operation constrained state, such as hair-cutting etc., the behavior that user is carrying out is specifically herein notIt limits.
In the present embodiment, terminal device the browsing of user record judge user currently whether just in diet by way ofIt can be, after terminal device obtains the browsing record called in storage module, analyze the browsing and record determining user just in diet.Such as user orders behavior in Meituan take-away before terminal device get browsing record display 35 minutes, and delivery time isPostprandial 30 minutes are put, then terminal device determines user just in diet, to open voice control function.
In the present embodiment, being recorded by the browsing in storage module determines user just in diet so that it is determined that user is inConstrained state is operated, the exploitativeness of scheme is increased.Subsequent terminal device opens voice assistant, and user can be helped by voiceHand carries out the control to terminal device, and without being used in user behavior by manual operation terminal device in limited time, the user experience is improved,Also the practicability and convenience of scheme are improved.
Optionally, on the basis of above-mentioned Fig. 1 corresponding embodiment, voice control function provided by the embodiments of the present application is openedIt opens in the 9th alternative embodiment of method, if terminal device determines that user is in operation constrained state, starts voice control functionCan also include: before
Terminal device determine terminal device receive short message, wechat, phone, in video communication at least one of.
In the present embodiment, terminal device determine again user be in operation it is limited after, can detect on terminal device whetherIn the presence of needing horse back process instruction, such as phone, video communication, or the message for needing to reply, such as short message, wechat, and if it exists,Then terminal device opens voice assistant function and carries out processing above-metioned instruction and message.
In the present embodiment, terminal device in addition to determine terminal device receive short message, wechat, phone, in video communicationAt least one of open outside voice assistant function, can also be opened when terminal device receives the instruction that other need to handle in timeVoice assistant function is opened, this is not limited here.
In the present embodiment, in user's operation by limited time, terminal device is by determining there are instruction to be treated and disappearingAfter breath, just open voice assistant function, as long as rather than user's operation is limited is switched on voice assistant function, improve user's bodyIt tests, also avoids the wasting of resources.
The voice control function open method of the embodiment of the present application is described in Fig. 1, referring to figure 2., below will be rightThe terminal device of the embodiment of the present application is illustrated.
Acquiring unit 201, for obtaining user behavior relevant information;
Predicting unit 202, for predicting whether user is in operation constrained state according to user behavior relevant information;
Start unit 203 starts voice control function if determining that user is in operation constrained state for terminal deviceEnergy.
In the present embodiment, predicting unit 202 is according to user after obtaining 201 user behavior relevant informations by acquiring unitWhether behavior relevant information prediction user is in behavior constrained state, by start unit 203 when terminal device determines at userIn operation constrained state, start voice control function.
In the present embodiment, terminal device judges whether user is in behavior and is limited shape by obtaining user behavior informationState opens voice control function when determining that user is in behavior constrained state.By the above-mentioned means, terminal device can benefitVoice control function is opened with the judgement to user behavior information, user is not needed and setting is manually gone to open voice control functionCan, when active user's inconvenience operates electronic equipment, the case where avoiding operation error generation improves user's bodyIt tests.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Acquiring unit 201 is specifically used for obtaining the current global position system GPS position location of user.
In the present embodiment, by the way that user behavior relevant information to be defined as to the position location of user, i.e., by userPosition location judges whether user behavior is limited.By the above-mentioned means, scheme is applied to judge to use by customer position informationWhether family behavior is limited, and on the one hand provides the use scope of user behavior information, so that the practicability of scheme is increased, it is anotherAspect is set with concrete scene, the feasibility of enhanced scheme in practical applications.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Predicting unit 202 is specifically used for judging whether the current GPS positioning position of user is gymnasium;
When determining the current GPS positioning position of user is gymnasium, determine that user is in operation constrained state.
In the present embodiment, by determine user current location be gymnasium be determining user be in operation constrained state,To which terminal device opens voice assistant, user can carry out the control to terminal device by voice assistant, use without being used inBy manual operation terminal device in limited time, the user experience is improved, also improves the practicability and convenience of scheme for family behavior.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Acquiring unit 201 is specifically used for opening front camera;
The realtime graphic of user is acquired by front camera.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be by opening preposition camera shootingThe realtime graphic of head acquisition user, is defined as user behavior relevant information the image information of user, on the one hand provides userOn the other hand the use scope of behavioural information is set with concrete scene to increase the practicability of scheme in practical applications,The feasibility of enhanced scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Predicting unit 202 is specifically used for judging whether user is currently driving a car by the realtime graphic of user;
When determining that user is driving a car, determine that user is in operation constrained state.
In the present embodiment, determine that user is driving a car so that it is determined that user is in behaviour by the realtime graphic of userMake constrained state, increases the exploitativeness of scheme.Subsequent terminal device opens voice assistant, and user can pass through voice assistantThe control to terminal device is carried out, without being used in user behavior by manual operation terminal device in limited time, the user experience is improved,Improve the practicability and convenience of scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Acquiring unit 201 is specifically used for opening microphone;
The acoustic information in user and its presetting range is acquired by microphone.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be to acquire by microphone and useAcoustic information in family and its presetting range is defined as user behavior relevant information the acoustic information of user, on the one hand providesOn the other hand the use scope of user behavior information is set with tool to increase the practicability of scheme in practical applicationsBody scene, the feasibility of enhanced scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Just whether predicting unit 202 be specifically used for judging user currently by the acoustic information in user and its presetting rangeIt is doing shopping;
When determining that user is doing shopping, determine that user is in operation constrained state.
In the present embodiment, by the acoustic information of user determine user doing shopping so that it is determined that user be in operation byLimit state increases the exploitativeness of scheme.Subsequent terminal device opens voice assistant, and user can be carried out by voice assistantControl to terminal device, without being used in user behavior by manual operation terminal device in limited time, the user experience is improved, is also promotedThe practicability and convenience of scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Acquiring unit 201 is specifically used for calling the browsing record in storage module.
In the present embodiment, the mode that terminal device obtains user behavior relevant information can be by calling storage moduleUser behavior relevant information is defined as the record of the browsing in storage module, on the one hand provides user's row by interior browsing recordIt is on the other hand set with concrete scene in practical applications to increase the practicability of scheme for the use scope of information, increasesThe feasibility of strong scheme.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Whether predicting unit 202 is specifically used for judging user currently just in diet according to browsing record;
When determining that user currently just in diet, determines that user is in operation constrained state.
In the present embodiment, being recorded by the browsing in storage module determines user just in diet so that it is determined that user is inConstrained state is operated, the exploitativeness of scheme is increased.Subsequent terminal device opens voice assistant, and user can be helped by voiceHand carries out the control to terminal device, and without being used in user behavior by manual operation terminal device in limited time, the user experience is improved,Also the practicability and convenience of scheme are improved.
Optionally, on the basis of the embodiment corresponding to above-mentioned Fig. 2, terminal device provided by the embodiments of the present application it is anotherIn one embodiment:
Terminal device is also particularly useful for determining that terminal device receives short message, wechat, phone, at least one in video communication?.
In the present embodiment, in user's operation by limited time, terminal device is by determining there are instruction to be treated and disappearingAfter breath, just open voice assistant function, as long as rather than user's operation is limited is switched on voice assistant function, improve user's bodyIt tests, also avoids the wasting of resources.
The embodiment of the present application also provides another terminal devices, as shown in figure 3, for ease of description, illustrate only withThe relevant part of the embodiment of the present application, it is disclosed by specific technical details, please refer to the embodiment of the present application method part.The terminalCan be includes mobile phone, tablet computer, personal digital assistant (personal digital assistant, PDA), point-of-sale terminalAny terminal device such as (point of sales, POS), vehicle-mounted computer, taking the terminal as an example:
Fig. 3 shows the block diagram of the part-structure of mobile phone relevant to terminal provided by the embodiments of the present application.With reference to figure3, mobile phone include: radio frequency (radio frequency, RF) circuit 310, memory 320, input unit 330, display unit 340,Sensor 350, voicefrequency circuit 360, Wireless Fidelity (wireless fidelity, WiFi) module 370, processor 380 andThe components such as power supply 390.It will be understood by those skilled in the art that handset structure shown in Fig. 3 does not constitute the restriction to mobile phone,It may include perhaps combining certain components or different component layouts than illustrating more or fewer components.
It is specifically introduced below with reference to each component parts of the Fig. 3 to mobile phone:
RF circuit 310 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base stationAfter downlink information receives, handled to processor 380;In addition, the data for designing uplink are sent to base station.In general, RF circuit 310Including but not limited to antenna, at least one amplifier, transceiver, coupler, low-noise amplifier (low noiseAmplifier, LNA), duplexer etc..In addition, RF circuit 310 can also be communicated with network and other equipment by wireless communication.Any communication standard or agreement, including but not limited to global system for mobile communications (global can be used in above-mentioned wireless communicationSystem of mobile communication, GSM), general packet radio service (general packet radioService, GPRS), CDMA (code division multiple access, CDMA), wideband code division multiple access(wideband code division multiple access, WCDMA), long term evolution (long term evolution,LTE), Email, short message service (short messaging service, SMS) etc..
Memory 320 can be used for storing software program and module, and processor 380 is stored in memory 320 by operationSoftware program and module, thereby executing the various function application and data processing of mobile phone.Memory 320 can mainly includeStoring program area and storage data area, wherein storing program area can application journey needed for storage program area, at least one functionSequence (such as sound-playing function, image player function etc.) etc.;Storage data area can be stored to be created according to using for mobile phoneData (such as audio data, phone directory etc.) etc..It, can be in addition, memory 320 may include high-speed random access memoryIncluding nonvolatile memory, for example, at least a disk memory, flush memory device or other volatile solid-statesPart.
Input unit 330 can be used for receiving the number or character information of input, and generate with the user setting of mobile phone withAnd the related key signals input of function control.Specifically, input unit 330 may include that touch panel 331 and other inputs are setStandby 332.Touch panel 331, also referred to as touch screen, collect user on it or nearby touch operation (such as user useThe operation of any suitable object or attachment such as finger, stylus on touch panel 331 or near touch panel 331), and rootCorresponding attachment device is driven according to preset formula.Optionally, touch panel 331 may include touch detecting apparatus and touchTwo parts of controller.Wherein, the touch orientation of touch detecting apparatus detection user, and touch operation bring signal is detected,Transmit a signal to touch controller;Touch controller receives touch information from touch detecting apparatus, and is converted into touchingPoint coordinate, then gives processor 380, and can receive order that processor 380 is sent and be executed.Furthermore, it is possible to using electricityThe multiple types such as resistive, condenser type, infrared ray and surface acoustic wave realize touch panel 331.In addition to touch panel 331, inputUnit 330 can also include other input equipments 332.Specifically, other input equipments 332 can include but is not limited to secondary or physical bondOne of disk, function key (such as volume control button, switch key etc.), trace ball, mouse, operating stick etc. are a variety of.
Display unit 340 can be used for showing information input by user or be supplied to user information and mobile phone it is variousMenu.Display unit 340 may include display panel 341, optionally, can use liquid crystal display (liquid crystalDisplay, LCD), the forms such as Organic Light Emitting Diode (organic light-emitting diode, OLED) it is aobvious to configureShow panel 341.Further, touch panel 331 can cover display panel 341, when touch panel 331 detect it is on it or attachedAfter close touch operation, processor 380 is sent to determine the type of touch event, is followed by subsequent processing device 380 according to touch eventType corresponding visual output is provided on display panel 341.Although in Fig. 3, touch panel 331 and display panel 341It is that the input and input function of mobile phone are realized as two independent components, but in some embodiments it is possible to by touch-controlPanel 331 and display panel 341 are integrated and that realizes mobile phone output and input function.
Mobile phone may also include at least one sensor 350, such as optical sensor, motion sensor and other sensors.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ambient lightLight and shade adjust the brightness of display panel 341, proximity sensor can close display panel 341 when mobile phone is moved in one's earAnd/or backlight.As a kind of motion sensor, accelerometer sensor can detect (generally three axis) acceleration in all directionsSize, can detect that size and the direction of gravity when static, can be used to identify the application of mobile phone posture, (for example horizontal/vertical screen is cutChange, dependent game, magnetometer pose calibrating), Vibration identification correlation function (such as pedometer, tap) etc.;May be used also as mobile phoneThe other sensors such as gyroscope, barometer, hygrometer, thermometer, the infrared sensor of configuration, details are not described herein.
Voicefrequency circuit 360, loudspeaker 361, microphone 362 can provide the audio interface between user and mobile phone.Audio-frequency electricElectric signal after the audio data received conversion can be transferred to loudspeaker 361, be converted to sound by loudspeaker 361 by road 360Signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 362, is turned after being received by voicefrequency circuit 360It is changed to audio data, then by after the processing of audio data output processor 380, such as another mobile phone is sent to through RF circuit 310,Or audio data is exported to memory 320 to be further processed.
WiFi belongs to short range wireless transmission technology, and mobile phone can help user's transceiver electronics postal by WiFi module 370Part, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Fig. 3 is shownWiFi module 370, but it is understood that, and it is not belonging to must be configured into for mobile phone, it can according to need do not changing completelyBecome in the range of the essence of application and omits.
Processor 380 is the control centre of mobile phone, using the various pieces of various interfaces and connection whole mobile phone, is led toIt crosses operation or executes the software program and/or module being stored in memory 320, and call and be stored in memory 320Data execute the various functions and processing data of mobile phone, to carry out integral monitoring to mobile phone.Optionally, processor 380 can wrapInclude one or more processing units;Preferably, processor 380 can integrate application processor and modem processor, wherein answerWith the main processing operation system of processor, user interface and application program etc., modem processor mainly handles wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 380.
Mobile phone further includes the power supply 390 (such as battery) powered to all parts, it is preferred that power supply can pass through power supply pipeReason system and processor 380 are logically contiguous, to realize management charging, electric discharge and power managed by power-supply management systemEtc. functions.
Although being not shown, mobile phone can also include camera, bluetooth module etc., and details are not described herein.
In the embodiment of the present application, processor 380 included by the terminal is also with the following functions:
Terminal device obtains user behavior relevant information;
The terminal device predicts whether user is in operation constrained state according to the user behavior relevant information;
If the terminal device determines that the user is in operation constrained state, start voice control function.
It is apparent to those skilled in the art that for convenience and simplicity of description, the system of foregoing description,The specific work process of device and unit, can refer to corresponding processes in the foregoing method embodiment, and details are not described herein.
In several embodiments provided herein, it should be understood that disclosed system, device and method can be withIt realizes by another way.For example, the apparatus embodiments described above are merely exemplary, for example, the division of unit,Only a kind of logical function partition, there may be another division manner in actual implementation, such as multiple units or components can be withIn conjunction with or be desirably integrated into another system, or some features can be ignored or not executed.Another point, it is shown or discussedMutual coupling, direct-coupling or communication connection can be through some interfaces, the INDIRECT COUPLING of device or unit orCommunication connection can be electrical property, mechanical or other forms.
Unit may or may not be physically separated as illustrated by the separation member, shown as a unitComponent may or may not be physical unit, it can and it is in one place, or may be distributed over multiple networksOn unit.It can some or all of the units may be selected to achieve the purpose of the solution of this embodiment according to the actual needs.
It, can also be in addition, each functional unit in each embodiment of the application can integrate in one processing unitIt is that each unit physically exists alone, can also be integrated in one unit with two or more units.Above-mentioned integrated listMember both can take the form of hardware realization, can also realize in the form of software functional units.
It, can if integrated unit is realized in the form of SFU software functional unit and when sold or used as an independent productTo be stored in a computer readable storage medium.Based on this understanding, the technical solution of the application substantially orSay that all or part of the part that contributes to existing technology or the technical solution can embody in the form of software productsOut, which is stored in a storage medium, and may include that some instructions are used so that a computerThe whole of equipment (can be personal computer, server or the network equipment etc.) execution each 1 method of implementation example figure of the applicationOr part steps.And storage medium above-mentioned may include: USB flash disk, mobile hard disk, read-only memory (read-only memory,ROM), random access memory (random access memory, RAM), magnetic or disk etc. are various can store programThe medium of code.
More than, above embodiments are only to illustrate the technical solution of the application, rather than its limitations;Although referring to aforementioned realityExample is applied the application is described in detail, those skilled in the art should understand that: it still can be to aforementioned eachTechnical solution documented by embodiment is modified or equivalent replacement of some of the technical features;And these are modifiedOr replacement, the spirit and scope of each embodiment technical solution of the application that it does not separate the essence of the corresponding technical solution.