Document demonstration method and device, electronic equipment, storage medium and program product

The audio and video file playback status synchronization in remote demonstration scenarios is achieved through the browser, which solves the problem of insufficient convenience in the existing technology and improves the convenience of remote demonstration.

CN120045150APending Publication Date: 2025-05-27TENCENT TECH WUHAN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311592381.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-24
Publication Date
2025-05-27

AI Technical Summary

Technical Problem

The prior art cannot realize the synchronization of playback status of audio and video files in remote demonstration scenarios, and the presenter and audience need to download online document clients, resulting in insufficient convenience.

Method used

The playback status of media files between the presenter and the audience is synchronized through the browser, without downloading the remote presentation client. The presenter uses access to the application web page link of the document demonstration application, generates and displays the access information of the remote demonstration room, and sends the access information to the audience, so that it can access the remote demonstration room based on the access information, and realizes the playback status synchronization of media files.

Benefits of technology

Improves the convenience of remote presentations, allowing presenters and viewers to synchronize the playback status of media files in remote presentations without downloading the client.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120045150A_ABST
    Figure CN120045150A_ABST
Patent Text Reader

Abstract

The invention provides a document demonstration method and device, electronic equipment, a computer readable storage medium and a computer program product. The method is applied to a first terminal and comprises the steps of displaying a document demonstration interface of a document demonstration application in response to an access operation for an application webpage link of the document demonstration application; displaying a target document associated with the media file in the document demonstration interface; in response to a remote demonstration operation for the target document, generating and displaying access information of a remote demonstration room corresponding to the target document; and sending the access information to a second terminal corresponding to the target audience, so that after the second terminal accesses the remote demonstration room based on the access information, when the first terminal controls the playing state of the media file based on the media control mechanism, the playing state of the media file is synchronized. According to the method and the device, the playing states of the media files between the demonstrator and the audience can be synchronized through the browser, and the convenience of remote demonstration is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to mobile Internet technologies, and in particular, to a method, apparatus, electronic device, storage medium, and program product for document presentation. Background Art

[0002] With the development of mobile Internet technologies, presenters can use remote presentation technologies to share presentation content with audiences at different locations. This convenience has made remote presentation applications increasingly popular among users. In practical applications, when the document to be presented includes audio and video files, existing web-based online documents cannot synchronize the playback status of audio and video in a remote presentation scenario.

[0003] To this end, related technologies use an online document client to synchronize the playback status of audio and video in a remote presentation scenario. For example, the presenter or the audience first downloads and installs the online document client (i.e., application software) on a local terminal, and then the presenter creates or imports the document to be presented through the client installed on the terminal, and shares the presentation screen of the document to be presented with the audience side by sharing the screen, so as to realize the synchronization of the presentation screen between the presentation side and the audience side. However, in this method, it is necessary to download and install the corresponding client on both the presenter's terminal and the audience's terminal, resulting in inconvenient remote presentation or viewing of documents. Summary of the Invention

[0004] Embodiments of this application provide a method, apparatus, electronic device, computer-readable storage medium, and computer program product for document presentation, which can synchronize the playback status of media files between the presenter and the audience through a browser without downloading a remote presentation client, improving the convenience of remote presentation.

[0005] The technical solution of the embodiments of this application is implemented as follows:

[0006] Embodiments of this application provide a method for document presentation, which is applied to a first terminal and includes:

[0007] In response to an access operation for an application web page link of a document presentation application, display a document presentation interface of the document presentation application;

[0008] Display a target document associated with a media file in the document presentation interface, where the media file is preset with a media control mechanism for controlling the playback status of the media file;

[0009] In response to a remote presentation operation for the target document, generate and display access information for a remote presentation room corresponding to the target document;

[0010] Send the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote presentation room based on the access information, when the first terminal controls the playback state of the media file based on the media control mechanism, the playback state of the media file is synchronized.

[0011] An embodiment of the present application provides a document presentation device, which is applied to a first terminal and includes:

[0012] A first display module, configured to display a document presentation interface of the document presentation application in response to an access operation on an application web page link of the document presentation application;

[0013] A second display module, configured to display a target document associated with a media file in the document presentation interface, where a media control mechanism for controlling the playback state of the media file is preset in the media file;

[0014] A third display module, configured to generate and display access information for a remote presentation room corresponding to the target document in response to a remote presentation operation on the target document;

[0015] An information sending module, configured to send the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote presentation room based on the access information, when the first terminal controls the playback state of the media file based on the media control mechanism, the playback state of the media file is synchronized.

[0016] In the above solution, the second display module is further configured to display a document import control in the document presentation interface; and display the imported target document associated with the media file in response to a document import operation triggered based on the document import control.

[0017] In the above solution, the third display module is further configured to obtain a room identifier of the remote presentation room, and generate a room web page link corresponding to the remote presentation room based on the room identifier and the application web page link; display the room web page link as the access information, or display a graphic code obtained by encoding the room web page link as the access information.

[0018] In the above solution, the information sending module is configured to send the access information to a second terminal corresponding to a target audience in a target manner; where the target manner includes at least one of the following: instant messaging manner, email manner, short message manner, telephone notification manner.

[0019] In the above solution, after sending the access information to the second terminal corresponding to the target audience, the device further includes: a presentation processing module, configured to display the presentation content of the target document in the room interface of the remote presentation room; during the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the media file, display the playback interface of the media file in the room interface; and in response to a status control instruction triggered based on the media control mechanism, control the playback status of the media file in the playback interface.

[0020] In the above solution, before displaying the playback interface of the media file in the room interface, the device further includes: a presentation timing determination module, configured to determine that the presentation timing of the media file arrives in response to presenting to a target page of the media file in the target document and the presentation duration of the target page reaching a target duration; or, in response to presenting to a target page of the media file in the target document, display a presentation control for the media file in the target page, and determine that the presentation timing of the media file arrives in response to a trigger operation on the presentation control; or, in response to presenting to a target page of the media file in the target document, display presentation prompt information corresponding to the media file at a display position associated with the media file in the target page, and determine that the presentation timing of the media file arrives in response to a determination operation on the presentation prompt information.

[0021] In the above solution, the presentation processing module is further configured to display the playback interface of the media file through a sub-interface independent of the room interface; or, adopt a target animation display method to display the process of the playback interface of the media file moving to a target area of the room interface.

[0022] In the above solution, when the media control mechanism is a position trigger mechanism, the presentation processing module is further configured to, in response to a first status control instruction triggered based on a first position, control the media file to start playing in the playback interface; during the process of playing the media file in the playback interface, in response to a second status control instruction triggered based on a second position, control the media file to stop playing in the playback interface; wherein, the playback interface is a sub-interface of the room interface, and the first position and the second position each include at least one of the following positions: any position in other sub-interfaces of the room interface except the playback interface, any position in the playback interface.

[0023] In the above solution, the demonstration processing module is further configured to, during the process of playing the media file in the playback interface, in response to a trigger operation on the fast-forward control in the playback interface, accelerate the playback progress of the media file; and in response to a trigger operation on the rewind control in the playback interface, retreat the playback progress of the media file.

[0024] In the above solution, the demonstration processing module is further configured to, when the media control mechanism is an element trigger mechanism, obtain a target trigger element associated with the element trigger mechanism, where the target trigger element is any one or more trigger elements in the room interface; and in response to a status control instruction triggered based on the target trigger element, control the playback state of the media file in the playback interface.

[0025] In the above solution, the demonstration processing module is further configured to, when the playback state indicates that the media file is being played, output the media content of the media file through the playback interface; during the process of outputting the media content, in response to a demonstration operation on other parts of the target document except the media file, display the demonstration content of the other parts in the room interface; during the process of displaying the demonstration content of the other parts, adjust the parameters of the playback interface, and continue to output the media content through the playback interface corresponding to the adjusted parameters; where the parameters include at least one of the following: the size of the playback interface, the position of the playback interface, the transparency of the playback interface, and the volume of the audio content output by the playback interface.

[0026] In the above solution, when the target document includes target content associated with an animation display effect, the device further includes: an animation display module, configured to, during the process of displaying the demonstration content of the target document, in response to the arrival of the demonstration timing of the target content, display the target content in a display style corresponding to the animation display effect.

[0027] In the above solution, the device further includes: a demonstration timing processing module, configured to create a demonstration timeline for controlling the demonstration order of the media file and the target content based on the demonstration timing of the media file and the demonstration timing of the target content; and determine whether the demonstration timing of the media file and the target content has arrived through the demonstration timeline.

[0028] In the above solution, the demonstration processing module is further configured to, in response to a document demonstration operation triggered by a control device, control the demonstration of other parts of the target document except the media file according to the demonstration rhythm indicated by the document demonstration operation, and synchronously display the demonstration content of the other parts; where the control device includes at least one of the following: a keyboard, a mouse, a remote control, and a virtual keyboard in a demonstration extension screen.

[0029] In the above solution, after sending the access information to the second terminal corresponding to the target audience, the device further includes: a synchronization sending module, configured to send a synchronization request for the playing state to the second terminal during the process of controlling the playing state of the media file in the playing interface, so that the second terminal renders the state data corresponding to the playing state carried in the synchronization request based on the synchronization request to synchronize the playing state of the media file.

[0030] In the above solution, after sending the access information to the second terminal corresponding to the target audience, the device further includes: an association establishment module, configured to receive an association relationship establishment request sent by the second terminal, where the association relationship establishment request is used to request to establish an association relationship between the login account corresponding to the second terminal and the remote presentation room; when it is determined that the login account corresponding to the second terminal has the access right to the remote presentation room in response to the association relationship establishment request, establish an association relationship between the login account corresponding to the second terminal and the remote presentation room; where the association relationship is used to synchronously update the presentation state of the target document when the presentation state of the target document presented by the second terminal in the remote presentation room is updated.

[0031] An embodiment of the present application provides an electronic device, including:

[0032] A memory, configured to store computer-executable instructions or computer programs;

[0033] A processor, configured to implement the document presentation method provided by the embodiment of the present application when executing the computer-executable instructions or computer programs stored in the memory.

[0034] An embodiment of the present application provides a computer-readable storage medium, storing computer-executable instructions or computer programs, which are used to implement the document presentation method provided by the embodiment of the present application when being executed by a processor.

[0035] An embodiment of the present application provides a computer program product, including a computer program or computer-executable instructions, where the computer program or computer-executable instructions, when being executed by a processor, implement the document presentation method provided by the embodiment of the present application.

[0036] The embodiment of the present application has the following beneficial effects:

[0037] Applying the embodiments of the present application, when the demonstration end (i.e., the first terminal) accesses the application web page link corresponding to the document demonstration application (i.e., through a browser) and performs a remote demonstration operation on the target document, it generates and displays the access information of the remote demonstration room corresponding to the target document, and sends the access information to the second terminal (i.e., the audience end) corresponding to the target audience. After the second terminal accesses the remote demonstration room based on the access information, when the first terminal controls the playback state of the media file based on the media control mechanism, it synchronizes the playback state of the media file. In this way, neither the demonstration end nor the audience end needs to download an online document client. By accessing the application web page link corresponding to the document demonstration application (i.e., accessing the website corresponding to the document demonstration application through a browser), the playback states of the media files in the demonstration end and the audience end can be synchronized when demonstrating the media files in the target document in a remote demonstration scenario, improving the convenience of remote demonstration. Description of the Drawings

[0038] Figure 1 is a schematic structural diagram of a document demonstration system 100 provided by an embodiment of the present application;

[0039] Figure 2 is a schematic structural diagram of an electronic device 500 provided by an embodiment of the present application;

[0040] Figure 3 is a schematic flowchart of a document demonstration method provided by an embodiment of the present application;

[0041] Figure 4 is a schematic display diagram of a document demonstration interface provided by an embodiment of the present application;

[0042] Figure 5 is a schematic demonstration diagram of a target document provided by an embodiment of the present application;

[0043] Figure 6 is a schematic triggering diagram of a status control instruction provided by an embodiment of the present application;

[0044] Figure 7 is a schematic web - end online document demonstration diagram provided by an embodiment of the present application;

[0045] Figure 8 is a schematic flowchart of a document demonstration method provided by an embodiment of the present application;

[0046] Figure 9 is a schematic remote demonstration diagram provided by an embodiment of the present application. Detailed Embodiments

[0047] To make the objectives, technical solutions, and advantages of this application clearer, the following will further describe this application in detail in conjunction with the accompanying drawings. The described embodiments should not be construed as limitations on this application. All other embodiments obtained by those of ordinary skill in the art without creative efforts fall within the scope of protection of this application.

[0048] It can be understood that in the embodiments of this application, data related to user information (such as information related to the login account) is involved. When the embodiments of this application are applied to specific products or technologies, user permission or consent needs to be obtained, and the collection, use, and processing of relevant data need to comply with relevant laws, regulations, and standards of relevant countries and regions.

[0049] In the following description, "some embodiments" are involved, which describe a subset of all possible embodiments. However, it can be understood that "some embodiments" can be the same subset or different subsets of all possible embodiments, and they can be combined with each other without conflict.

[0050] In the following description, the terms "first / second..." are only used to distinguish similar objects and do not represent a specific order for the objects. It can be understood that "first / second..." can be interchanged with a specific order or sequence when allowed, so that the embodiments of this application described here can be implemented in an order other than that illustrated or described here.

[0051] In the embodiments of this application, the term "module" or "unit" refers to a computer program with a predetermined function or a part of a computer program, which works together with other related parts to achieve a predetermined goal, and can be fully or partially implemented by using software, hardware (such as a processing circuit or a memory), or a combination thereof. Similarly, a processor (or multiple processors or memories) can be used to implement one or more modules or units. In addition, each module or unit can be a part of the overall module or unit that includes the function of that module or unit.

[0052] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.

[0053] Before further elaborating on the embodiments of this application, the nouns and terms involved in the embodiments of this application are explained. The nouns and terms involved in the embodiments of this application are subject to the following explanations.

[0054] 1) Remote demonstration: The presenter shares the demonstration content with the audience at different locations through a browser.

[0055] 2) Remote Presentation Room Layer: Refers to an architectural layer in a remote presentation scenario that manages and coordinates the connections and communications between multiple participants (presenters and audiences). Multiple participants may be located in different geographical locations. The room layer is responsible for managing the connections between participants and for synchronizing presentation content and status.

[0056] 3) Web Application: An application that is accessed and run through a web browser, without the need for users to install additional software or clients locally. Users can use the corresponding functions simply by accessing a specific website through the browser.

[0057] 4) WebSocket: A protocol for implementing two-way communication in web applications. It provides a way for persistent connections, allowing real-time two-way data transmission between servers and terminals.

[0058] 5) Extensible Markup Language (XML): A markup language used to describe data, using tags to identify the structure and content of data. The document content of a presentation document is stored in an XML file. The presentation document includes, but is not limited to, documents in the following formats: slides or electronic presentations (PPT, Microsoft PowerPoint), portable documents (PDF, Portable Document Format), and Microsoft word format.

[0059] 6) JSON: A lightweight data interchange format, commonly used for transmitting and storing data between different applications.

[0060] 7) In response to: Used to indicate the conditions or states on which the actions performed depend. When the dependent conditions or states are met, one or more actions performed can be real-time or can have a set delay; in the absence of specific instructions, there is no restriction on the order of execution of multiple actions performed.

[0061] Embodiments of the present application provide a document presentation method, apparatus, electronic device, computer-readable storage medium, and computer program product, which can achieve synchronization of the playback status of media files between a presenter and an audience. The following describes an exemplary application of the electronic device provided in the embodiments of the present application. The electronic device provided in the embodiments of the present application can be implemented as various types of terminals such as a laptop computer, a tablet computer, a desktop computer, a set-top box, a mobile device (for example, a mobile phone, a portable music player, a personal digital assistant, a dedicated messaging device, a portable game device), a smart phone, a smart speaker, a smart watch, a smart TV, a vehicle terminal, an augmented reality (AR) and virtual reality (VR) device, etc., or can be implemented as a server. Among them, the server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or can also be a cloud server providing basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery network (CDN), and big data and artificial intelligence platforms. The terminal and the server can be directly or indirectly connected through wired or wireless communication methods, which are not limited in the embodiments of the present application.

[0062] Referring to Figure 1 , Figure 1 FIG. is a schematic architecture diagram of a document presentation system 100 provided in an embodiment of the present application. To support an exemplary application, terminals (exemplarily showing a first terminal 400-1 and a second terminal 400-2) are connected to a server 200 through a network 300. The network 300 can be a wide area network or a local area network, or a combination of the two.

[0063] Taking the first terminal 400-1 as the terminal on the presenter side and the second terminal 400-2 as the terminal on the audience side as an example, when the presenter accesses the application web page link of the document presentation application through the first terminal 400-1, the first terminal 400-1 displays the document presentation interface of the document presentation application in response to the access operation; a target document associated with a media file is displayed in the document presentation interface, wherein the media file is preset with a media control mechanism for controlling the playback state of the media file; in response to a remote presentation operation on the target document, a remote presentation request for the target document is sent to the server 200; the server 200 generates access information (such as the room web page link or graphic code corresponding to the remote presentation room) for the remote presentation room corresponding to the target document based on the remote presentation request, and returns the access information to the first terminal 400-1 for display; the first terminal 400-1 sends the access information to the second terminal 400-2 corresponding to the target audience, so that when the first terminal 400-1 controls the playback state of the media file based on the media control mechanism after the second terminal 400-2 accesses the remote presentation room based on the access information, the playback state of the media file is synchronized.

[0064] See Figure 2 , Figure 2 is a schematic structural diagram of the electronic device 500 provided by an embodiment of the present application. Taking the electronic device 500 as Figure 1 the first terminal 400-1 in Figure 2 as an example, the electronic device 500 shown in the figure includes: at least one processor 510, a memory 550, at least one network interface 520, and a user interface 530. Each component in the electronic device 500 is coupled together through a bus system 540. It can be understood that the bus system 540 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 540 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear illustration, in Figure 2 all kinds of buses are labeled as the bus system 540.

[0065] The processor 510 can be an integrated circuit chip with signal processing capabilities, such as a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. Among them, the general-purpose processor can be a microprocessor or any conventional processor, etc.

[0066] The memory 550 includes volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. Among them, the non-volatile memory may be a read-only memory (ROM), and the volatile memory may be a random access memory (RAM). The memory 550 described in the embodiments of the present application is intended to include any suitable type of memory. Optionally, the memory 550 includes one or more storage devices that are physically remote from the processor 510.

[0067] In some embodiments, the memory 550 is capable of storing data to support various operations. Examples of such data include programs, modules, and data structures, or subsets or supersets thereof, which are exemplarily described below.

[0068] The operating system 551 includes system programs for processing various basic system services and performing hardware-related tasks, such as the framework layer, the core library layer, the driver layer, etc., for implementing various basic services and processing hardware-based tasks; the network communication module 552 is used to reach other electronic devices via one or more (wired or wireless) network interfaces 520. Exemplary network interfaces 520 include: Bluetooth, wireless fidelity (WiFi), and universal serial bus (USB), etc.

[0069] In some embodiments, the document presentation device provided by the embodiments of the present application can be implemented in software. The document presentation device provided by the embodiments of the present application can be provided in various software embodiments, including various forms such as application programs, software, software modules, scripts, or code. Figure 2 Shown is the document presentation device 555 stored in the memory 550, which may be software in the form of programs and plugins, etc., and includes a series of modules, including a first display module 5551, a second display module 5552, a third display module 5553, and an information sending module 5554. These modules are logical, so they can be arbitrarily combined or further split according to the functions to be implemented. The functions of each module will be described below.

[0070] In some other embodiments, the device provided in the embodiments of the present application may be implemented in a hardware manner. As an example, the device provided in the embodiments of the present application may be a processor in the form of a hardware decoding processor, which is programmed to execute the document presentation method provided in the embodiments of the present application. For example, the processor in the form of a hardware decoding processor may employ one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), or other electronic components.

[0071] In some embodiments, the terminal or the server may implement the document presentation method provided in the embodiments of the present application by running various computer-executable instructions or computer programs. For example, the computer-executable instructions may be commands at the microprogram level, machine instructions, or software instructions. The computer program may be a native program or a software module in the operating system; it may also be a small program that can be embedded in any native application, that is, a program that only needs to be downloaded to the browser environment to run. In short, the above computer-executable instructions may be instructions in any form, and the above computer programs may be application programs, modules, or plug-ins in any form.

[0072] As described above, the document presentation method provided in the embodiments of the present application may be implemented by various types of electronic devices. For example, it may be Figure 1 executed independently by the terminal in Figure 1 or executed collaboratively by the terminal in Figure 1 and the server 200. Next, taking the example of the terminal in Figure 1 (such as the first terminal 400-1 on the presenter side) executing the document presentation method provided in the embodiments of the present application independently, an illustration will be given. Refer to Figure 3 . Figure 3 is a schematic flowchart of the document presentation method provided in the embodiments of the present application, and the steps shown in Figure 3 will be described in combination.

[0073] Step 101: In response to an access operation on the application web page link of the document presentation application, the first terminal displays the document presentation interface of the document presentation application.

[0074] Among them, the application web link is the network address corresponding to the document presentation application, which can be a hyperlink stored in the first terminal. When the presenter accesses the application web link, such as clicking on the hyperlink or copying and pasting the application web link in a search engine (i.e., a browser), the first terminal responds to this access operation and displays the document presentation interface of the document presentation application, that is, enters the document presentation interface through the browser.

[0075] Step 102: Display a target document associated with a media file in the document presentation interface, where the media file is preset with a media control mechanism for controlling the playback state of the media file.

[0076] In some embodiments, the first terminal can display the target document associated with the media file in the document presentation interface in the following manner: display a document import control in the document presentation interface; in response to a document import operation triggered based on the document import control, display the imported target document associated with the media file.

[0077] In practical applications, the presenter can create a target document to be presented in the document presentation interface, or can import a target document through the document import control for presentation. See Figure 4 , Figure 4 is a display schematic diagram of the document presentation interface provided by an embodiment of the present application. When the presenter accesses the application web link corresponding to the document presentation application in the first terminal, such as "https: / / docs.xx.com / ", the first terminal responds to this access operation, displays the document presentation interface corresponding to the document presentation application, and displays a new entry 401 and a document import control 402 in the document presentation interface. A target document can be created through the new entry 401 as the document to be presented; a target document can be imported through the document import control 402 as the document to be presented. For example, in response to a trigger operation on the document import control 402, candidate documents available for import are displayed, and in response to a selection operation on the target document, the imported target document 403 is displayed in the document presentation interface.

[0078] Among them, the target documents include, but are not limited to, documents in the following formats: PPT, PDF, word. Media files are pre-associated with the target documents. The forms of presentation of the media files include at least one of the following: audio files, video files. The media files can be pre-set with a media control mechanism, which is used to control the playback state of the media files, such as controlling the start playback, stop playback and other playback states of the media files. That is, the media control mechanism indicates the implementation methods for realizing the corresponding playback states. The media control mechanism includes, but is not limited to, a position trigger mechanism and an element trigger mechanism. Among them, the position trigger mechanism indicates triggering the corresponding position in the room interface to control the change of the playback state of the media files, and the element trigger mechanism indicates triggering the corresponding element in the room interface to control the change of the playback state of the media files. For example, controlling the media files to change from the paused playback state (not played) to the start playback state (playing), or from the start playback state (playing) to the stop playback state (not played); it should be noted that the trigger position indicated by the position trigger mechanism or the trigger element indicated by the element trigger mechanism can be arbitrarily set in the room interface according to actual needs.

[0079] Step 103: In response to a remote presentation operation on the target document, generate and display access information for the remote presentation room corresponding to the target document.

[0080] In some embodiments, the first terminal can generate and display access information for the remote presentation room corresponding to the target document in the following manner: obtain the room identifier of the remote presentation room, and generate a room web link corresponding to the remote presentation room based on the room identifier and the application web link; display the room web link as the access information, or display the graphic code obtained by encoding the room web link as the access information.

[0081] In practical applications, the remote presentation operation can be triggered through a remote presentation entry. For example, a remote presentation entry is displayed in the document presentation interface. The first terminal responds to the trigger operation on the remote presentation entry, receives the remote presentation operation on the target document, and in response to the remote presentation operation, obtains the room identifier of the remote presentation room (the room identifier has a one-to-one correspondence with the document identifier of the target document), and after generating the room web link of the remote presentation room based on the room identifier and the application web link corresponding to the document presentation application, can directly use the room web link as the access information for the remote presentation room, so that the viewer side can enter the remote presentation room through accessing the room web link to watch the presentation content of the target document; it can also further encode the room web link to obtain a corresponding graphic code (such as a QR code) as the access information for the remote presentation room, so that the viewer side can enter the remote presentation room by scanning the graphic code to watch the presentation content of the target document.

[0082] Step 104: Send the access information to the second terminal corresponding to the target audience, so that after the second terminal accesses the remote presentation room based on the access information, when the first terminal controls the playback state of the media file based on the media control mechanism, the playback state of the media file is synchronized.

[0083] In some embodiments, the first terminal can send the access information to the second terminal corresponding to the target audience in the following ways: send the access information to the second terminal corresponding to the target audience through the target method; wherein, the target method includes at least one of the following: instant messaging method, email method, SMS method, phone notification method.

[0084] Here, after the first terminal generates the access information of the remote presentation room corresponding to the target document, it can send the access information of the remote presentation room to the second terminal corresponding to the target audience through the target method, so that the second terminal can enter the remote presentation room based on the access information of the remote presentation room to view the presentation content of the target document. Among them, the target method can be the instant messaging method, that is, send the session message including the access information of the remote presentation room to the second terminal corresponding to the target audience in the form of an instant messaging session message; the target method can also be the email method, that is, send the email including the access information of the remote presentation room to the second terminal of the target audience; the target method can also be the SMS method, that is, send the SMS including the access information of the remote presentation room to the second terminal corresponding to the target audience.

[0085] In addition, the target method can also be the phone notification method. For example, the presenter can send the access information of the remote presentation room and the notification request of the target audience to the server. The server responds to the notification request and sends a call request for the target audience to the call center. After receiving the call request, the call center obtains the communication number of the target audience, such as obtaining the mobile phone number of the instant messaging application bound by the target audience, and uses this mobile phone number as the communication number of the target audience, and calls this communication number by calling the operator interface corresponding to the communication number; when the target audience answers the phone, the operator returns a call status notification (i.e., answer) to the call center. After the call center returns the call status notification of the target group members to the server, when the server determines that the target audience is in the answering state based on the call status notification, it sends a notification voice of the access information of the remote presentation room to the call center. The call center calls the operator interface to play the notification voice based on the access information, prompting the target audience to perform the corresponding operation corresponding to the access information (such as triggering the target button or saying the target statement) to enter the remote presentation room. After the target audience performs the corresponding operation according to the prompt, it can enter the remote presentation room to view the presentation content of the target document and complete the phone notification.

[0086] In some embodiments, after the first terminal sends access information to the second terminal corresponding to the target audience, it can also display the presentation content of the target document in the room interface of the remote presentation room; during the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the media file, a playback interface of the media file is displayed in the room interface; in response to a status control instruction triggered based on the media control mechanism, the playback status of the media file in the playback interface is controlled.

[0087] See Figure 5 , Figure 5 is a schematic diagram of the presentation of the target document provided by the embodiments of the present application. In (a), after the first terminal sends access information to the second terminal corresponding to the target audience, the first terminal can enter the remote presentation room corresponding to the target document and present the target document in the room interface of the remote presentation room. During the presentation of the target document, the presentation content of the target document is displayed in real time in the room interface; at the same time, in (b), after the second terminal of the target audience enters the remote presentation room, the presentation content of the target document is displayed in real time in the room interface, that is, the presentation content displayed in the room interfaces of the first terminal and the second terminal that enter the same remote presentation room is always the same at the same moment.

[0088] When the presentation timing of the media file associated with the target document arrives, a playback interface of the media file is displayed in the room interface. Since the media file is associated with a media control mechanism, the playback status of the media file in the playback interface can be controlled through a status control instruction triggered based on the media control mechanism. For example, the media file can be controlled to change from a paused playback state (not playing) to a started playback state (playing), or from a started playback state (playing) to a stopped playback state (not playing). At the same time, when the first terminal controls the playback status of the media file based on the media control mechanism, the second terminal of the target audience watching the presentation content of the target document in the remote presentation room synchronizes the playback status of the media file, that is, the playback status of the media file corresponding at the same moment in the playback interfaces of the room interfaces of the first terminal and the second terminal is the same. For example, when the first terminal controls the media file to start playing in the playback interface, the media file in the playback interface of the second terminal also starts playing. Another example is that when the first terminal controls the media file to stop playing in the playback interface, the media file in the playback interface of the second terminal also stops playing.

[0089] In some embodiments, before the first terminal displays the playback interface of the media file in the room interface, the demonstration timing of the media file can be determined in the following ways: in response to demonstrating to the target page of the media file in the target document and the demonstration duration of the target page reaching the target duration, it is determined that the demonstration timing of the media file has reached; or, in response to demonstrating to the target page of the media file in the target document, a demonstration control of the media file is displayed on the target page, and in response to a trigger operation on the demonstration control, it is determined that the demonstration timing of the media file has reached; or, in response to demonstrating to the target page of the media file in the target document, demonstration prompt information corresponding to the media file is displayed at the display position associated with the media file on the target page, and in response to a determination operation on the demonstration prompt information, it is determined that the demonstration timing of the media file has reached.

[0090] In practical applications, before demonstrating the target document, the presenter can arrange and configure the components and the number of pages (i.e., page numbers) of the target document. For example, the media file can be associated and placed at which position on which page of the target document, and the demonstration timing of the media file (i.e., the playback conditions of the media file) can be set in advance, that is, the conditions under which the display of the playback interface of the media file can be triggered are set in advance.

[0091] In actual implementation, when there are multiple pages corresponding to the target document (for example, when the target document is in PPT format, there can be multiple PPTs for the demonstration pages; when the target document is in word format, there can be multiple pages for the demonstration pages), it can be preset that when the demonstration duration of the target page where the media file is located in the target document reaches the target duration (that is, when the presenter demonstrates to the Nth second of the target page where the media file is located, N is the target duration, which can be set according to actual needs), it is determined that the demonstration timing of the media file has reached, so as to display the playback interface of the media file in the room interface; in this way, when the demonstration duration of the target page (i.e., the display duration of the target page) reaches the preset target duration, without any operation by the presenter, the display of the playback interface of the media file can be automatically triggered, improving the intelligence of the demonstration process.

[0092] In addition, it can also be preset that when demonstrating to the target page of the media file in the target document, a demonstration control of the media file is displayed on the target page, or demonstration prompt information corresponding to the media file is displayed at the display position associated with the media file on the target page. By triggering the demonstration control or performing a determination operation on the demonstration prompt information, the demonstration timing of the media file is determined, so as to display the playback interface of the media file in the room interface; in this way, by the presenter actively performing a trigger operation or a determination operation to trigger the display of the playback interface of the media file, the flexibility and applicability of the demonstration process are improved.

[0093] In some embodiments, the first terminal can display the playback interface of the media file in the room interface in the following ways: display the playback interface of the media file through a sub-interface independent of the room interface; or, adopt a target animation display method to show the process of the playback interface of the media file moving to the target area of the room interface.

[0094] Here, when displaying the playback interface of the media file, it can be displayed through a sub-interface independent of the room interface. In this case, the presenter can drag the playback interface (or the sub-interface) arbitrarily to change its position in the room interface; it can also adopt a target animation display method to dynamically show the process of the playback interface of the media file moving to the target area of the room interface, such as dynamically showing the process of the playback interface moving from the edge area of the room interface to the middle area of the room interface.

[0095] In some embodiments, the first terminal can control the playback state of the media file in the playback interface in response to a state control instruction triggered based on a media control mechanism as follows: when the media control mechanism is a position trigger mechanism, in response to a first state control instruction triggered based on a first position, control the media file to start playing in the playback interface; during the process of playing the media file in the playback interface, in response to a second state control instruction triggered based on a second position, control the media file to stop playing in the playback interface; where the playback interface is a sub-interface of the room interface, and the first position and the second position both include at least one of the following positions: any position in other sub-interfaces of the room interface except the playback interface, any position in the playback interface.

[0096] See Figure 6 , Figure 6 FIG. is a schematic diagram of the trigger of the state control instruction provided by the embodiment of the present application. When the media control is a position trigger mechanism, the playback state of the media file can be changed by triggering any position in the room interface 601. For example, when the presenter triggers the first position, the first terminal responds to the first state control instruction triggered based on the first position and controls the media file to start playing in the playback interface 602, that is, controls the playback state of the media file to change from not playing to playing; during the process of playing the media file, the presenter triggers the second position to trigger the second state control instruction and controls the media file to stop playing in the playback interface 602, that is, the playback state of the media file changes from playing to not playing. Among them, the first position and the second position can be the same or different, and both the first position and the second position are not limited to any position in the playback interface 602 corresponding to the media file, and can also be any position in other interfaces of the room interface 601 except the playback interface.

[0097] In the above manner, in a remote presentation scenario, when presenting a media file, the presenter can arbitrarily trigger any position in the room interface of the remote presentation room to control the playback and pause of the media file, expanding the interactive control area of the media file, making user operations more convenient, and thus improving the remote presentation experience.

[0098] In some embodiments, the first terminal can, during the process of playing a media file in the playback interface, in the following manner, in response to a trigger operation on the fast-forward control in the playback interface, accelerate the playback progress of the media file; and in response to a trigger operation on the rewind control in the playback interface, retreat the playback progress of the media file.

[0099] In practical applications, since the playback interface of the media file itself has corresponding controls (such as a play control, a fast-forward control, a rewind control), when the above first position or second position is any position in the playback interface, the first position or second position can be the position where the play control is located, or other area positions in the playback interface except for the controls. The playback progress of the media file can be accelerated through the fast-forward control, and the playback progress of the media file can be retreated through the rewind control; thus, the playback progress of the media file can be conveniently controlled.

[0100] In some embodiments, the first terminal can, in the following manner, in response to a status control instruction triggered based on a media control mechanism, control the playback status of the media file in the playback interface: when the media control mechanism is an element trigger mechanism, obtain the target trigger element associated with the element trigger mechanism, where the target trigger element is any one or more trigger elements in the room interface; and in response to a status control instruction triggered based on the target trigger element, control the playback status of the media file in the playback interface.

[0101] Here, when the media control mechanism is an element trigger mechanism, the interactive control area of the media file can also be reduced to any one or more trigger elements in the room interface, and is not limited to the control elements of the media file's playback interface itself, that is, preset the target trigger element for triggering the media control mechanism, and control the playback status of the media file by triggering the target trigger element; thus, the user can preset the target trigger element for triggering the media control mechanism according to actual needs or their own presentation habits, making user operations more convenient, and thus improving the remote presentation experience.

[0102] In some embodiments, the first terminal can continue to play the media file in the following manner: when the playing state indicates that the media file is being played, output the media content of the media file through the playing interface; during the process of outputting the media content, in response to a demonstration operation on other parts of the target document except the media file, display the demonstration content of the other parts in the room interface; during the process of displaying the demonstration content of the other parts, adjust the parameters of the playing interface, and continue to output the media content through the playing interface corresponding to the adjusted parameters; wherein the parameters include at least one of the following: the size of the playing interface, the position of the playing interface, the transparency of the playing interface, and the volume of the audio content output by the playing interface.

[0103] In practical applications, during the process of playing the media file, the presenter can also demonstrate other parts of the target document except the media file. Among them, the other parts can be other document contents in the target page where the media file is located except the media file, or can be document contents in other pages different from the target page where the media file is located. The presenter can trigger the demonstration operation on the other parts in a certain way, such as triggering the demonstration operation on the other parts by swiping the target page where the media file is located, or triggering the demonstration operation on the other parts by turning the page from the target page where the media file is located to other pages.

[0104] In response to the demonstration operation on the other parts, the first terminal displays the demonstration content of the other parts in the room interface, and while displaying the demonstration content of the other parts in the room interface, adjusts the playing interface of the media file, such as adjusting the size of the playing interface (such as shrinking the playing interface of the media file), or adjusting the position of the playing interface in the room interface (such as adjusting the playing interface from the middle position in the room interface to the edge position); or adjusting the transparency of the playing interface, such as when the demonstration content of the other parts is blocked and covered by the playing interface, adjusting the transparency of the playing interface to display the demonstration content of the other parts through the playing interface; or adjusting the volume of the audio content of the media file output by the playing interface, such as reducing the volume output of the media file to reduce the interference of the playing of the media file on the demonstration content of the other parts, or reducing the demonstration volume of the presenter on the other parts, or when the demonstration content of the other parts is output through audio, ensuring the demonstration quality of the media file by adjusting the audio output volume.

[0105] Through the above method, the playing of the media file and the demonstration of other parts are independent of each other. While playing the media file in the room interface of the same remote demonstration room, the demonstration content of other parts is also displayed, meeting the diverse information acquisition needs of users, and the demonstrations of various information do not interfere with each other, improving the viewing experience.

[0106] In some embodiments, the first terminal may display other types of document content in the following manner: when the target document includes target content associated with an animation display effect, during the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the target content, the target content is displayed using a display style corresponding to the animation display effect.

[0107] Here, when the target document is associated with target content having an animation display effect, that is, the display style of the target content has an animation display effect, such as animation display effects like "fly in", "fly out", "blinds" in a PPT presentation, this type of target content can also be referred to as an animation (such as entrance animation, exit animation, and emphasis animation). When the presentation timing of the target content arrives, the target content can be displayed using a display style corresponding to the animation display effect. For example, if the animation display effect associated with the target content is "blinds", and its corresponding presentation timing is when the presenter clicks on the target content, the target content is displayed in the form of a "blinds" animation display.

[0108] In some embodiments, the first terminal may determine whether the presentation timing of the media file and the target content has arrived in the following manner: based on the presentation timing of the media file and the presentation timing of the target content, a presentation timeline for controlling the presentation order of the media file and the target content is created; through the presentation timeline, it is determined whether the presentation timing of the media file and the target content has arrived.

[0109] Here, when the target document includes both a media file and target content associated with an animation display effect, a presentation timeline for controlling the presentation order of the media file and the target content can be created based on the presentation timing of the media file and the presentation timing of the target content, that is, the presentation timeline is created according to the chronological order of the display times of the media file and the target content. Then, based on the presentation order or presentation time of the media file and the target content indicated by the presentation timeline, it is determined whether the presentation timing of the media file and the target content has arrived. When the presentation timing of the media file arrives, the playback interface of the media file is displayed to play the media file based on the playback interface. When the presentation timing of the target content arrives, the target content is displayed using a display style corresponding to the animation display effect associated with the target content. That is, through the presentation timeline, different types of components in the target document, such as media files and target content associated with an animation display effect, are uniformly managed, thereby ensuring that different types of components are presented in an orderly manner according to the corresponding presentation order.

[0110] In some embodiments, the first terminal may display the presentation content of the target document in the following manner: in response to a document presentation operation triggered by a control device, control the presentation of other parts of the target document except for media files according to the presentation rhythm indicated by the document presentation operation, and synchronously display the presentation content of other parts; wherein, the control device includes at least one of the following: a keyboard, a mouse, a remote control, and a virtual keyboard in a presentation extension screen.

[0111] In practical applications, for other parts of the target document except for media files, they can be presented according to conventional control methods. For example, when performing a page-turning presentation on other parts through a control device, a document presentation operation indicating page-turning of the presentation rhythm can be triggered by sliding the mouse, or pressing keys on the keyboard (such as the space bar, the down-arrow key, or the forward key, etc.), or an infrared remote control, or triggering relevant keys on the virtual keyboard. Here, the presentation extension screen refers to an application scenario where the main screen is selected to present the target document in full screen (such as playing a PPT), and the secondary screen is selected for presenter view. In this scenario, it can not only extend the document presentation but also view the notes. It supports wirelessly turning a mobile phone or a tablet into the secondary screen (i.e., the presentation extension screen), and controls the main screen presentation through the secondary screen by simulating the mouse function.

[0112] In some embodiments, after the first terminal sends access information to the second terminal corresponding to the target audience, during the process of controlling the playback state of the media file in the playback interface, a synchronization request for the playback state may also be sent to the second terminal, so that the second terminal renders the state data of the corresponding playback state carried in the synchronization request based on the synchronization request to synchronize the playback state of the media file.

[0113] Here, during the process of the presenter presenting the target document (including during the process of controlling the playback state of the media file in the playback interface), the first terminal synchronizes the changes in the presentation data in the presenter-side room interface to the audience-side in real time through the synchronization request, so that the audience-side synchronizes the presentation data in the presenter-side room interface and maintains synchronization with the presenter-side presentation data and page display.

[0114] In some embodiments, after the first terminal sends access information to the second terminal corresponding to the target audience, a connection relationship establishment request sent by the second terminal may also be received. The connection relationship establishment request is used to request the establishment of a connection relationship between the login account corresponding to the second terminal and the remote presentation room. In response to the connection relationship establishment request, when it is determined that the login account corresponding to the second terminal has access rights to the remote presentation room, a connection relationship between the login account corresponding to the second terminal and the remote presentation room is established; wherein, the connection relationship is used to synchronously update the presentation state of the target document when the presentation state of the target document presented by the second terminal in the remote presentation room is updated.

[0115] Here, when the first terminal and the second terminal log in to or access the remote presentation room of the target document through a browser, both the first terminal and the second terminal establish long connections with the server. After the first terminal sends access information to the second terminal corresponding to the target audience, it can also receive an association relationship establishment request sent by the second terminal. When the first terminal determines that the login account corresponding to the second terminal has the access permission to the remote presentation room (i.e., has the document viewing permission for the target document) in response to the association relationship establishment request, it establishes an association relationship between the login account corresponding to the second terminal and the remote presentation room. In this way, when the presentation status of the target document presented by the first terminal (i.e., the presentation end) in the remote presentation room is updated, the second terminal (i.e., the audience end) synchronously updates the presentation status of the target document to keep the presentation data and page display synchronized with the presentation end.

[0116] In the above manner, when the presentation end (i.e., the first terminal) accesses the application web page link corresponding to the document presentation application and performs a remote presentation operation on the target document, it generates and displays the access information for the remote presentation room corresponding to the target document, and sends the access information to the second terminal (i.e., the audience end) corresponding to the target audience. After the second terminal accesses the remote presentation room based on the access information, when the first terminal controls the playback status of the media file based on the media control mechanism, it synchronizes the playback status of the media file. In this way, without downloading the online document client, the presentation end or the audience end can access the application web page link corresponding to the document presentation application (i.e., access the website corresponding to the document presentation application through a browser), and when presenting the media file in the target document in a remote presentation scenario, it can achieve the synchronization of the playback status of the media file in the presentation end and the audience end, improving the convenience of remote presentation.

[0117] Next, the exemplary application of the embodiments of the present application in an actual application scenario will be described. Taking the remote presentation scenario as a web-based online document presentation scenario and the target document as a PPT associated with a media file as an example, most existing web-based online documents support the play and pause of audio and video files (i.e., the above-mentioned media files), but this control can only be achieved through direct interaction with the audio and video itself area (i.e., the area where the playback interface of the audio and video is located). For example, see Figure 7 , Figure 7It is a schematic diagram of web - based online document demonstration provided by an embodiment of the present application. When demonstrating an audio - video file in a PPT during the room interface, in (a), only by clicking on the area of the audio - video itself (i.e., the playback interface 701 of the audio - video) can the playback or pause of the audio - video be controlled. Clicking on areas other than the playback interface 701 in the room interface cannot control the playback or pause of the audio - video. In (b), only by clicking on the play button in the area of the audio - video itself (i.e., the play button 702 in the audio - video playback interface) can the playback or pause of the audio - video be controlled. Clicking on other areas in the playback interface except where the play button 702 is located or clicking on areas other than the playback interface in the room interface cannot control the playback or pause of the audio - video. Moreover, the existing web - based online document demonstration technology cannot achieve the synchronization of the audio - video playback states between the audience side and the demonstration side in the remote demonstration scenario.

[0118] For this reason, an embodiment of the present application provides a document demonstration method. In the remote demonstration scenario, when demonstrating an audio - video, the presenter can arbitrarily trigger any area (such as Figure 7 any area in the room interface 703 shown in (c)) in the room interface of the remote demonstration room to control the playback state of the audio - video, expanding the interactive control area of the audio - video and making user operations more convenient. In addition, the present application can also, in the remote demonstration scenario, enable the presenter to directly demonstrate through a browser and the audience to directly access the remote demonstration room through a browser, thus achieving the synchronization of the audio - video playback states between the demonstration side and the audience side, and further improving the remote demonstration experience.

[0119] Next, refer to Figure 8 , Figure 8 which is a schematic flowchart of the document demonstration method provided by an embodiment of the present application, and will be described in combination with the steps shown in Figure 8 it.

[0120] Step 201: The demonstration end responds to an access operation for the application web page link of the online document application and displays the document demonstration interface of the online document application.

[0121] Among them, the demonstration end is the above - mentioned first terminal, the online document application is the above - mentioned document demonstration application, and the application web page link is the network address corresponding to the online document application, such as it can be expressed as: "https: / / docs.xx.com / ". When the presenter logs in and accesses this network address, the demonstration end displays the document demonstration interface of the online document application.

[0122] Step 202: The demonstration end responds to a document import operation and displays the imported PPT document in the document demonstration interface.

[0123] Here, a document import control is displayed in the document presentation interface. The presenter can import a PPT document (i.e., the above-mentioned target document) as the document to be presented through the document import control. When the presenter triggers the document import control, the presentation end responds to the document import operation triggered based on the document import control and displays the imported PPT document, where the PPT document is associated with an audio-visual file.

[0124] Here, after the presenter imports the PPT document, the server converts the XML file storing the PPT document content into JSON data. The successfully imported PPT document will be displayed in the document list, that is, the imported PPT document is converted into an online document. The presenter accesses the online document through a browser. The front-end data layer converts the JSON data into SDK data layer data, and the front-end business display layer converts the SDK data layer data into UI Model business display layer data for rendering and display. The UI Model business display layer data includes animation layer data (Animation Model), where the animation layer data includes animation data corresponding to each animation type. The animation types include, but are not limited to: entrance animation, exit animation, emphasis animation, media control type animation. Among them, the media control type animation is an animation type that can control the playback and pause of audio and video, and the animation corresponding to its audio-visual file is called the media control type animation.

[0125] Step 203: The presentation end responds to the remote presentation operation on the PPT document, generates and sends the access information of the remote presentation room to the audience end corresponding to the target audience.

[0126] See Figure 9 , Figure 9 is the schematic diagram of remote presentation provided by the embodiment of the present application. The presenter can trigger the remote presentation operation by clicking the remote presentation control 901. The presentation end responds to the remote presentation operation and displays an invitation control (such as inviting friends) 902 for inviting friends (i.e., the audience) to watch the presentation content. When the presenter clicks the invitation control 902, the presentation end responds to this click operation, generates the access information (such as a link or a graphic code) of the remote presentation room layer. After the presenter distributes the access information to the audience end, the presenter enters the remote presentation state, that is, the PPT document to be presented is displayed in the room interface of the remote presentation room (such as displaying the first slide). The audience end enters the room layer through the access information (such as accessing the link or scanning the graphic code). The room layer realizes two-way communication between the server and the terminal based on the WebSocket protocol.

[0127] Step 204: The server creates an animation timeline based on the animation layer data.

[0128] Here, after the presenter and the audience enter the remote presentation room layer, an animation timeline (Timeline, i.e., the above-mentioned presentation timeline) will be created based on their respective animation layer data, combined with the triggering conditions and triggering times of the animations. Among them, the animation timeline is used to manage the animation grouping of each slide and control the animation playback order. Media control animations are subject to the management of the animation timeline, and the animation timeline can uniformly manage different types of animations.

[0129] Step 205: In response to a presentation operation, the presentation end sends a first synchronization request to the server.

[0130] Here, the presentation operation is triggered by the presenter clicking on the slide page of the PPT document. For example, when the presenter clicks on the current page, the presentation end will first send a first synchronization request to the server through the WebSocket protocol. Among them, the first synchronization request carries presentation room status data, which is used to request the synchronization of the presentation room status data. The presentation room status data (RoomStateData) is generated by the presentation end according to the presenter's presentation operation and is data used to control page turning and the animation playback order (including data such as the page number of the slide and the animation playback order).

[0131] Step 206: In response to the first synchronization request, the server pushes the room status data to the room layer.

[0132] Here, after receiving the first synchronization request, the server, in response to the first synchronization request, pushes the latest room status data carried by the first synchronization request to the room layer.

[0133] Step 207: The room layer determines whether the page number has changed.

[0134] Here, after the room layer receives the latest room status data, the front-end page is re-rendered, that is, the audience end synchronizes the room status data of the presentation end, maintaining synchronization with the data and page display of the presentation end. All participants in the room layer (including the presenter and the audience) first determine whether the page number data in the latest room status data has changed. If the page number data has changed, step 208 is executed; if the page number data has not changed, step 209 is executed.

[0135] Step 208: Directly leave the current page and jump to the corresponding page number of the PPT.

[0136] Step 209: Determine whether the animation playback order data has changed.

[0137] Here, if the page number data has not changed, it will then determine whether the animation playback order data in the room status data has changed. If the animation playback order data has not changed, no processing is done; if the animation playback order data has changed, step 210 is executed.

[0138] Step 210: Determine whether the animation type is media control type.

[0139] Here, the animation timeline of the current page plays animations in the corresponding order. When managing the animation playback, the animation timeline will determine the animation type, and different animation types have different display forms. When the animation type is media control type, step 211 is executed; otherwise, step 212 is executed.

[0140] Step 211: The animation timeline controls the playback or pause of audio and video.

[0141] Step 212: The animation timeline controls other types of animations.

[0142] Step 213: In response to a trigger operation on the area of the audio and video itself, the presentation end sends a second synchronization request to the server.

[0143] Here, when the presenter directly operates on the area of the audio and video itself, such as fast forward, rewind, play, pause, etc. (that is, the above operations to control the playback rhythm of the audio and video by triggering the controls on the playback interface of the media file itself), the presentation end will send a second synchronization request to the server through the WebSocket protocol. Among them, the second synchronization request carries audio and video status data, which is used to request the synchronization of the audio and video status data. The audio and video status data (RoomMediaData) is generated by the presentation end according to the trigger operation of the presenter on the area of the audio and video itself, and includes control actions, playback time, audio and video identifier, playback speed, etc., which are used to control the playback, pause or fast forward behavior of the audio and video.

[0144] Step 214: In response to the second synchronization request, the server pushes the audio and video status data to the room layer.

[0145] Here, after receiving the second synchronization request, the server responds to the second synchronization request and pushes the latest audio and video status data to the room layer.

[0146] Step 215: The room layer determines whether the corresponding audio and video is found.

[0147] Here, after the room layer receives the latest audio and video data, the front-end page is re-rendered, that is, the audience synchronizes the audio and video data of the presentation end, and keeps the synchronization with the audio and video data and the audio and video playback behavior of the presentation end. All participants in the room layer (including the presenter and the audience) first determine whether the audio and video file in the latest audio and video data is found. If not, no processing is done. If the audio and video file is found, step 216 is executed.

[0148] Step 216: Control the playback state of the audio and video according to the control action of the audio and video file.

[0149] Here, when demonstrating audio and video, the presenter can arbitrarily trigger any area in the room interface of the remote demonstration room to control the playback state of the audio and video, such as controlling the playback, pause, fast forward or rewind of the audio and video, etc., expanding the interactive control area of the audio and video, making it more convenient for users to operate.

[0150] Through the above method, the embodiments of the present application have at least the following beneficial effects: 1) It makes up for the shortcoming of the web - end online document controlling the audio - video playback. It can control the playback and pause of the audio - video in the form of animation, and expands the interactive area of the audio - video, making it more convenient for users to operate and the experience more friendly; 2) It uniformly manages media - control - type animations (controlling the playback and pause of audio - video) and other types of animations (such as entrance animations, exit animations, emphasis animations, etc.) through the animation timeline, and supports different types of animation combinations to be played in sequence; 3) In the remote demonstration scenario, it realizes the synchronization of media - control - type animations and audio - video operation behaviors, so that the audience and the presenter keep the consistency of the audio - video playback state.

[0151] So far, the document demonstration method provided by the embodiments of the present application has been described in combination with the exemplary applications and implementations of the electronic devices provided by the embodiments of the present application. Next, the cooperation of each module in the document demonstration device 555 provided by the embodiments of the present application to implement the document demonstration solution will be described.

[0152] The first display module 5551 is configured to display the document demonstration interface of the document demonstration application in response to an access operation for the application web page link of the document demonstration application; the second display module 5552 is configured to display a target document associated with a media file in the document demonstration interface, where the media file is preset with a media control mechanism for controlling the playback state of the media file; the third display module 5553 is configured to generate and display access information for a remote demonstration room corresponding to the target document in response to a remote demonstration operation for the target document; the information sending module 5554 is configured to send the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote demonstration room based on the access information, when the first terminal controls the playback state of the media file based on the media control mechanism, the playback state of the media file is synchronized.

[0153] In some embodiments, the second display module is further configured to display a document import control in the document demonstration interface; and display the imported target document associated with the media file in response to a document import operation triggered based on the document import control.

[0154] In some embodiments, the third display module is further configured to obtain a room identifier of the remote demonstration room, and generate a room web page link corresponding to the remote demonstration room based on the room identifier and the application web page link; display the room web page link as the access information, or display a graphic code obtained by encoding the room web page link as the access information.

[0155] In some embodiments, the information sending module is configured to send the access information to a second terminal corresponding to a target viewer by a target method; wherein the target method includes at least one of the following: instant messaging method, email method, short message method, and phone notification method.

[0156] In some embodiments, after sending the access information to the second terminal corresponding to the target viewer, the device further includes: a demonstration processing module, configured to display a demonstration content of the target document in a room interface of the remote demonstration room; during the process of displaying the demonstration content of the target document, in response to the arrival of a demonstration timing of the media file, display a playback interface of the media file in the room interface; and in response to a status control instruction triggered based on the media control mechanism, control a playback state of the media file in the playback interface.

[0157] In some embodiments, before displaying the playback interface of the media file in the room interface, the device further includes: a demonstration timing determination module, configured to determine that the demonstration timing of the media file arrives in response to demonstrating to a target page of the media file in the target document and the demonstration duration of the target page reaching a target duration; or in response to demonstrating to a target page of the media file in the target document, display a demonstration control for the media file on the target page, and determine that the demonstration timing of the media file arrives in response to a trigger operation on the demonstration control; or in response to demonstrating to a target page of the media file in the target document, display demonstration prompt information corresponding to the media file at a display position associated with the media file on the target page, and determine that the demonstration timing of the media file arrives in response to a determination operation on the demonstration prompt information.

[0158] In some embodiments, the demonstration processing module is further configured to display the playback interface of the media file through a sub-interface independent of the room interface; or adopt a target animation display method to display a process of moving the playback interface of the media file to a target area of the room interface.

[0159] In some embodiments, the demonstration processing module is further configured to, when the media control mechanism is a position trigger mechanism, in response to a first status control instruction triggered based on a first position, control the media file to start playing in the playback interface; during the process of playing the media file in the playback interface, in response to a second status control instruction triggered based on a second position, control the media file to stop playing in the playback interface; wherein, the playback interface is a sub-interface of the room interface, and the first position and the second position each include at least one of the following positions: any position in other sub-interfaces of the room interface except the playback interface, any position in the playback interface.

[0160] In some embodiments, the demonstration processing module is further configured to, during the process of playing the media file in the playback interface, in response to a trigger operation on the fast forward control in the playback interface, accelerate the playback progress of the media file; in response to a trigger operation on the rewind control in the playback interface, retreat the playback progress of the media file.

[0161] In some embodiments, the demonstration processing module is further configured to, when the media control mechanism is an element trigger mechanism, obtain a target trigger element associated with the element trigger mechanism, wherein the target trigger element is any one or more trigger elements in the room interface; in response to a status control instruction triggered based on the target trigger element, control the playback state of the media file in the playback interface.

[0162] In some embodiments, the demonstration processing module is further configured to, when the playback state indicates that the media file is being played, output the media content of the media file through the playback interface; during the process of outputting the media content, in response to a demonstration operation on other parts of the target document except the media file, display the demonstration content of the other parts in the room interface; during the process of displaying the demonstration content of the other parts, adjust the parameters of the playback interface, and continue to output the media content through the playback interface corresponding to the adjusted parameters; wherein, the parameters include at least one of the following: the size of the playback interface, the position of the playback interface, the transparency of the playback interface, the volume of the audio content output by the playback interface.

[0163] In some embodiments, when the target document includes target content associated with an animation display effect, the device further includes: an animation display module, configured to, during the process of displaying the demonstration content of the target document, in response to the arrival of the demonstration timing of the target content, display the target content in a display style corresponding to the animation display effect.

[0164] In some embodiments, the device further includes: a presentation timing processing module, configured to create a presentation timeline for controlling the presentation order of the media file and the target content based on the presentation timing of the media file and the presentation timing of the target content; and determine whether the presentation timing of the media file and the target content has arrived through the presentation timeline.

[0165] In some embodiments, the presentation processing module is further configured to, in response to a document presentation operation triggered by a control device, control the presentation of other parts of the target document except the media file according to the presentation rhythm indicated by the document presentation operation, and synchronously display the presentation content of the other parts; wherein the control device includes at least one of the following: a keyboard, a mouse, a remote controller, and a virtual keyboard in a presentation extension screen.

[0166] In some embodiments, after sending the access information to a second terminal corresponding to a target viewer, the device further includes: a synchronization sending module, configured to send a synchronization request for the playback state to the second terminal during the process of controlling the playback state of the media file in the playback interface, so that the second terminal renders the state data corresponding to the playback state carried in the synchronization request based on the synchronization request to synchronize the playback state of the media file.

[0167] In some embodiments, after sending the access information to a second terminal corresponding to a target viewer, the device further includes: an association establishment module, configured to receive an association relationship establishment request sent by the second terminal, where the association relationship establishment request is used to request to establish an association relationship between the login account corresponding to the second terminal and the remote presentation room; and in response to the association relationship establishment request, when it is determined that the login account corresponding to the second terminal has the access permission to the remote presentation room, establish the association relationship between the login account corresponding to the second terminal and the remote presentation room; wherein the association relationship is used to synchronously update the presentation state of the target document when the presentation state of the target document to be presented by the second terminal in the remote presentation room is updated.

[0168] An embodiment of the present application provides a computer program product, which includes a computer program or computer executable instructions, and the computer program or computer executable instructions are stored in a computer-readable storage medium. A processor of an electronic device reads the computer executable instructions from the computer-readable storage medium, and the processor executes the computer executable instructions, so that the electronic device executes the document presentation method described above in the embodiments of the present application.

[0169] An embodiment of the present application provides a computer-readable storage medium storing computer-executable instructions, in which computer-executable instructions or computer programs are stored. When the computer-executable instructions or computer programs are executed by a processor, the processor will be caused to execute the xx method provided by the embodiment of the present application. For example, as Figure 3 shown in the document demonstration method.

[0170] In some embodiments, the computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, flash memory, magnetic surface memory, optical disc, or CD-ROM; or may be various devices including one or any combination of the above memories.

[0171] In some embodiments, the computer-executable instructions may be in the form of a program, software, software module, script, or code, written in any form of programming language (including compiled or interpreted languages, or declarative or procedural languages), and may be deployed in any form, including being deployed as an independent program or being deployed as a module, component, subroutine, or other unit suitable for use in a computing environment.

[0172] As an example, the computer-executable instructions may or may not correspond to a file in the file system, and may be stored as part of a file storing other programs or data. For example, stored in one or more scripts in a HyperText Markup Language (HTML) document, stored in a single file dedicated to the program under discussion, or stored in multiple cooperating files (for example, files storing one or more modules, subroutines, or code portions).

[0173] As an example, the computer-executable instructions may be deployed to execute on one electronic device, or on multiple electronic devices located at one location, or on multiple electronic devices distributed at multiple locations and interconnected by a communication network.

[0174] As mentioned above, the above are only embodiments of the present application and are not used to limit the protection scope of the present application. Any modifications, equivalent replacements, and improvements made within the spirit and scope of the present application are all included in the protection scope of the present application.

Claims

1. A document presentation method, characterized in that, applied to a first terminal, the method includes: Responding to an access operation for an application web page link of a document presentation application, and displaying a document presentation interface of the document presentation application; Displaying a target document associated with a media file in the document presentation interface, wherein the media file is preset with a media control mechanism for controlling the playback state of the media file; Responding to a remote presentation operation for the target document, generating and displaying access information for a remote presentation room corresponding to the target document; Sending the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote presentation room based on the access information, when the playback state of the media file is controlled based on the media control mechanism on the first terminal, the playback state of the media file is synchronized.

2. The method according to claim 1, characterized in that, The displaying the target document associated with the media file in the document presentation interface includes: Displaying a document import control in the document presentation interface; Responding to a document import operation triggered based on the document import control, and displaying the imported target document associated with the media file.

3. The method according to claim 1, characterized in that, The generating and displaying the access information for the remote presentation room corresponding to the target document includes: Obtaining a room identifier of the remote presentation room, and generating a room web page link corresponding to the remote presentation room based on the room identifier and the application web page link; Displaying the room web page link as the access information, or displaying a graphic code obtained by encoding the room web page link as the access information.

4. The method according to claim 1, characterized in that, The sending the access information to a second terminal corresponding to a target audience includes: Sending the access information to a second terminal corresponding to a target audience by a target method; wherein the target method includes at least one of the following: instant messaging method, email method, SMS method, telephone notification method.

5. The method according to claim 1, characterized in that, After the sending the access information to a second terminal corresponding to a target audience, the method further includes: Displaying the presentation content of the target document in the room interface of the remote presentation room; During the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the media file, displaying a playback interface of the media file in the room interface; Responding to a status control instruction triggered based on the media control mechanism, and controlling the playback state of the media file in the playback interface.

6. The method according to claim 5, characterized in that, Before the displaying the playback interface of the media file in the room interface, the method further includes: Responding to the demonstration reaching a target page of the media file in the target document and the demonstration duration of the target page reaching a target duration, and determining that the demonstration timing of the media file arrives; or, In response to presenting to a target page of the media file in the target document, display a presentation control for the media file in the target page, and in response to a trigger operation on the presentation control, determine that the presentation timing of the media file has arrived; or, In response to presenting to a target page of the media file in the target document, display presentation prompt information corresponding to the media file at the display position of the media file associated in the target page, and in response to a determination operation on the presentation prompt information, determine that the presentation timing of the media file has arrived.

7. The method according to claim 5, wherein, the displaying the playback interface of the media file in the room interface includes: displaying the playback interface of the media file through a sub-interface independent of the room interface; or, adopting a target animation display method to display the process of the playback interface of the media file moving to a target area of the room interface.

8. The method according to claim 5, wherein, the controlling the playback state of the media file in the playback interface in response to a state control instruction triggered based on the media control mechanism includes: when the media control mechanism is a position trigger mechanism, in response to a first state control instruction triggered based on a first position, control the media file to start playing in the playback interface; during the process of playing the media file in the playback interface, in response to a second state control instruction triggered based on a second position, control the media file to stop playing in the playback interface; wherein, the playback interface is a sub-interface of the room interface, and the first position and the second position each include at least one of the following positions: any position in other sub-interfaces of the room interface except the playback interface, any position in the playback interface.

9. The method according to claim 8, wherein, the method further includes: during the process of playing the media file in the playback interface, in response to a trigger operation on a fast forward control in the playback interface, accelerate the playback progress of the media file; in response to a trigger operation on a rewind control in the playback interface, rewind the playback progress of the media file.

10. The method according to claim 5, wherein, the controlling the playback state of the media file in the playback interface in response to a state control instruction triggered based on the media control mechanism includes: when the media control mechanism is an element trigger mechanism, obtain a target trigger element associated with the element trigger mechanism, wherein the target trigger element is any one or more trigger elements in the room interface; in response to a state control instruction triggered based on the target trigger element, control the playback state of the media file in the playback interface.

11. The method according to claim 5, wherein, the method further includes: when the playback state indicates that the media file is being played, output the media content of the media file through the playback interface; During the process of outputting the media content, in response to a presentation operation on other parts of the target document except the media file, display the presentation content of the other parts in the room interface; During the process of displaying the presentation content of the other parts, adjust the parameters of the playback interface, and continue to output the media content through the playback interface corresponding to the adjusted parameters; Wherein, the parameters include at least one of the following: the size of the playback interface, the position of the playback interface, the transparency of the playback interface, and the volume of the audio content output by the playback interface.

12. The method according to claim 5, characterized in that, when the target document includes target content associated with an animation display effect, the method further includes: During the process of displaying the presentation content of the target document, in response to the arrival of the presentation timing of the target content, display the target content in a display style corresponding to the animation display effect.

13. The method according to claim 12, characterized in that, the method further includes: Based on the presentation timing of the media file and the presentation timing of the target content, create a presentation timeline for controlling the presentation order of the media file and the target content; Through the presentation timeline, determine whether the presentation timing of the media file and the target content has arrived.

14. The method according to claim 5, characterized in that, the displaying of the presentation content of the target document includes: In response to a document presentation operation triggered by a control device, control the presentation of other parts of the target document except the media file according to the presentation rhythm indicated by the document presentation operation, and synchronously display the presentation content of the other parts; Wherein, the control device includes at least one of the following: a keyboard, a mouse, a remote control, and a virtual keyboard in a presentation extension screen.

15. The method according to claim 5, characterized in that, after sending the access information to the second terminal corresponding to the target audience, the method further includes: During the process of controlling the playback state of the media file in the playback interface, send a synchronization request for the playback state to the second terminal, so that The second terminal renders the status data corresponding to the playback state carried in the synchronization request based on the synchronization request to synchronize the playback state of the media file.

16. The method according to claim 1, characterized in that, after sending the access information to the second terminal corresponding to the target audience, the method further includes: Receiving an association relationship establishment request sent by the second terminal, wherein the association relationship establishment request is used to request to establish an association relationship between the login account corresponding to the second terminal and the remote presentation room; In response to the association relationship establishment request, when it is determined that the login account corresponding to the second terminal has the access permission to the remote presentation room, establish an association relationship between the login account corresponding to the second terminal and the remote presentation room; Among them, the association relationship is used to synchronously update the presentation status of the target document when the presentation status of the target document to be presented by the second terminal in the remote presentation room is updated.

17. A document presentation device, characterized in that, applied to a first terminal, the device includes: A first display module, configured to display a document presentation interface of the document presentation application in response to an access operation on an application web page link of the document presentation application; A second display module, configured to display a target document associated with a media file in the document presentation interface, wherein the media file is preset with a media control mechanism for controlling the playback status of the media file; A third display module, configured to generate and display access information of a remote presentation room corresponding to the target document in response to a remote presentation operation on the target document; An information sending module, configured to send the access information to a second terminal corresponding to a target audience, so that after the second terminal accesses the remote presentation room based on the access information, when the first terminal controls the playback status of the media file based on the media control mechanism, synchronize the playback status of the media file.

18. An electronic device, characterized in that, comprising: A memory, configured to store computer-executable instructions or a computer program; A processor, configured to implement the document presentation method according to any one of claims 1 to 16 when executing the computer-executable instructions or the computer program stored in the memory.

19. A computer-readable storage medium, characterized in that, stores computer-executable instructions or a computer program, and when the computer-executable instructions or the computer program are executed by a processor, the document presentation method according to any one of claims 1 to 16 is implemented.

20. A computer program product, including a computer program or computer-executable instructions, characterized in that, when the computer program or the computer-executable instructions are executed by a processor, the document presentation method according to any one of claims 1 to 16 is implemented.