Data card read-write method, interface control method and apparatus

A technology of interface control, reading and writing methods, applied in the field of data processing, can solve problems such as difficulty in meeting the data requirements of dual-microprocessor devices, and achieve the effect of enriching the use of functions

Active Publication Date: 2009-06-24
BEIJING ZHIGU TECH SERVICE
View PDF1 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the prior art has the following defects: the card reader chip can only support the USB interface, and cannot exchange data with the microprocessor in a local bus mode; Card read and write access, which is difficult to meet the needs of dual microprocessor devices to share data in data cards, especially communication products in some special application environments, which often require multiple microprocessors to share data in data cards

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data card read-write method, interface control method and apparatus
  • Data card read-write method, interface control method and apparatus
  • Data card read-write method, interface control method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0033] The present invention will be described in further detail below through specific embodiments and in conjunction with the accompanying drawings.

[0034] The first embodiment of the data card reading and writing method

[0035] figure 1 Shown is the flow chart of the first embodiment of the data card reading and writing method of the present invention. In a specific application, multiple microprocessors need to be connected to a data card through an interface control device, so as to realize data interaction. Among them, the interface control device that works in cooperation with the microprocessor can preferably be realized by using a complex programmable logic device (Complex Programable Logic Device; hereinafter referred to as: CPLD). The basic design method of digital integrated circuits with logic functions is to use integrated development software platforms to generate corresponding target files by means of schematic diagrams or hardware description languages, an...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method for reading and writing a data card, a method and a device for controlling an interface of the data card. The read-write method comprises the following steps: a microprocessor sends a read mark to a bus state inquiry command; the read mark is detected, if the mark is a free mark, an application bus conversion command is sent, so as to write in a local mark to work as a mark for the microprocessor, if the mark is one of other marks, the inquiry is continued, and if the mark is a local mark, the mark and the data card conduct read operation and/or write operation through an interface control device; and the microprocessor sends a release command to write in a free mark for releasing bus resource. The interface control method comprises the following steps: reading the mark and carrying out feedback when receiving an inquiry bus state command; writing a mark as a mark for connecting the micro processor when receiving the application bus conversion command; conducting read and write; and writing a free mark to release resource when receiving a release command. The device comprises a function module for realizing the interface control method. The invention realizes that a plurality of microprocessors can share a data card.

Description

technical field [0001] The invention relates to a data processing technology, in particular to a data card reading and writing method, a data card interface control method and a device. Background technique [0002] At present, data cards have become a common tool in people's life and work, such as Compact Flash (hereinafter referred to as: CF) card, Multi Media Card (Multi Media Card; hereinafter referred to as: MMC) and Secure Digital Memory Card (Secure Digital Memory) Card; hereinafter referred to as: SD), etc. Among them, the SD card is a commonly used data card, which belongs to a memory device based on semiconductor flash memory, and has high memory capacity, fast data transmission rate, great mobility flexibility and good security. Data cards generally can perform data interaction through various bus modes. For example, an SD card can implement data interaction with a microprocessor through an SD bus mode or a Serial Peripheral Interface (Serial Peripheral Interface...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F13/38
Inventor 韩彬伟
Owner BEIJING ZHIGU TECH SERVICE
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products