WO2008095408A1 - Système et procédé pour fournir automatiquement en sortie le contenu de plusieurs dispositifs de stockage dans une séquence prédéterminée - Google Patents

Système et procédé pour fournir automatiquement en sortie le contenu de plusieurs dispositifs de stockage dans une séquence prédéterminée Download PDF

Info

Publication number
WO2008095408A1
WO2008095408A1 PCT/CN2008/000234 CN2008000234W WO2008095408A1 WO 2008095408 A1 WO2008095408 A1 WO 2008095408A1 CN 2008000234 W CN2008000234 W CN 2008000234W WO 2008095408 A1 WO2008095408 A1 WO 2008095408A1
Authority
WO
WIPO (PCT)
Prior art keywords
module
output
storage device
external storage
order
Prior art date
Application number
PCT/CN2008/000234
Other languages
English (en)
French (fr)
Inventor
Xuefeng Cai
Original Assignee
Netac Technology 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 Netac Technology Co., Ltd. filed Critical Netac Technology Co., Ltd.
Publication of WO2008095408A1 publication Critical patent/WO2008095408A1/zh

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11CSTATIC STORES
    • G11C7/00Arrangements for writing information into, or reading information out from, a digital store
    • G11C7/10Input/output [I/O] data interface arrangements, e.g. I/O data control circuits, I/O data buffers
    • G11C7/1015Read-write modes for single port memories, i.e. having either a random port or a serial port
    • G11C7/1018Serial bit line access mode, e.g. using bit line address shift registers, bit line address counters, bit line burst counters
    • G11C7/1027Static column decode serial bit line access mode, i.e. using an enabled row address stroke pulse with its associated word line address and a sequence of enabled bit line addresses

Definitions

  • the present invention relates to a system and method for outputting content in a storage device, and more particularly to a system and method capable of sequentially outputting a plurality of storage devices in a predetermined order.
  • the present invention has been made in view of the above-discussed deficiencies in the prior art, and an object thereof is to provide a system and method capable of automatically outputting contents in a plurality of storage devices in a predetermined order.
  • a system for outputting content in a storage device may include an enumeration module, a control module, and an output module, wherein the enumeration module is configured to enumerate at least one external storage device,
  • the control module controls the output module to output information in the external storage device enumerated by the enumeration module in a specific order.
  • a method of outputting information in an external storage device may include: enumerating at least one external storage device; setting an output in the external storage device enumerated in a specific order The order of the information; and outputting the information in the enumerated external storage device according to the specific order. The order of one less external storage device.
  • FIG. 1 shows a system capable of sequentially outputting a plurality of storage devices in a predetermined order according to a preferred embodiment of the present invention
  • Fig. 2 shows a method of automatically outputting a plurality of storage devices in a predetermined order in accordance with a preferred embodiment of the present invention.
  • System 1000 is a system 1000 capable of automatically outputting a plurality of storage devices in a predetermined order in accordance with a preferred embodiment of the present invention.
  • System 1000 includes a memory interface module 100, an enumeration module 200, a setting module 300, a control module 400, and an output module 500.
  • the memory interface module 100 is for communicating with one or more external storage devices (not shown).
  • the memory interface module 100 can support any well-known interface protocol, such as RS232-C, USB, and the like.
  • RS232-C RS232-C
  • USB Universal Serial Bus
  • the memory interface module 100 can be implemented in a variety of well-known prior art.
  • the memory interface module 100 can have an interface hub unit and interface converter depending on the type and number of external storage devices. Unit to communicate with external storage devices of multiple different interface types. Since the interface hub unit and the interface converter unit are well known in the art, they are not described herein.
  • the enumeration module 200 is coupled to the system of the present invention by the memory interface module 100
  • the connected external storage device is enumerated, that is, the descriptor of the external storage device is obtained.
  • the enumeration module 200 obtains a descriptor of the external storage device through a driver of the external storage device.
  • the setting module 300 sets the order in which the information in the external storage device is output, that is, the output control information, based on the results of the enumeration module 200 enumeration.
  • the output control information can be in the form of a file or a set of data structures. When the output control information is a set of data structures, it may be a character string formed of only a few hundred bytes and stored in the EEPROM of the control module 400. When the output control information exists as a file, it can be stored in a hidden area of the system 1000, such as an internal EEPROM (not shown) of the system 1000 or an external flash (Flash).
  • the control module 400 controls the output module 500 to output information stored in the external storage device according to the output control information set by the setting module 300.
  • the system 1000 of the present invention can be set to operate in a default mode of operation or a user customized mode.
  • the two modes of operation of the present invention will be described below in the form of output control information as a character string. ⁇
  • the setting module 300 sequentially sets the output ordering according to the order in which the enumerating module 200 enumerates the external storage devices. For example, when with A,
  • the enumeration modules 200 are randomly enumerated to the four devices in the order of, for example, B - C - D - A, and the setting module 300 outputs the storage devices eight, B, and C.
  • the order of D and D defaults to B - C - D - A, and generates, for example, the control string "BCAD".
  • the control module 400 parses the control string "BCAD" and then controls the output module 500 to output the information in the storage devices A, B, C, and D based on the result of the parsing. Specifically, the control module 400 first parses the first character of the control string to B, and then the command output device 500 first outputs the information in the storage device A.
  • control module 400 parses the second character of the control string to C, and then the command output device 500 outputs the information in the storage device C. And so on, when the control module 400 resolves to the end of the control string, it will return to the control string "BCAD" Re-execute the above processing at the beginning. Therefore, the output module 500 will sequentially output the information in the four external devices in the order of B-C-D-A-B-C-D-A....
  • the control module 400 can set the output order according to the needs of the user. For example, when the user desires to output information in the external storage devices 8, B, C, and D in the order of C-D-B-A, the setting module 300 may generate, for example, a control string "CDBA", then the control module 400 may The generated control string control output module 500 sequentially outputs the information in the external storage device in the order of C_D-B-A-C-D-B-A... as described above.
  • the setting module 300 can set the order of outputting external storage devices in any order. For example, in some specific applications, it may be necessary to increase the frequency of outputting an external storage device. For example, people store different advertisements on different storage devices A, B, C, and D, but need to store the output.
  • the frequency of device B is set to twice the frequency of outputting other storage devices.
  • the setting module 300 can set the output order to C-D_B-A-B-C-D-B-A-B.. ., that is, the control string "CDBABCDBAB...,.” is formed. This increases the flexibility of the system to output external devices.
  • the present invention does not particularly limit the size of the character string, and those skilled in the art can set it according to the particular application and the characteristics of the selected system component.
  • the enumeration module 200, the setting module 300, and the control module 400 are shown as separate components from each other, those skilled in the art will appreciate that they may be integrated Hardware. Alternatively, the enumeration module 200 and the setup module 300 may also be present entirely in software in the control module 400.
  • step S2100 the system 1000 performs an initialization operation.
  • the system initialization operation includes setting the playback mode of the system, that is, the system works in the default working mode or User-customized mode.
  • the external storage device is enumerated in step S2200. It is then determined in step S2300 whether the system 1000 is set to the default operating mode. If the system is set to the default mode, then in step S2400, output control information is generated in accordance with the order enumerated to the external device. Otherwise, in step S2500, corresponding output control information is generated according to user requirements.
  • the output control information generated in step S2400 or S2500 is then parsed in step S2600. Finally, in step S2700, the information in the external storage device is automatically output according to the parsed result.

Description

输出多个存储装置中的内容的系统和方法 技术领域
本发明涉及一种输出存储装置中的内容的系统和方法, 尤其 涉及一种能够按照预定的顺序依次输出多个存储装置的系统和方 法。 背景技术
随着存储技术的不断发展, 出现了各种各样的便携式和 /或即 插即用的存储装置。 人们通常将各种信息存储在这些存储装置上, 并在需要时将它们插在输出装置上进行输出。 随着人们对信息输 出的需求越来越多样化, 已经开发出了各种输出装置或系统, 并 应用于各种领域。 然而, 当现有的输出装置或系统连接有多个存 储设备时, 只能选择其中的一个进行操作, 而当要对其它存储设 备进行操作时, 需要重新选择操作, 显然, 这已经远不能够满足 人们对信息输出的越来越多样化的需要。 发明内容
本发明针对现有技术中存在的上述不足提出, 其目的在于提 供一种能够按照预定的顺序自动输出多个存储装置中内容的系统 和方法。
根据本发明的一方面,提供了一种输出存储装置中内容的系统, 可包括枚举模块、 控制模块和输出模块, 其中, 所述枚举模块用于枚 举至少一个外部存储设备,所述控制模块控制所述输出模块按照特定 顺序, 输出所述枚举模块枚举到的外部存储设备中的信息。
根据本发明的另一方面, 提供了一种输出外部存储设备中信息 的方法, 可包括: 对至少一个外部存储设备进行枚举; 按照特定顺序 设定输出所枚举到的外部存储设备中的信息的顺序;以及根据所述特 定顺序输出所枚举到的外部存储设备中的信息。 少一个外部存储设备的顺序。
根据本发明 , 可以将不同的内容按照不同的输出需求放在不 同的存储器中, 这可以极大地提高系统输出的灵活性, 同时不用 改动任何软件和硬件并减少了软、 硬件的测试和修改成本。 例如, 当将本发明应用到广告机中时, 如果要添加广告, 只需多插一个 外部存储器 (例如, SD/MMC 卡) 就可以了; 如果只输出一个广 告, 只需把其他的卡拔掉或禁用即可; 以及如果要增加输出某一 个广告的频率, 只需在排列输出顺序时, 只需将存储要提高输出 频率的广告的存储卡多排几次即可。 附图说明
图 1 示出了根据本发明一个优选实施方式的、 能够按照预定 顺序依次输出多个存储装置的系统; 以及
图 2 示出了本发明一个优选实施方式的、 按照预定顺序自动 输出多个存储装置的方法。 具体实施方式
图 1 为根据本发明一个优选实施方式的、 能够按照预定顺序 自动输出多个存储装置的系统 1000。 系统 1000包括存储器接口模 块 100、 枚举模块 200、 设定模块 300、 控制模块 400和输出模块 500。
存储器接口模块 100 用于和一个或多个外部存储设备(未示 出) 进行通信。 存储器接口模块 100可支持任意公知的接口协议, 例如 RS232 - C、 USB等。 本领域的技术人员应该理解, 可以具有 各种公知的现有技术来实现存储器接口模块 100, 例如, 存储器接 口模块 100 可根据外部存储设备的类型和数量具有接口集线器 ( hub )单元和接口转换器单元, 以实现和多个不同接口类型的外 部存储设备进行通信。 由于接口集线器单元和接口转换器单元为 本领域公知的技术, 所以在此不再赘述。
枚举模块 200通过存储器接口模块 100对与本发明的系统相 连的外部存储设备进行枚举, 即, 获得外部存储设备的描述符。 优选地, 枚举模块 200 通过外部存储设备的驱动程序获得外部存 储设备的描述符。
设定模块 300根据枚举模块 200枚举的结果, 设定输出外部 存储设备中信息的顺序, 即, 生成输出控制信息。 输出控制信息 可以是文件的形式, 也可以是一组数据结构。 当输出控制信息是 一组数据结构时, 可以是仅由几百个字节形成的一段字符串, 并 存储在控制模块 400的 EEPROM中。 当输出控制信息以文件形式 存在时, 可以将其存储于系统 1000的隐藏区, 如系统 1000的内 部 EEPROM (未示出) 或外接的闪存 (Flash ) 等。 控制模块 400根据设定模块 300设定的输出控制信息, 控制 输出模块 500输出存储在外部存储设备中信息。
本发明的系统 1000可被设定为以默认工作模式或用户定制模 式工作。 下面以输出控制信息为字符串的形式来说明本发明的这 两种工作模式。 ―
当用户选择默认工作模式时,设定模块 300根据枚举模块 200 对外部存储设备枚举的顺序依次设定输出排序。 例如, 当具有 A、
B、 C和 D四个外部设备时, 枚举模块 200随机地按照例如 B - C - D - A的顺序枚举到这四个设备, 则设定模块 300将输出存储设 备八、 B、 C和 D的顺序默认为 B - C - D - A, 并生成例如控制字 符串 "BCAD"。 控制模块 400解析控制字符串 "BCAD", 然后根 据解析的结果控制输出模块 500输出存储设备 A、 B、 C和 D中的 信息。 具体地, 控制模块 400 首先解析到该控制字符串的第一个 字符为 B, 则命令输出设备 500首先输出存储设备 A中的信息。 接着控制模块 400解析到控制字符串的第二个字符为 C,则命令输 出设备 500输出存储设备 C中的信息。依此类推, 当控制模块 400 解析到该控制字符串的结尾标志时, 将回到控制字符串 "BCAD" 的开头重新执行上述处理。 因此, 输出模块 500将按照 B- C- D - A - B - C - D - A...的顺序依次输出这四个外部设备中的信息。
当选取用户定制模式时, 控制模块 400 可根据用户的需要设 定输出顺序。 例如当用户期望按照 C- D- B- A的顺序输出外部 存储设备八、 B、 C和 D中的信息时, 设定模块 300可生成例如控 制字符串 "CDBA", 则控制模块 400可根据生成的控制字符串控 制输出模块 500按照 C_D- B- A- C- D- B - A...的顺序依次输 出外部存储设备中的信息, 如上所述。
设定模块 300 可按照任意的顺序设定输出外部存储设备的顺 序。 例如, 在某些特定的应用场合, 可能需要增加输出某个外部 存储设备的频率, 例如, 人们将不同广告的内容存放在不同的存 储设备 A、 B、 C和 D上, 但需要将输出存储设备 B的频率设定为 输出其他存储设备的频率的两倍, 这时, 设定模块 300 可以将输 出顺序设定为 C- D_B- A- B- C- D- B- A- B..., 即形成控 制字符串 "CDBABCDBAB...,,。 这样, 增加了系统输出外部设备 的灵活性。
在这里, 本发明对字符串的大小并未作特殊的限制, 本领域 的技术人员可以根据特殊的应用和所选用的系统组件的特性来对 其设定。
另外, 上面例举了输出控制信息是字符串形式时的控制操作, 控制信息为文件形式时的情形与其类似, 因此不再赘述。
此外, 虽然在图 1中所示的实施方式中, 枚举模块 200、 设定 模块 300、 控制模块 400被示为与相互独立的部件, 但本领域的技 术人员应该理解, 它们可以为集成一体的硬件。 作为一种选择, 枚举模块 200和设定模块 300还可以完全以软件的形式存在于控 制模块 400中。
下面将参照图 2描述根据本发明的按照预定顺序自动输出多 个存储设备中的信息中的方法。
首先在步骤 S2100, 系统 1000进行初始化操作。 系统初始化 操作包括设定系统的播放模式, 即, 系统工作在默认工作模式或 用户定制模式。 在步骤 S2200对外部存储设备进行枚举。 然后在 步骤 S2300判断系统 1000是否被设置为默认工作模式。 如果系统 被设定为默认模式, 则在步骤 S2400, 根据枚举到外部设备的顺序 生成输出控制信息。 否则, 在步骤 S2500, 根据用户需求生成相应 的输出控制信息。 然后在步骤 S2600解析在步骤 S2400或 S2500 中生成的输出控制信息。 最后在步骤 S2700, 根据解析的结果自动 输出外部存储设备中的信息。
以上根据本发明的优选实施方式描述了本发明, 但是本领域 的技术人员应该理解, 本发明并不局限于此, 可以在本发明公开 内容教导下对本发明进行各种修改和替换。 这种修改和替换落入 权利要求书限定的本发明的范围内。

Claims

权利要求:
1. 一种输出存储装置中信息的系统, 包括枚举模块、 控制模块 和输出模块, 其中, 所述枚举模块用于对连接到所述系统的至少一个 外部存储设备进行枚举,所述控制模块控制所述输出模块按照特定顺 序, 输出所述枚举模块所枚举到的外部存储设备中的信息。
2. 如权利要求 1 所述的系统, 还包括用于设定所述特定顺序的 设定模块。
3. 如权利要求 2所述的系统, 其中所述特定顺序为用户期望输 出存储于所述至少一个外部存储设备中的信息的顺序。
4. 如权利要求 2所述的系统, 其中所述特定顺序为所述枚举模 块枚举所述至少一个外部存储设备的顺序。
5. 如权利要求 1所述的系统, 还包括存储器接口模块, 所述至 少一个外部存储设备通过所述存储器接口模块与所述系统相连, 其 中, 所述存储器接口模块被构造为能够与任意公知的存储设备相 连。
6. 如权利要求 1所述的系统, 其中所述特定顺序保存于字符串, 所述控制模块通过解析所述字符串来控制所述输出模块输出外部存 储设备中的信息的顺序。
7. 如权利要求 1 所述的系统, 其中所述特定顺序保存于文件, 所述控制模块通过解析所述文件控制所述输出模块输出外部存储设 备中的信息的顺序。
8. 一种输出外部存储设备中信息的方法, 包括: 对至少一个外部存储设备进行枚举;
按照特定顺序设定输出所枚举到的外部存储设备中的信息的顺 序; 以及
根据所述特定顺序输出所枚举到的外部存储设备中的信息。
9. 如权利要求 8 所述的方法, 其中, 所述特定顺序根据用户需 要设定。
10. 如权利要求 8所述的方法, 其中, 所述特定顺序为枚举到所 述至少一个外部存储设备的顺序。
PCT/CN2008/000234 2007-02-02 2008-01-30 Système et procédé pour fournir automatiquement en sortie le contenu de plusieurs dispositifs de stockage dans une séquence prédéterminée WO2008095408A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN200710003299.6 2007-02-02
CNA2007100032996A CN101236479A (zh) 2007-02-02 2007-02-02 输出多个存储装置中的内容的系统和方法

Publications (1)

Publication Number Publication Date
WO2008095408A1 true WO2008095408A1 (fr) 2008-08-14

Family

ID=39681262

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2008/000234 WO2008095408A1 (fr) 2007-02-02 2008-01-30 Système et procédé pour fournir automatiquement en sortie le contenu de plusieurs dispositifs de stockage dans une séquence prédéterminée

Country Status (2)

Country Link
CN (1) CN101236479A (zh)
WO (1) WO2008095408A1 (zh)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2000151423A (ja) * 1998-11-09 2000-05-30 Nec Corp パラレルシリアル変換装置およびパラレルシリアル変換方法
CN1377040A (zh) * 2001-03-22 2002-10-30 富士通株式会社 半导体存储器装置及信息处理系统
CN1155967C (zh) * 1997-06-25 2004-06-30 英特尔公司 输出数据的方法、存储器装置和设备
US20050233123A1 (en) * 1998-01-13 2005-10-20 3M Innovative Properties Company Anti-reflective thin film constructions

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1155967C (zh) * 1997-06-25 2004-06-30 英特尔公司 输出数据的方法、存储器装置和设备
US20050233123A1 (en) * 1998-01-13 2005-10-20 3M Innovative Properties Company Anti-reflective thin film constructions
JP2000151423A (ja) * 1998-11-09 2000-05-30 Nec Corp パラレルシリアル変換装置およびパラレルシリアル変換方法
CN1377040A (zh) * 2001-03-22 2002-10-30 富士通株式会社 半导体存储器装置及信息处理系统

Also Published As

Publication number Publication date
CN101236479A (zh) 2008-08-06

Similar Documents

Publication Publication Date Title
USRE46488E1 (en) Direct data transfer between slave devices
US7266640B2 (en) Memory card authentication system, capacity switching-type memory card host device, capacity switching-type memory card, storage capacity setting method, and storage capacity setting program
US7454530B2 (en) System and method to facilitate native use of small form factor devices
US8438376B1 (en) Method and system for providing a modular server on USB flash storage
JP5801380B2 (ja) 段階的nandパワーオンリセット
US20180024954A1 (en) Apparatus and methods for dynamic role switching among usb hosts and devices
JP2006514761A (ja) Spi互換のシリアルメモリデバイスを識別するための方法
KR20120118038A (ko) 휴대용 저장 인터페이스
US20080244127A1 (en) Computer interface controller for portable plug-and-play peripherals
US20080126593A1 (en) Expansion module for a USB port and a method thereof
TW200937193A (en) Addressing multiple devices on a shared bus
US6748515B1 (en) Programmable vendor identification circuitry and associated method
US7461177B2 (en) Device functionalities negotiation, fallback, backward-compatibility, and reduced-capabilities simulation
JP2010282617A (ja) 接続バス、電子装置及びシステム
US20080235428A1 (en) Method and system for dynamic switching between multiplexed interfaces
US6715041B2 (en) Non-volatile memory device with multiple ports
WO2008095408A1 (fr) Système et procédé pour fournir automatiquement en sortie le contenu de plusieurs dispositifs de stockage dans une séquence prédéterminée
US20060069813A1 (en) Self-configuring peripheral interface system, peripheral device therefor and interface method
CN103106637A (zh) 标准gpu模块、包含模块的系统和用于驱动系统的方法
CN105573940B (zh) 一种sdio接口外设的自动探测方法及装置
CN108989117B (zh) 通信协议的配置方法、无线通信装置和家用电器
US8069448B2 (en) Computer interface controller for peripheral devices
WO2004008313A1 (en) Usb device
JP2007226380A (ja) 不揮発性メモリカード
US7085877B1 (en) Method and apparatus for combination host bus adapter

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 08706429

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 08706429

Country of ref document: EP

Kind code of ref document: A1