CN102736859A - Double storage card control system and method - Google Patents

Double storage card control system and method Download PDF

Info

Publication number
CN102736859A
CN102736859A CN2011100877664A CN201110087766A CN102736859A CN 102736859 A CN102736859 A CN 102736859A CN 2011100877664 A CN2011100877664 A CN 2011100877664A CN 201110087766 A CN201110087766 A CN 201110087766A CN 102736859 A CN102736859 A CN 102736859A
Authority
CN
China
Prior art keywords
storage card
card
control
electronic installation
analog switch
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.)
Pending
Application number
CN2011100877664A
Other languages
Chinese (zh)
Inventor
李陶亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
Original Assignee
Shenzhen Futaihong Precision Industry Co Ltd
Chi Mei Communication Systems Inc
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 Shenzhen Futaihong Precision Industry Co Ltd, Chi Mei Communication Systems Inc filed Critical Shenzhen Futaihong Precision Industry Co Ltd
Priority to CN2011100877664A priority Critical patent/CN102736859A/en
Priority to TW100112730A priority patent/TW201241736A/en
Publication of CN102736859A publication Critical patent/CN102736859A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Memory System (AREA)
  • Credit Cards Or The Like (AREA)

Abstract

The invention provides a double storage card control system and a double storage card control method. The method comprises: a setting step, a first control step, a determination step, and a second control step. The setting step comprises that: a trigger instruction of an electric device and connecting a first storage card and a trigger instruction connecting a second storage card are set, and a first storage card connector of the electric device is preset to be initially connected after the starting up of the electric device. The first control step comprises that: when the electric device receives the trigger instruction connecting the second storage card, a processor is controlled to connect the second storage card through an analog switch and a second storage card connector of the electric device. The determination step comprises that: after the processor is connected with the second storage card, whether the trigger instruction connecting the first storage card is received is determined. The second control step comprises that: when the trigger instruction connecting the first storage card is received, the processor of the electric device is controlled to connect the first storage card through the analog switch and the first storage card connector of the electric device. With the system and the method of the invention, the double storage cards of the electric device can be switched conveniently and freely.

Description

Double memory cards control system and method
Technical field
The present invention relates to a kind of double memory cards control system and method.
Background technology
Flourish along with electron trade, people are increasing to the capacity requirement of electronic product.General electronic product supports the principle of storage card to see Fig. 1, and processor is connected with a storage card with special card connector through SDIO (Secure Digital Input and Output Card, the secure digital input-output card) signal of standard.So-called SDIO (Secure Digital Input and Output Card) is a kind of interface standard of finger processor and external storage card connection.Now on the market external connection of storage card comprises that SD card (Secure Digital Card, safe digital card), TF card cards such as (TransFlash) all support the SDIO interface.For general electronic products, the processor of its use generally the highest support 16G, some in addition have only 8G, can't satisfy some big data quantity users' demand.
Summary of the invention
In view of above content, be necessary to provide a kind of double memory cards control system, utilize analog switch to make processor can connect two different storage cards, and can switch these two storage cards of free operant at any time, improve the memory capacity of electronic installation.
In addition, also be necessary to provide a kind of double memory cards control method, utilize analog switch to make processor can connect two different storage cards, and can switch these two storage cards of free operant at any time, improve the memory capacity of electronic installation.
Described double memory cards control method; Be applied on the electronic installation; This method comprises: step is set: triggering command and the triggering command that is connected second storage card that electronic installation connects first storage card are set, and pre-seting electronic installation start back, initial what connect is first card connector of electronic installation; First controlled step: when electronic installation received the triggering command that connects second storage card, processor controls was connected with second storage card through second card connector of analog switch and electronic installation; Determining step: when processor with after second storage card is connected, judge whether to receive the triggering command that connects first storage card; Second controlled step: when receiving the triggering command that connects first storage card, the processor of control electronic installation is connected with first storage card through the analog switch and first card connector of electronic installation.
Described double memory cards control system; Run on the electronic installation; This system comprises: module is set; Be used to the triggering command and the triggering command that is connected second storage card that electronic installation connects first storage card is set, and first card connector that pre-sets the initial electronic installation that connects in electronic installation start back; First control module is used for when electronic installation receives the triggering command that connects second storage card, and processor controls is connected with second storage card through second card connector of analog switch and electronic installation; Judge module, be used for when processor with after second storage card is connected, judge whether to receive the triggering command that connects first storage card; Second control module is used for when receiving the triggering command that connects first storage card, and the processor of control electronic installation is connected with first storage card through the analog switch and first card connector of electronic installation.
Compared to prior art; Double memory cards control system of the present invention and method; Utilize analog switch to make processor can connect two different storage cards; And can switch these two storage cards at any time and supply users freely to operate, the memory capacity of storage card of the highest support of electronic installation is increased exponentially.
Description of drawings
Fig. 1 is the synoptic diagram that the processor of electronic installation of the present invention connects a storage card.
Fig. 2 is the configuration diagram of double memory cards control system of the present invention preferred embodiment.
Fig. 3 is the functional block diagram of double memory cards control system of the present invention preferred embodiment.
Fig. 4 is the process flow diagram of double memory cards control method of the present invention preferred embodiment.
The main element symbol description
Electronic installation 1
Processor 10
The double memory cards control system 20
Analog switch 30
First card connector 40
First storage card 41
Second card connector 50
Second storage card 51
Module is set 200
First control module 202
Judge module 204
Second control module 206
Following embodiment will combine above-mentioned accompanying drawing to further specify the present invention.
Embodiment
As shown in Figure 2, be the configuration diagram of double memory cards control system of the present invention preferred embodiment.Described double memory cards control system 20 runs on the electronic installation 1.This electronic installation 1 comprises a plurality of processor 10, analog switch 30, first card connector 40, first storage card 41, second card connector 50 and second storage card 51.Described processor 10 is used to control and handle the signal and the data of electronic installation 1; Described analog switch 30 is single-pole double-throw (SPDT) analog switches, and described analog switch 30 has input end a, control end b, the first output terminal c and four terminals of the second output terminal d.Described analog switch 30 can be set to when control end b input high level, the analog switch 30 controls first output terminal c conducting, and promptly input end a is connected with the first output terminal c; When control end b input low level, the analog switch 30 controls second output terminal d conducting, promptly input end a is connected with the second output terminal d.
In addition, described input end a is connected with processor 10 through SDIO (Secure Digital Input and Output Card, secure digital input-output card) (not shown).The GPIO pin of described control end b and processor 10 (General Purpose Input/Output, general I/O) connects.The described first output terminal c is connected with first card connector 40 through SDIO, and the described second output terminal d is connected with second card connector 50 through SDIO.
Described first card connector 40 is the special connectors that are used for being connected through SDIO storage card with second card connector 50.This first card connector 40 is connected with first storage card 41, and second card connector 50 is connected with second storage card 51.Described first storage card 41 and second storage card 51 can be the storage cards that SD card (Secure Digital Card, safe digital card), TF card (TransFlash) etc. are all supported the SDIO interface, are used for the Various types of data of storage electronics 1.
As shown in Figure 3, be the functional block diagram of double memory cards control system of the present invention preferred embodiment.Described double memory cards control system 20 comprises module 200, first control module 202, judge module 204 and second control module 206 is set.The alleged module of the present invention is to accomplish the program segment of a specific function, be more suitable in describing the implementation of software in chip than program, therefore below the present invention to all describing in the software description with module.
The described module 200 that is provided with is used to the triggering command that connects first storage card 41 is set, and the triggering command that connects second storage card 51 is set.The described module 200 that is provided with can be provided with the virtual diagram of first storage card 41 and the virtual diagram of second storage card 51 respectively; Described virtual diagram can be virtual push button, virtual icon, shortcut etc., can on the display unit (not shown) of electronic installation 1, show.When the virtual diagram of first storage card 41 is clicked or selected, be the triggering command that connects first storage card 41; When the virtual diagram of second storage card 51 is clicked or is selected, be the triggering command that connects second storage card 51.
The described module 200 that is provided with also is used to pre-set initial first card connector that connects in electronic installation 1 start back.The described module 200 that is provided with can be high level through the acquiescence output level that the GPIO pin is set; At this moment; The input end a of analog switch 30 is connected with the first output terminal c; Processor 10 is through analog switch 30 and first card connector 40 and 41 communications of first storage card, and the user can be to first storage card, 41 free operants.
Described first control module 202 also is used for when receiving the triggering command that connects second storage card 51; GPIO pin through processor 10; Send signal to the analog switch 30 that connects second card connector 50; For example send low level signal to analog switch 30, promptly the control end b of analog switch 30 be input as low level, be connected with the second output terminal d with the input end a of control analog switch 30; This moment, described processor 10 passed through analog switch 30 and second card connector 50 and 51 communications of second storage card, and the user can be to second storage card, 51 free operants.
Described judge module 204 is used to judge whether to receive the triggering command that connects first storage card 41.
Described second control module 206 is used for when receiving the triggering command that connects first storage card 41; GPIO pin through processor 10; Send signal to the analog switch 30 that connects first card connector 40, for example, send high level signal to analog switch 30; Be analog switch 30 control end b be input as high level, be connected with the first output terminal c with the input end a of control analog switch 30.This moment, described processor 10 was through analog switch 30 and first card connector 40 and 41 communications of first storage card.
What should explain is, freely switches first storage card 41 and second storage card 51 through above-mentioned analog switch 30, makes the storage card that the user can freely be switched needs operation.
As shown in Figure 4, be the process flow diagram of double memory cards control method of the present invention preferred embodiment.
Step S10, the described module 200 that is provided with is provided with the triggering command that connects first storage card 41, and the triggering command that connects second storage card 51 is set.The described module 200 that is provided with can be provided with the virtual diagram of first storage card 41 and the virtual diagram of second storage card 51 respectively; Described virtual diagram can be virtual push button, virtual icon, shortcut etc., can on the display unit (not shown) of electronic installation 1, show.When the virtual diagram of first storage card 41 is clicked or selected, be the triggering command that connects first storage card 41; When the virtual diagram of second storage card 51 is clicked or is selected, be the triggering command that connects second storage card 51.
The user can trigger corresponding storage card through clicking or select this virtual diagram.
Step S11, the described module 200 that is provided with pre-sets initial first card connector 40 that connects in electronic installation 1 start back.The described module 200 that is provided with can be exported the signal (for example acquiescence output high level) that connects first card connector 40 through the acquiescence that control GPIO pin is set; At this moment; The input end a of analog switch 30 is connected with the first output terminal c; Processor 10 is through analog switch 30 and first card connector 40 and 41 communications of first storage card, and the user can be to first storage card, 41 free operants.
Step S12; When electronic installation 1 receives the triggering command that connects second storage card 51; First control module 202 is sent signal to the analog switch 30 that connects second card connector 50 through the GPIO pin of processor 10, is connected with the second output terminal d with the input end a that controls analog switch 30; This moment, described processor 10 passed through analog switch 30 and second card connector 50 and 51 communications of second storage card, and the user can be to second storage card, 51 free operants.
Step S13, described judge module 204 are used to judge whether to receive the triggering command that connects first storage card 41.If when receiving the triggering command that connects first storage card 41, get into step S14; When not receiving the triggering command that connects first storage card 41, flow process finishes.
Step S14, described second control module 206 is sent signal to the analog switch 30 that connects first card connector 40 through the GPIO pin of processor 10, is connected with the first output terminal c with the input end a that controls analog switch 30.This moment, described processor 10 passed through analog switch 30 and first card connector 40 and 41 communications of first storage card, and the user can be to first storage card, 41 free operants.
What should explain at last is; Above embodiment is only unrestricted in order to technical scheme of the present invention to be described; Although the present invention is specified with reference to preferred embodiment; Those of ordinary skill in the art should be appreciated that and can make amendment or be equal to replacement technical scheme of the present invention, and do not break away from the spirit and the scope of technical scheme of the present invention.

