Archiving method for converting application system into DLF
By analyzing and structuring the content of the application system and converting it into DLF file format, the limitations of dynamic web page archiving in the existing technology are solved, and the archiving and cross-platform compatibility of the application system is realized.
Patent Information
- Application Number
- CN202510677164.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-06-24
- Estimated Expiration
- 2045-05-26
AI Technical Summary
The prior art is difficult to convert the application system to the DLF file format, resulting in the limitations of dynamic web page archiving and the inability to expand the scope of the archive to the application system.
By obtaining the content of the target application system, analyzing static and dynamic resources and interactive logic, structure and encapsulating them into DLF file format, verifying and optimizing DLF files, rendering and restoring the application system interface and interactive logic.
The archive scope of DLF files has been expanded from static web pages to application systems, enhanced the scope of archived digital assets, and optimized storage efficiency and cross-platform compatibility through intelligent compression and standardized format design.
Smart Images

Figure CN120196833A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of archiving, and particularly to an archiving method for converting an application system into DLF. Background Art
[0002] Archiving web pages in the OFD format is applicable for reference in the construction and archiving of other types of website web pages, but it is not applicable to dynamic web pages and application systems.
[0003] Dynamic layout file: Dynamic layout files, abbreviated as DLF. DLF exists in the form of a file package, which contains a group of OFD files and their association and display relationships to form a whole, in order to realize the collection of layout files and complex dynamic operations. The present invention expands the limitation that the original DLF file can only archive dynamic web pages, expands the archiving scope from static web pages to application systems, and expands the scope of digital assets that can be archived. Summary of the Invention
[0004] The purpose of the present invention is to provide an archiving method for converting an application system into DLF to solve the problems raised in the above background art.
[0005] To achieve the above purpose, the present invention provides the following technical solution: An archiving method for converting an application system into DLF, characterized by including the following steps: Step S1: Obtain the target application system, parse the application content, and the parsed page content includes static resources, dynamic resources, and interaction logic; Step S2: Extract the content of the application system, and extract various types of content and their interaction logic; Step S3: Structure and encapsulate the extracted content, and encapsulate various types of content into various content modules in a format that can be parsed by the corresponding DLF file; Step S4: Verify and optimize the converted DLF file; Step S5: Render and restore the static resources and dynamic resources of the interface of the application system in the converted DLF file; Step S6: Restore the interaction of the application system, and the restored application system interaction experience supports users to operate on the DLF file.
[0006] Preferably, the static resources include text, pictures, and links, and the dynamic resources include dynamic charts, carousel pictures, videos, and audios.
[0007] Preferably, the parsing of the application content in step S1 includes the following steps: Step 1: Crawl the page content and data structure of the application system; Step 2: Extract static resources and dynamic resources in the page through DOM parsing technology; Step 3: Simulate user operations, capture dynamic effects, analyze event listeners in the page, and extract the triggering conditions and response logic of dynamic content.
[0008] Preferably, when extracting the content of the application system in step S2, when performing pull-down loading and infinite scrolling extraction, identify the scrolling container, extract the dynamically loaded content blocks, and record the conditions for triggering the loading; For pop-up windows and floating layers extraction, identify the triggering conditions of pop-up windows and floating layers, and extract the pop-up window content; For interactive buttons and controls extraction, first identify the interaction logic of buttons and controls, and then record the response actions of the buttons; For animation effects extraction, first identify CSS animations and JavaScript animations, and then record the triggering conditions, duration, and effect types of the animations; For audio and video playback extraction, identify the audio and video players, extract the media files, and record the playback control logic; For map and chart interaction extraction, identify map and chart controls, extract the interaction logic, and record the data source and dynamic update logic; For pagination and tab extraction, first identify pagination and tab controls, extract the switching logic, and record the content of each tab or pagination; For dynamic navigation and menu extraction, identify the navigation bar and menu, extract the expand and collapse logic, and record the content of menu items and jump links; For carousel content extraction, identify the carousel container, extract the carousel items, and record the carousel order, switching time, and switching animation effects.
[0009] Preferably, when encapsulating various types of content in step S3, encode the dynamically loaded content blocks and their triggering conditions as "loading modules", encode the pop-up window content and its triggering conditions as "pop-up window modules", encode the interaction logic of buttons as "interaction modules", encode the triggering conditions and effects of animations as "animation modules", encode the media files and their playback control logic as "media modules", encode the interaction logic of maps and charts as "map modules" or "chart modules", encode the switching logic of pagination and tabs as "pagination modules", encode the expand and collapse logic of the navigation bar and menu as "navigation modules", and encode the carousel items and their order, switching time as a timeline model and store it as the "carousel module" in the DLF file.
[0010] Preferably, when verifying the converted DLF file in step S4, first check the integrity of the DLF file, verify whether all modules and data packets are correctly associated, and verify whether the logic of the behavior model is correct.
[0011] Preferably, when optimizing the converted DLF file in step S4, compress the multimedia files, perform differential encoding on the behavior models, remove redundant data, and test the parsing and rendering effects of the DLF file on different devices and platforms.
[0012] Preferably, when performing rendering and restoration in step S5, render text, pictures, videos, carousel pictures, and audio multimedia elements according to the content of the data storage area, restore the page structure according to the layout information of the original application system, including the navigation bar, sidebar, and content area, and restore the visual effects of the page according to the CSS style information, including fonts, colors, and spacing.
[0013] Preferably, when restoring the interaction of the application system in step S6, dynamically generate interaction functions according to the logic of the behavior model area, monitor user operations, trigger the corresponding behavior models, and dynamically update the page content according to the trigger conditions.
[0014] Compared with the prior art, the beneficial effects of the present invention are as follows: (1) Through structured extraction and modeling techniques, the present invention dynamically generates pages through commands, completely records the interaction logic of the application system in the DLF file, expands the limitation that the original DLF file can only archive dynamic web pages, expands the archiving scope from static web pages to application systems, and expands the scope of digital assets that can be archived; (2) Through intelligent compression technology, on the basis of strictly ensuring content integrity, the file size is greatly reduced, which not only optimizes the storage efficiency, but also improves the reading and loading efficiency, and provides a more concise document management method for users; (3) Through standardized format design, the present invention ensures that the archived content is highly consistent in display on various terminal devices, not only realizes a substantial improvement in storage efficiency, but also ensures seamless cross-platform compatibility, bringing a more convenient and efficient document management and sharing experience for users. Description of the Drawings
[0015] Figure 1 is the flowchart of the present invention. Detailed Embodiments
[0016] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention. Embodiment
[0017] The DLF file is a compressed file. Inside the DLF file, there is a navigation file and several OFD files. The navigation file mainly records the association relationships between files, the entry of files, the storage paths of OFD files, the trigger positions and jump events between OFD files. The implementation method of converting an application system into the DLF archiving method includes the following steps: Step S1: Obtain the target application system, parse the application content. The parsed page content includes static resources, dynamic resources, and interaction logic. The static resources include text, pictures, and links, and the dynamic resources include dynamic charts, carousel pictures, videos, and audios. Crawl the page content and data structure of the application system; Step S2: Extract the static resources and dynamic resources in the page through DOM parsing technology; Step S3: Simulate user operations, capture dynamic effects, analyze the event listeners in the page, and extract the trigger conditions and response logic of the dynamic content; Step S4: Extract the content of the application system, extract various types of content and their interaction logic. When extracting pull-down loading and infinite scrolling, identify the scrolling container, extract the dynamically loaded content blocks, and record the conditions for triggering the loading; For pop-up windows and floating layers extraction, identify the trigger conditions of the pop-up windows and floating layers, and extract the pop-up window content; For interactive buttons and controls extraction, first identify the interaction logic of the buttons and controls, and then record the response actions of the buttons; For animation effects extraction, first identify CSS animations and JavaScript animations, and then record the trigger conditions, duration, and effect types of the animations; For audio and video playback extraction, identify the audio and video players, extract the media files, and record the playback control logic; For map and chart interaction extraction, identify the map and chart controls, extract the interaction logic, and record the data source and dynamic update logic; For paging and tab extraction, first identify the paging and tab controls, extract the switching logic, and record the content of each tab or page; For dynamic navigation and menu extraction, identify the navigation bar and menu, extract the expand and collapse logic, and record the content of the menu items and the jump links; For carousel content extraction, identify the carousel container, extract the carousel items, and record the carousel order, switching time, and switching animation effects; Step S5: Structure and encapsulate the extracted content, and encapsulate various types of content into various content modules in a format that can be parsed by the corresponding DLF file. Among them, the dynamically loaded content blocks and their triggering conditions are encoded as "loading modules", the pop-up window content and its triggering conditions are encoded as "pop-up modules", the interaction logic of buttons is encoded as "interaction modules", the triggering conditions and effects of animations are encoded as "animation modules", the media files and their playback control logic are encoded as "media modules", the interaction logic of maps and charts is encoded as "map modules" or "chart modules", the switching logic of pagination and tabs is encoded as "pagination modules", the expansion and folding logic of navigation bars and menus is encoded as "navigation modules", the carousel items and their order and switching time are encoded as a timeline model and stored as the "carousel module" in the DLF file; Step S6: Verify the converted DLF file. First, check the integrity of the DLF file, verify whether all modules and data packets are correctly associated, and verify whether the logic of the behavior model is correct; Step S7: Optimize the converted DLF file, compress the multimedia files, perform differential encoding on the behavior model, remove redundant data, and test the parsing and rendering effects of the DLF file on different devices and platforms; Step S8: Render and restore the static and dynamic resources of the application system interface in the converted DLF file. According to the content in the data storage area, render text, pictures, videos, carousel pictures, audio and other multimedia elements. According to the layout information of the original application system, restore the page structure, including the navigation bar, sidebar, and content area. According to the CSS style information, restore the visual effects of the page, including fonts, colors, and spacing; Step S6: Restore the interaction of the application system. According to the logic in the behavior model area, dynamically generate interaction functions, monitor user operations, trigger the corresponding behavior model, and dynamically update the page content according to the triggering conditions. The restored application system interaction experience supports users to operate on the DLF file; Through structured extraction and modeling technology, dynamically generate pages through commands, and record the interaction logic of the application system completely in the DLF file, expanding the limitation that the original DLF file could only archive dynamic web pages, expanding the archiving scope from static web pages to application systems, and expanding the scope of digital assets that can be archived.
[0018] It is obvious to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention. Therefore, from any point of view, the embodiments should be regarded as exemplary and non-restrictive. The scope of the present invention is defined by the appended claims rather than the above description. Therefore, all changes falling within the meaning and scope of the equivalent elements of the claims are intended to be embraced within the present invention. Any reference signs in the claims should not be construed as limiting the claims involved.
Claims
1. An archiving method for converting an application system into DLF, characterized in that It includes the following steps: Step S1: Obtain the target application system, parse the application content, and the parsed page content includes static resources, dynamic resources, and interaction logic; Step S2: Extract the content of the application system, and extract various types of content and their interaction logic; Step S3: Structure and encapsulate the extracted content, and encapsulate various types of content into various content modules in a format that can be parsed by the corresponding DLF file; Step S4: Verify and optimize the converted DLF file; Step S5: Render and restore the static resources and dynamic resources of the interface of the application system in the converted DLF file; Step S6: Restore the interaction of the application system, and the restored application system interaction experience supports users to operate on the DLF file.
2. The archiving method for converting an application system into DLF according to claim 1, wherein: The static resources include text, pictures, and links, and the dynamic resources include dynamic charts, carousel pictures, videos, and audios.
3. The archiving method for converting an application system into DLF according to claim 1, wherein: The parsing of the application content in Step S1 includes the following steps: Step 1: Crawl the page content and data structure of the application system; Step 2: Extract the static resources and dynamic resources in the page through DOM parsing technology; Step 3: Simulate user operations, capture dynamic effects, analyze the event listeners in the page, and extract the trigger conditions and response logic of the dynamic content.
4. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When extracting the content of the application system in Step S2, when extracting pull-down loading and infinite scrolling, identify the scrolling container, extract the dynamically loaded content blocks, and record the conditions for triggering the loading; For pop-up windows and floating layers extraction, identify the trigger conditions of the pop-up windows and floating layers, and extract the pop-up window content; For the extraction of interactive buttons and controls, first identify the interaction logic of the buttons and controls, and then record the response actions of the buttons; For the extraction of animation effects, first identify CSS animations and JavaScript animations, and then record the trigger conditions, duration, and effect types of the animations; For audio and video playback extraction, identify the audio and video players, extract the media files, and record the playback control logic; For map and chart interaction extraction, identify the map and chart controls, extract the interaction logic, and record the data source and dynamic update logic; For paging and tab extraction, first identify the paging and tab controls, extract the switching logic, and record the content of each tab or page; For dynamic navigation and menu extraction, identify the navigation bar and menu, extract the expansion and collapse logic, and record the content of the menu items and the jump links; For carousel content extraction, identify the carousel container, extract the carousel items, and record the carousel order, switching time, and switching animation effects.
5. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When encapsulating various types of content in step S3, the dynamically loaded content blocks and their triggering conditions are encoded as "loading modules", the pop-up window content and its triggering conditions are encoded as "pop-up modules", the interaction logic of buttons is encoded as "interaction modules", the triggering conditions and effects of animations are encoded as "animation modules", the media files and their playback control logic are encoded as "media modules", the interaction logic of maps and charts is encoded as "map modules" or "chart modules", the switching logic of paging and tabs is encoded as "paging modules", the expansion and collapse logic of navigation bars and menus is encoded as "navigation modules", the carousel items and their order and switching time are encoded as a timeline model and stored as the "carousel module" in the DLF file.
6. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When verifying the converted DLF file in step S4, first check the integrity of the DLF file, verify whether all modules and data packets are correctly associated, and verify whether the logic of the behavior model is correct.
7. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When optimizing the converted DLF file in step S4, compress the multimedia files, perform differential encoding on the behavior model, remove redundant data, and test the parsing and rendering effects of the DLF file on different devices and platforms.
8. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When performing rendering and restoration in step S5, render text, pictures, videos, carousel pictures, and audio multimedia elements according to the content of the data storage area, restore the page structure according to the layout information of the original application system, including the navigation bar, sidebar, and content area, and restore the visual effects of the page, including fonts, colors, and spacing, according to the CSS style information.
9. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When performing interaction restoration on the application system in step S6, dynamically generate interaction functions according to the logic in the behavior model area, listen for user operations, trigger the corresponding behavior model, and dynamically update the page content according to the triggering conditions.
Citation Information
Patent Citations
Method for reading DLF dynamic layout file
CN117875263A
Dynamic layout file DLF generation device
CN117910438A
Function examination and performance evaluation device based on DLF file
CN118193885A