CN108874460B - Voice transmission device and method for executing voice assistant program - Google Patents

Voice transmission device and method for executing voice assistant program Download PDF

Info

Publication number
CN108874460B
CN108874460B CN201710329891.9A CN201710329891A CN108874460B CN 108874460 B CN108874460 B CN 108874460B CN 201710329891 A CN201710329891 A CN 201710329891A CN 108874460 B CN108874460 B CN 108874460B
Authority
CN
China
Prior art keywords
voice
voice assistant
assistant program
flag
program
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.)
Active
Application number
CN201710329891.9A
Other languages
Chinese (zh)
Other versions
CN108874460A (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.)
Dafa Technology Co ltd
Original Assignee
Dafa 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 Dafa Technology Co ltd filed Critical Dafa Technology Co ltd
Priority to CN201710329891.9A priority Critical patent/CN108874460B/en
Publication of CN108874460A publication Critical patent/CN108874460A/en
Application granted granted Critical
Publication of CN108874460B publication Critical patent/CN108874460B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44568Immediately runnable code
    • G06F9/44578Preparing or optimising for loading
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; SPEECH OR AUDIO CODING OR DECODING
    • G10L15/00Speech recognition
    • G10L15/22Procedures used during a speech recognition process, e.g. man-machine dialogue
    • GPHYSICS
    • G10MUSICAL INSTRUMENTS; ACOUSTICS
    • G10LSPEECH ANALYSIS OR SYNTHESIS; SPEECH RECOGNITION; SPEECH OR VOICE PROCESSING; 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

Abstract

The invention discloses a voice transmission device and a method for executing a voice assistant program. The voice transmission device is used for establishing a connection with an electronic device with a first voice assistant program and a second voice assistant program. The detection module of the voice transmission device is used for detecting whether a second voice assistant program of the electronic device is started to generate a first flag or a second flag. The memory module is used for storing the first flag or the second flag. When the memory module stores the first flag, the control switch generates a first control signal by the operation of a user, so that the electronic device executes a first voice assistant program. When the memory module stores the second flag, the control switch generates a second control signal by the operation of the user, so that the electronic device executes a second voice assistant program.

Description

Voice transmission device and method for executing voice assistant program
Technical Field
The present invention relates to a voice transmission device and a method for executing a voice assistant program, and more particularly, to a voice transmission device and a method for executing a voice assistant program, which are convenient for a user to operate.
Background
With the advancement of technology, many voice assistant programs have been developed, such as Siri of apple, google Now of Google, cortana of microsoft, or Alexa of amazon, etc. The voice assistant program is built in the operating system of each company, for example, the iOS system is built in Siri, and the Android system is built in Google Now. Additional installation is required if other voice assistant programs are to be used. However, in the prior art, the built-in voice assistant program is used as the program to be executed preferentially, and it is inconvenient to start other voice assistant programs. Especially for users who use headsets and are inconvenient to operate, there is no way to execute the desired voice assistant program.
Therefore, it is necessary to invent a new voice transmission apparatus and a method for executing a voice assistant program thereof to solve the drawbacks of the prior art.
Disclosure of Invention
The present invention is directed to a voice transmission device, which is convenient for a user to operate.
Another objective of the present invention is to provide a method for executing a voice assistant program for the voice transmission apparatus.
To achieve the above object, the voice transmission device of the present invention is used for establishing a connection with an electronic device. The electronic device at least has a first voice assistant program and a second voice assistant program. The voice transmission device comprises a microphone, a detection module, a memory module and a control switch. The microphone is used for receiving voice signals. The detection module is used for detecting whether a second voice assistant program of the electronic device is started or not; wherein when detecting that the second voice assistant program is not started, generating a first flag; when the second voice assistant program is detected to be started, a second flag is generated. The memory module is electrically connected with the detection module and used for storing the first flag or the second flag. The control switch is electrically connected with the reading memory module for a user to operate, wherein when the memory module stores the first flag, the control switch generates a first control signal by the operation of the user, so that the electronic device executes a first voice assistant program to identify the voice signal; when the memory module stores the second flag, the control switch generates a second control signal by the operation of the user, so that the electronic device executes a second voice assistant program to recognize the voice signal.
The method of executing a voice assistant program of the present invention comprises the steps of: detecting whether a second voice assistant program of the electronic device is started; generating a first flag when detecting that the second voice assistant program is not started; generating a second flag when the second voice assistant program is detected to be started; storing the first flag or the second flag; when the first flag is stored, generating a first control signal by the operation of a user, and enabling the electronic device to execute a first voice assistant program; and when the second flag is stored, generating a second control signal by the operation of the user so that the electronic device executes a second voice assistant program.
Drawings
Fig. 1 is a schematic diagram of a connection structure between an audio transmission device and an electronic device according to the present invention.
FIG. 2 is a flow chart of the steps of a method of executing a voice assistant program of the present invention.
Wherein, the reference numbers:
voice transmission device 1
Electronic device 2
First Voice Assistant program 2a
Second Voice Assistant program 2b
Microphone 10
Loudspeaker device 20
Detection module 30
Memory module 40
Control switch 50
Detailed Description
In order to make the technical content of the present invention more comprehensible, preferred embodiments are described below.
Fig. 1 is a schematic diagram of a connection structure between a voice transmission device and an electronic device according to the present invention.
The voice transmission device 1 of the present invention is used for establishing a connection with the electronic device 2. In an embodiment of the present invention, the voice transmission device 1 and the electronic device 2 are connected by a bluetooth protocol, but the voice transmission device 1 and the electronic device 2 can also be connected by other wireless or wired methods, and the present invention is not limited thereto. The electronic device 2 may be a smart phone, a tablet computer or a notebook computer, and the electronic device 2 at least has a first voice assistant program 2a and a second voice assistant program 2b, the first voice assistant program 2a may be a program built in an operating system, such as Siri of apple or Google Now of Google, and the second voice assistant program 2b may be an additionally installed program, such as Alexa of amazon, but the invention is not limited to the above-mentioned voice assistant programs.
The voice transmission device 1 can be a device having both the microphone 10 and the speaker 20, such as a headset, and the speaker 20 can be an earphone, but the invention is not limited thereto. The microphone 10 is used for receiving the voice signal of the user, and the speaker device 20 emits the voice signal generated by the voice assistant program. In addition, the voice transmission device 1 further includes a detection module 30, a memory module 40 and a control switch 50. The detecting module 30 is used for detecting whether the voice assistant program of the electronic device 2 is started. For example, when the voice transmission apparatus 1 establishes a connection with the electronic apparatus 2, the detection module 30 actively detects whether the first voice assistant program 2a and the second voice assistant program 2b are activated. Or after the electronic device 2 is connected to the voice transmission device 1, the electronic device 2 transmits a signal indicating whether the first voice assistant program 2a and the second voice assistant program 2b are activated to the detection module 30. The present invention is not limited to the detection module 30 actively or passively learning the activation status of the first voice assistant program 2a and the second voice assistant program 2 b. The first voice assistant program 2a and the second voice assistant program 2b can be activated by the user and enter a standby state, or are set as a resident program after the electronic device 2 is powered on, but the invention is not limited thereto.
Thus, when the detecting module 30 detects that the second voice assistant program 2b is not activated, or the detecting module 30 detects that the electronic device only activates the first voice assistant program 2a, the detecting module 30 generates a first Flag (Flag). When the detecting module 30 detects that the second voice assistant program 2b is activated, the detecting module 30 generates a second flag.
The memory module 40 is electrically connected to the detecting module 30 for storing the first flag or the second flag. When the detecting module 30 generates the first flag or the second flag, the first flag or the second flag is stored in the memory module 40. The first flag and the second flag in the memory module 40 do not exist at the same time, i.e. the memory module 40 replaces the old flag with the newly received flag.
The control switch 50 is electrically connected to and reads the memory module 40, and may have physical keys for a user to operate. When the user operates the switch 50, the generated control signal is determined according to the first flag or the second flag stored in the memory module 40. When the memory module 40 stores the first flag, it represents that the second voice assistant program 2b is not activated but only the first voice assistant program 2a is activated, so that the control switch 50 generates a first control signal by the user's operation, and the electronic device 2 executes the first voice assistant program 2a to recognize the voice signal from the microphone 10. When the memory module 40 stores the second flag, it represents that the second voice assistant program 2b is activated, so the control switch 50 generates a second control signal by the user's operation, and the electronic device 2 directly executes the second voice assistant program 2b to recognize the voice signal from the microphone 10. The electronic device 2 will not execute the first voice assistant program 2a.
It should be noted that, the modules of the voice transmission apparatus 1 may be configured by a hardware device, a software program combined with the hardware device, a firmware combined with the hardware device, and the like, but the present invention is not limited to the above-mentioned manner. In addition, the present embodiment is only an example of the preferred embodiment of the present invention, and all possible combinations of the variations are not described in detail for avoiding redundancy. However, it should be understood by those skilled in the art that the above modules or elements are not necessarily required. And may include other existing modules or components in greater detail for practicing the invention. Each module or component may be omitted or modified as desired, and no other module or component may necessarily exist between any two modules.
Referring next to FIG. 2, a flowchart illustrating steps of a method for executing a voice assistant program according to the present invention is shown. It should be noted that, although the voice transmission apparatus 1 is described as an example to describe the method for executing the voice assistant program of the present invention, the method for executing the voice assistant program of the present invention is not limited to the voice transmission apparatus 1 with the same structure.
First, step S201 is performed: detecting whether the second voice assistant program of the electronic device is started.
First, the detection module 30 actively or passively knows the start state of the second voice assistant program 2b, or simultaneously knows the states of the first voice assistant program 2a and the second voice assistant program 2 b. In an embodiment of the present invention, the first voice assistant program 2a may be a built-in program of the operating system, and the second voice assistant program 2b may be an additionally installed program, so that the first voice assistant program 2a is already a resident program, and the detection module 30 only detects the boot status of the second voice assistant program 2 b.
Then, when the detecting module 30 detects that the second voice assistant program 2b is not started, step S202 is performed: a first flag is generated.
When the detecting module 30 detects that the second voice assistant program 2b is not activated, a first flag is generated.
Step S203 is performed again: the first flag is stored.
The memory module 40 is used for storing the first flag.
When the memory module 40 stores the first flag, the process proceeds to step S204: a first control signal is generated by the operation of a user, so that the electronic device executes the first voice assistant program.
When the memory module 40 stores the first flag, only the first voice assistant program 2a is activated, so the control switch 50 generates a first control signal by the user's operation, and the electronic device 2 executes the first voice assistant program 2a to recognize the voice signal from the microphone 10.
If the second voice assistant program 2b is started in step 201, step S205 is performed: a second flag is generated.
When the detecting module 30 detects that the second voice assistant program 2b has been activated, the detecting module 30 generates a second flag.
Then, step S206 is executed: the second flag is stored.
The memory module 40 is used for storing the second flag.
When the memory module 40 stores the second flag, step S207 is performed again: a second control signal is generated by the operation of the user, so that the electronic device executes the second voice assistant program.
The memory module 40 stores the second flag, which represents that the second voice assistant program 2b is activated, so that the control switch 50 generates a second control signal by the user's operation, so that the electronic device 2 directly executes the second voice assistant program 2b to recognize the voice signal from the microphone 10.
It should be noted that the method for executing the voice assistant program in the present invention is not limited to the above-mentioned sequence of steps, and the sequence of the steps can be changed as long as the purpose of the present invention is achieved.
Thus, the user can conveniently use the desired voice assistant program by operating the control switch 50 of the voice transmission device 1 without setting via the electronic device 2.
It should be noted that the above embodiments only illustrate the preferred embodiments of the present invention, and not describe in detail all possible combinations of the variations for avoiding redundancy. However, one of ordinary skill in the art should appreciate that each of the above modules or elements is not necessarily required. And may include other existing modules or components in greater detail for practicing the invention. Each module or component may be omitted or modified as required, and no other module or component may exist between any two modules. The scope of the claims should be determined only by the appended claims, and not by the following claims.

