Operation and demonstration device for generating TRUE file through format and picture file rendering
By providing layout and image file rendering operation and demonstration device to generate TRUE files, the problem that layout files cannot achieve dynamic effect demonstration is solved, dynamic rendering and multi-dimensional reading are realized, and user reading experience is improved.
Patent Information
- Application Number
- CN202510130668.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-06
- Publication Date
- 2025-03-07
- Estimated Expiration
- Not applicable · inactive patent
Abstract
Description
Technical Field
[0001] The present invention relates to the field of file technology, in particular to an operation and demonstration device for generating a TRUE file by rendering a format and picture file. Background Art
[0002] During the reading process, layout files generally only support static reading. When demonstrating the effects on layout files, various dynamic effects cannot be achieved for the resources attached to various OFD approvals, resulting in a poor user reading experience. Summary of the invention
[0003] The purpose of the present invention is to provide an operation and demonstration device for rendering a layout and picture file to generate a TRUE file, so as to solve the problems raised in the above-mentioned background technology.
[0004] To achieve the above-mentioned purpose, the present invention provides the following technical solutions: an operation and demonstration device for generating TRUE files by rendering layout and picture files, including a dynamic setting module, a dynamic effect coordination module, a file storage conversion module, a file parsing and reading module, a file function rendering module, a TRUE scene demonstration module, and a file management module; The dynamic setting module is used to configure corresponding effects and parameters according to the file type; The dynamic effect coordination module is used to establish association relationships between different effects; The file storage conversion module is used to write the parameters of the configuration effect into the xml file, and add the xml file of the dynamic effect on the basis of the OFD file to form a new file format TRUE file; The file parsing and reading module is used to parse the TRUE file generated above and add events at the specified module position according to the dynamic effect data; The file function rendering module is used to perform dynamic rendering on the file according to the set dynamic effects and the coordinated combination of multiple effects.
[0005] The TRUE scene demonstration module is used to construct a display area, display a collection of rendering effects, and set different playback modes as needed to display a variety of scene dynamic effects.
[0006] The file management module is used to perform unified authority control, signature protection, security access control and other management on the TRUE files that generate dynamic rendering effects.
[0007] Preferably, the dynamic setting module sets the effect according to different files. If the file is an OFD file, the corresponding parameters are configured according to the selected effect, and the parameter range includes color, frequency, and number of times; if the file is a DLF file, a hash operation is performed on the DLF file to obtain the MD5 value, obtain the unique value of the file, match the page number of the file, highlight the content of the text, the position of the text, and the specific effect of the display.
[0008] Preferably, the dynamic effects include shutters, wipe, appear, fly in, box, slow entry, diamond, wheel, split, checkerboard, cut in, flash once, fan-shaped expansion, cross-shaped expansion, random lines, dissolve inward, and circular expansion.
[0009] Preferably, the association relationship of the dynamic effects in the dynamic effect coordination module includes sequence, delay time, and interaction relationship; multiple dynamic effects can be concurrent or interactive at the same time.
[0010] Preferably, when writing data into an XML file, the file storage conversion module writes the data of the dynamic rendering effect into the movement.xml file, and uses movement.xml as an extended file to form a new file format based on the layout file, and the file format is a TRUE file.
[0011] Preferably, the process of parsing the TRUE file by the file parsing and reading module is as follows: Step S1: split the TRUE file into OFD original text and movement.xml; Step S2: obtain and parse the OFD original text, read the data structure of movement.xml, add events at the specified position according to the data of the dynamic effect, and add listening events, wherein the operation range of the added events includes mouse hovering, double-clicking, single-clicking, and swiping.
[0012] Preferably, the file function rendering module triggers the selected rendering effect by clicking the rendering effect set in the area during display, obtains the dynamic rendering queue of other pages after the current event, and then calls them sequentially according to the order of events or time.
[0013] Preferably, when reading, the TRUE scene demonstration module has playback modes including custom playback and automatic playback; the custom playback mode displays dynamic effects according to the page, and the automatic playback mode advances the effects one by one in chronological order; if it is page reading, multiple simultaneous dynamic effects are set, which can be interactively displayed in different areas or the same area.
[0014] Preferably, it also includes a setting end and a demonstration end; the setting end is used to use the interface to set the dynamic effect of rendering, and record the corresponding operation demonstration step data, and store the data in the form of an extended file without affecting the original content; the demonstration end is used to parse the corresponding extended data file, and provide a call to the built-in algorithm for rendering and displaying in order.
[0015] Compared with the prior art, the present invention has the following beneficial effects: (1) The present invention creates a technology for rendering the content and elements of a layout file or a picture file to generate a dynamic presentation file without changing the content information of the file itself; (2) The present invention combines the user's intention to express in a scene-based manner, organically combining the layout, image files, and rendering effects to generate a scene effect. The user can vividly interpret the original file through the combination of these scenes, thus innovating the in-depth reading experience of layout files and image files; (3) The present invention supports multi-person operation or shared operation. By combining scenes created by multiple people through a management module, the scope and angle of interpretation are expanded, allowing users to read interpretations of different roles and dimensions at one time, thus innovating the multi-dimensional reading experience of layout files and image files. DETAILED DESCRIPTION
[0016] The following will be combined with the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention. Example
[0017] The present invention provides an operation and demonstration device for generating TRUE files by rendering layout and picture files, including a dynamic setting module, a dynamic effect coordination module, a file storage conversion module, a file parsing and reading module, a file function rendering module, a TRUE scene demonstration module, a file management module, and also includes a setting end and a demonstration end. In the present invention, when dynamic configuration is first performed, the dynamic setting module will configure corresponding effects and parameters according to the type of file, and set the effects according to different files. If the file is an OFD file, the corresponding parameters are configured according to the selected effect, and the parameter range includes color, frequency, and number of times; if the file is a DLF file, a hash operation is performed on the DLF file to obtain the MD5 value, obtain the unique value of the file, match the page number of the file, highlight the content of the text, the position of the text, and the specific effect of the display.
[0018] When the dynamic configuration is completed, the dynamic effect coordination module can establish the association relationship between different effects, among which the association relationship of dynamic effects includes sequence, delay time, and interaction relationship; multiple dynamic effects can be concurrent or interactive at the same time, and the dynamic effects include blinds, erase, appear, fly in, boxed, slow entry, diamond, wheel, split, chessboard, cut in, flash once, fan-shaped expansion, cross expansion, random lines, inward dissolution, and circular expansion.
[0019] Specifically, the file storage conversion module writes the parameters of the configuration effect into the xml file, and adds the dynamic effect xml file on the basis of the OFD file to form a new file format TRUE file. Mainly, when writing data into the xml file, the data of the dynamic rendering effect is written into the movement.xml file, and movement.xml is used as an extension file to form a new file format based on the layout file, thereby forming a new file format TRUE file; for example, if the file is an OFD file, a TOFD file is generated based on the OFD file; if the file is a PDF file, a TPDF file is generated based on the PDF file; if the file is a PNG file, a TPNG file is generated based on the PNG file.
[0020] The file parsing and reading module parses the TRUE files generated above, such as TOFD files, TPDF files, and TPNG files, and then adds events at the specified module positions according to the dynamic effect data. For example: the process of parsing the TOFD file is as follows: Step S1: split the TOFD file into OFD original text and movement.xml; Step S2: obtain and parse the OFD original text, read the data structure of movement.xml, add events at the specified position according to the dynamic effect data, and add listening events. You can use the mouse hover, double-click, single-click, and swipe to add any listening event on the page, so that the operation methods are diverse. At the same time, multiple users can add listening events to the same file.
[0021] The file function rendering module dynamically renders on the file according to the set dynamic effects and the coordinated combination of multiple effects. When displaying, by clicking the rendering effect collection in the area, the selected rendering effect is triggered, and the dynamic rendering queue of other pages after the current event is obtained. The user can call the selected dynamic rendering effects in sequence according to his own ideas and the order of events or time.
[0022] The TRUE scene demonstration module constructs a display area to display a collection of rendering effects, and sets different playback modes as needed to display a variety of scene dynamic effects. When reading, the TRUE scene demonstration module can use customized playback or automatic playback in playback mode; the customized playback mode is to display dynamic effects according to the page, and the automatic playback mode is to advance the effects one by one in the order of time; if it is page reading, multiple simultaneous dynamic effects are set, which can be interactively displayed in different areas or the same area. For example, the first sentence of a paragraph can be displayed with a slowly entering dynamic effect, or the second sentence of a paragraph can be displayed with a louvered window dynamic effect. In the present invention, the setting end uses an interface to set the dynamic effect of rendering, and records the corresponding operation demonstration step data, and stores the data in the form of an extended file without affecting the original content; the demonstration end parses the corresponding extended data file, and provides a built-in algorithm for rendering and displaying in sequence.
[0023] After various layout files or image files generate TRUE files, the file management module will perform unified permission control, signature protection, security access control and other management on the TRUE files that generate dynamic rendering effects. In the management process, since the device supports multi-person operation or shared operation, the management module combines scenes produced by multiple people to expand the scope and angle of interpretation, allowing users to read interpretations of different roles and dimensions at one time, which innovates the multi-dimensional reading experience of layout files and image files.
[0024] It will be apparent to those skilled in the art that the present invention is not limited to the details of the exemplary embodiments described above and that the present invention can be implemented in other specific forms without departing from the spirit or essential features of the present invention. Therefore, the embodiments are to be considered exemplary and non-restrictive in all respects, and the scope of the present invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the present invention.
Claims
1. The operation and demonstration device for rendering the layout and picture files to generate TRUE files, characterized by: Including dynamic setting module, dynamic effect coordination module, file storage conversion module, file parsing and reading module, file function rendering module, TRUE scene demonstration module, and file management module; The dynamic setting module is used to configure corresponding effects and parameters according to the file type; The dynamic effect coordination module is used to establish association relationships between different effects; The file storage conversion module is used to write the parameters of the configuration effect into the xml file, and add the xml file of the dynamic effect on the basis of the OFD file to form a new file format TRUE file; The file parsing and reading module is used to parse the TRUE file generated above and add events at the specified module position according to the dynamic effect data; The file function rendering module is used to dynamically render the file according to the set dynamic effect and the coordinated combination of multiple effects; The TRUE scene demonstration module is used to construct a display area, display a collection of rendering effects, and set different playback modes as needed to display a variety of scene dynamic effects; The file management module is used to perform unified authority control, signature protection, and security access control on TRUE files that generate dynamic rendering effects.
2. The operation and demonstration device for generating a TRUE file by rendering a layout and picture file according to claim 1, characterized in that: The dynamic setting module sets the effects according to different files. If the file is an OFD file, the corresponding parameters are configured according to the selected effect, and the parameter range includes color, frequency, and number of times; if the file is a DLF file, a hash operation is performed on the DLF file to obtain the MD5 value, obtain the unique value of the file, match the page number of the file, highlight the content of the text, the position of the text, and the specific effect of the display.
3. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: Said dynamic effects include shutters, wipe, appear, fly in, boxed, slow enter, diamond, wheel, split, checkerboard, cut in, flash once, fan out, cross expand, random lines, dissolve inwards, circular expand.
4. The operation and demonstration device for generating a TRUE file by rendering a layout and picture file according to claim 1, characterized in that: The association relationship of the dynamic effects in the dynamic effect coordination module includes sequence, delay time, and interaction relationship; multiple dynamic effects can be concurrent or interactive at the same time.
5. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: When writing data into the XML file, the file storage conversion module writes the data of the dynamic rendering effect into the movement.xml file, and uses movement.xml as an extended file to form a new file format based on the layout file, and the file format is a TRUE file.
6. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: The process of parsing the TRUE file by the file parsing and reading module is as follows: Step S1: splitting the TRUE file into OFD original text and movement.xml; Step S2: Get and parse the OFD original text, read the data structure of movement.xml, add events at the specified position according to the dynamic effect data, and add listening events, where the operation range of the added events includes mouse hover, double-click, single-click, and swipe.
7. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: The file function rendering module triggers the selected rendering effect by clicking the rendering effect set in the area during display, obtains the dynamic rendering queue of other pages after the current event, and then calls them in sequence according to the order of events or time.
8. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: When reading, the TRUE scene demonstration module has two play modes: custom play and automatic play. The custom play mode displays dynamic effects according to the page, and the automatic play mode advances the effects one by one in chronological order. If reading a page, multiple simultaneous dynamic effects can be set, which can be interactively displayed in different areas or the same area.
9. The operation and demonstration device for generating TRUE files by rendering layout and picture files according to claim 1, characterized in that: It also includes a setting end and a demonstration end; the setting end is used to use the interface to set the dynamic effect of rendering, and record the corresponding operation demonstration step data, and store the data in the form of an extended file without affecting the original content; the demonstration end is used to parse the corresponding extended data file, and provide a call to the built-in algorithm for rendering and displaying in order.
Citation Information
Patent Citations
Universal efficient Excel reading processing method, tool, medium and equipment
CN114357943A
Device for elastically clustering, combining and reading multiple OFD (Open Forwarding Detection) layout files
CN116719784A
Method for combining or merging information and file convergence whiteboard for reading and operation
CN116755593A
Dynamic layout file DLF generation device
CN117910438A
Function examination and performance evaluation device based on DLF file
CN118193885A
Cited By
Device for triggering OFD file rendering through form
CN120763125A