WO2018049825A1 - Alarm clock turning-off method based on mobile terminal, and mobile terminal - Google Patents

Alarm clock turning-off method based on mobile terminal, and mobile terminal Download PDF

Info

Publication number
WO2018049825A1
WO2018049825A1 PCT/CN2017/083142 CN2017083142W WO2018049825A1 WO 2018049825 A1 WO2018049825 A1 WO 2018049825A1 CN 2017083142 W CN2017083142 W CN 2017083142W WO 2018049825 A1 WO2018049825 A1 WO 2018049825A1
Authority
WO
WIPO (PCT)
Prior art keywords
alarm
voice
mobile terminal
voice command
user
Prior art date
Application number
PCT/CN2017/083142
Other languages
French (fr)
Chinese (zh)
Inventor
李桃
Original Assignee
惠州Tcl移动通信有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 惠州Tcl移动通信有限公司 filed Critical 惠州Tcl移动通信有限公司
Publication of WO2018049825A1 publication Critical patent/WO2018049825A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72448User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions
    • H04M1/72451User interfaces specially adapted for cordless or mobile telephones with means for adapting the functionality of the device according to specific conditions according to schedules, e.g. using calendar applications
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M19/00Current supply arrangements for telephone systems
    • H04M19/02Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone
    • H04M19/04Current supply arrangements for telephone systems providing ringing current or supervisory tones, e.g. dialling tone or busy tone the ringing-current being generated at the substations
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/26Speech to text systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/26Devices for calling a subscriber
    • H04M1/27Devices whereby a plurality of signals may be stored simultaneously
    • H04M1/271Devices whereby a plurality of signals may be stored simultaneously controlled by voice recognition
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Definitions

  • the present invention relates to the field of mobile terminals, and in particular, to a method for shutting down an alarm based on a terminal and a mobile terminal.
  • the technical problem to be solved by the present invention is to provide a method for shutting down an alarm based on a mobile terminal and a mobile terminal, which can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal.
  • a technical solution adopted by the present invention is: Providing a mobile terminal, the mobile terminal includes: an alarm reminder module, configured in the mobile terminal, configured to play an alarm when the set alarm time is reached; a voice instruction acquisition module, set in the mobile terminal, and an alarm clock
  • the reminder module is connected, and is used for the alarm reminder module to play the alarm, collect the voice signal and parse the voice signal to obtain the voice command;
  • the judgment module is set in the mobile terminal and connected with the voice instruction acquisition module, and is used to determine the voice instruction acquisition module.
  • the control module is disposed in the mobile terminal and connected to the determining module, and is configured to close the alarm when the determining module determines that the voice command is the voice command to turn off the alarm; the mobile terminal further includes an initialization module.
  • the initialization module includes: a display unit, configured to enable an alarm setting function to display an alarm setting interface on a display screen of the mobile terminal; and an input unit connected to the display unit for receiving the user to display on the display unit The alarm time entered by the alarm setting interface; recorded a unit, connected to the input unit, for inputting a closed alarm voice command for the user to turn off the alarm at the alarm time input by the input unit; wherein, when the determining module determines that the voice command is not the alarm of the alarm, the control module continues to play the alarm .
  • another technical solution adopted by the present invention is to provide a method for turning off an alarm based on a mobile terminal, the method comprising: when the set alarm time is reached, the mobile terminal plays an alarm; collecting The voice signal parses the voice signal to obtain a voice command; determines whether the voice command is an off alarm voice command; and if the voice command turns off the alarm voice command, the mobile terminal turns off the alarm.
  • a mobile terminal includes: a processor, a memory coupled to the processor, and a voice collector; the memory is configured to store program instructions; and the voice collection is performed.
  • the device is configured to: collect a voice signal sent by a user; the processor is configured to: execute a program instruction to play an alarm when the set alarm time is reached; collect a voice signal through the voice collector and parse the voice signal to obtain a voice instruction; and determine whether the voice instruction is To turn off the alarm voice command; if the voice command is to turn off the alarm voice command, turn off the alarm.
  • the method of the present invention is different from the prior art, the method for turning off an alarm based on a mobile terminal of the present invention, and the mobile terminal acquiring a voice signal and parsing the voice signal to obtain a voice command during the alarm playing; Whether the voice command is to turn off the alarm voice command; if the voice command is to turn off the alarm voice command, the mobile terminal turns off the alarm.
  • the present invention can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal, and facilitating the use of the user.
  • FIG. 1 is a flowchart of a method for turning off an alarm based on a mobile terminal according to an embodiment of the present invention
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a physical device of a mobile terminal according to an embodiment of the present invention.
  • FIG. 1 is a flow chart of a method for turning off an alarm based on a mobile terminal according to an embodiment of the present invention. It should be noted that the method of the present invention is not limited to the sequence of the flow shown in FIG. 1 if substantially the same result is obtained. As shown in Figure 1, the method includes the steps of:
  • Step S101 The alarm setting function is turned on to display an alarm setting interface on the display screen of the mobile terminal.
  • the alarm setting function can be turned on by clicking an icon corresponding to the alarm function, or can be turned on by clicking the shortcut button when the mobile terminal is powered on.
  • Step S102 Receive an alarm time input by the user on the alarm setting interface.
  • step S102 the user can set a plurality of alarm moments, such as a morning wake up alarm moment, a noon wake up alarm moment, and an evening sleep alarm moment.
  • Step S103 Enter a closed alarm voice command for the user to turn off the alarm at the alarm time.
  • step S103 the step of entering the closed alarm voice command for the user to turn off the alarm at the alarm time is specifically: inputting a voice signal sent by the user; parsing the voice signal and saving the parsed voice signal as a closed alarm in text form Voice command; associates the alarm voice command and the alarm time.
  • the different alarm moments may correspond to the same closed alarm voice command, or may be different for different alarm voice commands.
  • step S102 When different alarm moments correspond to the same closed alarm voice command, a plurality of alarm moments are simultaneously set in step S102, and then step S103 is performed to enter the close alarm voice command.
  • step S102 and step S103 may be executed cyclically, that is, each time an alarm time is input, a closed alarm voice corresponding to the alarm time is entered. instruction.
  • Step S102 may be performed first, and multiple alarm moments are simultaneously set in step S102, and then step S103 is executed to input multiple closed alarm voice commands, and multiple alarm moments and multiple closed alarm voice commands are used. correspond.
  • the alarms corresponding to different alarm moments may be set to be different from each other, and the alarm voice command is turned off corresponding to different alarms, thereby reminding the user of the alarm time.
  • the alarm can be set to “get up and get lazy”, and the user needs to send “I wake up” to turn off the alarm voice command to turn off the alarm.
  • the alarm can be set to “sleep and make a good dream”. The user needs to send “I am sleeping” to turn off the alarm voice command to turn off the alarm.
  • the step of inputting the voice signal of the user, parsing the voice signal, and saving the parsed voice signal in the form of text as the closed alarm voice instruction is as follows: First, constructing an intent object Describe the action of "listening the voice entered by the user”; then use the intent.putExtra to attach the value to be passed, that is, the "voice file” to the intent object; then start the action in the intent object; finally use the intent .getStringArrayListExtra converts the recorded voice file into text and saves it.
  • Step S104 The mobile terminal plays the alarm when the set alarm time is reached.
  • step S104 for example, when the set morning wake-up alarm is reached, the mobile terminal plays the alarm of "getting up the lazy".
  • Step S105 Acquire a voice signal and parse the voice signal to obtain a voice command.
  • step S105 after the alarm sounds, the voice signal, that is, the voice signal sent by the user, is collected every predetermined time, and the voice signal is parsed to obtain the voice command corresponding to the voice signal and saved in the mobile terminal.
  • the voice command is stored in the mobile terminal in the form of text.
  • the mobile terminal when the mobile terminal collects a voice signal, an environmental noise signal is collected at the same time, wherein the ambient noise signal includes an alarm sound and other noise.
  • the mobile terminal may load the noise reduction parameter to generate an inverted noise signal that cancels the ambient noise signal, and after the collected voice signal and the inverted noise signal are superimposed to cancel the environmental noise signal, The speech signal that cancels the ambient noise signal is parsed to obtain a voice instruction, thereby improving the accuracy of the voice instruction acquisition.
  • Step S106 determining whether the voice command is a closed alarm voice command; if yes, executing step S107, otherwise performing step S108.
  • step S106 for example, when the set morning wake-up alarm time is reached, it is determined whether the voice command issued by the user is "I wake up" to turn off the alarm voice command, and if yes, step S107 is performed. Otherwise, step S108 is performed.
  • step S107 the mobile terminal turns off the alarm.
  • step S107 when it is determined in step S106 that the voice command is to turn off the alarm voice command, the mobile terminal turns off the current alarm, and proceeds to step S104.
  • step S108 the mobile terminal continues to play the alarm, and proceeds to step S105.
  • step S108 when it is determined in step S106 that the voice command is not to turn off the alarm voice command, the mobile terminal continues to play the alarm until the voice command issued by the user is "I am getting out of bed".
  • the mobile terminal collects a voice signal every predetermined time, and the voice signal collected at this time is an external noise signal, so that the parsed voice command is not closed.
  • the ring voice command at this time, the mobile terminal continues to play the alarm.
  • FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the mobile terminal includes an initialization module 21, an alarm reminder module 22, a voice instruction acquisition module 23, a determination module 24, and a control module 25.
  • the initialization module 21 is disposed in the mobile terminal for completing the initial setting of the alarm.
  • the initialization module 21 includes a display unit 211, an input unit 212, and an entry unit 213.
  • the display unit 211 is configured to enable the alarm setting function to display an alarm setting interface on the display screen of the mobile terminal.
  • the input unit 212 is connected to the display unit 211 for receiving an alarm time input by the user at the alarm setting interface displayed by the display unit 211.
  • the entry unit 213 is connected to the input unit 212 for inputting a closed alarm voice command for turning off the alarm corresponding to the alarm time input by the user at the input unit 212.
  • the entry unit 213 includes a record subunit 2131 and a storage subunit 2132.
  • the entry subunit 2131 is connected to the input unit 212 for inputting a voice signal sent by the user corresponding to the alarm time input by the user at the input unit 212.
  • the storage subunit 2132 is connected to the input subunit 2131, and is configured to parse the voice signal recorded by the input subunit 2131 and save the parsed voice signal in text form as a closed alarm voice command and associated off the alarm voice command and the alarm moment. .
  • the alarm reminding module 22 is disposed in the mobile terminal and is connected to the storage subunit 2132 in the initialization module 21 for playing the alarm when the initialization module 21 completes the initial setting of the alarm and reaches the set alarm time.
  • the voice command acquisition module 23 is disposed in the mobile terminal and connected to the alarm reminder module 22, and is configured to collect the voice signal sent by the user and parse the voice signal to obtain the voice command after the alarm module 22 plays the alarm.
  • the judging module 24 is disposed in the mobile terminal and is connected to the voice instruction acquiring module 23, and is configured to determine whether the voice command acquired by the voice command acquiring module 23 is an off alarm voice command.
  • the control module 25 is disposed in the mobile terminal, and is connected to the judging module 24, and is configured to: when the judging module 24 determines that the voice command is to turn off the alarm voice command, turn off the alarm; and when the judging module 24 determines that the voice command is not the off alarm voice command, Continue to play the alarm.
  • FIG. 3 is a schematic structural diagram of a physical device of a mobile terminal according to an embodiment of the present invention.
  • the device in this embodiment may perform the steps in the foregoing method.
  • the apparatus includes a processor 31, a memory 32 coupled to the processor 31, a voice harvester 33, and a display screen 34.
  • the memory 32 is used to store program instructions; the voice collector 33 is used to collect voice signals from the user; and the display screen 34 is used to display an alarm setting interface.
  • the processor 31 is configured to: execute program instructions to play an alarm when the set alarm time is reached; collect a voice signal through the voice collector 33 and parse the voice signal to obtain a voice command; and determine whether the voice command is an off alarm voice command ; If the voice command is to turn off the alarm voice command, turn off the alarm.
  • the processor 31 is further configured to enable the alarm setting function to display an alarm setting interface on the display screen 34 of the mobile terminal before the operation of the alarm is played when the processor 31 reaches the set alarm time; the receiving user is in the middle of the alarm.
  • the processor 31 performs the operation of recording the closed alarm voice command for the user to turn off the alarm at the alarm time. Specifically, the processor 31 inputs the voice signal sent by the user; parses the voice signal and saves the parsed voice signal as a text. Alarm voice command; associates the alarm voice command and the alarm time.
  • the processor 31 is further configured to continue playing the alarm when the parsed voice signal is not the off alarm voice command.
  • the method of the present invention is different from the prior art, the method for turning off an alarm based on a mobile terminal of the present invention, and the mobile terminal acquiring a voice signal and parsing the voice signal to obtain a voice command during the alarm playing; Whether the voice command is to turn off the alarm voice command; if the voice command is to turn off the alarm voice command, the mobile terminal turns off the alarm.
  • the present invention can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal, and facilitating the use of the user.
  • the disclosed system, apparatus, and method may be implemented in other manners.
  • the device implementations described above are merely illustrative.
  • the division of the modules or units is only a logical function division.
  • there may be another division manner for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
  • each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
  • the above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
  • the integrated unit if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium.
  • the technical solution of the present invention which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium.
  • a number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention.
  • the foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.

