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

String generation method and apparatus

A string and generating unit technology, which is used in electrical digital data processing, program code conversion, special data processing applications, etc., can solve the problem of troublesome writing XML format strings, and achieve the effect of reducing the trouble and simplifying the writing method.

Active Publication Date: 2018-04-17
BEIJING FOREVER TECH
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0002] At present, due to the format characteristics of XML (Extensible Markup Language, Extensible Markup Language), such as including more complicated symbols (such as , ), etc., it is particularly troublesome for technicians to write XML format strings, especially in The problem is more pronounced when writing complex XML strings

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
  • String generation method and apparatus
  • String generation method and apparatus
  • String generation method and apparatus

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] For the sake of reference and clarity, the technical terms, abbreviations or abbreviations used in the following text are summarized as follows:

[0042] Qt: is a cross-platform C++ graphical user interface application development framework developed by Qt Company in 1991. It can be used to develop GUI programs as well as non-GUI programs, such as console tools and servers. Qt is an object-oriented framework, using special code generation extensions (called Meta Object Compiler (Meta Object Compiler, moc)) and some macros, Qt is easily extensible and allows real component programming.

[0043] 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 only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments ob...

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 present invention provides a string generation method and apparatus. The method comprises: obtaining and parsing a character string in a first language format, and generating a character string ina second language format according to the parsing result. The scheme of the present invention proposes a technical idea of ''translating a character string in one language format into another language format of string''; by virtue of the scheme of the present invention, as for the XML string that is more troublesome for the writing process, another programming language (such as QML) that is easier in the writing process can be used, and then the format string can be converted into the XML string by using the scheme of the present application; and from the perspective of the technician, the desired XML string can be indirectly obtained by writing a string of other formats such as QML rather than facing the complex formatting requirements of XML, so that the scheme of the present inventionsimplifies the XML writing manner and reduces the trouble degree for the technician to obtain the XML string.

Description

technical field [0001] The invention belongs to the technical field of code writing and processing of computer programs, and in particular relates to a method and device for generating a character string. Background technique [0002] At present, due to the format characteristics of XML (Extensible Markup Language, Extensible Markup Language), such as including more complicated symbols (such as <>, ), etc., it is particularly troublesome for technicians to write XML format strings, especially in This problem is even more pronounced when writing complex XML strings. [0003] Therefore, how to provide an improved XML string writing method (to reduce the trouble for technicians to obtain XML strings) has become an urgent technical problem in this field. Contents of the invention [0004] In view of this, the purpose of the present invention is to provide a method and device for generating character strings, which are used to simplify the way of writing XML and reduce t...

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): G06F8/51G06F17/22
CPCG06F8/51G06F40/126
Inventor 方文罗新伟江春华陈显龙余怡恺孙敏杰
Owner BEIJING FOREVER TECH
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