Archiving Method for Converting Application Systems to DLF
Through structured extraction and modeling technology, the interactive logic of the application system is recorded in DLF files, solving the limitations of dynamic web pages and application system archives, achieving efficient storage and cross-platform compatibility, and providing a convenient document management method.
Patent Information
- Application Number
- CN202510677164.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-26
- Publication Date
- 2025-07-18
- Estimated Expiration
- 2045-05-26
AI Technical Summary
The prior art cannot effectively archive dynamic web pages and application systems into DLF files, which has problems such as limitations in the archive scope and low storage efficiency.
Through structured extraction and modeling technology, the interactive logic of the application system is recorded in DLF files, and intelligent compression technology is adopted to expand the archive range and optimize storage efficiency and loading speed.
It realizes archiving the application system into DLF files, expands the archive scope, improves storage efficiency and cross-platform compatibility, and provides a convenient document management and sharing experience.
Smart Images

Figure CN120196833B_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 a DLF. Background Art
[0002] Using the OFD format file format to archive web pages, the construction and archiving of web pages of other types of websites can be referred to and used, 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 relationships and display relationships to form an assembly to achieve a 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 a 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 a DLF, characterized by including the following steps:
[0006] Step S1: Obtain the target application system, parse the application content, and the parsed page content includes static resources, dynamic resources, and interaction logic;
[0007] Step S2: Extract the content of the application system, and extract various types of content and their interaction logic;
[0008] 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;
[0009] Step S4: Verify and optimize the converted DLF file;
[0010] Step S5: Render and restore the static resources and dynamic resources of the interface of the application system in the converted DLF file;
[0011] Step S6: Restore the interaction of the application system, and the restored interaction experience of the application system supports users to operate on the DLF file.
[0012] Preferably, the static resources include text, pictures, and links, and the dynamic resources include dynamic charts, carousel pictures, videos, and audios.
[0013] Preferably, the parsing of the corresponding application content in step S1 includes the following steps:
[0014] Step 1: Crawl the page content and data structure of the application system;
[0015] Step 2: Extract static resources and dynamic resources in the page through DOM parsing technology;
[0016] Step 3: Simulate user operations, capture dynamic effects, analyze event listeners in the page, and extract the trigger conditions and response logic of dynamic content.
[0017] Preferably, when extracting the content of the application system in step S2, when extracting pull-down loading and infinite scrolling, identify the scroll container, extract the dynamically loaded content blocks, and record the conditions for triggering the loading;
[0018] For pop-up windows and floating layers extraction, identify the trigger conditions of pop-up windows and floating layers, and extract the pop-up window content;
[0019] For interactive buttons and controls extraction, first identify the interaction logic of buttons and controls, and then record the response actions of the buttons;
[0020] For animation effects extraction, first identify CSS animations and JavaScript animations, and then record the trigger conditions, duration, and effect types of the animations;
[0021] For audio and video playback extraction, identify the audio and video players, extract the media files, and record the playback control logic;
[0022] For map and chart interaction extraction, identify map and chart controls, extract the interaction logic, and record the data source and dynamic update logic;
[0023] For pagination and tab extraction, first identify the pagination and tab controls, extract the switching logic, and record the content of each tab or pagination;
[0024] 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;
[0025] For carousel content extraction, identify the carousel container, extract the carousel items, and record the carousel order, switching time, and switching animation effects.
[0026] Preferably, when encapsulating various types of content in step S3, the dynamically loaded content blocks and their triggering conditions are encoded as a "loading module", the pop-up window content and its triggering conditions are encoded as a "pop-up window module", the interaction logic of buttons is encoded as an "interaction module", the triggering conditions and effects of animations are encoded as an "animation module", the media files and their playback control logic are encoded as a "media module", the interaction logic of maps and charts is encoded as a "map module" or a "chart module", the switching logic of pagination and tabs is encoded as a "pagination module", the expansion and folding logic of navigation bars and menus is encoded as a "navigation module", the carousel items and their order and switching time are encoded as a timeline model and stored as a "carousel module" in the DLF file.
[0027] 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.
[0028] Preferably, 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.
[0029] 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, including fonts, colors, and spacing, according to the CSS style information.
[0030] 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, listen for user operations, trigger the corresponding behavior model, and dynamically update the page content according to the triggering conditions.
[0031] Compared with the prior art, the beneficial effects of the present invention are:
[0032] (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;
[0033] (2) Through intelligent compression technology, on the basis of strictly ensuring content integrity, the present invention greatly reduces the file size, not only optimizes the storage efficiency, but also improves the reading and loading efficiency, and provides a more concise document management method for users;
[0034] (3) Through the standardized format design, the present invention ensures highly consistent display of the archived content on various terminal devices, not only achieving a substantial improvement in storage efficiency but also ensuring seamless cross-platform compatibility, bringing a more convenient and efficient document management and sharing experience to users. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] Figure 1 It is a flowchart of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0036] 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 of the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention. Embodiment
[0037] The DLF file is a compressed package 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 and OFD. The implementation method of converting the application system into the DLF archiving method includes the following steps:
[0038] Step S1: Obtain the target application system, parse the application content, and 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. Capture the page content and data structure of the application system;
[0039] Step S2: Extract the static resources and dynamic resources in the page through DOM parsing technology;
[0040] 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;
[0041] 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;
[0042] 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;
[0043] 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;
[0044] For animation effect extraction, first identify CSS animations and JavaScript animations, and then record the triggering conditions, durations, and effect types of the animations;
[0045] For audio and video playback extraction, identify the audio and video players, extract the media files, and record the playback control logic;
[0046] For map and chart interaction extraction, identify the map and chart controls, extract the interaction logic, and record the data sources and dynamic update logic;
[0047] For pagination and tab extraction, first identify the pagination and tab controls, extract the switching logic, and record the content of each tab or pagination;
[0048] 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;
[0049] For carousel content extraction, identify the carousel container, extract the carousel items, and record the carousel order, switching time, and switching animation effects;
[0050] 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, 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 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 expansion and collapse logic of the navigation bar and menu as "navigation modules", and encode the carousel items and their order and switching time as a timeline model and store it as the "carousel module" in the DLF file;
[0051] 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;
[0052] 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;
[0053] Step S8: Render and restore the static and dynamic resources of the interface of the application system in the converted DLF file. Render text, pictures, videos, carousel pictures, and audio multimedia elements according to the content of the data storage area. Restore the page structure, including the navigation bar, sidebar, and content area, according to the layout information of the original application system. Restore the visual effects of the page, including fonts, colors, and spacing, according to the CSS style information.
[0054] Step S6: Restore the interaction of the application system. Dynamically generate interaction functions according to the logic in the behavior model area, monitor user operations, trigger the corresponding behavior models, and dynamically update the page content according to the trigger conditions. The restored application system interaction experience supports users to operate on the DLF file. Through structured extraction and modeling techniques, generate pages dynamically through commands, record the interaction logic of the application system completely in the DLF file, expand the limitation that the original DLF file can only archive dynamic web pages, expand the archiving scope from static web pages to application systems, and expand the scope of digital assets that can be archived.
[0055] For those skilled in the art, it is obvious that the present invention is not limited to the details of the above exemplary embodiments, and the present invention can be implemented in other specific forms without departing from the spirit or basic 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, it is intended to embrace all changes falling within the meaning and scope of the equivalent elements of the claims in the present invention. Any reference signs in the claims should not be regarded as limiting the claimed rights.
Claims
1. An archiving method for converting an application system into DLF, characterized in that 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; among them, when extracting the content of the application system, 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 triggering conditions of the pop-up windows and floating layers, and extract the pop-up window content; For interactive button and control extraction, first identify the interaction logic of the buttons and controls, and then record the response actions of the buttons; For animation effect 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 the map and chart controls, extract the interaction logic, and record the data source and dynamic update logic; For pagination and tab extraction, first identify the 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 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 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; among them, when encapsulating various types of content, 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 the buttons as "interaction modules", encode the triggering conditions and effects of the animations as "animation modules", encode the media files and their playback control logic as "media modules", encode the interaction logic of the map and chart as "map modules" or "chart modules", encode the switching logic of the pagination and tabs as "pagination modules", encode the expand and collapse logic of the navigation bar and menu as "navigation modules", encode the carousel items and their order and switching time as a timeline model, and store it as the "carousel module" in the 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, cycling pictures, videos, and audios.
3. The archiving method for converting an application system into a 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 event listeners in the page, and extract the triggering conditions and response logic of dynamic content.
4. The archiving method for converting an application system into DLF according to claim 1, characterized in that: When validating 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.
5. 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 file, 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.
6. The archiving method for converting an application system into a 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.
7. 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, monitor user operations, trigger the corresponding behavior model, and dynamically update the page content according to the triggering conditions.
Citation Information
Patent Citations
Dynamic layout file DLF generation device
CN117910438A
Function examination and performance evaluation device based on DLF file
CN118193885A