WO2019061301A1 - Control method and terminal - Google Patents

Control method and terminal Download PDF

Info

Publication number
WO2019061301A1
WO2019061301A1 PCT/CN2017/104406 CN2017104406W WO2019061301A1 WO 2019061301 A1 WO2019061301 A1 WO 2019061301A1 CN 2017104406 W CN2017104406 W CN 2017104406W WO 2019061301 A1 WO2019061301 A1 WO 2019061301A1
Authority
WO
WIPO (PCT)
Prior art keywords
voice
command
terminal
voice command
alarm
Prior art date
Application number
PCT/CN2017/104406
Other languages
French (fr)
Chinese (zh)
Inventor
仇彬
Original Assignee
深圳传音通讯有限公司
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 深圳传音通讯有限公司 filed Critical 深圳传音通讯有限公司
Priority to PCT/CN2017/104406 priority Critical patent/WO2019061301A1/en
Publication of WO2019061301A1 publication Critical patent/WO2019061301A1/en

Links

Images

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/725Cordless telephones
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/02Terminal devices

Definitions

  • the present invention relates to the field of computer technologies, and in particular, to a control method and a terminal.
  • the embodiment of the invention provides a control method and a terminal, which are helpful for improving the convenience of operation of the terminal application.
  • an embodiment of the present invention provides a control method, including:
  • the interrupt event is processed according to the voice command.
  • the method further comprises:
  • the preset application is a schedule management application, and the interrupt event is a schedule reminder message;
  • the voice receiver In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
  • the preset application is an alarm clock application, and the interruption event is an alarm alarm message;
  • the voice receiver In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
  • the voice receiver In response to the alarm reminder message, the voice receiver is turned on, and the "off alarm” command or the “delay alarm” command is received through the voice receiver.
  • the voice receiver when the received voice command satisfies a preset voice command, the voice receiver is turned off.
  • an embodiment of the present invention provides a terminal, including:
  • a detecting module configured to detect an interrupt event generated by the preset application
  • An acquiring module configured to: in response to the interruption event, turn on a voice receiver, and receive a voice command by using the voice receiver;
  • processing module is configured to process the interrupt event according to the voice command when the received voice command satisfies a preset voice command.
  • the terminal further includes:
  • a determining module configured to determine the preset application that requires a voice command to perform a control operation
  • a setting module configured to set a correspondence between an interrupt event and a voice command in the preset application, where the voice command is used to process the interrupt event.
  • the preset application is a schedule management application, and the interrupt event is a schedule reminder message;
  • the acquisition module includes:
  • the first execution unit is configured to respond to the schedule reminder message, and open the voice receiver, and receive, by the voice receiver, a “schedule play” command, a “schedule cancel” command, or a “schedule delay preset duration” command.
  • the preset application is an alarm clock application, and the interrupt event is an alarm alarm message;
  • the acquisition module includes:
  • the second execution unit is configured to respond to the alarm reminder message, open the voice receiver, and receive a “turn off the alarm” command or a “delay alarm” command through the voice receiver.
  • an embodiment of the present invention provides a terminal, where the terminal includes a processor, a memory, and a transceiver, where the memory stores an instruction, when the instruction is executed by the processor, causing the network device to execute or pass the The transceiver performs the method described above.
  • an embodiment of the present invention provides a computer storage medium for storing the foregoing Computer software instructions for use in the terminal, including programs designed to perform the above aspects.
  • an embodiment of the present invention further provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the above aspects.
  • an embodiment of the present invention provides a chip system, where the chip system includes a processor, and the terminal is used to implement the functions involved in the foregoing aspects, for example, generating or processing data involved in the foregoing method and/or information.
  • the chip system further comprises a memory for storing necessary program instructions and data of the terminal.
  • the chip system can be composed of chips, and can also include chips and other discrete devices.
  • the terminal can start the voice receiver to receive the voice command when the interrupt event generated by the preset application is detected, and when the received voice command satisfies the preset voice command, the terminal can perform the voice command according to the voice command.
  • the interrupt event is processed to avoid the need for the user to find the mobile phone to process the interrupt event, which helps to improve the convenience of the terminal application operation.
  • FIG. 1 is a schematic flowchart of a control method according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of another control method according to an embodiment of the present invention.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • FIG. 4 is a schematic diagram 1 of a device according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • Terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers or tablet computers having touch sensitive surfaces (eg, touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computing with a touch sensitive surface (eg, a touch screen display and/or a touch pad). machine.
  • other portable devices such as mobile phones, laptop computers or tablet computers having touch sensitive surfaces (eg, touch screen displays and/or touch pads).
  • touch sensitive surfaces eg, touch screen displays and/or touch pads
  • the device is not a portable communication device, but a desktop computing with a touch sensitive surface (eg, a touch screen display and/or a touch pad). machine.
  • the terminal supports a variety of applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, phone applications Programs, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital camera applications, web browsing applications, digital music player applications, and / or digital video player app.
  • applications such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, phone applications Programs, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital camera applications, web browsing applications, digital music player applications, and / or digital video player app.
  • Various applications that can be executed on the terminal can use at least one common physical user interface device such as a touch sensitive surface.
  • One or more functions of the touch sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed within the application and/or within the respective application.
  • the common physical architecture of the terminal eg, a touch-sensitive surface
  • FIG. 1 is a schematic flowchart of a control method according to an embodiment of the present invention. As shown in FIG. 1 , the control method may include the following steps:
  • the terminal detects an interrupt event generated by the preset application.
  • the terminal may determine a preset application set by the user and an interrupt event generated by the preset application, where the preset application is an application capable of acquiring a voice or voice bright operation.
  • the terminal can simultaneously detect one or more interrupt events generated by one or more applications set by the user.
  • the terminal determines that the interruption event generated by the alarm application is an alarm alarm message.
  • the above preset application is an alarm clock application and an interrupt event generated by the preset application is an alarm reminder message is only an example, and is not exhaustive.
  • the user preset application may be a schedule management application and an alarm clock application
  • the terminal determines that the interruption event generated by the schedule management application may be a schedule reminder message, and the interrupt event generated by the alarm is an alarm reminder message.
  • the terminal determines the schedule reminder message and the alarm reminder message as the first interrupt event and the second interrupt event, respectively.
  • the "first interrupt event” and the "second interrupt event” are only used to distinguish two different interrupt events, and are not described in a specific order, that is, the first interrupt event may also be used to describe the alarm reminder message.
  • the second interrupt event describes the schedule reminder message.
  • the terminal in response to the interruption event, turns on a voice receiver, and receives a voice command through the voice receiver.
  • the terminal determines whether the voice command is a complete voice command by receiving whether the time difference between two adjacent words is greater than a preset time difference. If it is greater than, the terminal determines that the language is not a complete voice command; if less than or equal to, the terminal determines that the voice command is a complete voice command.
  • the terminal If the voice command received by the terminal is not a complete voice command or a voice command that is not recognized by the terminal, the terminal sends a prompt message to the user to reissue the voice command.
  • the voice receiver When the voice receiver is turned on and the voice command is received by the voice receiver, when the terminal responds to the interrupt event, the voice command sent by the user can be received by the voice receiver, so that the terminal handles the interrupt event according to the manual operation.
  • the interrupt event can also be processed based on a voice command issued by the user.
  • the terminal may process the interrupt event according to the voice command.
  • the terminal when the received voice command includes a keyword in the preset voice command, the terminal considers that the received voice command satisfies the preset voice command.
  • the keywords include: “off”, “delay”, “cancel”, and “play”. It should be noted that the keywords of the above preset voice commands are only examples, and are not exhaustive.
  • the terminal will continuously respond to the interrupt event and issue a prompt message for re-issuing the voice command to the user.
  • the terminal when the voice command received by the terminal satisfies the preset voice command, the terminal will close the voice receiver and stop voice reception.
  • the terminal when the terminal receives the voice command including the “off” or “cancel” keyword, the terminal performs a shutdown interrupt event and simultaneously closes the voice receiver.
  • the terminal when the terminal detects the alarm alarm message, the terminal opens the voice receiver and receives the voice command. When receiving the voice command of the “turn off the alarm” issued by the user, the terminal stops the alarm of the alarm message and closes the voice receiver. And no longer generate an alarm reminder message.
  • the terminal may perform the following steps:
  • the terminal stops the response of the original interrupt event and closes the voice receiver
  • the terminal re-responds to the original interrupt event when the predetermined delay time is reached;
  • the terminal re-opens the voice receiver and receives new voice commands generated by the user.
  • the terminal when the terminal detects the alarm alarm message, the terminal opens the voice receiver and receives the voice command.
  • the terminal stops the alarm message and closes the voice.
  • the receiver then generates an alarm reminder message again after 5 minutes and turns on the voice receiver to receive a new voice command from the user.
  • the terminal first detects an interrupt event generated by the preset application, and before performing the operation, the terminal needs to determine a preset application set by the user and an interrupt event generated by the preset application, where the terminal can simultaneously detect One or more interrupt events generated by one or more applications set by the user, the terminal expands the detection range of the occurrence of the interrupt event.
  • the terminal starts the voice receiver and receives the voice command through the voice receiver.
  • the terminal When the terminal receives the voice command, the terminal first determines whether the received voice signal is a complete voice signal or is The voice signal recognizable by the terminal, the terminal increases the operation of the interrupt event based on the voice command by the method, and the terminal processes the interrupt event according to the received voice command when receiving the voice command, thereby increasing the user's interruption event.
  • the operability of voice commands overcomes the limitations of the user's original manual operation for interrupt events.
  • FIG. 2 is a schematic flowchart of another control method according to an embodiment of the present invention. As shown in FIG. 2, the control method may include:
  • S201 The terminal determines a preset application that needs a voice command to perform a control operation, and sets a correspondence between an interrupt event and a voice command in the preset application, where the voice command is used to process the interrupt event.
  • the terminal determines, according to the setting of the user, the at least one application as a preset application that requires a voice command to perform a control operation, and the terminal may also change the preset application according to the setting of the user, and the change includes: adding At least one preset application or at least one preset application is reduced.
  • the correspondence includes: a one-to-one correspondence between the interrupt event and the voice command in the preset application, that is, one voice command can only perform one interrupt event.
  • the preset application is a schedule management application
  • the interrupt event is a schedule reminder message
  • the duration command issued includes keywords: “seconds”, “minutes”, “hours”, “days”, “weeks”, “months”, “seasons” and “years”, and according to the duration command, Extend the time of the schedule message reminder and turn off the voice receiver.
  • the preset application is an alarm clock application
  • the interruption event is an alarm alarm message. If the voice command received by the terminal through the voice receiver is an “off alarm” command, the terminal will turn off the alarm reminder message and close the voice reception at the same time. The device stops receiving voice. Similarly, if the voice command received by the terminal through the voice receiver is a "delay alarm” command, the terminal will continue to receive the duration command issued by the user through the voice receiver, and extend the alarm message according to the duration command. Remind and close the voice receiver to stop receiving voice messages.
  • the terminal when the terminal determines that two or more terminal applications are preset applications that require voice commands to perform control operations according to user settings, the terminal generates two or more preset applications.
  • the interrupt events are respectively determined as: a first interrupt event, a second interrupt event, whereas Nth interrupt event.
  • the terminal executes the first interrupt event or the second interrupt event according to the first voice command sent by the user, and then according to the second voice sent by the user.
  • the command executes a second interrupt event or a first interrupt event.
  • the terminal simultaneously determines the schedule management application and the alarm application as a preset application that requires a voice command to perform a control operation according to the user's settings.
  • the terminal determines the schedule reminder message generated by the schedule management application generated by the schedule management application as the first interruption event, and determines the alarm alarm message generated by the alarm application as the second interruption event.
  • the terminal when the first interrupt event and the second interrupt event are simultaneously responded, if the terminal receives the first voice command issued by the user as the “turn off the alarm” command, the terminal first performs the second interrupt event, and then receives the user’s The second voice command performs a first interrupt event.
  • the terminal determines the preset application that needs to perform the voice command control operation and the correspondence between the interrupt event and the voice command in the preset application, so that the terminal can receive the voice command. After that, the situation of misjudgment of the voice command is reduced.
  • the terminal detects an interrupt event generated by the preset application.
  • the interrupt event may be a schedule reminder message in the schedule management application, an alarm alarm message in the alarm application, or a short message reminder message in the short message application.
  • the terminal determines that the preset application that needs the voice command to perform the control operation is the alarm clock application
  • the interrupt event generated by the preset application is an alarm alarm message
  • the correspondence between the interrupt event and the voice command is set as:
  • the alarm alarm message close command is executed and the voice receiver is turned off;
  • the corresponding alarm clock reminder message delays the response command.
  • the terminal responds to the interruption event, starts a voice receiver, and receives a voice command by using the voice receiver.
  • the voice receiver can be a microphone or any component with voice receiving and transmission capabilities.
  • voice receiving and transmitting functions of the voice receiver can be wirelessly transmitted through infrared or Bluetooth, or can be realized by wired transmission.
  • the voice receiver may be a voice receiver built in the terminal, or may be implemented by externally connecting a voice receiver to the terminal.
  • the terminal does not have a built-in voice receiver, and an external microphone is used to implement an external voice receiver.
  • the terminal determines a preset application that requires voice to perform a command control operation, setting an interrupt event between the preset application and the voice command.
  • the terminal determines a preset application that requires voice to perform a command control operation, setting an interrupt event between the preset application and the voice command.
  • the terminal determines a preset application that requires voice to perform a command control operation, setting an interrupt event between the preset application and the voice command.
  • Corresponding relationship when detecting an interrupt event generated by the preset application, turning on the external microphone, receiving the voice command through the external microphone, and processing the interrupt event according to the corresponding relationship.
  • the preset application is a schedule management application
  • the interrupt event of the preset application is a schedule reminder message.
  • the terminal detects the response of the schedule reminder message, the external microphone is turned on to start receiving the voice command, and if the received voice command is “ The schedule play command, the terminal plays the schedule message and closes the external microphone. If the received voice command is the “schedule cancel” command, the terminal cancels the schedule message and closes the external microphone. Similarly, if the received voice command is “schedule” Delay the preset duration command, the terminal will continue to receive the duration command issued by the user through the external microphone, and close the external time after the execution time is set. Pick up the microphone.
  • the type of the terminal voice receiver is extended, which may be a voice receiver built in the terminal or a voice receiver external to the terminal, but the terminal is controlled by the terminal, the voice receiver and the voice receiver
  • the control connection mode of the terminal may be wired or wireless.
  • step S204 in the embodiment of the present invention reference may be made to step S103 in the foregoing embodiment, which is not described in this embodiment.
  • the terminal determines a preset application that the user needs to perform a voice command control operation, and determines a one-to-one correspondence between the interrupt event and the voice command in the preset application, when the terminal When it is determined that two or more applications are preset applications, the terminal records the interrupt events generated by the two or more applications indefinitely as: a first interrupt event, a second interrupt event....
  • the Nth interrupt event when the terminal processes the interrupt event, processes the interrupt event only in accordance with the order of the received voice commands, and the one-to-one correspondence between the interrupt event and the voice command can Reduce the situation in which the terminal misjudges the voice command.
  • the terminal expands the application type of the voice command operation by indiscriminately recording two or more interrupt events as: the first interrupt event, the second interrupt event, the Nth interrupt event, Improve the user experience.
  • FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention.
  • the terminal includes a detecting module 301, an obtaining module 302, and a processing module 303, where:
  • the detecting module 301 is configured to detect an interrupt event generated by the preset application
  • the obtaining module 302 is configured to: in response to the interruption event, turn on a voice receiver, and receive a voice command by using the voice receiver;
  • the processing module 303 when the received voice command meets the preset voice command, processes the interrupt event according to the voice command.
  • the terminal further includes a determining module 304, and a setting module 305, where:
  • a determining module 304 configured to determine the preset application that requires a voice command to perform a control operation
  • a setting module 305 configured to set a correspondence between an interrupt event and a voice command in the preset application Relationship, the voice command is used to process the interrupt event.
  • the preset application is a schedule management application, and the interrupt event is a schedule reminder message;
  • the acquisition module includes:
  • the first executing unit 306 is configured to, in response to the schedule reminder message, turn on the voice receiver, and receive, by the voice receiver, a “schedule play” command, a “schedule cancel” command, or a “schedule delay preset duration” command.
  • the preset application is an alarm clock application, and the interrupt event is an alarm alarm message;
  • the acquisition module includes:
  • the second executing unit 307 is configured to, in response to the alarm reminder message, turn on the voice receiver, and receive a “turn off the alarm” command or a “delay alarm” command through the voice receiver.
  • the terminal determines, by using the determining module, a preset application that needs a voice command to perform a control operation, and sets a correspondence between the interrupt event and the voice command in the preset application by using a setting module, where the corresponding relationship is used for The interrupt event is processed.
  • the terminal detects the preset application to generate an interrupt event
  • the acquiring module starts the voice receiver and receives the voice command through the voice receiver.
  • the voice command satisfies the preset voice command
  • the The terminal processes the interrupt event, and the terminal increases the operability of the user's voice command for the interrupt event, and overcomes the limitation that the user can only manually operate the interrupt event.
  • FIG. 4 is a schematic diagram 1 of a device according to an embodiment of the present invention.
  • the device may be a terminal, or may be a chip or a circuit, such as a chip or a circuit that can be disposed in the terminal.
  • the terminal can correspond to the terminal in the above method.
  • the device can include a processor 401 and a memory 402.
  • the memory 402 is used to store instructions for executing the instructions stored by the memory 402 to implement the steps and embodiments of the method corresponding to Figures 1 through 2 above.
  • the device may further include an input port 404 and an output port 405. Further, the device may further include a bus system 403, wherein the processor 401, the memory 402, the input port 404, and the output port 405 may be connected by a bus system 403.
  • the processor 401 is configured to execute the instruction stored in the memory 402 to control the input port 404 to receive the signal, and control the output port 405 to send a signal to complete the steps of the terminal in the above method.
  • the input port 404 and the output port 405 may be the same or different physical entities. When it is the same physical entity, Collectively referred to as transceivers.
  • the memory 402 may be integrated in the processor 401 or may be provided separately from the processor 401.
  • the functions of the input port 404 and the output port 405 can be implemented by a dedicated chip through a transceiver circuit or a transceiver.
  • the processor 401 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
  • a terminal provided by the embodiment of the present application may be implemented by using a general-purpose computer.
  • the program code that implements the functions of the processor 401, the input port 404 and the output port 405 is stored in a memory, and the general purpose processor implements the functions of the processor 401, the input port 404, and the output port 405 by executing code in the memory.
  • FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
  • the terminal includes a processor, a memory, a control circuit, an antenna, and an input and output device.
  • the processor is mainly used for processing the communication protocol and the communication data, and controlling the entire terminal, executing the software program, and processing the data of the software program, for example, as described in the embodiment of the indication method for supporting the terminal to execute the foregoing transmission precoding matrix. Actions.
  • the memory is mainly used for storing the software program and the data, for example, storing the voice command received by the terminal through the voice receiver in the foregoing embodiment, or storing the correspondence between the interrupt event and the voice command in the preset application in the foregoing embodiment.
  • the control circuit is mainly used for converting baseband signals and radio frequency signals and processing radio frequency signals.
  • the control circuit together with the antenna can also be called a transceiver, and is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves.
  • Input and output devices such as touch screens, display screens, keyboards, etc., are primarily used to receive user input data and output data to the user.
  • the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program.
  • the processor performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit.
  • the radio frequency circuit performs radio frequency processing on the baseband signal, and then sends the radio frequency signal to the outside through the antenna in the form of electromagnetic waves.
  • the radio frequency circuit receives the radio frequency signal through the antenna, and converts the radio frequency signal into a baseband signal.
  • the baseband signal is output to a processor, which converts the baseband signal into data and processes the data.
  • FIG. 5 shows only one memory and processor for ease of illustration. In an actual user device, there may be multiple processors and memories.
  • the memory may also be referred to as a storage medium or a storage device, and the like.
  • the processor may include a baseband processor and a central processing unit, and the baseband processor is mainly used to process communication protocols and communication data, and the central processing unit is mainly used to control the entire terminal and execute the software.
  • the processor in FIG. 5 integrates the functions of the baseband processor and the central processing unit.
  • the baseband processor and the central processing unit can also be independent processors and interconnected by technologies such as a bus.
  • the user equipment may include a plurality of baseband processors to accommodate different network standards, and the user equipment may include a plurality of central processors to enhance its processing capabilities, and various components of the user equipment may be connected through various buses.
  • the baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip.
  • the central processing unit can also be expressed as a central processing circuit or a central processing chip.
  • the functions of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to implement the baseband processing function.
  • the antenna and control circuit having the transceiving function can be regarded as the transceiving unit 501 of the user equipment, and the processor having the processing function is regarded as the processing unit 502 of the user equipment.
  • the user equipment includes a transceiver unit 501 and a processing unit 502.
  • the transceiver unit can also be referred to as a transceiver, a transceiver, a transceiver, and the like.
  • the device for implementing the receiving function in the transceiver unit 501 can be regarded as a receiving unit, and the device for implementing the sending function in the transceiver unit 501 is regarded as a sending unit, that is, the transceiver unit 501 includes a receiving unit and a sending unit.
  • the receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc.
  • the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit.
  • each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor.
  • the software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like.
  • the storage medium bit In the memory the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
  • the size of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention.
  • the implementation process constitutes any limitation.
  • the disclosed systems, devices, and methods may be implemented in other manners.
  • the device embodiments described above are merely illustrative.
  • the division of the unit is only a logical function division.
  • there may be another division manner for example, multiple units or components may be combined or 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 unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or It can also be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the 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 embodiments it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • software it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions.
  • the computer program instructions When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device.
  • the computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.).
  • the computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media.
  • the usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephone Function (AREA)

