Method and system for converting traditional programming language to modern programming language

A traditional program and programming language technology, applied in the field of program language conversion, can solve problems such as increased maintenance costs, fewer programmers, difficult COBOL redirection, pointer assignment, etc., and achieves the effect of high operating efficiency

Active Publication Date: 2020-10-16
深圳四方精创资讯股份有限公司
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] As a process-oriented computer high-level programming language specially designed for commercial data processing, COBOL has a history of more than 50 years since its birth, and is still widely used in very important commercial data processing fields such as banking, securities and manufacturing industries. According to incomplete statistics, 492 of the world's top 500 companies (including all the top 100) have used the COBOL language. At present, the investment in COBOL has exceeded 3 trillion US dollars, and the programs written in COBOL have exceeded 200 billion lines. Currently, the COBOL language The developed system has the following limitations: First, due to the current development of the Internet, daily transaction data processing has multiplied, and the system developed by traditional COBOL has been difficult to meet the business data processing requirements, but because the COBOL language is relatively old, it is difficult to The increase in future business volume is supported through cluster technology; second, because COBOL, as a traditional programming language, has many limitations, there are relatively few programmers who use and learn COBOL, which leads to an increase in the maintenance pressure of the existing huge COBOL system, and it is difficult to implement it in the current There is a system for development to meet the development of business needs; third, COBOL mainly runs on IBM's mainframe ZOS or AIX system environment, and the hardware used is mostly IBM mainframes or small and medium-sized servers, which cannot support cross-platform migration like JAVA
[0004] At present, most COBOL to JAVA tools only support simple COBOL syntax conversion, and the support for more complex syntax is not perfect, such as CICS instructions, COBOL functions, database and file operations; for COBOL data calculation, the current conversion tools are easy Loss of precision; as a traditional process-oriented language, COBOL language has certain uniqueness, and a lot of processing is based on the operation of memory, while JAVA language is an object-oriented language, so it is difficult to truly realize COBOL redirection and pointer Assignment and other processing, so the current conversion tool is mainly to simulate the realization of COBOL program, resulting in the actual running efficiency of the converted code is not high; the JAVA code converted by the conversion tool is more similar to COBOL code to some extent, The maintainability of the program is relatively poor; when modifying or adding new codes, it is necessary to follow the original rules of JAVA to simulate COBOL, which requires developers and maintenance personnel to master both COBOL and JAVA syntax, resulting in increased system maintenance after conversion and maintenance costs improve

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and system for converting traditional programming language to modern programming language
  • Method and system for converting traditional programming language to modern programming language
  • Method and system for converting traditional programming language to modern programming language

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0051] In order to fully understand the technical content of the present invention, the technical solutions of the present invention will be further introduced and illustrated below in conjunction with specific examples, but not limited thereto.

[0052] like Figures 1 to 5In the specific embodiment shown, the method for converting a traditional programming language to a modern programming language provided by this embodiment can be used in the conversion process of the traditional high-level programming language COBOL to the modern high-level programming language JAVA, so as to fully support the COBOL syntax conversion. , maintain the precision of the programming language before the conversion, and truly realize the COBOL redirection, pointer assignment and other processing. After the conversion, the actual operation efficiency is high, the maintainability is good, and the maintenance cost can be reduced.

[0053] like figure 1 As shown, this embodiment provides a method fo...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention relates to a method and a system for converting a traditional program language into a modern program language. The method comprises the following steps that: obtaining a COBOL (Common Business-Oriented Language) source code which needs to be converted and a corresponding configuration rule; generating the COBOL source code into a corresponding JAVA source code according to the corresponding configuration rule; and configuring a basic environment for the JAVA source code. By use of the method, a configuration file is loaded, the COBOL source code which needs to be converted is converted into the JAVA source code, an SDK (Software Development Kit) is used by aiming at the converted JAVA source code to carry out data type packaging and the basic environment configuration of a method interface, a basic platform is adopted to carry out online transaction processing, COBOL grammar conversion is comprehensively supported, program language accuracy before conversion is kept, theredirecting and the pointer assignment processing of the COOL are truly realized, practical operation efficiency is high after conversion, maintainability is good, and maintenance cost can be lowered.

Description

technical field [0001] The invention relates to a program language conversion method, more specifically a method and system for converting a traditional program language to a modern program language. Background technique [0002] The conversion of traditional programming languages ​​to modern high-level programming languages ​​has always been an important research direction in the field of computer compilation. [0003] As a process-oriented computer high-level programming language specially designed for commercial data processing, COBOL has a history of more than 50 years since its birth, and is still widely used in very important commercial data processing fields such as banking, securities and manufacturing industries. According to incomplete statistics, 492 of the world's top 500 companies (including all the top 100) have used the COBOL language. At present, the investment in COBOL has exceeded 3 trillion US dollars, and the programs written in COBOL have exceeded 200 bi...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F8/51
CPCG06F8/51
Inventor 郑茂中谢粮海
Owner 深圳四方精创资讯股份有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products