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

A page creation method, storage medium, electronic device and system

A page and type of technology, applied in the communication field, can solve problems such as low completion efficiency, heavy work tasks, and large code content, and achieve the effects of reducing workload, improving work efficiency, and streamlining programs

Active Publication Date: 2022-06-21
WUHAN DOUYU NETWORK TECH CO LTD
View PDF9 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, since the functions and content of the current pages are becoming more and more abundant, and there are some similar or related content in each code, when it is necessary to create a page with more functions and content, the traditional creation method requires more code content and the workload of the programmer Larger, resulting in heavy work tasks and low completion efficiency;

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 page creation method, storage medium, electronic device and system
  • A page creation method, storage medium, electronic device and system
  • A page creation method, storage medium, electronic device and system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0044] see figure 1 As shown, an embodiment of the present invention provides a method for creating a page, including the following steps:

[0045] S1. Create a parent class controller, which is configured with a custom allocation function;

[0046] S2, preset multiple function type parameters, and the function type parameter is used to indicate the type of creation function required when the page is created;

[0047] S3. Create multiple sub-type controllers, each sub-type controller corresponds to a function type parameter;

[0048] S4. The parent controller allocates the calling address of the page creation function corresponding to the function type parameter to each sub-type controller by using the self-defined allocation function according to the parameters of each function type, and stores the call address of the page creation function corresponding to the function type parameter in the corresponding sub-type controller. In the custom call file;

[0049] S5. Store the...

Embodiment 2

[0081] like figure 2 As shown, the second embodiment of the present invention provides a page creation method, which includes the following steps:

[0082] Q1. Create the first unit, which is configured with a custom allocation function;

[0083] Q2. Obtain multiple function type parameters. The function type parameter is used to indicate the type of creation function required for page creation;

[0084] Q3. Create multiple second units, each sub-type controller corresponds to a function type parameter;

[0085] Q4. The first unit uses the self-defined allocation function to allocate the calling address of the page creation function corresponding to the function type parameter to each second unit according to the parameters of each function type, and stores the corresponding custom call address preset in the second unit in the file;

[0086] Q5. Store the function type parameters in the preset custom declaration file in the corresponding second unit, and the custom declara...

Embodiment 3

[0114] like image 3 As shown, the third embodiment of the present invention provides a page creation system, which includes:

[0115] A plurality of sub-type controllers 1, each sub-type controller 1 corresponds to a preset function type parameter, each sub-type controller 1 is preset with a custom call file and a custom declaration file, and the custom declaration file is used for The creation function type corresponding to the marker subclass controller 1;

[0116] The parent class controller 2 is configured with a custom allocation function. The parent class controller 2 is used to use the custom allocation function to allocate page creation functions corresponding to the function type parameters to each subclass controller 1 according to the parameters of each function type. The calling address is stored in the corresponding custom calling file, and is also used to store the function type parameters in the corresponding custom declaration file;

[0117] The page creatio...

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 a method for creating a page, a storage medium, an electronic device and a system, and relates to the field of communication technology. The method includes the following steps: creating a parent controller; presetting a plurality of function category parameters; creating a plurality of subclass controllers, Each sub-category controller corresponds to a function type parameter; the parent-type controller uses a self-defined allocation function to assign the call address of the page creation function corresponding to the function type parameter to each sub-type controller, Store it in the preset custom calling file inside the corresponding subclass controller; save the function type parameters in the preset custom declaration file in the corresponding subclass controller; use each subclass controller to create pages. The present invention utilizes each subclass controller to perform page creation work by means of each page creation function, so that the program required for page creation work is more streamlined, the workload of code writing is reduced, and the work efficiency of page creation work is improved.

Description

technical field [0001] The present invention relates to the field of communication technologies, in particular to a page creation method, a storage medium, an electronic device and a system. Background technique [0002] In modern program development, when creating a page, it is often necessary to enter a lot of codes. Different codes are aimed at one function, and a variety of codes cooperate to complete the page creation work; [0003] However, as the functions and content of the current pages are getting richer and richer, and there are some similar or related content in each code, when it is necessary to create pages with more functions and content, the traditional creation method has more code content and programmer workload. Larger, resulting in heavy work tasks and low completion efficiency; [0004] Therefore, there is an urgent need for a page creation method that simplifies the program code for creating pages, reduces workload and improves work efficiency. SUMMA...

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/38
CPCG06F8/38
Inventor 汪刚
Owner WUHAN DOUYU NETWORK TECH CO LTD