WO2016124048A1 - Application program starting method and electronic device - Google Patents

Application program starting method and electronic device Download PDF

Info

Publication number
WO2016124048A1
WO2016124048A1 PCT/CN2015/099192 CN2015099192W WO2016124048A1 WO 2016124048 A1 WO2016124048 A1 WO 2016124048A1 CN 2015099192 W CN2015099192 W CN 2015099192W WO 2016124048 A1 WO2016124048 A1 WO 2016124048A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
voice request
control instruction
audio parameter
electronic device
Prior art date
Application number
PCT/CN2015/099192
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 掌赢信息科技(上海)有限公司
Publication of WO2016124048A1 publication Critical patent/WO2016124048A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser

Definitions

  • the present invention relates to the field of communications, and in particular, to an application startup method and an electronic device.
  • the existing electronic device realizes the function by manually opening one or more applications, but the method cannot meet the increasing requirements of the user for the convenience of operation of the electronic device. In order to improve the user experience, it is necessary to provide a A more convenient way to start an application.
  • the prior art provides a method for starting and shutting down a program, by receiving a voice instruction input by a user, identifying an operation instruction included in the voice instruction, and determining an application program indicated by the voice instruction, and then, according to the operation instruction, the program Start or shut down.
  • an embodiment of the present invention provides an application startup method, an electronic device, and a system.
  • the technical solution is as follows:
  • an application startup method comprising:
  • the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
  • the identifying the audio parameters in the voice request includes:
  • the audio parameter is recognized as a wind sound.
  • the application control instruction includes at least starting an application or closing an application, and determining a control corresponding to the voice request. Instructions include:
  • determining that the control instruction corresponding to the voice request comprises:
  • control instruction includes an electronic device control instruction
  • the electronic device control instruction includes: turning off the electronic device, and determining the control instruction corresponding to the voice request includes:
  • an electronic device comprising:
  • a receiving module configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • An identification module configured to identify an audio parameter in the voice request
  • An execution module is configured to execute the control instruction.
  • the identifying module is specifically configured to:
  • the audio parameter is recognized as a wind sound.
  • control instruction includes an application control instruction
  • application control instruction includes at least starting the application or closing the application
  • the device further includes a detecting module, configured to detect whether the application is in an activated state or a closed state;
  • the confirmation module is specifically configured to: when the application is in an activated state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in a closed state, determine the voice The corresponding control command is requested to start the application.
  • control instruction includes a control instruction of an application function
  • the detecting module is configured to detect whether the application function is in an activated state or a closed state
  • the confirmation module is configured to determine the language when the application function is in an activated state The control command corresponding to the tone request is to close the application function; when the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
  • control instruction includes an electronic device control instruction
  • the electronic device control instruction includes turning off the electronic device
  • the detecting module is further configured to detect whether the electronic device is in an activated state
  • the confirmation module is configured to: when the electronic device is in an activated state, determine that the control instruction corresponding to the voice request is to close the electronic device.
  • an electronic device including a voice input module, a sending module, a receiving module, a memory, and a processor respectively connected to the voice input module, the sending module, the receiving module, and the memory,
  • the memory stores a set of program codes
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
  • the processor is further configured to invoke program code stored in the memory, and perform the following operations:
  • the audio parameter is recognized as a wind sound.
  • the processor is further configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is further configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is further configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is further configured to invoke the program code stored in the memory, and perform the following operations:
  • an application startup method where the method is applied to a first electronic device, and the method includes:
  • the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
  • Identifying audio parameters in the voice request Identifying audio parameters in the voice request; transmitting the audio parameters to a second electronic device.
  • the identifying the audio parameters in the voice request includes:
  • the frequency parameter is identified as wind sound.
  • a first electronic device comprising:
  • a receiving module configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • An identification module configured to identify an audio parameter in the voice request
  • a sending module configured to send the audio parameter to the second electronic device.
  • the identifying module is specifically configured to:
  • the audio parameter is recognized as a wind sound.
  • a first electronic device including: a voice input module, a sending module, a receiving module, a memory, and the voice input module, the sending module, the receiving module, and the A memory-connected processor, wherein the memory stores a set of program code, the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
  • the audio parameter is sent to the second electronic device.
  • the processor is further configured to invoke program code stored in the memory, and perform the following operations:
  • the audio parameter is recognized as a wind sound.
  • an application startup method is provided, the method being applied to a second electronic device, The method is characterized in that: the method comprises:
  • the application control instruction includes starting an application or closing an application, and determining a control instruction corresponding to the voice request.
  • control instruction includes a control instruction of an application function
  • the method further includes:
  • control instruction includes an electronic device control instruction
  • the electronic device control instruction includes: shutting down the electronic device, and determining the control instruction corresponding to the voice request includes:
  • a second electronic device comprising:
  • a receiving module configured to receive an audio parameter sent by the first electronic device
  • a determining module configured to determine, according to the audio parameter, a control instruction corresponding to the voice request
  • An execution module is configured to execute the control instruction.
  • control instruction includes an application control instruction
  • application control instruction includes at least starting an application or closing an application
  • device further includes a detection module:
  • the detecting module is configured to detect whether the application is in an activated state or a closed state
  • the confirmation module is configured to: when the application is in an activated state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in a closed state, determine the voice request The corresponding control command is to start the application.
  • the detecting module is configured to:
  • the confirmation module is configured to: when the application function is in an activated state, determine that the control instruction corresponding to the voice request is to close the function program; when the function program of the application is in a closed state, determine The control command corresponding to the voice request is to start the function program.
  • control instruction includes an electronic device control instruction
  • the electronic device control instruction includes: turning off the electronic device
  • the detecting module is further configured to detect whether the electronic device is in an activated state
  • the confirmation module is configured to: when the electronic device is in an activated state, determine that the control instruction corresponding to the voice request is to close the electronic device.
  • a ninth aspect provides a second electronic device, including a voice input module, a sending module, a receiving module, a memory, and a process respectively connected to the voice input module, the sending module, the receiving module, and the memory And storing, in the memory, a set of program codes, the processor is configured to call the program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • the processor is configured to invoke program code stored in the memory, and perform the following operations:
  • an application startup system comprising the first electronic device of the fifth aspect, the second electronic device of the eighth aspect, and a server;
  • the server is configured to connect the first electronic device and the second electronic device.
  • An embodiment of the present invention provides a method and a device for starting a program based on wind sound detection, which belong to a startup field, and the method includes: receiving a voice request input by a user, where the voice request includes at least For the audio parameter of the wind sound, the voice request corresponds to the control instruction; the audio parameter in the voice request is identified; the control command corresponding to the voice request is determined according to the audio parameter, and the control command is executed.
  • the method since the control command corresponding to the voice request can be executed by recognizing the audio parameter that can be recognized as the wind sound in the voice request input by the user, the method avoids the use of the traditional manual input.
  • the electronic device application simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased, and the satisfaction is satisfied.
  • FIG. 1 is a schematic diagram of an interaction system according to an embodiment of the present invention
  • FIG. 2 is a schematic diagram of an interaction system according to an embodiment of the present invention.
  • FIG. 3 is a schematic diagram of an interaction system according to an embodiment of the present invention.
  • FIG. 5 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 6 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 7 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 8 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 9 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 10 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 11 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 12 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 13 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • 15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • 16 is a flowchart of an application startup method according to an embodiment of the present invention.
  • FIG. 17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 20 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • FIG. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
  • An embodiment of the present invention provides an application startup method, which is applied to an interaction system including at least a user and an electronic device.
  • the electronic device includes at least a voice input module and sends a receiving module and a storage module, wherein the storage module stores at least one application; the voice receiving module receives a voice request input by the user, the voice request including at least an audio parameter that can be recognized as a wind sound, and the audio parameter can be an audio frequency
  • the audio parameter can also be an audio phase.
  • the audio parameter can also be other audio parameters.
  • the specific audio parameters are not limited in the embodiment of the present invention.
  • the voice receiving module of the electronic device may execute a control command corresponding thereto according to the voice request, and the control command may be a control command of the electronic device, or may be a control command of the application program, or may be Control instructions for application functions.
  • the control instruction of the electronic device includes: turning off the electronic device, and further including other control instructions of the electronic device, where the specific control instruction of the electronic device is not limited; the control command of the application program includes starting the application and closing.
  • the application which also includes other control instructions for the application
  • the embodiment of the present invention does not limit the control instruction of the specific application;
  • the control instruction of the application function includes the function of starting the application and the function of closing the application, and other control instructions of the function of the application, and the specific embodiment of the present invention
  • the control functions of the application function are not limited.
  • the application functions may include video functions, voice functions, game functions, etc.
  • other application functions may be included, and specific application functions are not used here.
  • the application may be a live chat application, a device screen on/off application, a social tool, etc., and the specific application is not limited in the embodiment of the present invention.
  • the method provided by the embodiment of the present invention may also be used in an interactive system including at least a first user, a first electronic device, a second user, and a second electronic device.
  • the first electronic device and the second electronic device respectively include at least a voice input module, a sending/receiving module, and a storage module, wherein the storage module is configured to store at least one application, and the voice input module is configured to receive a voice request input by the user.
  • the voice request is the same as the voice request in the previous interactive system, and will not be described here.
  • the first electronic device and the second electronic device may respectively perform interaction including at least voice request data through the sending/receiving module of the same, in which the executing body of the method provided by the present invention may include the first electronic
  • the device may also include a second electronic device, which is not limited in the embodiment of the present invention.
  • the target device of the control command is the first electronic device.
  • the voice input module of the first electronic device receives the voice request input by the first user, and executes The voice request corresponding to the control instruction; if the execution body is the second electronic device, the voice receiving module of the second electronic device sends the voice request input by the second user to the first electronic device through the sending/receiving module of the second user The voice requests a corresponding control command to cause the first electronic device to execute the control command.
  • the method provided by the embodiment of the present invention may also be used in an interaction system including at least a first user, a first electronic device, a second user, a second electronic device, and a communication server and an application server.
  • the first electronic device and the second electronic device respectively include at least a voice input module, a sending/receiving module, and a storage module, where the storage module stores And storing at least one application, the voice input module is configured to receive at least a voice request input by the user, the voice request includes at least communication voice request data and application voice request data, and the communication server and the application server at least include a receiving/transmitting module.
  • the first electronic device, the second electronic device, and the communication server may respectively perform, by using the sending/receiving module of the user, the voice request, at least for the interaction of the communication data; the first electronic device, the second electronic device, and the application data server may be configured.
  • the interaction of the method includes at least the application data, and the execution body of the method provided by the present invention may include the first electronic device, and may also include the second electronic device.
  • the embodiment of the present invention does not limit the specific execution subject in the interactive system.
  • the target electronic device that controls the command is the first electronic device, and when the voice request is used at least for the interaction of the communication data, if the execution body is the first electronic device, the voice input module of the first electronic device After receiving the voice request input by the first user, executing a control instruction corresponding to the voice request; if the execution body is the second electronic device, the voice input module of the second electronic device receives the voice request input by the second user, and then passes The own sending/receiving module sends the voice request to the communication server, and the communication server forwards the control instruction corresponding to the voice request to the first electronic device, so that the first electronic device executes the control command; if the execution body is the communication server, After receiving the control instruction corresponding to the voice request sent by the second electronic device through its own sending/receiving module, the sending/receiving module of the communication server sends the control command to the first electronic device, so that the first electronic device performs the control Instruction; when the voice request is used for interaction of application data,
  • the main body is
  • the opening of the application includes at least one of opening the application from the background running state to the current running state and opening the application from the closed state to the running state, the application.
  • the shutdown includes at least one of closing the application from the current running state to the background running state and closing the application from the running state to the closed state.
  • An embodiment of the present invention provides an application startup method. Referring to FIG. 4, the method process includes:
  • 401 Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to a control instruction.
  • the preset audio parameter is an audio parameter corresponding to the wind sound
  • the audio parameter is recognized as a wind sound.
  • control instruction includes an application control instruction
  • application control instruction includes starting the application or closing the application
  • determining the control instruction corresponding to the voice request includes:
  • control instruction includes a control instruction of the application function
  • the method further includes:
  • the application function is in the startup state, it is determined that the control instruction corresponding to the voice request is the startup application function.
  • control instruction includes an electronic control instruction
  • electronic device control instruction includes turning off the electronic device
  • determining the control instruction corresponding to the voice request includes:
  • the electronic device If the electronic device is in an activated state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • the embodiment of the present invention provides an application startup method.
  • the control instruction includes an application control instruction
  • the control application is used to control the target application as an application. Referring to FIG. 5, the method includes :
  • 501 Receive a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction.
  • the electronic device receives the voice request input by the user through the voice receiving module of the user, and the voice receiving module may include a microphone.
  • the voice receiving module may receive other electronic components.
  • the voice request sent by the device does not limit the manner in which the voice request is received in the embodiment of the present invention.
  • the voice request may be at least one voice segment input by the user and can be recognized as an audio parameter of the wind sound.
  • the voice segment may be a breath that the user blows in, or may be a voice stream that the user emits voice, or may be other energy.
  • the speech segment of the audio parameter recognized as wind sound the embodiment of the present invention does not limit at least one speech segment of the specific audio parameter that can be recognized as wind sound.
  • the voice request corresponds to the control instruction of the application
  • the control instruction includes at least starting the application, closing the application, or deleting the application, and at least including other control instructions of the application, which are in the embodiment of the present invention.
  • the specific application control instructions are not limited.
  • the preset audio parameter is an audio parameter corresponding to the wind sound
  • the voice request includes at least an audio parameter that can be recognized as a wind sound.
  • the audio parameter is recognized as a wind sound.
  • the audio parameter cannot be recognized as a wind sound.
  • the voice request includes an audio parameter that can be recognized as a wind sound
  • the user can input an audio parameter that can be recognized as a wind sound by blowing air to the voice input device of the electronic device, so that compared to the conventional voice input,
  • the user only needs to blow the voice recognition device to realize the control of the electronic device, increases the input mode, satisfies the personalized needs of the user, and further improves the user experience.
  • this method does not need to recognize speech because it only recognizes audio parameters.
  • the semantics and voice keywords in the request so save system resources and storage resources, and ensure the running speed of the device.
  • the electronic device detects whether the application is in an activated state or a closed state by detecting an running status identifier of the application, and the running status identifier is used to indicate whether the application is in an activated state or a closed state.
  • the application may be a computer program capable of at least implementing the functions of the device.
  • the control command corresponding to the voice request including at least one voice segment is to close the application.
  • the control command corresponding to the voice request including at least one voice segment is to start the application.
  • step 503 to step 505 a process of determining a control command corresponding to the voice request according to the audio parameter, where the control command is a control command including at least a control application startup or shutdown, in addition to the foregoing manner,
  • the manner of determining the application control instruction corresponding to the voice request is not limited in the embodiment of the present invention.
  • control instruction of the application program is executed by calling the program code corresponding to the application control instruction, and the specific implementation manner of the embodiment of the present invention is not limited.
  • the execution control instruction includes executing a control instruction for starting the application, or executing a control instruction for closing the application, and may further include executing a control instruction for deleting the application, in addition to Other control instructions of the application program may be executed.
  • the embodiment of the present invention does not limit the specific control instructions for executing the application.
  • This method further increases the user experience by reducing the operational steps when opening or closing an application, increasing the efficiency of opening or closing an application.
  • the embodiment of the present invention provides an application startup mode, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • the embodiment of the present invention provides an application startup method.
  • the control instruction includes an application function control instruction, and the control application is used to control the target application function as an application function. See FIG.
  • the method flow includes:
  • step 501 in the second embodiment is the same as step 501 in the second embodiment, and details are not described herein again.
  • step is the same as step 502 in the second embodiment, and details are not described herein again.
  • step 604 is performed, and if the application is in a closed state, the process ends.
  • step is the same as step 503 in the second embodiment, and details are not described herein again.
  • the electronic device detects whether the application function is in an activated state or a closed state by detecting an running status identifier of the application function, and the running status identifier is used to indicate whether the application function is in an activated state or a closed state.
  • the application function may include a video function of the application, a voice function of the application, an audio playing function, a chat function of the application, and a game function, and may also include Other functions of the application, the embodiment of the present invention does not limit the specific application function.
  • the control command corresponding to the voice request including at least one voice segment is to close the application function.
  • the control command corresponding to the voice request including at least one voice segment is to start the application function.
  • the steps 603 to 606 are processes for determining a control instruction corresponding to the voice request according to the audio parameter, and the control instruction is a control instruction including at least a function of starting or closing the control application function, in addition to the foregoing manner,
  • the manner of determining the application function control command corresponding to the voice request is not limited in the embodiment of the present invention.
  • control instruction for executing the application function is executed by calling the program code corresponding to the application function control instruction, and the specific implementation manner of the embodiment of the present invention is not limited.
  • the executing the control instruction includes executing a control instruction for starting the application function, or executing a control instruction for closing the application function, and may further include executing a control instruction for deleting the application function.
  • other control instructions of the application function may be executed, and the specific control instructions for executing the application function are not limited in the embodiment of the present invention.
  • This approach further increases the user experience by reducing the operational steps of turning the application on or off, increasing the efficiency of turning the application on or off.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • control instruction includes an electronic device control instruction, where the control instruction is used to shut down the electronic device.
  • control instruction includes an electronic device control instruction, where the control instruction is used to shut down the electronic device.
  • the method process includes:
  • step 501 in the second embodiment is the same as step 501 in the second embodiment, and details are not described herein again.
  • step is the same as step 502 in the second embodiment, and details are not described herein again.
  • the electronic device detects whether the electronic device is in an activated state by detecting an operating status identifier of the electronic device, and the running identifier is used to indicate whether the electronic device is in an activated state.
  • the electronic device may be a smart phone or a tablet (Tablet)
  • the personal computer may be other electronic devices, and the specific electronic device is not limited in the embodiment of the present invention.
  • the control command corresponding to the voice request including at least one voice segment is to turn off the electronic device.
  • step 703 to step 704 a process of determining a control command corresponding to the voice request according to the audio parameter, where the control command is a control command including at least controlling whether the electronic device is started or turned off, in addition to the foregoing manner
  • the manner of determining the electronic device control instruction corresponding to the voice request is not limited in the embodiment of the present invention.
  • control instruction of the electronic device is executed, and the control instruction is executed by calling the program code corresponding to the electronic device control instruction.
  • the specific implementation manner of the embodiment of the present invention is not limited.
  • the execution of the control instruction includes executing a control instruction for shutting down the electronic device.
  • other control commands of the electronic device may be executed.
  • the control command of the specific electronic device is not limited in the embodiment of the present invention.
  • the method reduces the operational steps of turning off the electronic device, improves the efficiency of turning off the electronic device, and further increases the user experience.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method further improves the user's input mode, simplifies the application operation steps, and improves the user interaction with other people. User's interactive experience.
  • control instruction includes an application control instruction, where the control application is used to control the target application into multiple applications, as shown in FIG.
  • the process includes:
  • step 501 in the second embodiment is the same as step 501 in the second embodiment, and details are not described herein again.
  • step is the same as step 502 in the second embodiment, and details are not described herein again.
  • step 803. Check whether multiple applications are in a startup state or a shutdown state. If multiple applications are in the startup state, step 804 is performed. If multiple applications are in the shutdown state, step 805 is performed.
  • the running status identifier of each application is obtained, and the running status identifier of each application is used to indicate whether each application is in an activated state or a closed state, and the electronic device determines by detecting the running status identifier of each application. Whether multiple applications are up or down.
  • the plurality of applications are respectively computer programs capable of realizing at least the functions of the device.
  • the control command corresponding to the voice request of the at least one voice segment is to close multiple applications.
  • the control command corresponding to the voice request including at least one voice segment is to start multiple applications.
  • steps 803 to 805 are processes for determining a control command corresponding to the voice request according to the audio parameter.
  • the multiple application control commands corresponding to the voice request may be determined by other methods.
  • the manner of determining a plurality of application control commands corresponding to a voice request is not limited.
  • control instruction for controlling the plurality of application programs is executed, and each application control command is executed by respectively calling the program code corresponding to each application control command.
  • the specific execution manner of the embodiment of the present invention is not limited.
  • the executing the control instruction includes executing the control instruction for starting the at least one application, or executing the control instruction for closing the at least one application, and further comprising executing the control instruction for deleting the at least one application, in addition to performing the For the other control commands corresponding to the application, the specific control commands are not limited in the embodiment of the present invention.
  • the method further includes performing step 901.
  • control instruction is to close multiple applications, receive a user-triggered instruction, select one of the multiple applications, and close the one application.
  • the user selects one of the multiple applications by using a manually triggered instruction, or selects one of the multiple applications by other means, and the embodiment of the present invention does not specifically select one of the multiple applications. Limited.
  • the application is closed, the user can manually close the shutdown command, and the user can be closed by receiving a voice request input by the user.
  • the application can be closed by other means.
  • the embodiment of the present invention does not limit the specific manner of closing the application.
  • the method further includes performing step 1001,
  • control command is to open multiple applications, receive a user-triggered instruction, select one of the multiple applications, and start the one application.
  • the user selects one of the multiple applications by using a manually triggered instruction, or
  • the manner of selecting one of the plurality of applications is not limited in the embodiment of the present invention.
  • the application is started, the startup command is manually triggered by the user, and the application is started by receiving a voice request input by the user.
  • the application can be started by other means.
  • the embodiment of the present invention does not limit the specific manner of starting the application.
  • This method further increases the user experience by reducing the operational steps when turning on or off multiple applications, increasing the efficiency of turning on or off multiple application functions.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • one of the plurality of applications may be selected by the triggered instruction, and the control instruction of the one application may be executed, thereby determining the control instruction corresponding to the plurality of application programs corresponding to the voice request by identifying only the audio parameter, and selecting the control instruction At least one application that performs the steps of launching the application or closing the application, thereby simplifying the steps of starting or shutting down the application and improving the user experience.
  • the embodiment of the present invention provides an application startup method.
  • the control instruction includes an application function control instruction
  • the control application is used to control the target application function as a plurality of application functions, as shown in FIG.
  • the method flow includes:
  • step 501 in the second embodiment is the same as step 501 in the second embodiment, and details are not described herein again.
  • step is the same as step 502 in the second embodiment, and details are not described herein again.
  • step 1104 is performed, and if the application is in the shutdown state, the process ends.
  • step is the same as step 503 in the second embodiment, and details are not described herein again.
  • step 1104. Check whether multiple application functions are in an activated state or a closed state. If multiple applications are in a startup state, step 1105 is performed. If multiple applications are in a closed state, step 1106 is performed.
  • the running status identifier of each application function is obtained, and the running status identifier of each application function is used to indicate whether each application function is in an activated state or a closed state, and the electronic device detects the running of each application function.
  • Status indicator to determine whether multiple application functions are in the startup state or the shutdown state.
  • the control command corresponding to the voice request including at least one voice segment is to close multiple applications.
  • the control command corresponding to the voice request including at least one voice segment is to start a plurality of application functions.
  • the step 1103 to the step 1105 is a process of determining a control instruction corresponding to the voice request according to the audio parameter, where the control instruction is a control instruction including controlling a plurality of application function activation or shutdown, in addition to the foregoing manner,
  • the manner of determining a plurality of application function control commands corresponding to the voice request is not limited in the embodiment of the present invention.
  • a control instruction for executing a plurality of application function functions is executed by calling a program code corresponding to each application function control instruction to execute each application function control instruction.
  • the specific implementation manner is not limited in the embodiment of the present invention. .
  • the executing the control instruction includes executing at least one control instruction for starting an application function, or executing a control instruction for turning off at least one application function, and may further include executing a control instruction for deleting an application function, and in addition, executing
  • the other control commands corresponding to the plurality of application functions are not limited to the specific execution of the control commands corresponding to the plurality of application functions.
  • the method further includes performing step 1201,
  • control instruction is to close multiple application functions, receive a user-triggered instruction, select one of a plurality of application functions, and close the one application function.
  • the user selects one of the multiple application functions by using a manually triggered instruction, or selects one of the multiple application functions by other means, and the embodiment of the present invention specifically selects one of the multiple application functions.
  • the way is not limited.
  • the function of the application is closed, and the user can manually close the shutdown command, and can also close the application function by receiving a voice request input by the user.
  • the one can be closed by other means.
  • the application function, the embodiment of the present invention does not limit the specific manner of closing the function of the one application.
  • the method further includes performing step 1301,
  • control command is to start a plurality of application functions
  • receive a user-triggered instruction select one of a plurality of application functions, and start the one application function.
  • the user selects one of the multiple application functions by using a manually triggered instruction, or selects one of the multiple application functions by other means, and the embodiment of the present invention specifically selects one of the multiple application functions.
  • the way is not limited.
  • the function of the application is started, and the startup command can be manually triggered by the user.
  • the application function can be started by receiving a voice request input by the user.
  • the application function can be started by other means, and the embodiment of the present invention specifically activates the function of the application. The method is not limited.
  • the method improves the efficiency of turning on or off multiple application functions by further reducing the operation steps when opening or closing multiple application functions, further increasing the user experience.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • one of the plurality of application functions may be selected by the triggered instruction to execute the control instruction of the one application function, thereby determining the control instruction corresponding to the plurality of application functions corresponding to the voice request by only identifying the audio parameter, Select at least one of the application functions to perform the steps of starting or closing the one application function, thereby simplifying the steps of starting or closing multiple application functions, thereby improving the user experience.
  • An embodiment of the present invention provides an electronic device 14.
  • the electronic device 14 includes:
  • the receiving module 141 is configured to receive a voice request input by the user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • An identification module 142 configured to identify an audio parameter in the voice request
  • the determining module 143 determines, according to the audio parameter, a control instruction corresponding to the voice request
  • An execution module 144 configured to execute a control instruction
  • the storage module 145 is configured to store voice requests, control commands, and audio parameters.
  • the identification module 142 is specifically configured to:
  • the audio parameter is recognized as a wind sound.
  • the electronic device 14 further includes:
  • a detection module configured to detect whether the application is in an activated state or a closed state
  • the determining module 143 is specifically configured to: when the application is in the startup state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in the closed state, determine that the control instruction corresponding to the voice request is to start the application.
  • the detection module is further configured to detect whether the application function is in an activated state or a closed state
  • the determining module 143 is configured to: when the application function is in the startup state, determine that the control instruction corresponding to the voice request is to close the application function; when the application function is in the closed state, determine that the control instruction corresponding to the voice request is to start the application Features.
  • the detecting module is further configured to detect whether the electronic device is in an activated state
  • the determining module 143 is configured to: when the electronic device is in an activated state, determine that the control command corresponding to the voice request is to turn off the electronic device.
  • the embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input.
  • To activate the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
  • An embodiment of the present invention provides an electronic device 15, as shown in FIG. 15, including a voice input module 1501, a sending module 1502, a receiving module 1503, a memory 1504, and a voice input module 1501, a sending module 1502, a receiving module 1503, and a memory, respectively.
  • 1504 connected processor 1505, wherein a set of program codes is stored in the memory 1504, and the processor 1505 is configured to call the program code stored in the memory 1504 to perform the following operations:
  • the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • a control instruction corresponding to the voice request is determined, and the control instruction is executed.
  • the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
  • the audio parameter is recognized as a wind sound.
  • the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
  • the processor 1505 is further configured to call the program code stored in the memory 1504 to perform the following operations:
  • the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
  • the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
  • the electronic device If the electronic device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
  • the embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input.
  • To activate the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
  • An embodiment of the present invention provides an application startup method, where the method is applied to a first electronic device. Referring to FIG. 16, the method includes:
  • step is the same as step 602 in the second embodiment, and details are not described herein again.
  • the first electronic device sends the voice parameter to the second power through its own sending/receiving module.
  • the transmitting/receiving module of the sub-device can also send the audio parameter to the transmitting/receiving module of the second electronic device through the mobile device connected to itself, and can also send the audio parameter to the second electronic device by other means.
  • the device does not limit the specific manner in which the audio parameter is sent to the second electronic device.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • the embodiment of the present invention provides a first electronic device 17, as shown in FIG. 17, the electronic device 17 includes:
  • the receiving module 171 is configured to receive a voice request input by the user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • An identification module 172 configured to identify an audio parameter in the voice request
  • the identification module 172 is specifically configured to determine a similarity between the audio parameter and the preset audio parameter in the preset time period, where the preset audio parameter is an audio parameter corresponding to the wind sound;
  • the audio parameter is recognized as a wind sound.
  • the embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. Simplify startup by launching an electronic device application The operation steps of the program improve the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased, and the personalized requirements of the user are satisfied, and the user is further improved. In addition, the method also simplifies the operation steps of the application by increasing the input mode of the user, and improves the interaction experience of the user in a scenario in which the user interacts with others.
  • the embodiment of the present invention provides a first electronic device 18, as shown in FIG. 18, including a voice input module 1801, a sending module 1802, a receiving module 1803, a memory 1804, and a voice input module 1801, a sending module 1802, and a receiving module 1803, respectively.
  • the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
  • the audio parameters are sent to the second electronic device.
  • the processor 1805 is further configured to call the program code stored in the memory 1804 to perform the following operations:
  • the audio parameter is recognized as a wind sound.
  • the embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input.
  • To activate the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. Satisfied with the user Personalized requirements further improve the user experience; in addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
  • An embodiment of the present invention provides an application startup method, where the method is applied to a second electronic device.
  • the method process includes:
  • the second electronic device receives the audio parameter sent by the first electronic device through its own sending/receiving module, and can also receive the audio parameter sent by the first electronic device by using the mobile device connected to itself, in addition to The audio parameters sent by the first electronic device are received in other manners.
  • the embodiment of the present invention does not limit the specific audio parameters sent by the first electronic device.
  • control instruction includes an application control instruction
  • application control instruction includes starting the application or closing the application
  • determining the control instruction corresponding to the voice request includes:
  • control instruction includes a control instruction of the application function
  • the method further includes:
  • the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
  • control instruction includes a device control instruction
  • the device control instruction includes closing the device
  • determining the control instruction corresponding to the voice request includes:
  • the device If the device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the device.
  • the embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • the embodiment of the present invention provides a second electronic device 20.
  • the electronic device 20 includes:
  • the receiving module 201 is configured to receive an audio parameter sent by the first electronic device
  • the determining module 202 is configured to determine, according to the audio parameter, a control instruction corresponding to the voice request;
  • the execution module 203 is configured to execute a control instruction.
  • the electronic device 20 further includes:
  • a detection module configured to detect whether the application is in an activated state or a closed state
  • the confirmation module 202 is specifically configured to: when the application is in the startup state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in the closed state, determine that the control instruction corresponding to the voice request is to start the application.
  • the detection module is further configured to detect whether the application function is in an activated state or a closed state
  • the confirmation module 202 is configured to: when the application function is in the startup state, determine that the control instruction corresponding to the voice request is to close the application function; when the application function is in the closed state, determine that the control instruction corresponding to the voice request is to start the application Features.
  • the detecting module is further configured to detect whether the electronic device is in an activated state
  • the confirmation module 202 is configured to: when the electronic device is in an activated state, determine that the control command corresponding to the voice request is to turn off the electronic device.
  • the embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input.
  • To activate the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
  • the embodiment of the present invention provides a second electronic device 21, which includes a voice input module 2101, a sending module 2102, a receiving module 2103, a memory 2104, and a voice input module 2101, a sending module 2102, and a receiving module 2103, respectively.
  • the memory 2104 is connected to the processor 2105, wherein the memory 2104 stores a set of program codes, and the processor 2105 is configured to call the program code stored in the memory 2104 to perform the following operations:
  • processor 2105 is further configured to invoke the program code stored in the memory 2104, and perform the following operations:
  • the processor 2105 is further configured to call the program code stored in the memory 2104 to perform the following operations:
  • the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
  • processor 2105 is further configured to invoke the program code stored in the memory 2104, and perform the following operations:
  • the electronic device If the electronic device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
  • An embodiment of the present invention provides an electronic device that determines an audio parameter that can be recognized as a wind sound in a voice request of a first electronic device, and determines a control instruction corresponding to the voice request according to the audio parameter, thereby simplifying an operation procedure of the startup program. Improve the user experience.
  • An embodiment of the present invention provides an application startup system, where the system includes:
  • a first electronic device of the tenth embodiment a second electronic device of the twelfth embodiment, and a server;
  • the server is configured to connect the first electronic device and the second electronic device.
  • the first electronic device can implement the closing of the second electronic device by transmitting a voice request including an audio parameter that can be recognized as a wind sound to the second electronic device, on the second electronic device.
  • the opening and closing of the application and the opening and closing of the application function on the second electronic device further improve the user's interactive experience by implementing the control of the second electronic device by the first electronic device.
  • the embodiment of the present invention provides an application startup system, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request.
  • Manual input to launch the electronic device application which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased.
  • the method satisfies the user's individual needs and further improves the user experience.
  • the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
  • a person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium.
  • the storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.

Abstract

An application program starting method and an electronic device, which pertain to the field of communications. The method comprises: receiving a voice request input by a user, the voice request comprising at least audio parameters capable of being recognized as sounds of wind, and the voice request corresponding to a control instruction (401); recognizing the audio parameters in the voice request (402); and determining, according to the audio parameters, the control instruction corresponding to the voice request, and executing the control instruction (403). By recognizing audio parameters in a voice request, a control instruction corresponding to the voice request is determined according to the audio parameters, thus simplifying operation steps of starting a program, and improving the user experience.

Description

一种应用程序启动方法和电子设备Application startup method and electronic device 技术领域Technical field
本发明涉及通信领域,特别涉及一种应用程序启动方法和电子设备。The present invention relates to the field of communications, and in particular, to an application startup method and an electronic device.
背景技术Background technique
现有的电子设备是通过手动的方式开启一个或多个应用程序,实现其功能,但是,该方法无法满足用户日益增长的对电子设备操作便捷性的要求,为了提高用户体验,需要提供一种操作更加便捷的应用程序启动方法。The existing electronic device realizes the function by manually opening one or more applications, but the method cannot meet the increasing requirements of the user for the convenience of operation of the electronic device. In order to improve the user experience, it is necessary to provide a A more convenient way to start an application.
现有技术提供了一种程序启动和关闭的方法,通过接收用户输入的语音指令,识别该语音指令所包括的操作指令,并确定该语音指令所指示的应用程序,再根据该操作指令对程序进行启动或者关闭操作。The prior art provides a method for starting and shutting down a program, by receiving a voice instruction input by a user, identifying an operation instruction included in the voice instruction, and determining an application program indicated by the voice instruction, and then, according to the operation instruction, the program Start or shut down.
但是,由于语音识别技术复杂,同时大量占用电子设备的处理资源和存储资源,使得在采用现有技术提供的方法时,影响设备的使用,当识别不准确时,还需要用户反复输入语音指令,从而降低了用户体验效果,不利于用户操作。However, due to the complexity of the speech recognition technology and the large occupation of the processing resources and storage resources of the electronic device, the use of the method provided by the prior art affects the use of the device. When the recognition is inaccurate, the user is required to repeatedly input the voice command. Thereby reducing the user experience effect, which is not conducive to user operations.
发明内容Summary of the invention
为了简化操作步骤,提高用户体验,本发明实施例提供了一种应用程序启动方法、电子设备和系统。所述技术方案如下:In order to simplify the operation steps and improve the user experience, an embodiment of the present invention provides an application startup method, an electronic device, and a system. The technical solution is as follows:
第一方面,提供了一种应用程序启动方法,所述方法包括:In a first aspect, an application startup method is provided, the method comprising:
接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
根据所述音频参数,确定所述语音请求对应的控制指令,并执行所述控制 指令。Determining, according to the audio parameter, a control instruction corresponding to the voice request, and performing the control instruction.
结合第一方面,在第一种可能的实现方式中,所述识别所述语音请求中的音频参数包括:In conjunction with the first aspect, in a first possible implementation, the identifying the audio parameters in the voice request includes:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
结合第一方面,在第二种可能的实现方式中,若所述控制指令包括应用程序控制指令,所述应用程序控制指令至少包括启动应用程序或者关闭应用程序,确定所述语音请求对应的控制指令包括:With reference to the first aspect, in a second possible implementation, if the control instruction includes an application control instruction, the application control instruction includes at least starting an application or closing an application, and determining a control corresponding to the voice request. Instructions include:
检测所述应用程序是否处于启动状态或者关闭状态;Detecting whether the application is in an activated state or a closed state;
若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
结合第一方面,在第三种可能的实现方式中,若所述控制指令包括应用程序功能控制指令,则在所述应用程序处于启动状态之后,确定所述语音请求对应的控制指令包括:With reference to the first aspect, in a third possible implementation, if the control instruction includes an application function control instruction, after the application is in an activated state, determining that the control instruction corresponding to the voice request comprises:
检测所述应用程序功能是否处于启动状态或者关闭状态;Detecting whether the application function is in an activated state or a closed state;
若所述应用程序功能处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序功能。If the application function is in an activated state, determining that the control command corresponding to the voice request is to close the application function.
若所述应用程序功能处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序功能。If the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
结合第一方面,在第四种可能的实现方式中,若所述控制指令包括电子设备控制指令,所述电子设备控制指令包括关闭电子设备,确定所述语音请求对应的控制指令包括: With reference to the first aspect, in a fourth possible implementation, if the control instruction includes an electronic device control instruction, the electronic device control instruction includes: turning off the electronic device, and determining the control instruction corresponding to the voice request includes:
检测所述电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若所述电子设备处于启动状态,则确定所述语音请求对应的控制指令为关闭所述电子设备。If the electronic device is in an activated state, determining that the control command corresponding to the voice request is to close the electronic device.
第二方面,还提供了一种电子设备,所述电子设备包括:In a second aspect, an electronic device is provided, the electronic device comprising:
接收模块,用于接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;a receiving module, configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别模块,用于识别所述语音请求中的音频参数;An identification module, configured to identify an audio parameter in the voice request;
确定模块,根据所述音频参数,确定所述语音请求对应的控制指令;Determining, by the module, determining a control instruction corresponding to the voice request;
执行模块,用于执行所述控制指令。An execution module is configured to execute the control instruction.
结合第二方面,在第一种可能的实现方式中,所述识别模块具体用于:With reference to the second aspect, in a first possible implementation manner, the identifying module is specifically configured to:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
结合第二方面,在第二种可能的实现方式中,若所述控制指令包括应用程序控制指令,所述应用程序控制指令至少包括启动应用程序或者关闭应用程序,With reference to the second aspect, in a second possible implementation, if the control instruction includes an application control instruction, the application control instruction includes at least starting the application or closing the application,
所述设备还包括检测模块,用于检测所述应用程序是否处于启动状态或者关闭状态;The device further includes a detecting module, configured to detect whether the application is in an activated state or a closed state;
所述确认模块具体用于,当所述应用程序处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述应用程序;当所述应用程序处于关闭状态时,则确定所述语音请求对应的控制指令为启动所述应用程序。The confirmation module is specifically configured to: when the application is in an activated state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in a closed state, determine the voice The corresponding control command is requested to start the application.
结合第二方面,在第三种可能的实现方式中,若所述控制指令包括应用程序功能的控制指令,With reference to the second aspect, in a third possible implementation, if the control instruction includes a control instruction of an application function,
所述检测模块用于,检测所述应用程序功能是否处于启动状态或者关闭状态;The detecting module is configured to detect whether the application function is in an activated state or a closed state;
所述确认模块用于,当所述应用程序功能处于启动状态时,则确定所述语 音请求对应的控制指令为关闭所述应用程序功能;当所述应用程序功能处于关闭状态时,则确定所述语音请求对应的控制指令为启动所述应用程序功能。The confirmation module is configured to determine the language when the application function is in an activated state The control command corresponding to the tone request is to close the application function; when the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
结合第二方面,在第四种可能的实现方式中,若所述控制指令包括电子设备控制指令,所述电子设备控制指令包括关闭电子设备,With reference to the second aspect, in a fourth possible implementation, if the control instruction includes an electronic device control instruction, the electronic device control instruction includes turning off the electronic device,
所述检测模块还用于,检测所述电子设备是否处于启动状态;The detecting module is further configured to detect whether the electronic device is in an activated state;
所述确认模块用于,当所述电子设备处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述电子设备。The confirmation module is configured to: when the electronic device is in an activated state, determine that the control instruction corresponding to the voice request is to close the electronic device.
第三方面,提供了一种电子设备,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块和所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:In a third aspect, an electronic device is provided, including a voice input module, a sending module, a receiving module, a memory, and a processor respectively connected to the voice input module, the sending module, the receiving module, and the memory, The memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory, and perform the following operations:
接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
根据所述音频参数,确定所述语音请求对应的控制指令,并执行所述控制指令。Determining, according to the audio parameter, a control instruction corresponding to the voice request, and executing the control instruction.
结合第三方面,在第一种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the third aspect, in a first possible implementation, the processor is further configured to invoke program code stored in the memory, and perform the following operations:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
结合第三方面,在第二种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the third aspect, in a second possible implementation, the processor is further configured to invoke program code stored in the memory, and perform the following operations:
所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:The processor is further configured to invoke program code stored in the memory, and perform the following operations:
检测所述应用程序是否处于启动状态或者关闭状态; Detecting whether the application is in an activated state or a closed state;
若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
结合第三方面,在第三种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the third aspect, in a third possible implementation, the processor is further configured to invoke program code stored in the memory, and perform the following operations:
检测所述应用程序功能是否处于启动状态或者关闭状态;Detecting whether the application function is in an activated state or a closed state;
若所述应用程序功能处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序功能。If the application function is in an activated state, determining that the control command corresponding to the voice request is to close the application function.
若所述应用程序功能处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序功能。If the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
结合第三方面,在第四种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:With reference to the third aspect, in a fourth possible implementation, the processor is further configured to invoke the program code stored in the memory, and perform the following operations:
检测所述电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若所述电子设备处于启动状态,则确定所述语音请求对应的控制指令为关闭所述电子设备。If the electronic device is in an activated state, determining that the control command corresponding to the voice request is to close the electronic device.
第四方面,提供了一种应用程序启动方法,所述方法应用于第一电子设备,其特征在于,所述方法包括:In a fourth aspect, an application startup method is provided, where the method is applied to a first electronic device, and the method includes:
接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
识别所述语音请求中的音频参数;将所述音频参数发送至第二电子设备。Identifying audio parameters in the voice request; transmitting the audio parameters to a second electronic device.
结合第四方面,在第一种可能的实现方式中,所述识别所述语音请求中的音频参数包括:With reference to the fourth aspect, in a first possible implementation, the identifying the audio parameters in the voice request includes:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音 频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the sound is The frequency parameter is identified as wind sound.
第五方面,提供了一种第一电子设备,其特征在于,所述设备包括:In a fifth aspect, a first electronic device is provided, the device comprising:
接收模块,用于接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;a receiving module, configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别模块,用于识别所述语音请求中的音频参数;An identification module, configured to identify an audio parameter in the voice request;
发送模块,用于将所述音频参数发送至第二电子设备。And a sending module, configured to send the audio parameter to the second electronic device.
结合第五方面,在第一种可能的实现方式中,所述识别模块具体用于:With reference to the fifth aspect, in a first possible implementation manner, the identifying module is specifically configured to:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
第六方面,提供了一种第一电子设备,其特征在于,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块和所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:According to a sixth aspect, a first electronic device is provided, including: a voice input module, a sending module, a receiving module, a memory, and the voice input module, the sending module, the receiving module, and the A memory-connected processor, wherein the memory stores a set of program code, the processor is configured to invoke program code stored in the memory, and perform the following operations:
接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
将所述音频参数发送至第二电子设备。The audio parameter is sent to the second electronic device.
结合第六方面,在第一种可能的实现方式中,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the sixth aspect, in a first possible implementation, the processor is further configured to invoke program code stored in the memory, and perform the following operations:
判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
第七方面,提供了一种应用程序启动方法,所述方法应用于第二电子设备, 其特征在于,所述方法包括:In a seventh aspect, an application startup method is provided, the method being applied to a second electronic device, The method is characterized in that: the method comprises:
接收第一电子设备发送的音频参数;Receiving audio parameters sent by the first electronic device;
根据所述音频参数,确定语音请求对应的控制指令;Determining, according to the audio parameter, a control instruction corresponding to the voice request;
执行所述控制指令。Execute the control instruction.
结合第七方面,在第一种可能的实现方式中,若所述控制指令包括应用程序控制指令,所述应用程序控制指令包括启动应用程序或者关闭应用程序,确定所述语音请求对应的控制指令包括:With reference to the seventh aspect, in a first possible implementation, if the control instruction includes an application control instruction, the application control instruction includes starting an application or closing an application, and determining a control instruction corresponding to the voice request. include:
检测所述应用程序是否处于启动状态或者关闭状态;Detecting whether the application is in an activated state or a closed state;
若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
结合第七方面,在第二种可能的实现方式中,若所述控制指令包括应用程序功能的控制指令,则在所述应用程序处于启动状态之后,所述方法还包括:With reference to the seventh aspect, in a second possible implementation, if the control instruction includes a control instruction of an application function, after the application is in an activated state, the method further includes:
检测所述应用程序功能是否处于启动状态或者关闭状态;Detecting whether the application function is in an activated state or a closed state;
若所述应用程序功能处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序功能。If the application function is in an activated state, determining that the control command corresponding to the voice request is to close the application function.
若所述应用程序功能处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序功能。If the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
结合第七方面,在第三种可能的实现方式中,若所述控制指令包括电子设备控制指令,所述电子设备控制指令包括关闭电子设备,确定所述语音请求对应的控制指令包括:With reference to the seventh aspect, in a third possible implementation, if the control instruction includes an electronic device control instruction, the electronic device control instruction includes: shutting down the electronic device, and determining the control instruction corresponding to the voice request includes:
检测所述电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若所述电子设备处于启动状态,则确定所述语音请求对应的控制指令为关闭所述电子设备。If the electronic device is in an activated state, determining that the control command corresponding to the voice request is to close the electronic device.
第八方面,提供了一种第二电子设备,所述设备包括: In an eighth aspect, a second electronic device is provided, the device comprising:
接收模块,用于接收第一电子设备发送的音频参数;a receiving module, configured to receive an audio parameter sent by the first electronic device;
确定模块,用于根据所述音频参数,确定所述语音请求对应的控制指令;a determining module, configured to determine, according to the audio parameter, a control instruction corresponding to the voice request;
执行模块,用于执行所述控制指令。An execution module is configured to execute the control instruction.
结合第八方面,在第一种可能的实现方式中,若所述控制指令包括应用程序控制指令,所述应用程序控制指令至少包括启动应用程序或者关闭应用程序,所述设备还包括检测模块:With reference to the eighth aspect, in a first possible implementation, if the control instruction includes an application control instruction, the application control instruction includes at least starting an application or closing an application, and the device further includes a detection module:
所述检测模块用于检测所述应用程序是否处于启动状态或者关闭状态;The detecting module is configured to detect whether the application is in an activated state or a closed state;
所述确认模块用于,当所述应用程序处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述应用程序;当所述应用程序处于关闭状态时,则确定所述语音请求对应的控制指令为启动所述应用程序。The confirmation module is configured to: when the application is in an activated state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in a closed state, determine the voice request The corresponding control command is to start the application.
结合第八方面,在第二种可能的实现方式中,若所述控制指令包括应用程序功能的控制指令,所述检测模块用于:With reference to the eighth aspect, in a second possible implementation, if the control instruction includes a control instruction of an application function, the detecting module is configured to:
检测所述应用程序的功能是否处于启动状态或者关闭状态;Detecting whether the function of the application is in an activated state or a closed state;
所述确认模块用于,当所述应用程序功能处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述功能程序;当所述应用的功能程序处于关闭状态时,则确定所述语音请求对应的控制指令为启动所述功能程序。The confirmation module is configured to: when the application function is in an activated state, determine that the control instruction corresponding to the voice request is to close the function program; when the function program of the application is in a closed state, determine The control command corresponding to the voice request is to start the function program.
结合第八方面,在第三种可能的实现方式中,若所述控制指令包括电子设备控制指令,所述电子设备控制指令包括关闭电子设备,With reference to the eighth aspect, in a third possible implementation, if the control instruction includes an electronic device control instruction, the electronic device control instruction includes: turning off the electronic device,
所述检测模块还用于,检测所述电子设备是否处于启动状态;The detecting module is further configured to detect whether the electronic device is in an activated state;
所述确认模块用于,当所述电子设备处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述电子设备。The confirmation module is configured to: when the electronic device is in an activated state, determine that the control instruction corresponding to the voice request is to close the electronic device.
第九方面,提供了一种第二电子设备,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块以及所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A ninth aspect provides a second electronic device, including a voice input module, a sending module, a receiving module, a memory, and a process respectively connected to the voice input module, the sending module, the receiving module, and the memory And storing, in the memory, a set of program codes, the processor is configured to call the program code stored in the memory, and perform the following operations:
接收第一电子设备发送的音频参数; Receiving audio parameters sent by the first electronic device;
根据所述音频参数,确定所述语音请求对应的控制指令;Determining, according to the audio parameter, a control instruction corresponding to the voice request;
执行所述控制指令。Execute the control instruction.
结合第九方面,在第一种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the ninth aspect, in a first possible implementation, the processor is configured to invoke program code stored in the memory, and perform the following operations:
检测所述应用程序是否处于启动状态或者关闭状态;Detecting whether the application is in an activated state or a closed state;
若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
结合第九方面,在第二种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the ninth aspect, in a second possible implementation, the processor is configured to invoke program code stored in the memory, and perform the following operations:
检测所述应用程序功能是否处于启动状态或者关闭状态;Detecting whether the application function is in an activated state or a closed state;
若所述应用程序的程序处于启动状态,则确定所述语音请求对应的控制指令为启动所述功能程序。If the program of the application is in an activated state, determining that the control command corresponding to the voice request is to start the function program.
若所述应用的功能程序处于关闭状态,则确定所述语音请求对应的控制指令为关闭所述功能程序。If the function program of the application is in the off state, determining that the control command corresponding to the voice request is to close the function program.
结合第九方面,在第三种可能的实现方式中,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:In conjunction with the ninth aspect, in a third possible implementation, the processor is configured to invoke program code stored in the memory, and perform the following operations:
检测所述电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若所述电子设备处于启动状态,则确定所述语音请求对应的控制指令为关闭所述电子设备。If the electronic device is in an activated state, determining that the control command corresponding to the voice request is to close the electronic device.
第十方面,提供了一种应用程序启动系统,所述系统包括第五方面所述的第一电子设备、第八方面所述的第二电子设备以及服务器;According to a tenth aspect, an application startup system is provided, the system comprising the first electronic device of the fifth aspect, the second electronic device of the eighth aspect, and a server;
其中,所述服务器用于连接所述第一电子设备和所述第二电子设备。The server is configured to connect the first electronic device and the second electronic device.
本发明实施例提供了一种基于风声检测的程序启动方法、设备,属于启动领域,该方法包括:接收用户输入的语音请求,该语音请求至少包括能被识别 为风声的音频参数,该语音请求与控制指令相对应;识别该语音请求中的音频参数;根据音频参数,确定该语音请求对应的控制指令,并执行控制指令。通过本发明实施例提供的方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。An embodiment of the present invention provides a method and a device for starting a program based on wind sound detection, which belong to a startup field, and the method includes: receiving a voice request input by a user, where the voice request includes at least For the audio parameter of the wind sound, the voice request corresponds to the control instruction; the audio parameter in the voice request is identified; the control command corresponding to the voice request is determined according to the audio parameter, and the control command is executed. According to the method provided by the embodiment of the present invention, since the control command corresponding to the voice request can be executed by recognizing the audio parameter that can be recognized as the wind sound in the voice request input by the user, the method avoids the use of the traditional manual input. The electronic device application simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased, and the satisfaction is satisfied. The user's personalized needs further improve the user experience; in addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
附图说明DRAWINGS
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings used in the description of the embodiments will be briefly described below. It is obvious that the drawings in the following description are only some embodiments of the present invention. Other drawings may also be obtained from those of ordinary skill in the art in light of the inventive work.
图1是本发明实施例提供的一种交互系统示意图;FIG. 1 is a schematic diagram of an interaction system according to an embodiment of the present invention;
图2是本发明实施例提供的一种交互系统示意图;2 is a schematic diagram of an interaction system according to an embodiment of the present invention;
图3是本发明实施例提供的一种交互系统示意图;3 is a schematic diagram of an interaction system according to an embodiment of the present invention;
图4是本发明实施例提供的一种应用程序启动方法流程图;4 is a flowchart of an application startup method according to an embodiment of the present invention;
图5是本发明实施例提供的一种应用程序启动方法流程图;FIG. 5 is a flowchart of an application startup method according to an embodiment of the present invention;
图6是本发明实施例提供的一种应用程序启动方法流程图;FIG. 6 is a flowchart of an application startup method according to an embodiment of the present invention;
图7是本发明实施例提供的一种应用程序启动方法流程图;FIG. 7 is a flowchart of an application startup method according to an embodiment of the present invention;
图8是本发明实施例提供的一种应用程序启动方法流程图;FIG. 8 is a flowchart of an application startup method according to an embodiment of the present invention;
图9是本发明实施例提供的一种应用程序启动方法流程图;FIG. 9 is a flowchart of an application startup method according to an embodiment of the present invention;
图10是本发明实施例提供的一种应用程序启动方法流程图;FIG. 10 is a flowchart of an application startup method according to an embodiment of the present invention;
图11是本发明实施例提供的一种应用程序启动方法流程图; 11 is a flowchart of an application startup method according to an embodiment of the present invention;
图12是本发明实施例提供的一种应用程序启动方法流程图;FIG. 12 is a flowchart of an application startup method according to an embodiment of the present invention;
图13是本发明实施例提供的一种应用程序启动方法流程图;FIG. 13 is a flowchart of an application startup method according to an embodiment of the present invention;
图14是本发明实施例提供的一种电子设备结构示意图;FIG. 14 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图15是本发明实施例提供的一种电子设备结构示意图;15 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图16是本发明实施例提供的一种应用程序启动方法流程图;16 is a flowchart of an application startup method according to an embodiment of the present invention;
图17是本发明实施例提供的一种电子设备结构示意图;17 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图18是本发明实施例提供的一种电子设备结构示意图;FIG. 18 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图19是本发明实施例提供的一种应用程序启动方法流程图;19 is a flowchart of an application startup method according to an embodiment of the present invention;
图20是本发明实施例提供的一种电子设备结构示意图;20 is a schematic structural diagram of an electronic device according to an embodiment of the present invention;
图21是本发明实施例提供的一种电子设备结构示意图。FIG. 21 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
具体实施方式detailed description
为使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明实施方式作进一步地详细描述。The embodiments of the present invention will be further described in detail below with reference to the accompanying drawings.
本发明实施例提供一种应用程序启动方法,该方法应用于一种至少包括用户和电子设备的交互系统中,参照图1所示,在该交互系统中,电子设备至少包括语音输入模块、发送/接收模块和存储模块,其中,该存储模块存储至少一个应用程序;该语音接收模块接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该音频参数可以为音频频率,也可以为音频相位,除此之外,该音频参数还可以为其他音频参数,本发明实施例对具体的音频参数不加以限定。电子设备的语音接收模块在接收用户输入的语音请求后,可以根据该语音请求执行与其对应的控制指令,该控制指令可以为电子设备的控制指令,也可以为应用程序的控制指令,还可以为应用程序功能的控制指令。具体的,该电子设备的控制指令包括关闭电子设备,还包括电子设备的其他控制指令,本发明实施例对电子设备的具体的控制指令不加以限定;应用程序的控制指令包括启动应用程序和关闭应用程序,还包括应用程序的其他控制指令, 本发明实施例对具体的应用程序的控制指令不加以限定;应用程序功能的控制指令包括启动应用程序功能和关闭应用程序功能,还包括应用程序功能的其他控制指令,本发明实施例对具体的应用程序功能的控制指令不加以限定,其中,应用程序功能可以包括视频功能、语音功能和游戏功能等,除此之外,还可以包括其他应用程序功能,此处对具体的应用程序功能不加以限定,且应用程序可以为即时聊天应用程序、设备屏幕开启/关闭应用程序和社交工具等,本发明实施例对具体的应用程序不加以限定。An embodiment of the present invention provides an application startup method, which is applied to an interaction system including at least a user and an electronic device. Referring to FIG. 1 , in the interaction system, the electronic device includes at least a voice input module and sends a receiving module and a storage module, wherein the storage module stores at least one application; the voice receiving module receives a voice request input by the user, the voice request including at least an audio parameter that can be recognized as a wind sound, and the audio parameter can be an audio frequency The audio parameter can also be an audio phase. In addition, the audio parameter can also be other audio parameters. The specific audio parameters are not limited in the embodiment of the present invention. After receiving the voice request input by the user, the voice receiving module of the electronic device may execute a control command corresponding thereto according to the voice request, and the control command may be a control command of the electronic device, or may be a control command of the application program, or may be Control instructions for application functions. Specifically, the control instruction of the electronic device includes: turning off the electronic device, and further including other control instructions of the electronic device, where the specific control instruction of the electronic device is not limited; the control command of the application program includes starting the application and closing. The application, which also includes other control instructions for the application, The embodiment of the present invention does not limit the control instruction of the specific application; the control instruction of the application function includes the function of starting the application and the function of closing the application, and other control instructions of the function of the application, and the specific embodiment of the present invention The control functions of the application function are not limited. The application functions may include video functions, voice functions, game functions, etc. In addition, other application functions may be included, and specific application functions are not used here. The application may be a live chat application, a device screen on/off application, a social tool, etc., and the specific application is not limited in the embodiment of the present invention.
本发明实施例所提供的方法还可以用于一种至少包括第一用户、第一电子设备、第二用户以及第二电子设备的交互系统中,参照图2所示,在该交互系统中,第一电子设备和第二电子设备分别至少包括语音输入模块、发送/接收模块和存储模块,其中,该存储模块用于存储至少一个应用程序,该语音输入模块用于接收用户输入的语音请求,该语音请求与上一个交互系统中的语音请求相同,此处在不加以赘述。具体的,第一电子设备、第二电子设备可以分别通过自身的发送/接收模块进行至少包含语音请求数据的交互,在该交互系统中,本发明所提供的方法的执行主体可以包括第一电子设备,也可以包括第二电子设备,本发明实施例对该交互系统中具体的执行主体不加以限定。为了方便说明,以控制指令的目标设备为第一电子设备为例,若执行主体是第一电子设备,则该第一电子设备的语音输入模块接收第一用户输入的语音请求后,执行与该语音请求对应的控制指令;若执行主体是第二电子设备,则该第二电子设备的语音接收模块在接收第二用户输入的语音请求后,通过自身的发送/接收模块向第一电子设备发送该语音请求对应的控制指令,以使第一电子设备执行该控制指令。The method provided by the embodiment of the present invention may also be used in an interactive system including at least a first user, a first electronic device, a second user, and a second electronic device. Referring to FIG. 2, in the interactive system, The first electronic device and the second electronic device respectively include at least a voice input module, a sending/receiving module, and a storage module, wherein the storage module is configured to store at least one application, and the voice input module is configured to receive a voice request input by the user. The voice request is the same as the voice request in the previous interactive system, and will not be described here. Specifically, the first electronic device and the second electronic device may respectively perform interaction including at least voice request data through the sending/receiving module of the same, in which the executing body of the method provided by the present invention may include the first electronic The device may also include a second electronic device, which is not limited in the embodiment of the present invention. For convenience of description, the target device of the control command is the first electronic device. If the execution body is the first electronic device, the voice input module of the first electronic device receives the voice request input by the first user, and executes The voice request corresponding to the control instruction; if the execution body is the second electronic device, the voice receiving module of the second electronic device sends the voice request input by the second user to the first electronic device through the sending/receiving module of the second user The voice requests a corresponding control command to cause the first electronic device to execute the control command.
除此之外,本发明实施例所提供的方法还可以用于一种至少包括第一用户、第一电子设备、第二用户、第二电子设备以及通讯服务器和应用程序服务器的交互系统中,参照图3所示,在该交互系统中,第一电子设备和第二电子设备分别至少包括语音输入模块、发送/接收模块和存储模块,其中,该存储模块存 储至少一个应用程序,该语音输入模块至少用于接收用户输入的语音请求,该语音请求至少包括通讯语音请求数据和应用程序语音请求数据,通讯服务器和应用程序服务器至少包括接收/发送模块。具体的,第一电子设备、第二电子设备、通讯服务器可以分别通过自身的发送/接收模块进行包括语音请求至少用于通讯数据的交互;第一电子设备、第二电子设备、应用数据服务器可以分别通过自身的发送/接收模块进行包括语音请求至少用于应用程序数据的交互,在该交互系统中,本发明所提供的方法的执行主体可以包括第一电子设备,也可以包括第二电子设备,还可以包括通讯服务器或者应用程序服务器,本发明实施例对该交互系统中具体的执行主体不加以限定。为了方便说明,以控制指令的目标电子设备为第一电子设备为例,当该语音请求至少用于通讯数据的交互时,若执行主体是第一电子设备,则第一电子设备的语音输入模块接收第一用户输入的语音请求后,执行与该语音请求对应的控制指令;若执行主体为第二电子设备,则第二电子设备的语音输入模块接收第二用户的输入的语音请求后,通过自身的发送/接收模块向通讯服务器发送该语音请求,该通讯服务器向第一电子设备转发该语音请求对应的控制指令,以使第一电子设备执行该控制指令;若执行主体是通讯服务器,则通讯服务器的发送/接收模块在接收第二电子设备通过自身的发送/接收模块发送的语音请求对应的控制指令后,向第一电子设备发送该控制指令,以使该第一电子设备执行该控制指令;当该语音请求用于应用程序数据的交互时,若执行主体是第一电子设备,则第一电子设备的语音输入模块接收第一用户输入的语音请求后,执行与该语音请求对应的控制指令;若执行主体为第二电子设备,则第二电子设备的语音输入模块接收第二用户的输入的语音请求后,通过自身的发送/接收模块向应用程序服务器发送该语音请求,该应用程序服务器向第一电子设备转发该语音请求对应的控制指令,以使第一电子设备执行该控制指令;若执行主体是应用程序服务器,则应用程序服务器的发送/接收模块在接收第二电子设备通过自身的发送/接收模块发送的语音请求对应的控制指令后,向第一电子设备发送该控制指令,以使第一电子设 备执行该控制指令,其中,该通讯服务器和应用程序服务器可以集成在一个服务器设备中,也可以是各自独立的服务器设备,本发明实施例对具体的服务器不加以限定。In addition, the method provided by the embodiment of the present invention may also be used in an interaction system including at least a first user, a first electronic device, a second user, a second electronic device, and a communication server and an application server. Referring to FIG. 3, in the interactive system, the first electronic device and the second electronic device respectively include at least a voice input module, a sending/receiving module, and a storage module, where the storage module stores And storing at least one application, the voice input module is configured to receive at least a voice request input by the user, the voice request includes at least communication voice request data and application voice request data, and the communication server and the application server at least include a receiving/transmitting module. Specifically, the first electronic device, the second electronic device, and the communication server may respectively perform, by using the sending/receiving module of the user, the voice request, at least for the interaction of the communication data; the first electronic device, the second electronic device, and the application data server may be configured. The interaction of the method includes at least the application data, and the execution body of the method provided by the present invention may include the first electronic device, and may also include the second electronic device. The embodiment of the present invention does not limit the specific execution subject in the interactive system. For convenience of description, the target electronic device that controls the command is the first electronic device, and when the voice request is used at least for the interaction of the communication data, if the execution body is the first electronic device, the voice input module of the first electronic device After receiving the voice request input by the first user, executing a control instruction corresponding to the voice request; if the execution body is the second electronic device, the voice input module of the second electronic device receives the voice request input by the second user, and then passes The own sending/receiving module sends the voice request to the communication server, and the communication server forwards the control instruction corresponding to the voice request to the first electronic device, so that the first electronic device executes the control command; if the execution body is the communication server, After receiving the control instruction corresponding to the voice request sent by the second electronic device through its own sending/receiving module, the sending/receiving module of the communication server sends the control command to the first electronic device, so that the first electronic device performs the control Instruction; when the voice request is used for interaction of application data, The main body is the first electronic device, and the voice input module of the first electronic device receives the voice request input by the first user, and then executes a control instruction corresponding to the voice request; if the execution body is the second electronic device, the second electronic device After receiving the voice request input by the second user, the voice input module sends the voice request to the application server through its own sending/receiving module, and the application server forwards the control command corresponding to the voice request to the first electronic device, to And causing the first electronic device to execute the control instruction; if the execution body is an application server, the sending/receiving module of the application server receives the control instruction corresponding to the voice request sent by the second electronic device through the sending/receiving module of the second electronic device, Sending the control command to the first electronic device to make the first electronic device The control server is configured to execute the control command, wherein the communication server and the application server may be integrated into one server device, or may be independent server devices. The specific server is not limited in the embodiment of the present invention.
其中,值得注意的是,在本发明实施例中,应用程序的开启至少包括将应用程序从后台运行状态开启为当前运行状态和将应用程序从关闭状态开启为运行状态中的任意一个,应用程序的关闭至少包括将应用程序从当前运行状态关闭为后台运行状态和将应用程序从运行状态关闭为关闭状态中的任意一个。It should be noted that, in the embodiment of the present invention, the opening of the application includes at least one of opening the application from the background running state to the current running state and opening the application from the closed state to the running state, the application. The shutdown includes at least one of closing the application from the current running state to the background running state and closing the application from the running state to the closed state.
实施例一Embodiment 1
本发明实施例提供了一种应用程序启动方法,参见图4,该方法流程包括:An embodiment of the present invention provides an application startup method. Referring to FIG. 4, the method process includes:
401、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。401. Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to a control instruction.
402、识别该语音请求中的音频参数。402. Identify an audio parameter in the voice request.
具体的,判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;Specifically, determining a similarity between the audio parameter and the preset audio parameter in the preset time, the preset audio parameter is an audio parameter corresponding to the wind sound;
若音频参数与预设音频参数之前的相似度大于预设阈值,则将该音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
403、根据音频参数,确定该语音请求对应的控制指令,并执行控制指令。403. Determine, according to the audio parameter, a control instruction corresponding to the voice request, and execute the control instruction.
具体的,若控制指令包括应用程序控制指令,应用程序控制指令包括启动应用程序或者关闭应用程序,确定该语音请求对应的控制指令包括:Specifically, if the control instruction includes an application control instruction, the application control instruction includes starting the application or closing the application, and determining the control instruction corresponding to the voice request includes:
检测应用程序是否处于启动状态或者关闭状态;Detect if the application is in the startup state or the shutdown state;
若应用程序处于启动状态,则确定该语音请求对应的控制指令为关闭应用程序;If the application is in the startup state, determining that the control instruction corresponding to the voice request is to close the application;
若应用程序处于关闭状态,则确定该语音请求对应的控制指令为启动应用程序。If the application is in the off state, it is determined that the control command corresponding to the voice request is to start the application.
若控制指令包括应用程序功能的控制指令,则在应用程序处于启动状态之后,该方法还包括: If the control instruction includes a control instruction of the application function, after the application is in the startup state, the method further includes:
检测应用程序功能是否处于启动状态或者关闭状态;Detect whether the application function is in the startup state or the shutdown state;
若应用程序功能处于启动状态,则确定该语音请求对应的控制指令为启动应用程序功能。If the application function is in the startup state, it is determined that the control instruction corresponding to the voice request is the startup application function.
若应用程序功能程序处于关闭状态,则确定语音请求对应的控制指令为关闭应用程序功能。If the application function program is off, it is determined that the control command corresponding to the voice request is the function of closing the application.
若控制指令包括电子控制指令,电子设备控制指令包括关闭电子设备,确定该语音请求对应的控制指令包括:If the control instruction includes an electronic control instruction, the electronic device control instruction includes turning off the electronic device, and determining the control instruction corresponding to the voice request includes:
检测电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若该电子设备处于启动状态,则确定该语音请求对应的控制指令为关闭电子设备。If the electronic device is in an activated state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
实施例二Embodiment 2
本发明实施例提供了一种应用程序启动方法,在本发明实施例中控制指令包括应用程序控制指令,该控制指令用于控制的目标应用程序为一个应用程序,参见图5,该方法流程包括:The embodiment of the present invention provides an application startup method. In the embodiment of the present invention, the control instruction includes an application control instruction, and the control application is used to control the target application as an application. Referring to FIG. 5, the method includes :
501、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。501. Receive a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction.
具体的,电子设备通过自身的语音接收模块接收用户输入的语音请求,该语音接收模块可以包括麦克风,除此之外,语音接收模块还可以接收其他电子 设备发送的语音请求,本发明实施例对具体的接收语音请求的方式不加以限定。其中,该语音请求可以是用户输入的能被识别为风声的音频参数的至少一个语音片段,该语音片段可以是用户吹入的一口气,也可以是用户发出语音的气流,还可以是其他能被识别为风声的音频参数的语音片段,本发明实施例对具体的能被识别为风声的音频参数的至少一个语音片段不加以限定。Specifically, the electronic device receives the voice request input by the user through the voice receiving module of the user, and the voice receiving module may include a microphone. In addition, the voice receiving module may receive other electronic components. The voice request sent by the device does not limit the manner in which the voice request is received in the embodiment of the present invention. The voice request may be at least one voice segment input by the user and can be recognized as an audio parameter of the wind sound. The voice segment may be a breath that the user blows in, or may be a voice stream that the user emits voice, or may be other energy. The speech segment of the audio parameter recognized as wind sound, the embodiment of the present invention does not limit at least one speech segment of the specific audio parameter that can be recognized as wind sound.
通过接收其他电子设备发送的语音请求,使得用户可以在电子设备不可用的情况下也能实现应用程序的启动,进一步提高了用户体验;另外,由于该其他电子设备可以使可穿戴设备,所以该方法进一步提高了用户在使用可穿戴设备的场景下的用户体验。Receiving a voice request sent by another electronic device, so that the user can start the application when the electronic device is unavailable, further improving the user experience; in addition, since the other electronic device can make the wearable device, The method further improves the user experience in the scenario where the user uses the wearable device.
需要说明的是,语音请求与应用程序的控制指令相对应,该控制指令至少包括启动应用程序,关闭应用程序,或者删除应用程序,还可以至少包括应用程序的其他控制指令,本发明实施例对具体的应用程序的控制指令不加以限定。It should be noted that the voice request corresponds to the control instruction of the application, and the control instruction includes at least starting the application, closing the application, or deleting the application, and at least including other control instructions of the application, which are in the embodiment of the present invention. The specific application control instructions are not limited.
502、识别该语音请求中的音频参数。502. Identify an audio parameter in the voice request.
具体的,判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;Specifically, determining a similarity between the audio parameter and the preset audio parameter in the preset time, the preset audio parameter is an audio parameter corresponding to the wind sound;
根据预设时间内音频参数与预设音频参数之前的相似度,判断语音请求是否至少包括能被识别为风声的音频参数。According to the similarity between the audio parameter and the preset audio parameter in the preset time period, it is determined whether the voice request includes at least an audio parameter that can be recognized as a wind sound.
若音频参数与预设音频参数之前的相似度大于预设阈值,则将该音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
若音频参数与预设音频参数之前的相似度小于等于预设阈值,则将该音频参数不能识别为风声。If the similarity between the audio parameter and the preset audio parameter is less than or equal to the preset threshold, the audio parameter cannot be recognized as a wind sound.
由于语音请求中包括能被识别为风声的音频参数,而用户可以通过向电子设备的语音输入设备吹气来实现能被识别为风声的音频参数的输入,使得相较于传统的语音输入,,用户只需向语音识别设备吹气就可以实现电子设备的控制,增加了输入方式,满足了用户的个性化需求,进一步提高了用户体验。另外,相较于传统的语音识别而言,该方法由于只识别音频参数,无需识别语音 请求中的语义以及语音关键词,所以节省了系统资源以及存储资源,保证了设备的运行速度。Since the voice request includes an audio parameter that can be recognized as a wind sound, the user can input an audio parameter that can be recognized as a wind sound by blowing air to the voice input device of the electronic device, so that compared to the conventional voice input, The user only needs to blow the voice recognition device to realize the control of the electronic device, increases the input mode, satisfies the personalized needs of the user, and further improves the user experience. In addition, compared to traditional speech recognition, this method does not need to recognize speech because it only recognizes audio parameters. The semantics and voice keywords in the request, so save system resources and storage resources, and ensure the running speed of the device.
503、检测应用程序是否处于启动状态或者关闭状态,若应用程序处于启动状态,则执行504,若应用程序处于关闭状态,则执行505,503. Check whether the application is in a startup state or a shutdown state. If the application is in the startup state, execute 504. If the application is in the shutdown state, execute 505.
具体的,电子设备通过检测应用程序的运行状态标识,检测应用程序是否处于启动状态或者关闭状态,该运行状态标识用于指示应用程序是否处于启动状态或者关闭状态。Specifically, the electronic device detects whether the application is in an activated state or a closed state by detecting an running status identifier of the application, and the running status identifier is used to indicate whether the application is in an activated state or a closed state.
其中,该应用程序可以是至少能够实现设备的功能的计算机程序。Wherein, the application may be a computer program capable of at least implementing the functions of the device.
504、确定该语音请求对应的控制指令为关闭应用程序。504. Determine that the control instruction corresponding to the voice request is to close the application.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为关闭该应用程序。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to close the application.
505、确定该语音请求对应的控制指令为启动应用程序。505. Determine a control instruction corresponding to the voice request as a startup application.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为启动该应用程序。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to start the application.
需要说明的是,步骤503至步骤505是根据音频参数,确定语音请求对应的控制指令的过程,该控制指令为至少包括控制应用程序启动或者关闭的控制指令,除了上述方式外,还可以通过其他方式确定语音请求对应的应用程序控制指令,本发明实施例对具体的确定语音请求对应的应用程序控制指令的方式不加以限定。It should be noted that, in step 503 to step 505, a process of determining a control command corresponding to the voice request according to the audio parameter, where the control command is a control command including at least a control application startup or shutdown, in addition to the foregoing manner, The manner of determining the application control instruction corresponding to the voice request is not limited in the embodiment of the present invention.
506、执行控制指令。506. Execute a control instruction.
具体的,执行应用程序的控制指令,通过调用与该应用程序控制指令对应的程序代码执行该控制指令,本发明实施例对具体的执行方式不加以限定。Specifically, the control instruction of the application program is executed by calling the program code corresponding to the application control instruction, and the specific implementation manner of the embodiment of the present invention is not limited.
其中,执行控制指令包括执行启动应用程序的控制指令,或者执行关闭应用程序的控制指令,还可以包括执行删除应用程序的控制指令,除此之外,还 可以执行应用程序的其他控制指令,本发明实施例对具体的执行应用程序的控制指令不加以限定。The execution control instruction includes executing a control instruction for starting the application, or executing a control instruction for closing the application, and may further include executing a control instruction for deleting the application, in addition to Other control instructions of the application program may be executed. The embodiment of the present invention does not limit the specific control instructions for executing the application.
该方法通过减少在开启或者关闭应用程序时的操作步骤,提高了开启或者关闭应用程序的效率,进一步增加了用户体验。This method further increases the user experience by reducing the operational steps when opening or closing an application, increasing the efficiency of opening or closing an application.
本发明实施例提供了一种应用程序启动方式,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup mode, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
实施例三Embodiment 3
本发明实施例提供了一种应用程序启动方法,在本发明实施例中控制指令包括应用程序功能控制指令,该控制指令用于控制的目标应用程序功能为一个应用程序功能,参见图6,该方法流程包括:The embodiment of the present invention provides an application startup method. In the embodiment of the present invention, the control instruction includes an application function control instruction, and the control application is used to control the target application function as an application function. See FIG. The method flow includes:
601、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。601. Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction.
具体的,该步骤与实施例二中的步骤501相同,此处再不加以赘述。Specifically, the step is the same as step 501 in the second embodiment, and details are not described herein again.
602、识别该语音请求中的音频参数。602. Identify an audio parameter in the voice request.
具体的,该步骤与实施例二中的步骤502相同,此处再不加以赘述。Specifically, the step is the same as step 502 in the second embodiment, and details are not described herein again.
603、检测应用程序是否处于启动状态或者关闭状态,若应用程序处于启动状态则,则执行步骤604,若应用程序处于关闭状态,则结束。603. Detect whether the application is in an activated state or a closed state. If the application is in an activated state, step 604 is performed, and if the application is in a closed state, the process ends.
具体的,该步骤与实施例二中的步骤503相同,此处再不加以赘述。Specifically, the step is the same as step 503 in the second embodiment, and details are not described herein again.
604、检测应用程序功能是否处于启动状态或者关闭状态,若应用程序功能处于启动状态,则执行步骤605,若应用程序功能处于关闭状态,则执行606, 604. Check whether the application function is in a startup state or a shutdown state. If the application function is in the startup state, execute step 605. If the application function is in the shutdown state, execute 606.
具体的,电子设备通过检测应用程序功能的运行状态标识,检测应用程序功能是否处于启动状态或者关闭状态,该运行状态标识用于指示应用程序功能是否处于启动状态或者关闭状态。Specifically, the electronic device detects whether the application function is in an activated state or a closed state by detecting an running status identifier of the application function, and the running status identifier is used to indicate whether the application function is in an activated state or a closed state.
其中,该应用程序功能可以包括应用程序的视频功能,也可以包括应用程序的语音功能,也可以包括音频播放功能,还可以包括应用程序的聊天功能以及游戏功能,除此之外,还可以包括应用程序的其他功能,本发明实施例对具体的应用程序功能不加以限定。The application function may include a video function of the application, a voice function of the application, an audio playing function, a chat function of the application, and a game function, and may also include Other functions of the application, the embodiment of the present invention does not limit the specific application function.
605、确定该语音请求对应的控制指令为关闭应用程序功能。605. Determine a control instruction corresponding to the voice request as a function of closing the application.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为关闭该应用程序功能。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to close the application function.
606、确定该语音请求对应的控制指令为启动应用程序功能。606. Determine a control instruction corresponding to the voice request to start an application function.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为启动该应用程序功能。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to start the application function.
需要说明的是,步骤603至步骤606是根据音频参数,确定语音请求对应的控制指令的过程,该控制指令为至少包括控制应用程序功能启动或者关闭的控制指令,除了上述方式外,还可以通过其他方式确定语音请求对应的应用程序功能控制指令,本发明实施例对具体的确定语音请求对应的应用程序功能控制指令的方式不加以限定。It should be noted that, the steps 603 to 606 are processes for determining a control instruction corresponding to the voice request according to the audio parameter, and the control instruction is a control instruction including at least a function of starting or closing the control application function, in addition to the foregoing manner, The manner of determining the application function control command corresponding to the voice request is not limited in the embodiment of the present invention.
607、执行控制指令。607. Execute a control instruction.
具体的,执行应用程序功能的控制指令,通过调用与该应用程序功能控制指令对应的程序代码执行该控制指令,本发明实施例对具体的执行方式不加以限定。Specifically, the control instruction for executing the application function is executed by calling the program code corresponding to the application function control instruction, and the specific implementation manner of the embodiment of the present invention is not limited.
其中,执行控制指令包括执行启动应用程序功能的控制指令,或者执行关闭应用程序功能的控制指令,还可以包括执行删除应用程序功能的控制指令, 除此之外,还可以执行应用程序功能的其他控制指令,本发明实施例对具体的执行应用程序功能的控制指令不加以限定。The executing the control instruction includes executing a control instruction for starting the application function, or executing a control instruction for closing the application function, and may further include executing a control instruction for deleting the application function. In addition, other control instructions of the application function may be executed, and the specific control instructions for executing the application function are not limited in the embodiment of the present invention.
该方法通过减少在开启或者关闭应用程序功能时的操作步骤,提高了开启或者关闭应用程序功能的效率,进一步增加了用户体验。This approach further increases the user experience by reducing the operational steps of turning the application on or off, increasing the efficiency of turning the application on or off.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
实施例四Embodiment 4
本发明实施例提供了一种应用程序启动方法,在本发明实施例中控制指令包括电子设备控制指令,该控制指令用于关闭电子设备,参见图7,该方法流程包括:The embodiment of the present invention provides an application startup method. In the embodiment of the present invention, the control instruction includes an electronic device control instruction, where the control instruction is used to shut down the electronic device. Referring to FIG. 7, the method process includes:
701、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。701. Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to a control instruction.
具体的,该步骤与实施例二中的步骤501相同,此处再不加以赘述。Specifically, the step is the same as step 501 in the second embodiment, and details are not described herein again.
702、识别该语音请求中的音频参数。702. Identify an audio parameter in the voice request.
具体的,该步骤与实施例二中的步骤502相同,此处再不加以赘述。Specifically, the step is the same as step 502 in the second embodiment, and details are not described herein again.
703、检测电子设备是否处于启动状态,若电子设备处于启动状态,则执行704,若电子设备处于关闭状态,则结束。703. Check whether the electronic device is in an activated state. If the electronic device is in an activated state, execute 704. If the electronic device is in a closed state, the process ends.
具体的,电子设备通过检测自身的运行状态标识,检测电子设备是否处于启动状态,该运行标识用于指示电子设备是否处于启动状态。Specifically, the electronic device detects whether the electronic device is in an activated state by detecting an operating status identifier of the electronic device, and the running identifier is used to indicate whether the electronic device is in an activated state.
其中,该电子设备可以是智能手机(Smart Phone),可以是平板电脑(Tablet  Personal Computer),还可以是其他电子设备,本发明实施例对具体的电子设备不加以限定。The electronic device may be a smart phone or a tablet (Tablet) The personal computer may be other electronic devices, and the specific electronic device is not limited in the embodiment of the present invention.
704、确定该语音请求对应的控制指令为关闭电子设备。704. Determine that the control instruction corresponding to the voice request is to turn off the electronic device.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为关闭该电子设备。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to turn off the electronic device.
需要说明的是,步骤703至步骤704是根据音频参数,确定语音请求对应的控制指令的过程,该控制指令为至少包括控制电子设备启动或者关闭的控制指令,除了上述方式外,还可以通过其他方式确定语音请求对应的电子设备控制指令,本发明实施例对具体的确定语音请求对应的电子设备控制指令的方式不加以限定。It should be noted that, in step 703 to step 704, a process of determining a control command corresponding to the voice request according to the audio parameter, where the control command is a control command including at least controlling whether the electronic device is started or turned off, in addition to the foregoing manner, The manner of determining the electronic device control instruction corresponding to the voice request is not limited in the embodiment of the present invention.
705、执行控制指令。705. Execute a control instruction.
具体的,执行电子设备的控制指令,通过调用与该电子设备控制指令对应的程序代码执行该控制指令,本发明实施例对具体的执行方式不加以限定。Specifically, the control instruction of the electronic device is executed, and the control instruction is executed by calling the program code corresponding to the electronic device control instruction. The specific implementation manner of the embodiment of the present invention is not limited.
其中,执行控制指令包括执行关闭电子设备的控制指令,除此之外,还可以执行电子设备的其他控制指令,本发明实施例对具体的执行电子设备的控制指令不加以限定。The execution of the control instruction includes executing a control instruction for shutting down the electronic device. In addition, other control commands of the electronic device may be executed. The control command of the specific electronic device is not limited in the embodiment of the present invention.
该方法通减少在关闭电子设备的操作步骤,提高了关闭电子设备的效率,进一步增加了用户体验。The method reduces the operational steps of turning off the electronic device, improves the efficiency of turning off the electronic device, and further increases the user experience.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了 用户的交互体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method further improves the user's input mode, simplifies the application operation steps, and improves the user interaction with other people. User's interactive experience.
实施例五Embodiment 5
本发明实施例提供了一种应用程序启动方法,在本发明实施例中,控制指令包括应用程序控制指令,该控制指令用于控制的目标应用程序为多个应用程序,参见图8,该方法流程包括:The embodiment of the present invention provides an application startup method. In the embodiment of the present invention, the control instruction includes an application control instruction, where the control application is used to control the target application into multiple applications, as shown in FIG. The process includes:
801、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。801. Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction.
具体的,该步骤与实施例二中的步骤501相同,此处再不加以赘述。Specifically, the step is the same as step 501 in the second embodiment, and details are not described herein again.
802、识别该语音请求中的音频参数。802. Identify an audio parameter in the voice request.
具体的,该步骤与实施例二中的步骤502相同,此处再不加以赘述。Specifically, the step is the same as step 502 in the second embodiment, and details are not described herein again.
803、检测多个应用程序是否处于启动状态或者关闭状态,若多个应用程序处于启动状态,则执行步骤804,若多个应用程序处于关闭状态,则执行步骤805。803. Check whether multiple applications are in a startup state or a shutdown state. If multiple applications are in the startup state, step 804 is performed. If multiple applications are in the shutdown state, step 805 is performed.
具体的,获取每个应用程序的运行状态标识,每个应用程序的运行状态标识用于指示每个应用程序是否处于启动状态或者关闭状态,电子设备通过检测每个应用程序的运行状态标识,判断多个应用程序是否处于启动状态或者关闭状态。Specifically, the running status identifier of each application is obtained, and the running status identifier of each application is used to indicate whether each application is in an activated state or a closed state, and the electronic device determines by detecting the running status identifier of each application. Whether multiple applications are up or down.
其中,多个应用程序分别是至少能够实现设备的功能的计算机程序。Among them, the plurality of applications are respectively computer programs capable of realizing at least the functions of the device.
804、确定该语音请求对应的控制指令为关闭多个应用程序。804. Determine that the control instruction corresponding to the voice request is to close multiple applications.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少一个语音片段的语音请求对应的控制指令为关闭多个应用程序。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request of the at least one voice segment is to close multiple applications.
805、确定该语音请求对应的控制指令为启动多个应用程序。805. Determine a control instruction corresponding to the voice request to start multiple applications.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为启动多个应用程序。 Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to start multiple applications.
需要说明的是,步骤803至步骤805是根据音频参数,确定语音请求对应的控制指令的过程,除了上述方式外,还可以通过其他方式确定语音请求对应的多个应用程序控制指令,本发明实施例对具体的确定语音请求对应的多个应用程序控制指令的方式不加以限定。It should be noted that the steps 803 to 805 are processes for determining a control command corresponding to the voice request according to the audio parameter. In addition to the foregoing manner, the multiple application control commands corresponding to the voice request may be determined by other methods. For example, the manner of determining a plurality of application control commands corresponding to a voice request is not limited.
806、执行控制指令。806. Execute a control instruction.
具体的,执行该控制多个应用程序的控制指令,通过分别调用与每个应用程序控制指令对应的程序代码,执行每个应用程序控制指令,本发明实施例对具体的执行方式不加以限定。Specifically, the control instruction for controlling the plurality of application programs is executed, and each application control command is executed by respectively calling the program code corresponding to each application control command. The specific execution manner of the embodiment of the present invention is not limited.
其中,执行控制指令包括执行启动至少一个应用程序的控制指令,或者执行关闭至少一个应用程序的控制指令,还可以包括执行删除至少一个应用程序的控制指令,除此之外,还可以执行与多个应用程序对应的其他控制指令,本发明实施例对具体的控制指令不加以限定。The executing the control instruction includes executing the control instruction for starting the at least one application, or executing the control instruction for closing the at least one application, and further comprising executing the control instruction for deleting the at least one application, in addition to performing the For the other control commands corresponding to the application, the specific control commands are not limited in the embodiment of the present invention.
可选的,参见图9,在执行步骤804之后还包括执行步骤901,Optionally, referring to FIG. 9, after performing step 804, the method further includes performing step 901.
901、若该控制指令为关闭多个应用程序,则接收用户触发的指令,选择多个应用程序中的一个,关闭该一个应用程序。901. If the control instruction is to close multiple applications, receive a user-triggered instruction, select one of the multiple applications, and close the one application.
具体的,用户通过手动触发的指令,选择多个应用程序中的一个,或者通过其他方式选择多个应用程序中的一个,本发明实施例对具体的选择多个应用程序中的一个的方式不加以限定。Specifically, the user selects one of the multiple applications by using a manually triggered instruction, or selects one of the multiple applications by other means, and the embodiment of the present invention does not specifically select one of the multiple applications. Limited.
优选的,关闭该一个应用程序,可以通过用户手动触发的关闭指令关闭,还可以通过接收用户输入的语音请求,关闭该一个应用程序,除此之外,还可以通过其他方式关闭该一个应用程序,本发明实施例对具体的关闭该一个应用程序的方式不加以限定。Preferably, the application is closed, the user can manually close the shutdown command, and the user can be closed by receiving a voice request input by the user. In addition, the application can be closed by other means. The embodiment of the present invention does not limit the specific manner of closing the application.
可选的,参见图10,在执行步骤805之后还包括执行步骤1001,Optionally, referring to FIG. 10, after performing step 805, the method further includes performing step 1001,
1001、若该控制指令为开启多个应用程序,则接收用户触发的指令,选择多个应用程序中的一个,启动该一个应用程序。1001. If the control command is to open multiple applications, receive a user-triggered instruction, select one of the multiple applications, and start the one application.
具体的,用户通过手动触发的指令,选择多个应用程序中的一个,或者通 过其他方式选择多个应用程序中的一个,本发明实施例对具体的选择多个应用程序中的一个的方式不加以限定。Specifically, the user selects one of the multiple applications by using a manually triggered instruction, or The manner of selecting one of the plurality of applications is not limited in the embodiment of the present invention.
优选的,启动该一个应用程序,可以通过用户手动触发的启动指令关闭,还可以通过接收用户输入的语音请求,启动该一个应用程序,除此之外,还可以通过其他方式启动该一个应用程序,本发明实施例对具体的启动该一个应用程序的方式不加以限定。Preferably, the application is started, the startup command is manually triggered by the user, and the application is started by receiving a voice request input by the user. In addition, the application can be started by other means. The embodiment of the present invention does not limit the specific manner of starting the application.
该方法通过减少在开启或者关闭多个应用程序时的操作步骤,提高了开启或者关闭多个应用程序功能的效率,进一步增加了用户体验。This method further increases the user experience by reducing the operational steps when turning on or off multiple applications, increasing the efficiency of turning on or off multiple application functions.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。另外,可通过触发的指令选择多个应用程序中的一个,执行该一个应用程序的控制指令,从而通过只识别音频参数,确定与语音请求对应的多个应用程序对应的控制指令,选择其中的至少一个应用程序,执行启动应用程序或关闭应用程序的步骤,从而简化了应用程序启动或者关闭的的的操作步骤,提高了用户体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. . In addition, one of the plurality of applications may be selected by the triggered instruction, and the control instruction of the one application may be executed, thereby determining the control instruction corresponding to the plurality of application programs corresponding to the voice request by identifying only the audio parameter, and selecting the control instruction At least one application that performs the steps of launching the application or closing the application, thereby simplifying the steps of starting or shutting down the application and improving the user experience.
实施例六Embodiment 6
本发明实施例提供了一种应用程序启动方法,在本发明实施例中控制指令包括应用程序功能控制指令,该控制指令用于控制的目标应用程序功能为多个应用程序功能,参见图11,该方法流程包括:The embodiment of the present invention provides an application startup method. In the embodiment of the present invention, the control instruction includes an application function control instruction, and the control application is used to control the target application function as a plurality of application functions, as shown in FIG. The method flow includes:
1101、接收用户输入的语音请求,该语音请求至少包括能被识别为风声的音频参数,该语音请求与控制指令相对应。 1101. Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to a control instruction.
具体的,该步骤与实施例二中的步骤501相同,此处再不加以赘述。Specifically, the step is the same as step 501 in the second embodiment, and details are not described herein again.
1102、识别该语音请求中的音频参数。1102. Identify an audio parameter in the voice request.
具体的,该步骤与实施例二中的步骤502相同,此处再不加以赘述。Specifically, the step is the same as step 502 in the second embodiment, and details are not described herein again.
1103、检测应用程序是否处于启动状态或者关闭状态,若应用程序处于启动状态,则执行步骤1104,若应用程序处于关闭状态,则结束。1103. Check whether the application is in a startup state or a shutdown state. If the application is in the startup state, step 1104 is performed, and if the application is in the shutdown state, the process ends.
具体的,该步骤与实施例二中的步骤503相同,此处再不加以赘述。Specifically, the step is the same as step 503 in the second embodiment, and details are not described herein again.
1104、检测多个应用程序功能是否处于启动状态或者关闭状态,若多个应用程序处于启动状态,则执行步骤1105,若多个应用程序处于关闭状态,则执行步骤1106。1104. Check whether multiple application functions are in an activated state or a closed state. If multiple applications are in a startup state, step 1105 is performed. If multiple applications are in a closed state, step 1106 is performed.
具体的,获取每个应用程序功能的运行状态标识,每个应用程序功能的运行状态标识用于指示每个应用程序功能是否处于启动状态或者关闭状态,电子设备通过检测每个应用程序功能的运行状态标识,判断多个应用程序功能是否处于启动状态或者关闭状态。Specifically, the running status identifier of each application function is obtained, and the running status identifier of each application function is used to indicate whether each application function is in an activated state or a closed state, and the electronic device detects the running of each application function. Status indicator to determine whether multiple application functions are in the startup state or the shutdown state.
1105、确定该语音请求对应的控制指令为关闭多个应用程序功能。1105. Determine that the control instruction corresponding to the voice request is to close multiple application functions.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为关闭多个应用程序。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to close multiple applications.
1106、确定该语音请求对应的控制指令为启动多个应用程序功能。1106. Determine a control instruction corresponding to the voice request to start multiple application functions.
具体的,若该语音请求为用户输入的能被识别为风声的音频参数的至少一个语音片段,则该至少包括一个语音片段的语音请求对应的控制指令为启动多个应用程序功能。Specifically, if the voice request is at least one voice segment of the audio parameter that can be recognized as a wind sound input by the user, the control command corresponding to the voice request including at least one voice segment is to start a plurality of application functions.
需要说明的是,步骤1103至步骤1105是根据音频参数,确定语音请求对应的控制指令的过程,该控制指令为包括控制多个应用程序功能启动或者关闭的控制指令,除了上述方式外,还可以通过其他方式确定语音请求对应的多个应用程序功能控制指令,本发明实施例对具体的确定语音请求对应的多个应用程序功能控制指令的方式不加以限定。 It should be noted that, the step 1103 to the step 1105 is a process of determining a control instruction corresponding to the voice request according to the audio parameter, where the control instruction is a control instruction including controlling a plurality of application function activation or shutdown, in addition to the foregoing manner, The manner of determining a plurality of application function control commands corresponding to the voice request is not limited in the embodiment of the present invention.
1107、执行控制指令。1107. Execute control instructions.
具体的,执行多个应用程序功能的控制指令,通过分别调用与每个应用程序功能控制指令对应的程序代码,执行每个应用程序功能控制指令,本发明实施例对具体的执行方式不加以限定。Specifically, a control instruction for executing a plurality of application function functions is executed by calling a program code corresponding to each application function control instruction to execute each application function control instruction. The specific implementation manner is not limited in the embodiment of the present invention. .
其中,执行控制指令包括执行至少一个启动应用程序功能的控制指令,或者执行关闭至少一个应用程序功能的控制指令,还可以包括执行删除一个应用程序功能的控制指令,除此之外,还可以执行与多个应用程序功能对应的其他控制指令,本发明实施例对具体的执行与多个应用程序功能对应的控制指令不加以限定。The executing the control instruction includes executing at least one control instruction for starting an application function, or executing a control instruction for turning off at least one application function, and may further include executing a control instruction for deleting an application function, and in addition, executing The other control commands corresponding to the plurality of application functions are not limited to the specific execution of the control commands corresponding to the plurality of application functions.
可选的,参见图12,在执行步骤1105之后还包括执行步骤1201,Optionally, referring to FIG. 12, after performing step 1105, the method further includes performing step 1201,
1201、若该控制指令为关闭多个应用程序功能,则接收用户触发的指令,选择多个应用程序功能中的一个,关闭该一个应用程序功能。1201. If the control instruction is to close multiple application functions, receive a user-triggered instruction, select one of a plurality of application functions, and close the one application function.
具体的,用户通过手动触发的指令,选择多个应用程序功能中的一个,或者通过其他方式选择多个应用程序功能中的一个,本发明实施例对具体的选择多个应用程序功能中的一个的方式不加以限定。Specifically, the user selects one of the multiple application functions by using a manually triggered instruction, or selects one of the multiple application functions by other means, and the embodiment of the present invention specifically selects one of the multiple application functions. The way is not limited.
优选的,关闭该一个应用程序功能,可以通过用户手动触发的关闭指令关闭,还可以通过接收用户输入的语音请求,关闭该一个应用程序功能,除此之外,还可以通过其他方式关闭该一个应用程序功能,本发明实施例对具体的关闭该一个应用程序功能的方式不加以限定。Preferably, the function of the application is closed, and the user can manually close the shutdown command, and can also close the application function by receiving a voice request input by the user. In addition, the one can be closed by other means. The application function, the embodiment of the present invention does not limit the specific manner of closing the function of the one application.
可选的,参见图13,在执行步骤1106之后还包括执行步骤1301,Optionally, referring to FIG. 13, after performing step 1106, the method further includes performing step 1301,
1301、若该控制指令为启动多个应用程序功能,则接收用户触发的指令,选择多个应用程序功能中的一个,启动该一个应用程序功能。1301. If the control command is to start a plurality of application functions, receive a user-triggered instruction, select one of a plurality of application functions, and start the one application function.
具体的,用户通过手动触发的指令,选择多个应用程序功能中的一个,或者通过其他方式选择多个应用程序功能中的一个,本发明实施例对具体的选择多个应用程序功能中的一个的方式不加以限定。Specifically, the user selects one of the multiple application functions by using a manually triggered instruction, or selects one of the multiple application functions by other means, and the embodiment of the present invention specifically selects one of the multiple application functions. The way is not limited.
优选的,启动该一个应用程序功能,可以通过用户手动触发的启动指令关 闭,还可以通过接收用户输入的语音请求,启动该一个应用程序功能,除此之外,还可以通过其他方式启动该一个应用程序功能,本发明实施例对具体的启动该一个应用程序功能的方式不加以限定。Preferably, the function of the application is started, and the startup command can be manually triggered by the user. Alternatively, the application function can be started by receiving a voice request input by the user. In addition, the application function can be started by other means, and the embodiment of the present invention specifically activates the function of the application. The method is not limited.
该方法通减少在开启或者关闭多个应用程序功能时的操作步骤,提高了开启或者关闭多个应用程序功能的效率,进一步增加了用户体验。The method improves the efficiency of turning on or off multiple application functions by further reducing the operation steps when opening or closing multiple application functions, further increasing the user experience.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。另外,可通过触发的指令选择多个应用程序功能中的一个,执行该一个应用程序功能的控制指令,从而通过只识别音频参数,确定与语音请求对应的多个应用程序功能对应的控制指令,选择其中的至少一个应用程序功能,执行该一个应用程序功能启动或关闭的步骤,从而简化了多个应用程序功能启动或者关闭的操作步骤,提高了用户体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. . In addition, one of the plurality of application functions may be selected by the triggered instruction to execute the control instruction of the one application function, thereby determining the control instruction corresponding to the plurality of application functions corresponding to the voice request by only identifying the audio parameter, Select at least one of the application functions to perform the steps of starting or closing the one application function, thereby simplifying the steps of starting or closing multiple application functions, thereby improving the user experience.
实施例七Example 7
本发明实施例提供一种电子设备14,参照图14所示,该电子设备14包括:An embodiment of the present invention provides an electronic device 14. Referring to FIG. 14, the electronic device 14 includes:
接收模块141,用于接收用户输入的语音请求,语音请求至少包括能被识别为风声的音频参数,语音请求与控制指令相对应;The receiving module 141 is configured to receive a voice request input by the user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别模块142,用于识别语音请求中的音频参数;An identification module 142, configured to identify an audio parameter in the voice request;
确定模块143,根据音频参数,确定语音请求对应的控制指令;The determining module 143 determines, according to the audio parameter, a control instruction corresponding to the voice request;
执行模块144,用于执行控制指令;An execution module 144, configured to execute a control instruction;
存储模块145,用于存储语音请求、控制指令和音频参数。The storage module 145 is configured to store voice requests, control commands, and audio parameters.
可选的,识别模块142具体用于: Optionally, the identification module 142 is specifically configured to:
判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;Determining a similarity between the audio parameter and the preset audio parameter in the preset time, and the preset audio parameter is an audio parameter corresponding to the wind sound;
若音频参数与预设音频参数之前的相似度大于预设阈值,则将音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
可选的,电子设备14还包括:Optionally, the electronic device 14 further includes:
检测模块,用于检测应用程序是否处于启动状态或者关闭状态;a detection module, configured to detect whether the application is in an activated state or a closed state;
确定模块143具体用于,当应用程序处于启动状态时,则确定语音请求对应的控制指令为关闭应用程序;当应用程序处于关闭状态时,则确定语音请求对应的控制指令为启动应用程序。The determining module 143 is specifically configured to: when the application is in the startup state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in the closed state, determine that the control instruction corresponding to the voice request is to start the application.
可选的,Optional,
检测模块还用于检测应用程序功能是否处于启动状态或者关闭状态;The detection module is further configured to detect whether the application function is in an activated state or a closed state;
确定模块143用于,当应用程序功能处于启动状态时,则确定语音请求对应的控制指令为关闭应用程序功能;当应用程序功能处于关闭状态时,则确定语音请求对应的控制指令为启动应用程序功能。The determining module 143 is configured to: when the application function is in the startup state, determine that the control instruction corresponding to the voice request is to close the application function; when the application function is in the closed state, determine that the control instruction corresponding to the voice request is to start the application Features.
可选的,Optional,
检测模块还用于,检测电子设备是否处于启动状态;The detecting module is further configured to detect whether the electronic device is in an activated state;
确定模块143用于,当电子设备处于启动状态时,则确定语音请求对应的控制指令为关闭电子设备。The determining module 143 is configured to: when the electronic device is in an activated state, determine that the control command corresponding to the voice request is to turn off the electronic device.
本发明实施例提供了一种电子设备,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。 The embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. To activate the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
实施例八Example eight
本发明实施例提供一种电子设备15,参照图15所示,包括语音输入模块1501、发送模块1502、接收模块1503、存储器1504以及分别与语音输入模块1501、发送模块1502、接收模块1503和存储器1504连接的处理器1505,其中,存储器1504中存储一组程序代码,处理器1505用于调用存储器1504中存储的程序代码,执行以下操作:An embodiment of the present invention provides an electronic device 15, as shown in FIG. 15, including a voice input module 1501, a sending module 1502, a receiving module 1503, a memory 1504, and a voice input module 1501, a sending module 1502, a receiving module 1503, and a memory, respectively. 1504 connected processor 1505, wherein a set of program codes is stored in the memory 1504, and the processor 1505 is configured to call the program code stored in the memory 1504 to perform the following operations:
接收用户输入的语音请求,语音请求至少包括能被识别为风声的音频参数,语音请求与控制指令相对应;Receiving a voice request input by the user, the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别语音请求中的音频参数;Identifying audio parameters in the voice request;
根据音频参数,确定语音请求对应的控制指令,并执行控制指令。According to the audio parameter, a control instruction corresponding to the voice request is determined, and the control instruction is executed.
可选的,处理器1505还用于调用存储器1504中存储的程序代码,执行以下操作:Optionally, the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;Determining a similarity between the audio parameter and the preset audio parameter in the preset time, and the preset audio parameter is an audio parameter corresponding to the wind sound;
若音频参数与预设音频参数之前的相似度大于预设阈值,则将音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
可选的,处理器1505还用于调用存储器1504中存储的程序代码,执行以下操作:Optionally, the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
检测应用程序是否处于启动状态或者关闭状态;Detect if the application is in the startup state or the shutdown state;
若应用程序处于启动状态,则确定语音请求对应的控制指令为关闭应用程序;If the application is in the startup state, determining that the control command corresponding to the voice request is to close the application;
若应用程序处于关闭状态,则确定语音请求对应的控制指令为启动应用程序。If the application is in the off state, it is determined that the control command corresponding to the voice request is to start the application.
可选的,Optional,
处理器1505还用于调用存储器1504中存储的程序代码,执行以下操作:The processor 1505 is further configured to call the program code stored in the memory 1504 to perform the following operations:
检测应用程序功能是否处于启动状态或者关闭状态; Detect whether the application function is in the startup state or the shutdown state;
若应用程序功能处于启动状态,则确定语音请求对应的控制指令为关闭应用程序功能。If the application function is in the startup state, it is determined that the control command corresponding to the voice request is to close the application function.
若应用程序功能处于关闭状态,则确定语音请求对应的控制指令为启动应用程序功能。If the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
可选的,处理器1505还用于调用存储器1504中存储的程序代码,执行以下操作:Optionally, the processor 1505 is further configured to invoke the program code stored in the memory 1504, and perform the following operations:
检测电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若电子设备处于启动状态,则确定语音请求对应的控制指令为关闭电子设备。If the electronic device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
本发明实施例提供了一种电子设备,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. To activate the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
实施例九Example nine
本发明实施例提供了一种应用程序启动方法,方法应用于第一电子设备,参见图16,该方法流程包括:An embodiment of the present invention provides an application startup method, where the method is applied to a first electronic device. Referring to FIG. 16, the method includes:
1601、接收用户输入的语音请求,语音请求至少包括能被识别为风声的音频参数,语音请求与控制指令相对应;1601: Receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
1602、识别语音请求中的音频参数;1602, identifying an audio parameter in the voice request;
具体的,该步骤与实施例二中的步骤602相同,此处再不加以赘述。Specifically, the step is the same as step 602 in the second embodiment, and details are not described herein again.
1603、将音频参数发送至第二电子设备。1603. Send the audio parameter to the second electronic device.
具体的,第一电子设备通过自身的发送/接收模块发送该语音参数至第二电 子设备的发送/接收模块,还可以通过与自身相连的移动设备发送该音频参数至第二电子设备的发送/接收模块,除此之外,还可以通过其他方式发送该音频参数至第二电子设备,本发明实施例对具体的发送该音频参数至第二电子设备的方式不加以限定。Specifically, the first electronic device sends the voice parameter to the second power through its own sending/receiving module. The transmitting/receiving module of the sub-device can also send the audio parameter to the transmitting/receiving module of the second electronic device through the mobile device connected to itself, and can also send the audio parameter to the second electronic device by other means. The device does not limit the specific manner in which the audio parameter is sent to the second electronic device.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
实施例十Example ten
本发明实施例提供一种第一电子设备17,参照图17所示,该电子设备17包括:The embodiment of the present invention provides a first electronic device 17, as shown in FIG. 17, the electronic device 17 includes:
接收模块171,用于接收用户输入的语音请求,语音请求至少包括能被识别为风声的音频参数,语音请求与控制指令相对应;The receiving module 171 is configured to receive a voice request input by the user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别模块172,用于识别语音请求中的音频参数;An identification module 172, configured to identify an audio parameter in the voice request;
可选的,Optional,
识别模块172具体用于判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;The identification module 172 is specifically configured to determine a similarity between the audio parameter and the preset audio parameter in the preset time period, where the preset audio parameter is an audio parameter corresponding to the wind sound;
若音频参数与预设音频参数之前的相似度大于预设阈值,则将音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
本发明实施例提供了一种电子设备,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动 程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. Simplify startup by launching an electronic device application The operation steps of the program improve the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased, and the personalized requirements of the user are satisfied, and the user is further improved. In addition, the method also simplifies the operation steps of the application by increasing the input mode of the user, and improves the interaction experience of the user in a scenario in which the user interacts with others.
实施例十Example ten
本发明实施例提供一种第一电子设备18,参照图18所示,包括语音输入模块1801、发送模块1802、接收模块1803、存储器1804以及分别与语音输入模块1801、发送模块1802、接收模块1803和存储器1804连接的处理器1805,其中,存储器1804中存储一组程序代码,处理器1805用于调用存储器1804中存储的程序代码,执行以下操作:The embodiment of the present invention provides a first electronic device 18, as shown in FIG. 18, including a voice input module 1801, a sending module 1802, a receiving module 1803, a memory 1804, and a voice input module 1801, a sending module 1802, and a receiving module 1803, respectively. A processor 1805 coupled to the memory 1804, wherein the memory 1804 stores a set of program codes, and the processor 1805 is configured to call the program code stored in the memory 1804 to perform the following operations:
接收用户输入的语音请求,语音请求至少包括能被识别为风声的音频参数,语音请求与控制指令相对应;Receiving a voice request input by the user, the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
识别语音请求中的音频参数;Identifying audio parameters in the voice request;
将音频参数发送至第二电子设备。The audio parameters are sent to the second electronic device.
可选的,Optional,
处理器1805还用于调用存储器1804中存储的程序代码,执行以下操作:The processor 1805 is further configured to call the program code stored in the memory 1804 to perform the following operations:
判断预设时间内音频参数与预设音频参数之前的相似度,预设音频参数为与风声对应的音频参数;Determining a similarity between the audio parameter and the preset audio parameter in the preset time, and the preset audio parameter is an audio parameter corresponding to the wind sound;
若音频参数与预设音频参数之前的相似度大于预设阈值,则将音频参数识别为风声。If the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
本发明实施例提供了一种电子设备,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的 个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. To activate the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. Satisfied with the user Personalized requirements further improve the user experience; in addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
实施例十一Embodiment 11
本发明实施例提供了一种应用程序启动方法,方法应用于第二电子设备,参见图19,该方法流程包括:An embodiment of the present invention provides an application startup method, where the method is applied to a second electronic device. Referring to FIG. 19, the method process includes:
1901、接收第一电子设备发送的音频参数;1901. Receive an audio parameter sent by the first electronic device.
具体的,第二电子设备通过自身的发送/接收模块接收第一电子设备发送的音频参数,还可以通过与自身连接的移动设备接收第一电子设备发送的音频参数,除此之外,还可以通过其他方式接收第一电子设备发送的音频参数,本发明实施例对具体的接收第一电子设备发送的音频参数不加以限定。Specifically, the second electronic device receives the audio parameter sent by the first electronic device through its own sending/receiving module, and can also receive the audio parameter sent by the first electronic device by using the mobile device connected to itself, in addition to The audio parameters sent by the first electronic device are received in other manners. The embodiment of the present invention does not limit the specific audio parameters sent by the first electronic device.
1902、根据音频参数,确定语音请求对应的控制指令;1902. Determine, according to the audio parameter, a control instruction corresponding to the voice request.
具体的,若控制指令包括应用程序控制指令,应用程序控制指令包括启动应用程序或者关闭应用程序,确定语音请求对应的控制指令包括:Specifically, if the control instruction includes an application control instruction, the application control instruction includes starting the application or closing the application, and determining the control instruction corresponding to the voice request includes:
检测应用程序是否处于启动状态或者关闭状态;Detect if the application is in the startup state or the shutdown state;
若应用程序处于启动状态,则确定语音请求对应的控制指令为关闭应用程序;If the application is in the startup state, determining that the control command corresponding to the voice request is to close the application;
若应用程序处于关闭状态,则确定语音请求对应的控制指令为启动应用程序。If the application is in the off state, it is determined that the control command corresponding to the voice request is to start the application.
若控制指令包括应用程序功能的控制指令,则在应用程序处于启动状态之后,方法还包括:If the control instruction includes a control instruction of the application function, after the application is in the startup state, the method further includes:
检测应用程序功能是否处于启动状态或者关闭状态;Detect whether the application function is in the startup state or the shutdown state;
若应用程序功能处于启动状态,则确定语音请求对应的控制指令为关闭应用程序功能。If the application function is in the startup state, it is determined that the control command corresponding to the voice request is to close the application function.
若应用程序功能处于关闭状态,则确定语音请求对应的控制指令为启动应用程序功能。 If the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
若控制指令包括设备控制指令,设备控制指令包括关闭设备,确定语音请求对应的控制指令包括:If the control instruction includes a device control instruction, the device control instruction includes closing the device, and determining the control instruction corresponding to the voice request includes:
检测应用程序是否处于启动状态;Detect if the application is in the startup state;
若设备处于启动状态,则确定语音请求对应的控制指令为关闭设备。If the device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the device.
1903、执行控制指令。1903. Execute a control command.
本发明实施例提供了一种应用程序启动方法,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup method, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
实施例十二Example twelve
本发明实施例提供一种第二电子设备20,参照图20所示,该电子设备20包括:The embodiment of the present invention provides a second electronic device 20. Referring to FIG. 20, the electronic device 20 includes:
接收模块201,用于接收第一电子设备发送的音频参数;The receiving module 201 is configured to receive an audio parameter sent by the first electronic device;
确定模块202,用于根据音频参数,确定语音请求对应的控制指令;The determining module 202 is configured to determine, according to the audio parameter, a control instruction corresponding to the voice request;
执行模块203,用于执行控制指令。The execution module 203 is configured to execute a control instruction.
可选的,电子设备20还包括:Optionally, the electronic device 20 further includes:
检测模块,用于检测应用程序是否处于启动状态或者关闭状态;a detection module, configured to detect whether the application is in an activated state or a closed state;
确认模块202具体用于,当应用程序处于启动状态时,则确定语音请求对应的控制指令为关闭应用程序;当应用程序处于关闭状态时,则确定语音请求对应的控制指令为启动应用程序。The confirmation module 202 is specifically configured to: when the application is in the startup state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in the closed state, determine that the control instruction corresponding to the voice request is to start the application.
可选的,Optional,
检测模块还用于检测应用程序功能是否处于启动状态或者关闭状态; The detection module is further configured to detect whether the application function is in an activated state or a closed state;
确认模块202用于,当应用程序功能处于启动状态时,则确定语音请求对应的控制指令为关闭应用程序功能;当应用程序功能处于关闭状态时,则确定语音请求对应的控制指令为启动应用程序功能。The confirmation module 202 is configured to: when the application function is in the startup state, determine that the control instruction corresponding to the voice request is to close the application function; when the application function is in the closed state, determine that the control instruction corresponding to the voice request is to start the application Features.
可选的,Optional,
检测模块还用于,检测电子设备是否处于启动状态;The detecting module is further configured to detect whether the electronic device is in an activated state;
确认模块202用于,当电子设备处于启动状态时,则确定语音请求对应的控制指令为关闭电子设备。The confirmation module 202 is configured to: when the electronic device is in an activated state, determine that the control command corresponding to the voice request is to turn off the electronic device.
本发明实施例提供了一种电子设备,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an electronic device. Since the voice command corresponding to the voice request can be recognized by the voice parameter input by the user, the control command corresponding to the voice request is executed. Therefore, the method avoids the traditional manual input. To activate the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind sounds in the voice request input by the user, the input mode of the user is increased. It satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others.
实施例十三Example thirteen
本发明实施例提供了一种第二电子设备21,参照图21,包括语音输入模块2101、发送模块2102、接收模块2103、存储器2104以及分别与语音输入模块2101、发送模块2102、接收模块2103以及存储器2104连接的处理器2105,其中,存储器2104中存储一组程序代码,处理器2105用于调用存储器2104中存储的程序代码,执行以下操作:The embodiment of the present invention provides a second electronic device 21, which includes a voice input module 2101, a sending module 2102, a receiving module 2103, a memory 2104, and a voice input module 2101, a sending module 2102, and a receiving module 2103, respectively. The memory 2104 is connected to the processor 2105, wherein the memory 2104 stores a set of program codes, and the processor 2105 is configured to call the program code stored in the memory 2104 to perform the following operations:
接收第一电子设备发送的音频参数;Receiving audio parameters sent by the first electronic device;
根据音频参数,确定语音请求对应的控制指令;Determining, according to the audio parameter, a control instruction corresponding to the voice request;
执行控制指令。Execute control instructions.
可选的,处理器2105还用于调用存储器2104中存储的程序代码,执行以下操作: Optionally, the processor 2105 is further configured to invoke the program code stored in the memory 2104, and perform the following operations:
检测应用程序是否处于启动状态或者关闭状态;Detect if the application is in the startup state or the shutdown state;
若应用程序处于启动状态,则确定语音请求对应的控制指令为关闭应用程序;If the application is in the startup state, determining that the control command corresponding to the voice request is to close the application;
若应用程序处于关闭状态,则确定语音请求对应的控制指令为启动应用程序。If the application is in the off state, it is determined that the control command corresponding to the voice request is to start the application.
可选的,Optional,
处理器2105还用于调用存储器2104中存储的程序代码,执行以下操作:The processor 2105 is further configured to call the program code stored in the memory 2104 to perform the following operations:
检测应用程序功能是否处于启动状态或者关闭状态;Detect whether the application function is in the startup state or the shutdown state;
若应用程序功能处于启动状态,则确定语音请求对应的控制指令为关闭应用程序功能。If the application function is in the startup state, it is determined that the control command corresponding to the voice request is to close the application function.
若应用程序功能处于关闭状态,则确定语音请求对应的控制指令为启动应用程序功能。If the application function is off, it is determined that the control command corresponding to the voice request is the launch application function.
可选的,处理器2105还用于调用存储器2104中存储的程序代码,执行以下操作:Optionally, the processor 2105 is further configured to invoke the program code stored in the memory 2104, and perform the following operations:
检测电子设备是否处于启动状态;Detecting whether the electronic device is in an activated state;
若电子设备处于启动状态,则确定语音请求对应的控制指令为关闭电子设备。If the electronic device is in the startup state, it is determined that the control command corresponding to the voice request is to turn off the electronic device.
本发明实施例提供了一种电子设备,通过接收第一电子设备语音请求中能被识别为风声的音频参数,根据音频参数,确定语音请求对应的控制指令,从而简化了启动程序的操作步骤,提高了用户体验。An embodiment of the present invention provides an electronic device that determines an audio parameter that can be recognized as a wind sound in a voice request of a first electronic device, and determines a control instruction corresponding to the voice request according to the audio parameter, thereby simplifying an operation procedure of the startup program. Improve the user experience.
实施例十四Embodiment 14
本发明实施例提供了一种应用程序启动系统,该系统包括:An embodiment of the present invention provides an application startup system, where the system includes:
实施例十的第一电子设备、实施例十二的第二电子设备以及服务器;a first electronic device of the tenth embodiment, a second electronic device of the twelfth embodiment, and a server;
其中,服务器用于连接第一电子设备和第二电子设备。The server is configured to connect the first electronic device and the second electronic device.
由于在该系统中,第一电子设备可以通过向第二电子设备发送包括能被识别为风声的音频参数的语音请求来实现第二电子设备的关闭、第二电子设备上 应用程序的开启和关闭以及第二电子设备上应用程序功能的开启和关闭,通过实现了第一电子设备对第二电子设备的控制,进一步提高了用户的交互体验。Since in the system, the first electronic device can implement the closing of the second electronic device by transmitting a voice request including an audio parameter that can be recognized as a wind sound to the second electronic device, on the second electronic device The opening and closing of the application and the opening and closing of the application function on the second electronic device further improve the user's interactive experience by implementing the control of the second electronic device by the first electronic device.
本发明实施例提供了一种应用程序启动系统,由于可以通过识别用户输入的语音请求中能被识别为风声的音频参数,执行语音请求对应的控制指令,所以,该方法避免了采用传统的需要手动输入来启动电子设备应用程序,从而简化了启动程序的操作步骤,提高了用户体验;另外,由于该方法可以识别用户输入的语音请求中能被识别为风声的音频参数,增加了用户的输入方式,满足了用户的个性化需求,更进一步提高了用户体验;另外,该方法还通过增加用户的输入方式,简化应用程序操作步骤,在用户与他人交互的场景中,提高了用户的交互体验。The embodiment of the present invention provides an application startup system, which can avoid the use of traditional requirements by recognizing an audio parameter that can be recognized as a wind sound in a voice request input by a user, and executing a control instruction corresponding to the voice request. Manual input to launch the electronic device application, which simplifies the operation steps of the startup program and improves the user experience; in addition, since the method can recognize the audio parameters that can be recognized as wind noise in the voice request input by the user, the user input is increased. The method satisfies the user's individual needs and further improves the user experience. In addition, the method also simplifies the application operation steps by increasing the user input mode, and improves the user interaction experience in the scenario where the user interacts with others. .
值得注意的是,本发明实施例所述的“第一”和“第二”仅仅是示例性的,是为了区分二者的不同,并非特指。It is to be noted that the “first” and “second” described in the embodiments of the present invention are merely exemplary, and are intended to distinguish between the two, and are not specifically.
需要说明的是:上述实施例提供的电子设备在开启应用程序时,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将装置及设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的电子设备与应用程序启动方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that, when the electronic device provided by the foregoing embodiment is used to open the application, only the division of the above functional modules is illustrated. In actual applications, the function distribution may be completed by different functional modules as needed. The internal structure of the device and device is divided into different functional modules to perform all or part of the functions described above. In addition, the electronic device and the application startup method embodiment provided by the foregoing embodiments are in the same concept, and the specific implementation process is described in detail in the method embodiment, and details are not described herein again.
上述本发明实施例序号仅仅为了描述,不代表实施例的优劣。The serial numbers of the embodiments of the present invention are merely for the description, and do not represent the advantages and disadvantages of the embodiments.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。A person skilled in the art may understand that all or part of the steps of implementing the above embodiments may be completed by hardware, or may be instructed by a program to execute related hardware, and the program may be stored in a computer readable storage medium. The storage medium mentioned may be a read only memory, a magnetic disk or an optical disk or the like.
以上所述仅为本发明的较佳实施例,并不用以限制本发明,凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。 The above are only the preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalents, improvements, etc., which are within the spirit and scope of the present invention, should be included in the protection of the present invention. Within the scope.

Claims (18)

  1. 一种应用程序启动方法,其特征在于,所述方法包括:An application startup method, the method comprising:
    接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
    识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
    根据所述音频参数,确定所述语音请求对应的控制指令,并执行所述控制指令。Determining, according to the audio parameter, a control instruction corresponding to the voice request, and executing the control instruction.
  2. 根据权利要求1所述的方法,其特征在于,所述识别所述语音请求中的音频参数包括:The method of claim 1, wherein the identifying the audio parameters in the voice request comprises:
    判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
    若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
  3. 根据权利要求1所述的方法,其特征在于,若所述控制指令包括应用程序控制指令,所述应用程序控制指令至少包括启动应用程序或者关闭应用程序,确定所述语音请求对应的控制指令包括:The method according to claim 1, wherein if the control instruction comprises an application control instruction, the application control instruction comprises at least starting an application or closing an application, and determining that the control instruction corresponding to the voice request comprises :
    检测所述应用程序是否处于启动状态或者关闭状态;Detecting whether the application is in an activated state or a closed state;
    若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
    若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
  4. 根据权利要求1所述的方法,其特征在于,若所述控制指令包括应用程序功能控制指令,则在确定所述应用程序处于启动状态之后,确定所述语音请求对应的控制指令包括:The method according to claim 1, wherein if the control instruction comprises an application function control instruction, after determining that the application is in an activated state, determining the control instruction corresponding to the voice request comprises:
    检测所述应用程序功能是否处于启动状态或者关闭状态; Detecting whether the application function is in an activated state or a closed state;
    若所述应用程序功能处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序功能;If the application function is in an activated state, determining that the control instruction corresponding to the voice request is to close the application function;
    若所述应用程序功能处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序功能。If the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
  5. 一种电子设备,其特征在于,所述设备包括:An electronic device, the device comprising:
    接收模块,用于接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;a receiving module, configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
    识别模块,用于识别所述语音请求中的音频参数;An identification module, configured to identify an audio parameter in the voice request;
    确定模块,用于根据所述音频参数,确定所述语音请求对应的控制指令;a determining module, configured to determine, according to the audio parameter, a control instruction corresponding to the voice request;
    执行模块,用于执行所述控制指令。An execution module is configured to execute the control instruction.
  6. 根据权利要求5所述的设备,其特征在于,所述识别模块具体用于:The device according to claim 5, wherein the identification module is specifically configured to:
    判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
    若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
  7. 根据权利要求5所述的设备,其特征在于,The device according to claim 5, characterized in that
    所述设备还包括检测模块,用于检测所述应用程序是否处于启动状态或者关闭状态;The device further includes a detecting module, configured to detect whether the application is in an activated state or a closed state;
    所述确认模块具体用于,当所述应用程序处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述应用程序;当所述应用程序处于关闭状态时,则确定所述语音请求对应的控制指令为启动所述应用程序。The confirmation module is specifically configured to: when the application is in an activated state, determine that the control instruction corresponding to the voice request is to close the application; when the application is in a closed state, determine the voice The corresponding control command is requested to start the application.
  8. 根据权利要求5所述的设备,其特征在于,The device according to claim 5, characterized in that
    所述检测模块用于,检测所述应用程序功能是否处于启动状态或者关闭状态;The detecting module is configured to detect whether the application function is in an activated state or a closed state;
    所述确认模块用于,当所述应用程序功能处于启动状态时,则确定所述语音请求对应的控制指令为关闭所述应用程序功能;当所述应用程序功能处于关 闭状态时,则确定所述语音请求对应的控制指令为启动所述应用程序功能。The confirmation module is configured to: when the application function is in an activated state, determine that the control instruction corresponding to the voice request is to close the application function; when the application function is off In the closed state, it is determined that the control instruction corresponding to the voice request is to start the application function.
  9. 一种电子设备,其特征在于,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块和所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:An electronic device, comprising: a voice input module, a sending module, a receiving module, a memory, and a processor respectively connected to the voice input module, the sending module, the receiving module, and the memory, wherein The memory stores a set of program codes, and the processor is configured to call the program code stored in the memory to perform the following operations:
    接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
    识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
    根据所述音频参数,确定所述语音请求对应的控制指令,并执行所述控制指令。Determining, according to the audio parameter, a control instruction corresponding to the voice request, and executing the control instruction.
  10. 根据权利要求9所述的电子设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:The electronic device according to claim 9, wherein the processor is further configured to call the program code stored in the memory, and perform the following operations:
    判断预设时间内所述音频参数与预设音频参数之前的相似度,所述预设音频参数为与风声对应的音频参数;Determining, before the preset time, the similarity between the audio parameter and the preset audio parameter, where the preset audio parameter is an audio parameter corresponding to the wind sound;
    若所述音频参数与预设音频参数之前的相似度大于预设阈值,则将所述音频参数识别为风声。And if the similarity between the audio parameter and the preset audio parameter is greater than a preset threshold, the audio parameter is recognized as a wind sound.
  11. 根据权利要求9所述的电子设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:The electronic device according to claim 9, wherein the processor is further configured to call the program code stored in the memory, and perform the following operations:
    检测所述应用程序是否处于启动状态或者关闭状态;Detecting whether the application is in an activated state or a closed state;
    若所述应用程序处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序;If the application is in an activated state, determining that the control instruction corresponding to the voice request is to close the application;
    若所述应用程序处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序。If the application is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application.
  12. 根据权利要求9所述的电子设备,其特征在于,所述处理器还用于调用所述存储器中存储的程序代码,执行以下操作:The electronic device according to claim 9, wherein the processor is further configured to call the program code stored in the memory, and perform the following operations:
    检测所述应用程序功能是否处于启动状态或者关闭状态; Detecting whether the application function is in an activated state or a closed state;
    若所述应用程序功能处于启动状态,则确定所述语音请求对应的控制指令为关闭所述应用程序功能;If the application function is in an activated state, determining that the control instruction corresponding to the voice request is to close the application function;
    若所述应用程序功能处于关闭状态,则确定所述语音请求对应的控制指令为启动所述应用程序功能。If the application function is in the off state, it is determined that the control instruction corresponding to the voice request is to start the application function.
  13. 一种应用程序启动方法,所述方法应用于第一电子设备,其特征在于,所述方法包括:An application startup method, the method being applied to a first electronic device, wherein the method comprises:
    接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
    识别所述语音请求中的音频参数,将所述音频参数发送至第二电子设备。Identifying audio parameters in the voice request, and transmitting the audio parameters to the second electronic device.
  14. 一种第一电子设备,其特征在于,所述设备包括:A first electronic device, the device comprising:
    接收模块,用于接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;a receiving module, configured to receive a voice request input by a user, where the voice request includes at least an audio parameter that can be recognized as a wind sound, and the voice request corresponds to the control instruction;
    识别模块,用于识别所述语音请求中的音频参数;An identification module, configured to identify an audio parameter in the voice request;
    发送模块,用于将所述音频参数发送至第二电子设备。And a sending module, configured to send the audio parameter to the second electronic device.
  15. 一种第一电子设备,其特征在于,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块和所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A first electronic device, comprising: a voice input module, a sending module, a receiving module, a memory, and a processor respectively connected to the voice input module, the sending module, the receiving module, and the memory, The memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory, and perform the following operations:
    接收用户输入的语音请求,所述语音请求至少包括能被识别为风声的音频参数,所述语音请求与控制指令相对应;Receiving a voice request input by a user, the voice request including at least an audio parameter that can be recognized as a wind sound, the voice request corresponding to the control instruction;
    识别所述语音请求中的音频参数;Identifying audio parameters in the voice request;
    将所述音频参数发送至第二电子设备。The audio parameter is sent to the second electronic device.
  16. 一种应用程序启动方法,所述方法应用于第二电子设备,其特征在于,所述方法包括:An application startup method, the method being applied to a second electronic device, wherein the method comprises:
    接收第一电子设备发送的音频参数;Receiving audio parameters sent by the first electronic device;
    根据所述音频参数,确定语音请求对应的控制指令; Determining, according to the audio parameter, a control instruction corresponding to the voice request;
    执行所述控制指令。Execute the control instruction.
  17. 一种第二电子设备,其特征在于,所述设备包括:A second electronic device, the device comprising:
    接收模块,用于接收第一电子设备发送的音频参数;a receiving module, configured to receive an audio parameter sent by the first electronic device;
    确定模块,用于根据所述音频参数,确定所述语音请求对应的控制指令;a determining module, configured to determine, according to the audio parameter, a control instruction corresponding to the voice request;
    执行模块,用于执行所述控制指令。An execution module is configured to execute the control instruction.
  18. 一种第二电子设备,其特征在于,包括语音输入模块、发送模块、接收模块、存储器以及分别与所述语音输入模块、所述发送模块、所述接收模块以及所述存储器连接的处理器,其中,所述存储器中存储一组程序代码,所述处理器用于调用所述存储器中存储的程序代码,执行以下操作:A second electronic device, comprising: a voice input module, a sending module, a receiving module, a memory, and a processor respectively connected to the voice input module, the sending module, the receiving module, and the memory, The memory stores a set of program codes, and the processor is configured to invoke program code stored in the memory, and perform the following operations:
    接收第一电子设备发送的音频参数;Receiving audio parameters sent by the first electronic device;
    根据所述音频参数,确定所述语音请求对应的控制指令;Determining, according to the audio parameter, a control instruction corresponding to the voice request;
    执行所述控制指令。 Execute the control instruction.
