Supercharge Your Innovation With Domain-Expert AI Agents!

Interface display method, program compiling method and related device

A program compilation and interface display technology, applied in the computer field, can solve problems such as complexity, long time, and huge XML files, and achieve the effect of improving the creation speed and optimizing the experience

Pending Publication Date: 2020-12-15
TENCENT TECH (BEIJING) CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, for a program, since a well-crafted and rich-content UI is often more likely to attract users to use the program, most programs will be designed with a rich-content UI, and the XML files corresponding to the rich-content UI will often also relatively large and complex
When the computer running the program loads and parses these XML files, it will take a long time. As a result, when the user opens the program, he needs to wait for a certain period of time before he can see the UI of the program, which affects the user experience.

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
  • Interface display method, program compiling method and related device
  • Interface display method, program compiling method and related device
  • Interface display method, program compiling method and related device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0075] The embodiment of the present application provides a method for displaying an interface, a method for compiling a program, and related devices. In the process of compiling the compiled source program into a target program for users, the XML file used to instruct UI creation is translated. into the information to be compiled, and compile the information to be compiled into the machine language set in the target program, so that when the user opens the target program, he can directly read the machine language set to realize the creation of the UI, no longer need to parse the XML file, Greatly improved the UI creation speed and optimized the user experience.

[0076] The terms "first", "second", "third", "fourth", etc. (if any) in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and not necessarily Used to describe a specific sequence or sequence. It is to be understood that the data so used are interc...

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 embodiment of the invention discloses an interface display method, a program compiling method and a related device. The method comprises the steps: translating an XML file for indicating UI creation into to-be-compiled information, and compiling the to-be-compiled information into a machine language set in a target program, thereby enabling the to-be-compiled information to be compiled into amachine language set in the target program when the target program is opened. The UI can be created by directly reading the machine language set, so that the UI creation speed is greatly increased. The interface display method provided by the embodiment of the invention comprises the steps of obtaining a program starting instruction; starting a target program according to the program starting instruction, the target program comprising a machine language set used for indicating user interface UI creation, the target program being generated according to the source program and to-be-compiled information, the to-be-compiled information comprising a high-level language set, the to-be-compiled information being determined according to an extensible markup language XML file in the source program,wherein the XML file is used for indicating creation of the UI; displaying UI through target program.

Description

technical field [0001] The present application relates to the field of computer technology, in particular to a method for displaying an interface, a method for compiling a program, and related devices. Background technique [0002] With the development of Internet technology, more and more people go online, and more and more people download some specific programs on the Internet to watch videos, shop or make travel reservations. In order to ensure that users can use these programs normally, a user interface (UI) is usually designed in the program. UI is the medium for interaction and information exchange between the user and the system hardware carrying the program. It is used to realize the internal form of information and human Conversion between forms is acceptable. [0003] In the prior art, the program usually uses Extensible Markup Language (XML) files to describe the UI components and UI layout information corresponding to the UI. When the user opens the program, the...

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): G06F9/451G06F8/41
CPCG06F9/451G06F8/41
Inventor 叶栩燊苏鸿星
Owner TENCENT TECH (BEIJING) CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More