File generation method and device

A file generation and file technology, applied in the direction of program control device, creation/generation of source code, software engineering design, etc., can solve problems such as error-prone input string, program function failure, crash, etc.

Active Publication Date: 2016-09-28
GUANGZHOU HUADUO NETWORK TECH
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The process of entering strings one by one is very complicated and prone to errors when entering strings
If there is an error in the input string, the compiler cannot recognize the content of the string when compiling, so it cannot find the error in the content of the string, and this error will not be triggered until the final run, which will easily lead to the failure of the program function, or collapse
Once an error occurs during operation, it will take a lot of debugging and troubleshooting time

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

[0048] 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 embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0049] By adopting the embodiment of the present invention, input errors of interface control references can be reduced.

[0050] The terms "first", "second", "third" and "fourth" in the specification and claims of the present invention and the above drawings are used to distinguish different objects, rather than to describe a specific order. Furthermore, the terms "include" and "have", as well as any variations thereof, are intended to cover a non-exc...

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 provides a file generation method, which comprises the following steps: obtaining an XML (Extensive Markup Language) file, and obtaining the attribute information of an interface control from the XML file; according to the attribute information of the interface control, generating the identifier of the interface control; and according to the identifier of the interface control, generating an index file, where, the index file is used for quoting the interface control. The embodiment of the invention also discloses a file generation device. The file generation method and device can reduce input errors generated by the quotation of the interface control.

Description

technical field [0001] The invention relates to the field of interface development, in particular to a file generation method and device. Background technique [0002] In the process of developing an interface based on XML (Extensible Markup Language, Extensible Markup Language), it is necessary to use interface controls to layout the interface. In the prior art, it is usually necessary to input a character string of the name of the interface control, and refer to the corresponding interface control through the character string of the name of the interface control. However, since the interface development contains a large number of interface controls, when referencing the required interface controls, it is necessary to input the strings of the interface controls one by one. The process of entering strings one by one is very complicated and prone to errors when entering strings. If there is an error in the input string, the compiler cannot recognize the content of the strin...

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): G06F9/44
CPCG06F8/34G06F8/38
Inventor 王云
Owner GUANGZHOU HUADUO NETWORK TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products