Abstract

Provided in the present application are a control method and a terminal. The method comprises: a terminal detects an interrupt event generated by a preset application; when the interrupt event is responded, the terminal turns on a voice receiver, and receives a voice command through the voice receiver; and when the received voice command satisfies a preset voice command, the terminal processes the interrupt event according to the voice command. The terminal needs to first determine a preset application that needs to be controlled with the voice command, and set a correspondence between the interrupt event and the voice command in a preset application. Compared with terminal applications which only support manual operations, the voice command is added to control the terminal application operation, which helps to improve the convenience of operation of the terminal application.

Description

一种控制方法及终端Control method and terminal 技术领域Technical field
本发明涉及计算机技术领域,尤其涉及一种控制方法及终端。The present invention relates to the field of computer technologies, and in particular, to a control method and a terminal.
背景技术Background technique
目前,移动终端的普及和各种终端应用的发展给人们的生活带来了极大的便利,但终端应用的主要操作方式还是通过手动操作,例如,当手机接收到闹钟响起信号时,需要用户通过手动来控制闹钟,尤其是闹钟响起时,用户可能需要到处找到手机后才能控制闹钟是否停止或延迟提醒,因此,单一的手动操作终端应用具有较大的局限性。At present, the popularity of mobile terminals and the development of various terminal applications have brought great convenience to people's lives, but the main operation mode of terminal applications is still through manual operation. For example, when the mobile phone receives an alarm signal, the user is required. By manually controlling the alarm, especially when the alarm goes off, the user may need to find the phone everywhere to control whether the alarm stops or delays the reminder. Therefore, a single manual operation terminal application has greater limitations.
发明内容Summary of the invention
本发明实施例提供一种控制方法及终端,有助于改善终端应用操作的便利性。The embodiment of the invention provides a control method and a terminal, which are helpful for improving the convenience of operation of the terminal application.
第一方面,本发明实施例提供了一种控制方法,包括:In a first aspect, an embodiment of the present invention provides a control method, including:
检测预设应用产生的中断事件;Detecting an interrupt event generated by a preset application;
响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令;Responding to the interruption event, turning on a voice receiver, and receiving a voice command through the voice receiver;
当接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。When the received voice command satisfies the preset voice command, the interrupt event is processed according to the voice command.
其中,该方法还包括:Wherein, the method further comprises:
确定需要语音命令进行控制操作的所述预设应用;Determining the preset application that requires a voice command to perform a control operation;
设置所述预设应用中中断事件与语音命令之间的对应关系,所述语音命令用于对所述中断事件进行处理。And setting a correspondence between the interrupt event and the voice command in the preset application, where the voice command is used to process the interrupt event.
其中,所述预设应用为日程管理应用,所述中断事件为日程提醒消息;The preset application is a schedule management application, and the interrupt event is a schedule reminder message;
所述响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令,包括:In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
响应日程提醒消息,开启语音接收器,通过所述语音接收器接收“日程播 放”命令、“日程取消”命令或者“日程延迟预设时长”命令。Responding to the schedule reminder message, turning on the voice receiver, receiving the "schedule broadcast" through the voice receiver Put a command, a "schedule cancel" command, or a "schedule delay preset duration" command.
其中,所述预设应用为闹钟应用,所述中断事件为闹钟提醒消息;The preset application is an alarm clock application, and the interruption event is an alarm alarm message;
所述响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令,包括:In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
响应闹钟提醒消息,开启语音接收器,通过所述语音接收器接收“关闭闹钟”命令或者“延迟闹钟”命令。In response to the alarm reminder message, the voice receiver is turned on, and the "off alarm" command or the "delay alarm" command is received through the voice receiver.
其中,当接收的所述语音命令满足预设语音命令时,关闭所述语音接收器。Wherein, when the received voice command satisfies a preset voice command, the voice receiver is turned off.
第二方面,本发明实施例提供了一种终端,包括:In a second aspect, an embodiment of the present invention provides a terminal, including:
检测模块,用于检测预设应用产生的中断事件;a detecting module, configured to detect an interrupt event generated by the preset application;
获取模块,用于响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令;An acquiring module, configured to: in response to the interruption event, turn on a voice receiver, and receive a voice command by using the voice receiver;
处理模块,用于接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。And the processing module is configured to process the interrupt event according to the voice command when the received voice command satisfies a preset voice command.
其中,该终端还包括:The terminal further includes:
确定模块,用于确定需要语音命令进行控制操作的所述预设应用;a determining module, configured to determine the preset application that requires a voice command to perform a control operation;
设置模块,用于设置所述预设应用中中断事件与语音命令之间的对应关系,所述语音命令用于对所述中断事件进行处理。And a setting module, configured to set a correspondence between an interrupt event and a voice command in the preset application, where the voice command is used to process the interrupt event.
其中,该预设应用为日程管理应用,该中断事件为日程提醒消息;The preset application is a schedule management application, and the interrupt event is a schedule reminder message;
该获取模块包括:The acquisition module includes:
第一执行单元,用于响应日程提醒消息,开启语音接收器,通过该语音接收器接收“日程播放”命令、“日程取消”命令或者“日程延迟预设时长”命令。The first execution unit is configured to respond to the schedule reminder message, and open the voice receiver, and receive, by the voice receiver, a “schedule play” command, a “schedule cancel” command, or a “schedule delay preset duration” command.
或者,该预设应用为闹钟应用,该中断事件为闹钟提醒消息;Or the preset application is an alarm clock application, and the interrupt event is an alarm alarm message;
该获取模块包括:The acquisition module includes:
第二执行单元,用于响应闹钟提醒消息,开启语音接收器,通过该语音接收器接收“关闭闹钟”命令或者“延迟闹钟”命令。The second execution unit is configured to respond to the alarm reminder message, open the voice receiver, and receive a “turn off the alarm” command or a “delay alarm” command through the voice receiver.
第三方面,本发明实施例提供了一种终端,该终端包括处理器、存储器以及收发器,该存储器中存储指令,当该指令被所述处理器运行时,使得该网络设备执行或通过该收发器执行上面所述的方法。In a third aspect, an embodiment of the present invention provides a terminal, where the terminal includes a processor, a memory, and a transceiver, where the memory stores an instruction, when the instruction is executed by the processor, causing the network device to execute or pass the The transceiver performs the method described above.
第四方面,本发明实施例提供了一种计算机存储介质,用于储存为上述终 端所用的计算机软件指令,其包括用于执行上述方面所设计的程序。In a fourth aspect, an embodiment of the present invention provides a computer storage medium for storing the foregoing Computer software instructions for use in the terminal, including programs designed to perform the above aspects.
第五方面,本发明实施例还提供了一种包括指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述方面所述的方法。In a fifth aspect, an embodiment of the present invention further provides a computer program product comprising instructions which, when run on a computer, cause the computer to perform the method described in the above aspects.
第六方面,本发明实施例提供了一种芯片系统,该芯片系统包括处理器,用于终端实现上述方面中所涉及的功能,例如,例如生成或处理上述方法中所涉及的数据和/或信息。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a sixth aspect, an embodiment of the present invention provides a chip system, where the chip system includes a processor, and the terminal is used to implement the functions involved in the foregoing aspects, for example, generating or processing data involved in the foregoing method and/or information. In a possible design, the chip system further comprises a memory for storing necessary program instructions and data of the terminal. The chip system can be composed of chips, and can also include chips and other discrete devices.
可见,该发明实施例中,终端可以在检测到预设应用产生的中断事件时,开启语音接收器接收语音命令,当接收到的语音命令满足预设语音命令时,终端可以根据该语音命令对中断事件进行处理,避免了用户还需要找到手机才能对中断事件进行处理,有助于改善终端应用操作的便利性。It can be seen that, in the embodiment of the present invention, the terminal can start the voice receiver to receive the voice command when the interrupt event generated by the preset application is detected, and when the received voice command satisfies the preset voice command, the terminal can perform the voice command according to the voice command. The interrupt event is processed to avoid the need for the user to find the mobile phone to process the interrupt event, which helps to improve the convenience of the terminal application operation.
附图说明DRAWINGS
图1为本发明实施例提供的一种控制方法的流程示意图;1 is a schematic flowchart of a control method according to an embodiment of the present invention;
图2为本发明实施例提供的另一种控制方法的流程示意图;2 is a schematic flowchart of another control method according to an embodiment of the present invention;
图3是本发明实施例提供的一种终端的结构示意图;3 is a schematic structural diagram of a terminal according to an embodiment of the present invention;
图4是本发明实施例提供的设备的示意图一;4 is a schematic diagram 1 of a device according to an embodiment of the present invention;
图5是本发明实施例提供的另一种终端的结构示意图。FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention.
具体实施方式Detailed ways
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The technical solutions in the embodiments of the present invention are clearly and completely described in the following with reference to the accompanying drawings in the embodiments of the present invention. It is obvious that the described embodiments are a part of the embodiments of the present invention, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments of the present invention without creative efforts are within the scope of the present invention.
本发明实施例中描述的终端包括但不限于诸如具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的移动电话、膝上型计算机或平板计算机之类的其它便携式设备。还应当理解的是,在某些实施例中,所述设备并非便携式通信设备,而是具有触摸敏感表面(例如,触摸屏显示器和/或触摸板)的台式计算 机。Terminals described in embodiments of the invention include, but are not limited to, other portable devices such as mobile phones, laptop computers or tablet computers having touch sensitive surfaces (eg, touch screen displays and/or touch pads). It should also be understood that in some embodiments, the device is not a portable communication device, but a desktop computing with a touch sensitive surface (eg, a touch screen display and/or a touch pad). machine.
终端支持各种应用程序,例如以下中的一个或多个:绘图应用程序、演示应用程序、文字处理应用程序、网站创建应用程序、盘刻录应用程序、电子表格应用程序、游戏应用程序、电话应用程序、视频会议应用程序、电子邮件应用程序、即时消息收发应用程序、锻炼支持应用程序、照片管理应用程序、数码相机应用程序、数字摄影机应用程序、web浏览应用程序、数字音乐播放器应用程序和/或数字视频播放器应用程序。The terminal supports a variety of applications, such as one or more of the following: drawing applications, presentation applications, word processing applications, website creation applications, disk burning applications, spreadsheet applications, gaming applications, phone applications Programs, video conferencing applications, email applications, instant messaging applications, workout support applications, photo management applications, digital camera applications, digital camera applications, web browsing applications, digital music player applications, and / or digital video player app.
可以在终端上执行的各种应用程序可以使用诸如触摸敏感表面的至少一个公共物理用户接口设备。可以在应用程序之间和/或相应应用程序内调整和/或改变触摸敏感表面的一个或多个功能以及终端上显示的相应信息。这样,终端的公共物理架构(例如,触摸敏感表面)可以支持具有对用户而言直观且透明的用户界面的各种应用程序。Various applications that can be executed on the terminal can use at least one common physical user interface device such as a touch sensitive surface. One or more functions of the touch sensitive surface and corresponding information displayed on the terminal can be adjusted and/or changed within the application and/or within the respective application. In this way, the common physical architecture of the terminal (eg, a touch-sensitive surface) can support a variety of applications with a user interface that is intuitive and transparent to the user.
请参见图1,图1是本发明实施例提供的一种控制方法的流程示意图,如图1所示,该控制方法可包括以下步骤:Referring to FIG. 1 , FIG. 1 is a schematic flowchart of a control method according to an embodiment of the present invention. As shown in FIG. 1 , the control method may include the following steps:
S101,终端检测预设应用产生的中断事件。S101. The terminal detects an interrupt event generated by the preset application.
可选地,终端在执行步骤S101之前,可以确定用户设置的预设应用以及预设应用产生的中断事件,其中,该预设应用为能够采集语音或语音明亮操作的应用。Optionally, before performing step S101, the terminal may determine a preset application set by the user and an interrupt event generated by the preset application, where the preset application is an application capable of acquiring a voice or voice bright operation.
其中,终端可以同时检测用户设定的一个或者多个应用产生的一个或多个中断事件。The terminal can simultaneously detect one or more interrupt events generated by one or more applications set by the user.
例如,用户预设的应用是闹钟应用,那么该终端确定该闹钟应用产生的中断事件是闹钟提醒消息。其中,以上预设应用是闹钟应用以及该预设应用产生的中断事件是闹钟提醒消息只是举例,并非穷举。For example, if the application preset by the user is an alarm clock application, the terminal determines that the interruption event generated by the alarm application is an alarm alarm message. The above preset application is an alarm clock application and an interrupt event generated by the preset application is an alarm reminder message is only an example, and is not exhaustive.
又例如,用户预设的应用可以是日程管理应用和闹钟应用,那么该终端确定该日程管理应用产生的中断事件可以是日程提醒消息,该闹钟产生的中断事件是闹钟提醒消息。该终端将日程提醒消息和闹钟提醒消息分别确定为第一中断事件和第二中断事件。其中,这里的“第一中断事件”和“第二中断事件”只是用来区别两个不同的中断事件,并不是描述特定的顺序,即也可以用第一中断事件来描述该闹钟提醒消息,第二中断事件来描述该日程提醒消息。 For another example, the user preset application may be a schedule management application and an alarm clock application, and then the terminal determines that the interruption event generated by the schedule management application may be a schedule reminder message, and the interrupt event generated by the alarm is an alarm reminder message. The terminal determines the schedule reminder message and the alarm reminder message as the first interrupt event and the second interrupt event, respectively. Here, the "first interrupt event" and the "second interrupt event" are only used to distinguish two different interrupt events, and are not described in a specific order, that is, the first interrupt event may also be used to describe the alarm reminder message. The second interrupt event describes the schedule reminder message.
S102,终端响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令。S102. The terminal, in response to the interruption event, turns on a voice receiver, and receives a voice command through the voice receiver.
其中,当该终端通过该语音接收器接收到语音命令时,该终端通过接收到两个相邻字的时间差是否大于预设时间差,判断该语音命令是否是完整的语音命令。若大于,该终端判断该语不是完整的语音命令;若小于或等于,该终端判断该语音命令是完整的语音命令。When the terminal receives the voice command through the voice receiver, the terminal determines whether the voice command is a complete voice command by receiving whether the time difference between two adjacent words is greater than a preset time difference. If it is greater than, the terminal determines that the language is not a complete voice command; if less than or equal to, the terminal determines that the voice command is a complete voice command.
其中,若该终端接收到的语音命令不是完整的语音命令或者为终端不能识别的语音命令,则该终端将对用户发出重新发出语音命令的提示信息。If the voice command received by the terminal is not a complete voice command or a voice command that is not recognized by the terminal, the terminal sends a prompt message to the user to reissue the voice command.
通过开启语音接收器,并通过该语音接收器接收语音命令,当终端响应该中断事件时,可以通过语音接收器接收用户发出的语音命令,使得终端对中断事件的处理根据不仅限于用户手动操作,也可基于用户发出的语音命令对该中断事件进行处理。When the voice receiver is turned on and the voice command is received by the voice receiver, when the terminal responds to the interrupt event, the voice command sent by the user can be received by the voice receiver, so that the terminal handles the interrupt event according to the manual operation. The interrupt event can also be processed based on a voice command issued by the user.
S103,当接收的所述语音命令满足预设语音命令时,终端可以根据所述语音命令对所述中断事件进行处理。S103. When the received voice command meets the preset voice command, the terminal may process the interrupt event according to the voice command.
需要说明的是,当接收的语音命令中包含该预设语音命令中的关键字时,终端认为接收的该语音命令满足预设语音命令。具体的,该关键字包括:“关闭”,“延迟”,“取消”,和“播放”,需要说明的是,以上预设语音命令的关键字只是举例,并非穷举。It should be noted that when the received voice command includes a keyword in the preset voice command, the terminal considers that the received voice command satisfies the preset voice command. Specifically, the keywords include: “off”, “delay”, “cancel”, and “play”. It should be noted that the keywords of the above preset voice commands are only examples, and are not exhaustive.
还需要说明的是,当接收的语音命令中不包含该预设语音命令的关键字,终端将持续响应中断事件并对用户发出重新发出语音命令的提示信息。It should also be noted that when the received voice command does not include the keyword of the preset voice command, the terminal will continuously respond to the interrupt event and issue a prompt message for re-issuing the voice command to the user.
还需要说明的是,当终端接收的该语音命令满足预设语音命令时,终端将关闭该语音接收器,停止语音接收。It should also be noted that when the voice command received by the terminal satisfies the preset voice command, the terminal will close the voice receiver and stop voice reception.
具体的,该终端接收到包含“关闭”或“取消”关键字语音命令时执行关闭中断事件并同时关闭语音接收器。Specifically, when the terminal receives the voice command including the “off” or “cancel” keyword, the terminal performs a shutdown interrupt event and simultaneously closes the voice receiver.
又例如,当终端检测到闹钟提醒消息时,该终端打开语音接收器并接收语音命令,当接收到用户发出的“关闭闹钟”的语音命令时,该终端停止闹钟消息的提醒,关闭语音接收器,并不再产生闹钟提醒消息。For another example, when the terminal detects the alarm alarm message, the terminal opens the voice receiver and receives the voice command. When receiving the voice command of the “turn off the alarm” issued by the user, the terminal stops the alarm of the alarm message and closes the voice receiver. And no longer generate an alarm reminder message.
具体的,该终端接收到包含“延迟”关键字的语音命令时,该终端可以执行以下步骤: Specifically, when the terminal receives the voice command including the “delayed” keyword, the terminal may perform the following steps:
终端停止原中断事件的响应并关闭语音接收器;The terminal stops the response of the original interrupt event and closes the voice receiver;
该终端在达到预定的延迟时间时,重新响应原中断事件;The terminal re-responds to the original interrupt event when the predetermined delay time is reached;
该终端重新开启语音接收器,接收用户产生的新的语音命令。The terminal re-opens the voice receiver and receives new voice commands generated by the user.
又例如,当该终端检测到闹钟提醒消息时,该终端打开语音接收器并接收语音命令,当接收到用户发出的“延迟5分钟提醒”的语音命令时,该终端停止闹钟消息提醒及关闭语音接收器,然后在5分钟后再次产生闹钟提醒消息,并开启语音接收器接收用户发出的新的语音命令。For another example, when the terminal detects the alarm alarm message, the terminal opens the voice receiver and receives the voice command. When receiving the voice command of “delay 5 minutes reminder” issued by the user, the terminal stops the alarm message and closes the voice. The receiver then generates an alarm reminder message again after 5 minutes and turns on the voice receiver to receive a new voice command from the user.
在本发明实施例中,终端先检测预设应用产生的中断事件,该终端在进行此操作之前,需要先确定用户设置的预设应用以及预设应用产生的中断事件,其中,终端可以同时检测用户设定的一个或者多个应用产生的一个或者多个中断事件,该终端扩大了中断事件的产生的检测范围。该终端在检测到中断事件响应时,开启语音接收器,并通过该语音接收器接收语音命令,终端在进行语音命令接收时,要先判断接收到的语音信号是否是完整的语音信号或者是否是终端能识别的语音信号,该终端通过此方法增加了基于语音命令对中断事件的操作,该终端收到语音命令时根据接收到的语音命令对该中断事件进行处理,增加了用户对中断事件的语音命令的操作性,克服了用户原先对于中断事件只能手动操作的局限性。In the embodiment of the present invention, the terminal first detects an interrupt event generated by the preset application, and before performing the operation, the terminal needs to determine a preset application set by the user and an interrupt event generated by the preset application, where the terminal can simultaneously detect One or more interrupt events generated by one or more applications set by the user, the terminal expands the detection range of the occurrence of the interrupt event. When detecting the interrupt event response, the terminal starts the voice receiver and receives the voice command through the voice receiver. When the terminal receives the voice command, the terminal first determines whether the received voice signal is a complete voice signal or is The voice signal recognizable by the terminal, the terminal increases the operation of the interrupt event based on the voice command by the method, and the terminal processes the interrupt event according to the received voice command when receiving the voice command, thereby increasing the user's interruption event. The operability of voice commands overcomes the limitations of the user's original manual operation for interrupt events.
请参见图2,图2是本发明实施例提供的另一种控制方法的示意流程图,如图2所示,该控制方法可包括:Referring to FIG. 2, FIG. 2 is a schematic flowchart of another control method according to an embodiment of the present invention. As shown in FIG. 2, the control method may include:
S201,终端确定需要语音命令进行控制操作的预设应用,并设置所述预设应用中中断事件与语音命令之间的对应关系,所述语音命令用于对所述中断事件进行处理。S201: The terminal determines a preset application that needs a voice command to perform a control operation, and sets a correspondence between an interrupt event and a voice command in the preset application, where the voice command is used to process the interrupt event.
具体的,终端根据用户的设置,将至少一个应用确定为需要语音命令进行控制操作的预设应用,而且,终端也可以而根据用户的设置,对该预设应用进行更改,该更改包括,增加至少一个预设应用或减少至少一个预设应用。Specifically, the terminal determines, according to the setting of the user, the at least one application as a preset application that requires a voice command to perform a control operation, and the terminal may also change the preset application according to the setting of the user, and the change includes: adding At least one preset application or at least one preset application is reduced.
具体的,该对应关系包括:该预设应用中中断事件与语音命令的一一对应关系,也就是说,一条语音命令只能执行一次中断事件。Specifically, the correspondence includes: a one-to-one correspondence between the interrupt event and the voice command in the preset application, that is, one voice command can only perform one interrupt event.
又例如,该预设应用为日程管理应用,该中断事件为日程提醒消息,若终 端通过语音接收器接收到的语音命令是“日程播放”命令,则终端将进行日程消息的播放并关闭语音播放器;同样的,若终端通过语音接收器接收到的语音命令是“日程取消”命令,则终端将取消日程消息的提醒并关闭语音播放器;以及,若终端通过语音接收器接收到的语音命令是“日程延迟预设时长”命令,则终端继续通过该语音播放器继续接收用户发出的时长命令,该时长命令包括关键字:“秒”,“分”,“时”,“天”,“周”,“月”,“季”和“年”,并根据该时长命令,延长日程消息提醒的时间并关闭该语音接收器。For another example, the preset application is a schedule management application, and the interrupt event is a schedule reminder message, if When the voice command received by the voice receiver is a "schedule play" command, the terminal will play the schedule message and close the voice player; similarly, if the voice command received by the terminal through the voice receiver is "schedule cancellation" If the command is sent, the terminal will cancel the reminder of the schedule message and close the voice player; and if the voice command received by the terminal through the voice receiver is the “schedule delay preset duration” command, the terminal continues to receive the user through the voice player. The duration command issued, the duration command includes keywords: "seconds", "minutes", "hours", "days", "weeks", "months", "seasons" and "years", and according to the duration command, Extend the time of the schedule message reminder and turn off the voice receiver.
又例如,该预设应用为闹钟应用,该中断事件为闹钟提醒消息,若终端通过语音接收器接收到的语音命令是“关闭闹钟”命令,则终端将关闭闹钟提醒消息并同时关闭该语音接收器停止接收语音,同样的,若终端通过语音接收器接收到的语音命令是“延迟闹钟”命令,则终端将通过语音接收器继续接收用户发出的时长命令,并根据该时长命令延长闹钟消息的提醒并关闭该语音接收器停止接收语音消息。For another example, the preset application is an alarm clock application, and the interruption event is an alarm alarm message. If the voice command received by the terminal through the voice receiver is an “off alarm” command, the terminal will turn off the alarm reminder message and close the voice reception at the same time. The device stops receiving voice. Similarly, if the voice command received by the terminal through the voice receiver is a "delay alarm" command, the terminal will continue to receive the duration command issued by the user through the voice receiver, and extend the alarm message according to the duration command. Remind and close the voice receiver to stop receiving voice messages.
需要说明的是,当终端根据用户的设置,确定了两个或两个以上的终端应用为需要语音命令进行控制操作的预设应用时,终端将两个或两个以上的该预设应用产生的中断事件分别确定为:第一中断事件,第二中断事件.....第N中断事件。It should be noted that, when the terminal determines that two or more terminal applications are preset applications that require voice commands to perform control operations according to user settings, the terminal generates two or more preset applications. The interrupt events are respectively determined as: a first interrupt event, a second interrupt event, ..... Nth interrupt event.
还需要说明的是,当第一中断事件和第二中断事件同时响应时,终端根据用户发出的第一个语音命令执行第一中断事件或第二中断事件,再根据用户发出的第二个语音命令执行第二中断事件或第一中断事件。It should be noted that, when the first interrupt event and the second interrupt event are simultaneously responded, the terminal executes the first interrupt event or the second interrupt event according to the first voice command sent by the user, and then according to the second voice sent by the user. The command executes a second interrupt event or a first interrupt event.
又例如,终端根据用户的设置,将日程管理应用和闹钟应用同时确定为需要语音命令进行控制操作的预设应用。该终端将日程管理应用产生的日程管理应用产生的日程提醒消息确定为第一中断事件,将闹钟应用产生的闹钟提醒消息确定为第二中断事件。For another example, the terminal simultaneously determines the schedule management application and the alarm application as a preset application that requires a voice command to perform a control operation according to the user's settings. The terminal determines the schedule reminder message generated by the schedule management application generated by the schedule management application as the first interruption event, and determines the alarm alarm message generated by the alarm application as the second interruption event.
又例如,当第一中断事件和第二中断事件同时响应时,如果终端接收到用户发出的第一个语音命令是“关闭闹钟”命令,那么终端先执行第二中断事件,再接收用户发出的第二个语音命令执行第一中断事件。For another example, when the first interrupt event and the second interrupt event are simultaneously responded, if the terminal receives the first voice command issued by the user as the “turn off the alarm” command, the terminal first performs the second interrupt event, and then receives the user’s The second voice command performs a first interrupt event.
通过此操作,终端确定了需要进行语音命令控制操作的预设应用以及预设应用中中断事件和语音命令之间的对应关系,这样能使终端在接收到语音命令 之后,减少对语音命令出现误判的情况。Through this operation, the terminal determines the preset application that needs to perform the voice command control operation and the correspondence between the interrupt event and the voice command in the preset application, so that the terminal can receive the voice command. After that, the situation of misjudgment of the voice command is reduced.
S202,终端检测预设应用产生的中断事件。S202. The terminal detects an interrupt event generated by the preset application.
具体的,该中断事件可以是日程管理应用中的日程提醒消息,也可以是闹钟应用中的闹钟提醒消息,还可以是短信应用中的短信提醒消息。Specifically, the interrupt event may be a schedule reminder message in the schedule management application, an alarm alarm message in the alarm application, or a short message reminder message in the short message application.
例如,终端确定需要语音命令进行控制操作的预设应用是闹钟应用,那么该预设应用产生的中断事件是闹钟提醒消息,并将该中断事件和语音命令之间的对应关系设定为:For example, if the terminal determines that the preset application that needs the voice command to perform the control operation is the alarm clock application, the interrupt event generated by the preset application is an alarm alarm message, and the correspondence between the interrupt event and the voice command is set as:
当语音命令为“关闭闹钟”命令时,对应执行闹钟提醒消息关闭命令并关闭该语音接收器;When the voice command is an "off alarm" command, the alarm alarm message close command is executed and the voice receiver is turned off;
当语音命令为“延迟闹钟”命令时,对应执行闹钟提醒消息延迟响应命令。When the voice command is a "delayed alarm" command, the corresponding alarm clock reminder message delays the response command.
S203,终端响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令S203. The terminal responds to the interruption event, starts a voice receiver, and receives a voice command by using the voice receiver.
该语音接收器可以是麦克风,也可以是任何具有语音接收和传输功能的组件。The voice receiver can be a microphone or any component with voice receiving and transmission capabilities.
需要说明的是,该语音接收器具有的语音接收和传输功能可以通过红外、蓝牙进行无线传输,也可以通过有线传输实现。It should be noted that the voice receiving and transmitting functions of the voice receiver can be wirelessly transmitted through infrared or Bluetooth, or can be realized by wired transmission.
还需要说明的是,该语音接收器可以是终端内置的语音接收器,也可以由终端外接一语音接收器来实现。It should be noted that the voice receiver may be a voice receiver built in the terminal, or may be implemented by externally connecting a voice receiver to the terminal.
例如,该终端没有内设的语音接收器,通过外接麦克实现外接一语音接收器,当终端确定需要语音进行命令控制操作的预设应用之后,设置该预设应用中中断事件和语音命令之间的对应关系,在通过检测预设应用产生的中断事件,开启外接麦克,通过外接麦克接收语音命令,并根据对应关系对该中断事件进行处理。For example, the terminal does not have a built-in voice receiver, and an external microphone is used to implement an external voice receiver. After the terminal determines a preset application that requires voice to perform a command control operation, setting an interrupt event between the preset application and the voice command. Corresponding relationship, when detecting an interrupt event generated by the preset application, turning on the external microphone, receiving the voice command through the external microphone, and processing the interrupt event according to the corresponding relationship.
又例如,该预设应用是日程管理应用,该预设应用的中断事件为日程提醒消息,当终端检测到日程提醒消息响应时,打开外接麦克开始接收语音命令,若接收到的语音命令是“日程播放”命令,终端则播放日程消息并关闭外接麦克,若接收到的语音命令是“日程取消”命令,终端则取消日程消息并关闭外接麦克,同样的,若接收到的语音命令是“日程延迟预设时长”命令,则终端将通过外接麦克继续接收用户发出的时长命令,并在执行时长设置之后关闭外 接麦克。For another example, the preset application is a schedule management application, and the interrupt event of the preset application is a schedule reminder message. When the terminal detects the response of the schedule reminder message, the external microphone is turned on to start receiving the voice command, and if the received voice command is “ The schedule play command, the terminal plays the schedule message and closes the external microphone. If the received voice command is the “schedule cancel” command, the terminal cancels the schedule message and closes the external microphone. Similarly, if the received voice command is “schedule” Delay the preset duration command, the terminal will continue to receive the duration command issued by the user through the external microphone, and close the external time after the execution time is set. Pick up the microphone.
通过此操作,扩展了终端语音接收器的类型,可以是终端内置的语音接收器,也可以是终端外接的语音接收器,但是都是由终端对该语音接收器进行控制,该语音接收器和该终端的控制连接方式可以是有线的,也可以是无线连接方式。Through this operation, the type of the terminal voice receiver is extended, which may be a voice receiver built in the terminal or a voice receiver external to the terminal, but the terminal is controlled by the terminal, the voice receiver and the voice receiver The control connection mode of the terminal may be wired or wireless.
S204,当终端接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。S204. When the voice command received by the terminal meets the preset voice command, the interrupt event is processed according to the voice command.
需要说明的是,本发明实施例中的步骤S204可以参见上述实施例中的步骤S103,本实施例不在赘述。It should be noted that, in step S204 in the embodiment of the present invention, reference may be made to step S103 in the foregoing embodiment, which is not described in this embodiment.
在本发明实施例中,区别于上一实施例,终端确定用户需要进行语音命令控制操作的预设应用,并确定预设应用中中断事件和语音命令之间的一一对应关系,当该终端确定了两个或者两个以上的应用为预设应用时,终端将该两个或两个以上应用产生的中断事件不分先后地记为:第一中断事件,第二中断事件.....第N中断事件,当该终端在处理该中断事件时,只依照接收到的语音命令的先后顺序对该中断事件进行处理,以及,该中断事件和该语音命令之间的一一对应关系能减少该终端对语音命令出现误判的情况。而且,该终端通过将两个或两个以上的中断事件不分先后地记为:第一中断事件,第二中断事件.....第N中断事件,扩大了语音命令操作的应用种类,改善用户使用体验。In the embodiment of the present invention, different from the previous embodiment, the terminal determines a preset application that the user needs to perform a voice command control operation, and determines a one-to-one correspondence between the interrupt event and the voice command in the preset application, when the terminal When it is determined that two or more applications are preset applications, the terminal records the interrupt events generated by the two or more applications indefinitely as: a first interrupt event, a second interrupt event.... The Nth interrupt event, when the terminal processes the interrupt event, processes the interrupt event only in accordance with the order of the received voice commands, and the one-to-one correspondence between the interrupt event and the voice command can Reduce the situation in which the terminal misjudges the voice command. Moreover, the terminal expands the application type of the voice command operation by indiscriminately recording two or more interrupt events as: the first interrupt event, the second interrupt event, the Nth interrupt event, Improve the user experience.
请参阅图3,图3是本发明实施例提供的一种终端的结构示意图,如图3所示,该终端包括检测模块301,获取模块302和处理模块303,其中:Referring to FIG. 3, FIG. 3 is a schematic structural diagram of a terminal according to an embodiment of the present invention. As shown in FIG. 3, the terminal includes a detecting module 301, an obtaining module 302, and a processing module 303, where:
检测模块301,用于检测预设应用产生的中断事件;The detecting module 301 is configured to detect an interrupt event generated by the preset application;
获取模块302,用于响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令;The obtaining module 302 is configured to: in response to the interruption event, turn on a voice receiver, and receive a voice command by using the voice receiver;
处理模块303,用于接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。The processing module 303, when the received voice command meets the preset voice command, processes the interrupt event according to the voice command.
其中,该终端还包括确定模块304,设置模块305,其中:The terminal further includes a determining module 304, and a setting module 305, where:
确定模块304,用于确定需要语音命令进行控制操作的所述预设应用;a determining module 304, configured to determine the preset application that requires a voice command to perform a control operation;
设置模块305,用于设置所述预设应用中中断事件与语音命令之间的对应 关系,所述语音命令用于对所述中断事件进行处理。a setting module 305, configured to set a correspondence between an interrupt event and a voice command in the preset application Relationship, the voice command is used to process the interrupt event.
其中,该预设应用为日程管理应用,该中断事件为日程提醒消息;The preset application is a schedule management application, and the interrupt event is a schedule reminder message;
该获取模块包括:The acquisition module includes:
第一执行单元306,用于响应日程提醒消息,开启语音接收器,通过该语音接收器接收“日程播放”命令、“日程取消”命令或者“日程延迟预设时长”命令。The first executing unit 306 is configured to, in response to the schedule reminder message, turn on the voice receiver, and receive, by the voice receiver, a “schedule play” command, a “schedule cancel” command, or a “schedule delay preset duration” command.
或者,该预设应用为闹钟应用,该中断事件为闹钟提醒消息;Or the preset application is an alarm clock application, and the interrupt event is an alarm alarm message;
该获取模块包括:The acquisition module includes:
第二执行单元307,用于响应闹钟提醒消息,开启语音接收器,通过该语音接收器接收“关闭闹钟”命令或者“延迟闹钟”命令。The second executing unit 307 is configured to, in response to the alarm reminder message, turn on the voice receiver, and receive a “turn off the alarm” command or a “delay alarm” command through the voice receiver.
在本发明实施例中,终端通过确定模块确定需要语音命令进行控制操作的预设应用,并通过设置模块设置该预设应用中中断事件与语音命令之间的对应关系,该对应关系用于对该中断事件进行处理,当该终端通过检测模块检测预设应用产生中断事件时,获取模块开启语音接收器并通过该语音接收器接收语音命令,当该语音命令满足该预设语音命令时,该终端处理该中断事件,该终端增加了用户对中断事件的语音命令的操作性,克服了用户原先对于中断事件只能手动操作的局限性。In the embodiment of the present invention, the terminal determines, by using the determining module, a preset application that needs a voice command to perform a control operation, and sets a correspondence between the interrupt event and the voice command in the preset application by using a setting module, where the corresponding relationship is used for The interrupt event is processed. When the terminal detects the preset application to generate an interrupt event, the acquiring module starts the voice receiver and receives the voice command through the voice receiver. When the voice command satisfies the preset voice command, the The terminal processes the interrupt event, and the terminal increases the operability of the user's voice command for the interrupt event, and overcomes the limitation that the user can only manually operate the interrupt event.
根据前述方法,图4是本发明实施例提供的设备的示意图一,如图4所示,该设备可以为终端,也可以为芯片或电路,比如可设置于终端的芯片或电路。该终端可以对应上述方法中的终端。According to the foregoing method, FIG. 4 is a schematic diagram 1 of a device according to an embodiment of the present invention. As shown in FIG. 4, the device may be a terminal, or may be a chip or a circuit, such as a chip or a circuit that can be disposed in the terminal. The terminal can correspond to the terminal in the above method.
该设备可以包括处理器401和存储器402。该存储器402用于存储指令,该处理器401用于执行该存储器402存储的指令,以实现如上图1至2对应的方法中的步骤以及实施例。The device can include a processor 401 and a memory 402. The memory 402 is used to store instructions for executing the instructions stored by the memory 402 to implement the steps and embodiments of the method corresponding to Figures 1 through 2 above.
进一步的,该设备还可以包括输入口404和输出口405。进一步的,该设备还可以进一步包括总线系统403,其中,处理器401、存储器402、输入口404和输出口405可以通过总线系统403相连。Further, the device may further include an input port 404 and an output port 405. Further, the device may further include a bus system 403, wherein the processor 401, the memory 402, the input port 404, and the output port 405 may be connected by a bus system 403.
处理器401用于执行该存储器402存储的指令,以控制输入口404接收信号,并控制输出口405发送信号,完成上述方法中终端的步骤。其中,输入口404和输出口405可以为相同或者不同的物理实体。为相同的物理实体时,可 以统称为收发器。所述存储器402可以集成在所述处理器401中,也可以与所述处理器401分开设置。The processor 401 is configured to execute the instruction stored in the memory 402 to control the input port 404 to receive the signal, and control the output port 405 to send a signal to complete the steps of the terminal in the above method. The input port 404 and the output port 405 may be the same or different physical entities. When it is the same physical entity, Collectively referred to as transceivers. The memory 402 may be integrated in the processor 401 or may be provided separately from the processor 401.
作为一种实现方式,输入口404和输出口405的功能可以考虑通过收发电路或者收发的专用芯片实现。处理器401可以考虑通过专用处理芯片、处理电路、处理器或者通用芯片实现。As an implementation manner, the functions of the input port 404 and the output port 405 can be implemented by a dedicated chip through a transceiver circuit or a transceiver. The processor 401 can be implemented by a dedicated processing chip, a processing circuit, a processor, or a general purpose chip.
作为另一种实现方式,可以考虑使用通用计算机的方式来实现本申请实施例提供的终端。即将实现处理器401,输入口404和输出口405功能的程序代码存储在存储器中,通用处理器通过执行存储器中的代码来实现处理器401,输入口404和输出口405的功能。As another implementation manner, a terminal provided by the embodiment of the present application may be implemented by using a general-purpose computer. The program code that implements the functions of the processor 401, the input port 404 and the output port 405 is stored in a memory, and the general purpose processor implements the functions of the processor 401, the input port 404, and the output port 405 by executing code in the memory.
该设备所涉及的与本申请实施例提供的技术方案相关的概念,解释和详细说明及其他步骤请参见前述方法或其他实施例中关于这些内容的描述,此处不做赘述。For the concepts, explanations, detailed descriptions and other steps related to the technical solutions provided by the embodiments of the present application, refer to the descriptions of the foregoing methods or other embodiments, and no further details are provided herein.
图5是本发明实施例提供的另一种终端的结构示意图。为了便于说明,图5仅示出了终端的主要部件。如图5所示,终端包括处理器、存储器、控制电路、天线以及输入输出装置。处理器主要用于对通信协议以及通信数据进行处理,以及对整个终端进行控制,执行软件程序,处理软件程序的数据,例如用于支持终端执行上述传输预编码矩阵的指示方法实施例中所描述的动作。存储器主要用于存储软件程序和数据,例如存储上述实施例中该终端通过语音接收器接收到的语音命令,或者存储上述实施例中该预设应用中中断事件与语音命令之间的对应关系。控制电路主要用于基带信号与射频信号的转换以及对射频信号的处理。控制电路和天线一起也可以叫做收发器,主要用于收发电磁波形式的射频信号。输入输出装置,例如触摸屏、显示屏,键盘等主要用于接收用户输入的数据以及对用户输出数据。FIG. 5 is a schematic structural diagram of another terminal according to an embodiment of the present invention. For ease of explanation, FIG. 5 shows only the main components of the terminal. As shown in FIG. 5, the terminal includes a processor, a memory, a control circuit, an antenna, and an input and output device. The processor is mainly used for processing the communication protocol and the communication data, and controlling the entire terminal, executing the software program, and processing the data of the software program, for example, as described in the embodiment of the indication method for supporting the terminal to execute the foregoing transmission precoding matrix. Actions. The memory is mainly used for storing the software program and the data, for example, storing the voice command received by the terminal through the voice receiver in the foregoing embodiment, or storing the correspondence between the interrupt event and the voice command in the preset application in the foregoing embodiment. The control circuit is mainly used for converting baseband signals and radio frequency signals and processing radio frequency signals. The control circuit together with the antenna can also be called a transceiver, and is mainly used for transmitting and receiving RF signals in the form of electromagnetic waves. Input and output devices, such as touch screens, display screens, keyboards, etc., are primarily used to receive user input data and output data to the user.
当终端开机后,处理器可以读取存储单元中的软件程序,解释并执行软件程序的指令,处理软件程序的数据。当需要通过无线发送数据时,处理器对待发送的数据进行基带处理后,输出基带信号至射频电路,射频电路将基带信号进行射频处理后将射频信号通过天线以电磁波的形式向外发送。当有数据发送到终端时,射频电路通过天线接收到射频信号,将射频信号转换为基带信号, 并将基带信号输出至处理器,处理器将基带信号转换为数据并对该数据进行处理。When the terminal is powered on, the processor can read the software program in the storage unit, interpret and execute the instructions of the software program, and process the data of the software program. When the data needs to be transmitted by wireless, the processor performs baseband processing on the data to be sent, and then outputs the baseband signal to the radio frequency circuit. The radio frequency circuit performs radio frequency processing on the baseband signal, and then sends the radio frequency signal to the outside through the antenna in the form of electromagnetic waves. When data is sent to the terminal, the radio frequency circuit receives the radio frequency signal through the antenna, and converts the radio frequency signal into a baseband signal. The baseband signal is output to a processor, which converts the baseband signal into data and processes the data.
本领域技术人员可以理解,为了便于说明,图5仅示出了一个存储器和处理器。在实际的用户设备中,可以存在多个处理器和存储器。存储器也可以称为存储介质或者存储设备等,本发明实施例对此不做限制。Those skilled in the art will appreciate that FIG. 5 shows only one memory and processor for ease of illustration. In an actual user device, there may be multiple processors and memories. The memory may also be referred to as a storage medium or a storage device, and the like.
作为一种可选的实现方式,处理器可以包括基带处理器和中央处理器,基带处理器主要用于对通信协议以及通信数据进行处理,中央处理器主要用于对整个终端进行控制,执行软件程序,处理软件程序的数据。图5中的处理器集成了基带处理器和中央处理器的功能,本领域技术人员可以理解,基带处理器和中央处理器也可以是各自独立的处理器,通过总线等技术互联。本领域技术人员可以理解,用户设备可以包括多个基带处理器以适应不同的网络制式,用户设备可以包括多个中央处理器以增强其处理能力,用户设备的各个部件可以通过各种总线连接。所述基带处理器也可以表述为基带处理电路或者基带处理芯片。所述中央处理器也可以表述为中央处理电路或者中央处理芯片。对通信协议以及通信数据进行处理的功能可以内置在处理器中,也可以以软件程序的形式存储在存储单元中,由处理器执行软件程序以实现基带处理功能。As an optional implementation, the processor may include a baseband processor and a central processing unit, and the baseband processor is mainly used to process communication protocols and communication data, and the central processing unit is mainly used to control the entire terminal and execute the software. A program that processes data from a software program. The processor in FIG. 5 integrates the functions of the baseband processor and the central processing unit. Those skilled in the art can understand that the baseband processor and the central processing unit can also be independent processors and interconnected by technologies such as a bus. Those skilled in the art will appreciate that the user equipment may include a plurality of baseband processors to accommodate different network standards, and the user equipment may include a plurality of central processors to enhance its processing capabilities, and various components of the user equipment may be connected through various buses. The baseband processor can also be expressed as a baseband processing circuit or a baseband processing chip. The central processing unit can also be expressed as a central processing circuit or a central processing chip. The functions of processing the communication protocol and the communication data may be built in the processor, or may be stored in the storage unit in the form of a software program, and the processor executes the software program to implement the baseband processing function.
示例性的,在发明实施例中,可以将具有收发功能的天线和控制电路视为用户设备的收发单元501,将具有处理功能的处理器视为用户设备的处理单元502。如图5所示,用户设备包括收发单元501和处理单元502。收发单元也可以称为收发器、收发机、收发装置等。可选的,可以将收发单元501中用于实现接收功能的器件视为接收单元,将收发单元501中用于实现发送功能的器件视为发送单元,即收发单元501包括接收单元和发送单元示例性的,接收单元也可以称为接收机、输入口、接收电路等,发送单元可以称为发射机、发射器或者发射电路等。Illustratively, in an embodiment of the invention, the antenna and control circuit having the transceiving function can be regarded as the transceiving unit 501 of the user equipment, and the processor having the processing function is regarded as the processing unit 502 of the user equipment. As shown in FIG. 5, the user equipment includes a transceiver unit 501 and a processing unit 502. The transceiver unit can also be referred to as a transceiver, a transceiver, a transceiver, and the like. Optionally, the device for implementing the receiving function in the transceiver unit 501 can be regarded as a receiving unit, and the device for implementing the sending function in the transceiver unit 501 is regarded as a sending unit, that is, the transceiver unit 501 includes a receiving unit and a sending unit. The receiving unit may also be referred to as a receiver, an input port, a receiving circuit, etc., and the transmitting unit may be referred to as a transmitter, a transmitter, or a transmitting circuit.
在实现过程中,上述方法的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。结合本申请实施例所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位 于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。为避免重复,这里不再详细描述。In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in a processor or an instruction in a form of software. The steps of the method disclosed in the embodiments of the present application may be directly implemented by the hardware processor, or may be performed by a combination of hardware and software modules in the processor. The software module can be located in a conventional storage medium such as random access memory, flash memory, read only memory, programmable read only memory or electrically erasable programmable memory, registers, and the like. The storage medium bit In the memory, the processor reads the information in the memory and combines the hardware to complete the steps of the above method. To avoid repetition, it will not be described in detail here.
还应理解,本文中涉及的第一、第二、第三、第四以及各种数字编号仅为描述方便进行的区分,并不用来限制本发明实施例的范围。It is also to be understood that the first, second, third, fourth,
应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the term "and/or" herein is merely an association relationship describing an associated object, indicating that there may be three relationships, for example, A and/or B, which may indicate that A exists separately, and A and B exist simultaneously. There are three cases of B alone. In addition, the character "/" in this article generally indicates that the contextual object is an "or" relationship.
应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本发明实施例的实施过程构成任何限定。It should be understood that, in various embodiments of the present application, the size of the serial numbers of the above processes does not mean the order of execution, and the order of execution of each process should be determined by its function and internal logic, and should not be taken to the embodiments of the present invention. The implementation process constitutes any limitation.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各种说明性逻辑块(illustrative logical block)和步骤(step),能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本发明的范围。Those of ordinary skill in the art will appreciate that the various illustrative logical blocks and steps described in connection with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. achieve. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the solution. A person skilled in the art can use different methods for implementing the described functions for each particular application, but such implementation should not be considered to be beyond the scope of the present invention.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。A person skilled in the art can clearly understand that for the convenience and brevity of the description, the specific working process of the system, the device and the unit described above can refer to the corresponding process in the foregoing method embodiment, and details are not described herein again.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided by the present application, it should be understood that the disclosed systems, devices, and methods may be implemented in other manners. For example, the device embodiments described above are merely illustrative. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner, for example, multiple units or components may be combined or 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 unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, may be located in one place, or It can also be distributed to multiple network elements. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of the 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.
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机程序指令时,全部或部分地产生按照本发明实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质,(例如,软盘、硬盘、磁带)、光介质(例如,DVD)、或者半导体介质(例如固态硬盘Solid State Disk(SSD))等。In the above embodiments, it may be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented in software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with embodiments of the present invention are generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable device. The computer instructions can be stored in a computer readable storage medium or transferred from one computer readable storage medium to another computer readable storage medium, for example, the computer instructions can be from a website site, computer, server or data center Transfer to another website site, computer, server, or data center by wire (eg, coaxial cable, fiber optic, digital subscriber line (DSL), or wireless (eg, infrared, wireless, microwave, etc.). The computer readable storage medium can be any available media that can be accessed by a computer or a data storage device such as a server, data center, or the like that includes one or more available media. The usable medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a DVD), or a semiconductor medium (such as a solid state disk (SSD)).
以上所述,仅为本发明的具体实施方式,但本发明的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本发明揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本发明的保护范围之内。因此,本发明的保护范围应以所述权利要求的保护范围为准。 The above is only a specific embodiment of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily think of changes or substitutions within the technical scope of the present invention. It should be covered by the scope of the present invention. Therefore, the scope of the invention should be determined by the scope of the appended claims.

Claims (10)

  1. 一种控制方法,其特征在于,包括:A control method, comprising:
    检测预设应用产生的中断事件;Detecting an interrupt event generated by a preset application;
    响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令;Responding to the interruption event, turning on a voice receiver, and receiving a voice command through the voice receiver;
    当接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。When the received voice command satisfies the preset voice command, the interrupt event is processed according to the voice command.
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:The method of claim 1 further comprising:
    确定需要语音命令进行控制操作的预设应用;Determining a preset application that requires a voice command to perform a control operation;
    设置所述预设应用中中断事件与语音命令之间的对应关系,所述语音命令用于对所述中断事件进行处理。And setting a correspondence between the interrupt event and the voice command in the preset application, where the voice command is used to process the interrupt event.
  3. 根据权利要求1或2所述的方法,其特征在于,所述预设应用为日程管理应用,所述中断事件为日程提醒消息;The method according to claim 1 or 2, wherein the preset application is a schedule management application, and the interruption event is a schedule reminder message;
    所述响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令,包括:In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
    响应日程提醒消息,开启语音接收器,通过所述语音接收器接收“日程播放”命令、“日程取消”命令或者“日程延迟预设时长”命令。In response to the schedule reminder message, the voice receiver is turned on, and the "schedule play" command, the "schedule cancel" command, or the "schedule delay preset duration" command is received through the voice receiver.
  4. 根据权利要求1或2所述的方法,其特征在于,所述预设应用为闹钟应用,所述中断事件为闹钟提醒消息;The method according to claim 1 or 2, wherein the preset application is an alarm clock application, and the interruption event is an alarm alarm message;
    所述响应所述中断事件,开启语音接收器,通过所述语音接收器接收语音命令,包括:In response to the interruption event, the voice receiver is turned on, and the voice command is received by the voice receiver, including:
    响应闹钟提醒消息,开启语音接收器,通过所述语音接收器接收“关闭闹钟”命令或者“延迟闹钟”命令。In response to the alarm reminder message, the voice receiver is turned on, and the "off alarm" command or the "delay alarm" command is received through the voice receiver.
  5. 根据权利要求1至4任一项所述的方法,其特征在于,当接收的所述语音命令满足预设语音命令时,所述方法还包括:The method according to any one of claims 1 to 4, wherein when the received voice command satisfies a preset voice command, the method further includes:
    关闭所述语音接收器。Turn off the voice receiver.
  6. 一种终端,其特征在于,包括:A terminal, comprising:
    检测模块,用于检测预设应用产生的中断事件;a detecting module, configured to detect an interrupt event generated by the preset application;
    获取模块,用于响应所述中断事件,开启语音接收器,通过所述语音接收 器接收语音命令;Obtaining a module, in response to the interruption event, turning on a voice receiver, receiving by using the voice Receive voice commands;
    处理模块,用于接收的所述语音命令满足预设语音命令时,根据所述语音命令对所述中断事件进行处理。And the processing module is configured to process the interrupt event according to the voice command when the received voice command satisfies a preset voice command.
  7. 如权利要求6所述的终端,其特征在于,所述终端还包括:The terminal according to claim 6, wherein the terminal further comprises:
    确定模块,用于确定需要语音命令进行控制操作的所述预设应用;a determining module, configured to determine the preset application that requires a voice command to perform a control operation;
    设置模块,用于设置所述预设应用中中断事件与语音命令之间的对应关系,所述语音命令用于对所述中断事件进行处理。And a setting module, configured to set a correspondence between an interrupt event and a voice command in the preset application, where the voice command is used to process the interrupt event.
  8. 如权利要求6或7所述的终端,其特征在于,所述预设应用为日程管理应用,所述中断事件为日程提醒消息;The terminal according to claim 6 or 7, wherein the preset application is a schedule management application, and the interruption event is a schedule reminder message;
    所述获取模块包括:The obtaining module includes:
    第一执行单元,用于响应日程提醒消息,开启语音接收器,通过所述语音接收器接收“日程播放”命令、“日程取消”命令或者“日程延迟预设时长”命令;a first execution unit, configured to: in response to the schedule reminder message, turn on the voice receiver, and receive, by the voice receiver, a “schedule play” command, a “schedule cancel” command, or a “schedule delay preset duration” command;
    或者,所述预设应用为闹钟应用,所述中断事件为闹钟提醒消息;Or the preset application is an alarm clock application, and the interruption event is an alarm alarm message;
    所述获取模块包括:The obtaining module includes:
    第二执行单元,用于响应闹钟提醒消息,开启语音接收器,通过所述语音接收器接收“关闭闹钟”命令或者“延迟闹钟”命令。The second execution unit is configured to respond to the alarm alarm message, open the voice receiver, and receive a “turn off the alarm” command or a “delay alarm” command through the voice receiver.
  9. 一种终端,其特征在于,包括处理器、存储器以及收发器,A terminal, comprising: a processor, a memory, and a transceiver,
    所述存储器中存储指令,当所述指令被所述处理器运行时,使得所述网络设备执行或通过所述收发器执行所述权利要求1至5中任一项所述的方法。The memory stores instructions that, when executed by the processor, cause the network device to perform or perform the method of any one of claims 1 to 5 through the transceiver.
  10. 一种计算机存储介质,所述计算机存储介质用于储存为上述网络设备所用的计算机软件指令,其包括用于执行所述权利要求1至5中任一项所述的方法所设计的程序。 A computer storage medium for storing computer software instructions for use in the network device, comprising a program designed to perform the method of any one of claims 1 to 5.
PCT/CN2017/104406 2017-09-29 2017-09-29 Control method and terminal WO2019061301A1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104406 WO2019061301A1 (en) 2017-09-29 2017-09-29 Control method and terminal

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2017/104406 WO2019061301A1 (en) 2017-09-29 2017-09-29 Control method and terminal

Publications (1)

Publication Number Publication Date
WO2019061301A1 true WO2019061301A1 (en) 2019-04-04

Family

ID=65900430

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/104406 WO2019061301A1 (en) 2017-09-29 2017-09-29 Control method and terminal

Country Status (1)

Country Link
WO (1) WO2019061301A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541574A (en) * 2010-12-13 2012-07-04 鸿富锦精密工业(深圳)有限公司 Application program opening system and method
CN104505095A (en) * 2014-12-22 2015-04-08 上海语知义信息技术有限公司 Voice control system and voice control method for alarm clock
CN105426154A (en) * 2014-09-22 2016-03-23 中兴通讯股份有限公司 Voice input control method, apparatus, and terminal
CN106303075A (en) * 2016-09-14 2017-01-04 惠州Tcl移动通信有限公司 A kind of method closing quarter-bell based on mobile terminal and mobile terminal

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102541574A (en) * 2010-12-13 2012-07-04 鸿富锦精密工业(深圳)有限公司 Application program opening system and method
CN105426154A (en) * 2014-09-22 2016-03-23 中兴通讯股份有限公司 Voice input control method, apparatus, and terminal
CN104505095A (en) * 2014-12-22 2015-04-08 上海语知义信息技术有限公司 Voice control system and voice control method for 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

