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

Xml code generation method and system

A code generation and panorama technology, applied in the field of panorama editing, can solve the problems of high labor intensity, high error probability and low efficiency.

Active Publication Date: 2020-01-07
河南九商科技有限公司
View PDF4 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] During the panorama editing process, the edited panorama data is written into the database, and the database is stored in different data tables according to different types of panorama data, and each data table stores the affiliation relationship between each panorama data, usually according to the panorama The storage relationship between data manually writes the corresponding xml code for the renderer to call the xml code to generate a panoramic effect. When there is a lot of panoramic data, such as the number of scenes and components in the panoramic data increases by hundreds or even thousands, Manually writing xml codes is labor-intensive, inefficient, and has a high probability of error, which greatly lengthens the development cycle of the panorama project

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
  • Xml code generation method and system
  • Xml code generation method and system
  • Xml code generation method and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making creative efforts, All belong to the protection scope of the present invention.

[0029] Such as figure 1 As shown, a method for generating xml code based on panorama editing includes the following steps,

[0030] Step 1: read the panorama metadata from the database, classify the panorama metadata to form panorama classification data, the panorama classification data is an inverted tree structure, establish a storage space corresponding to the panorama classification data, and The panoramic classification data is stored in the storage s...

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 an xml code generation method and a system. The method comprises the following steps: reading panoramic metadata from a database as panoramic classification data; establishinga main xml storage space, taking project data, scene data or sand table data as parent data, establishing a parent xml temporary storage space, constructing xml key value pairs according to parent data attribute information, and splicing the xml key value pairs to the parent xml temporary storage space; if component information or script information exists in the parent data, the component information or script information is used as the parent data for recursive calling, the generated component xml or script xml is inserted into the parent xml, the parent xml is inserted into the main xml, and an xml code is generated; the system comprises a main control module, a data processing module, a classified data reading module, a project module, a scene module, a sand table module, a script module, a component module and a universal key value corresponding module, and has the beneficial effects of automatic generation, high efficiency and low error rate.

Description

technical field [0001] The invention relates to the technical field of panorama editing, in particular to a method and system for generating xml codes. Background technique [0002] During the panorama editing process, the edited panorama data is written into the database, and the database is stored in different data tables according to different types of panorama data, and each data table stores the affiliation relationship between each panorama data, usually according to the panorama The storage relationship between data Manually write the corresponding xml code for the renderer to call the xml code to generate a panoramic effect. When there is a lot of panoramic data, such as the number of scenes and components in the panoramic data increases by hundreds or even thousands, Manually writing xml codes is labor-intensive, inefficient, and has a high probability of error, which greatly lengthens the development cycle of the panorama project. Contents of the invention [00...

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): G06F16/81G06F16/22
CPCG06F16/81G06F16/2282
Inventor 王文信胡永涛冯玉龙
Owner 河南九商科技有限公司