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

Page packaging method and device, electronic equipment and storage medium

A page and target page technology, which is applied in the fields of page packaging methods, devices, electronic equipment and storage media, can solve problems affecting Internet application performance and access speed, and resource package storage space is large, so as to improve performance and access speed, save The effect of storage space

Pending Publication Date: 2021-08-10
挂号网(杭州)科技有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

This will lead to a large storage space occupied by the resource pack, and will also affect the performance and access speed of Internet applications

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 packaging method and device, electronic equipment and storage medium
  • Page packaging method and device, electronic equipment and storage medium
  • Page packaging method and device, electronic equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] figure 1 It is a schematic flow diagram of a page packaging method provided by Embodiment 1 of the present invention. This embodiment is applicable to the situation of packaging page files during Internet application development. This method can be executed by a page packaging device, which can It is implemented in the form of software and / or hardware. The hardware may be an electronic device, and optionally, the electronic device may be a PC or the like.

[0031] Such as figure 1 As described, the method of this embodiment specifically includes the following steps:

[0032] S110. Obtain the current environment variable, and identify the target environment field in the program to be configured.

[0033] Wherein, the current environment variable may be a variable used to measure the current specific business scenario, and different business scenarios may be identified by different environment variables. The program to be configured may be a program for packaging page ...

Embodiment 2

[0067] figure 2 It is a schematic flow chart of a page packaging method provided by Embodiment 2 of the present invention. On the basis of the above-mentioned embodiments, this embodiment can refer to this embodiment for the generation method of the page file packaging request and the acquisition method of the target page file technical solutions. Wherein, explanations of terms that are the same as or corresponding to the above embodiments are not repeated here.

[0068] Such as figure 2 As described, the method of this embodiment specifically includes the following steps:

[0069] S210. Obtain the current environment variable, and identify the target environment field in the program to be configured.

[0070] S220. Replace the target environment field with the current environment variable.

[0071] S230. Determine the name of the target page file and the storage path of the target page file corresponding to the current environment variable based on the preset correspond...

Embodiment 3

[0087] Figure 4 It is a structural schematic diagram of a page packaging device provided by Embodiment 3 of the present invention, which includes: an identification module 310 , a request generation module 320 , a file acquisition module 330 and a packaging module 340 .

[0088] Among them, the identification module 310 is used to obtain the current environment variable and identify the target environment field in the program to be configured; the request generation module 320 is used to replace the target environment field with the current environment variable and generate a page file packaging request The file obtaining module 330 is used to obtain the target page file corresponding to the current environment variable according to the page file packaging request; the packaging module 340 is used to package the target page file based on the program packaging tool.

[0089] Optionally, the recognition module 310 is also used to obtain the current environment variable input by...

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 a page packaging method and device, electronic equipment and a storage medium. The method comprises the steps: obtaining a current environment variable, and recognizing a target environment field in a to-be-configured program; replacing the target environment field with the current environment variable, and generating a page file packaging request; according to the page file packaging request, obtaining a target page file corresponding to the current environment variable; and packaging the target page file based on a program packaging tool. Through the technical scheme of the embodiment of the invention, the technical effects that the page file is packaged according to the service scene requirement, the storage space of the resource package is saved, and the performance and the access speed of the Internet application are improved are realized.

Description

technical field [0001] The embodiments of the present invention relate to computer software technology, and in particular to a page packaging method, device, electronic equipment and storage medium. Background technique [0002] At present, when developing an Internet application, it is usually possible to import required code files into a program packaging tool, and package these code files into a final resource package. [0003] In actual business Internet application development, the same function can be implemented using different pages in different business scenarios, for example: use page A in scenario A, use page B in scenario B, etc. In order to ensure the normal realization of functions, import the page files corresponding to each page into the program packaging tool to generate resource packages. [0004] However, in a single business scenario, the resource package contains some redundant codes that are irrelevant to the business scenario. This will result in a l...

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
IPC IPC(8): G06F8/20G06F8/41G06F8/71
CPCG06F8/20G06F8/4435G06F8/71
Inventor 周洁
Owner 挂号网(杭州)科技有限公司