Similar Documents

Publication Publication Date Title
US11861161B2 (en) Display method and apparatus
US10659200B2 (en) Companion application for activity cooperation
US9203252B2 (en) Redirecting notifications to a wearable computing device
US9983767B2 (en) Apparatus and method for providing user interface based on hand-held position of the apparatus
US11243595B2 (en) Method and apparatus for reducing continuous-wakeup delay of bluetooth loudspeaker, and bluetooth loudspeaker
US11647108B2 (en) Service processing method and apparatus
WO2019227281A1 (en) Capture method and electronic device
US8190798B1 (en) Client device configuration based on information stored by host device
US20170237930A1 (en) Method of controlling the sharing of videos and electronic device adapted thereto
US20170235694A1 (en) Data transceiving method and device
WO2018133307A1 (en) Method and terminal for implementing voice control
US10002528B2 (en) IR communication method and electronic device thereof
US20180329675A1 (en) Electronic device and method for controlling audio output according to the type of earphone
US20200174741A1 (en) Audio Playing Method and Electronic Device
US20230418545A1 (en) Electronic device and method for recognizing audio output device connected to usb type-c connector
US9754553B2 (en) Electronic device and method of controlling a screen of an external electronic device
CN111435318A (en) Dex optimization method of application program and terminal
WO2019072179A1 (en) Application running control method and apparatus
WO2018161955A1 (en) Method and device for controlling broadcast recipient, and mobile terminal
CN110515662B (en) Remote control method, system, equipment and readable storage medium for dual-system equipment
WO2019061301A1 (en) Control method and terminal
WO2019071380A1 (en) Sleep control method, terminal, and computer readable medium
US10602001B2 (en) Method for identifying data usage and electronic device implementing the same
US11665474B1 (en) Audible device/port beacon system
CN117951060A (en) Device communication method, system, device, electronic device and storage medium

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: 17926491

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: 17926491

Country of ref document: EP

Kind code of ref document: A1