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

File generation method and device

A file generation and file technology, applied in the computer field, can solve problems such as code redundancy and difficult management, and achieve the effect of avoiding redundancy and reducing the amount of writing

Active Publication Date: 2018-02-16
ONE CONNECT SMART TECH CO LTD SHENZHEN
View PDF5 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Obviously, the traditional way of generating interactive files requires writing multiple sets of complicated codes, resulting in code redundancy and difficult management

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
  • File generation method and device
  • File generation method and device
  • File generation method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] figure 1 It is an application environment diagram of a file generation method in an embodiment. Such as figure 1 As shown, the server 110 communicates with the association server 120 through a network. The server 110 obtains the metadata file, parses the metadata file to obtain metadata and a specified file format, and converts the metadata into corresponding source code according to the mapping relationship between field information configured in the metadata file and source code parameters. The server 110 invokes a corresponding meta-template according to the specified file format, and ...

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 file generation method and device. The method includes: acquiring a metadata file, and parsing the metadata file to obtain metadata and a specified file format; converting the metadata into corresponding source code according to mapping relationships which are between field information and source code parameters and configured in the metadata file; invoking a corresponding meta template according to the specified file format, and generating a corresponding interaction file template according the metadata, which are obtained by parsing, and the invoked meta template;and generating an interaction file according to the source code and the interaction file template. A code writing amount is decreased, and code redundancy is avoided.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for generating files. Background technique [0002] With the development of science and technology, the function of the system platform is becoming more and more powerful. Usually a system platform will interface with multiple related systems, and perform file interaction with multiple related systems to transfer some business data. For example, a sales system platform will interact with multiple asset-side systems to transfer business data. [0003] However, different association systems support different file formats. For example, some association systems support CSV (Comma-Separated Values, Character Separated Values) format, and some association systems support China Securities Depository and Clearing (CSDC, China Securities Registration Settlement) format, etc. Then, it is necessary to write a set of codes separately for each file format to generate ...

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): G06F17/30
CPCG06F16/116G06F8/443G06F16/14G06F40/186G06F8/427G06F8/4434G06F16/252G06F16/907
Inventor 连理
Owner ONE CONNECT SMART TECH CO LTD SHENZHEN
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