CN1588301A - Interface module capabble of connecting hardware and electronic device with said interface module - Google Patents
Interface module capabble of connecting hardware and electronic device with said interface module Download PDFInfo
- Publication number
- CN1588301A CN1588301A CN 200410155260 CN200410155260A CN1588301A CN 1588301 A CN1588301 A CN 1588301A CN 200410155260 CN200410155260 CN 200410155260 CN 200410155260 A CN200410155260 A CN 200410155260A CN 1588301 A CN1588301 A CN 1588301A
- Authority
- CN
- China
- Prior art keywords
- interface
- bus
- data
- hard disk
- processor unit
- 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.)
- Granted
Links
Images
Landscapes
- Bus Control (AREA)
Abstract
This invention can hang the interface module of HD including processor cell and joint cell. The joint cell can exchange data with processor cell and HD separately, the interface cell changes the data format of processor cell or HD into the data format that can be identified, read-writed. The joint cell includes main converter and HD converter. The main converter exchanges data with processor cell, change the HD data format into processor cell data format. HD converter exchanges data with HD, change the processor cell data format into HD data format. Through setting the HD converter, every HD joint can join different kind of HD, set HD on the device which can only use electronic memory, larges the storage capacity, and so is convenient for expanding function.
Description
Technical field
The electronic equipment that the present invention relates to a kind of capabble of connecting hardware and have this module.
Background technology
Now, the application of portable handheld electronic devices (as mobile phone, PDA, digital camera or electronic dictionary etc.) more and more widely, the user is also more and more higher to the functional requirement of this kind equipment.This class of electronic devices can only adopt storage mediums such as Flash card, ROM or RAM at present, can't the company's of extension hard disk.Because the capacity of these storage mediums is generally less, make electronic equipment be not easy to carry out the function expansion.
Because capacity is little, many application software can't be moved in portable handheld electronic devices (as PDA), make it lack personalized function; But the limited amount of digital camera storage picture, electronic dictionary are difficult to realize full text translation.Mobile phone can't be realized fax sending and receiving, directly extension connects functions such as projector.In addition, the electronic equipment for no hard disks such as printer, scanner, facsimile recorder, duplicating machine and automobiles is difficult to increase new function; For other embedded systems, because it does not have hard-disk interface, hard disk can not be articulated, thereby function expansion and high capacity storage can not be realized, the application extension of system is restricted.
Summary of the invention
The object of the present invention is to provide a kind of hard disk that articulates, thereby realize function expansion and the interface module of high capacity storage and electronic equipment with this interface module.
The object of the present invention is achieved like this: this capabble of connecting hardware comprises processor unit and interface unit, this interface unit can carry out exchanges data with processor unit and hard disk respectively, and this interface unit is the data layout to discerning, reading and writing with the data layout of processor unit or the Data Format Transform of hard disk.
Described interface unit comprises bus converter and hard disk converter, bus converter and processor unit carry out exchanges data, and be the data layout that processor unit can be discerned, read and write with the format conversion of the hard disc data that receives, hard disk converter and hard disk carry out exchanges data, and are the data layout that hard disk can be discerned, read and write with the Data Format Transform of the data of the processor unit that receives.
Described processor unit also comprises Standard bus interface, and this Standard bus interface can be exchanged into hard-disk interface by interface unit.
Described processor unit also comprises system bus interface, and interface unit can be converted to system bus interface Standard bus interface or peripheral bus interface, and Standard bus interface or peripheral bus interface can be converted to hard-disk interface by interface unit.
Described processor unit also comprises the peripheral bus interface, and peripheral bus can be exchanged into hard-disk interface by this interface unit.
A kind of electronic equipment with hard-disk interface module, comprise body, interface module and hard disk, this interface module comprises processor unit and interface unit, this interface unit carries out exchanges data with processor unit and hard disk respectively, and this interface unit can be the data layout to discerning, reading and writing with the data layout of processor unit or the Data Format Transform of hard disk.
Compared with prior art, the present invention has following advantage: 1) on the equipment that can only use electronic memory originally hard disk is set, has increased memory capacity, and then also be convenient to the function expansion; 2) setting by this hard disk converter makes a hard-disk interface can connect dissimilar hard disks, 3) this interface unit can be connected on different STD bus, system bus or the peripheral bus; 4) by this interface unit, make embedded system can articulate hard disk.
Description of drawings
Fig. 1 is the circuit block diagram of capabble of connecting hardware of the present invention.
Fig. 2 is the theory diagram of first kind of conversion regime of capabble of connecting hardware of the present invention.
Fig. 3 is the theory diagram of second kind of conversion regime of capabble of connecting hardware of the present invention.
Fig. 4 is the theory diagram of the third conversion regime of capabble of connecting hardware of the present invention.
Embodiment
Capabble of connecting hardware of the present invention comprises processor unit and interface unit, and this interface module is applied in the existing electronic equipment (as PDA, digital camera etc.), in order to articulate hard disk.Processor unit is in order to this interface module is realized control and data processing, and interface unit is connected with this processor unit also can articulate hard disk.This interface unit comprises bus converter and hard disk converter, can make PDA, mobile phone, digital camera, electronic dictionary, printer, scanner, facsimile recorder, duplicating machine, automobile and other EMBEDDED AVIONICS articulate hard disk by this interface unit.This interface unit can be converted to hard-disk interface with Standard bus interface (as ISA, PCI, AGP bus or PCMCIA), system bus interface (as address bus, data bus, control bus etc.) or the peripheral bus interface (as the serial line interface and the parallel interface of all kinds) of processor unit, and above-mentioned Standard bus interface, system bus interface and peripheral bus interface are referred to as bus interface.Described hard disk can be the hard disk of various models such as IDE, SCSI, SATA, CF or PCMCIA.Interface unit is connected with hard disk with processor unit respectively, make it can carry out exchanges data with processor unit on the one hand by internal bus, also carry out exchanges data on the other hand with hard disk, and the data layout that this interface unit can be discerned the Data Format Transform of the data layout of processor unit or hard disk, read and write for the other side, the bus interface that is about to processor unit is converted to hard-disk interface, also hard-disk interface can be converted to the bus interface of processor unit simultaneously.
See also Fig. 1, interface unit comprises first in first out endpoint configurations buffer (Configuration endpoint FIFOs), data direct transfer controller (DMA controller), configuration register (Configuration Registers), bus converter and hard disk converter, wherein, bus converter is connected with processor unit, can with the hard disc data format conversion data layout of processor unit, the hard disk converter is connected with hard disk, can be the hard disc data form with the processor unit Data Format Transform.Be converted in the process of hard-disk interface by interface unit in bus interface with processor unit, interface unit carries out following processing to data: after a) this interface unit identifies hard disk type, processor unit sends command information data such as configuration data form, speed to configuration register, and the work state information of reading of data transmission course is done respective handling, this processing procedure comprises: prevent Lou and to pass, wrongly pass, do not stop to pass, stop malfunction situation such as biography, judge to have or not interrupt request singal that in time do re-transmission, stop passing etc. controlled and response; B) processor unit directly or indirectly sends command information data such as data layout, traffic bit system, frame length and transfer rate to the data controller that direct transfers, and the work state information of reading of data transmission course is done respective handling, this processing procedure comprises: whether transformats such as the frame length of detection data, sign, speed are qualified, have or not interrupt request singal, undesired timely adjustment occurs); C) processor unit directly or indirectly sends command information data such as data layout, traffic bit system, frame length and transfer rate to first in first out endpoint configurations buffer (FIFOS), and the work state information in the reading of data transmission course is done respective handling, this processing procedure comprises: detect FIFOS be not cached with overflow, phenomenons such as bye, covering, have or not interrupt request singal, undesired timely adjustment occurs); D) processor unit directly or indirectly sends command informations such as relevant setting, configuration to system/peripheral bus, and the work state information of reading of data transmission course is done respective handling, this processing procedure comprises: detect read-write state, bit wide, sequential, have or not interrupt request singal etc., undesired timely adjustment occurs; E) processor unit directly or indirectly sends command informations such as relevant setting, configuration to the hard disk converter, and the work state information of reading of data transmission course is done respective handling, this processing procedure comprises: understand hard disk type, data throughput, verification, each sector, magnetic track information, prestored message space, remaining space, have or not interrupt request singal etc., so that in time respond and handle.In above-mentioned variety of way, processor unit sends steering order according to the duty of the selected coupling of different bus and hard disk type and mode to configuration register, make the end points (Endpoint) of first in first out endpoint configurations buffer put different values, and realize two-way control respectively bus and hard disk.
See also Fig. 2, when having STD bus such as ISA, PCI, AGP or PCMCIA when processor unit, interface unit is directly changed into hard-disk interface with above-mentioned Standard bus interface.This interface unit one square tube is crossed STD bus and processor unit swap data, its the opposing party and hard disk swap data, sequential, control signal and the data protocol etc. of STD bus can be discerned and adapt to this interface unit, it also can discern bus timing, control signal and the data protocol of hard disk, therefore can realize the conversion between STD bus data layout and the hard disc data form.Because STD bus data layout and hard disc data form all have fixing identification information, frame length and data, interface unit identifies STD bus type or hard disk type according to this identification information, and STD bus data (as ISA or pci bus data etc.) or hard disk type data (as IDE or SCSI hard disc data) are carried out corresponding accurate data format conversion.For example, when the STD bus data layout is 16, and the hard disc data form that is connect is 8, then the hard disk converter of interface unit read one by one in 16 STD bus data following 8, last 8 to hard disk, thereby realize data transmission between STD bus and the hard disk; Otherwise, transmitting data to STD bus from hard disk, the bus converter of interface unit reads twice 8 bit data and is spliced into 16 bit data forms and is sent to STD bus, thereby realizes between the two data transmission and conversion; As being 16, then these data directly can be transferred to processor unit when the data that recognize hard disk.The conversion of above-mentioned data layout is to be realized by the thousands of high speeds of interface unit, wide bit register and RAM.
See also Fig. 3, when not having STD bus such as ISA, PCI, AGP or PCMCIA when processor unit, the system bus interface of processor unit can be converted to Standard bus interface (as ISA, PCI, AGP bus interface or PCMCIA) or peripheral bus interface by interface unit, be that hard-disk interface is to articulate hard disk with Standard bus interface or peripheral bus interface conversion again.For example, 8, system buss such as the address of general tool single-chip microcomputer of 16 single-chip microcomputers, data, control, can't directly connect hard disk with pcmcia interface, the available single-chip microcomputer control linkage FPGA (field programmable gate array) of an elder generation end, press pcmcia bus sequential and signal definition setting in FPGA inside simultaneously, the FPGA other end is arranged to pcmcia bus, can realizes this microcontroller bus is connected the hard disk of pcmcia interface; High Speed System also can be set bus especially with software, has the hard-disk system of relevant interface (as pcmcia interface) with connection.
See also Fig. 4, can not directly connect the electronic equipment of hard disk for other, but have network interface card, USB, UART, GPIO, standard parallel port, CF, MD, SM, SD, MMC, MS, MSPro, XD, infrared, 1394, the Peripheral Interface of exchange data such as video interface, CRT (LCD) interface, self-defined peripheral hardware, can be by becoming hard-disk interface to realize articulating hard disk the peripheral bus interface conversion, its transfer principle is as previously mentioned.For example, certain Peripheral Interface (for example USB) of processor unit can be converted to the CF format signal, thereby can articulate hard disk for CF interface hard disk.
In addition, this interface unit can be realized directly being integrated on the chip of processor unit system in SOC mode (SOC (system on a chip)), but or the interface module funtion part is made the conversion chip of join dependency hard-disk interface.
The electronic equipment that the present invention has above-mentioned hard-disk interface module comprises body, interface module and hard disk, this body is the existing part of existing electronic equipment (as PDA, digital camera, electronic dictionary etc.), grade as storage area, structure outline and data processing division, its function and principle do not repeat them here.Interface module is in order to articulate hard disk, comprise processor unit and interface unit, this interface unit carries out exchanges data with processor unit and hard disk respectively, and this interface unit can be the data layout to discerning, reading and writing with the data layout of processor unit or the Data Format Transform of hard disk.This interface unit comprises bus converter and hard disk converter, bus converter and processor unit carry out exchanges data, and can with the hard disc data format conversion data layout of processor unit, hard disk converter and hard disk carry out exchanges data, and can be the data layout of hard disk with the processor unit Data Format Transform.
By hard disk is set on EMBEDDED AVIONICS, increased memory capacity, be convenient to the function expansion; Dissimilar hard disks can be articulated by this interface unit, and different STD bus, system bus or peripheral bus interface can be connected; Make embedded system articulate hard disk by interface unit, can expand the application of embedded system on a large scale.
Claims (10)
- [claim 1] a kind of capabble of connecting hardware, comprise processor unit, it is characterized in that: also comprise interface unit, this interface unit can carry out exchanges data with processor unit and hard disk respectively, and this interface unit can be the data layout to discerning, reading and writing with the data layout of processor unit or the Data Format Transform of hard disk.
- [claim 2] capabble of connecting hardware as claimed in claim 1, it is characterized in that: described interface unit comprises bus converter and hard disk converter, bus converter and processor unit carry out exchanges data, and can with the hard disc data format conversion data layout of processor unit, hard disk converter and hard disk carry out exchanges data, and can be the data layout of hard disk with the processor unit Data Format Transform.
- [claim 3] capabble of connecting hardware as claimed in claim 2 is characterized in that: described processor unit also comprises Standard bus interface, and this Standard bus interface can be converted to hard-disk interface by interface unit.
- [claim 4] capabble of connecting hardware as claimed in claim 2, it is characterized in that: described processor unit also comprises system bus interface, interface unit can be converted to system bus interface STD bus or peripheral bus interface, and Standard bus interface or peripheral bus can be converted to hard-disk interface by interface unit.
- [claim 5] capabble of connecting hardware as claimed in claim 2 is characterized in that: described processor unit also comprises the peripheral bus interface, and the peripheral bus interface can be converted to hard-disk interface by this interface unit.
- As any described capabble of connecting hardware among the claim 1-5, it is characterized in that: described hard-disk interface unit also comprises hard disk, and this hard disk is connected with interface unit [claim 6].
- [claim 7] is as any described capabble of connecting hardware among the claim 2-5, it is characterized in that: described interface unit also comprises first in first out endpoint configurations buffer, the data of carrying out exchanges data with processor unit direct transfer controller and configuration register, processor unit control configuration register makes the end points of first in first out endpoint configurations buffer put different values, to realize the control to all kinds hard disk.
- As any described capabble of connecting hardware among the claim 2-5, it is characterized in that: described interface module can directly be integrated on the chip of processor unit in the SOC mode [claim 8].
- [claim 9] is as any described capabble of connecting hardware among the claim 3-5, it is characterized in that: described STD bus is selected from: isa bus, pci bus, AGP bus or pcmcia bus, system bus is selected from: address bus, data bus or control bus, peripheral bus is selected from: network interface card, USB, UART, GPIO, standard parallel port, CF, MD, SM, SD, MMC, MS, MSPro, XD, infrared, 1394, video interface, CRT (LCD) interface or the self-defined peripheral bus that can realize exchanges data.
- [claim 10] a kind of electronic equipment with hard-disk interface module, comprise body, it is characterized in that: also comprise interface module and hard disk, this interface module comprises processor unit and interface unit, this interface unit carries out exchanges data with processor unit and hard disk respectively, and this interface unit can be the data layout to discerning, reading and writing with the data layout of processor unit or the Data Format Transform of hard disk.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101552602A CN100478864C (en) | 2004-08-27 | 2004-08-27 | Method and device for connecting hardware on a handhold electronic device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2004101552602A CN100478864C (en) | 2004-08-27 | 2004-08-27 | Method and device for connecting hardware on a handhold electronic device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1588301A true CN1588301A (en) | 2005-03-02 |
CN100478864C CN100478864C (en) | 2009-04-15 |
Family
ID=34605211
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2004101552602A Ceased CN100478864C (en) | 2004-08-27 | 2004-08-27 | Method and device for connecting hardware on a handhold electronic device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100478864C (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814059A (en) * | 2009-02-20 | 2010-08-25 | 环达电脑(上海)有限公司 | USB peripheral device with expansion function and expansion application method |
CN102202431A (en) * | 2010-03-25 | 2011-09-28 | 中兴通讯股份有限公司 | Device and method for improving interface flexibility of 3rd generation telecommunication (3G) communication module and application processor |
CN107077304A (en) * | 2016-09-18 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Data conversion equipment, chip, method, device and image system |
CN108415867A (en) * | 2018-03-13 | 2018-08-17 | 联想(北京)有限公司 | The signal processing method and processing system of electronic equipment |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108491339B (en) * | 2018-03-28 | 2021-09-14 | 联想(北京)有限公司 | Signal processing method and electronic equipment |
-
2004
- 2004-08-27 CN CNB2004101552602A patent/CN100478864C/en not_active Ceased
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101814059A (en) * | 2009-02-20 | 2010-08-25 | 环达电脑(上海)有限公司 | USB peripheral device with expansion function and expansion application method |
CN102202431A (en) * | 2010-03-25 | 2011-09-28 | 中兴通讯股份有限公司 | Device and method for improving interface flexibility of 3rd generation telecommunication (3G) communication module and application processor |
WO2011116582A1 (en) * | 2010-03-25 | 2011-09-29 | 中兴通讯股份有限公司 | Device and method for enhancing flexibility of interface between 3g communication module and application processor |
US8751719B2 (en) | 2010-03-25 | 2014-06-10 | Zte Corporation | Device and method for enhancing flexibility of interface between 3G communication module and application processor |
CN102202431B (en) * | 2010-03-25 | 2015-11-25 | 中兴通讯股份有限公司 | Increase the apparatus and method of 3G communication module and Application Processor Interface flexibility |
CN107077304A (en) * | 2016-09-18 | 2017-08-18 | 深圳市大疆创新科技有限公司 | Data conversion equipment, chip, method, device and image system |
CN108415867A (en) * | 2018-03-13 | 2018-08-17 | 联想(北京)有限公司 | The signal processing method and processing system of electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN100478864C (en) | 2009-04-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US5649128A (en) | Multiple bus interface adapter for connection to a plurality of computer bus architectures | |
US7058748B1 (en) | ATA device control via a packet-based interface | |
CN101324875B (en) | Method and apparatus for expanding I<2>C bus | |
US5430847A (en) | Method and system for extending system buses to external devices | |
JP2586833B2 (en) | Data processor | |
US5564114A (en) | Method and an arrangement for handshaking on a bus to transfer information between devices in a computer system | |
US8214571B2 (en) | Simple serial interface—method of communication and information exchange, and electronic devices based on this method | |
US7016994B2 (en) | Retry mechanism for blocking interfaces | |
US6128670A (en) | Image input device employing a personal computercard/interface or generic interface | |
CN102081584A (en) | Cache mirror system and method of dual-controller storage system | |
EP0427023B1 (en) | Data transmission control apparatus for parallel processing system | |
US9535454B2 (en) | Computing module with serial data connectivity | |
CN100478864C (en) | Method and device for connecting hardware on a handhold electronic device | |
CN109992556A (en) | A kind of I2C driving method and device | |
US20050256998A1 (en) | Bus bridge device | |
JP2962787B2 (en) | Communication control method | |
EP1275049A2 (en) | Modular computer system | |
US6058440A (en) | Programmable and adaptive resource allocation device and resource use recorder | |
KR20110017934A (en) | Auxiliary writes over address channel | |
TWI416339B (en) | Usb transaction translator and an isochronous-in transaction method | |
KR100606698B1 (en) | Interfacing apparatus | |
CN1610895A (en) | Method and apparatus for converting external memory accesses to local memory accesses in a processing core | |
JP2842803B2 (en) | PC card | |
KR100268178B1 (en) | A caching unit on the pci bus | |
JP3299147B2 (en) | Cache control circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
C35 | Partial or whole invalidation of patent or utility model | ||
IW01 | Full invalidation of patent right |
Decision date of declaring invalidation: 20110630 Decision number of declaring invalidation: 16822 Granted publication date: 20090415 |
|
C35 | Partial or whole invalidation of patent or utility model | ||
IP01 | Partial invalidation of patent right |
Decision date of declaring invalidation: 20110630 Decision number of declaring invalidation: 16822 Granted publication date: 20090415 |