Unlock instant, AI-driven research and patent intelligence for your innovation.

A simplified method and system for generating OFD files based on JSON

A JSON and system simplification technology, applied in the simplification method and system field of OFD file generation based on JSON, to achieve the effect of improving readability and reducing data volume

Active Publication Date: 2022-05-24
ZHONGBO INFORMATION TECH RES INST CO LTD
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to provide a simplified method and system for generating OFD files based on JSON, which solves the technical problem of simplifying the file generation process in compliance with the OFD standard

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
  • A simplified method and system for generating OFD files based on JSON

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0033] like figure 1 A simplified method for generating OFD files based on JSON is shown, including the following steps:

[0034] Step 1: establish a template design module, and generate a template file in JSON format in the template design module, and the template file contains the objects, properties and data of the document used as the template.

[0035] In the present embodiment, the user uses the template design module to generate a template file in JSON format, and the content of the template file is:

[0036] { name : "tpl1",

[0037] paper : {width : 210,height : 297},

[0038] defaults : {lineWidth : 0.2},

[0039] objects : [{type : "Text",id : "dept",

[0040] box : {x:100,y:7,width:20,height:6.35},

[0041] font:{name:"宋体",bold:true,size:6.61},

[0042] dX:6.5,dY:5.5,color:{rgb:"156 82 35"},value:"title"},

[0043] {type:"Image",id:"3",

[0044] box:{x:168,y:3.5,width:15,height:15}},

[0045] {type:"Line",color:{rgb:"156 82 35"},

[0046] x1:68.5,y1:2,x2:...

Embodiment 2

[0094] The simplified system for generating OFD files based on JSON described in Embodiment 2 is a system used in conjunction with the simplified method for generating OFD files based on JSON described in Embodiment 1, including a template design module, a template library, and a data upload module. And the server, the template design module, the template library, the data upload module and the server communicate with each other through the Internet; the object conversion module and the file generation module are established in the server.

[0095] The template design module is used to provide users with a visual human-computer interaction interface and generate template files.

[0096] The template library is used to save template files and build an index based on the template name of the template files.

[0097] The data uploading module is used to upload the data that the user needs to generate the OFD file to the server.

[0098] The object conversion module is used to co...

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 discloses a simplified method and system for generating OFD files based on JSON, belonging to the technical field of electronic documents, including generating a template file in JSON format in a template design module, saving the template file in a template library, and uploading the data to the template library. The document JSON data uploaded by the user is uploaded to the server, and the object conversion module converts the object into an object in XML format according to the OFD standard according to the object, attribute and data of the template file; the file generation module combines the object in XML format into an OFD file, It solves the technical problem of simplifying the file generation process in compliance with the OFD standard. The invention reduces the amount of data to generate an OFD file, improves the readability of the data, and can effectively improve the efficiency in the fields of electronic documents, files, electronic bills, and electronic contracts. Generalization efficiency using OFD files in .

Description

technical field [0001] The invention belongs to the technical field of electronic documents, and relates to a simplified method and system for generating OFD files based on JSON. Background technique [0002] The OFD format document format integrates the country's high-quality industrial resources, which is conducive to the final formation of a competitive advantage over PDF and other related foreign standards, and helps to promote the healthy development of my country's format-related technologies and industries. [0003] Documents such as electronic bills, electronic contracts, and electronic files commonly used in most industries have a certain format and can be made into modules and reused. However, because OFD uses XML to describe documents, its standard description is more complicated, which is not conducive to the production of templates, and forms a certain obstacle to the promotion of OFD format documents. SUMMARY OF THE INVENTION [0004] The purpose of the pres...

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): G06F16/16G06F16/178G06F40/186
CPCG06F16/16G06F16/1794G06F40/186G06F16/84
Inventor 侯建余志淼林宣兵
Owner ZHONGBO INFORMATION TECH RES INST CO LTD