WO2016119416A1 - 一种移动终端及其microSD卡的控制方法及系统 - Google Patents
一种移动终端及其microSD卡的控制方法及系统 Download PDFInfo
- Publication number
- WO2016119416A1 WO2016119416A1 PCT/CN2015/084887 CN2015084887W WO2016119416A1 WO 2016119416 A1 WO2016119416 A1 WO 2016119416A1 CN 2015084887 W CN2015084887 W CN 2015084887W WO 2016119416 A1 WO2016119416 A1 WO 2016119416A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- microsd card
- main controller
- mobile terminal
- card
- microsd
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D30/00—Reducing energy consumption in communication networks
- Y02D30/70—Reducing energy consumption in communication networks in wireless communication networks
Definitions
- the present invention relates to the field of mobile terminal technologies, and in particular, to a power saving control method and system for a microSD card of a mobile terminal.
- the functions of mobile phones in the prior art are increasing.
- the microSD card has been widely used as a storage space expansion in mobile terminals due to its small size, low price, large storage space, etc.
- the microSD card if the mobile terminal detects the presence of a microSD card, the microSD card is powered and loaded.
- the microSD card driver enables the microSD card to be accessed at any time.
- microSD card is only used when the user opens the application software installed on the microSD card or accesses the file stored on the microSD card through the file system; in other cases, the microSD card is actually idle and does not need to be powered on. .
- application software such as WeChat, games
- files such as pictures, WORD files
- the prior art is in the idle state of the microSD card
- the battery still supplies power to the microSD card, which wastes the power of the battery, causing the power consumption of the mobile terminal to be consumed too quickly, which is inconvenient for the user.
- the technical problem to be solved by the present invention is to provide a power saving control method and system for a microSD card of a mobile terminal according to the above-mentioned defects of the prior art.
- the present invention detects whether a microSD card is in an idle state and idles the microSD card.
- the power supply is disconnected to save the power of the mobile terminal, which can effectively save the power of the mobile terminal and prolong the use time of the battery, thereby providing convenience for the user.
- a method for controlling a microSD card of a mobile terminal comprising:
- the VDD pin of the microSD card is connected to the main controller through a controllable switch, and the remaining pins are directly connected to the corresponding pins of the main controller;
- the power supply end of the main controller is connected to the microSD card, and the microSD card is initialized to enable the microSD card to work normally;
- the mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined time, and if so, controls to stop supplying power to the microSD card;
- the main controller stops supplying power to the microSD card, if it detects that the main controller sends data to the microSD card, it records the data to be sent, and re-controls the main controller to start powering the microSD card, initializes the microSD card, and saves the previous one.
- the data to be sent is sent to the microSD card again.
- the method for controlling a microSD card of a mobile terminal wherein the mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined period of time. If yes, the step of controlling to stop powering the microSD card specifically includes:
- control disconnects the VDD pin of the microSD card from the main controller.
- the method for controlling a microSD card of a mobile terminal wherein the predetermined time is 10 seconds.
- a control system for a microSD card of a mobile terminal comprising:
- a first detecting and controlling module configured to control whether the mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined time, and if so, controls to stop supplying power to the microSD card;
- the second detection and control module is configured to record the data to be sent if the main controller detects that the micro controller is transmitting power to the microSD card, and re-control the main controller to start powering the microSD card. , the microSD card is initialized, and the previously saved data to be sent is sent to the microSD card again.
- control system of the microSD card of the mobile terminal further comprising:
- the card initialization module is configured to connect the power supply end of the main controller to the microSD card when the mobile terminal is powered on, and initialize the microSD card to enable the microSD card to work normally.
- the control system of the microSD card of the mobile terminal wherein the first detection and control module comprises:
- a first detecting unit configured to detect whether the main controller performs data communication with the microSD card
- a second detecting unit configured to detect that the main controller does not perform data communication with the microSD card, and detect again whether there is no data communication between the main controller and the microSD card for more than a predetermined time
- control unit configured to: if the VDD pin of the current microSD card is connected to the main controller, and the main controller does not have data communication with the microSD card within the predetermined time, control to disconnect the VDD pin of the microSD card from the main controller Connection.
- a mobile terminal comprising: a main controller, a microSD card, a controllable switch, and a clock generation circuit;
- the microSD card includes: a VDD pin, a VSS pin, a DAT0 pin, a DAT1 pin, a DAT2 pin, a DAT3 pin, a CMD pin, and a CLK pin;
- the VDD pin of the microSD card is connected to the main controller through the controllable switch, and the remaining pins of the microSD card are respectively connected to the corresponding pins of the main controller;
- controllable switch When the controllable switch is closed, power the microSD card; when the controllable switch is disconnected, stop supplying power to the microSD card;
- a clock generation circuit coupled to the CLK pin of the microSD card for generating a fixed frequency clock signal
- the main controller is configured to: when detecting that the main controller and the microSD card have no data communication for more than a predetermined time, control the controllable switch to be disconnected, stop supplying power to the microSD card; when the main controller stops supplying power to the microSD card If it detects that the main controller sends data to the microSD card, records the data to be sent, and re-controls the controllable switch to close, supplies power to the microSD card, initializes the microSD card, and then re-saves the previously saved data to be sent again. Send to the microSD card.
- the mobile terminal wherein a timer with a preset time threshold is set in the controller, and when the main controller performs data communication with the microSD card, when the main controller sends data to the microSD card or the main control
- the timer will be reset when reading data from the microSD card; when the main controller does not communicate with the microSD card for a predetermined time, the timer will time out; after the timer expires, the main controller and microSD will be controlled.
- the switch between the VDD pins of the card is broken.
- the mobile terminal and the microSD card control method and system provided by the invention adopt the method of detecting whether there is no data communication between the main controller and the microSD card for 10 consecutive seconds, and if so, the microSD card is idle, and then stops.
- the microSD card is powered to save power; when the main controller stops supplying power to the microSD card, if the main controller detects that the main controller sends data to the microSD card, the data is recorded, and then the main controller starts to supply power to the microSD card, and initializes the microSD card. Then send the previously saved data to the microSD card again.
- the method of the present invention determines whether the microSD card is powered by detecting whether the microSD card is idle, so as to save power of the mobile terminal battery, effectively saving power of the mobile terminal, and prolonging the use of the battery. Time is convenient for the user.
- FIG. 1 is a block diagram showing the functional principle of a preferred embodiment of the mobile terminal of the present invention.
- FIG. 2 is a flow chart of a preferred embodiment of a method for controlling a microSD card of a mobile terminal according to the present invention
- FIG. 3 is a flow chart of a specific application embodiment of a method for controlling a microSD card of a mobile terminal according to the present invention
- FIG. 4 is a functional block diagram of a control system of a microSD card of a mobile terminal of the present invention.
- a mobile terminal provided by the embodiment of the present invention includes: a main controller 100, a microSD card 200, a controllable switch 300, and a clock generating circuit 400;
- the microSD card 200 includes: a VDD pin, a VSS pin, a DAT0 pin, a DAT1 pin, a DAT2 pin, a DAT3 pin, a CMD pin, and a CLK pin;
- the VDD pin of the microSD card 200 is connected to the main controller 100 through the controllable switch 300, and the remaining pins of the microSD card 200 are respectively connected to the corresponding pins of the main controller 100;
- controllable switch 300 When the controllable switch 300 is closed, the microSD card 200 is powered; when the controllable switch 300 is turned off, the power supply to the microSD card 200 is stopped;
- a clock generation circuit is coupled to the CLK pin of the microSD card for generating a fixed frequency clock signal.
- the main controller of the mobile terminal of the embodiment of the present invention is mainly used to control the controllable switch 300 to be disconnected when it is detected that there is no data communication between the main controller and the microSD card for more than a predetermined time (for example, 10 seconds). Stopping power supply to the microSD card 200; when the main controller 100 stops supplying power to the microSD card 200, if it is detected that the main controller 100 transmits data to the microSD card 200, the data to be transmitted is recorded, and the controllable switch 300 is re-controlled to be closed.
- the microSD card is powered, and the microSD card 200 is initialized, and the previously saved data to be transmitted is sent to the microSD card 200 again.
- the main controller 100 further includes: a card initialization module 110, a data communication module 120, a timer 130, a power supply module 140, and a temporary storage module 150;
- the card initialization module 110 and the data communication module 120 are used to initialize the microSD card. Specifically, the main controller 100 initializes the microSD card by performing data communication with the microSD card.
- the data communication module 120 is connected to the DAT0, DAT1, DAT2, DAT3, and CMD pins of the microSD card; and is used for data communication between the main controller and the microSD card;
- the timer 130 set in the controller 100 for a certain time period is a preset threshold (for example, 10 seconds).
- a preset threshold for example, 10 seconds.
- the power supply module 140 is connected to the VDD pin of the microSD card 200 through a controllable switch 300; when the controllable switch 300 is closed, the power supply module 140 supplies power to the microSD card; when the switch 300 is turned off, the power supply module 140 stops The microSD card is powered.
- the temporary storage module 150 is activated when the switch is disconnected, and is used for saving the data that the data communication module needs to send to the microSD card.
- the switch is disconnected, the main controller stops supplying power to the microSD card, and the microSD card cannot be used at this time.
- the microSD card will fail to send. If the microSD card is unavailable, the switch will be closed again. Then the microSD card is initialized and the data in the temporary module is sent to the microSD card.
- the clock generating circuit 400 is a circuit that generates a fixed frequency clock signal.
- FIG. 2 is a flowchart of a preferred embodiment of a method for controlling a microSD card of a mobile terminal according to the present invention.
- FIG. 2 shows a method for controlling a microSD card of a mobile terminal, which mainly includes the following steps:
- Step S100 The mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined time, and if so, controls to stop supplying power to the microSD card;
- Step S200 When the main controller stops supplying power to the microSD card, if it detects that the main controller sends data to the microSD card, records the data to be sent, and re-controls the main controller to start powering the microSD card, initializes the microSD card, and then The previously saved data to be transmitted is sent to the microSD card again.
- the data communication step further comprises:
- VDD pin of the microSD card is connected to the main controller through a controllable switch, and the remaining pins are directly connected to the corresponding pins of the main controller.
- the method for controlling a microSD card of a mobile terminal wherein before the step of detecting, by the mobile terminal, whether the main controller and the microSD card continuously exceed a predetermined time, the data communication step further comprises:
- the method for controlling a microSD card of a mobile terminal wherein the mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined period of time. If yes, the step of controlling to stop powering the microSD card specifically includes:
- control disconnects the VDD pin of the microSD card from the main controller.
- the present invention further provides a specific application embodiment of a method for controlling a microSD card of a mobile terminal. As shown in FIG. 3, the method includes the following steps:
- Step S1 When the mobile terminal is powered on, the controllable control switch 300 is closed (refer to FIG. 1), the temporary storage module 150 is closed, and then the microSD card 200 is initialized by the card initialization module 110 to enable the microSD card to work normally.
- step S2 a timer 130 with a timeout of 10 seconds is started.
- Waiting condition is generated, in the box of "waiting for condition generation” in Figure 3, which is a waiting condition
- Two conditions of "timer 130 timeout” or “detecting that the main controller 100 has data sent to the microSD card 200" are generated.
- step S3 is performed.
- Step S3 the control switch 300 is turned off; and the temporary storage module 150 is started to save the data that the main controller 100 sends to the microSD card last time; the timer 130 is turned off.
- step S4 is performed;
- step S4 it is determined whether the switch 300 is closed. If yes, step S5 is performed, and if otherwise, step S6 is performed.
- Step S5 resetting the timer 130.
- Step S6 the control switch 300 is closed, the temporary storage module 150 is closed, and then the micro SD card 200 is initialized by the card initialization module 110, and the data stored in the temporary storage module 150 is resent to the microSD card 200; then step S7 is performed;
- Step S7 starting the timer 130.
- the present invention provides a power saving control method for a microSD card of a mobile terminal, which can effectively save energy by detecting whether the microSD card is in an idle state and disconnecting the power supply in the idle state of the microSD card to save power of the mobile terminal.
- the power of the mobile terminal extends the battery life and provides convenience for the user.
- the present invention further provides a control system for a microSD card of a mobile terminal.
- the system includes:
- the first detecting and controlling module 410 is configured to control whether the mobile terminal detects whether there is no data communication between the main controller and the microSD card for more than a predetermined time, and if so, controls to stop supplying power to the microSD card; as described above.
- the second detecting and controlling module 420 is configured to record the data to be sent if the main controller detects that the micro controller is transmitting power to the microSD card, and re-control the main controller to start the microSD card. Powering, initializing the microSD card, and then transmitting the previously saved data to be sent to the microSD card again; as described above.
- control system of the microSD card of the mobile terminal further includes:
- the card initialization module 110 is configured to connect the power supply end of the main controller to the microSD card when the mobile terminal is powered on, and initialize the microSD card to enable the microSD card to work normally; as described above.
- the control system of the microSD card of the mobile terminal wherein the first detection and control module 410 comprises:
- a first detecting unit configured to detect whether the main controller performs data communication with the microSD card
- a second detecting unit configured to detect that the main controller does not perform data communication with the microSD card, and detect again whether there is no data communication between the main controller and the microSD card for more than a predetermined time
- control unit configured to: if the VDD pin of the current microSD card is connected to the main controller, and the main controller does not have data communication with the microSD card within the predetermined time, control to disconnect the VDD pin of the microSD card from the main controller Connection.
- the mobile terminal and the microSD card control method and system provided by the present invention use micro-data communication by detecting whether there is no data communication between the main controller and the microSD card for 10 consecutive seconds.
- the card is idle, and then the power supply to the microSD card is stopped to save power; when the main controller stops supplying power to the microSD card, if the main controller detects that the main controller sends data to the microSD card, the data is recorded, and then the main controller starts the microSD card.
- Power initialize the microSD card, and send the previously saved data to the microSD card again.
- the method of the present invention determines whether the microSD card is powered by detecting whether the microSD card is idle, so as to save power of the mobile terminal battery, effectively saving power of the mobile terminal, and prolonging the use of the battery. Time is convenient for the user.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Telephone Function (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本发明公开一种移动终端、microSD卡的控制方法及系统,包括:移动终端检测主控制器与microSD卡之间是否连续超过预定时间无数据通信,若是则停止对microSD卡供电;若此时检测到主控制器向microSD卡发送数据则记录该数据,并控制主控制器启动对microSD卡供电,初始化microSD卡,将先前保存的数据向microSD卡发送,有效节约移动终端的电能,延长电池的使用时间。
Description
本发明涉及移动终端技术领域,尤其涉及一种移动终端microSD卡的省电控制方法及系统。
随着移动通信的发展和人们生活水平的不断提高,各种移动终端如手机的使用越来越普及,手机已经成为人们生活中不可缺少的通信工具。
现有技术中手机的功能越来越多。microSD卡以其体积小、价格低、存储空间大等优势,已广泛在移动终端中用作存储空间扩展;在现有技术中,移动终端若检测到microSD卡存在,则对microSD卡供电并加载microSD卡驱动,使microSD卡能够随时被正常访问到。
然而用户只会将一些应用软件(如微信、游戏)安装在microSD卡上,或将一些文件(如图片、WORD文件)存放在microSD卡上。因此,只有在用户打开安装在microSD卡上的应用软件,或通过文件系统访问存放在microSD卡的文件时才会用到microSD卡;其余时候,microSD卡事实上处于闲置状态,无需对其上电。
事实上,由于移动终端的核心功能(如打电话、短信)等都是在内置存储器中的,因此多数时候microSD卡将处于闲置状态。
因此,现有技术在microSD卡在闲置状态下
,电池仍对microSD卡供电从而浪费了电池的电能,造成移动终端的电能过快消耗,不方便用户。
因此,现有技术还有待于改进和发展。
本发明要解决的技术问题在于,针对现有技术的上述缺陷,提供一种移动终端microSD卡的省电控制方法及系统,本发明通过检测microSD卡是否处于闲置状态,并将microSD卡闲置状态下的供电断开以节省移动终端的电能,能有效地节约移动终端的电能,延长电池的使用时间,为用户提供了方便。
本发明解决技术问题所采用的技术方案如下:
一种移动终端microSD卡的控制方法,其中,包括:
将microSD卡的VDD管脚通过一个可控开关与主控制器相连接,其余管脚与所述主控制器对应管脚直接连接;
在移动终端开机时,将主控制器的供电端与所述microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作;
移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;
在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
所述的移动终端microSD卡的控制方法,其中,所述移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电的步骤具体包括:
检测主控制器是否与microSD卡进行数据通信;
检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;
如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
所述的移动终端microSD卡的控制方法,其中,所述预定时间为10秒。
一种移动终端microSD卡的控制系统,其中,包括:
第一检测与控制模块,用于控制移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;
第二检测与控制模块,用于在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
所述的移动终端microSD卡的控制系统,其中,还包括:
卡初始化模块,用于在移动终端开机时,将主控制器的供电端与microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作.
所述的移动终端microSD卡的控制系统,其中,第一检测与控制模块包括:
第一检测单元,用于检测主控制器是否与microSD卡进行数据通信;
第二检测单元,用于检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;
控制单元,用于如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
一种移动终端,其中,包括:主控制器、microSD卡、可控开关、时钟产生电路;
所述microSD卡包括:VDD管脚、VSS管脚、DAT0管脚、DAT1管脚、DAT2管脚、DAT3管脚、CMD管脚、CLK管脚;所述
microSD卡的VDD管脚通过所述可控开关与主控制器相连接,所述microSD卡的其余管脚分别与所述主控制器的相应管脚相连接;
当可控开关闭合时,为microSD卡供电;当可控开关断开时,停止为microSD卡供电;
时钟产生电路与所述microSD卡的CLK管脚连接,用于产生固定频率时钟信号;
所述主控制器用于当检测到主控制器与microSD卡之间连续超过一预定时间无数据通信,则控制可控开关断开,停止为microSD卡供电;在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制可控开关闭合,为microSD卡供电,并初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
所述的移动终端,其中,在所述控制器内设置有一定时时间为预设阈值的定时器,在主控制器与microSD卡进行数据通信时,当主控制器发送数据给microSD卡或主控制器从microSD卡读取数据时将复位定时器;当在一预定时间内主控制器未与microSD卡进行数据通信时,将导致定时器超时;在定时器超时之后,将控制主控制器与microSD卡的VDD管脚之间的开关断开。
本发明所提供的移动终端及其microSD卡的控制方法及系统,由于采用了通过检测主控制器与microSD卡之间是否连续10秒钟无数据通信,如果为是则认为microSD卡闲置,然后停止对microSD卡供电以节省电能;在主控制器对microSD卡停止供电的情况下,如果检测到主控制器向microSD卡发送数据则记录该数据,然后主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的数据再次向microSD卡发送。通过本发明方法在维持现在microSD卡的功能的基础上,通过检测microSD卡是否闲置来决定是否对microSD卡供电,以节省移动终端电池的电能,能有效地节约移动终端的电能,延长电池的使用时间,为用户提供了方便。
图1是本发明移动终端的较佳实施例功能原理框图;
图2是本发明移动终端microSD卡的控制方法的较佳实施例的流程图;
图3是本发明移动终端microSD卡的控制方法的具体应用实施例的流程图;
图4是本发明移动终端microSD卡的控制系统的功能原理框图。
本发明提供的一种移动终端及其microSD卡的控制方法及系统,为使本发明的目的、技术方案及优点更加清楚、明确,以下参照附图并举实施例对本发明进一步详细说明。应当理解,此处所描述的具体实施例仅仅用以解释本发明,并不用于限定本发明。
本发明实施例提供的一种移动终端,如图1所示,包括:主控制器100、microSD卡200、可控开关300、时钟产生电路400;
所述microSD卡200包括:VDD管脚、VSS管脚、DAT0管脚、DAT1管脚、DAT2管脚、DAT3管脚、CMD管脚、CLK管脚;所述
microSD卡200的VDD管脚通过所述可控开关300与主控制器100相连接,所述microSD卡200的其余管脚分别与所述主控制器100的相应管脚相连接;
当可控开关300闭合时,为microSD卡200供电;当可控开关300断开时,停止为microSD卡200供电;
时钟产生电路与所述microSD卡的CLK管脚连接,用于产生固定频率时钟信号。
本发明实施例的移动终端的所述主控制器主要用于当检测到主控制器与microSD卡之间连续超过一预定时间(例如10秒)无数据通信,则控制可控开关300断开,停止为microSD卡200供电;在主控制器100对microSD卡200停止供电时,如果检测到主控制器100向microSD卡200发送数据则记录该需发送的数据,并重新控制可控开关300闭合,为microSD卡供电,并初始化microSD卡200,再将先前保存的所述需发送的数据再次向microSD卡200发送。
本发明较佳实施例中主控制器100内部还包括:卡初始化模块110、数据通信模块120、定时器130、供电模块140、暂存模块150;
卡始初化模块110与数据通信模块120,用于初始化microSD卡,具体为主控制器100通过与microSD卡进行数据通信对microSD卡进行初始化配置。
数据通信模块120,该模块与microSD卡的DAT0、DAT1、DAT2、DAT3、CMD管脚相连接;用于主控制器与microSD卡进行数据通信;
在所述控制器100内设置的一定时时间为预设阈值(例如10秒)的定时器130,在主控制器与microSD卡进行数据通信时,当主控制器100发送数据给microSD卡200或主控制器100从microSD卡200读取数据时将复位定时器;当在一预定时间如10秒内主控制器未与microSD卡进行数据通信时,将导致定时器超时;在定时器超时之后,将控制主控制器与microSD卡的VDD管脚之间的开关断开以节省电能。
供电模块140与microSD卡200的VDD管脚之间通过一个可控开关300相连接;当可控开关300闭合时,供电模块140为microSD卡供电;当开关300断开时,供电模块140停止为microSD卡供电。
暂存模块150,该模块在开关断开时启动,用于保存最近一次数据通信模块需要发送给microSD卡的数据;当开关断开时,主控制器停止为microSD卡供电,此时microSD卡不可用,当数据通信模块有数据向microSD卡发送时由于microSD卡不可用会发送失败,此时将重新使开关闭合,然后先对microSD卡初始化再将暂存模块中的数据发送给microSD卡。
时钟产生电路400,为一个产生固定频率时钟信号的电路。
请参阅图2,基于上述移动终端实施例,本发明还提供了一种移动终端microSD卡的控制方法。请参见图2,图2是本发明移动终端microSD卡的控制方法的较佳实施例的流程图。图2所示的一种移动终端microSD卡的控制方法,主要包括以下步骤:
步骤S100、移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;
步骤S200、在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
进一步地,其中,在所述移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信步骤前还包括:
将所述
microSD卡的VDD管脚通过一个可控开关与主控制器相连接,其余管脚与所述主控制器对应管脚直接连接。
进一步地,所述的移动终端microSD卡的控制方法,其中,在所述移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信步骤前还包括:
在移动终端开机时,将主控制器的供电端与microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作。
所述的移动终端microSD卡的控制方法,其中,所述移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电的步骤具体包括:
B1、检测主控制器是否与microSD卡进行数据通信;
B2、检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;
B3、如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
请参阅图3,基于上述移动终端实施例,本发明还提供了一种移动终端microSD卡的控制方法的具体应用实施例。如图3所示,所述方法包括以下步骤:
步骤S1、在移动终端开机时,控制可控开关300闭合(参考图1),关闭暂存模块150,然后由卡初始化模块110对microSD卡200进行初始化,使microSD卡能够正常工作。
步骤S2、启动超时时间为10秒的定时器130。
等待条件产生,在图3中的一个“等待条件产生”的框,其为等待条件
“定时器130超时”或“检测到主控制器100有数据发向microSD卡200”两个条件产生。
当定时器130超时时,执行步骤S3。
步骤S3、控制开关300断开;并启动暂存模块150将主控制器100最近一次发向microSD卡的数据保存下来;关闭定时器130。
当检测到主控制器100有数据发向microSD卡200时,执行步骤S4;
步骤S4、判断开关300是否闭合,若为是则执行步骤S5,若为否则执行步骤S6。
步骤S5、复位定时器130。
步骤S6、控制开关300闭合,关闭暂存模块150,然后由卡初始化模块110对microSD卡200进行初始化,重发暂存模块150中保存的数据给microSD卡200;之后执行步骤S7;
步骤S7、启动定时器130。
由上可见,本发明提供一种移动终端microSD卡的省电控制方法,通过检测microSD卡是否处于闲置状态,并将microSD卡闲置状态下的供电断开以节省移动终端的电能,能有效地节约移动终端的电能,延长电池的使用时间,为用户提供了方便。
基于上述实施例,本发明还提供了一种移动终端microSD卡的控制系统,如图4所示,所述系统包括:
第一检测与控制模块410,用于控制移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;具体如上所述。
第二检测与控制模块420,用于在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送;具体如上所述。
进一步地,所述的移动终端microSD卡的控制系统,其中,还包括:
卡初始化模块110,用于在移动终端开机时,将主控制器的供电端与microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作;具体如上所述。
所述的移动终端microSD卡的控制系统,其中,第一检测与控制模块410包括:
第一检测单元,用于检测主控制器是否与microSD卡进行数据通信;
第二检测单元,用于检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;
控制单元,用于如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
综上所述,本发明所提供的移动终端及其microSD卡的控制方法及系统,由于采用了通过检测主控制器与microSD卡之间是否连续10秒钟无数据通信,如果为是则认为microSD卡闲置,然后停止对microSD卡供电以节省电能;在主控制器对microSD卡停止供电的情况下,如果检测到主控制器向microSD卡发送数据则记录该数据,然后主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的数据再次向microSD卡发送。通过本发明方法在维持现在microSD卡的功能的基础上,通过检测microSD卡是否闲置来决定是否对microSD卡供电,以节省移动终端电池的电能,能有效地节约移动终端的电能,延长电池的使用时间,为用户提供了方便。
应当理解的是,本发明的应用不限于上述的举例,对本领域普通技术人员来说,可以根据上述说明加以改进或变换,所有这些改进和变换都应属于本发明所附权利要求的保护范围。
Claims (8)
- 一种移动终端microSD卡的控制方法,其中包括:将microSD卡的VDD管脚通过一个可控开关与主控制器相连接,其余管脚与所述主控制器对应管脚直接连接;在移动终端开机时,将主控制器的供电端与所述microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作;移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
- 根据权利要求1所述的移动终端microSD卡的控制方法,其中所述移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电的步骤具体包括:检测主控制器是否与microSD卡进行数据通信;检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
- 根据权利要求1所述的移动终端microSD卡的控制方法,其中所述预定时间为10秒。
- 一种移动终端microSD卡的控制系统,其中包括:第一检测与控制模块,用于控制移动终端检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信,如果是则控制停止对microSD卡供电;第二检测与控制模块,用于在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制主控制器启动对microSD卡供电,初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
- 根据权利要求4所述的移动终端microSD卡的控制系统,其中还包括:卡初始化模块,用于在移动终端开机时,将主控制器的供电端与microSD卡相连接,并初始化microSD卡使microSD卡能够正常工作。
- 根据权利要求4所述的移动终端microSD卡的控制系统,其中所述第一检测与控制模块包括:第一检测单元,用于检测主控制器是否与microSD卡进行数据通信;第二检测单元,用于检测主控制器没有与microSD卡进行数据通信,再次检测主控制器与microSD卡之间是否连续超过一预定时间无数据通信;控制单元,用于如果当前microSD卡的VDD管脚与主控制器连接,且在所述预定时间内主控制器未与microSD卡发生数据通信,则控制断开microSD卡的VDD脚与主控制器的连接。
- 一种移动终端,其中包括:主控制器、microSD卡、可控开关、时钟产生电路;所述microSD卡包括:VDD管脚、VSS管脚、DAT0管脚、DAT1管脚、DAT2管脚、DAT3管脚、CMD管脚、CLK管脚;所述 microSD卡的VDD管脚通过所述可控开关与主控制器相连接,所述microSD卡的其余管脚分别与所述主控制器的相应管脚相连接;当可控开关闭合时,为microSD卡供电;当可控开关断开时,停止为microSD卡供电;时钟产生电路与所述microSD卡的CLK管脚连接,用于产生固定频率时钟信号;所述主控制器用于当检测到主控制器与microSD卡之间连续超过一预定时间无数据通信,则控制可控开关断开,停止为microSD卡供电;在主控制器对microSD卡停止供电时,如果检测到主控制器向microSD卡发送数据则记录该需发送的数据,并重新控制可控开关闭合,为microSD卡供电,并初始化microSD卡,再将先前保存的所述需发送的数据再次向microSD卡发送。
- 根据权利要求7所述的移动终端,其中在所述控制器内设置有一定时时间为预设阈值的定时器,在主控制器与microSD卡进行数据通信时,当主控制器发送数据给microSD卡或主控制器从microSD卡读取数据时将复位定时器;当在一预定时间内主控制器未与microSD卡进行数据通信时,将导致定时器超时;在定时器超时之后,将控制主控制器与microSD卡的VDD管脚之间的开关断开。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201510047897.8 | 2015-01-30 | ||
| CN201510047897.8A CN104580751B (zh) | 2015-01-30 | 2015-01-30 | 一种移动终端及其microSD卡的控制方法及系统 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2016119416A1 true WO2016119416A1 (zh) | 2016-08-04 |
Family
ID=53095878
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/084887 Ceased WO2016119416A1 (zh) | 2015-01-30 | 2015-07-23 | 一种移动终端及其microSD卡的控制方法及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104580751B (zh) |
| WO (1) | WO2016119416A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109188980A (zh) * | 2018-09-29 | 2019-01-11 | 北京聚利科技股份有限公司 | 读卡器的电源控制方法及读卡器 |
Families Citing this family (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104580751B (zh) * | 2015-01-30 | 2018-01-05 | 惠州Tcl移动通信有限公司 | 一种移动终端及其microSD卡的控制方法及系统 |
| CN107105390A (zh) * | 2017-04-12 | 2017-08-29 | 惠州Tcl移动通信有限公司 | 一种基于移动终端的nfc芯片控制方法及系统 |
| CN107404573A (zh) * | 2017-07-06 | 2017-11-28 | Tcl移动通信科技(宁波)有限公司 | 一种sim卡的供电方法、存储介质及移动终端 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101854498A (zh) * | 2010-05-24 | 2010-10-06 | 中兴通讯股份有限公司 | 多媒体广播芯片断电方法及装置 |
| CN102467468A (zh) * | 2010-11-05 | 2012-05-23 | 三星电子株式会社 | 存储系统和操作存储系统的方法 |
| CN203012773U (zh) * | 2013-01-16 | 2013-06-19 | 东信和平科技股份有限公司 | 一种新型射频sd卡 |
| CN203039581U (zh) * | 2013-02-19 | 2013-07-03 | 宁波高新区天视光电科技有限公司 | 工业相机的sd卡电源控制电路 |
| CN104580751A (zh) * | 2015-01-30 | 2015-04-29 | 惠州Tcl移动通信有限公司 | 一种移动终端及其microSD卡的控制方法及系统 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103177283B (zh) * | 2011-12-21 | 2017-09-01 | 国民技术股份有限公司 | 一种存储卡防掉电方法及装置 |
| CN102970432B (zh) * | 2012-11-23 | 2016-06-08 | 惠州Tcl移动通信有限公司 | 一种移动终端及其控制sim卡热插拔的方法 |
| CN103533182B (zh) * | 2013-09-23 | 2016-03-30 | 华为技术有限公司 | 一种电源管理方法及用户设备 |
-
2015
- 2015-01-30 CN CN201510047897.8A patent/CN104580751B/zh not_active Expired - Fee Related
- 2015-07-23 WO PCT/CN2015/084887 patent/WO2016119416A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101854498A (zh) * | 2010-05-24 | 2010-10-06 | 中兴通讯股份有限公司 | 多媒体广播芯片断电方法及装置 |
| CN102467468A (zh) * | 2010-11-05 | 2012-05-23 | 三星电子株式会社 | 存储系统和操作存储系统的方法 |
| CN203012773U (zh) * | 2013-01-16 | 2013-06-19 | 东信和平科技股份有限公司 | 一种新型射频sd卡 |
| CN203039581U (zh) * | 2013-02-19 | 2013-07-03 | 宁波高新区天视光电科技有限公司 | 工业相机的sd卡电源控制电路 |
| CN104580751A (zh) * | 2015-01-30 | 2015-04-29 | 惠州Tcl移动通信有限公司 | 一种移动终端及其microSD卡的控制方法及系统 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109188980A (zh) * | 2018-09-29 | 2019-01-11 | 北京聚利科技股份有限公司 | 读卡器的电源控制方法及读卡器 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104580751B (zh) | 2018-01-05 |
| CN104580751A (zh) | 2015-04-29 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102292687B (zh) | 在便携式计算设备休眠期间为辅助设备供电 | |
| TWI800667B (zh) | 從機間直接通訊 | |
| JP3318554B2 (ja) | USB(UniversalSerialBus)ケーブル及びUSBケーブルによる外部装置への充電方法 | |
| US8527798B2 (en) | Energy-saving circuit for a peripheral device, peripheral device, switching device and method of operation | |
| WO2014107957A1 (zh) | 可重启后恢复应用程序的移动终端 | |
| CN104067200B (zh) | 经由单线的电池的通信和监测 | |
| WO2016119416A1 (zh) | 一种移动终端及其microSD卡的控制方法及系统 | |
| CN107994627B (zh) | 一种基于TypeC协议和PD协议的移动电源控制装置 | |
| JP2018535493A (ja) | Usbインターフェース回路および低電力動作のための方法 | |
| CN114501285B (zh) | 一种插拔检测电路及插拔检测方法 | |
| CN100369410C (zh) | 通过以太网向外部设备供电的方法及装置 | |
| WO2021253858A1 (zh) | 电池装置控制电路 | |
| WO2017000103A1 (zh) | 控制电路、具有该控制电路的电池及电池控制方法 | |
| CN107424368A (zh) | 门窗磁控制系统 | |
| WO2024109359A1 (zh) | Bms休眠唤醒电路、方法、bms和用电设备 | |
| KR101350085B1 (ko) | 전력 보존 | |
| CN103135739B (zh) | 电子系统的电源功耗控制方法以及相关的电子系统 | |
| BRPI0007672B1 (pt) | Método de sincronização de um meio de comunicações em uma bateria com um meio de comunicações em um dispositivo eletrônico, aparelho, e, bateria | |
| CN212965358U (zh) | 一种具有负载接入自动唤醒功能的断线检测电路及充电宝 | |
| US6067027A (en) | Low power plug-in card removal detection | |
| CN207148771U (zh) | Otg供电‑充电自动切换模块 | |
| CN101228701A (zh) | 用于保护低电压收发信机的系统和方法 | |
| CN209357052U (zh) | 一种具有通信和防止漏电功能的智能卡 | |
| Fan et al. | SMBus quick start guide | |
| CN106648466B (zh) | 一种用于访问扩展存储的背夹附件、系统及其方法 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15879615 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15879615 Country of ref document: EP Kind code of ref document: A1 |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15879615 Country of ref document: EP Kind code of ref document: A1 |