[go: up one dir, main page]

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

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

Info

Publication number
TWI638351B
TWI638351B TW106130313A TW106130313A TWI638351B TW I638351 B TWI638351 B TW I638351B TW 106130313 A TW106130313 A TW 106130313A TW 106130313 A TW106130313 A TW 106130313A TW I638351 B TWI638351 B TW I638351B
Authority
TW
Taiwan
Prior art keywords
voice assistant
voice
flag
electronic device
program
Prior art date
Application number
TW106130313A
Other languages
Chinese (zh)
Other versions
TW201843673A (en
Inventor
趙冠力
楊國屏
Original Assignee
元鼎音訊股份有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 元鼎音訊股份有限公司 filed Critical 元鼎音訊股份有限公司
Priority to US15/813,235 priority Critical patent/US20180322869A1/en
Application granted granted Critical
Publication of TWI638351B publication Critical patent/TWI638351B/en
Publication of TW201843673A publication Critical patent/TW201843673A/en

Links

Landscapes

  • Telephone Function (AREA)

Abstract

一種語音傳輸裝置及其執行語音助理程式之方法。語音傳輸裝置係用來與具有第一語音助理程式及第二語音助理程式之電子裝置建立連線。語音傳輸裝置之偵測模組用以偵測電子裝置之第二語音助理程式是否啟動以產生第一旗標或第二旗標。記憶模組用以儲存第一旗標或第二旗標。當記憶模組儲存第一旗標時,控制開關係藉由使用者之操作產生第一控制訊號,使電子裝置執行第一語音助理程式。當記憶模組儲存第二旗標時,控制開關係藉由使用者之操作產生第二控制訊號,使電子裝置執行第二語音助理程式。A voice transmission device and method of executing the voice assistant program. The voice transmission device is used to establish a connection with an electronic device having a first voice assistant program and a second voice assistant program. The detection module of the voice transmission device is configured to detect whether the second voice assistant of the electronic device is activated to generate the first flag or the second flag. The memory module is configured to store the first flag or the second flag. When the memory module stores the first flag, the control relationship generates a first control signal by the operation of the user, so that the electronic device executes the first voice assistant program. When the memory module stores the second flag, the control relationship generates a second control signal by the operation of the user, so that the electronic device executes the second voice assistant program.

Description

語音傳輸裝置及其執行語音助理程式之方法Voice transmission device and method for executing the same

本發明係關於一種語音傳輸裝置及其執行語音助理程式之方法,特別是一種可以方便使用者操作的語音傳輸裝置及其執行語音助理程式之方法。 The present invention relates to a voice transmission device and a method thereof for performing a voice assistant program, and more particularly to a voice transmission device that can be conveniently operated by a user and a method of executing the voice assistant program.

隨著科技的進步,已經發展出很多語音助理程式,例如蘋果公司的Siri、Google公司的Google Now、微軟公司的Cortsna或是亞馬遜公司的Alexa等。在各公司的作業系統內都會內建其語音助理程式,例如iOS系統會內建Siri,Android系統會內建Google Now。若要用其他的語音助理程式的話就要額外安裝。然 而,於先前技術中都會以內建的語音助理程式為優先執行的程式,啟動其他的語音助理程式的話就會比較不方便。尤其是對於使用耳麥且不方便進行操作的使用者來說,就沒有辦法執行想要的語音助理程式。 With the advancement of technology, many voice assistant programs have been developed, such as Apple's Siri, Google's Google Now, Microsoft's Cortsna or Amazon's Alexa. In the operating system of each company, its voice assistant program will be built in. For example, iOS system will have built-in Siri, and Android system will have built-in Google Now. Additional installations are required to use other voice assistants. Of course However, in the prior art, the built-in voice assistant is the preferred program, and it is inconvenient to start other voice assistants. Especially for users who use headsets and are inconvenient to operate, there is no way to execute the desired voice assistant.

因此,有必要發明一種新的語音傳輸裝置及其執行語音助理程式之方法,以解決先前技術的缺失。 Therefore, it is necessary to invent a new voice transmission device and a method of executing the voice assistant program to solve the lack of the prior art.

本發明之主要目的係在提供一種語音傳輸裝置,其具有可以方便使用者操作的效果。 The main object of the present invention is to provide a voice transmission device having an effect that can be easily operated by a user.

本發明之另一主要目的係在提供一種用於上述語音傳輸裝置的執行語音助理程式。 Another main object of the present invention is to provide an execution voice assistant for the above voice transmission device.

為達成上述之目的,本發明之語音傳輸裝置係用來與電子裝置建立連線。電子裝置至少具有第一語音助理程式及第二語音助理程式。語音傳輸裝置包括麥克風、偵測模組、記憶模組及控制開關。麥克風用以接收語音訊號。偵測模組用以偵測電子裝置之第二語音助理程式是否啟動;其中當偵測第二語音助理程式未啟動時,係產生第一旗標;當偵測第二語音助理程式啟動時, 係產生第二旗標。記憶模組係電性連接偵測模組,用以儲存第一旗標或第二旗標。控制開關係電性連接並讀取記憶模組,以供使用者操作,其中當記憶模組儲存第一旗標時,控制開關係藉由使用者之操作產生第一控制訊號,使電子裝置執行第一語音助理程式以辨識語音訊號;當記憶模組儲存第二旗標時,控制開關係藉由使用者之操作產生第二控制訊號,使電子裝置執行第二語音助理程式以辨識語音訊號。 To achieve the above objects, the voice transmission device of the present invention is used to establish a connection with an electronic device. The electronic device has at least a first voice assistant program and a second voice assistant program. The voice transmission device includes a microphone, a detection module, a memory module and a control switch. The microphone is used to receive voice signals. The detection module is configured to detect whether the second voice assistant of the electronic device is activated; wherein when the second voice assistant is detected to be not activated, the first flag is generated; when the second voice assistant is detected, A second flag is generated. The memory module is an electrical connection detecting module for storing the first flag or the second flag. Controlling the electrical connection and reading the memory module for the user to operate, wherein when the memory module stores the first flag, the control relationship generates a first control signal by the operation of the user, so that the electronic device performs The first voice assistant program recognizes the voice signal; when the memory module stores the second flag, the control relationship 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 method for executing the voice assistant program of the present invention includes the steps of: detecting whether the second voice assistant of the electronic device is activated; generating a first flag when detecting that the second voice assistant is not activated; and detecting the second voice when detecting When the assistant starts, generating a second flag; storing the first flag or the second flag; and when storing the first flag, generating a first control signal by the operation of the user, causing the electronic device to execute the first voice assistant And the second control signal is generated by the operation of the user when the second flag is stored, so that the electronic device executes the second voice assistant program.

1‧‧‧語音傳輸裝置 1‧‧‧Voice transmission device

2‧‧‧電子裝置 2‧‧‧Electronic devices

2a‧‧‧第一語音助理程式 2a‧‧‧First Voice Assistant

2b‧‧‧第二語音助理程式 2b‧‧‧second voice assistant

10‧‧‧麥克風 10‧‧‧Microphone

20‧‧‧揚聲裝置 20‧‧‧ Speakers

30‧‧‧偵測模組 30‧‧‧Detection module

40‧‧‧記憶模組 40‧‧‧Memory Module

50‧‧‧控制開關 50‧‧‧Control switch

60‧‧‧程式總管模組 60‧‧‧Program Master Module

圖1係本發明之音訊傳輸裝置與電子裝置連接之架構示意圖。 1 is a schematic structural diagram of an audio transmission device and an electronic device connected to the present invention.

圖2係本發明之執行語音助理程式之方法之步驟流程圖。 2 is a flow chart showing the steps of the method of the present invention for executing a voice assistant.

為能讓 貴審查委員能更瞭解本發明之技術內容,特舉較佳具體實施例說明如下。 In order to enable the reviewing committee to better understand the technical contents of the present invention, the preferred embodiments are described below.

以下請先參考圖1係本發明之語音傳輸裝置與電子裝置連接之架構示意圖。 1 is a schematic structural diagram of a voice transmission device and an electronic device connected to the present invention.

本發明之語音傳輸裝置1係用來與電子裝置2建立連線。於本發明之一實施方式中,語音傳輸裝置1與電子裝置2係藉由一藍牙通訊協定進行連線,但語音傳輸裝置1與電子裝置2也可以利用其他無線或是有線方式進行連接,本發明並不限於此。電子裝置2可以為智慧型手機、平板電腦或筆記型電腦,且電子裝置2至少具有第一語音助理程式2a及第二語音助理程式2b,第一語音助理程式2a可以為作業系統內建之程式,例如蘋果公司的Siri或是Google公司的Google Now等,第二語音助理程式2b則為可額外安裝之程式,例如亞馬遜公司的Alexa,但本發明並不以上述列舉之語音助理程式為限。 The voice transmission device 1 of the present invention is used to establish 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 communication protocol, but the voice transmission device 1 and the electronic device 2 may also be connected by other wireless or wired methods. The invention is not limited to this. The electronic device 2 can be a smart phone, a tablet computer or a notebook computer, and the electronic device 2 has at least a first voice assistant program 2a and a second voice assistant program 2b. The first voice assistant program 2a can be a program built into the operating system. For example, Apple's Siri or Google's Google Now, etc., the second voice assistant 2b is an additional program, such as Amazon's Alexa, but the invention is not limited to the voice assistants listed above.

語音傳輸裝置1可以為同時具有麥克風10及揚聲裝置20之裝置,例如為一耳麥,所以其中揚聲裝置20可以為耳機,但本發明並不限於此。麥克風10用以接收使用者之語音訊號,揚聲裝置20則發出語音助理程式產生的語音訊號。此外,語音傳輸裝置1還包括偵測模組30、記憶模組40及控制開關50。偵測模組30用以偵測電子裝置2之語音助理程式是否啟動。例如當語音傳輸裝置1與電子裝置2建立連線時,偵測模組30主動偵測第一語音助理程式2a及第二語音助理程式2b是否有啟動。或是電子裝置2連接到語音傳輸裝置1後,電子裝置2將第一語音助理程式2a及第二語音助理程式2b是否啟動之訊號傳輸到偵測模組30。本發明並不限定偵測模組30是主動或被動得知第一語音助理程式2a及第二語音助理程式2b之啟動狀態。第一語音助理程式2a及第二語音助理程式2b可以由使用者啟動並進入待命狀態,或是設定為電子裝置2開機後的常駐程式,但本發明並不限於此。 The voice transmission device 1 may be a device having both the microphone 10 and the speaker device 20, for example, a headset, and thus the speaker device 20 may be an earphone, but the present invention is not limited thereto. The microphone 10 is used to receive the voice signal of the user, and the speaker device 20 emits a 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 configured to detect whether the voice assistant of the electronic device 2 is activated. For example, when the voice transmission device 1 is connected to the electronic device 2, the detection module 30 actively detects whether the first voice assistant program 2a and the second voice assistant program 2b are activated. After the electronic device 2 is connected to the voice transmission device 1, the electronic device 2 transmits the signal of whether the first voice assistant program 2a and the second voice assistant program 2b are activated to the detection module 30. The invention does not limit the detection module 30 to actively or passively know the activation state of the first voice assistant program 2a and the second voice assistant program 2b. The first voice assistant program 2a and the second voice assistant program 2b can be activated by the user and enter the standby state, or set as the resident program after the electronic device 2 is powered on, but the invention is not limited thereto.

藉此,當偵測模組30偵測第二語音助理程式2b未啟動時,或偵測模組30偵測該電子裝置僅啟動該第一語音助理程式2a時,偵測模組30係產生一第一旗標(Flag)。而當偵測模組30偵測 該第二語音助理程式2b已經啟動時,偵測模組30係產生一第二旗標。 Therefore, 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 starts the first voice assistant program 2a, the detecting module 30 generates A first flag (Flag). And when the detection module 30 detects When the second voice assistant program 2b has been activated, the detection module 30 generates a second flag.

記憶模組40係電性連接該偵測模組30,用以儲存該第一旗標或該第二旗標。當偵測模組30產生第一旗標或第二旗標後,係儲存於記憶模組40。記憶模組40內的第一旗標及第二旗標並不會同時存在,亦即記憶模組40會將新接收的旗標取代舊的旗標。 The memory module 40 is electrically connected to the detecting module 30 for storing the first flag or the second flag. When the detection module 30 generates the first flag or the second flag, it 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, that is, the memory module 40 replaces the newly received flag with the old flag.

控制開關50係電性連接並讀取該記憶模組40,且可以具有實體按鍵以供使用者操作。當使用者操作時,控制開關50會根據其中記憶模組40儲存的第一旗標或第二旗標來決定產生的控制訊號。當該記憶模組40儲存該第一旗標時,代表第二語音助理程式2b並沒有啟動,只有第一語音助理程式2a啟動,所以控制開關50係藉由該使用者之操作產生一第一控制訊號,使該電子裝置2執行該第一語音助理程式2a,以辨識從麥克風10得來的語音訊號。當該記憶模組40儲存該第二旗標時,代表第二語音助理程式2b已經啟動,所以控制開關50係藉由該使用者之操作產生一第二控制訊號,使該電子裝置2直接執行該第二語音助理程式 2b,以辨識從麥克風10得來的語音訊號。此時電子裝置2就不會執行該第一語音助理程式2a。 The control switch 50 is electrically connected and reads the memory module 40, and may have a physical button for the user to operate. When the user operates, the control switch 50 determines the generated control signal according to the first flag or the second flag stored in the memory module 40. When the memory module 40 stores the first flag, the second voice assistant program 2b is not activated, and only the first voice assistant program 2a is activated, so the control switch 50 generates a first by the operation of the user. The control signal causes the electronic device 2 to execute the first voice assistant program 2a to recognize the voice signal obtained from the microphone 10. When the memory module 40 stores the second flag, the second voice assistant program 2b is activated. Therefore, the control switch 50 generates a second control signal by the operation of the user, so that the electronic device 2 directly executes. The second voice assistant 2b to identify the voice signal from the microphone 10. At this time, the electronic device 2 does not execute the first voice assistant program 2a.

此外,於本發明之一實施方式中,當偵測模組30偵測該電子裝置2於一設定時間內未回應執行第二語音助理程式2b之指令時,或是使用者多次操作後但電子裝置2確沒有正常執行時,偵測模組30係產生該第一旗標以儲存記憶模組40,以取代已儲存的第二旗標。如此一來,可以在電子裝置2內部發生錯誤而無法正常啟動第二語音助理程式2b時,或是沒有得到電子裝置2對第二語音助理程式2b之回應時,偵測模組30係直接產生該第一旗標以儲存記憶模組40,藉此強制切換執行第一語音助理程式2a,避免使用者空等。 In addition, in an embodiment of the present invention, when the detecting module 30 detects that the electronic device 2 does not respond to the instruction of executing the second voice assistant program 2b within a set time, or after the user operates multiple times, When the electronic device 2 is not properly executed, the detecting module 30 generates the first flag to store the memory module 40 instead of the stored second flag. In this way, the detection module 30 can be directly generated when an error occurs in the electronic device 2 and the second voice assistant program 2b cannot be started normally, or when the electronic device 2 does not respond to the second voice assistant program 2b. The first flag is used to store the memory module 40, thereby forcibly switching the execution of the first voice assistant program 2a, avoiding the user being empty.

另一方面,於本發明之另一實施例中,電子裝置2也可能具有複數個額外安裝的第二語音助理程式2b,因此電子裝置2可以同時顯示複數個額外安裝的第二語音助理程式2b來供使用者選擇啟動。語音傳輸裝置1內部可以再包括程式總管模組60,用來管理該些複數之第二語音助理程式2b。當其中一個第二語音助理程式2b啟動後,偵測模組30同樣產生第二旗標,程式總管模組60此時就會記錄複數之第二語音助理程式2b中的已啟動語音 助理程式,也就是紀錄哪一個第二語音助理程式2b啟動。所以當該控制開關50係藉由該使用者之操作產生該第二控制訊號,程式總管模組60使該電子裝置2執行已啟動語音助理程式,以辨識該語音訊號。 On the other hand, in another embodiment of the present invention, the electronic device 2 may also have a plurality of additionally installed second voice assistant programs 2b, so that the electronic device 2 can simultaneously display a plurality of additionally installed second voice assistant programs 2b. For the user to choose to start. The voice transmission device 1 may further include a program manager module 60 for managing the plurality of second voice assistant programs 2b. When one of the second voice assistant programs 2b is activated, the detection module 30 also generates a second flag, and the program manager module 60 records the activated voice in the second voice assistant program 2b at this time. The assistant program, that is, which second voice assistant program 2b is started. Therefore, when the control switch 50 generates the second control signal by the operation of the user, the program master module 60 causes the electronic device 2 to execute the activated voice assistant program to recognize the voice signal.

需注意的是,語音傳輸裝置1具有的各模組可以為硬體裝置、軟體程式結合硬體裝置、韌體結合硬體裝置等方式架構而成,但本發明並不以上述的方式為限。此外,本實施方式僅例示本發明之較佳實施例,為避免贅述,並未詳加記載所有可能的變化組合。然而,本領域之通常知識者應可理解,上述各模組或元件未必皆為必要。且為實施本發明,亦可能包含其他較細節之習知模組或元件。各模組或元件皆可能視需求加以省略或修改,且任兩模組間未必不存在其他模組或元件。 It should be noted that each module of the voice transmission device 1 may be configured by a hardware device, a software program combined with a hardware device, a firmware combined with a hardware device, etc., but the present invention is not limited to the above manner. . In addition, the present embodiment is merely illustrative of preferred embodiments of the present invention, and in order to avoid redundancy, all possible combinations of variations are not described in detail. However, those of ordinary skill in the art will appreciate that the various modules or components described above are not necessarily required. In order to implement the invention, other well-known modules or elements of more detail may also be included. Each module or component may be omitted or modified as needed, and no other modules or components may exist between any two modules.

接著請參考圖2係本發明之執行語音助理程式之方法之步驟流程圖。此處需注意的是,以下雖以上述語音傳輸裝置1為例說明本發明之執行語音助理程式之方法,但本發明之執行語音助理程式之方法並不以使用在上述相同結構的語音傳輸裝置1為限。 Next, please refer to FIG. 2, which is a flow chart of the steps of the method for executing the voice assistant program of the present invention. It should be noted that the following describes the method for executing the voice assistant program of the present invention by taking the voice transmission device 1 as an example. However, the method for executing the voice assistant program of the present invention does not use the voice transmission device of the same structure as described above. 1 is limited.

首先進行步驟S201:偵測該電子裝置之該第二語音助理程式是否啟動。 First, step S201 is performed: detecting whether the second voice assistant of the electronic device is activated.

首先偵測模組30是主動或被動得知第二語音助理程式2b之啟動狀態,或是同時得知第一語音助理程式2a及第二語音助理程式2b之狀態。由於於本發明之一實施方式中,第一語音助理程式2a可以為作業系統內建之程式,第二語音助理程式2b則可額外安裝之程式,所以第一語音助理程式2a已經是常駐程式,偵測模組30僅偵測第二語音助理程式2b之啟動狀態即可。 First, the detecting module 30 actively or passively knows the startup state of the second voice assistant program 2b, or simultaneously knows the state of the first voice assistant program 2a and the second voice assistant program 2b. In an embodiment of the present invention, the first voice assistant program 2a can be a program built in the operating system, and the second voice assistant program 2b can be additionally installed, so the first voice assistant program 2a is already a resident program. The detecting module 30 only detects the startup state of the second voice assistant program 2b.

接著當偵測模組30偵測第二語音助理程式2b未啟動時,係進行步驟S202:產生一第一旗標。 Then, when the detecting module 30 detects that the second voice assistant program 2b is not activated, the process proceeds to step S202: generating a first flag.

此時當偵測模組30偵測第二語音助理程式2b未啟動時,就會產生一第一旗標。 At this time, when the detecting module 30 detects that the second voice assistant program 2b is not activated, a first flag is generated.

再進行步驟S203:儲存該第一旗標。 Step S203 is further performed: storing the first flag.

此時記憶模組40係用以儲存該第一旗標。 At this time, the memory module 40 is used to store the first flag.

當記憶模組40儲存該第一旗標時,接著進行步驟S204:藉由使用者之操作產生一第一控制訊號,使該電子裝置執行該第一語音助理程式。 When the memory module 40 stores the first flag, step S204 is performed: a first control signal is generated by the operation of the user, so that the electronic device executes the first voice assistant program.

當該記憶模組40儲存該第一旗標時,只有第一語音助理程式2a啟動,所以控制開關50係藉由該使用者之操作產生一第一控制訊號,使該電子裝置2執行該第一語音助理程式2a,以辨識從麥克風10得來的語音訊號。 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 operation of the user, so that the electronic device 2 executes the first A voice assistant 2a is used to recognize the voice signal from the microphone 10.

當步驟201中若該第二語音助理程式2b啟動時,係進行S205:產生一第二旗標。 When the second voice assistant program 2b is started in step 201, the process proceeds to S205: a second flag is generated.

當偵測模組30偵測該第二語音助理程式2b已經啟動時,偵測模組30係產生一第二旗標。 When the detecting module 30 detects that the second voice assistant program 2b has been activated, the detecting module 30 generates a second flag.

接著會執行步驟S206:儲存該第二旗標。 Then step S206 is executed: storing the second flag.

此時記憶模組40係用以儲存該第二旗標。 At this time, the memory module 40 is used to store the second flag.

當記憶模組40儲存該第二旗標時,再進行步驟S207:藉由使用者之操作產生一第二控制訊號,使該電子裝置執行該第二語音助理程式。 When the memory module 40 stores the second flag, step S207 is further performed: generating a second control signal by the operation of the user, so that the electronic device executes the second voice assistant program.

該記憶模組40儲存該第二旗標時,代表第二語音助理程式2b已經啟動,所以控制開關50係藉由該使用者之操作產生一第二控制訊號,使該電子裝置2直接執行該第二語音助理程式2b,以辨識從麥克風10得來的語音訊號。 When the memory module 40 stores the second flag, the second voice assistant program 2b is activated. Therefore, the control switch 50 generates a second control signal by the operation of the user, so that the electronic device 2 directly executes the second control signal. The second voice assistant program 2b recognizes the voice signal from the microphone 10.

若電子裝置2具有複數個額外安裝的第二語音助理程式2b時,使用者就可以自行選擇要啟動的第二語音助理程式2b。程式總管模組60此時就會記錄複數之第二語音助理程式2b中的已啟動語音助理程式,當該控制開關50係藉由該使用者之操作產生該第二控制訊號,程式總管模組60使該電子裝置2執行已啟動語音助理程式,以辨識該語音訊號。 If the electronic device 2 has a plurality of additionally installed second voice assistant programs 2b, the user can select the second voice assistant program 2b to be activated. The program manager module 60 will record the activated voice assistant program in the second voice assistant program 2b. When the control switch 50 generates the second control signal by the operation of the user, the program master module 60 causes the electronic device 2 to execute the activated voice assistant to recognize the voice signal.

此外,還可以進一步執行步驟208:當偵測該電子裝置未正確執行該第二語音助理程式之指令時,係產生該第一旗標以儲存於該記憶模組。 In addition, step 208 may be further performed: when detecting that the electronic device does not correctly execute the instruction of the second voice assistant program, the first flag is generated to be stored in the memory module.

當偵測模組30偵測該電子裝置2於一設定時間內未回應執行第二語音助理程式2b之指令時,或是使用者多次操作後但電子裝置2確沒有正常執行第二語音助理程式2b時,係產生該第一旗標以儲存記憶模組40,以取代已儲存的第二旗標,藉此強制切換執行第一語音助理程式2a,避免使用者空等。 When the detecting module 30 detects that the electronic device 2 has not responded to the instruction of executing the second voice assistant program 2b within a set time, or after the user operates multiple times, the electronic device 2 does not normally execute the second voice assistant. In the program 2b, the first flag is generated to store the memory module 40 to replace the stored second flag, thereby forcibly switching the execution of the first voice assistant 2a, avoiding the user being empty.

此處需注意的是,本發明之執行語音助理程式之方法並不以上述之步驟次序為限,只要能達成本發明之目的,上述之步驟次序亦可加以改變。 It should be noted that the method for executing the voice assistant program of the present invention is not limited to the above-described sequence of steps, and the order of steps described above may be changed as long as the object of the present invention can be achieved.

如此一來,使用者只須操作語音傳輸裝置1上的控制開關50就可以方便地使用想要的語音助理程式,而不用再經過電子裝置2去設定。 In this way, the user can conveniently use the desired voice assistant by simply operating the control switch 50 on the voice transmission device 1 without going through the electronic device 2.

需注意的是,上述實施方式僅例示本發明之較佳實施例,為避免贅述,並未詳加記載所有可能的變化組合。然而,本領域之通常知識者應可理解,上述各模組或元件未必皆為必要。且為實施本發明,亦可能包含其他較細節之習知模組或元件。各模組或元件皆可能視需求加以省略或修改,且任兩模組間未必不存在其他模組或元件。只要不脫離本發明基本架構者,皆應為本專利所主張之權利範圍,而應以專利申請範圍為準。 It is to be noted that the above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and all possible combinations of variations are not described in detail to avoid redundancy. However, those of ordinary skill in the art will appreciate that the various modules or components described above are not necessarily required. In order to implement the invention, other well-known modules or elements of more detail may also be included. Each module or component may be omitted or modified as needed, and no other modules or components may exist between any two modules. As long as they do not deviate from the basic structure of the present invention, they should be the scope of rights claimed in this patent, and the scope of patent application shall prevail.

Claims (12)

一種語音傳輸裝置,係用來與一電子裝置建立連線,該電子裝置至少具有一第一語音助理程式及一第二語音助理程式,該語音傳輸裝置包括:一麥克風,用以接收一語音訊號;一偵測模組,用以偵測該電子裝置之該第二語音助理程式是否啟動;其中當偵測該第二語音助理程式未啟動時,係產生一第一旗標;當偵測該第二語音助理程式啟動時,係產生一第二旗標;一記憶模組,係電性連接該偵測模組,用以儲存該第一旗標或該第二旗標;以及一控制開關,係電性連接並讀取該記憶模組,以供一使用者操作,其中當該記憶模組儲存該第一旗標時,該控制開關供該使用者操作後,係根據該第一旗標產生一第一控制訊號,使該電子裝置執行該第一語音助理程式以辨識該語音訊號;當該記憶模組儲存該第二旗標時,該控制開關供該使用者操作後,係根據該第二旗標產生一第二控制訊號,使該電子裝置執行該第二語音助理程式以辨識該語音訊號。 A voice transmission device is configured to establish 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 of the electronic device is activated; wherein when detecting that the second voice assistant is not activated, generating a first flag; When the second voice assistant program is started, a second flag is generated; a memory module is electrically connected to the detecting module for storing the first flag or the second flag; and a control switch Electrically connecting and reading the memory module for operation by a user, wherein when the memory module stores the first flag, the control switch is operated by the user, according to the first flag Generating a first control signal to cause the electronic device to execute the first voice assistant program to recognize the voice signal; when the memory module stores the second flag, the control switch is provided to the user for operation The first Flag generating a second control signal, so that the second electronic device to perform the speech to recognize the speech assistant program signal. 如申請專利範圍第1項所述之語音傳輸裝置,其中當偵測該電子裝置僅啟動該第一語音助理程式時,係產生該第一旗標。 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. 如申請專利範圍第1項所述之語音傳輸裝置,其中當該偵測模組係判斷該電子裝置於一設定時間內或是於該使用者多次操作後,仍未執行該第二語音助理程式時,係產生該第一旗標以儲存於該記憶模組。 The voice transmission device of claim 1, wherein the second module is not executed when the detecting module determines that the electronic device is in a set time or after the user operates a plurality of times. In the program, the first flag is generated for storage in the memory module. 如申請專利範圍第1項所述之語音傳輸裝置,該電子裝置更包括複數之第二語音助理程式;該語音傳輸裝置更包括一程式總管模組,用以記錄該複數之第二語音助理程式中之一已啟動語音助理程式,當藉由該使用者之操作產生該第二控制訊號時,該程式總管模組使該電子裝置執行該已啟動語音助理程式。 The voice transmission device of claim 1, wherein the electronic device further comprises a plurality of second voice assistant programs; the voice transmission device further comprising a program master module for recording the plurality of second voice assistant programs One of the voice assistants has been activated. When the second control signal is generated by the operation of the user, the program master module causes the electronic device to execute the activated voice assistant. 如申請專利範圍第1項所述之語音傳輸裝置,其中該語音傳輸裝置包括一揚聲裝置。 The voice transmission device of claim 1, wherein the voice transmission device comprises a speaker device. 如申請專利範圍第5項所述之語音傳輸裝置,其中該揚聲裝置係為一耳機。 The voice transmission device of claim 5, wherein the speaker device is an earphone. 如申請專利範圍第1項所述之語音傳輸裝置,其中該語音傳輸裝置與該電子裝置係藉由一藍牙通訊協定進行連線。 The voice transmission device of claim 1, wherein the voice transmission device and the electronic device are connected by a Bluetooth communication protocol. 一種執行語音助理程式之方法,係用於一語音傳輸裝置藉以控制一電子裝置,該電子裝置至少具有一第一語音助理程式及一第二語音助理程式;該方法包括以下步驟: 偵測該電子裝置之該第二語音助理程式是否啟動;當偵測該第二語音助理程式未啟動時,產生一第一旗標;當偵測該第二語音助理程式啟動時,產生一第二旗標;儲存該第一旗標或該第二旗標;當儲存該第一旗標時,於供一使用者操作後,係根據讀取該第一旗標以產生一第一控制訊號,使該電子裝置執行該第一語音助理程式;以及當儲存該第二旗標時,於供該使用者操作後,係根據讀取該第二旗標以產生一第二控制訊號,使該電子裝置執行該第二語音助理程式。 A method for executing a voice assistant program for a voice transmission device to control an electronic device, the electronic device having at least a first voice assistant program and a second voice assistant program; the method comprising the steps of: Detecting whether the second voice assistant of the electronic device is activated; generating a first flag when detecting that the second voice assistant is not activated; generating a first when detecting that the second voice assistant is activated a second flag; storing the first flag or the second flag; when storing the first flag, after a user operation, reading the first flag to generate a first control signal And causing the electronic device to execute the first voice assistant program; and when storing the second flag, after the user operates, according to reading the second flag to generate a second control signal, The electronic device executes the second voice assistant. 如申請專利範圍第8項所述之執行語音助理程式之方法,更包括當偵測該電子裝置僅啟動該第一語音助理程式時,係產生該第一旗標之步驟。 The method for executing a voice assistant program according to claim 8, further comprising the step of generating the first flag when detecting that the electronic device only starts the first voice assistant program. 如申請專利範圍第8項所述之執行語音助理程式之方法,更包括當偵測該電子裝置於一設定時間內或是該使用者多次操作後仍未執行該第二語音助理程式時,係產生該第一旗標以儲存於該記憶模組之步驟。 The method for executing the voice assistant program according to claim 8 of the patent application, further comprising: when detecting that the electronic device has not executed the second voice assistant program within a set time or after the user repeatedly operates, The step of generating the first flag for storage in the memory module. 如申請專利範圍第8項所述之執行語音助理程式之方法,該電子裝置包括複數之第二語音助理程式,該方法更包括記錄該複數之第二語音助理程式中之一已啟動語音助理程式,當藉由該使用者之操作產生該第二控制訊號,使該電子裝置執行該已啟動語音助理程式之步驟。 The method of executing a voice assistant program according to claim 8, wherein the electronic device comprises a plurality of second voice assistant programs, the method further comprising recording one of the plurality of second voice assistant programs to start the voice assistant program When the second control signal is generated by the operation of the user, the electronic device performs the step of starting the voice assistant program. 如申請專利範圍第8項所述之執行語音助理程式之方法,更包括藉由一藍牙通訊協定進行連線之步驟。 The method for executing a voice assistant program as described in claim 8 of the patent application further includes the step of connecting by a Bluetooth communication protocol.
TW106130313A 2017-05-04 2017-09-05 Voice transmission device and method for executing voice assistant program thereof TWI638351B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US15/813,235 US20180322869A1 (en) 2017-05-04 2017-11-15 Voice transmission device and method for executing voice assistant program thereof

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
??106114788 2017-05-04
TW106114788 2017-05-04

Publications (2)

Publication Number Publication Date
TWI638351B true TWI638351B (en) 2018-10-11
TW201843673A TW201843673A (en) 2018-12-16

Family

ID=64797513

Family Applications (1)

Application Number Title Priority Date Filing Date
TW106130313A TWI638351B (en) 2017-05-04 2017-09-05 Voice transmission device and method for executing voice assistant program thereof

Country Status (1)

Country Link
TW (1) TWI638351B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201967090U (en) * 2011-01-10 2011-09-07 泉州市新维电子有限公司 Multifunctional Bluetooth earphone
TW201513099A (en) * 2013-07-19 2015-04-01 Audience Inc Speech signal separation and synthesis based on auditory scene analysis and speech modeling
TW201606759A (en) * 2014-06-05 2016-02-16 微軟技術授權有限責任公司 Conversation cues within audio conversations
TW201608455A (en) * 2014-05-30 2016-03-01 蘋果公司 Continuity
TW201703025A (en) * 2015-03-26 2017-01-16 英特爾股份有限公司 Method and system of environment-sensitive automatic speech recognition

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN201967090U (en) * 2011-01-10 2011-09-07 泉州市新维电子有限公司 Multifunctional Bluetooth earphone
TW201513099A (en) * 2013-07-19 2015-04-01 Audience Inc Speech signal separation and synthesis based on auditory scene analysis and speech modeling
TW201608455A (en) * 2014-05-30 2016-03-01 蘋果公司 Continuity
TW201606759A (en) * 2014-06-05 2016-02-16 微軟技術授權有限責任公司 Conversation cues within audio conversations
TW201703025A (en) * 2015-03-26 2017-01-16 英特爾股份有限公司 Method and system of environment-sensitive automatic speech recognition

Also Published As

Publication number Publication date
TW201843673A (en) 2018-12-16

Similar Documents

Publication Publication Date Title
US11985464B2 (en) Wireless audio output devices
US9530409B2 (en) Event-triggered hands-free multitasking for media playback
CN106155623B (en) A kind of audio collocation method, system and relevant device
EP4236281A2 (en) Event-triggered hands-free multitasking for media playback
CN108108142A (en) Voice information processing method and device, terminal equipment and storage medium
TW201520896A (en) A method for operating a program and a device thereof
WO2018036073A1 (en) Usb-based method and device for upgrading electronic apparatus, and electronic apparatus
CN104880968B (en) Alarm clock control method and device
CN107943724A (en) Method and device for searching external device, terminal device and storage medium
CN105307078A (en) Sound box management method and user terminal
CN104750454A (en) Loudspeaker box control method and device
TWM550851U (en) Voice transmission device
CN101600262B (en) Document processing system and method and media player thereof
KR101876394B1 (en) Method and device for playing media data on a terminal
TWI638351B (en) Voice transmission device and method for executing voice assistant program thereof
CN103973870B (en) Information processing device and information processing method
KR20170118799A (en) Fingerprint event handling method, device, and terminal
US20180322869A1 (en) Voice transmission device and method for executing voice assistant program thereof
CN107734135A (en) Operation method, device and equipment of wearable equipment and storage medium
CN105812935A (en) Play control method and device in audio and video play system
CN106658357B (en) Bluetooth data processing method and device and terminal
CN105491247B (en) Method and device for identifying selfie stick, storage medium and terminal
HK40061511A (en) Wireless audio output devices
CN119583700A (en) Device function detection method and related equipment
CN104468956A (en) Method and device for managing projection function in electronic device