Specific embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The primary solutions of the embodiment of the present invention are: receiving the manipulation instruction triggered at the terminal;According to the triggeringManipulation instruction search the user in preset user's tcs database and be accustomed to data, in user's tcs database, everyThe corresponding binding of manipulation instruction has user to be accustomed to data;It is accustomed to number with the user of the manipulation instruction of triggering binding if findingAccording to then executing the operation that corresponding user is accustomed to data correlation, be achieved in intelligent interaction software and complete to meet user's habitThe demand of thing promotes the usage experience of user.
By taking mobile phone speech assistant as an example, due to current mobile phone speech assistant's function, it is usually in response to an instruction, is carried outOne operation, and this general one-to-one relationship can not change.For a user, such function rule comparesMore inflexible, under many scenes, user wishes that voice assistant can help through more things in fact, and preferably actively helpsUser completes the thing for meeting the living habit of each user oneself.I.e. in the prior art, voice assistant is usually all a fingerOne operation of corresponding progress is enabled, the corresponding requirement for carrying out many more manipulations of user one instruction is unable to satisfy.
The present invention provides a solution, and intelligent interaction software may be implemented and complete the need for meeting the thing of user's habitIt asks, by taking phonetic order as an example, a phonetic order may be implemented and complete multi-step automatic operation, and meet the needs of users,Promote the usage experience of user.
Specifically, as shown in Figure 1, a kind of method that first embodiment of the invention proposes controlling terminal, comprising:
Step S101 receives the manipulation instruction triggered at the terminal;
The executing subject of this embodiment scheme can be terminal, or the device of controlling terminal, the device can beHardware configuration can also be carried in terminal in the form of software.
This embodiment scheme relates generally to the application of the intelligent interaction software in terminal, such as mobile phone speech assistant.
Wherein, control instruction is the conditional order for triggering user and carrying out relevant operation at the terminal, including but not limited to languageSound instruction, the present embodiment are illustrated with the phonetic order triggered in mobile phone speech assistance application, are realized by voice to endThe control at end.
Terminal involved in this embodiment scheme is equipped with voice assistant application, passes through the voice assistant application, Yong HukeTo realize that voice control terminal executes corresponding operation.
As an implementation, user can wake up voice assistant by the voice assistant icon of click terminal desktopUsing alternatively, waking up voice assistant application by menu option corresponding in terminal.
In terminal side, after terminal receives the wake up instruction of user, according to the wake up instruction of user, opens voice assistant and answerWith.
Step S102 searches the user in preset user's tcs database according to the manipulation instruction of the triggering and is accustomed to numberAccording in user's tcs database, the corresponding binding of every manipulation instruction has user to be accustomed to data;
In the present embodiment, user's tcs database has been pre-created, user's use is stored in user's tcs databaseThe sequence of operations got used to after, and manipulation instruction corresponding with the application function, above-mentioned sequence of operations with it is rightThe manipulation instruction binding storage answered.That is, the corresponding binding of every manipulation instruction has multiple in user's tcs databaseThe user of step operation is accustomed to data.
By taking phonetic order as an example, in the present embodiment, user's tcs database is pre-created, in user's tcs databaseIt is stored with user and uses the sequence of operations got used to after phonetic function, and phonetic order corresponding with the phonetic function,Above-mentioned sequence of operations is bound with corresponding phonetic order and is stored.That is, every voice refers in user's tcs databaseEnable corresponding binding that there is the user of multiple step operations to be accustomed to data.
Wherein, user is according to monitoring user in a period of time using the sequence of operations got used to after phonetic functionScreening obtains in the interior sequence of operations using after phonetic function.
After receiving phonetic order of user's using terminal voice assistant using rear user triggering, according to the phonetic orderPreset user's tcs database is searched, is judged in user's tcs database with the presence or absence of user corresponding with the phonetic orderHabitually sequence of operations.
Step S103 is accustomed to data with the user of the manipulation instruction of triggering binding if finding, executes correspondingThe operation of user's habit data correlation.
It is accustomed to data with the user of the phonetic order binding of user triggering if finding, executes the phonetic order pairThe sequence of operations answered.
As a result, through the above scheme, user's tcs database is pre-created, is receiving user's using terminal voice assistantWhen the phonetic order triggered using rear user, preset user is searched according to the phonetic order of user triggering and is accustomed to dataLibrary, in user's tcs database, there is the corresponding binding of every phonetic order the user of multiple step operations to be accustomed to data;IfIt finds and is accustomed to data with the user of the phonetic order binding of user triggering, then execute corresponding multiple step operations, fromAnd achieve the purpose that a phonetic order is corresponding and carry out multistep combination operation, meet the needs of users, promote user uses bodyIt tests.
As shown in Fig. 2, a kind of method that second embodiment of the invention proposes controlling terminal, this method comprises:
Step S80, within a preset period of time, when receiving the manipulation instruction that user triggers at the terminal, monitoring is defaultSequence of operations in duration simultaneously records preservation;
Step S90 is filtered out from each sequence of operations saved in the preset time period and is met preset rulesSequence of operations with multiple step operations as the use habit data of user, and obtains corresponding manipulation instruction;
Step S100 binds the use habit data of the user filtered out with corresponding manipulation instruction.
Step S201 receives the manipulation instruction triggered at the terminal;
Step S202 searches the user in preset user's tcs database according to the manipulation instruction of the triggering and is accustomed to numberAccording in user's tcs database, the corresponding binding of every manipulation instruction has user to be accustomed to data;
Step S203 is accustomed to data with the user of the manipulation instruction of triggering binding if finding, executes correspondingThe operation of user's habit data correlation.
Above-mentioned steps S201, S202, S203 and step S101, S102, S103 in first embodiment described in above-mentioned Fig. 1Correspondence is identical, and details are not described herein.
Compared to above-mentioned first embodiment, further includes creation user's tcs database in the present embodiment, be accustomed to number in userAccording to the scheme that in library, the use habit data of user are bound with corresponding manipulation instruction.
By taking phonetic order as an example, after user wakes up voice assistant, voice function is being used by real time monitoring record userThe sequence of operations that can be carried out afterwards, after user is repeated several times and (is greater than 3 times) with sequence of operations, voice assistant will use automaticallySequence of operations phonetic order binding corresponding with the phonetic function after phonetic function is got up, and is corresponded to reach an instructionCarry out the purpose of multistep combination operation.
Specifically, within a preset period of time, user's using terminal voice assistant is being received every time using rear user triggeringPhonetic order when, monitoring this using terminal voice assistant of user is using the sequence of operations in rear preset duration and records guarantorIt deposits;
Filtered out from each sequence of operations saved in the preset time period meet preset rules have it is multipleThe sequence of operations of step operation as the use habit data of user, and obtains corresponding phonetic order;
As an implementation, weight is filtered out in each sequence of operations that can be saved out of described preset time periodThe series of targets operation of multiple preset times (such as 3 times), the use habit data as user;
Alternatively, as another embodiment, being screened from each sequence of operations saved in the preset time periodSimilarity reaches the series of targets operation of preset condition out, and the series of targets operation that the similarity reaches preset condition is returnedIt receives and is operated for multi-step, the use habit data as user.
Finally, the use habit data of the user filtered out are bound with corresponding phonetic order.
It is implemented as follows:
Each step in the use habit data of the user filtered out is disassembled into corresponding order sequentially in time, andA command chaining is generated, successively responds each order when executing operation;Later, the command chaining of generation is referred to corresponding voiceEnable binding.
The present embodiment through the above scheme, after user wakes up voice assistant, is being used by monitoring record user in real timeThe sequence of operations carried out after phonetic function, after user is repeated several times with sequence of operations, voice assistant will use language automaticallySequence of operations phonetic order binding corresponding with the phonetic function after sound function is got up.It is subsequent, it is used receiving userAfter the phonetic order that user triggers after terminal speech assistance application, preset use is searched according to the phonetic order of user triggeringFamily tcs database, in user's tcs database, the corresponding binding of every phonetic order has the user of multiple step operationsIt is accustomed to data;It is accustomed to data with the user of the phonetic order binding of user triggering if finding, executes corresponding multipleStep operation.Through the above scheme, achieve the purpose that the corresponding automatic progress multistep combination operation of a phonetic order, meet userDemand, promote the usage experience of user;Furthermore, it is possible to which user is helped to complete the multi-step operation of repeatability, customizes and more meetThe voice assistant of each user's individual use habit, promotes the freedom degree of voice assistant custom instruction, while also improving languageThe user experience and playability of sound assistant, being supplied to user one, function is richer, playability is stronger, more agrees with user's individual certainlyThe novel voice assistant that the use habit of body also more improves efficiency simultaneously.
Further, in this embodiment scheme, can also include:
Prompt the user whether the use habit data for the user that storage is bound with corresponding manipulation instruction;
If receiving the confirmation instruction of user, by the use habit data of the user bound with corresponding manipulation instruction,Storage corresponding with corresponding manipulation instruction.
More specifically, as an implementation, in the present embodiment, user's operation monitoring module can be set, diveIn user's use habit memory module, user's use habit screening module, regular user use habit memory module and promptModule, by taking voice assistant is applied as an example, in which:
User's operation monitoring module: being activated when user begins to use voice assistant, and monitoring user is helped using voiceThe sequence of operations carried out manually in a period of time when hand and after using voice assistant, and used as potential userHabit is recorded.
Potential user's use habit memory module: being connected with user's operation monitoring module, and user's operation monitoring module is everyIt is secondary the data that monitoring obtains to be saved in potential user's use habit memory module.
User's use habit screening module: being connected with potential user's use habit memory module, each memory module numberAfter having updated, user's use habit screening module can compare the data being saved before and the data being newly addedIt is right, add once if comparing and unanimously recording the number that the data occur.When time that a certain potential user's use habit occursAfter number is greater than 3 times, then screened, the use habit as user is saved into regular user use habit memory module.
Regular user use habit memory module: it is connected with user's use habit screening module, to save through being sievedUser's use habit after choosing, and activate voice used in user's operation monitoring module to refer to before after inquiry user agrees toOrder is mapped.
User prompt module: it after regular user use habit memory module has update, is incited somebody to action to prompt the user whetherThis use habit is mapped with phonetic order used in activation user's operation monitoring module before.
In this embodiment scheme, after user wakes up voice assistant, the activation of user's operation monitoring module is started to work, and is led toThe sequence of operations that user's operation monitoring module record user is carried out after using phonetic function is crossed, one for saving as user is latentUse habit.After user is repeated several times and (is greater than 3 times) with sequence of operations, this potential use habit then switchs to useThe true use habit in family, and inquire whether the user needs to by its using after phonetic function sequence of operations and the phonetic functionCorresponding phonetic order binding is got up.After user agrees to, the phonetic function, the subsequent sequence of operations of user are reused laterUser can be helped to go to complete automatically, so that achieving the purpose that an instruction is corresponding carries out multistep combination operation.Specific process flow canWith as shown in Figure 3.
Wherein, it takes the mobile phone as an example, background user operation monitoring module is activated by using phonetic order, and laterA hour (can set) in keep the state of activation, mobile phone bring changing interface is manually operated in main monitoring users,It goes to match corresponding application using packet name by what is got, to know the application that user is operating, then passes through systemGeneral method such as reads notification bar information (application of music class would generally have information displaying in notification bar), or passes through correspondenceThe API of application obtains the state of the current application, to know the ongoing operation of user, and is recorded.
When carrying out the storage of regular user use habit, first data can be sorted out according to application, if can pass throughThe general mode of system such as obtains notification bar information, then record like this method progress, if cannot by system generic way,It then records and calls directly API progress.Entire sequence of operations process is sequentially recorded the storage of regular user use habitIn module.
It is subsequent, as shown in figure 4, voice assistant can obtain a recognition result, at this time after user is using voice assistantWhether voice assistant judges the recognition result with the presence of corresponding user's use habit, if any, then from regular userCorresponding data are taken out in use habit memory module, after normally having executed operation required by user, are further continued forThe user's use habit recorded in regular user use habit memory module is executed, until processing is completed.
If it is determined that the recognition result there is no corresponding user's use habit, then executed according to normal responding processCorresponding user's operation.
As a result, through the above scheme, achieve the purpose that a phonetic order is corresponding and carry out multistep combination operation, meet userDemand, promote the usage experience of user;In addition, being made after user wakes up voice assistant by monitoring record user in real timeWith the sequence of operations carried out after phonetic function, after user is repeated several times with sequence of operations, voice assistant will use automaticallySequence of operations phonetic order binding corresponding with the phonetic function after phonetic function is got up, to reach a phonetic orderThe corresponding purpose for carrying out multistep combination operation, meets the needs of users, promotes the usage experience of user.And user can be helpedThe multi-step operation of repeatability is completed, customization more meets the voice assistant of each user's individual use habit, promotes voice assistantThe freedom degree of custom instruction, while also improving the user experience and playability of voice assistant.
This embodiment scheme is described in detail with specific example below:
For example, user is waken morning by alarm clock, after alarm clock is closed in acoustic control, the monitoring module on backstage is started to work at this time,Start the relevant information of monitoring interface switching, user opens music manually and starts to play music, and monitoring module can detect at this timeFor changing interface to music player interface, this when can be by reading content that notification bar show or directly using APIInterface obtains the album name of music being played on, then the information such as singer, song title are opened after user's half an hour and called a taxiSoftware input destination starts about vehicle.Monitoring module can monitor that interface has been switched into taxi-hailing software at this time, then can be withThe destination of acquisition user's input is gone to by using api interface, these obtained data can be stored temporarily in potential user's useBe accustomed to memory module in, user hereafter the combination operation is still repeated within two days, that is to say, that this is one very regularBehavior, at this point, screening module monitors that this data had repeated three times, then, cue module can prompt userWhether the set is operated and is handled as user's use habit.After user agrees to, which can be disassembled into severalStep command is successively responded, such as if broadcasting music, because directly there is ready-made API, so that it may which it is straight that the step, which is arranged,It connects and API is called to be responded, be finally bundled in these several step commands after disassembling in the instruction of acoustic control alarm clock closing,It is executed automatically after the acoustic control instruction that response alarm clock is closed.Hereafter morning every day, user only need acoustic control alarm clock to close, languageSound assistant can be automatically performed subsequent operation, call music player by api interface, play the album listened always, such as" hit song ", and call the order for opening application to go to open taxi-hailing software automatically after half an hour, it is gone automatically by api interfaceIt inputs destination of calling a taxi and carries out about vehicle.This is acquired for a use habit of the individual subscriber, and unused user practises according to individualUsed difference, the subsequent processing steps that voice assistant can be different with automatic customization.
Accordingly, the Installation practice of controlling terminal of the present invention is proposed.
Present pre-ferred embodiments propose a kind of device of controlling terminal, comprising:
Receiving module, for receiving the manipulation instruction triggered at the terminal;
Searching module is practised for searching the user in preset user's tcs database according to the manipulation instruction of the triggeringUsed data, in user's tcs database, the corresponding binding of every manipulation instruction has user to be accustomed to data;
Operation executing module is practised for finding in the searching module with the user of the manipulation instruction of triggering bindingUsed data then execute the operation that corresponding user is accustomed to data correlation.
Further, described device further include: user's operation monitoring module, is used potential user's use habit memory moduleFamily use habit screening module, regular user use habit memory module and cue module, in which:
The user's operation monitoring module, within a preset period of time, receiving user's using terminal voice assistantWhen the phonetic order triggered using rear user, monitoring this using terminal voice assistant of user is using the system in rear preset durationColumn operation, and preservation is recorded to potential user's use habit memory module;
User's use habit screening module is deposited for potential user's use habit described out of described preset time periodThe sequence of operations with multiple step operations for meeting preset rules is filtered out in each sequence of operations that storage module saves,As the use habit data of user, and obtain corresponding phonetic order;By the use habit data of the user filtered out with it is rightThe phonetic order binding answered;
The regular user use habit memory module is connected with user's use habit screening module, and being used for willThe use habit data of user after screening, and activate phonetic order used in the user's operation monitoring module beforeCorresponding storage;
The cue module, for prompting the user whether the use habit of user that storage is bound with corresponding phonetic orderData;It is and right by the use habit data of the user bound with corresponding phonetic order if receiving the confirmation instruction of userThe phonetic order correspondence answered is stored to the regular user use habit memory module, and works as the regular user use habitAfter memory module has update, to prompt the user whether the storage corresponding with corresponding phonetic order of this use habit.
The principle of the present embodiment please refers to the various embodiments described above, and details are not described herein.
In addition, the embodiment of the present invention also proposes a kind of device of controlling terminal, comprising: memory, processor and be stored inOn the memory and the computer program that can run on the processor, the computer program are executed by the processorWhen at least realize following operation:
Receive the manipulation instruction triggered at the terminal;
The user in preset user's tcs database, which is searched, according to the manipulation instruction of the triggering is accustomed to data, the useIn the tcs database of family, the corresponding binding of every manipulation instruction has user to be accustomed to data;
It is accustomed to data with the user of the manipulation instruction of triggering binding if finding, executes corresponding user and be accustomed to numberAccording to associated operation.
Specifically, as shown in figure 5, terminal where the device of the present embodiment controlling terminal may include: processor 1001, exampleSuch as CPU, network interface 1004, user interface 1003, memory 1005, communication bus 1002.Wherein, communication bus 1002 is used forRealize the connection communication between these components.User interface 1003 may include display screen (Display), input unit such as keyDisk (Keyboard), optional user interface 1003 can also include standard wireline interface and wireless interface.Network interface 1004 canChoosing may include standard wireline interface and wireless interface (such as WI-FI interface).Memory 1005 can be high-speed RAM storageDevice is also possible to stable memory (non-volatile memory), such as magnetic disk storage.Memory 1005 is optionalIt can also be the storage device independently of aforementioned processor 1001.
It will be understood by those skilled in the art that the restriction of the not structure paired terminal of terminal structure shown in Fig. 5, can wrapIt includes than illustrating more or fewer components, perhaps combines certain components or different component layouts.
As shown in figure 5, as may include that operating system, network are logical in a kind of memory 1005 of computer storage mediumBelieve module, Subscriber Interface Module SIM and controlling terminal program.
In mobile terminal shown in Fig. 5, network interface 1004 is mainly used for connecting network server, with network serverCarry out data communication;User interface 1003 is mainly used for connecting client (user terminal), carries out data communication with client;And locateReason device 1001 can be used for calling the controlling terminal program stored in memory 1005, and execute following operation:
Receive the manipulation instruction triggered at the terminal;
The user in preset user's tcs database, which is searched, according to the manipulation instruction of the triggering is accustomed to data, the useIn the tcs database of family, the corresponding binding of every manipulation instruction has user to be accustomed to data;
It is accustomed to data with the user of the manipulation instruction of triggering binding if finding, executes corresponding user and be accustomed to numberAccording to associated operation.
Further, processor 1001 can be also used for calling the controlling terminal program stored in memory 1005, and holdThe following operation of row:
Pass through user and be accustomed to data study and create user's tcs database, wherein the user be accustomed to data with it is rightThe manipulation instruction binding answered.
Further, processor 1001 can be also used for calling the controlling terminal program stored in memory 1005, and holdThe following operation of row:
Within a preset period of time, it when receiving the manipulation instruction that user triggers at the terminal, monitors in preset durationSequence of operations simultaneously records preservation;
Filtered out from each sequence of operations saved in the preset time period meet preset rules have it is multipleThe sequence of operations of step operation as the use habit data of user, and obtains corresponding manipulation instruction;
The use habit data of the user filtered out are bound with corresponding manipulation instruction.
Further, processor 1001 can be also used for calling the controlling terminal program stored in memory 1005, and holdThe following operation of row:
The series of targets of repetition preset times is filtered out from each sequence of operations saved in the preset time periodOperation, the use habit data as user;Or
The mesh that similarity reaches preset condition is filtered out from each sequence of operations saved in the preset time periodSequence of maneuvers is marked, and the series of targets operation that the similarity reaches preset condition is summarized as multi-step operation, as userUse habit data.
Further, processor 1001 can be also used for calling the controlling terminal program stored in memory 1005, and holdThe following operation of row:
Prompt the user whether the use habit data for the user that storage is bound with corresponding manipulation instruction;
If receiving the confirmation instruction of user, by the use habit data of the user bound with corresponding manipulation instruction,Storage corresponding with corresponding manipulation instruction.
Further, processor 1001 can be also used for calling the controlling terminal program stored in memory 1005, and holdThe following operation of row:
Each step in the use habit data of the user filtered out is disassembled into corresponding order sequentially in time, andA command chaining is generated, successively responds each order when executing operation;
The command chaining of generation is bound with corresponding manipulation instruction.
In addition, the embodiment of the present invention also proposes a kind of computer readable storage medium, the computer readable storage mediumOn be stored with computer program, following operation is at least realized when the computer program is executed by processor:
Receive the manipulation instruction triggered at the terminal;
The user in preset user's tcs database, which is searched, according to the manipulation instruction of the triggering is accustomed to data, the useIn the tcs database of family, the corresponding binding of every manipulation instruction has user to be accustomed to data;
It is accustomed to data with the user of the manipulation instruction of triggering binding if finding, executes corresponding user and be accustomed to numberIt is referred to above-described embodiment according to the associated specific controlling terminal process of operation the present embodiment, details are not described herein.
The above description is only a preferred embodiment of the present invention, is not intended to limit the scope of the invention, all utilizationsEquivalent structure made by description of the invention and accompanying drawing content or process transformation, are applied directly or indirectly in other relevant skillsArt field, is included within the scope of the present invention.