PCT/CN2015/099192 2015-02-06 2015-12-28 Application program starting method and electronic device WO2016124048A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201510064373.XA CN104615358A (en) 2015-02-06 2015-02-06 Application program starting method and electronic device
CN201510064373.X 2015-02-06

Publications (1)

Publication Number Publication Date
WO2016124048A1 true WO2016124048A1 (en) 2016-08-11

Family

ID=53149829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/099192 WO2016124048A1 (en) 2015-02-06 2015-12-28 Application program starting method and electronic device

Country Status (2)

Country Link
CN (1) CN104615358A (en)
WO (1) WO2016124048A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321201A (en) * 2018-03-29 2019-10-11 努比亚技术有限公司 A kind of background program processing method, terminal and computer readable storage medium
CN110888686B (en) * 2018-09-07 2022-08-16 成都鼎桥通信技术有限公司 Application program starting method, device and storage medium

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104615358A (en) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 Application program starting method and electronic device
CN108320744B (en) * 2018-02-07 2020-06-23 Oppo广东移动通信有限公司 Voice processing method and device, electronic equipment and computer readable storage medium
CN109903763B (en) * 2019-01-11 2022-02-22 百度在线网络技术(北京)有限公司 Service control method, device and equipment
CN109783049A (en) * 2019-02-15 2019-05-21 广州视源电子科技股份有限公司 Method of controlling operation thereof, device, equipment and storage medium
CN111565281A (en) * 2020-05-07 2020-08-21 Oppo广东移动通信有限公司 Photographing method and device, electronic equipment and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100079370A1 (en) * 2008-09-30 2010-04-01 Samsung Electronics Co., Ltd. Apparatus and method for providing interactive user interface that varies according to strength of blowing
CN103019793A (en) * 2012-12-26 2013-04-03 广东欧珀移动通信有限公司 Method and device for microphone (MIC) intelligent terminal quick start program
CN103139394A (en) * 2013-03-20 2013-06-05 惠州Tcl移动通信有限公司 Answering or hanging up process method and system based on incoming call of mobile phone
CN103167161A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving mobile phone instrument playing based on microphone input
CN103703495A (en) * 2013-08-23 2014-04-02 华为技术有限公司 Remote control device, information processing method and system
CN103780738A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal image processing method and mobile terminal
CN104615358A (en) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 Application program starting method and electronic device

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100079370A1 (en) * 2008-09-30 2010-04-01 Samsung Electronics Co., Ltd. Apparatus and method for providing interactive user interface that varies according to strength of blowing
CN103167161A (en) * 2012-10-09 2013-06-19 深圳市金立通信设备有限公司 System and method for achieving mobile phone instrument playing based on microphone input
CN103780738A (en) * 2012-10-17 2014-05-07 腾讯科技(深圳)有限公司 Mobile terminal image processing method and mobile terminal
CN103019793A (en) * 2012-12-26 2013-04-03 广东欧珀移动通信有限公司 Method and device for microphone (MIC) intelligent terminal quick start program
CN103139394A (en) * 2013-03-20 2013-06-05 惠州Tcl移动通信有限公司 Answering or hanging up process method and system based on incoming call of mobile phone
CN103703495A (en) * 2013-08-23 2014-04-02 华为技术有限公司 Remote control device, information processing method and system
CN104615358A (en) * 2015-02-06 2015-05-13 掌赢信息科技(上海)有限公司 Application program starting method and electronic device

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110321201A (en) * 2018-03-29 2019-10-11 努比亚技术有限公司 A kind of background program processing method, terminal and computer readable storage medium
CN110888686B (en) * 2018-09-07 2022-08-16 成都鼎桥通信技术有限公司 Application program starting method, device and storage medium

Also Published As

Publication number Publication date
CN104615358A (en) 2015-05-13

Similar Documents

Publication Publication Date Title
WO2016124048A1 (en) Application program starting method and electronic device
CN108829235B (en) Voice data processing method and electronic device supporting the same
EP3734596B1 (en) Determining target device based on speech input of user and controlling target device
KR102429436B1 (en) Server for seleting a target device according to a voice input, and controlling the selected target device, and method for operating the same
KR102414122B1 (en) Electronic device for processing user utterance and method for operation thereof
KR102346302B1 (en) Electronic apparatus and Method of operating voice recognition in the electronic apparatus
US9852731B2 (en) Mechanism and apparatus for seamless voice wake and speaker verification
US9117449B2 (en) Embedded system for construction of small footprint speech recognition with user-definable constraints
CN108133707B (en) Content sharing method and system
US20230335137A1 (en) Hub device, multi-device system including the hub device and plurality of devices, and method of operating the same
CN109584876A (en) Processing method, device and the voice air conditioner of voice data
WO2020062670A1 (en) Method and apparatus for controlling electrical appliance, electrical appliance, and medium
WO2013049237A1 (en) Hybrid client/server speech recognition in a mobile device
US10559303B2 (en) Methods and apparatus for reducing latency in speech recognition applications
US10540973B2 (en) Electronic device for performing operation corresponding to voice input
US10880384B1 (en) Multi-tasking resource management
WO2019228136A1 (en) Application control method, apparatus, storage medium and electronic device
US20230360650A1 (en) Response orchestrator for natural language interface
WO2019228138A1 (en) Music playback method and apparatus, storage medium, and electronic device
JP2020038709A (en) Continuous conversation function with artificial intelligence device
US11763819B1 (en) Audio encryption
KR102501083B1 (en) Method for voice detection and electronic device using the same
US10923122B1 (en) Pausing automatic speech recognition
WO2019242415A1 (en) Position prompt method, device, storage medium and electronic device
KR102396147B1 (en) Electronic device for performing an operation using voice commands and the method of the same

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

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

Country of ref document: EP

Kind code of ref document: A1