Claims (8)

1. A voice transmission device for establishing a connection with an electronic device, the electronic device having at least a first voice assistant program and a second voice assistant program, the voice transmission device comprising:
a microphone for receiving a voice signal;
a detection module for detecting whether the second voice assistant program of the electronic device is started; wherein when detecting that the second voice assistant program is not started, a first flag is generated; generating a second flag when detecting the second voice assistant program is started;
a memory module electrically connected to the detection module for storing the first flag or the second flag; and
a control switch electrically connected to and reading the memory module for a user to operate, wherein when the memory module stores the first flag, the control switch generates a first control signal by the user's operation, so that the electronic device executes the first voice assistant program to identify the voice signal; when the memory module stores the second flag, the control switch generates a second control signal by the operation of the user, so that the electronic device executes the second voice assistant program to recognize the voice signal;
the first voice assistant program is a built-in program of an operating system, and the second voice assistant program is an additionally installed program.
2. The voice transmission device of claim 1, wherein the first flag is generated when the electronic device is detected to activate only the first voice assistant program.
3. The voice transmission device of claim 1, wherein the voice transmission device comprises a speaker device.
4. The voice transmission device of claim 3, wherein the speaker device is an earphone.
5. The voice transmitter according to claim 1, wherein the voice transmitter and the electronic device are connected via a bluetooth protocol.
6. A method for executing voice assistant program is used for a voice transmission device to control an electronic device, wherein the electronic device at least has a first voice assistant program and a second voice assistant program; the method comprises the following steps:
detecting whether the second voice assistant program of the electronic device is started;
generating a first flag when detecting that the second voice assistant program is not started;
generating a second flag when detecting the second voice assistant program is started;
storing the first flag or the second flag;
when the first flag is stored, a first control signal is generated by the operation of a user, so that the electronic device executes the first voice assistant program; and
when the second flag is stored, generating a second control signal by the operation of the user, so that the electronic device executes the second voice assistant program;
the first voice assistant program is a built-in program of an operating system, and the second voice assistant program is an additionally installed program.
7. The method as claimed in claim 6, further comprising the step of generating the first flag when the electronic device is detected to only activate the first PDA program.
8. The method of claim 6 further comprising the step of connecting via a bluetooth protocol.
CN201710329891.9A 2017-05-11 2017-05-11 Voice transmission device and method for executing voice assistant program Active CN108874460B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710329891.9A CN108874460B (en) 2017-05-11 2017-05-11 Voice transmission device and method for executing voice assistant program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710329891.9A CN108874460B (en) 2017-05-11 2017-05-11 Voice transmission device and method for executing voice assistant program

Publications (2)

Publication Number Publication Date
CN108874460A CN108874460A (en) 2018-11-23
CN108874460B true CN108874460B (en) 2022-12-02

Family

ID=64319288

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710329891.9A Active CN108874460B (en) 2017-05-11 2017-05-11 Voice transmission device and method for executing voice assistant program

Country Status (1)

Country Link
CN (1) CN108874460B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163405A (en) * 1985-01-16 1986-07-24 Mitsubishi Electric Corp Numerical control device
CN1946107A (en) * 2005-10-07 2007-04-11 阿瓦雅技术有限公司 Interactive telephony trainer and exerciser
CN102177541A (en) * 2008-11-14 2011-09-07 沃科莱特保健系统公司 Training/coaching system for a voice-enabled work environment
CN103488401A (en) * 2013-09-30 2014-01-01 乐视致新电子科技(天津)有限公司 Voice assistant activating method and device
CN103501261A (en) * 2013-09-29 2014-01-08 北京奇虎科技有限公司 Method and equipment for establishing connection between clients
EP2863341A1 (en) * 2013-10-18 2015-04-22 Nuance Communications, Inc. Cross-channel content translation engine
CN104969289A (en) * 2013-02-07 2015-10-07 苹果公司 Voice trigger for a digital assistant
CN204744097U (en) * 2015-07-08 2015-11-11 陈德霖 Eyesight detector is reminded to intelligence pronunciation
EP2950307A1 (en) * 2014-05-30 2015-12-02 Apple Inc. Reducing the need for manual start/end-pointing and trigger phrases
CN105814535A (en) * 2013-09-25 2016-07-27 亚马逊技术股份有限公司 In-call virtual assistants
CN106331975A (en) * 2016-08-18 2017-01-11 上海智臻智能网络科技股份有限公司 Fault detection method, device and system for intelligent voice interaction equipment
CN106415412A (en) * 2014-05-30 2017-02-15 苹果公司 Intelligent assistant for home automation
CN106462617A (en) * 2014-06-30 2017-02-22 苹果公司 Intelligent automated assistant for tv user interactions
CN106471570A (en) * 2014-05-30 2017-03-01 苹果公司 Order single language input method more

