EP1759462A1 - System and method for the transfer of floating point numbers in xml format without loss of information - Google Patents
System and method for the transfer of floating point numbers in xml format without loss of informationInfo
- Publication number
- EP1759462A1 EP1759462A1 EP05758614A EP05758614A EP1759462A1 EP 1759462 A1 EP1759462 A1 EP 1759462A1 EP 05758614 A EP05758614 A EP 05758614A EP 05758614 A EP05758614 A EP 05758614A EP 1759462 A1 EP1759462 A1 EP 1759462A1
- Authority
- EP
- European Patent Office
- Prior art keywords
- computer system
- floating
- binary value
- point
- xml
- 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.)
- Withdrawn
Links
Classifications
-
- H—ELECTRICITY
- H03—ELECTRONIC CIRCUITRY
- H03M—CODING; DECODING; CODE CONVERSION IN GENERAL
- H03M7/00—Conversion of a code where information is represented by a given sequence or number of digits to a code where the same, similar or subset of information is represented by a different sequence or number of digits
- H03M7/14—Conversion to or from non-weighted codes
- H03M7/24—Conversion to or from floating-point codes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/25—Integrating or interfacing systems involving database management systems
- G06F16/258—Data format conversion from or to a database
Definitions
- the invention relates to a system and method for converting or transmitting floating-point numbers.
- Such a system and method is used in particular in the field of automation technology, for example to transmit process data of a process automation system in XML, in particular via the Internet, to an operating and monitoring system and / or to a further automation system.
- the invention has for its object to provide a system or a method of the type mentioned, which avoids ein ⁇ times rounding error. Such rounding errors occur when converting numerical values from a decimal to a binary representation.
- FIG. 1 shows a system for converting floating point numbers into XML
- FIG. 2 shows a system for the transmission of floating-point numbers in XML.
- FIG. 1 shows a system for converting floating-point numbers into XML.
- the system shown in FIG. 1 consists of a first computer system 1, which can be connected to a system 2 via an Internet connection 8 implemented as an XML transfer 3.
- FPU Floating Point Unit
- FIG. 1 this is an automation system used in the field of automation technology.
- the computer system 1 can be designed for processing process and control data of an operating system which stores data, for example for an operating and monitoring system of the automation system.
- Fig. 2 shows a system for lossless transmission of floating point numbers in XML.
- the system shown in FIG. 2 comprises a first computer system 1, which can be connected to a system 2 via an Internet connection 8 implemented as an XML transfer 3.
- the second computer system comprises a conversion unit 7 for conversion
- the second computer system further comprises a second floating-point unit 4 for further processing of the second binary value 12 in the second computer system 2
- the system shown here is, for example, an automation system used in the field of automation technology.
- the computer system 1 can be configured to process process and control data of an operating system, while the second computer system forms, for example, an operating and monitoring system of the automation system.
- the special feature of the embodiment dar ⁇ provided in FIG 1 is that no decimal base is used for textual representation of the floating-point number for the data transfer from er Weg ⁇ from the 'first floating point unit th first binary value, but a floating point number 10, having a number basis, as Factors containing only the number 2, so for example, has a hexadecimal base.
- a rounding error in the transmission of, for example, process values and control values in the form of an XML data transmission is produced in a surprisingly simple manner. avoided.
- Data conversion carried out in the first conversion unit of the first computer system is reconverted back again in the second conversion unit 7 of the second computer system 2, so that at the output of the conversion unit in the form of the second binary value 12 a value without rounding errors for the further processing in the second Computer system 2 is available.
- OPC OLE for Process Control
- XML Due to its universal properties, XML is increasingly being used for communication purposes. Primarily SOAP and WebServices are mentioned here.
- OPC-XML OLE for Process Control
- OPC-XML floating-point numbers (double / float) are converted into text and transmitted as XML tags.
- the specification for this is defined in XML Schema Part II: Datatypes.
- the invention is based on the finding that in the conversion from the textual (decimal) representation into the binary representation due to mathematical laws, non-solvable rounding errors can occur. (Transformation of common fractions in the decimal system in the binary system can lead to periodic breaks, etc.)
- the proposed solution preserves the benefits of textual transmission while eliminating rounding issues.
- decimal number 0.2 1/5 gives in binary representation the periodic fraction: 0.1001
- the periodic is easily recognizable in the mantissa.
- decimal number 123.34 would be represented as normalized in exponential notation as follows: 1.2334 * 10 2
- the hexadecimal representation can be used in the same way as the decimal variant, but no rounding errors occur. Note: In the illustrated calculation, it was dispensed with the mantissa to adapt to a hexadecimal exponent. The binary exponent is still used. For the transmission tasks it is unimportant in which format the exponent is transmitted, but saves a conversion work. From the point of view, only a suitable conversion of binary into hexadecimal digits (and vice versa) takes place.
- a type of single in double precision and vice versa is immediately possible. (In contrast to the decimal system) Changing the precision of the floating point number (from double precision to single precision and vice versa) is much easier in the hexadecimal representation than in the decimal representation, since the hexadecimal digits are converted to their binary value can.
- the example uses the hexadecimal system as an example. However, the principle of the invention may refer to all suitable numerical bases, ie to all numerical bases which contain the 2 as the sole factor, such as 4, 8, 16, 32,....
- the invention thus relates to a system and method for loss-free transmission of floating point numbers in XML, which is used in particular in the field of automation technology, for example, process data of a process automation system in XML, in particular via Internet to an operator control and observation system and / or to another automation system etc. to transmit.
- process data of a process automation system in XML in particular via Internet to an operator control and observation system and / or to another automation system etc. to transmit.
- process data of a process automation system in XML in particular via Internet to an operator control and observation system and / or to another automation system etc. to transmit.
- a textual representation of a floating-point number there be no decimal basis, but in particular a hexadecimal number.
Landscapes
- Engineering & Computer Science (AREA)
- Databases & Information Systems (AREA)
- Theoretical Computer Science (AREA)
- Data Mining & Analysis (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Communication Control (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
DE102004030384A DE102004030384A1 (en) | 2004-06-23 | 2004-06-23 | System and method for the lossless transmission of floating point numbers in XML |
PCT/EP2005/052863 WO2006000548A1 (en) | 2004-06-23 | 2005-06-21 | System and method for the transfer of floating point numbers in xml format without loss of information |
Publications (1)
Publication Number | Publication Date |
---|---|
EP1759462A1 true EP1759462A1 (en) | 2007-03-07 |
Family
ID=34971792
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
EP05758614A Withdrawn EP1759462A1 (en) | 2004-06-23 | 2005-06-21 | System and method for the transfer of floating point numbers in xml format without loss of information |
Country Status (3)
Country | Link |
---|---|
EP (1) | EP1759462A1 (en) |
DE (1) | DE102004030384A1 (en) |
WO (1) | WO2006000548A1 (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20060009378A1 (en) | 2002-11-14 | 2006-01-12 | Itshak Golan | Novel galectin sequences and compositions and methods utilizing same for treating or diagnosing arthritis and other chronic inflammatory diseases |
EP2040178B1 (en) * | 2007-09-20 | 2016-07-13 | Canon Kabushiki Kaisha | Document encoding apparatus, document encoding method, and computer-readable storage medium |
JP5710726B2 (en) * | 2013-10-09 | 2015-04-30 | ファナック株式会社 | Control device for executing control program including floating point arithmetic instruction for controlling machine |
Family Cites Families (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US5278978A (en) * | 1990-03-26 | 1994-01-11 | International Business Machines Corporation | Method and system for describing and exchanging data between heterogeneous database systems with data converted by the receiving database system |
US5191335A (en) * | 1990-11-13 | 1993-03-02 | International Business Machines Corporation | Method and apparatus for floating-point data conversion with anomaly handling facility |
DE10138533A1 (en) * | 2000-12-15 | 2002-07-11 | Siemens Ag | Protection of control programs transmitted over the Internet from a developer to a customer using asymmetric encryption of the program code, which is decrypted by the end user after parameter editing |
-
2004
- 2004-06-23 DE DE102004030384A patent/DE102004030384A1/en not_active Ceased
-
2005
- 2005-06-21 WO PCT/EP2005/052863 patent/WO2006000548A1/en not_active Application Discontinuation
- 2005-06-21 EP EP05758614A patent/EP1759462A1/en not_active Withdrawn
Non-Patent Citations (3)
Title |
---|
PROF. DR. H. IWE: "Umwandlung von Dual/Oktal/Hexadezimal in Dezimal", 11 December 2003 (2003-12-11), Retrieved from the Internet <URL:http://www2.htw-dresden.de/~iwe/grundlagen/uebung/Konvertierungen.pdf> [retrieved on 20160517] * |
See also references of WO2006000548A1 * |
THOMAS FINLEY: "Floating Point", April 2000 (2000-04-01), Retrieved from the Internet <URL:https://users.cs.duke.edu/~raw/cps104/TWFNotes/floating.html> [retrieved on 20160517] * |
Also Published As
Publication number | Publication date |
---|---|
DE102004030384A1 (en) | 2006-01-19 |
WO2006000548A1 (en) | 2006-01-05 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP0079471B1 (en) | Arrangement and method for forming scalar products and sums of floating point numbers with maximum precision | |
DE19839627B4 (en) | Digital signal processor | |
DE2321112C2 (en) | Signal processing system | |
DE2626432C2 (en) | Arithmetic unit for automatic computing devices | |
DE2623986A1 (en) | PARALLEL COMPUTER | |
DE1162111B (en) | Floating point arithmetic facility | |
EP0443061A1 (en) | Method for adapting block-length when transmitting serial datas, with transmission quality measuring method and preferred use of the method | |
DE2150751B2 (en) | DIGITAL SINE-COSINE GENERATOR | |
DE1809219A1 (en) | Binary multiple adder for the simultaneous addition of several binary numbers | |
DE2758130C2 (en) | High speed binary and decimal adder | |
EP0344347B1 (en) | Digital signal processing unit | |
EP1759462A1 (en) | System and method for the transfer of floating point numbers in xml format without loss of information | |
DE2617485C3 (en) | Circuit arrangement for data processing systems for processing micro instruction sequences | |
DE2702228A1 (en) | ELECTRONIC SCALE | |
DE2826773A1 (en) | PROCEDURE AND CIRCUIT ARRANGEMENT FOR DETERMINING THE VALUE OF NUMBERS IN ARITHMETIC OPERATIONS WITH DECIMAL CALCULATOR | |
DE4019646C2 (en) | Device and method for multiplying data words in two's complement representation | |
DE1125208B (en) | Electrical comparison circuit system | |
DE1187403B (en) | Method and device for the logical connection of two operands | |
DE2952072A1 (en) | DEVICE FOR PROCESSING BINARY CODED DECIMAL NUMBERS | |
DE10258472B3 (en) | Processing method for digital data values e.g. for industrial process control and regulation, employing prediction method in combination with RICE method | |
DE19851690A1 (en) | Residue checking for data conversions involves computing modulo residues of corresponding numerical values before/after conversion, and comparing corresponding residue values after conversion | |
EP0051154A1 (en) | Method and device for combining variable-length operands in data processing systems | |
DE1234055B (en) | Arrangement for addition or subtraction | |
DE2952689A1 (en) | PROGRAMMABLE READ-MEMORY ADDER | |
DE2061609C3 (en) | Circuit arrangement for converting a code into another code |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PUAI | Public reference made under article 153(3) epc to a published international application that has entered the european phase |
Free format text: ORIGINAL CODE: 0009012 |
|
17P | Request for examination filed |
Effective date: 20061206 |
|
AK | Designated contracting states |
Kind code of ref document: A1 Designated state(s): DE FR GB IT |
|
DAX | Request for extension of the european patent (deleted) | ||
RBV | Designated contracting states (corrected) |
Designated state(s): DE FR GB IT |
|
17Q | First examination report despatched |
Effective date: 20090126 |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: SIEMENS AKTIENGESELLSCHAFT |
|
RAP1 | Party data changed (applicant data changed or rights of an application transferred) |
Owner name: SIEMENS AKTIENGESELLSCHAFT |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: EXAMINATION IS IN PROGRESS |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |
|
18D | Application deemed to be withdrawn |
Effective date: 20170103 |
|
STAA | Information on the status of an ep patent application or granted ep patent |
Free format text: STATUS: THE APPLICATION IS DEEMED TO BE WITHDRAWN |