Unlock instant, AI-driven research and patent intelligence for your innovation.

Page generation method and device, electronic equipment and program product

A technology for generating devices and pages, applied in the computer field, can solve problems such as unfavorable maintenance, increased complexity of executable code, inconsistent coding style and coding level of developers, etc., and achieves easy follow-up management, low code complexity, and uniform code style Effect

Pending Publication Date: 2022-03-11
CHINA CONSTRUCTION BANK
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, the coding style and coding level of the developers are inconsistent, which will make the executable codes used by different developers different when writing the business logic of the same business system, resulting in an increase in the complexity of the executable code of the page. Conducive to follow-up maintenance

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
  • Page generation method and device, electronic equipment and program product
  • Page generation method and device, electronic equipment and program product
  • Page generation method and device, electronic equipment and program product

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0068] figure 2 is a schematic flowchart of a method for generating a page provided by this application. Among them, such as figure 2 As shown, the page generation method includes:

[0069] Step 201. Responding to a page browsing request triggered by a user, obtain the page source code of the page requested by the page browsing request; wherein, the page source code includes an environment field and a component field.

[0070] Step 202. Determine the translation environment of the page source code according to the environment field in the page source code.

[0071] Step 203 , based on the translation environment, perform translation processing on the component fields in the page source code to obtain the page executable code.

[0072] Step 204: Perform a process of mounting a rendering instance on the page executable code to generate a page corresponding to the page source code.

[0073] In the embodiment of the present application, the page source code involved in the p...

Embodiment 2

[0091] Corresponding to the page generation method of the above embodiment, image 3 A schematic structural diagram of a page generation device provided in the embodiment of the present application, such as image 3 As shown, the page generation device includes: a code acquisition module 310 , a translation module 320 and a page generation module 330 .

[0092] The code obtaining module 310 is used to respond to the page browsing request triggered by the user, and obtain the page source code of the page requested by the page browsing request; wherein, the page source code includes an environment field and a component field;

[0093] The translation module 320 is used to determine the translation environment of the page source code according to the environment field in the page source code; based on the translation environment, the component fields in the page source code are translated to obtain the page executable code;

[0094] The page generation module 330 is configured to ...

Embodiment 3

[0110] Figure 5 A schematic structural diagram of an electronic device provided by an embodiment of the present invention, such as Figure 5 As shown, the embodiment of the present invention also provides an electronic device 500, including: a memory 501, a processor 502, and a computer program.

[0111] Wherein, the computer program is stored in the memory 501 and is configured to be executed by the processor 502 to implement the page generation method provided by any embodiment of the present invention. Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in the accompanying drawings, and details are not repeated here.

[0112] Wherein, in this embodiment, the memory 501 and the processor 502 are connected through a bus.

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

According to the page generation method and device, the electronic equipment and the program product provided by the embodiment of the invention, the page source code of the page requested by the page browsing request is obtained by responding to the page browsing request triggered by the user; wherein the page source code comprises an environment field and a component field; determining a translation environment of the page source code according to an environment field in the page source code; based on the translation environment, performing translation processing on a component field in the page source code to obtain a page executable code; according to the method, the page executable codes are subjected to rendering instance mounting processing on the page executable codes, the page corresponding to the page source code is generated, the page executable codes capable of directly carrying out rendering instance mounting are obtained, the page executable codes are obtained through translation, the code complexity is low, meanwhile, the code styles are uniform, and follow-up management is facilitated.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a page generation method, device, electronic equipment and program product. Background technique [0002] With the development of the Internet industry, the page development technology based on the web front end is also gradually developing. Vue.JS and its related dependencies are one of the open source web front-end development frameworks and solutions. [0003] In the prior art, Vue.JS-based page development is generally implemented by developers coding based on the business logic of the business system. [0004] However, the coding style and coding level of the developers are inconsistent, which will make the executable codes used by different developers different when writing the business logic of the same business system, resulting in an increase in the complexity of the executable code of the page. Conducive to subsequent maintenance. Contents of the inv...

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/38G06F8/41
CPCG06F8/38G06F8/447
Inventor 肖兆琦张同虎
Owner CHINA CONSTRUCTION BANK