WO2012150267A1 - Communication de données par l'intermédiaire d'une interface de mémoire de masse usb - Google Patents

Communication de données par l'intermédiaire d'une interface de mémoire de masse usb Download PDF

Info

Publication number
WO2012150267A1
WO2012150267A1 PCT/EP2012/058040 EP2012058040W WO2012150267A1 WO 2012150267 A1 WO2012150267 A1 WO 2012150267A1 EP 2012058040 W EP2012058040 W EP 2012058040W WO 2012150267 A1 WO2012150267 A1 WO 2012150267A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
usb
terminal
device driver
mass storage
Prior art date
Application number
PCT/EP2012/058040
Other languages
German (de)
English (en)
Inventor
Markus Münzer
Original Assignee
Testo Ag
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 Testo Ag filed Critical Testo Ag
Publication of WO2012150267A1 publication Critical patent/WO2012150267A1/fr

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/10Program control for peripheral devices
    • G06F13/102Program control for peripheral devices where the programme performs an interfacing function, e.g. device driver
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices

Definitions

  • the invention relates to a type of data communication via USB (Universal Serial Bus), in particular to a continuous data transmission, in particular in real time, from a terminal, such as a meter, to a computer using a protocol that the USB Mass Storage Class (USB-MSC) specification.
  • USB Universal Serial Bus
  • USB-MSC USB Mass Storage Class
  • USB Universal Serial Bus
  • devclass_docs which standardizes the behavior of mass storage devices connected to the PC via USB (eg USB sticks, external hard disks, digital cameras, etc.) on the USB bus and their communication with a PC.
  • USB eg USB sticks, external hard disks, digital cameras, etc.
  • Static measurement data which is usually stored on the side of the measuring device in a file system (ie in folders and files), can thus be copied to the PC with the existing mass storage driver without prior driver installation, in a manner such as, for example, pictures of a digital camera ra be downloaded to a PC.
  • the object of the invention is, in addition to static data in the form of files also control commands and other data "on-line" on the same, on the PC standard existing USB mass storage class driver to transport, so that the additional installation of additional drivers is no longer necessary.
  • a system for the on-going transmission of data between a terminal and a computer comprises: a USB bus; a terminal that continuously generates data in operation and provides it continuously on a USB bus in accordance with the USB Mass Storage Class standard; a computer connected to the USB bus with a USB device driver that operates according to the USB Mass Storage Class standard and an application program designed to to continuously receive data generated by the meter from the USB bus using the device driver.
  • the method includes the steps of: invoking SCSI commands using an I / O Ctri system call provided by the device driver; Transfer the real-time data or commands via the USB device driver using SCSI commands provided by the device driver that are not needed to transfer folders and files.
  • a terminal with a USB interface is also described, which is designed to be connected to a computer via a USB bus and to continuously transmit data to and / or receive control data from it according to the above-mentioned method.
  • USB devices are assigned to different classes according to the USB standard. Devices belonging to the same class use the same device driver.
  • the measuring device according to the invention is assigned to the USB mass storage device class, also known as USB MSC or UMS.
  • the Mass-Sto rage protocol emulates a running on the SCSI (SCSI Small Computer System Interface) standard mass storage device.
  • SCSI Serial Small Computer System Interface
  • the necessary PC drivers for the most common operating systems Windows, MAC OS, Linux and BSD are standard components of the respective operating systems.
  • USB Mass Storage Class CWG
  • CWG USB Mass Storage Class
  • USB Mass Storage Class Control / Bulk / Interrupt Transport
  • the data is preferably made available according to this specification on the USB bus.
  • FIG. 1 shows, by way of example, the general data transmission principle from a measuring device to a computer
  • the method according to the invention for the continuous transmission of measured data in real time between a measuring device and a computer involves several steps. Initially, SCSI commands are invoked via an IoO system call that is implemented by the device driver. SCSI commands originally came from a protocol for devices that use the used parallel small-computer system interface (SCSI). The standardized SCSI instruction set provides a system to obtain information about a storage device and to write data blocks to the storage medium and read data.
  • SCSI commands originally came from a protocol for devices that use the used parallel small-computer system interface (SCSI).
  • SCSI instruction set provides a system to obtain information about a storage device and to write data blocks to the storage medium and read data.
  • Storage media using other hardware interfaces also use the SCSI instruction set (or at least parts of it) to perform the above functions.
  • the SCSI commands cover a large number of device types and functions. Most devices need only support a small number of SCSI commands to read from or write to mass storage. Different specifications for the SCSI commands used by mass storage devices can be found in a variety of sources.
  • the INCITS Technical Committee T10 defines the following specifications, among others:
  • SPC SCSI Primary Commands
  • SBC SCSI Block Commands
  • Each device issues a command set to a SCSI INQUIRY command, which defines the commands required for communication.
  • the commands required for the operation of USB mass storage devices see also online: www.t10.org/lists/opnumber.htm): INQUIRY,
  • USB stack is the component that enables communication between USB devices and the corresponding drivers.
  • the heart of the USB stack is the USB device manager, which can be used as a portal and manages both the connected USB devices and the USB drivers. With him, a driver can register with the responsible product and manufacturer ID.
  • the data is accessed on the computer side via a file system interface.
  • This programming interface also referred to as API, application programming interface
  • API application programming interface
  • application software application software, in short: app
  • This application software executes the file system calls and other system calls (File Access and Directory System Calls) to perform and control data exchange with the meter.
  • static data in the form of files and directories can be exchanged between the PC and the meter. If, as described above, optional SCSI commands not required for the file transfer are used, the real-time data and control commands can additionally be "tunneled" through the SCSI protocol, as described, whereby a continuous exchange of data between the measuring device takes place "on-line" and PC is enabled.
  • FIG. 2 shows an example of the difference between the data transmission according to the invention and the manner described in FIG.
  • static data files and folders
  • FIG. 1 shows a data system
  • file system a data system
  • FIG. 1 shows a data system
  • FIG. 1 shows a data system
  • FIG. 1 shows a data system
  • FIG. 1 shows a data system
  • FIG. 1 shows a data system
  • FIG. 1 shows a data system
  • the real-time data is transmitted to the computer by means of the identical USB mass storage driver. Installation of additional CDC or bulk drivers is therefore no longer necessary.
  • SCSI commands provided by the device driver are used, which are not required for the exchange of files and folders. however, are included in the standard SCSI instruction set.
  • Access to the data occurs on the computer side via a file system interface (i.e., a corresponding API of the operating system).
  • This programming interface is e.g. addressed via the normal file system calls fopen, fclose, fread, fwrite.
  • the USB stack provides communication between the meter and the driver being used and processes the sent packets at a low-level level.
  • the inventively implemented channels are bundled in the USB stack. Based on the additionally introduced channel numbers, the channel can distinguish which type of packet it is and how a sent packet should be further processed.
  • the data to be sent as real-time data is present only in a working memory.
  • File-based storage on the data storage would generally take too much time to ensure real-time transfer.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Systems (AREA)

Abstract

L'invention concerne un système de transmission continue de données entre un terminal et un ordinateur. Le système comprend : un bus USB; un terminal qui, en service, génère des données en continu et met celle-ci à disposition en continu sur un bus USB conformément à la norme USB-MSC (USB-Mass-Storage-Class: mémoire de masse USB); un ordinateur connecté au bus USB, comprenant un pilote de périphériques USB qui fonctionne selon la norme USB-MSC, et un programme d'application qui est conçu pour recevoir les données générées en continu par le dispositif de mesure à l'aide du pilote de périphériques du bus USB.
PCT/EP2012/058040 2011-05-02 2012-05-02 Communication de données par l'intermédiaire d'une interface de mémoire de masse usb WO2012150267A1 (fr)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE201110075096 DE102011075096A1 (de) 2011-05-02 2011-05-02 Datenkommunikation über USB-Mass-Storage-Interface
DE102011075096.7 2011-05-02

Publications (1)

Publication Number Publication Date
WO2012150267A1 true WO2012150267A1 (fr) 2012-11-08

Family

ID=46085903

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2012/058040 WO2012150267A1 (fr) 2011-05-02 2012-05-02 Communication de données par l'intermédiaire d'une interface de mémoire de masse usb

Country Status (2)

Country Link
DE (1) DE102011075096A1 (fr)
WO (1) WO2012150267A1 (fr)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9733838B2 (en) 2014-04-23 2017-08-15 Hermes-Comm S.R.L.S. Device and method of interface between devices or input/output peripherals and electronic computers

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1199874A2 (fr) * 2000-10-17 2002-04-24 Microsoft Corporation Système et procédé de commande d'appareils d'imagerie numériques de la classe à mémoire de masse
US20060190666A1 (en) * 2005-02-24 2006-08-24 Nec Electronics Corporation Computer system and control method of the same
US20070174534A1 (en) * 2006-01-24 2007-07-26 Standard Microsystems Corporation Transferring system information via universal serial bus (USB)
US7725628B1 (en) * 2004-04-20 2010-05-25 Lexar Media, Inc. Direct secondary device interface by a host
US7827258B1 (en) * 2004-03-01 2010-11-02 American Megatrends, Inc. Method, system, and apparatus for communicating with a computer management device

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3711432B2 (ja) * 1998-04-15 2005-11-02 セイコーエプソン株式会社 周辺処理装置およびその制御方法
US20060285559A1 (en) * 2005-06-16 2006-12-21 Chih-Hung Cheng Method for controlling host from device coupled thereto using universal serial bus and system thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1199874A2 (fr) * 2000-10-17 2002-04-24 Microsoft Corporation Système et procédé de commande d'appareils d'imagerie numériques de la classe à mémoire de masse
US7827258B1 (en) * 2004-03-01 2010-11-02 American Megatrends, Inc. Method, system, and apparatus for communicating with a computer management device
US7725628B1 (en) * 2004-04-20 2010-05-25 Lexar Media, Inc. Direct secondary device interface by a host
US20060190666A1 (en) * 2005-02-24 2006-08-24 Nec Electronics Corporation Computer system and control method of the same
US20070174534A1 (en) * 2006-01-24 2007-07-26 Standard Microsystems Corporation Transferring system information via universal serial bus (USB)

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
UNIVERSAL SERIAL BUS MASS STORAGE CLASS SPECIFICATION OVERVIEW, 19 February 2010 (2010-02-19)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9733838B2 (en) 2014-04-23 2017-08-15 Hermes-Comm S.R.L.S. Device and method of interface between devices or input/output peripherals and electronic computers

Also Published As

Publication number Publication date
DE102011075096A1 (de) 2012-11-08

Similar Documents

Publication Publication Date Title
DE10336877B3 (de) USB-basierendes Peripheriegerät und Verfahren zur Inbetriebnahme des USB-basierenden Peripheriegerätes
DE112007000101T5 (de) Verfahren zur Kommunikation mit einer Multifunktionsspeicherkarte
EP0917682B1 (fr) Interface souple
DE102012214324B4 (de) Verfahren und Vorrichtung zur Erleichterung der Datenüberprüfung mithilfe einer Prüfsumme in Verbindung mit einem Sidefile
EP2427817B1 (fr) Procédé d'accès à un support de données mémoire à module supplémentaire et support de données mémoire
DE10352051A1 (de) Datenübertragungskabel und Verfahren zum Übertragen von Daten mit einem Übertragungskabel
DE112008001168T5 (de) System und Verfahren zum gemeinschaftlichen Verwenden eines Druckers
DE112016000218T5 (de) System und Verfahren zur Darstellung von Treiberinstallationsdateien bei Aktivierung einer USB-Vorrichtung
EP2342640A1 (fr) Support de mémoire présentant différentes possibilités d'accès
WO2012150267A1 (fr) Communication de données par l'intermédiaire d'une interface de mémoire de masse usb
DE102008059352A1 (de) Speicherzugriff auf einen portablen Datenträger
EP1730631B1 (fr) Procede de configuration specifique utilisateur d'un ordinateur d'un groupe d'ordinateurs prestructures
EP2948894B1 (fr) Procédé d'effacement sûr d'une mémoire de masse semi-conductrice non volatile, système informatique et produit-programme d'ordinateur
WO2005124517A2 (fr) Premier terminal de communication de donnees avec au moins un deuxieme terminal faisant intervenir des pilotes d'appareils stockes et executables dans une memoire non-volatile du premier terminal
DE602004005619T2 (de) Vorrichtung und verfahren zur bereitstellung von informationen aus einem ersten informationsspeicher- und abrufsystem für ein zweites informationsspeicher- und abrufsystem
EP3316514B1 (fr) Appareil de mesure de processus comprenant une unité de mémoire enfichable
EP2618114B1 (fr) Extraction de valeurs de mesure, d'informations de diagnostic ou de paramètres d'appareils
DE102015118522A1 (de) Verfahren und Vorrichtung zum beschleunigten Ausführen von Applikationen
EP1837756A2 (fr) Module de raccordement
EP3926450B1 (fr) Génération dynamique d'une compatibilité des systèmes de fichiers en temps réel
EP2150884B1 (fr) Accès à la mémoire de masse d'un support de données portable
DE19546380A1 (de) Vorrichtung zum Anschluß optischer Plattenwechsler an einen Rechner und Verfahren zu deren Betrieb
DE202015102285U1 (de) Computersystem und Speichervorrichtung zum Bereitstellen wenigstens eines Datenträgers
DE102015004319A1 (de) Verfahren zum Unterstützen einer Installation einer Applikation
EP2048856B1 (fr) Procédé destiné au fonctionnement d'une unité de traitement de données

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: 12721444

Country of ref document: EP

Kind code of ref document: A1

122 Ep: pct application non-entry in european phase

Ref document number: 12721444

Country of ref document: EP

Kind code of ref document: A1