Landscapes

  • Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Signal Processing (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephone Function (AREA)

Abstract

Discloses are an alarm clock turning-off method based on a mobile terminal, and the mobile terminal. The method comprises: a mobile terminal playing an alarm when a set alarm clock moment is reached; collecting voice signals, and parsing the voice signals to acquire a voice instruction; determining whether the voice instruction is a voice instruction for turning off the alarm clock; and if the voice instruction is the voice instruction for turning off the alarm clock, the mobile terminal turning off the alarm clock. By means of the above-mentioned method, in the present invention, an alarm clock can be turned off by voice, thereby improving the operability and intelligence of a mobile terminal, and facilitating the usage of a user.

Description

一种基于移动终端的关闭闹铃的方法及移动终端 Method for closing alarm based on mobile terminal and mobile terminal
【技术领域】[Technical Field]
本发明涉及移动终端领域,特别是涉及一种基于终端的关闭闹铃的方法及移动终端。The present invention relates to the field of mobile terminals, and in particular, to a method for shutting down an alarm based on a terminal and a mobile terminal.
【背景技术】 【Background technique】
目前人们的生活起居往往都需要闹铃来提醒,其中,基于移动终端的闹钟设计往往都是需要用户手动关闭闹铃,给用户的使用带来不便。举例来说,起床闹铃对于大多数移动终端的用户来说是日常必备的功能,但是对于不想起床的用户来说手动关闭闹铃是一件非常煎熬的事情。At present, people often need alarms to remind people of their daily lives. Among them, the alarm design based on mobile terminals often requires the user to manually turn off the alarm, which brings inconvenience to the user. For example, getting up an alarm is a daily essential feature for most mobile terminal users, but it is very difficult for a user who does not want to get up to manually turn off the alarm.
【发明内容】 [Summary of the Invention]
本发明主要解决的技术问题是提供一种基于移动终端的关闭闹铃的方法及移动终端,能够利用语音来关闭闹铃,从而提升移动终端的可操作性和智能性。The technical problem to be solved by the present invention is to provide a method for shutting down an alarm based on a mobile terminal and a mobile terminal, which can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal.
为解决上述技术问题,本发明采用的一个技术方案是: 提供一种移动终端,该移动终端包括:闹钟提醒模块,设置在移动终端内,用于在到达设定的闹铃时刻时,播放闹铃;语音指令获取模块,设置在移动终端内,与闹钟提醒模块连接,用于闹钟提醒模块播放闹铃后,采集语音信号并解析语音信号以获取语音指令;判断模块,设置在移动终端内,与语音指令获取模块连接,用于判断语音指令获取模块获取的语音指令是否为关闭闹钟语音指令;控制模块,设置在移动终端内,与判断模块连接,用于当判断模块判断语音指令为关闭闹钟语音指令时,关闭闹铃;移动终端进一步包括初始化模块,设置在移动终端内,初始化模块包括:显示单元,用于开启闹铃设置功能以在移动终端的显示屏上显示闹铃设置界面;输入单元,与显示单元连接,用于接收用户在显示单元显示的闹铃设置界面输入的闹铃时刻;录入单元,与输入单元连接,用于录入用户在输入单元输入的闹铃时刻关闭闹铃的关闭闹铃语音指令;其中,当判断模块判断语音指令不是关闭闹钟语音指令时,控制模块继续播放闹铃。In order to solve the above technical problem, a technical solution adopted by the present invention is: Providing a mobile terminal, the mobile terminal includes: an alarm reminder module, configured in the mobile terminal, configured to play an alarm when the set alarm time is reached; a voice instruction acquisition module, set in the mobile terminal, and an alarm clock The reminder module is connected, and is used for the alarm reminder module to play the alarm, collect the voice signal and parse the voice signal to obtain the voice command; the judgment module is set in the mobile terminal and connected with the voice instruction acquisition module, and is used to determine the voice instruction acquisition module. Whether the voice command is a voice alarm for turning off the alarm; the control module is disposed in the mobile terminal and connected to the determining module, and is configured to close the alarm when the determining module determines that the voice command is the voice command to turn off the alarm; the mobile terminal further includes an initialization module. Set in the mobile terminal, the initialization module includes: a display unit, configured to enable an alarm setting function to display an alarm setting interface on a display screen of the mobile terminal; and an input unit connected to the display unit for receiving the user to display on the display unit The alarm time entered by the alarm setting interface; recorded a unit, connected to the input unit, for inputting a closed alarm voice command for the user to turn off the alarm at the alarm time input by the input unit; wherein, when the determining module determines that the voice command is not the alarm of the alarm, the control module continues to play the alarm .
为解决上述技术问题,本发明采用的另一个技术方案是:提供一种基于移动终端的关闭闹铃的方法,该方法包括:在到达设定的闹铃时刻时,移动终端播放闹铃;采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,移动终端关闭闹铃。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a method for turning off an alarm based on a mobile terminal, the method comprising: when the set alarm time is reached, the mobile terminal plays an alarm; collecting The voice signal parses the voice signal to obtain a voice command; determines whether the voice command is an off alarm voice command; and if the voice command turns off the alarm voice command, the mobile terminal turns off the alarm.
为解决上述技术问题,本发明采用的再一个技术方案是:提供一种移动终端,该移动终端包括:处理器、与处理器耦合的存储器和语音采集器;存储器用于存储程序指令;语音采集器用于采集用户发出的语音信号;处理器用于:执行程序指令以在到达设定的闹铃时刻时播放闹铃;通过语音采集器采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,关闭闹铃。In order to solve the above technical problem, another technical solution adopted by the present invention is to provide a mobile terminal, the mobile terminal includes: a processor, a memory coupled to the processor, and a voice collector; the memory is configured to store program instructions; and the voice collection is performed. The device is configured to: collect a voice signal sent by a user; the processor is configured to: execute a program instruction to play an alarm when the set alarm time is reached; collect a voice signal through the voice collector and parse the voice signal to obtain a voice instruction; and determine whether the voice instruction is To turn off the alarm voice command; if the voice command is to turn off the alarm voice command, turn off the alarm.
本发明的有益效果是:区别于现有技术的情况,本发明的基于移动终端的关闭闹铃的方法及移动终端通过在闹铃播放时,采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,移动终端关闭闹铃。通过上述方式,本发明能够利用语音来关闭闹铃,从而提升了移动终端的可操作性和智能性,方便了用户的使用。The method of the present invention is different from the prior art, the method for turning off an alarm based on a mobile terminal of the present invention, and the mobile terminal acquiring a voice signal and parsing the voice signal to obtain a voice command during the alarm playing; Whether the voice command is to turn off the alarm voice command; if the voice command is to turn off the alarm voice command, the mobile terminal turns off the alarm. In the above manner, the present invention can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal, and facilitating the use of the user.
【附图说明】 [Description of the Drawings]
图1是本发明实施例的基于移动终端的关闭闹铃的方法的流程图;1 is a flowchart of a method for turning off an alarm based on a mobile terminal according to an embodiment of the present invention;
图2是本发明实施例的移动终端的结构示意图;2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention;
图3是本发明实施例的移动终端一实体装置的结构示意图。FIG. 3 is a schematic structural diagram of a physical device of a mobile terminal according to an embodiment of the present invention.
【具体实施方式】【detailed description】
下面结合附图和实施方式对本发明进行详细说明。The invention will now be described in detail in conjunction with the drawings and embodiments.
图1是本发明实施例的基于移动终端的关闭闹铃的方法的流程图。需注意的是,若有实质上相同的结果,本发明的方法并不以图1所示的流程顺序为限。如图1所示,该方法包括步骤:1 is a flow chart of a method for turning off an alarm based on a mobile terminal according to an embodiment of the present invention. It should be noted that the method of the present invention is not limited to the sequence of the flow shown in FIG. 1 if substantially the same result is obtained. As shown in Figure 1, the method includes the steps of:
步骤S101:开启闹铃设置功能以在移动终端的显示屏上显示闹铃设置界面。Step S101: The alarm setting function is turned on to display an alarm setting interface on the display screen of the mobile terminal.
在步骤S101中,在本实施例中,开启闹铃设置功能可以通过点击对应于闹铃功能的图标进行开启,也可以当移动终端开机后点击快捷按键进行开启。In step S101, in the embodiment, the alarm setting function can be turned on by clicking an icon corresponding to the alarm function, or can be turned on by clicking the shortcut button when the mobile terminal is powered on.
步骤S102:接收用户在闹铃设置界面输入的闹铃时刻。Step S102: Receive an alarm time input by the user on the alarm setting interface.
在步骤S102中,用户可以设置多个闹铃时刻,例如早上起床闹铃时刻、中午起床闹铃时刻以及晚上睡觉闹铃时刻等等。In step S102, the user can set a plurality of alarm moments, such as a morning wake up alarm moment, a noon wake up alarm moment, and an evening sleep alarm moment.
步骤S103:录入用户在闹铃时刻关闭闹铃的关闭闹铃语音指令。Step S103: Enter a closed alarm voice command for the user to turn off the alarm at the alarm time.
在步骤S103中,录入用户在闹铃时刻关闭闹铃的关闭闹铃语音指令的步骤具体为:录入用户发出的语音信号;解析语音信号并以文字形式将解析后的语音信号保存为关闭闹铃语音指令;关联关闭闹铃语音指令和闹铃时刻。In step S103, the step of entering the closed alarm voice command for the user to turn off the alarm at the alarm time is specifically: inputting a voice signal sent by the user; parsing the voice signal and saving the parsed voice signal as a closed alarm in text form Voice command; associates the alarm voice command and the alarm time.
其中,不同的闹铃时刻可以对应同一关闭闹铃语音指令,也可以对应不同的关闭闹铃语音指令。The different alarm moments may correspond to the same closed alarm voice command, or may be different for different alarm voice commands.
当不同的闹铃时刻对应同一关闭闹铃语音指令时,在步骤S102中同时设置多个闹铃时刻,然后执行步骤S103,录入关闭闹铃语音指令。When different alarm moments correspond to the same closed alarm voice command, a plurality of alarm moments are simultaneously set in step S102, and then step S103 is performed to enter the close alarm voice command.
当不同的闹铃时刻对应不同的关闭闹铃语音指令时,可以将步骤S102和步骤S103循环执行,也就是说,每输入一个闹铃时刻,则录入一个对应该闹铃时刻的关闭闹铃语音指令。也可以先执行步骤S102,在步骤S102中同时设置多个闹铃时刻,然后执行步骤S103,录入多个关闭闹铃语音指令,并将多个闹铃时刻和多个关闭闹铃语音指令一一对应。When different alarm moments correspond to different closed alarm voice commands, step S102 and step S103 may be executed cyclically, that is, each time an alarm time is input, a closed alarm voice corresponding to the alarm time is entered. instruction. Step S102 may be performed first, and multiple alarm moments are simultaneously set in step S102, and then step S103 is executed to input multiple closed alarm voice commands, and multiple alarm moments and multiple closed alarm voice commands are used. correspond.
另外,为了区分不同的闹铃时刻,可以将对应不同的闹铃时刻的闹铃设置为互不同,同时关闭闹铃语音指令与不同的闹铃相对应,从而提醒用户该闹铃时刻该做的事情。例如,早上起床闹铃时刻,闹铃可以设置为“起床啦懒虫”,用户需要发出“我起床啦”的关闭闹铃语音指令来关闭闹铃。晚上睡觉闹铃时刻,闹铃可以设置为“睡觉啦做个好梦”,用户需要发出“我睡觉啦”的关闭闹铃语音指令来关闭闹铃。In addition, in order to distinguish different alarm moments, the alarms corresponding to different alarm moments may be set to be different from each other, and the alarm voice command is turned off corresponding to different alarms, thereby reminding the user of the alarm time. thing. For example, when you wake up in the morning, the alarm can be set to “get up and get lazy”, and the user needs to send “I wake up” to turn off the alarm voice command to turn off the alarm. When you sleep at night, the alarm can be set to “sleep and make a good dream”. The user needs to send “I am sleeping” to turn off the alarm voice command to turn off the alarm.
另外,在本实施例中,录入用户的语音信号,解析所述语音信号并以文字形式将解析后的所述语音信号保存为所述关闭闹铃语音指令的步骤具体为:首先,构建intent对象,对“监听用户录入的语音”这个动作(action)进行描述;接着利用intent.putExtra将要传递的值也即“语音文件”附加至intent对象中;然后开始执行intent对象中的action;最后利用intent.getStringArrayListExtra将录入的语音文件转换为文字并进行保存。In addition, in this embodiment, the step of inputting the voice signal of the user, parsing the voice signal, and saving the parsed voice signal in the form of text as the closed alarm voice instruction is as follows: First, constructing an intent object Describe the action of "listening the voice entered by the user"; then use the intent.putExtra to attach the value to be passed, that is, the "voice file" to the intent object; then start the action in the intent object; finally use the intent .getStringArrayListExtra converts the recorded voice file into text and saves it.
具体代码如下:The specific code is as follows:
Intent intent=Intent intent=
new Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);New Intent(RecognizerIntent.ACTION_RECOGNIZE_SPEECH);
intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en-US");intent.putExtra(RecognizerIntent.EXTRA_LANGUAGE_MODEL, "en-US");
startActivityForResult(intent, 1);startActivityForResult(intent, 1);
ArrayList<String> text=ArrayList<String> text=
intent.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS)。intent.getStringArrayListExtra(RecognizerIntent.EXTRA_RESULTS).
步骤S104:在到达设定的闹铃时刻时,移动终端播放闹铃。Step S104: The mobile terminal plays the alarm when the set alarm time is reached.
在步骤S104中,举例来说,当到达设定的早上起床闹铃时刻,移动终端播放“起床啦懒虫”的闹铃。In step S104, for example, when the set morning wake-up alarm is reached, the mobile terminal plays the alarm of "getting up the lazy".
步骤S105:采集语音信号并解析语音信号以获取语音指令。Step S105: Acquire a voice signal and parse the voice signal to obtain a voice command.
在步骤S105:当闹铃响起后,每隔预定时间采集语音信号也即用户发出的语音信号,并对语音信号进行解析以获取语音信号对应的语音指令并保存在移动终端内。其中,语音指令以文字的形式保存在移动终端内。In step S105, after the alarm sounds, the voice signal, that is, the voice signal sent by the user, is collected every predetermined time, and the voice signal is parsed to obtain the voice command corresponding to the voice signal and saved in the mobile terminal. The voice command is stored in the mobile terminal in the form of text.
具体来说,当移动终端采集语音信号时,会同时将环境噪声信号采集进来,其中,环境噪声信号包括闹铃声音和其它噪声。此时,移动终端在解析语音信号时,可以通过加载降噪参数以产生抵消环境噪音信号的反相噪音信号,通过将采集进来的语音信号和反相噪声信号相叠加以抵消环境噪声信号后,解析抵消环境噪声信号的语音信号以获取语音指令,从而提高语音指令获取的准确性。Specifically, when the mobile terminal collects a voice signal, an environmental noise signal is collected at the same time, wherein the ambient noise signal includes an alarm sound and other noise. At this time, when parsing the voice signal, the mobile terminal may load the noise reduction parameter to generate an inverted noise signal that cancels the ambient noise signal, and after the collected voice signal and the inverted noise signal are superimposed to cancel the environmental noise signal, The speech signal that cancels the ambient noise signal is parsed to obtain a voice instruction, thereby improving the accuracy of the voice instruction acquisition.
步骤S106:判断语音指令是否为关闭闹铃语音指令;若是,执行步骤S107,否则执行步骤S108。Step S106: determining whether the voice command is a closed alarm voice command; if yes, executing step S107, otherwise performing step S108.
在步骤S106中,举例来说,当到达设定的早上起床闹铃时刻时,判断用户发出的语音指令是否为“我起床啦”的关闭闹铃语音指令,若是,执行步骤S107 ,否则执行步骤S108。In step S106, for example, when the set morning wake-up alarm time is reached, it is determined whether the voice command issued by the user is "I wake up" to turn off the alarm voice command, and if yes, step S107 is performed. Otherwise, step S108 is performed.
在步骤S107中,移动终端关闭闹铃。In step S107, the mobile terminal turns off the alarm.
在步骤S107中,当步骤S106判断语音指令为关闭闹铃语音指令时,移动终端关闭当前闹铃,并继续执行步骤S104。In step S107, when it is determined in step S106 that the voice command is to turn off the alarm voice command, the mobile terminal turns off the current alarm, and proceeds to step S104.
步骤S108,移动终端继续播放闹铃,并继续执行步骤S105。In step S108, the mobile terminal continues to play the alarm, and proceeds to step S105.
在步骤S108中,当步骤S106判断语音指令不为关闭闹铃语音指令时,移动终端继续播放闹铃,直至用户发出的语音指令为“我起床啦”为止。In step S108, when it is determined in step S106 that the voice command is not to turn off the alarm voice command, the mobile terminal continues to play the alarm until the voice command issued by the user is "I am getting out of bed".
本领域的技术人员可以理解,当用户未发出任何语音信号时,移动终端每隔预定时间采集语音信号,此时采集的语音信号为外部噪声信号,从而使得解析出的语音指令不会是关闭闹铃语音指令,此时,移动终端继续播放闹铃。A person skilled in the art can understand that when the user does not send any voice signal, the mobile terminal collects a voice signal every predetermined time, and the voice signal collected at this time is an external noise signal, so that the parsed voice command is not closed. The ring voice command, at this time, the mobile terminal continues to play the alarm.
图2是本发明实施例的移动终端的结构示意图。如图2所示,移动终端包括初始化模块21、闹钟提醒模块22、语音指令获取模块23、判断模块24和控制模块25。FIG. 2 is a schematic structural diagram of a mobile terminal according to an embodiment of the present invention. As shown in FIG. 2, the mobile terminal includes an initialization module 21, an alarm reminder module 22, a voice instruction acquisition module 23, a determination module 24, and a control module 25.
初始化模块21设置在移动终端内,用于完成闹铃的初始化设置。初始化模块21包括显示单元211、输入单元212和录入单元213。其中,显示单元211用于开启闹铃设置功能以在移动终端的显示屏上显示闹铃设置界面。输入单元212与显示单元211连接,用于接收用户在显示单元211显示的闹铃设置界面输入的闹铃时刻。录入单元213与输入单元212连接,用于录入用户在输入单元212输入的闹铃时刻对应的关闭闹铃的关闭闹铃语音指令。The initialization module 21 is disposed in the mobile terminal for completing the initial setting of the alarm. The initialization module 21 includes a display unit 211, an input unit 212, and an entry unit 213. The display unit 211 is configured to enable the alarm setting function to display an alarm setting interface on the display screen of the mobile terminal. The input unit 212 is connected to the display unit 211 for receiving an alarm time input by the user at the alarm setting interface displayed by the display unit 211. The entry unit 213 is connected to the input unit 212 for inputting a closed alarm voice command for turning off the alarm corresponding to the alarm time input by the user at the input unit 212.
具体来说,录入单元213包括录入子单元2131和存储子单元2132。录入子单元2131与输入单元212连接,用于录入用户在输入单元212输入的闹铃时刻对应的用户发出的语音信号。存储子单元2132与录入子单元2131连接,用于解析录入子单元2131录入的语音信号并以文字形式将解析后的语音信号保存为关闭闹铃语音指令以及关联关闭闹铃语音指令和闹铃时刻。Specifically, the entry unit 213 includes a record subunit 2131 and a storage subunit 2132. The entry subunit 2131 is connected to the input unit 212 for inputting a voice signal sent by the user corresponding to the alarm time input by the user at the input unit 212. The storage subunit 2132 is connected to the input subunit 2131, and is configured to parse the voice signal recorded by the input subunit 2131 and save the parsed voice signal in text form as a closed alarm voice command and associated off the alarm voice command and the alarm moment. .
闹铃提醒模块22设置在移动终端内,与初始化模块21中的存储子单元2132连接,用于在初始化模块21完成闹铃的初始化设置后,在到达设定的闹铃时刻时播放闹铃。The alarm reminding module 22 is disposed in the mobile terminal and is connected to the storage subunit 2132 in the initialization module 21 for playing the alarm when the initialization module 21 completes the initial setting of the alarm and reaches the set alarm time.
语音指令获取模块23设置在移动终端内,与闹钟提醒模块22连接,用于闹钟提醒模块22播放闹铃后,采集用户发出的语音信号并解析语音信号以获取语音指令。The voice command acquisition module 23 is disposed in the mobile terminal and connected to the alarm reminder module 22, and is configured to collect the voice signal sent by the user and parse the voice signal to obtain the voice command after the alarm module 22 plays the alarm.
判断模块24设置在移动终端内,与语音指令获取模块23连接,用于判断语音指令获取模块23获取的语音指令是否为关闭闹钟语音指令。The judging module 24 is disposed in the mobile terminal and is connected to the voice instruction acquiring module 23, and is configured to determine whether the voice command acquired by the voice command acquiring module 23 is an off alarm voice command.
控制模块25设置在移动终端内,与判断模块24连接,用于当判断模块24判断语音指令为关闭闹钟语音指令时,关闭闹铃;以及当判断模块24判断语音指令不是关闭闹钟语音指令时,继续播放闹铃。The control module 25 is disposed in the mobile terminal, and is connected to the judging module 24, and is configured to: when the judging module 24 determines that the voice command is to turn off the alarm voice command, turn off the alarm; and when the judging module 24 determines that the voice command is not the off alarm voice command, Continue to play the alarm.
图3是本发明实施例的移动终端一实体装置的结构示意图,本实施方式的装置可以执行上述方法中的步骤,相关内容请参见上述方法中的详细说明,在此不再赘叙。3 is a schematic structural diagram of a physical device of a mobile terminal according to an embodiment of the present invention. The device in this embodiment may perform the steps in the foregoing method. For related content, refer to the detailed description in the foregoing method, and details are not described herein.
该装置包括:处理器31、与处理器31耦合的存储器32、语音采集器33和显示屏34。The apparatus includes a processor 31, a memory 32 coupled to the processor 31, a voice harvester 33, and a display screen 34.
存储器32用于存储程序指令;语音采集器33用于采集用户发出的语音信号;显示屏34用于显示闹铃设置界面。The memory 32 is used to store program instructions; the voice collector 33 is used to collect voice signals from the user; and the display screen 34 is used to display an alarm setting interface.
处理器31用于:执行程序指令以在到达设定的闹铃时刻时播放闹铃;通过语音采集器33采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,关闭闹铃。The processor 31 is configured to: execute program instructions to play an alarm when the set alarm time is reached; collect a voice signal through the voice collector 33 and parse the voice signal to obtain a voice command; and determine whether the voice command is an off alarm voice command ; If the voice command is to turn off the alarm voice command, turn off the alarm.
处理器31在执行到达设定的闹铃时刻时播放闹铃的操作之前,处理器31还用于开启闹铃设置功能以在移动终端的显示屏34上显示闹铃设置界面;接收用户在闹铃设置界面输入的闹铃时刻;录入用户在闹铃时刻关闭闹铃的关闭闹铃语音指令。The processor 31 is further configured to enable the alarm setting function to display an alarm setting interface on the display screen 34 of the mobile terminal before the operation of the alarm is played when the processor 31 reaches the set alarm time; the receiving user is in the middle of the alarm. The alarm time entered by the ring setting interface; the user enters the closed alarm voice command to turn off the alarm at the alarm time.
处理器31执行录入用户在闹铃时刻关闭闹铃的关闭闹铃语音指令的操作具体为:处理器31录入用户发出的语音信号;解析语音信号并以文字形式将解析后的语音信号保存为关闭闹铃语音指令;关联关闭闹铃语音指令和闹铃时刻。The processor 31 performs the operation of recording the closed alarm voice command for the user to turn off the alarm at the alarm time. Specifically, the processor 31 inputs the voice signal sent by the user; parses the voice signal and saves the parsed voice signal as a text. Alarm voice command; associates the alarm voice command and the alarm time.
其中,不同的闹铃时刻对应不同的关闭闹铃语音指令。Among them, different alarm moments correspond to different closed alarm voice commands.
其中,当解析后的语音信号不是关闭闹铃语音指令时,处理器31还用于继续播放闹铃。The processor 31 is further configured to continue playing the alarm when the parsed voice signal is not the off alarm voice command.
本发明的有益效果是:区别于现有技术的情况,本发明的基于移动终端的关闭闹铃的方法及移动终端通过在闹铃播放时,采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,移动终端关闭闹铃。通过上述方式,本发明能够利用语音来关闭闹铃,从而提升了移动终端的可操作性和智能性,方便了用户的使用。The method of the present invention is different from the prior art, the method for turning off an alarm based on a mobile terminal of the present invention, and the mobile terminal acquiring a voice signal and parsing the voice signal to obtain a voice command during the alarm playing; Whether the voice command is to turn off the alarm voice command; if the voice command is to turn off the alarm voice command, the mobile terminal turns off the alarm. In the above manner, the present invention can use voice to turn off the alarm, thereby improving the operability and intelligence of the mobile terminal, and facilitating the use of the user.
在本发明所提供的几个实施方式中,应该理解到,所揭露的系统,装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施方式仅仅是示意性的,例如,所述模块或单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present invention, it should be understood that the disclosed system, apparatus, and method may be implemented in other manners. For example, the device implementations described above are merely illustrative. For example, the division of the modules or units is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be used. Combinations can be integrated into another system, or some features can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, and may be in an electrical, mechanical or other form.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施方式方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, may be located in one place, or may be distributed to multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the present embodiment.
另外,在本发明各个实施方式中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above integrated unit can be implemented in the form of hardware or in the form of a software functional unit.
所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本发明的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(processor)执行本发明各个实施方式所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(ROM,Read-Only Memory)、随机存取存储器(RAM,Random Access Memory)、磁碟或者光盘等各种可以存储程序代码的介质。The integrated unit, if implemented in the form of a software functional unit and sold or used as a standalone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention, which is essential or contributes to the prior art, or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium. A number of instructions are included to cause a computer device (which may be a personal computer, server, or network device, etc.) or a processor to perform all or part of the steps of the methods of the various embodiments of the present invention. The foregoing storage medium includes: a U disk, a mobile hard disk, a read only memory (ROM, Read-Only) Memory, random access memory (RAM), disk or optical disk, and other media that can store program code.
以上所述仅为本发明的实施方式,并非因此限制本发明的专利范围,凡是利用本发明说明书所作的等效结构或等效流程变换,或直接或间接运用在其他相关的技术领域,均同理包括在本发明的专利保护范围内。The above is only the embodiment of the present invention, and thus does not limit the scope of the patent of the present invention. Any equivalent structure or equivalent process transformation made by the specification of the present invention, or directly or indirectly applied to other related technical fields, is the same. The scope of the invention is included in the scope of the patent protection of the present invention.

Claims (13)

  1. 一种移动终端,其中,所述移动终端包括:A mobile terminal, wherein the mobile terminal comprises:
    闹钟提醒模块,设置在所述移动终端内,用于在到达设定的闹铃时刻时,播放闹铃;An alarm reminder module is disposed in the mobile terminal, and is configured to play an alarm when the set alarm time is reached;
    语音指令获取模块,设置在所述移动终端内,与所述闹钟提醒模块连接,用于所述闹钟提醒模块播放闹铃后,采集语音信号并解析所述语音信号以获取语音指令;a voice instruction acquisition module is disposed in the mobile terminal and connected to the alarm reminder module, and configured to: after the alarm alarm module plays an alarm, collect a voice signal and parse the voice signal to obtain a voice instruction;
    判断模块,设置在所述移动终端内,与所述语音指令获取模块连接,用于判断所述语音指令获取模块获取的所述语音指令是否为关闭闹钟语音指令;a judging module, configured to be connected to the voice instruction acquiring module, configured to determine whether the voice command acquired by the voice command acquiring module is an alarm clock off command;
    控制模块,设置在所述移动终端内,与所述判断模块连接,用于当所述判断模块判断所述语音指令为关闭闹钟语音指令时,关闭所述闹铃;a control module, configured to be connected to the determining module, and configured to: when the determining module determines that the voice command is an off alarm voice command, turning off the alarm;
    所述移动终端进一步包括初始化模块,设置在所述移动终端内,所述初始化模块包括:The mobile terminal further includes an initialization module, which is disposed in the mobile terminal, and the initialization module includes:
    显示单元,用于开启闹铃设置功能以在所述移动终端的显示屏上显示闹铃设置界面;a display unit, configured to enable an alarm setting function to display an alarm setting interface on a display screen of the mobile terminal;
    输入单元,与所述显示单元连接,用于接收用户在所述显示单元显示的所述闹铃设置界面输入的闹铃时刻;The input unit is connected to the display unit, and configured to receive an alarm time input by the user on the alarm setting interface displayed by the display unit;
    录入单元,与所述输入单元连接,用于录入用户在所述输入单元输入的闹铃时刻关闭所述闹铃的关闭闹铃语音指令;An input unit, connected to the input unit, for inputting a closed alarm voice command for turning off the alarm when the user inputs an alarm time at the input unit;
    其中,当所述判断模块判断所述语音指令不是关闭闹钟语音指令时,所述控制模块继续播放闹铃。The control module continues to play the alarm when the determining module determines that the voice command is not a shutdown alarm voice command.
  2. 根据权利要求1所述的移动终端,其中,所述录入单元进一步包括:The mobile terminal of claim 1, wherein the entry unit further comprises:
    录入子单元,用于录入用户发出的语音信号;Input subunit for inputting a voice signal sent by the user;
    存储子单元,与所述录入子单元连接,用于解析所述录入子单元录入的所述语音信号并以文字形式将解析后的所述语音信号保存为所述关闭闹铃语音指令并关联所述关闭闹铃语音指令和所述闹铃时刻。a storage subunit, connected to the input subunit, configured to parse the voice signal recorded by the input subunit, and save the parsed voice signal in a text form as the closed alarm voice command and associated with The alarm voice command and the alarm time are turned off.
  3. 根据权利要求2所述的移动终端,其中,不同的所述闹铃时刻对应不同的所述关闭闹铃语音指令。The mobile terminal of claim 2, wherein the different alarm timings correspond to different closed alarm voice commands.
  4. 一种基于移动终端的关闭闹铃的方法,其中,所述方法包括:A method for turning off an alarm based on a mobile terminal, wherein the method includes:
    在到达设定的闹铃时刻时,所述移动终端播放闹铃;The mobile terminal plays an alarm when the set alarm time is reached;
    采集语音信号并解析所述语音信号以获取语音指令;Acquiring a voice signal and parsing the voice signal to obtain a voice command;
    判断所述语音指令是否为关闭闹铃语音指令;Determining whether the voice command is an off alarm voice command;
    若所述语音指令为关闭闹铃语音指令,所述移动终端关闭所述闹铃。If the voice command is to turn off the alarm voice command, the mobile terminal turns off the alarm.
  5. 根据权利要求4所述的方法,其中,所述在到达设定的闹铃时刻时,所述移动终端播放闹铃的步骤之前,所述方法进一步包括:The method of claim 4, wherein the method further comprises: before the step of the mobile terminal playing an alarm when the set alarm time is reached, the method further comprising:
    开启闹铃设置功能以在所述移动终端的显示屏上显示闹铃设置界面;Turning on an alarm setting function to display an alarm setting interface on a display screen of the mobile terminal;
    接收用户在所述闹铃设置界面输入的闹铃时刻;Receiving an alarm time input by the user on the alarm setting interface;
    录入用户在所述闹铃时刻关闭所述闹铃的关闭闹铃语音指令。The closed alarm voice command for the user to turn off the alarm at the alarm time is entered.
  6. 根据权利要求5所述的方法,其中,所述录入用户在所述闹铃时刻关闭所述闹令的关闭闹铃语音指令的步骤包括:The method of claim 5, wherein the step of the user entering the closed alarm voice command to turn off the alarm at the alarm time comprises:
    录入用户发出的语音信号;Enter the voice signal sent by the user;
    解析所述语音信号并以文字形式将解析后的所述语音信号保存为所述关闭闹铃语音指令;Parsing the voice signal and saving the parsed voice signal as a closed alarm voice command in text form;
    关联所述关闭闹铃语音指令和所述闹铃时刻。The closing alarm voice command and the alarm time are associated.
  7. 根据权利要求6所述的方法,其中,不同的所述闹铃时刻对应不同的所述关闭闹铃语音指令。The method of claim 6 wherein the different alarm times correspond to different said closed alarm voice commands.
  8. 根据权利要求4所述的方法,其中,所述方法进一步包括:The method of claim 4 wherein the method further comprises:
    若解析后的所述语音信号不是关闭闹铃语音指令,所述移动终端继续播放闹铃。If the parsed voice signal is not the off alarm voice command, the mobile terminal continues to play the alarm.
  9. 一种移动终端,其中,所述移动终端包括:处理器、与所述处理器耦合的存储器和语音采集器;A mobile terminal, wherein the mobile terminal comprises: a processor, a memory coupled to the processor, and a voice collector;
    所述存储器用于存储程序指令;The memory is configured to store program instructions;
    所述语音采集器用于采集用户发出的语音信号;The voice collector is configured to collect a voice signal sent by a user;
    所述处理器用于:执行所述程序指令以在到达设定的闹铃时刻时播放闹铃;通过语音采集器采集语音信号并解析语音信号以获取语音指令;判断语音指令是否为关闭闹铃语音指令;若语音指令为关闭闹铃语音指令,关闭闹铃。The processor is configured to: execute the program instruction to play an alarm when the set alarm time is reached; collect a voice signal through the voice collector and parse the voice signal to obtain a voice instruction; and determine whether the voice instruction is to turn off the alarm voice Command; if the voice command is to turn off the alarm voice command, turn off the alarm.
  10. 根据权利要求9所述的移动终端,其中,所述移动终端进一步包括与所述处理器耦合的显示屏,所述显示屏用于显示闹铃设置界面;The mobile terminal of claim 9, wherein the mobile terminal further comprises a display screen coupled to the processor, the display screen for displaying an alarm setting interface;
    所述处理器在执行到达设定的闹铃时刻时播放闹铃的操作之前,所述处理器还用于开启闹铃设置功能以在所述移动终端的所述显示屏上显示闹铃设置界面;接收用户在所述闹铃设置界面输入的闹铃时刻;录入用户在所述闹铃时刻关闭所述闹铃的关闭闹铃语音指令。The processor is further configured to enable an alarm setting function to display an alarm setting interface on the display screen of the mobile terminal before the processor performs an operation of playing an alarm when the set alarm time is reached. Receiving an alarm time input by the user at the alarm setting interface; inputting a closed alarm voice instruction for the user to turn off the alarm at the alarm time.
  11. 根据权利要求10所述的移动终端,其中,所述处理器执行录入用户在所述闹铃时刻关闭所述闹铃的关闭闹铃语音指令的操作具体为:所述处理器录入用户发出的语音信号;解析所述语音信号并以文字形式将解析后的所述语音信号保存为所述关闭闹铃语音指令;关联所述关闭闹铃语音指令和所述闹铃时刻。The mobile terminal of claim 10, wherein the processor performs an operation of recording a closed alarm voice command for the user to turn off the alarm at the alarm time, specifically: the processor inputs a voice sent by the user Signaling: parsing the voice signal and saving the parsed voice signal as a closed alarm voice command in text form; associating the closing alarm voice command with the alarm time.
  12. 根据权利要求11所述的移动终端,其中,不同的所述闹铃时刻对应不同的所述关闭闹铃语音指令。The mobile terminal of claim 11, wherein the different alarm timings correspond to different closed alarm voice commands.
  13. 根据权利要求9所述的移动终端,其中,若解析后的所述语音信号不是关闭闹铃语音指令,所述处理器还用于继续播放闹铃。The mobile terminal of claim 9, wherein the processor is further configured to continue playing the alarm if the parsed voice signal is not an off alarm voice command.
PCT/CN2017/083142 2016-09-14 2017-05-05 Alarm clock turning-off method based on mobile terminal, and mobile terminal WO2018049825A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610824652.6 2016-09-14
CN201610824652.6A CN106303075A (en) 2016-09-14 2016-09-14 A kind of method closing quarter-bell based on mobile terminal and mobile terminal

Publications (1)

Publication Number Publication Date
WO2018049825A1 true WO2018049825A1 (en) 2018-03-22

Family

ID=57711889

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/083142 WO2018049825A1 (en) 2016-09-14 2017-05-05 Alarm clock turning-off method based on mobile terminal, and mobile terminal

Country Status (2)

Country Link
CN (1) CN106303075A (en)
WO (1) WO2018049825A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106303075A (en) * 2016-09-14 2017-01-04 惠州Tcl移动通信有限公司 A kind of method closing quarter-bell based on mobile terminal and mobile terminal
WO2019061301A1 (en) * 2017-09-29 2019-04-04 深圳传音通讯有限公司 Control method and terminal
CN109545222A (en) * 2019-01-30 2019-03-29 上海与德通讯技术有限公司 A kind of control method of alarm clock, device, storage medium and mobile terminal

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102880044A (en) * 2012-09-26 2013-01-16 广东欧珀移动通信有限公司 Reminding method and device by alarm clock
WO2013021385A2 (en) * 2011-08-11 2013-02-14 Eyesight Mobile Technologies Ltd. Gesture based interface system and method
CN102984376A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for controlling mobile phone alarm clock and based on acceleration speed induction
CN104505095A (en) * 2014-12-22 2015-04-08 上海语知义信息技术有限公司 Voice control system and voice control method for alarm clock
CN104853031A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Method and terminal for controlling alarm clock
CN106303075A (en) * 2016-09-14 2017-01-04 惠州Tcl移动通信有限公司 A kind of method closing quarter-bell based on mobile terminal and mobile terminal

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100532314B1 (en) * 1998-08-12 2006-09-20 삼성전자주식회사 Improved alarm sounding method of mobile phone
CN102523342A (en) * 2011-12-09 2012-06-27 深圳Tcl新技术有限公司 Voice interactive electronic device alarming method and device
CN105629770A (en) * 2014-10-27 2016-06-01 鸿富锦精密工业(武汉)有限公司 Alarm control system and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2013021385A2 (en) * 2011-08-11 2013-02-14 Eyesight Mobile Technologies Ltd. Gesture based interface system and method
CN102880044A (en) * 2012-09-26 2013-01-16 广东欧珀移动通信有限公司 Reminding method and device by alarm clock
CN102984376A (en) * 2012-11-23 2013-03-20 广东欧珀移动通信有限公司 Method and device for controlling mobile phone alarm clock and based on acceleration speed induction
CN104505095A (en) * 2014-12-22 2015-04-08 上海语知义信息技术有限公司 Voice control system and voice control method for alarm clock
CN104853031A (en) * 2015-03-19 2015-08-19 惠州Tcl移动通信有限公司 Method and terminal for controlling alarm clock
CN106303075A (en) * 2016-09-14 2017-01-04 惠州Tcl移动通信有限公司 A kind of method closing quarter-bell based on mobile terminal and mobile terminal

Also Published As

Publication number Publication date
CN106303075A (en) 2017-01-04

Similar Documents

Publication Publication Date Title
CN106714023B (en) A kind of voice awakening method, system and bone conduction earphone based on bone conduction earphone
CN100478998C (en) Wake-up alarm signal generating apparatus and method
CN105234947A (en) Accompanying and emergency rescuing type robot for elderly people living alone
WO2018049825A1 (en) Alarm clock turning-off method based on mobile terminal, and mobile terminal
CN104102346A (en) Household information acquisition and user emotion recognition equipment and working method thereof
CN204654979U (en) A kind of Medical teaching bluetooth stethoscope
CN111083678B (en) Playing control method and system of Bluetooth sound box and intelligent device
CN108877805A (en) Speech processes mould group and terminal with phonetic function
CN110060678B (en) Virtual role control method based on intelligent device and intelligent device
CN110070863A (en) A kind of sound control method and device
CN205148332U (en) Accompanying and attending to and promptly helping humanoid robot towards solitary old man
WO2021212388A1 (en) Interactive communication implementation method and device, and storage medium
CN109101517A (en) Information processing method, information processing equipment and medium
CN207096984U (en) A kind of chemical illumination immunity analysis instrument inspection data inquiry unit
CN110956968A (en) Voice wake-up and voice wake-up function triggering method and device, and terminal equipment
CN110086941A (en) Speech playing method, device and terminal device
CN112672120B (en) Projector with voice analysis function and personal health data generation method
CN109982046A (en) A kind of cloud automatic camera monitoring system and method convenient for infant nursing
CN209070581U (en) A kind of substation&#39;s O&amp;M equipment
CN211466402U (en) Service robot
CN114979887A (en) Wisdom education earphone
CN108205877A (en) A kind of sound detection system for prompting
CN216962820U (en) First-aid kit with self-rescue prompt
CN102880392B (en) A kind of method, device and mobile terminal of browsing pictures
CN207234995U (en) A kind of examination hall voice broadcast monitor

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17850031

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17850031

Country of ref document: EP

Kind code of ref document: A1