WO2003058911A1 - Establishing communication between a tcp/ip network and an electric terminal without implemented tcp/ip protocols - Google Patents

Establishing communication between a tcp/ip network and an electric terminal without implemented tcp/ip protocols Download PDF

Info

Publication number
WO2003058911A1
WO2003058911A1 PCT/DE2003/000045 DE0300045W WO03058911A1 WO 2003058911 A1 WO2003058911 A1 WO 2003058911A1 DE 0300045 W DE0300045 W DE 0300045W WO 03058911 A1 WO03058911 A1 WO 03058911A1
Authority
WO
WIPO (PCT)
Prior art keywords
tcp
interface
protocols
communication device
command
Prior art date
Application number
PCT/DE2003/000045
Other languages
German (de)
French (fr)
Inventor
Frank GÜNTHER
Felix Klamroth
Original Assignee
Siemens Aktiengesellschaft
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 Siemens Aktiengesellschaft filed Critical Siemens Aktiengesellschaft
Publication of WO2003058911A1 publication Critical patent/WO2003058911A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/04Protocols specially adapted for terminals or networks with limited capabilities; specially adapted for terminal portability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • H04L69/161Implementation details of TCP/IP or UDP/IP stack architecture; Specification of modified or new header fields
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/16Implementation or adaptation of Internet protocol [IP], of transmission control protocol [TCP] or of user datagram protocol [UDP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/30Definitions, standards or architectural aspects of layered protocol stacks
    • H04L69/32Architecture of open systems interconnection [OSI] 7-layer type protocol stacks, e.g. the interfaces between the data link level and the physical level
    • H04L69/322Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions
    • H04L69/329Intralayer communication protocols among peer entities or protocol data unit [PDU] definitions in the application layer [OSI layer 7]

Definitions

  • the invention relates to a method and a communication device for communicating between a TCP / IP network and an electronic terminal without implemented TCP / IP protocols or a so-called “TCP / IP stack”.
  • a protocol stack is understood to mean all of them Possible interacting and coordinated protocols that cover and enable a complete communication relationship.
  • TCP / IP protocols form the basis for communication on the Internet and also in an intranet of a company.
  • IP stands for Internet Protocol
  • TCP Transmission Control Protocol.
  • TCP / IP network Electronic end devices, also referred to as so-called “client applications”, which use communication devices in order to gain access to a TCP / IP network, such as for example the Internet or an intranet of a company, require their own implemented TCP / IP stack in order to communication with the front TCP / IP network to be able to take.
  • client applications which use communication devices in order to gain access to a TCP / IP network, such as for example the Internet or an intranet of a company
  • client applications require their own implemented TCP / IP stack in order to communication with the front TCP / IP network to be able to take.
  • the implementation of a TCP / lP stack requires a lot of resources, such as working memory, so-called RAM (Random Access Memory), computing power and high development effort.
  • RAM Random Access Memory
  • all applications on a PDA that want to use a GPRS mobile device with GPRS require their own TCP / IP stack.
  • Many client applications do not have the option to implement
  • an electricity meter can be given that sends a measured electricity consumption to a control center. It could be desirable be worth it to construct the electricity meter quite simply, which would not be possible by providing a TCP / IP stack at the same time.
  • the cordless sending of the data could be provided as an additional option, such as a configuration variant.
  • a communication device must be provided in order to be able to grant access to the Internet. In order to make the connection of the electricity meter to the Internet as easy as possible, all communication-specific software
  • Integrate L0 protocols in the communication device is a toll device, such as a coupling of a GPS module for determining the position of a vehicle with a communication device.
  • the position of the vehicle can be sent to a person via the Internet
  • L5 control center can be sent, which can then calculate the applicable road use fees. It is also desirable not to have to expand the insufficient resources in the GPS module.
  • TCP / IP stack it is known to implement a TCP / IP stack in the client application.
  • a TCP / IP stack is implemented in all notebooks or PDAs that can be used to connect to the Internet via a mobile phone.
  • the notebook or the PDA is connected via a serial
  • IRDA wireless serial infrared connection
  • a communication device with implemented TCP / IP protocols, a command interface and a serial interface is provided, the communication device by means of a cooperation of the command L5 interface and the implemented TCP / IP protocols for communicating an electronic terminal device without an implemented one TCP / IP protocols can be used with a TCP / IP network.
  • the electronic terminal can be, for example, a PDA, a measuring device, such as an electricity meter or a weather station, a control unit, such as a lighting system, a vending machine or a cash register terminal for
  • the command interface is an AT interface or a so-called AT-0 interface.
  • Such an AT interface can be controlled with so-called AT commands.
  • the AT commands can be entered in a display of the electronic terminal and sent to the communication device via the serial interface become.
  • Communication device receives the AT commands, interprets their content and solves the underlying underlying the AT commands
  • the AT command set is a command set developed by the Hayes company (Hayes command set) for controlling, for example, a modem, a module or similar L0 functional units.
  • This command set begins with the AT command, for attention, from which the name is derived.
  • This instruction set has developed as a quasi-standard.
  • the interaction of the command interface and the implemented TCP / IP protocols is program-controlled.
  • an algorithm is provided with the aid of which the TCP / IP stack implemented in the communication device can also be used for external electronic
  • TCP / IP network such as the Internet or an intranet of a company.
  • the corresponding procedure can be carried out in the reverse direction, i.e. from a TCP / IP network to the terminal.
  • the functional interface of the TCP / lP stack is switched to the AT
  • TCP / IP protocol can be run.
  • the communication device preferably belongs to a group of devices consisting of modules, telephones and modems.
  • the communication device according to the invention can preferably be used in a group of communication systems consisting of GSM, GPRS, Bluetooth, EDGE, UMTS, DECT, HOMEFREE.
  • the invention provides a method for communicating between a TCP / IP network and an electronic terminal, in which a communication device with implemented TCP / IP protocols, a command interface, between the electronic terminal and the TCP / IP network and a serial interface is arranged, the implemented TCP / IP protocols and the command interface interacting under program control.
  • An AT interface or a so-called AT interface is preferably selected as the command interface.
  • the interaction of the TCP / IP protocols or the so-called TCP / IP stack with the AT interface is achieved by an algorithm implemented by AT commands.
  • This algorithm maps the TCP / IP interface to the AT interface, so that communication between a terminal device without an implemented TCP / IP stack and a TCP / IP network is possible via a corresponding communication device.
  • the process according to the invention is preferably carried out in one
  • Communication system carried out which belongs to a group of communication systems, which consists of GSM, GPRS, EDGE, Bluetooth, UMTS, DECT and HOMEFREE.
  • Example A Picking up an email from a POP3 server
  • a communication profile is created that contains all the necessary data to establish a connection to the Internet via an Internet service provider.
  • a connection ID is assigned to each configuration profile.
  • connection for the corresponding communication profile is established with the following command, i.e. the terminal device according to the invention is then connected to the Internet.
  • FIG.l Schematic representation of an interaction of an electronic terminal without an implemented TCP / ip stack with an embodiment of a communication device according to the invention
  • FIG. 2 Schematic representation of an interaction of an electronic terminal without an implemented TCP / IP stack with a further embodiment of a communication device according to the invention.
  • a communication device 1 is connected to an electronic terminal 3 via a serial interface 2.
  • the electronic terminal 3 can control the communication device 1 by sending defined character strings, so-called AT commands, via the serial interface 2.
  • the electronic terminal can receive 3 character strings on the interface 2. This can be data or a signaling of the communication device 1.
  • the AT commands sent by the electronic terminal 3 are commands which control the functions of a TCP / IP protocol.
  • the program part in the electronic terminal 3 which sends the AT commands can thus establish a connection to the Internet 5 via a TCP / IP stack 4 of the communication device 1 and act both as an Internet client and as an Internet server.
  • the AT commands are evaluated by a so-called AT interface 6 and the corresponding functions of the TCP / IP protocol are called up. If the electronic terminal 3 wants to send data to the Internet 5 in a program sequence, these data are packaged in IP packets with the aid of these functions. In order to send these IP packets to the Internet 5, the communication device 1 has the option of using different communication protocols, such as GSM, GPRS or UMTS, a connection to
  • a serial interface 2 is provided with a multiplex protocol 7.
  • the multiplex protocol 7 enables several logical channels 8 to be used via the serial interface 2, which corresponds to a physical channel.
  • a logical channel 8 is assigned to each Internet application 9 in the electronic terminal 3.
  • the Internet application can send the TCP / IP-AT commands or send or receive data via this respective channel 8.
  • a multiplex protocol 10 is also provided in the communication device 1.
  • Each logical multiplexer channel 11 is assigned an instance 12 of the AT interface 6, that is to say the program part that recognizes the TCP / IP AT commands and calls the corresponding functions of the TCP / IP stack 4.
  • This AT command creates a communication profile that contains all the data required to establish a connection to the Internet via a 10 Internet service provider.
  • a connection ID is assigned to each configuration profile.
  • IP> IP address, 0.0.0.0 for dynamic assignment
  • ⁇ dnsl> first DNS server address, 0.0.0.0 for one
  • Server assigned address 25 ⁇ dns2> second DNS server address, 0.0.0.0 for server assigned address
  • the following AT command can be used to try to establish the connection to the Internet.
  • ⁇ n_address> address name, e.g. "Www.xy.de”
  • IP address ⁇ port> server port
  • ⁇ data> data in binary or ASCII format
  • the following message signals that data on a socket is ready to be received and can be received by switching to data mode or with "+ IPrecv”.

Abstract

The invention relates to a communication terminal with implemented TCP/IP protocols, a command interface and a serial interface, said communication terminal being usable for communication of an electronic terminal without implemented TCP/IP protocols with a TCP/IP network owing to the interaction of the command interface and the implemented TCP/IP protocols. The invention further relates to a method for establishing communication between a TCP/IP network and an electronic terminal, according to which a communication terminal with implemented TCP/IP protocols, a command interface and a serial interface are interposed between the electronic terminal and the TCP/IP network, said implemented TCP/IP protocols and said command interfaced interacting under program control.

Description

Beschreibung description
Kommunikationsvermittlung zwischen einem TCP/IP-Netz und einem elektrischen Endgerät ohne implementierte TCP/IP-ProtokolleCommunication mediation between a TCP / IP network and an electrical end device without implemented TCP / IP protocols
Die Erfindung betrifft ein Verfahren und ein Kommunikations- gerät zur Kommunikationsvermittlung zwischen einem TCP/IP Netzwerk und einem elektronischen Endgerät ohne implementierte TCP/IP-Protokolle bzw. eines sogenannten „TCP/IP-Stacks" . Unter einem Protokollstack versteht man dabei die Gesamtheit aller möglichen zusammenwirkenden und aufeinander abgestimmten Protokolle, die eine vollständige Kommunikationsbeziehung abdecken und erst ermöglichen. TCP/IP-Protokolle bilden beispielsweise die Basis für die Kommunikation im Internet und auch in einem Intranet einer Firma. IP steht für Internet Protocol, TCP für Transmission Control Protocol . Elektronische Endgeräte, auch als sogenannte „Client Applikationen" bezeichnet, die Kommunikationsgeräte benutzen, um Zugang zu einem TCP/IP-Netzwerk, wie beispielsweise zu dem Internet oder einem Intranet einer Firma zu erhalten, benötigen einen eigenen implementierten TCP/IP-Stack, um eine Kommunikation mit dem TCP/IP-Netzwerk vornehmen zu können. Die Implementierung eines TCP/lP-Stacks benötigt allerdings sehr viele Ressourcen, wie beispielsweise Arbeitsspeicher, sogenanntes RAM (Random Access Memory) , Rechenleistung und hohen Entwicklungsaufwand. So benötigen beispielsweise alle Anwendungen auf einem PDA, die ein GPRS-Mobilfunkgerät mit GPRS benutzen wollen einen eigenen TCP/IP-Stack. Viele Client-Applikationen haben aus Ressourcenmangel nicht die Möglichkeit einen eigenen TCP/IP-Stack zu implementieren. Als Beispiel kann dabei ein Stromzähler angeführt werden, der einen gemessenen Stromverbrauch an eine Zentrale sendet. Dabei könnte es wünschens- wert sein, den Stromzähler recht einfach zu konstruieren, was durch ein gleichzeitiges Vorsehen eines TCP/IP-Stacks nicht möglich wäre. Das schnurlose Versenden der Daten könnte als Zusatzoption vorgesehen werden, wie beispielsweise als eine 5 Bestückungsvariante. Um Zugang zum Internet gewähren zu können, ist, wie oben bereits erwähnt, ein Kommunikationsgerät vorzusehen. Um zudem nun die Anbindung des Stromzählers an das Internet so einfach wie möglich zu gestalten, wäre es erforderlich alle kommunikationsspezifischen Software-The invention relates to a method and a communication device for communicating between a TCP / IP network and an electronic terminal without implemented TCP / IP protocols or a so-called “TCP / IP stack”. A protocol stack is understood to mean all of them Possible interacting and coordinated protocols that cover and enable a complete communication relationship. TCP / IP protocols form the basis for communication on the Internet and also in an intranet of a company. IP stands for Internet Protocol, TCP for Transmission Control Protocol. Electronic end devices, also referred to as so-called “client applications”, which use communication devices in order to gain access to a TCP / IP network, such as for example the Internet or an intranet of a company, require their own implemented TCP / IP stack in order to communication with the front TCP / IP network to be able to take. However, the implementation of a TCP / lP stack requires a lot of resources, such as working memory, so-called RAM (Random Access Memory), computing power and high development effort. For example, all applications on a PDA that want to use a GPRS mobile device with GPRS require their own TCP / IP stack. Many client applications do not have the option to implement their own TCP / IP stack due to a lack of resources. As an example, an electricity meter can be given that sends a measured electricity consumption to a control center. It could be desirable be worth it to construct the electricity meter quite simply, which would not be possible by providing a TCP / IP stack at the same time. The cordless sending of the data could be provided as an additional option, such as a configuration variant. As already mentioned above, a communication device must be provided in order to be able to grant access to the Internet. In order to make the connection of the electricity meter to the Internet as easy as possible, all communication-specific software
L0 Protokolle in dem Kommunikationsgerät einzubinden. Als weiteres Beispiel kann man eine MAUT-Einrichtung nennen, wie beispielsweise eine Kopplung eines GPS-Moduls zur Positionsbestimmung eines Fahrzeugs mit einem Kommunikationsgerät . Die Position des Fahrzeuges kann so über das Internet an eineIntegrate L0 protocols in the communication device. Another example is a toll device, such as a coupling of a GPS module for determining the position of a vehicle with a communication device. The position of the vehicle can be sent to a person via the Internet
L5 Zentrale gesendet werden, die dann die anfallenden Straßenbenutzungsgebühren berechnen kann. Dabei ist es auch wünschenswert, die nicht ausreichenden Ressourcen im GPS-Modul nicht erweitern zu müssen.L5 control center can be sent, which can then calculate the applicable road use fees. It is also desirable not to have to expand the insufficient resources in the GPS module.
20 Bekannt ist es, einen TCP/IP-Stack in der Client Applikation zu implementieren. Beispielsweise ist in allen Notebooks oder PDAs, mit denen über ein Mobilf nkgerät eine Verbindung zum Internet hergestellt werden kann, ein TCP/IP-Stack implementiert. Dazu wird das Notebook bzw. das PDA über eine serielle20 It is known to implement a TCP / IP stack in the client application. For example, a TCP / IP stack is implemented in all notebooks or PDAs that can be used to connect to the Internet via a mobile phone. For this, the notebook or the PDA is connected via a serial
25 Schnittstelle oder über eine schnurlose serielle Infrarotverbindung (IRDA) an das Mobilfunkgerät angeschlossen. Daraus folgt, wie bereits erwähnt, ein höherer Bedarf an Speicher und Rechenleistung. Allen anderen Anwendungen blieb der Zugriff auf ein TCP/IP-Netzwerk bisher verwehrt. Dies hat zur 0 Folge, dass vielen mobilen Anwendungen die Verwendung der von GPRS angebotenen höheren Transferraten verwehrt bleibt . Eine Aufgabe der vorliegenden Erfindung war es somit, auch25 interface or connected to the mobile device via a wireless serial infrared connection (IRDA). As already mentioned, this results in a higher need for memory and computing power. All other applications have so far been denied access to a TCP / IP network. As a result, many mobile applications are prevented from using the higher transfer rates offered by GPRS. It was therefore an object of the present invention, too
Anwendungen ohne eigenen TCP/IP-Stack einen Zugriff auf einApplications without their own TCP / IP stack can access one
TCP/IP-Netzwerk zu ermöglichen.Enable TCP / IP network.
Gelöst wird diese Aufgabe durch ein erfindungsgemäßes Kommunikationsgerät gemäß Anspruch 1 und/oder durch ein erfindungsgemäßes Verfahren gemäß Anspruch 6. Vorteilhafte Ausführungsformen der Erfindung sind in den jeweiligen Unteransprüchen angeführt .This object is achieved by an inventive communication device according to claim 1 and / or by an inventive method according to claim 6. Advantageous embodiments of the invention are set out in the respective subclaims.
1010
Gemäß Anspruch 1 wird ein Kommunikationsgerät mit implementierten TCP/IP-Protokollen, einer Kommando-Schnittstelle und einer seriellen Schnittstelle bereitgestellt, wobei das Kommunikationsgerät mittels eines Zusammenwirkens der Kommando- L5 Schnittstelle und der implementierten TCP/IP-Protokolle zur Kommunikationsvermittlung eines elektronischen Endgerätes ohne implementierte TCP/IP-Protokolle mit einem TCP/IP-Netzwerk einsetzbar ist.According to claim 1, a communication device with implemented TCP / IP protocols, a command interface and a serial interface is provided, the communication device by means of a cooperation of the command L5 interface and the implemented TCP / IP protocols for communicating an electronic terminal device without an implemented one TCP / IP protocols can be used with a TCP / IP network.
!0 Bei dem elektronischen Endgerät kann es sich dabei beispielsweise um ein PDA handeln, um eine Messeinrichtung, wie beispielsweise um einen Stromzähler oder um eine Wetterstation, um eine Steuereinheit, wie beispielsweise um eine Lichtanlage, um einen Verkaufsautomaten oder um ein Kassenterminal für! 0 The electronic terminal can be, for example, a PDA, a measuring device, such as an electricity meter or a weather station, a control unit, such as a lighting system, a vending machine or a cash register terminal for
5 Geldkarten.5 money cards.
In einer besonders bevorzugten Ausführungsform des erfindungsgemäßen Kommunikationsgerätes ist die Kommando- Schnittstelle eine AT-Schnittstelle bzw. ein sogenanntes AT- 0 Interface. Ein derartiges AT-Interface ist mit sogenannten AT-Befehlen steuerbar. Die AT-Befehle können in einem Display des elektronischen Endgerätes eingegeben werden und über die serielle Schnittstelle an das Kommunikationsgerät gesendet werden. Das Kommunikationsendgerät bzw. das AT-Interface desIn a particularly preferred embodiment of the communication device according to the invention, the command interface is an AT interface or a so-called AT-0 interface. Such an AT interface can be controlled with so-called AT commands. The AT commands can be entered in a display of the electronic terminal and sent to the communication device via the serial interface become. The communication terminal or the AT interface of the
Kommunikationsgerätes empfängt die AT-Befehle, interpretiert deren Inhalt und löst die den AT-Befehlen zugrundeliegendenCommunication device receives the AT commands, interprets their content and solves the underlying underlying the AT commands
Aktionen aus. Es sei angemerkt, dass erfindungsgemäß auch je-Actions. It should be noted that according to the invention,
5 de andere Schnittstelle denkbar ist.5 de other interface is conceivable.
Bei den AT-Befehlssatz handelt es sich um einen von der Firma Hayes entwickelten Befehlssatz (Hayes-Befehlssatz) zur Steuerung beispielsweise eines Modems, eines Moduls oder ähnlicher L0 Funktionseinheiten. Dieser Befehlssatz beginnt mit dem Befehl AT, für Attention, wovon sich auch der Namen ableitet. Dieser Befehlssatz hat sich als Quasi-Standard entwickelt.The AT command set is a command set developed by the Hayes company (Hayes command set) for controlling, for example, a modem, a module or similar L0 functional units. This command set begins with the AT command, for attention, from which the name is derived. This instruction set has developed as a quasi-standard.
In einer bevorzugten Ausführungsform des erfindungsgemäßenIn a preferred embodiment of the invention
.5 Kommunikationsgerätes ist das Zusammenwirken der Kommando- Schnittstelle und der implentierten TCP/IP-Protokolle programmgesteuert. Erfindungsgemäß wird ein Algorithmus bereitgestellt, mit dessen Hilfe es möglich ist, den im Kommunikationsgerät implementierten TCP/IP-Stack auch für externe e-.5 communication device, the interaction of the command interface and the implemented TCP / IP protocols is program-controlled. According to the invention, an algorithm is provided with the aid of which the TCP / IP stack implemented in the communication device can also be used for external electronic
!0 lektronische Endgeräte ohne implementierten TCP/IP-Stack nutzbar zu machen. Über das AT-Interface werden von einem derartigen Endgerät über die serielle Schnittstelle zum Kommunikationsgerät gelangende Daten an den TCP/IP-Stack des Kommunikationsgerätes weitergeleitet und von dort in entspre-! 0 make electronic end devices usable without an implemented TCP / IP stack. Via the AT interface, data arriving from such a terminal via the serial interface to the communication device is forwarded to the TCP / IP stack of the communication device and from there in
5 chendem Format in ein TCP/IP-Netzwerk, wie beispielsweise ins Internet oder in ein Intranet einer Firma transferiert. Entsprechendes Vorgehen kann in der Umkehrrichtung, d.h. von einem TCP/IP-Netzwerk zu dem Endgerät vorgenommen werden. Das funktionale Interface des TCP/lP-Stacks wird auf das AT-5 appropriate format in a TCP / IP network, such as the Internet or an intranet of a company. The corresponding procedure can be carried out in the reverse direction, i.e. from a TCP / IP network to the terminal. The functional interface of the TCP / lP stack is switched to the AT
0 Interface abgebildet. Das bedeutet, dass für jede Funktion, die eine Implementierung des TCP/IP-Protokolls zur Verfügung stellt, ein entsprechendes AT-Kommando bereitgestellt wird. Es entsteht so ein vollständiger AT- ommandosatz, mit dem al- le Funktionen für die Benutzung und die Konfiguration des0 interface shown. This means that a corresponding AT command is provided for each function that provides an implementation of the TCP / IP protocol. This creates a complete AT command set with which functions for using and configuring the
TCP/IP-Protokolls ausgeführt werden können.TCP / IP protocol can be run.
Vorzugsweise gehört das erfindungsgemäße Kommunikationsgerät zu einer Gruppe an Geräten, bestehend aus Modulen, Telefonen und Modems .The communication device according to the invention preferably belongs to a group of devices consisting of modules, telephones and modems.
Vorzugsweise ist das erfindungsgemäße Kommunikationsgerät in einer Gruppe von KommunikationsSystemen einsetzbar ist, die besteht aus GSM, GPRS, Bluetooth, EDGE, UMTS, DECT, HOMEFREE .The communication device according to the invention can preferably be used in a group of communication systems consisting of GSM, GPRS, Bluetooth, EDGE, UMTS, DECT, HOMEFREE.
Ferner wird durch die Erfindung ein Verfahren zur Kommunikationsvermittlung zwischen einem TCP/IP Netzwerk und einem e- lektronischen Endgerät bereit gestellt, bei dem zwischen das elektronische Endgerät und dem TCP/IP Netzwerk ein Kommunikationsgerät mit implementierten TCP/IP-Protokollen, einer Kommando-Schnittstelle und einer seriellen Schnittstelle angeordnet wird, wobei die implementierten TCP/IP-Protokolle und die Kommando-Schnittstelle programmgesteuert zusammenwirken.Furthermore, the invention provides a method for communicating between a TCP / IP network and an electronic terminal, in which a communication device with implemented TCP / IP protocols, a command interface, between the electronic terminal and the TCP / IP network and a serial interface is arranged, the implemented TCP / IP protocols and the command interface interacting under program control.
Vorzugsweise wird als Kommando-Schnittstelle eine AT- Schnittsteile bzw. ein sogenanntes AT-Interface gewählt.An AT interface or a so-called AT interface is preferably selected as the command interface.
In einer besonders bevorzugten Ausführungsform des erfin- dungsgemäßen Verfahrens wird das Zusammenwirken der TCP/IP- Protokolle bzw. des sogenannten TCP/IP-Stacks mit der AT- Schnittstelle durch einen durch AT-Befehle realisierten Algorithmus erzielt. Durch diesen Algorithmus wird die TCP/IP- Schnittstelle auf die AT-Schnittstelle abgebildet, so dass eine Kommunikation zwischen einem Endgerät ohne implementierten TCP/IP-Stack mit einem TCP/IP-Netzwerk über ein entsprechendes Kommunikationsgerät möglich wird. Vorzugsweise wird das erfindungsgemäße Verfahren in einemIn a particularly preferred embodiment of the method according to the invention, the interaction of the TCP / IP protocols or the so-called TCP / IP stack with the AT interface is achieved by an algorithm implemented by AT commands. This algorithm maps the TCP / IP interface to the AT interface, so that communication between a terminal device without an implemented TCP / IP stack and a TCP / IP network is possible via a corresponding communication device. The process according to the invention is preferably carried out in one
Kommunikationssystem durchgeführt, das zu einer Gruppe von Kommunikationssystemen gehört, die besteht aus GSM, GPRS, EDGE, Bluetooth, UMTS, DECT und HOMEFREE .Communication system carried out, which belongs to a group of communication systems, which consists of GSM, GPRS, EDGE, Bluetooth, UMTS, DECT and HOMEFREE.
Im Folgenden werden drei Programmabläufe beschrieben:Three program sequences are described below:
Beispiel A: Abholen einer Email von einem POP3 -ServerExample A: Picking up an email from a POP3 server
Im Folgenden gelten folgende Bezeichnungen: -> Senden an das erfindungsgemäße Endgerät <- Empfangenen von dem erfindungsgemäßen Endgerät Die einzelnen Programmschritte sind durchnumeriert. Eine Erläuterung der AT-Kom andos findet sich im AnhangThe following designations apply below: -> Send to the terminal according to the invention <- Received from the terminal according to the invention The individual program steps are numbered consecutively. An explanation of the AT commands is given in the appendix
1.Konfiguration der Verbindung1.Configuration of the connection
Zuerst wird ein Kommunikationsprofil erstellt, dass alle notwendigen Daten enthält, um über einen Internet Service Provider eine Verbindung zum Internet aufzubauen. Jedem Konfigurationsprofile ist eine Verbindungs-ID zugeordnet.First, a communication profile is created that contains all the necessary data to establish a connection to the Internet via an Internet service provider. A connection ID is assigned to each configuration profile.
-> at IPcon£=l, CSD, 0301234566, 0. 0. 0. 0, 0. 0. 0. 0, 0. 0. 0. 0, u- sername, password <- OK-> at IPcon £ = l, CSD, 0301234566, 0. 0. 0. 0, 0. 0. 0. 0, 0. 0. 0. 0, username, password <- OK
2. Verbindung herstellen2. Establish connection
Mit folgendem Kommando wird die Verbindung für das entsprechende Kommunikationsprofil hergestellt, d.h das erfindungs- gemäße Endgerät ist dann mit dem Internet verbunden .The connection for the corresponding communication profile is established with the following command, i.e. the terminal device according to the invention is then connected to the Internet.
-> at IPdial=l <- CONNECTED-> at IPdial = l <- CONNECTED
3. IP-Socket anfordern Für die Verbindung mit der Verbindungs-ID wird ein IP-Socket erzeugt und der Identifikationsnummer zurückgegeben3. Request the IP socket An IP socket is created for the connection with the connection ID and the identification number is returned
5 -> at*~IPsocket= 1 , SOCK_STREAM <- sid=42 < - OK5 -> at * ~ IPsocket = 1, SOCK_STREAM <- sid = 42 <- OK
4. Den IP-Socket mit Port (Anschlussposition) 110 auf dem 10 pop3-Server (Post Office Protocol) verbinden4. Connect the IP socket to port (connection position) 110 on the 10 pop3 server (Post Office Protocol)
-> atA IPconnect=42, pop3. berlin . de, 110 < - OK-> at A IPconnect = 42, pop3. Berlin . de, 110 <- OK
15 5. In den Daten-Modus schalten15 5. Switch to data mode
-> at IPdatamode=42 < - CONNECT-> at IPdatamode = 42 <- CONNECT
20 6. POP3-Protokoll : vorhandene Emails abholen20 6. POP3 protocol: fetch existing emails
<- +OK InterMail POP3 Server ready.<- + OK InterMail POP3 Server ready.
-> USER y. x-> USER y. x
<- +OK please send PASS command 25 -> PASS xyz<- + OK please send PASS command 25 -> PASS xyz
<- +OK x.y is welcome here<- + OK x.y is welcome here
- > LIST-> LIST
<- +OK 1 messages<- + OK 1 messages
<- 1 1011 !0 <- .<- 1 1011! 0 <-.
-> ÜIDL-> ÜIDL
<- +OK 1 messages<- + OK 1 messages
< - 1 <20020102125257. VKWX27460.mailoutvl21@there><- 1 <20020102125257. VKWX27460.mailoutvl21@there>
< - . 5 - > RETR 1<-. 5 -> RETR 1
< - +OK 1011 octets <- Return-Path: <mrx@linux.berlin.de><- + OK 1011 octets <- Return path: <mrx@linux.berlin.de>
<- Received: from mailoutvl21.berlin.de ([195.243.105.33])<- Received: from mailoutvl21.berlin.de ([195.243.105.33])
<- by kxmail.berlin.de<- by kxmail.berlin.de
<- (InterMail vK.4.03.05.00 201-232-132 license<- (InterMail vK.4.03.05.00 201-232-132 license
5 <- C0e4b842fleddc5308d584e55543c802)5 <- C0e4b842fleddc5308d584e55543c802)
<- with ESMTP<- with ESMTP
<- id<- id
<- 20020102125119. BETQ10270.kxmail@mailoutvl21.berlin.de><- 20020102125119. BETQ10270.kxmail@mailoutvl21.berlin.de>
<- for <x.y@berlin.de>; Wed, 2 Jan 2002 13:51:19<- for <x.y@berlin.de>; Wed, Jan 2, 2002 13:51:19
L0 <- +0200L0 <- +0200
<- Received: from there ( [217.225.11.84] ) by a<- Received: from there ([217.225.11.84]) by a
<- mailoutvl21.berlin.de<- mailoutvl21.berlin.de
<- (InterMail vK.4.03.05.00 201-232-132 license<- (InterMail vK.4.03.05.00 201-232-132 license
<- C0e4b842fleddc5308d584e55543c802) .5 <- with SMTP id<- C0e4b842fleddc5308d584e55543c802) .5 <- with SMTP id
<- <20020102125257.VKWX27460.mailoutv!21@there><- <20020102125257.VKWX27460.mailoutv!21@there>
<- for <x.y@berlin.de>; Wed, 2 Jan 2002 13:52:57<- for <x.y@berlin.de>; Wed, Jan 2, 2002 13:52:57
<- +0100<- +0100
<- Content-Type: text/plain; !0 <- charset="iso-8859-15"<- Content-Type: text / plain; ! 0 <- charset = "iso-8859-15"
<- From: mr x <mrx@linux><- From: mr x <mrx @ linux>
<- To: x.y@berlin.de<- To: x.y@berlin.de
<- Subject: test<- Subject: test
<- Pate: Wed, 2 Jan 2002 13:52:11 +0100 :5 <- X-Mailer: KMail [version 1.3.1]<- Godfather: Wed, 2 Jan 2002 13:52:11 +0100: 5 <- X-Mailer: KMail [version 1.3.1]
<- MIME- Version: 1.0<- MIME version: 1.0
<- Content -Trans fer-Encoding: 8bit<- Content transfer encoding: 8bit
<- Message-Id: <20020102125257.VKWX27460.mailoutvl21@there><- Message-Id: <20020102125257.VKWX27460.mailoutvl21@there>
0 <- Das ist ein Test. <- .0 <- This is a test. <-.
-> DELE 1 <- +0K -> QUIT-> DELE 1 <- + 0K -> QUIT
<- +OK x.y InterMail POP3 server signing off.<- + OK x.y InterMail POP3 server signing off.
7. Zurück in den AT-Modus -> +++7. Back to AT mode -> +++
8. IP-Socket schließen -> at IPclose=42 <- OK8. Close the IP socket -> at IPclose = 42 <- OK
9. Internet-Verbindung beenden -> at^IPdisconnect = 1 <- OK9. End internet connection -> at ^ IPdisconnect = 1 <- OK
Beispiel B: Einrichten eines HTTP-ServersExample B: Setting up an HTTP server
1.- 3. Wie in Beispiel A1.- 3. As in example A
4. IP-Socket auf Standard-HTTP-PORT 80 binden4. Bind the IP socket to the standard HTTP PORT 80
-> at IPbind=42,0.0.0.0,80-> at IPbind = 42.0.0.0.0.80
5. Bereitschaft für Verbindungsanfragen herstellen, Warteschlange einrichten5. Establish readiness for connection requests, set up a queue
-> at IPlisten=42 , 10-> at IPlisten = 42, 10
<- OK<- OK
6. Signalisierung, dass ein Client in der Warteschlange ist6. Signaling that a client is in the queue
<- +IPlisten=43 7. Client Verbindung annehmen<- + IPlisten = 43 7. Accept client connection
-> atλIPaccept=43 <- OK . In den Daten-Modus schalten-> at λ IPaccept = 43 <- OK , Switch to data mode
-> at IPdatamode=43 <- CONNECT-> at IPdatamode = 43 <- CONNECT
55
9.HTTP-Protokoll : Client Anfragen bearbeiten9.HTTP protocol: processing client requests
<- GET http://www.mymodul . de : 80/ HTTP/ 1. 1<- GET http: //www.mymodul. de: 80 / HTTP / 1. 1
LOLO
-> HTTP/1. 1 200 OK-> HTTP / 1. 1,200 OK
. . . (senden der Internet-Sei te), , , (send the internet page)
L5L5
10. Zurück in den AT-Modus10. Back to AT mode
-> +++-> +++
20 11. IP-Socket schließen20 11. Close the IP socket
-> at IPclose=43 <- OK-> at IPclose = 43 <- OK
25 12. Auf neue Clients warten25 12. Wait for new clients
<- +IPlisten=44<- + IPlists = 44
i0 Weitere Vorteile sollen anhand der folgenden Figuren aufgezeigt werden.i0 Further advantages will be shown with the help of the following figures.
Fig.l Schematische Darstellung eines Zusammenspiels eines e- lektronischen Endgerätes ohne implementierten TCP/ip-Stack mit einer Ausführungsform eines erfindungsgemäßen Kommunikationsgerätes ;Fig.l Schematic representation of an interaction of an electronic terminal without an implemented TCP / ip stack with an embodiment of a communication device according to the invention;
Fig. 2 Schematische Darstellung eines Zusammenspiels eines elektronischen Endgerätes ohne implementierten TCP/IP-Stack mit einer weiteren Ausführungsform eines erfindungsgemäßen Kommunikationsgerätes .Fig. 2 Schematic representation of an interaction of an electronic terminal without an implemented TCP / IP stack with a further embodiment of a communication device according to the invention.
In Figur 1 ist ein Kommunikationsgerät 1 über eine serielle Schnittstelle 2 mit einem elektronischen Endgerät 3 verbunden. Durch Senden definierter Zeichenfolgen, sogenannter AT- Befehle, über die serielle Schnittstelle 2 kann das elektronische Endgerät 3 das Kommunikationsgerät 1 ansteuern. Gleichzeitig kann das elektronische Endgerät 3 Zeichenfolgen auf der Schnittstelle 2 empfangen. Dabei kann es sich um Daten oder eine Signalisierung des Kommunikationsgerätes 1 handeln. Bei den von dem elektronischen Endgerät 3 gesendeten AT-Befehlen handelt es sich um Kommandos, die die Funktionen eines TCP/IP-Protokolls ansteuern. Der Programmteil in dem elektronischen Endgerät 3, der die AT-Befehle versendet, kann so über einen TCP/IP-Stack 4 des Kommunikationsgerätes 1 eine Verbindung zum Internet 5 herstellen, und sowohl als Internet-Client als auch als Internet-Server agieren.In FIG. 1, a communication device 1 is connected to an electronic terminal 3 via a serial interface 2. The electronic terminal 3 can control the communication device 1 by sending defined character strings, so-called AT commands, via the serial interface 2. At the same time, the electronic terminal can receive 3 character strings on the interface 2. This can be data or a signaling of the communication device 1. The AT commands sent by the electronic terminal 3 are commands which control the functions of a TCP / IP protocol. The program part in the electronic terminal 3 which sends the AT commands can thus establish a connection to the Internet 5 via a TCP / IP stack 4 of the communication device 1 and act both as an Internet client and as an Internet server.
Im Kommunikationsgerät 1 werden die AT-Befehle von einem sogenannten AT-Interface 6 ausgewertet und die entsprechenden Funktionen des TCP/IP-Protokolls aufgerufen. Wenn das elektronische Endgerät 3 in einem Programmablauf Daten in das Internet 5 senden will, so werden diese Daten mit Hilfe dieser Funktionen in IP-Pakete verpackt. Um diese IP-Pakete in das Internet 5 zu versenden, besitzt das Kommunikationsgerät 1 die Möglichkeit über verschiedene Kommunikationsprotokolle, wie beispielsweise GSM, GPRS oder UMTS, eine Verbindung zumIn the communication device 1, the AT commands are evaluated by a so-called AT interface 6 and the corresponding functions of the TCP / IP protocol are called up. If the electronic terminal 3 wants to send data to the Internet 5 in a program sequence, these data are packaged in IP packets with the aid of these functions. In order to send these IP packets to the Internet 5, the communication device 1 has the option of using different communication protocols, such as GSM, GPRS or UMTS, a connection to
Internet 5 aufzubauen.To build Internet 5.
In Figur 2 ist eine serielle Schnittstelle 2 mit einem Mul- tiplex-Protokoll 7 versehen. Das Multiplex-Protokoll 7 ermöglicht über die serielle Schnittstelle 2, die einem physikalischen Kanal entspricht, mehrere logische Kanäle 8 zu benutzen. Jeder Internet-Anwendung 9 in dem elektronischen Endgerät 3 ist ein logischer Kanal 8 zugeordnet. Über diesen je- weiligen Kanal 8 kann die Internet-Anwendung die TCP/IP-AT- Befehle versenden, bzw. Daten senden oder empfangen. Entsprechend ist in dem Kommunikationsgerät 1 auch ein Multiplex- Protokoll 10 vorgesehen. Jedem logischen Multiplexer-Kanal 11 ist dabei eine Instanz 12 des AT-Interfaces 6 zugewiesen, d.h. dem Programmteil der die TCP/lP-AT-Befehle erkennt und die entsprechenden Funktionen des TCP/lP-Stacks 4 aufruft. In FIG. 2, a serial interface 2 is provided with a multiplex protocol 7. The multiplex protocol 7 enables several logical channels 8 to be used via the serial interface 2, which corresponds to a physical channel. A logical channel 8 is assigned to each Internet application 9 in the electronic terminal 3. The Internet application can send the TCP / IP-AT commands or send or receive data via this respective channel 8. Correspondingly, a multiplex protocol 10 is also provided in the communication device 1. Each logical multiplexer channel 11 is assigned an instance 12 of the AT interface 6, that is to say the program part that recognizes the TCP / IP AT commands and calls the corresponding functions of the TCP / IP stack 4.
Anhang: Generisches AT-InterfaceAppendix: Generic AT interface
! .AT Kommandos für die Handhabung einer physikalischen Verbindung 5! .AT commands for handling a physical connection 5
1.1 Konfiguration der Verbindung1.1 Configuration of the connection
Mit diesem AT-Kommando wird ein Kommunikationsprofil erstellt, dass alle notwendigen Daten enthält, um über einen 10 Internet Service Provider eine Verbindung zum Internet aufzubauen. Jedem Konfigurationsprofile ist eine Verbindungs-ID zugeordnet .This AT command creates a communication profile that contains all the data required to establish a connection to the Internet via a 10 Internet service provider. A connection ID is assigned to each configuration profile.
Kommando :Command:
L5 at AIPconf =<cid>, <medium>, <nuπ-ber>, <IP>, <dnsl>, <dns2>, <usernam e>, <password>, ...L5 at A IPconf = <cid>, <medium>, <nuπ-ber>, <IP>, <dnsl>, <dns2>, <usernam e>, <password>, ...
<cid> = 1,2,3, ...,n (Verbindungs ID)<cid> = 1,2,3, ..., n (connection ID)
20 <medium> = CSD,GPRS, ...20 <medium> = CSD, GPRS, ...
<number> = Telefonnummer<number> = phone number
<IP> = IP Adresse, 0.0.0.0 für eine dynamische Zuweisung<IP> = IP address, 0.0.0.0 for dynamic assignment
<dnsl> = erste DNS-Server Adresse, 0.0.0.0 für eine<dnsl> = first DNS server address, 0.0.0.0 for one
Server assigned address 25 <dns2> = zweite DNS-Server Addresse, 0.0.0.0 for server assigned addressServer assigned address 25 <dns2> = second DNS server address, 0.0.0.0 for server assigned address
<username> = Benutzername<username> = username
<password> = Passwort<password> = password
10 Rückgabewert : OK \ ERROR10 Return value: OK \ ERROR
OK : Setzen des Konfigurationsprofiles erfolgreichOK: Set the configuration profile successfully
ERROR -. FehlerERROR -. error
:5 1.2 Öffnen einer Verbindung: 5 1.2 Open a connection
Wurde für eine Verbindungs-ID ein Konfigurationsprofil erstellt, kann mit folgendem AT-Kommando versucht werden, die Verbindung zum Internet aufzubauen.If a configuration profile has been created for a connection ID, the following AT command can be used to try to establish the connection to the Internet.
:0: 0
Kommando : atAIPdial = <cid>Command: at A IPdial = <cid>
5 <cid> = 1,2,3, ...,n (Verbindungs ID)5 <cid> = 1,2,3, ..., n (connection ID)
Rückgabewert: CONNECTED \ NO DIALTONE \ NO CARRIER \ AUTHENTIFICATION FAILED I ERRORReturn value: CONNECTED \ NO DIALTONE \ NO CARRIER \ AUTHENTIFICATION FAILED I ERROR
CONNECTED Verbindung erfolgreich aufgebaut NO DIALTONE Anwahl nicht möglich NO CARRIER Verbindung nicht möglich AUTHENTICATION FAILED : Anmeldung mit Benutzer/Paßwort fehlgeschlagenCONNECTED connection successfully established NO DIALTONE selection not possible NO CARRIER connection not possible AUTHENTICATION FAILED: Login with user / password failed
ERROR : sonstiger Fehler ERROR: other error
1.3Status einer Verbindung abfragen1.3 Query the status of a connection
Mit diesem Kommando kann der Status einer Verbindung abgefragt werden:The status of a connection can be queried with this command:
Kommando : at^IPgetstate = <cid>Command: at ^ IPgetstate = <cid>
1010
<cid> = 1,2,3, ...,n (Verbindungs ID)<cid> = 1,2,3, ..., n (connection ID)
Rückgabewert: CONNECTED \ CONNECTING | DISCONNECTING | DISCONNECTEDReturn value: CONNECTED \ CONNECTING | DISCONNECTING | DISCONNECTED
15 CONNECTED : Verbindung aufgebaut15 CONNECTED: Connection established
CONNECTING : Verbindungsaufbau noch nicht abgeschlossenCONNECTING: Connection establishment not yet completed
DISCONNECTING : Verbindungsabbau noch nicht abgeschlossenDISCONNECTING: Connection clearing not yet completed
DISCONNECTED : keine VerbindungDISCONNECTED: no connection
20 1.4 Schließen einer Verbindung20 1.4 Closing a connection
Kommando :Command:
At^IPdisconnect = <cxd>At ^ IPdisconnect = <cxd>
2525
<cid> = 1,2,3, ...,n (Verbindungs ID)<cid> = 1,2,3, ..., n (connection ID)
Rückgabewert: OK \ ERRORReturn value: OK \ ERROR
50 OK : Schließen der Verbindung erfolgreich50 OK: Connection successfully closed
ERROR : FehlerERROR: error
1.5 Signalisierung eines Verbindungsabbruchs1.5 Signaling of a connection abort
55 Naricht:55 Not:
+IPconnbroken=<cid>+ IPconnbroken = <cid>
<cid> = 1,2,3, ..., n (Verbindungs ID) 10<cid> = 1,2,3, ..., n (connection ID) 10
2. AT Kommandos für IP Sockets2. AT commands for IP sockets
2.1 Abfrage der eigenen IP Adresse2.1 Request your own IP address
-5-5
Kommando : atAIPgetIPadr=<cid>Command: at A IPgetIPadr = <cid>
>0 <cid>: l,2,3,...,n (Verbindungs ID)> 0 <cid>: l, 2,3, ..., n (connection ID)
Rückgabewert : <address> OK | ERROR <address> OK : <adress> = IP AdresseReturn value: <address> OK | ERROR <address> OK: <adress> = IP address
ERROR : FehlerERROR: error
2.2 Ermittlung der IP-Adresse einer Internet-Namensadresse2.2 Determining the IP address of an Internet name address
Kommando : at 'IPgethostbyname=<cid>/ <n_adress> <cid>: 1,2,3, ... ,n (Verbindungs ID)Command: at 'IPgethostbyname = <cid> / <n_adress><cid>: 1,2,3, ..., n (connection ID)
<n_address> : Adressname, z.B. "www.xy.de"<n_address>: address name, e.g. "Www.xy.de"
Rückgabewert : <address> OK | ERROR <a.ddress> OK : <adress> = IP AdresseReturn value: <address> OK | ERROR <a.ddress> OK: <adress> = IP address
ERROR : FehlerERROR: error
2.3 Aufbau eines IP-Sockets Kommando : at^IPsocket = <cid>,<style>, <protocol>2.3 Structure of an IP socket command: at ^ IPsocket = <cid>, <style>, <protocol>
<cid>: l,2,3, ...,n (Verbindungs ID) <style>: SOCK_STREAM, SOCK_DGRAM<cid>: l, 2,3, ..., n (connection ID) <style>: SOCK_STREAM, SOCK_DGRAM
<protocol>: 0<protocol>: 0
Rückgabewert: sid=<sid> OK \ ERROR <sid> = OK : Verbindung erfolgreich aufgebaut, <sid>= 1,2,3, ..., n (Socket ID)Return value: sid = <sid> OK \ ERROR <sid> = OK: Connection successfully established, <sid> = 1,2,3, ..., n (socket ID)
ERROR : Verbindung konnte nicht aufgebaut werdenERROR: Connection could not be established
2.4 Schließen eines IP-Sockets2.4 Closing an IP socket
Kommando : atΛIPclose=<sid>Command: at Λ IPclose = <sid>
<sid>: 1,2,3, ..., n (Socket ID)<sid>: 1,2,3, ..., n (socket ID)
Rückgabewert : OK, ERROR oκ : Socket erfolgreich geschlossenReturn value: OK, ERROR oκ: Socket closed successfully
ERROR : Socket konnte nicht geschlossen werdenERROR: Socket could not be closed
2.5 Verbindung zu einem Server herstellen Kommando : atΛIPconnect=<sid>, <serverhost>,<port>2.5 Establishing a connection to a server Command: at Λ IPconnect = <sid>, <serverhost>, <port>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
<serverhost> IP Adresse oder Name des Servers<serverhost> IP address or name of the server
<port> Server Port<port> server port
Rückgabewert : OK, ERRORReturn value: OK, ERROR
OK : Verbindung hergestelltOK: connection established
ERROR : Socket konnte nicht verbunden werdenERROR: Socket could not be connected
2.6 Binden eines Sockets an eine IP-Adresse und an einen Port2.6 Binding a socket to an IP address and to a port
Kommando : at 'IPbind=<sid>,<address>/<port>Command: at 'IPbind = <sid>, <address> / <port>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
<address> = IP Adresse <port> = Server Port<address> = IP address <port> = server port
Rückgabewert : OK, ERROR oκ : Bindung erfolgreich ERROR : FehlerReturn value: OK, ERROR oκ: Binding successful ERROR: Error
2.7 Bereitschaft für Verbindungsanfragen herstellen Kommando : atΛIPlisten=<sid>, <queuelength>2.7 Establishing readiness for connection requests Command: at Λ IPlisten = <sid>, <queuelength>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
<qrueuelensrfch> max. Anzahl der Anfragen in der Warteschlange Rückgabewert: OK, ERROR<qrueuelensrfch> max. Number of requests in the queue Return value: OK, ERROR
OK -. Socket wird überwacht, Verbindungsanfragen werden mitOK -. Socket is monitored, connection requests are answered with
"+IPaccepting=<sid>" signalisiert ERROR : Fehler"+ IPaccepting = <sid>" signals ERROR: error
2.8 Signalisierung von Verbindungsanfragen2.8 Signaling connection requests
Naricht : +lPaccepting=<sid>Not: + lPaccepting = <sid>
<sid> = 1,2,3, ..., n (Socket ID) 2.9 Verbindungen annehmen<sid> = 1,2,3, ..., n (socket ID) 2.9 Accept connections
Kommando : 5 at^IPaccept = <sid>Command: 5 at ^ IPaccept = <sid>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
10 Rückgabewert: sid = <c_sid> OK | ERROR sid = <c_sid> OK: <c_sid> = 1,2,3, ..., n (Socket ID des neu erzeugten Verbindungssockets, nicht <sid>!) ERROR Verbindung konnte nicht angenommen werden10 Return value: sid = <c_sid> OK | ERROR sid = <c_sid> OK: <c_sid> = 1,2,3, ..., n (socket ID of the newly created connection socket, not <sid>!) ERROR connection could not be accepted
.5.5
2.10 Socket Status abfragen2.10 Query socket status
Kommando : !0 at^IPselect = <sid>Command:! 0 at ^ IPselect = <sid>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
!5 Rückgabewert: <state>, <accepting>, <dataavail>, <canwrite>, <sendstate>! 5 Return value: <state>, <accepting>, <dataavail>, <canwrite>, <sendstate>
<state> 0... inaktiv, 1... aktiv, 2...Error,<state> 0 ... inactive, 1 ... active, 2 ... error,
<accepting> 0...Kein, 1...Verbindungsanfragen in der Warte- ι 0 schlänge<accepting> 0 ... none, 1 ... connection requests in the waiting ι 0 queue
<dataavail> 0, 1... Daten bereit zum Empfangen <canwrite> 0, 1... Daten bereit zum Senden <sendstate> X Bytes müssen noch gesendet werden<dataavail> 0, 1 ... data ready to receive <canwrite> 0, 1 ... data ready to send <sendstate> X bytes still have to be sent
.5 2.11 Daten über einen Socket senden.5 2.11 Sending data via a socket
Kommando : at^IPsend = <sid>, <datatype>/ <data>Command: at ^ IPsend = <sid>, <datatype> / <data>
00
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
<datat pe> = 0... ascii, 1... hex<datat pe> = 0 ... ascii, 1 ... hex
<data> = Daten im binär oder ASCII format<data> = data in binary or ASCII format
5 Rückgabewert : OK \ ERROR5 Return value: OK \ ERROR
OK: Daten erfolgreich gesendetOK: data sent successfully
ERROR: Senden fehlgeschlagenERROR: Sending failed
0 2.12 Daten über einen Socket empfangen0 2.12 Receive data via a socket
Kommando : at^IPrecv = <sid>, <datatype>Command: at ^ IPrecv = <sid>, <datatype>
<sid> = 1,2,3, ..., n (Socket ID) <datatype> = 0... ascii, 1... hex<sid> = 1,2,3, ..., n (socket ID) <datatype> = 0 ... ascii, 1 ... hex
Rückgabewert: < da ta> OK \ ERRORReturn value: <da ta> OK \ ERROR
<data> oκ : <data> Daten im angeforderten Format ERROR •. Empfangsfehler<data> oκ: <data> data in the requested format ERROR •. receive error
2.13 Schnittstelle für eine Socket in den Datenmodus schalten2.13 Switch interface for a socket to data mode
Mit folgendem Kommando kann der Datenmodus auf der Schnitt- stelle aktiviert werden, d.h. alle auf die Schnittstelle gesendeten Daten werden über den angegebenen Socket gesendet . Alle auf dem Socket empfangenen Daten werden direkt auf der Schnittstelle ausgegeben. Kommando : atAIPdatamode=<sid>The following command can be used to activate the data mode on the interface, ie all data sent to the interface are sent via the specified socket. All data received on the socket are output directly on the interface. Command: at A IPdatamode = <sid>
<sid> = 1,2,3, ..., n (Socket ID)<sid> = 1,2,3, ..., n (socket ID)
Rückgabewert : ERRORReturn value: ERROR
ERROR : Datenmodus konnte nicht ini tialisiert werden . 2.14 Schnittstelle zurück in den Kommandomodus schaltenERROR: Data mode could not be initialized. 2.14 Switch the interface back to command mode
[Pause 1 sec] +++ [Pause 1 sec . ] Rückgabewert : OK[Pause 1 sec] +++ [pause 1 sec. ] Return value: OK
2.15 Indikation, dass Daten an einem Socket zum Empfang bereit sind2.15 Indication that data on a socket is ready to be received
Die folgende Nachricht signalisiert, dass Daten an einem So- cket zum Empfang bereit sind und durch Umschalten in den Datenmodus, bzw. mit "+IPrecv" empfangen werden können.The following message signals that data on a socket is ready to be received and can be received by switching to data mode or with "+ IPrecv".
Naricht : +IPdata=<sid>Not: + IPdata = <sid>
<sid> = 1,2,3, ..., n (socket ID)<sid> = 1,2,3, ..., n (socket ID)
2.16 Indikation, dass ein Socket geschlossen wurde Naricht :2.16 Indication that a socket has been closed Not:
+IPsockclosed=<sid>+ IPsockclosed = <sid>
<sid> = <sid> =

Claims

Patentansprüche claims
1. Kommunikationsgerät (1) mit implementierten TCP/IP- Protokollen (4) , einer Kommando-Schnittstelle (6) und ei- ner seriellen Schnittstelle (2) , d a d u r c h g e k e n n z e i c h n e t, dass das Kommunikationsgerät (1) mittels eines Zusammenwirkens der Kommando-Schnittstelle (6) und der implementierten TCP/IP-Protokolle (4) zur Kommunikationsvermitt- lung eines elektronischen Endgerätes (3) ohne implementierte TCP/IP-Protokolle mit einem TCP/IP-Netzwerk (5) einsetzbar ist.1. Communication device (1) with implemented TCP / IP protocols (4), a command interface (6) and a serial interface (2), characterized in that the communication device (1) by means of an interaction of the command interface ( 6) and the implemented TCP / IP protocols (4) for communicating an electronic terminal (3) without implemented TCP / IP protocols with a TCP / IP network (5).
2. Kommunikationsgerät nach Anspruch 1, d a d u r c h g e k e n n z e i c h n e t, dass die Kommando-Schnittstelle (6) eine AT-Schnittstelle (AT-Interface) ist.2. Communication device according to claim 1, so that the command interface (6) is an AT interface (AT interface).
3. Kommunikationsgerät nach Anspruch 1 oder 2, d a d u r c h g e k e n n z e i c h n e t, dass das Zusammenwirken der Kommando-Schnittstelle (6) und der implentierten TCP/IP-Protokolle (4) programmgesteuert ist .3. Communication device according to claim 1 or 2, so that the interaction of the command interface (6) and the implemented TCP / IP protocols (4) is program-controlled.
4. Kommunikationsgerät nach einem der vorhergehenden Ansprüche, d a d u r c h g e k e n n z e i c h n e t, dass das Kommunikationsgerät (1) zu einer Gruppe an Geräten, bestehend aus Modulen, Telefonen und Modems, gehört.4. Communication device according to one of the preceding claims, that the communication device (1) belongs to a group of devices consisting of modules, telephones and modems.
5. Kommunikationsgerät nach einem der vorhergehenden Ansprüche, d a d u r c h g e k e n n z e i c h n e t, dass das Kommunikationsgerät (1) in einer Gruppe von Kommunikationssystemen einsetzbar ist, die besteht aus GSM, GPRS, EDGE, Bluetooth, UMTS, DECT, HOMEFREE .5. Communication device according to one of the preceding claims, characterized in that that the communication device (1) can be used in a group of communication systems consisting of GSM, GPRS, EDGE, Bluetooth, UMTS, DECT, HOMEFREE.
6. Verfahren zur Kommunikationsvermittlung zwischen einem6. Method of mediating communication between one
TCP/IP Netzwerk (5) und einem elektronischen Endgerät (3) , bei dem zwischen das elektronische Endgerät (3) und dem TCP/IP Netzwerk (5) ein Kommunikationsgerät (1) mit implementierten TCP/IP-Protokollen (4) , einer Kommando- Schnittstelle (6) und einer seriellen Schnittstelle (2) angeordnet wird, wobei die implementierten TCP/IP- Protokolle (4) und die Kommando-Schnittstelle (6) programmgesteuert zusammenwirken.TCP / IP network (5) and an electronic terminal (3), in which a communication device (1) with implemented TCP / IP protocols (4), one between the electronic terminal (3) and the TCP / IP network (5) Command interface (6) and a serial interface (2) is arranged, the implemented TCP / IP protocols (4) and the command interface (6) interacting under program control.
7. Verfahren nach Ansprüche, d a d u r c h g e k e n n z e i c h n e t, dass als Kommando-Schnittstelle (6) eine AT-Schnittstelle7. The method according to claims, d a d u r c h g e k e n n z e i c h n e t that as a command interface (6) an AT interface
(AT-Interface) gewählt wird.(AT interface) is selected.
8. Verfahren nach Anspruch 6 oder 7, d a d u r c h g e k e n n z e i c h n e t, dass das Verfahren in einem Kommunikationssystem durchgeführt wird, das zu einer Gruppe von Kommunikationssystemen gehört, die besteht aus GSM, GPRS, EDGE, Bluetooth, UMTS, DECT, HOMEFREE 8. The method according to claim 6 or 7, so that the method is carried out in a communication system that belongs to a group of communication systems that consists of GSM, GPRS, EDGE, Bluetooth, UMTS, DECT, HOMEFREE
PCT/DE2003/000045 2002-01-11 2003-01-02 Establishing communication between a tcp/ip network and an electric terminal without implemented tcp/ip protocols WO2003058911A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
DE10201247.4 2002-01-11
DE10201247A DE10201247A1 (en) 2002-01-11 2002-01-11 Method and communication device for communicating between a TCP / IP network and an electronic terminal

Publications (1)

Publication Number Publication Date
WO2003058911A1 true WO2003058911A1 (en) 2003-07-17

Family

ID=7712163

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/DE2003/000045 WO2003058911A1 (en) 2002-01-11 2003-01-02 Establishing communication between a tcp/ip network and an electric terminal without implemented tcp/ip protocols

Country Status (2)

Country Link
DE (1) DE10201247A1 (en)
WO (1) WO2003058911A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013013621A1 (en) * 2013-08-15 2015-02-19 Bayerische Motoren Werke Aktiengesellschaft Security-compliant channel change in intelligent transport systems

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE19739297A1 (en) * 1997-09-08 1999-03-11 Phoenix Contact Gmbh & Co Automation system for routing network
WO2001022302A1 (en) * 1999-09-20 2001-03-29 Xircom Wireless, Inc. Communications bridge for circuit switched data transfer simulation
US20010055978A1 (en) * 1997-08-05 2001-12-27 Alan Herrod Portable data terminal and cradle

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE10018866A1 (en) * 2000-04-14 2001-10-25 Grundfos As Pump unit
EP1185030B1 (en) * 2000-08-31 2005-04-27 Smartbuilding AG Method and system for remote control of household devices over the Internet

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20010055978A1 (en) * 1997-08-05 2001-12-27 Alan Herrod Portable data terminal and cradle
DE19739297A1 (en) * 1997-09-08 1999-03-11 Phoenix Contact Gmbh & Co Automation system for routing network
WO2001022302A1 (en) * 1999-09-20 2001-03-29 Xircom Wireless, Inc. Communications bridge for circuit switched data transfer simulation

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102013013621A1 (en) * 2013-08-15 2015-02-19 Bayerische Motoren Werke Aktiengesellschaft Security-compliant channel change in intelligent transport systems
US10147322B2 (en) 2013-08-15 2018-12-04 Bayerische Motoren Werke Aktiengesellschaft Safety-compliant multiple occupancy of a channel in intelligent transportation systems

Also Published As

Publication number Publication date
DE10201247A1 (en) 2003-08-07

Similar Documents

Publication Publication Date Title
EP1238513B1 (en) Method and arrangement for the improved exploitation of technical resources between telecommunications networks and ip-networks
DE60307211T2 (en) Graphical proxy for less capable user terminals
EP1438826A1 (en) Method and device for authenticated access to a station on local data networks in particular radio data networks
DE10296402T5 (en) System for sending / receiving short messages (SMS) between mobile devices and remote servers
DE19933751A1 (en) Method for wireless data transport and suitable mobile terminal and functional device cooperating with it
DE69914340T2 (en) SYSTEM AND METHOD FOR MAINTAINING A VIRTUAL CONNECTION TO A NETWORK NODE
CN102497379B (en) Network access method, system and equipment
CN110335498B (en) Parking lot barrier gate system based on block chain and information interaction method
CN102571885A (en) Vehicle-mounted information push service system and method
DE60210630T2 (en) REMOTE DATA DETECTION DEVICE WITH ELECTRONIC POST VIA PUBLIC AND PRIVATE NETWORKS AND METHOD AND COMPUTER PROGRAM THEREFOR
DE10311980A1 (en) Method for providing plug-in cards provided with an identifier in a mobile radio terminal
DE60222810T2 (en) METHOD, SYSTEM AND DEVICE FOR SELECTING SERVICE VIA A WIRELESS LOCAL NETWORK
CN104954508B (en) A kind of system and its auxiliary charging method for DHCP protocol auxiliary charging
EP1565801B1 (en) Method for authenticating and charging a subscriber of a radio network
CN202004788U (en) Vehicle-mounted information push service system
KR20070088712A (en) Method for setting up connections for access of roaming user terminals to data networks
DE60011799T2 (en) LOCATION-RELATED IDENTIFICATION FOR USE IN A COMMUNICATION NETWORK
WO2003058911A1 (en) Establishing communication between a tcp/ip network and an electric terminal without implemented tcp/ip protocols
EP2700281B1 (en) Method for routing telecommunications connections to a mobile radio terminal and mobile radio gateway
DE10146518A1 (en) Method for connecting two terminals via an information network, and terminals and servers for performing the method
DE60019823T2 (en) Telecommunications network with a remote controlled line interface and telecommunications methods
EP3585643B1 (en) Charging device for charging an electrically driven motor vehicle having access to a data network and method for operating a charging device of this kind
CN101183943A (en) User authentication method
EP2116075B1 (en) Security module
DE10001821A1 (en) Communications system between computers uses telephone call to exchange initial data prior to establishment of Internet link

Legal Events

Date Code Title Description
AK Designated states

Kind code of ref document: A1

Designated state(s): BR CN JP KR US

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IT LU MC NL PT SE SI SK TR

121 Ep: the epo has been informed by wipo that ep was designated in this application
122 Ep: pct application non-entry in european phase
NENP Non-entry into the national phase

Ref country code: JP

WWW Wipo information: withdrawn in national office

Country of ref document: JP