File demonstration method and device

By uploading digital teaching material files to the cloud and converting them into HTML files, and using the built-in browser for demonstration, it solves the problem in the existing technology that files can only be demonstrated in the Office environment, and realizes the convenience of demonstration without the need for an Office environment. sex and flexibility.

CN118535529APending Publication Date: 2024-08-23BEIJING RENJIAO HOPE NETWORK INFORMATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410671275.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-28
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

In the existing technology, digital teaching material files can only be demonstrated in the Office environment. If there is no Office environment, the demonstration cannot be performed, making the demonstration difficult.

Method used

Upload the target file to the cloud and convert it into a Hypertext Markup Language HTML file, retain the characteristics of the source file, and use the built-in browser for demonstration, avoiding dependence on the Office environment.

Benefits of technology

By converting files into HTML files for presentation, the difficulty of file presentation is reduced, and digital teaching material files can be presented without the need for an Office environment, improving the convenience and flexibility of presentations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118535529A
    Figure CN118535529A
Patent Text Reader

Abstract

The invention provides a file demonstration method and device, and relates to the technical field of data processing. When the method is executed, a target file is uploaded to a cloud, then the uploaded target file is converted into a hypertext markup language (HTML) file, the HTML file converted from the target file retains source file characteristics of the target file, and finally, the HTML file converted from the target file is demonstrated in response to demonstration operation on the target file. Therefore, the target file is converted into the HTML file, and then the HTML file converted from the target file is demonstrated, so that the demonstration difficulty of the file can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of data processing technology, and in particular to a file presentation method and device. Background Art

[0002] Digital textbooks, or digitized textbooks, are digitalized textbooks that use multimedia technology to convert traditional paper content into interactive textbooks suitable for various electronic terminals. Generally, digital textbooks need to be edited and produced using Office software. In the prior art, digital textbook files can only be demonstrated in an Office environment. Without an Office environment, digital textbook files cannot be demonstrated.

[0003] In summary, how to reduce the difficulty of presenting digital teaching material files is an urgent problem to be solved by those skilled in the art. Summary of the invention

[0004] In view of this, the present application provides a file presentation method and device, aiming to reduce the difficulty of file presentation.

[0005] In a first aspect, the present application provides a file presentation method, comprising:

[0006] Upload the target file to the cloud;

[0007] Convert the uploaded target file into a Hypertext Markup Language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file;

[0008] In response to the presentation operation on the target file, the HTML file converted from the target file is presented.

[0009] Optionally, uploading the target file to the cloud includes:

[0010] Setting a label for the target file, wherein the label is used to indicate the content of the file;

[0011] According to the tags corresponding to the target files, the target files are classified and uploaded to the cloud.

[0012] Optionally, in response to the demonstration operation on the target file, demonstrating the HTML file converted from the target file includes:

[0013] In response to the demonstration operation on the target file, determining whether the target file has been converted into an HTML file;

[0014] If yes, then the HTML file converted from the target file is presented;

[0015] If not, the target file is converted on the fly;

[0016] In response to obtaining an HTML file converted from the target file through real-time conversion, the HTML file converted from the target file is demonstrated.

[0017] Optionally, in response to the demonstration operation on the target file, an HTML file converted from the target file is demonstrated:

[0018] In response to the demonstration operation on the target file, the HTML file converted from the target file is demonstrated using the embedded browser.

[0019] In a second aspect, the present application provides a file presentation device, comprising:

[0020] Upload module, used to upload the target file to the cloud;

[0021] A conversion module, used for converting the uploaded target file into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file;

[0022] The demonstration module is used for demonstrating the HTML file converted from the target file in response to the demonstration operation on the target file.

[0023] Optionally, the upload module includes:

[0024] A setting unit, used for setting a label for a target file, wherein the label is used for indicating the content of the file;

[0025] The uploading unit is used to classify and upload the target files to the cloud according to the tags corresponding to the target files.

[0026] Optionally, the demonstration module includes:

[0027] A judging unit, configured to judge whether the target file has been converted into an HTML file in response to a demonstration operation on the target file;

[0028] A first demonstration unit, for demonstrating the HTML file converted from the target file if yes;

[0029] an instant conversion unit, for, if not, performing an instant conversion on the target file;

[0030] The second demonstration unit is used for demonstrating the HTML file converted from the target file in response to obtaining the HTML file converted from the target file through real-time conversion.

[0031] Optionally, the demonstration module includes:

[0032] The third demonstration unit is used for demonstrating the HTML file converted from the target file by using the embedded browser in response to the demonstration operation on the target file.

[0033] In a third aspect, an embodiment of the present application provides a computer device, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, a file presentation method as described in any one of the implementation methods in the first aspect of the embodiment of the present application is implemented.

[0034] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a terminal device, the terminal device executes a file presentation method as described in any one of the implementation methods in the first aspect of the embodiment of the present application.

[0035] The present application provides a file presentation method. When executing the method, a target file is first uploaded to the cloud, and then the uploaded target file is converted into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file, and finally, in response to a presentation operation on the target file, the HTML file converted from the target file is presented. In this way, by converting the target file into an HTML file and then presenting the HTML file converted from the target file, the difficulty of presenting the file can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] In order to more clearly illustrate the technical solutions in this embodiment or the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0037] Figure 1 A flowchart of a file presentation method provided in an embodiment of the present application;

[0038] Figure 2 A flowchart of another file presentation method provided in an embodiment of the present application;

[0039] Figure 3 A schematic diagram of the structure of a file presentation device provided in an embodiment of the present application;

[0040] Figure 4 A schematic diagram of the structure of a computer device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. The present application provides a file presentation method and device for use in the field of data processing technology. The above is only an example and does not limit the application field of the method and device name provided by the present application.

[0042] Digital textbooks, or digitized textbooks, are digitalized textbooks that use multimedia technology to convert traditional paper content into interactive textbooks suitable for various electronic terminals. Generally, digital textbooks need to be edited and produced using Office software. In the prior art, digital textbook files can only be demonstrated in an Office environment. Without an Office environment, digital textbook files cannot be demonstrated.

[0043] After research, the inventor proposed the technical solution of the present application. When executing the method, the target file is first uploaded to the cloud, and then the uploaded target file is converted into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file, and finally, in response to the demonstration operation of the target file, the HTML file converted from the target file is demonstrated. In this way, by converting the target file into an HTML file and then demonstrating the HTML file converted from the target file, the difficulty of demonstrating the file can be reduced.

[0044] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below in conjunction with the accompanying drawings and specific implementation methods. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application. It should be noted that, for ease of description, only the parts related to the relevant invention are shown in the accompanying drawings. In the absence of conflict, the embodiments in the present application and the features in the embodiments can be combined with each other.

[0045] See also Figure 1 , Figure 1 A flowchart of a file presentation method provided in an embodiment of the present application includes:

[0046] S101: Upload the target file to the cloud.

[0047] The target file is an Office file, such as an Office document used for teaching. Upload the target file to the cloud.

[0048] In some implementations, a tag may be set for the target document first, the tag is used to indicate the file content of the document, and then the target file is classified and uploaded to the cloud according to the tag corresponding to the target file, that is, the target file is classified and uploaded to the cloud according to the content of the target file.

[0049] S102: Convert the uploaded target file into a Hypertext Markup Language HTML file.

[0050] The target file uploaded to the cloud in step S101 is converted into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the relevant characteristics of the source file of the target file, such as the animation effect of PowerPoint. Then, the HTML file converted from the target file is stored in the cloud, and the HTML file converted from the target file can be previewed online or downloaded for offline use.

[0051] S103: In response to the demonstration operation on the target file, the HTML file converted from the target file is demonstrated.

[0052] The HTML file converted from the target file can be directly demonstrated using the embedded browser without installing the Office environment. In response to the demonstration operation on the target file, the HTML file converted from the target file can be directly displayed using the embedded browser.

[0053] In the embodiment provided by the present application, the target file is first uploaded to the cloud, and then the uploaded target file is converted into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file, and finally, in response to the demonstration operation of the target file, the HTML file converted from the target file is demonstrated. In this way, by converting the target file into an HTML file and then demonstrating the HTML file converted from the target file, the difficulty of demonstrating the file can be reduced.

[0054] In the embodiment of the present application, the above Figure 1 There are multiple possible implementations of step S103, which are described below. It should be noted that the implementations described below are only exemplary and do not represent all implementations of the embodiments of the present application.

[0055] See also Figure 2 , Figure 2 A flowchart of another file presentation method provided in an embodiment of the present application includes:

[0056] The implementation method of step S201 is the same as that of step S101 , and the implementation method of step S202 is the same as that of step S102 , which will not be described in detail here.

[0057] S203: In response to the demonstration operation on the target file, determining whether the target file has been converted into an HTML file.

[0058] In response to the demonstration operation on the target file, it is determined whether the process of converting the target file into an HTML file has been completed. If so, step S204 is executed; otherwise, step S205 is executed.

[0059] S204: Demonstrate the HTML file converted from the target file.

[0060] The HTML file converted from the target file can be directly demonstrated using the embedded browser without installing the Office environment. In response to the demonstration operation on the target file, the HTML file converted from the target file can be directly displayed using the embedded browser.

[0061] S205: Convert the target file in real time.

[0062] Quickly convert target files into HTML files through instant conversion.

[0063] S206: In response to obtaining the HTML file converted from the target file through the real-time conversion, the HTML file converted from the target file is demonstrated.

[0064] When an HTML file converted from the target file is obtained through real-time conversion, the HTML file converted from the target file is displayed using an embedded browser.

[0065] The above are some specific implementations of the file presentation method provided in the embodiment of the present application. Based on this, the present application also provides a corresponding device. The device provided in the embodiment of the present application will be introduced from the perspective of functional modularization.

[0066] See also Figure 3 , Figure 3 A schematic diagram of the structure of a file presentation device provided in an embodiment of the present application, wherein the file presentation device 300 comprises:

[0067] The upload module 310 is used to upload the target file to the cloud;

[0068] A conversion module 320, configured to convert the uploaded target file into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file;

[0069] The presentation module 330 is used to present the HTML file converted from the target file in response to the presentation operation on the target file.

[0070] Optionally, the upload module 310 includes:

[0071] A setting unit, used for setting a label for a target file, wherein the label is used for indicating the content of the file;

[0072] The uploading unit is used to classify and upload the target files to the cloud according to the tags corresponding to the target files.

[0073] Optionally, the demonstration module 330 includes:

[0074] A judging unit, configured to judge whether the target file has been converted into an HTML file in response to a demonstration operation on the target file;

[0075] A first demonstration unit, for demonstrating the HTML file converted from the target file if yes;

[0076] an instant conversion unit, for, if not, performing an instant conversion on the target file;

[0077] The second demonstration unit is used for demonstrating the HTML file converted from the target file in response to obtaining the HTML file converted from the target file through real-time conversion.

[0078] Optionally, the demonstration module 330 includes:

[0079] The third demonstration unit is used for demonstrating the HTML file converted from the target file by using the embedded browser in response to the demonstration operation on the target file.

[0080] The embodiments of the present application also provide corresponding devices and computer storage media for implementing the solutions provided by the embodiments of the present application.

[0081] like Figure 4 As shown, the computer device 01 is in the form of a general computing device. The components of the computer device 01 may include but are not limited to: one or more processors or processing units 03, a system memory 08, and a bus 04 connecting different system components (including the system memory 08 and the processing unit 03).

[0082] Bus 04 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnect (PCI) bus.

[0083] The computer device 01 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the computer device 01, including volatile and non-volatile media, removable and non-removable media.

[0084] The system memory 08 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 09 and / or cache memory 10. The computer device 01 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 11 may be used to read and write non-removable, non-volatile magnetic media ( Figure 4 not shown, usually called a "hard drive"). Although Figure 4 Not shown in the figure, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 04 via one or more data medium interfaces. The memory 08 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.

[0085] A program / utility 12 having a set (at least one) of program modules 13 may be stored, for example, in the memory 08, such program modules 13 including but not limited to an operating system, one or more application programs, other program modules, and program data, each of which or some combination thereof may include an implementation of a network environment. The program modules 13 generally perform the functions and / or methods of the embodiments described herein.

