This invention relates to the data processing.
Messages and documents are increasingly being generated in multiple languages. These type of messages are frequently processed via message handling systems that are connected to an enterprise application or other systems operating in a client/server architecture (in which the client performs the application processing functions and the server system performs the data management functions). In particular, message handling systems are often used as part of resource management systems, customer relationship management systems, human resource management systems, supply chain management systems, and financial management systems.
Messaging applications receive asynchronous messages from an originating enterprise application for delivery to a receiving enterprise application. Such messages are stored by the receiving enterprise application in a single database table and may contain portions that are in multiple languages (e.g., English, Russian, Chinese, etc.) (or a single database table may store single language messages that are in a wide variety of languages). This type of database table is known as a multi-display, multi-processing (MDMP) database table.
With conventional MDMP database tables, messages are stored without a language key (explicit or implicit) that can identify the language of the message. When an enterprise application server receives a message, a codepage is selected to convert the message into a default language that corresponds to the login language of the user (e.g., if the server is using a German language Linux operating system, then the message would be converted into German). However, if the received message is in more than one language, the language of the message will not be properly converted as conventional enterprise applications only use a single codepage to convert message languages. Therefore, only those portions of the message that pertain to the same base language as the codepage will be properly converted (i.e., if the codepage has a baseline for converting English messages, and a received message is in English and in Korean, those. portions in Korean will not be properly converted). Remedying these conversion errors requires redundant conversion programs which require extra processing time while consuming additional processing resources.
Moreover, on the messaging application side, as there are no language keys associated with a message, messages are converted (into a language such as Unicode) using a single codepage based on the premise that all of the received message is in the login language of the user. Only those portions of the received message that are in the login language are properly converted. Characters that are common between the login language and the messaging application codepage may be improperly translated and other characters that do no correspond will be assigned a substitution character. Such an arrangement will result in portions of the material description being unreadable by intended recipients (e.g., enterprise applications, users, etc.).
Accordingly, it will be appreciated there remains an improved technique for processing and/or generating messages that are either wholly or partially in multiple languages.
A method for processing a received message is provided. Such a method may comprise the steps of associating the message with a default language, wherein the default language corresponds to a default codepage, identifying portions of the message having an associated language key, wherein each of the language keys corresponds to a unique language key codepage, and converting a language of each of the identified portions of the message with the corresponding language key codepage and converting a language of portions of the message not having an associated language key with the default codepage.
In some variations, each portion of the message has an associated language key so that no portion of the message is converted using a default codepage. In addition, in some variations, the method omits the step of associating the message with a default language and identifies associated language keys for each portion of the message.
The method may include the preliminary steps of assigning each portion of the message not in the default language with a language key corresponding to the language, and sending the message. The message may be sent/received via a computer network such as a LAN, WAN, the Internet, etc. The received message may be received directly or indirectly from a messaging application and/or an originating enterprise system. The received message may also be sent to and received by a plurality of enterprise systems (from, for example, a messaging system and/or an originating enterprise system). These enterprise systems may be, for example, resource management systems, customer relationship management systems, human resource management systems, supply chain management systems, financial management systems, and the like.
The method may also include the step of storing the received message in a multi-language, multi-table database. The identifying step, in some variations, may extract language keys from the message, using, for example, a language key extractor.
An interrelated method for processing a message in at least one of a plurality of languages is also described herein. This method may include the steps of associating the message with a default language, wherein the default language corresponds to a default codepage, and assigning each portion of the message not in the default language with a language key corresponding to the language, wherein each language key corresponds to a unique language key codepage. In some variations, this method may also include some or all of the steps of receiving the message, determining the default language of the message, identifying the portions of the message having an associated language key, and converting a language of each of the identified portions of the message with the corresponding language key codepage and converting a language of portions of the message not having an associated language key with the default codepage.
The methods disclosed herein may be conducted by a computer program product, embodied on computer readable-material, that includes executable instructions for causing a computer system to perform the various method steps. Optionally, or in addition to, the methods described herein may be implemented in a computer system comprising a processor, and a memory coupled to the processor encoding one or more programs that cause the processor to perform the various method steps:
An apparatus for processing a received message is also provided that includes an association unit to associate the message with a default language that corresponds to a default codepage. Also included in such an apparatus is an identification unit to identify portions of the message having an associated language key and each of the language keys corresponds to a unique language key codepage. A conversion unit converts a language of each of the identified portions of the message with the corresponding language key codepage and converts a language of portions of the message not having an associated language key with the default codepage.
An interrelated apparatus for processing messages in more than one language is also described. This apparatus includes an association unit to associate the message with a default language that corresponds to a default codepage, and an assignation unit to assign each portion of the message not in the default language with a language key corresponding to the language. With this arrangement, each language key corresponds to a unique language key codepage.
Yet another interrelated apparatus is provided to process a message. The apparatus may include a messaging system module to generate a message in an intermediate format and associate portions of the message in languages other than a default language with a language key corresponding to the language, the messaging system module individually converting a language of each portion of the message having an associated language key with a code page corresponding to the language key and sending the converted message to an enterprise application system.
A interrelated system for processing a message is also provided herein. Such a system may include an enterprise application system module for generating a message in an intermediate format and associating portions of the message in languages other than a default language with a language key corresponding to the language. In addition, it may also include a messaging system module coupled to the enterprise application to receive the message and the language keys from the enterprise application and to individually convert a language of each portion of the message having an associated language key with a code page corresponding to the language key.
The details of one or more embodiments of the invention are set forth in the accompanying drawings and the description below. Other features, objects, and advantages of the invention will be apparent from the description and drawings, and from the claims.
Like reference symbols in the various drawings indicate like elements.
The method 200 of
The following provides optional variations that may be used in connection with the interrelated embodiments described above as well as examples that are useful for understanding and implementing the subject matter described herein.
The message may be any of a sort of intermediate format data set that may be utilized by a plurality of heterogeneous enterprise applications (e.g., an SAP IDoc). The message may include administration information to facilitate technical processing, as well as actual application data stored in segments. The segment may include segment fields or data elements as the smallest unit.
In some variations, the message may include a header line, several connected data segments and status records. The header may define the content, structure, sender, receiver, and status of the message. The data segments may include a leader (a consecutive segment number and a description of the type of segment) and a field string 1000 characters long (containing segment data). The status records may describe historical processing steps of the message.
The enterprise applications 530, 540, 550, 560 may each include a fixed interface between an application and a message transfer layer (which communicates with a message transfer layer of the messaging application 510). The fixed interface may include a language extractor that identifies the parts of the message that are to be associated with a particular language key (each of which are in turn associated with a language key codepage). The enterprise applications 530, 540, 550, and 560 may also each contain a codepage converter for selectively converting portions of the messages based on the associated language keys.
The intermediate format message is sent to an MDMP database 635 for storage within a sending message layer 625. An extractor 630 coupled to the MDMP database 635 identifies portions of the message in different languages and associates these portions with corresponding language keys. The intermediate format message with the language keys is stored in the MDMP database 635 for transfer to a Remote Function Call (RFC) layer 645 via an RFC persistence unit 640. A codepage converter 650 within the RFC layer 645 converts the languages of message parts from the source codepage (which in this instance is Unicode) using codepages associated with each corresponding language key to form a converted intermediate format message.
The converted intermediate format message is transported to the enterprise application system 660. An MDMP database receives the converted intermediate format message via an RFC layer 665. The converted intermediate format message is stored in an intermediate document persistence unit 675 and is also sent to an application layer 690 for ultimate processing by an application 685. An intermediate document processing unit 680 may convert or otherwise modify the format of the intermediate document so that it is compatible with the application 685.
The intermediate format message and the language keys are received by the messaging system 750 via an RFC layer 755. A codepage converter 760 converts the language of message parts from the source codepage using codepages associated with each corresponding language key to form a converted intermediate format message. The converted intermediate format message is stored in an MDMP database 765 and also in an intermediate document persistence unit 770. An application layer 790 obtains the converted intermediate format message from the MDMP database 765 for any applicable preprocessing by an intermediate document processing unit 775 for ultimate use by an application 780.
The subject matter described herein may be implemented in digital electronic circuitry, or in computer hardware, firmware, software, or in combinations of them. Apparatus of the subject matter described herein may be implemented in a computer program product tangibly embodied in an information carrier, e.g., in a machine-readable storage device or in a propagated signal, for execution by a programmable processor; and method steps of the subject matter described herein may be performed by a programmable processor executing a program of instructions to perform functions of the subject matter described herein by operating on input data and generating output. The subject matter described herein may be implemented advantageously in one or more computer programs that are executable on a programmable system including at least one programmable processor coupled to receive data and instructions from, and to transmit data and instructions to, a data storage system, at least one input device, and at least one output device. A computer program is a set of instructions that may be used, directly or indirectly, in a computer to perform a certain activity or bring about a certain result. A computer program may be written in any form of programming language, including compiled or interpreted languages, and it may be deployed in any form, including as a stand-alone program or as a module, component, subroutine, or other unit suitable for use in a computing environment.
Suitable processors for the execution of a program of instructions include, by way of example, both general and special purpose microprocessors, and the sole processor or one of multiple processors of any kind of computer. Generally, a processor will receive instructions and data from a read-only memory or a random access memory or both. The essential elements of a computer are a processor for executing instructions and one or more memories for storing instructions and data. Generally, a computer will also include, or be operatively coupled to communicate with, one or more mass storage devices for storing data files; such devices include magnetic disks, such as internal hard disks and removable disks; magneto-optical disks; and optical disks. Storage devices suitable for tangibly embodying computer program instructions and data include all forms of non-volatile memory, including by way of example semiconductor memory devices, such as EPROM, EEPROM, and flash memory devices; magnetic disks such as internal hard disks and removable disks; magneto-optical disks; and CD-ROM and DVD-ROM disks. The processor and the memory may be supplemented by, or incorporated in, ASICs (application-specific integrated circuits).
A number of embodiments of the invention have been described. Nevertheless, it will be understood that various modifications may be made without departing from the scope of the invention. Accordingly, other embodiments are within the scope of the following claims.
Number | Name | Date | Kind |
---|---|---|---|
4884199 | Boothroyd et al. | Nov 1989 | A |
5148541 | Lee et al. | Sep 1992 | A |
5835912 | Pet | Nov 1998 | A |
6400287 | Ehrman | Jun 2002 | B1 |
6757688 | Leapaldt et al. | Jun 2004 | B1 |
6983468 | Green et al. | Jan 2006 | B1 |
7051278 | Ehrman | May 2006 | B1 |
7149964 | Cottrille et al. | Dec 2006 | B1 |
20020052902 | Bauer | May 2002 | A1 |
20020177993 | Veditz et al. | Nov 2002 | A1 |
20030004786 | Tokieda et al. | Jan 2003 | A1 |
20030125972 | Luce et al. | Jul 2003 | A1 |
20040205675 | Veerappan et al. | Oct 2004 | A1 |
Number | Date | Country | |
---|---|---|---|
20060150097 A1 | Jul 2006 | US |