CN115390757A - SD card device, data processing method, system and readable storage medium - Google Patents

SD card device, data processing method, system and readable storage medium Download PDF

Info

Publication number
CN115390757A
CN115390757A CN202211005280.6A CN202211005280A CN115390757A CN 115390757 A CN115390757 A CN 115390757A CN 202211005280 A CN202211005280 A CN 202211005280A CN 115390757 A CN115390757 A CN 115390757A
Authority
CN
China
Prior art keywords
chip
chip selection
storage
signal
card
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
CN202211005280.6A
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.)
Zhuhai Haiqi Semiconductor Co ltd
Original Assignee
Zhuhai Haiqi Semiconductor Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Zhuhai Haiqi Semiconductor Co ltd filed Critical Zhuhai Haiqi Semiconductor Co ltd
Priority to CN202211005280.6A priority Critical patent/CN115390757A/en
Publication of CN115390757A publication Critical patent/CN115390757A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0604Improving or facilitating administration, e.g. storage management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/0614Improving the reliability of storage systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0602Interfaces specially adapted for storage systems specifically adapted to achieve a particular effect
    • G06F3/062Securing storage systems
    • G06F3/0622Securing storage systems in relation to access
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/06Digital input from, or digital output to, record carriers, e.g. RAID, emulated record carriers or networked record carriers
    • G06F3/0601Interfaces specially adapted for storage systems
    • G06F3/0668Interfaces specially adapted for storage systems adopting a particular infrastructure
    • G06F3/0671In-line storage system
    • G06F3/0673Single storage device
    • G06F3/0679Non-volatile semiconductor memory device, e.g. flash memory, one time programmable memory [OTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Techniques For Improving Reliability Of Storages (AREA)

Abstract

The invention discloses an SD card device, a data processing method, a system and a readable storage medium, wherein a full isolation effect can be achieved by arranging an isolation switch chip between an SD card host and a storage device, so that the stable reliability of reading and writing data of a storage card is ensured, the damage of the storage card due to the unstable level of a data line is avoided, and the service life of a storage slave device is prolonged. And the SD card host can complete the selection of the communication state between the isolating switch chip and the N storage slave devices through the chip selection output end, so that the expansion of the storage capacity can be effectively completed based on the isolating switch chip. In addition, the SD card host only needs one group of SD interface interfaces, so that the number of pins of the processor is greatly reduced, the area of the processor is reduced, and the packaging cost of the chip is reduced.

Description

SD card device, data processing method, system and readable storage medium
Technical Field
The present invention relates to the field of memories, and in particular, to an SD card device, a data processing method, a system, and a readable storage medium.
Background
With the development of society and science and technology, SD/MMC memory card devices are used more and more widely in electronic devices, users have higher and higher requirements for storage capacity, and need to support SD/MMC memory card devices with higher capacity, and particularly for a processor with only one SD interface, only one set of SD/MMC memory devices can be supported, which limits the capacity increase of the memory card devices. In order to solve this problem, it is currently common to connect a plurality of SD/MMC memory cards on a processor via data lines and control lines, and provide a separate clock line for each SD/MMC memory card, so as to increase the number of the SD/MMC memory cards, the number of pins required to be provided by the processor increases, and the clock resources and the pins themselves are limited for the processor, so that the storage capacity of the storage device is still limited. Furthermore, as more interfaces are provided by the processor, the more wiring, the higher the wiring layout requirements. In addition, the data line and the control line of the processor are directly connected with the multiple SD/MMC cards, the access to different SD cards is switched only by closing the clock, and other SD/MMC cards still receive the level change on the data line and the control line at the moment, thereby influencing the stability, the data safety and the service life of the SD/MMC cards.
Disclosure of Invention
The present invention is directed to solving at least one of the problems of the prior art. Therefore, the invention provides the SD card equipment, which can effectively expand the storage capacity of the SD card equipment and ensure the simplicity of a circuit and the stability of the storage equipment.
The invention also relates to a data processing method, a data processing system and a computer readable storage medium for executing the data processing method.
An SD card device according to an embodiment of the first aspect of the present invention includes:
the SD card host is provided with a chip selection output end, a first command transmission end, a first clock transmission end and a first data transmission end;
the isolating switch chip is provided with a second command transmission end, a second clock transmission end, a second data transmission end, a chip selection enabling end and N groups of data communication ports, wherein the second command transmission end is connected with the first command transmission end, the second clock transmission end is connected with the first clock transmission end, and the second data transmission end is connected with the first data transmission end; the chip selection enabling end is used for receiving a chip selection enabling signal sent by the SD card host through the chip selection output end, so that the isolating switch chip enables the corresponding data communication port according to the chip selection signal;
and the N storage slave devices are respectively connected with the N groups of data communication ports.
The SD card device provided by the embodiment of the invention has at least the following beneficial effects:
the isolation switch chip is arranged between the SD card host and the storage device, so that a complete isolation effect can be achieved, the stable reliability of the storage card for reading and writing data is guaranteed, the condition that the storage card is damaged due to the unstable level of the data line is avoided, and the service life of the storage slave device is prolonged. And the SD card host can complete the selection of the communication state between the isolating switch chip and the N storage slave devices through the chip selection output end, so that the expansion of the storage capacity can be effectively completed based on the isolating switch chip. In addition, the SD card host only needs one group of SD interface interfaces, so that the number of pins of the processor is greatly reduced, the area of the processor is reduced, and the packaging cost of the chip is reduced.
According to some embodiments of the present invention, the chip selection output terminal includes M GPIO interfaces, and the chip selection enable terminal includes M chip selection interfaces corresponding to the M GPIO interfaces, where 2^M is greater than or equal to N and less than 2*N.
A data processing method according to an embodiment of a second aspect of the present invention is applied to the SD card device described above, and includes:
acquiring a chip selection control signal, wherein the chip selection control signal represents storage slave equipment which needs to be accessed by a user;
generating a chip selection enable signal according to the chip selection control signal;
and sending the chip selection enabling signal to the chip selection enabling end so that the isolating switch chip enables the corresponding data communication port.
The data processing method provided by the embodiment of the invention at least has the following beneficial effects:
the SD card host can complete the selection of the communication state between the isolating switch chip and the N storage slave devices according to the chip selection control signal by acquiring the chip selection control signal sent by the user side, so that the expansion of the storage capacity is effectively completed based on the isolating switch chip. In addition, since the data processing method is applied to the SD card device, the advantageous effects of the SD card device are also achieved.
According to some embodiments of the invention, the chip select control signal is derived by:
responding to the operation of a user on a storage file in a file list, determining an SD disc character corresponding to the storage file, and recording the SD disc character as a target disc character; the file list comprises N storage files in the storage slave devices, and the SD disk identifiers are N and correspond to the N storage slave devices one by one;
and generating the chip selection control signal according to the target drive letter.
According to some embodiments of the invention, the stored file is saved to the list of files by:
initializing the SD card equipment, scanning the storage files in the N storage slave equipment, and storing the storage files in the pre-established file list.
According to some embodiments of the invention, the sending the chip select enable signal to the chip select enable terminal comprises:
determining the read-write states of the current N storage slave devices;
and if the read-write states of the N storage slave devices are not accessed currently, sending the chip selection enabling signal to the chip selection enabling end.
According to some embodiments of the invention, the sending the chip select enable signal to the chip select enable terminal further comprises:
and if the read-write state of the storage slave equipment is in access, suspending sending the chip selection enabling signal, and sending the chip selection enabling signal after the read-write is finished.
A data processing system according to an embodiment of a third aspect of the present invention is applied to the SD card device described above, and includes:
the signal acquisition module is used for acquiring a chip selection control signal, and the chip selection control signal represents storage slave equipment which needs to be accessed by a user;
the chip selection signal generation module generates a chip selection enabling signal according to the chip selection control signal;
and the signal sending module is used for sending the chip selection enabling signal to the chip selection enabling end so that the isolating switch chip enables the corresponding data communication port.
The data processing system according to the embodiment of the invention has at least the following beneficial effects:
the signal acquisition module acquires a chip selection control signal sent by a user side, and the chip selection signal generation module and the signal sending module can complete selection of communication states between the isolating switch chip and the N storage slave devices according to the chip selection control signal, so that expansion of storage capacity is effectively completed based on the isolating switch chip. In addition, since the data processing method is applied to the SD card device, the advantageous effects of the SD card device are also achieved.
A computer-readable storage medium according to an embodiment of the fourth aspect of the present invention stores computer-executable instructions for performing the data processing method as described in the embodiment of the second aspect. Since the computer-readable storage medium adopts all the technical solutions of the data processing method of the above embodiment, at least all the advantages brought by the technical solutions of the above embodiments are achieved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention.
Drawings
The above and/or additional aspects and advantages of the present invention will become apparent and readily appreciated from the following description of the embodiments, taken in conjunction with the accompanying drawings of which:
FIG. 1 is a system diagram of an SD card device according to an embodiment of the invention;
FIG. 2 is a flow chart of a data processing method according to an embodiment of the invention;
fig. 3 is a flowchart of a data processing method according to another embodiment of the present invention.
Reference numerals:
SD card host 100, isolating switch chip 200, storage slave 300.
Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the accompanying drawings are illustrative only for the purpose of explaining the present invention, and are not to be construed as limiting the present invention.
In the description of the present invention, if there are first, second, etc. described, it is only for the purpose of distinguishing technical features, and it is not understood that relative importance is indicated or implied or that the number of indicated technical features is implicitly indicated or that the precedence of the indicated technical features is implicitly indicated.
In the description of the present invention, it should be understood that the orientation or positional relationship referred to, for example, the upper, lower, etc., is indicated based on the orientation or positional relationship shown in the drawings, and is only for convenience of description and simplification of description, but does not indicate or imply that the device or element referred to must have a specific orientation, be constructed in a specific orientation, and be operated, and thus should not be construed as limiting the present invention.
In the description of the present invention, it should be noted that unless otherwise explicitly defined, terms such as setup, installation, connection, etc. should be understood in a broad sense, and those skilled in the art can reasonably determine the specific meanings of the above terms in the present invention by combining the detailed contents of the technical solutions.
The technical solutions of the present invention will be described clearly and completely with reference to the accompanying drawings, and it should be understood that the embodiments described below are some, but not all embodiments of the present invention.
Referring to fig. 1, fig. 1 is a diagram of an SD card device according to an embodiment of the present invention, which includes an SD card host 100, a disconnecting switch chip 200, N storage slaves 300,
the SD card host 100 is provided with a chip selection output end, a first command transmission end, a first clock transmission end and a first data transmission end;
the isolating switch chip 200 is provided with a second command transmission end, a second clock transmission end, a second data transmission end, a chip selection enabling end and an N-group data communication port, wherein the second command transmission end is connected with the first command transmission end, the second clock transmission end is connected with the first clock transmission end, and the second data transmission end is connected with the first data transmission end; the chip selection enabling end is used for receiving a chip selection enabling signal sent by the SD card host 100 through the chip selection output end, so that the isolating switch chip 200 enables the corresponding data communication port according to the chip selection signal;
the N storage slave devices 300 are respectively connected to the N groups of data communication ports.
Referring to fig. 1, the isolating switch chip 200 has a group of second command transmission terminals, a second clock transmission terminal, a second data transmission terminal, and N groups of data communication ports, and different chip selection enable signals are input to the chip selection enable terminals of the isolating switch chip 200, so that the communication states between the second command transmission terminal, the second clock transmission terminal, and the second data transmission terminal and the different groups of data communication ports can be switched, on this basis, the SD card host 100 can respectively connect the second command transmission terminal, the second clock transmission terminal, and the second data transmission terminal through the first command transmission terminal, the first clock transmission terminal, and the first data transmission terminal, and then the N storage slave devices 300 can respectively connect with the N groups of data communication ports, so that the communication between the SD card host 100 and the different storage slave devices 300 can be realized under the control of different chip selection enable signals, and the purpose of using the isolating switch chip 200 to connect a plurality of storage slave devices 300 to realize the improvement of storage capacity is achieved.
According to the SD card device of the embodiment of the present invention, the isolating switch chip 200 is disposed between the SD card host 100 and the storage device, so as to achieve a complete isolation effect, thereby ensuring the stability and reliability of the read/write data of the memory card, avoiding the damage of the memory card due to the unstable level of the data line, and prolonging the service life of the storage slave device 300. In addition, the SD card host 100 can complete selection of the communication state between the isolator chip 200 and the N storage slaves 300 through the chip select output terminal, so that expansion of the storage capacity can be effectively completed based on the isolator chip 200. In addition, the SD card host 100 only needs a group of SD interface interfaces, which greatly reduces the number of pins of the processor, reduces the area of the processor, and reduces the packaging cost of the chip. In some embodiments, the model of the isolator switch chip 200 may be selected from the SGM6516.
In some embodiments, the chip select output terminal includes M GPIO interfaces, and the chip select enable terminal includes M chip select interfaces corresponding to the M GPIO interfaces, where 2^M is greater than or equal to N and less than 2*N. The isolation switch chip 200 has M chip select interfaces, and the M chip select interfaces can be controlled by high and low levels, so that the selection of 2^M data channels can be theoretically controlled by the M chip select interfaces, and therefore, as long as the number of the storage slave devices 300 to which the isolation switch chip 200 needs to be connected is less than 2^M, accurate read-write control of all the storage slave devices 300 can be completed. In other words, each additional chip select interface doubles the number of memory slave devices 300 that can be mounted by the isolator chip 200. On the basis, the SD card host 100 can realize the connection of different data channels of the isolator chip 200 only by completing the high-low level control of the M chip select interfaces through the M GPIO interfaces.
To better illustrate the SD card device in the embodiment of the present invention, a description is given herein by way of a specific embodiment, in which there are two storage slave devices 300, respectively denoted as a first SD/MMC slave device and a second SD/MMC slave device.
In the case that two storage slave devices 300 need to be selected, the SD card host 100 needs at least one GPIO interface for switching control, and the isolation switch chip 200 also has at least one corresponding enable pin, which is connected to the GPIO interface. When the SD card host 100 outputs a low level through the GPIO interface, the isolating switch chip 200 enables the data channel that can be connected to the first SD/MMC slave device, and at this time, the SD card host 100 can access the first SD/MMC slave device, and at the same time, the data channel that is connected to the second SD/MMC slave device is not enabled and is prohibited from accessing, so that the second SD/MMC slave device is not subjected to level interference.
When the second SD/MMC slave device needs to be accessed, the SD card host 100 needs to wait for the instruction execution of the first SD/MMC slave device, and then outputs a high level through the GPIO interface, the isolating switch chip 200 enables the data channel that can be connected to the second SD/MMC slave device, at this time, the SD card host 100 can access the second SD/MMC slave device, at this time, the data channel that is connected to the first SD/MMC slave device is not enabled, and the access cannot be performed, and therefore, the first SD/MMC slave device is not subjected to level interference.
It should be noted that, when there are more SD/MMC slave devices mounted through the isolating switch chip 200, the SD card host 100 needs to add a GPIO interface, for example: the 2-path SD/MMC slave device needs 1 GPIO interface, the 3-4 SD/MMC slave devices need 2 GPIO interfaces, and the 5-8 SD/MMC slave devices need 3 GPIO interfaces.
Referring to fig. 2, fig. 2 is a flowchart of a data processing method according to an embodiment of the present invention, applied to the SD card device, where the data processing method includes, but is not limited to, the following steps:
acquiring a chip selection control signal, wherein the chip selection control signal represents the storage slave device 300 which needs to be accessed by a user;
generating a chip selection enable signal according to the chip selection control signal;
the chip select enable signal is sent to the chip select enable terminal, so that the isolator chip 200 enables the corresponding data communication port.
In the embodiment of the present invention, all files in the storage slave device 300 are displayed on the user side in the form of a file list, and after the user finishes selecting a file or selecting a specific storage slave device 300 on the user side, a chip select control signal is generated and acquired by the SD card host 100. After the SD card host 100 acquires the chip selection control signal, it determines a chip selection enable signal according to the storage slave 300 to be accessed corresponding to the chip selection control signal, and sends the chip selection enable signal to the chip selection enable terminal of the isolator chip 200. After being controlled by the chip select enable signal, the isolator chip 200 selects the storage slave 300 corresponding to the chip select enable signal from the N groups of data communication ports to perform data transmission with the SD card host 100.
According to the data processing method of the embodiment of the present invention, the SD card host 100 obtains the chip selection control signal sent by the user side, so that the selection of the communication state between the isolator chip 200 and the N storage slaves 300 can be completed according to the chip selection control signal, that is, the expansion of the storage capacity can be effectively completed based on the isolator chip 200. In addition, since the data processing method is applied to the SD card device, the advantageous effects of the SD card device are also achieved.
Referring to fig. 3, in some embodiments, the chip select control signal is derived by:
in response to the operation of a user on the storage file in the file list, determining an SD drive character corresponding to the storage file and recording the SD drive character as a target drive character; the file list comprises storage files in N storage slave devices 300, and the number of the SD disk identifiers is N, and the SD disk identifiers correspond to the N storage slave devices 300 one by one;
and generating a chip selection control signal according to the target drive letter.
The storage device is not used alone, but is usually used together with the storage management system, in an interactive interface of the storage management system or other management platforms with the built-in storage management system, a user may determine a corresponding storage file through an operation on a file list in the interactive interface, further may determine an SD drive letter corresponding to the file by using the file list, and may generate a chip selection control signal by using the SD drive letter, and after the chip selection control signal is sent to the SD card host 100, the drive letter information may be recognized by the SD card host 100, and further, a final chip selection enable signal is quickly determined by using a pre-established correspondence relationship between the storage slave device 300 and the chip selection enable signal. In addition, when one storage slave device 300 needs to be accessed, the storage slave device 300 needing to be accessed can be determined directly through the interactive interface, or the target drive letter can be determined through the SD card host 100 according to the result of automatically allocating the file storage space according to the residual capacity of the storage slave device 300.
Referring to FIG. 3, in some embodiments, the stored file is saved to the file list by:
initializing the SD card device, scanning the storage files in the N storage slave devices 300, and saving the storage files in the pre-established file list.
When the storage slave device 300 is mounted, the file system of the storage slave device 300 is mounted, each storage slave device 300 is mounted into a different SD drive, and the files in the storage slave device 300 are scanned, saved into a file list, and displayed on an interactive interface. Meanwhile, the corresponding relation between each SD drive letter and the chip selection enabling signal is recorded when the power-on is started. When accessing the appointed file, the SD disc character is used to determine the chip selection enabling signal, and the data channel is switched. It should be noted that the chip select enable signal is a group of high and low level signals consisting of M GPIO interfaces.
In some embodiments, sending the chip select enable signal to the chip select enable terminal includes the following steps:
determining the read-write states of the current N storage slaves 300;
if the read-write states of the N storage slaves 300 are all no access currently, the chip select enable signal is sent to the chip select enable terminal.
When accessing the storage slave device 300, it is necessary to ensure that no storage slave device 300 is currently used as much as possible, and only when no storage slave device 300 is accessed, the data channel of the isolator chip 200 can be switched directly by using the chip select enable signal to complete data reading and writing.
In some embodiments, sending the chip select enable signal to the chip select enable terminal, further comprises the following steps:
and if the read-write state of the storage slave device 300 is in the access state, suspending sending the chip selection enabling signal, and sending the chip selection enabling signal after the read-write is finished.
When accessing the storage slave device 300, there is necessarily a situation that a memory is currently accessed, at this time, the select enable signal cannot be directly sent to switch the data channel of the isolator chip 200, and the data channel switching cannot be performed until the current data read/write is completed.
To better illustrate the SD card device in the embodiment of the present invention, a description is given herein by way of a specific embodiment, in which there are two storage slave devices 300, respectively denoted as a first SD/MMC slave device and a second SD/MMC slave device. In the case that two storage slave devices 300 need to be selected, the SD card host 100 needs at least one GPIO interface for switching control, and the isolation switch chip 200 also has at least one corresponding enable pin, which is connected to the GPIO interface.
After the storage device is started, when the SD/MMC device is mounted, a file system of the SD/MMC device can be mounted, each SD/MMC device can be mounted into different SD drive symbols (a first SD/MMC slave device corresponds to a first drive symbol, and a second SD/MMC slave device corresponds to a second drive symbol), and meanwhile, the SD card host 100 can scan files inside the SD/MMC device, store the files into a file list, and display the file list on an interactive interface for a user to directly view. In addition, in the initialization stage, the high-low level signals sent by the SD card host 100 corresponding to the first drive symbol and the second drive symbol to the enable pin of the isolating switch chip 200 through the GPIO interface are also determined and recorded, for example, the GPIO interface corresponding to the first drive symbol outputs a low level, and the GPIO interface corresponding to the second drive symbol outputs a high level.
When a user needs to access a certain file, the corresponding storage file is selected through a file list displayed on an interactive interface, the SD card can determine that the storage file is stored in the first SD/MMC slave device or the second SD/MMC slave device and obtain corresponding drive letter information, then the corresponding control level is determined by using the first drive letter or the second drive letter, the control level is sent to an enabling pin of the isolating switch chip 200, GPIO switching of the SD/MMC device is carried out, and then reading and writing are carried out.
In addition, the embodiment of the invention adopts a mutual exclusion lock mechanism, and when one SD/MMC device is read and written, the mutual exclusion lock is released only after the SD/MMC device is accessed, so that the same SD/MMC device can be only accessed at the same time, and the error of data transmission is avoided.
A data processing system according to an embodiment of the third aspect of the present invention includes:
the signal acquisition module is used for acquiring a chip selection control signal, and the chip selection control signal represents the storage slave device 300 which needs to be accessed by a user;
the chip selection signal generation module generates a chip selection enabling signal according to the chip selection control signal;
and the signal sending module is configured to send the chip selection enable signal to the chip selection enable end, so that the isolator chip 200 enables the corresponding data communication port.
In the embodiment of the present invention, all files in the storage slave device 300 are displayed on the user side in the form of a file list, and after the user completes selection of a file or selection of a specific storage slave device 300 on the user side, a chip select control signal is generated and is acquired by the signal acquisition module. After the signal acquisition module acquires the chip selection control signal, the chip selection signal generation module determines a chip selection enable signal according to the storage slave device 300 which is corresponding to the chip selection control signal and needs to be accessed, and the signal transmission module transmits the chip selection enable signal to the chip selection enable terminal of the isolating switch chip 200. After being controlled by the chip select enable signal, the isolator chip 200 selects the storage slave 300 corresponding to the chip select enable signal from the N groups of data communication ports to perform data transmission with the SD card host 100.
According to the data processing system of the embodiment of the invention, the signal acquisition module acquires the chip selection control signal sent by the user side, and the chip selection signal generation module and the signal sending module can complete the selection of the communication state between the isolation switch chip 200 and the N storage slave devices 300 according to the chip selection control signal, namely, the expansion of the storage capacity can be effectively completed based on the isolation switch chip 200. In addition, since the data processing method is applied to the SD card device, the advantageous effects of the SD card device are also achieved.
Furthermore, an embodiment of the present invention also provides a computer-readable storage medium, which stores computer-executable instructions, which, when executed by a processor or a controller, may cause the processor to perform the data processing method in the above-described embodiment, for example, the method in fig. 2 and the method in fig. 3 described above.
One of ordinary skill in the art will appreciate that all or some of the steps, systems, and methods disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media or non-transitory media and communication media or transitory media. The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data as is known to one of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks, DVD, or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.
The embodiments of the present invention have been described in detail with reference to the accompanying drawings, but the present invention is not limited to the above embodiments, and various changes can be made within the knowledge of those skilled in the art without departing from the gist of the present invention.

Claims (9)

1. An SD card device, comprising:
the SD card host is provided with a chip selection output end, a first command transmission end, a first clock transmission end and a first data transmission end;
the isolating switch chip is provided with a second command transmission end, a second clock transmission end, a second data transmission end, a chip selection enabling end and N groups of data communication ports, wherein the second command transmission end is connected with the first command transmission end, the second clock transmission end is connected with the first clock transmission end, and the second data transmission end is connected with the first data transmission end; the chip selection enabling end is used for receiving a chip selection enabling signal sent by the SD card host through the chip selection output end, so that the isolating switch chip enables the corresponding data communication port according to the chip selection signal;
and the N storage slave devices are respectively connected with the N groups of data communication ports.
2. The SD card device of claim 1, wherein the chip select output terminal comprises M GPIO interfaces, and the chip select enable terminal comprises M chip select interfaces corresponding to the M GPIO interfaces, wherein 2^M is greater than or equal to N and less than 2*N.
3. A data processing method applied to the SD card device according to claim 1 or 2, comprising the steps of:
acquiring a chip selection control signal, wherein the chip selection control signal represents storage slave equipment which needs to be accessed by a user;
generating a chip selection enable signal according to the chip selection control signal;
and sending the chip selection enabling signal to the chip selection enabling end so that the isolating switch chip enables the corresponding data communication port.
4. A data processing method according to claim 3, wherein the chip select control signal is derived by:
responding to the operation of a user on a storage file in a file list, determining an SD disc character corresponding to the storage file, and recording the SD disc character as a target disc character; the file list comprises N storage files in the storage slave devices, and the SD disk identifiers are N and correspond to the N storage slave devices one by one;
and generating the chip selection control signal according to the target drive letter.
5. The data processing method of claim 4, wherein the stored file is saved to the file list by:
initializing the SD card equipment, scanning the storage files in the N storage slave equipment, and storing the storage files in the pre-established file list.
6. The data processing method according to claim 3, wherein the sending the chip select enable signal to the chip select enable terminal comprises the following steps:
determining the read-write states of the current N storage slave devices;
and if the read-write states of the N storage slave devices are not accessed currently, sending the chip selection enabling signal to the chip selection enabling end.
7. The data processing method according to claim 6, wherein the sending the chip select enable signal to the chip select enable terminal further comprises:
and if the read-write state of the storage slave equipment is in access, suspending sending the chip selection enabling signal, and sending the chip selection enabling signal after the read-write is finished.
8. A data processing system applied to the SD card device according to claim 1 or 2, comprising:
the signal acquisition module is used for acquiring a chip selection control signal, and the chip selection control signal represents storage slave equipment which needs to be accessed by a user;
the chip selection signal generation module generates a chip selection enabling signal according to the chip selection control signal;
and the signal sending module is used for sending the chip selection enabling signal to the chip selection enabling end so that the isolating switch chip enables the corresponding data communication port.
9. A computer-readable storage medium, characterized in that: the computer-readable storage medium stores computer-executable instructions for causing a computer to execute the SD card device according to any one of claims 1 to 6.
CN202211005280.6A 2022-08-22 2022-08-22 SD card device, data processing method, system and readable storage medium Pending CN115390757A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211005280.6A CN115390757A (en) 2022-08-22 2022-08-22 SD card device, data processing method, system and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211005280.6A CN115390757A (en) 2022-08-22 2022-08-22 SD card device, data processing method, system and readable storage medium

Publications (1)

Publication Number Publication Date
CN115390757A true CN115390757A (en) 2022-11-25

Family

ID=84120660

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211005280.6A Pending CN115390757A (en) 2022-08-22 2022-08-22 SD card device, data processing method, system and readable storage medium

Country Status (1)

Country Link
CN (1) CN115390757A (en)

Similar Documents

Publication Publication Date Title
CN101140556A (en) Method and device for realizing accessing multiple I2C slave device by programmable device
KR20070015655A (en) Multi-interface controller, memory card having the multi-interface controller, and method for setting interface
US11507718B1 (en) Chip verification system and verification method therefor
CN115982078A (en) CXL memory module and memory storage system
CN109473081B (en) Interface circuit, display method and display device
US20100023669A1 (en) Host controller disposed in multi-function card reader
CN110765032A (en) Method for reading and writing I2C memory based on system management bus interface
CN115562738B (en) Port configuration method, component and hard disk expansion device
US20220283978A1 (en) Data transmission system, data transmission apparatus and data transmission method thereof
CN104158709A (en) Optical module identification method and port extender
CN109117399A (en) Reduce device, the system and method for chip selection
CN115390757A (en) SD card device, data processing method, system and readable storage medium
CN110673894A (en) Automatic loading method for BOB module ED of home gateway
JP2012043024A (en) Storage device
US8370599B2 (en) Storage system and controlling system and method thereof
JP6693417B2 (en) Reader / writer device, information processing device, data transfer control method, and program
CN113961496A (en) Communication circuit system, method, chip and storage medium
CN115495397A (en) Control method and electronic equipment
CN109815169A (en) A method of storage equipment and its storage link circuit self-adapting
CN116431534B (en) Data access method, switch and storage medium
US9015360B2 (en) Method of programming a USB device
CN103226479A (en) Electronic device system and electronic device
WO2011140773A1 (en) T-card identification method and device
US20240220441A1 (en) Apparatuses, systems, and methods for providing communication between memory cards and host devices
CN116414470A (en) Memory card starting method, memory device and computer device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination