Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

MVC (model view controller) mode-based language transformation method and equipment for program

A programming language and language technology, applied in the Internet field, can solve the problems of coding logic and business scenarios without corresponding conversion, consuming human resources and time resources, delaying or interrupting reconstruction projects, etc., to reduce development time and Resource consumption, improved efficiency and flexibility, good scalability effects

Active Publication Date: 2015-04-29
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF5 Cites 17 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] (1) Limitations: limited to the conversion of the old and new versions of a single language or the conversion of the old and new version of the project structure of a single programming tool;
[0005] (2) One-sidedness: it is limited to simple programming language conversion, and no corresponding conversion is made for coding logic and business scenarios;
[0006] (3) Non-automation: This kind of cross-language project conversion usually relies on the architect's design knowledge, and manual splitting and reorganization for business scenarios consumes a lot of human resources and time resources;
[0007] (4) Poor timeliness: Existing methods are often unable to respond to current business scenarios in a timely manner, which may cause delays or interruptions in ongoing refactoring projects

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
  • MVC (model view controller) mode-based language transformation method and equipment for program
  • MVC (model view controller) mode-based language transformation method and equipment for program
  • MVC (model view controller) mode-based language transformation method and equipment for program

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] The present invention will be described in further detail below in conjunction with the accompanying drawings.

[0032] figure 1 It shows a schematic diagram of a conversion device for language conversion of a program based on the MVC pattern according to one aspect of the present invention; wherein, the conversion device includes a device for determining the initial programming language used by the initial program to be converted (hereinafter referred to as "Initial language determination device 1"), wherein the initial programming language includes an initial language category and an initial programming framework; for analyzing the coding structure of the initial program according to the MVC pattern, so as to determine the conversion in the coding A device for content and non-transformed content (hereinafter referred to as "content determination device 2"); for performing language conversion on the converted content in combination with the converted content according ...

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 aims to provide an MVC (model view controller) mode-based language transformation method and equipment for a program. The transformation equipment, after determining the initial programming language adopted by the to-be-transformed initial program, analyses encoding structure of initial program according to an MVC mode so as to determine the transformation content and non-transformation content during encoding, language transformation is performed on the transformation content according to the target programming language by combining the transformation content, so as to generate one or more target encoding files, and frame transformation is finally performed on the non-transformation content and the target encoding file so as to generate a target program corresponding to the initial program. Compared with the prior art, the MVC (model view controller) mode-based language transformation method and equipment for the program can support the transformation among a plurality of languages, and support continuous increasing of language and frame editions; the expansibility is better; by adopting the method and equipment, the program transformation efficiency is improved, and the development time and resource consumption are reduced.

Description

technical field [0001] The invention relates to the technical field of the Internet, in particular to a language conversion technology for programs based on the MVC pattern. Background technique [0002] With the continuous development of the Internet and the growth of Internet companies, there are countless web-based projects (such as company website systems, etc.). However, due to various reasons, such as different requirements when developing projects, different conditions when developing projects, etc., the development methods of each project are not uniform, resulting in difficulties in business reuse or merging, and excessive human and time resources are consumed in redevelopment. [0003] The programming language conversion method in the prior art only supports the conversion between the old and new versions of a single programming language or between the old and new versions of a single programming tool, or directly manually splits the business logic and redevelops i...

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
IPC IPC(8): G06F9/44
Inventor 胡晓赟熊亚军王志陈云飞
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products