A presentation processing method, device, electronic device and storage medium

By automatically traversing and blocking preset category slides in the presentation, the problem of inefficient processing in the prior art is solved, efficient slide blocking processing is realized, and user operations are simplified.

CN112381912BActive Publication Date: 2024-11-08ZHUHAI KINGSOFT OFFICE SOFTWARE +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910690649.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-29
Publication Date
2024-11-08
Estimated Expiration
2039-07-29

AI Technical Summary

Technical Problem

When processing slides of hidden attributes in presentations, the prior art requires manual judgment and manual deletion, resulting in inefficient processing.

Method used

By obtaining processing instructions, iterate and determine whether the slides in the presentation are preset categories slides, and automatically perform blocking processing to generate a new presentation to avoid manual judgment and manual deletion.

Benefits of technology

It improves the efficiency of blocking preset categories slides in presentations, reduces the time for manual judgment and manual deletion, and facilitates users to obtain blocked presentations.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112381912B_ABST
    Figure CN112381912B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a presentation processing method, device, electronic device and storage medium, wherein the method comprises: obtaining a processing instruction for a current presentation, traversing and determining whether each slide in the current presentation is a preset category slide, performing shielding processing on the preset category slide in the current presentation, and generating a presentation shielding the preset category slide according to the shielding processing result. The embodiment of the present invention can improve the shielding processing efficiency of the preset category slide in the presentation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of office software, and in particular to a presentation processing method, device, electronic equipment and storage medium. Background Art

[0002] A presentation is a playable file that turns a static file into a dynamic file. A presentation usually contains multiple slides for presentation.

[0003] In an existing presentation, when it is in an editing state, some slides can be set to have a hidden attribute, so that when it is in a playing state, only the slides that are not set to have a hidden attribute are played, and the slides that are set to have a hidden attribute are no longer played. In the prior art, if it is necessary to obtain a presentation that shields the slides that have been set to have a hidden attribute, the presentation needs to be processed as follows: when the presentation is in an editing state, manually determine whether each slide has been set to have a hidden attribute, and if the hidden attribute has been set, manually delete the slides that have been set to have a hidden attribute, and after deleting all the slides that have been set to have a hidden attribute, manually save the slides that only include the slides that have not been set to have a hidden attribute as a new presentation file.

[0004] However, in the prior art, when processing slides with hidden attributes in a presentation, it is necessary to manually determine whether each slide has been set with a hidden attribute, and to manually delete the slides with the hidden attribute set, so there is a problem of low processing efficiency. Summary of the invention

[0005] The purpose of the embodiments of the present invention is to provide a presentation processing method, device, electronic device and storage medium to improve the efficiency of shielding slides of preset categories in presentations. The specific technical solution is as follows:

[0006] In a first aspect, an embodiment of the present invention provides a presentation processing method, the method comprising:

[0007] Acquire a processing instruction for the current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category slide in the current presentation, wherein the preset category slide includes at least: a slide with a hidden attribute and a blank slide;

[0008] Traversing and determining whether each slide in the current presentation is a slide of the preset category, and performing shielding processing on the slide of the preset category in the current presentation;

[0009] A new presentation is generated according to the shielding processing result, wherein the new presentation is a presentation obtained after shielding the preset category slides.

[0010] Optionally, the step of obtaining a processing instruction for the current presentation includes:

[0011] Obtaining a user's click instruction for a preset option in the operation interface of the current presentation, wherein the preset option is used to select whether to perform a shielding operation on a preset category slide in the current presentation;

[0012] Alternatively, a tapping instruction of a user on a preset button is obtained, where the preset button is used to perform a shielding operation on a preset category slide in the current presentation.

[0013] Optionally, the step of traversing and determining whether each slide in the current presentation is a slide of the preset category, and performing shielding processing on the slide of the preset category in the current presentation includes:

[0014] According to the order of the page numbers of the slides in the current presentation from small to large, traverse and determine whether the slides in the current presentation are slides of the preset category;

[0015] If the slide is a slide of the preset category, shielding processing is performed on the slide of the preset category in the current presentation.

[0016] Optionally, the step of traversing and determining whether each slide in the current presentation is a slide of the preset category, and performing shielding processing on the slide of the preset category in the current presentation includes:

[0017] According to the order of the page numbers of the slides in the current presentation from small to large, traverse and determine whether the slides in the current presentation are slides of the preset category;

[0018] If the slide is a slide of the preset category, adding a shielding mark to the slide of the preset category in the current presentation;

[0019] According to the shielding mark, shielding processing is performed on the preset category slides in the current presentation.

[0020] Optionally, the step of performing shielding processing on the preset category slides in the current presentation includes:

[0021] Reading the current presentation into memory;

[0022] The preset category slides in the current presentation in the memory are shielded.

[0023] Optionally, the step of generating a new presentation according to the shielding processing result includes:

[0024] Acquire a first instruction from a user, where the first instruction is used to perform a save-as operation on the current presentation;

[0025] According to the shielding processing result, the current presentation is saved as a new presentation, and the current presentation is retained.

[0026] Optionally, the step of generating a new presentation according to the shielding processing result includes:

[0027] Acquire a second instruction from the user, where the second instruction is used to perform a save operation on the current presentation;

[0028] According to the shielding processing result, the current presentation is saved as a new presentation, and the current presentation is replaced by the new presentation.

[0029] In a second aspect, an embodiment of the present invention provides a presentation processing device, the device comprising:

[0030] An acquisition module is used to acquire a processing instruction for a current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category slide page in the current presentation, wherein the preset category slide page at least includes: a slide page with a hidden attribute and a blank slide page;

[0031] A processing module, used for traversing and determining whether each slide page in the current presentation is a slide page of the preset category, and performing shielding processing on the slide page of the preset category in the current presentation;

[0032] The generating module is used to generate a new presentation according to the shielding processing result, wherein the new presentation is the presentation obtained after shielding the slide page of the preset category.

[0033] Optionally, the acquisition module is specifically used for:

[0034] Obtaining a user's click instruction for a preset option in the operation interface of the current presentation, wherein the preset option is used to select whether to perform a shielding operation on a preset category slide in the current presentation;

[0035] Alternatively, a tapping instruction of a user on a preset button is obtained, where the preset button is used to perform a shielding operation on a preset category slide in the current presentation.

[0036] Optionally, the processing module includes:

[0037] A first judgment submodule is used to traverse and judge whether each slide in the current presentation is a slide of the preset category according to the page number of each slide in the current presentation from small to large;

[0038] The first shielding submodule is used to perform shielding processing on the preset category slides in the current presentation.

[0039] Optionally, the processing module includes:

[0040] A second judgment submodule is used to traverse and judge whether each slide in the current presentation is a slide of the preset category according to the page number of each slide in the current presentation from small to large;

[0041] A mark adding submodule is used to add a shielding mark to the preset category slides in the current presentation;

[0042] The second shielding submodule is used to perform shielding processing on the preset category slides in the current presentation according to the shielding mark.

[0043] Optionally, the processing module includes:

[0044] A reading submodule, used for reading the current presentation document into a memory;

[0045] The third shielding submodule is used to perform shielding processing on the preset category slides in the current presentation in the memory.

[0046] Optionally, the generating module includes:

[0047] A first acquisition submodule, used for acquiring a first instruction from a user, where the first instruction is used for performing a save-as operation on the current presentation;

[0048] The Save As submodule is used to save the current presentation as a new presentation according to the shielding processing result and retain the current presentation.

[0049] Optionally, the generating module includes:

[0050] A second acquisition submodule, used for acquiring a second instruction from the user, where the second instruction is used for performing a save operation on the current presentation;

[0051] The saving submodule is used to save the current presentation as a new presentation according to the shielding processing result, and replace the current presentation with the new presentation.

[0052] In a third aspect, an embodiment of the present invention provides an electronic device, comprising a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus; the machine-readable storage medium stores machine-executable instructions that can be executed by the processor, and the processor is prompted by the machine-executable instructions to implement the method steps of a presentation processing method provided in the first aspect of the embodiment of the present invention.

[0053] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to perform the method steps of a presentation processing method provided in the first aspect of the embodiment of the present invention.

[0054] The embodiments of the present invention provide a presentation processing method, device, electronic device and storage medium. By obtaining a processing instruction for the current presentation, the method traverses and determines whether each slide in the current presentation is a preset category slide, and performs shielding processing on the preset category slides in the current presentation. According to the shielding processing result, a presentation with the preset category slides shielded can be generated. Since the present invention does not need to manually determine whether each slide is a preset category slide one by one, nor does it need to manually delete the preset category slides, a presentation with the preset category slides shielded can be generated. Therefore, the time for manual judgment and manual deletion is reduced. It can be seen that the application of the presentation processing method, device, electronic device and storage medium provided by the embodiments of the present invention can improve the shielding processing efficiency of the preset category slides in the presentation, so that the user can more conveniently obtain the presentation with the preset category slides shielded. Of course, any product or method implementing the present invention does not necessarily need to achieve all the advantages described above at the same time. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in 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 invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 A schematic diagram of a flow chart of a presentation processing method provided by an embodiment of the present invention;

[0057] Figure 2 A schematic flow chart of step S102 in the presentation processing method provided in an embodiment of the present invention;

[0058] Figure 3Another flowchart diagram of step S102 in the presentation processing method provided by an embodiment of the present invention;

[0059] Figure 4 Another flowchart diagram of step S102 in the presentation processing method provided by an embodiment of the present invention;

[0060] Figure 5 A schematic flow chart of step S103 in the presentation processing method provided by an embodiment of the present invention;

[0061] Figure 6 Another flowchart diagram of step S103 in the presentation processing method provided by an embodiment of the present invention;

[0062] Figure 7 A schematic diagram of the structure of a presentation processing device provided by an embodiment of the present invention;

[0063] Figure 8 A structural schematic diagram of a processing module in the presentation processing device provided in an embodiment of the present invention;

[0064] Fig. 9 Another structural schematic diagram of a processing module in the presentation processing device provided in an embodiment of the present invention;

[0065] Fig.10 A schematic diagram of another structure of a processing module in the presentation processing device provided in an embodiment of the present invention;

[0066] Fig.11 A schematic diagram of a structure of a generation module in a presentation processing device provided in an embodiment of the present invention;

[0067] Fig.12 Another structural schematic diagram of a generation module in the presentation processing device provided in an embodiment of the present invention;

[0068] Fig.13 A schematic diagram of the structure of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0069] The following will be combined with the drawings in 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 creative work are within the scope of protection of the present invention.

[0070] like Figure 1 As shown, an embodiment of the present invention provides a presentation processing method, which may include the following steps:

[0071] S101, obtaining a processing instruction for the current presentation.

[0072] A presentation processing method provided by an embodiment of the present invention can be actually applied to the process of processing the current presentation in order to obtain a presentation with hidden attribute slides shielded, without manually judging whether each slide has been set with hidden attributes one by one, nor manually deleting slides with hidden attributes set.

[0073] A presentation processing method provided by an embodiment of the present invention is aimed at a presentation in an electronic device, and thus can be executed by the electronic device. Specifically, the electronic device can be a desktop computer, a portable computer, a smart mobile terminal, and the like.

[0074] In an embodiment of the present invention, after a user inputs a processing instruction for a current presentation to an electronic device, the electronic device can obtain the processing instruction for the current presentation, and the processing instruction for the current presentation is used to perform a shielding operation on a preset category slide in the current presentation. For example, a preset category slide can be a slide with a hidden attribute, and when the current presentation is in a playing state, the slide with a hidden attribute is no longer played; the preset category slide can also be a blank slide, and a blank slide refers to a slide that does not contain content.

[0075] As an optional implementation of an embodiment of the present invention, the step of obtaining a processing instruction for the current presentation can be implemented in actual applications by obtaining a user's click instruction for a preset option in the operation interface of the current presentation. Specifically, the preset option is used to select whether to perform a shielding operation on a preset category of slides in the current presentation. For example, in the operation interface of the current presentation, the preset option can be a checkable "Remove hidden slides when saving" option in the Save As dialog box, where the Save As dialog box is a dialog box generated when the user clicks the "Save As" button in the operation interface of the current presentation; the preset option in the operation interface of the current presentation can also be the "Remove hidden slides when saving" option in the right-click menu dialog box, where the right-click menu dialog box is a dialog box generated when the user clicks the right button of the mouse in the operation interface of the current presentation.

[0076] Alternatively, in actual application, the step of obtaining the processing instruction for the current presentation can be implemented by obtaining the user's tapping instruction for a preset key combination. Specifically, the preset key combination is used to perform a shielding operation on a preset category slide in the current presentation. The preset key combination can be in the form of a combination of multiple keys on a keyboard.

[0077] S102, traversing and determining whether each slide in the current presentation is a slide of a preset category, and performing shielding processing on the slides of the preset category in the current presentation.

[0078] In an embodiment of the present invention, after the electronic device obtains the processing instruction for the current presentation, since it is necessary to perform a shielding operation on the preset category slides in the current presentation, it is necessary to select the preset category slides that need to perform the shielding operation from all the slides in the current presentation in advance, so it is necessary to traverse and determine whether each slide in the current presentation is a preset category slide, specifically, to determine page by page whether all the slides in the current presentation are preset category slides. After traversing and determining whether each slide in the current presentation is a preset category slide, according to the judgment result, it is possible to select the preset category slides that need to perform the shielding operation from all the slides in the current presentation, and then perform shielding processing on the preset category slides in the current presentation. After the shielding processing, the preset category slides in the current presentation can be shielded, for example, the preset category slides in the current presentation can be deleted.

[0079] S103, generating a new presentation according to the shielding processing result.

[0080] In an embodiment of the present invention, after shielding processing is performed on the preset category slides in the current presentation, the current presentation no longer contains the preset category slides, and a new presentation is generated based on the result of the shielding processing. Specifically, the new presentation refers to the presentation obtained after shielding the preset category slides.

[0081] like Figure 2 As shown, as an optional implementation of an embodiment of the present invention, the above-mentioned step of traversing and determining whether each slide in the current presentation is a preset category slide, and performing shielding processing on the preset category slide in the current presentation includes:

[0082] S1021, traverse and determine whether each slide in the current presentation is a preset category slide in ascending order of the page number of each slide in the current presentation.

[0083] In an embodiment of the present invention, after the electronic device obtains the processing instruction for the current presentation, it determines whether all the slides in the current presentation are preset category slides one by one in the order of the page numbers of the slides in the current presentation from small to large according to the processing instruction for the current presentation, so that the preset category slides that need to perform the shielding operation can be selected from all the slides in the current presentation.

[0084] S1022: If the slide is a preset category slide, shielding processing is performed on the preset category slide in the current presentation.

[0085] In the embodiment of the present invention, in the process of traversing and judging whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large, if a slide is judged to be a preset category slide, the slide needs to perform a shielding processing operation, therefore, the shielding processing operation is performed on the preset category slide in the current presentation, and after the shielding processing operation is performed on the preset category slide in the current presentation, the preset category slide in the current presentation can be shielded. Therefore, after all the preset category slides in the current presentation are judged, all the preset category slides in the current presentation can be shielded.

[0086] S1023: If the slide is not a preset category slide, then the slide in the current presentation is not shielded.

[0087] In the embodiment of the present invention, in the process of traversing and judging whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large, if it is judged that a slide is not a preset category slide, then the slide does not need to perform the shielding processing operation, and therefore, the shielding processing operation is not performed on the slide in the current presentation, and the slide is retained in the current presentation. Therefore, after traversing and judging all the slides in the current presentation, all non-preset category slides in the current presentation can be retained.

[0088] like Figure 3 As shown, as an optional implementation of an embodiment of the present invention, the above-mentioned step of traversing and determining whether each slide in the current presentation is a preset category slide, and performing shielding processing on the preset category slide in the current presentation includes:

[0089] S1021', traverse and determine whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large.

[0090] This step is the same as S1021 and will not be repeated here.

[0091] S1022', if the slide is a preset category slide, a shielding mark is added to the preset category slide in the current presentation.

[0092] In an embodiment of the present invention, after traversing and determining whether each slide in the current presentation is a preset category slide in the order of the page numbers of each slide in the current presentation, in order to quickly identify the preset category slide that needs to perform a shielding operation among all the slides in the current presentation, so that the shielding operation can be completely performed on all the preset category slides in the current presentation, therefore, in the process of traversing and determining whether each slide in the current presentation is a preset category slide in the order of the page numbers of each slide in the current presentation, if a slide is determined to be a preset category slide, a shielding mark is added to the preset category slide in the current presentation. Specifically, the step of adding a shielding mark to the preset category slide in the current presentation can be achieved by adding an annotation to the preset category slide in the current presentation. After adding the shielding mark to the preset category slide in the current presentation, the preset category slide in the current presentation can be identified by the electronic device through the shielding mark. Therefore, after all the preset category slides in the current presentation are determined, all the preset category slides in the current presentation can be added with shielding marks, and all the preset category slides in the current presentation can be identified by the electronic device through the shielding marks.

[0093] S1023', if the slide is not a preset category slide, then no shielding mark is added to the slide in the current presentation.

[0094] In the embodiment of the present invention, in the process of traversing and judging whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large, if it is judged that a slide is not a preset category slide, then no shielding mark is added to the slide in the current presentation, and the state of the slide in the current presentation is retained. Therefore, after traversing and judging all the slides in the current presentation, all the non-preset category slides in the current presentation can be shielded without being added.

[0095] S1024', according to the shielding mark, shielding processing is performed on the preset category slides in the current presentation.

[0096] In an embodiment of the present invention, after adding a shielding mark to all preset category slides in the current presentation, all preset category slides in the current presentation can be identified by the electronic device through the shielding mark. After performing a shielding processing operation on all preset category slides in the current presentation according to the shielding mark, all preset category slides in the current presentation can be shielded.

[0097] like Figure 4As shown, as an optional implementation of the embodiment of the present invention, the above step of performing shielding processing on the preset category slides in the current presentation includes:

[0098] S1021", read the current presentation into memory.

[0099] In an embodiment of the present invention, since it may be necessary to save the original current presentation, that is, the unprocessed current presentation, before performing the shielding processing operation on the preset category slides in the current presentation, the current presentation can be read into the memory so that the unprocessed current presentation can be saved subsequently.

[0100] S1022", performing shielding processing on the preset category slides in the current presentation in the memory.

[0101] After the current presentation is read into the memory, the preset category slides in the current presentation in the memory are shielded. After the shielding operation is performed on the preset category slides in the current presentation in the memory, the original preset category slides in the current presentation in the disk have not been shielded, and the preset category slides in the current presentation in the memory after the shielding operation can be shielded.

[0102] like Figure 5 As shown, as an optional implementation of the embodiment of the present invention, the step of generating a new presentation according to the shielding processing result includes:

[0103] S1031, obtaining a first instruction from a user.

[0104] In an embodiment of the present invention, after performing a shielding processing operation on a preset category slide in a current presentation, the preset category slide in the current presentation can be shielded, and the user inputs the user's first instruction into the electronic device, and the electronic device can obtain the user's first instruction. Specifically, the above-mentioned user's first instruction is used to perform a save as operation on the current presentation obtained after the shielding processing operation.

[0105] S1032, according to the shielding processing result, save the current presentation as a new presentation and retain the current presentation.

[0106] After obtaining the user's first instruction, the electronic device performs a save-as processing operation on the current presentation according to the shielding processing result, wherein the shielding processing result means that after the shielding processing operation is performed on the preset category slides in the current presentation, the preset category slides in the current presentation can be shielded. Specifically, performing a save-as processing operation on the current presentation means saving the current presentation after the shielding processing operation as a new presentation, and retaining the current presentation that has not been subjected to the shielding processing operation, so that the electronic device finally contains a current presentation that has not been subjected to the shielding processing and a current presentation obtained after shielding the preset category slides. Therefore, the user can obtain the current presentation with the preset category slides shielded without affecting the original current presentation, so that the above two presentations can be flexibly used and played.

[0107] like Figure 6 As shown, as an optional implementation of the embodiment of the present invention, the step of generating a new presentation according to the shielding processing result includes:

[0108] S1031', obtain the second instruction of the user.

[0109] In an embodiment of the present invention, after performing a shielding operation on a preset category slide in a current presentation, the preset category slide in the current presentation can be shielded, and the user inputs the user's second instruction into the electronic device, and the electronic device can obtain the user's second instruction. Specifically, the above-mentioned second instruction is used to perform a save operation on the current presentation obtained after the shielding operation.

[0110] S1032', according to the shielding processing result, save the current presentation as a new presentation, and replace the current presentation with the new presentation.

[0111] After obtaining the second instruction from the user, the electronic device performs a save operation on the current presentation according to the result of the shielding operation. Specifically, the save operation on the current presentation means saving the current presentation obtained after the shielding operation as a new presentation, and replacing the current presentation with the new presentation. Then the electronic device finally contains only one current presentation obtained after shielding the preset category slide. Therefore, when the user does not need the current presentation including the preset category slide, and needs to shield the current presentation after shielding the preset category slide, there is no need to perform a delete operation on the current presentation including the preset category slide, and the current presentation including the preset category slide in the electronic device can be cleared, and the presentation after shielding the preset category slide can be obtained, and the presentation after shielding the preset category slide can also be played.

[0112] A presentation processing method provided by an embodiment of the present invention obtains a processing instruction for a current presentation, traverses and determines whether each slide in the current presentation is a preset category slide, and performs shielding processing on the preset category slides in the current presentation. According to the shielding processing result, a presentation shielding the preset category slides can be generated. Since the present invention does not need to manually determine whether each slide is a preset category slide one by one, nor does it need to manually delete the preset category slides, a presentation shielding the preset category slides can be generated, thereby reducing the time for manual judgment and manual deletion. It can be seen that the application of a presentation processing method provided by an embodiment of the present invention can improve the shielding processing efficiency of the preset category slides in the presentation, so that the user can more conveniently obtain the presentation shielding the preset category slides.

[0113] Corresponding to the above method embodiments, the embodiments of the present invention also provide corresponding device embodiments.

[0114] Figure 7 A presentation processing device provided by an embodiment of the present invention, and Figure 1 Corresponding to the process shown, the above device includes:

[0115] The acquisition module 201 is used to acquire a processing instruction for the current presentation, the processing instruction is used to perform a shielding operation on a preset category slide page in the current presentation, the preset category slide page at least includes: a slide page with a hidden attribute, a blank slide page;

[0116] The processing module 202 is used to traverse and determine whether each slide page in the current presentation is a slide page of a preset category, and perform shielding processing on the slide page of the preset category in the current presentation;

[0117] The generating module 203 is used to generate a new presentation according to the shielding processing result, wherein the new presentation is a presentation obtained after shielding the slide pages of the preset category.

[0118] As an optional implementation of the embodiment of the present invention, the acquisition module 201 is specifically used for:

[0119] Obtaining a user's click instruction for a preset option in the operation interface of the current presentation, where the preset option is used to select whether to perform a shielding operation on a preset category slide in the current presentation;

[0120] Alternatively, a tapping instruction of a user on a preset key is obtained, where the preset key is used to perform a shielding operation on a preset category slide in the current presentation.

[0121] As an optional implementation of the embodiment of the present invention, Figure 8 As shown, the processing module 202 includes:

[0122] The first judgment submodule 221 is used to traverse and judge whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large;

[0123] The first shielding submodule 2022 is used to perform shielding processing on the preset category slides in the current presentation.

[0124] As an optional implementation of the embodiment of the present invention, Fig. 9 As shown, the processing module 202 includes:

[0125] The second judgment submodule 2023 is used to traverse and judge whether each slide in the current presentation is a preset category slide in the order of the page number of each slide in the current presentation from small to large;

[0126] The adding mark submodule 2024 is used to add a shielding mark to the preset category slides in the current presentation;

[0127] The second shielding submodule 2025 is used to perform shielding processing on the preset category slides in the current presentation according to the shielding mark.

[0128] As an optional implementation of the embodiment of the present invention, Fig.10 As shown, the processing module 202 includes:

[0129] The reading submodule 2026 is used to read the current presentation document into the memory;

[0130] The third shielding submodule 2027 is used to perform shielding processing on the preset category slides in the current presentation in the memory.

[0131] As an optional implementation of the embodiment of the present invention, Fig.11 As shown, the above generation module 203 includes:

[0132] The first acquisition submodule 2031 is used to acquire a first instruction from a user, where the first instruction is used to perform a save-as operation on the current presentation;

[0133] The save as submodule 2032 is used to save the current presentation as a new presentation according to the shielding processing result, and to retain the current presentation.

[0134] As an optional implementation of the embodiment of the present invention, Fig.12 As shown, the above generation module 203 includes:

[0135] The second acquisition submodule 2033 is used to acquire a second instruction from the user, where the second instruction is used to perform a save operation on the current presentation;

[0136] The saving submodule 2034 is used to save the current presentation as a new presentation according to the shielding processing result, and replace the current presentation with the new presentation.

[0137] As 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.

[0138] A presentation processing device provided by an embodiment of the present invention cooperates with a presentation processing method, obtains a processing instruction for a current presentation, traverses and determines whether each slide in the current presentation is a preset category slide, and performs shielding processing on the preset category slides in the current presentation. According to the shielding processing result, a presentation shielding the preset category slides can be generated. Since the present invention does not need to manually determine whether each slide is a preset category slide one by one, nor does it need to manually delete the preset category slides, it can generate a presentation shielding the preset category slides, thereby reducing the time for manual judgment and manual deletion. It can be seen that the application of a presentation processing method provided by an embodiment of the present invention can improve the shielding processing efficiency of the preset category slides in the presentation, so that the user can more conveniently obtain the presentation shielding the preset category slides.

[0139] The embodiment of the present invention further provides an electronic device, such as Fig.13 As shown, it includes a processor 301, a communication interface 302, a memory 303 and a communication bus 304, wherein the processor 301, the communication interface 302, and the memory 303 communicate with each other through the communication bus 304.

[0140] Memory 303, used for storing computer programs;

[0141] The processor 301 is used to execute the program stored in the memory 303 to implement the following steps:

[0142] Obtaining a processing instruction for the current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category of slides in the current presentation, and the preset category of slides at least includes: slides with a hidden attribute and blank slides;

[0143] Traverse and determine whether each slide in the current presentation is a preset category slide, and perform shielding processing on the preset category slide in the current presentation;

[0144] A new presentation is generated according to the shielding processing result, and the new presentation is the presentation obtained after shielding the preset category slides.

[0145] An electronic device provided by an embodiment of the present invention cooperates with a presentation processing method, obtains a processing instruction for a current presentation, traverses and determines whether each slide in the current presentation is a preset category slide, and performs shielding processing on the preset category slides in the current presentation. According to the shielding processing result, a presentation shielding the preset category slides can be generated. Since the present invention does not need to manually determine whether each slide is a preset category slide one by one, nor does it need to manually delete the preset category slides, a presentation shielding the preset category slides can be generated, thereby reducing the time for manual judgment and manual deletion. It can be seen that the application of a presentation processing method provided by an embodiment of the present invention can improve the shielding processing efficiency of the preset category slides in the presentation, so that the user can more conveniently obtain the presentation shielding the preset category slides.

[0146] The communication bus mentioned in the above electronic device can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The communication bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, only one thick line is used in the figure, but it does not mean that there is only one bus or one type of bus.

[0147] The communication interface is used for communication between the above electronic device and other devices.

[0148] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the aforementioned processor.

[0149] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0150] The embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, for executing the following steps:

[0151] Obtaining a processing instruction for the current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category of slides in the current presentation, and the preset category of slides at least includes: slides with a hidden attribute and blank slides;

[0152] Traverse and determine whether each slide in the current presentation is a preset category slide, and perform shielding processing on the preset category slide in the current presentation;

[0153] A new presentation is generated according to the shielding processing result, and the new presentation is the presentation obtained after shielding the preset category slides.

[0154] A computer-readable storage medium provided by an embodiment of the present invention stores a computer program, and cooperates with a presentation processing method to obtain a processing instruction for a current presentation, traverse and determine whether each slide in the current presentation is a preset category slide, and perform shielding processing on the preset category slides in the current presentation. According to the shielding processing result, a presentation shielding the preset category slides can be generated. Since the present invention does not need to manually determine whether each slide is a preset category slide one by one, and does not need to manually delete the preset category slides, it can generate a presentation shielding the preset category slides, thereby reducing the time for manual judgment and manual deletion. It can be seen that the application of a presentation processing method provided by an embodiment of the present invention can improve the shielding processing efficiency of the preset category slides in the presentation, so that users can more conveniently obtain the presentation shielding the preset category slides.

[0155] As for the device / electronic device / storage medium 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.

[0156] It should be noted that the device, electronic device and storage medium of the embodiments of the present invention are respectively the device, electronic device and storage medium to which the above-mentioned presentation processing method is applied, and all embodiments of the above-mentioned presentation processing method are applicable to the device, electronic device and storage medium, and can achieve the same or similar beneficial effects.

[0157] 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.

[0158] Each embodiment in this specification is described in a related manner, and the same or 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 system 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.

[0159] The above are only preferred embodiments of the present invention and are not intended to limit the protection scope of the present invention. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention are included in the protection scope of the present invention.

Claims

1. A presentation processing method, characterized in that: The method comprises: Acquire a processing instruction for a current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category slide in the current presentation, wherein the preset category slide includes at least one of the following: a slide with a hidden attribute, a blank slide; The method comprises: traversing and judging whether each slide in the current presentation is a slide of the preset category, and performing a shielding process on the slide of the preset category in the current presentation, comprising: traversing and judging whether each slide in the current presentation is a slide of the preset category; if the slide is a slide of the preset category, adding a shielding mark to the slide of the preset category in the current presentation; if the slide is not a slide of the preset category, not adding a shielding mark to the slide in the current presentation; performing a shielding process on the slide of the preset category in the current presentation according to the shielding mark, wherein all the slides of the preset category in the current presentation are identified by the electronic device through the shielding mark; Generate a new presentation according to the shielding processing result, wherein the new presentation is a presentation obtained after shielding the preset category slides; The step of performing shielding processing on the preset category slides in the current presentation includes: Reading the current presentation into memory; Shielding is performed on the preset category slides in the current presentation in the memory so that the preset category slides in the current presentation in the disk do not undergo shielding processing, and the preset category slides in the current presentation in the memory after the shielding processing are shielded.

2. The method according to claim 1, characterized in that The step of obtaining the processing instruction for the current presentation includes: Obtaining a user's click instruction for a preset option in the operation interface of the current presentation, wherein the preset option is used to select whether to perform a shielding operation on a preset category slide in the current presentation; Alternatively, a tapping instruction of a user on a preset button is obtained, where the preset button is used to perform a shielding operation on a preset category slide in the current presentation.

3. The method according to claim 1, characterized in that The step of traversing and determining whether each slide in the current presentation is a slide of the preset category, and performing shielding processing on the slide of the preset category in the current presentation includes: According to the order of the page numbers of the slides in the current presentation from small to large, traverse and determine whether the slides in the current presentation are slides of the preset category; If the slide is a slide of the preset category, shielding processing is performed on the slide of the preset category in the current presentation.

4. The method according to any one of claims 1 to 3, characterized in that: The step of generating a new presentation according to the shielding processing result includes: Acquire a first instruction from a user, where the first instruction is used to perform a save-as operation on the current presentation; According to the shielding processing result, the current presentation is saved as a new presentation, and the current presentation is retained.

5. The method according to any one of claims 1 to 3, characterized in that: The step of generating a new presentation according to the shielding processing result includes: Acquire a second instruction from the user, where the second instruction is used to perform a save operation on the current presentation; According to the shielding processing result, the current presentation is saved as a new presentation, and the current presentation is replaced by the new presentation.

6. A presentation document processing device, characterized in that: The device comprises: An acquisition module is used to acquire a processing instruction for a current presentation, wherein the processing instruction is used to perform a shielding operation on a preset category slide page in the current presentation, wherein the preset category slide page includes at least one of the following: a slide page with a hidden attribute, a blank slide page; A processing module, used for traversing and determining whether each slide page in the current presentation is a slide page of the preset category, and performing shielding processing on the slide page of the preset category in the current presentation; A generating module, used for generating a new presentation according to the shielding processing result, wherein the new presentation is a presentation obtained after shielding the slide page of the preset category; Wherein, the processing module includes: A second judgment submodule is used to traverse and judge whether each slide in the current presentation is a slide of the preset category; A mark adding submodule is used to add a shielding mark to the preset category slide in the current presentation when the slide is a preset category slide; and not add a shielding mark to the slide in the current presentation when the slide is not a preset category slide; A second shielding submodule is used to perform shielding processing on the preset category slides in the current presentation according to the shielding mark, wherein all the preset category slides in the current presentation are identified by the electronic device through the shielding mark; A reading submodule, used for reading the current presentation document into a memory; The third shielding submodule is used to perform shielding processing on the preset category slides in the current presentation in the memory, so that the preset category slides in the current presentation in the disk do not undergo the shielding processing operation, and the preset category slides in the current presentation in the memory after the shielding processing operation are shielded.

7. The device according to claim 6, characterized in that The acquisition module is specifically used for: Obtaining a user's click instruction for a preset option in the operation interface of the current presentation, wherein the preset option is used to select whether to perform a shielding operation on a preset category slide in the current presentation; Alternatively, a tapping instruction of a user on a preset button is obtained, where the preset button is used to perform a shielding operation on a preset category slide in the current presentation.

8. The device according to claim 6, characterized in that The processing module comprises: A first judgment submodule is used to traverse and judge whether each slide in the current presentation is a slide of the preset category according to the page number of each slide in the current presentation from small to large; The first shielding submodule is used to perform shielding processing on the preset category slides in the current presentation.

9. The device according to any one of claims 6 to 8, characterized in that: The generation module comprises: A first acquisition submodule, used for acquiring a first instruction from a user, where the first instruction is used for performing a save-as operation on the current presentation; The Save As submodule is used to save the current presentation as a new presentation according to the shielding processing result and retain the current presentation.

10. The device according to any one of claims 6 to 8, characterized in that: The generation module comprises: A second acquisition submodule, used for acquiring a second instruction from the user, where the second instruction is used for performing a save operation on the current presentation; The saving submodule is used to save the current presentation as a new presentation according to the shielding processing result, and replace the current presentation with the new presentation.

11. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; A processor, for implementing the method steps described in any one of claims 1 to 5 when executing a program stored in a memory.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method steps described in any one of claims 1 to 5 are implemented.