[0086] The computer device 01 may also communicate with one or more external devices 02 (e.g., keyboard, pointing device, display 07, etc.), one or more devices that enable a user to interact with the computer device 01, and / or any device that enables the computer device 01 to communicate with one or more other computing devices (e.g., network card, modem, etc.). Such communication may be performed via input / output (I / O) interface 06. Furthermore, the computer device 01 may also communicate with one or more networks (e.g., local area network (LAN), wide area network (WAN) and / or public network, such as the Internet) via network adapter 05. Figure 4 As shown, the network adapter 05 communicates with other modules of the computer device 01 via the bus 04. It should be understood that although Figure 4 Not shown, other hardware and / or software modules may be used in conjunction with computer device 01, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0087] The processor unit 03 executes various functional applications and data processing by running programs stored in the system memory 08, such as implementing a file presentation method provided in an embodiment of the present application.

[0088] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or device including the elements.

[0089] Through the description of the above implementation methods, it can be known that those skilled in the art can clearly understand that all or part of the steps in the above-mentioned embodiment method can be implemented by means of software plus a general hardware platform. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product, which can be stored in a storage medium, such as a read-only memory (ROM) / RAM, a magnetic disk, an optical disk, etc., including a number of instructions for a computer device (which can be a personal computer, a server, or a network communication device such as a router) to execute the methods described in each embodiment of the present application or some parts of the embodiments.

[0090] Each embodiment in this specification is described in a progressive manner, and the same and similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of this embodiment. Ordinary technicians in this field can understand and implement it without paying creative work.

[0091] The above description is merely an exemplary embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A file presentation method, characterized in that: include: Upload the target file to the cloud; Convert the uploaded target file into a Hypertext Markup Language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file; In response to the presentation operation on the target file, the HTML file converted from the target file is presented.

2. The method according to claim 1, characterized in that The uploading of the target file to the cloud includes: Setting a label for the target file, wherein the label is used to indicate the content of the file; According to the tags corresponding to the target files, the target files are classified and uploaded to the cloud.

3. The method according to claim 1, characterized in that: In response to the demonstration operation on the target file, the HTML file converted from the target file is demonstrated, including: In response to the demonstration operation on the target file, determining whether the target file has been converted into an HTML file; If yes, then the HTML file converted from the target file is presented; If not, the target file is converted on the fly; In response to obtaining an HTML file converted from the target file through real-time conversion, the HTML file converted from the target file is demonstrated.

4. The method according to claim 1, characterized in that: In response to the demonstration operation on the target file, the HTML file converted from the target file is demonstrated: In response to the demonstration operation on the target file, the HTML file converted from the target file is demonstrated using the embedded browser.

5. A file presentation device, characterized in that: include: Upload module, used to upload the target file to the cloud; A conversion module, used for converting the uploaded target file into a hypertext markup language HTML file, wherein the HTML file converted from the target file retains the source file characteristics of the target file; The demonstration module is used for demonstrating the HTML file converted from the target file in response to the demonstration operation on the target file.

6. The device according to claim 5, characterized in that The upload module comprises: A setting unit, used for setting a label for a target file, wherein the label is used for indicating the content of the file; The uploading unit is used to classify and upload the target files to the cloud according to the tags corresponding to the target files.

7. The device according to claim 5, characterized in that The demonstration module comprises: A judging unit, configured to judge whether the target file has been converted into an HTML file in response to a demonstration operation on the target file; A first demonstration unit, for demonstrating the HTML file converted from the target file if yes; An instant conversion unit, for, if not, performing an instant conversion on the target file; The second demonstration unit is used for demonstrating the HTML file converted from the target file in response to obtaining the HTML file converted from the target file through real-time conversion.

8. The device according to claim 5, characterized in that The demonstration module comprises: The third demonstration unit is used for demonstrating the HTML file converted from the target file by using the embedded browser in response to the demonstration operation on the target file.

9. A computer device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the file presentation method according to any one of claims 1 to 4 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores instructions, and when the instructions are executed on a terminal device, the terminal device executes the file presentation method according to any one of claims 1 to 4.