Nothing Special   »   [go: up one dir, main page]

TW201448610A - Controlling system and method for speaker - Google Patents

Controlling system and method for speaker Download PDF

Info

Publication number
TW201448610A
TW201448610A TW102107132A TW102107132A TW201448610A TW 201448610 A TW201448610 A TW 201448610A TW 102107132 A TW102107132 A TW 102107132A TW 102107132 A TW102107132 A TW 102107132A TW 201448610 A TW201448610 A TW 201448610A
Authority
TW
Taiwan
Prior art keywords
value
flag bit
audio signal
unit
power
Prior art date
Application number
TW102107132A
Other languages
Chinese (zh)
Inventor
Xiao-Gang Yin
Original Assignee
Hon Hai Prec Ind 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 Hon Hai Prec Ind Co Ltd filed Critical Hon Hai Prec Ind Co Ltd
Priority to TW102107132A priority Critical patent/TW201448610A/en
Publication of TW201448610A publication Critical patent/TW201448610A/en

Links

Landscapes

  • Power Sources (AREA)

Abstract

A controlling system includes a controller, a storage unit, and an audio interface. The controller determines that the audio interface receives an audio signal. When the audio interface does not receive the audio signal after a predetermined time, the controller enables a power circuit to stop outputting power.

Description

音箱控制系統及方法Speaker control system and method

本發明系關於一種音箱控制系統及方法。The present invention relates to a speaker control system and method.

音箱已成為電腦持有者的必需設備,同時也是大眾欣賞美妙音樂和精彩影片的外配工具。對於習知的有源音箱來說,其都是透過一個電源開關來決定其工作的狀態,使用者只需按下電源開關即可使音箱工作。然,使用者常常在聽完美妙的歌曲或看完一部精彩的影片(視頻)過後都會忽略關掉音箱的電源而僅僅只把電腦關閉,從而導致資源的浪費。Speakers have become a must-have for computer holders, and they are also a tool for the public to enjoy great music and exciting movies. For the conventional active speaker, it is determined by a power switch to determine the working state. The user only needs to press the power switch to make the speaker work. However, users often ignore the power of the speaker and turn off the computer after listening to the perfect song or after watching a wonderful movie (video), which leads to waste of resources.

鑒於以上內容,有必要提供一種具有節能功能的音箱控制系統及方法。In view of the above, it is necessary to provide a speaker control system and method with energy saving functions.

一種音箱控制系統,包括:A speaker control system comprising:

一偵測單元,用於設置一代表音訊訊號是否接入的標誌位元為第一值,該偵測單元還用於判斷音箱的音訊介面是否有音訊訊號接入,當有音訊訊號接入時,該偵測單元設置該標誌位元的值為第二值及輸出一第一控制訊號;當沒有音訊訊號接入時,該偵測單元輸出一第一觸發訊號;a detecting unit is configured to set a flag bit for indicating whether the audio signal is connected to the first value, and the detecting unit is further configured to determine whether the audio interface of the speaker has audio signal access, when the audio signal is accessed. The detecting unit sets the value of the flag bit to a second value and outputs a first control signal; when no audio signal is connected, the detecting unit outputs a first trigger signal;

一識別單元,當該識別單元接收到該偵測單元傳輸的第一觸發訊號時,該識別單元判斷該標誌位元為第一值的持續時間是否大於一預設時間;當該標誌位元為第一值的持續時間大於該預設時間時,該識別單元輸出一第二控制訊號;及An identification unit, when the identification unit receives the first trigger signal transmitted by the detecting unit, the identifying unit determines whether the duration of the flag bit is greater than a preset time; when the flag bit is When the duration of the first value is greater than the preset time, the identification unit outputs a second control signal; and

一控制單元,當接收到該偵測單元輸出的第一控制訊號時,該控制單元控制一電源電路輸出電源;當接收到該識別單元傳輸的第二控制訊號時,該控制單元控制該電源電路停止輸出電源。a control unit, when receiving the first control signal output by the detecting unit, the control unit controls a power circuit output power; and when receiving the second control signal transmitted by the identifying unit, the control unit controls the power circuit Stop output power.

一種音箱控制方法,包括如下步驟:A speaker control method includes the following steps:

設置一代表音訊訊號是否接入的標誌位元為第一值;Setting a flag bit indicating whether the audio signal is accessed is a first value;

判斷是否有音訊訊號接入;Determine whether there is an audio signal access;

當有音訊訊號接入時,設置該標誌位元的值為第二值,並控制一電源電路輸出電源;When an audio signal is connected, setting the value of the flag bit to a second value, and controlling a power circuit output power;

當沒有音訊訊號接入時,判斷該標誌位元為第一值的持續時間是否大於一預設時間;及When there is no audio signal access, it is determined whether the duration of the flag bit is greater than a preset time; and

當該標誌位元為第一值的持續時間大於該預設時間時,控制該電源電路停止輸出電源。When the duration of the flag bit being the first value is greater than the preset time, the power circuit is controlled to stop outputting power.

上述音箱控制系統及方法透過判斷是否有音訊訊號接入,當無音訊訊號接入時,停止輸出電源,從而達到節能的目的。The above speaker control system and method can determine whether or not there is an audio signal access, and when no audio signal is connected, the output power is stopped, thereby achieving the purpose of energy saving.

10...音箱控制系統10. . . Speaker control system

20...控制器20. . . Controller

30...記憶體30. . . Memory

200...偵測單元200. . . Detection unit

202...識別單元202. . . Identification unit

204...控制單元204. . . control unit

300...標誌位元300. . . Flag bit

40...電源電路40. . . Power circuit

50...音訊介面50. . . Audio interface

圖1是本發明音箱控制系統的較佳實施方式的方框圖。1 is a block diagram of a preferred embodiment of a speaker control system of the present invention.

圖2是本發明音箱控制方法的較佳實施方式的流程圖。2 is a flow chart of a preferred embodiment of the speaker control method of the present invention.

請參考圖1,本發明音箱控制系統10用於控制一電源電路40是否為音箱提供工作電源,其中該電源電路40用於將接入的外部電源轉換為音箱所需的電源。該音箱控制系統10的較佳實施方式包括一控制器20及一記憶體30。該控制器20可為具有資料處理能力的元件,如微處理器。本實施方式中,該控制器20與一音訊介面50相連,以接收一電腦輸出的音訊訊號,還用於控制該電源電路40是否輸出電源為音箱供電。Referring to FIG. 1, the speaker control system 10 of the present invention is used to control whether a power circuit 40 provides operating power for a speaker, wherein the power circuit 40 is used to convert an external power source that is connected into a power source required for a speaker. A preferred embodiment of the speaker control system 10 includes a controller 20 and a memory 30. The controller 20 can be a component with data processing capabilities, such as a microprocessor. In this embodiment, the controller 20 is connected to an audio interface 50 to receive an audio signal output by a computer, and is also used to control whether the power circuit 40 outputs power to supply power to the speaker.

該記憶體30內存儲有一標誌位元300。該標誌位元300具有一第一值。A flag bit 300 is stored in the memory 30. The flag bit 300 has a first value.

該控制器20包括一偵測單元200、一識別單元202及一控制單元204。The controller 20 includes a detecting unit 200, an identifying unit 202, and a control unit 204.

該偵測單元200用於偵測該音訊介面50是否有音訊訊號接入。本實施方式中,該標誌位元300的第一值由該偵測單元200進行設定。當存在音訊訊號接入時,該偵測單元200則將該標誌位元300的值更改為一第二值,同時該偵測單元200還輸出一第一控制訊號至該控制單元204;當沒有音訊訊號接入時,該偵測單元200輸出一第一觸發訊號至該識別單元202。The detecting unit 200 is configured to detect whether the audio interface 50 has audio signal access. In this embodiment, the first value of the flag bit 300 is set by the detecting unit 200. When the audio signal is accessed, the detecting unit 200 changes the value of the flag bit 300 to a second value, and the detecting unit 200 further outputs a first control signal to the control unit 204; When the audio signal is accessed, the detecting unit 200 outputs a first trigger signal to the identifying unit 202.

當接收到該偵測單元200輸出的第一觸發訊號時,該識別單元202則判斷該標誌位元300的值為第一值的持續時間是否大於一預設時間,當該標誌位元300為第一值的持續時間不大於該預設時間時,該識別單元202輸出一第二控制訊號;當該標誌位元300為第一值的持續時間大於該預設時間時,該偵測單元200繼續判斷該音訊介面50是否有音訊訊號接入。When the first trigger signal output by the detecting unit 200 is received, the identifying unit 202 determines whether the value of the flag bit 300 is greater than a preset time, and when the flag bit 300 is When the duration of the first value is not greater than the preset time, the identification unit 202 outputs a second control signal; when the duration of the flag bit 300 is greater than the preset time, the detecting unit 200 Continue to determine whether the audio interface 50 has audio signal access.

該控制單元204用於接收該偵測單元200輸出的第一控制訊號及該識別單元202輸出的第二控制訊號。當該控制單元204接收到該識別單元202輸出的第一控制訊號時,該控制單元204則控制該電源電路40輸出電源,從而使得在有音訊訊號接入時控制音箱開始工作。同時,該控制單元204還輸出一第二觸發訊號至該偵測單元200,以使得該偵測單元200重置該標誌位元300的值為該第一值。當該控制單元204接收到該識別單元202輸出的第二控制訊號時,該控制單元204則控制該電源電路40無電源輸出,即當音箱無音訊訊號接入時,控制音箱停止工作,從而達到節能目的。The control unit 204 is configured to receive the first control signal output by the detecting unit 200 and the second control signal output by the identifying unit 202. When the control unit 204 receives the first control signal output by the identification unit 202, the control unit 204 controls the power supply circuit 40 to output power, so that the control speaker starts to work when the audio signal is accessed. At the same time, the control unit 204 also outputs a second trigger signal to the detecting unit 200, so that the detecting unit 200 resets the value of the flag bit 300 to the first value. When the control unit 204 receives the second control signal output by the identification unit 202, the control unit 204 controls the power supply circuit 40 to have no power output, that is, when the speaker has no audio signal, the control speaker stops working, thereby achieving Energy saving purposes.

請參考圖2,本發明音箱控制方法的較佳實施方式包括如下步驟:Referring to FIG. 2, a preferred embodiment of the speaker control method of the present invention includes the following steps:

步驟S1,該偵測單元200初始化該標誌位元300為一第一值。In step S1, the detecting unit 200 initializes the flag bit 300 to a first value.

步驟S2,該偵測單元200判斷該音訊介面50是否有音訊訊號接入,當有音訊訊號接入時,執行步驟S3;當無音訊訊號接入時,該偵測單元200輸出第一觸發訊號,並執行步驟S5。In step S2, the detecting unit 200 determines whether the audio interface 50 has audio signal access. When an audio signal is accessed, step S3 is performed. When no audio signal is accessed, the detecting unit 200 outputs a first trigger signal. And perform step S5.

步驟S3,該偵測單元200設置該標誌位元300的值為第二值,並輸出該第一控制訊號,之後,執行步驟S4。In step S3, the detecting unit 200 sets the value of the flag bit 300 to a second value, and outputs the first control signal, and then performs step S4.

步驟S4,該控制單元204接收該第一控制訊號後控制該電源電路50輸出電源。In step S4, the control unit 204 controls the power circuit 50 to output power after receiving the first control signal.

步驟S5,該識別單元202接收該第一觸發訊號後判斷該標誌位元為第一值的持續時間是否大於該預設時間;當該標誌位元300為第一值的時間不大於預設時間時,返回步驟S2。Step S5, after the first trigger signal is received, the identification unit 202 determines whether the duration of the flag bit is greater than the preset time; when the flag bit 300 is the first value, the time is not greater than the preset time. Then, it returns to step S2.

步驟S6,當該標誌位元為第一值的時間大於預設時間時,輸出第二控制訊號至該控制單元204;該控制單元204接收到該第二控制訊號後,控制電源電路40停止輸出電源。Step S6, when the time when the flag bit is the first value is greater than the preset time, the second control signal is output to the control unit 204; after receiving the second control signal, the control unit 204 stops the output of the control power circuit 40. power supply.

上述音箱控制系統及方法透過判斷是否有音訊訊號接入,當無音訊訊號接入或無音訊訊號接入達到預設時間時,控制電源電路無電源輸出,從而達到了節能目的。The above speaker control system and method can determine whether there is an audio signal access. When no audio signal is connected or no audio signal is connected for a preset time, the power supply circuit has no power output, thereby achieving energy saving.

綜上所述,本發明確已符合發明專利的要件,爰依法提出專利申請。惟,以上所述者僅為本發明的較佳實施方式,本發明的範圍並不以上述實施方式為限,舉凡熟悉本案技藝的人士援依本發明的精神所作的等效修飾或變化,皆應涵蓋於以下申請專利範圍內。In summary, the present invention has indeed met the requirements of the invention patent, and has filed a patent application according to law. However, the above description is only a preferred embodiment of the present invention, and the scope of the present invention is not limited to the above-described embodiments, and those skilled in the art will be able to make equivalent modifications or variations in accordance with the spirit of the present invention. It should be covered by the following patent application.

10...音箱控制系統10. . . Speaker control system

20...控制器20. . . Controller

30...記憶體30. . . Memory

200...偵測單元200. . . Detection unit

202...識別單元202. . . Identification unit

204...控制單元204. . . control unit

300...標誌位元300. . . Flag bit

40...電源電路40. . . Power circuit

50...音訊介面50. . . Audio interface

Claims (6)

一種音箱控制系統,包括:
一偵測單元,用於設置一代表音訊訊號是否接入的標誌位元為第一值,該偵測單元還用於判斷音箱的音訊介面是否有音訊訊號接入,當有音訊訊號接入時,該偵測單元設置該標誌位元的值為第二值及輸出一第一控制訊號;當沒有音訊訊號接入時,該偵測單元輸出一第一觸發訊號;
一識別單元,當該識別單元接收到該偵測單元傳輸的第一觸發訊號時,該識別單元判斷該標誌位元為第一值的持續時間是否大於一預設時間;當該標誌位元為第一值的持續時間大於該預設時間時,該識別單元輸出一第二控制訊號;及
一控制單元,當接收到該偵測單元輸出的第一控制訊號時,該控制單元控制一電源電路輸出電源;當接收到該識別單元傳輸的第二控制訊號時,該控制單元控制該電源電路停止輸出電源。
A speaker control system comprising:
a detecting unit is configured to set a flag bit for indicating whether the audio signal is connected to the first value, and the detecting unit is further configured to determine whether the audio interface of the speaker has audio signal access, when the audio signal is accessed. The detecting unit sets the value of the flag bit to a second value and outputs a first control signal; when no audio signal is connected, the detecting unit outputs a first trigger signal;
An identification unit, when the identification unit receives the first trigger signal transmitted by the detecting unit, the identifying unit determines whether the duration of the flag bit is greater than a preset time; when the flag bit is When the duration of the first value is greater than the preset time, the identification unit outputs a second control signal; and a control unit controls the power supply circuit when receiving the first control signal output by the detection unit Outputting a power source; when receiving the second control signal transmitted by the identification unit, the control unit controls the power circuit to stop outputting power.
如申請專利範圍第1項所述之音箱控制系統,其中當該標誌位元為第一值的持續時間不大於該預設時間時,該偵測單元繼續偵測該音訊介面是否有音訊訊號接入。The speaker control system of claim 1, wherein the detecting unit continues to detect whether the audio interface is connected to the audio signal when the duration of the first bit is not greater than the preset time. In. 如申請專利範圍第2項所述之音箱控制系統,其中當接收到該偵測單元輸出的第一控制訊號後,該控制單元輸出一第二觸發訊號至該偵測單元,以使得該偵測單元重置該標誌位元的值為該第一值。The speaker control system of claim 2, wherein after receiving the first control signal output by the detecting unit, the control unit outputs a second trigger signal to the detecting unit to enable the detecting The unit resets the value of the flag bit to the first value. 一種音箱控制方法,包括如下步驟:
設置一代表音訊訊號是否接入的標誌位元為第一值;
判斷是否有音訊訊號接入;
當有音訊訊號接入時,設置該標誌位元的值為第二值,並控制一電源電路輸出電源;
當沒有音訊訊號接入時,判斷該標誌位元為第一值的持續時間是否大於一預設時間;及
當該標誌位元為第一值的持續時間大於該預設時間時,控制該電源電路停止輸出電源。
A speaker control method includes the following steps:
Setting a flag bit indicating whether the audio signal is accessed is a first value;
Determine whether there is an audio signal access;
When an audio signal is connected, setting the value of the flag bit to a second value, and controlling a power circuit output power;
When no audio signal is connected, determining whether the duration of the flag bit is greater than a preset time; and when the duration of the flag bit is greater than the preset time, controlling the power source The circuit stops outputting power.
如申請專利範圍第4項所述之音箱控制方法,其中當該標誌位元為第一值的時間不大於該預設時間時,返回步驟“判斷是否有音訊訊號接入”。The speaker control method according to claim 4, wherein when the time when the flag bit is the first value is not greater than the preset time, the process returns to the step of “determining whether there is an audio signal access”. 如申請專利範圍第5項所述之音箱控制方法,其中步驟“當有音訊信號接入時,設置該標誌位元的值為第二值,並控制一電源電路輸出電源”之後返回步驟“設置一標誌位元為第一值”。
The speaker control method according to claim 5, wherein the step “when the audio signal is connected, setting the value of the flag bit to the second value, and controlling the power output of the power circuit” returns to the step “setting A flag bit is the first value."
TW102107132A 2013-02-27 2013-02-27 Controlling system and method for speaker TW201448610A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW102107132A TW201448610A (en) 2013-02-27 2013-02-27 Controlling system and method for speaker

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW102107132A TW201448610A (en) 2013-02-27 2013-02-27 Controlling system and method for speaker

Publications (1)

Publication Number Publication Date
TW201448610A true TW201448610A (en) 2014-12-16

Family

ID=52707675

Family Applications (1)

Application Number Title Priority Date Filing Date
TW102107132A TW201448610A (en) 2013-02-27 2013-02-27 Controlling system and method for speaker

Country Status (1)

Country Link
TW (1) TW201448610A (en)

Similar Documents

Publication Publication Date Title
WO2015055053A1 (en) Method, device and terminal for switching playback mode
WO2015131550A1 (en) Method and apparatus for controlling player to enter sleep mode and terminal device
WO2016150190A1 (en) Audio playing control method and apparatus, and loudspeaker box
WO2017148270A1 (en) Volume control method and device, and terminal
CN103680546A (en) Audio playing method, terminal and system
WO2021128405A1 (en) Tws earphone, method and apparatus for reducing earphone energy consumption, and medium
CN105828140A (en) Main control equipment, controlled equipment and method for awakening controlled equipment
CN104010250A (en) Sound box control system and method
TW201423587A (en) System and method for providing prompts for callee
US10129382B2 (en) Electronic device and method for controlling electronic device using headset
TW201624915A (en) Audio output device and control method thereof
TW201448610A (en) Controlling system and method for speaker
TW201812570A (en) Method for automatic adjusting output of sound and electronic device
CN103973870A (en) Information processing device and information processing method
JP2016054485A (en) Display device and search method for connection equipment
TWM550851U (en) Voice transmission device
CN103945305A (en) Information processing method and electronic equipment
JP2013191945A (en) Display device and search method of connection device
US20160205485A1 (en) Electronic device and method for detecting an accessory of the electronic device
TW201712526A (en) Computers, methods for controlling a computer, and computer-readable media
TW201446013A (en) Audio device
CN108899981B (en) High-efficiency storage battery power supply method and device for large-scale sound equipment
CN104750453A (en) Information processing method and electronic equipment
JP2017126926A5 (en)
JP2015042008A (en) Audio playback system, earphones adopted for audio playback system, and automatic control method for audio playback system