TWI502950B - Hand-held electronic apparatus and method for detecting sim card using the same - Google Patents

Hand-held electronic apparatus and method for detecting sim card using the same Download PDF

Info

Publication number
TWI502950B
TWI502950B TW101123911A TW101123911A TWI502950B TW I502950 B TWI502950 B TW I502950B TW 101123911 A TW101123911 A TW 101123911A TW 101123911 A TW101123911 A TW 101123911A TW I502950 B TWI502950 B TW I502950B
Authority
TW
Taiwan
Prior art keywords
user identification
identification card
processor
signal
electronic device
Prior art date
Application number
TW101123911A
Other languages
Chinese (zh)
Other versions
TW201404111A (en
Inventor
Yung Hsien Kuo
Yu Peng Lai
Original Assignee
Htc Corp
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 Htc Corp filed Critical Htc Corp
Priority to TW101123911A priority Critical patent/TWI502950B/en
Publication of TW201404111A publication Critical patent/TW201404111A/en
Application granted granted Critical
Publication of TWI502950B publication Critical patent/TWI502950B/en

Links

Description

手持電子裝置與其用戶識別卡的檢測方法Handheld electronic device and method for detecting user identification card

本發明是有關於一種電子裝置與其檢測方法,且特別是有關於一種手持電子裝置與其用戶識別卡的檢測方法。The present invention relates to an electronic device and a method for detecting the same, and more particularly to a method for detecting a handheld electronic device and its user identification card.

一般在行動通訊系統中,使用者在申請一個行動電話門號時,會取得一張用戶識別(Subscriber Identity Module,SIM)卡。用戶識別卡必須置於手持電子裝置之用戶識別卡插槽(socket),其功能在於識別合法使用者,為通話及計帳的重要依據,並且可儲存使用者在通訊網路上的相關識別資料,也就是說,手持電子裝置必須在具有用戶識別卡的情況下才能進行通話功能的使用,對應不同的行動電話門號則有不同的用戶識別卡。因此,對於同時擁有多張用戶識別卡的使用者來說,常有更換手持電子裝置之用戶識別卡的需求。Generally, in a mobile communication system, a user obtains a Subscriber Identity Module (SIM) card when applying for a mobile phone number. The user identification card must be placed in the user identification card slot of the handheld electronic device. Its function is to identify legitimate users, which is an important basis for calling and billing, and can store relevant identification information of the user on the communication network. That is to say, the handheld electronic device must have the user's identification card to use the call function, and the different mobile phone door numbers have different user identification cards. Therefore, for users who have multiple user identification cards at the same time, there is often a need to replace the user identification card of the handheld electronic device.

當使用者在移除用戶識別卡的過程中,若用戶識別卡的電源尚未關閉,則會導致用戶識別卡發生電流短路,造成用戶識別卡損壞。因此,為了避免上述情況發生,現有之手持電子裝置係藉由設計電池與用戶識別卡插槽之配置方式來防止使用者在用戶識別卡的電源未關閉的情況下移除用戶識別卡。以下請參照圖1A至圖1C,圖1A至圖1C繪示為手持電子裝置之電池與用戶識別卡插槽的配置方式。When the user removes the user identification card, if the power of the user identification card has not been turned off, the user identification card may be short-circuited, causing damage to the user identification card. Therefore, in order to avoid the above situation, the existing handheld electronic device prevents the user from removing the user identification card when the power of the user identification card is not turned off by designing the configuration of the battery and the user identification card slot. Please refer to FIG. 1A to FIG. 1C . FIG. 1A to FIG. 1C illustrate the arrangement of the battery and the user identification card slot of the handheld electronic device.

如圖1A所示,手持電子裝置10之插槽18係設置於電池12下方,也就是說,使用者打開背蓋後,必須先移除電池12,才能看見位於電池12下方插槽18以及置於插槽18內的用戶識別卡5。也就是說,使用者在插入或移除用戶識別卡5之前,一定得先移除電池12。再如圖1B所示,手持電子裝置10之插槽28與電池12並排,當使用者需插入或移除用戶識別卡5時,必須遵照如圖1B所示之插入方向D1與移除方向D2。換句話說,使用者在插入或移除用戶識別卡5之前,一定得先移除電池22。故,如圖1A與圖1B所示之電池與用戶識別卡插槽的配置方式皆可避免使用者在電池未移除之前移動用戶識別卡。As shown in FIG. 1A, the slot 18 of the handheld electronic device 10 is disposed under the battery 12, that is, after the user opens the back cover, the battery 12 must be removed before the slot 18 is located under the battery 12 and placed. The subscriber identity card 5 is located within the slot 18. That is, the user must first remove the battery 12 before inserting or removing the user identification card 5. As shown in FIG. 1B, the slot 28 of the handheld electronic device 10 is juxtaposed with the battery 12. When the user needs to insert or remove the user identification card 5, the insertion direction D1 and the removal direction D2 as shown in FIG. 1B must be followed. . In other words, the user must first remove the battery 22 before inserting or removing the user identification card 5. Therefore, the arrangement of the battery and the subscriber identification card slot as shown in FIGS. 1A and 1B can prevent the user from moving the subscriber identity card before the battery is removed.

然而,如圖1C所示,手持電子裝置30之插槽38與電池32之配置方式係為獨立,也就是說,不論電池32拔掉與否,使用者皆可依據插入方向D3與移除方向D4來移動用戶識別卡5。如此一來,圖1C所示之配置方式,將容易導致使用者在電池32未移除的情況下插拔用戶識別卡5。習知一種用來偵測圖1C所示之用戶識別卡5是否已被移除的方法係在插槽38內增設感測裝置(未繪示),然而感測裝置會增加手持電子裝置30之製造成本以及佔據手持電子裝置30的內部空間。However, as shown in FIG. 1C, the arrangement of the slot 38 and the battery 32 of the handheld electronic device 30 is independent, that is, regardless of whether the battery 32 is unplugged or not, the user can follow the insertion direction D3 and the removal direction. D4 moves the subscriber identity card 5. As such, the configuration shown in FIG. 1C will easily cause the user to insert and remove the user identification card 5 without the battery 32 being removed. A method for detecting whether the user identification card 5 shown in FIG. 1C has been removed is to add a sensing device (not shown) in the slot 38. However, the sensing device increases the handheld electronic device 30. Manufacturing costs and occupying the internal space of the handheld electronic device 30.

本發明提供一種手持電子裝置,其可預防使用者在手持電子裝置之電源未關閉的情況下,再次插入用戶識別卡 所造成的短路情形。The invention provides a handheld electronic device, which can prevent a user from reinserting a user identification card when the power of the handheld electronic device is not turned off. The resulting short circuit condition.

本發明提供一種用戶識別卡的檢測方法,其可檢測用戶識別卡是否已從手持電子裝置上移除,以預防用戶識別卡於電源未關閉的情況下,再次插入手持電子裝置所造成的短路情形。The invention provides a method for detecting a user identification card, which can detect whether the user identification card has been removed from the handheld electronic device, so as to prevent the short circuit caused by the re-insertion of the handheld electronic device when the user identification card is not turned off. .

本發明提出一種手持電子裝置,其包括天線、用戶識別卡以及處理器。天線配置於手持電子裝置的可移除式背蓋上,用以接收無線訊號。處理器耦接至用戶識別卡,其中處理器偵測天線所接收之無線訊號的訊號強度與訊號變化量。若訊號強度小於第一臨界值或訊號變化量之絕對值大於第二臨界值,處理器輪詢(polling)用戶識別卡以檢測用戶識別卡是否已被移除。The present invention provides a handheld electronic device that includes an antenna, a subscriber identification card, and a processor. The antenna is disposed on the removable back cover of the handheld electronic device for receiving the wireless signal. The processor is coupled to the subscriber identity card, wherein the processor detects the signal strength and signal variation of the wireless signal received by the antenna. If the signal strength is less than the first threshold or the absolute value of the signal change is greater than the second threshold, the processor polls the subscriber identity card to detect if the subscriber identity card has been removed.

在本發明之一實施例中,上述之處理器發送狀態查詢指令至用戶識別卡,並偵測是否接收到來自用戶識別卡的回應資料,據以判斷用戶識別卡是否已被移除。In an embodiment of the invention, the processor sends a status query command to the user identification card, and detects whether the response data from the user identification card is received, thereby determining whether the user identification card has been removed.

在本發明之一實施例中,上述之處理器若並未接收到回應資料,關閉用戶識別卡的電源。In an embodiment of the invention, if the processor does not receive the response data, the power of the user identification card is turned off.

在本發明之一實施例中,上述之手持電子裝置,更包括顯示單元,耦接至處理器,其中處理器關閉用戶識別卡的電源後,控制顯示單元顯示用戶識別卡已被移除的提示訊息。In an embodiment of the present invention, the handheld electronic device further includes a display unit coupled to the processor, wherein after the processor turns off the power of the user identification card, the control display unit displays a prompt that the user identification card has been removed. message.

在本發明之一實施例中,上述之手持電子裝置,更包括計時器,耦接至處理器,其中處理器根據計時器的訊號定時對用戶識別卡進行輪詢。當訊號強度小於第一臨界值 或訊號變化量大於第二臨界值,並且處理器接收到回應資料時,縮短計時器之輪詢時間間距。In an embodiment of the present invention, the handheld electronic device further includes a timer coupled to the processor, wherein the processor polls the user identification card according to the signal timing of the timer. When the signal strength is less than the first threshold Or the signal change amount is greater than the second threshold value, and when the processor receives the response data, the polling time interval of the timer is shortened.

在本發明之一實施例中,上述之手持電子裝置,更包括射頻模組,耦接於天線與處理器之間,其中射頻模組對天線所接收的無線訊號進行降頻處理,以轉換為基頻訊號,並將基頻訊號傳送至處理器進行處理。In one embodiment of the present invention, the handheld electronic device further includes a radio frequency module coupled between the antenna and the processor, wherein the radio frequency module performs frequency reduction processing on the wireless signal received by the antenna to be converted into The baseband signal is transmitted to the processor for processing.

在本發明之一實施例中,上述之手持電子裝置,更包括用戶識別卡介面,耦接處理器與用戶識別卡之間,其中處理器透過用戶識別卡介面存取用戶識別卡。In an embodiment of the present invention, the handheld electronic device further includes a user identification card interface coupled between the processor and the user identification card, wherein the processor accesses the user identification card through the user identification card interface.

本發明提出一種用戶識別卡的檢測方法,適用於手持電子裝置,檢測方法包括下列步驟。透過天線接收一無線訊號,其中天線配置於手持電子裝置的可移除式背蓋上。偵測無線訊號的訊號強度與訊號變化量。判斷訊號強度是否小於第一臨界值,並判斷訊號變化量是否大於第二臨界值。若訊號強度小於第一臨界值或訊號變化量之絕對值大於第二臨界值,對手持電子裝置的用戶識別卡進行輪詢以檢測用戶識別卡是否已被移除。The invention provides a method for detecting a user identification card, which is suitable for a handheld electronic device, and the detection method comprises the following steps. Receiving a wireless signal through the antenna, wherein the antenna is disposed on the removable back cover of the handheld electronic device. Detects the signal strength and signal variation of wireless signals. Determine whether the signal strength is less than the first threshold, and determine whether the signal change amount is greater than the second threshold. If the signal strength is less than the first threshold or the absolute value of the signal change is greater than the second threshold, the user identification card of the handheld electronic device is polled to detect whether the user identification card has been removed.

在本發明之一實施例中,上述在對手持電子裝置的用戶識別卡進行輪詢以檢測用戶識別卡是否已被移除的步驟包括,發送狀態查詢指令至用戶識別卡。偵測是否接收到來自用戶識別卡的回應資料,據以判斷用戶識別卡是否已被移除。In an embodiment of the invention, the step of polling the user identification card of the handheld electronic device to detect whether the user identification card has been removed comprises transmitting a status inquiry command to the user identification card. It is detected whether the response data from the user identification card is received, and it is determined whether the user identification card has been removed.

在本發明之一實施例中,上述若未偵測到來自用戶識別卡的回應資料,關閉用戶識別卡的電源。In an embodiment of the invention, if the response data from the subscriber identity card is not detected, the power of the subscriber identity card is turned off.

在本發明之一實施例中,上述在關閉用戶識別卡的電源的步驟之後更包括,藉由一顯示單元顯示用戶識別卡已被移除的一提示訊息。In an embodiment of the invention, after the step of turning off the power of the user identification card, the method further includes displaying, by the display unit, a prompt message that the user identification card has been removed.

在本發明之一實施例中,上述之用戶識別卡的檢測方法,更包括定時對用戶識別卡進行輪詢。當訊號強度小於第一臨界值或訊號變化量之絕對值大於第二臨界值,並且接收到回應資料時,縮短對用戶識別卡進行輪詢的輪詢時間間距。In an embodiment of the present invention, the method for detecting a user identification card further includes periodically polling the user identification card. When the signal strength is less than the first threshold or the absolute value of the signal change is greater than the second threshold, and the response data is received, the polling time interval for polling the subscriber identity card is shortened.

在本發明之一實施例中,上述之用戶識別卡的檢測方法,更包括對天線所接收的無線訊號進行降頻處理,以轉換為一基頻訊號,藉以對基頻訊號進行判斷與訊號處理。In an embodiment of the present invention, the method for detecting a user identification card further includes: performing frequency reduction processing on the wireless signal received by the antenna to convert to a baseband signal, thereby performing judgment and signal processing on the baseband signal. .

基於上述,本發明之手持電子裝置及其用戶識別卡的檢測方法,藉由監測接收訊號強度的差異來作為是否需要查詢用戶識別卡的狀態之依據,而可適時檢測用戶識別卡是否已被移除,以避免使用者在電源未關閉的情況下再次將用戶識別卡插入手持電子裝置所造成的短路情形。Based on the above, the handheld electronic device of the present invention and the method for detecting the user identification card can detect whether the user identification card has been moved, by monitoring the difference of the received signal strength as the basis for whether the state of the user identification card needs to be queried. In addition, to avoid the short circuit caused by the user inserting the user identification card into the handheld electronic device again when the power is not turned off.

為讓本發明之上述特徵和優點能更明顯易懂,下文特舉實施例,並配合所附圖式作詳細說明如下。The above described features and advantages of the present invention will be more apparent from the following description.

第一實施例First embodiment

圖2A是依照本發明第一實施例所繪示之手持電子裝置的方塊圖。圖2B至圖2C是依照本發明第一實施例所繪示之手持電子裝置的立體示意圖。以下請配合參照圖2A 至圖2C,手持電子裝置200例如為手機、個人數位助理(Personal Digital Assistant,PDA)手機或智慧型手機等手持電子裝置,不限於上述。在此說明的是,手持電子裝置200包括可移除式背蓋202、機體204以及閂扣機構201,其中閂扣機構201設置於可移除式背蓋202與機體204之間。當觸發閂扣機構201時,可解除閂扣機構201施加在機體204與可移除式背蓋202之間的扣接,使得可移除式背蓋202脫離機體204(如圖2B與圖2C所示)。2A is a block diagram of a handheld electronic device in accordance with a first embodiment of the present invention. 2B to 2C are schematic perspective views of a handheld electronic device according to a first embodiment of the present invention. Please refer to Figure 2A below. As shown in FIG. 2C, the handheld electronic device 200 is, for example, a handheld electronic device such as a mobile phone, a personal digital assistant (PDA) mobile phone, or a smart phone, and is not limited to the above. It is noted that the handheld electronic device 200 includes a removable back cover 202 , a body 204 , and a latch mechanism 201 , wherein the latch mechanism 201 is disposed between the removable back cover 202 and the body 204 . When the latch mechanism 201 is triggered, the buckle mechanism 201 can be released from the buckle between the body 204 and the removable back cover 202, so that the removable back cover 202 is separated from the body 204 (as shown in FIG. 2B and FIG. 2C). Shown).

請參照圖2A,手持電子裝置200包括天線210、用戶識別卡220以及處理器230,其功能分述如下:本發明之天線210係配置於手持電子裝置200的可移除式背蓋202上,用以接收或發出無線訊號。一般常見的製作方法,大多採用將金屬片以塑膠熱融方式固定在手持電子裝置200的可移除式背蓋202上或是將金屬片直接貼在可移除式背蓋202上,另一種雷射雕刻(Laser Direct Structuring,LDS)技術則是直接將天線210雷射在可移除式背蓋202上。此種天線設置於可移除式背蓋202上的方式可用以縮小手持電子裝置200之體積。據此,本實施例之天線210例如是雷射雕刻天線、晶片天線(chip antenna)、F型線路天線(F-shaped circuit antenna)等。此外,為了方便說明,在此僅繪示一個天線210,但本實施例不限於此。於其他實施例中,天線210的數目亦可以為多個。Referring to FIG. 2A, the handheld electronic device 200 includes an antenna 210, a user identification card 220, and a processor 230. The function of the antenna 210 is as follows: The antenna 210 of the present invention is disposed on the removable back cover 202 of the handheld electronic device 200. Used to receive or send wireless signals. Generally, the common manufacturing method is to fix the metal piece to the removable back cover 202 of the handheld electronic device 200 by plastic hot melt or to directly attach the metal piece to the removable back cover 202. The Laser Direct Structuring (LDS) technique directly exposes the antenna 210 to the removable back cover 202. The manner in which such an antenna is disposed on the removable back cover 202 can be used to reduce the volume of the handheld electronic device 200. Accordingly, the antenna 210 of the present embodiment is, for example, a laser engraved antenna, a chip antenna, an F-shaped circuit antenna, or the like. In addition, for convenience of explanation, only one antenna 210 is shown here, but the embodiment is not limited thereto. In other embodiments, the number of antennas 210 may also be multiple.

用戶識別卡220又可稱為SIM卡,其例如是微處理晶 片,用以儲存使用者在無線通訊網路上的相關識別資料,例如是行動電話號碼、通訊參數,以及記憶空間以儲存個人電話簿或其他個人資訊。The subscriber identity card 220 may also be referred to as a SIM card, which is, for example, a microprocessor chip. The piece is used to store relevant identification data of the user on the wireless communication network, such as a mobile phone number, communication parameters, and a memory space for storing a personal phone book or other personal information.

處理器230耦接至用戶識別卡220,其中處理器230用以控制手持電子裝置200的整體運作,例如是手持電子裝置200的通訊功能。舉例來說,處理器230可偵測天線210所接收之無線訊號的訊號強度與無線訊號的訊號變化量,以及對用戶識別卡220進行存取,不限於上述。此外,處理器230例如是中央處理單元(Central Processing Unit,CPU),或是其他可程式化之微處理器(Microprocessor)、數位訊號處理器(Digital Signal Processor,DSP)、可程式化控制器、特殊應用積體電路(Application Specific Integrated Circuits,ASIC)、可程式化邏輯裝置(Programmable Logic Device,PLD)或其他類似裝置。The processor 230 is coupled to the user identification card 220, wherein the processor 230 is used to control the overall operation of the handheld electronic device 200, such as the communication function of the handheld electronic device 200. For example, the processor 230 can detect the signal strength of the wireless signal received by the antenna 210 and the signal variation of the wireless signal, and access the user identification card 220, and is not limited to the above. In addition, the processor 230 is, for example, a central processing unit (CPU), or other programmable microprocessor (Microprocessor), a digital signal processor (DSP), a programmable controller, Application Specific Integrated Circuits (ASICs), Programmable Logic Devices (PLDs), or the like.

此外,本實施例之手持電子裝置200可配置射頻模組240,耦接於天線210與處理器230之間。射頻模組240可將無線訊號進行降頻或升頻處理等。舉例來說,射頻模組240可將從天線210所接收之高頻的射頻(Radio Frequency,RF)訊號進行降頻處理而轉換為基頻(baseband)訊號,並將基頻訊號傳送至處理器230進行處理。或者,射頻模組240可將來自處理器230的基頻訊號進行升頻處理而轉換為高頻的射頻訊號。此外,當天線210的數目為多個時,射頻模組240可包括一前端(Front end)裝置(未繪示),用以適時切換不同的天線來接收或發送訊號。In addition, the handheld electronic device 200 of the present embodiment can be configured with a radio frequency module 240 coupled between the antenna 210 and the processor 230. The radio frequency module 240 can perform frequency down or up-conversion processing of the wireless signal. For example, the radio frequency module 240 can down convert the high frequency radio frequency (RF) signal received from the antenna 210 into a baseband signal, and transmit the baseband signal to the processor. 230 for processing. Alternatively, the RF module 240 can upconvert the baseband signal from the processor 230 to a high frequency RF signal. In addition, when the number of the antennas 210 is multiple, the radio frequency module 240 may include a front end device (not shown) for timely switching different antennas to receive or transmit signals.

圖3是依照本發明一實施例所繪示之用戶識別卡的檢測方法流程圖。請同時參照圖2A與圖3,本實施例的檢測方法適用於上述實施例中的手持電子裝置200,其中手持電子裝置200的天線210配置於可移除式背蓋202上。以下即搭配圖2A之手持電子裝置200中的各構件說明本實施例顯示方法的詳細步驟。FIG. 3 is a flow chart of a method for detecting a user identification card according to an embodiment of the invention. Referring to FIG. 2A and FIG. 3 simultaneously, the detection method of the present embodiment is applicable to the handheld electronic device 200 in the above embodiment, wherein the antenna 210 of the handheld electronic device 200 is disposed on the removable back cover 202. The detailed steps of the display method of this embodiment will be described below in conjunction with the components in the handheld electronic device 200 of FIG. 2A.

步驟S302,天線210接收無線訊號。詳細而言,由於天線210所接收的無線訊號為高頻訊號,因此,射頻模組240會將天線210所接收的無線訊號(即,高頻訊號)進行降頻處理,以轉換為基頻訊號。並且,射頻模組240會將此基頻訊號傳送至處理器230進行處理。In step S302, the antenna 210 receives the wireless signal. In detail, since the wireless signal received by the antenna 210 is a high frequency signal, the radio frequency module 240 down-converts the wireless signal (ie, the high-frequency signal) received by the antenna 210 to be converted into a baseband signal. . Moreover, the radio frequency module 240 transmits the baseband signal to the processor 230 for processing.

接著,於步驟S304,處理器230偵測無線訊號的訊號強度與訊號變化量。進一步地說,由於本實施例之天線210係設置於可移除式背蓋202上,因此當可移除式背蓋202與機體204分離時,處理器230所偵測到的訊號強度與訊號變化量,將會有大幅度的變動。另一方面,當手持電子裝置200所處的位置之無線通訊服務的訊號較弱時,處理器230所偵測到的訊號強度與訊號變化量亦會受影響。Next, in step S304, the processor 230 detects the signal strength and the signal change amount of the wireless signal. Further, since the antenna 210 of the embodiment is disposed on the removable back cover 202, the signal strength and signal detected by the processor 230 when the removable back cover 202 is separated from the body 204. The amount of change will vary greatly. On the other hand, when the signal of the wireless communication service at the location where the handheld electronic device 200 is located is weak, the signal strength and signal variation detected by the processor 230 are also affected.

舉例來說,當手持電子裝置200所接收的訊號強度大於-75分貝毫瓦(decibel relative to one milliwatt,dBm)時,代表收訊品質優良,若此時進行通話服務則通話穩定、語音清晰;當手持電子裝置200所接收的訊號強度介於-75dBm與-90dBm之間,代表收訊品質普通,若此時進行通話服務則通話穩定、偶有語音不清;當手持電子裝置200 所接收的訊號強度介於-90dBm與-105dBm之間,代表收訊品質尚可,若此時進行通話服務則尚可通話但已有部份語音不清楚的情況發生;當手持電子裝置200所接收的訊號強度小於-105dBm,則代表收訊品質不良,此時已有無法進行通話服務或無法清楚對話的情況發生。For example, when the signal strength received by the handheld electronic device 200 is greater than -75 dBm (decibel relative to one milliwatt, dBm), the reception quality is excellent, and if the call service is performed at this time, the call is stable and the voice is clear; When the signal strength received by the handheld electronic device 200 is between -75 dBm and -90 dBm, the reception quality is normal. If the call service is performed at this time, the call is stable and the voice is unclear; when the handheld electronic device 200 The received signal strength is between -90dBm and -105dBm, which means that the receiving quality is acceptable. If the call service is performed at this time, the call can still be called but some voices are unclear; when the handheld electronic device 200 If the received signal strength is less than -105dBm, it means that the reception quality is poor. At this time, there is no way to make a call service or a clear conversation.

一般而言,在手持電子裝置200之周遭環境未明顯改變的情況下,處理器230所偵測的訊號強度與訊號變化量並不會有大幅度的變動。舉例來說,若使用者皆固定於辦公室內使用手持電子裝置200,若其收訊品質為普通,則手持電子裝置200之訊號強度大致上會介於-75dBm與-90dBm之間。若使用者並未改變其使用手持電子裝置200位置,但處理器230所偵測的訊號強度突然降至-90dBm以下,亦即短時間內的訊號變化量過大,則代表手持電子裝置200之可移除式背蓋202可能已脫離機體204。由於天線210係配置在可移除式背蓋202上,因此若可移除式背蓋202距離手持電子裝置200之機體204愈遠,則處理器230所偵測的訊號強度愈差。In general, in the case where the environment of the handheld electronic device 200 is not significantly changed, the signal strength and signal variation detected by the processor 230 do not vary greatly. For example, if the user is fixed in the office and uses the handheld electronic device 200, if the receiving quality is normal, the signal strength of the handheld electronic device 200 will be substantially between -75 dBm and -90 dBm. If the user does not change the position of the handheld electronic device 200, but the signal strength detected by the processor 230 suddenly drops below -90 dBm, that is, the amount of signal change in a short time is too large, it means that the handheld electronic device 200 can The removable back cover 202 may have detached from the body 204. Since the antenna 210 is disposed on the removable back cover 202, if the removable back cover 202 is farther from the body 204 of the handheld electronic device 200, the signal strength detected by the processor 230 is worse.

因此,於步驟S306,處理器230將會判斷在步驟S304中所接收的訊號強度是否小於第一臨界值,並判斷此訊號變化量是否大於第二臨界值。在此說明的是,第一臨界值與第二臨界值之設定對應於手持電子裝置200規格之不同而有所差異。具體而言,由於手持電子裝置規格之不同,其天線所能接收的無線訊號之訊號強度亦不相同,因此,本領域具通常知識者例如可事先對手持電子裝置200之訊 號進行量測,以取得平均接收訊號強度、最大接收訊號強度或最低接收訊號強度等資訊來輔助設定第一與第二臨界值。Therefore, in step S306, the processor 230 determines whether the signal strength received in step S304 is less than the first threshold, and determines whether the signal change amount is greater than the second threshold. It is explained here that the setting of the first critical value and the second critical value differs depending on the specifications of the handheld electronic device 200. Specifically, due to the different specifications of the handheld electronic device, the signal strength of the wireless signal that can be received by the antenna is also different. Therefore, those skilled in the art can, for example, pre-empt the handheld electronic device 200. The number is measured to obtain information such as average received signal strength, maximum received signal strength, or minimum received signal strength to assist in setting the first and second threshold values.

在本實施例中,第一臨界值例如可設定為-105dBm,因為當訊號強度小於-105dBm時,極有可能是可移除式背蓋202已脫離機體204,導致收訊品質不良。另一方面,本領域具通常知識者例如可事先偵測手持電子裝置200之可移除式背蓋202與機體204緊密接合時的平均訊號強度Avg1,以及偵測可移除式背蓋202脫離機體204後的平均訊號強度Avg2,以兩者之訊號強度的變化量之絕對值|Avg2-Avg1|作為第二臨界值。在本實施例中,第二臨界值例如15dBm,也就是說,當手持電子裝置200之訊號強度瞬間降了15dBm以上時,極有可能是可移除式背蓋202已脫離機體204,導致收訊品質瞬間變差。舉例來說,若訊號強度在時間t時為-75dBm,在時間(t+1)時,訊號強度變為-95dBm,則其訊號變化量之絕對值為20dBm(大於第二臨界值15dBm),其中t為大於0的正整數。In this embodiment, the first threshold value can be set, for example, to -105 dBm, because when the signal strength is less than -105 dBm, it is highly probable that the removable back cover 202 has been separated from the body 204, resulting in poor reception quality. On the other hand, those skilled in the art can detect, for example, the average signal strength Avg1 when the removable back cover 202 of the handheld electronic device 200 is in close contact with the body 204, and detect the removal of the removable back cover 202. The average signal strength Avg2 after the body 204 is taken as the second critical value by the absolute value |Avg2-Avg1| of the change amount of the signal strength of the two. In this embodiment, the second threshold value is, for example, 15 dBm. That is, when the signal strength of the handheld electronic device 200 drops by more than 15 dBm, it is highly probable that the removable back cover 202 has been separated from the body 204, resulting in receipt. The quality of the message deteriorates instantly. For example, if the signal strength is -75 dBm at time t, and the signal strength becomes -95 dBm at time (t+1), the absolute value of the signal change is 20 dBm (greater than the second threshold 15 dBm). Where t is a positive integer greater than zero.

據此,在步驟S306中,若訊號強度不小於第一臨界值並且訊號變化量之絕對值不大於第二臨界值,則回到步驟S304,繼續偵測無線訊號的訊號強度與訊號變化量。Accordingly, in step S306, if the signal strength is not less than the first threshold and the absolute value of the signal change is not greater than the second threshold, the process returns to step S304 to continue detecting the signal strength and signal variation of the wireless signal.

然而,在步驟S306中,若處理器230所偵測的訊號強度小於第一臨界值或者訊號變化量之絕對值大於第二臨界值時,則如步驟S308所示,處理器230會對手持電子裝置200的用戶識別卡220進行輪詢以檢測用戶識別卡 220是否已被移除。However, in step S306, if the signal strength detected by the processor 230 is less than the first threshold or the absolute value of the signal variation is greater than the second threshold, the processor 230 may hold the electronic device as shown in step S308. The user identification card 220 of the device 200 performs polling to detect the user identification card. 220 has been removed.

詳細而言,由於當天線210所配置的可移除式背蓋202與機體204分離,或者天線210無法取得無線通訊服務的時候,皆可使處理器230所偵測的訊號強度改變或產生訊號變化量。因此,若處理器230判斷訊號強度為小於第一臨界值,或者判斷訊號變化量之絕對值大於第二臨界值的時候,處理器230會進一步發送一狀態查詢指令至用戶識別卡220,並偵測是否接收到來自用戶識別卡220的一回應資料。其中,狀態查詢指令例如是處理器230對用戶識別卡220所執行的存取指令,而回應資料例如是回應此存取指令所對應的資訊。如此一來,倘若處理器230接收到用戶識別卡220的回應資料,則表示用戶識別卡220並未被移除。In detail, when the removable back cover 202 disposed on the antenna 210 is separated from the body 204, or the antenna 210 cannot obtain the wireless communication service, the signal strength detected by the processor 230 may be changed or a signal may be generated. The amount of change. Therefore, if the processor 230 determines that the signal strength is less than the first threshold, or determines that the absolute value of the signal change is greater than the second threshold, the processor 230 further sends a status query command to the user identification card 220, and detects It is determined whether a response data from the subscriber identity card 220 is received. The status query instruction is, for example, an access instruction executed by the processor 230 to the user identification card 220, and the response data is, for example, information corresponding to the access instruction. As such, if the processor 230 receives the response data of the user identification card 220, it indicates that the user identification card 220 has not been removed.

另外,若於步驟S308中,處理器230並未接收到用戶識別卡220的回應資料,則代表用戶識別卡220已被移除,因此接續步驟S310,處理器230關閉用戶識別卡220的電源。如此一來,不論使用者是否再將用戶識別卡220插回用戶識別卡之插槽208,都可避免用戶識別卡220產生電流短路的情況,據以保護用戶識別卡220中的資料。In addition, if the processor 230 does not receive the response data of the user identification card 220 in step S308, the user identification card 220 has been removed on behalf of the user identification card 220. Therefore, following step S310, the processor 230 turns off the power of the user identification card 220. In this way, whether the user inserts the subscriber identity card 220 back into the slot 208 of the subscriber identity card, the situation in which the subscriber identity card 220 is short-circuited can be avoided, thereby protecting the information in the subscriber identity card 220.

基於上述,在處理器所接收的訊號強度小於第一臨界值,或者判斷訊號變化量之絕對值大於第二臨界值的情況下,處理器會對用戶識別卡進行輪詢,以檢測用戶識別卡是否被移除,且當處理器判斷用戶識別卡已被移除時,可立即關閉電源以保護用戶識別卡。Based on the above, if the signal strength received by the processor is less than the first threshold, or the absolute value of the signal change amount is greater than the second threshold, the processor polls the user identification card to detect the user identification card. Whether it is removed, and when the processor determines that the user identification card has been removed, the power can be turned off immediately to protect the user identification card.

第二實施例Second embodiment

圖4是依照本發明第二實施例所繪示之手持電子裝置方塊圖。請同時參照圖2A及圖4,圖4中的手持電子裝置400與圖2A中的手持電子裝置200相似,其差異處在於:圖4中的手持電子裝置400更包括顯示單元250、用戶識別卡介面260及計時器270,其功能分述如下: 顯示單元250耦接至處理器230,其中顯示單元250可顯示處理器230所產生的訊息。此外,本實施例之顯示單元250例如是各種觸控螢幕,例如為電阻式(resistive)觸控螢幕、電容式(capacitive)觸控螢幕、光學式(optical)觸控螢幕、聲波式(acoustic wave)觸控螢幕、電磁式(electromagnetic)觸控螢幕等,但並不限制於此。在另一實施例中,顯示單元250也可以是單純僅具有顯示功能的液晶螢幕。4 is a block diagram of a handheld electronic device in accordance with a second embodiment of the present invention. Referring to FIG. 2A and FIG. 4 simultaneously, the handheld electronic device 400 of FIG. 4 is similar to the handheld electronic device 200 of FIG. 2A, and the difference is that the handheld electronic device 400 of FIG. 4 further includes a display unit 250 and a user identification card. The functions of interface 260 and timer 270 are described as follows: The display unit 250 is coupled to the processor 230, wherein the display unit 250 can display the message generated by the processor 230. In addition, the display unit 250 of the embodiment is, for example, various touch screens, such as a resistive touch screen, a capacitive touch screen, an optical touch screen, and an acoustic wave. A touch screen, an electromagnetic touch screen, etc., but is not limited thereto. In another embodiment, the display unit 250 may also be a liquid crystal screen that has only a display function.

用戶識別卡介面260耦接處理器230與用戶識別卡220之間。處理器230透過用戶識別卡介面260存取用戶識別卡220。此外,用戶識別卡介面260與處理器230可以一晶片電路(如虛框265)來實現。The subscriber identity card interface 260 is coupled between the processor 230 and the subscriber identity card 220. The processor 230 accesses the subscriber identity card 220 through the subscriber identity card interface 260. In addition, the subscriber identity card interface 260 and the processor 230 can be implemented as a chip circuit (e.g., virtual frame 265).

計時器270耦接至處理器230。計時器270可為由一個或數個邏輯閘組合而成的獨立晶片,而耦接至處理器230,以透過處理器230來控制上述獨立晶片。或者,計時器270可以是由程式語言所撰寫的程式碼,而這些程式碼儲存在一儲存單元(未繪示)中,以供處理器230來執行之。上述儲存單元例如是非揮發性記憶、快閃記憶體或硬 碟等。The timer 270 is coupled to the processor 230. The timer 270 can be a separate chip composed of one or several logic gates, and coupled to the processor 230 to control the independent wafer through the processor 230. Alternatively, the timer 270 can be a code written in a programming language, and the code is stored in a storage unit (not shown) for execution by the processor 230. The above storage unit is, for example, a non-volatile memory, a flash memory or a hard Dish and so on.

此外,圖4中之手持電子裝置400的其他構件的材料、配置關係、用途與功效等與圖2A中之手持電子裝置200的構件相似,故於此不再贅述。In addition, the materials, arrangement relationships, uses, and functions of the other components of the handheld electronic device 400 in FIG. 4 are similar to those of the handheld electronic device 200 in FIG. 2A, and thus are not described herein.

圖5是依照本發明第二實施例所繪示之用戶識別卡的檢測方法流程圖。本實施例的檢測方法適用於上述實施例中的手持電子裝置400,其中手持電子裝置400的天線210配置於可移除式背蓋202上。以下即搭配圖4與圖5之手持電子裝置200中的各構件說明本實施例顯示方法的詳細步驟。FIG. 5 is a flow chart of a method for detecting a user identification card according to a second embodiment of the present invention. The detection method of the embodiment is applicable to the handheld electronic device 400 in the above embodiment, wherein the antenna 210 of the handheld electronic device 400 is disposed on the removable back cover 202. The detailed steps of the display method of this embodiment will be described below in conjunction with the components in the handheld electronic device 200 of FIGS. 4 and 5.

請同時參照圖4與圖5,於步驟S502,天線210接收無線訊號。於步驟S504,處理器230偵測無線訊號的訊號強度與訊號變化量。其中,本實施例的步驟S502與步驟S504與第一實施例的步驟S302與步驟S304相同,故於此不再贅述。Referring to FIG. 4 and FIG. 5 simultaneously, in step S502, the antenna 210 receives the wireless signal. In step S504, the processor 230 detects the signal strength and the signal change amount of the wireless signal. Steps S502 and S504 of the present embodiment are the same as steps S302 and S304 of the first embodiment, and thus are not described herein again.

於步驟S506,處理器230判斷訊號強度是否小於第一臨界值,並判斷訊號變化量之絕對值是否大於第二臨界值。在此,當處理器230所判斷的訊號強度不小於第一臨界值且訊號變化量之絕對值不大於第二臨界值時,則如步驟S508所示,處理器230可依照計時器270之訊號定時對用戶識別卡220進行輪詢,以檢測用戶識別卡220是否被移除。舉例來說,計時器270可提供一輪詢時間間距(例如為20秒),使處理器230依據此輪詢時間間距定時發送狀態查詢指令至用戶識別卡220,並且使處理器230定時 偵測是否接收到來自用戶識別卡220的回應資料。接著,若處理器230未收到來自用戶識別卡220的回應資料時,則如步驟S510所示,處理器230將會關閉用戶識別卡220的電源。然而,若處理器230仍接收到來自用戶識別卡220的回應資料,並且,訊號強度及其變化量皆於正常範圍值內變動則返回步驟S504。In step S506, the processor 230 determines whether the signal strength is less than the first threshold, and determines whether the absolute value of the signal change amount is greater than the second threshold. Here, when the signal strength determined by the processor 230 is not less than the first threshold and the absolute value of the signal change is not greater than the second threshold, the processor 230 may follow the signal of the timer 270 as shown in step S508. The user identification card 220 is periodically polled to detect whether the user identification card 220 has been removed. For example, timer 270 can provide a polling time interval (eg, 20 seconds), causing processor 230 to periodically transmit a status query command to user identification card 220 in accordance with the polling time interval, and to cause processor 230 to time It is detected whether a response data from the subscriber identity card 220 is received. Then, if the processor 230 does not receive the response data from the subscriber identity card 220, the processor 230 will turn off the power of the subscriber identity card 220 as shown in step S510. However, if the processor 230 still receives the response data from the subscriber identity card 220, and the signal strength and its amount of change both vary within the normal range of values, then return to step S504.

回到步驟S506,當處理器230判斷訊號強度小於第一臨界值或者訊號變化量之絕對值大於第二臨界值時,則如步驟S512所示,處理器230會立即地對手持電子裝置200的用戶識別卡220進行輪詢,以檢測用戶識別卡220是否已被移除。Going back to step S506, when the processor 230 determines that the signal strength is less than the first threshold or the absolute value of the signal change is greater than the second threshold, the processor 230 immediately acts on the handheld electronic device 200 as shown in step S512. The subscriber identity card 220 performs polling to detect if the subscriber identity card 220 has been removed.

在此,若處理器230檢測出用戶識別卡220未被移除,則如步驟S514所示,計時器270會縮短對用戶識別卡220進行輪詢的輪詢時間間距,並且執行步驟S508,計時器270會依據已縮短的輪詢時間間距,定時使處理器230發送狀態查詢指令至用戶識別卡220,以檢測用戶識別卡220是否被移除。舉例來說,若預設的輪詢時間間距預設為20秒,此時,計時器270會將預設的輪詢時間間距縮短成為5秒,且計時器270會每隔5秒使處理器230檢測用戶識別卡220是否被移除。換言之,當處理器230所偵測的訊號強度小於第一臨界值或訊號變化量之絕對值大於第二臨界值時,並且接收到回應資料時,計時器270會提升對用戶識別卡220進行輪詢的頻率。Here, if the processor 230 detects that the user identification card 220 has not been removed, as shown in step S514, the timer 270 shortens the polling time interval for polling the user identification card 220, and performs step S508, timing. The timer 270 will cause the processor 230 to send a status query command to the user identification card 220 according to the shortened polling time interval to detect whether the user identification card 220 has been removed. For example, if the preset polling time interval is preset to 20 seconds, at this time, the timer 270 will shorten the preset polling time interval to 5 seconds, and the timer 270 will cause the processor every 5 seconds. 230 detects if the user identification card 220 has been removed. In other words, when the signal strength detected by the processor 230 is less than the first threshold or the absolute value of the signal change is greater than the second threshold, and the response data is received, the timer 270 will raise the round of the user identification card 220. The frequency of the inquiry.

回到步驟S512中,若處理器230檢測出用戶識別卡 220已被移除,則如步驟S516所示,處理器230立即關閉用戶識別卡220的電源,以避免用戶識別卡220再次插入用戶識別卡之插槽所產生短路的情況。Going back to step S512, if the processor 230 detects the user identification card 220 has been removed, as shown in step S516, the processor 230 immediately turns off the power of the subscriber identity card 220 to avoid a situation in which the subscriber identity card 220 is reinserted into the slot of the subscriber identity card.

另外,在上述步驟中,當處理器230關閉傳遞至用戶識別卡220的電源之後,處理器230還可控制顯示單元250顯示用戶識別卡已被移除的一提示訊息,例如是「用戶識別卡已移除」的文字訊息,以提示使用者。In addition, in the above steps, after the processor 230 turns off the power transmitted to the user identification card 220, the processor 230 can also control the display unit 250 to display a prompt message that the user identification card has been removed, such as a "user identification card. The text message has been removed to alert the user.

