CN115223561A - Voice wake-up control method of handheld device and related device - Google Patents
Voice wake-up control method of handheld device and related device Download PDFInfo
- Publication number
- CN115223561A CN115223561A CN202210904316.8A CN202210904316A CN115223561A CN 115223561 A CN115223561 A CN 115223561A CN 202210904316 A CN202210904316 A CN 202210904316A CN 115223561 A CN115223561 A CN 115223561A
- Authority
- CN
- China
- Prior art keywords
- handheld device
- voice
- preset
- angle
- swinging
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000001133 acceleration Effects 0.000 claims description 33
- 230000006870 function Effects 0.000 claims description 33
- 238000001514 detection method Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 description 7
- 230000001960 triggered effect Effects 0.000 description 6
- 238000010586 diagram Methods 0.000 description 5
- 239000000306 component Substances 0.000 description 4
- 239000004973 liquid crystal related substance Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 244000141359 Malus pumila Species 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 235000021016 apples Nutrition 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004590 computer program Methods 0.000 description 1
- 239000008358 core component Substances 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000002035 prolonged effect Effects 0.000 description 1
- 230000000007 visual effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04M—TELEPHONIC COMMUNICATION
- H04M1/00—Substation equipment, e.g. for use by subscribers
- H04M1/72—Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
- H04M1/724—User interfaces specially adapted for cordless or mobile telephones
- H04M1/72448—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
- H04M1/72454—User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to context-related or environment-related conditions
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
-
- G—PHYSICS
- G10—MUSICAL INSTRUMENTS; ACOUSTICS
- G10L—SPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
- G10L15/00—Speech recognition
- G10L15/22—Procedures used during a speech recognition process, e.g. man-machine dialogue
- G10L2015/223—Execution procedure of a spoken command
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Landscapes
- Engineering & Computer Science (AREA)
- Human Computer Interaction (AREA)
- Environmental & Geological Engineering (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computational Linguistics (AREA)
- Health & Medical Sciences (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Physics & Mathematics (AREA)
- Acoustics & Sound (AREA)
- Multimedia (AREA)
- Telephone Function (AREA)
Abstract
The invention discloses a voice wake-up control method of a handheld device and a related device, wherein the method comprises the following steps: when detecting that the handheld device is used by a user in a preset state, judging whether the swinging angle of the handheld device towards a first preset direction is larger than a first preset angle or not; when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time or not; and if the movement time is less than the first preset time, triggering a voice receiving instruction to wake up the voice receiving function of the handheld device and start to receive the voice sent by the user. The invention controls whether to trigger the voice receiving function or not by detecting the swing size and the movement time of the handheld equipment of the user, does not need to set a key operation on the handheld equipment, does not need to keep the voice system of the handheld equipment in a running state all the time, is convenient to operate, reduces the standby power consumption and saves the electric quantity.
Description
Technical Field
The present invention relates to the field of voice function control technologies, and in particular, to a method and a system for controlling voice wakeup of a handheld device, and a computer-readable storage medium.
Background
At present, voice awakening of handheld devices or mobile phones and the like is achieved through keys, screen virtual keys or voice instructions, for example, an interphone needs to press the keys to awaken a voice intercom function, and the mobile phone needs to press the keys to trigger the voice function. One key is occupied when the button is used for awakening, and the operation of starting voice by touching the operation screen is more complicated. For example, some mobile phones or handheld devices support voice instruction wakeup, for example, "hessiri" of apples, a voice system is required to be kept in an operating state all the time by a real-time voice wakeup function, large power consumption exists, and the function is undoubtedly a burden for battery-powered devices.
Accordingly, the prior art is yet to be improved and developed.
Disclosure of Invention
The invention mainly aims to provide a voice wake-up control method and system for a handheld device, the handheld device and a computer readable storage medium, and aims to solve the problems that in the prior art, when the handheld device is woken up through a touch key, the operation is inconvenient and the power consumption of a battery is wasted when the handheld device is woken up through voice.
In order to achieve the above object, the present invention provides a voice wake-up control method for a handheld device, where the voice wake-up control method for the handheld device includes the following steps:
when the handheld device is detected to be used by a user in a preset state, judging whether the swinging angle of the handheld device to a first preset direction is larger than a first preset angle or not;
when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time or not;
and if the movement time is less than the first preset time, triggering a voice receiving instruction to wake up the voice receiving function of the handheld device and start to receive the voice sent by the user.
Optionally, the voice wake-up control method for a handheld device includes that the preset state includes a power-on state and a sleep state;
when detecting that handheld device has the user to use under the preset state, judge whether handheld device is greater than first preset angle to the wobbling angle of first preset direction, specifically include:
when the handheld device is in a starting state or a dormant state, the main control unit judges whether a capacitive touch sensor arranged on a shell of the handheld device detects current;
if the capacitive touch sensor detects current, the main control unit judges that a user uses the handheld device, and judges whether the swinging angle of the handheld device to the preset direction is larger than the first preset angle according to data detected by the three-axis acceleration sensor.
Optionally, the voice wake-up control method of the handheld device, wherein when the swinging angle is greater than a first preset angle, determining whether a movement time of the handheld device from the starting swinging position to the swinging stop position is less than a first preset time includes:
if the main control unit judges that the swinging angle of the handheld device towards a preset direction is larger than the first preset angle according to the angle data detected by the three-axis acceleration sensor, the active unit acquires the time from the beginning to the end of swinging of the handheld device according to the three-axis acceleration sensor;
the main control unit judges whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time or not according to the time difference value of the handheld device from the swing starting position to the swing finishing position, which is detected by the triaxial acceleration sensor;
and the included angle of the handheld device from the starting swing position to the swing stop position is the first preset angle.
Optionally, the voice wake-up control method of the handheld device, wherein if the movement time is less than a first preset time, triggering a voice receiving instruction to wake up a voice receiving function of the handheld device and start receiving a voice sent by a user, specifically includes:
if the main control unit judges that the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time according to the time data detected by the triaxial acceleration sensor, the main control unit triggers a voice receiving instruction;
and the handheld equipment awakens a voice receiving function according to the voice receiving instruction and starts to receive voice sent by a user through a voice receiving module.
Optionally, the voice wake-up control method of the handheld device further includes:
when the handheld device is in a voice receiving state, if the main control unit judges that the swinging angle of the handheld device towards the second preset direction is larger than the second preset angle and the swinging time is larger than the second preset time according to the triaxial acceleration sensor, the main control unit triggers a voice receiving closing instruction.
Optionally, the voice wake-up control method for the handheld device includes that the first preset direction is swinging left or swinging right along a vertical direction;
the first preset angle is 45-60 degrees.
The first preset time is 1000ms-2000ms.
Optionally, the voice wake-up control method of the handheld device, wherein the second preset direction is counterclockwise or clockwise swing;
the second preset angle is greater than 30 degrees;
the second preset time is 500ms-1000ms.
In addition, to achieve the above object, the present invention further provides a voice wake-up control system for a handheld device, where the voice wake-up control system for a handheld device includes:
the angle detection module is used for judging whether the swinging angle of the handheld device towards a first preset direction is greater than a first preset angle or not when the handheld device is detected to be used by a user in a preset state;
the time detection module is used for judging whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than first preset time or not when the swing angle is greater than a first preset angle;
and the voice trigger module is used for triggering a voice receiving instruction to awaken the voice receiving function of the handheld device and start to receive the voice sent by the user if the movement time is less than the first preset time.
In addition, to achieve the above object, the present invention also provides a handheld device, wherein the handheld device includes: the handheld device comprises a memory, a processor and a handheld device voice wake-up control program which is stored on the memory and can run on the processor, wherein when the processor executes the handheld device voice wake-up control program, the steps of the handheld device voice wake-up control method are realized.
In addition, to achieve the above object, the present invention further provides a computer readable storage medium, where the computer readable storage medium stores a voice wakeup control program of a handheld device, and the voice wakeup control program of the handheld device, when executed by a processor, implements the steps of the voice wakeup control method of the handheld device as described above.
In the invention, when the handheld device is detected to be used by a user in a preset state, whether the swinging angle of the handheld device towards a first preset direction is greater than a first preset angle is judged, and whether the angle meets the requirement is judged; when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time; if the movement time is less than the first preset time, a voice receiving instruction is triggered to awaken the voice receiving function of the handheld device, the voice sent by the user is received, whether the voice receiving function is triggered or not is controlled by detecting the swing size and the movement time of the handheld device of the user (the angle and the time meet the requirements at the same time), the button operation is not required to be arranged on the handheld device, the operation is very convenient, the voice system of the handheld device is not required to be kept in the running state all the time, the standby power consumption is reduced, the electric quantity is saved, and the standby time of the handheld device is prolonged.
Drawings
FIG. 1 is a flowchart of a preferred embodiment of a voice wake-up control method for a handheld device according to the present invention;
FIG. 2 is a schematic diagram of a hardware implementation of voice function control according to a preferred embodiment of the voice wake-up control method for a handheld device of the present invention;
FIG. 3 is a flowchart of step S10 of the voice wake-up control method for handheld device according to the present invention;
FIG. 4 is a diagram illustrating upward swinging of a handheld device according to a preferred embodiment of the voice wake-up control method of the handheld device of the present invention;
FIG. 5 is a flowchart of step S20 of the voice wake-up control method of the handheld device according to the present invention;
FIG. 6 is a flowchart of step S30 of the voice wake-up control method of the handheld device according to the present invention;
FIG. 7 is a schematic diagram illustrating a handheld device swinging to the left according to a preferred embodiment of the voice wakeup control method of the handheld device of the present invention;
FIG. 8 is a flow chart of the mechanism of triggering voice reception and shutdown of the handheld device in the preferred embodiment of the voice wakeup control method of the handheld device of the present invention;
FIG. 9 is a schematic diagram of a voice wake-up control system of a handheld device according to a preferred embodiment of the present invention;
FIG. 10 is a diagram illustrating an operating environment of a handheld device according to a preferred embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer and clearer, the present invention is further described in detail below with reference to the accompanying drawings and examples. It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.
As shown in fig. 1, the voice wake-up control method for a handheld device according to a preferred embodiment of the present invention includes the following steps:
step S10, when detecting that the handheld device is used by a user in a preset state, judging whether the swinging angle of the handheld device to a first preset direction is larger than a first preset angle.
As shown in fig. 2, the handheld device (e.g., a smart phone) of the present invention mainly includes a main control unit, a capacitive touch sensor, a touch display screen, a voice receiving module, a three-axis acceleration sensor, and a speaker, which are respectively connected to the main control unit; the main control unit is a main core component of the handheld device and is used for processing signals transmitted by all the modules; the capacitive touch sensor is arranged on the shell and used for receiving a weak circuit after hand contact and judging whether a hand contacts the handheld equipment or not; the touch display screen is used for receiving touch operation of a user and displaying related content; the voice receiving module is a microphone module and is used for receiving a voice instruction of a user; the three-axis acceleration sensor is used for receiving data such as the motion mode, the motion reverse direction, the angle and the speed of equipment; the loudspeaker is used for playing sound.
The preset state comprises a power-on state and a dormant state, wherein the two states are states without starting a voice receiving function.
Please refer to fig. 3, which is a flowchart of step S10 in the voice wake-up control method for a handheld device according to the present invention.
As shown in fig. 3, the step S10 includes:
s11, when the handheld device is in a starting state or a dormant state, the main control unit judges whether a capacitive touch sensor arranged on a shell of the handheld device detects current or not;
s12, if the capacitive touch sensor detects current, the main control unit judges that a user uses the handheld device, and judges whether the swinging angle of the handheld device to the preset direction is larger than the first preset angle or not according to data detected by the three-axis acceleration sensor.
Specifically, when the handheld device is in a powered-on state or a dormant state, the capacitive touch sensor arranged on the housing of the handheld device is used to detect a current (a small current), because when a user needs to use and operate the handheld device, the user often needs to hold the handheld device, at this time, a capacitive touch sensor for identifying that a hand is in contact with the handheld device is installed on the back surface of the handheld device, and is used to identify that a person holds the handheld device, when the person holds the handheld device, the capacitive touch sensor on the rear housing of the handheld device receives a small current and transmits the small current to the main control unit, the main control unit determines that the person is using the handheld device, and after determining that the person is using the handheld device, the capacitive touch sensor detects data (including angle data and time data, for example, the handheld device is quickly lifted up by an angle from a horizontal state) of the handheld device in a preset direction, the first preset direction is left-swinging or right-swinging along the vertical direction, and may also be set to other motion modes according to the user, as shown in fig. 4, the capacitive touch sensor is set as a horizontal swinging position before the hand-held device, that the hand-held device is in a horizontal direction, i.e., a horizontal swinging angle is set before the initial swinging position of the hand-held device, i.e., a horizontal swinging angle is set to be a horizontal swinging angle between the horizontal swinging position before the horizontal swinging position of the hand-holding position; then the main control unit judges whether the swinging angle of the handheld device to the preset direction is larger than a first preset angle or not, wherein the first preset angle is 45-60 degrees; for example, as shown in fig. 4, the main control unit determines whether the handheld device swings to the left in the vertical direction by an angle greater than 45 °.
And S20, when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time.
Please refer to fig. 5, which is a flowchart of step S20 in the voice wake-up control method of the handheld device according to the present invention.
As shown in fig. 5, the step S20 includes:
s21, if the main control unit judges that the swinging angle of the handheld device towards a preset direction is larger than the first preset angle according to the angle data detected by the three-axis acceleration sensor, the active unit acquires the time from the beginning to the end of swinging of the handheld device according to the three-axis acceleration sensor;
and S22, the main control unit judges whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time or not according to the time difference value, detected by the three-axis acceleration sensor, from the swing starting position to the swing finishing position of the handheld device.
And the included angle of the handheld device from the starting swing position to the swing stop position is the first preset angle.
Specifically, it is determined whether an angle meets a requirement, and then it is determined whether time meets the requirement, that is, the main control unit determines, according to angle data detected by the three-axis acceleration sensor, that an angle of the handheld device swinging in a preset direction is greater than the first preset angle, for example, the main control unit determines that the angle of the handheld device swinging leftward in the vertical direction is greater than 45 °, and then the active unit obtains, according to the three-axis acceleration sensor, a time from the start of swinging to the end of swinging of the handheld device, for example, as shown in fig. 4, an included angle a ° between the position before the handheld device moves in the movement direction and the position after the handheld device moves in the movement direction is greater than 45 °, and then the main control unit determines, according to a time difference between the start of swinging and the end of swinging of the handheld device detected by the three-axis acceleration sensor, whether the movement time of the handheld device from the start swinging position to the swing stop position is less than the first preset time (for example, the first preset time is 1000 ms-2000microsecon, which is, for example, the first preset time is the time that the time is used by the handheld device swinging from 0 ° to the start of swinging = t in the horizontal state, and then it is determined whether the first preset time from the start position to the swing stop of the handheld device is less than 1000ms.
And S30, if the movement time is less than the first preset time, triggering a voice receiving instruction to awaken the voice receiving function of the handheld device and start to receive the voice sent by the user.
Please refer to fig. 6, which is a flowchart of step S30 in the voice wake-up control method for a handheld device according to the present invention.
As shown in fig. 6, the step S30 includes:
s31, if the main control unit judges that the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time according to the time data detected by the triaxial acceleration sensor, the main control unit triggers a voice receiving instruction;
and S32, the handheld device awakens a voice receiving function according to the voice receiving instruction and starts to receive voice sent by the user through a voice receiving module.
Specifically, the main control unit determines, according to time data detected by the three-axis acceleration sensor, that a movement time of the handheld device from a start-swing position to a swing-stop position is less than the first preset time t, that is, a time t used by the handheld device to move 45 ° from 0 °, assuming that the device is set to have a time t of 1000ms, that is, when the handheld device moves 45 ° from 0 °, the time used must be less than 1000ms, and the main control unit can trigger a voice receiving instruction, otherwise, the voice receiving is kept in an off state; and then the handheld device wakes up a voice receiving function according to the voice receiving instruction and starts to receive voice sent by a user through a voice receiving module.
That is, the invention is according to people's habit of using to the product, combine human electric current, electric capacity touch-control and motion accelerator principle, develop a convenient voice wake-up mode, the invention is inconvenient to use for preventing triggering by mistake, this invention receives the trigger condition to the voice, (1), must someone hold this hand-held device; (2) And the handheld equipment makes 0-a degree motion within a certain time, and the voice receiving can be triggered only when all the conditions are met.
Furthermore, when the voice receiving is started, the handheld device can swing to quickly close the mobile terminal without waiting for automatic closing or waiting for voice instruction operation; specifically, when the handheld device is in a voice receiving state, if the main control unit determines, according to the three-axis acceleration sensor, that an angle of the handheld device swinging in a second preset direction (for example, the second preset direction is counterclockwise or clockwise) is greater than a second preset angle (for example, the second preset angle is greater than 30 °) and a swinging time is greater than a second preset time (for example, the second preset time is 500ms to 1000 ms), the main control unit triggers a voice receiving command to be turned off. For example, as shown in fig. 7, when the voice reception is turned on, the screen of the handheld device is a front surface, two sides are side surfaces, the current position is 0 °, the device only needs to swing counterclockwise by a certain angle b ° and the swing time is less than T, and then the voice reception can be triggered to be turned off, and if b =30 °, T =500ms, that is, the handheld device swings to the left by an angle greater than 30 ° within 500ms, then the voice reception is triggered to be turned off.
Further, as shown in fig. 8, the whole process of the voice wakeup control method of the handheld device of the present invention is as follows:
(1) The handheld device is in a starting state or a dormant state;
(2) Whether a capacitive touch sensor arranged on the shell of the handheld device detects current (signals) or not, if so, executing the next step, and if not, returning to execute the previous step;
(3) Judging whether the upward swinging angle of the handheld device is larger than a degrees or not according to data detected by the triaxial acceleration sensor, if so, executing the next step, and if not, returning to execute the step (1);
(4) Judging whether the movement time of the handheld device from the starting swing position to the swing stop position is less than t (ms), if so, executing the next step, and if not, returning to execute the previous step;
(5) Triggering a voice receiving instruction to awaken a voice receiving function of the handheld device and start to receive voice sent by a user;
(6) The handheld device is in a voice receiving state;
(7) The handheld device keeps the state at 0 degrees, and swings leftwards by an angle of b degrees;
(8) Judging that the swing time of the handheld device is greater than T (ms), if so, executing the next step, and if not, returning to execute the step (6);
(9) And triggering to close the voice receiving instruction.
The method for realizing voice control can not occupy the function of a physical key, is simple to operate, simultaneously solves the problem of power consumption of a standby voice system, utilizes the characteristics of the three-axis acceleration sensor and a specific motion mode to wake up the voice function, when the equipment is in a standby or starting state, a hand holds the handheld equipment, senses that the hand holds the handheld equipment by the capacitive touch sensor, generates a specific signal after preset specific acceleration motion of the handheld equipment, and transmits the specific signal to the main control unit to execute the voice wake-up function, so that the voice receiving function can be woken up; when the voice receiving is turned on, the voice receiving can be quickly turned off by recognizing that the handheld device swings counterclockwise (or clockwise) for a certain angle; and after receiving the voice command, the system executes the voice related function, and when the voice command is not received within 3 seconds, the system prompts that the voice command is not received and automatically quits the voice receiving.
The beneficial effects are that:
(1) The product appearance design of the handheld equipment is more concise and beautiful without occupying physical keys or menu triggering;
(2) The method has the advantages that complicated touch control operation is not needed, and the device can be conveniently and quickly awakened and closed;
(3) The voice system does not need to run in real time, so that the standby power consumption is greatly reduced, and the use and standby time of the equipment are increased;
(4) Effectively prevent the spurious triggering, must hand the motion and just can trigger the pronunciation and receive the instruction, can use the action habit according to the user, come the quick awakening or close pronunciation instruction receive function, simple swift.
Further, as shown in fig. 9, based on the voice wake-up control method for a handheld device, the present invention also provides a voice wake-up control system for a handheld device, where the voice wake-up control system for a handheld device includes:
the angle detection module 51 is configured to, when it is detected that the handheld device is used by a user in a preset state, determine whether an angle of the handheld device swinging in a first preset direction is greater than a first preset angle;
the time detection module 52 is configured to, when the swinging angle is greater than a first preset angle, determine whether the movement time of the handheld device from the starting swinging position to the swinging stop position is less than a first preset time;
and the voice triggering module 53 is configured to trigger a voice receiving instruction to wake up a voice receiving function of the handheld device and start receiving a voice sent by a user if the movement time is less than a first preset time.
Further, as shown in fig. 10, based on the above method and system for controlling voice wake-up of a handheld device, the present invention also provides a handheld device, which includes a processor 10, a memory 20, and a display 30. Fig. 10 shows only some of the components of the handheld device, but it should be understood that not all of the shown components are required to be implemented, and that more or fewer components may be implemented instead.
The memory 20 may in some embodiments be an internal storage unit of the handheld device, such as a hard disk or a memory of the handheld device. The memory 20 may also be an external storage device of the handheld device in other embodiments, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like, provided on the handheld device. Further, the memory 20 may also include both an internal memory unit and an external memory device of the handheld device. The memory 20 is used for storing application software installed in the handheld device and various data, such as program codes of the installed handheld device. The memory 20 may also be used to temporarily store data that has been output or is to be output. In an embodiment, the memory 20 stores a voice wake-up control program 40 of the handheld device, and the voice wake-up control program 40 of the handheld device can be executed by the processor 10, so as to implement the voice wake-up control method of the handheld device in the present application.
The processor 10 may be, in some embodiments, a Central Processing Unit (CPU), a microprocessor or other data Processing chip, which is used to run program codes stored in the memory 20 or process data, such as executing a voice wake-up control method of the handheld device.
The display 30 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch panel, or the like in some embodiments. The display 30 is used to display information at the handheld device and to display a visual user interface. The components 10-30 of the handheld device communicate with each other via a system bus.
In one embodiment, when the processor 10 executes the voice wake-up control program 40 of the handheld device in the memory 20, the following steps are implemented:
when detecting that the handheld device is used by a user in a preset state, judging whether the swinging angle of the handheld device towards a first preset direction is larger than a first preset angle or not;
when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time or not;
and if the movement time is less than the first preset time, triggering a voice receiving instruction to wake up the voice receiving function of the handheld device and start to receive the voice sent by the user.
The preset states comprise a starting state and a dormant state;
when detecting that handheld device has the user to use under the preset state, judge whether handheld device is greater than first predetermined angle to the first predetermined direction wobbling angle, specifically include:
when the handheld device is in a starting state or a dormant state, the main control unit judges whether a capacitive touch sensor arranged on a shell of the handheld device detects current;
if the capacitive touch sensor detects current, the main control unit judges that a user uses the handheld device, and judges whether the swinging angle of the handheld device to the preset direction is larger than the first preset angle according to data detected by the three-axis acceleration sensor.
When the swing angle is greater than a first preset angle, it is determined whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than a first preset time, and the method specifically includes:
if the main control unit judges that the swinging angle of the handheld device towards a preset direction is larger than the first preset angle according to the angle data detected by the three-axis acceleration sensor, the active unit acquires the time from the beginning to the end of swinging of the handheld device according to the three-axis acceleration sensor;
the main control unit judges whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time or not according to the time difference value of the handheld device from the swing starting position to the swing finishing position, which is detected by the triaxial acceleration sensor;
and the included angle of the handheld device from the starting swing position to the swing stop position is the first preset angle.
If the movement time is less than the first preset time, triggering a voice receiving instruction to wake up the voice receiving function of the handheld device and start receiving the voice sent by the user, specifically including:
if the main control unit judges that the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time according to the time data detected by the triaxial acceleration sensor, the main control unit triggers a voice receiving instruction;
and the handheld equipment awakens a voice receiving function according to the voice receiving instruction and starts to receive voice sent by a user through a voice receiving module.
The voice wake-up control method of the handheld device further comprises the following steps:
when the handheld device is in a voice receiving state, if the main control unit judges that the swinging angle of the handheld device towards the second preset direction is larger than the second preset angle and the swinging time is larger than the second preset time according to the three-axis acceleration sensor, the main control unit triggers a voice receiving closing instruction.
The first preset direction is swinging leftwards or rightwards along the vertical direction;
the first preset angle is 45-60 degrees.
The first preset time is 1000ms-2000ms.
The second preset direction is anticlockwise or clockwise swing;
the second preset angle is greater than 30 degrees;
the second preset time is 500ms-1000ms.
The present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores a voice wakeup control program of a handheld device, and when the voice wakeup control program of the handheld device is executed by a processor, the steps of the voice wakeup control method of the handheld device as described above are implemented.
In summary, the present invention provides a voice wake-up control method for a handheld device and a related device, where the method includes: when detecting that the handheld device is used by a user in a preset state, judging whether the swinging angle of the handheld device towards a first preset direction is larger than a first preset angle or not; when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time or not; if the movement time is less than the first preset time, a voice receiving instruction is triggered to wake up the voice receiving function of the handheld device and start to receive the voice sent by the user. The invention controls whether to trigger the voice receiving function or not by detecting the swing size and the movement time of the handheld equipment of the user, does not need to set a key operation on the handheld equipment, does not need to keep the voice system of the handheld equipment in a running state all the time, is convenient to operate, reduces the standby power consumption and saves the electric quantity.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or handheld device that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or handheld device. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or handheld device that comprises the element.
Of course, it will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by instructing relevant hardware (such as a processor, a controller, etc.) through a computer program, and the program can be stored in a computer readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The computer readable storage medium may be a memory, a magnetic disk, an optical disk, etc.
It will be understood that the invention is not limited to the examples described above, but that modifications and variations will occur to those skilled in the art in light of the above teachings, and that all such modifications and variations are considered to be within the scope of the invention as defined by the appended claims.
Claims (10)
1. A voice wake-up control method of a handheld device is characterized by comprising the following steps:
when detecting that the handheld device is used by a user in a preset state, judging whether the swinging angle of the handheld device towards a first preset direction is larger than a first preset angle or not;
when the swinging angle is larger than a first preset angle, judging whether the movement time of the handheld device from the swinging starting position to the swinging stopping position is smaller than a first preset time or not;
and if the movement time is less than the first preset time, triggering a voice receiving instruction to wake up the voice receiving function of the handheld device and start to receive the voice sent by the user.
2. The voice wake-up control method of the handheld device according to claim 1, wherein the preset states include a power-on state and a sleep state;
when detecting that handheld device has the user to use under the preset state, judge whether handheld device is greater than first predetermined angle to the first predetermined direction wobbling angle, specifically include:
when the handheld device is in a starting state or a dormant state, the main control unit judges whether a capacitive touch sensor arranged on a shell of the handheld device detects current;
if the capacitive touch sensor detects current, the main control unit judges that a user uses the handheld device, and judges whether the swinging angle of the handheld device to the preset direction is larger than the first preset angle or not according to data detected by the triaxial acceleration sensor.
3. The voice wake-up control method of a handheld device according to claim 2, wherein when the swinging angle is greater than a first preset angle, determining whether the movement time of the handheld device from the starting swinging position to the swinging stop position is less than a first preset time, specifically comprising:
if the main control unit judges that the swinging angle of the handheld device towards a preset direction is larger than the first preset angle according to the angle data detected by the three-axis acceleration sensor, the active unit acquires the time from the beginning to the end of swinging of the handheld device according to the three-axis acceleration sensor;
the main control unit judges whether the movement time of the handheld device from a swing starting position to a swing stopping position is less than the first preset time or not according to the time difference value of the handheld device from the swing starting position to the swing finishing position detected by the triaxial acceleration sensor;
and the included angle of the handheld device from the starting swing position to the swing stop position is the first preset angle.
4. The voice wake-up control method of the handheld device according to claim 3, wherein if the movement time is less than a first preset time, triggering a voice receiving instruction to wake up a voice receiving function of the handheld device and start receiving a voice uttered by a user, specifically comprising:
if the main control unit judges that the movement time of the handheld device from the swing starting position to the swing stopping position is less than the first preset time according to the time data detected by the triaxial acceleration sensor, the main control unit triggers a voice receiving instruction;
and the handheld equipment awakens a voice receiving function according to the voice receiving instruction and starts to receive voice sent by a user through a voice receiving module.
5. The voice wake-up control method of the handheld device according to claim 4, further comprising:
when the handheld device is in a voice receiving state, if the main control unit judges that the swinging angle of the handheld device towards the second preset direction is larger than the second preset angle and the swinging time is larger than the second preset time according to the triaxial acceleration sensor, the main control unit triggers a voice receiving closing instruction.
6. The voice wake-up control method of the handheld device according to claim 3 or 4, wherein the first preset direction is swinging left or swinging right along a vertical direction;
the first preset angle is 45-60 degrees.
The first preset time is 1000ms-2000ms.
7. The voice wake-up control method of the handheld device according to claim 5, wherein the second preset direction is a counterclockwise or clockwise swing;
the second preset angle is greater than 30 degrees;
the second preset time is 500ms-1000ms.
8. A voice wake-up control system for a handheld device, the voice wake-up control system comprising:
the angle detection module is used for judging whether the swinging angle of the handheld device towards a first preset direction is greater than a first preset angle or not when the handheld device is detected to be used by a user in a preset state;
the time detection module is used for judging whether the movement time of the handheld device from the swing starting position to the swing stopping position is less than first preset time or not when the swing angle is greater than a first preset angle;
and the voice trigger module is used for triggering a voice receiving instruction to awaken the voice receiving function of the handheld device and start receiving the voice sent by the user if the movement time is less than a first preset time.
9. A handheld device, characterized in that the handheld device comprises: memory, a processor and a wake-on-speech control program of a handheld device stored on the memory and executable on the processor, the wake-on-speech control program of the handheld device, when executed by the processor, implementing the steps of the wake-on-speech control method of a handheld device as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that the computer-readable storage medium stores a voice wake-up control program of a handheld device, and the voice wake-up control program of the handheld device, when executed by a processor, implements the steps of the voice wake-up control method of the handheld device according to any one of claims 1-7.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210904316.8A CN115223561A (en) | 2022-07-28 | 2022-07-28 | Voice wake-up control method of handheld device and related device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210904316.8A CN115223561A (en) | 2022-07-28 | 2022-07-28 | Voice wake-up control method of handheld device and related device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115223561A true CN115223561A (en) | 2022-10-21 |
Family
ID=83614289
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210904316.8A Pending CN115223561A (en) | 2022-07-28 | 2022-07-28 | Voice wake-up control method of handheld device and related device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115223561A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115881118A (en) * | 2022-11-04 | 2023-03-31 | 荣耀终端有限公司 | Voice interaction method and related electronic equipment |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807106A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Standby circuit of handheld device and awaken method thereof |
US20110304648A1 (en) * | 2010-06-15 | 2011-12-15 | Lg Electronics Inc. | Mobile terminal and method for operating the mobile terminal |
CN103312874A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Mobile equipment operation state converting method and mobile equipment |
CN103581443A (en) * | 2013-11-14 | 2014-02-12 | 惠州Tcl移动通信有限公司 | Intelligent terminal automatic awakening method and system based on sensors |
CN106251605A (en) * | 2016-09-22 | 2016-12-21 | 珠海格力电器股份有限公司 | Starting method, device and system of voice recognition function and remote controller |
CN106664656A (en) * | 2014-08-02 | 2017-05-10 | 索尼公司 | Electronic device with static electric field sensor and related method |
-
2022
- 2022-07-28 CN CN202210904316.8A patent/CN115223561A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101807106A (en) * | 2010-03-26 | 2010-08-18 | 深圳创维数字技术股份有限公司 | Standby circuit of handheld device and awaken method thereof |
US20110304648A1 (en) * | 2010-06-15 | 2011-12-15 | Lg Electronics Inc. | Mobile terminal and method for operating the mobile terminal |
CN103312874A (en) * | 2012-03-12 | 2013-09-18 | 联想(北京)有限公司 | Mobile equipment operation state converting method and mobile equipment |
CN103581443A (en) * | 2013-11-14 | 2014-02-12 | 惠州Tcl移动通信有限公司 | Intelligent terminal automatic awakening method and system based on sensors |
CN106664656A (en) * | 2014-08-02 | 2017-05-10 | 索尼公司 | Electronic device with static electric field sensor and related method |
CN106251605A (en) * | 2016-09-22 | 2016-12-21 | 珠海格力电器股份有限公司 | Starting method, device and system of voice recognition function and remote controller |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115881118A (en) * | 2022-11-04 | 2023-03-31 | 荣耀终端有限公司 | Voice interaction method and related electronic equipment |
CN115881118B (en) * | 2022-11-04 | 2023-12-22 | 荣耀终端有限公司 | Voice interaction method and related electronic equipment |
WO2024093515A1 (en) * | 2022-11-04 | 2024-05-10 | 荣耀终端有限公司 | Voice interaction method and related electronic device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US20210271306A1 (en) | Apparatus and method for waking up a processor | |
CN109712621B (en) | Voice interaction control method and terminal | |
US10069953B2 (en) | Electronic device with a touch sensor and method for operating the same | |
CN107395889B (en) | Method and device for reducing power consumption of mobile terminal, storage medium and mobile terminal | |
US9507399B2 (en) | Accelerometer-controlled master power switch for electronic devices | |
US10862595B2 (en) | Method for processing radio frequency interference, and electronic device | |
US20150058651A1 (en) | Method and apparatus for saving battery of portable terminal | |
WO2014117500A1 (en) | Touch screen terminal and working method thereof | |
WO2021109882A1 (en) | Application starting method and apparatus, and storage medium and electronic device | |
CN108712566B (en) | Voice assistant awakening method and mobile terminal | |
WO2019183786A1 (en) | Method and electronic device for displaying indication information | |
CN104657057A (en) | Terminal waking method and device | |
KR102557125B1 (en) | Electronic device and control method thereof | |
CN102929390A (en) | Method and device for starting application program in stand-by state | |
US10088889B2 (en) | Method and device for waking up a controller | |
WO2019184946A1 (en) | Human facial recognition control method and mobile terminal | |
WO2016045027A1 (en) | Screen sensitivity adjustment method and mobile terminal | |
CN111290794A (en) | Screen awakening method and device, storage medium and mobile terminal | |
CN110865858A (en) | Screen awakening method and electronic equipment | |
CN105242867A (en) | Handset and control method therefor | |
CN115223561A (en) | Voice wake-up control method of handheld device and related device | |
CN108766346A (en) | The method and apparatus for protecting screen | |
CN106933576B (en) | Terminal unlocking method and device and computer equipment | |
CN110543333A (en) | Dormancy processing method and device for processor, mobile terminal and storage medium | |
CN113782025B (en) | Speech recognition method, device, terminal and storage medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |