DE202014100555U1 - Sensor with application program - Google Patents

Sensor with application program Download PDF

Info

Publication number
DE202014100555U1
DE202014100555U1 DE202014100555.2U DE202014100555U DE202014100555U1 DE 202014100555 U1 DE202014100555 U1 DE 202014100555U1 DE 202014100555 U DE202014100555 U DE 202014100555U DE 202014100555 U1 DE202014100555 U1 DE 202014100555U1
Authority
DE
Germany
Prior art keywords
application program
sensor
terminal
browser
sensor according
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Lifetime
Application number
DE202014100555.2U
Other languages
German (de)
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Sick AG
Original Assignee
Sick 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 Sick AG filed Critical Sick AG
Priority to DE202014100555.2U priority Critical patent/DE202014100555U1/en
Publication of DE202014100555U1 publication Critical patent/DE202014100555U1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44521Dynamic linking or loading; Link editing at or after load time, e.g. Java class loading
    • G06F9/44526Plug-ins; Add-ons

Abstract

Sensor mit einer Steuer- und Auswerteeinheit (2) und einer Speichereinheit (4), wobei ein Anwendungsprogramm (6) zur Parametrierung und/oder Diagnose für den Sensor (1) vorgesehen ist, dadurch gekennzeichnet, dass auf der Speichereinheit (4) eine HTML-Beschreibung (8) gespeichert ist, wobei die HTML-Beschreibung (8) einen Urlademechanismus (10) enthält, wobei der Urlademechanismus (10) dazu ausgebildet ist, das Anwendungsprogramm (6) in einen Browser (12), auf einem Endgerät (14) zu übertragen und das Anwendungsprogramm (6) in dem Browser (12) startbar ist.Sensor with a control and evaluation unit (2) and a memory unit (4), wherein an application program (6) for parameterization and / or diagnosis for the sensor (1) is provided, characterized in that on the memory unit (4) an HTML Description (8), wherein the HTML description (8) includes a bootstrap mechanism (10), wherein the bootstrap mechanism (10) is adapted to transfer the application program (6) to a browser (12) on a terminal (14 ) and the application program (6) is bootable in the browser (12).

Description

Die vorliegende Erfindung betrifft einen Sensor mit einer Steuer- und Auswerteeinheit und einer Speichereinheit, wobei ein Anwendungsprogramm zur Parametrierung und/oder Diagnose für den Sensor vorgesehen ist. The present invention relates to a sensor with a control and evaluation unit and a memory unit, wherein an application program for parameterization and / or diagnosis is provided for the sensor.

Sensoren verfügen häufig über eine Vielzahl von Parametern und sind dadurch schwierig zu konfigurieren. Dem Anwender wird diese Konfiguration durch Werkzeuge bzw. Engineering Tools, beispielsweise dem Tool bzw. Werkzeug SOPAS ET der Anmelderin erleichtert, indem es eine intuitive Oberfläche zur Sensorkonfiguration und Überwachung bietet. Derartige Engineering Tools sind allerdings nicht in Browsern lauffähig und müssen auf dem jeweiligen Rechner bzw. Personal Computer installiert werden. Häufig sind hierzu auf dem Rechner bzw. Personal Computer Administratorrechte erforderlich, was den Installationsprozess erschwert oder ggf. unmöglich macht. Sensors often have a variety of parameters and are therefore difficult to configure. This configuration is made easier for the user by tools or engineering tools, for example the Applicant's tool SOPAS ET, by providing an intuitive sensor configuration and monitoring interface. However, such engineering tools are not executable in browsers and must be installed on the respective computer or personal computer. Often this requires administrator rights on the computer or personal computer, which makes the installation process difficult or possibly impossible.

Zeitgemäße Anwendungsprogramme werden immer häufiger als Web-Anwendungsprogramme angeboten, d. h. die Anwendung muss nicht mehr auf dem Personal Computer installiert werden, sondern läuft vollständig in einem Browser, wie beispielsweise Google Chrome, Mozilla Firefox, Microsoft Internet Explorer oder mobilen Browsern. Dadurch brauchen die Anwendungsprogramme nur einmal entwickelt werden und sind völlig plattformunabhängig. Die Anwendungsprogramme können sowohl auf Desktop-Systemen wie beispielsweise Personal Computern, als auch auf mobilen Geräten wie Tablets und Smartphones ausgeführt werden. Contemporary application programs are increasingly being offered as web application programs, i. H. The application no longer needs to be installed on the personal computer, but runs entirely in a browser, such as Google Chrome, Mozilla Firefox, Microsoft Internet Explorer, or mobile browsers. As a result, the application programs need only be developed once and are completely platform independent. The application programs can be executed on desktop systems such as personal computers, as well as on mobile devices such as tablets and smartphones.

Sensoren nach dem Stand der Technik verfügen häufig über einen integrierten Webserver und liefern HTML-Seiten aus, d. h. die Seitengenerierung erfolgt durch den Sensor selbst. Somit ist ein Web-Anwendungsprogramm nach dem Stand der Technik fest in den Sensoren integriert und nicht einfach austauschbar. Die HTML-Seiten werden über eine HTTP-Schnittstelle an einen Browser ausgeliefert, ggf. erfolgt auch ein Datenaustausch via XML. Prior art sensors often have an integrated web server and render HTML pages, i. H. The page generation is done by the sensor itself. Thus, a web application program according to the prior art is firmly integrated in the sensors and not easily replaceable. The HTML pages are delivered via an HTTP interface to a browser, possibly also takes place a data exchange via XML.

Kleine Sensoren verfügen häufig nicht über die notwendigen Ressourcen, beispielsweise aufgrund zu leistungsschwacher Mikrocontroller, um komplexe Anwendungen bereitstellen zu können. Verschiedene Geräte bzw. Sensoren nach dem Stand der Technik weisen lediglich eine sehr eingeschränkte Benutzeroberfläche auf. Die Anforderungen an die Recheneinheiten, beispielsweise an einen Mikroprozessor oder Mikrokontroller ist durch eine Generierung von Seiten auf dem Gerät sehr hoch und kann die Sensorfunktion bzw. die Sensoranwendung stören oder beeinträchtigen. Eine Anpassbarkeit des Sensors ist nur durch eine Firmware-Anpassung oder eine Parametrierung möglich. Firmware-Änderungen sind ggf. kritisch, da Fehler bei der Firmware-Änderung zu einem Erliegen des Sensorbetriebs führen können. Small sensors often do not have the resources they need, for example because of low-power microcontrollers, in order to provide complex applications. Various devices or sensors according to the prior art have only a very limited user interface. The demands placed on the computing units, for example on a microprocessor or microcontroller, are very high due to the generation of pages on the device and may disturb or impair the sensor function or the sensor application. An adaptability of the sensor is only possible by a firmware adaptation or parameterization. Firmware changes may be critical, as errors in the firmware modification may cause sensor operation to stop.

Gemäß der DE 10 2006 057 708 A1 werden zur Bereitstellung einer Benutzeroberfläche Daten einer Gerätebeschreibungsdatei in dem Sensor in einer durch eine Standardsoftware anzeigbaren Form hinterlegt, beispielsweise in HTML zur Anzeige in einem Standardbrowser. According to the DE 10 2006 057 708 A1 For providing a user interface, data of a device description file are stored in the sensor in a form that can be displayed by a standard software, for example in HTML for display in a standard browser.

Eine Aufgabe der Erfindung besteht darin, zur Sensorkonfiguration und zur Inbetriebnahme eines Sensors die Vorteile eines mobilen Gerätes mit einem Web-Anwendungsprogramm nutzen zu können. So soll ein Anwender, beispielsweise eine Inbetriebnahmeperson beispielsweise einen mobilen Rechner, beispielsweise ein Tablet-PC zur Konfiguration des Sensors benutzen können. Hierzu soll beispielsweise eine Datenübertragung über eine Funkverbindung oder ein Netzwerk erfolgen. An object of the invention is to be able to use the advantages of a mobile device with a web application program for sensor configuration and commissioning of a sensor. Thus, a user, for example, a commissioning person, for example, a mobile computer, such as a tablet PC can be used to configure the sensor. For this purpose, for example, a data transmission via a radio link or a network should take place.

Eine weitere wichtige Anforderung ist eine Einbindung in Fremdsysteme, wie beispielsweise Mensch-Maschinen-Inferfaces (HMIs) oder SCADA-Systeme (Supervisory Control and Data Acquisition System). Another important requirement is integration into third-party systems, such as Human Machine Inferfaces (HMIs) or SCADA systems (Supervisory Control and Data Acquisition System).

Die Aufgabe wird gemäß Anspruch 1 gelöst durch einen Sensor mit einer Steuer- und Auswerteeinheit und einer Speichereinheit, wobei ein Anwendungsprogramm zur Parametrierung und/oder Diagnose für den Sensor vorgesehen ist, wobei auf der Speichereinheit eine HTML-Beschreibung gespeichert ist, wobei die HTML-Beschreibung einen Urlademechanismus enthält, wobei der Urlademechanismus dazu ausgebildet ist, das Anwendungsprogramm in einen Browser auf einem Endgerät zu übertragen und das Anwendungsprogramm in dem Browser startbar ist. The object is achieved according to claim 1 by a sensor having a control and evaluation unit and a memory unit, wherein an application program for parameterization and / or diagnosis is provided for the sensor, wherein an HTML description is stored on the memory unit, wherein the HTML Description includes a bootstrap mechanism, wherein the bootstrap mechanism is adapted to transmit the application program in a browser on a terminal and the application program is bootable in the browser.

Erfindungsgemäß wird das Anwendungsprogramm vom Sensor auf einen Client, in diesem Fall den Browser auf dem Endgerät verlagert. Dies führt zu dem Vorteil, dass die Seitengenerierung auf dem Client bzw. dem Endgerät und nicht mehr auf dem Sensor stattfindet. Anstatt einzelne HTML-Seiten anzuzeigen, wird auf dem Endgerät, nämlich dem Browser ein vollwertiges in sich geschlossenes Anwendungsprogramm ausgeführt, das leicht austauschbar ist. According to the invention, the application program is moved from the sensor to a client, in this case the browser on the terminal. This leads to the advantage that the page generation takes place on the client or the terminal and not on the sensor. Instead of displaying individual HTML pages, the terminal, namely the browser, runs a fully self-contained application program that is easily replaceable.

Da der Sensor nicht mehr mit der Generierung des Anwendungsprogramms, d. h. der Generierung von HTML-Seiten belastet wird, kann der Sensor preiswerter hergestellt werden, da die Auswerte- und Steuereinheit nicht mehr mit der Generierung von HTML-Seiten beschäftigt ist. Da die Ausführung des Anwendungsprogramms durch die Generierung der HTML-Seiten auf dem Endgerät erfolgt, welches meist ohnehin als leistungsfähiges Endgerät, beispielsweise als Personal Computer vorhanden ist, kann die Generierung der HTML-Seiten schneller durchgeführt werden, als wenn dies auf dem Sensor geschehen würde. Since the sensor is no longer burdened with the generation of the application program, ie the generation of HTML pages, the sensor can be made cheaper, since the evaluation and control unit is no longer busy with the generation of HTML pages. Since the execution of the application program by the Generating the HTML pages on the terminal is done, which is usually already available as a powerful device, such as a personal computer, the generation of HTML pages can be performed faster than if this would happen on the sensor.

Da der Sensor durch das Anwendungsprogramm mittels HTML-Seiten parametriert bzw. diagnostiziert wird, ist das Anwendungsprogramm plattformunabhängig. Das Anwendungsprogramm braucht nicht an verschiedene Betriebssysteme angepasst werden. Since the sensor is parameterized or diagnosed by the application program by means of HTML pages, the application program is platform-independent. The application program does not need to be adapted to different operating systems.

Gemäß der Erfindung ist das Anwendungsprogramm auch einfach anpassbar. Nach einer Anpassung des Anwendungsprogrammes muss dieses nur noch ausgetauscht werden. According to the invention, the application program is also easily customizable. After an adaptation of the application program, this only needs to be replaced.

Die Firmware selbst, welche primär die Funktionen des Sensors selbst bereitstellt, muss bei einer Anpassung des Anwendungsprogramms nicht mehr angepasst oder verändert werden. D. h. die Firmware und das Anwendungsprogramm sind unabhängig voneinander austauschbar. The firmware itself, which primarily provides the functions of the sensor itself, no longer needs to be adapted or changed when adapting the application program. Ie. the firmware and the application program are interchangeable independently.

Für das browserbasierte Anwendungsprogramm stehen sehr gute Entwicklungswerkzeuge, wie beispielsweise JavaScript oder TypeScript zur Verfügung. The browser-based application program has very good development tools, such as JavaScript or TypeScript.

Der Urlademechanismus ist dazu ausgebildet, das Anwendungsprogramm einzulesen und zu interpretieren. Beispielsweise enthält die Beschreibungsdatei Oberflächenelemente und weitere Grundeinstellungen für eine Benutzeroberfläche. Der Urlademechanismus ist eine statische HTML-Seite. D. h. der Urlademechanismus wird beispielsweise nicht von einem Automaten während einer Programmlaufzeit generiert. Dadurch, dass der Urlademechanismus eine statische HTML-Seite ist, ist der Urlademechanismus dazu ausgebildet, ein im Urlademechanismus statisch fest verknüpftes Anwendungsprogramm zu laden. The bootstrap mechanism is designed to read in and interpret the application program. For example, the description file contains UI elements and other basic settings for a user interface. The boot mechanism is a static HTML page. Ie. For example, the boot mechanism is not generated by a machine during a program runtime. By virtue of the bootstrap mechanism being a static HTML page, the bootstrap mechanism is configured to load an application program that is statically linked in the bootstrap mechanism.

Die HTML-Beschreibung, die den Urlademechanismus enthält, wird dabei durch eine Aktion, entweder eine Anwenderaktion oder eine automatische Aktion, in den Browser im Endgerät übertragen. Eine Anwenderaktion ist beispielsweise ein einfacher Mausklick, um eine Parametrierung und/oder eine Diagnose des Sensors einzuleiten. Eine automatische Aktion ist beispielsweise eine von einem Automaten eingeleitete Parametrierung und/oder Diagnose. The HTML description containing the boot mechanism is thereby transferred to the browser in the terminal by an action, either a user action or an automatic action. A user action is, for example, a simple mouse click to initiate a parameterization and / or a diagnosis of the sensor. An automatic action is, for example, a parameterization and / or diagnosis initiated by a machine.

Der Urlademechanismus überträgt dann, vom Browser aus auf dem Endgerät, das Anwendungsprogramm auf das Endgerät. Danach wird das Anwendungsprogramm vom Urlademechanismus in dem Browser gestartet. The bootstrap mechanism then transmits, from the browser on the terminal, the application program to the terminal. Thereafter, the application program is started by the boot mechanism in the browser.

Der Urlademechanismus wird dabei gemäß der Erfindung immer vom Sensor bereitgestellt, wodurch automatisch immer der richtige Urlademechanismus für den betreffenden Sensor vorliegt. The bootstrap mechanism is always provided according to the invention by the sensor, whereby automatically always the correct bootstrap mechanism for the sensor in question is present.

Das Anwendungsprogramm ist dazu ausgebildet, nach dem Start eine Beschreibung einer Benutzeroberfläche einzulesen und dynamisch die Benutzeroberfläche aufzubauen. The application program is designed to read a description of a user interface after startup and dynamically set up the user interface.

In einer bevorzugten Ausführungsform ist auf der Speichereinheit das Anwendungsprogramm gespeichert. Dies hat den Vorteil, dass alle zur Konfiguration bzw. Diagnose notwendigen Softwarekomponenten auf dem Sensor selbst zur Verfügung stehen. Lediglich der Browser muss auf einem Endgerät zur Verfügung stehen. In a preferred embodiment, the application program is stored on the storage unit. This has the advantage that all software components necessary for the configuration or diagnosis are available on the sensor itself. Only the browser must be available on a terminal device.

In einer alternativen Ausführungsform ist das Anwendungsprogramm auf einem externen Rechner gespeichert. Dadurch braucht das Anwendungsprogramm nicht auf dem Sensor selbst zur Verfügung gestellt werden. Beispielsweise wird das Anwendungsprogramm von dem Sensor über eine Internetverbindung von dem externen Rechner geladen und dann auf das Endgerät übertragen und in dem Browser gestartet. In an alternative embodiment, the application program is stored on an external computer. As a result, the application program does not need to be provided on the sensor itself. For example, the application program is loaded from the sensor via an internet connection from the external computer and then transmitted to the terminal and started in the browser.

In Weiterbildung der Erfindung liegt das Anwendungsprogramm in einem komprimierten Containerformat, beispielsweise ZIP oder RAR vor, wobei der Urlademechanismus das komprimierte Containerformat des Anwendungsprogramms dekomprimiert bzw. extrahiert. Dadurch, dass das Anwendungsprogramm in einem komprimierten Containerformat vorliegt, benötigt das Anwendungsprogramm weniger Speicherplatz, so dass beispielsweise auf der Speichereinheit des Sensors selbst umfangreichere Anwendungsprogramme abgelegt werden können. Auch eine Ablage der Anwendungsprogramme auf einem externen Rechner ist durch das komprimierte Containerformat von Vorteil, da beispielsweise sehr viele verschiedene Anwendungsprogramme für sehr viele verschiedene Sensoren so platzsparend auf dem Rechner abgelegt werden können. Dadurch ist eine einfache Anpassbarkeit gewährleistet. Es muss lediglich das Container-Anwendungsprogramm ausgetauscht werden. In a further development of the invention, the application program is in a compressed container format, for example ZIP or RAR, wherein the bootstrap mechanism decompresses or extracts the compressed container format of the application program. Because the application program is in a compressed container format, the application program requires less storage space so that, for example, even larger application programs can be stored on the memory unit of the sensor itself. Storage of the application programs on an external computer is also advantageous due to the compressed container format, since, for example, a large number of different application programs for a large number of different sensors can be stored in a space-saving manner on the computer. This ensures easy customization. All that needs to be done is to exchange the container application program.

In Weiterbildung der Erfindung ist die Beschreibung der Benutzeroberfläche in mindestens einer Datei beschrieben. Beispielsweise handelt es sich dabei um eine XML-Datei. XML steht für Extensible Markup Language bzw. erweiterbare Auszeichnungssprache. XML ist eine Auszeichnungssprache zur Darstellung hierarchisch strukturierter Daten in Form von Textdateien. XML-Dateien haben den Vorteil, dass diese einen plattformunabhängigen und implementationsunabhängigen Austausch von Daten ermöglichen. XML-Dateien ermöglichen somit eine einfache, kompatible und allgemeingültige Beschreibung der Benutzeroberfläche. In a development of the invention, the description of the user interface is described in at least one file. For example, this is an XML file. XML stands for extensible markup language or extensible markup language. XML is a markup language for representing hierarchically structured data in the form of text files. XML files have the Advantage that they allow a platform-independent and implementation-independent exchange of data. XML files thus enable a simple, compatible and generally valid description of the user interface.

Die Beschreibung der Benutzeroberfläche kann jedoch auch in einer JSON-Datei gespeichert sein. JSON steht für Java Script Object Notation und ist ein kompaktes Datenformat oder Datenaustauschformat, welches in einfacher Textform vorliegt zum Zweck des Datenaustauschs zwischen Anwendungen. JSON ist eine deskriptive Beschreibungssprache. JSON ist unabhängig von einer verwendeten Programmiersprache. However, the description of the user interface may also be stored in a JSON file. JSON stands for Java Script Object Notation and is a compact data format or data exchange format that exists in plain text for the purpose of data exchange between applications. JSON is a descriptive description language. JSON is independent of any programming language used.

Gemäß einer bevorzugten Ausführungsform ist die Benutzeroberfläche eine Einzelseiten-Webanwendung. Die Einzelseiten-Webanwendung wird auch ‚Single-Page-App‘ genannt und bildet ein modernes Anwendungskonzept. Als Einzelseiten-Webanwendung wird eine Website bezeichnet, die aus einem einzigen Html-Dokument besteht und deren Inhalte dynamisch nachgeladen werden. Diese Art von Website-Design steht im Gegensatz zu klassischen Websites, die aus mehreren, untereinander verlinkten Html-Dokumenten bestehen. Durch die Einzelseiten-Webanwendung ist ein Betrieb des Anwendungsprogramms in nahezu allen Browsern möglich. So kann das Anwendungsprogramm beispielsweise auch auf mobilen Geräten wie Smartphones oder Tablet-PCs ausgeführt werden. In a preferred embodiment, the user interface is a single page web application. The single-page web application is also called a 'single-page app' and forms a modern application concept. A single-page web application is a website that consists of a single html document and its contents are dynamically reloaded. This type of website design is in contrast to classic websites, which consist of multiple, interlinked html documents. The single-page web application allows the application to run in almost any browser. For example, the application program can also be executed on mobile devices such as smartphones or tablet PCs.

In Weiterbildung der Erfindung ist das Endgerät ein PC, ein Tablet-PC, ein Laptop, ein Notebook, ein Netbook, ein Mobiltelefon, eine Eingabe/Ausgabeeinheit einer Maschine oder ein Smartphone. Dadurch kann der Sensor durch die genannten verschiedenen Endgeräte parametriert oder diagnostiziert werden. Dadurch kann der Sensor mit dem Endgerät parametriert oder diagnostiziert werden, welches gerade zur Verfügung steht. Beispielsweise kann ein Smartphone benutzt werden, da ein Smartphone handlich ist und meistens ohnehin bei einem Anwender vorhanden ist. Dadurch ist für den Anwender eine flexible Parametrierung und/oder Diagnose des Sensors möglich. In a development of the invention, the terminal is a PC, a tablet PC, a laptop, a notebook, a netbook, a mobile telephone, an input / output unit of a machine or a smartphone. As a result, the sensor can be parameterized or diagnosed by the various terminal devices mentioned. As a result, the sensor can be parameterized or diagnosed with the terminal that is currently available. For example, a smartphone can be used, as a smartphone is handy and usually already exists in a user anyway. As a result, flexible parameterization and / or diagnosis of the sensor is possible for the user.

In Weiterbildung der Erfindung ist die Benutzeroberfläche an das Endgerät angepasst. Dadurch ist eine optimale Darstellung auf dem jeweiligen Endgerät gewährleistet. Dabei ist eine Grafikdarstellung und/oder eine Textdarstellung an das Endgerät angepasst. In a further development of the invention, the user interface is adapted to the terminal. This ensures optimum presentation on the respective terminal. In this case, a graphic representation and / or a text representation is adapted to the terminal.

In Weiterbildung verfügt der Sensor über eine Rest-Schnittstelle (Representational State Transfer), um eine Verbindung zwischen Sensor und Endgerät herzustellen. Gemäß der REST-Schnittstelle ist es vorgesehen, dass ein einheitlicher Quellenanzeiger auch URL (Uniform Ressource Locator) genannt, genau ein Ergebnis einer Aktion darstellt. In further development, the sensor has a Representational State Transfer interface to establish a connection between the sensor and the terminal. According to the REST interface, it is envisaged that a uniform source indicator, also called URL (Uniform Resource Locator), will be exactly one result of an action.

Die REST-Schnittstelle setzt auf ein zustandsloses Client-Server-Protokoll, wobei im Normalfall HTTP oder HTTPS eingesetzt wird. Jede REST-Nachricht enthält dabei alle Informationen, die für das Endgerät notwendig sind, um die Nachricht zu verstehen. Weder der Sensor noch die Anwendung soll Zustandsinformationen zwischen zwei Nachrichten speichern. Eine derartig strikte Trennung der Zuständigkeiten zwischen Client und Server führt dazu, dass ein REST-konformer Webservice als zustandslos bezeichnet werden kann. Jede Anfrage des Anwendungsprogramms an den Sensor ist in dem Sinne in sich geschlossen, als dass sie sämtliche Informationen über den Anwendungszustand beinhaltet, die vom Sensor für die Verarbeitung der Anfrage benötigt werden. The REST interface relies on a stateless client-server protocol, usually using HTTP or HTTPS. Each REST message contains all information necessary for the terminal to understand the message. Neither the sensor nor the application should store state information between two messages. Such a strict separation of responsibilities between the client and the server means that a REST-compliant web service can be described as stateless. Each request of the application program to the sensor is self-contained in the sense that it contains all the information about the application state required by the sensor to process the request.

Zustandslosigkeit in der hier beschriebenen Form wirkt sich begünstigend auf die Skalierbarkeit eines Webservices aus. Da jede Anfrage in sich geschlossen ist und Anwendungsinformationen somit ausschließlich auf der Seite des Anwendungsprogramms vorgehalten werden, ist auf der Seite des Sensors keine Sitzungsverwaltung erforderlich. Im Gegensatz hierzu nutzen nach dem Stand der Technik jedoch viele HTTP-basierte Anwendungen Cookies und andere Techniken, um Zustandsinformationen zu behalten. Statelessness in the form described here has a favorable effect on the scalability of a web service. Since each request is self-contained and application information is thus held exclusively on the application program side, no session management is required on the side of the sensor. However, in the prior art, many HTTP-based applications use cookies and other techniques to keep state information.

Die Erfindung wird nachstehend auch hinsichtlich weiterer Vorteile und Merkmale unter Bezugnahme auf die beigefügte Zeichnung anhand von Ausführungsbeispielen erläutert. Die Figuren der Zeichnung zeigen in: The invention will be explained below with regard to further advantages and features with reference to the accompanying drawings with reference to embodiments. The figures of the drawing show in:

1 einen Sensor und ein Endgerät mit dem Anwendungsprogramm. 1 a sensor and a terminal with the application program.

2 einen Sensor und ein Endgerät mit einer Funkübertragung 2 a sensor and a terminal with a radio transmission

In den nachfolgenden Figuren sind identische Teile mit identischen Bezugszeichen versehen. In the following figures, identical parts are provided with identical reference numerals.

1 zeigt einen Sensor 1 mit einer Steuer- und Auswerteeinheit 2 und einer Speichereinheit 4, wobei ein Anwendungsprogramm 6 zur Parametrierung und/oder Diagnose für den Sensor 1 vorgesehen ist, wobei auf der Speichereinheit 4 eine HTML-Beschreibung 8 gespeichert ist, wobei die HTML-Beschreibung 8 einen Urlademechanismus 10 enthält, wobei der Urlademechanismus 10 dazu ausgebildet ist, das Anwendungsprogramm 6 in einen Browser 12 auf ein Endgerät 14 zu übertragen und das Anwendungsprogramm 6 in dem Browser 12 startbar ist. 1 shows a sensor 1 with a control and evaluation unit 2 and a storage unit 4 , being an application program 6 for parameterization and / or diagnostics for the sensor 1 is provided, wherein on the storage unit 4 an HTML description 8th is stored, with the HTML description 8th a boot mechanism 10 contains, with the boot mechanism 10 is designed to the application program 6 in a browser 12 on a terminal 14 to transfer and the application program 6 in the browser 12 is bootable.

Beispielsweise ist auf der Speichereinheit 4 das Anwendungsprogramm 6 gespeichert. Es kann jedoch auch vorgesehen sein, dass das Anwendungsprogramm 6 auf einem externen Rechner 16 gespeichert ist. Dabei ist es vorgesehen, dass das Anwendungsprogramm 6 über eine Internetverbindung auf das Endgerät 14 übertragen wird. For example, on the storage unit 4 the application program 6 saved. However, it can also be provided that the application program 6 on an external computer 16 is stored. It is envisaged that the application program 6 via an internet connection to the terminal 14 is transmitted.

Das Anwendungsprogramm 6 liegt beispielsweise in einem komprimierten Containerformat, beispielsweise ZIP oder RAR vor, wobei der Urlademechanismus 10 dazu ausgebildet ist, das komprimierte Containerformat des Anwendungsprogramms 6 zu dekomprimieren bzw. zu extrahieren. The application program 6 is for example in a compressed container format, for example ZIP or RAR, the bootstrap mechanism 10 adapted to the compressed container format of the application program 6 to decompress or extract.

Es wird ein vollständiges Anwendungsprogramm 6, beispielsweise mit Type-Script bzw. Java-Script erstellt. Dieses Anwendungsprogramm 6 ist durch eine Beschreibungssprache leicht anpassbar. Der Sensor 1 verfügt über eine http-Schnittstelle. Über diese http-Schnittstelle kann das Anwendungsprogramm 6 und der Sensor mittels Java Script Objekt Notation (JSON) Objektdaten austauschen. JSON ist ein kompaktes Datenformat in für Mensch und Maschine einfach lesbarer Textform zum Zweck des Datenaustauschs zwischen Anwendungen, in diesem Fall zwischen dem Sensor 1 und dem Anwendungsprogramm 6 im Browser 12. It becomes a complete application program 6 , for example, created with type script or Java script. This application program 6 is easily customizable through a description language. The sensor 1 has an http interface. The application program can be accessed via this http interface 6 and the sensor using Java Script Object Notation (JSON) exchange object data. JSON is a compact data format in human and machine easy to read text form for the purpose of data exchange between applications, in this case between the sensor 1 and the application program 6 in the browser 12 ,

Die Dateien des Anwendungsprogramms 6 sind selbst nicht lauffähig bzw. können sich nicht selbst starten. Um die Dateien starten zu können, ist ein Urlademechanismus 10, auch bekannt unter dem Begriff „Bootstrap“ vorgesehen. Der Urlademechanismus 10 ist dazu ausgebildet, mindestens eine Beschreibungsdatei des Anwendungsprogramms 6 einzulesen und zu interpretieren. Dieser Urlademechanismus 10 ist in einer gewöhnlichen HTML-Datei enthalten, die über einen Browser 12 gestartet werden kann und beispielsweise auf dem Sensor 1 abgelegt ist. Diese HTML-Datei lädt das Anwendungsprogramm 6 von einer internen Quelle, nämlich der Speichereinheit 4 oder einer externen Quelle, nämlich dem externen Rechner 16 und startet diese auf dem Endgerät 14 in dem Browser 12. The files of the application program 6 are not executable themselves or can not start themselves. To start the files is a boot mechanism 10 , also known as "bootstrap". The boot mechanism 10 is adapted to at least one description file of the application program 6 to read in and interpret. This boot mechanism 10 is contained in an ordinary HTML file, which is accessible via a browser 12 can be started and, for example, on the sensor 1 is stored. This HTML file loads the application program 6 from an internal source, namely the storage unit 4 or an external source, namely the external computer 16 and starts it on the terminal 14 in the browser 12 ,

Der Urlademechanismus 10 ist eine statische HTML-Seite. Die HTML-Beschreibung 8, die den Urlademechanismus 10 enthält, wird dabei durch eine Aktion, entweder eine Anwenderaktion oder eine automatische Aktion in den Browser 12 im Endgerät 14 übertragen. Eine Anwenderaktion ist beispielsweise ein einfacher Mausklick, um eine Parametrierung und/oder eine Diagnose des Sensors einzuleiten. Eine automatische Aktion ist beispielsweise eine von einem Automaten eingeleitete Parametrierung und/oder Diagnose. The boot mechanism 10 is a static HTML page. The HTML description 8th that the boot mechanism 10 is contained in the browser by an action, either a user action or an automatic action 12 in the terminal 14 transfer. A user action is, for example, a simple mouse click to initiate a parameterization and / or a diagnosis of the sensor. An automatic action is, for example, a parameterization and / or diagnosis initiated by a machine.

Der Urlademechanismus 10 überträgt dann vom Browser 12 aus auf dem Endgerät 14 das Anwendungsprogramm 6 auf das Endgerät 14. Danach wird das Anwendungsprogramm 6 vom Urlademechanismus 10 in dem Browser 12 gestartet. The boot mechanism 10 then transmits from the browser 12 out on the terminal 14 the application program 6 on the terminal 14 , Then the application program 6 from the boot mechanism 10 in the browser 12 started.

Das Anwendungsprogramm 6 ist dazu ausgebildet, nach dem Start eine Beschreibung einer Benutzeroberfläche einzulesen und dynamisch die Benutzeroberfläche aufzubauen. Die Beschreibung der Benutzeroberfläche ist mindestens in einer Datei beschrieben. Dabei kann es sich beispielsweise um eine XML-Datei handeln. Gemäß dem Beispiel ist die Benutzeroberfläche eine Einzelseiten-Webanwendung. The application program 6 is designed to read a description of a user interface after startup and dynamically build up the user interface. The description of the user interface is described in at least one file. This can be, for example, an XML file. According to the example, the user interface is a single-page web application.

Das Endgerät 14 ist beispielsweise ein PC, ein Tablet-PC, ein Laptop, ein Notebook, ein Netbook, ein Mobiltelefon, eine Eingabe/Ausgabeeinheit einer Maschine oder ein Smartphone. Die Benutzeroberfläche ist an das Endgerät 14 jeweils angepasst. So ist der Aufbau der Seiten bezüglich Grafiken und Texten an das jeweils verwendete Display des Endgerätes angepasst. Beispielsweise ist die Schriftgröße an das jeweilige Display angepasst. The terminal 14 is for example a PC, a tablet PC, a laptop, a notebook, a netbook, a mobile phone, an input / output unit of a machine or a smartphone. The user interface is to the terminal 14 each adapted. Thus, the structure of the pages with respect to graphics and text is adapted to the particular display used by the terminal. For example, the font size is adapted to the respective display.

Gemäß 2 ist zwischen Sensor 1 und Endgerät 14 eine drahtlose Verbindung, beispielsweise eine Funkverbindung, beispielsweise eine Bluetooth oder Wireless-LAN(WLAN)-Verbindung vorgesehen. Hierzu ist ein zusätzliches Kommunikationsprogramm erforderlich, das auf dem jeweiligen Endgerät 14 installiert ist. Dieses ist in der Lage, das Anwendungsprogramm 6 in dem Browser 12 auf dem Endgerät 14 zu starten. According to 2 is between sensor 1 and terminal 14 a wireless connection, such as a wireless connection, such as a Bluetooth or wireless LAN (WLAN) connection provided. For this purpose, an additional communication program is required on the respective terminal 14 is installed. This is capable of the application program 6 in the browser 12 on the terminal 14 to start.

ZITATE ENTHALTEN IN DER BESCHREIBUNG QUOTES INCLUDE IN THE DESCRIPTION

Diese Liste der vom Anmelder aufgeführten Dokumente wurde automatisiert erzeugt und ist ausschließlich zur besseren Information des Lesers aufgenommen. Die Liste ist nicht Bestandteil der deutschen Patent- bzw. Gebrauchsmusteranmeldung. Das DPMA übernimmt keinerlei Haftung für etwaige Fehler oder Auslassungen.This list of the documents listed by the applicant has been generated automatically and is included solely for the better information of the reader. The list is not part of the German patent or utility model application. The DPMA assumes no liability for any errors or omissions.

Zitierte PatentliteraturCited patent literature

  • DE 102006057708 A1 [0006] DE 102006057708 A1 [0006]

Claims (8)

Sensor mit einer Steuer- und Auswerteeinheit (2) und einer Speichereinheit (4), wobei ein Anwendungsprogramm (6) zur Parametrierung und/oder Diagnose für den Sensor (1) vorgesehen ist, dadurch gekennzeichnet, dass auf der Speichereinheit (4) eine HTML-Beschreibung (8) gespeichert ist, wobei die HTML-Beschreibung (8) einen Urlademechanismus (10) enthält, wobei der Urlademechanismus (10) dazu ausgebildet ist, das Anwendungsprogramm (6) in einen Browser (12), auf einem Endgerät (14) zu übertragen und das Anwendungsprogramm (6) in dem Browser (12) startbar ist. Sensor with a control and evaluation unit ( 2 ) and a storage unit ( 4 ), where an application program ( 6 ) for the parameterization and / or diagnosis for the sensor ( 1 ), characterized in that on the storage unit ( 4 ) an HTML description ( 8th ), the HTML description ( 8th ) a bootstrap mechanism ( 10 ), wherein the bootstrap mechanism ( 10 ) is adapted to the application program ( 6 ) into a browser ( 12 ), on a terminal ( 14 ) and the application program ( 6 ) in the browser ( 12 ) is bootable. Sensor nach Anspruch 1, dadurch gekennzeichnet, dass auf der Speichereinheit (4) das Anwendungsprogramm (6) gespeichert ist. Sensor according to claim 1, characterized in that on the memory unit ( 4 ) the application program ( 6 ) is stored. Sensor nach Anspruch 1, dadurch gekennzeichnet, dass auf einem externen Rechner (16) das Anwendungsprogramm (6) gespeichert ist. Sensor according to claim 1, characterized in that on an external computer ( 16 ) the application program ( 6 ) is stored. Sensor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass das Anwendungsprogramm (6) in einem komprimierten Containerformat, beispielsweise ZIP oder RAR vorliegt, wobei der Urlademechanismus (10) dazu ausgebildet ist, das komprimierte Containerformat des Anwendungsprogramms (6) zu dekomprimieren bzw. zu extrahieren. Sensor according to one of the preceding claims, characterized in that the application program ( 6 ) in a compressed container format, for example ZIP or RAR, the bootstrap mechanism ( 10 ) is adapted to the compressed container format of the application program ( 6 ) to decompress or extract. Sensor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass eine Beschreibung einer Benutzeroberfläche des Anwendungsprogramms (6) in mindestens einer Datei beschrieben ist. Sensor according to one of the preceding claims, characterized in that a description of a user interface of the application program ( 6 ) is described in at least one file. Sensor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass die Benutzeroberfläche eine Einzelseiten-Webanwendung ist. Sensor according to one of the preceding claims, characterized in that the user interface is a single-page web application. Sensor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass das Endgerät (14) ein PC, ein Tablet-PC, ein Laptop, ein Notebook, ein Netbook, ein Mobiltelefon, eine Eingabe/Ausgabeeinheit einer Maschine oder ein Smartphone ist. Sensor according to one of the preceding claims, characterized in that the terminal ( 14 ) is a PC, a tablet PC, a laptop, a notebook, a netbook, a mobile phone, an input / output unit of a machine or a smartphone. Sensor nach einem der vorhergehenden Ansprüche, dadurch gekennzeichnet, dass die Benutzeroberfläche an das Endgerät (14) angepasst ist. Sensor according to one of the preceding claims, characterized in that the user interface to the terminal ( 14 ) is adjusted.
DE202014100555.2U 2014-02-07 2014-02-07 Sensor with application program Expired - Lifetime DE202014100555U1 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE202014100555.2U DE202014100555U1 (en) 2014-02-07 2014-02-07 Sensor with application program

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE202014100555.2U DE202014100555U1 (en) 2014-02-07 2014-02-07 Sensor with application program

Publications (1)

Publication Number Publication Date
DE202014100555U1 true DE202014100555U1 (en) 2015-05-08

Family

ID=53193011

Family Applications (1)

Application Number Title Priority Date Filing Date
DE202014100555.2U Expired - Lifetime DE202014100555U1 (en) 2014-02-07 2014-02-07 Sensor with application program

Country Status (1)

Country Link
DE (1) DE202014100555U1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109870182A (en) * 2019-03-25 2019-06-11 安徽络嵌控制系统有限公司 A kind of transmitter debugging system

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006057708A1 (en) 2006-12-07 2008-06-12 Sick Ag System architecture for securing updation of firmware, has processor, system bus for data transfer to and from processor and local memory unit for storing firmware

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102006057708A1 (en) 2006-12-07 2008-06-12 Sick Ag System architecture for securing updation of firmware, has processor, system bus for data transfer to and from processor and local memory unit for storing firmware

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109870182A (en) * 2019-03-25 2019-06-11 安徽络嵌控制系统有限公司 A kind of transmitter debugging system

Similar Documents

Publication Publication Date Title
DE102009011552B4 (en) Apparatus and method for providing data read and write access to a device
DE102013109213A1 (en) A method for providing data for a mobile device from a field device, computer program and arrangement for carrying it out
DE112015005673B4 (en) Method for enabling communication between a user device browser and a local device
DE112012002774T5 (en) Method and device for a keep-alive push agent
DE112015000299T5 (en) Portable wireless self-hosted condition monitoring web server and usage method
DE202014010943U1 (en) Switch to and from native web applications
DE102005046166A1 (en) Internet/intranet page representing method, involves changing internet/intranet page data from one data format to another format and transmitting data to visualization device to completely/partially represent page on automation device
EP3217236B1 (en) Method and system for generating a control program in the form of a mobile application which runs on a mobile device
DE102011053851A1 (en) Service-oriented framework for communication with devices in a process control system
DE202013012437U1 (en) Hidden text input box
DE102015112021A1 (en) PRINTING DEVICE WITH DIRECT WIRELESS COMMUNICATION FUNCTION, CONTROL METHOD FOR A PRINTING DEVICE AND STORAGE MEDIUM
EP3226088A1 (en) Display and operating unit and method for operating a field device comprising a display and operating unit
DE102016007400A1 (en) Techniques for evaluating applications through the use of a helper application
DE102014101575A1 (en) Sensor with application program
DE202015009262U1 (en) OPTIMIZED HOSTED APPLICATIONS
DE102015113637A1 (en) SYSTEM, IMAGE PROCESSING DEVICE, SERVER AND METHOD FOR CONTROLLING THEREOF
DE112021004324T5 (en) PLC device and industrial machine system
DE202014100555U1 (en) Sensor with application program
DE102016221273A1 (en) Method for operating a portable input device for controlling a motor vehicle
DE102016117314B4 (en) Device, method and program product for data bandwidth optimization
DE102015009911A1 (en) Techniques for providing a sign language integrating user interface
DE102021003271A1 (en) INFORMATION PROCESSING DEVICE, STORAGE MEDIUM, AND CONTROL METHOD
DE102015101953A1 (en) Recognize performance state changes
DE102014006622B4 (en) Method for remote use of a terminal
DE202015103788U1 (en) Process device for industrial use

Legal Events

Date Code Title Description
R207 Utility model specification

Effective date: 20150618

R150 Utility model maintained after payment of first maintenance fee after three years
R157 Lapse of ip right after 6 years