Supercharge Your Innovation With Domain-Expert AI Agents!

Interactive interface code generation method and device, equipment and storage medium

A technology of interactive interface and code generation, which is applied in software engineering design, instrumentation, electrical digital data processing, etc., and can solve problems such as codes consume a lot of time and are prone to errors

Pending Publication Date: 2020-10-23
SHANGHAI MIHOYO TIANMING TECH CO LTD
View PDF9 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the development process of online games, the use of numerical configuration files is an effective means to control the game at runtime, but in the actual development process, in order to access the numerical configuration, it is necessary to manually write a large number of codes to complete the reading of complex data, Checksum and format conversion, etc., a lot of manual coding consumes a lot of time and is prone to errors

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
  • Interactive interface code generation method and device, equipment and storage medium
  • Interactive interface code generation method and device, equipment and storage medium
  • Interactive interface code generation method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a flow chart of a code generation method for an interactive interface according to an embodiment of the present invention. This embodiment can be applied to the case of processing the code of the interactive interface. The method can be executed by a device that generates the code for the interactive interface. The means of the code can be realized by means of software and / or hardware. Such as figure 1 As shown, the method specifically includes:

[0031] S110. Obtain the elements in each control in the interactive interface, and receive the variable information in the code of each element input from the outside.

[0032] In the embodiment of the present invention, the interactive interface identifies the user's input information and operation process, and provides messages to the user after processing for reading and analysis. Wherein, the interactive interface may be, but not limited to, a command language user interface, a graphical user interface, a...

Embodiment 2

[0048] figure 2 It is a flow chart of the code generation method for the interactive interface in Embodiment 2 of the present invention, and this embodiment is further optimized on the basis of the foregoing embodiments. Such as figure 2 As shown, the method includes:

[0049] S210. Invoking the code editor to display a code editing page.

[0050] In the embodiment of the present invention, based on the variable information corresponding to each element in each control in the interactive interface to be obtained in the code, the code editor is invoked and a code editing page is displayed. Such as image 3 As shown, the code editing page includes the type of the interactive interface, the display box of each element to be edited, and the information input box corresponding to each element. The information input box on the code editing page can input the corresponding value of any element in the code. variable information.

[0051] Optionally, the code editor includes at ...

Embodiment 3

[0064] Figure 4 It is a flow chart of the code generation method of the interactive interface in the third embodiment of the present invention, and this embodiment is further optimized on the basis of the above-mentioned embodiments. Such as Figure 4 As shown, the method includes:

[0065] S310. Obtain the elements in each control in the interactive interface, and receive the variable information in the code of each element input from the outside.

[0066] S320. Determine path information of each element based on the affiliation relationship between the elements and the affiliation relationship between the element and the control.

[0067] S330. Call the corresponding initial code based on the type information of each element.

[0068] S340. Determine that the type information of the element is the button type, and call a click response function.

[0069] In the embodiment of the present invention, the code editor is invoked, and the corresponding position in the code ed...

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 interactive interface code generation method and device, equipment and a storage medium. The method comprises the following steps: acquiring elements in each control in an interactive interface, and receiving variable information of each externally input element in a code; determining path information of each element based on the affiliation relationship between the elements and the affiliation relationship between the elements and controls; calling a corresponding initial code based on the type information of each element; and generating a target code of the interactive interface based on the variable information of each element in the code, the path information of each element and the initial code corresponding to the type information of each element. By converting the target code of the interactive interface from manual input into automatic generation, the time-consuming and error-prone work is automatically completed, and the development efficiency and accuracy are improved.

Description

technical field [0001] The embodiments of the present invention relate to the technical field of business processing, and in particular to a code generation method, device, device and storage medium for an interactive interface. Background technique [0002] With the continuous development of computer technology, online games have become accepted and applied by more and more users. [0003] In the development process of online games, the use of numerical configuration files is an effective means to control the game at runtime, but in the actual development process, in order to access the numerical configuration, it is necessary to manually write a large number of codes to complete the reading of complex data, A large amount of manual coding, such as checksum and format conversion, consumes a lot of time and is prone to errors. Contents of the invention [0004] The invention provides a code generation method, device, equipment and storage medium for an interactive interfa...

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/38
CPCG06F8/38
Inventor 马晓波
Owner SHANGHAI MIHOYO TIANMING TECH 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