CN105224074B - A kind of control method and electronic equipment - Google Patents
A kind of control method and electronic equipment Download PDFInfo
- Publication number
- CN105224074B CN105224074B CN201510548777.6A CN201510548777A CN105224074B CN 105224074 B CN105224074 B CN 105224074B CN 201510548777 A CN201510548777 A CN 201510548777A CN 105224074 B CN105224074 B CN 105224074B
- Authority
- CN
- China
- Prior art keywords
- electronic equipment
- preset function
- function module
- speech trigger
- module
- 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.)
- Active
Links
Abstract
This application provides a kind of control method and electronic equipments, the electronic equipment includes speech trigger device, by detecting the first state information of the first preset function module of the electronic equipment and the second status information of the speech trigger device, and it is based on the first state information and the second status information, whether the current working status for verifying the first preset function module and speech trigger device meets preset condition, if meeting preset condition, the current pose of the electronic equipment is obtained again, to be based on the first preset function module and the current pose, directly execute corresponding the first predetermined registration operation, it no longer needs to be operated using command voice control software, it is simple and quick, it can allow user that there is more preferable experience to the use of the electronic equipment, simultaneously, reduce power consumption, and the performance of original system can't be brought Adverse effect.
Description
Technical field
The invention mainly relates to the application fields of electronic equipment, set more particularly to a kind of control method and electronics
It is standby.
Background technique
Mobile internet device (Mobile Internet Device, abbreviation MID) is as in laptop and mobile phone
Between new product form, it is smaller than laptop volume, convenient for carrying;Than mobile phone on the market display screen more
Greatly, processing capacity, signal stabilization and compatibility are more powerful, user can be used MID at any time with any place
Internet is accessed, the operations such as amusement, progress information inquiry, mail transmission/reception is enjoyed at any time, meets the need of work, life etc.
It asks.
Currently, in the practical application of electronic equipment, in order to facilitate user's operation and enhances the interest of equipment operation, lead to
Chang Douhui increases voice control function, wherein the voice control in existing MID is usually first with speech trigger device wake
MID system recycles this voice control software realization concrete operations of command, and process is more troublesome, and user experience is bad;
Moreover, needing to acquire voice in the command operational process day after tomorrow in real time and identifying, computationally intensive and power consumption is very high, substantially reduces
The performance of system.
Summary of the invention
In view of this, solving in the prior art the present invention provides a kind of control method and electronic equipment because voice touches
Transmitting apparatus and voice control software needs are individually used separately, so that the operation of electronic equipment is more complicated, reduce user's body
The technical issues of testing, while increasing the power consumption of the electronic equipment, affecting its system performance.
To achieve the goals above, this application provides following technical schemes:
A kind of control method is applied to electronic equipment, and the electronic equipment includes speech trigger device, the method packet
It includes:
Detect the first preset function module of the electronic equipment first state information and the speech trigger device
The second status information;
Based on the first state information and second status information, the first preset function module and described is verified
Whether the current working status of speech trigger device meets preset condition;
If the current working status of the first preset function module and the speech trigger device meets preset condition, obtain
The current pose of the electronic equipment is taken, and is based on the first preset function module and the current pose, obtains and holds
The corresponding the first predetermined registration operation of row.
Preferably, described to be based on the first state information and second status information, verify the first default function
Whether the current working status of energy module and the speech trigger device, which meets preset condition, includes:
According to the first state information, whether in running order the first preset function module is verified;
If the first preset function module is in running order, according to second status information, verifying is described the
Whether one preset function module in running order period, the speech trigger device occur the first default speech trigger event;
Then the current working status of the first preset function module and the speech trigger device meets preset condition tool
Body are as follows:
In the first preset function module in running order period, it is default that the speech trigger device has occurred first
Speech trigger event.
Preferably, described to be based on the first state information and second status information, verify the first default function
Whether the current working status of energy module and the speech trigger device, which meets preset condition, includes:
According to second status information, verify whether the speech trigger device occurs the first default speech trigger thing
Part;
If the speech trigger device has occurred the first default speech trigger event and is tested according to the first state information
For card during the described first default speech trigger event occurs, whether the first preset function module enters working condition;
Then the current working status of the first preset function module and the speech trigger device meets preset condition tool
Body are as follows:
During the described first default speech trigger event occurs, the first preset function module enters working condition.
Preferably, when the first preset function module is volume control module, first when the electronic equipment is pre-
If functional module is in running order, the method also includes:
Obtain the current operation mode of the volume control module;
Correspondingly, described to be based on the first preset function module and the current pose, it obtains and executes corresponding
The first predetermined registration operation specifically:
Under the current operation mode for searching the volume control module, the corresponding with the current pose first default behaviour
Make, and executes described the first predetermined registration operation.
Preferably, in the first preset function module in running order period, the speech trigger device is had occurred
First default speech trigger event, alternatively, during the described first default speech trigger event occurs, first preset function
When module enters working condition, the method also includes:
Record the first volume when the first preset function module is started to work;
When the first preset function module from service, current volume is reverted into first volume.
Preferably, the current operation mode of the volume control module includes increasing volume operating mode and reduction volume work
Operation mode;
Described the first predetermined registration operation is specifically one of the following:
The filming apparatus for starting the electronic equipment is shot;
Start or close the lighting device of the electronic equipment;
Start the electronic equipment and presets social software;
Contextual model is preset to the electronic equipment to switch over;
Start the default player of the electronic equipment, and controls the broadcast state of the default player;
The navigation device for starting the electronic equipment is navigated using the direction of the current pose as navigation destination;
Call object corresponding with the current pose of the electronic equipment is searched, and sends communication to the call object and asks
It asks.
Preferably, when the first preset function module is receiver J-Horner module, if the receiver J-Horner module is in
Starting state, described the first predetermined registration operation are specifically one of the following:
The filming apparatus for starting the electronic equipment is shot;
Start or close the lighting device of the electronic equipment;
Start the electronic equipment and presets social software;
Contextual model is preset to the electronic equipment to switch over;
Start the default player of the electronic equipment, and controls the broadcast state of the default player;Or;
The navigation device for starting the electronic equipment is navigated using the direction of the current pose as navigation destination.
Preferably, the method also includes:
The first action pane corresponding with the first preset function module is exported, first action pane is for instructing
First preset function module described in user setting is under different operating module, the corresponding behaviour of different postures of the electronic equipment
Make.
A kind of electronic equipment, the electronic equipment include:
Multiple functional modules;
Speech trigger device, for obtaining the first voice messaging of user's input, and by first voice messaging and in advance
If voice messaging be compared, if first voice messaging is consistent with preset voice messaging, determine current to occur first
Default speech trigger event;
Detection device, for detecting the first state information of the first preset function module of the electronic equipment and described
Second status information of speech trigger device, the first preset function module are any one in the multiple functional module
Functional module;
It is default to verify described first for being based on the first state information and second status information for control device
Whether the current working status of functional module and the speech trigger device meets preset condition, if the first preset function mould
The current working status of block and the speech trigger device meets preset condition, obtains the current pose of the electronic equipment, and
Based on the first preset function module and the current pose, obtains and execute corresponding the first predetermined registration operation.
Preferably, the control device is specifically used for verifying first preset function according to the first state information
Whether module is in running order, if the first preset function module is in running order, according to second status information,
In the first preset function module in running order period, whether the speech trigger device occurs the first default language for verifying
Sound trigger event;
Or;
The control device is specifically used for verifying whether the speech trigger device occurs according to second status information
First default speech trigger event, if the first default speech trigger event has occurred in the speech trigger device, according to described
One status information, verifying during the described first default speech trigger event occurs, the first preset function module whether into
Enter working condition.
Preferably, when the first preset function module is volume control module, the control device is also used in institute
State electronic equipment the first preset function module it is in running order when, obtain the work at present mould of the volume control module
Formula, under the current operation mode for searching the volume control module, the first predetermined registration operation corresponding with the current pose, and hold
The described the first predetermined registration operation of row.
Preferably, the control device was also used in the first preset function module in running order period, described
The first default speech trigger event has occurred in speech trigger device;Alternatively, the phase occurs in the described first default speech trigger event
Between, when the first preset function module enters working condition, record the when the first preset function module is started to work
One volume, and in the first preset function module from service, current volume is reverted into first volume.
Preferably, the control device is specifically used in the current operation mode of the volume control module being to increase volume
Operating mode, or in the first preset function module be receiver J-Horner module, and the receiver J-Horner module is in starting
When state, the filming apparatus for starting the electronic equipment is shot;Alternatively, starting or closing the illumination dress of the electronic equipment
It sets;Start the electronic equipment and presets social software;It is switched over alternatively, presetting contextual model to the electronic equipment;Alternatively,
Start the default player of the electronic equipment, and controls the broadcast state of the default player;Alternatively, starting the electronics
The navigation device of equipment is navigated using the direction of the current pose as navigation destination;In working as the volume control module
Preceding operating mode is lookup call object corresponding with the current pose of electronic equipment when reducing volume operating mode, and
Communication request is sent to the call object.
Preferably, the control device is also used to export the first operation window corresponding with the first preset function module
Mouthful, first action pane is for instructing the first preset function module described in user setting described under different operating module
The corresponding operation of different postures of electronic equipment.
It can be seen that compared with prior art, this application provides a kind of control method and electronic equipment, the electronic equipments
It include speech trigger device, by the first state information and the voice that detect the first preset function module of the electronic equipment
Second status information of trigger device, and it is based on the first state information and the second status information, verify first preset function
Whether the current working status of module and speech trigger device meets preset condition, if meeting preset condition, then obtains the electronics
It is pre- directly to execute corresponding first to be based on the first preset function module and the current pose for the current pose of equipment
It is simple and quick if operation, no longer needs to be operated using command voice control software, user can be allowed to set the electronics
Standby use has more preferable experience, meanwhile, power consumption is reduced, and adverse effect can't be brought to the performance of original system.
Detailed description of the invention
In order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology, to embodiment or will show below
There is attached drawing needed in technical description to be briefly described, it should be apparent that, the accompanying drawings in the following description is only this
The embodiment of invention for those of ordinary skill in the art without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow diagram of control method embodiment one provided by the invention;
Fig. 2 is a kind of flow diagram of control method embodiment two provided by the invention;
Fig. 3 is a kind of flow diagram of control method embodiment three provided by the invention;
Fig. 4 (a) is the operation chart of a kind of electronic equipment shortcut function implementation provided by the invention;
Fig. 4 (b) is the operation chart of another electronic equipment shortcut function implementation provided by the invention;
Fig. 4 (c) is the operation chart of another electronic equipment shortcut function implementation provided by the invention;
Fig. 4 (d) is the operation chart of another electronic equipment shortcut function implementation provided by the invention;
Fig. 4 (e) is the operation chart of another electronic equipment shortcut function implementation provided by the invention;
Fig. 4 (f) is the operation chart of another electronic equipment shortcut function implementation provided by the invention;
Fig. 5 is the structural schematic diagram of a kind of electronic equipment example IV provided by the invention.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, it is obtained by those of ordinary skill in the art without making creative efforts every other
Embodiment shall fall within the protection scope of the present invention.
This application provides a kind of control method and electronic equipment, which includes speech trigger device, is passed through
The first state information of the first preset function module of the electronic equipment and the second status information of the speech trigger device are detected,
And it is based on the first state information and the second status information, verify the current of the first preset function module and speech trigger device
Whether working condition meets preset condition, if meeting preset condition, then obtains the current pose of the electronic equipment, to be based on being somebody's turn to do
First preset function module and the current pose, directly execute corresponding the first predetermined registration operation, no longer need to utilize command language
Sound control software is operated, simple and quick, and user can be allowed to have more preferable experience to the use of the electronic equipment, meanwhile,
Power consumption is reduced, and adverse effect can't be brought to the performance of original system.
In order to keep the above objects, features and advantages of the present invention more obvious and easy to understand, with reference to the accompanying drawing and specifically
The present invention is described in further detail for embodiment.
Embodiment one:
As shown in Figure 1, being a kind of flow diagram of control method embodiment one provided by the invention, this method can be answered
For electronic equipment, such as mobile internet device (Mobile Internet Device, abbreviation MID), however, it is not limited to this,
The electronic equipment can wrap containing speech trigger device, i.e., the voice device of existing trigger-type, the present invention is to its concrete composition
Structure is not construed as limiting, and in the present embodiment practical application, this method be may comprise steps of:
Step S110: detect the first preset function module of the electronic equipment first state information and the voice
Second status information of trigger device.
Wherein, the first preset function module of electronic equipment can be any functional module that the electronic equipment includes, such as
Volume control module, receiver J-Horner module, communication module etc., the present embodiment is not especially limited this.
In practical applications, it can therefrom select and be realized used in the shortcut of certain function using the electronic equipment in advance
Functional module is the first preset function module;It is of course also possible to produce the electricity by producer of factory, that is, production technician
When sub- equipment, the first preset function module used in the shortcut that it realizes certain function is set, can also be its other party
Formula belongs to the scope of the present invention, this implementation is herein only if it were not for those skilled in the art make the creative labor determining
No longer it is described in detail one by one.
In conjunction with above-mentioned analysis, in the present embodiment practical application, when user needs a certain of the quick start electronic equipment
When function, such as needing quick start wechat, QQ, flashlight, or needing quickly to carry out call request to user A, it is not necessarily to
Corresponding icon triggering starting is searched on the display screen of the electronic equipment again, which directly can be directed to the function according to above-mentioned
The shortcut quick start of setting, during being somebody's turn to do, which needs to monitor user, and by realization, the shortcut is carried out
Operation, and in the present embodiment, user will realize that the shortcut usually requires to touch the first preset function module and voice
Hair module is operated, so, current embodiment require that monitoring the state of the first preset function module and voice activated module.
Wherein, the first state information of the first preset function module detected may include the first preset function mould
The work state information etc. of block, as what mode of operation whether the first preset function module working and be in
Etc., which can specifically determine that this implementation does not make this according to the concrete type of the first preset function module
It is specific to limit.
Similarly, the second status information of speech trigger device also may include its work state information etc., so that electronics is set
It is standby accurately to determine whether current speech trigger device is working accordingly, i.e., speech trigger event whether occurs, but do not limit to
In this, can specifically be determined according to the actual conditions of application, this implementation is no longer described in detail one by one herein.
Step S120: being based on the first state information and second status information, verifies first preset function
Whether the current working status of module and the speech trigger device meets preset condition, if so, entering step S130;If it is not,
Return step S110.
In the present embodiment, which can need the electronic equipment to realize which kind of function is determined according to user, if electric
Sub- equipment needs to start wechat, at least needs the first preset function module to be in the state to work, or even also need sometimes
It is specifically in the first operating mode;It is also desirable to start speech trigger device, even if the speech trigger device is in work
State;Certainly, if the first preset function module is other function module or when electronic equipment will realize other function, this is pre-
If condition can adjust according to actual needs, the shortcut of the function can be such as realized according to the electronic equipment of above-mentioned setting,
Determine that the current working status of the first preset function module and voice activated module needs the condition that meets, only if it were not for this
Field technical staff makes the creative labor determining, the equal category scope of the present invention, this implementation is no longer described in detail one by one herein.,
Wherein, if authentication failed in step S120, illustrate that the electronic equipment can not start corresponding function, that is to say, that
Corresponding shortcut starting failure, at this time can be with return step S110, to ensure the user again according to the shortcut to the
When one preset function module and voice activated module are operated, electronic equipment can in time to the current working status of the two into
Row verifying, to timely enter subsequent operation when this is proved to be successful.
Step S130: the current pose of the electronic equipment is obtained, and is based on the first preset function module and institute
Current pose is stated, obtain and executes corresponding the first predetermined registration operation.
In conjunction with above-mentioned analysis, due in the present embodiment, realizing the shortcut of different function for electronic equipment, usually
There will be similar operating procedure, such as the current working status of above-mentioned first preset function module and voice activated module meets pre-
If which kind of function specifically realized as the electronic equipment it is required that this may be the basic condition that electronic equipment realizes different function
It can, that is to say, that under the premise of meeting the basic condition, which is wechat to be started, QQ, or opens flashlight
Cylinder, or communicated etc. with user A, it is also necessary to further determine the current pose of the electronic equipment.
It can be seen that the present embodiment combines speech trigger with the static attitude of electronic equipment, command is eliminated
Mode directly uses using the speech trigger as command, not only increases user experience, and power consumption is greatly saved.Its
In, the posture of electronic equipment may include six kinds of postures, as just vertically, vertically, just level, pouring are put down, a left side is erected with the right side vertically
Straight etc., however, it is not limited to this, learns that the working frequency of application scheme electronic equipment only needs 2MHZ, and power consumption only has through test
0.5mW, and in currently existing scheme command the running background of electronic equipment at least will lead to system power dissipation increase 100mW, can
See, application scheme keeps lower power consumption 200 times nearly than prior art.
Specifically, as shown in following table one, the present embodiment can preset which function is the first preset function module be specifically
Energy module and its corresponding the first predetermined registration operation with the current pose of the working condition of voice activated module and electronic equipment,
The corresponding relationship that the part electronic functionalities that table one is only listed are realized, however, it is not limited to this, can carry out according to actual needs
Setting, the present embodiment will not enumerate herein,
Table one
Based on the content of above-mentioned table one, in practical applications, if verifying volume adjusting module starts and in increase volume
Operating mode, speech trigger device is activated, moreover, learn that the current pose of the electronic equipment is in positive horizontality, that
, the electronic equipment will directly call user A, no longer need to search the user A in address list again using the user of the electronic equipment
Contact method, then trigger contact method calling party A, so that entire calling procedure becomes very simple and fast, mention significantly
High user experience.
Similarly, if user needs to start wechat, the reduction volume button of volume adjusting module can be pressed, starts voice
Trigger device (can also first start the speech trigger device, this implementation is not construed as limiting this), while electronic equipment being in just
Horizontality, i.e., the wechat of the openable electronic equipment;Certainly, user can also press the receiver J-Horner key of electronic equipment,
Start speech trigger device, and the electronic equipment is made to be in positive horizontality, can also start wechat, user can be according to habit certainly
Dynamic selection.In addition to this, according to the difference of the shortcut of the starting wechat of setting, it is quick that user can also carry out start-up operation
Start wechat, this implementation will not enumerate herein.
Wherein, in the above embodiments, the Starting mode about speech trigger device can pass through acquisition user's input
Voice signal is matched with the voice prestored, if successful match, that is, starts the speech trigger device, speech trigger thing occurs
Part, at this point, the speech trigger device can produce interrupt INT signal, to wake up AP (Access Point, nothing in the electronic equipment
Line access point), and execute respective interrupt service routine.It should be noted that the application specifically opening to the speech trigger device
Flowing mode is not especially limited, and technical staff can be on the basis of technical scheme, in conjunction with the prior art or by reasonable
Analysis obtains other Starting mode, this belongs to the application protection scope.
Optionally, it on the basis of the various embodiments described above, is preset if not presetting electronic equipment and executing difference first
The shortcut of operation realizes the first predetermined registration operation, need the first preset function module and speech trigger of electronic equipment
The operating condition and electronic equipment of device are needed in which kind of posture etc., and the application can also export the electronics and set
Standby Non-precondition realizes the prompt information of the shortcut function, at this point, corresponding setting window can also be shown, to guide user complete
The setting of the shortcut function (function that i.e. above-mentioned the first predetermined registration operation is realized) in pairs.
Based on above-mentioned analysis it is found that in the present embodiment practical application, pass through the detect the electronic equipment first default function
The first state information of energy module and the second status information of the speech trigger device, and it is based on the first state information and second
Whether status information, the current working status for verifying the first preset function module and speech trigger device meet preset condition,
If meeting preset condition, then the current pose of the electronic equipment is obtained, to be based on the first preset function module and to deserve
Preceding posture directly executes corresponding the first predetermined registration operation, no longer needs to be operated using command voice control software, simply
And it is quick, it can allow user that there is more preferable experience to the use of the electronic equipment, meanwhile, power consumption is reduced, and can't be to original
Systematic performance brings adverse effect.
Embodiment two:
As shown in Fig. 2, being a kind of flow diagram of control method embodiment two provided by the invention, this method can be answered
For electronic equipment, such as mobile internet device (Mobile Internet Device, abbreviation MID), however, it is not limited to this,
The electronic equipment can wrap containing speech trigger device, i.e., the voice device of existing trigger-type, the present invention is to its concrete composition
Structure is not construed as limiting, and in the present embodiment practical application, this method be may comprise steps of:
Step S201: the first state information and the speech trigger of the first preset function module of electronic equipment are detected
Second status information of device.
Wherein, the first state information and the second status information may each comprise the working condition letter of corresponding module or device
Breath, to judge whether the module or device are working accordingly, and in which kind of mode work etc., however, it is not limited to this.
In addition, in conjunction with above-described embodiment corresponding part description it is found that the first preset function module can be electronics and set
Standby interior earphone keystroke, volume adjusting module etc., the present embodiment is not especially limited this.
Step S202: according to the first state information, verify whether the first preset function module is in work shape
State, if so, entering step S203;If it is not, return step S201.
In practical applications, when the first preset function module is switched to equipment, the letter of output by non-equipment
It number would generally change, thus, the present embodiment can determine that this is first pre- by the verifying of the variation to its output signal
If whether functional module is working, that is to say, that the first state information may include the first preset function module output letter
Number relevant information and its situation of change, however, it is not limited to this.
Step S203: it according to the second status information, verifies in the first preset function module in running order period, voice
Whether trigger device occurs the first default speech trigger event, if so, entering step S204;If it is not, return step S201.
Similarly, in the present embodiment, which may include the work state information of the speech trigger device,
If input speech signal is consistent with default voice signal after user starts the first preset function module, illustrate that the speech trigger fills
It sets and the first default speech trigger event has occurred, certainly, the application can also verify speech trigger device by other means
Whether first speech trigger event is occurred, it is not limited to this.
Step S204: obtaining the current pose of electronic equipment, and based on the first preset function module and described works as
Preceding posture obtains and executes corresponding the first predetermined registration operation.
In the present embodiment practical application, when can by each acceleration counter being arranged in the electronic equipment etc. obtain
Data calculated, obtain the current pose of the electronic equipment, the corresponding preset function of the current pose can also be arranged
Including.
Wherein, in order to improve gained current pose accuracy, can also to from acceleration counter etc. obtain data after, into
Microvibration interference is removed in row filtering processing, and however, it is not limited to this, only if it were not for those skilled in the art pay creative labor
Dynamic determination, belong to the scope of the present invention.
In addition, the particular content of the first predetermined registration operation can be according to the concrete type of the first preset function module, Yi Jiyong
The factors such as family actual demand or preset function setting determine that particular content, which can refer to, to be described below.
To sum up, in the present embodiment, by detecting the first state information of the first preset function module of the electronic equipment
It verifies the first preset function module according to first state information with the second status information of the speech trigger device and is in work
When making state, after starting speech trigger device, the current pose of the electronic equipment is obtained, to be based on the first preset function mould
Block and the current pose, directly execute corresponding the first predetermined registration operation, no longer need to carry out using command voice control software
Operation, it is simple and quick, it can allow user that there is more preferable experience to the use of the electronic equipment, meanwhile, power consumption is reduced, and simultaneously
Adverse effect will not be brought to the performance of original system.
Embodiment two:
As shown in figure 3, being a kind of flow diagram of control method embodiment two provided by the invention, this method can be answered
For electronic equipment, such as mobile internet device (Mobile Internet Device, abbreviation MID), however, it is not limited to this,
The electronic equipment can wrap containing speech trigger device, i.e., the voice device of existing trigger-type, the present invention is to its concrete composition
Structure is not construed as limiting, and in the present embodiment practical application, this method be may comprise steps of:
Step S301: the first state information and the speech trigger of the first preset function module of electronic equipment are detected
Second status information of device.
Step S302: according to the second status information, verify whether speech trigger device occurs the first default speech trigger thing
Part, if so, S303 is entered step, if it is not, return step S301.
Step S303: according to first state information, during the first default speech trigger event occurs, first is default for verifying
Whether functional module enters working condition, if so, entering step S304;If it is not, return step S301.
Step S304: obtaining the current pose of electronic equipment, and based on the first preset function module and described works as
Preceding posture obtains and executes corresponding the first predetermined registration operation.
Based on foregoing description content it is found that the difference of the present embodiment and above-described embodiment two is only that the first preset function mould
The verifying sequence of block and speech trigger device, this has no effect on the attainable technical effect of embodiment institute, that is to say, that this reality
Example is applied as above-described embodiment two, speech trigger can be combined with the static attitude of electronic equipment, be eliminated
Command mode directly uses using the speech trigger as command, not only increases user experience, and function is greatly saved
Consumption.
As another embodiment of the present invention, on the basis of the various embodiments described above, if the first preset function modular sound
Measure control module, verify the first preset function module it is in running order when, this method can also include: to obtain the sound
The current operation mode of control module is measured, volume operating mode is such as increased and reduces volume operating mode, then for above-mentioned steps
S130, step S204 and step S304, can specifically be to look under the current operation mode of the volume control module, with institute
The corresponding the first predetermined registration operation of current pose is stated, and executes described the first predetermined registration operation.
In addition, being based on above content, in the first preset function module in running order period, speech trigger device occurs
The first default speech trigger event, alternatively, during the first default speech trigger event occurs, the first preset function module into
When entering working condition, the method can also include: the first volume recorded when the first preset function module is started to work;
When the first preset function module from service, current volume is reverted into first volume, it is fast so as to avoid this
Influence of the use of prompt function to volume normal use.
Based on above-mentioned analysis, specifically, if the current operation mode of volume control module includes increasing volume operating mode
With reduce volume operating mode, the first predetermined registration operation in the various embodiments described above specifically can be following one, but not limit to
In this:
The filming apparatus for starting the electronic equipment is shot;Start or close the lighting device of the electronic equipment;
Start the electronic equipment and presets social software;Contextual model is preset to the electronic equipment to switch over;Start the electronics
The default player of equipment, and control the broadcast state of the default player;Start the navigation device of the electronic equipment with
The direction of the current pose is that navigation destination is navigated;Search calling corresponding with the current pose of the electronic equipment
Object, and communication request is sent to the call object.
Wherein, for the first six above-mentioned kind the first predetermined registration operation, it can also be realized, i.e., be somebody's turn to do in starting using receiver J-Horner module
After receiver J-Horner module, that is, press after receiver J-Horner key, it can be achieved that the first predetermined registration operation can be appointing for the first six above-mentioned kind
It anticipates one kind, but is not limited to this six kinds of functions, user can be adjusted according to actual needs.
For example:
If the first preset function module is volume control module, electronic equipment is needed to support standby and bright two kinds of screen of blank screen
State, the present embodiment can define the shortcut function of electronic equipment in the following way, and however, it is not limited to this.
As shown in Fig. 4 (a), start speech trigger device, and press reduction volume button (the i.e. volume of electronic equipment
(-)), if electronic equipment is just placed vertically at this time, the camera function of electronic equipment can be directly opened, and auto-focusing is completed
It takes pictures;And as shown in Fig. 4 (b), if electronic equipment is placed vertically at this time, it can directly open or close flashlight;Such as Fig. 4 (c)
It is shown, if electronic equipment is positive horizontal at this time (this implementation can preset some face of the electronic equipment and horizontal plane close to parallel,
As positive horizontal plane) it places, wechat can be directly opened, other social softwares are also possible to, the present embodiment is not construed as limiting this;Such as
Shown in Fig. 4 (d), if electronic equipment pouring placing flat at this time, it can be achieved that mute (not disturbing) contextual model switching;Such as Fig. 4 (e) institute
Show, if the left vertical placement of electronic equipment at this time, openable player simultaneously starts to play or suspend to play;As shown in Fig. 4 (f), if
The right vertical placement of electronic equipment at this time, openable map realize self-navigation to (i.e. the right side is vertical with the electronic equipment placement direction
Direction) consistent destination.It should be noted that the Starting mode of above-mentioned electronic equipment shortcut function can according to actual needs with
And the factors such as user's habit are adjusted, and only if it were not for those skilled in the art make the creative labor determining, belong to this
Invention protection scope, the present embodiment are no longer described in detail one by one herein.
In addition, when user starts default speech trigger device, and press increase volume button (the i.e. volume of electronic equipment
(+)), the default number set can be directly dialed according to the current pose of electronic equipment, for example, if electronic equipment is just vertical at this time
It places, directly calls user A;If electronic equipment is placed vertically at this time, user B can be directly called;If electronic equipment is just at this time
It is horizontal positioned, user C can be directly called;If electronic equipment pouring placing flat at this time can directly call user D;If electronics at this time
The left vertical placement of equipment, can directly call user E;If the right vertical placement of electronic equipment at this time, can directly call user F.It needs
Illustrate, when object of the corresponding calling of the different postures of electronic equipment is adjustable, it is not limited to the embodiment this
Kind combination.
As another embodiment of the present invention, if the first preset function Modular earphone socket key, the present embodiment can be according to
Following manner defines the shortcut function of electronic equipment, and however, it is not limited to this.
The receiver J-Horner key of electronic equipment is pressed, and the first speech trigger event has occurred in speech trigger device at this time,
It is just vertical to place if the electronic equipment, then the camera function of electronic equipment can be directly opened, and auto-focusing completion is taken pictures;
If electronic equipment is placed vertically at this time, flashlight can be directly opened or closed;If electronic equipment is just horizontal positioned at this time, can be straight
Wechat is taken out, other social softwares are also possible to, the present embodiment is not construed as limiting this;If electronic equipment pouring is laid flat at this time
Set the switching, it can be achieved that mute (not disturbing) contextual model;If the left vertical placement of electronic equipment, openable player simultaneously start at this time
It plays or pause plays;Placed if electronic equipment is right vertical at this time, openable map realize self-navigation to the electronic equipment
Placement direction (i.e. right vertical direction) consistent destination.
It, can for the same shortcut function of electronic equipment based on the various embodiments described above it is found that in the application practical application
It is realized using different shortcuts, but is not limited to the above-mentioned several shortcuts provided.
Optionally, in the above embodiments, if in advance without shortcut function initialization, it can export and be preset with described first
Corresponding first action pane of functional module, first action pane is for instructing the first preset function mould described in user setting
Block is under different operating module, and the corresponding operation of different postures of the electronic equipment, specific set content can be according to above-mentioned
Citing curriculum offering, can also be arranged, the application is not especially limited this according to the use habit of user itself.
As the above analysis, the application is operated by the first preset function module of the user to electronic equipment, and
In conjunction with the static attitude of speech trigger and electronic equipment, i.e., the function of electronic equipment capable of fast starting eliminates the side command
Formula not only increases user experience, and power consumption is greatly saved.
Embodiment three:
As shown in figure 5, being the structural schematic diagram of a kind of electronic equipment embodiment three provided by the invention, which can
To include:
Multiple functional modules 510,1~functional module of functional module n as shown in Figure 5, n are the positive integer not less than 2:
Speech trigger device 520, for obtain user input the first voice messaging, and will first voice messaging and
Preset voice messaging is compared, if first voice messaging is consistent with preset voice messaging, determines current to occur the
One default speech trigger event.
Wherein, preset voice messaging can be one section of sound of user oneself setting, can also make the one of default
Duan Shengyin, however, it is not limited to this.
Detection device 530, for detect the first preset function module of the electronic equipment first state information and
Second status information of the speech trigger device.
Wherein, which is any one functional module in the multiple functional module, such as volume
Control module, receiver J-Horner module, communication module etc., the present embodiment is not especially limited this.
Moreover, the first state information and the second status information may include the working condition letter of corresponding module or device
Breath, however, it is not limited to this.
It is pre- to verify described first for being based on the first state information and second status information for control device 540
If whether the current working status of functional module and the speech trigger device meets preset condition, if first preset function
The current working status of module and the speech trigger device meets preset condition, obtains the current pose of the electronic equipment,
And it is based on the first preset function module and the current pose, it obtains and executes corresponding the first predetermined registration operation.
It is corresponded to it should be noted that the specific implementation about 540 function of control device can refer to above method embodiment
Partial description, this will not be detailed here for the present embodiment.
Optionally, in practical applications, which is particularly used according to the first state information, verifying
Whether the first preset function module is in running order, if the first preset function module is in running order, according to
Second status information is verified in the first preset function module in running order period, the speech trigger device
Whether first default speech trigger event is occurred, if so, obtaining the current pose of the electronic equipment, and pre- based on described first
If functional module and the current pose obtain and execute corresponding the first predetermined registration operation.
Alternatively, the control device 540 specifically can be also used for verifying the speech trigger according to second status information
Whether device occurs the first default speech trigger event, if the first default speech trigger thing has occurred in the speech trigger device
Part, according to the first state information, verifying is during the described first default speech trigger event occurs, the first default function
Whether energy module enters working condition, if so, obtaining the current pose of the electronic equipment, and is based on first preset function
Module and the current pose obtain and execute corresponding the first predetermined registration operation.
As another embodiment of the present invention, on the basis of the various embodiments described above, if the first preset function module is sound
Control module is measured, which can be also used for being in work shape in the first preset function module of the electronic equipment
When state, the current operation mode of the volume control module is obtained, under the current operation mode for searching the volume control module,
The first predetermined registration operation corresponding with the current pose, and execute described the first predetermined registration operation.
In addition, control device 540 can also be also used in the first preset function module in running order period, institute
The first default speech trigger event has occurred in predicate sound trigger device;Alternatively, occurring in the described first default speech trigger event
Period when the first preset function module enters working condition, records when the first preset function module is started to work
First volume, and in the first preset function module from service, current volume is reverted into first volume.
As further embodiment of this invention, on the basis of the various embodiments described above, the control device 540 can specifically be used
It is to increase volume operating mode in the current operation mode in the volume control module, or in the first preset function mould
Block is receiver J-Horner module, and when the receiver J-Horner module is in starting state, starts the filming apparatus of the electronic equipment
It is shot;Alternatively, starting or closing the lighting device of the electronic equipment;Start the electronic equipment and presets social software;
It is switched over alternatively, presetting contextual model to the electronic equipment;Alternatively, start the default player of the electronic equipment, and
Control the broadcast state of the default player;Alternatively, starting the navigation device of the electronic equipment with the current pose
Direction is that navigation destination is navigated;It is to reduce volume operating mode in the current operation mode of the volume control module
When, call object corresponding with the current pose of the electronic equipment is searched, and send communication request to the call object.
Certainly, it can also be exported with described first in advance such as electronic equipment there is no shortcut function, the control device 540 is preset
If corresponding first action pane of functional module, first action pane is for instructing the first preset function described in user setting
Module is under different operating module, the corresponding operation of different postures of the electronic equipment.
It should be noted that the specific example about above-mentioned shortcut function and its quickly starting mode can refer to method implementation
The description of example corresponding part, details are not described herein for the present embodiment.
In conclusion in the present embodiment, the first state of the first preset function module by detecting the electronic equipment
Second status information of information and the speech trigger device, and it is based on the first state information and the second status information, verifying should
Whether the current working status of the first preset function module and speech trigger device meets preset condition, if meeting preset condition,
The current pose of the electronic equipment is obtained again, to be based on the first preset function module and the current pose, is directly executed
Corresponding the first predetermined registration operation no longer needs to be operated using command voice control software, simple and quick, can allow use
Family has more preferable experience to the use of the electronic equipment, meanwhile, power consumption is reduced, and can't bring to the performance of original system
Adverse effect.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One unit, module or operation are distinguished with another unit, module or operation, without necessarily requiring or implying these
There are any actual relationship or orders between unit, module or operation.Moreover, the terms "include", "comprise" or
Any other variant thereof is intended to cover non-exclusive inclusion so that include a series of elements process, method or be
System includes not only those elements, but also including other elements that are not explicitly listed, or further includes for this process, side
Method or the intrinsic element of system.In the absence of more restrictions, the element limited by sentence "including a ...",
Be not precluded include the element process, method or system in there is also other identical elements.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with other
The difference of embodiment, the same or similar parts in each embodiment may refer to each other.For electronics disclosed in embodiment
For equipment, since it is corresponded to the methods disclosed in the examples, so being described relatively simple, related place is referring to method portion
It defends oneself bright.
The foregoing description of the disclosed embodiments enables those skilled in the art to implement or use the present invention.
Various modifications to these embodiments will be readily apparent to those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, of the invention
It is not intended to be limited to the embodiments shown herein, and is to fit to and the principles and novel features disclosed herein phase one
The widest scope of cause.
Claims (14)
1. a kind of control method, which is characterized in that it is applied to electronic equipment, the electronic equipment includes speech trigger device,
The described method includes:
Detect the first preset function module of the electronic equipment first state information and the speech trigger device
Two-state information, the first state information include the work state information of the first preset function module, second shape
State information includes the work state information of the speech trigger device;
Based on the first state information and second status information, the first preset function module and the voice are verified
Whether the current working status of trigger device meets preset condition;
If the current working status of the first preset function module and the speech trigger device meets preset condition, institute is obtained
The current pose of electronic equipment is stated, and is based on the first preset function module and the current pose, obtains and executes phase
The first predetermined registration operation answered.
2. the method according to claim 1, wherein described be based on the first state information and second shape
Whether state information, the current working status for verifying the first preset function module and the speech trigger device meet default item
Part includes:
According to the first state information, whether in running order the first preset function module is verified;
If the first preset function module is in running order, according to second status information, verifying is pre- described first
If functional module in running order period, whether the speech trigger device occurs the first default speech trigger event;
Then the current working status of the first preset function module and the speech trigger device meets preset condition specifically:
In the first preset function module in running order period, the first default voice is had occurred in the speech trigger device
Trigger event.
3. the method according to claim 1, wherein described be based on the first state information and second shape
Whether state information, the current working status for verifying the first preset function module and the speech trigger device meet default item
Part includes:
According to second status information, verify whether the speech trigger device occurs the first default speech trigger event;
If the first default speech trigger event has occurred in the speech trigger device, according to the first state information, verifying exists
During the first default speech trigger event occurs, whether the first preset function module enters working condition;
Then the current working status of the first preset function module and the speech trigger device meets preset condition specifically:
During the described first default speech trigger event occurs, the first preset function module enters working condition.
4. according to the method in claim 2 or 3, which is characterized in that when the first preset function module is volume control
When module, when the first preset function module of the electronic equipment is in running order, the method also includes:
Obtain the current operation mode of the volume control module;
Correspondingly, described to be based on the first preset function module and the current pose, it obtains and executes corresponding first
Predetermined registration operation specifically:
Under the current operation mode for searching the volume control module, the first predetermined registration operation corresponding with the current pose, and
Execute described the first predetermined registration operation.
5. according to the method described in claim 4, it is characterized in that, in the first preset function module in running order phase
Between, the first default speech trigger event has occurred in the speech trigger device, alternatively, in the described first default speech trigger event
During generation, when the first preset function module enters working condition, the method also includes:
Record the first volume when the first preset function module is started to work;
When the first preset function module from service, current volume is reverted into first volume.
6. according to the method described in claim 4, it is characterized in that, the current operation mode of the volume control module includes increasing
It adds volume operating mode and reduces volume operating mode;
Described the first predetermined registration operation is specifically one of the following:
The filming apparatus for starting the electronic equipment is shot;
Start or close the lighting device of the electronic equipment;
Start the electronic equipment and presets social software;
Contextual model is preset to the electronic equipment to switch over;
Start the default player of the electronic equipment, and controls the broadcast state of the default player;
The navigation device for starting the electronic equipment is navigated using the direction of the current pose as navigation destination;
Call object corresponding with the current pose of the electronic equipment is searched, and sends communication request to the call object.
7. according to the method in claim 2 or 3, which is characterized in that when the first preset function module is receiver J-Horner
When module, if the receiver J-Horner module is in starting state, described the first predetermined registration operation is specifically one of the following:
The filming apparatus for starting the electronic equipment is shot;
Start or close the lighting device of the electronic equipment;
Start the electronic equipment and presets social software;
Contextual model is preset to the electronic equipment to switch over;
Start the default player of the electronic equipment, and controls the broadcast state of the default player;Or;
The navigation device for starting the electronic equipment is navigated using the direction of the current pose as navigation destination.
8. the method according to claim 1, wherein the method also includes:
The first action pane corresponding with the first preset function module is exported, first action pane is for instructing user
The first preset function module is set under different operating module, the corresponding operation of different postures of the electronic equipment.
9. a kind of electronic equipment, which is characterized in that the electronic equipment includes:
Multiple functional modules;
Speech trigger device, for obtain user input the first voice messaging, and by first voice messaging with it is preset
Voice messaging is compared, if first voice messaging is consistent with preset voice messaging, determines that current generation first is default
Speech trigger event;
Detection device, for detect the first preset function module of the electronic equipment first state information and the voice
Second status information of trigger device, the first preset function module are any one function in the multiple functional module
Module, the first state information include the work state information of the first preset function module, second status information
Work state information including the speech trigger device;
Control device verifies first preset function for being based on the first state information and second status information
Whether the current working status of module and the speech trigger device meets preset condition, if the first preset function module and
The current working status of the speech trigger device meets preset condition, obtains the current pose of the electronic equipment, and is based on
The first preset function module and the current pose obtain and execute corresponding the first predetermined registration operation.
10. electronic equipment according to claim 9, which is characterized in that the control device is specifically used for according to described the
One status information, whether verifying the first preset function module is in running order, if at the first preset function module
It is verified according to second status information in the first preset function module in running order period, institute in working condition
Whether predicate sound trigger device occurs the first default speech trigger event;
Or;
The control device is specifically used for verifying whether the speech trigger device occurs first according to second status information
Default speech trigger event, if the first default speech trigger event has occurred in the speech trigger device, according to first shape
State information, during the described first default speech trigger event occurs, whether the first preset function module enters work for verifying
Make state.
11. electronic equipment according to claim 10, which is characterized in that when the first preset function module is volume control
When molding block, the control device is also used to obtain when the first preset function module of the electronic equipment is in running order
The current operation mode for taking the volume control module, it is and described under the current operation mode for searching the volume control module
The corresponding the first predetermined registration operation of current pose, and execute described the first predetermined registration operation.
12. electronic equipment according to claim 11, which is characterized in that the control device is also used to pre- described first
If functional module in running order period, the first default speech trigger event is had occurred in the speech trigger device;Alternatively,
During the first default speech trigger event occurs, when the first preset function module enters working condition, described in record
The first volume when first preset function module is started to work, and in the first preset function module from service, it will work as
Preceding volume reverts to first volume.
13. electronic equipment according to claim 11, which is characterized in that the control device is specifically used in the volume
The current operation mode of control module is to increase volume operating mode, or in the first preset function module is receiver J-Horner
Module, and when the receiver J-Horner module is in starting state, the filming apparatus for starting the electronic equipment is shot;Or
Person starts or closes the lighting device of the electronic equipment;Start the electronic equipment and presets social software;Alternatively, to described
Electronic equipment is preset contextual model and is switched over;Alternatively, starting the default player of the electronic equipment, and control described default
The broadcast state of player;Alternatively, starting the navigation device of the electronic equipment with the direction of the current pose as navigation mesh
Ground navigate;The volume control module current operation mode be reduce volume operating mode when, search with it is described
The corresponding call object of the current pose of electronic equipment, and communication request is sent to the call object.
14. electronic equipment according to claim 9, which is characterized in that the control device is also used to export and described the
Corresponding first action pane of one preset function module, first action pane are first default for instructing described in user setting
Functional module is under different operating module, the corresponding operation of different postures of the electronic equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510548777.6A CN105224074B (en) | 2015-08-31 | 2015-08-31 | A kind of control method and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510548777.6A CN105224074B (en) | 2015-08-31 | 2015-08-31 | A kind of control method and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105224074A CN105224074A (en) | 2016-01-06 |
CN105224074B true CN105224074B (en) | 2019-01-15 |
Family
ID=54993100
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510548777.6A Active CN105224074B (en) | 2015-08-31 | 2015-08-31 | A kind of control method and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105224074B (en) |
Families Citing this family (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872871A (en) * | 2016-03-31 | 2016-08-17 | 中国地质大学(武汉) | Multi-degree of freedom Bluetooth headset based on nine-axis attitude fusion algorithm |
CN105955769A (en) * | 2016-04-22 | 2016-09-21 | 青岛海信移动通信技术股份有限公司 | Method and apparatus for starting multimedia application |
CN113393865B (en) * | 2020-03-13 | 2022-06-03 | 阿里巴巴集团控股有限公司 | Power consumption control, mode configuration and VAD method, apparatus and storage medium |
CN114489560A (en) * | 2022-01-28 | 2022-05-13 | 维沃移动通信有限公司 | Sound effect adjusting method, sound effect adjusting device and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973883A (en) * | 2014-03-31 | 2014-08-06 | 小米科技有限责任公司 | Method and device for controlling voice input device |
CN104536567A (en) * | 2014-12-23 | 2015-04-22 | 深圳市金立通信设备有限公司 | Direction detection method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9134952B2 (en) * | 2013-04-03 | 2015-09-15 | Lg Electronics Inc. | Terminal and control method thereof |
-
2015
- 2015-08-31 CN CN201510548777.6A patent/CN105224074B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103973883A (en) * | 2014-03-31 | 2014-08-06 | 小米科技有限责任公司 | Method and device for controlling voice input device |
CN104536567A (en) * | 2014-12-23 | 2015-04-22 | 深圳市金立通信设备有限公司 | Direction detection method |
Also Published As
Publication number | Publication date |
---|---|
CN105224074A (en) | 2016-01-06 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2017140276A1 (en) | Network connection method and apparatus, and computer storage medium | |
CN105224074B (en) | A kind of control method and electronic equipment | |
CN103473011B (en) | A kind of mobile terminal performance detection method, device and mobile terminal | |
CN103488939B (en) | Method, device and terminal for prompting user | |
CN109491541A (en) | A kind of control method and mobile terminal | |
CN103986969B (en) | application management method, device and system | |
CN104077017B (en) | A kind of electronic equipment and control method | |
CN105388453B (en) | The method and device of positioning intelligent equipment | |
CN105208056B (en) | Information interaction method and terminal | |
CN103686464B (en) | Apparatus control method, device and electronic equipment | |
CN109408172A (en) | A kind of processing method and terminal device of application program | |
CN104049981A (en) | Method and electronic equipment for starting camera application | |
CN106652981B (en) | BPM detection method and device | |
CN108470571A (en) | A kind of audio-frequency detection, device and storage medium | |
CN102707895A (en) | Method and device for transforming physical key operation into touch screen operation | |
CN113064823A (en) | Method and device for testing functions of automobile parts and computer storage medium | |
CN106776301B (en) | Subelement testing method and device | |
CN108681483A (en) | A kind of task processing method and device | |
CN111257786A (en) | Working current self-checking circuit and method and electronic equipment | |
CN109862430A (en) | Multi-medium play method and terminal device | |
CN109061342A (en) | A kind of fast charge plug test method and device | |
CN108984066A (en) | A kind of application icon display methods and mobile terminal | |
CN106205657B (en) | A kind of lyric display method and device | |
CN106412629B (en) | Processing method, device, system and the computer-readable media medium of media data transmission | |
CN105677088A (en) | Control method and electronic device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |