CN100388251C - Switch circuit shared by external data storage device and application system - Google Patents

Switch circuit shared by external data storage device and application system Download PDF

Info

Publication number
CN100388251C
CN100388251C CNB2004100918433A CN200410091843A CN100388251C CN 100388251 C CN100388251 C CN 100388251C CN B2004100918433 A CNB2004100918433 A CN B2004100918433A CN 200410091843 A CN200410091843 A CN 200410091843A CN 100388251 C CN100388251 C CN 100388251C
Authority
CN
China
Prior art keywords
storage device
data storage
interface
external data
bus
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.)
Expired - Fee Related
Application number
CNB2004100918433A
Other languages
Chinese (zh)
Other versions
CN1797377A (en
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CNB2004100918433A priority Critical patent/CN100388251C/en
Publication of CN1797377A publication Critical patent/CN1797377A/en
Application granted granted Critical
Publication of CN100388251C publication Critical patent/CN100388251C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The present invention relates to an external data storage device sharing switching circuit. For solving the problem of high cost when external data storage devices are shared in the prior art, the external data storage device sharing switching circuit of the present invention comprises a first interface for connecting with an external data storage device, a plurality of second interfaces for connecting with one or more computer systems, a bus state arbitrator which sends out a corresponding switch selection signal according to a bus application signal of one computer system, and a bus selection switch which can communicate the first interface and the second interfaces or disconnect the first and the second interfaces which are in a communicated state according to the switch selecting signal. The external data storage device can be a magnetic disk storage device, an optical disk storage device, a FLASH storage device (such as a CF card, an MMC card and an SD card), etc. in addition, the present invention also provides a double-screen multimedia order machine and a multi-way multimedia order machine which use the external data storage device sharing switching circuit.

Description

Switch circuit shared by external data storage device and application system thereof
Technical field
The present invention relates to computing machine and multimedia field, more particularly, relate to a kind of switch circuit shared by external data storage device and application system thereof, particularly a kind of hard disk is shared commutation circuit and application system thereof.
Background technology
External data storage device is an ingredient important in the computer system, and its role is to provides high capacity, non-volatile data storage function to computing machine.The said external data storage device of the present invention mainly comprises disk storage device (for example hard disk), optical disc memory apparatus, FLASH memory device (as CF card, mmc card, SD card) etc.Computer system conducts interviews to external data storage device by certain interface (for example ATAPI interface).
Generally, each computer system all is furnished with external data storage device separately, and each computer system visits one's own external data storage device independently of one another by the interface of external data storage device.When a certain computer system need be visited the external data storage device of another computer system (this situation is called the external data storage device data sharing), solution commonly used has following three kinds:
(1), data that needs are shared copy (for example USB portable hard disk) on some external data equipment that are convenient for carrying earlier to, again this equipment is plugged into to this data computing machine system of needs for use.This method is applicable to that data volume is less and does not have the occasion of real-time data sharing demand, for there being mass data to need share and access or all computer systems all to need the occasion of Real-Time Sharing visit at random, then can not satisfy the requirement of application.
(2), all computer systems are connected by computer network, need data computing machine (being called client computer) to utilize network to send request of data to preserving data computing machine (being called main frame), by main frame reading of data from the external data storage device of oneself, then it is sent to client computer by network.Can realize the Real-Time Sharing of data like this, but because all client computer all need to read by main frame when the needs data, the work burdensome of burden of main machine like this, when network size is bigger or data volume is bigger the time, special main frame (being called data server) just need be set share and access is provided.When scale less (for example having only 2,3 computer systems to share) and data volume is bigger or every computing machine oneself is all existing when making burden than heavy industry, as main frame is set separately, then cost is higher; If do not establish main frame then can influence the work of each computer system self.
(3), all computer systems are connected by computer network, for the external data storage device that needs share and access is made a network interface, all computing machines visit shared external data storage device (for example network optical disk driver, network hard disc etc.) by this network interface, this is actually a kind of data server of simplification, data server is reduced to do not possess complete computer function and have only the network data sharing functionality, this method can reduce certain cost, but still is higher for small-scale application cost.
Summary of the invention
At the above-mentioned defective of prior art, the present invention will solve in the prior art cost problem of higher required when sharing external data storage device.
For solving the problems of the technologies described above, the invention provides a kind of switch circuit shared by external data storage device, comprising: first interface, a plurality of second interface, a bus state arbitration and a bus selection switch, described first interface is connected with external data storage device; Described bus state moderator, it is connected with described a plurality of second interfaces, but the bus application signal that the receiving computer system sends by any second interface, and send corresponding switch according to described bus application signal and select signal; Described bus selection switch, it is connected between described first interface and each second interface, and select signal output part to be connected with the switch of described bus state moderator, can select signal to be communicated with according to described switch with between first interface and corresponding second interface, or disconnect being connected between first interface be in connected state and second interface, thereby being communicated with or disconnection between the computer system that realizes correspondence and the described external data storage device.
External data storage device among the present invention can be hard disk storage devices, optical disc memory apparatus, MD card, SD card etc.; Bus selection switch wherein is that a N selects 1 selector switch, it directly docks selected second interface with first interface according to the control signal of bus state moderator, just the ata bus with computer system thereof directly docks with the ata bus of external data storage device, makes this computer system energy access external data memory device.
The present invention also provides a kind of double screen multimedia-on-demand machine, comprising: main multimedia decoding chip, the input equipment, the display device that are connected with described main multimedia decoding chip; Auxilliary multimedia decoding chip, the audio frequency and/or the video playback apparatus that are connected with described auxilliary multimedia decoding chip; Be used to store the external data storage device of audio/video program; And the said external data storage device is shared commutation circuit, described external data storage device is connected with first interface of described shared commutation circuit, and described main multimedia decoding chip is connected with one second interface of described shared commutation circuit respectively with auxilliary multimedia decoding chip.
In addition, the present invention also provides a kind of multichannel multimedia-on-demand machine, comprising: at least two multimedia decoding chips, each multimedia decoding chip are furnished with input equipment and audio frequency and/or the video playback apparatus of oneself; Be used to store the external data storage device of audio/video program; And the shared commutation circuit of said external data storage device, described external data storage device is connected with first interface of described shared commutation circuit, and each multimedia decoding chip is connected with one second interface of described shared commutation circuit.
After adopting switch circuit shared by external data storage device of the present invention, both realized the at random share and access of each computer system, and need not that again a data server is set and carry out share service, thereby significantly reduced cost hard disk.Simultaneously, need not afterwards to re-use the data transmission that traditional master control system is carried out repetition owing to used the said external data storage device to share commutation circuit, thereby can realize low cost, high stability, exempt to install, non-maintaining double screen multimedia-on-demand machine and multichannel multimedia-on-demand machine.
Description of drawings
The invention will be further described below in conjunction with drawings and Examples, in the accompanying drawing:
Hard disk in Fig. 1 a preferred embodiment of the invention is shared the principle schematic of commutation circuit;
Fig. 2 is to use hard disk of the present invention to share the principle schematic of the double screen multimedia-on-demand machine of commutation circuit;
Fig. 3 is to use hard disk of the present invention to share the principle schematic of the multichannel multimedia-on-demand machine of commutation circuit;
Fig. 4 is the sequential chart of 2 road bus state moderators corresponding with Fig. 1;
Fig. 5 is the logic schematic diagram of 2 road bus state moderators corresponding with Fig. 4;
Embodiment
Because each external data storage device interface has very big similarity, but and hard disk be the present magnanimity external data storage device of the most frequently used random read-write, so following to share commutation circuit with the hard disk of sharing the hard disk ATA interface bus be that example describes.
As shown in Figure 1, hard disk of the present invention is shared commutation circuit 101 mainly by bus state moderator 102 and ATA (Asynchronous Terminal Adapter, asynchronous communication terminal adapter) bus selection switch 103 formations.And is furnished with the first ata bus interface (being positioned at ata interface bus selection switch right side) that is used for being connected with hard disk, and a plurality of second ata bus interfaces (being positioned at ata interface bus selection switch left side) that are used for the computer system connection, these ata bus interfaces do not draw in the drawings, but only represent with corresponding ata bus (for example 107).
During concrete enforcement, wherein the bus state moderator both can be realized by universal logic circuit, also can use chip microcontroller, can be designed to 2 the road or multichannel according to application need.Here be example with 2 the tunnel, Fig. 4 is the sequential chart of 2 road bus state moderators, and DRQ0, DRQ1 are bus application signal among the figure, and DCK0, DCK1 are bus state signal, and SE0, SE1 are the selector switch signal.Following table 1 is the truth table of 2 road bus state moderators, and Fig. 5 is the logic schematic diagram of 2 road bus state moderators.
Table 1
DRQ0 DRQ1 DCK0 DCK1 SE0 SE1
H H H H H H
H H H
H H H
L X L H L H
X L H L H L
Annotate: wherein, H represents invalid, and L represents that effectively X represents free position, ↓ represent effective hopping edge.
The bus selection switch is realized by one group of bus buffer (as 74ACT245) or high-speed analog switch and correspondent peripheral circuit element.
As shown in fig. 1, the bus state moderator 102 main hard disk visit applications (being the bus application signal 105 that each computer system is sent) of being responsible for each computer system wherein, and feed back current hard disk and whether have other system to take, if do not have, then send switch and select signal 106, notice ata interface bus selection switch 103 is connected the ata interface bus of the current computer system that needs access hard disk and the ata interface bus of hard disk.If the computer system accesses of current accessed hard disk finishes, has cancelled the visit application, then bus state moderator 102 can select signal 106 notice ata interface bus selection switches 103 to disconnect corresponding the connection by switch, on off state is changed to the free time, waits for next hard disk application signal.
Ata interface bus selection switch 103 among Fig. 1 is that a N selects 1 selector switch, and it selects signal 106 according to the switch that the bus state moderator sends, and connects the ata interface bus of computer system thereof and the ata interface bus of hard disk.After the bus state moderator is cancelled switch selection signal, then disconnect the ata interface bus in connecting.
Switch state signal 104 among Fig. 1 has reflected whether computer system thereof successfully obtains the control of hard disk.Arbitrary computer system is when the needs access hard disk, and program requires to file an application to the bus state moderator earlier, detects this state then, after confirming successfully to have obtained the control of hard disk, just hard disk is operated.After work was finished, computer system must be cancelled this bus application signal.
As shown in Figure 1, propose hard disk visit application as computer system, and the bus state moderator is when confirming to visit, then bus state moderator 102 can send switch and select signal, after ata interface bus selection switch 103 receives this signal, can connect corresponding computer system and hard disk.When visit finishes, or computer system has been when having cancelled bus application signal, and the bus state moderator can be cancelled its switch and be selected signal, the connection between system and the hard disk that can cut off computer of ata interface bus selection switch.
Hard disk of the present invention is shared one of application of commutation circuit, is double screen multimedia-on-demand machine.
Double screen multimedia-on-demand machine is the widely used a kind of recreational facilities in present public place of entertainment, the port that is characterized in exportable one or more audio-video signal and graphical interfaces signal is connected to televisor and display respectively, the user is by input equipments such as telepilot or control panels, can on display, choose the program that oneself needs, then by double screen multimedia-on-demand machine according to user's input, by the corresponding program of television for play.
Traditional multimedia player mainly is made up of three major parts such as hard disk, central control system, multimedia decoding systems, connect by bus between the three, wherein hard disk is used for storing multi-medium data, the multimedia decoding part then is reduced to the data decode of obtaining audio-video signal output, and central control system is not only being born monitoring coherent system running, accepting extraneous Play Control information, function such as human-computer interaction interface is being provided, also be responsible for reading multi-medium data from hard disk, and then it be transferred to the multimedia decoding part by bus by bus.Introduce us and can see by top, central control system is in the status of core, having born a large amount of work, particularly lot of data need read and then be transferred to the multimedia decoding system from hard disk, and this part work has taken most times of central control system.
So traditional multi-media player adopts two class methods to solve this problem, first kind method is: the central control system part all is to adopt complete computer to realize.This has brought following problem: (1), cost height; Every planter must be made of the complete PC of a cover, because displaying video programs need consume a large amount of cpu resources, therefore requires the travelling speed of CPU higher.(2), poor stability, the failure rate height; Because PC compatible is generally assembled by loose mail, therefore can't guarantee the long-term stability of system.(3), technical requirement height; The software systems of planter are normally based on the exploitation of Windows or linux system, and its I﹠M all needs the personage of computer major to implement.
Second class methods are: central control system adopts Single Chip Microcomputer (SCM) system to realize, in order to reduce cost, even occurred the single-chip microcomputer and the scheme of the multimedia decoding system integration on an integrated circuit of central control system (are designated hereinafter simply as the multimedia process chip, because this class chip is in the extensive application of household electric appliances especially DVD player, price is all very cheap now), such system architecture is fairly simple, stable, but because the task of control system does not reduce, make us must use high performance single-chip microcomputer to realize, even if can not be to realize the good man-machine interaction interface when hard disk and multimedia decoding are partly carried data like this, still.The basic demand of so-called good herein human-computer interaction interface is meant and has realized putting more than five kinds broadcast mode at least, need real-time display program tabulation, directly choose the program that needs on screen by the client, and this process must manual intervention.
The hard disk of the application of the invention is shared commutation circuit, utilizes aforesaid multimedia process chip again, and available lower cost realizes high stable, exempt to install, non-maintaining, double screen multimedia-on-demand machine with good man-machine interaction interface.
As shown in Figure 2, the double screen multimedia-on-demand machine in the present embodiment is shared commutation circuit 204, hard disk 205 etc. and is partly formed by main multimedia decoding chip 201, auxilliary multimedia decoding chip 202, power unit, hard disk.
Main multimedia decoding chip 201 among Fig. 2 is responsible for receiving the manually-operated information that extraneous remote control, keyboard, control panel etc. are sent; The operation information, programme information, data, figure etc. that needs are offered man-machine interaction are sent to display and show; According to the rule and the requirement of program request, send the Play Control order to auxilliary multimedia decoding chip 202; According to operation and the needs that show from the hard disk reading of data.
202 of auxilliary multimedia decoding chips among Fig. 2 are used for the command execution corresponding work according to main multimedia decoding chip 201, for example read the audio, video data of specific program from hard disk, carry out decodes and plays etc.
Main multimedia decoding chip 201 among Fig. 2 can send number order to auxilliary multimedia decoding chip 202 by control bus 203, as orders it to play a certain first particular track, perhaps suspends and plays, switches sound accompaniment etc.
Hard disk among Fig. 2 is shared commutation circuit 204 to be provided when main multimedia decoding chip reads media library information, human-machine interactive information from hard disk, allows auxilliary multimedia decoding chip to read the ability of program audio, video data from hard disk.
Hard disk 205 among Fig. 2 is used for storing data such as various human-machine interactive informations, media information storehouse, multimedia file.
As seen, share commutation circuit by adopting hard disk, a large amount of multimedia audio-video data are directly obtained from hard disk 205 by auxilliary multimedia decoding chip 202, need not to re-use traditional master control system and repeat to transmit, only the main multimedia decoding chip of needs use is finished control corresponding, human-computer interaction function gets final product.Thereby when keeping the good man-machine interaction interface, realized low-cost, high stability, exempted to install, non-maintaining double screen multimedia-on-demand machine.
Two of the application of the shared commutation circuit of hard disk of the present invention is multichannel multimedia-on-demand machines.
The characteristics of multichannel multimedia-on-demand machine are: single library of programmes, can play the different media program of multichannel simultaneously, have relatively simple program request interface (being meant relatively simply that for aforementioned good program request interface difference is that the program request interface is literal interface but not graphical interfaces).Multichannel multimedia-on-demand machine generally adopts computer network system to realize, use a programs server to be used for programs stored, client can adopt PC or set-top box to play, traditional multichannel multimedia-on-demand machine system constructing complexity, the failure rate height, maintainable poor, need the software overhead of great number and need computer professional installation and maintenance.
Because the difference of multichannel multimedia-on-demand machine and two-way multimedia-on-demand machine only is the mechanical increase in the urban population of multimedia decoding number of chips, so followingly describe with two-way multimedia-on-demand machine.
As shown in Figure 3, this two-way multimedia-on-demand machine partly is made up of multimedia decoding chip 1#, multimedia decoding chip 2#, power unit, the shared commutation circuit of hard disk, hard disk etc.Each multimedia decoding chip can both be accepted the manually-operated information that own corresponding extraneous remote control, keyboard, control panel etc. send, play corresponding media program according to operation or system requirements (such as regularly playing), and provide simple human-computer interaction interface by OSD (the On Screen Display) function of multimedia decoding chip.Hard disk share commutation circuit then make a plurality of multimedia decoding chips can be separately access hard disk independently, reading of data is each multimedia decoding chip carrying data and do not need a high performance central control system.Thereby realized low-cost, high stability, exempted from installation, non-maintaining multichannel multimedia-on-demand machine.

Claims (8)

1. a switch circuit shared by external data storage device is characterized in that, comprising: first interface, a plurality of second interface, a bus state moderator and a bus selection switch;
Described first interface is connected with external data storage device;
Described bus state moderator, it is connected with described a plurality of second interfaces, but the bus application signal that the receiving computer system sends by any second interface, and send corresponding switch according to described bus application signal and select signal;
Described bus selection switch, it is connected between described first interface and each second interface, and select signal output part to be connected with the switch of described bus state moderator, can select signal to be communicated with according to described switch with between first interface and corresponding second interface, or disconnect being connected between first interface be in connected state and second interface, thereby being communicated with or disconnection between the computer system that realizes correspondence and the described external data storage device.
2. switch circuit shared by external data storage device according to claim 1, it is characterized in that, described bus state moderator also by corresponding signal lines to switch state signal of described each computer system output, with reflect current whether have between one second interface and first interface be in connected state.
3. switch circuit shared by external data storage device according to claim 1 is characterized in that, described bus state moderator can adopt universal logic circuit to realize, or adopts single-chip microcomputer to realize; Described bus selection switch is realized by one group of bus buffer or analog switch and correspondent peripheral circuit element.
4. according to each described switch circuit shared by external data storage device among the claim 1-3, it is characterized in that described external data storage device is hard disk storage devices, optical disc memory apparatus, MD card, SD card.
5. a double screen multimedia-on-demand machine is characterized in that, comprising:
Main multimedia decoding chip, the input equipment, the display device that are connected with described main multimedia decoding chip;
Auxilliary multimedia decoding chip, the audio frequency and/or the video playback apparatus that are connected with described auxilliary multimedia decoding chip;
Be used to store the external data storage device of audio/video program;
And, the described switch circuit shared by external data storage device of claim 1, described external data storage device is connected with first interface of described shared commutation circuit, and described main multimedia decoding chip is connected with one second interface of described shared commutation circuit respectively with auxilliary multimedia decoding chip.
6. double screen multimedia-on-demand machine according to claim 5 is characterized in that, described input equipment comprise in telepilot, keyboard or the control panel each or multinomial.
7. a multichannel multimedia-on-demand machine is characterized in that, comprising:
At least two multimedia decoding chips, each multimedia decoding chip are furnished with input equipment and audio frequency and/or the video playback apparatus of oneself;
Be used to store the external data storage device of audio/video program;
And described switch circuit shared by external data storage device of claim 1, described external data storage device is connected with first interface of described shared commutation circuit, and each multimedia decoding chip is connected with one second interface of described shared commutation circuit.
8. multichannel multimedia-on-demand machine according to claim 7 is characterized in that, described input equipment comprise in telepilot, keyboard or the control panel each or multinomial.
CNB2004100918433A 2004-12-24 2004-12-24 Switch circuit shared by external data storage device and application system Expired - Fee Related CN100388251C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2004100918433A CN100388251C (en) 2004-12-24 2004-12-24 Switch circuit shared by external data storage device and application system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2004100918433A CN100388251C (en) 2004-12-24 2004-12-24 Switch circuit shared by external data storage device and application system

Publications (2)

Publication Number Publication Date
CN1797377A CN1797377A (en) 2006-07-05
CN100388251C true CN100388251C (en) 2008-05-14

Family

ID=36818416

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2004100918433A Expired - Fee Related CN100388251C (en) 2004-12-24 2004-12-24 Switch circuit shared by external data storage device and application system

Country Status (1)

Country Link
CN (1) CN100388251C (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101853137B (en) 2009-03-31 2012-06-06 联想(北京)有限公司 Multi-hardware system data processing device and switching method thereof
WO2012140670A2 (en) * 2011-04-11 2012-10-18 Ineda Systems Pvt. Ltd Multi-host sata controller
TWI624828B (en) * 2016-08-09 2018-05-21 Multimedia device control system and remote control adapter
CN108874037B (en) * 2018-06-08 2020-09-11 山东超越数控电子股份有限公司 Domestic notebook three-screen display system and method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307462A (en) * 1990-09-28 1994-04-26 Hewlett-Packard Company Switch for sharing a peripheral device
CN1387645A (en) * 1999-11-05 2002-12-25 模拟装置公司 Bus architecture and shared bus arbitration method for communication processor
US20030110328A1 (en) * 2001-12-10 2003-06-12 Fujitsu Component Limited Computer and computer system having security features
KR20040037557A (en) * 2002-10-29 2004-05-07 한국전자통신연구원 Video on demand system using iSCSI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5307462A (en) * 1990-09-28 1994-04-26 Hewlett-Packard Company Switch for sharing a peripheral device
CN1387645A (en) * 1999-11-05 2002-12-25 模拟装置公司 Bus architecture and shared bus arbitration method for communication processor
US20030110328A1 (en) * 2001-12-10 2003-06-12 Fujitsu Component Limited Computer and computer system having security features
KR20040037557A (en) * 2002-10-29 2004-05-07 한국전자통신연구원 Video on demand system using iSCSI

Also Published As

Publication number Publication date
CN1797377A (en) 2006-07-05

Similar Documents

Publication Publication Date Title
US8103771B2 (en) Distributing processing apparatus, method, and system
CN101582206A (en) All-in-one machine for multimedia teaching
CN201993811U (en) Cloud fusion business intelligence terminal
CN201698602U (en) Multimedia teaching integrated machine
US6751742B1 (en) System for responding to a power saving mode and method thereof
CN102782666A (en) A dock for a portable hard disk and a method for accessing content on a host device using the dock
CN102609048B (en) Computer and method for playing audio and video files on demand
CN103034704A (en) Multimedia file search method, device and system
CN100388251C (en) Switch circuit shared by external data storage device and application system
CN100552657C (en) Audio media stores and playing device
CN101788888A (en) Method for realizing target end driver and target end driver
CN101262554A (en) A STB with USB interface
KR102643803B1 (en) Multi-host controller and semiconductor device including the same
CN202143179U (en) Set top box for digital teleputer
US20140330414A1 (en) System of an internet interactive service and operating method thereof
CN101226518B (en) Multicomponent self-organizing soft connecting assembly computer as well as self-organizing method thereof
CN102110065B (en) Cache system for reducing data transmission
CN201252597Y (en) Television
CN202677250U (en) Audio and video on demand computer
CN102236529A (en) Hybrid storage device with expandability, computer system and control method
CN1197017C (en) Internet equipment having DVD player function
CN2907131Y (en) Integrated TV with recording function
CN203376967U (en) Vehicle-mounted video-audio host having virtual optical disk function
CN203387610U (en) Household integrated display system
CN201252596Y (en) Television

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
C17 Cessation of patent right
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20080514

Termination date: 20111224