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

Code generation method based on ASN type object

A code generation and object technology, which is applied in the field of generating the source code of the outbound and inbound programs and the script code of the database table structure, can solve the problem of time-consuming and laborious development efficiency, low efficiency of script code, and reduce the complexity and technical realization difficulty. High flexibility and improved efficiency

Inactive Publication Date: 2009-11-18
ZTE CORP
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The technical problem to be solved by the present invention is how to provide a code generation method based on ASN type objects, overcome the technical difficulty of storing ASN objects into database tables, and solve the problem of manually writing a large number of database outbound and inbound codes and databases in the prior art. Table definition script code is time-consuming and labor-intensive and the development efficiency is not 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 generation method based on ASN type object
  • Code generation method based on ASN type object
  • Code generation method based on ASN type object

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] First, explain the mapping: the instance of the ASN type is an ASN object, and the table structure of the ASN object mapping database is the process of mapping the ASN type structure to the table structure in the database, such as figure 1 , 2 As described in , the network element type of an ASN is defined as ManagedElement-T, which is mapped to the network element table, and the mapping relationship figure 1 It is a 1:1 relationship, figure 2 It is a 1:N relationship. In the 1:1 mapping relationship, the attributes of each network element type correspond to the fields of a network element table. For the attributes of network element parameters, the ASN type uses a name-value pair data list, and the mapping To the network element parameter field in the network element table, the value storage form of the field is to compress multiple network element parameters into a compressed string for storage; in the mapping relationship in 1:N, the network element type The metho...

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 code generation method based on an ASN type object, which includes defining an ASN object to form a corresponding program source file; generating a code generation tool; writing a corresponding mapping rule file; using the code generation tool and inputting the mapping rule file to automatically Generate the called database output / input source code and the embedded database script code. This method completely overcomes the technical difficulty of storing ASN objects into database tables, and solves the problems of time-consuming and laborious development and low development efficiency of manually writing a large number of database outbound and inbound codes and database table definition script codes in the prior art.

Description

technical field [0001] The invention relates to ASN and code automatic generation technology, in particular to a method for generating source codes of outbound and inbound programs and database table structure script codes based on the ASN type object structure. Background technique [0002] Abstract Grammar Notation ASN is an abstract description used to describe the data structure used in communication between different systems. It is a language used to describe the structure and content of structured objects. It is a standard method for describing the format of information transmitted on the network, similar to the data description part of a high-level programming language. [0003] In the communication and related industries, especially the design of the transmission network management software system, the soft bus method is often used, such as the ASN type object structure, to realize the data communication between each module, because the database module is the ASN obj...

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): G06F17/30H04L29/06
Inventor 张立国崔文生
Owner ZTE CORP
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