A method and device for generating a character string

A technology of character strings and generating units, which is applied in electrical digital data processing, program code conversion, instruments, etc., can solve the troublesome problems of writing XML format strings, and achieve the effect of reducing the trouble and simplifying the way of writing

Active Publication Date: 2022-02-08
BEIJING FOREVER TECH
View PDF9 Cites 0 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
  • A method and device for generating a character string
  • A method and device for generating a character string
  • A method and device for generating a character string

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 method and device for generating a character string. The method includes obtaining and parsing a character string in a first language format, and generating a character string in a second language format according to the parsing result. It can be seen that the present invention proposes the technical idea of ​​"converting a character string in one language format into another language format character string". By applying the present invention's proposal, for XML character strings whose writing process is relatively cumbersome, you can first Utilize other programming language (such as QML) that writing process is comparatively simple to write the character string of corresponding format, and then use this application scheme to convert this format character string into XML character string, from the angle of technician, it can By writing strings in other formats such as QML to indirectly obtain the required XML strings, without having to face the complicated format requirements of XML, the solution of the present invention simplifies the way of writing XML and reduces the trouble for technicians to obtain XML strings degree.

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