基於上述,處理器會定時對用戶識別卡進行輪詢,並且,在處理器所接收的訊號強度小於第一臨界值,或者判斷訊號變化量之絕對值大於第二臨界值的情況下,處理器會縮短對用戶識別卡行輪詢的輪詢時間間距,以檢測用戶識別卡是否被移除。藉此,當處理器判斷用戶識別卡已被移除時,可立即關閉電源以保護用戶識別卡。Based on the above, the processor periodically polls the subscriber identity card, and if the signal strength received by the processor is less than the first threshold, or the absolute value of the signal variation is greater than the second threshold, the processor The polling time interval for polling the subscriber identity card row is shortened to detect if the subscriber identity card has been removed. Thereby, when the processor determines that the user identification card has been removed, the power can be turned off immediately to protect the user identification card.

綜上所述,在上述方法與手持電子裝置中,處理器會偵測無線訊號的訊號強度與訊號變化量,並且若判斷所接收的訊號強度小於第一臨界值,或者判斷所接收的訊號變化量之絕對值大於第二臨界值時,則處理器會對用戶識別卡進行輪詢,以檢測用戶識別卡是否已被移除。如此一來,當處理器檢測出用戶識別卡已被移除時可立即關閉電源,藉此預防用戶識別卡再次插入手持電子裝置時所造成的短路情形。In summary, in the above method and the handheld electronic device, the processor detects the signal strength and the signal variation of the wireless signal, and determines whether the received signal strength is less than the first threshold, or determines the received signal change. When the absolute value of the quantity is greater than the second threshold, the processor polls the subscriber identity card to detect whether the subscriber identity card has been removed. In this way, when the processor detects that the user identification card has been removed, the power can be turned off immediately, thereby preventing the short circuit condition caused by the user identification card being inserted into the handheld electronic device again.

雖然本發明已以實施例揭露如上,然其並非用以限定本發明,任何所屬技術領域中具有通常知識者,在不脫離本發明之精神和範圍內,當可作些許之更動與潤飾,故本 發明之保護範圍當視後附之申請專利範圍所界定者為準。Although the present invention has been disclosed in the above embodiments, it is not intended to limit the invention, and any one of ordinary skill in the art can make some modifications and refinements without departing from the spirit and scope of the invention. this The scope of the invention is defined by the scope of the appended claims.

5‧‧‧用戶識別卡5‧‧‧User Identification Card

10、20、30‧‧‧手持電子裝置10, 20, 30‧‧‧ handheld electronic devices

12、22、32‧‧‧電池12, 22, 32‧‧‧ batteries

18、28、38‧‧‧插槽18, 28, 38‧‧‧ slots

200、400‧‧‧手持電子裝置200, 400‧‧‧ handheld electronic devices

201‧‧‧閂扣機構201‧‧‧Latch mechanism

202‧‧‧可移除式背蓋202‧‧‧Removable back cover

204‧‧‧機體204‧‧‧ body

206‧‧‧電池206‧‧‧Battery

210‧‧‧天線210‧‧‧Antenna

220‧‧‧用戶識別卡220‧‧‧User Identification Card

230‧‧‧處理器230‧‧‧ processor

240‧‧‧射頻模組240‧‧‧RF Module

250‧‧‧顯示單元250‧‧‧ display unit

260‧‧‧用戶識別卡介面260‧‧‧User Identification Card Interface

265‧‧‧虛框265‧‧‧Dummy box

270‧‧‧計時器270‧‧‧Timer

D1、D2、D3、D4‧‧‧方向Directions D1, D2, D3, D4‧‧

S302~S310、S502~S516‧‧‧步驟S302~S310, S502~S516‧‧‧ steps

圖1A至圖1C繪示為手持電子裝置之電池與用戶識別卡插槽的配置方式。1A-1C illustrate a configuration of a battery and a subscriber identification card slot of a handheld electronic device.

圖2A是依照本發明第一實施例所繪示之手持電子裝置的方塊圖。2A is a block diagram of a handheld electronic device in accordance with a first embodiment of the present invention.

圖2B至圖2C是依照本發明第一實施例所繪示之手持電子裝置的立體示意圖。2B to 2C are schematic perspective views of a handheld electronic device according to a first embodiment of the present invention.

圖3是依照本發明一實施例所繪示之用戶識別卡的檢測方法流程圖。FIG. 3 is a flow chart of a method for detecting a user identification card according to an embodiment of the invention.

圖4是依照本發明第二實施例所繪示之手持電子裝置方塊圖。4 is a block diagram of a handheld electronic device in accordance with a second embodiment of the present invention.

圖5是依照本發明第二實施例所繪示之用戶識別卡的檢測方法流程圖。FIG. 5 is a flow chart of a method for detecting a user identification card according to a second embodiment of the present invention.

S302~S310‧‧‧步驟S302~S310‧‧‧Steps

Claims (9)

一種手持電子裝置,包括:一天線,配置於該手持電子裝置的一可移除式背蓋上,該天線用以接收一無線訊號;一用戶識別卡;以及一處理器,耦接至該用戶識別卡,該處理器偵測該天線所接收之該無線訊號的一訊號強度與一訊號變化量,若該訊號強度小於一第一臨界值或該訊號變化量之絕對值大於一第二臨界值,該處理器輪詢該用戶識別卡以檢測該用戶識別卡是否已被移除,其中:該處理器係藉由發送一狀態查詢指令至該用戶識別卡並偵測是否接收到來自該用戶識別卡的一回應資料,據以判斷該用戶識別卡是否已被移除;以及若該處理器並未接收到該回應資料,該處理器關閉該用戶識別卡的電源。 A handheld electronic device includes: an antenna disposed on a removable back cover of the handheld electronic device, the antenna is configured to receive a wireless signal; a user identification card; and a processor coupled to the user An identification card, the processor detecting a signal strength and a signal variation of the wireless signal received by the antenna, if the signal strength is less than a first threshold or the absolute value of the signal variation is greater than a second threshold The processor polls the user identification card to detect whether the user identification card has been removed, wherein: the processor sends a status query command to the user identification card and detects whether the user identification is received. A response data of the card is used to determine whether the user identification card has been removed; and if the processor does not receive the response data, the processor turns off the power of the user identification card. 如申請專利範圍第1項所述之手持電子裝置,更包括:一顯示單元,耦接至該處理器,其中該處理器關閉該用戶識別卡的電源後,該處理器控制該顯示單元顯示該用戶識別卡已被移除的一提示訊息。 The handheld electronic device of claim 1, further comprising: a display unit coupled to the processor, wherein the processor controls the display unit to display the power after the processor turns off the power of the user identification card A prompt message that the user identification card has been removed. 如申請專利範圍第1項所述之手持電子裝置,更包括:一計時器,耦接至該處理器,該處理器根據該計時器的訊號定時對該用戶識別卡進行輪詢, 其中當該訊號強度小於該第一臨界值或該訊號變化量大於該第二臨界值,並且該處理器接收到該回應資料時,縮短該計時器之一輪詢時間間距。 The handheld electronic device of claim 1, further comprising: a timer coupled to the processor, the processor polling the user identification card according to the signal timing of the timer, When the signal strength is less than the first threshold or the signal variation is greater than the second threshold, and the processor receives the response data, shortening one of the timer polling time intervals. 如申請專利範圍第1項所述之手持電子裝置,更包括:一射頻模組,耦接於該天線與該處理器之間,對該天線所接收的該無線訊號進行降頻處理,以轉換為一基頻訊號,並將該基頻訊號傳送至該處理器進行處理。 The handheld electronic device of claim 1, further comprising: a radio frequency module coupled between the antenna and the processor, and the radio signal received by the antenna is down-converted to convert It is a fundamental frequency signal, and the fundamental frequency signal is transmitted to the processor for processing. 如申請專利範圍第1項所述之手持電子裝置,更包括:一用戶識別卡介面,耦接於該處理器與該用戶識別卡之間,該處理器透過該用戶識別卡介面存取該用戶識別卡。 The handheld electronic device of claim 1, further comprising: a user identification card interface coupled between the processor and the user identification card, the processor accessing the user through the user identification card interface Identification card. 一種用戶識別卡的檢測方法,適用於一手持電子裝置,該檢測方法包括:透過一天線接收一無線訊號,其中該天線配置於該手持電子裝置的一可移除式背蓋上;偵測該無線訊號的一訊號強度與一訊號變化量;判斷該訊號強度是否小於一第一臨界值,並判斷該訊號變化量之絕對值是否大於一第二臨界值;以及若該訊號強度小於該第一臨界值或該訊號變化量大於該第二臨界值,對該手持電子裝置的一用戶識別卡進行輪詢以檢測該用戶識別卡是否已被移除,包括:發送一狀態查詢指令至該用戶識別卡;偵測是否接收到來自該用戶識別卡的一回應資料,據以判斷該用戶識別卡是否已被移除;以及 若未偵測到來自該用戶識別卡的該回應資料,關閉該用戶識別卡的電源。 A method for detecting a user identification card is applicable to a handheld electronic device. The detection method includes: receiving a wireless signal through an antenna, wherein the antenna is disposed on a removable back cover of the handheld electronic device; detecting the a signal strength and a signal change amount of the wireless signal; determining whether the signal strength is less than a first threshold value, and determining whether the absolute value of the signal change amount is greater than a second threshold value; and if the signal strength is less than the first The threshold value or the signal change amount is greater than the second threshold value, and polling a user identification card of the handheld electronic device to detect whether the user identification card has been removed, including: sending a status query command to the user identification Card detecting whether a response data from the user identification card is received, thereby determining whether the user identification card has been removed; If the response data from the subscriber identity card is not detected, the power of the subscriber identity card is turned off. 如申請專利範圍第6項所述之用戶識別卡的檢測方法,其中在關閉該用戶識別卡的電源的步驟之後更包括:藉由一顯示單元顯示該用戶識別卡已被移除的一提示訊息。 The method for detecting a user identification card according to claim 6, wherein the step of turning off the power of the user identification card further comprises: displaying, by a display unit, a prompt message that the user identification card has been removed. . 如申請專利範圍第6項所述之用戶識別卡的檢測方法,更包括:定時對該用戶識別卡進行輪詢,其中當該訊號強度小於該第一臨界值或該訊號變化量之絕對值大於該第二臨界值,並且接收到該回應資料時,縮短對該用戶識別卡進行輪詢的一輪詢時間間距。 The method for detecting a subscriber identity card according to claim 6 further includes: periodically polling the subscriber identity card, wherein when the signal strength is less than the first threshold or the absolute value of the signal variation is greater than The second threshold value, and when the response data is received, shortens a polling time interval for polling the user identification card. 如申請專利範圍第6項所述之用戶識別卡的檢測方法,更包括:對該天線所接收的該無線訊號進行降頻處理,以轉換為一基頻訊號,藉以對該基頻訊號進行判斷與訊號處理。 The method for detecting a subscriber identity card according to claim 6 further includes: down-converting the wireless signal received by the antenna to be converted into a baseband signal, thereby determining the baseband signal And signal processing.
TW101123911A 2012-07-03 2012-07-03 Hand-held electronic apparatus and method for detecting sim card using the same TWI502950B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
TW101123911A TWI502950B (en) 2012-07-03 2012-07-03 Hand-held electronic apparatus and method for detecting sim card using the same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
TW101123911A TWI502950B (en) 2012-07-03 2012-07-03 Hand-held electronic apparatus and method for detecting sim card using the same

Publications (2)

Publication Number Publication Date
TW201404111A TW201404111A (en) 2014-01-16
TWI502950B true TWI502950B (en) 2015-10-01

Family

ID=50345722

Family Applications (1)

Application Number Title Priority Date Filing Date
TW101123911A TWI502950B (en) 2012-07-03 2012-07-03 Hand-held electronic apparatus and method for detecting sim card using the same

Country Status (1)

Country Link
TW (1) TWI502950B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878358A (en) * 2005-06-09 2006-12-13 华为技术有限公司 State detecting and processing method for real-time in-situ device
CN100499851C (en) * 2004-11-29 2009-06-10 乐金电子(中国)研究开发中心有限公司 Detecting method for intelligent card state of mobile communication terminal
CN102238701A (en) * 2010-04-30 2011-11-09 三星电子株式会社 Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN102421117A (en) * 2011-12-15 2012-04-18 广东步步高电子工业有限公司 Method for detecting subscriber identity module

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100499851C (en) * 2004-11-29 2009-06-10 乐金电子(中国)研究开发中心有限公司 Detecting method for intelligent card state of mobile communication terminal
CN1878358A (en) * 2005-06-09 2006-12-13 华为技术有限公司 State detecting and processing method for real-time in-situ device
CN102238701A (en) * 2010-04-30 2011-11-09 三星电子株式会社 Apparatus and method for automatic SIM card selection according to network environment in dual mode terminal
CN102421117A (en) * 2011-12-15 2012-04-18 广东步步高电子工业有限公司 Method for detecting subscriber identity module

Also Published As

Publication number Publication date
TW201404111A (en) 2014-01-16

Similar Documents

Publication Publication Date Title
RU2615496C2 (en) Electronic device and method for controlling payment function of input means
CN103501333B (en) Method, device and terminal equipment for downloading files
CN103458124B (en) A kind of shutdown processing method of terminal, device and terminal equipment
EP2765483B1 (en) Method and device for controlling shutdown of terminal
EP2852006B1 (en) Connection member for headset plug, headset jack and terminal device
CN103701988A (en) Message prompt method and device and electronic equipment
CN104796385A (en) Terminal binding method, device and system
CN103683437B (en) A kind of charger and terminal equipment
CN103312597B (en) A kind of speech message generation method and device
CN103677633B (en) Unlocking screen method, device and terminal
CN106455027A (en) Network standard adjustment method and mobile terminal
CN110875769B (en) Wireless communication device and antenna switching method
CN106549451A (en) A kind of wireless charging method and device
US20140012943A1 (en) Method and storage apparatus for switching data transmission path to transmit data
WO2012079404A1 (en) Mobile terminal and lcd control method therefor
KR20180103890A (en) Bus Ownership Handoff Techniques
CN103338193A (en) Method, system and device for initial media equipment
KR20150073663A (en) Method and electronic device for network serching in wireless communication environment supporting a plurality of communication method
CN103686791A (en) Terminal card using condition detection method and device
CN106229627B (en) Antenna assembly and mobile terminal
JP2016046601A (en) Mobile terminal, control program, and mobile terminal control method
JP2023500350A (en) Method and apparatus for indicating status of frequency band, method and apparatus for determining status of frequency band
CN104917905A (en) Strange incoming call processing method, terminal and server
CN107369923B (en) Antenna assembly and terminal
CN103674314A (en) Power source, electronic device and temperature detection method