File display method, electronic equipment and computer readable storage medium
By intercepting the screen of the current file and displaying it based on the operation record after the target file is opened, the problem of poor fluency during the switching process during file display is solved, and a more coherent file display effect is achieved.
Patent Information
- Application Number
- CN202310838255.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-07
- Publication Date
- 2025-01-14
AI Technical Summary
When switching files during file display, prior art is prone to processes such as closing applications, returning to the desktop, and opening applications, resulting in poor fluency in file display.
By intercepting the current screen of the current file and continuously displaying it, and opening the target file indicated by the switch file instruction, after the target file is opened, the current screen of the target file is displayed based on the pre-stored operation record to avoid displaying the switching process.
It improves the coherence and fluency of file display, avoids the process screen when switching files, and enhances the user experience.
Smart Images

Figure CN119311645A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of control technology, and in particular to a file display method, an electronic device, and a computer-readable storage medium. Background Art
[0002] In the prior art, when displaying the contents of a file, for example, during a meeting, because the contents to be displayed at the meeting are usually placed in multiple files, more than two files are usually used for screen display.
[0003] The defect of the prior art is that when the displayed files are switched, screen displays of closing the application, returning to the desktop, opening the application, etc. usually appear, which will affect the effect of file display, that is, the fluency of file display is poor. Summary of the invention
[0004] The main technical problem solved by this application is how to improve the fluency of document display.
[0005] In order to solve the above technical problems, the first technical solution adopted in the present application is: a file display method, comprising: in response to a file switching instruction, capturing the current screen of the current file and continuously displaying the current screen, and opening the target file indicated by the file switching instruction; in response to the target file opening being completed, stopping displaying the current screen of the current file, and displaying the current screen of the target file based on a pre-stored operation record.
[0006] Among them, in response to the file switching instruction, the current screen of the current file is captured and the current screen is continuously displayed, and the target file indicated by the file switching instruction is opened, including: in response to the file switching instruction, if the target file indicated by the file path based on the file switching instruction exists, the current screen is obtained and the current screen is continuously displayed, and the target file is opened; in response to the file switching instruction, if the target file indicated by the file path based on the file switching instruction does not exist, a prompt message for instructing the user to upload the target file is output.
[0007] Among them, in response to a file switching instruction, and based on the existence of a target file indicated by a file path based on the switching file instruction, the current screen is obtained and the current screen is continuously displayed, and the target file is opened, including: in response to a file switching instruction, and based on the existence of a target file indicated by a file path based on the switching file instruction, and the hash value of the target file is the same as the pre-stored hash value of the switching file instruction, the current screen is obtained and the current screen is continuously displayed, and the target file is opened.
[0008] Among them, the target file is a presentation file, and the presentation file has a projection mode; in response to the target file being opened, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record, including: in response to the target file being opened and the target file has entered the projection mode, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the operation record.
[0009] Among them, the target file is a browser file, and the operation record includes page jump information; in response to the target file being opened, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record, including: in response to the target file being opened and the initial page loading of the target file is completed, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record; the page jump information is used to record each page jump moment, and the page to be jumped at the page jump moment is preloaded before the preset duration of the page jump moment.
[0010] Among them, the target file is a multimedia file, and the multimedia file has a playback mode; in response to the target file being opened, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record, including: in response to the target file being opened and the target file has entered the playback mode, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the operation record.
[0011] The file display method further includes: in response to the operation recording instruction, opening the target file and acquiring the operation information input by the user for the target file to obtain the operation record.
[0012] Among them, obtaining the operation information input by the user for the target file to obtain the operation record includes: in response to the target file being a presentation file, obtaining the mouse operation information input by the user when the target file is in the projection mode to obtain the operation record; and / or, in response to the target file being a browser file, obtaining the mouse operation information and page jump information of the user in the browser displayed by the target file to obtain the operation record; and / or, in response to the target file being a multimedia file, obtaining the playback timestamp information of the target file to obtain the operation record.
[0013] In order to solve the above technical problems, the second technical solution adopted in the present application is: an electronic device, comprising: a memory and a processor; the memory is used to store program instructions, and the processor is used to execute the program instructions to implement the above method.
[0014] In order to solve the above technical problems, the third technical solution adopted in the present application is: a computer-readable storage medium, which stores program instructions, and the above method is implemented when the program instructions are executed by a processor.
[0015] The beneficial effect of the present application lies in that, different from the prior art, in the technical solution of the present application, when a file switching instruction is received, the current screen of the current file being run before the switching is captured, and the current screen of the current file is continuously displayed, and the target file to be switched indicated by the file switching instruction is opened, and after the target file is opened, the continuous display of the current screen of the current file is stopped, and the current screen of the target file is displayed based on the pre-stored operation record. Based on the above method, the current screen of the current file can be continuously displayed before the target file is opened, and the current screen of the target file can be displayed after the target file is opened, thereby avoiding the display of the process screen when switching files, improving the user's coherence when displaying more than two files, thereby improving the fluency of file display. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. 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 creative work.
[0017] Figure 1 It is a flowchart of an embodiment of the method for displaying application documents;
[0018] Figure 2 It is a schematic diagram of the structure of an embodiment of the electronic device of the present application;
[0019] Figure 3 It is a structural schematic diagram of an embodiment of the computer-readable storage medium of the present application;
[0020] Figure 4 This is one of the scene schematic diagrams of an embodiment of the method for displaying application documents;
[0021] Figure 5 This is the second scene diagram of an embodiment of the method for displaying documents of this application. DETAILED DESCRIPTION
[0022] The present application is further described in detail below in conjunction with the accompanying drawings and examples. It is particularly noted that the following examples are only used to illustrate the present application, but are not intended to limit the scope of the present application. Similarly, the following examples are only some embodiments of the present application rather than all embodiments, and all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present application.
[0023] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0024] The document display method mentioned in the present application may be a document display method used in a meeting. For example, during a meeting, presentations are usually made using multiple types of documents such as presentation documents, videos, and pictures. The document display method mentioned in the present application may also be applied to other application fields that require document display, which is not limited here.
[0025] This application first proposes a file display method, see Figure 1 , Figure 1 It is a flow chart of an embodiment of the method for displaying application documents. Figure 1 As shown, the file display method includes:
[0026] Step S11: In response to the file switching instruction, the current screen of the current file is captured and the current screen is continuously displayed, and the target file indicated by the file switching instruction is opened.
[0027] When the user needs to switch from the current file to the target file for display, the file switching instruction may be generated.
[0028] After receiving the file switching instruction, the current screen of the current file being displayed can be captured and the current screen can be continuously displayed. At the same time, after receiving the file switching instruction, the target file indicated by the file switching instruction can also be opened in the background.
[0029] Step S12: In response to the target file being opened, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record.
[0030] After the target file is opened, the continuous display of the current screen of the current file can be stopped, and the current screen of the target file can be displayed, and based on the information in the pre-stored operation record, the opened target file can be operated accordingly to realize the automatic playback of the switched target file. The operation record can specifically include at least one of mouse operation information, page jump information, playback timestamp information and other operation information, which is not limited here.
[0031] In addition, the current file before switching can also be automatically played based on the pre-stored operation record, and the generation of the switching file instruction can also be automatically generated based on the pre-stored operation record, which is not limited here. Based on the pre-stored operation record, the current file, the switching between files and the playback of the target file can be automatically performed, avoiding the situation where the user needs to manually operate the display of the file and move back and forth between the display screen and the input device, thereby improving the efficiency and convenience of file display.
[0032] Based on the above method, after the current file display is completed, before switching to the current screen of the target file, the captured current screen of the current file is continuously displayed until the target file is opened and its current screen can be displayed, thereby achieving seamless connection between the screens of the current file and the target file, avoiding the appearance of screens irrelevant to file display, such as closing the current file, returning to the desktop, and loading the target file in the display interface, thereby improving the coherence of the display process between different files and thereby improving the fluency of file display.
[0033] It should be noted that the current file and the target file may be files of the same category opened by the same application, or files of different categories that need to be opened by different applications, which is not limited here.
[0034] In one embodiment, see Figure 4 and Figure 5 , Figure 4 This is one of the scene diagrams of an embodiment of the method for displaying application documents. Figure 5 This is the second scene diagram of an embodiment of the method for displaying documents of this application.
[0035] like Figure 4 and Figure 5 As shown, a user can open a screen transmission software on a computer for displaying the screen of one device (such as a computer) on the screen of another device (such as a TV).
[0036] Multiple scenes can be stored in the screen transmission software, such as scenes 1 / 2 / 3. Each scene can store corresponding pre-stored operation records. After the user selects the corresponding scene, the current screen of the target file can be displayed based on the corresponding pre-stored operation records. The target files can be one, two, or more, and there is no limitation here.
[0037] like Figure 4 As shown, the user can click "+ Add Scene" to enter the operation record interface for creating a new scene (such as scene 4) and start recording operations.
[0038] The user can click on the application corresponding to each target file in the "Switch Application" list to click, scroll and perform other operations in each application, and the screen transmission software will record these operations.
[0039] The user clicks "Finish" to complete the storage of the operation record, complete the record, and obtain scene 4 and its pre-stored operation record for subsequent use, such as the use in step S12.
[0040] like Figure 5 As shown, the user can click the "Play" button of "Scene 4" to enter the playback interface of Scene 4. Assuming that the target files involved in Scene 4 include PPT application files and picture application files, when displaying the current screen of the target files involved in Scene 4 based on the pre-stored operation records of Scene 4, the operations recorded by the PPT application can be reproduced according to the pre-stored operation records, and then at the corresponding recording moment of switching applications in the record, the operations recorded by the picture application can be switched to be reproduced, thereby realizing the display of the target files.
[0041] It should be noted that the above is only an example of the technical solution of the present application. The practical application of the technical solution of the present application may also be in other ways, which are not limited here.
[0042] Different from the prior art, in the technical solution of the present application, when a file switching instruction is received, the current screen of the current file being run before the switching is captured, and the current screen of the current file is continuously displayed, and the target file to be switched indicated by the file switching instruction is opened. After the target file is opened, the continuous display of the current screen of the current file is stopped, and the current screen of the target file is displayed based on the pre-stored operation record. Based on the above method, the current screen of the current file can be continuously displayed before the target file is opened, and the current screen of the target file can be displayed after the target file is opened, thereby avoiding the display of the process screen when switching files, improving the user's coherence when displaying more than two files, and thus improving the fluency of file display.
[0043] In one embodiment, step S11 may specifically include:
[0044] In response to the file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, the current screen is acquired and continuously displayed, and the target file is opened.
[0045] In response to the file switching instruction, if the target file indicated by the file path based on the file switching instruction does not exist, prompt information for instructing the user to upload the target file is output.
[0046] Specifically, the file switching instruction may include the file path of a pre-stored target file. After receiving the file switching instruction, it can be checked whether the target file exists in the file path. If not, a corresponding prompt message can be output for the user to know, so as to prompt the user to upload the target file at the location indicated by the file path. If it exists, the current screen can be obtained and continuously displayed, and the target file can be opened.
[0047] Based on the above method, it is possible to promptly detect whether the required file exists at the pre-stored file path, and promptly notify the user when the target file does not exist, waiting for the user to upload the target file, thereby reducing the possibility of the file display process being suspended for too long due to the non-existence of the target file at the file path, thereby improving the timeliness of file display.
[0048] Optionally, in response to the file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, the current screen is acquired and continuously displayed, and the target file is opened, which may specifically include:
[0049] In response to the file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, and the hash value of the target file is the same as the pre-stored hash value of the file switching instruction, the current screen is acquired and continuously displayed, and the target file is opened.
[0050] Specifically, when the target file exists at the file path, the hash value of the target file can be checked and judged to determine whether it is consistent with the pre-stored hash value. If they are consistent, it can be determined that the current target file at the file path is the expected target file and has not changed. The corresponding display can be performed based on the target file. If they are inconsistent, it can be determined that the target file has changed and needs to be replaced with the expected target file in time, and the corresponding display cannot continue to be based on the target file, so as to avoid displaying content that does not match expectations and affecting the overall effect of file display.
[0051] In summary, based on the above method, the reliability of the file display method can be improved.
[0052] In one embodiment, the target file is a presentation file, and the presentation file has a projection mode.
[0053] Step S12 may specifically include:
[0054] In response to the target file being opened and entering the projection mode, the current picture of the current file is stopped from being displayed, and the current picture of the target file is displayed based on the operation record.
[0055] Specifically, when the target file is a presentation file, such as a PPT (PowerPoint) file, the target file has a corresponding projection mode, in which each page of the target file can be displayed in full screen. In addition, the projection mode can also be called a slide show mode or a slide show mode.
[0056] After the target file is opened and the corresponding projection mode is entered, that is, after ensuring that the content displayed on the current screen of the target file is the content in the projection mode, the current screen of the current file can be stopped from being displayed, and the current screen of the target file in the projection mode can be displayed based on the operation record.
[0057] Based on the above method, after switching the displayed screen, the user can directly display the current screen of the target file in the projection mode, avoiding displaying the screen of the process of clicking the projection mode button to enter the projection mode, further improving the continuity of the file display process, thereby improving the smoothness of the file display.
[0058] In one embodiment, the target file is a browser file, and the operation record includes page jump information.
[0059] Step S12 may specifically include:
[0060] In response to the target file being opened and the initial page of the target file being loaded, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record.
[0061] The page jump information is used to record each page jump time, and to preload the page to be jumped at the page jump time before the preset time of the page jump time.
[0062] Specifically, when the target file is a browser file, a corresponding page is usually opened based on the browser file to display a corresponding content screen.
[0063] The pre-stored operation records may include page jump information. The page jump information may refer to the time information and the jump page information when the browser file opens pages other than the initial page. Based on the page jump information, the moment when the browser file jumps from one page to another can be determined. Therefore, before the preset time of each page jump, the page that will be jumped after the preset time can be preloaded, so that when the moment of each page jump is reached, it can be switched to the corresponding page that has been loaded or is about to be loaded, thereby reducing the time that the user views the page loading screen.
[0064] The preset duration may be 30 seconds, 60 seconds, 90 seconds or other durations, which are not limited here.
[0065] Based on the above method, the time users spend watching the page loading screen can be reduced, the user experience can be improved, and the smoothness of file display can be increased.
[0066] In one embodiment, the target file is a multimedia file, and the multimedia file has a play mode.
[0067] Step S12 may specifically include:
[0068] In response to the target file being opened and entering the play mode, the display of the current picture of the current file stops, and the current picture of the target file is displayed based on the operation record.
[0069] Specifically, the multimedia file may be any one of a video file, a picture file, an audio file and other types of multimedia files.
[0070] After the target file is opened and the corresponding playback mode is entered, that is, after ensuring that the content displayed on the current screen of the target file is the content in the playback mode, the current screen of the current file can be stopped from being displayed, and the current screen of the target file in the playback mode can be displayed based on the operation record.
[0071] In addition, based on the operation records, the corresponding previous / next playback selection can be automatically made for multiple video files, and / or picture files, and / or audio files in the multimedia files, and the corresponding playback time or playback period can be set for different files, which is not limited here.
[0072] Based on the above method, after switching the displayed screen, the user can directly display the current screen of the target file in the playback mode, avoiding displaying the screen of the process of clicking the play button, section selection button or other buttons to enter the playback mode, further improving the continuity of the file display process, thereby improving the smoothness of the file display.
[0073] In one embodiment, the file display method further includes:
[0074] In response to the operation recording instruction, the target file is opened, and the operation information input by the user for the target file is obtained to obtain the operation record.
[0075] Specifically, before steps S11 - S12 , corresponding operation information may be acquired in advance to obtain the required operation records.
[0076] For example, an operation record recording interface may be displayed, and the user may create any number of scenes on the operation record recording interface, where one scene is used to describe the user's operation record when displaying one or more files.
[0077] The user can click to add a scene on the operation record recording interface, and select the applications and files to be opened in the corresponding application list and display them in full screen. At this time, the software on the operation record recording interface can obtain the corresponding operation information through the current input information.
[0078] After all operations related to file display are completed, the user can click Finish to save all operation information in the scenario and obtain the corresponding operation records.
[0079] The operation record may include mouse coordinates and mouse operation events, and record a time point corresponding to each mouse coordinate and a time point of each mouse operation event, thereby forming a corresponding operation record.
[0080] The mouse coordinates may be coordinates based on the pixels of the corresponding screen, such as the maximum coordinates of a 1080P screen are [1080, 1080].
[0081] Mouse operation events may include left / right button click events and wheel scroll events.
[0082] The operation record may also include operation records of other types of input devices except the mouse, such as keyboard input events of a keyboard and touch input events of a touch screen, which are not limited here.
[0083] Before executing step S12, the user needs to prepare the required files and the applications required to open the files in the corresponding device, and record the corresponding recorded scenes on the recording interface by clicking to display the files. The specific display screen may be as follows:
[0084] After clicking the scene, the software corresponding to the operation record recording interface will be minimized and a corresponding virtual mouse will be generated. The virtual mouse will be controlled based on the operation record to perform corresponding click and / or scroll operations at each corresponding time point. The corresponding application switching and / or file switching operations can also be performed based on the operation record. For example, click the left mouse button at the 3rd second and switch the application at the 15th second.
[0085] Subsequently, in step S12, based on the operation record, after the corresponding target file is opened, the screen displayed of the target file under the operation corresponding to the operation record can be reproduced to realize automatic display of the file, avoiding the situation where the user needs to manually operate the display of the file and move back and forth between the display screen and the input device, thereby improving the efficiency and convenience of file display.
[0086] Optionally, obtaining operation information input by the user for the target file to obtain an operation record may specifically include:
[0087] In response to the target file being a presentation file, the mouse operation information input by the user when the target file is in the projection mode is acquired to obtain the operation record.
[0088] And / or, in response to the target file being a browser file, obtaining the user's mouse operation information and page jump information in the browser displayed by the target file to obtain an operation record.
[0089] And / or, in response to the target file being a multimedia file, obtaining the playback timestamp information of the target file to obtain the operation record.
[0090] Specifically, when the target files are presentation files, browser files, and multimedia files, respectively, the corresponding types of operation record information can be obtained respectively, so as to obtain operation records suitable for each type of file. When displaying each type of file, the corresponding operation records can be used to more smoothly complete the display of the corresponding content, thereby improving the fluency of file display.
[0091] This application also proposes an electronic device, see Figure 2 , Figure 2 is a schematic diagram of the structure of an embodiment of the electronic device of the present application, such as Figure 2 As shown, the electronic device 20 includes a processor 21 , a memory 22 and a bus 23 .
[0092] The processor 21 and the memory 22 are connected to the bus 23 respectively. The memory 22 stores program instructions. The processor 21 is used to execute the program instructions to implement the file display method in the above embodiment.
[0093] In this embodiment, the processor 21 may also be referred to as a CPU (Central Processing Unit). The processor 21 may be an integrated circuit chip having signal processing capabilities. The processor 21 may also be a general-purpose processor, 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. A general-purpose processor may be a microprocessor or the processor 21 may also be any conventional processor, etc.
[0094] Different from the prior art, in the technical solution of the present application, when a file switching instruction is received, the current screen of the current file being run before the switching is captured, and the current screen of the current file is continuously displayed, and the target file to be switched indicated by the file switching instruction is opened. After the target file is opened, the continuous display of the current screen of the current file is stopped, and the current screen of the target file is displayed based on the pre-stored operation record. Based on the above method, the current screen of the current file can be continuously displayed before the target file is opened, and the current screen of the target file can be displayed after the target file is opened, thereby avoiding the display of the process screen when switching files, improving the user's coherence when displaying more than two files, and thus improving the fluency of file display.
[0095] This application also proposes a computer-readable storage medium, see Figure 3 , Figure 3 is a schematic diagram of the structure of an embodiment of the computer-readable storage medium of the present application. Figure 3 As shown, the computer-readable storage medium 30 stores program instructions 31 thereon, and when the program instructions 31 are executed by a processor (not shown), the file display method in the above embodiment is implemented.
[0096] The computer-readable storage medium 30 of this embodiment can be, but is not limited to, a USB flash drive, an SD card, a PD optical drive, a mobile hard disk, a large-capacity floppy drive, a flash memory, a multimedia memory card, a server, a storage unit in an FPGA or an ASIC, etc.
[0097] Different from the prior art, in the technical solution of the present application, when a file switching instruction is received, the current screen of the current file being run before the switching is captured, and the current screen of the current file is continuously displayed, and the target file to be switched indicated by the file switching instruction is opened. After the target file is opened, the continuous display of the current screen of the current file is stopped, and the current screen of the target file is displayed based on the pre-stored operation record. Based on the above method, the current screen of the current file can be continuously displayed before the target file is opened, and the current screen of the target file can be displayed after the target file is opened, thereby avoiding the display of the process screen when switching files, improving the user's coherence when displaying more than two files, and thus improving the fluency of file display.
[0098] In the description of the present application, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradicting each other.
[0099] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, segment or portion of code that includes one or more executable instructions for implementing the steps of a specific logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.
[0100] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing the logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (which can be a personal computer, server, network device or other system that can fetch instructions from the instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.
[0101] The above description is only an implementation method of the present application, and does not limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly used in other related technical fields, are also included in the patent protection scope of the present application.
Claims
1. A file display method, characterized in that: include: In response to the file switching instruction, the current screen of the current file is captured and the current screen is continuously displayed, and the target file indicated by the file switching instruction is opened; In response to the target file being opened completely, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record.
2. The document display method according to claim 1, characterized in that: In response to the file switching instruction, capturing the current screen of the current file and continuously displaying the current screen, and opening the target file indicated by the file switching instruction, including: In response to a file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, the current screen is acquired and continuously displayed, and the target file is opened; In response to a file switching instruction, if the target file indicated by the file path based on the file switching instruction does not exist, prompt information for instructing a user to upload the target file is output.
3. The document display method according to claim 2, characterized in that: In response to the file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, acquiring the current screen and continuously displaying the current screen, and opening the target file, comprises: In response to a file switching instruction, and based on the existence of the target file indicated by the file path of the file switching instruction, and the hash value of the target file is the same as the pre-stored hash value of the file switching instruction, the current screen is acquired and continuously displayed, and the target file is opened.
4. The document display method according to claim 1, characterized in that: The target file is a presentation file, and the presentation file has a projection mode; In response to the target file being opened completely, stopping displaying the current screen of the current file, and displaying the current screen of the target file based on the pre-stored operation record, comprises: In response to the target file being opened completely and the target file having entered the projection mode, the current picture of the current file is stopped from being displayed, and the current picture of the target file is displayed based on the operation record.
5. The document display method according to claim 1, characterized in that: The target file is a browser file, and the operation record includes page jump information; In response to the target file being opened completely, stopping displaying the current screen of the current file, and displaying the current screen of the target file based on the pre-stored operation record, comprises: In response to the target file being opened and the initial page of the target file being loaded, the current screen of the current file is stopped from being displayed, and the current screen of the target file is displayed based on the pre-stored operation record; The page jump information is used to record each page jump moment, and the page to be jumped at the page jump moment is preloaded before a preset time of the page jump moment.
6. The document display method according to claim 1, characterized in that: The target file is a multimedia file, and the multimedia file has a play mode; In response to the target file being opened completely, stopping displaying the current screen of the current file, and displaying the current screen of the target file based on the pre-stored operation record, comprises: In response to the target file being opened and the target file having entered a play mode, displaying the current picture of the current file stops, and displaying the current picture of the target file based on the operation record.
7. The document display method according to any one of claims 1 to 6, characterized in that: The file display method further includes: In response to the operation recording instruction, the target file is opened, and the operation information input by the user for the target file is obtained to obtain the operation record.
8. The document display method according to claim 7, characterized in that: The obtaining of the operation information input by the user for the target file to obtain the operation record includes: In response to the target file being a presentation file, acquiring mouse operation information input by the user when the target file is in a projection mode to obtain the operation record; and / or, in response to the target file being a browser file, obtaining the user's mouse operation information and page jump information in the browser displayed by the target file to obtain the operation record; And / or, in response to the target file being a multimedia file, obtaining the playback timestamp information of the target file to obtain the operation record.
9. An electronic device, characterized in that: include: Memory and processor; The memory is used to store program instructions, and the processor is used to execute the program instructions to implement the method according to any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program instructions, and when the program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.