Family Cites Families (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7171364B2 (en) * 2002-09-12 2007-01-30 Kabushiki Kaisha Toshiba Voice assistant apparatus inputting a key
US9223537B2 (en) * 2012-04-18 2015-12-29 Next It Corporation Conversation user interface
US9172747B2 (en) * 2013-02-25 2015-10-27 Artificial Solutions Iberia SL System and methods for virtual assistant networks
EP2821943A1 (en) * 2013-07-03 2015-01-07 Accenture Global Services Limited Query response device
EP2881898A1 (en) * 2013-12-09 2015-06-10 Accenture Global Services Limited Virtual assistant interactivity platform
US9804820B2 (en) * 2013-12-16 2017-10-31 Nuance Communications, Inc. Systems and methods for providing a virtual assistant
US9823811B2 (en) * 2013-12-31 2017-11-21 Next It Corporation Virtual assistant team identification
US9886953B2 (en) * 2015-03-08 2018-02-06 Apple Inc. Virtual assistant activation
CN105957525A (en) * 2016-04-26 2016-09-21 珠海市魅族科技有限公司 Interactive method of a voice assistant and user equipment
CN106384591A (en) * 2016-10-27 2017-02-08 乐视控股(北京)有限公司 Method and device for interacting with voice assistant application
US11508380B2 (en) * 2020-05-26 2022-11-22 Apple Inc. Personalized voices for text messaging

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS61163405A (en) * 1985-01-16 1986-07-24 Mitsubishi Electric Corp Numerical control device
CN1946107A (en) * 2005-10-07 2007-04-11 阿瓦雅技术有限公司 Interactive telephony trainer and exerciser
CN102177541A (en) * 2008-11-14 2011-09-07 沃科莱特保健系统公司 Training/coaching system for a voice-enabled work environment
CN104969289A (en) * 2013-02-07 2015-10-07 苹果公司 Voice trigger for a digital assistant
CN105814535A (en) * 2013-09-25 2016-07-27 亚马逊技术股份有限公司 In-call virtual assistants
CN103501261A (en) * 2013-09-29 2014-01-08 北京奇虎科技有限公司 Method and equipment for establishing connection between clients
CN103488401A (en) * 2013-09-30 2014-01-01 乐视致新电子科技(天津)有限公司 Voice assistant activating method and device
EP2863341A1 (en) * 2013-10-18 2015-04-22 Nuance Communications, Inc. Cross-channel content translation engine
EP2950307A1 (en) * 2014-05-30 2015-12-02 Apple Inc. Reducing the need for manual start/end-pointing and trigger phrases
CN105320726A (en) * 2014-05-30 2016-02-10 苹果公司 Reducing the need for manual start/end-pointing and trigger phrases
CN106415412A (en) * 2014-05-30 2017-02-15 苹果公司 Intelligent assistant for home automation
CN106471570A (en) * 2014-05-30 2017-03-01 苹果公司 Order single language input method more
CN106462617A (en) * 2014-06-30 2017-02-22 苹果公司 Intelligent automated assistant for tv user interactions
CN204744097U (en) * 2015-07-08 2015-11-11 陈德霖 Eyesight detector is reminded to intelligence pronunciation
CN106331975A (en) * 2016-08-18 2017-01-11 上海智臻智能网络科技股份有限公司 Fault detection method, device and system for intelligent voice interaction equipment

Also Published As

Publication number Publication date
CN108874460A (en) 2018-11-23

Similar Documents

Publication Publication Date Title
US10558427B2 (en) Electronic device for reproducing audio signal via external device and operating method thereof
US10204624B1 (en) False positive wake word
US10853437B2 (en) Method and apparatus for invoking application programming interface
EP2669889A2 (en) Method and apparatus for executing voice command in electronic device
CN112470217A (en) Method for determining electronic device to perform speech recognition and electronic device
CN110825411B (en) Upgrading method and device for TWS (two way satellite System) earphone system and computer-readable storage medium
CN104536848A (en) Firmware recovery method, device and terminal
US20160057564A1 (en) Bluetooth pairing method using a wired connection
CN106060261B (en) Audio playing device and method
WO2018049934A1 (en) Data migration method and terminals
EP3416040A1 (en) Sound effect processing method and mobile terminal
CN106940997B (en) Method and device for sending voice signal to voice recognition system
CN112055424A (en) Electronic device and method for switching electronic device
CN107633849B (en) Bluetooth device volume adjusting method, device and computer readable storage medium
US20180234533A1 (en) Intelligent voice reminder system, server and the method thereof
CN111131951A (en) Wireless earphone positioning method, wireless earphone, electronic equipment and storage medium
WO2017215615A1 (en) Sound effect processing method and mobile terminal
CN104598032A (en) Screen control method and device
CN103945063A (en) Earphone mode switching device and method and mobile terminal
CN103714028A (en) Information processing method and electronic equipment
CN106303616B (en) Play control method, device and terminal
CN108874460B (en) Voice transmission device and method for executing voice assistant program
TWM550851U (en) Voice transmission device
US10353504B2 (en) User interface for computing devices equipped with pressure-sensitive displays
CN101714355A (en) Voice recognition function starting system and method

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
TA01 Transfer of patent application right

Effective date of registration: 20201026

Address after: Taiwan, Hsinchu, China Science and Technology Industrial Park, Hsinchu County Road, building 5, No. 5

Applicant after: PixArt Imaging Inc.

Address before: Room 1, business centre, Eden, Seychelles

Applicant before: SEYCHELLES SHANGYUANDING AUDIO Co.,Ltd.

TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20220830

Address after: 5th floor, 6-5 TuXing Road, Hsinchu Science Park, Taiwan, China

Applicant after: Dafa Technology Co.,Ltd.

Address before: Taiwan, Hsinchu, China Science and Industry Park, Hsinchu County, 5 innovation road, No. 5 Building

Applicant before: PixArt Imaging Inc.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant