Code modeling method and device

A modeling method and code technology, applied in software maintenance/management, reverse engineering, etc., can solve problems such as high requirements for developers, time-consuming and costly writing, and large functional differences, so as to reduce code error rate and improve development efficiency , time-saving effect

Pending Publication Date: 2021-05-28
INDUSTRIAL AND COMMERCIAL BANK OF CHINA
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] 1. Adding and adjusting asset requirements is inefficient, and development requires time and cost to write some inefficient and repetitive logic, as well as supporting automated test cases (utdd)
[0005] 2. Because the meta-model is matched with the technical meta-model, one function of the current code is coupled in one method, a large number of if and else branches process different assets, and even several types of assets have one if branch, so modifying the code requires development cost and the cost of extensive regression testing
[0006] 3. The requirements for developers are high, the functions developed by different developers are too different, and the code maintenance cost is high

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
  • Code modeling method and device
  • Code modeling method and device
  • Code modeling method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] The embodiment of the present invention provides a code modeling method and device, which can be used in the financial field or other fields. It should be noted that the code modeling method and device of the present invention can be used in the financial field, and can also be used in fields other than the financial field In any field, the application field of the code modeling method and device of the present invention is not limited.

[0047] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0048] Such as fig...

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 provides a code modeling method and device which can be used in the financial field or other fields. The method comprises the following steps: receiving and analyzing a meta-model file input by a user to obtain basic model attribute information and a technical meta-model name corresponding to the meta-model file; according to the technical meta-model name, obtaining a technical meta-model corresponding to the meta-model file from a database, and analyzing the technical meta-model to obtain extension model attribute information; receiving the modeling code information input by a user, configuring a preset public template according to the modeling code information, the basic model attribute information and the extended model attribute information, and generating and outputting a modeling code file. According to the method, code modeling is carried out based on the meta-model and the technical meta-model, when the meta-model is newly added and modified, the code modeling development efficiency is improved, a large amount of time is saved to achieve service functions, codes are standardized, the code error rate in the development stage is reduced, and the development efficiency is greatly improved.

Description

technical field [0001] The invention relates to the field of java backend technology, in particular to a code modeling method and device. Background technique [0002] With the development of digital banking informatization and the improvement of the asset management and control system, more and more assets are managed in the system, and the addition of assets and the adjustment and changes of assets are becoming more and more frequent. A fast and stable Code modeling methods deal with this situation. [0003] At present, the corresponding development is made for the configuration modification of the metamodel and the technical metamodel, and the code logic of the corresponding field of the corresponding asset is added to the relevant code. At present, this method has the following disadvantages: [0004] 1. Adding and adjusting asset requirements is inefficient, and development requires time and cost to write some inefficient and repetitive logic, as well as supporting au...

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 Applications(China)
IPC IPC(8): G06F8/75
CPCG06F8/75
Inventor 谢荣良
Owner INDUSTRIAL AND COMMERCIAL BANK OF CHINA
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