201246897 六、發明說明: 【發明所屬之技術領域】 [0001] 本發明涉及一種手機及其通話過程中播放音樂的系統及 方法。 \ 【先前技4标】 [0002] 當用戶在通話過程中,一時興起,想將手機中存儲的歌 曲與對方進行分享,這時,通常的做法就是等掛斷電話 以後,用多媒體簡訊(MMS)發給對方,或者在電腦上通過 網路發送給對方。通過其他方式進行發送,是常用做法 ,但是比較麻煩。要是直接可在通話過程中進行音樂的 播放,就可避免這樣的麻煩。 【發明内容】 [0003] 鑒於以上内容,有必要提供一種手機及其在通話過程中 播放音樂的系統及方法,可以在手機的通話過程中進行 音樂的播放,無需通過其他方式進行發送,比較方便。 [0004] 一種手機,該手機包括一個控制電路,該控制電路包括 中央處理器、外置MP3晶片及mic電路,該控制電路還包 括類比開關、開關控制pi η及多個電容,其中:所述類比 開關包括一個控制引腳,兩個輸入引腳,四個輸出引腳 ,所述控制引腳連接至開關控制p i η,所述兩個輸入引腳 分別經電容連接至外置MP3晶片;所述四個輸出引腳分別 經電容連接至中央處理器的引腳MIC+、MIC—和 LINE_INP、LINEJNM ;當開關控制pin輸入低電平時, 外置MP3晶片的信號經類比開關的切換輸出至中央處理器 的引腳MIC+、MIC—;當開關控制pi η輸入高電平時,外 100116593 表單編號Α0101 第4頁/共20頁 1002027847-0 201246897 置MP3晶片的信號經類比開關的切換輸出至中央處理器的 引腳LINE_INP、LINE_I匪。 [0005]201246897 VI. Description of the Invention: [Technical Field] [0001] The present invention relates to a mobile phone and a system and method for playing music during a call. \ [Previous skill 4 standard] [0002] When the user is on the move, and wants to share the song stored in the mobile phone with the other party, the usual way is to use the multimedia message (MMS) after hanging up the phone. Send it to the other party or send it to the other party via the Internet on your computer. Sending by other means is a common practice, but it is more troublesome. This can be avoided if the music can be played directly during the call. SUMMARY OF THE INVENTION [0003] In view of the above, it is necessary to provide a mobile phone and a system and method for playing music during a call, which can play music during a call of a mobile phone without sending through other means, which is convenient. . [0004] A mobile phone, the mobile phone includes a control circuit, the control circuit includes a central processing unit, an external MP3 chip and a mic circuit, the control circuit further includes an analog switch, a switch control pi η and a plurality of capacitors, wherein: The analog switch includes a control pin, two input pins, and four output pins, and the control pin is connected to the switch control pi η , and the two input pins are respectively connected to the external MP3 chip via a capacitor; The four output pins are respectively connected to the pins MIC+, MIC_ and LINE_INP of the central processing unit, LINEJNM; when the switch control pin is input low level, the signal of the external MP3 chip is output to the central processing through the switching of the analog switch. Pin MIC+, MIC-; when the switch controls pi η input high level, outside 100116593 Form number Α 0101 Page 4 / Total 20 pages 1002027847-0 201246897 The signal of the MP3 chip is output to the central processor through the switching of the analog switch The pins LINE_INP, LINE_I匪. [0005]
一種利用如上所述手機在通話過程中播放音樂的方法, 該方法包括以下步驟:偵測步驟一:在通話過程中偵測 中央處理器是否控制外置MP3晶片播放音樂;控制步驟一 :在偵測到中央處理器在通話過程中控制外置MP3晶片播 放音樂時,通過中央處理器觸發開關控制pin的電平為低 電平,所述類比開關的兩個輸入引腳將外置MP3晶片的信 號切換輸出至中央處理器的引腳ΜIC+、ΜIC—;偵測步驟 二:在通話過程中偵測中央處理器是否不再控制外置MP3 晶片播放音樂;控制步驟二:在偵測到中央處理器在通 話過程中不再控制外置MP3播放音樂時,通過中央處理器 觸發開關控制p i η的電平為高電平,所述類比開關的兩個 輸入引腳將外置MP3晶片的信號切換輸出至中央處理器的 引腳LINE_INP、LINE_INM。 [0006] ❹ 一種利用如上所述手機在通話過程中播放音樂的系統, 該系統包括:偵測模組一,用於在通話過程中偵測中央 處理器是否控制外置MP3晶片播放音樂;控制模組一,用 於在偵測到中央處理器在通話過程中控制外置MP3晶片播 放音樂時,通過中央處理器觸發開關控制pin的電平為低 電平,所述類比開關的兩個輸入引腳將外置MP3晶片的信 號切換輸出至令央處理器的引腳MIC+、MIC—;偵測模組 二,用於在通話過程中偵測中央處理器是否不再控制外 置MP3晶片播放音樂;控制模組二,用於在偵測到中央處 理器在通話過程中不再控制外置MP3播放音樂時,通過中 100116593 表單編號A0101 第5頁/共20頁 1002027847-0 201246897 讀理器觸發mi控制Pln的電平為高電平,所述類比開 關的兩個輸人引腳將外置MP3晶片的信號切_出至中央 處理器的引腳LINEJNP ' LINE—INM。 圃相較於習知技術,本㈣料之手機及其在通話過程中 播放音樂㈣統及方法,可以在手_辆過程中直接 進行音樂_放’無需通過其财式崎發送可以減 少麻煩。 【實施方式】 _] h圖1所示,係為本發明手機之硬體架構圖。 闕+機1包括控制電路2和音樂控制單元3。音樂控制單元3 用於摘測用戶在通話過財的需求,當用戶需要在通話 過程中播放音樂時,音樂控制單元3通過對控制電路2的 一個控制’從而達到在通話過程中播放音樂的目的。 [0010]如圖2所示,係為本發明圖丨中控制電路2之電路圖。 酬]控制電路 2 中包括 CPU (Central Pr〇cessing unit, 中央處理器)1G、外置MP3晶片U、類比開關12、開關 控制Pin 13、mic電路14及多個CAP ((;叩%“811(:6的 簡寫,指電容)16、17、18、19、20、21、22、23。 剛纟中,mie電路14是將人說話時的聲信號轉化成類比的語 音信號的電路。從各個晶片輸出的音頻信號會有直流電 平,電容CAP用於在直流電平進入cpu 1〇前將該直流電 平去除,電容CAP的電容值可以選擇在luF左右。 [0013] CPU 10的引腳MIC+、MIC —分別通過CAP 22、CAP 23 100116593 連接到mic電路14 "CPU 1〇的引腳LINE_INP、 表單編號A0101 第6頁/共20頁 1002027847-0 201246897 [0014] G [0015] [0016] Ο [0017] line—INM分別通過以卩l6、CAp 17連接到類比開關12 類比開關12通過CAP 19、CAP 18分別連接至CPU 10 的引腳MIC+、MIC-。外置MP3晶片的引聊Mp3_〇UTL、 MP3-〇UTR分別通過CAP 20、CAP 21連接到類比開關12 。開關控制pin 13控_比開關12的輸入電平,從而控 制類比開關12的輸出。 音樂控制單元3進行用戶需求的監測,當監測到用戶需要 在通話過程中播放音樂時,則通過⑽控制開關控制A method for playing music during a call by using the mobile phone as described above, the method comprising the following steps: detecting step 1: detecting whether the central processor controls the external MP3 chip to play music during the call; controlling step 1: detecting When the central processor detects that the external MP3 chip plays music during the call, the level of the pin is controlled to be low by the central processor trigger switch, and the two input pins of the analog switch will be external to the MP3 chip. The signal is switched to the pin of the central processing unit, +IC+, ΜIC—; detection step 2: detecting whether the central processor no longer controls the external MP3 chip to play music during the call; control step 2: detecting the central processing When the device no longer controls the external MP3 playing music during the call, the level of the pi η is controlled to be high by the central processor trigger switch, and the two input pins of the analog switch switch the signal of the external MP3 chip. Output to the core processor pins LINE_INP, LINE_INM. [0006] 系统 a system for playing music during a call by using the mobile phone as described above, the system comprising: a detection module 1 for detecting whether the central processor controls the external MP3 chip to play music during the call; The module 1 is configured to control the level of the pin to be low level by the central processor trigger switch when detecting that the central processor controls the external MP3 chip to play music during the call, and the two inputs of the analog switch The pin switches the signal of the external MP3 chip to the pin MIC+, MIC of the central processor; the detection module 2 is used to detect whether the central processor no longer controls the external MP3 chip during the call. Music; control module 2, for detecting that the central processor no longer controls external MP3 playing music during the call, passing 100116593 Form No. A0101 Page 5 / Total 20 Page 1002027847-0 201246897 Reader The level of the triggering mi control Pln is high, and the two input pins of the analog switch cut the signal of the external MP3 chip to the pin LINEJNP 'LINE_INM of the central processing unit. Compared with the prior art, this (four) material mobile phone and its playing music (four) system and method during the call can directly perform music _ release in the hand-car process without the need to send through its financial form to reduce trouble. [Embodiment] _] h shown in Figure 1, is a hardware architecture diagram of the mobile phone of the present invention. The 阙+machine 1 includes a control circuit 2 and a music control unit 3. The music control unit 3 is used to extract the user's demand for the call. When the user needs to play music during the call, the music control unit 3 controls the control circuit 2 to achieve the purpose of playing music during the call. . [0010] As shown in FIG. 2, it is a circuit diagram of the control circuit 2 in the drawing of the present invention. The compensation control circuit 2 includes a CPU (Central Prequential Unit) 1G, an external MP3 chip U, an analog switch 12, a switch control Pin 13, a mic circuit 14, and a plurality of CAPs ((;; 叩% "811 (abbreviation of 6: refers to capacitance) 16, 17, 18, 19, 20, 21, 22, 23. In the case of 纟, the mie circuit 14 is a circuit that converts an acoustic signal when a person speaks into an analog voice signal. The audio signal outputted by each chip has a DC level, and the capacitance CAP is used to remove the DC level before the DC level enters the cpu 1 ,, and the capacitance value of the capacitance CAP can be selected to be around luF. [0013] The pin MIC+ of the CPU 10, MIC - connected to the mic circuit 14 via the CAP 22, CAP 23 100116593, respectively, "CPU 1〇's pin LINE_INP, Form No. A0101, Page 6 of 20, 1002027847-0 201246897 [0014] [0016] [0016] [0017] line_INM is connected to the pins MIC+, MIC- of the CPU 10 through the CAP 19 and the CAP 18 through the CAP 19 and the CAP 18 by connecting the analog switch 12 to the analog switch 12, respectively. The external MP3 chip is referred to as Mp3_. 〇UTL, MP3-〇UTR are connected to analog switch 12 via CAP 20 and CAP 21, respectively. The control pin 13 controls the input level of the switch 12 to control the output of the analog switch 12. The music control unit 3 monitors the user's demand, and when it is monitored that the user needs to play music during the call, the control switch is passed (10). control
Pm 13的輸人電平’從而進行電路的切換,達到在通話 過程中播放音樂的目的。 當我們正常通話或正常聽MP3時,通過⑽1{)控制類比 開關12 ’使類比開關12的輸出切換到cpu丨〇的 LINEJNP和LINEjNM介面上。當我們在通話過程中想 要播放音樂時,可以使類比開關丨2的輸出切換到cpu 1〇 的MIC +和MIC —上。 如圖3所示’係為本發明圖1中類比開關12之示例簡圖。 類比開關12包含輸入引腳A1、A2,輸出引腳Bl、Cl、B2 、C2和控制引腳s ^輸入引腳A1通過控制引腳§進行輸出 引腳Bl、C1的選擇,輸入引腳A2通過控制引腳s進行輸出 引腳B2、C2的選擇。控制引腳s連接手機1的開關控制 pin 13 ’當控制引腳S為高電平時,輸入引腳A1與輪出 引腳C1連接’輸入引腳A2與輸出引腳C2連接;當控制引 腳S為低電平時,輸入引腳A1與輸出引腳B1連接,輸入引 腳A2與輸出引腳B2連接。 100116593 表單編號A0101 第7頁/共20頁 1002027847-0 201246897 [0018] 其中,輸入引腳A1、A2分別通過CAP 20、CAP 21與外 置MP3晶片11的引腳MP3—OUTL、MP3_OUTR相連。輪出引 腳B1、B2分別通過CAP 19、CAP 18與CPU 10的引腳 MIC+、MIC —相連;輸出引腳ci、C2分別通過CAP 16、 CAP 17 與 CPU 10 的引腳 LINE_INP、LINE_INM 相連。 [0019] 當我們正常通話或正常聽MP3時,通過CPU 10將開關控 制pin 13的電平觸發為高電平,從而使控制引腳s為高電 平’此時類比開關12中的輸入引腳Al、A2與輸出引腳C1 、C2連接,使類比開關12的輸出切換到CPU 10的 LINE—INP和LINE—INM介面上。此時的電路信號流向為 •外置MP3晶片11 -->類比開關12-->CPU 10的LINE引腳 -->CPU 10的MIC引腳(LINE引腳至MIC引腳的過程經 CPU内部開關電路進行切換)電路μ進行聲音信 號的輸出。此時CPU 10的LINE引腳因為電路性能的鎖定 ’只能進行一種聲音的傳送’因此此時是無法在通話過 程中進行音樂的傳送的。其中,所述CPU 1〇的LINE引腳 指引腳LINE—INP、LINE_INM,所述CPU 10的MIC引腳 指引腳MIC+、MIC—。 [0020] 當我們在通話過程中想要播放音樂時,通過CPU 10將開 關控制pin 13的電平觸發為低電平,從而使控制引腳s為 低電平’此時類比開關12中的輸入引腳Al、A2與輸出引 腳Bl、B2連接’使類比開關12的輸出切換到CPU 10的 MIC +和MIC —上’使MP3信號通過MIC輸入到CPU 10。此 時的信號流向為:外置MP3晶片11 -->類比開關 12-->CPU 10的MIC引腳-->mic電路14進行聲音信號的 100116593 表單編號A0101 第8頁/共20頁 1002027847-0 201246897 [0021] [0022] [0023] ΟThe input level of Pm 13 is thus switched to achieve the purpose of playing music during the call. When we are talking normally or listening to MP3 normally, the analog switch 12' is controlled by (10)1{) to switch the output of the analog switch 12 to the LINEJNP and LINEjNM interfaces of the cpu. When we want to play music during a call, we can switch the output of the analog switch 丨2 to the MIC + and MIC of cpu 1〇. As shown in Fig. 3, it is an exemplary diagram of the analog switch 12 of Fig. 1 of the present invention. Analog switch 12 includes input pins A1, A2, output pins B1, Cl, B2, C2 and control pins s ^ Input pin A1 through the control pin § output pin Bl, C1 selection, input pin A2 The output pins B2 and C2 are selected by the control pin s. Control pin s is connected to the switch control pin 13 of the mobile phone 1 'When the control pin S is high level, the input pin A1 is connected with the turn-out pin C1'. The input pin A2 is connected with the output pin C2; when the control pin is When S is low, input pin A1 is connected to output pin B1, and input pin A2 is connected to output pin B2. 100116593 Form No. A0101 Page 7 of 20 1002027847-0 201246897 [0018] The input pins A1 and A2 are connected to the pins MP3_OUTL and MP3_OUTR of the external MP3 chip 11 through the CAP 20 and the CAP 21, respectively. The round pins B1 and B2 are connected to the pins MIC+ and MIC of the CPU 10 through the CAP 19 and the CAP 18 respectively; the output pins ci and C2 are connected to the pins LINE_INP and LINE_INM of the CPU 10 through the CAP 16 and the CAP 17 respectively. [0019] When we are talking normally or listening to MP3 normally, the level of the switch control pin 13 is triggered to a high level by the CPU 10, so that the control pin s is at a high level 'At this time, the input in the analog switch 12 is cited. The pins A1 and A2 are connected to the output pins C1 and C2, so that the output of the analog switch 12 is switched to the LINE_INP and LINE_INM interfaces of the CPU 10. The circuit signal flow at this time is • external MP3 chip 11 --> analog switch 12 --> LINE pin of CPU 10 --> MIC pin of CPU 10 (the process of LINE pin to MIC pin) The circuit μ is switched by the internal switching circuit of the CPU. At this time, the LINE pin of the CPU 10 can only transmit a kind of sound because of the lock of the circuit performance. Therefore, it is impossible to transmit music during the call. The LINE pin of the CPU 1 refers to the pins LINE_INP, LINE_INM, and the MIC pins of the CPU 10 refer to the pins MIC+, MIC-. [0020] When we want to play music during a call, the level of the switch control pin 13 is triggered to a low level by the CPU 10, thereby causing the control pin s to be low level 'At this time in the analog switch 12 The input pins A1, A2 are connected to the output pins B1, B2 'switching the output of the analog switch 12 to the MIC + and MIC on the CPU 10' to cause the MP3 signal to be input to the CPU 10 through the MIC. The signal flow at this time is: external MP3 chip 11 -> analog switch 12 -> MIC pin of CPU 10 -> mic circuit 14 performs sound signal 100116593 Form No. A0101 Page 8 of 20 Page 1002027847-0 201246897 [0022] [0023] Ο
[0024] G 輸出。由於MIC引腳可同時進行兩種聲音的傳送,因此, 可達到在通話過程中進行MP3的播放的目的。 如圖4所示,係為本發明圖丨中的音樂控制單元3之功能模 組圖。 該音樂控制單元3包括偵測模組一301、控制模組一3〇2、 偵測模組二303、控制模組二3〇4。 偵測模組一 301用於在通話過程中對cpu 1〇進行偵測, 根據CPU 10是否通過介面控制外置MP3晶片丨丨播放音樂 來判斷手機1是否有在通話過程中播放音樂的需求。當沒 有偵測到手機1在通話過程中有播放音樂的需求時,則不 做任何處理。當在通話過程中有播放音樂的需求時,也 即當CPU 10檢測到播放器的播放鍵被按下時,通過I2C 介面控制外置MP3晶片11播放音樂。所述I2C介面,如圖 2中CPU 10與外置MP3晶片11的SM、SCL介面。 控制模組一302用於在偵測到手機丨在通話過程中有播放 音樂的需求後,通過CPU 1〇將開關控制pin 13的電平觸 發為低電平。此時’類比開關1 2的輸出切換到CPU 10的 MIC +和 MIC —上。 [0025] 偵測模組二303用於在通話過程中對cpu 1〇進行偵測, 根據CPU 10是否不再控制外置MP3晶片u播放音樂來判 斷手機1是否需要暫停音樂播放或者音樂是否播放完畢。 當不需暫停音樂播放或音樂沒有播放完畢時,則繼續進 行偵測。當需要暫停音樂的播放及當音樂播放完畢時, CPU 1〇即檢測到播放器的暫停鍵被按下或者播放器已切 100116593 表單編號A0101 第9頁/共20頁 1002027847-0 201246897 換至停止鍵,此時該CPU 10斷開與外置MP3晶片u的連 接’不再控制該外置MP3晶片11。 剛㈣魅二3_於在需要暫停音樂時或在音樂播放完畢 後通過CPU 10將開關控制pin 的電平觸發為高電平 。此時,類比開關12的輸出切換到cpu 1(^UNE—INp 和LINEJNM介面上。 圃2要說明的是,在通話過程中,音樂的播放是作為背景 音樂而存在的,此時,通話仍舊可以正常進行,但是通 話品質會有所下降。 國b圖5所示’係為本發明手機在通話過程中播放音樂之方 法較佳實施例的流程圖。 0)029]步驟Sl〇〇 ’在通話過程中,谓測模組一 3〇ι對⑽⑽ 行偵測,根據CPU 1〇是否通過介面控制外置Mp3晶片Η 播放音樂來判斷手機i是否有在通話過程中播放音樂的需 求。s偵測到手機1有在通話過程中播放音樂的需求時, 執行步驟S1 01 ’當沒有债測到手機!在通話過程中有播放 音樂的需求時,不做任何處理,直接結束該流程。 國#驟S101,控制模組一 3〇2在偵測到手機j在通話過程中 有播放音樂的需求時,通過cpu 1〇將開關控制pin 13的 電平觸發為低電平。此時,類比開關12的輸出切換到cpu 10 的MIC +和MIC-上。 步驟S102,在通話過程中,偵測模組二3〇3根據cpu 1〇 疋否已經斷開與外置MP3晶片u的連接來判斷cpu 1〇是 否不再控制外置MP3晶片播放音樂,也即是否需要暫停音 100116593 表單編號A0101 第10頁/共20頁 1002027847-0 [0031] 201246897 樂播放或者音樂已·_放完畢。#需㈣停音 播放完畢後,執行步驟S103,當不需暫停音樂或音樂沒 有播放完畢時,繼續進行偵測。 、久 剛#驟SU)3,控制模組二3Q4在需要暫停音樂時或在音樂播 放完畢後,通過CPU 10將開關控制pin 13的電平觸發為 间電平。此時,類比開關12的輸出切換到cpu j 〇的 LINEJNP 和 LINE_INM 介面上。 [0033]綜上所述,本發明符合發明專利要件,爰依法提出專利 〇 申請。惟,以上所述者僅爲本發明之較佳實施例,本發 明之範圍並不以上述實施例爲限,舉凡熟悉本案技鈑 人士援依本發明之精神所作之等效修飾或變化,皆應、 蓋於以下申請專利範圍内。 .成 【圖式簡單說明】 闕ffilM本剌钱之硬翁構圖。 [〇〇35]圖2係為本發明圖1中控制電路2之電路圖。 Q [0036]圖3係為本發明圖1令類比開關12之示例簡圖》 [0037] 圖4係為本發明圖1中的音樂控制單元3之功能摈級 〇 [0038] 圖5係為本發明手機在通話過程中播放音樂的方法較 施例之流程圖。 隹貧 【主要元件符號說明】 [0039] 手機 1 [0040] 控制電路2 [0041] CPU 10 100116593 表單編號A0101 第】丨頁/共20頁 201246897 [0042] 外置MP3晶片11 [0043] 類比開關1 2 [0044] 開關控制p i η 1 3 [0045] m i c 電路 1 4 [0046] CAP 16、17、18、19、20、21、22、23 [0047] 音樂控制單元3 [0048] 偵測模組一 301 [0049] 控制模組一 3 0 2 [0050] 偵測模組二3 0 3 [0051] 控制模組二304 100116593 表單編號A0101 第12頁/共20頁 1002027847-0[0024] G output. Since the MIC pin can transmit two kinds of sounds at the same time, the purpose of playing MP3 during the call can be achieved. As shown in Fig. 4, it is a functional block diagram of the music control unit 3 in the figure of the present invention. The music control unit 3 includes a detection module 301, a control module 313, a detection module 303, and a control module 2-3. The detecting module 301 is configured to detect the cpu 1〇 during the call, and determine whether the mobile phone 1 needs to play music during the call according to whether the CPU 10 controls the external MP3 chip to play music through the interface. When it is not detected that the mobile phone 1 has a need to play music during the call, no processing is performed. When there is a need to play music during a call, that is, when the CPU 10 detects that the player's play button is pressed, the external MP3 chip 11 is controlled to play music through the I2C interface. The I2C interface is as shown in FIG. 2, and the SM and SCL interfaces of the CPU 10 and the external MP3 chip 11. The control module one 302 is configured to trigger the level of the switch control pin 13 to be low level by the CPU 1 after detecting that the mobile phone has a need to play music during the call. At this time, the output of the analog switch 1 2 is switched to the MIC + and MIC of the CPU 10. [0025] The detecting module 303 is configured to detect the cpu 1〇 during the call, and determine whether the mobile phone 1 needs to pause the music playing or whether the music is played according to whether the CPU 10 no longer controls the external MP3 chip to play music. Finished. When there is no need to pause music playback or the music has not finished playing, continue to detect. When it is necessary to pause the playback of the music and when the music is played, the CPU 1 detects that the pause button of the player has been pressed or the player has cut 100116593 Form No. A0101 Page 9 / Total 20 Page 1002027847-0 201246897 Change to stop At this time, the CPU 10 disconnects the connection with the external MP3 chip u, and the external MP3 wafer 11 is no longer controlled. Just (4) Charm 2__ triggers the level of the switch control pin to a high level by the CPU 10 when it is necessary to pause the music or after the music has been played. At this time, the output of analog switch 12 is switched to cpu 1 (^UNE_INp and LINEJNM interface. 圃2 It should be noted that during the call, the music is played as background music, at this time, the call is still It can be performed normally, but the quality of the call will be reduced. The picture shown in Figure 5 is a flow chart of a preferred embodiment of the method for playing music during a call by the mobile phone of the present invention. 0) 029] Step S1' During the call, the test module detects the (10) (10) line and determines whether the mobile phone i has the need to play music during the call according to whether the CPU 1 controls the external Mp3 chip to play music through the interface. s Detecting that the mobile phone 1 has a need to play music during the call, perform step S1 01 ’ when there is no debt measurement to the mobile phone! When there is a need to play music during a call, do nothing and end the process directly. In the country #STEP S101, the control module 3〇2 detects the need for the mobile phone j to play music during the call, and triggers the level of the switch control pin 13 to be low through the cpu 1〇. At this time, the output of the analog switch 12 is switched to the MIC + and MIC- of the cpu 10. Step S102, during the call, the detection module 2〇3 determines whether the cpu 1〇 no longer controls the external MP3 chip to play music according to whether the cpu 1〇疋 has disconnected from the external MP3 chip u. That is, whether you need to pause the sound 100116593 Form No. A0101 Page 10 / Total 20 pages 1002027847-0 [0031] 201246897 Music playback or music has been released. #要(四) Stopping the sound After the playback is completed, step S103 is performed, and when there is no need to pause the music or the music is not played, the detection is continued. 3, the control module 2 3Q4 triggers the level of the switch control pin 13 to the intermediate level by the CPU 10 when the music needs to be paused or after the music is played. At this time, the output of the analog switch 12 is switched to the LINEJNP and LINE_INM interfaces of cpu j 。. [0033] In summary, the present invention complies with the requirements of the invention patent, and applies for a patent 爰 according to law. The above is only the preferred embodiment of the present invention, and the scope of the present invention is not limited to the above embodiments, and equivalent modifications or variations made by those skilled in the art in light of the spirit of the present invention are Should be covered by the following patent application. . [Simplified description of the diagram] 阙ffilM This is the hard-line composition of the money. FIG. 2 is a circuit diagram of the control circuit 2 of FIG. 1 of the present invention. [0036] FIG. 3 is a schematic diagram of the analog switch 12 of FIG. 1 of the present invention. FIG. 4 is a functional level of the music control unit 3 of FIG. 1 of the present invention. [0038] FIG. The method for playing music during the call of the mobile phone of the present invention is compared with the flow chart of the embodiment. Absolutely poor [main component symbol description] [0039] Mobile phone 1 [0040] Control circuit 2 [0041] CPU 10 100116593 Form number A0101 page 丨 page / total 20 pages 201246897 [0042] External MP3 chip 11 [0043] Analog switch 1 2 [0044] Switch Control pi η 1 3 [0045] mic Circuit 1 4 [0046] CAP 16, 17, 18, 19, 20, 21, 22, 23 [0048] Music Control Unit 3 [0048] Detection Mode Group one 301 [0049] Control module one 3 0 2 [0050] Detection module two 3 0 3 [0051] Control module two 304 100116593 Form number A0101 Page 12 / Total 20 pages 1002027847-0