Supercharge Your Innovation With Domain-Expert AI Agents!

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 program and the script code of the database table structure, can solve the problems of time-consuming and labor-intensive development of the script code, low efficiency, etc., to reduce the complexity and technical implementation difficulty, The effect of high flexibility and efficiency improvement

Inactive Publication Date: 2008-04-02
ZTE CORP
View PDF0 Cites 11 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

[0032] 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. As described in Figures 1 and 2, an ASN network element is defined The type is ManagedElement-T, which is mapped to the network element table. The mapping relationship Figure 1 is a 1:1 relationship, and Figure 2 is a 1:N relationship. In the 1:1 mapping relationship, the attributes of each network element type correspond to A field of an NE table. For the attributes of NE parameters, the ASN type uses a name-value pair data list, which is mapped to the NE parameter field in the NE table. The value of the field is stored in the form of compressed values. Each NE parameter is compressed into a compressed string for storage; in the 1:N mapping relationship, the NE parameter of the NE type ManagedElement-T is mapped to the NE master table by establishing ...

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 present invention relates to a code generation method based on ASN type object which comprises that an ASN object is defined to form a corresponding program source file; a code generation tool is generated; a corresponding mapping rule file is wrote; the mapping rule file is input by the code generation tool to automatically generate invoked database outputting / inputting source codes and inlaid database scripting codes. The method drastically overcomes the technical difficulty in achieving storing the ASN object in the database table and solves the problems that writing a mass of database outputting / inputting source codes manually by the prior art and defining scripting codes by the database table are time-consuming and labor-consuming and not high in developing efficiency.

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
IPC IPC(8): G06F17/30H04L29/06
Inventor 张立国崔文生
Owner ZTE CORP
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More