CN112908329A - Voice control method and device, electronic equipment and medium - Google Patents

Voice control method and device, electronic equipment and medium Download PDF

Info

Publication number
CN112908329A
CN112908329A CN202110221230.0A CN202110221230A CN112908329A CN 112908329 A CN112908329 A CN 112908329A CN 202110221230 A CN202110221230 A CN 202110221230A CN 112908329 A CN112908329 A CN 112908329A
Authority
CN
China
Prior art keywords
mobile terminal
verification
state
verification operation
motion information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202110221230.0A
Other languages
Chinese (zh)
Other versions
CN112908329B (en
Inventor
刘俊启
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Baidu Netcom Science and Technology Co Ltd
Original Assignee
Beijing Baidu Netcom Science and Technology Co Ltd
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 Beijing Baidu Netcom Science and Technology Co Ltd filed Critical Beijing Baidu Netcom Science and Technology Co Ltd
Priority to CN202110221230.0A priority Critical patent/CN112908329B/en
Publication of CN112908329A publication Critical patent/CN112908329A/en
Application granted granted Critical
Publication of CN112908329B publication Critical patent/CN112908329B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS TECHNIQUES OR SPEECH SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING TECHNIQUES; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • G10L2015/223Execution procedure of a spoken command

Landscapes

  • Engineering & Computer Science (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • Acoustics & Sound (AREA)
  • Multimedia (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • User Interface Of Digital Computer (AREA)
  • Telephone Function (AREA)

Abstract

The disclosure provides a voice control method and device, electronic equipment and a medium, and relates to the field of intelligent control, in particular to the field of voice control. The implementation scheme is as follows: acquiring first motion information of a mobile terminal; in response to the first motion information meeting a preset activation condition, executing at least one verification operation; and switching a voice transmission mode of an application program running on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.

Description

Voice control method and device, electronic equipment and medium
Technical Field
The present disclosure relates to the field of intelligent control technologies, and in particular, to a method and an apparatus for voice control, an electronic device, a computer-readable storage medium, and a computer program product.
Background
With the development of electronic technology, users can realize remote voice communication through various mobile devices, wherein the mobile devices are not limited to mobile phones and mobile computers, and can also include various mobile devices capable of realizing remote communication, such as smart wearable devices and handheld game machines. With the increasing abundance of mobile devices, voice control methods for mobile devices are becoming more diversified.
The approaches described in this section are not necessarily approaches that have been previously conceived or pursued. Unless otherwise indicated, it should not be assumed that any of the approaches described in this section qualify as prior art merely by virtue of their inclusion in this section. Similarly, unless otherwise indicated, the problems mentioned in this section should not be considered as having been acknowledged in any prior art.
Disclosure of Invention
The present disclosure provides a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product for voice control.
According to an aspect of the present disclosure, there is provided a voice control method, the method including: acquiring first motion information of a mobile terminal; in response to the first motion information meeting a preset activation condition, executing at least one verification operation; and switching a voice transmission mode of an application program running on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.
According to another aspect of the present disclosure, there is provided a voice control apparatus including: an acquisition unit configured to acquire first motion information of a mobile terminal; the verification unit is configured to respond to the first motion information meeting a preset activation condition and execute at least one verification operation; and a switching unit configured to switch a voice transmission mode of an application program being run on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.
According to another aspect of the present disclosure, there is provided an electronic device including: a memory, a processor and a computer program stored on the memory, wherein the processor is configured to execute the computer program with the steps of the method described above.
According to another aspect of the present disclosure, a non-transitory computer readable storage medium is provided, having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method described above.
According to another aspect of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program realizes the steps of the above-described method when executed by a processor.
According to one or more embodiments of the present disclosure, the control of the voice transmission mode of the application running on the mobile terminal can be conveniently performed, and the misoperation is effectively avoided, so that the accuracy of the control of the voice transmission mode is improved, and the user experience is improved.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present disclosure, nor do they limit the scope of the present disclosure. Other features of the present disclosure will become apparent from the following description.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate exemplary embodiments of the embodiments and, together with the description, serve to explain the exemplary implementations of the embodiments. The illustrated embodiments are for purposes of illustration only and do not limit the scope of the claims. Throughout the drawings, identical reference numbers designate similar, but not necessarily identical, elements.
FIG. 1 illustrates a schematic diagram of an exemplary system in which various methods described herein may be implemented, according to an embodiment of the present disclosure;
FIG. 2 shows a flow diagram of a voice control method according to an embodiment of the present disclosure;
FIG. 3 shows a flow diagram of another voice control method according to an embodiment of the present disclosure;
FIG. 4 shows a flow diagram of another voice control method according to an embodiment of the present disclosure;
FIG. 5 shows a block diagram of a voice control apparatus according to an embodiment of the present disclosure;
FIG. 6 illustrates a block diagram of an exemplary electronic device that can be used to implement embodiments of the present disclosure.
Detailed Description
Exemplary embodiments of the present disclosure are described below with reference to the accompanying drawings, in which various details of the embodiments of the disclosure are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope of the present disclosure. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
In the present disclosure, unless otherwise specified, the use of the terms "first", "second", etc. to describe various elements is not intended to limit the positional relationship, the timing relationship, or the importance relationship of the elements, and such terms are used only to distinguish one element from another. In some examples, a first element and a second element may refer to the same instance of the element, and in some cases, based on the context, they may also refer to different instances.
The terminology used in the description of the various examples in this disclosure is for the purpose of describing particular examples only and is not intended to be limiting. Unless the context clearly indicates otherwise, if the number of elements is not specifically limited, the elements may be one or more. Furthermore, the term "and/or" as used in this disclosure is intended to encompass any and all possible combinations of the listed items.
In the related art, in order to implement control over the voice transmission mode of an application running on a mobile terminal, a user is often required to operate a corresponding control key in an operation page of the application to implement switching over the voice transmission mode. In this case, when the user needs to switch the voice transmission mode, it is inevitable to open the operation page of the application program and operate the corresponding control key to realize the switching of the voice transmission mode. The operation method sometimes needs a plurality of times of operation of the user, and is tedious, so that the user experience is poor.
Based on this, the present disclosure proposes a method, an apparatus, an electronic device, a computer-readable storage medium, and a computer program product of voice control. According to the voice control method provided by the disclosure, at least one verification operation is executed under the condition that the first motion information of the mobile terminal meets the preset activation condition, and the voice transmission mode of the application program running on the mobile terminal is switched according to the verification result, so that the control of the voice transmission mode of the application program running on the mobile terminal can be conveniently executed, misoperation is avoided, the accuracy of the control of the voice transmission mode is improved, and the user experience is improved.
Embodiments of the present disclosure will be described in detail below with reference to the accompanying drawings.
Fig. 1 illustrates a schematic diagram of an exemplary system 100 in which various methods and apparatus described herein may be implemented in accordance with embodiments of the present disclosure. Referring to fig. 1, the system 100 includes one or more client devices 101, 102, 103, 104, 105, and 106, a server 120, and one or more communication networks 110 coupling the one or more client devices to the server 120. Client devices 101, 102, 103, 104, 105, and 106 may be configured to execute one or more applications.
In embodiments of the present disclosure, the server 120 may run one or more services or software applications that enable the method of voice control to be performed.
In some embodiments, the server 120 may also provide other services or software applications that may include non-virtual environments and virtual environments. In certain embodiments, these services may be provided as web-based services or cloud services, for example, provided to users of client devices 101, 102, 103, 104, 105, and/or 106 under a software as a service (SaaS) model.
In the configuration shown in fig. 1, server 120 may include one or more components that implement the functions performed by server 120. These components may include software components, hardware components, or a combination thereof, which may be executed by one or more processors. A user operating a client device 101, 102, 103, 104, 105, and/or 106 may, in turn, utilize one or more client applications to interact with the server 120 to take advantage of the services provided by these components. It should be understood that a variety of different system configurations are possible, which may differ from system 100. Accordingly, fig. 1 is one example of a system for implementing the various methods described herein and is not intended to be limiting.
The user may use the client device 101, 102, 103, 104, 105, and/or 106 to obtain voice data, as well as various sensory data including motion information, pose information, and image information of the mobile terminal, to enable voice control of the mobile terminal based on the sensory data. The client device may provide an interface that enables a user of the client device to interact with the client device. The client device may also output information to the user via the interface. Although fig. 1 depicts only six client devices, those skilled in the art will appreciate that any number of client devices may be supported by the present disclosure.
Client devices 101, 102, 103, 104, 105, and/or 106 may include various types of computer devices, such as portable handheld devices, general purpose computers (such as personal computers and laptop computers), workstation computers, wearable devices, gaming systems, thin clients, various messaging devices, sensors or other sensing devices, and so forth. These computer devices may run various types and versions of software applications and operating systems, such as Microsoft Windows, Apple iOS, UNIX-like operating systems, Linux, or Linux-like operating systems (e.g., Google Chrome OS); or include various Mobile operating systems, such as Microsoft Windows Mobile OS, iOS, Windows Phone, Android. Portable handheld devices may include cellular telephones, smart phones, tablets, Personal Digital Assistants (PDAs), and the like. Wearable devices may include head mounted displays and other devices. The gaming system may include a variety of handheld gaming devices, internet-enabled gaming devices, and the like. The client device is capable of executing a variety of different applications, such as various Internet-related applications, communication applications (e.g., email applications), Short Message Service (SMS) applications, and may use a variety of communication protocols.
Network 110 may be any type of network known to those skilled in the art that may support data communications using any of a variety of available protocols, including but not limited to TCP/IP, SNA, IPX, etc. By way of example only, one or more networks 110 may be a Local Area Network (LAN), an ethernet-based network, a token ring, a Wide Area Network (WAN), the internet, a virtual network, a Virtual Private Network (VPN), an intranet, an extranet, a Public Switched Telephone Network (PSTN), an infrared network, a wireless network (e.g., bluetooth, WIFI), and/or any combination of these and/or other networks.
The server 120 may include one or more general purpose computers, special purpose server computers (e.g., PC (personal computer) servers, UNIX servers, mid-end servers), blade servers, mainframe computers, server clusters, or any other suitable arrangement and/or combination. The server 120 may include one or more virtual machines running a virtual operating system, or other computing architecture involving virtualization (e.g., one or more flexible pools of logical storage that may be virtualized to maintain virtual storage for the server). In various embodiments, the server 120 may run one or more services or software applications that provide the functionality described below.
The computing units in server 120 may run one or more operating systems including any of the operating systems described above, as well as any commercially available server operating systems. The server 120 may also run any of a variety of additional server applications and/or middle tier applications, including HTTP servers, FTP servers, CGI servers, JAVA servers, database servers, and the like.
In some implementations, the server 120 may include one or more applications to analyze and consolidate data feeds and/or event updates received from users of the client devices 101, 102, 103, 104, 105, and 106. Server 120 may also include one or more applications to display data feeds and/or real-time events via one or more display devices of client devices 101, 102, 103, 104, 105, and 106.
In some embodiments, the server 120 may be a server of a distributed system, or a server incorporating a blockchain. The server 120 may also be a cloud server, or a smart cloud computing server or a smart cloud host with artificial intelligence technology. The cloud Server is a host product in a cloud computing service system, and is used for solving the defects of high management difficulty and weak service expansibility in the traditional physical host and Virtual Private Server (VPS) service.
The system 100 may also include one or more databases 130. In some embodiments, these databases may be used to store data and other information. For example, one or more of the databases 130 may be used to store information such as audio files and video files. The data store 130 may reside in various locations. For example, the data store used by the server 120 may be local to the server 120, or may be remote from the server 120 and may communicate with the server 120 via a network-based or dedicated connection. The data store 130 may be of different types. In certain embodiments, the data store used by the server 120 may be a database, such as a relational database. One or more of these databases may store, update, and retrieve data to and from the database in response to the command.
In some embodiments, one or more of the databases 130 may also be used by applications to store application data. The databases used by the application may be different types of databases, such as key-value stores, object stores, or regular stores supported by a file system.
The system 100 of fig. 1 may be configured and operated in various ways to enable application of the various methods and apparatus described in accordance with the present disclosure.
Fig. 2 is a flowchart illustrating a voice control method according to an exemplary embodiment of the present disclosure, and the method may include: step S201, acquiring first motion information of the mobile terminal; step S202, responding to the first motion information meeting a preset activation condition, and executing at least one verification operation; and step S203, responding to the verification success of each verification operation in at least one verification operation, and switching the voice transmission mode of the application program running on the mobile terminal. Therefore, the user can conveniently execute the control on the voice transmission mode of the application program running on the mobile terminal, misoperation is avoided, the accuracy of the control on the voice transmission mode is improved, and the user experience is improved.
For step S201, the first motion information may be one or more types including acceleration information, angular velocity information, and the like.
According to some embodiments, the mobile terminal may obtain the first motion information of the mobile terminal by calling an acceleration sensor and/or an angular velocity sensor of the mobile terminal.
For step S202, according to some embodiments, the first motion information may include an acceleration value, and the preset activation condition may include that the acceleration value of the mobile terminal is greater than a preset acceleration threshold. Therefore, whether the activation condition is met or not can be conveniently judged according to the acquired acceleration information of the mobile terminal, and the subsequent verification operation is further executed.
For example, when the user lifts the arm to move the mobile terminal to the mouth, the acceleration sensor in the mobile terminal may detect a corresponding acceleration value, and at this time, the acceleration value is greater than a preset acceleration threshold, which may be determined as meeting the activation condition, so that the specific application program running in the mobile terminal enters an activation state.
It can be understood that, in the case that the user normally uses the mobile terminal, even if the acceleration sensor in the mobile terminal can detect a certain acceleration value, the acceleration value of the mobile terminal, which is not required by the preset activation condition, is greater than the preset acceleration threshold, the application program will not be brought into the activation state, and thus, the misoperation of the user can be reduced to a certain extent.
According to some embodiments, the preset activation condition may further include a preset specific action. The user can make a specific application program running in the mobile terminal enter an activation state by controlling the mobile terminal to execute a specific action consistent with a preset activation condition. For example, when the preset activation condition is that a circle is drawn clockwise, the user may make a specific application running in the mobile terminal enter an activation state by waving the mobile terminal to draw the circle clockwise in the space.
It is understood that the preset activation condition may also include other specific actions, and the disclosure is not limited thereto.
When an application running on a mobile terminal enters an active state, at least one verification operation may be performed to determine whether to switch a voice transmission mode of the application accordingly.
It will be appreciated that the at least one thread of authentication operations is only initiated after an application running on the mobile terminal enters an active state. Therefore, the voice control accuracy can be improved, and the excessive occupation of the sensor and the computing resource of the mobile terminal can be avoided.
According to some embodiments, the at least one verification operation may comprise a gesture verification operation, which may comprise: acquiring attitude information of the mobile terminal; and determining that the posture verification operation is verified successfully in response to the posture information satisfying the first verification condition. Therefore, the current intention of the user can be accurately judged based on the posture information of the mobile terminal, and misoperation of voice control is avoided.
According to some embodiments, the posture information may include orientation information of the mobile terminal, and the first verification condition may include a right side of the mobile terminal facing upward.
It will be appreciated that when a user wishes to communicate voice through a mobile terminal, the front of the mobile terminal will be oriented upward so that the user's voice will be better received by the microphone typically located on the front of the mobile terminal. Therefore, when the front of the mobile terminal faces upwards, the user can be judged to want to carry out voice communication through the mobile terminal at present, and then the voice communication of the mobile terminal is started correspondingly; otherwise, it can be determined that the user does not want to perform voice communication through the mobile terminal at present, and accordingly voice communication of the mobile terminal is not started.
According to some embodiments, when the microphone of the mobile terminal is disposed at the rear or side of the mobile terminal, the first authentication condition may be set to face upward at the rear or side of the mobile terminal, respectively.
According to some embodiments, the orientation information of the mobile terminal may be detected by an acceleration sensor disposed in the mobile terminal, and when the acceleration sensor detects that the acceleration of gravity on the vertical coordinate axis is a negative direction, it may be determined that the front of the mobile terminal faces upward, and conversely, it may be determined that the back of the mobile terminal faces upward. It is to be understood that the above-mentioned detection of the orientation information of the mobile terminal by using the acceleration sensor is only an exemplary embodiment, and in practical applications, other methods may be used to detect various posture information of the mobile terminal including the orientation information, so as to implement the posture verification operation, which is not limited herein.
According to some embodiments, after the running application program enters the activated state in response to the first motion information of the mobile terminal satisfying the preset activation condition, the corresponding thread of the posture verification operation is started, and the corresponding sensor in the mobile terminal is started to acquire the posture information of the mobile terminal. Thereby, excessive occupation of relevant sensors and computing resources in the mobile terminal can be avoided.
According to some embodiments, the at least one authentication operation may include an image authentication operation, and fig. 3 is a schematic diagram illustrating an image authentication operation according to an exemplary embodiment of the present disclosure, the image authentication operation including: s301, controlling the mobile terminal to execute image information acquisition; step S302, image information collected by the mobile terminal is obtained; and step S303, in response to the image information meeting the second verification condition, determining that the image verification operation is verified successfully. Therefore, the current intention of the user can be accurately judged based on the acquired image information, and misoperation of voice control is avoided.
The mobile terminal can acquire the image information by calling one or more cameras arranged at different positions.
According to some embodiments, the second verification condition includes that the image information includes face information.
It is understood that when a user wishes to perform voice communication through the mobile terminal, the mobile terminal will be moved to a position close to the face. Therefore, when the camera of the mobile terminal can collect the face information, the user can be judged to hope to carry out voice communication through the mobile terminal, and then the voice communication of the mobile terminal is correspondingly started; otherwise, it can be determined that the user does not wish to perform voice communication through the mobile terminal, and accordingly the voice communication of the mobile terminal is not opened.
The face information may be the whole face or a part of the face.
According to some embodiments, the face information may include a particular organ in the face, for example, the mouth. In particular, the face information may also include a specific state of a specific organ, for example, a mouth in an open state.
According to some embodiments, after an application running in the mobile terminal enters an active state in response to that first motion information of the mobile terminal meets a preset activation condition, a corresponding thread of an image verification operation is started, and a camera in the mobile terminal is started to acquire image information. Thus, waste of related sensors and computing resources in the mobile terminal can be avoided.
According to some embodiments, the at least one verification operation may include a state verification operation, and fig. 4 is a flowchart illustrating a state verification operation according to an exemplary embodiment of the present disclosure, the state verification operation including: step S401, second motion information of the mobile terminal in a first preset time range is obtained; step S402, determining the state of the mobile terminal according to second motion information in a first preset time range based on a preset rule; and step S403, in response to the state of the mobile terminal being in a static state, determining that the state verification operation is successful. Therefore, the current intention of the user can be accurately judged based on whether the mobile terminal is in a static state, and misoperation of voice control is avoided.
It is understood that, when the mobile terminal is in a motion state, for example, the mobile terminal is in a moving vehicle, or the user carries the mobile terminal for outdoor sports, the activation operation performed according to the first motion information of the mobile terminal does not conform to the user's true intention. In this case, by performing the state verification operation on the mobile terminal, the situation of wrong activation caused by the fact that the mobile terminal is in a motion state can be avoided, and the accuracy of voice control is improved.
The first preset time range may be a specific time period after the mobile terminal enters the active state. The second motion information of the mobile terminal in the first preset time range is time-varying motion information of the mobile terminal in the first preset time range, and may include acceleration information, angular velocity information, and the like.
According to some embodiments, the state verification operation may be performed based on a continuous plurality of first preset time ranges. Specifically, when determining that the state of the mobile terminal is not the stationary state according to the second motion information in the first preset time range, after the first preset time range is ended, next determining whether the state of the mobile terminal is the stationary state in the next first preset time range, and so on until determining that the state of the mobile terminal is the stationary state or completing the state verification operation based on each first preset time range.
According to some embodiments, determining the state of the mobile terminal according to the second motion information within the first preset time range based on the preset rule includes: and determining that the state of the mobile terminal is a static state in response to that the value of the second motion information is smaller than a preset threshold value within a first preset time range. Therefore, whether the state of the mobile terminal is in a static state or not can be conveniently judged.
According to some embodiments, the method further comprises: and for each verification operation in the at least one verification operation, determining that the verification operation fails to verify in response to the verification operation not being successfully verified within a second preset time range, wherein the second preset time range is not less than the first preset time range when the at least one verification operation comprises a state verification operation. Therefore, when the real intention of the user is judged not to be voice control, the mobile terminal sensor and the computing resource occupied by the verification operation can be released in time, and the waste of the resource of the mobile terminal is avoided.
With respect to step S203, in response to each of the at least one verification operation being successfully verified, a voice transmission mode of an application program running on the mobile terminal is switched.
The switching of the voice transmission mode of the application program running on the mobile terminal may include turning on voice transmission, turning off voice transmission, or changing a voice transmission mode.
According to some embodiments, the application may run in the background of the mobile terminal. Under the condition, the user can directly switch the voice transmission mode of the application program running in the background of the mobile terminal, and the user does not need to switch the application program running in the background to the foreground to run and then switch the voice transmission mode of the application program, so that the operation of the user is facilitated.
It is understood that when the application program runs in the background of the mobile terminal, only the reduced voice box may be displayed, and the voice box does not include a control key for switching the voice transmission mode of the application program. The user can browse other object contents of the mobile terminal while carrying out voice call through the application program running in the background. According to one or more embodiments of the present disclosure, a user may execute a first motion by controlling the mobile terminal to activate the application program running in the background, and after the verification operation is successful, control over the voice transmission mode of the application program running in the background is achieved without clicking a reduced voice frame, and then control over the voice transmission mode is performed by opening an operation interface of the application program, so that convenience of user operation is effectively improved.
According to some embodiments, a user can set the authority of an application program in the mobile terminal, so that the application program can continuously monitor the first motion information of the mobile terminal in the background running process, and further determine whether the first motion information meets the preset activation condition.
According to some embodiments, a user may set the authority of an application program in a mobile terminal, so that the application program may further call related sensors and computing resources of the mobile terminal in an activated state to perform an authentication operation on the mobile terminal.
According to some embodiments, the application program may display the open permission prompt message on a display page of the mobile terminal after entering the active state, and after the user selects or confirms, the application program may further call the relevant sensor and computing resource to perform the authentication operation on the mobile terminal.
According to some embodiments, the application may comprise a teleconferencing application. Therefore, the user can conveniently control the voice transmission mode of the teleconference in real time.
According to some embodiments, switching the voice transmission mode of the application in response to each of the at least one authentication operation being successfully authenticated comprises: switching a voice transmission mode of the teleconference application from a talk-spurt mode to a non-talk-spurt mode.
It is to be understood that switching the voice transmission mode of the application may also correspondingly include switching the voice transmission mode of the teleconference application from the non-talk-inhibit mode to the talk-inhibit mode, which is not limited herein.
According to another method of the present disclosure, there is also disclosed a voice control apparatus 500, the apparatus 500 comprising: an obtaining unit 501 configured to obtain first motion information of a mobile terminal; a verification unit 502 configured to perform at least one verification operation in response to the first motion information satisfying a preset activation condition; and a switching unit 503 configured to switch a voice transmission mode of an application program being run on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.
According to some embodiments, the first motion information comprises an acceleration value, and the preset activation condition comprises that the acceleration value of the mobile terminal is greater than a preset acceleration threshold.
According to some embodiments, the at least one verification operation comprises a gesture verification operation, the verification unit comprising: a first sub-acquisition unit configured to acquire attitude information of the mobile terminal; and a first sub-determination unit that determines that the posture verification operation is verified successfully in response to the posture information satisfying the first verification condition.
According to some embodiments, the at least one authentication operation comprises an image authentication operation, the authentication unit comprising: the first sub-control unit is configured for controlling the mobile terminal to execute image information acquisition; the second sub-acquisition unit is configured to acquire the image information acquired by the mobile terminal; and a second sub-determination unit configured to determine that the image verification operation is verified successfully in response to the image information satisfying a second verification condition.
According to some embodiments, the at least one verify operation comprises a state verify operation, the verify unit comprising: the third sub-acquisition unit is configured to acquire second motion information of the mobile terminal within a first preset time range; a third sub-determination unit configured to determine a state of the mobile terminal according to the second motion information within the first preset time range based on a preset rule; and a fourth sub-determination unit configured to determine that the state verification operation is successfully verified in response to the state of the mobile terminal being a stationary state.
According to another aspect of the present disclosure, there is also disclosed an electronic device, comprising: a memory, a processor and a computer program stored on the memory, wherein the processor is configured to execute the computer program to implement the steps of the above-described method.
According to another aspect of the disclosure, a non-transitory computer readable storage medium is also disclosed, having a computer program stored thereon, wherein the computer program, when executed by a processor, performs the steps of the method above.
According to another aspect of the present disclosure, a computer program product is also disclosed, comprising a computer program, wherein the computer program realizes the steps of the above-described method when executed by a processor.
Referring to fig. 6, a block diagram of a structure of an electronic device 600, which may be a server or a client of the present disclosure, which is an example of a hardware device that may be applied to aspects of the present disclosure, will now be described. Electronic device is intended to represent various forms of digital electronic computer devices, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other suitable computers. The electronic device may also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices, and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be examples only, and are not meant to limit implementations of the disclosure described and/or claimed herein.
As shown in fig. 6, the apparatus 600 includes a computing unit 601, which can perform various appropriate actions and processes according to a computer program stored in a Read Only Memory (ROM)602 or a computer program loaded from a storage unit 608 into a Random Access Memory (RAM) 603. In the RAM 603, various programs and data required for the operation of the device 600 can also be stored. The calculation unit 601, the ROM 602, and the RAM 603 are connected to each other via a bus 604. An input/output (I/O) interface 605 is also connected to bus 604.
A number of components in the device 600 are connected to the I/O interface 605, including: an input unit 606, an output unit 607, a storage unit 608, and a communication unit 609. The input unit 606 may be any type of device capable of inputting information to the device 600, and the input unit 606 may receive input numeric or character information and generate key signal inputs related to user settings and/or function controls of the electronic device, and may include, but is not limited to, a mouse, a keyboard, a touch screen, a track pad, a track ball, a joystick, a microphone, and/or a remote control. Output unit 607 may be any type of device capable of presenting information and may include, but is not limited to, a display, speakers, a video/audio output terminal, a vibrator, and/or a printer. The storage unit 608 may include, but is not limited to, a magnetic disk, an optical disk. The communication unit 609 allows the device 600 to exchange information/data with other devices via a computer network, such as the internet, and/or various telecommunications networks, and may include, but is not limited to, a modem, a network card, an infrared communication device, a wireless communication transceiver, and/or a chipset, such as a bluetooth (TM) device, an 1302.11 device, a WiFi device, a WiMax device, a cellular communication device, and/or the like.
The computing unit 601 may be a variety of general and/or special purpose processing components having processing and computing capabilities. Some examples of the computing unit 601 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various dedicated Artificial Intelligence (AI) computing chips, various computing units running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, and so forth. The calculation unit 601 performs the respective methods and processes described above, such as a voice control method. For example, in some embodiments, the voice control method may be implemented as a computer software program tangibly embodied in a machine-readable medium, such as storage unit 608. In some embodiments, part or all of the computer program may be loaded and/or installed onto the device 600 via the ROM 602 and/or the communication unit 609. When the computer program is loaded into the RAM 603 and executed by the computing unit 601, one or more steps of the speech control method described above may be performed. Alternatively, in other embodiments, the computing unit 601 may be configured to perform the voice control method by any other suitable means (e.g., by means of firmware).
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Program code for implementing the methods of the present disclosure may be written in any combination of one or more programming languages. These program codes may be provided to a processor or controller of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the program codes, when executed by the processor or controller, cause the functions/operations specified in the flowchart and/or block diagram to be performed. The program code may execute entirely on the machine, partly on the machine, as a stand-alone software package partly on the machine and partly on a remote machine or entirely on the remote machine or server.
In the context of this disclosure, a machine-readable medium may be a tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. The machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on a computer having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the computer. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), and the Internet.
The computer system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present disclosure may be performed in parallel, sequentially or in different orders, and are not limited herein as long as the desired results of the technical solutions disclosed in the present disclosure can be achieved.
Although embodiments or examples of the present disclosure have been described with reference to the accompanying drawings, it is to be understood that the above-described methods, systems and apparatus are merely exemplary embodiments or examples and that the scope of the present invention is not limited by these embodiments or examples, but only by the claims as issued and their equivalents. Various elements in the embodiments or examples may be omitted or may be replaced with equivalents thereof. Further, the steps may be performed in an order different from that described in the present disclosure. Further, various elements in the embodiments or examples may be combined in various ways. It is important that as technology evolves, many of the elements described herein may be replaced with equivalent elements that appear after the present disclosure.

Claims (20)

1. A method of voice control, the method comprising:
acquiring first motion information of a mobile terminal;
responding to the first motion information meeting a preset activation condition, and executing at least one verification operation; and
switching a voice transmission mode of an application program running on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.
2. The method of claim 1, wherein the first motion information comprises an acceleration value, and the preset activation condition comprises the acceleration value of the mobile terminal being greater than a preset acceleration threshold.
3. The method of claim 1, wherein the at least one verification operation comprises a gesture verification operation comprising:
acquiring attitude information of the mobile terminal; and
and determining that the gesture verification operation is verified successfully in response to the gesture information meeting a first verification condition.
4. The method of claim 3, wherein the pose information comprises orientation information of the mobile terminal, and the first verification condition comprises a right side of the mobile terminal facing upward.
5. The method of claim 1, wherein the at least one authentication operation comprises an image authentication operation comprising:
controlling the mobile terminal to execute image information acquisition;
acquiring image information acquired by the mobile terminal; and
and determining that the image verification operation is verified successfully in response to the image information meeting a second verification condition.
6. The method of claim 5, wherein the second verification condition comprises inclusion of face information in the image information.
7. The method of claim 1, wherein the at least one verify operation comprises a state verify operation,
the state verification operation includes:
acquiring second motion information of the mobile terminal within a first preset time range;
determining the state of the mobile terminal according to second motion information within the first preset time range based on a preset rule; and
and determining that the state verification operation is verified successfully in response to the state of the mobile terminal being a static state.
8. The method of claim 7, wherein the determining the state of the mobile terminal according to the second motion information within the first preset time range based on a preset rule comprises:
and determining that the state of the mobile terminal is a static state in response to that the value of the second motion information is smaller than a preset threshold value within the first preset time range.
9. The method of any one of claims 1 to 8, further comprising:
for each of the at least one verification operation, determining that the verification operation failed verification in response to the verification operation not being successfully verified within a second preset time range,
when the at least one verification operation comprises a state verification operation, the second preset time range is not less than the first preset time range.
10. The method according to any one of claims 1 to 8, wherein the application program runs in the background of the mobile terminal.
11. The method of any of claims 1-8, wherein the application comprises a teleconferencing application.
12. The method of claim 11, wherein said switching a voice transmission mode of the application in response to each of the at least one authentication operation authenticating successfully comprises:
switching a voice transmission mode of the teleconference application from a talk-spurt mode to a non-talk-spurt mode.
13. A voice-controlled apparatus, the apparatus comprising:
an acquisition unit configured to acquire first motion information of a mobile terminal;
the verification unit is configured to respond to the first motion information meeting a preset activation condition and execute at least one verification operation; and
a switching unit configured to switch a voice transmission mode of an application program running on the mobile terminal in response to each of the at least one authentication operation being successfully authenticated.
14. The apparatus of claim 13, wherein the first motion information comprises an acceleration value, and the preset activation condition comprises the acceleration value of the mobile terminal being greater than a preset acceleration threshold.
15. The apparatus of claim 13, wherein the at least one verification operation comprises a gesture verification operation, the verification unit comprising:
a first sub-acquisition unit configured to acquire attitude information of the mobile terminal; and
and the first sub-determination unit is used for determining that the gesture verification operation is verified successfully in response to the gesture information meeting a first verification condition.
16. The apparatus of claim 13, wherein the at least one authentication operation comprises an image authentication operation, the authentication unit comprising:
a first sub-control unit configured to control the mobile terminal to perform image information acquisition;
the second sub-acquisition unit is configured to acquire the image information acquired by the mobile terminal; and
a second sub-determination unit configured to determine that the image verification operation is verified successfully in response to the image information satisfying a second verification condition.
17. The apparatus of claim 13, wherein the at least one verify operation comprises a state verify operation, the verify unit comprising:
the third sub-acquisition unit is configured to acquire second motion information of the mobile terminal within a first preset time range;
a third sub-determination unit configured to determine, based on a preset rule, a state of the mobile terminal according to second motion information within the first preset time range; and
a fourth sub-determination unit configured to determine that the state verification operation is successfully verified in response to the state of the mobile terminal being a stationary state.
18. An electronic device, comprising:
a memory, a processor, and a computer program stored on the memory,
wherein the processor is configured to execute the computer program to implement the steps of the method of any one of claims 1-12.
19. A non-transitory computer readable storage medium having a computer program stored thereon, wherein the computer program, when executed by a processor, implements the steps of the method of any of claims 1-12.
20. A computer program product comprising a computer program, wherein the computer program realizes the steps of the method of any one of claims 1-12 when executed by a processor.
CN202110221230.0A 2021-02-26 2021-02-26 Voice control method and device, electronic equipment and medium Active CN112908329B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110221230.0A CN112908329B (en) 2021-02-26 2021-02-26 Voice control method and device, electronic equipment and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110221230.0A CN112908329B (en) 2021-02-26 2021-02-26 Voice control method and device, electronic equipment and medium

Publications (2)

Publication Number Publication Date
CN112908329A true CN112908329A (en) 2021-06-04
CN112908329B CN112908329B (en) 2023-07-18

Family

ID=76108230

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110221230.0A Active CN112908329B (en) 2021-02-26 2021-02-26 Voice control method and device, electronic equipment and medium

Country Status (1)

Country Link
CN (1) CN112908329B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005039154A1 (en) * 2003-10-16 2005-04-28 Vodafone K.K. Mobile communication terminal and application program
KR20080015677A (en) * 2006-08-16 2008-02-20 삼성전자주식회사 Mobile terminal and method for changing mode thereof
US20170264827A1 (en) * 2016-03-08 2017-09-14 Xiaoyi Technology Co., Ltd. Motion-sensor based remote control
CN108307074A (en) * 2018-02-05 2018-07-20 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108391013A (en) * 2018-03-19 2018-08-10 广东欧珀移动通信有限公司 Playback method, terminal and the computer readable storage medium of voice data
KR20190017280A (en) * 2017-08-10 2019-02-20 엘지전자 주식회사 Mobile terminal and method for controlling of the same

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2005039154A1 (en) * 2003-10-16 2005-04-28 Vodafone K.K. Mobile communication terminal and application program
KR20080015677A (en) * 2006-08-16 2008-02-20 삼성전자주식회사 Mobile terminal and method for changing mode thereof
US20170264827A1 (en) * 2016-03-08 2017-09-14 Xiaoyi Technology Co., Ltd. Motion-sensor based remote control
KR20190017280A (en) * 2017-08-10 2019-02-20 엘지전자 주식회사 Mobile terminal and method for controlling of the same
CN108307074A (en) * 2018-02-05 2018-07-20 广东欧珀移动通信有限公司 Display control method and device, terminal, computer readable storage medium
CN108391013A (en) * 2018-03-19 2018-08-10 广东欧珀移动通信有限公司 Playback method, terminal and the computer readable storage medium of voice data

Also Published As

Publication number Publication date
CN112908329B (en) 2023-07-18

Similar Documents

Publication Publication Date Title
US20160048412A1 (en) Method and apparatus for switching applications
CN113791834B (en) Information display apparatus
CN113986788B (en) Data processing method and device, chip, electronic equipment and medium
CN114091672B (en) Distributed model reasoning method and device, electronic equipment and medium
CN106528163B (en) A kind of page switching method and device
CN113359995A (en) Man-machine interaction method, device, equipment and storage medium
CN113656843B (en) Information verification method, device, equipment and medium
CN113723305A (en) Image and video detection method, device, electronic equipment and medium
CN112908329B (en) Voice control method and device, electronic equipment and medium
CN114510308B (en) Method, device, equipment and medium for storing application page by mobile terminal
CN114266031A (en) Man-machine verification method and device and electronic equipment
CN114296838A (en) Vehicle-mounted multimedia application management method and device, electronic equipment and medium
CN113126928B (en) File moving method and device, electronic equipment and medium
CN114494797A (en) Method and apparatus for training image detection model
CN114550269A (en) Mask wearing detection method, device and medium
CN114327718A (en) Interface display method and device, equipment and medium
CN112558915A (en) Voice broadcasting method and device, electronic equipment, medium and product
CN114092556A (en) Method, apparatus, electronic device, medium for determining human body posture
CN111475043A (en) Operation method and device of terminal equipment
CN113126865B (en) Note generation method and device in video learning process, electronic equipment and medium
CN115359194B (en) Image processing method, image processing device, electronic equipment and storage medium
CN116824014B (en) Data generation method and device for avatar, electronic equipment and medium
CN114783429A (en) Man-machine interaction system, server, interaction terminal, interaction method and electronic equipment
CN114140851B (en) Image detection method and method for training image detection model
CN114882331A (en) Image processing method, apparatus, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant