CN104199812A - Data system and method supporting multiple languages - Google Patents

Data system and method supporting multiple languages Download PDF

Info

Publication number
CN104199812A
CN104199812A CN201410405228.9A CN201410405228A CN104199812A CN 104199812 A CN104199812 A CN 104199812A CN 201410405228 A CN201410405228 A CN 201410405228A CN 104199812 A CN104199812 A CN 104199812A
Authority
CN
China
Prior art keywords
service data
multilingual
data information
response message
language
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.)
Granted
Application number
CN201410405228.9A
Other languages
Chinese (zh)
Other versions
CN104199812B (en
Inventor
陈林
邹伟力
吴志浩
蔡跃进
罗烨敏
陈思齐
史文
黄海明
林瑞淇
陈柏年
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.)
China Construction Bank Corp
Original Assignee
China Construction Bank Corp
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 China Construction Bank Corp filed Critical China Construction Bank Corp
Priority to CN201410405228.9A priority Critical patent/CN104199812B/en
Publication of CN104199812A publication Critical patent/CN104199812A/en
Application granted granted Critical
Publication of CN104199812B publication Critical patent/CN104199812B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Machine Translation (AREA)

Abstract

The invention provides a data system and method supporting multiple languages. The system comprises a front-end system, a front system and a host, wherein the front-end system is used for receiving first service data information from a counter, the first service data information is sent to the host after multi-language switching and identifying and package inputting are conducted, the front system is used for receiving second service data information from a peripheral channel, the second service data information is sent to the host after multi-language switching and identifying and package inputting are conducted, and the host is used for conducting data processing on the received first service data information or the received second service data information and returning a first response message or a second response message. By means of the dual mode of the front-end system and the front system, the problems that a large bank IBM computer supporting the multiple languages can not switch the multiple languages flexibly enough, multi-language switching systems and program versions are complex, and multi-language data operation, storage and processing are lack of support. In the practical application process, popularization is facilitated, labor is saved, and maintenance cost is reduced.

Description

A kind of multilingual data system and method supported
Technical field
The present invention relates to data processing field, in particular to a kind of multilingual data system and method supported.
Background technology
Along with the overseas expansion of banking, bank's business scope and class of business is in overseas more and more, and a large amount of business datums need to be processed and store with different speech encodings.Existing bank main system adopts IBM large scale computer technology mostly, and the EBCDIC coding that IBM large scale computer uses carries out data processing.And EBCDIC is a kind of sealing coding, the data of various access core systems do not adopt EBCDIC coding, use coding as open in UTF-8, GBK etc.Therefore need to carry out multi-language data conversion to access data.But, existing core banking system does not provide enough language flexibly to switch and change the mechanism for the solution of multilingual support, meanwhile, main frame carries out computing, the support of Storage and Processing shortage to multi-language data, and the Various types of data that can not effectively solve existing banking is processed problem.For example, traditional scheme overlaps application system to different language regional development more and does independent translation, and development and maintenance cost is high, is unfavorable for promoting.And another common scheme is to develop different language converters for difference from language area to change specific language data, the shortcoming of this mode is that the people in different language area can only see local area language, cannot carry out language switching, and system need be disposed many cover program versions, logic is complicated, and maintenance cost is large.
In order to solve existing bank data system for the switching underaction of the solution of multilingual support, multilingual converse routine version is various, main frame lacks and supports multi-language data computing, Storage and Processing, and there is the low and high problem of maintenance cost of rate of exploitation, therefore, be badly in need of a kind of multilingual data system and method supported.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of multilingual data system and method supported.Not only effectively solved the switching underaction to multilingual support in existing system, version is complicated, and multi-language data computing, Storage and Processing are lacked to the problem of supporting.Meanwhile, reduced development time and operation error rate, reduced widely and exploited natural resources and maintenance cost.
According to the first aspect of the embodiment of the present invention, a kind of multilingual data system of supporting is provided, described system comprises:
Front end system, for receiving the first service data information from cabinet face, described the first service data information is first carried out to multilingual switching identification and transcoding processing, after front end input group bag, be sent to main frame again, and receive the first response message that described main frame returns, described the first response message through front end output unpack with described multilingual identification after be sent to described cabinet face;
Front-end system, for receiving the second service data information from peripheral channel, described the second service data information is first carried out to described multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame again, and receive the second response message that described main frame returns, described the second response message through described preposition output unpack with described multilingual identification after be sent to described peripheral channel; And
Main frame, for carrying out multi-language data processing and return to described the first response message or described the second response message described the first service data information or described the second service data information that receive.
According to the second aspect of the embodiment of the present invention, a kind of multilingual method of supporting is provided, it is characterized in that, described system comprises:
S1, front end system receives the first service data information from cabinet face, described the first service data information is first carried out to multilingual switching identification and transcoding processing, after front end input group bag, be sent to main frame again, described main frame carries out returning to the first response message to described front end system after data processing, described front end system to described the first response message carry out front end output unpack with described multilingual identification after be sent to described cabinet face; Or
S2, front-end system receives the second service data information of peripheral channel, described the second service data information is first carried out to described multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame again, described main frame carries out returning to the second response message to described front-end system after data processing, described front-end system to described the second response message carry out preposition output unpack with described multilingual identification after be sent to described peripheral channel; And
S3, carries out multi-language data processing and returns to described the first response message or described the second response message described the first service data information or described the second service data information that receive;
Wherein, described multilingual switching identification refers to that user can select class of languages not and described language classification is switched online;
Described transcoding is processed the described language classification referring to according to selecting, and described the first service data information or the second service data information are transcoded into EBCDIC coding or UTF-8 coding;
Described multi-language data is processed and is comprised: transfer described the first service data information or described the second service data information to EBCDIC coding or UTF-8 coding.
Implement a kind of multilingual data system and method supported that the embodiment of the present invention provides, by adopting the double-mode of front end system and front-end system, in conjunction with multilingual attribute isolation technics, multi-language data is transcoded into EBCDIC coding techniques and multilingual bag Dynamic loading technique carries out multilingual support, effectively solve the switching underaction of the IBM of bank large scale computer to multilingual support, the various complexity of Multi-language conversion system and program version and to multi-language data computing, Storage and Processing lacks the problem of supporting, in actual application, be convenient to promote, saved manpower, reduced maintenance cost.
Accompanying drawing explanation
Fig. 1 is a kind of structural representation of supporting multilingual data system of the present invention;
Fig. 2 is the structural representation of front end system described in system of the present invention;
Fig. 3 is the structural representation of front-end system described in system of the present invention;
Fig. 4 is the structural representation of main frame described in system of the present invention;
Fig. 5 is a kind of process flow diagram of supporting multilingual method of the present invention.
Embodiment
For making object, technical scheme and the advantage of embodiments of the invention clearer, below in conjunction with accompanying drawing, the present invention is described in further detail.
Fig. 1 is a kind of structural representation of supporting multilingual data system of the present invention.Referring to Fig. 1, this system comprises:
Front end system 100, for receiving the first service data information from cabinet face, described the first service data information is first carried out to multilingual switching identification and transcoding processing, after front end input group bag, be sent to main frame 300 again, and receive the first response message that described main frame 300 returns, described the first response message through front end output unpack with described multilingual identification after be sent to described cabinet face;
Front-end system 200, for receiving the second service data information from peripheral channel (as: EBS, GMPS and OPICS etc.), described the second service data information is first carried out to described multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame 300 again, and receive the second response message that described main frame 300 returns, described the second response message through described preposition output unpack with described multilingual identification after be sent to described peripheral channel; And
Main frame 300, for carrying out multi-language data processing and return to described the first response message or described the second response message described the first service data information or described the second service data information that receive.
Wherein, described multilingual switching identification refer to each locale user (as: Chinese regional user, German area user, Russian area user etc.) can according to oneself need to select language classification (as: Chinese, German, Russian etc.), and described language classification is switched online.With respect to the multilingual embodiment of tradition, the user in different language area can only see that local area language cannot carry out language switching, maybe need to dispose other system of a plurality of class of languages or converter, multilingual switching identification of the present invention not only can make user select multilingual classification, but also can switch online these language classifications.In the process realizing, the present invention has adopted webpage representation and multilingual attribute isolation technics: different with traditional bank teller front end system exploitation static multilingual transaction page (as JSP, HTML etc.) technology is, the image information of concluding the business in the present invention is cured into page resource file (SCR file) and preserves, and this document has set of rule to describe the multilingual information of control property, event and the control of transaction picture.And by multilingual attribute isolation technics, each SCR file has some supporting multilingual property files for preserving multilingual coding.During exploitation, developer draws SCR file by visualization toolkit, and system generates corresponding multilingual property file automatically.For example, the multilingual configuration file such as a picture correspondence page resource file (SCR file), English property file (as shown in code 2), Chinese property file (as shown in code 3) and Russian property file of concluding the business.When system is accepted user and asked, the language parameter that front end system can be sent according to user dynamically fits together page resource file from different multilingual property files, thereby represents the page while forming final operation.
SCR transaction picture resources is described shown in shape code 1 as mentioned below, and wherein the field Caption of control TEXT1 represents the English Title of this field, and ChCaption represents the Chinese title of this field, and RsCaption represents Russian title of this field.Each needs international transaction picture resources (SCR), Front End is before generating the corresponding jsp page, first by attributes extraction such as all Caption, ChCaption, RsCaption out, then by certain rule (UTF-8 coding or UNICODE coding), be stored in corresponding multilingual property file, each SCR file, the language correspondence of every kind of support a property file.The front end system processing of internationalizing accordingly.If desired to the processing of internationalizing of new category of language, system support defines new Caption label and processes.
TEXT1=\u0052\u0065\u0063\u006f\u0072\u0064\u0020\u0054\u0079\u0070\u0
065\u003a
TEXT5=\u0049\u0073\u0073\u0075\u0069\u006e\u0067\u0020\u0044\u0061\u0
074\u0065\u003a
TEXT3=\u0047\u0072\u006f\u0075\u0070\u0020\u004e\u006f\u002e\u003a
TEXT2=\u0055\u0073\u0065\u0072\u0020\u0049\u0044\u003a
TEXT4=\u0054\u0065\u006d\u0070\u006c\u0061\u0074\u0065\u0020\u004e\u0
06f\u003a
Code 2
TEXT1=\u8a18\u9304\u985e\u578b\uff1a
TEXT5=\u4ea4\u6613\u65e5\u671f\uff1a
TEXT3=\u7d44\u865f\uff1a
TEXT2=\u7528\u6236\u4ee3\u78bc\uff1a
TEXT4=\u6a23\u677f\u865f\u003a
Code 3
Described transcoding is processed the described language classification referring to according to selecting, and described the first service data information or the second service data information are transcoded into EBCDIC coding or UTF-8 coding.Because at present popular UTF-8 coded font is the most complete, almost support all spoken and written languages systems, so the input and output of front end system 100 all unify to have adopted UTF-8 (8-bit Unicode Transformation Format) coding.The speech encoding of the peripheral canalization of business and disunity, although most of peripheral canalization has adopted UTF-8 coding, still some peripheral system has adopted local speech encoding, carrying out speech encoding to transfer to before EBCDIC main frame code, needing first various speech encoding unification to be converted to UTF-8 coding.Then UTF-8 is changed into EBCDIC main frame code.IBM provides EBCDIC code table to be mapped to each ISO GB.Multilingual character is that the primitive rule of EBCDIC main frame code is as follows from UTF-8 code conversion:
English: UTF-8-->ASCII-->EBCDIC
Chinese: UTF-8-->GB2312-->EBCDIC
Other national language: UTF-8-->UNICODE-->ISO international standard code-->EBCDIC
(wherein, turning mutually of the UNICODE of every kind of language and ISO international code has specific algorithm, as the ISO-8859-5 code of Russian only need increase a byte of 0040, it is that subsequent byte can generate its corresponding UNICODE coding that former byte deducts 160 rear conducts).
In addition,, in the implementation procedure of transcoding, also adopted following transcoding mode:
(1) adopt underlying algorithm to realize turning mutually of UTF-8 coding and UNICODE coding (or international code):
The UTF-8 coding of some language can directly transfer standard code (as Chinese UTF-8 code can directly be converted to GB by algorithm) to by algorithm, and the UTF-8 coding of some language is changed to standard code according to simple contrast relationship after needing first to transfer UNICODE coding to by algorithm again.Both underlying algorithms are consistent, and its algorithm is realized principle can be with reference to following table:
The theory of constitution of UTF-8 coding is: if the UTF-8 of character is encoded to 1 byte length (being ASCII character), hexadecimal code interval is 0000~007F, and its standard code is consistent with UTF-8 code, and most significant digit is 0; If the UTF-8 of character coding be greater than 1 byte length (as Chinese, Russian etc.), its hexadecimal code interval is 0080~10FFFF (the maximum byte that UTF-8 coding is supported), and a stature byte and several subsequent byte formation can be seen as in such character; For UTF-8, be encoded to the character that a plurality of bytes form, the binary-coded high position of its byte 1 below adds one 0 for several, for example the UTF-8 of this character is encoded to 3 bytes (as Chinese), the binary coding of its byte is 1110XXXX, and the high position unification of the subsequent byte of this character is 10, as 10XXXXXX; Residue numerical digit in character UTF-8 coding is the standard code (or being the UNICODE coding of this character) of this character.The byte theory of constitution of being encoded from UTF-8, exchange between character UTF-8 coding and standard code (or UNICODE), need first character to be converted into binary coding, then the operation of corresponding byte is inserted or deleted to the binary-coded corresponding numerical digit of this character, thereby obtain required coding.UTF-8 coding and standard code (GB2312) with Chinese character transfer example mutually to: the UTF-8 of Chinese is encoded to 3 bit byte length, and its standard code is 2 bit byte length, so the UTF-8 of Chinese character is 1110XXXX10XXXXXX 10XXXXXX after being converted to binary coding, the GB2312 coding of Chinese character is XXXXXXXX XXXXXXXX, from the binary coding of two kinds of codings, can find out, only need to insert or delete corresponding numerical digit (1s0 or 10) in corresponding position, just can realize two kinds of conversions between coding.For Chinese character, this conversion method draws is encoded to GB (GB2312), can directly pass through EBCDIC code corresponding to Codebook Lookup; Other national speech encoding draws by the method is encoded to UNICODE code, also can by Codebook Lookup go out corresponding EBCDIC code after being converted to ISO international standard code by simple algorithm.Use this underlying algorithm and do not adopt the acquiescence transcoding algorithm of now popular high-level programming language (as (String of the getBytes in JAVA, Encoding) function), can effectively avoid because international standard code table (ISO-8859-X) is complete, not causing the possible of transcoding failure in some system environments, improve the portability of transcoding function.
(2) intelligentized multilingual character code identification:
Data system of the present invention is by data dictionary, transaction data to be carried out the definition of data structure, wherein dtd-data type definition be the field of the types such as numeral, date, the amount of money without the identification of carrying out multilingual character, can by its ASCII code conversion, be directly EBCDIC main frame code.And for dtd-data type definition, be the field of character type or mixed type, need multilingual character wherein to identify, and use corresponding algorithm to carry out transcoding.The method of identifying multilingual character in mixing field is as follows:
Transaction data is UTF-8 coding, judges whether the binary-coded first place of byte is 0, if 0, and this byte is ascii character-set, does not need to carry out any processing.If first place is 1, need judgement from first place, to have continuously altogether n individual 1, multilingual character of a continuous n byte representation from this byte, if for example byte scale-of-two first place is 110XXXXX, represent complete character of continuous two byte representations from this byte, need carry out transcoding to these two bytes;
Transaction data is ISO international standard code (or GB GB2312), need judging between 16 scale coding locations of byte, for example, to containing the field of Chinese character, if byte conversion is to be more than or equal to 0x80 after 16 systems, the byte that this byte is Chinese character, the trail byte that a byte next is Chinese character (in GB2312, a Chinese character is represented by doublet), need carry out transcoding to these two bytes;
The exchange of transaction data EBCDIC main frame code and ISO international standard code is fairly simple, can directly according to 16 ary codes of byte, search corresponding code table, without especially multilingual character being carried out to independent identification.
Because Chinese EBCDIC main frame code is more special, be two bytes, therefore transaction data upper send under main frame and main frame, send in, to being all added with flag before and after the EBCDIC code of Chinese character, identify, and then according to 16 ary codes of byte, search corresponding code table and change.
In the present invention, front end system and front-end system respectively have a set of multilingual switching and transcoding mechanism, by adopting the double-mode of front end system and front-end system, multilingual attribute isolation technics, multi-language data is transcoded into EBCDIC coding techniques, realizing the multilingual processing logic of banking system concentrates, effectively solved the switching underaction of the IBM of bank large scale computer to multilingual support, the various complexity of Multi-language conversion system and program version and to multi-language data computing, Storage and Processing lacks the problem of supporting, be convenient to promote, saved manpower, reduced maintenance cost.
Fig. 2 is the structural representation of front end system 100 described in system of the present invention.Referring to Fig. 2, described front end system 100 comprises:
Front end communication module 110, for connecting the communication function that realizes described front end system and described cabinet face and described main frame by network.This front end communication module 110 can provide HTTP and two kinds of communications protocol of SNA, thereby realizes user by the function of browser access and host communication.
Front end page load-on module 120, for identifying multilingual identification data and carrying out multilingual ONLINE RECOGNITION.This front end page load-on module 120 can load the different pages and multi-language resource according to user's log-on message.
Front end webpage representation module 130, for the first service data information described in multilingual Parameter analysis of electrochemical is set, searches multi-language resource assembling and represents the multilingual page.This front end webpage representation module 130 can represent the front end page, and provide response to user's operation, in order to adapt to multilingual support, also can increase the control that field represents length, due in multilingual transfer process, the byte length of different language monocase in UTF-8 coding is also inconsistent (if Chinese is 3 byte lengths, and Russian is 2 byte lengths), this function is for realizing user at input its number of characters be consistent from the definition length of data dictionary (byte length may because of category of language different and inconsistent) during data.
Front end logic processing module 140, for according to the needs of transaction business, carries out business logic processing to described the first service data information and described the first response message, as: check and correction total points account stroke count, providing data formatting and rights management etc.
Front end parsing group bag module 150, for packaging to described the first service data information and described the first response message resolved according to data dictionary.In order to adapt to multilingual support, this module also can increase the format to field, by multilingual field length after the transcoding in the Field Definition length adjustment message of data dictionary.
Front end transcoding module 160, carries out multilingual transcoding for described the first service data information to after described group of bag and described the first response message before described parsing.This module mainly realizes the transcoding function of multilingual input and output.Its function comprising mainly contains UTF-8 coding and turns EBCDIC coding, and EBCDIC coding turns UTF-8 coding, field format module etc.(1) UTF-8 coding turns EBCDIC coding: according to data dictionary, search the multilingual field in UTF-8 coding message, according to the language form sign in message, search corresponding dictionary and EBCDIC coding corresponding to multilingual UTF-8 coding transfer to, all the other non-multilingual fields transfer EBCDIC coding to by ASCII character; (2) EBCDIC coding turns UTF-8 coding: according to data dictionary, search the multilingual field in EBCDIC coding message, according to the language form sign in message, search corresponding dictionary and UTF-8 coding corresponding to multilingual EBCDIC coding transfer to, all the other non-multilingual fields transfer ASCII character to; (3) field format: according to data dictionary specified length, the problems such as mess code of revising may occur after transcoding elongated or not existing corresponding coding to produce because of certain character.
In addition, described front end system 100 can also comprise: front end language pack load-on module, and for the language dictionaries of described front end system and transcoding rule are carried out to dynamic load.The present invention has adopted the pattern of ABSTRACTFACTORY, thereby realizes capable of dynamic to load newspeak translation function classification and do not affect the normal operation of system.First, transcoding function bag provides an interface to supply developer with reference to the new language conversion function bag of exploitation, and this interface is as follows:
Developer can be with reference to after the good corresponding new language conversion function class of interface exploitation, and transcoding function bag can be by following method dynamic load:
public?static?ISwcodecreateSwcodeTool(String?lan_name)throws
ClassNotFoundException,InstantiationException,IllegalAccessException
{
Return(ISwcode)Class.forName
("Hi"+lan_name.trim().toUpperCase()+"Swcode").newInstance();
}
And developer only need configure in parameter configuration files that the contrast relationship of language parameter and corresponding language conversion function class can reach platform dynamic call and without the effect recompilating.As:
RUS:HiRUSSwcode
CHS:HiCHSSwcode
JPN:HiJPNSwcode
By adopting above-mentioned ABSTRACT FACTORY pattern, realized the dynamic load that mentions transcoding function bag to multi-lingual, make the support of 100 pairs of newly-increased language of front end system more flexible, solved because the newly-increased language support of need affects the problem that original system is used the difficulty of having avoided data system need recompilate existing platform when increasing the support of new languages.
Fig. 3 is the structural representation of front-end system 200 described in system of the present invention.Referring to Fig. 3, described front-end system 200 comprises:
Preposition communication module 210, for connecting the communication function that realizes described front-end system and described peripheral channel and described main frame by network.This preposition communication module 210 can provide the multiple kinds such as HTTP, TCP/IP, FTP and SNA, realizes that peripheral channel picks out and main frame incoming communication function.
Preposition transcoding module 220, for carrying out multilingual transcoding to described the second service data information and described the second response message.Because each peripheral channel is to front-end system 200 messages of transmission or the coded format of file inconsistent, and the speech encoding of front-end system 200 is UTF-8 coding, therefore, outside turning mutually between the multilingual UTF-8 of front-end system transcoding module 200 coding and EBCDIC coding, also need to realize multilingual coding (as GBK, turning mutually BIG5 etc.) and between UTF-8 coding, its function comprising mainly contains UTF-8 coding and turns EBCDIC coding, EBCDIC coding turns UTF-8 coding, field format module etc.(1) UTF-8 coding turns EBCDIC coding: according to data dictionary, search the multilingual field in UTF-8 coding message, according to the language form sign in message, search corresponding dictionary and EBCDIC coding corresponding to multilingual UTF-8 coding transfer to, all the other non-multilingual fields transfer EBCDIC coding to by ASCII character; (2) EBCDIC coding turns UTF-8 coding: according to data dictionary, search the multilingual field in EBCDIC coding message, according to the language form sign in message, search corresponding dictionary and UTF-8 coding corresponding to multilingual EBCDIC coding transfer to, all the other non-multilingual fields transfer ASCII character to; (3) field format: according to data dictionary specified length, the problems such as mess code of revising may occur after transcoding elongated or not existing corresponding coding to produce because of certain character.
Preposition parsing group bag module 230, for resolving and organize bag to described the second service data information and described the second response message.In order to adapt to multilingual support, this module also can increase the format to field, by multilingual field length after the transcoding in the Field Definition length adjustment message of data dictionary.
Prefix logic processing module 240, for described the second service data information and described the second response message are carried out to business logic processing, as: total points account stroke count, providing data formatting and rights management etc.
Described front-end system 200 can also comprise: preposition language pack load-on module, for the language dictionaries of described front-end system and transcoding rule are carried out to dynamic load, by adopting foregoing ABSTRACT FACTORY pattern, realized the dynamic load that mentions transcoding function bag to multi-lingual, make the support of 200 pairs of newly-increased language of front-end system more flexible, solved because the newly-increased language support of need affects the problem that original system is used the difficulty of having avoided data system need recompilate existing platform when increasing the support of new languages.
Fig. 4 is the structural representation of main frame 300 described in system of the present invention.Referring to Fig. 4, described main frame 300 also comprises:
Application processing module 310, for carrying out data processing to described the first service data information or described the second service data information.Front end system 100 is to communicate by letter with described main frame 300 with the form of transaction data package.Because COBOL (the Common Business Oriented Language) program adopting operates under EBCDIC environment, when calling program, must use EBCDIC coding to specify the program name calling, can not directly support the transaction request processing data packets of simple UNICODE mode, so request data package is used the volume formula of EBCDIC form.For different language, need to develop different transaction transcoding programs.Cobol program must carry out the binding of application program and database by binding (BIND) order before execution, the coding that BIND order is carried out application data stream by coding (CCSID) is specified, and when read-write, can automatically do code system control and transcoding processing according to the coding parameter of BIND order.In data, write fashionablely, the data stream of CCSID of appointment in binding parameter is converted to UNICODE (UNICODE) and is stored in database; When data read, UNICODE coded data in database is converted to CCSID coding and passes to application program.To different language, the CCSID of its EBCDIC is variant, for application program can be unified, processes again simply, uses binding packing parameter: coding (CCSID) carries out the coding appointment of application data stream.To different language, use different CCSID, carry out Wire Parameters.
Data memory module 320, for storing carrying out the data message of described data handling procedure.The key of multilingual support is to adopt UNICODE to carry out data storage, and in the present invention, all data are all used UNICODE coding at database table.Different language contains different DBCS (double-byte character set) character.Under ASCII and EBCDIC code system, the CCSID of different language is different; Data processing to different language, is used identical mainframe program to load; The data of different language, can deposit under a database subsystem; Under a subsystem of database, only can support the code page of a kind of EBCDIC; Because a subsystem need be supported transaction or the processing of different language simultaneously, so, in a signal generator (DSG), also must unify to arrange code page; That is to say: under a DSG, can not accomplish: the data in different databases, to blended data (that is: may containing those fields of DBCS character), be all defined as EBCDIC code system but require the code page of these EBCDIC simultaneously, to different language, be different.
The operating system zSeries of main frame 300 (z/OS) itself is EBCDIC coding, and on main frame 300, the COBOL source program of exploitation is also EBCDIC coding, and program is all finally to move by the coded system of EBCDIC.Therefore, the program of main frame 300 is for EBCDIC coded data, can directly to it, perform mathematical calculations and charactor comparison etc.; For non-EBCDIC coded data, main frame 300 cannot perform mathematical calculations and the comparison of character to it.For example, the customer name receiving for front end system 100, need to carry out blacklist retrieval, judges that it is whether in blacklist list; Supposing has a name " TOM " in blacklist, and the execution result of statement IF customer name=' TOM ' is as follows:
1) front end use EBCDIC coding send on carrying out, and the value of customer name is " TOM ", and comparative result returns to TRUE;
2) front end is used non-EBCDIC coding to send on carrying out, and the value of customer name is " TOM ", and comparative result returns to FALSE.
Database support is used the mode of UNICODE to carry out data storage, and the application data of EBCDIC coding flows to the storage of UNICODE coded data, by database, completes multilingual transcoding.
Fig. 5 is a kind of process flow diagram of supporting multilingual method of the present invention.Referring to Fig. 5, said method comprising the steps of:
S1, front end system receives the first service data information from cabinet face, described the first service data information is first carried out to the multilingual switching identification of front end and transcoding processing, after front end input group bag, be sent to main frame again, described main frame carries out returning to the first response message to described front end system after data processing, described front end system to described the first response message carry out front end output unpack with the multilingual identification of described front end after be sent to described cabinet face; Or
S2, front-end system receives the second service data information of peripheral channel, described the second service data information is first carried out to preposition multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame again, described main frame carries out returning to the second response message to described front-end system after data processing, described front-end system to described the second response message carry out preposition output unpack with described preposition multilingual identification after be sent to described peripheral channel; And
S3, carries out multi-language data processing and returns to described the first response message or described the second response message described the first service data information or described the second service data information that receive;
Wherein, described multilingual switching identification refers to that user can select class of languages not and described language classification is switched online;
Described transcoding is processed the described language classification referring to according to selecting, and described the first service data information or the second service data information are transcoded into EBCDIC coding or UTF-8 coding;
Described multi-language data is processed and is comprised: transfer described the first service data information or described the second service data information to EBCDIC coding or UTF-8 coding.
Wherein, described multilingual switching identification mainly refers to that multilingual coding unification is converted to the implementation procedure of EBCDIC main frame code, because at present popular UTF-8 coded font is the most complete, almost support all spoken and written languages systems, so the input and output of front end system 100 all unify to have adopted UTF-8 coding.The speech encoding of the peripheral canalization of business and disunity, although most of peripheral canalization has adopted UTF-8 coding, still some peripheral system has adopted local speech encoding, carrying out speech encoding to transfer to before EBCDIC main frame code, needing first various speech encoding unification to be converted to UTF-8 coding.
Can find out, the multi-language data of main frame is divided into two classes, and a class is that transcoding is EBCDIC coding, and another kind of is that transcoding is UTF-8 coding, and transcoding is that the benefit of EBCDIC coding is to calculate for retrieval, as blacklist retrieval etc.But part multi-language data is EBCDIC, coding is not supported (as Japanese), therefore cannot convert EBCDIC coding to, available UTF-8 binary code storage host.Except multi-language data, the data such as other amount of money, numeral can turn and directly transfer EBCDIC coding to.Traditional scheme is just thought of one of them coding classification, and range of application is comprehensive not.
By adopting said method to carry out multilingual support by the double-mode of front end system and front-end system, not only effectively solved the switching underaction to multilingual support in existing bank data system, and multi-language data computing, Storage and Processing have been lacked to the problem of supporting.Meanwhile, reduced development time and operation error rate, reduced widely and exploited natural resources and maintenance cost.
In embodiments of the present invention, described step S1 can be further comprising the steps:
S11, user sends user request information by the transaction request front end page, and described front end system receives and loads the different pages and multi-language resource;
S12, the described multi-language resource according to loading, arranges multilingual parameter, resolves described user request information;
S13, carries out business logic processing to the described user request information after described parsing, and according to carrying out the multilingual transcoding of front end after data dictionary group bag;
S14, described front end system is sent to described main frame by the described user request information after the multilingual transcoding of described front end, and described main frame carries out returning to described the first response message to described front end system after data processing;
S15, described the first response message is carried out to the multilingual transcoding of described front end to described front end system and secondary is resolved;
S16, described the first response message after described secondary is resolved carries out secondary business logic processing, and searches described multi-language resource, assembles and represent the multilingual page of correspondence.
In addition, described step S1 also comprises: the language dictionaries of described front end system and transcoding rule are carried out to dynamic load.By adopting foregoing ABSTRACT FACTORY pattern, thereby realize capable of dynamic to load newspeak translation function classification and do not affect the normal operation of system.
In embodiments of the present invention, described step S2 can be further comprising the steps:
S21, described front-end system receives the peripheral solicited message that described peripheral channel sends, and described peripheral solicited message is carried out being sent to described main frame after preposition multilingual transcoding, parsing, business logic processing and group bag;
S22, described main frame carries out returning to the second response message to described front-end system after data processing;
S23, described front-end system carries out being sent to described peripheral channel after described preposition multilingual transcoding, parsing, business logic processing and group bag to described the second response message.
In addition, described step S2 also comprises: the language dictionaries of described front-end system and transcoding rule are carried out to dynamic load, by adopting foregoing ABSTRACT FACTORY pattern, realized the dynamic load that mentions transcoding function bag to multi-lingual, make the support of 200 pairs of newly-increased language of front-end system more flexible, solved because the newly-increased language support of need affects the problem that original system is used the difficulty of having avoided data system need recompilate existing platform when increasing the support of new languages.
In embodiments of the present invention, described step S3 can be further comprising the steps:
S31, carries out data processing to described the first service data information or described the second service data information that receive;
S32, stores carrying out the data message of described data handling procedure;
S33, returns to described the first response message or described the second response message.
Wherein, the operating system zSeries of main frame (z/OS) itself is EBCDIC coding, and the COBOL source program of developing on main frame is also EBCDIC coding, and program is all finally to move by the coded system of EBCDIC.Therefore, the program of main frame is for EBCDIC coded data, can directly to it, perform mathematical calculations and charactor comparison etc.; For non-EBCDIC coded data, main frame cannot perform mathematical calculations and the comparison of character to it.Database support is used the mode of UNICODE to carry out data storage, and the application data of EBCDIC coding flows to the storage of UNICODE coded data, by database, completes multilingual transcoding.Described main frame not only can receive from two kinds of sales counter and peripheral channel different classes of service data information simultaneously, can also in the process of data processing, data message be stored, and has promoted Service Data Management level.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode of software combined with hardware platform, can certainly all by hardware, implement.Understanding based on such, what technical scheme of the present invention contributed to background technology can embody with the form of software product in whole or in part, this computer software product can be stored in storage medium, as ROM/RAM, magnetic disc, CD etc., comprise that some instructions are with so that a computer equipment (can be personal computer, server, or the network equipment etc.) carry out the method described in some part of each embodiment of the present invention or embodiment.
Above disclosed is only the preferred embodiments of the present invention; certainly can not limit protection scope of the present invention with this; therefore the equivalent variations of according to the instruction of the claims in the present invention, above-described embodiment being done, still belongs in the scope that the claims in the present invention contain.

Claims (10)

1. support a multilingual data system, it is characterized in that, described system comprises:
Front end system, for receiving the first service data information from cabinet face, described the first service data information is first carried out to multilingual switching identification and transcoding processing, after front end input group bag, be sent to main frame again, and receive the first response message that described main frame returns, described the first response message through front end output unpack with described multilingual identification after be sent to described cabinet face;
Front-end system, for receiving the second service data information from peripheral channel, described the second service data information is first carried out to described multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame again, and receive the second response message that described main frame returns, described the second response message through described preposition output unpack with described multilingual identification after be sent to described peripheral channel; And
Main frame, for carrying out multi-language data processing and return to described the first response message or described the second response message described the first service data information or described the second service data information that receive.
2. system as claimed in claim 1, is characterized in that, described multilingual switching identification and transcoding are processed and comprised:
Described multilingual switching identification refers to that user can select class of languages not and described language classification is switched online;
Described transcoding is processed the described language classification referring to according to selecting, and described the first service data information or the second service data information are transcoded into EBCDIC coding or UTF-8 coding.
3. system as claimed in claim 1, is characterized in that, described front end system comprises:
Front end communication module, for connecting the communication function that realizes described front end system and described cabinet face and described main frame by network;
Front end page load-on module, for identifying multilingual identification data and carrying out multilingual ONLINE RECOGNITION;
Front end webpage representation module, for the first service data information described in multilingual Parameter analysis of electrochemical is set, searches multi-language resource assembling and represents the multilingual page;
Front end logic processing module, for according to the needs of transaction business, carries out business logic processing to described the first service data information and described the first response message;
Front end parsing group bag module, for packaging to described the first service data information and described the first response message resolved according to data dictionary; And
Front end transcoding module, carries out multilingual transcoding for described the first service data information to after described group of bag and described the first response message before described parsing.
4. system as claimed in claim 1, is characterized in that, described front-end system comprises:
Preposition communication module, for connecting the communication function that realizes described front-end system and described peripheral channel and described main frame by network;
Preposition transcoding module, for carrying out multilingual transcoding to described the second service data information and described the second response message;
Preposition parsing group bag module, for resolving and organize bag to described the second service data information and described the second response message;
Prefix logic processing module, for carrying out business logic processing to described the second service data information and described the second response message.
5. system as claimed in claim 3, is characterized in that, described front end system or described front-end system also comprise:
Language pack load-on module, for carrying out dynamic load to the language dictionaries of described front end system or described front-end system and transcoding rule.
6. system as claimed in claim 1, is characterized in that, described main frame also comprises:
Application processing module, for described the first service data information or described the second service data information are carried out to multi-language data processing, described multi-language data is processed and is comprised: transfer described the first service data information or described the second service data information to EBCDIC coding or UTF-8 coding;
Data memory module, for storing described multi-language data.
7. support a multilingual method, it is characterized in that, said method comprising the steps of:
S1, front end system receives the first service data information from cabinet face, described the first service data information is first carried out to multilingual switching identification and transcoding processing, after front end input group bag, be sent to main frame again, described main frame carries out returning to the first response message to described front end system after data processing, described front end system to described the first response message carry out front end output unpack with described multilingual identification after be sent to described cabinet face; Or
S2, front-end system receives the second service data information of peripheral channel, described the second service data information is first carried out to described multilingual switching identification and transcoding processing, after preposition input group bag, be sent to described main frame again, described main frame carries out returning to the second response message to described front-end system after data processing, described front-end system to described the second response message carry out preposition output unpack with described multilingual identification after be sent to described peripheral channel; And
S3, carries out multi-language data processing and returns to described the first response message or described the second response message described the first service data information or described the second service data information that receive;
Wherein, described multilingual switching identification refers to that user can select class of languages not and described language classification is switched online;
Described transcoding is processed the described language classification referring to according to selecting, and described the first service data information or the second service data information are transcoded into EBCDIC coding or UTF-8 coding;
Described multi-language data is processed and is comprised: transfer described the first service data information or described the second service data information to EBCDIC coding or UTF-8 coding.
8. method as claimed in claim 7, is characterized in that, described step S1 is further comprising the steps of:
S11, user sends user request information by the transaction request front end page, and described front end system receives and loads the different pages and multi-language resource;
S12, the described multi-language resource according to loading, arranges multilingual parameter, resolves described user request information;
S13, carries out business logic processing to the described user request information after described parsing, and according to carrying out the multilingual transcoding of front end after data dictionary group bag;
S14, described front end system is sent to described main frame by the described user request information after the multilingual transcoding of described front end, and described main frame carries out returning to described the first response message to described front end system after data processing;
S15, described the first response message is carried out to the multilingual transcoding of described front end to described front end system and secondary is resolved;
S16, described the first response message after described secondary is resolved carries out secondary business logic processing, and searches described multi-language resource, assembles and represent the multilingual page of correspondence.
9. method as claimed in claim 7, is characterized in that, described step S2 is further comprising the steps of:
S21, described front-end system receives the peripheral solicited message that described peripheral channel sends, and described peripheral solicited message is carried out being sent to described main frame after preposition multilingual transcoding, parsing, business logic processing and group bag;
S22, described main frame carries out returning to the second response message to described front-end system after data processing;
S23, described front-end system carries out being sent to described peripheral channel after described preposition multilingual transcoding, parsing, business logic processing and group bag to described the second response message.
10. method as claimed in claim 7, is characterized in that, described step S3 is further comprising the steps of:.
S31, carries out described multi-language data processing to described the first service data information or described the second service data information that receive, transfers described the first service data information or described the second service data information to EBCDIC coding or UTF-8 coding;
S32, stores carrying out described multi-language data;
S33, returns to described the first response message or described the second response message.
CN201410405228.9A 2014-08-18 2014-08-18 Data system and method supporting multiple languages Active CN104199812B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201410405228.9A CN104199812B (en) 2014-08-18 2014-08-18 Data system and method supporting multiple languages

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410405228.9A CN104199812B (en) 2014-08-18 2014-08-18 Data system and method supporting multiple languages

Publications (2)

Publication Number Publication Date
CN104199812A true CN104199812A (en) 2014-12-10
CN104199812B CN104199812B (en) 2017-04-26

Family

ID=52085107

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410405228.9A Active CN104199812B (en) 2014-08-18 2014-08-18 Data system and method supporting multiple languages

Country Status (1)

Country Link
CN (1) CN104199812B (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989179A (en) * 2015-03-06 2016-10-05 北京邮电大学 Financial data processing method and system
CN106528535A (en) * 2016-11-14 2017-03-22 北京赛思信安技术股份有限公司 Multi-language identification method based on coding and machine learning
CN106569822A (en) * 2016-11-03 2017-04-19 深圳市证通电子股份有限公司 Language matching method and device of WEB system
CN109102385A (en) * 2018-08-06 2018-12-28 中国建设银行股份有限公司 Financial accounting service parameter management method and system
CN109472034A (en) * 2018-11-02 2019-03-15 深圳壹账通智能科技有限公司 Languages conversion method, device, equipment and storage medium based on data subregion
CN110941471A (en) * 2019-11-25 2020-03-31 厦门中软海晟信息技术有限公司 Method and device for internationalizing basic data of software system
CN111767260A (en) * 2020-06-15 2020-10-13 中国建设银行股份有限公司 Method and system for data synchronization
CN112579235A (en) * 2020-12-16 2021-03-30 平安银行股份有限公司 Method, transcoding center, client, device and medium for internationalizing response data
CN114168246A (en) * 2021-12-01 2022-03-11 北京联创新天科技有限公司 Multi-language switching method, assembly, medium and equipment under front-end and back-end separation architecture
CN114417896A (en) * 2021-12-10 2022-04-29 中国铁道科学研究院集团有限公司通信信号研究所 A method for internationalized data communication in dispatching centralized system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data
CN101446962A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Data conversion method, device thereof and data processing system
CN101930582A (en) * 2010-08-06 2010-12-29 中国工商银行股份有限公司 Multilanguage-supporting data conversion equipment and bank transaction system
CN201886520U (en) * 2010-08-06 2011-06-29 中国工商银行股份有限公司 Multi-language supporting data conversion equipment
CN102184095A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Chinese character display system and method for converged communication systems

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1987925A (en) * 2006-12-29 2007-06-27 中国建设银行股份有限公司 Complex front platform of financial system and transfering method transaction data
CN101446962A (en) * 2008-12-31 2009-06-03 中国建设银行股份有限公司 Data conversion method, device thereof and data processing system
CN101930582A (en) * 2010-08-06 2010-12-29 中国工商银行股份有限公司 Multilanguage-supporting data conversion equipment and bank transaction system
CN201886520U (en) * 2010-08-06 2011-06-29 中国工商银行股份有限公司 Multi-language supporting data conversion equipment
CN102184095A (en) * 2011-01-30 2011-09-14 广东佳和通信技术有限公司 Chinese character display system and method for converged communication systems

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105989179A (en) * 2015-03-06 2016-10-05 北京邮电大学 Financial data processing method and system
CN106569822A (en) * 2016-11-03 2017-04-19 深圳市证通电子股份有限公司 Language matching method and device of WEB system
CN106528535A (en) * 2016-11-14 2017-03-22 北京赛思信安技术股份有限公司 Multi-language identification method based on coding and machine learning
CN106528535B (en) * 2016-11-14 2019-04-26 北京赛思信安技术股份有限公司 A kind of multi-speech recognition method based on coding and machine learning
CN109102385A (en) * 2018-08-06 2018-12-28 中国建设银行股份有限公司 Financial accounting service parameter management method and system
CN109102385B (en) * 2018-08-06 2022-02-11 中国建设银行股份有限公司 Financial accounting service parameter management method and system
CN109472034B (en) * 2018-11-02 2022-04-15 深圳壹账通智能科技有限公司 Language conversion method, device, equipment and storage medium based on data partition
CN109472034A (en) * 2018-11-02 2019-03-15 深圳壹账通智能科技有限公司 Languages conversion method, device, equipment and storage medium based on data subregion
CN110941471A (en) * 2019-11-25 2020-03-31 厦门中软海晟信息技术有限公司 Method and device for internationalizing basic data of software system
CN111767260A (en) * 2020-06-15 2020-10-13 中国建设银行股份有限公司 Method and system for data synchronization
CN111767260B (en) * 2020-06-15 2025-01-24 中国建设银行股份有限公司 Data synchronization method and system
CN112579235A (en) * 2020-12-16 2021-03-30 平安银行股份有限公司 Method, transcoding center, client, device and medium for internationalizing response data
CN112579235B (en) * 2020-12-16 2024-05-21 平安银行股份有限公司 Method, transcoding center, client, device and medium for internationalization of response data
CN114168246B (en) * 2021-12-01 2023-07-21 北京联创新天科技有限公司 Multilingual switching method, component, medium and equipment under front-end and back-end separation architecture
CN114168246A (en) * 2021-12-01 2022-03-11 北京联创新天科技有限公司 Multi-language switching method, assembly, medium and equipment under front-end and back-end separation architecture
CN114417896A (en) * 2021-12-10 2022-04-29 中国铁道科学研究院集团有限公司通信信号研究所 A method for internationalized data communication in dispatching centralized system

Also Published As

Publication number Publication date
CN104199812B (en) 2017-04-26

Similar Documents

Publication Publication Date Title
CN104199812A (en) Data system and method supporting multiple languages
CN100428241C (en) System and method for defining and translating chat abbreviations
US5751957A (en) Communication service system employing translation rules for communicating data in different languages along a network
CN102073490B (en) Method and device for translating database language
US5323311A (en) Classified-by-field dictionary generating apparatus, machine translation apparatus and machine translation system using these apparatuses
EP1678629B1 (en) Extensible framework for handling different mark up language parsers and generators in a computing device
US20050114405A1 (en) Flat file processing method and system
US20020129059A1 (en) XML auto map generator
CN109766085B (en) Method and device for processing enumeration type codes
CN105760534A (en) User-defined serializable data structure, hadoop cluster, server and application method thereof
CN104881469A (en) Data exporting method and device
CN112632909A (en) Data object English coding method and device
CN109413131A (en) A kind of method and device of log parsing
US9208134B2 (en) Methods and systems for tokenizing multilingual textual documents
CN111049813B (en) Message assembling method, message analyzing method, message assembling device, message analyzing device and storage medium
CN112650600B (en) Method, device and computer equipment for pushing message content
CN101551798A (en) Translating input method and word stock
CN108959343A (en) A kind of method and device of text modification
US7814415B2 (en) Bytecode localization engine and instructions
KR102407941B1 (en) User interface generation method of electronic device calling function or procedure of external device based on remote procedure call(rpc), program and electronic device thereof
CN100390783C (en) Method and system for case conversion
CN101425167A (en) Method for generating and parsing trading information
CN102184095A (en) Chinese character display system and method for converged communication systems
CN113448960A (en) Method and device for importing form file
CN117688025B (en) SQL dynamic assembly method and device based on JDBC protocol

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant