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

Method and device for versioning system files based on iframe

A file version and system implementation technology, applied in version control, software maintenance/management, etc., can solve repetitive work and other problems, achieve significant progress, wide application prospects, and improve development efficiency

Inactive Publication Date: 2019-03-12
ZHENGZHOU YUNHAI INFORMATION TECH CO LTD
View PDF9 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] The purpose of the present invention is to address the above-mentioned defects that due to the continuous upgrading of the system, the pages on the browser side are also constantly being updated and beautified, common files need to be updated, and when the number of pages is large, many repetitive tasks will be performed. Provide a method and device for implementing version control of system files based on iframe to solve the above technical problems

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
  • Method and device for versioning system files based on iframe
  • Method and device for versioning system files based on iframe
  • Method and device for versioning system files based on iframe

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0054] The invention provides a method for realizing system file version control based on iframe, which encapsulates the files to be updated in the webpage system, and introduces the encapsulated files into the webpage system through the iframe;

[0055] Such as figure 1 As shown, it specifically includes the following steps:

[0056] S1. Create a new empty page;

[0057] S2. Create a new version file in an empty page; the version file includes a css style file and a js script file;

[0058] S3. Create a new application page;

[0059] S4. The version file is introduced into the application page through the iframe.

Embodiment 2

[0061] Such as figure 2 As shown, a method for implementing system file version control based on iframe includes the following steps:

[0062] S1. Create a new empty page; the specific steps are as follows:

[0063] S11. Create a new version.html file;

[0064] S12. Specify the css style file and js script file that each page in the web application system needs to introduce on the version.html file page;

[0065] S2. Create a new version file in an empty page; the version file includes a css style file and a js script file;

[0066] Specific steps are as follows:

[0067] S21. Create a new js script folder;

[0068] S22. Create a new js script file in the js script folder;

[0069] S23. Create a new css style folder;

[0070] S24. Create a new css style file in the css style folder;

[0071] S3. Create a new application page; the specific steps are as follows:

[0072] S31. Create a new index.html file;

[0073] S32. Setting application page attributes;

[0074] S4....

Embodiment 3

[0077] In above-mentioned embodiment 2,

[0078] S1. Create a new empty page; through the following code to achieve:

[0079]

[0080] S2. Create a new version file in an empty page; realize it through the following code:

[0081] Create a new folder "js", then create a new js file "testJs.js" in the js folder, create a new folder "css", and then create a new css file "one.css" in the css folder S3. Create a new application page; Through the following code to achieve:

[0082]

[0083]

[0084] S4. Import the version.html file page into the index.html file page through the iframe element; realize through the following code:

[0085]

[0086] Create js script folder, css style folder, version.html file and version.html file through the above code;

[0087] Open index.html in the browser, open the developer tool, and view the style and js file version introduced by the current page in NetWork;

[0088] Modify the file version number in the versiont.html file, ref...

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 provides a method and a device for realizing version control of a system file based on an iframe. The method comprises: packaging a file whose version needs to be updated in a webpage system, and introducing the packaged file into the webpage system through the iframe; The invention relates to a device for realizing version control of system files based on iframe, comprising an emptypage creation module, which is used for creating an empty page; A version file creation module for creating a new version file in an empty page; An application page creation module for creating an application page; The version file import module is used to import the version file into the application page through the iframe. The invention introduces an empty page with required leading-in file into the system page, and the version control of the system file can be realized by controlling the version information of the file in the empty page, thereby simplifying the traditional work of adding the version number to each version file, improving the development efficiency, saving human resources and ensuring the system quality.

Description

technical field [0001] The invention belongs to the field of web page version control, and in particular relates to a method and device for realizing system file version control based on iframe. Background technique [0002] In the current popular B / S framework system, due to the continuous upgrading of the system, the pages on the browser side are also constantly being updated and beautified, and in the process of updating and beautifying the pages, the style css files of various elements on the page are controlled and the pages are controlled. JavaScript files for various interactive actions on the website are also constantly being updated. At present, most mainstream browsers on the market, such as Google, Firefox, etc., adopt a caching mechanism to improve page loading efficiency, which will cause great trouble to developers when updating file versions. If there are some common files that need to be updated, When the number of pages is large, a lot of repetitive work wi...

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/71
CPCG06F8/71
Inventor 房洪波栗小雯
Owner ZHENGZHOU YUNHAI INFORMATION 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