CN106227712A - A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves - Google Patents

A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves Download PDF

Info

Publication number
CN106227712A
CN106227712A CN201610603378.XA CN201610603378A CN106227712A CN 106227712 A CN106227712 A CN 106227712A CN 201610603378 A CN201610603378 A CN 201610603378A CN 106227712 A CN106227712 A CN 106227712A
Authority
CN
China
Prior art keywords
data
template
markup language
shelves
extensible markup
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610603378.XA
Other languages
Chinese (zh)
Inventor
黄金港
陈吉利
裴亮
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Inspur General Software Co Ltd
Original Assignee
Inspur General Software Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Inspur General Software Co Ltd filed Critical Inspur General Software Co Ltd
Priority to CN201610603378.XA priority Critical patent/CN106227712A/en
Publication of CN106227712A publication Critical patent/CN106227712A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/149Adaptation of the text data for streaming purposes, e.g. Efficient XML Interchange [EXI] format

Abstract

The invention discloses and a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, it implements process and is: the template of document is derived in first configuration;Obtain data source, quickly generate the data stream of document format according to template;Data stream is generated document files.The present invention a kind of based on extensible markup language realize the fast quick change of data lard speech with literary allusions shelves method compared with prior art, presentation layer is separated with operation layer, build reusable template, simplify software development, improve the feature such as software performance and maintainability, have good value for applications, practical, applied widely.

Description

A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves
Technical field
The present invention relates to microcomputer data processing field, specifically a kind of based on the realization of extensible markup language The fast quick change of data is larded speech with literary allusions the method for shelves.
Background technology
Traditional data is converted into document, mostly there is dependence system component, generates document volume speed relatively slow, if assembly Change it is necessary to deficiencies such as amendment programs.The operating capability of extensible markup Speech enhancement file and data, data are recovered Ability, and with the interoperability of line-of-business system.It is the extension of the binary file to earlier version.Based on this, existing There is provided a kind of to realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, use the method effectively to solve Many critical problems such as system component, speed is slow, reusability is low need to be relied on during document conversion.
Summary of the invention
The technical assignment of the present invention is for above weak point, it is provided that one realizes data based on extensible markup language Fast quick change is larded speech with literary allusions the method for shelves.
A kind of realizing the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, it implements process and is:
One, first the template of document is derived in configuration;
Two, obtain data source, quickly generate the data stream of document format according to template;
Three, data stream is generated document files.
By visualization interface configuration documentation template and generate application markup language;Obtain data, according to template handle Data genaration meets the data stream of document format;Data conductance is generated document files.
In step one, configuration template is realized by visualization interface and generates application markup language, i.e. by visualization The template of interface definition document to be generated, after having configured and is automatically generated by system and uses programming indicia language, and by generation Content is stored in system database.
The detailed process of described step 2 is: read template file, obtains data source, and calling processing method is raw by data source Become to meet the data stream of template configuration form, finally preserve data stream.
Calling processing method preservation refer to first data be transferred to entity class, then template transfers to configuration class, by processing Data genaration is met the data stream of template configuration form by class, and data stream is stored in system database.
The detailed process of described step 3 is: read the data stream of system database, generates document files, then online pre- Look at or download the document of generation.
The present invention a kind of realizes the fast quick change of data based on extensible markup language and lards speech with literary allusions the method for shelves and prior art phase Ratio, has the advantages that
The present invention a kind of realizes the fast quick change of data based on extensible markup language and lards speech with literary allusions the method for shelves, by presentation layer and operation layer Separate, build reusable template, simplify software development, improve the feature such as software performance and maintainability, have and well push away Wide use value, practical, applied widely.
Accompanying drawing explanation
What accompanying drawing 1 was the present invention realizes schematic diagram.
Detailed description of the invention
Below in conjunction with the accompanying drawings and specific embodiment the invention will be further described.
As shown in Figure 1, the present invention provides a kind of and realizes the fast quick change of data based on extensible markup language and lard speech with literary allusions the side of shelves Method, need to rely on many critical problems such as system component, speed is slow, reusability is low when solving document conversion.
The process that implements of the method is:
One, first the template of document is derived in configuration;
Two, obtain data source, quickly generate the data stream of document format according to template;
Three, data stream is generated document files.
So, just according to template generation document.
By visualization interface configuration documentation template and generate application markup language;Obtain data, according to template handle Data genaration meets the data stream of document format;Data conductance is generated document files.
In step one, configuration template is realized by visualization interface and generates application markup language, i.e. by visualization The template of interface definition document to be generated, after having configured and is automatically generated by system and uses programming indicia language, and by generation Content is stored in system database.
The markup language code used during this step one is as follows:
<w:p wsp:rsidR="ID" wsp:rsidRPr="ID" wsp:rsidRDefault="ID" wsp:rsidP="ID" >
<w:pPr>
<w:widowControl/>
<w:jc w:val="left"/>
<w:rPr>
<w:rFonts w:ascii=" font " w:h-ansi=" font " w:cs=" font "/>
<wx:font wx:val=" font "/>
<w:color w:val="000000"/>
<w:kern w:val="0"/>
<w:sz w:val=" font size "/>
<w:sz-cs w:val=" font size "/>
</w:rPr>
</w:pPr>
<aml:annotation aml:id=" 22 " w:type=" starts " w:name=" JMPGSQ_TBR "/>
<aml:annotation aml:id=" 22 " w:type=" terminate "/>
</w:p>
The detailed process of described step 2 is: read template file, obtains data source, and data source is generated symbol by calling processing method The data stream of shuttering configuration format, finally preserves data stream.
Calling processing method preservation refer to first data be transferred to entity class, then template transfers to configuration class, by processing Data genaration is met the data stream of template configuration form by class, and data stream is stored in system database.
This step 2 to implement code as follows:
public string GenerateDocument()
{
var service = new GenerateService();
var docModel service.GetModel();
var DataSource= service.GetData();
service. SetNode(DataSource, docModel);
XmlDocument xml= service.GetDoc();
service.Save(xml);
}
The detailed process of described step 3 is: read the data stream of system database, generates document files, then online preview or Download the document generated.
This step 3 to implement code as follows.
public void PreviewDocument (bool preview)
{
var service = new GenerateService();
var docContent= service.GetDoc();
if(preview)
service. Preview (docContent);
Else
service.Download(docContent);
}
For making advantages of the present invention, purpose be easier to understand, understandable, below an explanation is done with regard to specific embodiment.
By visualization interface configuration template file, and generate configuration information.
Call the method reading configuration informations such as GenerateDocument and generate the data stream meeting document format.
Call PreviewDocument method the online preview of file or locally downloading generated.
Just can effectively be solved by above-mentioned steps data be converted in document process need to rely on system component, speed slow, Many critical problems such as reusability is low, simplify software development, improve the feature such as software performance and maintainability, have well Popularizing value.
By detailed description of the invention above, described those skilled in the art can readily realize the present invention.But should Working as understanding, the present invention is not limited to above-mentioned detailed description of the invention.On the basis of disclosed embodiment, described technical field Technical staff can the different technical characteristic of combination in any, thus realize different technical schemes.
In addition to the technical characteristic described in description, it is the known technology of those skilled in the art.

Claims (6)

1. one kind realizes the fast quick change of data based on extensible markup language and lards speech with literary allusions the method for shelves, it is characterised in that it implements Process is:
One, first the template of document is derived in configuration;
Two, obtain data source, quickly generate the data stream of document format according to template;
Three, data stream is generated document files.
The most according to claim 1 a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, its It is characterised by, by visualization interface configuration documentation template and generate application markup language;Obtain data, according to template handle Data genaration meets the data stream of document format;Data conductance is generated document files.
The most according to claim 2 a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, its Being characterised by, in step one, configuration template is realized by visualization interface and generates application markup language, i.e. by visual Change the template of interface definition document to be generated, after having configured and automatically generated by system and use programming indicia language, and will generate Content be stored in system database.
The most according to claim 1 a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, its Being characterised by, the detailed process of described step 2 is: read template file, obtains data source, and calling processing method is by data source Generate the data stream meeting template configuration form, finally preserve data stream.
The most according to claim 4 a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, its Being characterised by, calling processing method preservation refer to first data be transferred to entity class, then template transfers to configuration class, by processing Data genaration is met the data stream of template configuration form by class, and data stream is stored in system database.
The most according to claim 1 a kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves, its Being characterised by, the detailed process of described step 3 is: read the data stream of system database, generates document files, the most online The document that preview or download generate.
CN201610603378.XA 2016-07-28 2016-07-28 A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves Pending CN106227712A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610603378.XA CN106227712A (en) 2016-07-28 2016-07-28 A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610603378.XA CN106227712A (en) 2016-07-28 2016-07-28 A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves

Publications (1)

Publication Number Publication Date
CN106227712A true CN106227712A (en) 2016-12-14

Family

ID=57533680

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610603378.XA Pending CN106227712A (en) 2016-07-28 2016-07-28 A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves

Country Status (1)

Country Link
CN (1) CN106227712A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039807A1 (en) * 2002-04-25 2004-02-26 Angel Boveda De Miguel Methods and arrangements in a telecommunication network
CN101944087A (en) * 2009-07-08 2011-01-12 方正国际软件(北京)有限公司 Device and method for generating compound document
CN102103573A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and system for quickly generating files in open formats
CN102708336A (en) * 2012-05-02 2012-10-03 四川建设网有限责任公司 Method and system for electronic document processing based on separation of key data from customized template
CN103838596A (en) * 2012-11-26 2014-06-04 中国银联股份有限公司 Formatted file generation system, device and method for data processing
CN105279228A (en) * 2015-09-14 2016-01-27 深圳市永兴元科技有限公司 Report processing method and device based on extensible markup language
CN105320739A (en) * 2015-09-22 2016-02-10 深圳市永兴元科技有限公司 Information extraction method and apparatus

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040039807A1 (en) * 2002-04-25 2004-02-26 Angel Boveda De Miguel Methods and arrangements in a telecommunication network
CN101944087A (en) * 2009-07-08 2011-01-12 方正国际软件(北京)有限公司 Device and method for generating compound document
CN102103573A (en) * 2009-12-17 2011-06-22 北大方正集团有限公司 Method and system for quickly generating files in open formats
CN102708336A (en) * 2012-05-02 2012-10-03 四川建设网有限责任公司 Method and system for electronic document processing based on separation of key data from customized template
CN103838596A (en) * 2012-11-26 2014-06-04 中国银联股份有限公司 Formatted file generation system, device and method for data processing
CN105279228A (en) * 2015-09-14 2016-01-27 深圳市永兴元科技有限公司 Report processing method and device based on extensible markup language
CN105320739A (en) * 2015-09-22 2016-02-10 深圳市永兴元科技有限公司 Information extraction method and apparatus

Similar Documents

Publication Publication Date Title
BRPI0909213B1 (en) method for implementing editing features for an application program and computer adapted to run a web browser and have a system clipboard
MX2013014795A (en) Automated user interface object transformation and code generation.
JP2009535730A5 (en)
US11349902B2 (en) System and method to standardize and improve implementation efficiency of user interface content
KR101379855B1 (en) Method and apparatus for data migration from hierarchical database of mainframe system to rehosting solution database of open system
MXPA06000813A (en) System and method for storing a document in a serial binary format.
CN111950247A (en) Configuration-based Word document generation method
CN100585561C (en) Method for clipping relocatable ELF files in embedded system
EP2874071A1 (en) Method of implementing structured and non-structured data in xml document
WO2018233673A1 (en) Method and apparatus for configuring model code in controller, and storage medium
CN102063415B (en) Method and system for embedding single-byte fonts in PDF (Portable Document Format) file
CN106227712A (en) A kind of realize the fast quick change of data based on extensible markup language and lard speech with literary allusions the method for shelves
CN110716913B (en) Mutual migration method of Kafka and Elasticissearch database data
CN109062875A (en) A kind of end C/S three-dimensional modeling data conversion method, device and storage medium
Strandberg et al. UniSUF: a unified software update framework for vehicles utilizing isolation techniques and trusted execution environments
CN102521359B (en) Interface data file comparison method and device
JP6667387B2 (en) Rule conversion support device and rule conversion support program
CN104462045B (en) A kind of document processing method and device
CN114003224A (en) Method for realizing low-code platform based on taro
CN113239670A (en) Method and device for uploading service template, computer equipment and storage medium
Kraas Realizing Model Simplifications with QVT Operational Mappings.
CN108932330B (en) Data display method and device
CN104360890A (en) Method for generating XML file based on Java
CN105354175B (en) A kind of data transfer device and system
TW576989B (en) Linking method of document contents for adjusting appearance data of web page by using extendable markup language

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20161214