Claims (8)

1. a double memory cards control method is characterized in that, this method comprises:
Step is set: triggering command and the triggering command that is connected second storage card that electronic installation connects first storage card are set, and pre-seting electronic installation start back, initial what connect is first card connector of electronic installation;
First controlled step: when electronic installation received the triggering command that connects second storage card, processor controls was connected with second storage card through second card connector of analog switch and electronic installation;
Determining step: when processor with after second storage card is connected, judge whether to receive the triggering command that connects first storage card;
Second controlled step: when receiving the triggering command that connects first storage card, the processor of control electronic installation is connected with first storage card through the analog switch and first card connector of electronic installation.
2. double memory cards control method as claimed in claim 1; It is characterized in that; The analog switch of said electronic installation comprises input end, control end, first output terminal and second output terminal, and wherein said input end is connected with processor through secure digital input-output card SDIO; Described control end is connected with the general I/O GPIO interface of processor; Described first output terminal is connected with first card connector through SDIO, and first card connector is connected with first storage card; Described second output terminal is connected with second card connector through SDIO, and second card connector is connected with second storage card.
3. double memory cards control method as claimed in claim 2; It is characterized in that; Pass through the control end that control GPIO interface sends signal to the analog switch that connects second card connector in described first controlled step; Thereby the input end of control analog switch is connected with second output terminal, makes the processor and second media card communication.
4. double memory cards control method as claimed in claim 2; It is characterized in that; Pass through the control end that control GPIO interface sends signal to the analog switch that connects first card connector in described second controlled step; Thereby the input end of control analog switch is connected with first output terminal, makes the processor and first media card communication.
5. a double memory cards control system is characterized in that, this system comprises:
Module is set, is used to the triggering command and the triggering command that is connected second storage card that electronic installation connects first storage card is set, and first card connector that pre-sets the initial electronic installation that connects in electronic installation start back;
First control module is used for when electronic installation receives the triggering command that connects second storage card, and processor controls is connected with second storage card through second card connector of analog switch and electronic installation;
Judge module, be used for when processor with after second storage card is connected, judge whether to receive the triggering command that connects first storage card;
Second control module is used for when receiving the triggering command that connects first storage card, and the processor of control electronic installation is connected with first storage card through the analog switch and first card connector of electronic installation.
6. double memory cards control system as claimed in claim 5; It is characterized in that; The analog switch of described electronic installation comprises input end, control end, first output terminal and second output terminal, and wherein said input end is connected with processor through secure digital input-output card SDIO; Described control end is connected with the general I/O GPIO interface of processor; Described first output terminal is connected with first card connector through SDIO, and first card connector is connected with first storage card; Described second output terminal is connected with second card connector through SDIO, and second card connector is connected with second storage card.
7. double memory cards control system as claimed in claim 6; It is characterized in that; Described first control module is sent the control end of signal to the analog switch that connects second card connector; Thereby the input end of control analog switch is connected with second output terminal, makes the processor and second media card communication.
8. double memory cards control system as claimed in claim 6; It is characterized in that; Described second control module is sent the control end of signal to the analog switch that connects first card connector; Thereby the input end of control analog switch is connected with first output terminal, makes the processor and first media card communication.
CN2011100877664A 2011-04-08 2011-04-08 Double storage card control system and method Pending CN102736859A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN2011100877664A CN102736859A (en) 2011-04-08 2011-04-08 Double storage card control system and method
TW100112730A TW201241736A (en) 2011-04-08 2011-04-13 System and method for controlling double memory card

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2011100877664A CN102736859A (en) 2011-04-08 2011-04-08 Double storage card control system and method

Publications (1)

Publication Number Publication Date
CN102736859A true CN102736859A (en) 2012-10-17

Family

ID=46992443

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011100877664A Pending CN102736859A (en) 2011-04-08 2011-04-08 Double storage card control system and method

Country Status (2)

Country Link
CN (1) CN102736859A (en)
TW (1) TW201241736A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034819A (en) * 2012-12-14 2013-04-10 隋国利 SD (Secure Digital) card capable of switching storage partitions and control method of SD card
CN103136486A (en) * 2013-01-25 2013-06-05 隋国利 Secure digital (SD) memory card with switchable chips and control method
CN111930395A (en) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101308479A (en) * 2007-05-18 2008-11-19 鸿富锦精密工业(深圳)有限公司 Data memory apparatus and its data storage method
CN101329618A (en) * 2008-07-28 2008-12-24 宇龙计算机通信科技(深圳)有限公司 Data interactive method, system and mobile terminal
CN101364198A (en) * 2007-08-08 2009-02-11 英业达股份有限公司 Testing tool for card reading interface and testing method thereof
CN101383933A (en) * 2007-08-29 2009-03-11 松下电器产业株式会社 Host apparatus for controlling memory cards
US20100199032A1 (en) * 2000-08-17 2010-08-05 Sandisk Corporation Enhanced data communication by a non-volatile memory card
CN101849242A (en) * 2007-08-23 2010-09-29 优尼迪株式会社 Memory card changer, method for reading or writing data in memory card changer
CN201682491U (en) * 2009-12-22 2010-12-22 西可通信技术设备(河源)有限公司 Mobile phone with dual SIM cards, dual memory cards and dual standby functions
CN201682576U (en) * 2010-04-14 2010-12-22 东莞福泽尔电子科技有限公司 Vehicle-mounted digital video recorder

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100199032A1 (en) * 2000-08-17 2010-08-05 Sandisk Corporation Enhanced data communication by a non-volatile memory card
CN101308479A (en) * 2007-05-18 2008-11-19 鸿富锦精密工业(深圳)有限公司 Data memory apparatus and its data storage method
CN101364198A (en) * 2007-08-08 2009-02-11 英业达股份有限公司 Testing tool for card reading interface and testing method thereof
CN101849242A (en) * 2007-08-23 2010-09-29 优尼迪株式会社 Memory card changer, method for reading or writing data in memory card changer
CN101383933A (en) * 2007-08-29 2009-03-11 松下电器产业株式会社 Host apparatus for controlling memory cards
CN101329618A (en) * 2008-07-28 2008-12-24 宇龙计算机通信科技(深圳)有限公司 Data interactive method, system and mobile terminal
CN201682491U (en) * 2009-12-22 2010-12-22 西可通信技术设备(河源)有限公司 Mobile phone with dual SIM cards, dual memory cards and dual standby functions
CN201682576U (en) * 2010-04-14 2010-12-22 东莞福泽尔电子科技有限公司 Vehicle-mounted digital video recorder

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103034819A (en) * 2012-12-14 2013-04-10 隋国利 SD (Secure Digital) card capable of switching storage partitions and control method of SD card
CN103136486A (en) * 2013-01-25 2013-06-05 隋国利 Secure digital (SD) memory card with switchable chips and control method
CN111930395A (en) * 2020-08-20 2020-11-13 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal
CN111930395B (en) * 2020-08-20 2023-03-07 展讯通信(上海)有限公司 Program downloading method of intelligent terminal and intelligent terminal

Also Published As

Publication number Publication date
TW201241736A (en) 2012-10-16

Similar Documents

Publication Publication Date Title
US8954628B2 (en) Portable device and peripheral extension dock
CN105045454A (en) Method for preventing from wrongly touching terminal and terminal
CN108920397B (en) Device identification method and device, storage medium and electronic device
CN104657313A (en) Detecting system and method for universal serial bus device
US20090268743A1 (en) Data transmission bridge device and control chip thereof for transmitting data
CN109726059B (en) Server test system
US20200242064A1 (en) Display driver board with multiple type-c full-function interfaces
CN104063348A (en) Device and method for realizing compatible USB (Universal Serial Bus) communication and audio communication
CN105302518A (en) Computer equipment and control method thereof
US20090172444A1 (en) Computer System and Power-Saving Method Thereof
CN102736859A (en) Double storage card control system and method
CN103677239A (en) Wireless display terminal control method and device
CN104169854A (en) An icon arranging method and a terminal
CN101615080A (en) Keyboard-video-mouse switcher with line control machine
EP3592005A1 (en) Method and device for controlling broadcast recipient, and mobile terminal
US20120041706A1 (en) Testing system for portable electronic device
CN210006035U (en) USB and OTG function switching control circuit, device and mobile terminal
US20140347279A1 (en) Keyboard device with switchable connection path and its switching method
CN109614248A (en) Message compression methods, device, storage medium and terminal device
US20140173159A1 (en) Expresscard adapter and electronic device
CN107402898B (en) Information processing method and electronic equipment
CN110989813B (en) Power supply control device and method and electronic equipment
CN104932854B (en) A kind of information processing method and electronic equipment
CN101847133A (en) Switching device and multi-computer switch
CN106789611B (en) Integrated gateway and interface circuit control method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20121017